Closed Bug 948096 Opened 11 years ago Closed 11 years ago

Add a warning when window._content is used

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

(Keywords: addon-compat)

Attachments

(1 file)

This API has been deprecated for nearly a decade now. People should be using window.content instead so we can remove this API. Sadly, there's a lot of copy/paste of _content in extensions, at first glance. Jorge, is it reasonable for us to add a warning here anyway?
Flags: needinfo?(jorge)
OS: Mac OS X → All
Hardware: x86 → All
Version: unspecified → Trunk
And we should make this [ChromeOnly] until it is completely removed, if possible.
Already done, in bug 946564. So no site-compat here.
Keywords: site-compat
I'm totally in favor of adding a warning.
Flags: needinfo?(jorge)
Attachment #8345661 - Flags: review?(myk)
Attachment #8345661 - Flags: review?(bugs)
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Myk, could you look at the webapprt bits?
Whiteboard: [need-review]
Attachment #8345661 - Flags: review?(bugs) → review+
Comment on attachment 8345661 [details] [diff] [review] Warn when people use window._content. r=myk on the webapprt/ bit.
Attachment #8345661 - Flags: review?(myk) → review+
Flags: in-testsuite-
Whiteboard: [need-review]
Target Milestone: --- → mozilla29
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: