Closed
Bug 626529
Opened 14 years ago
Closed 13 years ago
"This is unsafe! Fix the caller!" when toggling View -> Menu Bar on Windows 7
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 671635
People
(Reporter: Dolske, Assigned: smaug)
References
Details
(Whiteboard: [sg:moderate?] may be problem for extensions)
Toggling the regular (old-style) menu bar on Windows 7 (via App Menu --> Options --> Menu Bar, or if the menu bar is already shown, View --> Toolbars --> Menu Bar) triggers a "This is unsafe! Fix the caller!" assert. Reproducible with a current trunk debug build. Stack looks like: NS_DebugBreak_P nsEventDispatcher::Dispatch PresShell::FireBeforeResizeEvent PresShell::ResizeReflowIgnoreOverride PresShell::ResizeReflow PresShell::ResizeReflow nsViewManager::DoSetWindowDimensions nsViewManager::SetWindowDimensions nsViewManager::DispatchEvent AttachedHandleEvent nsWindow::DispatchEvent nsWindow::DispatchWindowEvent nsWindow::OnResize nsWindow::ResetLayout nsWindow::UpdateNonClientMargins nsWindow::SetNonClientMargins nsXULElement::SetChromeMargins nsXULElement::AfterSetAttr nsGenericElement::SetAttrAndNotify (raw stack: http://pastebin.mozilla.org/952834)
Assignee | ||
Comment 1•14 years ago
|
||
Oh, interesting. This is a bug in nsXULElement::AfterSetAttr. The problem isn't the new event, but that nsXULElement::AfterSetAttr does something which may cause reflow.
Assignee | ||
Comment 2•14 years ago
|
||
My bad, I reviewed the code. Fortunately only chrome can trigger this, AFAIK.
Updated•13 years ago
|
Whiteboard: [sg:moderate?] may be problem for extensions
Comment 4•13 years ago
|
||
Wasn't this fixed by bug 671635?
Assignee | ||
Comment 5•13 years ago
|
||
Yes, I think so.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Updated•10 years ago
|
Group: core-security
Updated•5 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•