mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 15:27:32 +09:00
(attempt) to fix ubO latest (not PM ubO)
This commit is contained in:
parent
89b2dcbb96
commit
3837792171
1 changed files with 7 additions and 0 deletions
|
|
@ -2848,6 +2848,13 @@ IsInternalURIScheme(nsIURI* uri)
|
|||
return true;
|
||||
}
|
||||
|
||||
// Extension channels resolve to file: or jar:file: internally. Module
|
||||
// imports must retain the public extension origin as their base URL.
|
||||
bool isExtension;
|
||||
if (NS_SUCCEEDED(uri->SchemeIs("moz-extension", &isExtension)) && isExtension) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue