Bug 982428 - allow fixing up URIs with schemes that we can't handle, r=bz

This commit is contained in:
Gijs Kruitbosch
2014-06-19 19:22:45 +01:00
parent 21da36ad59
commit 5dcaddb118
7 changed files with 200 additions and 32 deletions

View File

@@ -46,7 +46,7 @@ interface nsITabParent;
typedef unsigned long nsLoadFlags;
[scriptable, builtinclass, uuid(2a099e83-44df-415a-be76-c145966074e7)]
[scriptable, builtinclass, uuid(e5fe5c76-e511-4da3-9709-f8294b8dc5ce)]
interface nsIDocShell : nsIDocShellTreeItem
{
/**
@@ -113,9 +113,10 @@ interface nsIDocShell : nsIDocShellTreeItem
// Whether the load should be treated as srcdoc load, rather than a URI one.
const long INTERNAL_LOAD_FLAGS_IS_SRCDOC = 0x40;
const long INTERNAL_LOAD_FLAGS_FIXUP_SCHEME_TYPOS = 0x80;
const long INTERNAL_LOAD_FLAGS_NO_OPENER = 0x100;
// NB: 0x80 is available.
/**
* Loads the given URI. This method is identical to loadURI(...) except
* that its parameter list is broken out instead of being packaged inside