Public: anyone can read this; the crew can change it.
The forge pill loads on an app whose CSP allows only its own scripts: its tag is same-origin and its links still point at the forge #8268
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
The other half of #8209. Once the app host serves the pill's script, the tag should point at that copy, so a page that sends
script-src 'self'(lab's production does) shows the pill. The Lost test then passes on the forge's own app.Done when:
toolbarTagwritessrc="/__forge/toolbar-<hash>.js"(same-origin), and its data attributes stay as they are and stay escapeddata-forge. Everything in the pill that readnew URL(me.src).origin(home link, pull link, "what is this" link, the crew link) now readsdata-forge, so those links still lead to the forge and not to the app hosttest/apps-toolbar-same-origin.test.tsproxies an app that answersscript-src 'self'and proves the tag's src is same-origin and thatdata-forgeis the forge's origin. It fails without the changeFiles: src/apps/toolbar.ts, test/apps-toolbar-same-origin.test.ts Risk: a page cached with the old tag still asks for the forge's
/assets/copy. Keep serving that path.