[Webkit-unassigned] [Bug 278990] Worker cannot read File when "CSP: sandbox allow-scripts" is enabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 3 23:46:01 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=278990

--- Comment #1 from Karl Dubost <karlcow at apple.com> ---
Tested in 
Safari Technology Preview  202           20620.1.2
Firefox Nightly            131.0a1       13124.8.23
Google Chrome Canary       130.0.6680.0  6680.0


Safari

[Log] hi from worker (fd1c2293-b9c3-409a-94a2-2e869d5d45c8, line 2)
[Log] got file (testcase.html, line 25)
[Log] read file in main thread: – "3c 21 44 4f 43 54 59 50 45 20" (testcase.html, line 28)
[Log] worker received message – {file: File} (fd1c2293-b9c3-409a-94a2-2e869d5d45c8, line 4)
{file: File}Object
[Log] read file in worker: – "3c 21 44 4f 43 54 59 50 45 20" (fd1c2293-b9c3-409a-94a2-2e869d5d45c8, line 6)


Firefox

hi from worker 5b9674ee-90ce-4170-940a-adfeb846d2a6:2:15
got file testcase.html:25:15
read file in main thread: 3c 21 44 4f 43 54 59 50 45 20 testcase.html:28:15
worker received message 
Object { file: File }
5b9674ee-90ce-4170-940a-adfeb846d2a6:4:17
read file in worker: 3c 21 44 4f 43 54 59 50 45 20 5b9674ee-90ce-4170-940a-adfeb846d2a6:6:17



Chrome

hi from worker
testcase.html:25 got file
testcase.html:28 read file in main thread: 3c 21 44 4f 43 54 59 50 45 20
8c423481-6b4f-47b4-aa9a-b8b1bb704ab3:4 worker received message {file: File}
8c423481-6b4f-47b4-aa9a-b8b1bb704ab3:6 read file in worker: 3c 21 44 4f 43 54 59 50 45 20


Jacob,
which safari version did you use?
Is it fixed for you with STP 202?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240904/2456cad4/attachment-0001.htm>


More information about the webkit-unassigned mailing list