RESOLVED FIXED 34859
[chromium] Update Chromium port's usage of url_util::IsStandard
https://bugs.webkit.org/show_bug.cgi?id=34859
Summary [chromium] Update Chromium port's usage of url_util::IsStandard
Brett Wilson (Google)
Reported 2010-02-11 13:43:55 PST
I'm working on a google-url patch: http://codereview.chromium.org/564011 which requires a small update to the Chromium port's usage of IsStandard in KURLGoogle.cpp. This bug is to track that update.
Attachments
Patch (3.46 KB, patch)
2010-02-12 15:40 PST, Brett Wilson (Google)
brettw: commit-queue-
Path with style fixed. (3.46 KB, patch)
2010-02-12 16:12 PST, Brett Wilson (Google)
abarth: review+
brettw: commit-queue-
Third try (3.34 KB, patch)
2010-02-26 09:27 PST, Brett Wilson (Google)
fishd: review+
Brett Wilson (Google)
Comment 1 2010-02-12 15:40:54 PST
Created attachment 48673 [details] Patch Do not commit queue this since it needs a coordinated landing with http://codereview.chromium.org/579004 on the Chromium side.
WebKit Review Bot
Comment 2 2010-02-12 15:47:18 PST
Attachment 48673 [details] did not pass style-queue: Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1 WebCore/platform/KURLGoogle.cpp:586: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] Total errors found: 1 If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Review Bot
Comment 3 2010-02-12 15:54:00 PST
Brett Wilson (Google)
Comment 4 2010-02-12 16:12:30 PST
Created attachment 48674 [details] Path with style fixed. See above, this will make the Chromium build fail.
WebKit Review Bot
Comment 5 2010-02-12 16:15:56 PST
Adam Barth
Comment 6 2010-02-18 00:04:58 PST
Comment on attachment 48674 [details] Path with style fixed. Looks reasonable. I didn't understand the relation between - m_url.utf8String().length(), and the rest of the patch. Also, please fix the indentation in V8LocationCustom to be four spaces. (Not sure why the style elf missed that.)
Bernhard Bauer
Comment 7 2010-02-18 04:41:28 PST
(In reply to comment #6) > (From update of attachment 48674 [details]) > Looks reasonable. I didn't understand the relation between > > - m_url.utf8String().length(), > > and the rest of the patch. This change is to match the signature change of url_util::IsStandard introduced in googleurl, revision 123.
Brett Wilson (Google)
Comment 8 2010-02-18 18:08:23 PST
Checked in as r54997.
Tony Chang
Comment 9 2010-02-18 20:01:14 PST
(In reply to comment #8) > Checked in as r54997. Do you plan on landing the chromium side of this soon? It causes the commit queue and webkit-patch to no longer work.
Kent Tamura
Comment 10 2010-02-18 20:37:22 PST
r54998 fixed the build error by r54997.
Jeremy Orlow
Comment 11 2010-02-19 03:23:59 PST
This broke the canaries and anyone on a hybrid build crome/webkit checkout. I would just revert it, but it seems that you knew this would happen and checked it in anyway, which makes me wonder if reverting it would cause other badness. Please don't do this in the future, though.
Pavel Feldman
Comment 12 2010-02-19 05:03:36 PST
(In reply to comment #11) > This broke the canaries and anyone on a hybrid build crome/webkit checkout. I > would just revert it, but it seems that you knew this would happen and checked > it in anyway, which makes me wonder if reverting it would cause other badness. > > Please don't do this in the future, though. After looking at canaries I just reverted the change. It is a two-sided commit that should be coordinated with sheriff. Once I've reverted it, I came here to post a note and found out the discussion. I still think I did the right thing.
Brett Wilson (Google)
Comment 13 2010-02-19 09:20:08 PST
I did coordinate with the sheriff. What am I supposed to do differently? What do you mean by "don't do this again!" This is the only way to land two sided patches! The merge landed when I was asleep and I came in to do the part that I coordinated with the sheriff I would land, and it's reverted! And now I have to do THE ENTIRE THING AGAIN. This makes me VERY frustrated to the point where I wish I never worked on this bug.
Brett Wilson (Google)
Comment 14 2010-02-19 09:34:52 PST
Dimitri clarified that I need to wait for a green revision right before the checkin. I also suspect landing this is impossible when the sheriff is in another time zone.
Brett Wilson (Google)
Comment 15 2010-02-26 09:27:21 PST
Created attachment 49592 [details] Third try This is the same as the previous patch without the change to the call to url_util::IsStandard. I added a temporary backwards-compat version of IsStandard to googleurl to aid in landing this. I'll land the fix to the call as a separate pass.
Brett Wilson (Google)
Comment 16 2010-02-26 15:24:50 PST
Committed in r55319
Note You need to log in before you can comment on or make changes to this bug.