Closed Bug 1467541 Opened 6 years ago Closed 6 years ago

Layout Debugger is broken in packaged builds

Categories

(Core :: Layout, defect, P4)

defect

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: ehsan.akhgari, Assigned: Kwan)

Details

Attachments

(3 files)

In a debug build, the Layout Debugger menu item under Tools doesn't do anything any more.  I think this is because the https://searchfox.org/mozilla-central/source/layout/tools/layout-debug/chrome.manifest file isn't being packaged any more, so chrome://layoutdebug/content/layoutdebug.xul ends up becoming an invalid link.  When clicking that menu item, the following gets printed to console:

Couldn't convert chrome URL: chrome://layoutdebug/content/layoutdebug.xul
Priority: -- → P4
No longer used since it stopped being built as an extension.
Test fails prior to the packaging change:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=926c2b0cf8106d40a006c3c3394dfdc5db1cf230&selectedJob=191728022
(I'm not sure why try syntax did that with the xpcshell jobs)

And passes after:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=cd75012ec2227da23da0a96c027a4399148a26b8&selectedJob=191736337
Assignee: nobody → moz-ian
Status: NEW → ASSIGNED
Comment on attachment 8997016 [details]
Bug 1467541 - Remove dead layout debug files.

David Baron :dbaron: 🏴󠁵󠁳󠁣󠁡󠁿 ⌚UTC-7 has approved the revision.
Attachment #8997016 - Flags: review+
Comment on attachment 8997018 [details]
Bug 1467541 - Package layout debugger in debug builds.

David Baron :dbaron: 🏴󠁵󠁳󠁣󠁡󠁿 ⌚UTC-7 has approved the revision.
Attachment #8997018 - Flags: review+
I didn't realize this bug was only about packaged builds... but then again, it seems like it is, since the layout debugger works fine for me in my own tree, so I guess it is only about packaged builds.  Or am I confused?
Nope, not confused :) This came up in the context of bug 1477897, where heycam couldn't regression test since it hasn't worked in packaged builds since possibly the change from being an extension (certainly the oldest debug builds I could find, which was Fx44 or so)
Summary: Layout Debugger is broken → Layout Debugger is broken in packaged builds
Comment on attachment 8997228 [details]
Bug 1467541 - Add a test for opening the layout debugger.

David Baron :dbaron: 🏴󠁵󠁳󠁣󠁡󠁿 ⌚UTC-7 has approved the revision.
Attachment #8997228 - Flags: review+
Thanks for the reviews dbaron.

Not sure how checkin-needed is going to go with phab, guess we'll find out.
Comment 4 has a green try run (an older version of the test, but I've run the new version locally both packaged and unpackaged).
Keywords: checkin-needed
Pushed by apavel@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/db5198c10a4b
Package layout debugger in debug builds. r=dbaron
https://hg.mozilla.org/integration/mozilla-inbound/rev/5ed009eaad1c
Remove dead layout debug files. r=dbaron
https://hg.mozilla.org/integration/mozilla-inbound/rev/2a818faa9c1b
Add a test for opening the layout debugger. r=dbaron
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/db5198c10a4b
https://hg.mozilla.org/mozilla-central/rev/5ed009eaad1c
https://hg.mozilla.org/mozilla-central/rev/2a818faa9c1b
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: