xref: /aosp_15_r20/external/pdfium/testing/resources/javascript/document_properties_expected.txt (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1Alert: *** Getting properties ***
2Alert: this.ADBE is undefined undefined
3Alert: this.author is string Joe Random Author
4Alert: this.baseURL is string
5Alert: this.bookmarkRoot is undefined undefined
6Alert: this.calculate is boolean true
7Alert: this.Collab is undefined undefined
8Alert: this.creationDate is string
9Alert: this.creator is string Joe Random Creator
10Alert: this.delay is boolean false
11Alert: this.dirty is boolean false
12Alert: this.documentFileName is string
13Alert: this.external is boolean true
14Alert: this.filesize is number 0
15Alert: this.icons is undefined undefined
16Alert: this.info is object [object Object]
17Alert: this.keywords is string
18Alert: this.layout is undefined undefined
19Alert: this.media is undefined undefined
20Alert: this.modDate is string
21Alert: this.mouseX is undefined undefined
22Alert: this.mouseY is undefined undefined
23Alert: this.numFields is number 0
24Alert: this.numPages is number 4
25Alert: this.pageNum is undefined undefined
26Alert: this.pageWindowRect is undefined undefined
27Alert: this.path is string /myfile.pdf
28Alert: this.producer is string
29Alert: this.subject is string
30Alert: this.title is string
31Alert: this.URL is string myfile.pdf
32Alert: this.zoom is undefined undefined
33Alert: this.zoomType is undefined undefined
34Alert: *** Setting properties to true ***
35Alert: this.ADBE = true; yields true
36Alert: this.author = true; yields true
37Alert: this.baseURL = true; yields true
38Alert: this.bookmarkRoot = true; yields true
39Alert: this.calculate = true; yields true
40Alert: this.Collab = true; yields true
41Alert: this.creationDate = true; yields true
42Alert: this.creator = true; yields true
43Alert: this.delay = true; yields true
44Alert: this.dirty = true; yields true
45Alert: ERROR: Document.documentFileName: Cannot assign to readonly property.
46Alert: this.external = true; yields true
47Alert: ERROR: Document.filesize: Cannot assign to readonly property.
48Alert: ERROR: Document.icons: Cannot assign to readonly property.
49Alert: ERROR: Document.info: Cannot assign to readonly property.
50Alert: this.keywords = true; yields true
51Alert: this.layout = true; yields true
52Alert: this.media = true; yields true
53Alert: this.modDate = true; yields true
54Alert: this.mouseX = true; yields true
55Alert: this.mouseY = true; yields true
56Alert: ERROR: Document.numFields: Cannot assign to readonly property.
57Alert: ERROR: Document.numPages: Cannot assign to readonly property.
58Goto Page: 1
59Alert: this.pageNum = true; yields true
60Alert: this.pageWindowRect = true; yields true
61Alert: ERROR: Document.path: Cannot assign to readonly property.
62Alert: this.producer = true; yields true
63Alert: this.subject = true; yields true
64Alert: this.title = true; yields true
65Alert: ERROR: Document.URL: Cannot assign to readonly property.
66Alert: this.zoom = true; yields true
67Alert: this.zoomType = true; yields true
68Alert: *** Setting properties to false ***
69Alert: this.ADBE = false; yields false
70Alert: this.author = false; yields false
71Alert: this.baseURL = false; yields false
72Alert: this.bookmarkRoot = false; yields false
73Alert: this.calculate = false; yields false
74Alert: this.Collab = false; yields false
75Alert: this.creationDate = false; yields false
76Alert: this.creator = false; yields false
77Alert: this.delay = false; yields false
78Alert: this.dirty = false; yields false
79Alert: ERROR: Document.documentFileName: Cannot assign to readonly property.
80Alert: this.external = false; yields false
81Alert: ERROR: Document.filesize: Cannot assign to readonly property.
82Alert: ERROR: Document.icons: Cannot assign to readonly property.
83Alert: ERROR: Document.info: Cannot assign to readonly property.
84Alert: this.keywords = false; yields false
85Alert: this.layout = false; yields false
86Alert: this.media = false; yields false
87Alert: this.modDate = false; yields false
88Alert: this.mouseX = false; yields false
89Alert: this.mouseY = false; yields false
90Alert: ERROR: Document.numFields: Cannot assign to readonly property.
91Alert: ERROR: Document.numPages: Cannot assign to readonly property.
92Goto Page: 0
93Alert: this.pageNum = false; yields false
94Alert: this.pageWindowRect = false; yields false
95Alert: ERROR: Document.path: Cannot assign to readonly property.
96Alert: this.producer = false; yields false
97Alert: this.subject = false; yields false
98Alert: this.title = false; yields false
99Alert: ERROR: Document.URL: Cannot assign to readonly property.
100Alert: this.zoom = false; yields false
101Alert: this.zoomType = false; yields false
102Alert: *** Setting properties to ["red", 0, "blue", 42] ***
103Alert: this.ADBE = ["red", 0, "blue", 42]; yields red,0,blue,42
104Alert: this.author = ["red", 0, "blue", 42]; yields red,0,blue,42
105Alert: this.baseURL = ["red", 0, "blue", 42]; yields red,0,blue,42
106Alert: this.bookmarkRoot = ["red", 0, "blue", 42]; yields red,0,blue,42
107Alert: this.calculate = ["red", 0, "blue", 42]; yields red,0,blue,42
108Alert: this.Collab = ["red", 0, "blue", 42]; yields red,0,blue,42
109Alert: this.creationDate = ["red", 0, "blue", 42]; yields red,0,blue,42
110Alert: this.creator = ["red", 0, "blue", 42]; yields red,0,blue,42
111Alert: this.delay = ["red", 0, "blue", 42]; yields red,0,blue,42
112Alert: this.dirty = ["red", 0, "blue", 42]; yields red,0,blue,42
113Alert: ERROR: Document.documentFileName: Cannot assign to readonly property.
114Alert: this.external = ["red", 0, "blue", 42]; yields red,0,blue,42
115Alert: ERROR: Document.filesize: Cannot assign to readonly property.
116Alert: ERROR: Document.icons: Cannot assign to readonly property.
117Alert: ERROR: Document.info: Cannot assign to readonly property.
118Alert: this.keywords = ["red", 0, "blue", 42]; yields red,0,blue,42
119Alert: this.layout = ["red", 0, "blue", 42]; yields red,0,blue,42
120Alert: this.media = ["red", 0, "blue", 42]; yields red,0,blue,42
121Alert: this.modDate = ["red", 0, "blue", 42]; yields red,0,blue,42
122Alert: this.mouseX = ["red", 0, "blue", 42]; yields red,0,blue,42
123Alert: this.mouseY = ["red", 0, "blue", 42]; yields red,0,blue,42
124Alert: ERROR: Document.numFields: Cannot assign to readonly property.
125Alert: ERROR: Document.numPages: Cannot assign to readonly property.
126Goto Page: 0
127Alert: this.pageNum = ["red", 0, "blue", 42]; yields red,0,blue,42
128Alert: this.pageWindowRect = ["red", 0, "blue", 42]; yields red,0,blue,42
129Alert: ERROR: Document.path: Cannot assign to readonly property.
130Alert: this.producer = ["red", 0, "blue", 42]; yields red,0,blue,42
131Alert: this.subject = ["red", 0, "blue", 42]; yields red,0,blue,42
132Alert: this.title = ["red", 0, "blue", 42]; yields red,0,blue,42
133Alert: ERROR: Document.URL: Cannot assign to readonly property.
134Alert: this.zoom = ["red", 0, "blue", 42]; yields red,0,blue,42
135Alert: this.zoomType = ["red", 0, "blue", 42]; yields red,0,blue,42
136Alert: *** Setting properties to {"red": 0, "blue": 42} ***
137Alert: this.ADBE = {"red": 0, "blue": 42}; yields [object Object]
138Alert: this.author = {"red": 0, "blue": 42}; yields [object Object]
139Alert: this.baseURL = {"red": 0, "blue": 42}; yields [object Object]
140Alert: this.bookmarkRoot = {"red": 0, "blue": 42}; yields [object Object]
141Alert: this.calculate = {"red": 0, "blue": 42}; yields [object Object]
142Alert: this.Collab = {"red": 0, "blue": 42}; yields [object Object]
143Alert: this.creationDate = {"red": 0, "blue": 42}; yields [object Object]
144Alert: this.creator = {"red": 0, "blue": 42}; yields [object Object]
145Alert: this.delay = {"red": 0, "blue": 42}; yields [object Object]
146Alert: this.dirty = {"red": 0, "blue": 42}; yields [object Object]
147Alert: ERROR: Document.documentFileName: Cannot assign to readonly property.
148Alert: this.external = {"red": 0, "blue": 42}; yields [object Object]
149Alert: ERROR: Document.filesize: Cannot assign to readonly property.
150Alert: ERROR: Document.icons: Cannot assign to readonly property.
151Alert: ERROR: Document.info: Cannot assign to readonly property.
152Alert: this.keywords = {"red": 0, "blue": 42}; yields [object Object]
153Alert: this.layout = {"red": 0, "blue": 42}; yields [object Object]
154Alert: this.media = {"red": 0, "blue": 42}; yields [object Object]
155Alert: this.modDate = {"red": 0, "blue": 42}; yields [object Object]
156Alert: this.mouseX = {"red": 0, "blue": 42}; yields [object Object]
157Alert: this.mouseY = {"red": 0, "blue": 42}; yields [object Object]
158Alert: ERROR: Document.numFields: Cannot assign to readonly property.
159Alert: ERROR: Document.numPages: Cannot assign to readonly property.
160Goto Page: 0
161Alert: this.pageNum = {"red": 0, "blue": 42}; yields [object Object]
162Alert: this.pageWindowRect = {"red": 0, "blue": 42}; yields [object Object]
163Alert: ERROR: Document.path: Cannot assign to readonly property.
164Alert: this.producer = {"red": 0, "blue": 42}; yields [object Object]
165Alert: this.subject = {"red": 0, "blue": 42}; yields [object Object]
166Alert: this.title = {"red": 0, "blue": 42}; yields [object Object]
167Alert: ERROR: Document.URL: Cannot assign to readonly property.
168Alert: this.zoom = {"red": 0, "blue": 42}; yields [object Object]
169Alert: this.zoomType = {"red": 0, "blue": 42}; yields [object Object]
170Alert: *** Setting properties to "red" ***
171Alert: this.ADBE = "red"; yields red
172Alert: this.author = "red"; yields red
173Alert: this.baseURL = "red"; yields red
174Alert: this.bookmarkRoot = "red"; yields red
175Alert: this.calculate = "red"; yields red
176Alert: this.Collab = "red"; yields red
177Alert: this.creationDate = "red"; yields red
178Alert: this.creator = "red"; yields red
179Alert: this.delay = "red"; yields red
180Alert: this.dirty = "red"; yields red
181Alert: ERROR: Document.documentFileName: Cannot assign to readonly property.
182Alert: this.external = "red"; yields red
183Alert: ERROR: Document.filesize: Cannot assign to readonly property.
184Alert: ERROR: Document.icons: Cannot assign to readonly property.
185Alert: ERROR: Document.info: Cannot assign to readonly property.
186Alert: this.keywords = "red"; yields red
187Alert: this.layout = "red"; yields red
188Alert: this.media = "red"; yields red
189Alert: this.modDate = "red"; yields red
190Alert: this.mouseX = "red"; yields red
191Alert: this.mouseY = "red"; yields red
192Alert: ERROR: Document.numFields: Cannot assign to readonly property.
193Alert: ERROR: Document.numPages: Cannot assign to readonly property.
194Goto Page: 0
195Alert: this.pageNum = "red"; yields red
196Alert: this.pageWindowRect = "red"; yields red
197Alert: ERROR: Document.path: Cannot assign to readonly property.
198Alert: this.producer = "red"; yields red
199Alert: this.subject = "red"; yields red
200Alert: this.title = "red"; yields red
201Alert: ERROR: Document.URL: Cannot assign to readonly property.
202Alert: this.zoom = "red"; yields red
203Alert: this.zoomType = "red"; yields red
204Alert: *** Setting properties to 3 ***
205Alert: this.ADBE = 3; yields 3
206Alert: this.author = 3; yields 3
207Alert: this.baseURL = 3; yields 3
208Alert: this.bookmarkRoot = 3; yields 3
209Alert: this.calculate = 3; yields 3
210Alert: this.Collab = 3; yields 3
211Alert: this.creationDate = 3; yields 3
212Alert: this.creator = 3; yields 3
213Alert: this.delay = 3; yields 3
214Alert: this.dirty = 3; yields 3
215Alert: ERROR: Document.documentFileName: Cannot assign to readonly property.
216Alert: this.external = 3; yields 3
217Alert: ERROR: Document.filesize: Cannot assign to readonly property.
218Alert: ERROR: Document.icons: Cannot assign to readonly property.
219Alert: ERROR: Document.info: Cannot assign to readonly property.
220Alert: this.keywords = 3; yields 3
221Alert: this.layout = 3; yields 3
222Alert: this.media = 3; yields 3
223Alert: this.modDate = 3; yields 3
224Alert: this.mouseX = 3; yields 3
225Alert: this.mouseY = 3; yields 3
226Alert: ERROR: Document.numFields: Cannot assign to readonly property.
227Alert: ERROR: Document.numPages: Cannot assign to readonly property.
228Goto Page: 3
229Alert: this.pageNum = 3; yields 3
230Alert: this.pageWindowRect = 3; yields 3
231Alert: ERROR: Document.path: Cannot assign to readonly property.
232Alert: this.producer = 3; yields 3
233Alert: this.subject = 3; yields 3
234Alert: this.title = 3; yields 3
235Alert: ERROR: Document.URL: Cannot assign to readonly property.
236Alert: this.zoom = 3; yields 3
237Alert: this.zoomType = 3; yields 3
238Alert: *** Getting properties ***
239Alert: this.ADBE is undefined undefined
240Alert: this.author is string Joe Random Author
241Alert: this.baseURL is string 3
242Alert: this.bookmarkRoot is undefined undefined
243Alert: this.calculate is boolean true
244Alert: this.Collab is undefined undefined
245Alert: this.creationDate is string
246Alert: this.creator is string Joe Random Creator
247Alert: this.delay is boolean true
248Alert: this.dirty is boolean true
249Alert: this.documentFileName is string
250Alert: this.external is boolean true
251Alert: this.filesize is number 0
252Alert: this.icons is undefined undefined
253Alert: this.info is object [object Object]
254Alert: this.keywords is string
255Alert: this.layout is undefined undefined
256Alert: this.media is undefined undefined
257Alert: this.modDate is string
258Alert: this.mouseX is undefined undefined
259Alert: this.mouseY is undefined undefined
260Alert: this.numFields is number 0
261Alert: this.numPages is number 4
262Alert: this.pageNum is undefined undefined
263Alert: this.pageWindowRect is undefined undefined
264Alert: this.path is string /myfile.pdf
265Alert: this.producer is string
266Alert: this.subject is string
267Alert: this.title is string
268Alert: this.URL is string myfile.pdf
269Alert: this.zoom is undefined undefined
270Alert: this.zoomType is undefined undefined
271