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

Side by Side Diff: LayoutTests/plugins/resources/script-container.html

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | « LayoutTests/plugins/resources/plugin-page.html ('k') | LayoutTests/plugins/touch-events.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 window['new-script-object-in-frame'] = function() { 5 window['new-script-object-in-frame'] = function() {
6 return FactoryFunction(); 6 return FactoryFunction();
7 }; 7 };
8 // A simple script object with a member function that takes 8 // A simple script object with a member function that takes
9 // an NPObject as an argument 9 // an NPObject as an argument
10 FactoryFunction = function() { 10 FactoryFunction = function() {
11 var TestObject = function() { 11 var TestObject = function() {
12 }; 12 };
13 TestObject.prototype.createObject = function(plugin) { 13 TestObject.prototype.createObject = function(plugin) {
14 var newObject = plugin.testCloneObject(); 14 var newObject = plugin.testCloneObject();
15 return newObject; 15 return newObject;
16 }; 16 };
17 var instance = new TestObject(); 17 var instance = new TestObject();
18 return instance; 18 return instance;
19 }; 19 };
20 </script> 20 </script>
21 </head> 21 </head>
22 <body> 22 <body>
23 </body> 23 </body>
24 </html> 24 </html>
OLDNEW
« no previous file with comments | « LayoutTests/plugins/resources/plugin-page.html ('k') | LayoutTests/plugins/touch-events.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698