Closed
Bug 1634988
Opened 5 years ago
Closed 5 years ago
TypeError: state is undefined in toolkit/actors/BrowserElementParent.jsm
Categories
(Toolkit :: General, defect, P3)
Toolkit
General
Tracking
()
RESOLVED
FIXED
81 Branch
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: kernp25, Assigned: varundey20, Mentored)
Details
(Keywords: good-first-bug, steps-wanted, Whiteboard: [lang=js])
Attachments
(2 files)
I saw this error in the browser console: TypeError: state is undefined
My browser version: 75.0 (64-Bit)
Flags: needinfo?(mconley)
Updated•5 years ago
|
Severity: -- → S4
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Summary: TypeError: state is undefined → TypeError: state is undefined in toolkit/actors/BrowserElementParent.jsm
Comment 1•5 years ago
|
||
We can probably just guard against state being undefined here.
Assignee | ||
Comment 2•5 years ago
|
||
Hello. I would like to take this up
Comment 3•5 years ago
|
||
Hi, Varun! Do you have a build of Firefox built already?
If so, I think what we want to do is handle the case where the state object doesn't exist right after here:
by adding:
if (!state) {
return;
}
Flags: needinfo?(varundey20)
Assignee | ||
Comment 4•5 years ago
|
||
Updated•5 years ago
|
Assignee: nobody → varundey20
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•5 years ago
|
||
Hey Mike, I do have local build of Firefox with me. I have updated the changes at phabricator. I however could not find any tests for it. Let me know if something is missing.
Flags: needinfo?(varundey20)
Updated•5 years ago
|
Attachment #9166051 -
Attachment description: Bug 1634988 - guard state againt being undefined. r?mconley → Bug 1634988 - guard state against being undefined in BrowserElementParent. r?mconley
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b7b1979ea1d6
guard state against being undefined in BrowserElementParent. r=mconley
![]() |
||
Comment 7•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox81:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•