Bug 1919301 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=ad57df08b5385f1b5d44c77f14231c3d5108832c&tochange=6a254993ba42e4cee3cdf1548effc51f30d574e4

Browser console shows the following error:
```
Uncaught TypeError: can't access property "defaultView", this.ownerDoc is undefined
    setContext chrome://browser/content/nsContextMenu.sys.mjs:268
    nsContextMenu chrome://browser/content/nsContextMenu.sys.mjs:99
    <anonymous> chrome://browser/content/browser-context.js:304
nsContextMenu.sys.mjs:268:7
    setContext chrome://browser/content/nsContextMenu.sys.mjs:268
    nsContextMenu chrome://browser/content/nsContextMenu.sys.mjs:99
    <anonymous> chrome://browser/content/browser-context.js:304
Error: createFromDocumentRoot: aDocumentRoot must be an HTMLHtmlElement FormLikeFactory.sys.mjs:55:13
Uncaught TypeError: can't access property "hiding", gContextMenu is null
    <anonymous> chrome://browser/content/browser-context.js:319
browser-context.js:319:7
    <anonymous> chrome://browser/content/browser-context.js:319
```
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=ad57df08b5385f1b5d44c77f14231c3d5108832c&tochange=6a254993ba42e4cee3cdf1548effc51f30d574e4

Browser console shows the following error:
```
Uncaught TypeError: can't access property "defaultView", this.ownerDoc is undefined
    setContext chrome://browser/content/nsContextMenu.sys.mjs:268
    nsContextMenu chrome://browser/content/nsContextMenu.sys.mjs:99
    <anonymous> chrome://browser/content/browser-context.js:304
nsContextMenu.sys.mjs:268:7
    setContext chrome://browser/content/nsContextMenu.sys.mjs:268
    nsContextMenu chrome://browser/content/nsContextMenu.sys.mjs:99
    <anonymous> chrome://browser/content/browser-context.js:304

Error: createFromDocumentRoot: aDocumentRoot must be an HTMLHtmlElement FormLikeFactory.sys.mjs:55:13

Uncaught TypeError: can't access property "hiding", gContextMenu is null
    <anonymous> chrome://browser/content/browser-context.js:319
browser-context.js:319:7
    <anonymous> chrome://browser/content/browser-context.js:319
```

Back to Bug 1919301 Comment 1