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

Side by Side Diff: LayoutTests/http/tests/misc/resources/content-iframe.html

Issue 475933003: Remove testRunner.globalFlag use from layout tests outside http/security (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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
OLDNEW
1 <script> 1 <script>
2 if (window.testRunner) 2 function reply(event) {
3 testRunner.globalFlag = true; 3 event.source.postMessage('loaded', '*');
4 }
5 window.addEventListener('message', reply);
esprehn 2014/08/21 19:44:07 Why not do this the other way around and window.op
dcheng 2014/08/21 20:18:10 Because window.opener is (or should be) null here.
4 </script> 6 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698