Closed Bug 1434155 Opened 7 years ago Closed 7 years ago

Remove (safe) innerHTML in RDM's Browser component

Categories

(DevTools :: Responsive Design Mode, enhancement, P3)

enhancement

Tracking

(firefox60 fixed)

RESOLVED FIXED
Firefox 60
Tracking Status
firefox60 --- fixed

People

(Reporter: jryans, Assigned: jryans)

References

Details

Attachments

(2 files)

Once DevTools upgrades to React 16, it should be possible for the Browser component to move away from `innerHTML`. It's currently used only because React before 16 doesn't allow non-standard attributes. Actions to take: 1. Convert Browser component to return normal React DOM components 2. Remove `document.allowUnsafeHTML = true;`
Assignee: nobody → jryans
Status: NEW → ASSIGNED
Attachment #8950730 - Flags: review?(gl) → review+
Attachment #8950731 - Flags: review?(gl) → review+
Pushed by jryans@gmail.com: https://hg.mozilla.org/integration/autoland/rev/4d777d5f3adc Create RDM viewport as iframe component. r=gl https://hg.mozilla.org/integration/autoland/rev/e27e05f77f82 Remove extra container around RDM browser. r=gl
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
Blocks: 1444394
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: