author Nikhil Marathe <>
Wed, 19 Aug 2015 16:21:25 -0700
changeset 259324 e1d8c2010f8346935cfcfc5b6c3586b4a3efe4c8
parent 108111 acd23e460291f32a881c994ec6d0374df3e00cb0
permissions -rw-r--r--
Bug 1180861 - Various ServiceWorker registration fixes to get test passing. r=bkelly,jgraham. This commit implements the following changes to get registration.https.html working. 1) Fail with NS_ERROR_DOM_SECURITY_ERR where the spec requires it. 2) Propagate JSExnType to ServiceWorkerManager::HandleError() so that a JS exception object with the correct .name can be created. 3) Fail with security error on redirect failure. 4) Check fetched script's mimetype. 5) Add missing python server files for web-platform-tests. 6) Update web-platform-tests expected data. 7) Several tests have been changed to use TypeError or more appropriate JS errors based on my reading of the spec.

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at

# empty file to block B2G/Gonk from trying to build anything inside mozilla-central