Backed out changeset 27f5e66b3919 (bug 1201498) for serviceworkerobject-scripturl.https.html failures
authorWes Kocher <wkocher@mozilla.com>
Tue, 10 Nov 2015 10:51:23 -0800
changeset 271949 67f8880bc989a52e52b708b1495c27ed48ca06e5
parent 271948 f0e6e0ae362db9c14de6c11a60323dfebb0ca834
child 271950 145935666adb94e2b19ab38ae9ce62a3b203b8dc
push id67815
push userkwierso@gmail.com
push dateTue, 10 Nov 2015 18:51:32 +0000
treeherdermozilla-inbound@67f8880bc989 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1201498
milestone45.0a1
backs out27f5e66b391942b8f788439038e00f93b0017b79
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 27f5e66b3919 (bug 1201498) for serviceworkerobject-scripturl.https.html failures
dom/workers/ServiceWorkerManager.cpp
--- a/dom/workers/ServiceWorkerManager.cpp
+++ b/dom/workers/ServiceWorkerManager.cpp
@@ -1482,17 +1482,17 @@ ServiceWorkerManager::Register(nsIDOMWin
 
   nsCString cleanedScope;
   rv = aScopeURI->GetSpecIgnoringRef(cleanedScope);
   if (NS_WARN_IF(NS_FAILED(rv))) {
     return NS_ERROR_FAILURE;
   }
 
   nsAutoCString spec;
-  rv = aScriptURI->GetSpecIgnoringRef(spec);
+  rv = aScriptURI->GetSpec(spec);
   if (NS_WARN_IF(NS_FAILED(rv))) {
     return rv;
   }
 
   nsCOMPtr<nsIGlobalObject> sgo = do_QueryInterface(window);
   ErrorResult result;
   RefPtr<Promise> promise = Promise::Create(sgo, result);
   if (result.Failed()) {