[Personal-WP] Port Safari fixes from website package#3221
Merged
Conversation
Port the Safari import retry fix from the website package (#3216) to personal-wp.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation for the change, related issues
Porting recent Safari-related fixes from the website package to personal-wp.
The following PRs were analyzed for porting:
remotepackageno-storeinstead ofno-cache(offline-mode-cache.ts)remotepackage.blob()with.arrayBuffer()blueprints,wordpress-builds,php-wasm/web-service-worker,remote)import()when it fails in SafariOnly #3216 required porting since it modifies
index.htmlwhich is specific to each package.Implementation details
When the initial
import('./src/main')fails, the code retries by:_tsquery parameter with the current timestampThis is the same approach used in the website package.
Testing Instructions (or ideally a Blueprint)