Closed Bug 1323715 Opened 7 years ago Closed 7 years ago

stylo: several tests fatally assert with "stylo: CSS.supports() with arguments is not yet implemented"

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
firefox54 --- fixed

People

(Reporter: heycam, Assigned: heycam)

References

Details

Attachments

(1 file)

#0  0x00007fffe6cd4698 in mozilla::dom::CSS::Supports (aGlobal=..., aCondition=..., aRv=...) at /z/stylo/hg-incubator/layout/style/CSS.cpp:90
#1  0x00007fffe4bcf53e in mozilla::dom::CSSBinding::supports (cx=0x7fffdd99d000, argc=1, vp=0x7fffd5428110) at /z/stylo/hg-incubator/obj/dom/bindings/CSSBinding.cpp:37
#2  0x00007fffe96a761d in js::CallJSNative (cx=0x7fffdd99d000, native=0x7fffe4bcf370 <mozilla::dom::CSSBinding::supports(JSContext*, unsigned int, JS::Value*)>, args=...) at /z/stylo/hg-incubator/js/src/jscntxtinlines.h:239
#3  0x00007fffe968b470 in js::InternalCallOrConstruct (cx=0x7fffdd99d000, args=..., construct=js::NO_CONSTRUCT) at /z/stylo/hg-incubator/js/src/vm/Interpreter.cpp:457
#4  0x00007fffe968b86f in InternalCall (cx=0x7fffdd99d000, args=...) at /z/stylo/hg-incubator/js/src/vm/Interpreter.cpp:502
#5  0x00007fffe968b66d in js::CallFromStack (cx=0x7fffdd99d000, args=...) at /z/stylo/hg-incubator/js/src/vm/Interpreter.cpp:508
#6  0x00007fffe967fe76 in Interpret (cx=0x7fffdd99d000, state=...) at /z/stylo/hg-incubator/js/src/vm/Interpreter.cpp:2919
#7  0x00007fffe96752d0 in js::RunScript (cx=0x7fffdd99d000, state=...) at /z/stylo/hg-incubator/js/src/vm/Interpreter.cpp:403
#8  0x00007fffe968b568 in js::InternalCallOrConstruct (cx=0x7fffdd99d000, args=..., construct=js::NO_CONSTRUCT) at /z/stylo/hg-incubator/js/src/vm/Interpreter.cpp:475
#9  0x00007fffe968b86f in InternalCall (cx=0x7fffdd99d000, args=...) at /z/stylo/hg-incubator/js/src/vm/Interpreter.cpp:502
#10 0x00007fffe968b8e6 in js::Call (cx=0x7fffdd99d000, fval=..., thisv=..., args=..., rval=...) at /z/stylo/hg-incubator/js/src/vm/Interpreter.cpp:521
#11 0x00007fffe937d1b0 in JS::Call (cx=0x7fffdd99d000, thisv=..., fval=..., args=..., rval=...) at /z/stylo/hg-incubator/js/src/jsapi.cpp:2830
#12 0x00007fffe554405f in mozilla::dom::EventHandlerNonNull::Call (this=0x7fffd189c540, cx=0x7fffdd99d000, aThisVal=..., event=..., aRetVal=..., aRv=...) at /z/stylo/hg-incubator/obj/dom/bindings/EventHandlerBinding.cpp:259
#13 0x00007fffe5b85760 in mozilla::dom::EventHandlerNonNull::Call<nsISupports*> (this=0x7fffd189c540, thisVal=@0x7fffb7fa89b8: 0x7fffb45de000, event=..., aRetVal=..., aRv=..., aExecutionReason=0x7fffeacd9ce3 "EventHandlerNonNull", 
    aExceptionHandling=mozilla::dom::CallbackObject::eReportExceptions, aCompartment=0x0) at /z/stylo/hg-incubator/obj/dist/include/mozilla/dom/EventHandlerBinding.h:361
#14 0x00007fffe5b761c1 in mozilla::JSEventHandler::HandleEvent (this=0x7fffb7fa89a0, aEvent=0x7fffb6b93e60) at /z/stylo/hg-incubator/dom/events/JSEventHandler.cpp:214
#15 0x00007fffe5b60891 in mozilla::EventListenerManager::HandleEventSubType (this=0x7fffc03e44c0, aListener=0x7fffc03e44f0, aDOMEvent=0x7fffb6b93e60, aCurrentTarget=0x7fffb45de000)
    at /z/stylo/hg-incubator/dom/events/EventListenerManager.cpp:1133
#16 0x00007fffe5b60fbe in mozilla::EventListenerManager::HandleEventInternal (this=0x7fffc03e44c0, aPresContext=0x7fffb45cb000, aEvent=0x7fffffffaba0, aDOMEvent=0x7fffffffa870, aCurrentTarget=0x7fffb45de000, aEventStatus=0x7fffffffa878)
    at /z/stylo/hg-incubator/dom/events/EventListenerManager.cpp:1286
