RESOLVED FIXED 45695
Preparation for eliminating deprecatedParseURL
https://bugs.webkit.org/show_bug.cgi?id=45695
Summary Preparation for eliminating deprecatedParseURL
Darin Adler
Reported 2010-09-13 12:15:12 PDT
Preparation for eliminating deprecatedParseURL
Attachments
Patch (31.53 KB, patch)
2010-09-13 12:23 PDT, Darin Adler
abarth: review+
Darin Adler
Comment 1 2010-09-13 12:23:04 PDT
Early Warning System Bot
Comment 2 2010-09-13 12:53:21 PDT
Darin Adler
Comment 3 2010-09-13 13:13:05 PDT
I’ll have to add an include to make things compile on Qt. HTMLParserIdioms.cpp:82: error: 'isfinite' was not declared in this scope <math.h> or <wtf/MathExtras.h>.
WebKit Review Bot
Comment 4 2010-09-13 14:50:01 PDT
Darin Adler
Comment 5 2010-09-13 14:51:16 PDT
Chromium build issue is the same as the Qt one.
Adam Barth
Comment 6 2010-09-13 14:59:53 PDT
Comment on attachment 67451 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=67451&action=prettypatch > JavaScriptCore/wtf/text/WTFString.h:56 > +struct StringHash; Not sure how this is related. > WebCore/html/parser/HTMLParserIdioms.h:38 > +// Strip leading and trailing whitespace as defined by the HTML specification. > +String stripLeadingAndTrailingHTMLSpaces(const String&); This function doesn't seem to be used yet, but presumably that's the next step?
WebKit Review Bot
Comment 7 2010-09-13 15:05:39 PDT
Darin Adler
Comment 8 2010-09-13 16:11:22 PDT
Comment on attachment 67451 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=67451&action=prettypatch Thanks for the review. > JavaScriptCore/wtf/text/WTFString.h:56 > +struct StringHash; Just moved this up to the top of the file where the other forward class declarations are instead of down at the bottom of the file where it’s used. > WebCore/html/parser/HTMLParserIdioms.h:38 > +String stripLeadingAndTrailingHTMLSpaces(const String&); Yes. I considered calling it at one particular call site, but on balance decided it was OK to land without that.
Darin Adler
Comment 9 2010-09-13 16:42:22 PDT
Note You need to log in before you can comment on or make changes to this bug.