Bug 1834453 - [devtools] Add documentation for the sourcemaps ignore list r=devtools-reviewers,ochameau

Differential Revision: https://phabricator.services.mozilla.com/D179317
This commit is contained in:
Hubert Boma Manilla 2023-06-01 17:43:59 +00:00
Родитель 525a0cb936
Коммит 078cbcec37
2 изменённых файлов: 16 добавлений и 0 удалений

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 440 KiB

Просмотреть файл

@ -52,3 +52,19 @@ To ignore multiple lines in a source file:
:alt: Screenshot showing the context menu item to ignore a selection of lines in a source file. :alt: Screenshot showing the context menu item to ignore a selection of lines in a source file.
:width: 1150px :width: 1150px
:class: border :class: border
Ignore third-party scripts
****************************
Frameworks and bundlers can define third-party scripts which should be ignored, using the `x_google_ignoreList <https://developer.chrome.com/articles/x-google-ignore-list/>`_ sourcemap extension.
The debugger parses and reads this field from the sourcemap to automatically ignore these sources.
To ignore third-party scripts:
- Click the debugger settings menu and choose **Ignore Known Third-party Scripts**
.. image:: ignore-third-party-sources.png
:alt: Screenshot showing the settings menu item to ignore third party sources off the sourcemaps x_google_ignoreList field.
:width: 1150px
:class: border