Closed Bug 1598940 Opened 5 years ago Closed 4 years ago

[wpt-sync] Sync PR 20421 - Test that EventHandler doesn't support "handleEvent" property

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 20421 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/20421
Details from upstream follow.

Alexey Shvayka <shvaikalesh@gmail.com> wrote:

Test that EventHandler doesn't support "handleEvent" property

WebKit issue: Non-callable "handleEvent" property is silently ignored.

Related: #15105.

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

GitHub CI Results

wpt.fyi PR Results Base Results

Ran 2 tests and 6 subtests

Firefox

OK : 2
PASS : 5

Chrome

OK : 2
PASS : 5

Safari

OK : 2
PASS : 3
FAIL : 2

Existing tests that now have a worse result

/html/webappapis/scripting/events/event-handler-onresize.html
body.onresize should set the window.onload handler: Firefox: PASS->MISSING, Chrome: PASS->MISSING, Safari: PASS->MISSING

Gecko CI Results

Ran 2 tests and 5 subtests
OK : 2
PASS : 5

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bfebd8e617a7
[wpt PR 20421] - HTML: "handleEvent" property of EventHandler is ignored, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.