Open Bug 1624623 Opened 4 years ago Updated 2 years ago

XPathNSResolver throws SyntaxError instead of NamespaceError

Categories

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

defect

Tracking

()

Tracking Status
firefox-esr68 --- affected
firefox78 --- affected

People

(Reporter: shvaikalesh, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15

Steps to reproduce:

WPT: https://github.com/web-platform-tests/wpt/pull/22384

If https://heycam.github.io/webidl/#call-a-user-objects-operation returns abrupt completion, both Safari and Chrome throw NamespaceError. Firefox throws SyntaxError.

Severity: normal → minor
Component: Untriaged → DOM: Bindings (WebIDL)
Depends on: 1624206
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → All
Version: 76 Branch → Trunk
Severity: minor → S3
Component: DOM: Bindings (WebIDL) → DOM: Core & HTML
Priority: -- → P3

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.