Open Bug 1801691 Opened 2 years ago Updated 2 years ago

Hide internal children of embed/object elements in MarkupView

Categories

(DevTools :: Inspector, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

()

Details

Attachments

(1 file)

STRs:

  • if needed set to true:
    • browser.opaqueResponseBlocking.syntheticBrowsingContext
    • browser.opaqueResponseBlocking.syntheticBrowsingContext.filter
  • set to false:
    • devtools.inspector.showAllAnonymousContent
  • open https://bug1801691.bmoattachments.org/attachment.cgi?id=9304667
  • inspect the <object> element with the DevTools Inspector

ER:
The markup view should only show the <object> with no children

AR:
The markup view shows the document html body img. They should only be visible when devtools.inspector.showAllAnonymousContent is set to true.

Attached file test_case.html

I also note that currently we can't expand <object> elements which load a cross origin resource.
We should also make sure we can inspect <object type="text/html" data="https://example.com"></object> as if it was an iframe. Will file a separate bug for this.

See Also: → 1801814
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: