Closed Bug 1736825 Opened 3 years ago Closed 3 years ago

Improve the parsing of `manifest.json` files in `browser/base/content/test/static/browser_all_files_referenced.js` to support built-in add-ons

Categories

(Firefox :: General, enhancement, P2)

enhancement
Points:
2

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: willdurand, Assigned: rpl)

References

Details

(Whiteboard: [addons-jira])

Attachments

(1 file)

Instead of adding new entries in the exclusion list when this test case fails because of a built-in add-on, we should improve the parseJsonManifest() function as described in https://phabricator.services.mozilla.com/D128908#4192312

Assignee: wdurand → lgreco
Pushed by wdurand@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b265817ccc60 Improve manifest.json files parsing in browser_all_files_referenced.js. r=florian

Backed out for causing mochitests browser chrome failures on browser_startup_syncIPC.js.

Push with failures

Failure log

Backout link

Flags: needinfo?(lgreco)

(In reply to Iulian Moraru from comment #3)

Backed out for causing mochitests browser chrome failures on browser_startup_syncIPC.js.

Push with failures

Failure log

This comes with a profile that shows https://share.firefox.dev/30Me0GL the PGPU::Msg_AddLayerTreeIdMapping sync IPC happens while styling for the first time a dummy.xhtml document created during WEBEXT_BACKGROUND_PAGE_LOAD_MS_BY_ADDONID:addons-search-detection@mozilla.com

The failure was actually triggered by the other patch landed along with this one in the same push (Bug 1735721), and unrelated to the changes in the patch attached to this bug (which can re-land without any additional change).

Nonetheless, Florian pointers from comment 4 were very useful to better understand the failure triggered by Bug 1735721.

We (Florian and I) also discussed further about the failure over Matrix and agreed on what to change in the short run to workaround the test failure as part of Bug 1735721 patch, and then as a separate follow up to try to resume the work on Bug 1582788 (because that would be the actual long term solution).

Flags: needinfo?(lgreco)
Pushed by wdurand@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/33304706b8b5 Improve manifest.json files parsing in browser_all_files_referenced.js. r=florian
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch

Hello. This bug or Bug 1735721 has caused this regression. Can you please help with identifying which one might be the cause?

Flags: needinfo?(lgreco)

This bug cannot be the cause of the regression. It's very likely the other one.

Flags: needinfo?(lgreco)
Points: --- → 2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: