Open Bug 1631869 Opened 5 years ago Updated 1 year ago

Remove browser chrome code using window.content

Categories

(Core :: DOM: Core & HTML, task)

task

Tracking

()

People

(Reporter: saschanaz, Unassigned)

References

(Depends on 1 open bug)

Details

window.content is a deprecated attribute, we should get rid of any internal references.

Or not? It seems it can't just be replaced by window.top as they have different lines.

window.content is different from window.top in chrome. AFAICT it is deprecated only in content. I think this bug is INVALID.

Looks like this belongs to Dom:Core & HTML. Feel free to send it back to me if it's not.

Component: General → DOM: Core & HTML
Severity: -- → S3

AFAIK in chrome contexts, window.content is a shorthand for the content window of the current active tab. This doesn't really work because e10s so we really should just remove this

So the remaining window.content usage is guarded by gMultiProcessBrowser.

Depends on: 1108553
You need to log in before you can comment on or make changes to this bug.