Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Issue 1110223002: Use and add layout tests for BCP 47 language tag syntax validation. (Closed)

Created:
5 years, 7 months ago by Peter Beverloo
Modified:
5 years, 5 months ago
Reviewers:
philipj_slow, wolenetz
CC:
blink-reviews, feature-media-reviews_chromium.org, peter+watch_chromium.org, eric.carlson_apple.com
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Use and add layout tests for BCP 47 language tag syntax validation. Media Source Extensions' TrackDefault() constructor and both the Web Notification constructor and SWR.showNotification() function now validate that the syntax of the language attribute conforms to the syntax described in BCP 47. This CL is part of a three-sided patch: [1] https://codereview.chromium.org/1115453003/ [2] https://codereview.chromium.org/1110233002/ [3] This CL. BUG=442137

Patch Set 1 #

Messages

Total messages: 12 (2 generated)
Peter Beverloo
+philipj since this touches MSE and the public/ API
5 years, 7 months ago (2015-04-28 19:17:36 UTC) #2
philipj_slow
I'm a little bit skeptical about exposing BCP 47 validity to the Web, it seems ...
5 years, 7 months ago (2015-04-29 13:56:05 UTC) #3
Peter Beverloo
On 2015/04/29 13:56:05, philipj_UTC2 wrote: > I'm a little bit skeptical about exposing BCP 47 ...
5 years, 7 months ago (2015-04-29 13:59:29 UTC) #4
philipj_slow
wolenetz@, what are your thoughts on the MSE case? I have a feeling we've discussed ...
5 years, 7 months ago (2015-04-29 14:00:06 UTC) #6
philipj_slow
On 2015/04/29 13:59:29, Peter Beverloo wrote: > There may well be use-cases, the i18n JavaScript ...
5 years, 7 months ago (2015-04-29 14:02:20 UTC) #7
Peter Beverloo
On 2015/04/29 14:02:20, philipj_UTC2 wrote: > On 2015/04/29 13:59:29, Peter Beverloo wrote: > > There ...
5 years, 7 months ago (2015-04-29 14:06:56 UTC) #8
philipj_slow
Ping wolenetz@, any thoughts about the MSE situation?
5 years, 7 months ago (2015-05-06 12:04:56 UTC) #9
wolenetz
On 2015/05/06 12:04:56, philipj_UTC2 wrote: > Ping wolenetz@, any thoughts about the MSE situation? Hmm. ...
5 years, 7 months ago (2015-05-12 23:11:57 UTC) #10
philipj_slow
On 2015/05/12 23:11:57, wolenetz wrote: > On 2015/05/06 12:04:56, philipj_UTC2 wrote: > > Ping wolenetz@, ...
5 years, 7 months ago (2015-05-21 15:54:07 UTC) #11
Peter Beverloo
5 years, 5 months ago (2015-07-15 10:08:20 UTC) #12
To update this -

While the i18n group definitely was in favor of confirming that language tags
were "well-formed" (as opposed to "valid", which is much harder to reliably
confirm), we decided to make this an author-level concern in the Notification
spec here:

https://github.com/whatwg/notifications/commit/743cd90906c5fa522d31ef0082b2a6...

Other specs might want to do something similar, also because we don't feel
strongly.

I'm abandoning this series of CLs.

Powered by Google App Engine
This is Rietveld 408576698