bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

DOMWalker uses function.call to apply hooks on the DOM nodes being processed

RESOLVED WONTFIX

Status

Mozilla QA
Mozmill Tests
RESOLVED WONTFIX
4 years ago
2 years ago

People

(Reporter: cosmin, Unassigned, Mentored)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [lang=js])

(Reporter)

Description

4 years ago
DOMWalker uses function.call to apply hooks on the DOM nodes being processed. This causes confusions in places where we use the DOMWalker API because this is not something that a consumer can assume or know.
So the hooks should have an argument, which would be the DOM node, and they should be called directly without call.

http://hg.mozilla.org/qa/mozmill-tests/file/907d141f2822/lib/dom-utils.js#l250
Mentor: hskupin
Whiteboard: [lang=js]
Mozmill tests are no longer in use. So closing this bug.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.