mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
Fix undefined isSameDocument
This commit is contained in:
parent
fabc5f1c19
commit
0785204717
1 changed files with 2 additions and 0 deletions
|
|
@ -702,6 +702,8 @@
|
|||
let topLevel = aWebProgress.isTopLevel;
|
||||
|
||||
if (topLevel) {
|
||||
let isSameDocument =
|
||||
!!(aFlags & Ci.nsIWebProgressListener.LOCATION_CHANGE_SAME_DOCUMENT);
|
||||
// We need to clear the typed value
|
||||
// if the document failed to load, to make sure the urlbar reflects the
|
||||
// failed URI (particularly for SSL errors). However, don't clear the value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue