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

Side by Side Diff: LayoutTests/plugins/get-url-with-iframe-target.html

Issue 187103002: id of iframe incorrectly sets window name (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add back no-referrer-subframe.html Created 6 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <script> 2 <script>
3 var NPERR_NO_ERROR = 0; 3 var NPERR_NO_ERROR = 0;
4 var NPERR_GENERIC_ERROR = 1; 4 var NPERR_GENERIC_ERROR = 1;
5 5
6 function callback(result) { 6 function callback(result) {
7 var d = document.getElementById('result'); 7 var d = document.getElementById('result');
8 8
9 if (result == NPERR_NO_ERROR) 9 if (result == NPERR_NO_ERROR)
10 d.innerHTML = "SUCCESS" 10 d.innerHTML = "SUCCESS"
(...skipping 10 matching lines...) Expand all
21 plg.getURLNotify("data:,hello world", "frame", "callback"); 21 plg.getURLNotify("data:,hello world", "frame", "callback");
22 } else { 22 } else {
23 document.write("Cannot run interactively"); 23 document.write("Cannot run interactively");
24 } 24 }
25 } 25 }
26 </script> 26 </script>
27 <body onload="runtest()"> 27 <body onload="runtest()">
28 <embed id="plg" type="application/x-webkit-test-netscape"></embed> 28 <embed id="plg" type="application/x-webkit-test-netscape"></embed>
29 This tests that the plugin properly receives NPP_URLNotify for subframe loads. 29 This tests that the plugin properly receives NPP_URLNotify for subframe loads.
30 <div id="result">FAILED</div> 30 <div id="result">FAILED</div>
31 <iframe id="frame"></iframe> 31 <iframe id="frame" name="frame"></iframe>
32 </body> 32 </body>
33 </html> 33 </html>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-unload-sync.html ('k') | LayoutTests/plugins/plugin-remove-subframe.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698