summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/js/resources/bom-in-file-retains-correct-offset.js
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/js/resources/bom-in-file-retains-correct-offset.js')
-rw-r--r--LayoutTests/fast/js/resources/bom-in-file-retains-correct-offset.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/LayoutTests/fast/js/resources/bom-in-file-retains-correct-offset.js b/LayoutTests/fast/js/resources/bom-in-file-retains-correct-offset.js
index b62a250..c4870d2 100644
--- a/LayoutTests/fast/js/resources/bom-in-file-retains-correct-offset.js
+++ b/LayoutTests/fast/js/resources/bom-in-file-retains-correct-offset.js
@@ -1,2 +1,2 @@
description("This ensures that BOM's scattered through a source file do not break parsing");
-function f(){successfullyReparsed=true;shouldBeTrue('successfullyReparsed');successfullyParsed=true}f();
+function g(){function f(){successfullyReparsed=true;shouldBeTrue('successfullyReparsed');successfullyParsed=true}f();} g()