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

Side by Side Diff: testing/resources/javascript/document_props.in

Issue 2219183002: Add support to Document::URL property getter. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Add support to Document::URL property getter. 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
OLDNEW
1 {{header}} 1 {{header}}
2 {{object 1 0}} << 2 {{object 1 0}} <<
3 /Type /Catalog 3 /Type /Catalog
4 /Pages 2 0 R 4 /Pages 2 0 R
5 /OpenAction 10 0 R 5 /OpenAction 10 0 R
6 >> 6 >>
7 endobj 7 endobj
8 {{object 2 0}} << 8 {{object 2 0}} <<
9 /Type /Pages 9 /Type /Pages
10 /Count 4 10 /Count 4
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 'mouseX', 93 'mouseX',
94 'mouseY', 94 'mouseY',
95 'numFields', 95 'numFields',
96 'numPages', 96 'numPages',
97 'pageNum', 97 'pageNum',
98 'pageWindowRect', 98 'pageWindowRect',
99 'path', 99 'path',
100 'producer', 100 'producer',
101 'subject', 101 'subject',
102 'title', 102 'title',
103 'URL',
103 'zoom', 104 'zoom',
104 'zoomType', 105 'zoomType',
105 ]; 106 ];
106 107
107 function testGetProps(props) { 108 function testGetProps(props) {
108 app.alert('*** Getting properties ***'); 109 app.alert('*** Getting properties ***');
109 for (var i = 0; i < props.length; ++i) { 110 for (var i = 0; i < props.length; ++i) {
110 try { 111 try {
111 var expr1 = "this." + props[i]; 112 var expr1 = "this." + props[i];
112 var expr2 = "typeof " + expr1; 113 var expr2 = "typeof " + expr1;
(...skipping 21 matching lines...) Expand all
134 testGetProps(document_props); 135 testGetProps(document_props);
135 endstream 136 endstream
136 endobj 137 endobj
137 {{xref}} 138 {{xref}}
138 trailer << 139 trailer <<
139 /Root 1 0 R 140 /Root 1 0 R
140 /Info 9 0 R 141 /Info 9 0 R
141 >> 142 >>
142 {{startxref}} 143 {{startxref}}
143 %%EOF 144 %%EOF
OLDNEW
« no previous file with comments | « fpdfsdk/javascript/Document.cpp ('k') | testing/resources/javascript/document_props_expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698