Closed Bug 1658055 Opened 4 years ago Closed 4 years ago

Make test_mousecapture_area.html pass with cross-origin and Fission enabled

Categories

(Core :: DOM: UI Events & Focus Handling, task, P2)

task

Tracking

()

RESOLVED DUPLICATE of bug 1658176

People

(Reporter: edgar, Assigned: edgar)

References

Details

https://treeherder.mozilla.org/#/jobs?repo=try&author=echen%40mozilla.com&selectedTaskRun=F64yZZMkStyL65Vs-jzsOQ.0

TEST-UNEXPECTED-PASS | http://mochi.test:8888/tests/toolkit/content/tests/widgets/test_mousecapture_area.html | assertion count 0 is less than expected 1 assertions

Now it fails due to the test expect an assertion being reported, but it seems the assertion doesn't being reported properly when cross-origin enabled,

[task 2020-08-07T14:11:40.360Z] 14:11:40 INFO - GECKO(13311) | [Child 13603, Main Thread] ###!!! ASSERTION: Losing track of existing primary frame: '!aFrame || !mPrimaryFrame || aFrame == mPrimaryFrame', file /builds/worker/checkouts/gecko/dom/base/nsIContentInlines.h, line 49
[task 2020-08-07T14:11:40.360Z] 14:11:40 INFO - GECKO(13311) | #01: nsImageMap::AddArea(mozilla::dom::HTMLAreaElement*) [layout/generic/nsImageMap.cpp:732]
[task 2020-08-07T14:11:40.361Z] 14:11:40 INFO - GECKO(13311) | #02: nsImageMap::SearchForAreas(nsIContent*) [layout/generic/nsImageMap.cpp:660]
[task 2020-08-07T14:11:40.362Z] 14:11:40 INFO - GECKO(13311) | #03: nsImageMap::UpdateAreas() [layout/generic/nsImageMap.cpp:684]
[task 2020-08-07T14:11:40.363Z] 14:11:40 INFO - GECKO(13311) | #04: nsImageFrame::GetImageMap() [layout/generic/nsImageFrame.cpp:2205]
[task 2020-08-07T14:11:40.364Z] 14:11:40 INFO - GECKO(13311) | #05: nsImageFrame::GetContentForEvent(mozilla::WidgetEvent*, nsIContent**) [layout/generic/nsImageFrame.cpp:2279]
[task 2020-08-07T14:11:40.364Z] 14:11:40 INFO - GECKO(13311) | #06: mozilla::PresShell::EventHandler::EventTargetData::SetContentForEventFromFrame(mozilla::WidgetGUIEvent*) [layout/base/PresShell.cpp:11528]
[task 2020-08-07T14:11:40.365Z] 14:11:40 INFO - GECKO(13311) | #07: mozilla::PresShell::EventHandler::EventTargetData::ComputeElementFromFrame(mozilla::WidgetGUIEvent*) [layout/base/PresShell.cpp:11590]
[task 2020-08-07T14:11:40.366Z] 14:11:40 INFO - GECKO(13311) | #08: mozilla::PresShell::EventHandler::HandleEventUsingCoordinates(nsIFrame*, mozilla::WidgetGUIEvent*, nsEventStatus*, bool) [layout/base/PresShell.cpp:7025]
[task 2020-08-07T14:11:40.366Z] 14:11:40 INFO - GECKO(13311) | #09: mozilla::PresShell::EventHandler::HandleEvent(nsIFrame*, mozilla::WidgetGUIEvent*, bool, nsEventStatus*) [layout/base/PresShell.cpp:6860]
[task 2020-08-07T14:11:40.367Z] 14:11:40 INFO - GECKO(13311) | #10: mozilla::PresShell::HandleEvent(nsIFrame*, mozilla::WidgetGUIEvent*, bool, nsEventStatus*) [layout/base/PresShell.cpp:6785]
[task 2020-08-07T14:11:40.370Z] 14:11:40 INFO - GECKO(13311) | #11: nsViewManager::DispatchEvent(mozilla::WidgetGUIEvent*, nsView*, nsEventStatus*) [view/nsViewManager.cpp:749]
[task 2020-08-07T14:11:40.371Z] 14:11:40 INFO - GECKO(13311) | #12: nsView::HandleEvent(mozilla::WidgetGUIEvent*, bool) [view/nsView.cpp:1134]
[task 2020-08-07T14:11:40.374Z] 14:11:40 INFO - GECKO(13311) | #13: mozilla::widget::PuppetWidget::DispatchEvent(mozilla::WidgetGUIEvent*, nsEventStatus&) [widget/PuppetWidget.cpp:381]
[task 2020-08-07T14:11:40.379Z] 14:11:40 INFO - GECKO(13311) | #14: nsContentUtils::SendMouseEvent(mozilla::PresShell*, nsTSubstring<char16_t> const&, float, float, int, int, int, int, bool, float, unsigned short, unsigned int, bool, bool*, bool, bool) [dom/base/nsContentUtils.cpp:7892]
[task 2020-08-07T14:11:40.380Z] 14:11:40 INFO - GECKO(13311) | #15: nsDOMWindowUtils::SendMouseEventCommon(nsTSubstring<char16_t> const&, float, float, int, int, int, bool, float, unsigned short, unsigned int, bool, bool*, bool, bool, int) [dom/base/nsDOMWindowUtils.cpp:678]
[task 2020-08-07T14:11:40.383Z] 14:11:40 INFO - GECKO(13311) | #16: nsDOMWindowUtils::SendMouseEvent(nsTSubstring<char16_t> const&, float, float, int, int, int, bool, float, unsigned short, bool, bool, int, unsigned int, unsigned char, bool*) [dom/base/nsDOMWindowUtils.cpp:643]
[task 2020-08-07T14:11:40.386Z] 14:11:40 INFO - GECKO(13311) | #17: ??? [/builds/worker/workspace/build/application/firefox/libxul.so + 0x118fe6a]
[task 2020-08-07T14:11:40.387Z] 14:11:40 INFO - GECKO(13311) | #18: CallMethodHelper::Call() [js/xpconnect/src/XPCWrappedNative.cpp:1175]
[task 2020-08-07T14:11:40.391Z] 14:11:40 INFO - GECKO(13311) | #19: XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) [js/xpconnect/src/XPCWrappedNative.cpp:1141]
[task 2020-08-07T14:11:40.391Z] 14:11:40 INFO - GECKO(13311) | #20: XPC_WN_CallMethod(JSContext*, unsigned int, JS::Value*) [js/xpconnect/src/XPCWrappedNativeJSOps.cpp:946]
[task 2020-08-07T14:11:40.392Z] 14:11:40 INFO - GECKO(13311) | #21: ??? (???:???)

Fission Milestone: --- → M6b
Depends on: 1658176

This is fixed in bug 1658176.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE

Clearing Fission Milestone for bugs resolved as duplicates. We don't need to track duplicates.

Fission Milestone: M6b → ---
You need to log in before you can comment on or make changes to this bug.