Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network: use the current location to prevent errors when using CSP headers #8128

Merged
merged 1 commit into from
Mar 3, 2017

Conversation

timvandermeij
Copy link
Contributor

@timvandermeij timvandermeij commented Mar 3, 2017

When using content security headers to restrict connections to the same origin, you may not make connections to example.com. This feature detection also works with a request to the current location.

Fix-up of #8049.

…aders

When using content security headers to restrict connections to the same origin,
you may not make connections to `example.com`. This feature detection also
works with a request to the current location.
@timvandermeij
Copy link
Contributor Author

/botio-linux preview

@pdfjsbot
Copy link

pdfjsbot commented Mar 3, 2017

From: Bot.io (Linux)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 0

Live output at: http://107.21.233.14:8877/ba344cb2a9c886c/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Mar 3, 2017

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/ba344cb2a9c886c/output.txt

Total script time: 2.23 mins

Published

@timvandermeij
Copy link
Contributor Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Mar 3, 2017

From: Bot.io (Linux)


Received

Command cmd_test from @timvandermeij received. Current queue size: 0

Live output at: http://107.21.233.14:8877/95356858a12a27b/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Mar 3, 2017

From: Bot.io (Windows)


Received

Command cmd_test from @timvandermeij received. Current queue size: 0

Live output at: http://54.215.176.217:8877/6b093fdb4e1603a/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Mar 3, 2017

From: Bot.io (Windows)


Success

Full output at http://54.215.176.217:8877/6b093fdb4e1603a/output.txt

Total script time: 23.15 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@pdfjsbot
Copy link

pdfjsbot commented Mar 3, 2017

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/95356858a12a27b/output.txt

Total script time: 28.97 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@timvandermeij timvandermeij merged commit 1eb96d7 into mozilla:master Mar 3, 2017
@timvandermeij timvandermeij deleted the csp-headers branch March 3, 2017 23:01
movsb pushed a commit to movsb/pdf.js that referenced this pull request Jul 14, 2018
Network: use the current location to prevent errors when using CSP headers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants