Backed out changesets 156eee9f2d2a,6e5aee097c86 (bug 1094545) for bc1 and xpcshell orange on a CLOSED TREE

This commit is contained in:
Wes Kocher 2014-11-07 14:23:05 -08:00
parent 67b5f78a98
commit e81fe01221
7 changed files with 6 additions and 33 deletions

View File

@ -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;
},

View File

@ -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");
*/
}

View File

@ -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]

View File

@ -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)

View File

@ -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;

View File

@ -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);

View File

@ -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;
};