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

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

Issue 2281273002: Add support to Document::getAnnots method (Closed)
Patch Set: fixed nit as per tsepez's request Created 4 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 14 matching lines...) Expand all
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.getAnnot3D = function 32 Alert: PASS: typeof this.getAnnot3D = function
33 Alert: PASS: this.getAnnot3D() = undefined 33 Alert: PASS: this.getAnnot3D() = undefined
34 Alert: PASS: this.getAnnot3D(1, 2, "clams", [1, 2, 3]) = undefined 34 Alert: PASS: this.getAnnot3D(1, 2, "clams", [1, 2, 3]) = undefined
35 Alert: PASS: typeof this.getAnnots = function
36 Alert: PASS: this.getAnnots() = undefined
37 Alert: PASS: this.getAnnots(1, 2, "clams", [1, 2, 3]) = undefined
38 Alert: PASS: typeof this.getLinks = function 35 Alert: PASS: typeof this.getLinks = function
39 Alert: PASS: this.getLinks() = undefined 36 Alert: PASS: this.getLinks() = undefined
40 Alert: PASS: this.getLinks(1, 2, "clams", [1, 2, 3]) = undefined 37 Alert: PASS: this.getLinks(1, 2, "clams", [1, 2, 3]) = undefined
41 Alert: PASS: typeof this.getOCGs = function 38 Alert: PASS: typeof this.getOCGs = function
42 Alert: PASS: this.getOCGs() = undefined 39 Alert: PASS: this.getOCGs() = undefined
43 Alert: PASS: this.getOCGs(1, 2, "clams", [1, 2, 3]) = undefined 40 Alert: PASS: this.getOCGs(1, 2, "clams", [1, 2, 3]) = undefined
44 Alert: PASS: typeof this.getPageBox = function 41 Alert: PASS: typeof this.getPageBox = function
45 Alert: PASS: this.getPageBox() = undefined 42 Alert: PASS: this.getPageBox() = undefined
46 Alert: PASS: this.getPageBox(1, 2, "clams", [1, 2, 3]) = undefined 43 Alert: PASS: this.getPageBox(1, 2, "clams", [1, 2, 3]) = undefined
47 Alert: PASS: typeof this.getURL = function 44 Alert: PASS: typeof this.getURL = function
(...skipping 28 matching lines...) Expand all
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
82 Alert: PASS: typeof this.getAnnot = function 79 Alert: PASS: typeof this.getAnnot = function
83 Alert: PASS: this.getAnnot() threw error Document.getAnnot: Incorrect number of parameters passed to function. 80 Alert: PASS: this.getAnnot() threw error Document.getAnnot: Incorrect number of parameters passed to function.
84 Alert: PASS: this.getAnnot(0) 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.
85 Alert: PASS: this.getAnnot(0, "test", 0) threw error Document.getAnnot: Incorrec t 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.
83 Alert: PASS: typeof this.getAnnots = function
86 Alert: PASS: typeof this.getField = function 84 Alert: PASS: typeof this.getField = function
87 Alert: PASS: this.getField() threw error Document.getField: Incorrect number of parameters passed to function. 85 Alert: PASS: this.getField() threw error Document.getField: Incorrect number of parameters passed to function.
88 Alert: PASS: typeof this.getIcon = function 86 Alert: PASS: typeof this.getIcon = function
89 Alert: PASS: this.getIcon() threw error Document.getIcon: Incorrect number of pa rameters passed to function. 87 Alert: PASS: this.getIcon() threw error Document.getIcon: Incorrect number of pa rameters passed to function.
90 Alert: PASS: this.getIcon(1, 2) threw error Document.getIcon: Incorrect number o f parameters passed to function. 88 Alert: PASS: this.getIcon(1, 2) threw error Document.getIcon: Incorrect number o f parameters passed to function.
91 Alert: PASS: typeof this.getNthFieldName = function 89 Alert: PASS: typeof this.getNthFieldName = function
92 Alert: PASS: this.getNthFieldName() threw error Document.getNthFieldName: Incorr ect number of parameters passed to function. 90 Alert: PASS: this.getNthFieldName() threw error Document.getNthFieldName: Incorr ect number of parameters passed to function.
93 Alert: PASS: this.getNthFieldName(-1) threw error Document.getNthFieldName: Inco rrect parameter value. 91 Alert: PASS: this.getNthFieldName(-1) threw error Document.getNthFieldName: Inco rrect parameter value.
94 Alert: PASS: typeof this.getPageNthWord = function 92 Alert: PASS: typeof this.getPageNthWord = function
95 Alert: PASS: this.getPageNthWord(0, 0, true, "clams", [1, 2]) = Hello, 93 Alert: PASS: this.getPageNthWord(0, 0, true, "clams", [1, 2]) = Hello,
96 Alert: PASS: this.getPageNthWord(-1, 0, true) threw error Document.getPageNthWor d: Incorrect parameter value. 94 Alert: PASS: this.getPageNthWord(-1, 0, true) threw error Document.getPageNthWor d: Incorrect parameter value.
97 Alert: PASS: this.getPageNthWord(6, 0, true) threw error Document.getPageNthWord : Incorrect parameter value. 95 Alert: PASS: this.getPageNthWord(6, 0, true) threw error Document.getPageNthWord : Incorrect parameter value.
98 Alert: PASS: typeof this.getPageNthWordQuads = function 96 Alert: PASS: typeof this.getPageNthWordQuads = function
99 Alert: PASS: typeof this.getPageNumWords = function 97 Alert: PASS: typeof this.getPageNumWords = function
100 Alert: PASS: this.getPageNumWords(0, "clams", [1, 2]) = 2 98 Alert: PASS: this.getPageNumWords(0, "clams", [1, 2]) = 2
101 Alert: PASS: this.getPageNumWords(-1) threw error Document.getPageNumWords: Inco rrect parameter value. 99 Alert: PASS: this.getPageNumWords(-1) threw error Document.getPageNumWords: Inco rrect parameter value.
102 Alert: PASS: this.getPageNumWords(6) threw error Document.getPageNumWords: Incor rect parameter value. 100 Alert: PASS: this.getPageNumWords(6) threw error Document.getPageNumWords: Incor rect parameter value.
103 Alert: PASS: typeof this.getPrintParams = function 101 Alert: PASS: typeof this.getPrintParams = function
104 Alert: PASS: typeof this.gotoNamedDest = function 102 Alert: PASS: typeof this.gotoNamedDest = function
105 Alert: PASS: this.gotoNamedDest() threw error Document.gotoNamedDest: Incorrect number of parameters passed to function. 103 Alert: PASS: this.gotoNamedDest() threw error Document.gotoNamedDest: Incorrect number of parameters passed to function.
106 Alert: PASS: this.gotoNamedDest(1, 2) threw error Document.gotoNamedDest: Incorr ect number of parameters passed to function. 104 Alert: PASS: this.gotoNamedDest(1, 2) threw error Document.gotoNamedDest: Incorr ect number of parameters passed to function.
107 Alert: PASS: typeof this.mailDoc = function 105 Alert: PASS: typeof this.mailDoc = function
108 Alert: PASS: typeof this.mailForm = function 106 Alert: PASS: typeof this.mailForm = function
109 Alert: PASS: typeof this.print = function 107 Alert: PASS: typeof this.print = function
110 Alert: PASS: typeof this.removeField = function 108 Alert: PASS: typeof this.removeField = function
111 Alert: PASS: this.removeField() threw error Document.removeField: Incorrect numb er of parameters passed to function. 109 Alert: PASS: this.removeField() threw error Document.removeField: Incorrect numb er of parameters passed to function.
112 Alert: PASS: typeof this.resetForm = function 110 Alert: PASS: typeof this.resetForm = function
113 Alert: PASS: typeof this.submitForm = function 111 Alert: PASS: typeof this.submitForm = function
114 Alert: PASS: this.submitForm() threw error Document.submitForm: Incorrect number of parameters passed to function. 112 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