Bug 119585

Summary: [EFL][WK1] URL printing code in DumpRenderTree doesn't match WTR or Mac DRT
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Tools / TestsAssignee: Ryuan Choi <ryuan.choi>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, gyuyoung.kim, gyuyoung.kim, rakuco, ryuan.choi
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
StyleFixed none

Alexey Proskuryakov
Reported 2013-08-08 11:30:40 PDT
pathSuitableForTestResult() in DumpRenderTreeChrome has some code that doesn't match other platforms. If should return a path that's relative to main frame URL, or just the file name if the resource is not in the same directory subtree.
Attachments
Patch (8.42 KB, patch)
2013-08-12 19:10 PDT, Ryuan Choi
no flags
StyleFixed (8.43 KB, patch)
2013-08-12 22:05 PDT, Ryuan Choi
no flags
Chris Dumez
Comment 1 2013-08-12 03:00:20 PDT
Adding Ryuan and Gyuyoung in CC since I believe they are maintaining EFL WK1.
Gyuyoung Kim
Comment 2 2013-08-12 05:50:03 PDT
ap, will you submit a patch for this bug ? Otherwise, do you want we make a patch for this bug ?
Chris Dumez
Comment 3 2013-08-12 05:59:17 PDT
(In reply to comment #2) > ap, will you submit a patch for this bug ? Otherwise, do you want we make a patch for this bug ? I really think it is up to us to fix EFL bugs.
Gyuyoung Kim
Comment 4 2013-08-12 06:02:26 PDT
(In reply to comment #3) > (In reply to comment #2) > > ap, will you submit a patch for this bug ? Otherwise, do you want we make a patch for this bug ? > > I really think it is up to us to fix EFL bugs. Looks like that as well. Ryuan or I will fix this soon. ;)
Alexey Proskuryakov
Comment 5 2013-08-12 08:47:25 PDT
Thank you! It would be much better for someone with a EFL build to do this, as there is likely to be quite a bit of test expectation cleanup. WebKitTestRunner code can probably serve as a model here.
Ryuan Choi
Comment 6 2013-08-12 19:10:31 PDT
Ryuan Choi
Comment 7 2013-08-12 19:20:56 PDT
(In reply to comment #5) > Thank you! It would be much better for someone with a EFL build to do this, as there is likely to be quite a bit of test expectation cleanup. > > WebKitTestRunner code can probably serve as a model here. WebKitTestRunner was good reference. I made patch similarly.
Gyuyoung Kim
Comment 8 2013-08-12 19:26:05 PDT
Comment on attachment 208583 [details] Patch This patch lets the EFL port follow r153852. LGTM. However, ap might want to have final look before landing.
Alexey Proskuryakov
Comment 9 2013-08-12 20:25:25 PDT
Comment on attachment 208583 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=208583&action=review Looks good to me too. > Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp:226 > +const WebCore::KURL DumpRenderTreeSupportEfl::provisionalUrl(const Evas_Object* ewkFrame) WebKit style would be "provisionalURL". I do not know if this code is intended to follow common WebKit style. > Tools/DumpRenderTree/efl/DumpRenderTreeChrome.cpp:350 > + KURL mainFrameUrl = KURL(ParsedURLString, ewk_frame_uri_get(browser->mainFrame())); Ditto.
Ryuan Choi
Comment 10 2013-08-12 22:05:25 PDT
Created attachment 208593 [details] StyleFixed
WebKit Commit Bot
Comment 11 2013-08-12 22:54:49 PDT
Comment on attachment 208593 [details] StyleFixed Clearing flags on attachment: 208593 Committed r153977: <http://trac.webkit.org/changeset/153977>
WebKit Commit Bot
Comment 12 2013-08-12 22:54:52 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.