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

Side by Side Diff: ppapi/tests/test_case.html

Issue 1007443004: Plugin Power Saver: Replace all "plug-in" with "plugin" for consistency. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove terms and native_client_sdk changes. Created 5 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
« no previous file with comments | « ppapi/c/dev/ppp_zoom_dev.h ('k') | third_party/libusb/src/libusb/os/darwin_usb.c » ('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><head> 1 <html><head>
2 <meta http-equiv="Pragma" content="no-cache" /> 2 <meta http-equiv="Pragma" content="no-cache" />
3 <meta http-equiv="Expires" content="-1" /> 3 <meta http-equiv="Expires" content="-1" />
4 <link rel="stylesheet" href="test_page.css"> 4 <link rel="stylesheet" href="test_page.css">
5 <script> 5 <script>
6 // Do a deep comparison of two values. Return true if their values are 6 // Do a deep comparison of two values. Return true if their values are
7 // identical, false otherwise. 7 // identical, false otherwise.
8 function deepCompare(left, right) { 8 function deepCompare(left, right) {
9 if (typeof(left) !== typeof(right)) 9 if (typeof(left) !== typeof(right))
10 return false; 10 return false;
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 obj.setAttribute("mode", mode); 293 obj.setAttribute("mode", mode);
294 } else { 294 } else {
295 var mimeType = "application/x-ppapi-tests"; 295 var mimeType = "application/x-ppapi-tests";
296 if (mimeType in navigator.mimeTypes) { 296 if (mimeType in navigator.mimeTypes) {
297 obj = document.createElement("EMBED"); 297 obj = document.createElement("EMBED");
298 obj.setAttribute("src", "http://a.b.c/test"); 298 obj.setAttribute("src", "http://a.b.c/test");
299 obj.setAttribute("type", mimeType); 299 obj.setAttribute("type", mimeType);
300 } else { 300 } else {
301 document.getElementById("console").innerHTML = 301 document.getElementById("console").innerHTML =
302 '<span class="fail">FAIL</span>: ' + 302 '<span class="fail">FAIL</span>: ' +
303 '<span class="err_msg">Test plug-in is not registered.</span>'; 303 '<span class="err_msg">Test plugin is not registered.</span>';
304 } 304 }
305 } 305 }
306 306
307 if (obj) { 307 if (obj) {
308 obj.setAttribute("width", 80); 308 obj.setAttribute("width", 80);
309 obj.setAttribute("height", 80); 309 obj.setAttribute("height", 80);
310 obj.setAttribute("style", 310 obj.setAttribute("style",
311 "background-color:#AAAAAA;border:1px solid black;"); 311 "background-color:#AAAAAA;border:1px solid black;");
312 obj.setAttribute("id", "plugin"); 312 obj.setAttribute("id", "plugin");
313 obj.setAttribute("testcase", testcase); 313 obj.setAttribute("testcase", testcase);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 InternalError("Bad MessageEvent.initMessageEvent called!"); 368 InternalError("Bad MessageEvent.initMessageEvent called!");
369 } 369 }
370 370
371 </script> 371 </script>
372 </head><body> 372 </head><body>
373 <div> 373 <div>
374 <div id="container"></div> 374 <div id="container"></div>
375 <div id="console"><span class="load_msg">loading...</span></div> 375 <div id="console"><span class="load_msg">loading...</span></div>
376 </div> 376 </div>
377 </body></html> 377 </body></html>
OLDNEW
« no previous file with comments | « ppapi/c/dev/ppp_zoom_dev.h ('k') | third_party/libusb/src/libusb/os/darwin_usb.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698