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

Unified Diff: testing/resources/javascript/document_methods.in

Issue 1327473002: Fix two issues shown by bug 489995 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Add test for addIcon() Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/src/javascript/Document.cpp ('k') | testing/resources/javascript/document_methods_expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/resources/javascript/document_methods.in
diff --git a/testing/resources/javascript/document_methods.in b/testing/resources/javascript/document_methods.in
index b2467f37c4f02ded457c3dd060acc9339e4dc73b..3cd3330b878d22ef0fdfd1e865cce092f5df5607 100644
--- a/testing/resources/javascript/document_methods.in
+++ b/testing/resources/javascript/document_methods.in
@@ -122,6 +122,7 @@ function testAddIcon() {
// Second argument must actually be an icon.
expectError('this.addIcon("myicon", 3)');
+ expectError('this.addIcon("myicon", undefined)');
// TODO(tsepez): test success cases.
}
« no previous file with comments | « fpdfsdk/src/javascript/Document.cpp ('k') | testing/resources/javascript/document_methods_expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698