Closed Bug 1041838 Opened 11 years ago Closed 11 years ago

[JavaScript Error: "Content Security Policy: Can't use 'self' if self data is not provided"]

Categories

(Marketplace Graveyard :: Payments/Refunds, defect, P2)

x86
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: krupa.mozbugs, Assigned: mat)

References

Details

(Whiteboard: [repoman])

Attachments

(1 file)

Connectivity: wifi SIM used: none Gaia/device: hamachi/1.3 steps to reproduce: 1. Launch the packaged stage app expected behavior: App loads successfully actual behavior: Home page is stuck on loading 07-21 20:22:50.521 E/GeckoConsole( 1782): Content JS LOG at app://packaged.marketplace.allizom.org/media/js/include.js:427 in s/<: [homepage] OSC injection skipped; No shelf 07-21 20:22:50.531 E/GeckoConsole( 1782): Content JS LOG at app://packaged.marketplace.allizom.org/media/js/include.js:427 in s/<: [mkt] Hiding splash screen (2.304810s) 07-21 20:22:50.541 E/GeckoConsole( 1782): Content JS LOG at app://packaged.marketplace.allizom.org/media/js/include.js:427 in s/<: [installer] Getting installed apps 07-21 20:22:50.541 E/GeckoConsole( 1782): Content JS LOG at app://packaged.marketplace.allizom.org/media/js/include.js:427 in s/<: [nav] Setting scroll to 0 07-21 20:22:50.541 E/GeckoConsole( 1782): Content JS LOG at app://packaged.marketplace.allizom.org/media/js/include.js:427 in s/<: [req] GOT https://marketplace-stage.cdn.mozilla.net/api/v1/fireplace/search/featured/?cache=1&cat=&dev=firefoxos&device=firefoxos&lang=en-US&limit=10&vary=0 07-21 20:22:50.551 E/GeckoConsole( 1782): Content JS LOG at app://packaged.marketplace.allizom.org/media/js/include.js:427 in s/<: [req] Updating request cache https://marketplace-stage.cdn.mozilla.net/api/v1/fireplace/search/featured/?cache=1&cat=&dev=firefoxos&device=firefoxos&lang=en-US&limit=10&vary=0 07-21 20:22:50.871 E/GeckoConsole( 135): [JavaScript Error: "Content Security Policy: Can't use 'self' if self data is not provided"] 07-21 20:22:50.881 E/GeckoConsole( 135): [JavaScript Warning: "Content Security Policy: Failed to parse unrecognized source app://settings.gaiamobile.org"] 07-21 20:22:50.881 E/GeckoConsole( 1782): [JavaScript Warning: "The X-Content-Security-Policy and X-Content-Security-Report-Only headers will be deprecated in the future. Please use the Content-Security-Policy and Content-Security-Report-Only headers with CSP spec compliant syntax instead." {file: "https://marketplace.allizom.org/iframe-install.html/" line: 0}] 07-21 20:22:50.891 E/GeckoConsole( 135): [JavaScript Error: "Content Security Policy: Can't use 'self' if self data is not provided"] 07-21 20:22:50.891 E/GeckoConsole( 135): [JavaScript Warning: "Content Security Policy: Failed to parse unrecognized source app://settings.gaiamobile.org"] 07-21 20:22:51.341 I/Gecko ( 1804): ###################################### forms.js loaded
Attached image screenshot
This is blocking me from testing the packaged app
Severity: normal → critical
Assignee: nobody → dspasovski
Priority: -- → P2
It seems I am not well equipped to investigate this further. There's a high likelyhood the root cause is the upgrade of Flipsnap so we can try reverting that as an interim fix.
Assignee: dspasovski → nobody
Whiteboard: [repoman]
We reverted the flipsnap update in https://github.com/mozilla/fireplace/commit/87a6c13b3e884a881d4ea5c625fa9607c3e51573 Did that do the trick ? Does the stage package works now ? I'd like to know before merging the PR for bug 1030159, which needs the updated flipsnap.
Assignee: nobody → mpillard
Flags: needinfo?(krupa.mozbugs)
I haven't seen this on packaged stage anymore.
Flags: needinfo?(krupa.mozbugs)
Based on comment 5.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: