Closed
Bug 1314032
Opened 9 years ago
Closed 9 years ago
Crash in mozilla::dom::DOMIntersectionObserver::Update
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla52
| Tracking | Status | |
|---|---|---|
| firefox51 | --- | unaffected |
| firefox52 | + | fixed |
People
(Reporter: nayinain, Assigned: tschneider)
References
Details
(Keywords: crash, regression, topcrash)
Crash Data
Attachments
(1 file)
|
3.93 KB,
patch
|
mstange
:
review+
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is
report bp-b17928c2-4a65-44c9-902a-9489f2161031.
=============================================================
Steps to reproduce:
1. Run the following code in Web console (Shift-Ctrl-K).
window.open(URL.createObjectURL(new Blob([
'<meta charset="utf-8">\
<script>\
let observer = new IntersectionObserver(([entry]) => {\
document.body.textContent += entry.time\
});\
observer.observe(document.documentElement);\
</script>'
], {'type': 'text/html'})));
2. Allow pop-ups If needed.
Actual results:
Browser crash.
Comment 1•9 years ago
|
||
I just hit this in Nightly, too. Can you take a look at this, Tobias? Thanks.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(tschneider)
Updated•9 years ago
|
Blocks: intersection-observer-impl
Keywords: regression
| Comment hidden (obsolete) |
| Comment hidden (obsolete) |
Comment 5•9 years ago
|
||
[Tracking Requested - why for this release]: high volume crash
Crash Signature: [@ mozilla::dom::DOMIntersectionObserver::Update] → [@ mozilla::dom::DOMIntersectionObserver::Update] [@ mozilla::dom::CheckSimilarOrigin]
status-firefox51:
--- → unaffected
status-firefox52:
--- → affected
tracking-firefox52:
--- → ?
| Assignee | ||
Comment 7•9 years ago
|
||
Looking into it
Assignee: nobody → tschneider
Flags: needinfo?(tschneider)
| Assignee | ||
Comment 8•9 years ago
|
||
Attachment #8806076 -
Flags: review?(mstange)
Updated•9 years ago
|
Attachment #8806076 -
Flags: review?(mstange) → review+
Comment 10•9 years ago
|
||
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1e58a5a4ba4a
Add null checks to fix crash in mozilla::dom::DOMIntersectionObserver::Update. r=mstange
Keywords: checkin-needed
| Assignee | ||
Comment 12•9 years ago
|
||
Comment 13•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Updated•9 years ago
|
Crash Signature: [@ mozilla::dom::DOMIntersectionObserver::Update] [@ mozilla::dom::CheckSimilarOrigin] → [@ mozilla::dom::DOMIntersectionObserver::Update]
[@ mozilla::dom::CheckSimilarOrigin]
[@ mozilla::dom::Element::UpdateIntersectionObservation]
Comment 14•9 years ago
|
||
This is still a top crash on Nightly. For instance, this crash is from the November 6 Nightly:
bp-e76cc856-efe5-4ac5-a9e0-367da2161106
Should a new bug get filed for these crashes, or does this need to be reopened?
Flags: needinfo?(tschneider)
Comment 15•9 years ago
|
||
Yeah, I'm encountering crashes and sending reports from Nightly while testing my app that I've just added some Intersection Observer API code [1]. The crash is intermittent; sometimes it happens in a few seconds after the app launched, but not always.
[1] https://github.com/bzdeck/bzdeck/commit/6dc07fc
| Assignee | ||
Comment 16•9 years ago
|
||
Andrew, please file a new one, since these crashes seem to happen in mozilla::dom::Element::UpdateIntersectionObservation which I'm pretty sure is unrelated to this bug.
Updated•9 years ago
|
Component: Layout → DOM
| Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(tschneider)
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•