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

Side by Side Diff: LayoutTests/http/tests/security/cross-frame-access-static-operation-return-wrapper.html

Issue 1192753003: Merge 196373 "binding: Supports static operations/attrs returnin..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2357/
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/cross-frame-access-static-operation-return-wrapper-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <script> 1 <script>
2 console.log("Tests that static operations return DOM wrappers which are associat ed with the caller's context, not associated with |this| which can be faked."); 2 console.log("Tests that static operations return DOM wrappers which are associat ed with the caller's context, not associated with |this| which can be faked.");
3 // See also http://crbug.com/494640 3 // See also http://crbug.com/494640
4 4
5 var iframe = document.documentElement.appendChild(document.createElement('iframe ')); 5 var iframe = document.documentElement.appendChild(document.createElement('iframe '));
6 iframe.src = 'data:text/plain,hello'; 6 iframe.src = 'data:text/plain,hello';
7 iframe.onload = function() { 7 iframe.onload = function() {
8 var uri = IDBKeyRange.only.call(frames[0], 0).constructor.constructor('retur n location.href')(); 8 var uri = IDBKeyRange.only.call(frames[0], 0).constructor.constructor('retur n location.href')();
9 console.log(uri); 9 console.log(uri);
10 if (window.testRunner) { 10 if (window.testRunner) {
11 testRunner.notifyDone(); 11 testRunner.notifyDone();
12 } 12 }
13 } 13 }
14 14
15 if (window.testRunner) { 15 if (window.testRunner) {
16 testRunner.waitUntilDone(); 16 testRunner.waitUntilDone();
17 testRunner.dumpAsText(); 17 testRunner.dumpAsText();
18 } 18 }
19 </script> 19 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/cross-frame-access-static-operation-return-wrapper-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698