Open Bug 1197936 Opened 4 years ago Updated 9 months ago

1,500 instances of "No inner window available!" emitted from dom/base/nsGlobalWindow.cpp during linux64 debug testing

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set

Tracking

()

Tracking Status
firefox43 --- affected

People

(Reporter: erahm, Unassigned)

References

(Blocks 1 open bug)

Details

This is currently the #5 most verbose warning during testing. The warning is coming from code introduced in bug 915757. Possibly similar to bug 1185793.

> 1333 [NNNNN] WARNING: No inner window available!: file dom/base/nsGlobalWindow.cpp, line 10029

This warning [1] shows up in the following test suites:

> mozilla-central_ubuntu64_vm-debug_test-mochitest-devtools-chrome-2-bm52-tests1-linux64-build53.txt:390
> mozilla-central_ubuntu64_vm-debug_test-mochitest-browser-chrome-3-bm51-tests1-linux64-build32.txt:193
> mozilla-central_ubuntu64_vm-debug_test-web-platform-tests-5-bm118-tests1-linux64-build3.txt:120
> mozilla-central_ubuntu64_vm-debug_test-mochitest-devtools-chrome-1-bm113-tests1-linux64-build27.txt:89
> mozilla-central_ubuntu64_vm-debug_test-web-platform-tests-2-bm54-tests1-linux64-build7.txt:85
> mozilla-central_ubuntu64_vm-debug_test-mochitest-devtools-chrome-3-bm117-tests1-linux64-build32.txt:62
> mozilla-central_ubuntu64_vm-debug_test-mochitest-other-bm116-tests1-linux64-build28.txt:45
> mozilla-central_ubuntu64_vm-debug_test-web-platform-tests-reftests-bm68-tests1-linux64-build4.txt:38
> mozilla-central_ubuntu64_vm-debug_test-mochitest-1-bm117-tests1-linux64-build12.txt:38
> mozilla-central_ubuntu64_vm-debug_test-mochitest-browser-chrome-1-bm122-tests1-linux64-build37.txt:33
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-1-bm122-tests1-linux64-build18.txt:32
> mozilla-central_ubuntu64_vm-debug_test-mochitest-devtools-chrome-4-bm122-tests1-linux64-build35.txt:30
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-2-bm116-tests1-linux64-build25.txt:26
> mozilla-central_ubuntu64_vm-debug_test-mochitest-3-bm113-tests1-linux64-build17.txt:24
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-browser-chrome-2-bm116-tests1-linux64-build16.txt:14
> mozilla-central_ubuntu64_vm-debug_test-mochitest-browser-chrome-2-bm122-tests1-linux64-build10.txt:14
> mozilla-central_ubuntu64_vm-debug_test-mochitest-4-bm52-tests1-linux64-build21.txt:13
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-3-bm114-tests1-linux64-build13.txt:12
> mozilla-central_ubuntu64_vm-debug_test-mochitest-jetpack-bm115-tests1-linux64-build18.txt:10
> mozilla-central_ubuntu64_vm-debug_test-mochitest-5-bm68-tests1-linux64-build14.txt:10
> mozilla-central_ubuntu64_vm-debug_test-mochitest-2-bm68-tests1-linux64-build21.txt:9
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-browser-chrome-1-bm123-tests1-linux64-build17.txt:8
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-browser-chrome-3-bm116-tests1-linux64-build33.txt:6
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-4-bm116-tests1-linux64-build28.txt:6
> mozilla-central_ubuntu64_vm-debug_test-reftest-2-bm68-tests1-linux64-build57.txt:5
> mozilla-central_ubuntu64_vm-debug_test-mochitest-e10s-5-bm114-tests1-linux64-build28.txt:5
> mozilla-central_ubuntu64_vm-debug_test-web-platform-tests-3-bm117-tests1-linux64-build2.txt:4
> mozilla-central_ubuntu64_vm-debug_test-reftest-e10s-1-bm120-tests1-linux64-build16.txt:3
> mozilla-central_ubuntu64_vm-debug_test-crashtest-e10s-bm53-tests1-linux64-build3.txt:3
> mozilla-central_ubuntu64_vm-debug_test-crashtest-bm122-tests1-linux64-build14.txt:3
> mozilla-central_ubuntu64_vm-debug_test-web-platform-tests-6-bm52-tests1-linux64-build8.txt:2
> mozilla-central_ubuntu64_vm-debug_test-reftest-4-bm113-tests1-linux64-build12.txt:1

