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

Side by Side Diff: LayoutTests/plugins/npruntime/remove-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
2 <script src="../../resources/js-test.js"></script>
3 </head>
4 <script>
5 function runTest() {
6 plugin = document.getElementById('plugin');
7
8 obj = { property : 'value' }
9 shouldBe("'property' in obj", "true");
10 plugin.testRemoveProperty(obj, 'property');
11 shouldBe("'property' in obj", "false");
12
13 array = [ 1, 2, 3, 4, 5];
14 shouldBe("array[1]", "2")
15 plugin.testRemoveProperty(array, 1);
16 shouldBe("array[1]", "undefined")
17 }
18 </script>
19 <body onLoad="runTest()">
20 <embed id="plugin" type="application/x-webkit-test-netscape" test="npruntime-rem ove-property"></embed>
21 <p id="description"></p>
22 <div id="console"></div>
23
24 <script>
25 description("Test NPN_RemoveProperty");
26
27 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698