profiler
profiler copied to clipboard
captured profile doesnt load
I start a new record using the profiler button but it displays
SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 1 column 10413393 of the JSON data
when
wanna see it
┆Issue is synchronized with this Jira Task
can you please share some more information about your environemnt ? firefox version, operating system, etc
Closing awaiting more information. Will reopen if the bug is actionable thanks to new information. Thanks
I'm using Firefox 129.0.2 (64-bit) and ms os Windows 11 pro Version 10.0.22631 Build 22631 x64 on a hp dw3 series laptop
SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 1 column 1005496 of the JSON data xp receive-profile.js:1309 a receive-profile.js:864 pp receive-profile.js:1050 Redux 2 Rp receive-profile.js:1652 Redux 2 _processInitialUrls UrlManager.js:133 componentDidMount UrlManager.js:214 React 10 Redux 10 _setupLocalization AppLocalizationProvider.js:84 componentDidUpdate AppLocalizationProvider.js:92 React 9 w scheduler.production.min.js:13 _ scheduler.production.min.js:14 7463 scheduler.production.min.js:14 Webpack 11 AppViewRouter.js:92:20
SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 1 column 1005496 of the JSON data xp receive-profile.js:1309 AppViewRouter.js:92:20 render AppViewRouter.js:92 React 11 Redux 15 pp receive-profile.js:1080
this is the error that I get, is there anything else that I can get like reports or logs that can help
and I have Kaspersky total security 21.3.10.391m
Thanks for the additional information, it is very strange.
Can you try to follow the instructions in the "Shutdown" part of this documentation: https://profiler.firefox.com/docs/#/./guide-startup-shutdown?id=shutdown
Hopefully you'll get the raw json file on disk, that you can then compress and attach here. You can also send it to me by email using a file service such as https://wormhole.app/ at: julien at mozilla.com.
Recording 2024-08-30 191237.mp4 https://drive.google.com/file/d/1yYvHObbTXnEWdW7WQ4hKpB8j5qvNTp7A/view?usp=drive_web
On Fri, Aug 30, 2024 at 12:51 PM Julien Wajsberg @.***> wrote:
Thanks for the additional information, it is very strange.
Can you try to follow the instructions in the "Shutdown" part of this documentation: https://profiler.firefox.com/docs/#/./guide-startup-shutdown?id=shutdown
Hopefully you'll get the raw json file on disk, that you can then compress and attach here. You can also send it to me by email using a file service such as https://wormhole.app/ at: julien at mozilla.com.
— Reply to this email directly, view it on GitHub https://github.com/firefox-devtools/profiler/issues/5095#issuecomment-2320620789, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANF4OPVOC4GL3DQ6DLV2OYTZUA2S5AVCNFSM6AAAAABNEHYRCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRQGYZDANZYHE . You are receiving this because you authored the thread.Message ID: @.***>
Here are some updated instructions if you can still reproduce reliably.
- go to profiler.firefox.com and update the app by clicking the "apply" button in the notice at the top (if you haven't done that this week yet)
- reproduce the issue.
- open the web console in the devtools
- run this in the WebConsole
saveToDisk(await window.retrieveRawProfileDataFromBrowser()) - share the file with us
Thanks
ok thanks
On Wed, Sep 11, 2024 at 11:03 PM Julien Wajsberg @.***> wrote:
Here are some updated instructions if you can still reproduce reliably.
- go to profiler.firefox.com and update the app by clicking the "apply" button in the notice at the top (if you haven't done that this week yet)
- reproduce the issue.
- open the web console in the devtools
- run this in the WebConsole saveToDisk(await window.retrieveRawProfileDataFromBrowser())
- share the file with us
Thanks
— Reply to this email directly, view it on GitHub https://github.com/firefox-devtools/profiler/issues/5095#issuecomment-2344550091, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANF4OPQQHCHZ4MQNUR5BF7TZWCLJVAVCNFSM6AAAAABNEHYRCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBUGU2TAMBZGE . You are receiving this because you authored the thread.Message ID: @.***>
On Fri, Sep 13, 2024 at 1:34 AM mo lab @.***> wrote:
ok thanks
On Wed, Sep 11, 2024 at 11:03 PM Julien Wajsberg @.***> wrote:
Here are some updated instructions if you can still reproduce reliably.
- go to profiler.firefox.com and update the app by clicking the "apply" button in the notice at the top (if you haven't done that this week yet)
- reproduce the issue.
- open the web console in the devtools
- run this in the WebConsole saveToDisk(await window.retrieveRawProfileDataFromBrowser())
- share the file with us
Thanks
— Reply to this email directly, view it on GitHub https://github.com/firefox-devtools/profiler/issues/5095#issuecomment-2344550091, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANF4OPQQHCHZ4MQNUR5BF7TZWCLJVAVCNFSM6AAAAABNEHYRCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBUGU2TAMBZGE . You are receiving this because you authored the thread.Message ID: @.***>
01:56:04.644 Removing unpermitted intrinsics lockdown-install.js:1:52832
01:56:04.682 Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “script-src 'self' 'wasm-unsafe-eval' https://ff.kis.v2.scr.kaspersky-labs.com wss://ff.kis.v2.scr.kaspersky-labs.com” inpage.js:1:253625
01:56:04.783 __ _ __
/ () / |
| | _ _ __ | | _____ __
| _| | '/ _ \ / _ \ / /
| | | | | | __/ || () > < __ _ _
|| ||| ___|| _//_\ / () |
,. ,. _ __ _ __ ___ | | | | ___ _ _
| \ / | | ' | '/ _ | | | |/ _ \ '|
|/ \ _ / | | |) | | | () | | | | | / |
| | | ./|| ___/|| |||___||
/ - - \ ||
,- V__V -.
-= __- * - .,=-
\_ - _/ -----' main.e6861a9e647e873713d5.bundle.js:172:617
01:56:04.783 The following profiler information is available via the console:
window.profile - The currently loaded profile window.filteredThread - The current filtered thread window.filteredMarkers - The current filtered and processed markers window.selectedMarker - The selected processed marker in the current thread window.callTree - The call tree of the current filtered thread window.getState - The function that returns the current Redux state. window.selectors - All the selectors that are used to get data from the Redux state. window.dispatch - The function to dispatch a Redux action to change the state. window.actions - All the actions that can be dispatched to change the state. window.experimental - The object that holds flags of all the experimental features. window.togglePseudoLocalization - Enable pseudo localizations by passing "accented" or "bidi" to this function, or disable using no parameters. window.toggleTimelineType - Toggle timeline graph type by passing "cpu-category", "category", or "stack". window.retrieveRawProfileDataFromBrowser - Retrieve the profile attached to the current tab and returns it. Use "await" to call it. window.saveToDisk - Saves to a file the parameter passed to it, with an optional filename parameter. You can use that to save the profile returned by "retrieveRawProfileDataFromBrowser".
The profile format is documented here: https://github.com/firefox-devtools/profiler/blob/main/docs-developer/processed-profile-format.md
The CallTree class's source code is available here: https://github.com/firefox-devtools/profiler/blob/main/src/profile-logic/call-tree.js main.e6861a9e647e873713d5.bundle.js:172:1535 01:56:04.875 Successfully compiled asm.js code (total compilation time 27ms) zee-worker.js 01:56:04.947 SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 1 column 2769286 of the JSON data Pp https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:86 main.e6861a9e647e873713d5.bundle.js:137:156480 01:56:04.949 SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 1 column 2769286 of the JSON data Pp https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:86 main.e6861a9e647e873713d5.bundle.js:80:1936 01:56:08.511 Unknown property ‘-moz-user-focus’. Declaration dropped. from-browser:1:604 01:56:08.513 Unknown property ‘-moz-user-focus’. Declaration dropped. from-browser:1:1497 01:56:08.514 Unknown property ‘-moz-user-focus’. Declaration dropped. from-browser:1:349 01:56:08.514 Unknown property ‘-moz-user-focus’. Declaration dropped. from-browser:1:657 01:56:15.488 Navigated to https://profiler.firefox.com/from-browser 01:56:15.521 GET https://profiler.firefox.com/from-browser [HTTP/2 200 10404ms]
01:56:15.536 XHRGET https://ff.kis.v2.scr.kaspersky-labs.com/7D8B79A2-8974-4D7B-A76A-F4F29624C06Bc1sIbRJBmOqwOeLk7vCX8W-XtmGLv9VV-I_N5XDLcFIkT7D65PUNBOKISPBXWKR6Cr5ZFnF-lWaXQY3zm3UjWQ/init?url=https://profiler.firefox.com/from-browser&plugins=abn&abn_shadow&xhr_content&data={"data":[{"plugin":"abn","parameters":"{"isCssUrlInjected":false}"},{"plugin":"abn_shadow","parameters":"{"isCssUrlInjected":false}"},{"plugin":"xhr_content","parameters":"{"referrer":""}"}]}&isTopLevel=true&nocache=1ae80 [HTTP/2 200 27ms]
01:56:15.580 XHRGET https://ff.kis.v2.scr.kaspersky-labs.com/546B8E56-BD65-DA4B-A165-DCB3B3B68655/A2D696D6-4FBA-6D47-8742-50029E777C0A/longpooling?get&nocache=128a3 NS_BINDING_ABORTED
01:56:15.923 GET wss://ff.kis.v2.scr.kaspersky-labs.com/7D8B79A2-8974-4D7B-A76A-F4F29624C06Bc1sIbRJBmOqwOeLk7vCX8W-XtmGLv9VV-I_N5XDLcFIkT7D65PUNBOKISPBXWKR6Cr5ZFnF-lWaXQY3zm3UjWQ/websocket?url=https://profiler.firefox.com/from-browser&nocache=1726179964691 NS_ERROR_CONNECTION_REFUSED
01:56:16.105 XHRPOST https://ff.kis.v2.scr.kaspersky-labs.com/546B8E56-BD65-DA4B-A165-DCB3B3B68655/A2D696D6-4FBA-6D47-8742-50029E777C0A/to/abn.statInfo [HTTP/2 200 0ms]
01:56:24.543 Use of navigator.sendBeacon instead of synchronous XMLHttpRequest during unload and pagehide improves user experience. main.js:1030:25 01:56:24.554 XHRGET https://ff.kis.v2.scr.kaspersky-labs.com/546B8E56-BD65-DA4B-A165-DCB3B3B68655/A2D696D6-4FBA-6D47-8742-50029E777C0A/shutdown/null?null&nocache=19b7d [HTTP/2 200 0ms]
01:56:24.583 Removing unpermitted intrinsics lockdown-install.js:1:52832 01:56:24.594 XHRGET https://profiler.firefox.com/locales/en-US/app.ftl [HTTP/2 200 4178ms]
01:56:24.596 GET https://ff.kis.v2.scr.kaspersky-labs.com/FD126C42-EBFA-4E12-B309-BB3FDD723AC1/main.js?attr=FHQNJQBttR1e0TbMaa_1H3129GUMoQHiSXHIRVZuhVpoezHjDv7KBxTyDN0hV4rd29TIl7pmA1D-Bcutxpfldg [HTTP/2 200 0ms]
01:56:24.598 GET https://ff.kis.v2.scr.kaspersky-labs.com/E3E8934C-235A-4B0E-825A-35A08381A191/abn/main.css?attr=aHR0cHM6Ly9wcm9maWxlci5maXJlZm94LmNvbS9mcm9tLWJyb3dzZXI [HTTP/2 200 0ms]
01:56:24.600 GET https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js [HTTP/2 200 32696ms]
01:56:24.614 Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “script-src 'self' 'wasm-unsafe-eval' https://ff.kis.v2.scr.kaspersky-labs.com wss://ff.kis.v2.scr.kaspersky-labs.com” inpage.js:1:253625 01:56:24.636 GET wss://ff.kis.v2.scr.kaspersky-labs.com/7D8B79A2-8974-4D7B-A76A-F4F29624C06BFHQNJQBttR1e0TbMaa_1H6iQN9f5b6Z-dlgu_QuUblDJzRXlOyB6KLLRVHWAgN0gUUaEsONCbF36zsW4bKIB5Q/websocket?url=https://profiler.firefox.com/from-browser&nocache=1726179984626 NS_ERROR_CONNECTION_REFUSED
01:56:26.604 GET https://profiler.firefox.com/favicon.png [HTTP/2 200 31612ms]
01:56:34.616 The resource at “https://profiler.firefox.com/locales/en-US/app.ftl” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly. from-browser 01:56:36.356 Firefox can’t establish a connection to the server at wss://ff.kis.v2.scr.kaspersky-labs.com/7D8B79A2-8974-4D7B-A76A-F4F29624C06BFHQNJQBttR1e0TbMaa_1H6iQN9f5b6Z-dlgu_QuUblDJzRXlOyB6KLLRVHWAgN0gUUaEsONCbF36zsW4bKIB5Q/websocket?url=https%3A%2F%2Fprofiler.firefox.com%2Ffrom-browser&nocache=1726179984626. main.js:1224:33 01:56:36.363 XHRGET https://ff.kis.v2.scr.kaspersky-labs.com/7D8B79A2-8974-4D7B-A76A-F4F29624C06BFHQNJQBttR1e0TbMaa_1H6iQN9f5b6Z-dlgu_QuUblDJzRXlOyB6KLLRVHWAgN0gUUaEsONCbF36zsW4bKIB5Q/init?url=https://profiler.firefox.com/from-browser&plugins=abn&abn_shadow&xhr_content&data={"data":[{"plugin":"abn","parameters":"{"isCssUrlInjected":false}"},{"plugin":"abn_shadow","parameters":"{"isCssUrlInjected":false}"},{"plugin":"xhr_content","parameters":"{"referrer":""}"}]}&isTopLevel=true&nocache=13b89 [HTTP/2 200 0ms]
01:56:36.377 XHRGET https://ff.kis.v2.scr.kaspersky-labs.com/546B8E56-BD65-DA4B-A165-DCB3B3B68655/BEB02704-CA71-964F-8B2B-6348F9394184/longpooling?get&nocache=1afe7
01:56:36.956 XHRPOST https://ff.kis.v2.scr.kaspersky-labs.com/546B8E56-BD65-DA4B-A165-DCB3B3B68655/BEB02704-CA71-964F-8B2B-6348F9394184/to/abn.statInfo [HTTP/2 200 0ms]
01:56:57.379 Unknown property ‘-moz-user-focus’. Declaration dropped. from-browser:1:604
01:56:57.386 Unknown property ‘-moz-user-focus’. Declaration dropped. from-browser:1:1497
01:56:57.389 Unknown property ‘-moz-user-focus’. Declaration dropped. from-browser:1:349
01:56:57.390 Unknown property ‘-moz-user-focus’. Declaration dropped. from-browser:1:657
01:56:57.396 __ _ __
/ () / |
| | _ _ __ | | _____ __
| _| | '/ _ \ / _ \ / /
| | | | | | __/ || () > < __ _ _
|| ||| ___|| _//_\ / () |
,. ,. _ __ _ __ ___ | | | | ___ _ _
| \ / | | ' | '/ _ | | | |/ _ \ '|
|/ \ _ / | | |) | | | () | | | | | / |
| | | ./|| ___/|| |||___||
/ - - \ ||
,- V__V -.
-= __- * - .,=-
\_ - _/ -----' main.e6861a9e647e873713d5.bundle.js:172:617
01:56:57.396 The following profiler information is available via the console:
window.profile - The currently loaded profile window.filteredThread - The current filtered thread window.filteredMarkers - The current filtered and processed markers window.selectedMarker - The selected processed marker in the current thread window.callTree - The call tree of the current filtered thread window.getState - The function that returns the current Redux state. window.selectors - All the selectors that are used to get data from the Redux state. window.dispatch - The function to dispatch a Redux action to change the state. window.actions - All the actions that can be dispatched to change the state. window.experimental - The object that holds flags of all the experimental features. window.togglePseudoLocalization - Enable pseudo localizations by passing "accented" or "bidi" to this function, or disable using no parameters. window.toggleTimelineType - Toggle timeline graph type by passing "cpu-category", "category", or "stack". window.retrieveRawProfileDataFromBrowser - Retrieve the profile attached to the current tab and returns it. Use "await" to call it. window.saveToDisk - Saves to a file the parameter passed to it, with an optional filename parameter. You can use that to save the profile returned by "retrieveRawProfileDataFromBrowser".
The profile format is documented here: https://github.com/firefox-devtools/profiler/blob/main/docs-developer/processed-profile-format.md
The CallTree class's source code is available here: https://github.com/firefox-devtools/profiler/blob/main/src/profile-logic/call-tree.js main.e6861a9e647e873713d5.bundle.js:172:1535 01:56:57.455 GET https://profiler.firefox.com/zee-worker.js [HTTP/1.1 200 0ms]
01:56:57.508 Successfully compiled asm.js code (total compilation time 29ms) zee-worker.js
01:56:57.590 SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 1 column 2769286 of the JSON data
Pp https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:86
a https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:80
Cp https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:80
n_ https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:137
dispatch https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:141
Gp https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:95
n_ https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:137
r https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:2
processInitialUrls https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:111
componentDidMount https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:111
yl https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
Cl https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
bl https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
vc https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
vc https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
lc https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
Ho https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
nc https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
Ii https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
Ti https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
p https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:2
i https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:2
notify https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:2
notify https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:2
notifyNestedSubs https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:2
i https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:2
h https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:15
h https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:15
n https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:137
r https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:2
setupLocalization https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:137
componentDidUpdate https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:137
yl https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
Cl https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
bl https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
vc https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
vc https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
lc https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
Ho https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
wc https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
vc https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
w https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
_ https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
7463 https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
l https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
9982 https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
l https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
2551 https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
l https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
961 https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
l https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
4640 https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:2
l https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js:199
01:56:04.644 Removing unpermitted intrinsics lockdown-install.js:1:52832
01:56:04.682 Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “script-src 'self' 'wasm-unsafe-eval' https://ff.kis.v2.scr.kaspersky-labs.com wss://ff.kis.v2.scr.kaspersky-labs.com” inpage.js:1:253625
01:56:04.783 __ _ __
/ () / |
| | _ _ __ | | _____ __
| _| | '/ _ \ / _ \ / /
| | | | | | __/ || () > < __ _ _
|| ||| ___|| _//_\ / () |
,. ,. _ __ _ __ ___ | | | | ___ _ _
| \ / | | ' | '/ _ | | | |/ _ \ '|
|/ \ _ / | | |) | | | () | | | | | / |
| | | ./|| ___/|| |||___||
/ - - \ ||
,- V__V -.
-= __- * - .,=-
\_ - _/ -----' main.e6861a9e647e873713d5.bundle.js:172:617
01:56:04.783 The following profiler information is available via the console:
window.profile - The currently loaded profile window.filteredThread - The current filtered thread window.filteredMarkers - The current filtered and processed markers window.selectedMarker - The selected processed marker in the current thread window.callTree - The call tree of the current filtered thread window.getState - The function that returns the current Redux state. window.selectors - All the selectors that are used to get data from the Redux state. window.dispatch - The function to dispatch a Redux action to change the state. window.actions - All the actions that can be dispatched to change the state. window.experimental - The object that holds flags of all the experimental features. window.togglePseudoLocalization - Enable pseudo localizations by passing "accented" or "bidi" to this function, or disable using no parameters. window.toggleTimelineType - Toggle timeline graph type by passing "cpu-category", "category", or "stack". window.retrieveRawProfileDataFromBrowser - Retrieve the profile attached to the current tab and returns it. Use "await" to call it. window.saveToDisk - Saves to a file the parameter passed to it, with an optional filename parameter. You can use that to save the profile returned by "retrieveRawProfileDataFromBrowser".
The profile format is documented here: https://github.com/firefox-devtools/profiler/blob/main/docs-developer/processed-profile-format.md
The CallTree class's source code is available here: https://github.com/firefox-devtools/profiler/blob/main/src/profile-logic/call-tree.js main.e6861a9e647e873713d5.bundle.js:172:1535 01:56:04.875 Successfully compiled asm.js code (total compilation time 27ms) zee-worker.js 01:56:04.947 SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 1 column 2769286 of the JSON data Pp receive-profile.js:1322 main.e6861a9e647e873713d5.bundle.js:137:156480 01:56:04.949 SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 1 column 2769286 of the JSON data Pp receive-profile.js:1322 main.e6861a9e647e873713d5.bundle.js:80:1936 01:56:08.511 Unknown property ‘-moz-user-focus’. Declaration dropped. from-browser:1:604 01:56:08.513 Unknown property ‘-moz-user-focus’. Declaration dropped. from-browser:1:1497 01:56:08.514 Unknown property ‘-moz-user-focus’. Declaration dropped. from-browser:1:349 01:56:08.514 Unknown property ‘-moz-user-focus’. Declaration dropped. from-browser:1:657 01:56:15.488 Navigated to https://profiler.firefox.com/from-browser 01:56:15.521 GET https://profiler.firefox.com/from-browser [HTTP/2 200 10404ms]
01:56:15.536 XHRGET https://ff.kis.v2.scr.kaspersky-labs.com/7D8B79A2-8974-4D7B-A76A-F4F29624C06Bc1sIbRJBmOqwOeLk7vCX8W-XtmGLv9VV-I_N5XDLcFIkT7D65PUNBOKISPBXWKR6Cr5ZFnF-lWaXQY3zm3UjWQ/init?url=https://profiler.firefox.com/from-browser&plugins=abn&abn_shadow&xhr_content&data={"data":[{"plugin":"abn","parameters":"{"isCssUrlInjected":false}"},{"plugin":"abn_shadow","parameters":"{"isCssUrlInjected":false}"},{"plugin":"xhr_content","parameters":"{"referrer":""}"}]}&isTopLevel=true&nocache=1ae80 [HTTP/2 200 27ms]
01:56:15.580 XHRGET https://ff.kis.v2.scr.kaspersky-labs.com/546B8E56-BD65-DA4B-A165-DCB3B3B68655/A2D696D6-4FBA-6D47-8742-50029E777C0A/longpooling?get&nocache=128a3 NS_BINDING_ABORTED
01:56:15.923 GET wss://ff.kis.v2.scr.kaspersky-labs.com/7D8B79A2-8974-4D7B-A76A-F4F29624C06Bc1sIbRJBmOqwOeLk7vCX8W-XtmGLv9VV-I_N5XDLcFIkT7D65PUNBOKISPBXWKR6Cr5ZFnF-lWaXQY3zm3UjWQ/websocket?url=https://profiler.firefox.com/from-browser&nocache=1726179964691 NS_ERROR_CONNECTION_REFUSED
01:56:16.105 XHRPOST https://ff.kis.v2.scr.kaspersky-labs.com/546B8E56-BD65-DA4B-A165-DCB3B3B68655/A2D696D6-4FBA-6D47-8742-50029E777C0A/to/abn.statInfo [HTTP/2 200 0ms]
01:56:24.543 Use of navigator.sendBeacon instead of synchronous XMLHttpRequest during unload and pagehide improves user experience. main.js:1030:25 01:56:24.554 XHRGET https://ff.kis.v2.scr.kaspersky-labs.com/546B8E56-BD65-DA4B-A165-DCB3B3B68655/A2D696D6-4FBA-6D47-8742-50029E777C0A/shutdown/null?null&nocache=19b7d [HTTP/2 200 0ms]
01:56:24.583 Removing unpermitted intrinsics lockdown-install.js:1:52832 01:56:24.594 XHRGET https://profiler.firefox.com/locales/en-US/app.ftl [HTTP/2 200 4178ms]
01:56:24.596 GET https://ff.kis.v2.scr.kaspersky-labs.com/FD126C42-EBFA-4E12-B309-BB3FDD723AC1/main.js?attr=FHQNJQBttR1e0TbMaa_1H3129GUMoQHiSXHIRVZuhVpoezHjDv7KBxTyDN0hV4rd29TIl7pmA1D-Bcutxpfldg [HTTP/2 200 0ms]
01:56:24.598 GET https://ff.kis.v2.scr.kaspersky-labs.com/E3E8934C-235A-4B0E-825A-35A08381A191/abn/main.css?attr=aHR0cHM6Ly9wcm9maWxlci5maXJlZm94LmNvbS9mcm9tLWJyb3dzZXI [HTTP/2 200 0ms]
01:56:24.600 GET https://profiler.firefox.com/main.e6861a9e647e873713d5.bundle.js [HTTP/2 200 32696ms]
01:56:24.614 Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “script-src 'self' 'wasm-unsafe-eval' https://ff.kis.v2.scr.kaspersky-labs.com wss://ff.kis.v2.scr.kaspersky-labs.com” inpage.js:1:253625 01:56:24.636 GET wss://ff.kis.v2.scr.kaspersky-labs.com/7D8B79A2-8974-4D7B-A76A-F4F29624C06BFHQNJQBttR1e0TbMaa_1H6iQN9f5b6Z-dlgu_QuUblDJzRXlOyB6KLLRVHWAgN0gUUaEsONCbF36zsW4bKIB5Q/websocket?url=https://profiler.firefox.com/from-browser&nocache=1726179984626 NS_ERROR_CONNECTION_REFUSED
01:56:26.604 GET https://profiler.firefox.com/favicon.png [HTTP/2 200 31612ms]
01:56:34.616 The resource at “https://profiler.firefox.com/locales/en-US/app.ftl” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly. from-browser 01:56:36.356 Firefox can’t establish a connection to the server at wss://ff.kis.v2.scr.kaspersky-labs.com/7D8B79A2-8974-4D7B-A76A-F4F29624C06BFHQNJQBttR1e0TbMaa_1H6iQN9f5b6Z-dlgu_QuUblDJzRXlOyB6KLLRVHWAgN0gUUaEsONCbF36zsW4bKIB5Q/websocket?url=https%3A%2F%2Fprofiler.firefox.com%2Ffrom-browser&nocache=1726179984626. main.js:1224:33 01:56:36.363 XHRGET https://ff.kis.v2.scr.kaspersky-labs.com/7D8B79A2-8974-4D7B-A76A-F4F29624C06BFHQNJQBttR1e0TbMaa_1H6iQN9f5b6Z-dlgu_QuUblDJzRXlOyB6KLLRVHWAgN0gUUaEsONCbF36zsW4bKIB5Q/init?url=https://profiler.firefox.com/from-browser&plugins=abn&abn_shadow&xhr_content&data={"data":[{"plugin":"abn","parameters":"{"isCssUrlInjected":false}"},{"plugin":"abn_shadow","parameters":"{"isCssUrlInjected":false}"},{"plugin":"xhr_content","parameters":"{"referrer":""}"}]}&isTopLevel=true&nocache=13b89 [HTTP/2 200 0ms]
01:56:36.377 XHRGET https://ff.kis.v2.scr.kaspersky-labs.com/546B8E56-BD65-DA4B-A165-DCB3B3B68655/BEB02704-CA71-964F-8B2B-6348F9394184/longpooling?get&nocache=1afe7
01:56:36.956 XHRPOST https://ff.kis.v2.scr.kaspersky-labs.com/546B8E56-BD65-DA4B-A165-DCB3B3B68655/BEB02704-CA71-964F-8B2B-6348F9394184/to/abn.statInfo [HTTP/2 200 0ms]
01:56:57.379 Unknown property ‘-moz-user-focus’. Declaration dropped. from-browser:1:604
01:56:57.386 Unknown property ‘-moz-user-focus’. Declaration dropped. from-browser:1:1497
01:56:57.389 Unknown property ‘-moz-user-focus’. Declaration dropped. from-browser:1:349
01:56:57.390 Unknown property ‘-moz-user-focus’. Declaration dropped. from-browser:1:657
01:56:57.396 __ _ __
/ () / |
| | _ _ __ | | _____ __
| _| | '/ _ \ / _ \ / /
| | | | | | __/ || () > < __ _ _
|| ||| ___|| _//_\ / () |
,. ,. _ __ _ __ ___ | | | | ___ _ _
| \ / | | ' | '/ _ | | | |/ _ \ '|
|/ \ _ / | | |) | | | () | | | | | / |
| | | ./|| ___/|| |||___||
/ - - \ ||
,- V__V -.
-= __- * - .,=-
\_ - _/ -----' window-console.js:234:10
01:56:57.396 The following profiler information is available via the console:
window.profile - The currently loaded profile window.filteredThread - The current filtered thread window.filteredMarkers - The current filtered and processed markers window.selectedMarker - The selected processed marker in the current thread window.callTree - The call tree of the current filtered thread window.getState - The function that returns the current Redux state. window.selectors - All the selectors that are used to get data from the Redux state. window.dispatch - The function to dispatch a Redux action to change the state. window.actions - All the actions that can be dispatched to change the state. window.experimental - The object that holds flags of all the experimental features. window.togglePseudoLocalization - Enable pseudo localizations by passing "accented" or "bidi" to this function, or disable using no parameters. window.toggleTimelineType - Toggle timeline graph type by passing "cpu-category", "category", or "stack". window.retrieveRawProfileDataFromBrowser - Retrieve the profile attached to the current tab and returns it. Use "await" to call it. window.saveToDisk - Saves to a file the parameter passed to it, with an optional filename parameter. You can use that to save the profile returned by "retrieveRawProfileDataFromBrowser".
The profile format is documented here: https://github.com/firefox-devtools/profiler/blob/main/docs-developer/processed-profile-format.md
The CallTree class's source code is available here: https://github.com/firefox-devtools/profiler/blob/main/src/profile-logic/call-tree.js window-console.js:256:10 01:56:57.455 GET https://profiler.firefox.com/zee-worker.js [HTTP/1.1 200 0ms]
01:56:57.508 Successfully compiled asm.js code (total compilation time 29ms) zee-worker.js 01:56:57.590 SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 1 column 2769286 of the JSON data Pp receive-profile.js:1322 a receive-profile.js:864 Cp receive-profile.js:1063 Redux 2 Gp receive-profile.js:1665 Redux 2 _processInitialUrls UrlManager.js:133 componentDidMount UrlManager.js:214 React 10 Redux 10 _setupLocalization AppLocalizationProvider.js:84 componentDidUpdate AppLocalizationProvider.js:92 React 9 w scheduler.production.min.js:13 _ scheduler.production.min.js:14 7463 scheduler.production.min.js:14 Webpack 11 AppViewRouter.js:92:20 01:56:57.592 SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 1 column 2769286 of the JSON data Pp receive-profile.js:1322 a receive-profile.js:864 Cp receive-profile.js:1063 Redux 2 Gp receive-profile.js:1665 Redux 2 _processInitialUrls UrlManager.js:133 componentDidMount UrlManager.js:214 React 10 Redux 10 _setupLocalization AppLocalizationProvider.js:84 componentDidUpdate AppLocalizationProvider.js:92 React 9 w scheduler.production.min.js:13 _ scheduler.production.min.js:14 7463 scheduler.production.min.js:14 Webpack 11 receive-profile.js:1094:14 Cp receive-profile.js:1094 Redux 2 Gp receive-profile.js:1665 Redux 2 _processInitialUrls UrlManager.js:133 componentDidMount UrlManager.js:214 React 10 Redux 10 _setupLocalization AppLocalizationProvider.js:84 componentDidUpdate AppLocalizationProvider.js:92 React 9 w scheduler.production.min.js:13 _ scheduler.production.min.js:14 (Async: EventHandlerNonNull) 7463 scheduler.production.min.js:14 Webpack 11 01:58:43.538 saveToDisk(await window.retrieveRawProfileDataFromBrowser()) 01:58:43.584 undefined 02:00:05.799 window.retrieveRawProfileDataFromBrowser 02:00:05.824 async function retrieveRawProfileDataFromBrowser()
Here are some updated instructions if you can still reproduce reliably.
1. go to profiler.firefox.com and update the app by clicking the "apply" button in the notice at the top (if you haven't done that this week yet) 2. reproduce the issue. 3. open the web console in the devtools 4. run this in the WebConsole `saveToDisk(await window.retrieveRawProfileDataFromBrowser()) ` 5. share the file with usThanks
Can you ran this ^ this should have saved a file on your computer. Can you please find it and share it with us? You can use https://wormhole.app/ and send it to my email julien AT mozilla.com. Thanks!