Closed Bug 1667081 Opened 4 years ago Closed 4 years ago

Remove noscript methods in nsIFocusManager

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: edgar, Assigned: edgar)

Details

Attachments

(9 files)

Assignee: nobody → echen
Severity: -- → N/A
Priority: -- → P2

This patch is bascially done by:
perl -p -i -e "s/nsIFocusManager* /nsFocusManager* /g;" $( find . -name *.cpp )
perl -p -i -e "s/nsCOMPtr<nsIFocusManager>/RefPtr<nsFocusManager>/g;" $( find . -name *.cpp )

Besides removing nsIFocusManager::windowRaised, this patch also does following changes,

  • All caller ensure to pass a non-null window, so add assertion.
  • All caller doesn't actaully check the return value, so make it just returning void.

Depends on D91287

Besides removing nsIFocusManager::windowLowered, this patch also does following changes,

  • All caller ensure to pass a non-null window, so assert that.
  • All caller doesn't actaully check the return value, so make it just returning void.

Depends on D91288

Besides removing nsIFocusManager::windowShown, this patch also does following changes,

  • Ensure that caller pass a non-null window and add assertion.
  • All caller doesn't actaully check the return value, so make it just returning void.

Depends on D91289

Besides removing nsIFocusManager::windowHidden, this patch also does following changes,

  • Ensure that caller pass a non-null window and add assertion.
  • All caller doesn't actaully check the return value, so make it just returning void.

Depends on D91290

Besides removing nsIFocusManager::fireDelayedEvents, this patch also does following changes,

  • All caller passes a non-null document, so add assertion.
  • All caller doesn't actaully check the return value, so make it just returning void.

Depends on D91291

and make nsFocusManager::ParentActivated just returning void.

Depends on D91293

Pushed by echen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b1e6e81396ae
Part 1: Replace usage of nsIFocusManager with nsFocusManager; r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/c3bac5f407d2
Part 2: Remove windowRaised in nsIFocusManager; r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/2252e975f0d7
Part 3: Remove windowLowered in nsIFocusManager; r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/aafb1878c590
Part 4: Remove windowShown in nsIFocusManager; r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/91342c822425
Part 5: Remove windowHidden in nsIFocusManager; r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/1298ff140218
Part 6: Remove fireDelayedEvents in nsIFocusManager; r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/8f59cef879ae
Part 7: Remove focusPlugin in nsIFocusManager; r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/2e37f347082c
Part 8: Remove parentActivated in nsIFocusManager; r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/156ab3eba505
Part 9: Remove SetFocusedWindowWithCallerType in nsIFocusManager; r=hsivonen

Backed out 9 changesets (bug 1667081) for assertion failure on nsFocusManager.

Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&searchStr=linux%2C18.04%2Cx64%2Cdebug%2Cmochitests%2Ctest-linux1804-64%2Fdebug-mochitest-browser-chrome-e10s%2Cbc9&fromchange=788dc9ddde5c38161947d194328a8e54a3a4857f&tochange=d17bef3cbc6efe85d3dcd8428c1c70ab7ecce437&selectedTaskRun=WeNYHvOuRC2xAlCHzPB1AQ.0

Backout link: https://hg.mozilla.org/integration/autoland/rev/1651719240fa87460e35964783b16594b1709a20

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=316928403&repo=autoland&lineNumber=7306