It shows up in 448 tests. A few of the most prevalent:

> 82 - browser/components/tabview/test/browser_tabview_bug654721.js
> 80 - /encoding/single-byte-decoder.html
> 57 - browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cache.js
> 50 - /mixed-content/blockable/no-opt-in/cross-origin-http/link-css-tag/top-level/keep-scheme-redirect/no-opt-in-blocks.https.html
> 21 - browser/components/places/tests/browser/browser_markPageAsFollowedLink.js
> 18 - /mixed-content/blockable/meta-csp/same-host-http/link-css-tag/top-level/no-redirect/opt-in-blocks.https.html
> 18 - /mixed-content/blockable/http-csp/same-host-http/link-css-tag/top-level/keep-scheme-redirect/opt-in-blocks.https.html
> 18 - /mixed-content/blockable/http-csp/cross-origin-http/link-css-tag/top-level/keep-scheme-redirect/opt-in-blocks.https.html
> 17 - browser/components/tabview/test/browser_tabview_bug656913.js
> 15 - dom/base/test/test_bug704320_https_https.html

[1] https://hg.mozilla.org/mozilla-central/annotate/ba43a48d3c52/dom/base/nsGlobalWindow.cpp#l10029
Looks like the frequency of this has increased.

Updated top 10 tests list:

> 154 - /dom/nodes/Document-characterSet-normalization.html
> 86 - /mixed-content/blockable/no-opt-in/cross-origin-http/link-css-tag/top-level/keep-scheme-redirect/no-opt-in-blocks.https.html
> 66 - /2dcontext/drawing-images-to-the-canvas/drawimage_canvas_8.html
> 65 - /webvtt/rendering/cues-with-video/processing-model/evil/9_cues_overlapping_completely.html
> 64 - /html/syntax/parsing/html5lib_comments01.html?run_type=uri
> 56 - /encoding/single-byte-decoder.html
> 38 - /2dcontext/drawing-images-to-the-canvas/drawimage_canvas_5.html
> 36 - dom/imptests/html/dom/nodes/test_Document-createElement-namespace.html
> 33 - /mixed-content/blockable/no-opt-in/same-host-http/link-css-tag/top-level/keep-scheme-redirect/no-opt-in-blocks.https.html
> 21 - browser/base/content/test/social/browser_social_window.js
Summary: 1,300 instances of "No inner window available!" emitted from dom/base/nsGlobalWindow.cpp during linux64 debug testing → 1,500 instances of "No inner window available!" emitted from dom/base/nsGlobalWindow.cpp during linux64 debug testing
This error also show sup in C-C TB |make mozmill| test suite runs.

     29 [17983] WARNING: No inner window available!: file /NREF-COMM-CENTRAL/comm-central/mozilla/dom/base/nsGlobalWindow.cpp, line 9694

Also, actually, I see more of them if I run C-C TB under valgrind to check memory-related runtime errors. Valgrind slows down the execution very much.

I suspect there are code that ASSUMEs that the inner window appears much quickly while it may take time for an inner window to appear on the screen: maybe proper wait is necessary rather than trying to poke/probe inner window and failing before such inner window is available ?
The frequency of this has reduced, but it's still top 40:

> 771 WARNING: No inner window available!: file dom/base/nsGlobalWindow.cpp, line 9889

This warning [1] shows up in the following test suites:

