mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
ed1053338d
This is another very specific issue. If you have `<img name="attributes"/>` in the dom then `document.attributes` will return the `<img>` tag. In the source we bail if `!this.rawNode.attributes` but if we are on the document node this returns the image tag. Because the image tag is not a `NamedNodeMap` trying to iterate over the tag throws the error. There is a test file [here](https://bugzilla.mozilla.org/attachment.cgi?id=9040577). Differential Revision: https://phabricator.services.mozilla.com/D18340 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
client | ||
docs | ||
platform | ||
server | ||
shared | ||
startup | ||
.eslintrc.js | ||
.eslintrc.mochitests.js | ||
.eslintrc.xpcshell.js | ||
CODE_OF_CONDUCT.md | ||
moz.build | ||
templates.mozbuild |