Closed Bug 1850007 Opened 1 year ago Closed 1 year ago

Inspecting an SVG document doesn't load the overlay correctly

Categories

(DevTools :: Inspector, defect)

defect

Tracking

(firefox-esr102 unaffected, firefox-esr115 unaffected, firefox116 unaffected, firefox117 verified, firefox118 verified)

VERIFIED FIXED
118 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- unaffected
firefox116 --- unaffected
firefox117 --- verified
firefox118 --- verified

People

(Reporter: emilio, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(4 files)

STR:

ER:

  • Overlay shows up.

AR:

  • A black rectangle and serif text show up.
Keywords: regression
Regressed by: 1824886

On an SVG document, createElement() returns an null-namespace element.

Assignee: nobody → emilio
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 1824886

I see this in a clean profile too (the regression range was taken with mozregression).

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5ff813a820f4 Make sure that the highlighter styles are loaded. r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch

The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox117 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)

Comment on attachment 9350150 [details]
Bug 1850007 - Make sure that the highlighter styles are loaded. r=#devtools-reviewers

Beta/Release Uplift Approval Request

  • User impact if declined: Comment 0
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Comment 0
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Trivial fix.
  • String changes made/needed: none
  • Is Android affected?: Yes
Flags: needinfo?(emilio)
Attachment #9350150 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Attachment #9350150 - Flags: approval-mozilla-beta? → approval-mozilla-release?
QA Whiteboard: [qa-triaged]

I have reproduced this issue using Firefox 118.0a1 (2023.08.24) on Windows 10.
I can confirm this issue is fixed, I verified using Firefox 118.0a1 latest nightly on Windows 10.
Note that the inspect a svg element works only for the first time when accessing the test page, both when reproducing and verifying, see attached screenshots. On macOS and Ubuntu I am not able to inspect the svg image. Maybe this is another known issue?

Flags: needinfo?(emilio)

I don't seem to be able to reproduce that on linux. In any case, mind filing a separate bug for that? Thanks.

Flags: needinfo?(emilio) → needinfo?(tzsoldos)

(In reply to Emilio Cobos Álvarez (:emilio) from comment #11)

I don't seem to be able to reproduce that on linux. In any case, mind filing a separate bug for that? Thanks.
Here is the separate bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1850539

Flags: needinfo?(tzsoldos)

I can confirm this issue is fixed, I verified using Firefox 118.0b2 on Windows 10.

Status: RESOLVED → VERIFIED

Comment on attachment 9350150 [details]
Bug 1850007 - Make sure that the highlighter styles are loaded. r=#devtools-reviewers

Approved for 117.0.1

Attachment #9350150 - Flags: approval-mozilla-release? → approval-mozilla-release+

I can confirm this issue is fixed, I verified using Firefox 117.0.1 on Windows 10.

Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: