gecko-dev/devtools
Michael Ratcliffe ed1053338d Bug 1522809 - Nodes with name="attributes" break the markup view r=rcaliman
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
2019-02-01 14:03:44 +00:00
..
client Bug 1494318 - Don't map expression bindings when debugger is not paused; r=bgrins. 2019-02-01 15:19:47 +00:00
docs Backed out 8 changesets (bug 1465635) for failures on browser_canvas-actor-test-10.js, browser_target_server_compartment.js CLOSED TREE 2019-01-30 18:54:05 +02:00
platform Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
server Bug 1522809 - Nodes with name="attributes" break the markup view r=rcaliman 2019-02-01 14:03:44 +00:00
shared Bug 1522809 - Nodes with name="attributes" break the markup view r=rcaliman 2019-02-01 14:03:44 +00:00
startup Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
.eslintrc.js Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
.eslintrc.mochitests.js
.eslintrc.xpcshell.js
CODE_OF_CONDUCT.md
moz.build
templates.mozbuild