Commit 0d80a8e5 authored by verwaest@chromium.org's avatar verwaest@chromium.org

Predeclare globals required by the test framework to avoid walking the prototype chain.

Otherwise http/tests/security/xss-DENIED-method-with-iframe-proto.html double-faults while trying to read those global variables that aren't declared.

BUG=

Review URL: https://codereview.chromium.org/405893003

git-svn-id: svn://svn.chromium.org/blink/trunk@178553 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent b1cd3dcf
...@@ -726,6 +726,8 @@ function isSuccessfullyParsed() ...@@ -726,6 +726,8 @@ function isSuccessfullyParsed()
debug('<br /><span class="pass">TEST COMPLETE</span>'); debug('<br /><span class="pass">TEST COMPLETE</span>');
} }
var wasPostTestScriptParsed, wasFinishJSTestCalled, jsTestIsAsync;
// It's possible for an async test to call finishJSTest() before js-test-post.js // It's possible for an async test to call finishJSTest() before js-test-post.js
// has been parsed. // has been parsed.
function finishJSTest() function finishJSTest()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment