RESOLVED FIXED 81891
[EFL] DRT should support LayoutTestController's dumpResourceLoadCallbacks()
https://bugs.webkit.org/show_bug.cgi?id=81891
Summary [EFL] DRT should support LayoutTestController's dumpResourceLoadCallbacks()
Dominik Röttsches (drott)
Reported 2012-03-22 04:44:13 PDT
EFL DRT does not obey dumpResourceLoadCallbacks() issued by tests - HTTP callbacks should be caught and resource load log dumps should be perfomed. cmp. GTK's willSendRequestCallback, didReceiveResponse, didFinishLoading, didFailLoadingWithError in GTK DumpRenderTree.cpp.
Attachments
Proposed patch (31.29 KB, patch)
2012-03-29 23:20 PDT, Chris Dumez
no flags
Proposed patch (31.29 KB, patch)
2012-03-30 01:25 PDT, Chris Dumez
no flags
Proposed patch (33.67 KB, patch)
2012-03-30 04:20 PDT, Chris Dumez
no flags
Proposed patch (34.95 KB, patch)
2012-04-10 22:39 PDT, Chris Dumez
no flags
Proposed patch (33.02 KB, patch)
2012-04-17 00:40 PDT, Chris Dumez
no flags
Proposed patch (33.75 KB, patch)
2012-04-17 04:03 PDT, Chris Dumez
no flags
Patch (34.87 KB, patch)
2012-04-20 00:21 PDT, Chris Dumez
no flags
Patch (23.76 KB, patch)
2012-04-26 01:41 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2012-03-29 23:17:20 PDT
*** Bug 82437 has been marked as a duplicate of this bug. ***
Chris Dumez
Comment 2 2012-03-29 23:20:10 PDT
Created attachment 134728 [details] Proposed patch Implements full support in EFL's DRT for LayoutTestController's dumpResourceLoadCallbacks() and allows for the following test cases to be removed from the skip list: http/tests/misc/favicon-loads-with-icon-loading-override.html fast/loader/main-document-url-for-non-http-loads.html http/tests/misc/link-rel-icon-beforeload.html http/tests/misc/willCacheResponse-delegate-callback.html http/tests/misc/window-dot-stop.html http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body.html http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-allow.html http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny.html http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag.html http/tests/security/XFrameOptions/x-frame-options-deny.html http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-allow.html http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny.html http/tests/xmlhttprequest/abort-should-cancel-load.html
Chris Dumez
Comment 3 2012-03-30 01:25:39 PDT
Created attachment 134743 [details] Proposed patch willSendRequest should be dumped even if willSendRequestReturnsNull is set. Fixed the patch to reflect this.
Chris Dumez
Comment 4 2012-03-30 04:20:27 PDT
Created attachment 134770 [details] Proposed patch Updated the patch to address the following issues: - Should not dump NSError failing url if empty - Use different domains for WebKit and NSURL errors (Optimally, error domains and codes should move to their own header at some point)
Hajime Morrita
Comment 5 2012-04-10 18:08:22 PDT
Comment on attachment 134770 [details] Proposed patch Could you rebase and upload this? It looks the patch was uploaded in unfortunate timing by which bot didn't pick the patch. The change itself looks sane.
Chris Dumez
Comment 6 2012-04-10 22:39:48 PDT
Created attachment 136623 [details] Proposed patch Rebase on master
Chris Dumez
Comment 7 2012-04-17 00:40:42 PDT
Created attachment 137487 [details] Proposed patch Rebased on master and split with #84129 to reduce patch size.
Gyuyoung Kim
Comment 8 2012-04-17 00:53:34 PDT
Comment on attachment 137487 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=137487&action=review > Source/WebKit/efl/ChangeLog:9 > + Implement support for LayoutTestController's > + dumpResourceLoadCallbacks() in EFL's DumpRenderTree. Description in ChangeLog is poor beside patch size. > Tools/ChangeLog:9 > + dumpResourceLoadCallbacks() in EFL's DumpRenderTree. ditto.
Chris Dumez
Comment 9 2012-04-17 04:03:38 PDT
Created attachment 137509 [details] Proposed patch Improve Changelogs' descriptions based on Gyuyoung Kim's feedback.
Chris Dumez
Comment 10 2012-04-20 00:21:32 PDT
Created attachment 138053 [details] Patch Rebase on master.
Chris Dumez
Comment 11 2012-04-23 23:17:06 PDT
Splitting with 84670 to facilitate review.
Chris Dumez
Comment 12 2012-04-26 01:41:39 PDT
Created attachment 138951 [details] Patch Rebase on master now that patch from bug 84670 has landed.
Gyuyoung Kim
Comment 13 2012-04-27 00:54:50 PDT
Comment on attachment 138951 [details] Patch It looks there is no critical problem. Looks fine.
WebKit Review Bot
Comment 14 2012-04-27 02:46:19 PDT
Comment on attachment 138951 [details] Patch Clearing flags on attachment: 138951 Committed r115415: <http://trac.webkit.org/changeset/115415>
WebKit Review Bot
Comment 15 2012-04-27 02:46:26 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.