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

Side by Side Diff: third_party/WebKit/LayoutTests/plugins/invalid-mime-with-valid-extension-shows-missing-plugin.html

Issue 1848193002: Remove last 3 layout tests that expect NPAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 <script> 1 <script>
2 if (window.testRunner) { 2 if (window.testRunner) {
3 testRunner.dumpAsText(); 3 testRunner.dumpAsText();
4 testRunner.waitUntilDone(); 4 testRunner.waitUntilDone();
5 } 5 }
6 6
7 function logFailure() { 7 function logFailure() {
8 document.getElementById("console").innerHTML = "FAIL"; 8 document.getElementById("console").innerHTML = "FAIL";
9 } 9 }
10 10
11 function finishTest() { 11 function finishTest() {
12 if (window.testRunner) 12 if (window.testRunner)
13 testRunner.notifyDone(); 13 testRunner.notifyDone();
14 } 14 }
15 </script> 15 </script>
16 <div id="console">PASS</div> 16 <div id="console">PASS</div>
17 <embed name="plugin" src="resources/test.testnetscape" type="application/x-non-e xistent"> 17 <embed name="plugin" src="resources/test.blinktestplugin" type="application/x-no n-existent">
18 <script> 18 <script>
19 if (plugin.testCallback) 19 if (plugin.postMessage)
20 plugin.testCallback("logFailure"); 20 logFailure();
21 finishTest(); 21 finishTest();
22 </script> 22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698