WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
188629
Constructing a custom element should immediately execute microtasks if there are no scripts
https://bugs.webkit.org/show_bug.cgi?id=188629
Summary
Constructing a custom element should immediately execute microtasks if there ...
Ryosuke Niwa
Reported
2018-08-15 20:54:11 PDT
Via step 6.2. of
https://dom.spec.whatwg.org/#concept-create-element
to step 13.2. of
https://heycam.github.io/webidl/#construct-a-callback-function
to step 3 of
https://html.spec.whatwg.org/multipage/webappapis.html#clean-up-after-running-script
we should be executing microtasks immediately after constructing a custom element. This bug was caught by a test case in LayoutTests/imported/w3c/web-platform-tests/custom-elements/microtasks-and-constructors.html
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2022-07-06 13:10:19 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/2132
EWS
Comment 2
2022-07-06 14:56:16 PDT
Committed
252190@main
(e7be2359033b): <
https://commits.webkit.org/252190@main
> Reviewed commits have been landed. Closing PR #2132 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2022-07-06 14:57:13 PDT
<
rdar://problem/96550519
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug