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

Side by Side Diff: LayoutTests/plugins/return-npobject.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
2 <script>
3 var test_object = new Object();
4 test_object.value = 1;
5
6 function callback(arg) {
7 return test_object;
8 }
9
10 function runtest() {
11 if (window.testRunner)
12 testRunner.dumpAsText();
13
14 var obj = plug.testCallbackReturn("callback");
15 if (obj == test_object) {
16 var output = document.getElementById("output");
17 output.innerHTML = "SUCCESS";
18 }
19 }
20 </script>
21
22 <BODY id="bodyId" onload="runtest()">
23
24 <p>Test that we can get an NPObject returned through a method on
25 an NPAPI Object. Prints "SUCCESS" on success, "FAILURE" on failure.</p>
26
27 <embed name="plug" type="application/x-webkit-test-netscape">
28
29 <div id=output>FAILURE</div>
30
31 </BODY>
32
OLDNEW
« no previous file with comments | « LayoutTests/plugins/return-negative-one-from-write-expected.txt ('k') | LayoutTests/plugins/return-npobject-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698