Closed Bug 1643423 Opened 4 years ago Closed 4 years ago

Perma browser/base/content/test/static/browser_all_files_referenced.js | file only referenced from unreferenced files: resource://gre/modules/jsdebugger.jsm referenced when Gecko 70 merges to Beta on 2020-06-29

Categories

(DevTools :: Debugger, defect)

defect

Tracking

(firefox-esr68 unaffected, firefox76 unaffected, firefox77 unaffected, firefox78 unaffected, firefox79+ verified)

VERIFIED FIXED
Firefox 79
Tracking Status
firefox-esr68 --- unaffected
firefox76 --- unaffected
firefox77 --- unaffected
firefox78 --- unaffected
firefox79 + verified

People

(Reporter: aryx, Assigned: emk)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

[Tracking Requested - why for this release]:

central-as-beta simulation: https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&selectedTaskRun=FR2QiA1MTiymte6G9FGsIA-0&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable&revision=7a1fa2203475625e35b446fe3d5ce79058f632be

Log: https://treeherder.mozilla.org/logviewer.html#?job_id=305053829&repo=try

TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_all_files_referenced.js | file only referenced from unreferenced files: resource://gre/modules/jsdebugger.jsm referenced from resource://devtools/shared/worker/loader.js,resource://devtools/shared/builtin-modules.js -

Masatoshi, Jason, please coordinate who will resolve this issue.

Flags: needinfo?(VYV03354)

The removed code did not actually "refer" jsdebugger.jsm. checkAllTheFiles just scanned strings from libxul and misdetected the "reference".

In Nightly, remote/domains/content/Runtime.jsm refers jsdebugger.jsm.

We can't unship jsdebugger.jsm because Devtools are using it.

Assignee: nobody → VYV03354
Status: NEW → ASSIGNED

(In reply to Sebastian Hengst [:aryx] (needinfo on intermittent or backout) from comment #0)

TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_all_files_referenced.js | file only referenced from unreferenced files: resource://gre/modules/jsdebugger.jsm referenced from resource://devtools/shared/worker/loader.js,resource://devtools/shared/builtin-modules.js -

This error says that it's resource://devtools/shared/worker/loader.js and resource://devtools/shared/builtin-modules.js that appear unreferenced. Why?

Oh, the failure is only when running the test in non-devtools mode. Why is this devtools file located outside the devtools folder?

This file belongs to SpiderMonkey, so we can't move it from js/. Devtools happens to be the only non-test caller.

Flags: needinfo?(VYV03354)
Pushed by VYV03354@nifty.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/27cbaa46fea9
Whitelist jsdebugger.jsm when remote agent is disabled. r=loganfsmyth
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 79
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: