author Nikhil Marathe <nsm.nikhil@gmail.com>
Wed, 19 Aug 2015 16:21:25 -0700
changeset 259324 e1d8c2010f8346935cfcfc5b6c3586b4a3efe4c8
parent 167492 6abb659b106e04cdb97c7545d986025654972514
child 322549 9f9e3ba9227879d0b85ecb0e6456a3dcac0d0d0b
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.