summaryrefslogtreecommitdiff
path: root/testing/resources/javascript/bug_695826.in
diff options
context:
space:
mode:
Diffstat (limited to 'testing/resources/javascript/bug_695826.in')
-rw-r--r--testing/resources/javascript/bug_695826.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/resources/javascript/bug_695826.in b/testing/resources/javascript/bug_695826.in
index 1b4e8e3faf..e17eaf11d9 100644
--- a/testing/resources/javascript/bug_695826.in
+++ b/testing/resources/javascript/bug_695826.in
@@ -35,8 +35,11 @@ endobj
{{streamlen}}
>>
stream
-var obj = new this.constructor;
-obj.author = 3;
+try {
+ var obj = new this.constructor;
+ obj.author = 3;
+} catch (e) {
+}
app.alert('Done!');
endstream
endobj