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

Side by Side Diff: testing/resources/javascript/document_methods_expected.txt

Issue 1196163006: Fix Javascript tests after commit f55771af6429. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « testing/resources/javascript/document_methods.in ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Alert: *** Testing Unsupported Methods *** 1 Alert: *** Testing Unsupported Methods ***
2 Alert: PASS: typeof this.addAnnot = function 2 Alert: PASS: typeof this.addAnnot = function
3 Alert: PASS: this.addAnnot() = undefined 3 Alert: PASS: this.addAnnot() = undefined
4 Alert: PASS: this.addAnnot(1, 2, "clams", [1, 2, 3]) = undefined 4 Alert: PASS: this.addAnnot(1, 2, "clams", [1, 2, 3]) = undefined
5 Alert: PASS: typeof this.addField = function 5 Alert: PASS: typeof this.addField = function
6 Alert: PASS: this.addField() = undefined 6 Alert: PASS: this.addField() = undefined
7 Alert: PASS: this.addField(1, 2, "clams", [1, 2, 3]) = undefined 7 Alert: PASS: this.addField(1, 2, "clams", [1, 2, 3]) = undefined
8 Alert: PASS: typeof this.addLink = function 8 Alert: PASS: typeof this.addLink = function
9 Alert: PASS: this.addLink() = undefined 9 Alert: PASS: this.addLink() = undefined
10 Alert: PASS: this.addLink(1, 2, "clams", [1, 2, 3]) = undefined 10 Alert: PASS: this.addLink(1, 2, "clams", [1, 2, 3]) = undefined
11 Alert: PASS: typeof this.closeDoc = function 11 Alert: PASS: typeof this.closeDoc = function
12 Alert: PASS: this.closeDoc() = undefined 12 Alert: PASS: this.closeDoc() = undefined
13 Alert: PASS: this.closeDoc(1, 2, "clams", [1, 2, 3]) = undefined 13 Alert: PASS: this.closeDoc(1, 2, "clams", [1, 2, 3]) = undefined
14 Alert: PASS: typeof this.createDataObject = function 14 Alert: PASS: typeof this.createDataObject = function
15 Alert: PASS: this.createDataObject() = undefined 15 Alert: PASS: this.createDataObject() = undefined
16 Alert: PASS: this.createDataObject(1, 2, "clams", [1, 2, 3]) = undefined 16 Alert: PASS: this.createDataObject(1, 2, "clams", [1, 2, 3]) = undefined
17 Alert: PASS: typeof this.deletePages = function
18 Alert: PASS: this.deletePages() = undefined
19 Alert: PASS: this.deletePages(1, 2, "clams", [1, 2, 3]) = undefined
17 Alert: PASS: typeof this.exportAsFDF = function 20 Alert: PASS: typeof this.exportAsFDF = function
18 Alert: PASS: this.exportAsFDF() = undefined 21 Alert: PASS: this.exportAsFDF() = undefined
19 Alert: PASS: this.exportAsFDF(1, 2, "clams", [1, 2, 3]) = undefined 22 Alert: PASS: this.exportAsFDF(1, 2, "clams", [1, 2, 3]) = undefined
20 Alert: PASS: typeof this.exportAsText = function 23 Alert: PASS: typeof this.exportAsText = function
21 Alert: PASS: this.exportAsText() = undefined 24 Alert: PASS: this.exportAsText() = undefined
22 Alert: PASS: this.exportAsText(1, 2, "clams", [1, 2, 3]) = undefined 25 Alert: PASS: this.exportAsText(1, 2, "clams", [1, 2, 3]) = undefined
23 Alert: PASS: typeof this.exportAsXFDF = function 26 Alert: PASS: typeof this.exportAsXFDF = function
24 Alert: PASS: this.exportAsXFDF() = undefined 27 Alert: PASS: this.exportAsXFDF() = undefined
25 Alert: PASS: this.exportAsXFDF(1, 2, "clams", [1, 2, 3]) = undefined 28 Alert: PASS: this.exportAsXFDF(1, 2, "clams", [1, 2, 3]) = undefined
26 Alert: PASS: typeof this.extractPages = function 29 Alert: PASS: typeof this.extractPages = function
(...skipping 25 matching lines...) Expand all
52 Alert: PASS: this.importAnFDF(1, 2, "clams", [1, 2, 3]) = undefined 55 Alert: PASS: this.importAnFDF(1, 2, "clams", [1, 2, 3]) = undefined
53 Alert: PASS: typeof this.importAnXFDF = function 56 Alert: PASS: typeof this.importAnXFDF = function
54 Alert: PASS: this.importAnXFDF() = undefined 57 Alert: PASS: this.importAnXFDF() = undefined
55 Alert: PASS: this.importAnXFDF(1, 2, "clams", [1, 2, 3]) = undefined 58 Alert: PASS: this.importAnXFDF(1, 2, "clams", [1, 2, 3]) = undefined
56 Alert: PASS: typeof this.importTextData = function 59 Alert: PASS: typeof this.importTextData = function
57 Alert: PASS: this.importTextData() = undefined 60 Alert: PASS: this.importTextData() = undefined
58 Alert: PASS: this.importTextData(1, 2, "clams", [1, 2, 3]) = undefined 61 Alert: PASS: this.importTextData(1, 2, "clams", [1, 2, 3]) = undefined
59 Alert: PASS: typeof this.insertPages = function 62 Alert: PASS: typeof this.insertPages = function
60 Alert: PASS: this.insertPages() = undefined 63 Alert: PASS: this.insertPages() = undefined
61 Alert: PASS: this.insertPages(1, 2, "clams", [1, 2, 3]) = undefined 64 Alert: PASS: this.insertPages(1, 2, "clams", [1, 2, 3]) = undefined
65 Alert: PASS: typeof this.removeIcon = function
66 Alert: PASS: this.removeIcon() = undefined
67 Alert: PASS: this.removeIcon(1, 2, "clams", [1, 2, 3]) = undefined
62 Alert: PASS: typeof this.replacePages = function 68 Alert: PASS: typeof this.replacePages = function
63 Alert: PASS: this.replacePages() = undefined 69 Alert: PASS: this.replacePages() = undefined
64 Alert: PASS: this.replacePages(1, 2, "clams", [1, 2, 3]) = undefined 70 Alert: PASS: this.replacePages(1, 2, "clams", [1, 2, 3]) = undefined
65 Alert: PASS: typeof this.saveAs = function 71 Alert: PASS: typeof this.saveAs = function
66 Alert: PASS: this.saveAs() = undefined 72 Alert: PASS: this.saveAs() = undefined
67 Alert: PASS: this.saveAs(1, 2, "clams", [1, 2, 3]) = undefined 73 Alert: PASS: this.saveAs(1, 2, "clams", [1, 2, 3]) = undefined
68 Alert: *** Testing Supported Methods *** 74 Alert: *** Testing Supported Methods ***
69 Alert: PASS: typeof this.addIcon = function 75 Alert: PASS: typeof this.addIcon = function
70 Alert: PASS: this.addIcon() threw error Document.addIcon: Incorrect number of pa rameters passed to function. 76 Alert: PASS: this.addIcon() threw error Document.addIcon: Incorrect number of pa rameters passed to function.
71 Alert: PASS: this.addIcon(1) threw error Document.addIcon: Incorrect number of p arameters passed to function. 77 Alert: PASS: this.addIcon(1) threw error Document.addIcon: Incorrect number of p arameters passed to function.
72 Alert: PASS: this.addIcon(1, 2, 3) threw error Document.addIcon: Incorrect numbe r of parameters passed to function. 78 Alert: PASS: this.addIcon(1, 2, 3) threw error Document.addIcon: Incorrect numbe r of parameters passed to function.
73 Alert: PASS: this.addIcon("myicon", 3) threw error Document.addIcon: Incorrect p arameter type. 79 Alert: PASS: this.addIcon("myicon", 3) threw error Document.addIcon: Incorrect p arameter type.
74 Alert: PASS: typeof this.calculateNow = function 80 Alert: PASS: typeof this.calculateNow = function
75 Alert: PASS: typeof this.deletePages = function
76 Alert: PASS: typeof this.getField = function 81 Alert: PASS: typeof this.getField = function
77 Alert: PASS: this.getField() threw error Document.getField: Incorrect number of parameters passed to function. 82 Alert: PASS: this.getField() threw error Document.getField: Incorrect number of parameters passed to function.
78 Alert: PASS: typeof this.getIcon = function 83 Alert: PASS: typeof this.getIcon = function
79 Alert: PASS: this.getIcon() threw error Document.getIcon: Incorrect number of pa rameters passed to function. 84 Alert: PASS: this.getIcon() threw error Document.getIcon: Incorrect number of pa rameters passed to function.
80 Alert: PASS: this.getIcon(1, 2) threw error Document.getIcon: Incorrect number o f parameters passed to function. 85 Alert: PASS: this.getIcon(1, 2) threw error Document.getIcon: Incorrect number o f parameters passed to function.
81 Alert: PASS: typeof this.getNthFieldName = function 86 Alert: PASS: typeof this.getNthFieldName = function
82 Alert: PASS: this.getNthFieldName() threw error Document.getNthFieldName: Incorr ect number of parameters passed to function. 87 Alert: PASS: this.getNthFieldName() threw error Document.getNthFieldName: Incorr ect number of parameters passed to function.
83 Alert: PASS: this.getNthFieldName(-1) threw error Document.getNthFieldName: Inco rrect parameter value. 88 Alert: PASS: this.getNthFieldName(-1) threw error Document.getNthFieldName: Inco rrect parameter value.
84 Alert: PASS: typeof this.getPageNthWord = function 89 Alert: PASS: typeof this.getPageNthWord = function
85 Alert: PASS: this.getPageNthWord(0, 0, true, "clams", [1, 2]) = Hello, 90 Alert: PASS: this.getPageNthWord(0, 0, true, "clams", [1, 2]) = Hello,
86 Alert: PASS: this.getPageNthWord(-1, 0, true) threw error Document.getPageNthWor d: Incorrect parameter value. 91 Alert: PASS: this.getPageNthWord(-1, 0, true) threw error Document.getPageNthWor d: Incorrect parameter value.
87 Alert: PASS: this.getPageNthWord(6, 0, true) threw error Document.getPageNthWord : Incorrect parameter value. 92 Alert: PASS: this.getPageNthWord(6, 0, true) threw error Document.getPageNthWord : Incorrect parameter value.
88 Alert: PASS: typeof this.getPageNthWordQuads = function 93 Alert: PASS: typeof this.getPageNthWordQuads = function
89 Alert: PASS: typeof this.getPageNumWords = function 94 Alert: PASS: typeof this.getPageNumWords = function
90 Alert: PASS: this.getPageNumWords(0, "clams", [1, 2]) = 2 95 Alert: PASS: this.getPageNumWords(0, "clams", [1, 2]) = 2
91 Alert: PASS: this.getPageNumWords(-1) threw error Document.getPageNumWords: Inco rrect parameter value. 96 Alert: PASS: this.getPageNumWords(-1) threw error Document.getPageNumWords: Inco rrect parameter value.
92 Alert: PASS: this.getPageNumWords(6) threw error Document.getPageNumWords: Incor rect parameter value. 97 Alert: PASS: this.getPageNumWords(6) threw error Document.getPageNumWords: Incor rect parameter value.
93 Alert: PASS: typeof this.getPrintParams = function 98 Alert: PASS: typeof this.getPrintParams = function
94 Alert: PASS: typeof this.mailDoc = function 99 Alert: PASS: typeof this.mailDoc = function
95 Alert: PASS: typeof this.mailForm = function 100 Alert: PASS: typeof this.mailForm = function
96 Alert: PASS: typeof this.print = function 101 Alert: PASS: typeof this.print = function
97 Alert: PASS: typeof this.removeField = function 102 Alert: PASS: typeof this.removeField = function
98 Alert: PASS: this.removeField() threw error Document.removeField: Incorrect numb er of parameters passed to function. 103 Alert: PASS: this.removeField() threw error Document.removeField: Incorrect numb er of parameters passed to function.
99 Alert: PASS: typeof this.removeIcon = function
100 Alert: PASS: this.removeIcon() threw error Document.removeIcon: Incorrect number of parameters passed to function.
101 Alert: PASS: typeof this.resetForm = function 104 Alert: PASS: typeof this.resetForm = function
102 Alert: PASS: typeof this.submitForm = function 105 Alert: PASS: typeof this.submitForm = function
103 Alert: PASS: this.submitForm() threw error Document.submitForm: Incorrect number of parameters passed to function. 106 Alert: PASS: this.submitForm() threw error Document.submitForm: Incorrect number of parameters passed to function.
OLDNEW
« no previous file with comments | « testing/resources/javascript/document_methods.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698