Bug 1009184 - Explicitly clear the valid region instead of attempting to paint an empty region. r=BenWa
Bug 930348 - window.navigator stubs for ServiceWorker. r=ehsan,bent

--HG--
extra : rebase_source : 291219bb284967790bdbbc1f456b88d5f6baacc1