summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/file/get-file-upload.html
diff options
context:
space:
mode:
authorrakuco@webkit.org <rakuco@webkit.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2012-11-07 18:53:55 +0000
committerrakuco@webkit.org <rakuco@webkit.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2012-11-07 18:53:55 +0000
commitecd7117b516157640906917bbdf7fa1b5f8895a0 (patch)
treef987a46fc2e06a517146b5eacc5048f0e1d6ae18 /third_party/WebKit/LayoutTests/fast/forms/file/get-file-upload.html
parente386f682bb150243f54894ebf3866581c4ac301f (diff)
downloadchromium_src-ecd7117b516157640906917bbdf7fa1b5f8895a0.zip
chromium_src-ecd7117b516157640906917bbdf7fa1b5f8895a0.tar.gz
chromium_src-ecd7117b516157640906917bbdf7fa1b5f8895a0.tar.bz2
Enable text dump in fast/forms/file/get-file-upload.html earlier.
https://bugs.webkit.org/show_bug.cgi?id=101468 Reviewed by Kentaro Hara. Do not call testRunner.dumpAsText() only when processing the form submission, since that will not be triggered if a port does not support, say, beginDragWithFiles(), and a useless pixel result will be generated in that case. Instead, call dumpAsText() as early as possible. * fast/forms/file/get-file-upload.html: git-svn-id: svn://svn.chromium.org/blink/trunk@133782 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/forms/file/get-file-upload.html')
-rw-r--r--third_party/WebKit/LayoutTests/fast/forms/file/get-file-upload.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/forms/file/get-file-upload.html b/third_party/WebKit/LayoutTests/fast/forms/file/get-file-upload.html
index aa54a49..badb332 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/file/get-file-upload.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/file/get-file-upload.html
@@ -12,7 +12,7 @@ function log(message)
{
document.getElementById('console').appendChild(document.createTextNode(message + "\n"));
}
-
+
function startOrVerify()
{
var query = window.location.search;
@@ -22,7 +22,6 @@ function startOrVerify()
log('PASS: ' + query);
else
log('FAIL: ' + query);
- testRunner.dumpAsText();
testRunner.notifyDone();
} else {
// Start the test
@@ -34,6 +33,7 @@ function startOrVerify()
}
if (window.eventSender) {
+ testRunner.dumpAsText();
testRunner.waitUntilDone();
window.onload = startOrVerify;
}