Closed
Bug 1313906
Opened 8 years ago
Closed 8 years ago
DOM inspector doesn't work any more in Thunderbird
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 53.0
People
(Reporter: jorgk-bmo, Assigned: Paenglab)
References
Details
(Keywords: regression)
Attachments
(1 file)
1.77 KB,
patch
|
iannbugzilla
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1279327 +++
Regression range M-C:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=1561c917ee27&tochange=969c3295d3aa
Flags: needinfo?(alice0775)
Reporter | ||
Comment 1•8 years ago
|
||
Alice, please try this in FF for us. Thanks in advance.
Just starting DOM Inpector I get:
09:39:29.186 XML Parsing Error: no root element found
Location: chrome://global/content/globalOverlay.xul
Line Number 1, Column 1: 1 globalOverlay.xul:1:1
09:39:29.594 TypeError: document.getElementById(...) is null 1 inspector.js:72:5
InspectorApp_initialize chrome://inspector/content/inspector.js:72:5
You can File->Inspect a Chrome document, but then the "Find a node by clicking on it" icon does not work.
Assignee | ||
Comment 3•8 years ago
|
||
This is a regression from bug 1312143. I had this patch since then but forgot it. Sorry :(
I hope Ian is the correct reviewer for DOMi.
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Flags: needinfo?(alice0775)
Attachment #8805832 -
Flags: review?(iann_bugzilla)
Reporter | ||
Comment 4•8 years ago
|
||
Backing out https://hg.mozilla.org/mozilla-central/rev/a1ea2703d9e8 from bug 1203813 locally does NOT fix this issue. So Alice, can you please find the regression here.
On the console I see:
Error getting service: @mozilla.org/inspector/flasher;1, inIFlasher
TypeError: Components.classes[aURL] is undefinedJavaScript error: chrome://inspector/content/inspector.js, line 72: TypeError: document.getElementById(...) is null
Reporter | ||
Updated•8 years ago
|
Reporter | ||
Comment 5•8 years ago
|
||
Ignore comment #4, wires crossed with comment #3.
Reporter | ||
Comment 6•8 years ago
|
||
How do you build the DOMi? I added
ac_add_options --enable-extensions=default,inspector
to my TB .mozconfig (following: http://asurkov.blogspot.de/2013/02/build-dom-inspector.html) but that didn't build it.
Assignee | ||
Comment 7•8 years ago
|
||
I have ac_add_options --enable-extensions="inspector" and it builds. I think the "default" isn't needed as it works without it here. You could also only monkey patch the file directly in the extension folder of your profile.
![]() |
||
Updated•8 years ago
|
Blocks: 2.49BulkMalfunctions
Comment on attachment 8805832 [details] [diff] [review]
noglobal.patch
One of the things loading the overlay globalOverlay.xul did was to pull in globalOverlay.js
This seems fine for SeaMonkey as their utilityOverlay.xul loads globalOverlay.js thus dealing with things like cmd_quit, but does Thunderbird load it in some other way?
Flags: needinfo?(richard.marti)
Comment 9•8 years ago
|
||
Is the DOM inspector still maintained? Would it be better to stop shipping it altogether now the devtools inspector is included?
Flags: needinfo?(philipp)
Reporter | ||
Comment 10•8 years ago
|
||
It's an add-on for TB. And I like to use it. What do you mean by "stop shipping it" since we don't ship it in the first place. What am I missing?
Comment 11•8 years ago
|
||
(In reply to Jorg K (GMT+1) from comment #10)
> It's an add-on for TB. And I like to use it. What do you mean by "stop
> shipping it" since we don't ship it in the first place. What am I missing?
Ah, you're right, my bad. As we pull it with every client.py, I'd completely forgotten it was an addon I had once installed manually ;)
Flags: needinfo?(philipp)
Reporter | ||
Comment 12•8 years ago
|
||
(In reply to Ian Neal from comment #8)
> ... to pull in globalOverlay.js ..., ... does
> Thunderbird load it in some other way?
https://dxr.mozilla.org/comm-central/search?q=globalOverlay.js&redirect=false
We seem to load it left, right and centre. What am I missing?
Comment 13•8 years ago
|
||
(In reply to Jorg K (GMT+1) from comment #12)
> (In reply to Ian Neal from comment #8)
> > ... to pull in globalOverlay.js ..., ... does
> > Thunderbird load it in some other way?
> https://dxr.mozilla.org/comm-central/search?q=globalOverlay.js&redirect=false
>
> We seem to load it left, right and centre. What am I missing?
Just asking whether any dependencies on globalOverlay.js have been checked when using DOMi with TB.
Assignee | ||
Comment 14•8 years ago
|
||
(In reply to Ian Neal from comment #8)
> Comment on attachment 8805832 [details] [diff] [review]
> noglobal.patch
>
> One of the things loading the overlay globalOverlay.xul did was to pull in
> globalOverlay.js
> This seems fine for SeaMonkey as their utilityOverlay.xul loads
> globalOverlay.js thus dealing with things like cmd_quit, but does
> Thunderbird load it in some other way?
Like Jörg already replied it is loaded on a lot of places. Using DOMi on a daily base it is working for me like before. At least where I am using it.
Flags: needinfo?(richard.marti)
Assignee | ||
Comment 15•8 years ago
|
||
(In reply to aleth [:aleth] from comment #9)
> Is the DOM inspector still maintained? Would it be better to stop shipping
> it altogether now the devtools inspector is included?
I hope not. I like it a lot more than the devtools inspector. The devtools inspector for example is showing too much in DOM tree which makes it hard to find the correct entry and to see the parent/childs etc.
Attachment #8805832 -
Flags: review?(iann_bugzilla) → review+
Assignee | ||
Comment 16•8 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 53.0
![]() |
||
Comment 17•8 years ago
|
||
I also like DOM Inspector and rely on it daily. But is not working fully for some time, e.g. I can't any longer click on elements to inspect and it is producing errors in the console. It probably needs a new release accommodating the recent changes in m-c.
![]() |
||
Comment 18•8 years ago
|
||
(In reply to :aceman from comment #17)
> I also like DOM Inspector and rely on it daily. But is not working fully for
> some time, e.g. I can't any longer click on elements to inspect and it is
> producing errors in the console. It probably needs a new release
> accommodating the recent changes in m-c.
Care to file bugs with the error messages? Patches would also be nice.
Flags: needinfo?(acelists)
![]() |
||
Comment 19•8 years ago
|
||
> Care to file bugs with the error messages? Patches would also be nice.
It seems the current trunk is better, clicking element works and does not reference STEEL.
There is just no release containing these fixes.
Flags: needinfo?(acelists)
You need to log in
before you can comment on or make changes to this bug.
Description
•