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

Unified Diff: LayoutTests/http/tests/security/cross-frame-window-to-tostring-expected.txt

Issue 1163943002: Revert of Make Window.prototype.toString return [object Window] at all times. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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/http/tests/security/cross-frame-window-to-tostring-expected.txt
diff --git a/LayoutTests/http/tests/security/cross-frame-window-to-tostring-expected.txt b/LayoutTests/http/tests/security/cross-frame-window-to-tostring-expected.txt
deleted file mode 100644
index 75527c4ec31fad3464891e575569baa367d0eaf2..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/security/cross-frame-window-to-tostring-expected.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-
-PASS successfullyParsed is true
-
-TEST COMPLETE
-PASS window + '' is "[object Window]"
-PASS window.toString() is "[object Window]"
-FAIL Object.prototype.toString.call(window) should be [object Window]. Was [object global].
-FAIL Window.prototype + '' should be [object WindowPrototype]. Was [object Window].
-FAIL Window.prototype.toString() should be [object WindowPrototype]. Was [object Window].
-FAIL Object.prototype.toString.call(Window.prototype) should be [object WindowPrototype]. Was [object Object].
-FAIL window + '' should be [object iii]. Was [object Window].
-FAIL window.toString() should be [object iii]. Was [object Window].
-PASS Object.prototype.toString.call(window) is "[object iii]"
-FAIL Window.prototype + '' should be [object WindowPrototype]. Was [object Window].
-FAIL Window.prototype.toString() should be [object WindowPrototype]. Was [object Window].
-FAIL Object.prototype.toString.call(Window.prototype) should be [object WindowPrototype]. Was [object Object].
-FAIL window + '' should be [object jjj]. Was [object Window].
-FAIL window.toString() should be [object jjj]. Was [object Window].
-PASS Object.prototype.toString.call(window) is "[object jjj]"
-FAIL Window.prototype + '' should be [object jjj]. Was [object Window].
-FAIL Window.prototype.toString() should be [object jjj]. Was [object Window].
-PASS Object.prototype.toString.call(Window.prototype) is "[object jjj]"
-
-Testing local iframe
-FAIL w + '' should be [object inner]. Was [object Window].
-FAIL w.toString() should be [object inner]. Was [object Window].
-PASS Object.prototype.toString.call(w) is "[object inner]"
-FAIL w + '' should be [object kkk]. Was [object Window].
-FAIL w.toString() should be [object kkk]. Was [object Window].
-PASS Object.prototype.toString.call(w) is "[object kkk]"
-FAIL w + '' should be [object inner]. Was [object Window].
-FAIL w.toString() should be [object inner]. Was [object Window].
-FAIL Object.prototype.toString.call(w) should be [object inner]. Was [object global].
-
-Testing remote iframe
-PASS w + '' threw exception SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame..
-FAIL w.toString() should throw SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.. Was [object Window].
-PASS Object.prototype.toString.call(w) threw exception SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame..
-

Powered by Google App Engine
This is Rietveld 408576698