mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 918004 - B2G: Can't see remote stylesheets in Style Editor. r=ehsan
This commit is contained in:
parent
0c173f0822
commit
543dcbf937
@ -622,13 +622,10 @@ StyleSheetActor.prototype = {
|
||||
}
|
||||
};
|
||||
|
||||
if (channel instanceof Ci.nsIPrivateBrowsingChannel) {
|
||||
let loadContext = this.window
|
||||
.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||
channel.loadGroup = this.window.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||
.getInterface(Ci.nsIWebNavigation)
|
||||
.QueryInterface(Ci.nsILoadContext);
|
||||
channel.setPrivate(loadContext.usePrivateBrowsing);
|
||||
}
|
||||
.QueryInterface(Ci.nsIDocumentLoader)
|
||||
.loadGroup;
|
||||
channel.loadFlags = channel.LOAD_FROM_CACHE;
|
||||
channel.asyncOpen(streamListener, null);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user