WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
252474
REGRESSION (
253839@main
): Opening projects broken in Construct 3 web app with Safari TP 163
https://bugs.webkit.org/show_bug.cgi?id=252474
Summary
REGRESSION (253839@main): Opening projects broken in Construct 3 web app with...
Ashley Gullen
Reported
2023-02-17 04:49:30 PST
Created
attachment 465052
[details]
A sample project file that our web app can open This is a major regression that more or less completely breaks our web app Construct 3. Currently only Safari TP 163 is affected - I hope this doesn't make its way to stable! Steps to reproduce: 1. Download sample-project.zip from this bug report 2. Visit
https://editor.construct.net
3. Close/cancel any dialogs that appear 4. Drag and drop sample-project.zip in to the browser window. This will cause the web app to open the dropped file. Observed result: A "Failed to open project" message is shown. A JSON parse error is logged to the console. Expected result: The project file to successfully open. It works correctly in the current main Safari release 16.3, and also in Chrome. It looks like a recent change to Safari broke this.
Attachments
A sample project file that our web app can open
(808.27 KB, application/zip)
2023-02-17 04:49 PST
,
Ashley Gullen
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-02-20 10:20:14 PST
<
rdar://problem/105684987
>
Alexey Proskuryakov
Comment 2
2023-02-22 16:48:02 PST
***
Bug 252664
has been marked as a duplicate of this bug. ***
Ashley Gullen
Comment 3
2023-02-23 02:57:20 PST
This issue is not a duplicate of issue 252474! Please unmerge them or you will likely leave a breaking change in Safari!
Chris Dumez
Comment 4
2023-02-27 10:11:13 PST
253433@main
: GOOD
254508@main
: BAD Will see if I can bisect this.
Chris Dumez
Comment 5
2023-02-27 10:52:34 PST
(In reply to Chris Dumez from
comment #4
)
>
253433@main
: GOOD >
254508@main
: BAD > > Will see if I can bisect this.
Regression range:
https://commits.webkit.org/compare/253849@main...253835@main
Couldn't bisect further.
Chris Dumez
Comment 6
2023-02-27 11:07:54 PST
(In reply to Chris Dumez from
comment #5
)
> (In reply to Chris Dumez from
comment #4
) > >
253433@main
: GOOD > >
254508@main
: BAD > > > > Will see if I can bisect this. > > Regression range: >
https://commits.webkit.org/compare/253849@main...253835@main
> > Couldn't bisect further.
I may have messed up my bisection. Double checking now...
Chris Dumez
Comment 7
2023-02-27 11:36:22 PST
(In reply to Chris Dumez from
comment #6
)
> (In reply to Chris Dumez from
comment #5
) > > (In reply to Chris Dumez from
comment #4
) > > >
253433@main
: GOOD > > >
254508@main
: BAD > > > > > > Will see if I can bisect this. > > > > Regression range: > >
https://commits.webkit.org/compare/253849@main...253835@main
> > > > Couldn't bisect further. > > I may have messed up my bisection. Double checking now...
I think my bisection is correct:
253835@main-1661538933_6bad2b65adc8
: GOOD
253849@main-1661559262_cb2c1049f95b
: BAD
Chris Dumez
Comment 8
2023-02-27 11:38:09 PST
This is a regression from
https://github.com/WebKit/WebKit/commit/c5b77d735efefca6e22d8dfbea5aba69daaf3892
Chris Dumez
Comment 9
2023-02-27 11:39:46 PST
Site may be using the stream compression API somehow.
Brandon
Comment 10
2023-02-27 12:07:48 PST
Just took a quick look. Disabling Compression Streams does seem to resolve the error. I checked in Chrome, and they do not have an issue, and they have Compression Stream support. I'll debug this in depth tonight, and see exactly where the error is happening in WebKit.
Brandon
Comment 11
2023-02-27 17:02:35 PST
Quick fix posted
https://github.com/WebKit/WebKit/pull/10768
. I'll need to look into that a bit more, but just switched to using the zlib library implementation for now while I investigate.
Brandon
Comment 12
2023-02-27 22:12:19 PST
Landed the fix. The site is working properly now based on initial testing.
Ashley Gullen
Comment 13
2023-02-28 03:58:44 PST
Thanks for the quick fix. FYI I think the use of Compression Streams comes from the popular zip-reading library zip.js (
https://gildas-lormeau.github.io/zip.js/
) so I suspect there is a much wider compatibility issue at stake.
Ashley Gullen
Comment 14
2023-03-13 05:16:22 PDT
This issue is marked fixed but it still reproduces for me in Safari TP 165. Please can you tell me if the fix is really going to ship in Safari 16.4 so I know if we need to issue an update to work around this?
Chris Dumez
Comment 15
2023-03-13 07:24:17 PDT
(In reply to Ashley Gullen from
comment #14
)
> This issue is marked fixed but it still reproduces for me in Safari TP 165. > Please can you tell me if the fix is really going to ship in Safari 16.4 so > I know if we need to issue an update to work around this?
The fix landed in
260923@main
. However, per [1], STP 165 only contains fixes up to
260848@main
. [1]
https://webkit.org/blog/13932/release-notes-for-safari-technology-preview-165/
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