Open Bug 982184 Opened 10 years ago Updated 2 years ago

HTTP request for Webworker script omits referer header

Categories

(Core :: DOM: Workers, defect, P5)

27 Branch
x86
All
defect

Tracking

()

UNCONFIRMED

People

(Reporter: nathan, Unassigned)

Details

(Whiteboard: [bugday-20140317])

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release)
Build ID: 20140212131424

Steps to reproduce:

Visit https://node-unblocker.herokuapp.com/proxy/http://sports.yahoo.com/ and find the request for GET /__rapid-worker-1.1.js 





Actual results:

The request was made without a referer header.


Expected results:

The request should have had a referer header with the value 'https://node-unblocker.herokuapp.com/proxy/http://sports.yahoo.com'

Chrome includes referers with web worker requests, and so the proxy script is able to correct the URL based on the header and the worker load successfully in Chrome. Because firefox does not include the referer header, the proxy is unable to determine the correct url and the request fails.
DevTools show no referer for the rapid-worker-1.1.js requests in 2014-03-16-03-02-02-mozilla-central-firefox-30.0a1.en-US.linux-x86_64.
Component: Untriaged → DOM: Workers
OS: Mac OS X → All
Product: Firefox → Core
Whiteboard: [bugday-20140317]
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.