Assertion failure: NS_HasPendingEvents(mThread), at /Volumes/firefoxos/dev/mozilla-inbound/dom/workers/WorkerPrivate.cpp:4830
#01: mozilla::dom::indexedDB::IDBTransaction::Create(mozilla::dom::indexedDB::IDBDatabase*, nsTArray<nsString> const&, mozilla::dom::indexedDB::IDBTransaction::Mode)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x20d406c]
#02: mozilla::dom::indexedDB::IDBDatabase::Transaction(mozilla::dom::Sequence<nsString> const&, mozilla::dom::IDBTransactionMode, mozilla::ErrorResult&)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x20d3abe]
#03: mozilla::dom::indexedDB::IDBDatabase::Transaction(nsAString_internal const&, mozilla::dom::IDBTransactionMode, mozilla::ErrorResult&)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x20d36aa]
#04: mozilla::dom::IDBDatabaseBinding::transaction(JSContext*, JS::Handle<JSObject*>, mozilla::dom::indexedDB::IDBDatabase*, JSJitMethodCallArgs const&)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x19578e0]
#05: mozilla::dom::GenericBindingMethod(JSContext*, unsigned int, JS::Value*)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x19dca74]
#06: js::CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x36e448a]
#07: js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3693b15]
#08: Interpret(JSContext*, js::RunState&)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x36acdcc]
#09: js::RunScript(JSContext*, js::RunState&)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x36a2f8e]
#10: js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3693b2b]
#11: js::fun_apply(JSContext*, unsigned int, JS::Value*)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3c59e15]
#12: js::CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x36e448a]
#13: js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3693b15]
#14: Interpret(JSContext*, js::RunState&)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x36acdcc]
#15: js::RunScript(JSContext*, js::RunState&)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x36a2f8e]
#16: js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3693b2b]
#17: js::Invoke(JSContext*, JS::Value const&, JS::Value const&, unsigned int, JS::Value const*, JS::MutableHandle<JS::Value>)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x367ddf1]
#18: JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3bec71a]
#19: mozilla::dom::PromiseInit::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JSObject*>, JS::Handle<JSObject*>, mozilla::ErrorResult&)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x12b5f3e]
#20: mozilla::dom::Promise::CallInitFunction(mozilla::dom::GlobalObject const&, mozilla::dom::PromiseInit&, mozilla::ErrorResult&)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x2225808]
#21: mozilla::dom::Promise::Constructor(mozilla::dom::GlobalObject const&, mozilla::dom::PromiseInit&, mozilla::ErrorResult&)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x222755d]
#22: mozilla::dom::PromiseBinding::_constructor(JSContext*, unsigned int, JS::Value*)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x12bddeb]
#23: js::CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x36e448a]
#24: js::CallJSNativeConstructor(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x36e4708]
#25: js::InvokeConstructor(JSContext*, JS::CallArgs)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x36b508e]
#26: Interpret(JSContext*, js::RunState&)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x36acd9d]
#27: js::RunScript(JSContext*, js::RunState&)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x36a2f8e]
#28: js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3693b2b]
#29: js::Invoke(JSContext*, JS::Value const&, JS::Value const&, unsigned int, JS::Value const*, JS::MutableHandle<JS::Value>)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x367ddf1]
#30: JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x3bec71a]
#31: mozilla::dom::AnyCallback::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>, mozilla::ErrorResult&)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x12b63a5]
#32: mozilla::dom::WrapperPromiseCallback::Call(JSContext*, JS::Handle<JS::Value>)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x222cf1b]
#33: mozilla::dom::PromiseCallbackTask::Run()
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x2231853]
#34: mozilla::dom::Promise::PerformMicroTaskCheckpoint()
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x22265e2]
#35: mozilla::dom::workers::WorkerPrivate::DoRunLoop(JSContext*)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x21c044a]
#36: (anonymous namespace)::WorkerThreadPrimaryRunnable::Run()
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x2199bb5]
#37: nsThread::ProcessNextEvent(bool, bool*)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0xdbd85]
#38: NS_ProcessNextEvent(nsIThread*, bool)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x1094f3]
#39: mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x48e55c]
#40: MessageLoop::Run()
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0x462dd0]
#41: nsThread::ThreadFunc(void*)
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/XUL +0xda27d]
#42: _pt_root
[/Volumes/firefoxos/dev/mozilla-inbound/objdir-desktop/dist/NightlyDebug.app/Contents/MacOS/libnss3.dylib +0x337d09]
#43: _pthread_body
[/usr/lib/system/libsystem_pthread.dylib +0x1899]
#44: _pthread_struct_init
[/usr/lib/system/libsystem_pthread.dylib +0x172a]
Description
•