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% Page number 0.
17{{object 3 0}} <<
18  /Type /Page
19  /Parent 2 0 R
20  /MediaBox [0 0 612 792]
21>>
22% OpenAction action
23{{object 10 0}} <<
24  /Type /Action
25  /S /JavaScript
26  /JS 11 0 R
27>>
28endobj
29% JS program to exexute
30{{object 11 0}} <<
31  {{streamlen}}
32>>
33stream
34function testIllegalConstructor(name, allowed) {
35  const constructorString = name + ".constructor";
36  let constructor;
37  try {
38    constructor = eval(constructorString);
39  } catch (e) {
40    app.alert("FAIL: No such " + constructorString);
41    return;
42  }
43  try {
44    constructor();
45    app.alert("FAIL: " + constructorString + "(): returned");
46  } catch (e) {
47    app.alert("PASS: " + constructorString + "(): " + e);
48  }
49  try {
50    new constructor;
51    app.alert("FAIL: new " + constructorString + ": returned");
52  } catch (e) {
53    app.alert("PASS: new " + constructorString + ": " + e);
54  }
55}
56testIllegalConstructor("this");
57testIllegalConstructor("app");
58testIllegalConstructor("event");
59testIllegalConstructor("font");
60testIllegalConstructor("global");
61testIllegalConstructor("util");
62testIllegalConstructor("style");
63testIllegalConstructor("color");
64testIllegalConstructor("border");
65testIllegalConstructor("display");
66testIllegalConstructor("console");
67testIllegalConstructor("position");
68testIllegalConstructor("highlight");
69testIllegalConstructor("zoomtype");
70testIllegalConstructor("scaleHow");
71testIllegalConstructor("scaleWhen");
72endstream
73endobj
74{{xref}}
75{{trailer}}
76{{startxref}}
77%%EOF
78