Bug 223488
| Summary: | [ macOS wk2 Release ARM64 ] 3 http/wpt/beacon/cors/cors-preflight-blob are flakey text failures | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Robert Jenner <jenner> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | achristensen, cdumez, webkit-bot-watchers-bugzilla, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Robert Jenner
http/wpt/beacon/cors/cors-preflight-blob-failure.html
http/wpt/beacon/cors/cors-preflight-blob-success.html
http/wpt/beacon/cors/cors-preflight-redirect-success.html
are flakey text failures in macOS BigSur Release wk2 on Apple Silicon Only.
HISTORY URL:
https://results.webkit.org/?suite=layout-tests&suite=layout-tests&suite=layout-tests&test=http%2Fwpt%2Fbeacon%2Fcors%2Fcors-preflight-blob-failure.html&test=http%2Fwpt%2Fbeacon%2Fcors%2Fcors-preflight-blob-success.html&test=http%2Fwpt%2Fbeacon%2Fcors%2Fcors-preflight-redirect-success.html&architecture=arm64
All three tests appear to have the same Text DIFF Failure:
+FAIL CORS preflight failure test assert_equals: Preflight referer header expected "http://localhost:8800/WebKit/beacon/cors/cors-preflight-blob-failure.html" but got "http://localhost:8800/"
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/75597467>
Robert Jenner
Updated test expectations to Pass Failure due to test's flakiness:
https://trac.webkit.org/changeset/274690/webkit
Robert Jenner
Failures only occur on Apple Silicon Macs, and as such I cannot reproduce the failures, or track down a regression point as I do not have access to an Apple Silicon Mac.
Alex Christensen
On my Apple Silicon Mac I can't reproduce this failure.
Chris Dumez
I don't have access to an M1 but it is hard to imagine such failure would be specific to M1.
I tried reproducing on my Intel machine like so:
run-webkit-tests http/wpt/beacon/cors/cors-preflight-blob-failure.html --repeat-each=100 -gf
Did not reproduce though.
Chris Dumez
Normally, the Referer header for beacon loads gets set like so:
LOGGING: newOutgoingReferrer is http://localhost:8800/WebKit/beacon/cors/cors-preflight-blob-failure.html
1 0x11d1c0dc3 WebCore::updateRequestReferrer(WebCore::ResourceRequest&, WebCore::ReferrerPolicy, WTF::String const&)
2 0x11d35b103 WebCore::CachedResourceRequest::updateReferrerAndOriginHeaders(WebCore::FrameLoader&)
3 0x11d35b04e WebCore::CachedResourceLoader::updateHTTPRequestHeaders(WebCore::FrameLoader&, WebCore::CachedResource::Type, WebCore::CachedResourceRequest&)
4 0x11d356787 WebCore::CachedResourceLoader::requestResource(WebCore::CachedResource::Type, WebCore::CachedResourceRequest&&, WebCore::CachedResourceLoader::ForPreload, WebCore::ImageLoading)
5 0x11d358ad1 WebCore::CachedResourceLoader::requestBeaconResource(WebCore::CachedResourceRequest&&)
6 0x11b47fa7f WebCore::NavigatorBeacon::sendBeacon(WebCore::Document&, WTF::String const&, WTF::Optional<WTF::Variant<WTF::RefPtr<WebCore::Blob, WTF::RawPtrTraits<WebCore::Blob>, WTF::DefaultRefDerefTraits<WebCore::Blob> >, WTF::RefPtr<JSC::ArrayBufferView, WTF::RawPtrTraits<JSC::ArrayBufferView>, WTF::DefaultRefDerefTraits<JSC::ArrayBufferView> >, WTF::RefPtr<JSC::ArrayBuffer, WTF::RawPtrTraits<JSC::ArrayBuffer>, WTF::DefaultRefDerefTraits<JSC::ArrayBuffer> >, WTF::RefPtr<WebCore::DOMFormData, WTF::RawPtrTraits<WebCore::DOMFormData>, WTF::DefaultRefDerefTraits<WebCore::DOMFormData> >, WTF::RefPtr<WebCore::URLSearchParams, WTF::RawPtrTraits<WebCore::URLSearchParams>, WTF::DefaultRefDerefTraits<WebCore::URLSearchParams> >, WTF::RefPtr<WebCore::ReadableStream, WTF::RawPtrTraits<WebCore::ReadableStream>, WTF::DefaultRefDerefTraits<WebCore::ReadableStream> >, WTF::String> >&&)
7 0x11b4801db WebCore::NavigatorBeacon::sendBeacon(WebCore::Navigator&, WebCore::Document&, WTF::String const&, WTF::Optional<WTF::Variant<WTF::RefPtr<WebCore::Blob, WTF::RawPtrTraits<WebCore::Blob>, WTF::DefaultRefDerefTraits<WebCore::Blob> >, WTF::RefPtr<JSC::ArrayBufferView, WTF::RawPtrTraits<JSC::ArrayBufferView>, WTF::DefaultRefDerefTraits<JSC::ArrayBufferView> >, WTF::RefPtr<JSC::ArrayBuffer, WTF::RawPtrTraits<JSC::ArrayBuffer>, WTF::DefaultRefDerefTraits<JSC::ArrayBuffer> >, WTF::RefPtr<WebCore::DOMFormData, WTF::RawPtrTraits<WebCore::DOMFormData>, WTF::DefaultRefDerefTraits<WebCore::DOMFormData> >, WTF::RefPtr<WebCore::URLSearchParams, WTF::RawPtrTraits<WebCore::URLSearchParams>, WTF::DefaultRefDerefTraits<WebCore::URLSearchParams> >, WTF::RefPtr<WebCore::ReadableStream, WTF::RawPtrTraits<WebCore::ReadableStream>, WTF::DefaultRefDerefTraits<WebCore::ReadableStream> >, WTF::String> >&&)
8 0x11a84a84f WebCore::jsNavigatorPrototypeFunction_sendBeaconBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSNavigator*)
9 0x11a84a40c long long WebCore::IDLOperation<WebCore::JSNavigator>::call<&(WebCore::jsNavigatorPrototypeFunction_sendBeaconBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSNavigator*)), (WebCore::CastedThisErrorBehavior)0>(JSC::JSGlobalObject&, JSC::CallFrame&, char const*)
10 0x11a849b14 WebCore::jsNavigatorPrototypeFunction_sendBeacon(JSC::JSGlobalObject*, JSC::CallFrame*)