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

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

Issue 2260663002: Add initial Document::getAnnot support (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: fix GYP build Created 4 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 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 11 matching lines...) Expand all
22 Alert: PASS: this.exportAsFDF(1, 2, "clams", [1, 2, 3]) = undefined 22 Alert: PASS: this.exportAsFDF(1, 2, "clams", [1, 2, 3]) = undefined
23 Alert: PASS: typeof this.exportAsText = function 23 Alert: PASS: typeof this.exportAsText = function
24 Alert: PASS: this.exportAsText() = undefined 24 Alert: PASS: this.exportAsText() = undefined
25 Alert: PASS: this.exportAsText(1, 2, "clams", [1, 2, 3]) = undefined 25 Alert: PASS: this.exportAsText(1, 2, "clams", [1, 2, 3]) = undefined
26 Alert: PASS: typeof this.exportAsXFDF = function 26 Alert: PASS: typeof this.exportAsXFDF = function
27 Alert: PASS: this.exportAsXFDF() = undefined 27 Alert: PASS: this.exportAsXFDF() = undefined
28 Alert: PASS: this.exportAsXFDF(1, 2, "clams", [1, 2, 3]) = undefined 28 Alert: PASS: this.exportAsXFDF(1, 2, "clams", [1, 2, 3]) = undefined
29 Alert: PASS: typeof this.extractPages = function 29 Alert: PASS: typeof this.extractPages = function
30 Alert: PASS: this.extractPages() = undefined 30 Alert: PASS: this.extractPages() = undefined
31 Alert: PASS: this.extractPages(1, 2, "clams", [1, 2, 3]) = undefined 31 Alert: PASS: this.extractPages(1, 2, "clams", [1, 2, 3]) = undefined
32 Alert: PASS: typeof this.getAnnot = function
33 Alert: PASS: this.getAnnot() = undefined
34 Alert: PASS: this.getAnnot(1, 2, "clams", [1, 2, 3]) = undefined
35 Alert: PASS: typeof this.getAnnot3D = function 32 Alert: PASS: typeof this.getAnnot3D = function
36 Alert: PASS: this.getAnnot3D() = undefined 33 Alert: PASS: this.getAnnot3D() = undefined
37 Alert: PASS: this.getAnnot3D(1, 2, "clams", [1, 2, 3]) = undefined 34 Alert: PASS: this.getAnnot3D(1, 2, "clams", [1, 2, 3]) = undefined
38 Alert: PASS: typeof this.getAnnots = function 35 Alert: PASS: typeof this.getAnnots = function
39 Alert: PASS: this.getAnnots() = undefined 36 Alert: PASS: this.getAnnots() = undefined
40 Alert: PASS: this.getAnnots(1, 2, "clams", [1, 2, 3]) = undefined 37 Alert: PASS: this.getAnnots(1, 2, "clams", [1, 2, 3]) = undefined
41 Alert: PASS: typeof this.getLinks = function 38 Alert: PASS: typeof this.getLinks = function
42 Alert: PASS: this.getLinks() = undefined 39 Alert: PASS: this.getLinks() = undefined
43 Alert: PASS: this.getLinks(1, 2, "clams", [1, 2, 3]) = undefined 40 Alert: PASS: this.getLinks(1, 2, "clams", [1, 2, 3]) = undefined
44 Alert: PASS: typeof this.getOCGs = function 41 Alert: PASS: typeof this.getOCGs = function
(...skipping 27 matching lines...) Expand all
72 Alert: PASS: this.saveAs() = undefined 69 Alert: PASS: this.saveAs() = undefined
73 Alert: PASS: this.saveAs(1, 2, "clams", [1, 2, 3]) = undefined 70 Alert: PASS: this.saveAs(1, 2, "clams", [1, 2, 3]) = undefined
74 Alert: *** Testing Supported Methods *** 71 Alert: *** Testing Supported Methods ***
75 Alert: PASS: typeof this.addIcon = function 72 Alert: PASS: typeof this.addIcon = function
76 Alert: PASS: this.addIcon() threw error Document.addIcon: Incorrect number of pa rameters passed to function. 73 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. 74 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. 75 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. 76 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. 77 Alert: PASS: this.addIcon("myicon", undefined) threw error Document.addIcon: Inc orrect parameter type.
81 Alert: PASS: typeof this.calculateNow = function 78 Alert: PASS: typeof this.calculateNow = function
79 Alert: PASS: typeof this.getAnnot = function
80 Alert: PASS: this.getAnnot() threw error Document.getAnnot: Incorrect number of parameters passed to function.
81 Alert: PASS: this.getAnnot(0) threw error Document.getAnnot: Incorrect number of parameters passed to function.
82 Alert: PASS: this.getAnnot(0, "test", 0) threw error Document.getAnnot: Incorrec t number of parameters passed to function.
82 Alert: PASS: typeof this.getField = function 83 Alert: PASS: typeof this.getField = function
83 Alert: PASS: this.getField() threw error Document.getField: Incorrect number of parameters passed to function. 84 Alert: PASS: this.getField() threw error Document.getField: Incorrect number of parameters passed to function.
84 Alert: PASS: typeof this.getIcon = function 85 Alert: PASS: typeof this.getIcon = function
85 Alert: PASS: this.getIcon() threw error Document.getIcon: Incorrect number of pa rameters passed to function. 86 Alert: PASS: this.getIcon() threw error Document.getIcon: Incorrect number of pa rameters passed to function.
86 Alert: PASS: this.getIcon(1, 2) threw error Document.getIcon: Incorrect number o f parameters passed to function. 87 Alert: PASS: this.getIcon(1, 2) threw error Document.getIcon: Incorrect number o f parameters passed to function.
87 Alert: PASS: typeof this.getNthFieldName = function 88 Alert: PASS: typeof this.getNthFieldName = function
88 Alert: PASS: this.getNthFieldName() threw error Document.getNthFieldName: Incorr ect number of parameters passed to function. 89 Alert: PASS: this.getNthFieldName() threw error Document.getNthFieldName: Incorr ect number of parameters passed to function.
89 Alert: PASS: this.getNthFieldName(-1) threw error Document.getNthFieldName: Inco rrect parameter value. 90 Alert: PASS: this.getNthFieldName(-1) threw error Document.getNthFieldName: Inco rrect parameter value.
90 Alert: PASS: typeof this.getPageNthWord = function 91 Alert: PASS: typeof this.getPageNthWord = function
91 Alert: PASS: this.getPageNthWord(0, 0, true, "clams", [1, 2]) = Hello, 92 Alert: PASS: this.getPageNthWord(0, 0, true, "clams", [1, 2]) = Hello,
92 Alert: PASS: this.getPageNthWord(-1, 0, true) threw error Document.getPageNthWor d: Incorrect parameter value. 93 Alert: PASS: this.getPageNthWord(-1, 0, true) threw error Document.getPageNthWor d: Incorrect parameter value.
93 Alert: PASS: this.getPageNthWord(6, 0, true) threw error Document.getPageNthWord : Incorrect parameter value. 94 Alert: PASS: this.getPageNthWord(6, 0, true) threw error Document.getPageNthWord : Incorrect parameter value.
94 Alert: PASS: typeof this.getPageNthWordQuads = function 95 Alert: PASS: typeof this.getPageNthWordQuads = function
95 Alert: PASS: typeof this.getPageNumWords = function 96 Alert: PASS: typeof this.getPageNumWords = function
96 Alert: PASS: this.getPageNumWords(0, "clams", [1, 2]) = 2 97 Alert: PASS: this.getPageNumWords(0, "clams", [1, 2]) = 2
97 Alert: PASS: this.getPageNumWords(-1) threw error Document.getPageNumWords: Inco rrect parameter value. 98 Alert: PASS: this.getPageNumWords(-1) threw error Document.getPageNumWords: Inco rrect parameter value.
98 Alert: PASS: this.getPageNumWords(6) threw error Document.getPageNumWords: Incor rect parameter value. 99 Alert: PASS: this.getPageNumWords(6) threw error Document.getPageNumWords: Incor rect parameter value.
99 Alert: PASS: typeof this.getPrintParams = function 100 Alert: PASS: typeof this.getPrintParams = function
100 Alert: PASS: typeof this.gotoNamedDest = function 101 Alert: PASS: typeof this.gotoNamedDest = function
101 Alert: PASS: this.gotoNamedDest() threw error Document.gotoNamedDest: Incorrect number of parameters passed to function. 102 Alert: PASS: this.gotoNamedDest() threw error Document.gotoNamedDest: Incorrect number of parameters passed to function.
102 Alert: PASS: this.gotoNamedDest(1, 2) threw error Document.gotoNamedDest: Incorr ect number of parameters passed to function. 103 Alert: PASS: this.gotoNamedDest(1, 2) threw error Document.gotoNamedDest: Incorr ect number of parameters passed to function.
103 Alert: PASS: typeof this.mailDoc = function 104 Alert: PASS: typeof this.mailDoc = function
104 Alert: PASS: typeof this.mailForm = function 105 Alert: PASS: typeof this.mailForm = function
105 Alert: PASS: typeof this.print = function 106 Alert: PASS: typeof this.print = function
106 Alert: PASS: typeof this.removeField = function 107 Alert: PASS: typeof this.removeField = function
107 Alert: PASS: this.removeField() threw error Document.removeField: Incorrect numb er of parameters passed to function. 108 Alert: PASS: this.removeField() threw error Document.removeField: Incorrect numb er of parameters passed to function.
108 Alert: PASS: typeof this.resetForm = function 109 Alert: PASS: typeof this.resetForm = function
109 Alert: PASS: typeof this.submitForm = function 110 Alert: PASS: typeof this.submitForm = function
110 Alert: PASS: this.submitForm() threw error Document.submitForm: Incorrect number of parameters passed to function. 111 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