[webkit-changes] [WebKit/WebKit] d71134: WritableStreamDefaultController constructor should...

youennf noreply at github.com
Fri Mar 24 09:36:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d711341632f4ca031f5a5d2e6088b21e6a3fb0cc
      https://github.com/WebKit/WebKit/commit/d711341632f4ca031f5a5d2e6088b21e6a3fb0cc
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/streams/writable-streams/constructor.any-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/streams/writable-streams/constructor.any.worker-expected.txt
    M Source/WebCore/Modules/streams/WritableStreamDefaultController.js

  Log Message:
  -----------
  WritableStreamDefaultController constructor should throw if called directly
https://bugs.webkit.org/show_bug.cgi?id=254418
rdar://problem/107185937

Reviewed by Alex Christensen.

Fix the check in initializeWritableStreamDefaultController to make sure the constructor will throw.

* LayoutTests/imported/w3c/web-platform-tests/streams/writable-streams/constructor.any-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/streams/writable-streams/constructor.any.worker-expected.txt:
* Source/WebCore/Modules/streams/WritableStreamDefaultController.js:
(initializeWritableStreamDefaultController):

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




More information about the webkit-changes mailing list