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

Side by Side Diff: LayoutTests/plugins/npruntime/throw-exception.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 <html>
2 <script>
3 function runTest()
4 {
5 if (window.testRunner)
6 testRunner.dumpAsText();
7
8 var plugin = document.getElementById("testPlugin");
9 var result1 = document.getElementById('result1');
10 try {
11 plugin.testThrowException();
12 } catch (e) {
13 result1.innerHTML = e.message;
14 }
15 var result2 = document.getElementById('result2');
16 try {
17 plugin.testObject.throwException();
18 } catch (e) {
19 result2.innerHTML = e.message;
20 }
21 }
22 </script>
23
24 <body onload="runTest();">
25 <embed id="testPlugin" type="application/x-webkit-test-netscape" width="200" hei ght="200"></embed>
26 This tests that a plugin can throw exceptions. If this test is successful the te xt "SUCCESS" twice below.
27 <div id="result1">FAILURE</div>
28 <div id="result2">FAILURE</div>
29 </body>
30 </html>
OLDNEW
« no previous file with comments | « LayoutTests/plugins/npruntime/set-property-expected.txt ('k') | LayoutTests/plugins/npruntime/throw-exception-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698