Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9e49f1749881fc5815b407d68df6ce03c46b9e29
      
https://github.com/WebKit/WebKit/commit/9e49f1749881fc5815b407d68df6ce03c46b9e29
  Author: Youenn Fablet <[email protected]>
  Date:   2025-02-07 (Fri, 07 Feb 2025)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/fs/FileSystemWritableFileStream-write.https.any-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/fs/FileSystemWritableFileStream-write.https.any.worker-expected.txt
    M Source/WebCore/Modules/filesystemaccess/FileSystemWritableFileStream.h
    M 
Source/WebCore/Modules/filesystemaccess/FileSystemWritableFileStreamSink.cpp

  Log Message:
  -----------
  Use SyntaxError for missing parameters in FileSystemWritableFileStream.write 
to follow other User Agents
rdar://144245491
https://bugs.webkit.org/show_bug.cgi?id=287097

Reviewed by Sihui Liu.

We align with other User Agents by rejecting the promise with a SyntaxError if 
there are missing parameters for truncate and seek.
Small refactoring to make that easier.r

* 
LayoutTests/imported/w3c/web-platform-tests/fs/FileSystemWritableFileStream-write.https.any-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/fs/FileSystemWritableFileStream-write.https.any.worker-expected.txt:
* Source/WebCore/Modules/filesystemaccess/FileSystemWritableFileStream.h:
* Source/WebCore/Modules/filesystemaccess/FileSystemWritableFileStreamSink.cpp:
(WebCore::writeParamsFromChunk):
(WebCore::FileSystemWritableFileStreamSink::write):

Originally-landed-as: b9193fdd8b2d. rdar://144245491
Canonical link: https://commits.webkit.org/289995@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to