PerformanceWatcher-content.js and PerformanceWatcher.jsm are unreferenced
Categories
(Toolkit :: Performance Monitoring, enhancement)
Tracking
()
People
(Reporter: florian, Assigned: florian)
References
Details
Attachments
(1 file, 1 obsolete file)
29.24 KB,
patch
|
Gijs
:
review+
|
Details | Diff | Splinter Review |
resource://gre/modules/PerformanceWatcher-content.js and resource://gre/modules/PerformanceWatcher.jsm are referencing each other, but aren't referenced anywhere else. If we are not using them, we should stop shipping them.
Comment hidden (typo) |
Comment hidden (typo) |
Assignee | ||
Comment 3•6 years ago
|
||
The last reference to these files was removed in bug 1309946.
Assignee | ||
Updated•6 years ago
|
Comment 4•6 years ago
|
||
Comment on attachment 8991843 [details] [diff] [review] Patch Review of attachment 8991843 [details] [diff] [review]: ----------------------------------------------------------------- This needs to also remove toolkit/components/perfmonitoring/tests/browser/browser_webpagePerformanceAlerts.js , the reference for that in browser.ini, and the references in toolkit/components/perfmonitoring/PerformanceStats.jsm .
Assignee | ||
Comment 5•6 years ago
|
||
(In reply to :Gijs (he/him) from comment #4) > This needs to also remove > toolkit/components/perfmonitoring/tests/browser/ > browser_webpagePerformanceAlerts.js , the reference for that in browser.ini, > and the references in toolkit/components/perfmonitoring/PerformanceStats.jsm Thanks for catching this. And then the CPUBurner part of head.js can also go.
Assignee | ||
Updated•6 years ago
|
Comment 6•6 years ago
|
||
Comment on attachment 8992290 [details] [diff] [review] Patch v2 Review of attachment 8992290 [details] [diff] [review]: ----------------------------------------------------------------- rs=me if we're sure we don't want to use any of this for the "new" about:performance work. IIRC I was told it was still potentially relevant. Are we going to remove the JS counters that feed into this stuff, too?
Assignee | ||
Comment 7•6 years ago
|
||
(In reply to :Gijs (he/him) from comment #6) > rs=me if we're sure we don't want to use any of this for the "new" > about:performance work. Thanks, I'll think about it some more before landing. > IIRC I was told it was still potentially relevant. > Are we going to remove the JS counters that feed into this stuff, too? I don't know. I'll figure this out once both Tarek and Yoric are back from PTO.
Assignee | ||
Comment 9•5 years ago
|
||
(In reply to :Gijs (he/him) from comment #8) > What's the status of this bug? I think the current plan is to land it as part of bug 1406872.
Comment 10•5 years ago
|
||
Pushed by florian@queze.net: https://hg.mozilla.org/integration/mozilla-inbound/rev/86cbcf2195f9 remove unreferenced PerformanceWatcher-content.js and PerformanceWatcher.jsm, r=Gijs.
Comment 11•5 years ago
|
||
Backed out changeset 86cbcf2195f9 (Bug 1356036) for browser-chrome failures in browser_all_files_referenced.js CLOSED TREE
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=220827578&repo=mozilla-inbound&lineNumber=2711
Backout: https://hg.mozilla.org/integration/mozilla-inbound/rev/b52489bddb94bdb2d6fe88ed639d5c35cb2f5c7e
Assignee | ||
Comment 12•5 years ago
|
||
The failure was because I removed 2 unreferenced files and the related exception, but there were 2 related files that were already reported as "indirectly whitelisted file", that became unreferenced and that the test started reporting.
So the test is working as expected, and I just didn't pay enough attention when landing here. This has now relanded as part of bug 1406872, so no need to keep this bug open.
Description
•