Bug 84052

Summary: [EFL] FrameLoaderClient should send "load,finished" signal for all frame, not just the main one
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit EFLAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: gyuyoung.kim, lucas.de.marchi, rakuco, tonikitoo, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 83030    
Bug Blocks: 83281    
Attachments:
Description Flags
Proposed patch
tonikitoo: review+
Proposed patch none

Description Chris Dumez 2012-04-16 10:58:25 PDT
EFL's FrameLoaderClient currently emits the "load,finished" signal from the postProgressFinishedNotification() method. It apparently causes the signal to be emitted only for the main frame and not for other frame. It is more suited to emit the signal from dispatchDidFinishLoad() and dispatchDidFailLoad() so that we can send notification for all frames.

This change is needed to unskip several test cases which rely on the DumpRenderTree support for LayoutTestController's dumpFrameLoadCallbacks() and expect notifications for other frame than the main one:
 * http/tests/security/mixedContent/empty-url-plugin-in-frame.html
 * http/tests/security/mixedContent/about-blank-iframe-in-main-frame.html
 * http/tests/security/mixedContent/data-url-iframe-in-main-frame.html
 * http/tests/security/mixedContent/data-url-script-in-iframe.html
 * http/tests/security/mixedContent/insecure-css-in-iframe.html
 * http/tests/security/mixedContent/insecure-iframe-in-iframe.html
 * http/tests/security/mixedContent/insecure-iframe-in-main-frame.html
 * http/tests/security/mixedContent/insecure-image-in-iframe.html
 * http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe.html
 * http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe.html
Comment 1 Chris Dumez 2012-04-16 11:04:49 PDT
Created attachment 137366 [details]
Proposed patch
Comment 2 Gyuyoung Kim 2012-04-16 17:57:02 PDT
Comment on attachment 137366 [details]
Proposed patch

If you submit rebased patch again, looks fine to me.
Comment 3 Antonio Gomes 2012-04-17 06:51:10 PDT
Comment on attachment 137366 [details]
Proposed patch

be sure it applies. bubbles are purple.
Comment 4 Chris Dumez 2012-04-17 09:50:23 PDT
Created attachment 137551 [details]
Proposed patch

Rebase on master for landing.
Comment 5 WebKit Review Bot 2012-04-17 13:01:30 PDT
Comment on attachment 137551 [details]
Proposed patch

Clearing flags on attachment: 137551

Committed r114420: <http://trac.webkit.org/changeset/114420>
Comment 6 WebKit Review Bot 2012-04-17 13:01:35 PDT
All reviewed patches have been landed.  Closing bug.