Fix test failures triggered by enabling HTML about:addons by default
Categories
(Toolkit :: Add-ons Manager, task, P1)
Tracking
()
People
(Reporter: rpl, Assigned: rpl)
References
Details
Attachments
(14 files, 1 obsolete file)
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
The goal of this issue is to investigate and fix test failures triggered by enabling the HTML about addons by default.
The test failures to investigate are currently listed in the following google doc:
In the above google doc, the failing tests are organized in the following groups:
- Tests that depends from inline options_page support (which also depends on Bug 1532724)
- Tests that depends from sideloaded extensions showing the permissions prompt when enabled from about:addons (fix tracked by Bug 1551541)
- Test that uses test helpers that depends from XUL about:addons
- Other test failures to investigate (which may be due to failures in other tests running right before it, or unrelated intermittents)
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Depends on D31068
Assignee | ||
Comment 2•6 years ago
|
||
Depends on D31776
Assignee | ||
Comment 3•6 years ago
|
||
Depends on D31777
Assignee | ||
Comment 4•6 years ago
|
||
Depends on D31778
Assignee | ||
Comment 5•6 years ago
|
||
Depends on D31779
Assignee | ||
Comment 6•6 years ago
|
||
Depends on D31780
Assignee | ||
Comment 7•6 years ago
|
||
browser_bug562797.js was setting the XUL disco pane url to a fake test url and never resetting it after the
test completes [1], and so we never notice that other tests may fail if the discover url is not set to one that
doesn't trigger network requests while running in a test.
Depends on D31782
Assignee | ||
Comment 8•6 years ago
|
||
Depends on D31783
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 9•5 years ago
|
||
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
When HTML about:addons
is enabled, the "Manage extension" button still
opens the add-on's details page, but without automatically loading the
inline options.
The test assumed that it did and failed. This patch switches to a
different way of detecting that the menu item works as expected.
Updated•5 years ago
|
Comment 13•5 years ago
|
||
Fix browser_webext_incognito.js to work with both XUL and HTML about:addons.
This patch also ensures that (inline) options UI is only shown in HTML
about:addons in private windows if add-ons are allowed access to it.
browser_webext_incognito.js serves as a unit test for this.
Assignee | ||
Comment 14•5 years ago
|
||
Updated•5 years ago
|
Comment 15•5 years ago
|
||
Comment 16•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/06890fefc1d3
https://hg.mozilla.org/mozilla-central/rev/7654a4fe63b6
https://hg.mozilla.org/mozilla-central/rev/49f83d8848ff
https://hg.mozilla.org/mozilla-central/rev/d316cf637ff9
https://hg.mozilla.org/mozilla-central/rev/92b3d4c40e67
https://hg.mozilla.org/mozilla-central/rev/a9b1a1ab0ec5
https://hg.mozilla.org/mozilla-central/rev/8c02c8dfd237
https://hg.mozilla.org/mozilla-central/rev/54a97cd3d2e6
https://hg.mozilla.org/mozilla-central/rev/f0339946e0f9
https://hg.mozilla.org/mozilla-central/rev/beeeab2762c6
https://hg.mozilla.org/mozilla-central/rev/0ed314d24123
https://hg.mozilla.org/mozilla-central/rev/21074fd8dfe8
https://hg.mozilla.org/mozilla-central/rev/7a44faddc33d
Comment 17•5 years ago
|
||
The output of a non-existing attribute changed in bug 1552714.
In 69, the expectation is {id: null, args: null}
.
In 68 and before, the expectation is {id: ""}
.
Comment 18•5 years ago
|
||
Comment on attachment 9066028 [details]
Bug 1551490 - Fix enterprise policy test failures when HTML about:addons is enabled by default.
Beta/Release Uplift Approval Request
- User impact if declined: Without these test fixes, we cannot enable HTML about:addons by default (bug 1555012).
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: Must land after 1550911
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): These patches fix tests, by running them with and without HTML about:addons.
The patches have baked on Nightly (with HTML about:addons off by default).
Try push to Beta is green: https://treeherder.mozilla.org/#/jobs?repo=try&revision=29878f0632a54dd4198a6aa2d32d91c5761c0919 (the two oranges are because I forgot to include the fixes from bug 1557369 and bug 1557944 in the try push) - String changes made/needed: none
Updated•5 years ago
|
Comment 19•5 years ago
|
||
Comment on attachment 9070443 [details]
Bug 1551490 - Fix test failures with inline options in HTML about:addons
this one looks like it fixes an actual issue in ExtensionPolicyService? approved for 68.0b10
Comment 20•5 years ago
|
||
Comment on attachment 9070788 [details]
Bug 1551490 - Hide add-on preferences when not allowed in private windows, fix browser_webext_incognito.js
there's a fix in here too. approved for 68.0b10.
Comment 22•5 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/633c7ce9740c
https://hg.mozilla.org/releases/mozilla-beta/rev/83af41aaeb7d
https://hg.mozilla.org/releases/mozilla-beta/rev/32caceae9cac
https://hg.mozilla.org/releases/mozilla-beta/rev/607906b633a7
https://hg.mozilla.org/releases/mozilla-beta/rev/0cc06358290d
https://hg.mozilla.org/releases/mozilla-beta/rev/fd69d7d0f0d0
https://hg.mozilla.org/releases/mozilla-beta/rev/9688b1081c1d
https://hg.mozilla.org/releases/mozilla-beta/rev/09a47b7d1716
https://hg.mozilla.org/releases/mozilla-beta/rev/9dbc53624d7c
https://hg.mozilla.org/releases/mozilla-beta/rev/33f0e94f7041
https://hg.mozilla.org/releases/mozilla-beta/rev/3bbbdeca9f13
https://hg.mozilla.org/releases/mozilla-beta/rev/82e6701f5dbb
https://hg.mozilla.org/releases/mozilla-beta/rev/466fe0fc7db3
https://hg.mozilla.org/releases/mozilla-beta/rev/a2fc7a9510bd
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 23•5 years ago
|
||
From my understanding this issue is related to the automated tests. Is there any need of manual QA here? If not can you please mark it as "qe-verify- "
Assignee | ||
Updated•5 years ago
|
Description
•