Bug 163453

Summary: LayoutTest http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade-cors.https.html is a flaky timeout
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, dbates
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ryan Haddad 2016-10-14 10:33:42 PDT
LayoutTest http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade-cors.https.html is a flaky timeout

Seeing this frequently on Sierra Release WK2

https://build.webkit.org/results/Apple%20Sierra%20Release%20WK2%20(Tests)/r207342%20(632)/results.html

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=http%2Ftests%2Fsecurity%2FcontentSecurityPolicy%2Fupgrade-insecure-requests%2Fbasic-upgrade-cors.https.html
Comment 1 Ryan Haddad 2016-10-14 10:34:24 PDT
First instance on Sierra was ~r207027 according to the flakiness dashboard.
Comment 2 Alexey Proskuryakov 2016-10-17 15:33:40 PDT
It also asserts a lot in debug builds. Seems worth looking into soon.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x000000010b186f77 WTFCrash + 39
1   com.apple.WebCore             	0x000000010d8de7d4 WebCore::CanvasRenderingContext::wouldTaintOrigin(WebCore::HTMLImageElement const*) + 548
2   com.apple.WebCore             	0x000000010d8ef0bf void WebCore::CanvasRenderingContext::checkOrigin<WebCore::HTMLImageElement>(WebCore::HTMLImageElement const*) + 47
3   com.apple.WebCore             	0x000000010d8e6308 WebCore::CanvasRenderingContext2D::drawImage(WebCore::HTMLImageElement&, WebCore::FloatRect const&, WebCore::FloatRect const&, WebCore::CompositeOperator const&, WebCore::BlendMode const&, int&) + 2808
4   com.apple.WebCore             	0x000000010d8e574c WebCore::CanvasRenderingContext2D::drawImage(WebCore::HTMLImageElement&, WebCore::FloatRect const&, WebCore::FloatRect const&, int&) + 140
5   com.apple.WebCore             	0x000000010d8e56b5 WebCore::CanvasRenderingContext2D::drawImage(WebCore::HTMLImageElement&, float, float, float, float, int&) + 213
6   com.apple.WebCore             	0x000000010d8e54c2 WebCore::CanvasRenderingContext2D::drawImage(WebCore::HTMLImageElement&, float, float, int&) + 178
7   com.apple.WebCore             	0x000000010e74fecb WebCore::jsCanvasRenderingContext2DPrototypeFunctionDrawImage1Caller(JSC::ExecState*, WebCore::JSCanvasRenderingContext2D*, JSC::ThrowScope&) + 587
8   com.apple.WebCore             	0x000000010e74fc58 long long WebCore::BindingCaller<WebCore::JSCanvasRenderingContext2D>::callOperation<&(WebCore::jsCanvasRenderingContext2DPrototypeFunctionDrawImage1Caller(JSC::ExecState*, WebCore::JSCanvasRenderingContext2D*, JSC::ThrowScope&)), (WebCore::CastedThisErrorBehavior)0>(JSC::ExecState*, char const*) + 712
Comment 3 Ryan Haddad 2016-10-18 15:49:14 PDT
(In reply to comment #2)
> It also asserts a lot in debug builds. Seems worth looking into soon.

Tracking with https://bugs.webkit.org/show_bug.cgi?id=163242
Comment 4 Ryan Haddad 2016-10-18 17:15:17 PDT
Marked test as flaky on Sierra Release WK2 in http://trac.webkit.org/projects/webkit/changeset/207506
Comment 5 Alexey Proskuryakov 2016-11-15 11:50:08 PST
Is the timeout still happening after the assertion fix?