#17 0x00007fffe5b8af7d in mozilla::EventListenerManager::HandleEvent (this=0x7fffc03e44c0, aPresContext=0x7fffb45cb000, aEvent=0x7fffffffaba0, aDOMEvent=0x7fffffffa870, aCurrentTarget=0x7fffb45de000, aEventStatus=0x7fffffffa878)
    at /z/stylo/hg-incubator/obj/dist/include/mozilla/EventListenerManager.h:374
#18 0x00007fffe5b7dd38 in mozilla::EventTargetChainItem::HandleEvent (this=0x7fffc123f008, aVisitor=..., aCd=...) at /z/stylo/hg-incubator/dom/events/EventDispatcher.cpp:314
#19 0x00007fffe5b5880a in mozilla::EventTargetChainItem::HandleEventTargetChain (aChain=..., aVisitor=..., aCallback=0x0, aCd=...) at /z/stylo/hg-incubator/dom/events/EventDispatcher.cpp:463
#20 0x00007fffe5b59ddf in mozilla::EventDispatcher::Dispatch (aTarget=0x7fffb4d60020, aPresContext=0x7fffb45cb000, aEvent=0x7fffffffaba0, aDOMEvent=0x0, aEventStatus=0x7fffffffac00, aCallback=0x0, aTargets=0x0)
    at /z/stylo/hg-incubator/dom/events/EventDispatcher.cpp:820
#21 0x00007fffe6f7eef5 in nsDocumentViewer::LoadComplete (this=0x7fffb959b9f0, aStatus=nsresult::NS_OK) at /z/stylo/hg-incubator/layout/base/nsDocumentViewer.cpp:1024
#22 0x00007fffe772771d in nsDocShell::EndPageLoad (this=0x7fffb253c000, aProgress=0x7fffb253c028, aChannel=0x7fffb7f4a530, aStatus=nsresult::NS_OK) at /z/stylo/hg-incubator/docshell/base/nsDocShell.cpp:7571
#23 0x00007fffe77259d3 in nsDocShell::OnStateChange (this=0x7fffb253c000, aProgress=0x7fffb253c028, aRequest=0x7fffb7f4a530, aStateFlags=131088, aStatus=nsresult::NS_OK) at /z/stylo/hg-incubator/docshell/base/nsDocShell.cpp:7375
#24 0x00007fffe3f27cce in nsDocLoader::DoFireOnStateChange (this=0x7fffb253c000, aProgress=0x7fffb253c028, aRequest=0x7fffb7f4a530, aStateFlags=@0x7fffffffb824: 131088, aStatus=nsresult::NS_OK)
    at /z/stylo/hg-incubator/uriloader/base/nsDocLoader.cpp:1255
#25 0x00007fffe3f277a9 in nsDocLoader::doStopDocumentLoad (this=0x7fffb253c000, request=0x7fffb7f4a530, aStatus=nsresult::NS_OK) at /z/stylo/hg-incubator/uriloader/base/nsDocLoader.cpp:840
#26 0x00007fffe3f2626f in nsDocLoader::DocLoaderIsEmpty (this=0x7fffb253c000, aFlushLayout=true) at /z/stylo/hg-incubator/uriloader/base/nsDocLoader.cpp:730
#27 0x00007fffe3f271ac in nsDocLoader::OnStopRequest (this=0x7fffb253c000, aRequest=0x7fffb7de7a20, aCtxt=0x0, aStatus=nsresult::NS_OK) at /z/stylo/hg-incubator/uriloader/base/nsDocLoader.cpp:612
#28 0x00007fffe2c4798f in mozilla::net::nsLoadGroup::RemoveRequest (this=0x7fffb732cbf0, request=0x7fffb7de7a20, ctxt=0x0, aStatus=nsresult::NS_OK) at /z/stylo/hg-incubator/netwerk/base/nsLoadGroup.cpp:633
#29 0x00007fffe48a9dd0 in nsDocument::DoUnblockOnload (this=0x7fffbec5f000) at /z/stylo/hg-incubator/dom/base/nsDocument.cpp:8622
#30 0x00007fffe48a9b8d in nsDocument::UnblockOnload (this=0x7fffbec5f000, aFireSync=true) at /z/stylo/hg-incubator/dom/base/nsDocument.cpp:8550
#31 0x00007fffe489ab73 in nsDocument::DispatchContentLoadedEvents (this=0x7fffbec5f000) at /z/stylo/hg-incubator/dom/base/nsDocument.cpp:5058
#32 0x00007fffe4928d1a in mozilla::detail::RunnableMethodArguments<>::applyImpl<nsDocument, void (nsDocument::*)()>(nsDocument*, void (nsDocument::*)(), mozilla::Tuple<>&, mozilla::IndexSequence<>) (o=0x7fffbec5f000, 
    m=(void (nsDocument::*)(nsDocument * const)) 0x7fffe489a380 <nsDocument::DispatchContentLoadedEvents()>, args=...) at /z/stylo/hg-incubator/obj/dist/include/nsThreadUtils.h:791
