[Webkit-unassigned] [Bug 260128] New: ASSERTION FAILED: isAllowedByContentSecurityPolicy(request.url(), ContentSecurityPolicy::RedirectResponseReceived::No) for http/wpt/workers/modules/shared-worker-import-csp.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 13 13:06:29 PDT 2023


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

            Bug ID: 260128
           Summary: ASSERTION FAILED:
                    isAllowedByContentSecurityPolicy(request.url(),
                    ContentSecurityPolicy::RedirectResponseReceived::No)
                    for
                    http/wpt/workers/modules/shared-worker-import-csp.html
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com

After 266801 at main (bug#260005) added the following tests, the tests are failing an assertion

  http/wpt/workers/modules/dedicated-worker-import-csp.html
  http/wpt/workers/modules/shared-worker-import-csp.html

https://results.webkit.org/?suite=layout-tests&suite=layout-tests&test=http%2Fwpt%2Fworkers%2Fmodules%2Fshared-worker-import-csp.html&test=http%2Fwpt%2Fworkers%2Fmodules%2Fdedicated-worker-import-csp.html

ASSERTION FAILED: isAllowedByContentSecurityPolicy(request.url(), ContentSecurityPolicy::RedirectResponseReceived::No)
/Volumes/Data/worker/macOS-AppleSilicon-Ventura-Debug-Build-EWS/build/Source/WebCore/loader/DocumentThreadableLoader.cpp(148) : WebCore::DocumentThreadableLoader::DocumentThreadableLoader(WebCore::Document &, WebCore::ThreadableLoaderClient &, WebCore::DocumentThreadableLoader::BlockingBehavior, WebCore::ResourceRequest &&, const WebCore::ThreadableLoaderOptions &, RefPtr<WebCore::SecurityOrigin> &&, std::unique_ptr<ContentSecurityPolicy> &&, std::optional<CrossOriginEmbedderPolicy> &&, WTF::String &&, WebCore::DocumentThreadableLoader::ShouldLogError)
1   0x13471c2d8 WTFCrash
2   0x13471c2f4 WTFIsDebuggerAttached
3   0x14f7321c0 WebCore::DocumentThreadableLoader::DocumentThreadableLoader(WebCore::Document&, WebCore::ThreadableLoaderClient&, WebCore::DocumentThreadableLoader::BlockingBehavior, WebCore::ResourceRequest&&, WebCore::ThreadableLoaderOptions const&, WTF::RefPtr<WebCore::SecurityOrigin, WTF::RawPtrTraits<WebCore::SecurityOrigin>, WTF::DefaultRefDerefTraits<WebCore::SecurityOrigin>>&&, std::__1::unique_ptr<WebCore::ContentSecurityPolicy, std::__1::default_delete<WebCore::ContentSecurityPolicy>>&&, std::__1::optional<WebCore::CrossOriginEmbedderPolicy>&&, WTF::String&&, WebCore::DocumentThreadableLoader::ShouldLogError)
4   0x14f7317a8 WebCore::DocumentThreadableLoader::DocumentThreadableLoader(WebCore::Document&, WebCore::ThreadableLoaderClient&, WebCore::DocumentThreadableLoader::BlockingBehavior, WebCore::ResourceRequest&&, WebCore::ThreadableLoaderOptions const&, WTF::RefPtr<WebCore::SecurityOrigin, WTF::RawPtrTraits<WebCore::SecurityOrigin>, WTF::DefaultRefDerefTraits<WebCore::SecurityOrigin>>&&, std::__1::unique_ptr<WebCore::ContentSecurityPolicy, std::__1::default_delete<WebCore::ContentSecurityPolicy>>&&, std::__1::optional<WebCore::CrossOriginEmbedderPolicy>&&, WTF::String&&, WebCore::DocumentThreadableLoader::ShouldLogError)
5   0x14f731a04 WebCore::DocumentThreadableLoader::create(WebCore::Document&, WebCore::ThreadableLoaderClient&, WebCore::ResourceRequest&&, WebCore::ThreadableLoaderOptions const&, WTF::RefPtr<WebCore::SecurityOrigin, WTF::RawPtrTraits<WebCore::SecurityOrigin>, WTF::DefaultRefDerefTraits<WebCore::SecurityOrigin>>&&, std::__1::unique_ptr<WebCore::ContentSecurityPolicy, std::__1::default_delete<WebCore::ContentSecurityPolicy>>&&, std::__1::optional<WebCore::CrossOriginEmbedderPolicy>&&, WTF::String&&, WebCore::DocumentThreadableLoader::ShouldLogError)
6   0x14f85d7e0 WebCore::WorkerThreadableLoader::MainThreadBridge::MainThreadBridge(WebCore::ThreadableLoaderClientWrapper&, WebCore::WorkerLoaderProxy&, WebCore::ProcessQualified<WTF::UUID>, WTF::String const&, WebCore::ResourceRequest&&, WebCore::ThreadableLoaderOptions const&, WTF::String const&, WebCore::WorkerOrWorkletGlobalScope&)::$_9::operator()(WebCore::ScriptExecutionContext&)
7   0x14f85d5e0 WTF::Detail::CallableWrapper<WebCore::WorkerThreadableLoader::MainThreadBridge::MainThreadBridge(WebCore::ThreadableLoaderClientWrapper&, WebCore::WorkerLoaderProxy&, WebCore::ProcessQualified<WTF::UUID>, WTF::String const&, WebCore::ResourceRequest&&, WebCore::ThreadableLoaderOptions const&, WTF::String const&, WebCore::WorkerOrWorkletGlobalScope&)::$_9, void, WebCore::ScriptExecutionContext&>::call(WebCore::ScriptExecutionContext&)
8   0x14df90ac0 WTF::Function<void (WebCore::ScriptExecutionContext&)>::operator()(WebCore::ScriptExecutionContext&) const
9   0x14df7fe20 WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&)
10  0x14ebce1fc WebCore::Document::postTask(WebCore::ScriptExecutionContext::Task&&)::$_28::operator()()
11  0x14ebce008 WTF::Detail::CallableWrapper<WebCore::Document::postTask(WebCore::ScriptExecutionContext::Task&&)::$_28, void>::call()
12  0x1347446bc WTF::Function<void ()>::operator()() const
13  0x1347d7d7c WTF::RunLoop::performWork()
14  0x1347dc31c WTF::RunLoop::performWork(void*)
15  0x198e6663c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
16  0x198e665d0 __CFRunLoopDoSource0
17  0x198e66340 __CFRunLoopDoSources0
18  0x198e64f48 __CFRunLoopRun
19  0x198e644b8 CFRunLoopRunSpecific
20  0x199dddfcc -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
21  0x199e56ccc -[NSRunLoop(NSRunLoop) run]
22  0x198ad6594 _xpc_objc_main
23  0x198ad5eb4 xpc_main
24  0x116d284cc WebKit::XPCServiceMain(int, char const**)
25  0x118d0edc4 WKXPCServiceMain
26  0x1007fbfa0 main
27  0x198a2ff28 start
com.apple.WebKit.WebContent.Development terminated (pid 6862) for reason: crash
LEAK: 2 WebPageProxy

-- 
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/20230813/775f5015/attachment-0001.htm>


More information about the webkit-unassigned mailing list