Does anyone here know of any good tricks to debug Content Integrity in the browser? Both @FirefoxDevTools and @ChromeDevTools are
for it
-
-
By content integrity do you mean the quality of the content?
1 reply 0 retweets 1 like -
1 reply 0 retweets 1 like
-
Replying to @yoshuawuyts @ratcliffe_mike and
When a check fails, it doesn't tell me which element it was checking — and which hash it was expecting. Makes it tricky to debug :(
2 replies 0 retweets 0 likes -
Replying to @yoshuawuyts @ratcliffe_mike and
In firefox you can use a service worker and console.log() the FetchEvent.request.url and request.integrity values. Recommend dev edition 57.
1 reply 0 retweets 4 likes -
Replying to @wanderview @yoshuawuyts and
Something like this: https://gist.github.com/wanderview/1c525a2a6a5b96f61357583933762627 …
1 reply 0 retweets 1 like
Replying to @wanderview @ratcliffe_mike and
Hahaha, that's a neat hack! :D thanks!
9:28 AM - 17 Oct 2017
1 reply
0 retweets
1 like
-
-
Replying to @yoshuawuyts @ratcliffe_mike and
Just make sure to use 57+. There was a spec footgun with service workers, SRI, and <script> tags in earlier versions.
0 replies 0 retweets 2 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.