New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explicitly mark the background content as non-persistent, so we don't emit a parsing error on iOS. #6310
Conversation
EWS run on current version of this PR (hash f51ac4f) |
"worker/0 TestWebKitAPI.WKWebExtension.BackgroundParsing Passed" |
@@ -594,14 +594,14 @@ | |||
EXPECT_NOT_NULL(matchingError(testExtension.errors, _WKWebExtensionErrorInvalidManifestEntry)); | |||
EXPECT_NULL(matchingError(testExtension.errors, _WKWebExtensionErrorInvalidBackgroundPersistence)); | |||
|
|||
testManifestDictionary[@"background"] = @{ @"service_worker": @"test.js", @"type": @"module" }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we add comments to express what these test cases are for?
This is likely the same reason |
β¦ emit a parsing error on iOS. https://bugs.webkit.org/show_bug.cgi?id=247656 rdar://102116163 Reviewed by Timothy Hatcher. * Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebExtension.mm: (TestWebKitAPI::TEST): Canonical link: https://commits.webkit.org/256546@main
f51ac4f
to
572be02
Compare
Committed 256546@main (572be02): https://commits.webkit.org/256546@main Reviewed commits have been landed. Closing PR #6310 and removing active labels. |
572be02
f51ac4f