Closed
Bug 1534804
Opened 7 years ago
Closed 7 years ago
JavaScript error "mainDocument is null" on edit page
Categories
(developer.mozilla.org Graveyard :: Editing, enhancement, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jwhitlock, Assigned: jwhitlock)
Details
(Keywords: in-triage, Whiteboard: [specification][type:bug])
What did you do?
1. Load the dev tools console in FF 68
2. Go to a wiki page on MDN
3. Click edit
What happened?
The console shows this error:
TypeError: mainDocument is null wiki.6d974031a430.js:formatted:829
What should have happened?
Less JavaScript errors
Is there anything else we should know?
It appears that this is raised in prependLocalAnchors(), which doesn't handle the case where it is not on a wiki page.
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Assignee: nobody → jwhitlock
Status: NEW → RESOLVED
Closed: 7 years ago
Keywords: in-triage
Priority: -- → P1
Resolution: --- → FIXED
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•