SessionStore.getClosedWindowData should always return an object
Categories
(Firefox :: Session Restore, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: standard8, Assigned: onuohaoluebube05, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [lang=js])
Attachments
(1 file)
SessionStore.getClosedWindowData is only called in production code with the aAsString
argument as false.
In test code, the majority of tests call JSON.parse
to translate the string back into an object.
We can therefore drop the string option, and have it always return an object. Note this is split out from bug 1505572.
For running tests (after building), you'll want to do ./mach mochitest path/to/test
.
I'm happy to mentor this. For instructions on how to get your local build of Firefox up and running and submit your patch, see https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Note this bug will be auto-assigned when the first patch is attached.
Reporter | ||
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Hi, I'd like to help with this!! I'm getting my local build up now!
I'm not very strong in js, but I'm up for the challenge.
Reporter | ||
Comment 2•4 years ago
|
||
Sure, no-one else has started yet, as I said in comment 0, this will be auto-assigned when the first patch is attached.
Assignee | ||
Comment 3•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 5•4 years ago
|
||
bugherder |
Description
•