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

Side by Side Diff: LayoutTests/http/tests/plugins/create-v8-script-objects.html

Issue 9260002: Merge 103979 - v8 binding: npCreateV8ScriptObject() should not returned an existing V8NPObject if... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/912/
Patch Set: Created 8 years, 11 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/plugins/create-v8-script-objects-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 <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
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>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/plugins/create-v8-script-objects-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698