Changeset 144262 in webkit
- Timestamp:
- Feb 27, 2013 10:41:00 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 15 added
- 2 deleted
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r144260 r144262 1 2013-02-27 Adam Barth <abarth@webkit.org> 2 3 [Chromium] Enable threaded HTML parser by default in DumpRenderTree 4 https://bugs.webkit.org/show_bug.cgi?id=110907 5 6 Reviewed by Eric Seidel. 7 8 Update test results to show subtle differences in FrameLoaderClient callbacks. 9 10 * platform/chromium-mac/security/block-test-no-port-expected.txt: Removed. 11 * platform/chromium-win/fast/images/support-broken-image-delegate-expected.txt: 12 * platform/chromium-win/security/block-test-no-port-expected.txt: Removed. 13 * platform/chromium/fast/images/support-broken-image-delegate-expected.txt: 14 * platform/chromium/fast/loader/main-document-url-for-non-http-loads-expected.txt: Added. 15 * platform/chromium/http/tests/loading/307-after-303-after-post-expected.txt: Added. 16 * platform/chromium/http/tests/misc/favicon-loads-with-images-disabled-expected.txt: Added. 17 * platform/chromium/http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt: 18 * platform/chromium/http/tests/misc/window-dot-stop-expected.txt: Added. 19 * platform/chromium/http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt: Added. 20 * platform/chromium/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt: Added. 21 * platform/chromium/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt: Added. 22 * platform/chromium/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-allow-expected.txt: Added. 23 * platform/chromium/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt: Added. 24 * platform/chromium/http/tests/security/XFrameOptions/x-frame-options-invalid-expected.txt: Added. 25 * platform/chromium/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-allow-expected.txt: Added. 26 * platform/chromium/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt: Added. 27 * platform/chromium/inspector/debugger/pause-in-inline-script-expected.txt: Added. 28 * platform/chromium/inspector/timeline/timeline-script-tag-1-expected.txt: Added. 29 * platform/chromium/security/block-test-no-port-expected.txt: 30 1 31 2013-02-27 Tien-Ren Chen <trchen@chromium.org> 2 32 -
trunk/LayoutTests/platform/chromium-win/fast/images/support-broken-image-delegate-expected.txt
r144150 r144262 1 1 CONSOLE MESSAGE: line 8: Uncaught TypeError: Object [object Object] has no method 'setShouldPaintBrokenImage' 2 2 resources/broken-image-with-invalid-format.png - willSendRequest <NSURLRequest URL resources/broken-image-with-invalid-format.png, main document URL support-broken-image-delegate.html, http method GET> redirectResponse (null) 3 <unknown> - didFinishLoading4 3 resources/broken-image-with-invalid-format.png - didReceiveResponse <NSURLResponse resources/broken-image-with-invalid-format.png, http status code 0> 5 4 resources/broken-image-with-invalid-format.png - didFinishLoading -
trunk/LayoutTests/platform/chromium-win/http/tests/loading/redirect-methods-expected.txt
r144150 r144262 4 4 main frame - didHandleOnloadEventsForFrame 5 5 main frame - didFinishLoadForFrame 6 <unknown> - didFinishLoading7 6 frame "0" - didStartProvisionalLoadForFrame 8 7 frame "0" - didCommitLoadForFrame … … 16 15 frame "0" - didCancelClientRedirectForFrame 17 16 frame "0" - didCommitLoadForFrame 17 http://127.0.0.1:8000/loading/resources/redirect-methods-form.html - didFinishLoading 18 18 frame "0" - didFinishDocumentLoadForFrame 19 19 frame "0" - willPerformClientRedirectToURL: http://127.0.0.1:8000/loading/resources/redirect-methods-result.php 20 20 frame "0" - didHandleOnloadEventsForFrame 21 21 frame "0" - didFinishLoadForFrame 22 http://127.0.0.1:8000/loading/resources/redirect-methods-form.html - didFinishLoading23 22 frame "0" - didStartProvisionalLoadForFrame 24 23 http://127.0.0.1:8000/loading/resources/redirect-methods-result.php - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/redirect-methods-result.php, main document URL http://127.0.0.1:8000/loading/redirect-methods.html, http method POST> redirectResponse (null) … … 28 27 frame "0" - didCancelClientRedirectForFrame 29 28 frame "0" - didCommitLoadForFrame 29 http://127.0.0.1:8000/loading/resources/redirect-methods-result.php - didFinishLoading 30 30 frame "0" - didFinishDocumentLoadForFrame 31 31 frame "1" - didStartProvisionalLoadForFrame … … 37 37 frame "0" - didHandleOnloadEventsForFrame 38 38 frame "0" - didFinishLoadForFrame 39 http://127.0.0.1:8000/loading/resources/redirect-methods-result.php - didFinishLoading40 39 frame "1" - didStartProvisionalLoadForFrame 41 40 http://127.0.0.1:8000/loading/resources/redirect-methods-form.html - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/redirect-methods-form.html, main document URL http://127.0.0.1:8000/loading/redirect-methods.html, http method GET> redirectResponse (null) … … 43 42 frame "1" - didCancelClientRedirectForFrame 44 43 frame "1" - didCommitLoadForFrame 44 http://127.0.0.1:8000/loading/resources/redirect-methods-form.html - didFinishLoading 45 45 frame "1" - didFinishDocumentLoadForFrame 46 46 frame "1" - willPerformClientRedirectToURL: http://127.0.0.1:8000/loading/resources/redirect-methods-result.php 47 47 frame "1" - didHandleOnloadEventsForFrame 48 48 frame "1" - didFinishLoadForFrame 49 http://127.0.0.1:8000/loading/resources/redirect-methods-form.html - didFinishLoading50 49 frame "1" - didStartProvisionalLoadForFrame 51 50 http://127.0.0.1:8000/loading/resources/redirect-methods-result.php - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/redirect-methods-result.php, main document URL http://127.0.0.1:8000/loading/redirect-methods.html, http method POST> redirectResponse (null) … … 55 54 frame "1" - didCancelClientRedirectForFrame 56 55 frame "1" - didCommitLoadForFrame 56 http://127.0.0.1:8000/loading/resources/redirect-methods-result.php - didFinishLoading 57 57 frame "1" - didFinishDocumentLoadForFrame 58 58 frame "2" - didStartProvisionalLoadForFrame … … 64 64 frame "1" - didHandleOnloadEventsForFrame 65 65 frame "1" - didFinishLoadForFrame 66 http://127.0.0.1:8000/loading/resources/redirect-methods-result.php - didFinishLoading67 66 frame "2" - didStartProvisionalLoadForFrame 68 67 http://127.0.0.1:8000/loading/resources/redirect-methods-form.html - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/redirect-methods-form.html, main document URL http://127.0.0.1:8000/loading/redirect-methods.html, http method GET> redirectResponse (null) … … 70 69 frame "2" - didCancelClientRedirectForFrame 71 70 frame "2" - didCommitLoadForFrame 71 http://127.0.0.1:8000/loading/resources/redirect-methods-form.html - didFinishLoading 72 72 frame "2" - didFinishDocumentLoadForFrame 73 73 frame "2" - willPerformClientRedirectToURL: http://127.0.0.1:8000/loading/resources/redirect-methods-result.php 74 74 frame "2" - didHandleOnloadEventsForFrame 75 75 frame "2" - didFinishLoadForFrame 76 http://127.0.0.1:8000/loading/resources/redirect-methods-form.html - didFinishLoading77 76 frame "2" - didStartProvisionalLoadForFrame 78 77 http://127.0.0.1:8000/loading/resources/redirect-methods-result.php - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/redirect-methods-result.php, main document URL http://127.0.0.1:8000/loading/redirect-methods.html, http method POST> redirectResponse (null) … … 82 81 frame "2" - didCancelClientRedirectForFrame 83 82 frame "2" - didCommitLoadForFrame 83 http://127.0.0.1:8000/loading/resources/redirect-methods-result.php - didFinishLoading 84 84 frame "2" - didFinishDocumentLoadForFrame 85 85 frame "3" - didStartProvisionalLoadForFrame … … 91 91 frame "2" - didHandleOnloadEventsForFrame 92 92 frame "2" - didFinishLoadForFrame 93 http://127.0.0.1:8000/loading/resources/redirect-methods-result.php - didFinishLoading94 93 frame "3" - didStartProvisionalLoadForFrame 95 94 http://127.0.0.1:8000/loading/resources/redirect-methods-form.html - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/redirect-methods-form.html, main document URL http://127.0.0.1:8000/loading/redirect-methods.html, http method GET> redirectResponse (null) … … 97 96 frame "3" - didCancelClientRedirectForFrame 98 97 frame "3" - didCommitLoadForFrame 98 http://127.0.0.1:8000/loading/resources/redirect-methods-form.html - didFinishLoading 99 99 frame "3" - didFinishDocumentLoadForFrame 100 100 frame "3" - willPerformClientRedirectToURL: http://127.0.0.1:8000/loading/resources/redirect-methods-result.php 101 101 frame "3" - didHandleOnloadEventsForFrame 102 102 frame "3" - didFinishLoadForFrame 103 http://127.0.0.1:8000/loading/resources/redirect-methods-form.html - didFinishLoading104 103 frame "3" - didStartProvisionalLoadForFrame 105 104 http://127.0.0.1:8000/loading/resources/redirect-methods-result.php - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/redirect-methods-result.php, main document URL http://127.0.0.1:8000/loading/redirect-methods.html, http method POST> redirectResponse (null) … … 109 108 frame "3" - didCancelClientRedirectForFrame 110 109 frame "3" - didCommitLoadForFrame 110 http://127.0.0.1:8000/loading/resources/redirect-methods-result.php - didFinishLoading 111 111 frame "3" - didFinishDocumentLoadForFrame 112 112 frame "3" - didHandleOnloadEventsForFrame -
trunk/LayoutTests/platform/chromium/TestExpectations
r144245 r144262 3021 3021 webkit.org/b/72039 [ Android Linux Release ] fast/forms/form-attribute-elements-order.html [ Missing Pass ] 3022 3022 webkit.org/b/72039 [ Android Linux Release ] fast/forms/form-attribute-elements-order2.html [ Missing Pass ] 3023 webkit.org/b/72039 [ Debug ] http/tests/multipart/policy-ignore-crash.php [ Missing Pass ]3024 3023 webkit.org/b/72039 [ Release ] fast/forms/formaction-attribute.html [ Missing Pass ] 3025 3024 webkit.org/b/78620 [ Android Linux Debug ] fast/forms/formaction-attribute.html [ Failure Pass Slow ] 3025 3026 webkit.org/b/110929 http/tests/multipart/policy-ignore-crash.php [ Missing Failure ] 3027 webkit.org/b/110929 http/tests/multipart/multipart-html.php [ Missing Failure ] 3028 webkit.org/b/111023 fast/loader/unload-hyperlink-targeted.html [ Timeout ] 3026 3029 3027 3030 webkit.org/b/70988 [ Mac Win Debug ] fast/forms/submit-to-blank-multiple-times.html [ Failure Pass ] -
trunk/LayoutTests/platform/chromium/fast/images/support-broken-image-delegate-expected.txt
r144150 r144262 1 1 resources/broken-image-with-invalid-format.png - willSendRequest <NSURLRequest URL resources/broken-image-with-invalid-format.png, main document URL support-broken-image-delegate.html, http method GET> redirectResponse (null) 2 <unknown> - didFinishLoading3 2 resources/broken-image-with-invalid-format.png - didReceiveResponse <NSURLResponse resources/broken-image-with-invalid-format.png, http status code 0> 4 3 resources/broken-image-with-invalid-format.png - shouldPaintBrokenImage: NO -
trunk/LayoutTests/platform/chromium/http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt
r144150 r144262 1 1 http://127.0.0.1:8000/misc/resources/redirect-to-http-url.php - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/misc/resources/redirect-to-http-url.php, main document URL http://127.0.0.1:8000/misc/will-send-request-returns-null-on-redirect.html, http method GET> redirectResponse (null) 2 <unknown> - didFinishLoading3 2 http://127.0.0.1:8000/misc/resources/redirect-to-http-url.php - willSendRequest <NSURLRequest URL http://www.example.com/, main document URL http://127.0.0.1:8000/misc/will-send-request-returns-null-on-redirect.html, http method GET> redirectResponse <NSURLResponse http://127.0.0.1:8000/misc/resources/redirect-to-http-url.php, http status code 302> 4 3 Returning null for this redirect -
trunk/LayoutTests/platform/chromium/security/block-test-no-port-expected.txt
r144150 r144262 1 1 http://255.255.255.255/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255/test.jpg, main document URL block-test-no-port.html, http method GET> redirectResponse (null) 2 <unknown> - didFinishLoading 3 http://255.255.255.255/test.jpg - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -138, failing URL "http://255.255.255.255/test.jpg"> 2 http://255.255.255.255/test.jpg - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -1004, failing URL "http://255.255.255.255/test.jpg"> 4 3 This test attempts to change the src of an IMG tag to a blocked IP with no port to confirm that WebKit returns the correct error for it - blocked instead of cannot find. Due to the nature of this test, the results can only be processed automatically via DumpRenderTree. In addition, on some systems the results may depend on the behavior of the proxy. 5 4 -
trunk/Tools/ChangeLog
r144259 r144262 1 2013-02-27 Adam Barth <abarth@webkit.org> 2 3 [Chromium] Enable threaded HTML parser by default in DumpRenderTree 4 https://bugs.webkit.org/show_bug.cgi?id=110907 5 6 Reviewed by Eric Seidel. 7 8 This patch changes --enable-threaded-html-parser into 9 --disable-threaded-html-parser and thereby enables the threaded HTML 10 parser by default for the Chromium port. 11 12 * DumpRenderTree/chromium/DumpRenderTree.cpp: 13 * DumpRenderTree/chromium/TestRunner/src/WebPreferences.cpp: 14 (WebTestRunner::WebPreferences::reset): 15 * DumpRenderTree/chromium/TestShell.cpp: 16 (TestShell::TestShell): 17 1 18 2013-02-27 Kiran Muppala <cmuppala@apple.com> 2 19 -
trunk/Tools/DumpRenderTree/chromium/DumpRenderTree.cpp
r144150 r144262 68 68 static const char optionEnablePerTilePainting[] = "--enable-per-tile-painting"; 69 69 static const char optionEnableDeferredImageDecoding[] = "--enable-deferred-image-decoding"; 70 static const char option EnableThreadedHTMLParser[] = "--enable-threaded-html-parser";70 static const char optionDisableThreadedHTMLParser[] = "--disable-threaded-html-parser"; 71 71 72 72 static const char optionStressOpt[] = "--stress-opt"; … … 139 139 bool threadedCompositingEnabled = false; 140 140 bool forceCompositingMode = false; 141 bool threadedHTMLParser = false;141 bool threadedHTMLParser = true; 142 142 bool accelerated2DCanvasEnabled = false; 143 143 bool deferred2DCanvasEnabled = false; … … 184 184 else if (argument == optionForceCompositingMode) 185 185 forceCompositingMode = true; 186 else if (argument == option EnableThreadedHTMLParser)187 threadedHTMLParser = true;186 else if (argument == optionDisableThreadedHTMLParser) 187 threadedHTMLParser = false; 188 188 else if (argument == optionEnableAccelerated2DCanvas) 189 189 accelerated2DCanvasEnabled = true; -
trunk/Tools/DumpRenderTree/chromium/TestRunner/src/WebPreferences.cpp
r144150 r144262 123 123 acceleratedPaintingEnabled = false; 124 124 forceCompositingMode = false; 125 threadedHTMLParser = false;125 threadedHTMLParser = true; 126 126 perTilePaintingEnabled = false; 127 127 acceleratedAnimationEnabled = false; -
trunk/Tools/DumpRenderTree/chromium/TestShell.cpp
r144150 r144262 114 114 , m_threadedCompositingEnabled(false) 115 115 , m_forceCompositingMode(false) 116 , m_threadedHTMLParser( false)116 , m_threadedHTMLParser(true) 117 117 , m_accelerated2dCanvasEnabled(false) 118 118 , m_deferred2dCanvasEnabled(false)
Note: See TracChangeset
for help on using the changeset viewer.