WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
10604
Make regression testing work with Qt (Adding KIO support)
https://bugs.webkit.org/show_bug.cgi?id=10604
Summary
Make regression testing work with Qt (Adding KIO support)
Nikolas Zimmermann
Reported
2006-08-28 05:46:02 PDT
Now that KDE4's KIO is somewhat usable, we can finally kill the libcurl usage. It made for regression testing very slow, using KIO it works much faster. HTTP POST/GET is supported, as well as working JS XMLHTTPRequest. (assembleResponseHeaders() etc. is implemented). I'll attach a few patches (with comments) soon.
Attachments
Offer QString -> DeprecatedString conversion
(1.77 KB, patch)
2006-08-28 05:49 PDT
,
Nikolas Zimmermann
ap
: review-
Details
Formatted Diff
Diff
Replace libcurl usage by KIO
(29.22 KB, patch)
2006-08-28 05:51 PDT
,
Nikolas Zimmermann
eric
: review+
Details
Formatted Diff
Diff
run-webkit-tests modifications for Qt
(2.94 KB, patch)
2006-08-28 05:53 PDT
,
Nikolas Zimmermann
no flags
Details
Formatted Diff
Diff
Fix crash hit in css2.1 - in RenderMenuList
(1.75 KB, patch)
2006-08-28 05:54 PDT
,
Nikolas Zimmermann
aroben
: review-
Details
Formatted Diff
Diff
Updated: Offer QString -> DeprecatedString conversion
(1.82 KB, patch)
2006-08-28 09:58 PDT
,
Nikolas Zimmermann
no flags
Details
Formatted Diff
Diff
Updated: Fix crash hit in css2.1 - in RenderMenuList
(7.05 KB, patch)
2006-08-28 11:18 PDT
,
Nikolas Zimmermann
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Nikolas Zimmermann
Comment 1
2006-08-28 05:49:47 PDT
Created
attachment 10270
[details]
Offer QString -> DeprecatedString conversion Needed for the KIO patch. (QString 'response' -> DeprecatedString 'responseHeaders' conversion)
Nikolas Zimmermann
Comment 2
2006-08-28 05:51:51 PDT
Created
attachment 10271
[details]
Replace libcurl usage by KIO Removes the ResourceLoaderCurl.cpp, adds ResourceLoaderQt.cpp. Rewrote ResourceLoaderManager from scratch for our needs :-)
Nikolas Zimmermann
Comment 3
2006-08-28 05:53:11 PDT
Created
attachment 10272
[details]
run-webkit-tests modifications for Qt Faster polling in DumpRenderTree, "-qt" prefixes for run-webkit-tests. Removing one nonImplemented() usage in RenderThemeQt.
Nikolas Zimmermann
Comment 4
2006-08-28 05:54:56 PDT
Created
attachment 10273
[details]
Fix crash hit in css2.1 - in RenderMenuList Don't crash in RenderMenuList, if the RenderTheme doesn't implement createPopupMenu. Like Qt :-)
Alexey Proskuryakov
Comment 5
2006-08-28 09:13:14 PDT
Comment on
attachment 10270
[details]
Offer QString -> DeprecatedString conversion According to Qt docs, utf8Data.data() will not be 0 for null arrays, so this does not convert null strings properly. Yes, this doesn't really matter in WebCore/platform, but I think we should have this basic conversion right.
Alexey Proskuryakov
Comment 6
2006-08-28 09:20:29 PDT
Comment on
attachment 10272
[details]
run-webkit-tests modifications for Qt r=me
Adam Roben (:aroben)
Comment 7
2006-08-28 09:41:47 PDT
Comment on
attachment 10273
[details]
Fix crash hit in css2.1 - in RenderMenuList Why not just abort early if createPopupMenu fails?
Nikolas Zimmermann
Comment 8
2006-08-28 09:58:25 PDT
Created
attachment 10275
[details]
Updated: Offer QString -> DeprecatedString conversion Incorporated ap's comment.
Alexey Proskuryakov
Comment 9
2006-08-28 10:00:34 PDT
Comment on
attachment 10275
[details]
Updated: Offer QString -> DeprecatedString conversion r=me
Nikolas Zimmermann
Comment 10
2006-08-28 11:18:05 PDT
Created
attachment 10280
[details]
Updated: Fix crash hit in css2.1 - in RenderMenuList As discussed with Alexey: Provide stub implementation of RenderPopupMenuQt.
Alexey Proskuryakov
Comment 11
2006-08-28 11:35:26 PDT
Comment on
attachment 10272
[details]
run-webkit-tests modifications for Qt Committed revision 16077, clearing review flag.
Alexey Proskuryakov
Comment 12
2006-08-28 11:35:56 PDT
Comment on
attachment 10275
[details]
Updated: Offer QString -> DeprecatedString conversion Committed revision 16078, clearing review flag.
Alexey Proskuryakov
Comment 13
2006-08-28 11:39:00 PDT
Comment on
attachment 10280
[details]
Updated: Fix crash hit in css2.1 - in RenderMenuList r=me
Alexey Proskuryakov
Comment 14
2006-08-28 11:43:20 PDT
Comment on
attachment 10280
[details]
Updated: Fix crash hit in css2.1 - in RenderMenuList Committed revision 16079, clearing review flag.
Eric Seidel (no email)
Comment 15
2006-08-29 15:20:18 PDT
Comment on
attachment 10271
[details]
Replace libcurl usage by KIO style: (no {} needed) + if (job->method() == "POST") { + // Will take care of informing our client... + // This must be called before receivedAllData(), + // otherwhise assembleResponseHeaders() is called too early... + job->receivedResponse(kioJob->queryMetaData("HTTP-Headers")); + } The changes in general look sane. They won't harm any other port. However I have neither the Qt expertise nor the Loader architecture expertise to really grill you with this review. If you're comfortable with a "yeah this looks sane" review, then r=me. Otherwise you'll need to corner maciej when he's around and ask him about loader architectures. I doubt anyone on the team has much in the way of Qt expertise.
Nikolas Zimmermann
Comment 16
2006-08-29 15:23:51 PDT
(In reply to
comment #15
)
> The changes in general look sane. They won't harm any other port. However I > have neither the Qt expertise nor the Loader architecture expertise to really > grill you with this review. If you're comfortable with a "yeah this looks > sane" review, then r=me. Otherwise you'll need to corner maciej when he's > around and ask him about loader architectures. I doubt anyone on the team has > much in the way of Qt expertise. >
Sounds fair enough, when I implement the bridge-like architecture (the next days :-) I'll definately ask Maciej for the begin() stuff - as discussed on IRC. Thanks for the review anyway!
Eric Seidel (no email)
Comment 17
2006-09-08 18:30:17 PDT
looks to be landed already.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug