The screens are from FireMonkey's next version. In the release version entries appear under `user-script`. I will prepare an STR not requiring an extension. ### STR - Use a test HTML e.g. https://firefox-devtools-debugger-sources-tree.glitch.me/ - Add a few scripts e.g. `my file.js`, `my file1.js`, `my file2.js` ... ```html <script src="/my folder/my file.js" defer=""></script> <script src="/my folder/my file1.js" defer=""></script> <script src="/my folder/my file2.js" defer=""></script> ``` - Add `sourceURL` e.g. **my file.js** ```js console.log("file"); //# sourceURL=FireMonkey://UserScript/https://www.example.com/file.js ``` **my file1.js** ```js console.log("file1"); //# sourceURL=FireMonkey://UserScript/https://www.example1.com/file1.js ``` **my file2.js** ```js console.log("file2"); //# sourceURL=FireMonkey://UserScript/https://www.example2.com/file2.js ``` - Open the Test page in browser and check the Debugger ### Result - `FireMonkey` is changed to lowercase (`UserScript` stays the same) - Debugger breaks to a new folder/directory at `https://` Please note the following screenshots for the above test. In the second screenshot, `sourceURL` are divided into `http` & `https`
Bug 1829460 Comment 5 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
The screens are from FireMonkey's next version. In the release version entries appear under `user-script`. I will prepare an STR not requiring an extension. ## STR - Use a test HTML e.g. https://firefox-devtools-debugger-sources-tree.glitch.me/ - Add a few scripts e.g. `my file.js`, `my file1.js`, `my file2.js` ... ```html <script src="/my folder/my file.js" defer=""></script> <script src="/my folder/my file1.js" defer=""></script> <script src="/my folder/my file2.js" defer=""></script> ``` - Add `sourceURL` e.g. **my file.js** ```js console.log("file"); //# sourceURL=FireMonkey://UserScript/https://www.example.com/file.js ``` **my file1.js** ```js console.log("file1"); //# sourceURL=FireMonkey://UserScript/https://www.example1.com/file1.js ``` **my file2.js** ```js console.log("file2"); //# sourceURL=FireMonkey://UserScript/https://www.example2.com/file2.js ``` - Open the Test page in browser and check the Debugger ## Result - `FireMonkey` is changed to lowercase (`UserScript` stays the same) - Debugger breaks to a new folder/directory at `https://` Please note the following screenshots for the above test. In the second screenshot, `sourceURL` in files are divided into `http` & `https`