#33 0x00007fffe4928c99 in mozilla::detail::RunnableMethodArguments<>::apply<nsDocument, void (nsDocument::*)()>(nsDocument*, void (nsDocument::*)()) (this=0x7fffbf91b8c0, o=0x7fffbec5f000, 
    m=(void (nsDocument::*)(nsDocument * const)) 0x7fffe489a380 <nsDocument::DispatchContentLoadedEvents()>) at /z/stylo/hg-incubator/obj/dist/include/nsThreadUtils.h:797
#34 0x00007fffe4928b22 in mozilla::detail::RunnableMethodImpl<void (nsDocument::*)(), true, false>::Run (this=0x7fffbf91b880) at /z/stylo/hg-incubator/obj/dist/include/nsThreadUtils.h:826
#35 0x00007fffe2ad0ca8 in nsThread::ProcessNextEvent (this=0x7fffdfe43460, aMayWait=false, aResult=0x7fffffffc24e) at /z/stylo/hg-incubator/xpcom/threads/nsThread.cpp:1213
#36 0x00007fffe2b505fc in NS_ProcessNextEvent (aThread=0x7fffdfe43460, aMayWait=false) at /z/stylo/hg-incubator/xpcom/glue/nsThreadUtils.cpp:381
#37 0x00007fffe33cb0e9 in mozilla::ipc::MessagePump::Run (this=0x7fffdfe82a80, aDelegate=0x7ffff6bb9410) at /z/stylo/hg-incubator/ipc/glue/MessagePump.cpp:96
#38 0x00007fffe33296c5 in MessageLoop::RunInternal (this=0x7ffff6bb9410) at /z/stylo/hg-incubator/ipc/chromium/src/base/message_loop.cc:232
#39 0x00007fffe3329645 in MessageLoop::RunHandler (this=0x7ffff6bb9410) at /z/stylo/hg-incubator/ipc/chromium/src/base/message_loop.cc:225
#40 0x00007fffe332961d in MessageLoop::Run (this=0x7ffff6bb9410) at /z/stylo/hg-incubator/ipc/chromium/src/base/message_loop.cc:205
#41 0x00007fffe6ad4003 in nsBaseAppShell::Run (this=0x7fffd54ddef0) at /z/stylo/hg-incubator/widget/nsBaseAppShell.cpp:156
#42 0x00007fffe7cab192 in nsAppStartup::Run (this=0x7fffd54dcdd0) at /z/stylo/hg-incubator/toolkit/components/startup/nsAppStartup.cpp:283
#43 0x00007fffe7da48ac in XREMain::XRE_mainRun (this=0x7fffffffcc28) at /z/stylo/hg-incubator/toolkit/xre/nsAppRunner.cpp:4485
#44 0x00007fffe7da5396 in XREMain::XRE_main (this=0x7fffffffcc28, argc=4, argv=0x7fffffffe108, aAppData=0x7fffffffcee8) at /z/stylo/hg-incubator/toolkit/xre/nsAppRunner.cpp:4618
#45 0x00007fffe7da5b6f in XRE_main (argc=4, argv=0x7fffffffe108, aAppData=0x7fffffffcee8, aFlags=0) at /z/stylo/hg-incubator/toolkit/xre/nsAppRunner.cpp:4709
#46 0x000000000040633f in do_main (argc=4, argv=0x7fffffffe108, envp=0x7fffffffe130, xreDirectory=0x7ffff6b66b40) at /z/stylo/hg-incubator/browser/app/nsBrowserApp.cpp:328
#47 0x0000000000405a62 in main (argc=4, argv=0x7fffffffe108, envp=0x7fffffffe130) at /z/stylo/hg-incubator/browser/app/nsBrowserApp.cpp:461
Original bug: layout/style/crashtests/1223688-1.html
Also: layout/style/test/test_css_supports.html
Summary: stylo: layout/style/crashtests/1223688-1.html fatally asserts with "stylo: CSS.supports() with arguments is not yet implemented" → stylo: several tests fatally assert with "stylo: CSS.supports() with arguments is not yet implemented"
Attachment #8831991 - Flags: review?(xidorn+moz) → review+
Pushed by cmccormack@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/9e32610a0a1c
stylo: Re-enable tests depending on CSS.supports(). r=xidorn
https://hg.mozilla.org/mozilla-central/rev/9e32610a0a1c
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: