|
|
Chromium Code Reviews
DescriptionURL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling in DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and calling KURL::setQuery with the given string if it starts
with a question mark and consists of two or more characters.
BUG=682150
Review-Url: https://codereview.chromium.org/2686653003
Cr-Commit-Position: refs/heads/master@{#448940}
Committed: https://chromium.googlesource.com/chromium/src/+/29fc3042b1b3bea3e71a2c5b0a9a81ce435c2d39
Patch Set 1 #Patch Set 2 : fix #Patch Set 3 : fix #
Messages
Total messages: 26 (22 generated)
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from
==========
DOM URL query
wip
BUG=682150
==========
to
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search
recovers one question mark and we lose one question mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is equivalent
to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and give other strings starting from a question mark unchanged.
BUG=682150
==========
Description was changed from
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search
recovers one question mark and we lose one question mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is equivalent
to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and give other strings starting from a question mark unchanged.
BUG=682150
==========
to
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is equivalent
to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and give other strings starting from a question mark unchanged.
BUG=682150
==========
Description was changed from
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is equivalent
to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and give other strings starting from a question mark unchanged.
BUG=682150
==========
to
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is
KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and give other strings starting from a question mark unchanged.
BUG=682150
==========
Description was changed from
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is
KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and give other strings starting from a question mark unchanged.
BUG=682150
==========
to
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and give other strings starting from a question mark unchanged.
BUG=682150
==========
Description was changed from
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and give other strings starting from a question mark unchanged.
BUG=682150
==========
to
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and give other strings starting from a question mark unchanged
to KURL::setQuery.
BUG=682150
==========
Description was changed from
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and give other strings starting from a question mark unchanged
to KURL::setQuery.
BUG=682150
==========
to
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and giving other strings starting from a question mark unchanged
to KURL::setQuery.
BUG=682150
==========
yhirano@chromium.org changed reviewers: + sigbjornf@opera.com
PTAL
lgtm
Description was changed from
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and giving other strings starting from a question mark unchanged
to KURL::setQuery.
BUG=682150
==========
to
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and calling KURL::setQuery with the given string if it starts with
a question mark unchanged and consists of two or more characters.
BUG=682150
==========
Description was changed from
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and calling KURL::setQuery with the given string if it starts with
a question mark unchanged and consists of two or more characters.
BUG=682150
==========
to
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and calling KURL::setQuery with the given string if it starts with
a question mark unchanged and consists of two or more characters.
BUG=682150
==========
Description was changed from
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and calling KURL::setQuery with the given string if it starts with
a question mark unchanged and consists of two or more characters.
BUG=682150
==========
to
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and calling KURL::setQuery with the given string if it starts
with a question mark unchanged and consists of two or more characters.
BUG=682150
==========
Description was changed from
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and calling KURL::setQuery with the given string if it starts
with a question mark unchanged and consists of two or more characters.
BUG=682150
==========
to
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and calling KURL::setQuery with the given string if it starts
with a question mark and consists of two or more characters.
BUG=682150
==========
Description was changed from
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and calling KURL::setQuery with the given string if it starts
with a question mark and consists of two or more characters.
BUG=682150
==========
to
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling in DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and calling KURL::setQuery with the given string if it starts
with a question mark and consists of two or more characters.
BUG=682150
==========
The CQ bit was unchecked by yhirano@chromium.org
The CQ bit was checked by yhirano@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 40001, "attempt_start_ts": 1486544901875780,
"parent_rev": "8c00af2b243ead60e3d7011b5a85367735f19ba1", "commit_rev":
"29fc3042b1b3bea3e71a2c5b0a9a81ce435c2d39"}
Message was sent while issue was closed.
Description was changed from
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling in DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and calling KURL::setQuery with the given string if it starts
with a question mark and consists of two or more characters.
BUG=682150
==========
to
==========
URL.search should return the set value via setSearch
DOMURLUtils and KURL trim off the leading question mark independently, which
leads to trimming off two leading questions in addition.
DOMURLUtilsReadOnly::search recovers one question mark and we lose one question
mark in total.
The special handling in DOMURLUtils is needed because KURL::setQuery handles
an empty string and a null string differently. KURL::setQuery("?") is
equivalent to KURL::setQuery("") but what we need is KURL::setQuery(String()).
This CL fixes the problem by calling KURL::setQuery(String()) if the given
value is "?", and calling KURL::setQuery with the given string if it starts
with a question mark and consists of two or more characters.
BUG=682150
Review-Url: https://codereview.chromium.org/2686653003
Cr-Commit-Position: refs/heads/master@{#448940}
Committed:
https://chromium.googlesource.com/chromium/src/+/29fc3042b1b3bea3e71a2c5b0a9a...
==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/29fc3042b1b3bea3e71a2c5b0a9a... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
