diff options
Diffstat (limited to 'dom/tests/mochitest/ajax/prototype/test/unit/fixtures/string.js')
-rw-r--r-- | dom/tests/mochitest/ajax/prototype/test/unit/fixtures/string.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dom/tests/mochitest/ajax/prototype/test/unit/fixtures/string.js b/dom/tests/mochitest/ajax/prototype/test/unit/fixtures/string.js new file mode 100644 index 000000000..e4483a5b6 --- /dev/null +++ b/dom/tests/mochitest/ajax/prototype/test/unit/fixtures/string.js @@ -0,0 +1,8 @@ +var attackTarget; +var evalScriptsCounter = 0, + largeTextEscaped = '<span>test</span>', + largeTextUnescaped = '<span>test</span>'; +(2048).times(function(){ + largeTextEscaped += ' ABC'; + largeTextUnescaped += ' ABC'; +}); |