mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Backed out changesets 156eee9f2d2a,6e5aee097c86 (bug 1094545) for bc1 and xpcshell orange on a CLOSED TREE
This commit is contained in:
parent
67b5f78a98
commit
e81fe01221
@ -11,7 +11,7 @@ Components.utils.import("resource://gre/modules/NetUtil.jsm");
|
||||
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
|
||||
const SCHEME = "place";
|
||||
const OURURL = "chrome://browser/content/places/content-ui/controller.xhtml";
|
||||
const URL = "chrome://browser/content/places/content-ui/controller.xhtml";
|
||||
|
||||
function PlacesProtocolHandler() {}
|
||||
|
||||
@ -30,7 +30,7 @@ PlacesProtocolHandler.prototype = {
|
||||
},
|
||||
|
||||
newChannel: function PPH_newChannel(aUri) {
|
||||
let chan = NetUtil.newChannel(OURURL);
|
||||
let chan = NetUtil.newChannel(URL);
|
||||
chan.originalURI = aUri;
|
||||
return chan;
|
||||
},
|
||||
|
@ -1,25 +0,0 @@
|
||||
function run_test()
|
||||
{
|
||||
var url = new URL('http://www.example.com');
|
||||
do_check_eq(url.href, "http://www.example.com/");
|
||||
|
||||
var url2 = new URL('/foobar', url);
|
||||
do_check_eq(url2.href, "http://www.example.com/foobar");
|
||||
|
||||
// Blob is not exposed in xpcshell yet, but when it is we should
|
||||
// reenable the Blob bits here.
|
||||
do_check_false("Blob" in this)
|
||||
|
||||
/*
|
||||
var blob = new Blob(['a']);
|
||||
var url = URL.createObjectURL(blob);
|
||||
ok(url, "URL is created!");
|
||||
|
||||
var u = new URL(url);
|
||||
ok(u, "URL created");
|
||||
is(u.origin, "null", "Url doesn't have an origin if created in a JSM");
|
||||
|
||||
URL.revokeObjectURL(url);
|
||||
ok(true, "URL is revoked");
|
||||
*/
|
||||
}
|
@ -29,7 +29,6 @@ run-sequentially = Hardcoded 4444 port.
|
||||
# Bug 1018414: hardcoded localhost doesn't work properly on some OS X installs
|
||||
skip-if = os == 'mac'
|
||||
[test_thirdpartyutil.js]
|
||||
[test_url.js]
|
||||
[test_xhr_document.js]
|
||||
[test_xhr_standalone.js]
|
||||
[test_xmlserializer.js]
|
||||
|
@ -11888,7 +11888,6 @@ class CGResolveSystemBinding(CGAbstractMethod):
|
||||
def definition_body(self):
|
||||
descriptors = self.config.getDescriptors(hasInterfaceObject=True,
|
||||
isExposedInSystemGlobals=True,
|
||||
workers=False,
|
||||
register=True,
|
||||
skipGen=False)
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
// [Constructor(DOMString url, optional (URL or DOMString) base = "about:blank")]
|
||||
[Constructor(DOMString url, URL base),
|
||||
Constructor(DOMString url, optional DOMString base = "about:blank"),
|
||||
Exposed=(Window,Worker,System)]
|
||||
Exposed=(Window,Worker)]
|
||||
interface URL {
|
||||
};
|
||||
URL implements URLUtils;
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
[Constructor(optional ScalarValueString init = ""),
|
||||
Constructor(URLSearchParams init),
|
||||
Exposed=(Window,Worker,System)]
|
||||
Exposed=(Window,Worker)]
|
||||
interface URLSearchParams {
|
||||
void append(ScalarValueString name, ScalarValueString value);
|
||||
void delete(ScalarValueString name);
|
||||
|
@ -14,7 +14,7 @@
|
||||
*/
|
||||
|
||||
[NoInterfaceObject,
|
||||
Exposed=(Window, Worker,System)]
|
||||
Exposed=(Window, Worker)]
|
||||
interface URLUtils {
|
||||
// Bug 824857: no support for stringifier attributes yet.
|
||||
// stringifier attribute ScalarValueString href;
|
||||
@ -49,7 +49,7 @@ interface URLUtils {
|
||||
};
|
||||
|
||||
[NoInterfaceObject,
|
||||
Exposed=(Window, Worker, System)]
|
||||
Exposed=(Window, Worker)]
|
||||
interface URLUtilsSearchParams {
|
||||
attribute URLSearchParams searchParams;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user