Bug 139243

Summary: http/tests/security/mixedContent/about-blank-iframe-in-main-frame.html fails unless certain other tests run before it
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Tools / TestsAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: mitz
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 138958    
Attachments:
Description Flags
proposed fix andersca: review+

Alexey Proskuryakov
Reported 2014-12-03 16:46:40 PST
This fails on 10.9 and 10.10 (haven't tested 10.8), but the test doesn't fail when ran as part of the whole suite. run-webkit-tests LayoutTests/http/tests/security/mixedContent/about-blank-iframe-in-main-frame.html -2
Attachments
proposed fix (3.75 KB, patch)
2014-12-03 19:14 PST, Alexey Proskuryakov
andersca: review+
Alexey Proskuryakov
Comment 1 2014-12-03 16:51:03 PST
This works: run-webkit-tests -2 http/tests/security/contentSecurityPolicy/script-src-star-cross-scheme.html http/tests/security/mixedContent/about-blank-iframe-in-main-frame.html I wonder if we for some reason don't allow insecure SSL when it loads from an iframe.
Alexey Proskuryakov
Comment 2 2014-12-03 17:20:21 PST
UI process doesn't get a canAuthenticateAgainstProtectionSpaceInFrame callback. Perhaps it's only set up for main frame? Will need to debug further.
mitz
Comment 3 2014-12-03 17:21:41 PST
That callback is expected to be made for any request that needs it, including subresources and subframes.
Alexey Proskuryakov
Comment 4 2014-12-03 19:14:56 PST
Created attachment 242549 [details] proposed fix Let's see if this changes any other test results...
Alexey Proskuryakov
Comment 5 2014-12-04 09:17:57 PST
Note You need to log in before you can comment on or make changes to this bug.