[webkit-changes] [WebKit/WebKit] 5eb788: [JSC] Disable import-assertion since TC39 decides ...

Yusuke Suzuki noreply at github.com
Thu Feb 2 20:17:26 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5eb788706c89464265ecd868717b2ae7c6f9afb6
      https://github.com/WebKit/WebKit/commit/5eb788706c89464265ecd868717b2ae7c6f9afb6
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2023-02-02 (Thu, 02 Feb 2023)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/JavaScriptCore/runtime/OptionsList.h

  Log Message:
  -----------
  [JSC] Disable import-assertion since TC39 decides bringing it back to stage-2
https://bugs.webkit.org/show_bug.cgi?id=251600
rdar://104964116

Reviewed by Michael Saboff.

We found that the current syntax & semantics do not work with CSS / JSON module integration in HTML side,
and it requires drastic changes in import-assertion in both syntax and semantics levels, which means that
the current proposal becomes obsolete / not-shippable state. TC39 discussed about this and decided to
bring import-assertion down to stage-2 from stage-3 to announce that this is not shippable state right now.
This patch disables import-assertion by flipping a runtime flag.

* Source/JavaScriptCore/runtime/OptionsList.h:

Canonical link: https://commits.webkit.org/259795@main




More information about the webkit-changes mailing list