Closed Bug 1879325 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 44472 - UIEvents: Test the textInput event

Categories

(Core :: DOM: Events, task, P4)

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

zcorpan <zcorpan@gmail.com> wrote:

UIEvents: Test the textInput event

See https://github.com/w3c/uievents/pull/362

Component: web-platform-tests → DOM: Events
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 8 tests and 2 subtests

Status Summary

Firefox

OK : 8
PASS: 269
FAIL: 12

Chrome

OK : 8
PASS: 279
FAIL: 2

Safari

OK : 8
PASS: 274
FAIL: 7

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /uievents/textInput/api.html [wpt.fyi]
    • No constructor: FAIL
    • document.CreateEvent('TextEvent') prototype chain: FAIL
    • initTextEvent('foo'): FAIL
    • initTextEvent('foo', true, true, window, 'bar'): FAIL
    • case sensitivity: textInput vs textinput: FAIL

New Tests That Don't Pass

  • /uievents/idlharness.window.html [wpt.fyi]
    • MouseEvent interface: attribute layerX: FAIL (Chrome: PASS, Safari: FAIL)
    • MouseEvent interface: attribute layerY: FAIL (Chrome: PASS, Safari: FAIL)
  • /uievents/textInput/api.html [wpt.fyi]
    • No constructor: FAIL (Chrome: PASS, Safari: PASS)
    • document.CreateEvent('TextEvent') prototype chain: FAIL (Chrome: PASS, Safari: PASS)
    • initTextEvent('foo'): FAIL (Chrome: PASS, Safari: PASS)
    • initTextEvent('foo', true, true, window, 'bar'): FAIL (Chrome: PASS, Safari: PASS)
    • case sensitivity: textInput vs textinput: FAIL (Chrome: PASS, Safari: PASS)
  • /uievents/textInput/basic.html [wpt.fyi]
    • textInput: basic, <input>: FAIL (Chrome: PASS, Safari: FAIL)
    • textInput: basic, <textarea>: FAIL (Chrome: PASS, Safari: FAIL)
    • textInput: basic, <div contenteditable="true">: FAIL (Chrome: PASS, Safari: FAIL)
  • /uievents/textInput/enter-textarea-contenteditable.html [wpt.fyi]
    • textInput: Enter key for textarea and contenteditable, <textarea>: FAIL (Chrome: PASS, Safari: FAIL)
    • textInput: Enter key for textarea and contenteditable, <div contenteditable="true">: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/23dd9d8452e8 [wpt PR 44472] - UIEvents: Test the textInput event, a=testonly https://hg.mozilla.org/integration/autoland/rev/1b742ed5c9ce [wpt PR 44472] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.