p, it does actually change the security context
        var client = new XMLHttpRequest();
        client.open("GET", "status.py?content=hello", false);
        client.send(null);
        assert_equals(client.responseText, "hello");
        document.domain = document.domain.replace(/^\w+\./, "");
        client.open("GET", "status.py?content=hello2", false);
        client.send(null);
        assert_equals(client.responseText, "hello2");
      }, "loading documents from original origin after setting documen