mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-07 07:47:30 +09:00
moebius#65: Fix: "about:..." - throws an errors
https://github.com/MoonchildProductions/moebius/pull/65
This commit is contained in:
parent
f0536c394b
commit
61ce67c968
5 changed files with 43 additions and 30 deletions
|
|
@ -216,7 +216,7 @@ var FormDataInternal = {
|
|||
// We want to avoid saving data for about:sessionrestore as a string.
|
||||
// Since it's stored in the form as stringified JSON, stringifying further
|
||||
// causes an explosion of escape characters. cf. bug 467409
|
||||
if (isRestorationPage(ret.url)) {
|
||||
if (isRestorationPage(ret.url) && ret.id && ret.id.sessionData) {
|
||||
ret.id.sessionData = JSON.parse(ret.id.sessionData);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue