Closed Bug 1405961 Opened 8 years ago Closed 8 years ago

Assertion failure: !aStamp.IsNull() (The timestamp should not be null), at nsDOMNavigationTiming.h:168

Categories

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

58 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox-esr52 --- unaffected
firefox56 --- unaffected
firefox57 --- unaffected
firefox58 --- fixed

People

(Reporter: bc, Assigned: valentin)

References

()

Details

(Keywords: assertion, regression, regressionwindow-wanted)

Attachments

(2 files)

Attached file Linux Debug Log
1. https://hub.docker.com/ 2. Assertion failure: !aStamp.IsNull() (The timestamp should not be null), at /builds/worker/workspace/build/src/obj-firefox/dist/include/nsDOMNavigationTiming.h:168 #01: mozilla::dom::PerformanceEntryBinding::get_duration [s3:gecko-generated-sources:5dab492dc55ca6852bd3f1cce9b96488950a035a65a4d416343f9f0fe36e001521c88226aee0bf3956514e2f5029dba037d7b08e9831c5b8cbf070c139d3dd85/dom/bindings/PerformanceEntryBinding.cpp::110] #02: mozilla::dom::GenericBindingGetter [dom/bindings/BindingUtils.cpp:2924] #03: js::CallJSNative [js/src/jscntxtinlines.h:294] #04: js::InternalCallOrConstruct [js/src/vm/Interpreter.cpp:495] #05: InternalCall [js/src/vm/Interpreter.cpp:541] #06: js::Call [js/src/vm/Interpreter.cpp:559] #07: js::CallGetter [js/src/jsapi.h:74] #08: GetExistingProperty<(js::AllowGC)1u> [js/src/vm/NativeObject.cpp:2120] #09: NativeGetPropertyInline<(js::AllowGC)1u> [js/src/vm/NativeObject.cpp:2376] #10: js::GetProperty [js/src/vm/NativeObject.h:1599] #11: js::GetProperty [js/src/jsobj.h:812] #12: Interpret [js/src/vm/Interpreter.cpp:217] #13: js::RunScript [js/src/vm/Interpreter.cpp:406] #14: js::InternalCallOrConstruct [js/src/vm/Interpreter.cpp:513] #15: InternalCall [js/src/vm/Interpreter.cpp:541] #16: js::jit::DoCallFallback [js/src/jit/BaselineIC.cpp:2534] Windows, Linux, Nightly/58. Not Beta/57
The assertion was added in bug 1403926. Could you please take a look, Valentin?
Flags: needinfo?(valentin.gosu)
Priority: -- → P2
I removed the assertion and added a test to make sure we don't crash.
Comment on attachment 8917882 [details] Bug 1405961 - Remove assertion and ensure PerformanceNavigationTiming can be used before onLoad completes https://reviewboard.mozilla.org/r/188818/#review194158
Attachment #8917882 - Flags: review?(amarchesini) → review+
Assignee: nobody → valentin.gosu
Flags: needinfo?(valentin.gosu)
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/690513d3ec06 Remove assertion and ensure PerformanceNavigationTiming can be used before onLoad completes r=baku
Backed out for failing modified mochitest dom/tests/mochitest/general/test_performance_nav_timing_before_onload.html: https://hg.mozilla.org/integration/autoland/rev/5594a2f33e1b603be379e84ebd5d5f7ea8d190e9 Push with failure: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=690513d3ec06ab8e3b0bde840cd318ecf5c56ac4&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=usercancel&filter-resultStatus=runnable&filter-resultStatus=retry Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=137302038&repo=autoland > TEST-UNEXPECTED-TIMEOUT | dom/tests/mochitest/general/test_performance_nav_timing_before_onload.html | application timed out after 330 seconds with no output
Flags: needinfo?(valentin.gosu)
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/490375161b03 Remove assertion and ensure PerformanceNavigationTiming can be used before onLoad completes r=baku
Flags: needinfo?(valentin.gosu)
Backed out for failing mochitest dom/tests/mochitest/general/test_resource_timing.html both in normal and in headless mode: https://hg.mozilla.org/integration/autoland/rev/6fa4473c2f7fb1cf1bbbc1e97def00dbbb66cc80 Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=490375161b039f95bd0e988215acdd334f936589&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=retry&filter-resultStatus=usercancel&filter-resultStatus=runnable Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=137531644&repo=autoland [task 2017-10-17T12:38:24.412Z] 12:38:24 INFO - TEST-UNEXPECTED-FAIL | dom/tests/mochitest/general/test_resource_timing.html | http://mochi.test:8888/tests/image/test/mochitest/damon.jpg should be a valid entry name [task 2017-10-17T12:38:24.412Z] 12:38:24 INFO - ok@dom/tests/mochitest/general/resource_timing_main_test.html:55:3 [task 2017-10-17T12:38:24.412Z] 12:38:24 INFO - doTest@dom/tests/mochitest/general/resource_timing_iframe.html:27:3 [task 2017-10-17T12:38:24.412Z] 12:38:24 INFO - onload@dom/tests/mochitest/general/resource_timing_iframe.html:1:1
Flags: needinfo?(valentin.gosu)
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/e8124943524c Remove assertion and ensure PerformanceNavigationTiming can be used before onLoad completes r=baku
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Flags: needinfo?(valentin.gosu)
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: