Closed
Bug 1038439
Opened 10 years ago
Closed 10 years ago
Remove enabling of web components preference in Gaia
Categories
(Firefox OS Graveyard :: Gaia, defect)
Firefox OS Graveyard
Gaia
Tracking
(b2g-v2.0 fixed, b2g-v2.1 fixed)
RESOLVED
FIXED
2.1 S2 (15aug)
People
(Reporter: wchen, Assigned: jlal)
Details
Attachments
(1 file, 1 obsolete file)
46 bytes,
text/x-github-pull-request
|
yurenju
:
review+
bajaj
:
approval-gaia-v2.0+
|
Details | Review |
Web components are currently turned on in Gaia via a preference. This should not be the case because it enables the feature for the general web and it is currently intended only as an experimental feature for certified apps. It looks like it was a temporary measure to develop with web components in certified apps until bug 1000199 had landed. Now that web components are enabled for certified apps by default the pref needs to go away and the change needs to be uplifted to v2.0
Reporter | ||
Comment 1•10 years ago
|
||
Attachment #8455734 -
Flags: review?(21)
Comment 2•10 years ago
|
||
Comment on attachment 8455734 [details] [review] pull request Thanks.
Attachment #8455734 -
Flags: review?(21) → review+
Reporter | ||
Comment 3•10 years ago
|
||
It looks like it's not going to be so easy to get rid of that preference in Gaia. We have a pretty big problem. After removing the pref, there are tests failing in the unit tests because it looks like they are not running with certified app privilege. There are a few failures in collections, camera and search but most are in sharedtest which does not even have certified set in its manifest. We really need to get rid of that pref to make sure that developers are not using web components in non-certified apps and hopefully nobody is currently using web components where they should not be using it. We REALLY need to make sure that we don't end up shipping it to the web. This needs to be fixed soon and in a way that we can uplift to v2.0. There are a few ways we could solve this problem but I'm not sure if we currently have the capabilities to do these: a) Only enable the preference while running tests. b) Run tests with certified privilege. c) Disable the failing tests. d) ? Vivien: Do you know if we can do any of the things above? I'm not familiar with the Gaia testing infrastructure so it would be great if you could point me towards someone who can help me fix this issue.
Flags: needinfo?(21)
Assignee | ||
Comment 4•10 years ago
|
||
Talked with @wchen on IRC: We can keep the flag (for testings) but obviously only enable this as needed for things like unit tests in firefox (which have their own set of preferences now). That aside there must be some (probably significant) value to keeping the pref for at minimum internal testing using firefox nightly and probably for third party devs who are already working on WC things for chrome.
Flags: needinfo?(21)
Assignee | ||
Updated•10 years ago
|
Assignee: wchen → jlal
Assignee | ||
Comment 5•10 years ago
|
||
Attachment #8462365 -
Flags: review?(yurenju.mozilla)
Assignee | ||
Updated•10 years ago
|
Attachment #8455734 -
Attachment is obsolete: true
Comment 6•10 years ago
|
||
Comment on attachment 8462365 [details] [review] https://github.com/mozilla-b2g/gaia/pull/22134 looks good and r=yurenju, but please use single quote for debug-prefs.js and add /* global pref */ in it.
Attachment #8462365 -
Flags: review?(yurenju.mozilla) → review+
Assignee | ||
Comment 7•10 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/4f77cd1da2a20761673e1c159507f6720890b2cb
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 8•10 years ago
|
||
Comment on attachment 8462365 [details] [review] https://github.com/mozilla-b2g/gaia/pull/22134 NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings. [Approval Request Comment] [Bug caused by] (feature/regressing bug #): [User impact] if declined: We expose incomplete/crashy web components implementation to all web content. [Testing completed]: CI/Manual [Risk to taking this patch] (and alternatives if risky): None, any issues should be seen immediately if there was some... [String changes made]:
Attachment #8462365 -
Flags: approval-gaia-v2.0?
Comment 9•10 years ago
|
||
You didn't update the build tests so travis is red. I have no clue why TBPL is green, does it run this test? https://travis-ci.org/mozilla-b2g/gaia/jobs/31306371
Comment 10•10 years ago
|
||
backing out: 9e5bc4918eec60ca1ef893c5f63d38788a4e9549
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 11•10 years ago
|
||
Comment on attachment 8462365 [details] [review] https://github.com/mozilla-b2g/gaia/pull/22134 clearing the approval request given this is not resolved yet on master/central.
Attachment #8462365 -
Flags: approval-gaia-v2.0?
Assignee | ||
Comment 12•10 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/63422178f24a6fede5124c3f9184c0fc9f9c8a6b
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 13•10 years ago
|
||
Comment on attachment 8462365 [details] [review] https://github.com/mozilla-b2g/gaia/pull/22134 NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings. [Approval Request Comment] [Bug caused by] (feature/regressing bug #): [User impact] if declined: [Testing completed]: [Risk to taking this patch] (and alternatives if risky): [String changes made]:
Attachment #8462365 -
Flags: approval-gaia-v2.0?
Comment 14•10 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1052150 adds some fuel to the "uplift this" fire in case it's needed :)
Updated•10 years ago
|
Attachment #8462365 -
Flags: approval-gaia-v2.0? → approval-gaia-v2.0+
Comment 15•10 years ago
|
||
v2.0: https://github.com/mozilla-b2g/gaia/commit/6155d46822edc6f799141caa8cf86209fb623c34
You need to log in
before you can comment on or make changes to this bug.
Description
•