Gecko: Positive
(https://github.com/whatwg/html/issues/3377#issuecomment-625102116)
Shipped.
WebKit: N/A
Does not apply since registerProtocolHandler is not implemented and
there is no such plan in WebKit.
Web developers: Positive (https://github.com/whatwg/html/issues/3377)
Reported by web developers to the WHATWG tracker.
Will this feature be supported on all six Blink platforms (Windows, Mac,
Linux,
Chrome OS, Android, and Android WebView)?
No
All platforms except those that don't support custom protocol handlers:
https://bugs.chromium.org/p/chromium/issues/detail?id=178097
https://bugs.chromium.org/p/chromium/issues/detail?id=589502
Is this feature fully tested by web-platform-tests?
Yes
Manual WPT tests are being added as
https://github.com/web-platform-tests/wpt/pull/23504 which unfortunately
we cannot convert as automated WPT tests with existing testing
infrastructure. This has to be verified using browser tests instead.
Tracking bug
https://bugs.chromium.org/p/chromium/issues/detail?id=1110842
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5678518908223488
This intent message was generated by Chrome Platform Status.
--
Frédéric Wang
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/c7f8cab4-0912-4faf-9205-0522bc528aa1n%40chromium.org.
Contact emails
fw...@chromium.org
Explainer
Spec
https://html.spec.whatwg.org/multipage/system-state.html#custom-handlers
TAG review
Not needed since it's an existing spec discussed at WHATWG.
fwang, this looks like a minor and simple change, but could you
please give me some background to why we're doing it? Just to get
me into the loop.
/Daniel
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw9OEAVTQ51bZKXktXJ7MgvEaKVpbWNv3fp_7sd1mf_ECw%40mail.gmail.com.
TAG review
Not needed since it's an existing spec discussed at WHATWG.
Without commenting one way or the other on the content of the intent, this is not a valid reason to avoid seeking TAG review.
Right, sorry it's not well formulated. I meant it's a very tiny
change, it's already the behavior defined by the HTML5
specification and the ongoing interop changes discussed at the
WHATWG are leaning to a consensus of keeping that behavior:
https://github.com/whatwg/html/issues/3377 ; so it does not seem
extra TAG review is needed here.
-- Frédéric Wang
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/b2d46b43-412b-74bb-1a29-ee27cef0e9e8%40gmail.com.
-- Frédéric Wang
* Compat: Low. This is observable by checking the URL string of the
redirection page. Current Chrome encodes space as "+" but the string
with a "%20" instead will load example the same page.
What if sites currently expect + and fail to parse %20? How often does that happen? Do we have evidence that they will not break?
First, I believe in general using "+" for spaces in general is
not a good idea for URLs and so it's possible that website using
registerProtocolHandler that work in Firefox currently don't work
in Chrome.
+ is however the default for application/x-www-form-urlencoded
forms:
https://people.igalia.com/fwang/form_url_with_space.html
https://people.igalia.com/fwang/form_url_with_space.html?variable=a+b
https://people.igalia.com/fwang/form_url_with_space.html?variable=a%20b
If someone parses the query string with URLSearchParams, there
should not be any problem, this will be interpreted as a space in
both case.
If someone uses a regexp or similar to parse location.search,
there could be some breakage depending on how it is implemented.
If that's a concern, maybe we can add a counter to measure how
much pages with ProtocolHandler::TranslateUrl uses space in order
to get an upper bound. I'm not sure we can easily measure how many
pages actually assume the translated url use a + for spaces.
Gecko: Positive
(https://github.com/whatwg/html/issues/3377#issuecomment-625102116)
This does not count as a positive signal from Gecko. You should instead say "Shipped" (because Gecko ships this behavior), and link to the WHATWG issue as additional data points indicating engagement on this spec issue specifically.
Correct.
Shipped.
WebKit: N/A
Does not apply since registerProtocolHandler is not implemented and
there is no such plan in WebKit.
They may implement in the future, so WebKit's opinion is applicable. You could instead say No Signals if you felt this did not rise to the level of asking on webkit-dev. Did they say explicitly that they don't want to implement registerProtocolHandler? If not, I think it could be useful to ask this question on webkit-dev.
https://lists.webkit.org/pipermail/webkit-dev/2020-April/031179.html
-- Frédéric Wang
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/656e46d3-fdda-c247-ec45-399f0ee03fe6%40igalia.com.
On 03/08/2020 07:27, Yoav Weiss wrote:
> Getting an upper bound for potential breakage from either use-counters
> or HTTPArchive sounds like a good idea.
Hi Yoav,
So regarding
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/osabCTBhDSs
one way to check URLs that could be affected would be to do a
HTTPArchive search with a regexp like (in JavaScript):
/["'](bitcoin|geo|im|irc|ircs|magnet|mailto|mms|news|nntp|openpgp4fpr|sip|sms|smsto|ssh|tel|urn|webcal|wtai|xmpp|web\+)[^"']+
[^"']*["']/
I don't know I can do that myself with
https://console.cloud.google.com/bigquery though, is it even possible
for non-Googlers? If not, can someone please help?
Relying on a use counter will probably take more time to get an answer.
The place where the URL translation happens
(https://chromium-review.googlesource.com/c/chromium/src/+/2324126/3/chrome/common/custom_handlers/protocol_handler.cc)
is outside blink / the web process, so this is something new to me and I
will need to figure out where/how to properly add the counter here.
However, that will probably be more reliable than a HTTPArchive search.
--
Frédéric Wang
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/49c58629-b414-313b-03e6-247493a7135e%40igalia.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/29dfc321-6524-d5b1-6fc5-1209d8d5b67a%40igalia.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEihjYO0mieiV2RONZg0Xgz31LJyBvqHfBzhrbiHeSxtHA%40mail.gmail.com.
LGTM3 (which I think makes four LGTM in total)
/Daniel
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw9ahYADM%3DNS-LGYtLv9Z9pbkp0mKgDSEyb5RVT%3D0a3XoA%40mail.gmail.com.