Closed Bug 1726705 Opened 3 years ago Closed 3 years ago

node.isDefaultNamespace("") behaves differently in firefox compared with chrome and webkit

Categories

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

Firefox 91
defect

Tracking

()

RESOLVED DUPLICATE of bug 1061578
Tracking Status
firefox91 --- affected
firefox92 --- affected
firefox93 --- affected

People

(Reporter: zyscoder, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36

Steps to reproduce:

(1) Open a tab and navigate to URL: https://youradchoices.com/;
(2) Open the Devtools and evaluate the following code:

document.all[2].isDefaultNamespace("");

(3) Firefox would get a "true" result for this code, but Chrome/Webkit get a "false" value.

Actual results:

Firefox would get a "true" result for this code, but Chrome/Webkit get a "false" value.

Expected results:

Behave the same with Chrome and Webkit

Reproduced on the latest versions of Firefox Nightly 93.0a1 (2021-08-22), beta 92.0b7 and release 91.0.1 on Ubuntu 18.04.
Setting up flags and a severity of S3.

Setting a component for this issue in order to get the dev team involved.
If you feel it's an incorrect one please feel free to change it to a more appropriate one.

Not a recent regression as this issue can be traced back to at least Firefox 70.0.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Component: Untriaged → Console
Ever confirmed: true
Product: Firefox → DevTools

Probably a duplicate of Bug 1061578?

Component: Console → DOM: Core & HTML
Product: DevTools → Core
See Also: → 1061578
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.