OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script type="text/javascript"> | 3 <script type="text/javascript"> |
4 if (window.layoutTestController) { | 4 if (window.layoutTestController) { |
5 layoutTestController.dumpAsText(); | 5 layoutTestController.dumpAsText(); |
6 layoutTestController.waitUntilDone(); | 6 layoutTestController.waitUntilDone(); |
7 } | 7 } |
8 | 8 |
9 function onSubframeLoaded() { | 9 function onSubframeLoaded() { |
10 document.getElementById('pluginContainer').innerHTML = | 10 document.getElementById('pluginContainer').innerHTML = |
(...skipping 11 matching lines...) Expand all Loading... |
22 </head> | 22 </head> |
23 <body> | 23 <body> |
24 <div>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=74515">bug 74515<
/a>: npCreateV8ScriptObject() should not return an existing V8NPObject if the ro
otObject doesn't match.</div> | 24 <div>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=74515">bug 74515<
/a>: npCreateV8ScriptObject() should not return an existing V8NPObject if the ro
otObject doesn't match.</div> |
25 <div>The subframe causes an entry corresponding to window.top to be added to sta
ticV8NPObjectMap with the subframe as rootObject. When the plugin in the main fr
ame executes script "outputResult()", the existing entry in staticV8NPObjectMap
should not be used. Otherwise the wrong outputResult(), which is in the subframe
, will be called. | 25 <div>The subframe causes an entry corresponding to window.top to be added to sta
ticV8NPObjectMap with the subframe as rootObject. When the plugin in the main fr
ame executes script "outputResult()", the existing entry in staticV8NPObjectMap
should not be used. Otherwise the wrong outputResult(), which is in the subframe
, will be called. |
26 </div> | 26 </div> |
27 <iframe name="childFrame" src="resources/create-v8-script-objects-iframe.html"><
/iframe> | 27 <iframe name="childFrame" src="resources/create-v8-script-objects-iframe.html"><
/iframe> |
28 <div id="pluginContainer"></div> | 28 <div id="pluginContainer"></div> |
29 <div id="result">Running...</div> | 29 <div id="result">Running...</div> |
30 </body> | 30 </body> |
31 </html> | 31 </html> |
OLD | NEW |