summaryrefslogtreecommitdiff
path: root/testing/resources/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'testing/resources/javascript')
-rw-r--r--testing/resources/javascript/app_alert.in1
-rw-r--r--testing/resources/javascript/app_mailmsg.in1
-rw-r--r--testing/resources/javascript/app_props.in1
-rw-r--r--testing/resources/javascript/app_repsonse.in1
-rw-r--r--testing/resources/javascript/apply.in1
-rw-r--r--testing/resources/javascript/array_buffer.in1
-rw-r--r--testing/resources/javascript/bug_361.in1
-rw-r--r--testing/resources/javascript/bug_492_1.in1
-rw-r--r--testing/resources/javascript/bug_494057.in1
-rw-r--r--testing/resources/javascript/bug_679642.in13
-rw-r--r--testing/resources/javascript/bug_679643.in13
-rw-r--r--testing/resources/javascript/bug_695826.in1
-rw-r--r--testing/resources/javascript/bug_735912.in15
-rw-r--r--testing/resources/javascript/bug_740166.in1
-rw-r--r--testing/resources/javascript/consts.in1
-rw-r--r--testing/resources/javascript/document_methods.in2
-rw-r--r--testing/resources/javascript/document_props.in1
-rw-r--r--testing/resources/javascript/field.in1
-rw-r--r--testing/resources/javascript/globals.in1
-rw-r--r--testing/resources/javascript/util_bytetochar.in1
-rw-r--r--testing/resources/javascript/util_printd.in1
-rw-r--r--testing/resources/javascript/util_printx.in1
22 files changed, 52 insertions, 9 deletions
diff --git a/testing/resources/javascript/app_alert.in b/testing/resources/javascript/app_alert.in
index 99c3c242b7..27d816eb36 100644
--- a/testing/resources/javascript/app_alert.in
+++ b/testing/resources/javascript/app_alert.in
@@ -32,6 +32,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
app.alert("This test passes if alert() logs output under the test utility.");
diff --git a/testing/resources/javascript/app_mailmsg.in b/testing/resources/javascript/app_mailmsg.in
index 8fcf2e79a4..73a7261a68 100644
--- a/testing/resources/javascript/app_mailmsg.in
+++ b/testing/resources/javascript/app_mailmsg.in
@@ -32,6 +32,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
app.alert("This test passes if mailMsg() logs output under the test utility.");
diff --git a/testing/resources/javascript/app_props.in b/testing/resources/javascript/app_props.in
index 89511b0b13..1355e648b6 100644
--- a/testing/resources/javascript/app_props.in
+++ b/testing/resources/javascript/app_props.in
@@ -68,6 +68,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
var app_props = [
diff --git a/testing/resources/javascript/app_repsonse.in b/testing/resources/javascript/app_repsonse.in
index bbe77afe43..08d9fc3109 100644
--- a/testing/resources/javascript/app_repsonse.in
+++ b/testing/resources/javascript/app_repsonse.in
@@ -32,6 +32,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
var result;
diff --git a/testing/resources/javascript/apply.in b/testing/resources/javascript/apply.in
index f4bb37dff6..d944e83bc3 100644
--- a/testing/resources/javascript/apply.in
+++ b/testing/resources/javascript/apply.in
@@ -32,6 +32,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
app.alert('Applying to util itself - should succeed');
diff --git a/testing/resources/javascript/array_buffer.in b/testing/resources/javascript/array_buffer.in
index d5262b4f24..f06c8c5668 100644
--- a/testing/resources/javascript/array_buffer.in
+++ b/testing/resources/javascript/array_buffer.in
@@ -32,6 +32,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
app.alert("This test attempts to make array buffers until exhausted");
diff --git a/testing/resources/javascript/bug_361.in b/testing/resources/javascript/bug_361.in
index fed81ee38e..4af86a601e 100644
--- a/testing/resources/javascript/bug_361.in
+++ b/testing/resources/javascript/bug_361.in
@@ -45,6 +45,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
function testField(x) {
diff --git a/testing/resources/javascript/bug_492_1.in b/testing/resources/javascript/bug_492_1.in
index 17ca1b7f27..9d48ad556f 100644
--- a/testing/resources/javascript/bug_492_1.in
+++ b/testing/resources/javascript/bug_492_1.in
@@ -52,6 +52,7 @@ endobj
endobj
% JS program to exexute
{{object 21 0}} <<
+ {{streamlen}}
>>
stream
var annots = this.getAnnots();
diff --git a/testing/resources/javascript/bug_494057.in b/testing/resources/javascript/bug_494057.in
index 76b655a868..bbfa13e855 100644
--- a/testing/resources/javascript/bug_494057.in
+++ b/testing/resources/javascript/bug_494057.in
@@ -89,6 +89,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
function TestGetFieldWithDelay() {
diff --git a/testing/resources/javascript/bug_679642.in b/testing/resources/javascript/bug_679642.in
index a1dc2bd1cc..644a2592ff 100644
--- a/testing/resources/javascript/bug_679642.in
+++ b/testing/resources/javascript/bug_679642.in
@@ -88,6 +88,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
var theName = "MyField";
@@ -116,19 +117,25 @@ Mangles();
endstream
endobj
{{object 23 0}} <<
->>stream
+ {{streamlen}}
+>>
+stream
<?xml version="1.0" encoding="UTF-8"?>
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
endstream
endobj
{{object 29 0}} <<
->>stream
+ {{streamlen}}
+>>
+stream
<config></config>
<template></template>
endstream
endobj
{{object 30 0}} <<
->>stream
+ {{streamlen}}
+>>
+stream
</xdp:xdp>
endstream
endobj
diff --git a/testing/resources/javascript/bug_679643.in b/testing/resources/javascript/bug_679643.in
index 66deb85815..c60fc0f186 100644
--- a/testing/resources/javascript/bug_679643.in
+++ b/testing/resources/javascript/bug_679643.in
@@ -88,6 +88,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
var theName = "MyField";
@@ -111,19 +112,25 @@ Mangles();
endstream
endobj
{{object 23 0}} <<
->>stream
+ {{streamlen}}
+>>
+stream
<?xml version="1.0" encoding="UTF-8"?>
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
endstream
endobj
{{object 29 0}} <<
->>stream
+ {{streamlen}}
+>>
+stream
<config></config>
<template></template>
endstream
endobj
{{object 30 0}} <<
->>stream
+ {{streamlen}}
+>>
+stream
</xdp:xdp>
endstream
endobj
diff --git a/testing/resources/javascript/bug_695826.in b/testing/resources/javascript/bug_695826.in
index bdb1d597ef..1b4e8e3faf 100644
--- a/testing/resources/javascript/bug_695826.in
+++ b/testing/resources/javascript/bug_695826.in
@@ -32,6 +32,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
var obj = new this.constructor;
diff --git a/testing/resources/javascript/bug_735912.in b/testing/resources/javascript/bug_735912.in
index ab3cc0d1d9..06bd9a3879 100644
--- a/testing/resources/javascript/bug_735912.in
+++ b/testing/resources/javascript/bug_735912.in
@@ -55,6 +55,7 @@ endobj
endobj
% JS program to exexute
{{object 31 0}} <<
+ {{streamlen}}
>>
stream
this.getField("MyField").setFocus();
@@ -70,6 +71,7 @@ endobj
endobj
% JS program to exexute
{{object 35 0}} <<
+ {{streamlen}}
>>
stream
this.removeField("MyField");
@@ -85,25 +87,32 @@ endobj
endobj
% JS program to exexute
{{object 37 0}} <<
+ {{streamlen}}
>>
stream
this.removeField("MyField");
endstream
endobj
{{object 43 0}} <<
->>stream
+ {{streamlen}}
+>>
+stream
<?xml version="1.0" encoding="UTF-8"?>
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
endstream
endobj
{{object 49 0}} <<
->>stream
+ {{streamlen}}
+>>
+stream
<config></config>
<template></template>
endstream
endobj
{{object 50 0}} <<
->>stream
+ {{streamlen}}
+>>
+stream
</xdp:xdp>
endstream
endobj
diff --git a/testing/resources/javascript/bug_740166.in b/testing/resources/javascript/bug_740166.in
index d2e49822b7..425374d25a 100644
--- a/testing/resources/javascript/bug_740166.in
+++ b/testing/resources/javascript/bug_740166.in
@@ -45,6 +45,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
app.alert(util.printf("Values = %0.1x .9999 %x", 1, 2));
diff --git a/testing/resources/javascript/consts.in b/testing/resources/javascript/consts.in
index d77e0f02c4..dbfd579b40 100644
--- a/testing/resources/javascript/consts.in
+++ b/testing/resources/javascript/consts.in
@@ -32,6 +32,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
diff --git a/testing/resources/javascript/document_methods.in b/testing/resources/javascript/document_methods.in
index 8c5a14a59e..66d5484f67 100644
--- a/testing/resources/javascript/document_methods.in
+++ b/testing/resources/javascript/document_methods.in
@@ -55,6 +55,7 @@ endobj
>>
% Contents of the page.
{{object 8 0}} <<
+ {{streamlen}}
>>
stream
BT
@@ -79,6 +80,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
function expect(str, expected) {
diff --git a/testing/resources/javascript/document_props.in b/testing/resources/javascript/document_props.in
index 1882f79c8a..efc8e4406f 100644
--- a/testing/resources/javascript/document_props.in
+++ b/testing/resources/javascript/document_props.in
@@ -68,6 +68,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
var document_props = [
diff --git a/testing/resources/javascript/field.in b/testing/resources/javascript/field.in
index effe16fcf0..62496abd1a 100644
--- a/testing/resources/javascript/field.in
+++ b/testing/resources/javascript/field.in
@@ -89,6 +89,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
function TestGetField() {
diff --git a/testing/resources/javascript/globals.in b/testing/resources/javascript/globals.in
index bab7741d0d..de67392a4b 100644
--- a/testing/resources/javascript/globals.in
+++ b/testing/resources/javascript/globals.in
@@ -32,6 +32,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
// The "global" object stores data in a C-like manner, and
diff --git a/testing/resources/javascript/util_bytetochar.in b/testing/resources/javascript/util_bytetochar.in
index ebe6da6192..531e679b05 100644
--- a/testing/resources/javascript/util_bytetochar.in
+++ b/testing/resources/javascript/util_bytetochar.in
@@ -32,6 +32,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
function TestOneInput(x) {
diff --git a/testing/resources/javascript/util_printd.in b/testing/resources/javascript/util_printd.in
index d9ea71e2cc..2d6891928b 100644
--- a/testing/resources/javascript/util_printd.in
+++ b/testing/resources/javascript/util_printd.in
@@ -32,6 +32,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
function TestOneFormat(str, d) {
diff --git a/testing/resources/javascript/util_printx.in b/testing/resources/javascript/util_printx.in
index 10d7c566c7..f3988cb89e 100644
--- a/testing/resources/javascript/util_printx.in
+++ b/testing/resources/javascript/util_printx.in
@@ -32,6 +32,7 @@ endobj
endobj
% JS program to exexute
{{object 11 0}} <<
+ {{streamlen}}
>>
stream
function TestOneFormat(fmt, src) {