Bug 93454

Summary: [WK2] [WTR] Provide Resource Response dumping.
Product: WebKit Reporter: Mikhail Pozdnyakov <mikhail.pozdnyakov>
Component: WebKit2Assignee: Mikhail Pozdnyakov <mikhail.pozdnyakov>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, cdumez, hausmann, kenneth, mjs, tonikitoo, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 61838, 93353    
Attachments:
Description Flags
patch
kenneth: review+, webkit.review.bot: commit-queue-
to be landed none

Mikhail Pozdnyakov
Reported 2012-08-08 02:07:57 PDT
Several layout tests (fast/dom/HTMLLinkElement) are failing on WK2 with : CONSOLE MESSAGE: line 15: TypeError: 'undefined' is not a function (evaluating 'testRunner.dumpResourceResponseMIMETypes()') So Resource Response dumping is to be provided. To provide Resource Response dumping several new functions should be added to WKURL and WKURLResponse WK2 shared API.
Attachments
patch (9.81 KB, patch)
2012-08-08 02:16 PDT, Mikhail Pozdnyakov
kenneth: review+
webkit.review.bot: commit-queue-
to be landed (9.95 KB, patch)
2012-08-08 05:26 PDT, Mikhail Pozdnyakov
no flags
Mikhail Pozdnyakov
Comment 1 2012-08-08 02:16:59 PDT
Chris Dumez
Comment 2 2012-08-08 02:31:49 PDT
Comment on attachment 157159 [details] patch LGTM, thanks.
Kenneth Rohde Christiansen
Comment 3 2012-08-08 05:10:13 PDT
Comment on attachment 157159 [details] patch nice
WebKit Review Bot
Comment 4 2012-08-08 05:12:37 PDT
Comment on attachment 157159 [details] patch Rejecting attachment 157159 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: unner/InjectedBundle/InjectedBundlePage.cpp patching file Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.cpp patching file Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.h Hunk #2 FAILED at 163. 1 out of 3 hunks FAILED -- saving rejects to file Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.h.rej Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Kenneth Ro..." exit_code: 1 cwd: /mnt/git/webkit-commit-queue/ Full output: http://queues.webkit.org/results/13458230
Mikhail Pozdnyakov
Comment 5 2012-08-08 05:26:05 PDT
Created attachment 157192 [details] to be landed
WebKit Review Bot
Comment 6 2012-08-08 06:18:33 PDT
Comment on attachment 157192 [details] to be landed Clearing flags on attachment: 157192 Committed r125031: <http://trac.webkit.org/changeset/125031>
WebKit Review Bot
Comment 7 2012-08-08 06:18:38 PDT
All reviewed patches have been landed. Closing bug.
Alexey Proskuryakov
Comment 8 2012-08-08 10:09:12 PDT
We already had a bug for this, bug 42543. There is a bunch of tests skipped on WK2 due to this, which should be unskipped now. That would have validated correctness of output, too. Kenneth, since you reviewed this patch, can you please work with Mikhail to make this happen?
Alexey Proskuryakov
Comment 9 2012-08-08 10:09:55 PDT
*** Bug 42543 has been marked as a duplicate of this bug. ***
Alexey Proskuryakov
Comment 10 2012-08-08 10:14:16 PDT
Comment on attachment 157192 [details] to be landed View in context: https://bugs.webkit.org/attachment.cgi?id=157192&action=review > Source/WebKit2/Shared/API/c/WKURLResponse.cpp:45 > +WKStringRef WKURLResponseCopyMimeType(WKURLResponseRef responseRef) Coding style violation - MIME should be all caps. Since this part of API, it's super important to have this right, please make a follow-up fix ASAP. > Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.h:81 > + void dumpProgressFinishedCallback() { setShouldDumpProgressFinishedCallback(true); } Trailing whitespace accidentally added here.
Mikhail Pozdnyakov
Comment 11 2012-08-08 12:15:31 PDT
(In reply to comment #10) > (From update of attachment 157192 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=157192&action=review > > > Source/WebKit2/Shared/API/c/WKURLResponse.cpp:45 > > +WKStringRef WKURLResponseCopyMimeType(WKURLResponseRef responseRef) > > Coding style violation - MIME should be all caps. Since this part of API, it's super important to have this right, please make a follow-up fix ASAP. > > > Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.h:81 > > + void dumpProgressFinishedCallback() { setShouldDumpProgressFinishedCallback(true); } > > Trailing whitespace accidentally added here. Sorry for hassle. Here is follow-up fix: https://bugs.webkit.org/show_bug.cgi?id=93503
Alexey Proskuryakov
Comment 12 2012-08-08 12:37:45 PDT
Thank you! Please take care of Skipped list, too (per comment 8).
Mikhail Pozdnyakov
Comment 13 2012-08-09 12:20:36 PDT
(In reply to comment #12) > Thank you! > > Please take care of Skipped list, too (per comment 8). Addressed here: https://bugs.webkit.org/show_bug.cgi?id=93638.
Note You need to log in before you can comment on or make changes to this bug.