-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Add onbeforeinput global event handler attribute"
This reverts commit 1771acb252e1265ba2c935e5662c912f1a40c4f4. Reason for revert: Maybe caused event-handler-attributes-body-window.html failure https://ci.chromium.org/p/chromium/builders/ci/Mac10.13%20Tests/53607 Original change's description: > Add onbeforeinput global event handler attribute > > See [1] for the landed spec PR, and [2] for the intent to ship. > > This adds `onbeforeinput` as a global event handler content attribute, > to allow easy access to the 'beforeinput' event handler. > > [1] whatwg/html#7992 > [2] https://groups.google.com/a/chromium.org/g/blink-dev/c/hOhg-Rw6qww > > Fixed: 947408 > Change-Id: I6290253eab2bbfb652e8d3e17e4be655da9ccde5 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3749794 > Commit-Queue: Kent Tamura <[email protected]> > Reviewed-by: Kent Tamura <[email protected]> > Auto-Submit: Mason Freed <[email protected]> > Reviewed-by: Xiaocheng Hu <[email protected]> > Cr-Commit-Position: refs/heads/main@{#1023420} Change-Id: Id4fdd3887cce72d682a819c4d0d55ee1f529f2c7 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3758285 Auto-Submit: Keishi Hattori <[email protected]> Owners-Override: Keishi Hattori <[email protected]> Bot-Commit: Rubber Stamper <[email protected]> Reviewed-by: Keishi Hattori <[email protected]> Commit-Queue: Keishi Hattori <[email protected]> Cr-Commit-Position: refs/heads/main@{#1023523} NOKEYCHECK=True GitOrigin-RevId: fd399d2e58b2581fc5e72ed0d8831533a949499e
- Loading branch information
1 parent
fde4967
commit 2b76e41
Showing
15 changed files
with
19 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...sts/platform/generic/external/wpt/html/semantics/forms/beforeinput.tentative-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
This is a testharness.js-based test. | ||
FAIL <input type="text" onbeforeinput="onBeforeInput(event)" oninput="onInput(event)"> assert_array_equals: Got expected events lengths differ, expected array ["beforeinput", "input"] length 2, got ["input"] length 1 | ||
FAIL <input type="text"> assert_array_equals: Got expected events lengths differ, expected array ["beforeinput", "input"] length 2, got ["input"] length 1 | ||
FAIL <input type="search" onbeforeinput="onBeforeInput(event)" oninput="onInput(event)"> assert_array_equals: Got expected events lengths differ, expected array ["beforeinput", "input"] length 2, got ["input"] length 1 | ||
FAIL <input type="search"> assert_array_equals: Got expected events lengths differ, expected array ["beforeinput", "input"] length 2, got ["input"] length 1 | ||
FAIL <input type="tel" onbeforeinput="onBeforeInput(event)" oninput="onInput(event)"> assert_array_equals: Got expected events lengths differ, expected array ["beforeinput", "input"] length 2, got ["input"] length 1 | ||
FAIL <input type="tel"> assert_array_equals: Got expected events lengths differ, expected array ["beforeinput", "input"] length 2, got ["input"] length 1 | ||
FAIL <input type="url" onbeforeinput="onBeforeInput(event)" oninput="onInput(event)"> assert_array_equals: Got expected events lengths differ, expected array ["beforeinput", "input"] length 2, got ["input"] length 1 | ||
FAIL <input type="url"> assert_array_equals: Got expected events lengths differ, expected array ["beforeinput", "input"] length 2, got ["input"] length 1 | ||
FAIL <input type="email" onbeforeinput="onBeforeInput(event)" oninput="onInput(event)"> assert_array_equals: Got expected events lengths differ, expected array ["beforeinput", "input"] length 2, got ["input"] length 1 | ||
FAIL <input type="email"> assert_array_equals: Got expected events lengths differ, expected array ["beforeinput", "input"] length 2, got ["input"] length 1 | ||
FAIL <input type="password" onbeforeinput="onBeforeInput(event)" oninput="onInput(event)"> assert_array_equals: Got expected events lengths differ, expected array ["beforeinput", "input"] length 2, got ["input"] length 1 | ||
FAIL <input type="password"> assert_array_equals: Got expected events lengths differ, expected array ["beforeinput", "input"] length 2, got ["input"] length 1 | ||
FAIL <input type="number" onbeforeinput="onBeforeInput(event)" oninput="onInput(event)"> assert_array_equals: Got expected events lengths differ, expected array ["beforeinput", "input"] length 2, got ["input"] length 1 | ||
FAIL <input type="number"> assert_array_equals: Got expected events lengths differ, expected array ["beforeinput", "input"] length 2, got ["input"] length 1 | ||
FAIL <textarea onbeforeinput="onBeforeInput(event)" oninput="onInput(event)"></textarea> assert_array_equals: Got expected events lengths differ, expected array ["beforeinput", "input"] length 2, got ["input"] length 1 | ||
FAIL <textarea></textarea> assert_array_equals: Got expected events lengths differ, expected array ["beforeinput", "input"] length 2, got ["input"] length 1 | ||
Harness: the test ran to completion. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters