To fix this bug, this condition:
```
if (!trigger._placesNode) {
return;
}
```
should be changed to
```
if (!trigger._placesNode?.bookmarkGuid) {
return;
}
```
Bug 1638360 Comment 11 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
To fix this bug, this condition:
```
if (!trigger._placesNode) {
return;
}
```
should be changed to
```
if (!trigger._placesNode?.bookmarkGuid) {
return;
}
```
at https://searchfox.org/mozilla-central/rev/4bb2401ecbfce89af06fb2b4d0ea3557682bd8ff/browser/components/extensions/parent/ext-menus.js#1168