Closed
Bug 1174301
Opened 9 years ago
Closed 9 years ago
Chrome service mock-response demo fails in Firefox with Same Origin Policy error
Categories
(Core :: DOM: Service Workers, defect)
Core
DOM: Service Workers
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: u279076, Unassigned)
References
Details
Simply load https://googlechrome.github.io/samples/service-worker/mock-responses/index.html and click the "Shorten" button. In Chrome, a shortened URL is generated. In Firefox, no URL is generated and the following error appears in the console: > Cross-Origin Request Blocked: The Same Origin Policy disallows reading > the remote resource at > https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyCr0XVB-Hz1ohPpjvLatdj4qZ5zcSohHsU. > (Reason: CORS header 'Access-Control-Allow-Origin' missing).
Updated•9 years ago
|
Blocks: ServiceWorkers-v1
This works for me as of central a6eeb28458fd
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•