author Nikhil Marathe <>
Wed, 19 Aug 2015 16:21:25 -0700
changeset 259324 e1d8c2010f8346935cfcfc5b6c3586b4a3efe4c8
parent 240091 825cbf822f735684ba073e4603c31800bee5fb10
child 298244 63cfc2bd51fab69b6d4f3803af86c4b5a3a0eb01
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.

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# 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

with Files('**'):
    BUG_COMPONENT = ('Core', 'Layout')

DIRS += [

    DIRS += ['printing']


DIRS += ['build', 'media']

    TEST_DIRS += ['tools/layout-debug']

CRASHTEST_MANIFESTS += ['../testing/crashtest/crashtests.list']