[Webkit-unassigned] [Bug 163242] New: ASSERTION FAILED: canvas()->securityOrigin()->toString() == cachedImage.origin()->toString()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 10 14:38:38 PDT 2016


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

            Bug ID: 163242
           Summary: ASSERTION FAILED:
                    canvas()->securityOrigin()->toString() ==
                    cachedImage.origin()->toString()
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ryanhaddad at apple.com

Encountered on El Capitan Debug WK2 with LayoutTest http/tests/security/canvas-remote-read-data-url-image.html

https://build.webkit.org/results/Apple%20El%20Capitan%20Debug%20WK1%20(Tests)/r206999%20(8941)/results.html

ASSERTION FAILED: canvas()->securityOrigin()->toString() == cachedImage.origin()->toString()
/Volumes/Data/slave/elcapitan-debug/build/Source/WebCore/html/canvas/CanvasRenderingContext.cpp(72) : bool WebCore::CanvasRenderingContext::wouldTaintOrigin(const WebCore::HTMLImageElement *)
1   0x101db6790 WTFCrash
2   0x10720c6c4 WebCore::CanvasRenderingContext::wouldTaintOrigin(WebCore::HTMLImageElement const*)
3   0x10721cd8f void WebCore::CanvasRenderingContext::checkOrigin<WebCore::HTMLImageElement>(WebCore::HTMLImageElement const*)
4   0x1072140b8 WebCore::CanvasRenderingContext2D::drawImage(WebCore::HTMLImageElement&, WebCore::FloatRect const&, WebCore::FloatRect const&, WebCore::CompositeOperator const&, WebCore::BlendMode const&, int&)
5   0x1072134fc WebCore::CanvasRenderingContext2D::drawImage(WebCore::HTMLImageElement&, WebCore::FloatRect const&, WebCore::FloatRect const&, int&)
6   0x107213465 WebCore::CanvasRenderingContext2D::drawImage(WebCore::HTMLImageElement&, float, float, float, float, int&)
7   0x10804ea69 WebCore::jsCanvasRenderingContext2DPrototypeFunctionDrawImage2(JSC::ExecState*)
8   0x10803ceec WebCore::jsCanvasRenderingContext2DPrototypeFunctionDrawImage(JSC::ExecState*)
9   0x2b3f63a01028
10  0x10198d5a4 llint_entry
11  0x1019860be vmEntryToJavaScript
12  0x1017677dc JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*)
13  0x1016e503f JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
14  0x100f32b9e JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
15  0x100f32c79 JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, WTF::NakedPtr<JSC::Exception>&)
16  0x100f32ebb JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, WTF::NakedPtr<JSC::Exception>&)
17  0x10802e5fb WebCore::JSMainThreadExecState::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, WTF::NakedPtr<JSC::Exception>&)
18  0x1082bdac4 WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext*, WebCore::Event*)
19  0x10786ca83 WebCore::EventTarget::fireEventListeners(WebCore::Event&, WTF::Vector<WTF::RefPtr<WebCore::RegisteredEventListener>, 1ul, WTF::CrashOnOverflow, 16ul>)
20  0x10786c648 WebCore::EventTarget::fireEventListeners(WebCore::Event&)
21  0x108c45984 WebCore::Node::handleLocalEvents(WebCore::Event&)
22  0x10783b991 WebCore::EventContext::handleLocalEvents(WebCore::Event&) const
23  0x10783c7bc WebCore::dispatchEventInDOM(WebCore::Event&, WebCore::EventPath const&, WebCore::WindowEventContext&)
24  0x10783c4c8 WebCore::EventDispatcher::dispatchEvent(WebCore::Node*, WebCore::Event&)
25  0x108c459dd WebCore::Node::dispatchEvent(WebCore::Event&)
26  0x107c18921 WebCore::HTMLImageLoader::dispatchLoadEvent()
27  0x107e27835 WebCore::ImageLoader::dispatchPendingLoadEvent()
28  0x107e27756 WebCore::ImageLoader::dispatchPendingEvent(WebCore::EventSender<WebCore::ImageLoader>*)
29  0x107e27eea WebCore::EventSender<WebCore::ImageLoader>::dispatchPendingEvents()
30  0x107e27951 WebCore::ImageLoader::dispatchPendingLoadEvents()
31  0x10768dc77 WebCore::Document::implicitClose()

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161010/ee9a5e8b/attachment-0001.html>


More information about the webkit-unassigned mailing list