Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Unified Diff: LayoutTests/fast/dom/resources/xmlhttprequest-constructor-in-detached-document-frame.html

Issue 293053007: V8AbstractEventListener should hold a ScriptState (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/resources/xmlhttprequest-constructor-in-detached-document-frame.html
diff --git a/LayoutTests/fast/dom/resources/xmlhttprequest-constructor-in-detached-document-frame.html b/LayoutTests/fast/dom/resources/xmlhttprequest-constructor-in-detached-document-frame.html
deleted file mode 100644
index 2e33764725f2e990f0b623bb0277a9cc41f7118d..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/resources/xmlhttprequest-constructor-in-detached-document-frame.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<script>
- var xhr = new parent.XMLHttpRequest;
- xhr.open("GET", "xmlhttprequest-constructor-in-detached-document-frame.html");
- xhr.onreadystatechange = function(evt) {
- if (evt.target.readyState == 4) {
- parent.setTimeout("pass()", 0);
- var xhrConstructor = XMLHttpRequest; // The constructor may not be reachable as window object property after detaching the frame.
- parent.document.body.removeChild(parent.document.getElementsByTagName("iframe")[0]);
- try {
- var req = new XMLHttpRequest;
- } catch (ex) {
- var req = new xhrConstructor;
- }
- req.open("GET", "xmlhttprequest-constructor-in-detached-document-frame.html", false);
- req.send(null);
- }
- }
- xhr.send(null);
- xhr = null;
-</script>

Powered by Google App Engine
This is Rietveld 408576698