diff options
Diffstat (limited to 'testing/resources/javascript')
-rw-r--r-- | testing/resources/javascript/document_methods.in | 1 | ||||
-rw-r--r-- | testing/resources/javascript/document_methods_expected.txt | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/testing/resources/javascript/document_methods.in b/testing/resources/javascript/document_methods.in index bc0f3f1126..cdbd6845c8 100644 --- a/testing/resources/javascript/document_methods.in +++ b/testing/resources/javascript/document_methods.in @@ -314,6 +314,7 @@ try { testUnsupported('this.removeIcon'); testUnsupported('this.replacePages'); testUnsupported('this.saveAs'); + testUnsupported('this.syncAnnotScan'); app.alert('*** Testing Supported Methods ***'); testAddIcon(); diff --git a/testing/resources/javascript/document_methods_expected.txt b/testing/resources/javascript/document_methods_expected.txt index ed601f279b..70a7481708 100644 --- a/testing/resources/javascript/document_methods_expected.txt +++ b/testing/resources/javascript/document_methods_expected.txt @@ -68,6 +68,9 @@ Alert: PASS: this.replacePages(1, 2, "clams", [1, 2, 3]) = undefined Alert: PASS: typeof this.saveAs = function Alert: PASS: this.saveAs() = undefined Alert: PASS: this.saveAs(1, 2, "clams", [1, 2, 3]) = undefined +Alert: PASS: typeof this.syncAnnotScan = function +Alert: PASS: this.syncAnnotScan() = undefined +Alert: PASS: this.syncAnnotScan(1, 2, "clams", [1, 2, 3]) = undefined Alert: *** Testing Supported Methods *** Alert: PASS: typeof this.addIcon = function Alert: PASS: this.addIcon() threw error Document.addIcon: Incorrect number of parameters passed to function. |