Closed Bug 937465 Opened 6 years ago Closed 6 years ago

Add a warning when cloneNode/importNode is used without a boolean argument on a node with children

Categories

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

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla28
Tracking Status
firefox28 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

(Keywords: addon-compat, dev-doc-complete, site-compat, Whiteboard: [qa-])

Attachments

(1 file)

This way maybe we can get b2g app authors to not do it.  Assuming they ever look at warnings...
Of course WarnOnceAbout provides no line/file information, so actually fixing anything based on it kinda sucks.  :(
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
https://hg.mozilla.org/integration/mozilla-inbound/rev/adf943f1879e
Flags: in-testsuite-
Target Milestone: --- → mozilla28
https://hg.mozilla.org/mozilla-central/rev/adf943f1879e
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.