Verify "lang" values in ManifestProcessor.jsm
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: snorp, Assigned: marcosc)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The following comment appears:
// TODO: Check if tag is structurally valid.
// Cannot do this because we don't support Intl API on Android.
// https://bugzilla.mozilla.org/show_bug.cgi?id=864843
// https://github.com/tc39/ecma402/issues/5
We have the Intl API available now, so we should be able to do something here.
Comment 1•5 years ago
|
||
Hi Marcos, feel free to let me know if we should have higher priority. Thanks!
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
p3 is fine. Will try to start on this soon.
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
Implement language tag validation and canonicalization for lang member
Pushed by mcaceres@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c0394b2d9173 Verify lang member in ManifestProcessor.jsm r=snorp
Comment 5•5 years ago
|
||
Backed out for m-e10s failures on test_ManifestProcessor_lang.html
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=238988632&repo=autoland&lineNumber=8072
Backout link: https://hg.mozilla.org/integration/autoland/rev/0523ad54267a92d45bcee3986d09b3cdb5954504
[task 2019-04-09T05:48:26.328Z] 05:48:26 INFO - TEST-PASS | dom/manifest/test/test_ManifestProcessor_lang.html | Expect non-string to be undefined.
[task 2019-04-09T05:48:26.329Z] 05:48:26 INFO - TEST-PASS | dom/manifest/test/test_ManifestProcessor_lang.html | Expect non-string to be undefined.
[task 2019-04-09T05:48:26.331Z] 05:48:26 INFO - Buffered messages finished
[task 2019-04-09T05:48:26.332Z] 05:48:26 INFO - TEST-UNEXPECTED-FAIL | dom/manifest/test/test_ManifestProcessor_lang.html | Expect lang to be "aa" - got undefined, expected "aa"
[task 2019-04-09T05:48:26.332Z] 05:48:26 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:320:16
[task 2019-04-09T05:48:26.334Z] 05:48:26 INFO - @dom/manifest/test/test_ManifestProcessor_lang.html:64:3
[task 2019-04-09T05:48:26.335Z] 05:48:26 INFO - Not taking screenshot here: see the one that was previously logged
Pushed by mcaceres@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9b937a1bec90 Verify lang member in ManifestProcessor.jsm r=snorp
Comment 8•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Description
•