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

Side by Side Diff: LayoutTests/plugins/npruntime/script-tests/identifier-conversion.js

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 description("Test converting strings and integers to identifiers and back")
2
3 embed = document.createElement("embed");
4 embed.type = "application/x-webkit-test-netscape";
5 document.body.appendChild(embed);
6
7 shouldBeEqualToString("embed.testIdentifierToString('foo')", "foo");
8 shouldBeEqualToString("embed.testIdentifierToString('123')", "123");
9 shouldBeEqualToString("embed.testIdentifierToString('null')", "null");
10
11 shouldBe("embed.testIdentifierToString(1)", "undefined");
12 shouldBe("embed.testIdentifierToString(-1)", "undefined");
13 shouldBe("embed.testIdentifierToString(1.40)", "undefined");
14
15 shouldBe("embed.testIdentifierToInt(1)", "1");
16 shouldBe("embed.testIdentifierToInt(-1)", "-1");
17 shouldBe("embed.testIdentifierToInt(10)", "10");
18 shouldBe("embed.testIdentifierToInt(10.234234)", "10");
19
20 shouldBe("embed.testIdentifierToInt('foo')", "0");
21 shouldBe("embed.testIdentifierToInt('10')", "0");
22
23 var successfullyParsed = true;
OLDNEW
« no previous file with comments | « LayoutTests/plugins/npruntime/script-tests/browser-object-identity.js ('k') | LayoutTests/plugins/npruntime/set-property.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698