When clicking "Raw JSON" on any ping data on
about:telemetry it should open the contained JSON as a json document (via a
data: URI), which then triggers the JSON viewer for nice displaying.
What were you doing?
- Click "Raw JSON" in the lower left
- this opens a new tab with a data uri (
It displays the JSON in plain text.
What should have happened?
It should have displayed the JSON in the rich JSON viewer.
Anything else we should know?
This in the console:
Loading failed for the <script> with source “resource://devtools-client-jsonview/lib/require.js”.
Content Security Policy: The page’s settings blocked the loading of a resource at resource://devtools-client-jsonview/lib/require.js (“default-src”).
I verified that the JSON in the
data: URI is valid (base64-decoding it and pasting it into a JSON parser).
data: uri works fine if copied from the URL bar and pasted into a new tab.
Here's the code where about:telemetry opens the new location.
This happens on Firefox Nightly 70.0a1, build id 20190716211651, macOS.