diff options
| author | arv@chromium.org <arv@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2011-10-25 23:10:43 +0000 |
|---|---|---|
| committer | arv@chromium.org <arv@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2011-10-25 23:10:43 +0000 |
| commit | d7f8875abc4049f55480b0ae920ee3b0df985ac2 (patch) | |
| tree | 803fabaf7344128eb433739759045fda4b966287 /third_party/WebKit/LayoutTests/fast/filesystem/script-tests | |
| parent | c8ea793f83a9e80a08402efa4339d23eca640af3 (diff) | |
| download | chromium_src-d7f8875abc4049f55480b0ae920ee3b0df985ac2.zip chromium_src-d7f8875abc4049f55480b0ae920ee3b0df985ac2.tar.gz chromium_src-d7f8875abc4049f55480b0ae920ee3b0df985ac2.tar.bz2 | |
JS Test Harness: Make successfullyParsed optional
https://bugs.webkit.org/show_bug.cgi?id=70784
Reviewed by Ojan Vafai.
Tools:
* Scripts/make-new-script-test:
(writeTestFile): Update the template for script tests.
LayoutTests:
This makes "successfullyParsed = true" optional in favor of tracking syntax errors
using window.onerror.
* fast/*: Remove successfullyParsed.
* fast/dom/Window/new-window-opener.html: Cleanup.
* fast/dom/Window/resources/window-appendages-cleared-results.html:
* fast/dom/Window/webkitConvertPoint.html: Ditto.
* fast/dom/Window/webkitConvertPointUpdateLayout.html: Ditto.
* fast/js/kde/evil-n.html: This is now a normal test since it is not supposed to fail.
* fast/js/kde/garbage-n-expected.txt:
* fast/js/kde/garbage-n.html: Use shouldHaveHadError instead of js-test-post-n.js
* fast/js/kde/string-1-n.html: Ditto.
* fast/js/kde/string-2-n.html: Ditto.
* fast/js/resources/js-test-post-async.js: Ensure we didn't get an error.
* fast/js/resources/js-test-post-function.js: Ditto.
* fast/js/resources/js-test-post-n.js: Removed.
* fast/js/resources/js-test-pre.js: Added shouldHaveHadError function that can be used to assert that the
error message is what was expected.
Ensure we didn't get an error in finistJSTest.
git-svn-id: svn://svn.chromium.org/blink/trunk@98407 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/filesystem/script-tests')
3 files changed, 0 insertions, 6 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/filesystem/script-tests/filesystem-reference.js b/third_party/WebKit/LayoutTests/fast/filesystem/script-tests/filesystem-reference.js index bed56d6..7f755f3 100644 --- a/third_party/WebKit/LayoutTests/fast/filesystem/script-tests/filesystem-reference.js +++ b/third_party/WebKit/LayoutTests/fast/filesystem/script-tests/filesystem-reference.js @@ -68,5 +68,3 @@ if (window.webkitRequestFileSystem) { webkitRequestFileSystem(window.TEMPORARY, 100, fileSystemCallback, errorCallback); } else debug("This test requires FileSystem API support."); - -window.successfullyParsed = true; diff --git a/third_party/WebKit/LayoutTests/fast/filesystem/script-tests/flags-passing.js b/third_party/WebKit/LayoutTests/fast/filesystem/script-tests/flags-passing.js index 64a289c..d2d06b2 100644 --- a/third_party/WebKit/LayoutTests/fast/filesystem/script-tests/flags-passing.js +++ b/third_party/WebKit/LayoutTests/fast/filesystem/script-tests/flags-passing.js @@ -98,5 +98,3 @@ if (window.webkitRequestFileSystem) { webkitRequestFileSystem(window.TEMPORARY, 100, fileSystemCallback, errorCallback); } else debug("This test requires FileSystem API support."); - -window.successfullyParsed = true; diff --git a/third_party/WebKit/LayoutTests/fast/filesystem/script-tests/read-directory.js b/third_party/WebKit/LayoutTests/fast/filesystem/script-tests/read-directory.js index f112a53..e88ff31 100644 --- a/third_party/WebKit/LayoutTests/fast/filesystem/script-tests/read-directory.js +++ b/third_party/WebKit/LayoutTests/fast/filesystem/script-tests/read-directory.js @@ -93,5 +93,3 @@ if (window.webkitRequestFileSystem) { window.jsTestIsAsync = true; } else debug("This test requires FileSystem API support."); - -window.successfullyParsed = true; |