[task 2020-09-28T16:43:48.141Z] 16:43:48     INFO - TEST-START | dom/ipc/tests/JSWindowActor/browser_crash_report.js
[task 2020-09-28T16:43:48.156Z] 16:43:48     INFO - GECKO(4036) | [Child 4194: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7fd82c996c00 == 2 [pid = 4194] [id = 1]
[task 2020-09-28T16:43:48.157Z] 16:43:48     INFO - GECKO(4036) | [Child 4194: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (0x7fd849093180) [pid = 4194] [serial = 5] [outer = (nil)]
[task 2020-09-28T16:43:48.157Z] 16:43:48     INFO - GECKO(4036) | [Child 4194: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (0x7fd82c997c00) [pid = 4194] [serial = 6] [outer = 0x7fd849093180]
[task 2020-09-28T16:43:48.244Z] 16:43:48     INFO - GECKO(4036) | [Child 4194: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (0x7fd82c99a000) [pid = 4194] [serial = 7] [outer = 0x7fd849093180]
[task 2020-09-28T16:43:48.328Z] 16:43:48     INFO - GECKO(4036) | [4372, Unnamed thread 7f0ddb45d5e0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-09-28T16:43:48.332Z] 16:43:48     INFO - GECKO(4036) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpqHoa5m.mozrunner/runtests_leaks.log
[task 2020-09-28T16:43:48.333Z] 16:43:48     INFO - GECKO(4036) | [4372, Unnamed thread 7f0ddb45d5e0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-09-28T16:43:48.334Z] 16:43:48     INFO - GECKO(4036) | [4372, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp, line 246
[task 2020-09-28T16:43:48.410Z] 16:43:48     INFO - GECKO(4036) | [Child 4372, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp, line 626
[task 2020-09-28T16:43:48.591Z] 16:43:48     INFO - GECKO(4036) | [Child 4372: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f0dc50ec800 == 1 [pid = 4372] [id = 0]
[task 2020-09-28T16:43:48.612Z] 16:43:48     INFO - GECKO(4036) | [Child 4372: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x7f0ddb493520) [pid = 4372] [serial = 1] [outer = (nil)]
[task 2020-09-28T16:43:48.613Z] 16:43:48     INFO - GECKO(4036) | [4389, Unnamed thread 7efcbff5d5e0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-09-28T16:43:48.618Z] 16:43:48     INFO - GECKO(4036) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpqHoa5m.mozrunner/runtests_leaks.log
[task 2020-09-28T16:43:48.618Z] 16:43:48     INFO - GECKO(4036) | [4389, Unnamed thread 7efcbff5d5e0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-09-28T16:43:48.618Z] 16:43:48     INFO - GECKO(4036) | [Child 4372: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7f0dbed52400) [pid = 4372] [serial = 2] [outer = 0x7f0ddb493520]
[task 2020-09-28T16:43:48.618Z] 16:43:48     INFO - GECKO(4036) | [4389, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp, line 246
[task 2020-09-28T16:43:48.719Z] 16:43:48     INFO - GECKO(4036) | [Child 4372: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7f0dbf02fc00) [pid = 4372] [serial = 3] [outer = 0x7f0ddb493520]
[task 2020-09-28T16:43:48.777Z] 16:43:48     INFO - GECKO(4036) | [Child 4389, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp, line 626
[task 2020-09-28T16:43:48.886Z] 16:43:48     INFO - GECKO(4036) | Et tu, Brute?
[task 2020-09-28T16:43:48.886Z] 16:43:48     INFO - GECKO(4036) | XPCOM_MEM_BLOAT_LOG: /tmp/tmpqHoa5m.mozrunner/runtests_leaks.log
[task 2020-09-28T16:43:48.886Z] 16:43:48     INFO - GECKO(4036) | Writing to log: /tmp/tmpqHoa5m.mozrunner/runtests_leaks_tab_pid4372.log
[task 2020-09-28T16:43:49.015Z] 16:43:49     INFO - GECKO(4036) | [Parent 4036, Breakpad Server] WARNING: Resource acquired is being released in non-LIFO order; why?
[task 2020-09-28T16:43:49.015Z] 16:43:49     INFO - GECKO(4036) | : file /builds/worker/checkouts/gecko/xpcom/threads/BlockingResourceBase.cpp, line 292
[task 2020-09-28T16:43:49.016Z] 16:43:49     INFO - GECKO(4036) | --- Mutex : dumpSafetyLock (currently acquired)
[task 2020-09-28T16:43:49.016Z] 16:43:49     INFO - GECKO(4036) |  calling context
[task 2020-09-28T16:43:49.016Z] 16:43:49     INFO - GECKO(4036) |   [stack trace unavailable]
[task 2020-09-28T16:43:49.024Z] 16:43:49     INFO - GECKO(4036) | [Parent 4036, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp, line 511
[task 2020-09-28T16:43:49.025Z] 16:43:49     INFO - GECKO(4036) | [Parent 4036, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp, line 511
[task 2020-09-28T16:43:49.047Z] 16:43:49     INFO - GECKO(4036) | [Parent 4036, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp, line 511
[task 2020-09-28T16:43:49.048Z] 16:43:49     INFO - GECKO(4036) | [Parent 4036, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp, line 511
[task 2020-09-28T16:43:49.049Z] 16:43:49     INFO - GECKO(4036) | [Parent 4036, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp, line 511
[task 2020-09-28T16:43:49.050Z] 16:43:49     INFO - GECKO(4036) | [Parent 4036, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp, line 511
[task 2020-09-28T16:43:49.057Z] 16:43:49     INFO - GECKO(4036) | [Child 4389: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7efca9beb400 == 1 [pid = 4389] [id = 0]
[task 2020-09-28T16:43:49.058Z] 16:43:49     INFO - GECKO(4036) | [Child 4389, Main Thread] WARNING: NS_ENSURE_TRUE(browserChrome) failed: file /builds/worker/checkouts/gecko/docshell/base/nsDocShell.cpp, line 12018
[task 2020-09-28T16:43:49.066Z] 16:43:49     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f664584d000 == 8 [pid = 4036] [id = 7]
[task 2020-09-28T16:43:49.066Z] 16:43:49     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 16 (0x7f664f161e30) [pid = 4036] [serial = 16] [outer = (nil)]
[task 2020-09-28T16:43:49.088Z] 16:43:49     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 17 (0x7f6645848400) [pid = 4036] [serial = 17] [outer = 0x7f664f161e30]
[task 2020-09-28T16:43:49.124Z] 16:43:49     INFO - GECKO(4036) | [Parent 4036, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/workspace/obj-build/dist/include/mozilla/ipc/ProtocolUtils.h, line 295
[task 2020-09-28T16:43:49.128Z] 16:43:49     INFO - GECKO(4036) | [Child 4389: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x7efcbff93520) [pid = 4389] [serial = 1] [outer = (nil)]
[task 2020-09-28T16:43:49.148Z] 16:43:49     INFO - GECKO(4036) | [Child 4389: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7efca384e000) [pid = 4389] [serial = 2] [outer = 0x7efcbff93520]
[task 2020-09-28T16:43:49.212Z] 16:43:49     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 18 (0x7f6645852000) [pid = 4036] [serial = 18] [outer = 0x7f664f161e30]
[task 2020-09-28T16:43:49.333Z] 16:43:49     INFO - GECKO(4036) | Crash cleaned up
[task 2020-09-28T16:43:49.369Z] 16:43:49     INFO - GECKO(4036) | [Parent 4036, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp, line 172
[task 2020-09-28T16:43:49.369Z] 16:43:49     INFO - GECKO(4036) | [Parent 4036, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp, line 172
[task 2020-09-28T16:43:49.387Z] 16:43:49     INFO - GECKO(4036) | [Child 4389: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7efca38ad800 == 2 [pid = 4389] [id = 1]
[task 2020-09-28T16:43:49.387Z] 16:43:49     INFO - GECKO(4036) | [Child 4389: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7efcbff936f0) [pid = 4389] [serial = 3] [outer = (nil)]
[task 2020-09-28T16:43:49.387Z] 16:43:49     INFO - GECKO(4036) | [Child 4389: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x7efca38ae800) [pid = 4389] [serial = 4] [outer = 0x7efcbff936f0]
[task 2020-09-28T16:43:49.426Z] 16:43:49     INFO - GECKO(4036) | Assertion failure: aWindow, at /builds/worker/checkouts/gecko/dom/base/nsFocusManager.cpp:781
[task 2020-09-28T16:43:49.467Z] 16:43:49     INFO -  Initializing stack-fixing for the first stack frame, this may take a while...
[task 2020-09-28T16:43:57.877Z] 16:43:57     INFO - GECKO(4036) | #01: nsFocusManager::WindowRaised(mozIDOMWindowProxy*) [dom/base/nsFocusManager.cpp:686]
[task 2020-09-28T16:43:57.878Z] 16:43:57     INFO - GECKO(4036) | #02: nsWebBrowser::FocusActivate() [toolkit/components/browser/nsWebBrowser.cpp:1208]
[task 2020-09-28T16:43:57.878Z] 16:43:57     INFO - GECKO(4036) | #03: mozilla::dom::BrowserChild::RecvActivate() [dom/ipc/BrowserChild.cpp:1425]
[task 2020-09-28T16:43:57.879Z] 16:43:57     INFO - GECKO(4036) | #04: mozilla::dom::PBrowserChild::OnMessageReceived(IPC::Message const&) [s3:gecko-generated-sources:7ad088bcc1ed58e091bf42da54eea2896f302554c643a655fb7b451e19a717ed5774715c84e31fa4ecb21fe325d9d24a03f96e930dd7770e618091395e214bb9/ipc/ipdl/PBrowserChild.cpp::4321]
[task 2020-09-28T16:43:57.880Z] 16:43:57     INFO - GECKO(4036) | #05: mozilla::dom::PContentChild::OnMessageReceived(IPC::Message const&) [s3:gecko-generated-sources:b8e40a2a4d19d03bb9b18a1fea3d306b5106af21d1661d505abe3a1e3641cf8ac755c5b67825083034347f38e29192b2ae59cddd42a4f57459715f95ad02b41c/ipc/ipdl/PContentChild.cpp::8656]
[task 2020-09-28T16:43:57.880Z] 16:43:57     INFO - GECKO(4036) | #06: mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) [ipc/glue/MessageChannel.cpp:2151]
[task 2020-09-28T16:43:57.881Z] 16:43:57     INFO - GECKO(4036) | #07: mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) [ipc/glue/MessageChannel.cpp:2077]
[task 2020-09-28T16:43:57.882Z] 16:43:57     INFO - GECKO(4036) | #08: mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) [ipc/glue/MessageChannel.cpp:1922]
[task 2020-09-28T16:43:57.882Z] 16:43:57     INFO - GECKO(4036) | #09: mozilla::ipc::MessageChannel::MessageTask::Run() [ipc/glue/MessageChannel.cpp:1955]
[task 2020-09-28T16:43:57.883Z] 16:43:57     INFO - GECKO(4036) | #10: mozilla::RunnableTask::Run() [xpcom/threads/TaskController.cpp:245]
[task 2020-09-28T16:43:57.884Z] 16:43:57     INFO - GECKO(4036) | #11: mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) [xpcom/threads/TaskController.cpp:514]
[task 2020-09-28T16:43:57.884Z] 16:43:57     INFO - GECKO(4036) | #12: mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) [xpcom/threads/TaskController.cpp:373]
[task 2020-09-28T16:43:57.885Z] 16:43:57     INFO - GECKO(4036) | #13: mozilla::TaskController::ProcessPendingMTTask(bool) [xpcom/threads/TaskController.cpp:170]
[task 2020-09-28T16:43:57.886Z] 16:43:57     INFO - GECKO(4036) | #14: mozilla::detail::RunnableFunction<mozilla::TaskController::InitializeInternal()::$_0>::Run() [xpcom/threads/nsThreadUtils.h:578]
[task 2020-09-28T16:43:57.886Z] 16:43:57     INFO - GECKO(4036) | #15: nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:1237]
[task 2020-09-28T16:43:57.887Z] 16:43:57     INFO - GECKO(4036) | #16: NS_ProcessNextEvent(nsIThread*, bool) [xpcom/threads/nsThreadUtils.cpp:513]
[task 2020-09-28T16:43:57.888Z] 16:43:57     INFO - GECKO(4036) | #17: mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:87]
[task 2020-09-28T16:43:57.888Z] 16:43:57     INFO - GECKO(4036) | #18: MessageLoop::RunInternal() [ipc/chromium/src/base/message_loop.cc:334]
[task 2020-09-28T16:43:57.889Z] 16:43:57     INFO - GECKO(4036) | #19: MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:310]
[task 2020-09-28T16:43:57.890Z] 16:43:57     INFO - GECKO(4036) | #20: nsBaseAppShell::Run() [widget/nsBaseAppShell.cpp:139]
[task 2020-09-28T16:43:57.891Z] 16:43:57     INFO - GECKO(4036) | #21: XRE_RunAppShell() [toolkit/xre/nsEmbedFunctions.cpp:913]
[task 2020-09-28T16:43:57.891Z] 16:43:57     INFO - GECKO(4036) | #22: mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:237]
[task 2020-09-28T16:43:57.892Z] 16:43:57     INFO - GECKO(4036) | #23: MessageLoop::RunInternal() [ipc/chromium/src/base/message_loop.cc:334]
[task 2020-09-28T16:43:57.892Z] 16:43:57     INFO - GECKO(4036) | #24: MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:310]
[task 2020-09-28T16:43:57.893Z] 16:43:57     INFO - GECKO(4036) | #25: XRE_InitChildProcess(int, char**, XREChildData const*) [toolkit/xre/nsEmbedFunctions.cpp:744]
[task 2020-09-28T16:43:57.941Z] 16:43:57     INFO - GECKO(4036) | #26: content_process_main(mozilla::Bootstrap*, int, char**) [ipc/contentproc/plugin-container.cpp:57]
[task 2020-09-28T16:43:57.946Z] 16:43:57     INFO - GECKO(4036) | #27: main [browser/app/nsBrowserApp.cpp:304]
[task 2020-09-28T16:43:57.946Z] 16:43:57     INFO -  fix-stacks: error: failed to read symbols file `/builds/worker/workspace/build/symbols/libc.so.6/4B76CFD3972F3EACFE366DDD07AD902F0/libc.so.6.sym` for `/lib/x86_64-linux-gnu/libc.so.6`
[task 2020-09-28T16:43:57.947Z] 16:43:57     INFO -  fix-stacks: note: this is expected and harmless for system libraries on debug automation runs
[task 2020-09-28T16:43:57.947Z] 16:43:57     INFO -  fix-stacks: No such file or directory (os error 2)
[task 2020-09-28T16:43:57.947Z] 16:43:57     INFO - GECKO(4036) | #28: __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6 + 0x21b97]
[task 2020-09-28T16:43:57.949Z] 16:43:57     INFO - GECKO(4036) | #29: ??? [/builds/worker/workspace/build/application/firefox/firefox-bin + 0x436d9]
[task 2020-09-28T16:43:57.949Z] 16:43:57     INFO - GECKO(4036) | #30: ??? (???:???)
[task 2020-09-28T16:43:57.949Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036, Breakpad Server] WARNING: Resource acquired is being released in non-LIFO order; why?
[task 2020-09-28T16:43:57.950Z] 16:43:57     INFO - GECKO(4036) | : file /builds/worker/checkouts/gecko/xpcom/threads/BlockingResourceBase.cpp, line 292
[task 2020-09-28T16:43:57.950Z] 16:43:57     INFO - GECKO(4036) | --- Mutex : dumpSafetyLock (currently acquired)
[task 2020-09-28T16:43:57.951Z] 16:43:57     INFO - GECKO(4036) |  calling context
[task 2020-09-28T16:43:57.952Z] 16:43:57     INFO - GECKO(4036) |   [stack trace unavailable]
[task 2020-09-28T16:43:57.952Z] 16:43:57     INFO - GECKO(4036) | [4423, Unnamed thread 7f503cb5d5e0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-09-28T16:43:57.953Z] 16:43:57     INFO - GECKO(4036) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpqHoa5m.mozrunner/runtests_leaks.log
[task 2020-09-28T16:43:57.953Z] 16:43:57     INFO - GECKO(4036) | [4423, Unnamed thread 7f503cb5d5e0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-09-28T16:43:57.953Z] 16:43:57     INFO - GECKO(4036) | [4423, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp, line 246
[task 2020-09-28T16:43:57.955Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp, line 511
[task 2020-09-28T16:43:57.955Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp, line 511
[task 2020-09-28T16:43:57.961Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp, line 511
[task 2020-09-28T16:43:57.962Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp, line 511
[task 2020-09-28T16:43:57.962Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp, line 511
[task 2020-09-28T16:43:57.963Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp, line 511
[task 2020-09-28T16:43:57.963Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f664584bc00 == 9 [pid = 4036] [id = 8]
[task 2020-09-28T16:43:57.963Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 19 (0x7f664f161a90) [pid = 4036] [serial = 19] [outer = (nil)]
[task 2020-09-28T16:43:57.964Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 20 (0x7f6645853000) [pid = 4036] [serial = 20] [outer = 0x7f664f161a90]
[task 2020-09-28T16:43:57.964Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036, Main Thread] WARNING: IPC message discarded: actor cannot send: file /builds/worker/workspace/obj-build/dist/include/mozilla/ipc/ProtocolUtils.h, line 295
[task 2020-09-28T16:43:57.964Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036, Main Thread] WARNING: 'aOwner->IsDiscarded()', file /builds/worker/workspace/obj-build/dist/include/mozilla/dom/SyncedContextInlines.h, line 36
[task 2020-09-28T16:43:57.965Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 21 (0x7f665c849400) [pid = 4036] [serial = 21] [outer = 0x7f664f161a90]
[task 2020-09-28T16:43:57.965Z] 16:43:57     INFO - GECKO(4036) | [Child 4423, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp, line 626
[task 2020-09-28T16:43:57.965Z] 16:43:57     INFO - GECKO(4036) | [4437, Unnamed thread 7f095ed5d5e0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-09-28T16:43:57.966Z] 16:43:57     INFO - GECKO(4036) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpqHoa5m.mozrunner/runtests_leaks.log
[task 2020-09-28T16:43:57.966Z] 16:43:57     INFO - GECKO(4036) | [4437, Unnamed thread 7f095ed5d5e0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-09-28T16:43:57.967Z] 16:43:57     INFO - GECKO(4036) | [4437, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp, line 246
[task 2020-09-28T16:43:57.967Z] 16:43:57     INFO - GECKO(4036) | [Child 4437, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp, line 626
[task 2020-09-28T16:43:57.967Z] 16:43:57     INFO - GECKO(4036) | [Child 4423: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f50267ec800 == 1 [pid = 4423] [id = 0]
[task 2020-09-28T16:43:57.967Z] 16:43:57     INFO - GECKO(4036) | [Child 4423, Main Thread] WARNING: NS_ENSURE_TRUE(browserChrome) failed: file /builds/worker/checkouts/gecko/docshell/base/nsDocShell.cpp, line 12018
[task 2020-09-28T16:43:57.968Z] 16:43:57     INFO - GECKO(4036) | [Child 4423: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x7f503cb93520) [pid = 4423] [serial = 1] [outer = (nil)]
[task 2020-09-28T16:43:57.968Z] 16:43:57     INFO - GECKO(4036) | [Child 4423: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7f502044f400) [pid = 4423] [serial = 2] [outer = 0x7f503cb93520]
[task 2020-09-28T16:43:57.969Z] 16:43:57     INFO - GECKO(4036) | [Child 4194: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7fd832ce3800 == 1 [pid = 4194] [id = 0] [url = about:blank]
[task 2020-09-28T16:43:57.969Z] 16:43:57     INFO - GECKO(4036) | [Child 4194: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (0x7fd82c943800) [pid = 4194] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2020-09-28T16:43:57.969Z] 16:43:57     INFO - GECKO(4036) | [Child 4194: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (0x7fd82c997c00) [pid = 4194] [serial = 6] [outer = (nil)] [url = about:blank]
[task 2020-09-28T16:43:57.969Z] 16:43:57     INFO - GECKO(4036) | [Child 4194: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (0x7fd849093520) [pid = 4194] [serial = 1] [outer = (nil)] [url = about:blank]
[task 2020-09-28T16:43:57.970Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 20 (0x7f6645853000) [pid = 4036] [serial = 20] [outer = (nil)] [url = about:blank]
[task 2020-09-28T16:43:57.970Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 19 (0x7f6645848400) [pid = 4036] [serial = 17] [outer = (nil)] [url = about:blank]
[task 2020-09-28T16:43:57.971Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f6645beb800 == 8 [pid = 4036] [id = 5] [url = about:blank]
[task 2020-09-28T16:43:57.971Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f6645be8800 == 7 [pid = 4036] [id = 4] [url = about:blank]
[task 2020-09-28T16:43:57.971Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 18 (0x7f664f14f800) [pid = 4036] [serial = 8] [outer = (nil)] [url = about:blank]
[task 2020-09-28T16:43:57.971Z] 16:43:57     INFO - GECKO(4036) | [Child 4211: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (0x7ffabee44400) [pid = 4211] [serial = 8] [outer = (nil)] [url = about:blank]
[task 2020-09-28T16:43:57.972Z] 16:43:57     INFO - GECKO(4036) | [Child 4211: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (0x7ffabebb5400) [pid = 4211] [serial = 6] [outer = (nil)] [url = about:blank]
[task 2020-09-28T16:43:57.972Z] 16:43:57     INFO - GECKO(4036) | [Child 4211: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (0x7ffabebb3000) [pid = 4211] [serial = 4] [outer = (nil)] [url = about:blank]
[task 2020-09-28T16:43:57.973Z] 16:43:57     INFO - GECKO(4036) | [Child 4211: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (0x7ffabeb51c00) [pid = 4211] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2020-09-28T16:43:57.973Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f664584d000 == 6 [pid = 4036] [id = 7] [url = about:blank]
[task 2020-09-28T16:43:57.973Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (0x7f664f161e30) [pid = 4036] [serial = 16] [outer = (nil)] [url = about:tabcrashed?e=tabcrashed&u=about%3Ablank&c=UTF-8&d=%20]
[task 2020-09-28T16:43:57.974Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (0x7f664f1618c0) [pid = 4036] [serial = 10] [outer = (nil)] [url = about:blank]
[task 2020-09-28T16:43:57.974Z] 16:43:57     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (0x7f664f15e260) [pid = 4036] [serial = 11] [outer = (nil)] [url = about:blank]
[task 2020-09-28T16:43:57.975Z] 16:43:57     INFO - GECKO(4036) | [Child 4211: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (0x7ffadb2936f0) [pid = 4211] [serial = 3] [outer = (nil)] [url = moz-extension://6fe41ed7-6c5a-416b-83dc-374d65c9996a/_generated_background_page.html]
[task 2020-09-28T16:43:57.975Z] 16:43:57     INFO - GECKO(4036) | [Child 4211: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7ffabeb56800 == 3 [pid = 4211] [id = 1] [url = moz-extension://6fe41ed7-6c5a-416b-83dc-374d65c9996a/_generated_background_page.html]
[task 2020-09-28T16:43:58.565Z] 16:43:58     INFO - GECKO(4036) | [Child 4423: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f50267ec800 == 0 [pid = 4423] [id = 0] [url = about:blank]
[task 2020-09-28T16:43:59.288Z] 16:43:59     INFO - GECKO(4036) | [Child 4279: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0x7f978b049c00) [pid = 4279] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2020-09-28T16:43:59.585Z] 16:43:59     INFO - GECKO(4036) | [Child 4194: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (0x7fd832d53400) [pid = 4194] [serial = 3] [outer = (nil)] [url = about:blank]
[task 2020-09-28T16:43:59.586Z] 16:43:59     INFO - GECKO(4036) | [Child 4194: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0x7fd82c94b400) [pid = 4194] [serial = 4] [outer = (nil)] [url = about:blank]
[task 2020-09-28T16:44:00.093Z] 16:44:00     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (0x7f6645be8000) [pid = 4036] [serial = 13] [outer = (nil)] [url = about:blank]
[task 2020-09-28T16:44:00.094Z] 16:44:00     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (0x7f6645bec800) [pid = 4036] [serial = 12] [outer = (nil)] [url = about:blank]
[task 2020-09-28T16:44:00.094Z] 16:44:00     INFO - GECKO(4036) | [Parent 4036: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (0x7f6645852000) [pid = 4036] [serial = 18] [outer = (nil)] [url = about:tabcrashed?e=tabcrashed&u=about%3Ablank&c=UTF-8&d=%20]
[task 2020-09-28T16:44:00.351Z] 16:44:00     INFO - GECKO(4036) | [Child 4211: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (0x7ffabeb51000) [pid = 4211] [serial = 10] [outer = (nil)] [url = moz-extension://6fe41ed7-6c5a-416b-83dc-374d65c9996a/_generated_background_page.html]
[task 2020-09-28T16:44:10.449Z] 16:44:10     INFO - GECKO(4036) | [Child 4423: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (0x7f503cb93520) [pid = 4423] [serial = 1] [outer = (nil)] [url = about:blank]
[task 2020-09-28T16:44:14.500Z] 16:44:14     INFO - GECKO(4036) | [Child 4423: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (0x7f502044f400) [pid = 4423] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2020-09-28T16:45:18.185Z] 16:45:18     INFO - TEST-INFO | started process screentopng
[task 2020-09-28T16:45:18.420Z] 16:45:18     INFO - TEST-INFO | screentopng: exit 0
[task 2020-09-28T16:45:18.420Z] 16:45:18     INFO - Buffered messages logged at 16:43:48
[task 2020-09-28T16:45:18.420Z] 16:45:18     INFO - Entering test bound 
Flags: needinfo?(echen)
Pushed by echen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c5e0b10613d5
Part 1: Replace usage of nsIFocusManager with nsFocusManager; r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/641bfb171200
Part 2: Remove windowRaised in nsIFocusManager; r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/c86136e5ec87
Part 3: Remove windowLowered in nsIFocusManager; r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/20a78a587af7
Part 4: Remove windowShown in nsIFocusManager; r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/812142d8a1ca
Part 5: Remove windowHidden in nsIFocusManager; r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/5a020e0ef312
Part 6: Remove fireDelayedEvents in nsIFocusManager; r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/87fccbe06702
Part 7: Remove focusPlugin in nsIFocusManager; r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/f5233336041c
Part 8: Remove parentActivated in nsIFocusManager; r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/7cac1e1cc3df
Part 9: Remove SetFocusedWindowWithCallerType in nsIFocusManager; r=hsivonen
Regressions: 1674716
No longer regressions: 1674716
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: