xref: /aosp_15_r20/external/pdfium/testing/resources/javascript/immutable_proto.in (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1{{header}}
2{{object 1 0}} <<
3  /Type /Catalog
4  /Pages 2 0 R
5  /OpenAction 10 0 R
6>>
7endobj
8{{object 2 0}} <<
9  /Type /Pages
10  /Count 1
11  /Kids [
12    3 0 R
13  ]
14>>
15endobj
16{{object 3 0}} <<
17  /Type /Page
18  /Parent 2 0 R
19  /MediaBox [0 0 612 792]
20>>
21endobj
22% OpenAction action
23{{object 10 0}} <<
24  /Type /Action
25  /S /JavaScript
26  /JS 11 0 R
27>>
28endobj
29{{object 11 0}} <<
30  {{streamlen}}
31>>
32stream
33{{include expect.js}}
34expect("this.__proto__", "[object Object]");
35expect("app.__proto__", "[object Object]");
36expectError("this.__proto__ = {}");
37expectError("app.__proto__ = this");
38endstream
39endobj
40{{xref}}
41{{trailer}}
42{{startxref}}
43%%EOF
44