Closed Bug 1773706 Opened 4 years ago Closed 4 years ago

Permafailing toolkit/mozapps/extensions/test/browser/browser_colorwaycloset_aboutaddons.js failures when Gecko 103 merges to Beta on 2022-06-27

Categories

(Toolkit :: Add-ons Manager, defect, P2)

defect

Tracking

()

VERIFIED FIXED
103 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- unaffected
firefox101 --- unaffected
firefox102 --- unaffected
firefox103 + verified

People

(Reporter: nataliaCs, Assigned: kpatenio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

Set release status flags based on info from the regressing bug 1769147

Update: see comment 4

@lgreco left a comment in this patch that may explain the cause of the failures. A crash occurs when selecting the Try Colorways button - which the regressing bug modifies by opening the Colorway Closet modal that would show existing Colorway themes. This crash happens because a mock theme that we create during the test does not have an associated icon that we'd expect to show in the modal. Proposed solutions include ignoring the theme when an icon cannot be set (followed by an error log), or just not setting an icon at all if none is available. (firefox)

Flags: needinfo?(kpatenio)
Assignee: nobody → kpatenio
Status: NEW → ASSIGNED

Ah... thinking about it now, the culprit is actually from failing to load resource:///modules/ColorwayClosetOpener.jsm since colorways is limited to Nightly builds (considering that firefoxview is also Nightly only - relevant since firefoxview is one entrypoint for the modal itself). The initially submitted WIP patch happens to be another issue related to the Colorway closet card in about:addons.

Log:

[task 2022-06-10T14:21:07.350Z] 14:21:07     INFO - PROCESS-CRASH | toolkit/mozapps/extensions/test/browser/browser_colorwaycloset_aboutaddons.js | application crashed [@ CheckForBrokenChromeURL(nsILoadInfo*, nsIURI*)]
[task 2022-06-10T14:21:07.351Z] 14:21:07     INFO - Mozilla crash reason: Missing chrome or resource URLs: resource:///modules/ColorwayClosetOpener.jsm

Comment on attachment 9280787 [details]
Bug 1773706 - run browser_colorwaycloset_aboutaddons.js for nightly only. r=dao!

Revision D148969 was moved to bug 1773800. Setting attachment 9280787 [details] to obsolete.

Attachment #9280787 - Attachment is obsolete: true

Comment on attachment 9280748 [details]
WIP: Bug 1773706 - do not render Colorway in closet modal if there is no icon available. r=dao!

Revision D148951 was moved to bug 1773800. Setting attachment 9280748 [details] to obsolete.

Attachment #9280748 - Attachment is obsolete: true
Attachment #9280787 - Attachment description: WIP: Bug 1773706 - run browser_colorwaycloset_aboutaddons.js for nightly only. r=dao! → Bug 1773706 - run browser_colorwaycloset_aboutaddons.js for nightly only. r=dao!
Attachment #9280787 - Attachment is obsolete: false

The patch here gets rid of the failures as in the test is no longer ran on beta and the fix from Bug 1773800 is not working under beta conditions https://bugzilla.mozilla.org/show_bug.cgi?id=1773800#c4

Severity: -- → S4
Priority: -- → P2
Pushed by kpatenio@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2111b084edc0 run browser_colorwaycloset_aboutaddons.js for nightly only. r=dao
Blocks: 1773800
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch

The patch has been verified in yesterday's beta-sim

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: