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

Side by Side Diff: LayoutTests/plugins/npruntime/embed-property.html

Issue 1319473007: Delete a bunch of NPAPI layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 3 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
OLDNEW
(Empty)
1 <body onload="test()">
2 <p>Test accessing a plugin object property via HTMLEmbedElement.</p>
3 <div id=div>
4 <embed id="testCPlugin" type="application/x-webkit-test-netscape">
5 </div>
6 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
9
10 function test()
11 {
12 var cPlugin = document.getElementById("testCPlugin");
13 try {
14 var prop = cPlugin.property; // try once to give it a chance to crash
15 prop = cPlugin.property;
16 div.innerHTML = (prop == "property") ? "SUCCESS" : ("FAILURE: " + prop);
17 } catch (ex) {
18 div.innerHTML = "FAILURE: " + ex;
19 }
20 }
21 </script>
22 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698