Closed Bug 1728626 Opened 3 years ago Closed 3 years ago

PointerEvent.pointerType should be allowed to be arbitrary

Categories

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

defect

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: saschanaz, Assigned: edgar)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

new PointerEvent("foo", { pointerType: "foo" }).pointerType
// Gecko: ""
// Blink/WebKit: "foo"

The constructor algorithm is just the standard event constructing steps per the spec, which transparently assigns the given dictionary member to the corresponding attribute.

Blocks: pointerevent

Should be easy to fix.

Assignee: nobody → echen
Severity: -- → S3
Priority: -- → P2
Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cfc48f28513f PointerEvent.pointerType should be allowed to be arbitrary from constructor; r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/30334 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: