Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / plugins / plugin-destroyed-enumerate.html
blob97eee9ef1db20590b1eff52dd5f5cd5acb535d79
1 <!DOCTYPE html>
2 <script src="../resources/js-test.js"></script>
3 <embed type="application/x-webkit-test-netscape" id=plugin>
4 <script>
5 description("Verify that enumerating the properties of a detached plugin doesn't crash, but throws.");
7 window.jsTestIsAsync = true;
9 var testObject;
10 function runTest() {
11 testObject = plugin.testObject;
12 plugin.parentNode.removeChild(plugin);
13 shouldThrow("Object.getOwnPropertyNames(testObject)");
14 finishJSTest();
16 window.onload = runTest;
17 </script>