xref: /aosp_15_r20/external/pdfium/testing/resources/javascript/constructor.in (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1*3ac0a46fSAndroid Build Coastguard Worker{{header}}
2*3ac0a46fSAndroid Build Coastguard Worker{{object 1 0}} <<
3*3ac0a46fSAndroid Build Coastguard Worker  /Type /Catalog
4*3ac0a46fSAndroid Build Coastguard Worker  /Pages 2 0 R
5*3ac0a46fSAndroid Build Coastguard Worker  /OpenAction 10 0 R
6*3ac0a46fSAndroid Build Coastguard Worker>>
7*3ac0a46fSAndroid Build Coastguard Workerendobj
8*3ac0a46fSAndroid Build Coastguard Worker{{object 2 0}} <<
9*3ac0a46fSAndroid Build Coastguard Worker  /Type /Pages
10*3ac0a46fSAndroid Build Coastguard Worker  /Count 1
11*3ac0a46fSAndroid Build Coastguard Worker  /Kids [
12*3ac0a46fSAndroid Build Coastguard Worker    3 0 R
13*3ac0a46fSAndroid Build Coastguard Worker  ]
14*3ac0a46fSAndroid Build Coastguard Worker>>
15*3ac0a46fSAndroid Build Coastguard Workerendobj
16*3ac0a46fSAndroid Build Coastguard Worker% Page number 0.
17*3ac0a46fSAndroid Build Coastguard Worker{{object 3 0}} <<
18*3ac0a46fSAndroid Build Coastguard Worker  /Type /Page
19*3ac0a46fSAndroid Build Coastguard Worker  /Parent 2 0 R
20*3ac0a46fSAndroid Build Coastguard Worker  /MediaBox [0 0 612 792]
21*3ac0a46fSAndroid Build Coastguard Worker>>
22*3ac0a46fSAndroid Build Coastguard Workerendobj
23*3ac0a46fSAndroid Build Coastguard Worker% OpenAction action
24*3ac0a46fSAndroid Build Coastguard Worker{{object 10 0}} <<
25*3ac0a46fSAndroid Build Coastguard Worker  /Type /Action
26*3ac0a46fSAndroid Build Coastguard Worker  /S /JavaScript
27*3ac0a46fSAndroid Build Coastguard Worker  /JS 11 0 R
28*3ac0a46fSAndroid Build Coastguard Worker>>
29*3ac0a46fSAndroid Build Coastguard Workerendobj
30*3ac0a46fSAndroid Build Coastguard Worker% JS program to execute
31*3ac0a46fSAndroid Build Coastguard Worker{{object 11 0}} <<
32*3ac0a46fSAndroid Build Coastguard Worker  {{streamlen}}
33*3ac0a46fSAndroid Build Coastguard Worker>>
34*3ac0a46fSAndroid Build Coastguard Workerstream
35*3ac0a46fSAndroid Build Coastguard Worker{{include constructor.js}}
36*3ac0a46fSAndroid Build Coastguard Worker
37*3ac0a46fSAndroid Build Coastguard Worker// Global objects
38*3ac0a46fSAndroid Build Coastguard WorkertestIllegalConstructor("this");
39*3ac0a46fSAndroid Build Coastguard WorkertestIllegalConstructor("globalThis");
40*3ac0a46fSAndroid Build Coastguard Worker
41*3ac0a46fSAndroid Build Coastguard Worker// Static objects
42*3ac0a46fSAndroid Build Coastguard WorkertestIllegalConstructor("app");
43*3ac0a46fSAndroid Build Coastguard WorkertestIllegalConstructor("event");
44*3ac0a46fSAndroid Build Coastguard WorkertestIllegalConstructor("font");
45*3ac0a46fSAndroid Build Coastguard WorkertestIllegalConstructor("global");
46*3ac0a46fSAndroid Build Coastguard WorkertestIllegalConstructor("util");
47*3ac0a46fSAndroid Build Coastguard WorkertestIllegalConstructor("style");
48*3ac0a46fSAndroid Build Coastguard WorkertestIllegalConstructor("color");
49*3ac0a46fSAndroid Build Coastguard WorkertestIllegalConstructor("border");
50*3ac0a46fSAndroid Build Coastguard WorkertestIllegalConstructor("display");
51*3ac0a46fSAndroid Build Coastguard WorkertestIllegalConstructor("console");
52*3ac0a46fSAndroid Build Coastguard WorkertestIllegalConstructor("position");
53*3ac0a46fSAndroid Build Coastguard WorkertestIllegalConstructor("highlight");
54*3ac0a46fSAndroid Build Coastguard WorkertestIllegalConstructor("zoomtype");
55*3ac0a46fSAndroid Build Coastguard WorkertestIllegalConstructor("scaleHow");
56*3ac0a46fSAndroid Build Coastguard WorkertestIllegalConstructor("scaleWhen");
57*3ac0a46fSAndroid Build Coastguard Worker
58*3ac0a46fSAndroid Build Coastguard Worker// Dynamic objects
59*3ac0a46fSAndroid Build Coastguard Workertimer1 = app.setTimeOut("var marked = true", 1000);
60*3ac0a46fSAndroid Build Coastguard WorkertestLegalConstructor("timer1");
61*3ac0a46fSAndroid Build Coastguard Worker
62*3ac0a46fSAndroid Build Coastguard Workerendstream
63*3ac0a46fSAndroid Build Coastguard Workerendobj
64*3ac0a46fSAndroid Build Coastguard Worker{{xref}}
65*3ac0a46fSAndroid Build Coastguard Worker{{trailer}}
66*3ac0a46fSAndroid Build Coastguard Worker{{startxref}}
67*3ac0a46fSAndroid Build Coastguard Worker%%EOF
68