>    161 - desktop-test-linux64/debug-web-platform-tests-12 12
>     66 - desktop-test-linux64/debug-web-platform-tests-e10s-6 6
>     62 - desktop-test-linux64/debug-web-platform-tests-e10s-1 1
>     31 - desktop-test-linux64/debug-mochitest-e10s-9 9
>     25 - desktop-test-linux64/debug-mochitest-8 8
>     22 - desktop-test-linux64/debug-mochitest-6 6
>     19 - desktop-test-linux64/debug-mochitest-devtools-chrome-6 dt6
>     19 - desktop-test-linux64/debug-mochitest-browser-chrome-e10s-1 bc1
>     17 - desktop-test-linux64/debug-mochitest-browser-chrome-e10s-7 bc7
>     14 - desktop-test-linux64/debug-web-platform-tests-reftests-e10s Wr
>     13 - desktop-test-linux64/debug-mochitest-clipboard cl
>     12 - desktop-test-linux64/debug-mochitest-jetpack JP
>     12 - desktop-test-linux64/debug-web-platform-tests-reftests Wr
>     12 - desktop-test-linux64/debug-mochitest-devtools-chrome-5 dt5
>     11 - desktop-test-linux64/debug-mochitest-e10s-5 5
>     11 - desktop-test-linux64/debug-mochitest-browser-chrome-7 bc7
>     11 - desktop-test-linux64/debug-mochitest-browser-chrome-3 bc3
>     10 - desktop-test-linux64/debug-mochitest-browser-chrome-5 bc5
>     10 - desktop-test-linux64/debug-mochitest-e10s-6 6
>     10 - desktop-test-linux64/debug-mochitest-1 1
>     10 - desktop-test-linux64/debug-reftest-1 R1
>      9 - desktop-test-linux64/debug-mochitest-browser-chrome-e10s-3 bc3
>      8 - desktop-test-linux64/debug-mochitest-devtools-chrome-4 dt4
>      8 - desktop-test-linux64/debug-mochitest-devtools-chrome-8 dt8
>      8 - desktop-test-linux64/debug-web-platform-tests-6 6
>      7 - desktop-test-linux64/debug-mochitest-webgl-e10s-3 gl3
>      7 - desktop-test-linux64/debug-mochitest-browser-chrome-e10s-6 bc6
>      6 - desktop-test-linux64/debug-mochitest-7 7
>      6 - desktop-test-linux64/debug-mochitest-devtools-chrome-2 dt2
>      6 - desktop-test-linux64/debug-mochitest-3 3
>      6 - desktop-test-linux64/debug-mochitest-webgl-e10s-1 gl1
>      6 - desktop-test-linux64/debug-mochitest-webgl-2 gl2
>      6 - desktop-test-linux64/debug-mochitest-browser-chrome-e10s-4 bc4
>      6 - desktop-test-linux64/debug-mochitest-e10s-1 1
>      5 - desktop-test-linux64/debug-mochitest-e10s-8 8
>      5 - desktop-test-linux64/debug-reftest-no-accel-5 Ru5
>      5 - desktop-test-linux64/debug-mochitest-e10s-3 3
>      5 - desktop-test-linux64/debug-crashtest-e10s C
>      4 - desktop-test-linux64/debug-mochitest-chrome-1 c1
>      4 - desktop-test-linux64/debug-mochitest-e10s-7 7
>      4 - desktop-test-linux64/debug-mochitest-clipboard-e10s cl
>      4 - desktop-test-linux64/debug-mochitest-browser-chrome-e10s-5 bc5
>      4 - desktop-test-linux64/debug-mochitest-devtools-chrome-10 dt10
>      4 - desktop-test-linux64/debug-mochitest-9 9
>      4 - desktop-test-linux64/debug-reftest-no-accel-e10s-5 Ru5
>      4 - desktop-test-linux64/debug-mochitest-devtools-chrome-3 dt3
>      4 - desktop-test-linux64/debug-mochitest-browser-chrome-2 bc2
>      4 - desktop-test-linux64/debug-mochitest-chrome-3 c3
>      3 - desktop-test-linux64/debug-mochitest-browser-chrome-1 bc1
>      3 - desktop-test-linux64/debug-mochitest-5 5
>      3 - desktop-test-linux64/debug-mochitest-browser-chrome-e10s-2 bc2
>      3 - desktop-test-linux64/debug-reftest-5 R5
>      3 - desktop-test-linux64/debug-mochitest-devtools-chrome-9 dt9
>      3 - desktop-test-linux64/debug-mochitest-devtools-chrome-1 dt1
>      3 - desktop-test-linux64/debug-mochitest-browser-chrome-4 bc4
>      2 - desktop-test-linux64/debug-reftest-e10s-5 R5
>      2 - desktop-test-linux64/debug-mochitest-webgl-e10s-2 gl2
>      2 - desktop-test-linux64/debug-mochitest-browser-chrome-6 bc6
>      2 - desktop-test-linux64/debug-mochitest-webgl-1 gl1
>      2 - desktop-test-linux64/debug-web-platform-tests-e10s-4 4
>      2 - desktop-test-linux64/debug-firefox-ui-functional-local en-US
>      2 - desktop-test-linux64/debug-web-platform-tests-8 8
>      2 - desktop-test-linux64/debug-mochitest-2 2
>      2 - desktop-test-linux64/debug-web-platform-tests-5 5
>      2 - desktop-test-linux64/debug-crashtest C
>      2 - desktop-test-linux64/debug-mochitest-media mda
>      2 - desktop-test-linux64/debug-web-platform-tests-e10s-2 2
>      2 - desktop-test-linux64/debug-web-platform-tests-e10s-3 3
>      1 - desktop-test-linux64/debug-web-platform-tests-e10s-5 5
>      1 - desktop-test-linux64/debug-web-platform-tests-e10s-11 11
>      1 - desktop-test-linux64/debug-reftest-e10s-3 R3
>      1 - desktop-test-linux64/debug-web-platform-tests-e10s-8 8
>      1 - desktop-test-linux64/debug-web-platform-tests-e10s-12 12
>      1 - desktop-test-linux64/debug-web-platform-tests-1 1
>      1 - desktop-test-linux64/debug-mochitest-webgl-3 gl3
>      1 - desktop-test-linux64/debug-reftest-e10s-6 R6
>      1 - desktop-test-linux64/debug-jsreftest-e10s-1 J1
>      1 - desktop-test-linux64/debug-reftest-no-accel-e10s-3 Ru3
>      1 - desktop-test-linux64/debug-web-platform-tests-10 10
>      1 - desktop-test-linux64/debug-reftest-3 R3
>      1 - desktop-test-linux64/debug-mochitest-4 4
>      1 - desktop-test-linux64/debug-reftest-e10s-8 R8
>      1 - desktop-test-linux64/debug-mochitest-e10s-10 10
>      1 - desktop-test-linux64/debug-web-platform-tests-e10s-9 9
>      1 - desktop-test-linux64/debug-mochitest-e10s-2 2

It shows up in 335 tests. A few of the most prevalent:

>    161 -        /encoding/single-byte-decoder.html
>     60 - [e10s] /html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/parsing.html
>     27 - [e10s] parser/htmlparser/tests/mochitest/test_compatmode.html
>     20 -        image/test/mochitest/test_animation_operators.html
>      9 -        file:///home/worker/workspace/build/tests/reftest/tests/layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-iframe-vert-001.xhtml == file:///home/worker/workspace/build/tests/reftest/tests/layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-iframe-vert-001-ref.xhtml
>      8 - [e10s] /html/syntax/parsing/html5lib_scriptdata01.html?run_type=NNNNNN_single
>      8 - [e10s] /html/syntax/parsing/html5lib_entities01.html?run_type=NNNNNN
>      8 - [e10s] browser/components/extensions/test/browser/browser_ext_windows_create_url.js
>      8 -        /html/syntax/parsing/html5lib_entities01.html?run_type=NNNNNN_single
>      7 -        jetpack-package/addon-sdk/source/test/test-simple-prefs.js.testUnloadOfDynamicPrefGeneration

[1] https://hg.mozilla.org/mozilla-central/annotate/71fd23fa0803/dom/base/nsGlobalWindow.cpp#l9889
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.