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 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, 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
« 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
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 Alert: PASS: this.replacePages(1, 2, "clams", [1, 2, 3]) = undefined 70 Alert: PASS: this.replacePages(1, 2, "clams", [1, 2, 3]) = undefined
71 Alert: PASS: typeof this.saveAs = function 71 Alert: PASS: typeof this.saveAs = function
72 Alert: PASS: this.saveAs() = undefined 72 Alert: PASS: this.saveAs() = undefined
73 Alert: PASS: this.saveAs(1, 2, "clams", [1, 2, 3]) = undefined 73 Alert: PASS: this.saveAs(1, 2, "clams", [1, 2, 3]) = undefined
74 Alert: *** Testing Supported Methods *** 74 Alert: *** Testing Supported Methods ***
75 Alert: PASS: typeof this.addIcon = function 75 Alert: PASS: typeof this.addIcon = function
76 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.
77 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.
78 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.
79 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.
80 Alert: PASS: this.addIcon("myicon", undefined) threw error Document.addIcon: Inc orrect parameter type.
80 Alert: PASS: typeof this.calculateNow = function 81 Alert: PASS: typeof this.calculateNow = function
81 Alert: PASS: typeof this.getField = function 82 Alert: PASS: typeof this.getField = function
82 Alert: PASS: this.getField() threw error Document.getField: Incorrect number of parameters passed to function. 83 Alert: PASS: this.getField() threw error Document.getField: Incorrect number of parameters passed to function.
83 Alert: PASS: typeof this.getIcon = function 84 Alert: PASS: typeof this.getIcon = function
84 Alert: PASS: this.getIcon() threw error Document.getIcon: Incorrect number of pa rameters passed to function. 85 Alert: PASS: this.getIcon() threw error Document.getIcon: Incorrect number of pa rameters passed to function.
85 Alert: PASS: this.getIcon(1, 2) threw error Document.getIcon: Incorrect number o f parameters passed to function. 86 Alert: PASS: this.getIcon(1, 2) threw error Document.getIcon: Incorrect number o f parameters passed to function.
86 Alert: PASS: typeof this.getNthFieldName = function 87 Alert: PASS: typeof this.getNthFieldName = function
87 Alert: PASS: this.getNthFieldName() threw error Document.getNthFieldName: Incorr ect number of parameters passed to function. 88 Alert: PASS: this.getNthFieldName() threw error Document.getNthFieldName: Incorr ect number of parameters passed to function.
88 Alert: PASS: this.getNthFieldName(-1) threw error Document.getNthFieldName: Inco rrect parameter value. 89 Alert: PASS: this.getNthFieldName(-1) threw error Document.getNthFieldName: Inco rrect parameter value.
89 Alert: PASS: typeof this.getPageNthWord = function 90 Alert: PASS: typeof this.getPageNthWord = function
90 Alert: PASS: this.getPageNthWord(0, 0, true, "clams", [1, 2]) = Hello, 91 Alert: PASS: this.getPageNthWord(0, 0, true, "clams", [1, 2]) = Hello,
91 Alert: PASS: this.getPageNthWord(-1, 0, true) threw error Document.getPageNthWor d: Incorrect parameter value. 92 Alert: PASS: this.getPageNthWord(-1, 0, true) threw error Document.getPageNthWor d: Incorrect parameter value.
92 Alert: PASS: this.getPageNthWord(6, 0, true) threw error Document.getPageNthWord : Incorrect parameter value. 93 Alert: PASS: this.getPageNthWord(6, 0, true) threw error Document.getPageNthWord : Incorrect parameter value.
93 Alert: PASS: typeof this.getPageNthWordQuads = function 94 Alert: PASS: typeof this.getPageNthWordQuads = function
94 Alert: PASS: typeof this.getPageNumWords = function 95 Alert: PASS: typeof this.getPageNumWords = function
95 Alert: PASS: this.getPageNumWords(0, "clams", [1, 2]) = 2 96 Alert: PASS: this.getPageNumWords(0, "clams", [1, 2]) = 2
96 Alert: PASS: this.getPageNumWords(-1) threw error Document.getPageNumWords: Inco rrect parameter value. 97 Alert: PASS: this.getPageNumWords(-1) threw error Document.getPageNumWords: Inco rrect parameter value.
97 Alert: PASS: this.getPageNumWords(6) threw error Document.getPageNumWords: Incor rect parameter value. 98 Alert: PASS: this.getPageNumWords(6) threw error Document.getPageNumWords: Incor rect parameter value.
98 Alert: PASS: typeof this.getPrintParams = function 99 Alert: PASS: typeof this.getPrintParams = function
99 Alert: PASS: typeof this.mailDoc = function 100 Alert: PASS: typeof this.mailDoc = function
100 Alert: PASS: typeof this.mailForm = function 101 Alert: PASS: typeof this.mailForm = function
101 Alert: PASS: typeof this.print = function 102 Alert: PASS: typeof this.print = function
102 Alert: PASS: typeof this.removeField = function 103 Alert: PASS: typeof this.removeField = function
103 Alert: PASS: this.removeField() threw error Document.removeField: Incorrect numb er of parameters passed to function. 104 Alert: PASS: this.removeField() threw error Document.removeField: Incorrect numb er of parameters passed to function.
104 Alert: PASS: typeof this.resetForm = function 105 Alert: PASS: typeof this.resetForm = function
105 Alert: PASS: typeof this.submitForm = function 106 Alert: PASS: typeof this.submitForm = function
106 Alert: PASS: this.submitForm() threw error Document.submitForm: Incorrect number of parameters passed to function. 107 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