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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/cross-frame-access-custom.html

Issue 1685543002: Supports "class string" based on @@toStringTag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated test expectations. Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="resources/cross-frame-access.js"></script> 3 <script src="resources/cross-frame-access.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get -test.html" style=""></iframe> 6 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get -test.html" style=""></iframe>
7 <pre id="console"></pre> 7 <pre id="console"></pre>
8 <script> 8 <script>
9 9
10 window.targetWindow = frames[0]; 10 window.targetWindow = frames[0];
(...skipping 20 matching lines...) Expand all
31 shouldBeFalse("canGet('targetWindow.hasOwnProperty')"); 31 shouldBeFalse("canGet('targetWindow.hasOwnProperty')");
32 shouldBeFalse("canSet('targetWindow.hasOwnProperty')"); 32 shouldBeFalse("canSet('targetWindow.hasOwnProperty')");
33 33
34 // custom prototype property 34 // custom prototype property
35 shouldBeFalse("canGet('targetWindow.windowPrototypeCustomProperty')"); 35 shouldBeFalse("canGet('targetWindow.windowPrototypeCustomProperty')");
36 shouldBeFalse("canSet('targetWindow.windowPrototypeCustomProperty')"); 36 shouldBeFalse("canSet('targetWindow.windowPrototypeCustomProperty')");
37 shouldBeFalse("canGet('targetWindow.objectPrototypeCustomProperty')"); 37 shouldBeFalse("canGet('targetWindow.objectPrototypeCustomProperty')");
38 shouldBeFalse("canSet('targetWindow.objectPrototypeCustomProperty')"); 38 shouldBeFalse("canSet('targetWindow.objectPrototypeCustomProperty')");
39 39
40 // window object itself 40 // window object itself
41 shouldBeTrue("canGet('targetWindow.toString')"); 41 shouldBeFalse("canGet('targetWindow.toString')");
42 shouldBeFalse("canSet('targetWindow.toString')"); 42 shouldBeFalse("canSet('targetWindow.toString')");
43 shouldBe("toString('targetWindow')", "'[exception]'"); 43 shouldBe("toString('targetWindow')", "'[exception]'");
44 } 44 }
45 </script> 45 </script>
46 </body> 46 </body>
47 </html> 47 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698