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

Side by Side Diff: third_party/WebKit/LayoutTests/plugins/plugin-destroyed-enumerate.html

Issue 1821103002: Migrate a bunch of LayoutTests from NPAPI to PPAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_open-and-close-window-with-plugin
Patch Set: rebase; fix expectations for plugin-initiate-popup-window-expected Created 4 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../resources/js-test.js"></script> 2 <script src="../resources/js-test.js"></script>
3 <embed type="application/x-webkit-test-netscape" id=plugin> 3 <embed type="application/x-blink-deprecated-test-plugin" id=plugin>
4 <script> 4 <script>
5 description("Verify that enumerating the properties of a detached plugin doesn't crash, but throws."); 5 description("Verify that enumerating the properties of a detached plugin doesn't crash, but throws.");
6 6
7 window.jsTestIsAsync = true; 7 window.jsTestIsAsync = true;
8 8
9 var testObject; 9 var testObject;
10 function runTest() { 10 function runTest() {
11 testObject = plugin.testObject; 11 testObject = plugin.testObject;
12 plugin.parentNode.removeChild(plugin); 12 plugin.parentNode.removeChild(plugin);
13 shouldThrow("Object.getOwnPropertyNames(testObject)"); 13 shouldThrow("Object.getOwnPropertyNames(testObject)");
14 finishJSTest(); 14 finishJSTest();
15 } 15 }
16 window.onload = runTest; 16 window.onload = runTest;
17 </script> 17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698