ozcoder
7679883d8a
Bug 2020186 - [har] Add support for _priority / _initialPriority custom fields. r=jdescottes,devtools-reviewers,necko-reviewers
...
Added a tooltip to the Priority column to show final priority.
Added getRequestPriorityAsNumber function to convert HAR priority string back into a value.
Update representation of the priority value of a resource when it changes.
Added field priority to HAR file export and importing.
Linting wants double quotes.
priority **needs** to be gathered first before assigning into resource.
Check if the priority has changed to decide if Priority should re-render.
Added test to check priority of images above and below the fold.
Changed test HTML file into a hand written example with some explanation.
Guard against null priority when updating it.
Use isInteger to check priority is really a number.
We do not want to overwrite priority with "undefined".
Defer setting up the first test image a little bit, but do not check its priority.
Test HTML needs to be large.
Differential Revision: https://phabricator.services.mozilla.com/D287020
2026-06-12 10:08:50 +00:00
Alexandre Poirot
5c80ff3304
Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy,nchevobbe
...
This allows opening local files from https via DevTools.
Differential Revision: https://phabricator.services.mozilla.com/D294192
2026-06-10 12:46:16 +00:00
Alexandru Marc
85aff4e02f
Revert "Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy,nchevobbe" for causing Android build bustages
...
This reverts commit f2d8553f79 .
Revert "Bug 2031714 - [devtools] Expose a flag on the TargetFront to know if the page is an error page. r=devtools-reviewers,nchevobbe"
This reverts commit 0ef861f993 .
2026-06-10 01:13:30 +00:00
Alexandre Poirot
f2d8553f79
Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy,nchevobbe
...
This allows opening local files from https via DevTools.
Differential Revision: https://phabricator.services.mozilla.com/D294192
2026-06-09 20:35:02 +00:00
agoloman
02843a95cb
Revert "Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy" for causing bc failures @browser_devtools.js.
...
This reverts commit 13896a724c .
Revert "Bug 2031714 - [devtools] Expose a flag on the TargetFront to know if the page is an error page. r=devtools-reviewers,nchevobbe"
This reverts commit d6ca9ef038 .
2026-06-04 19:14:21 +00:00
Alexandre Poirot
13896a724c
Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy
...
This allows opening local files from https via DevTools.
Differential Revision: https://phabricator.services.mozilla.com/D294192
2026-06-04 10:28:10 +00:00
Julian Descottes
217a06bb62
Bug 2041421 - [devtools] Avoid leaks in devtools network-observer mochitests r=devtools-reviewers,nchevobbe
...
A failing test with fail-if was throwing midway and leaving unhandled promises and creating leaks.
Move to skip-if.
The auth listener test seems to also create frequent leaks, skip it on ASAN.
Differential Revision: https://phabricator.services.mozilla.com/D304370
2026-06-03 16:24:20 +00:00
Norisz Fay
1a8f4c9241
Revert "Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy" for causing dt failure @ browser_networkobserver_localMode.js
...
This reverts commit 78970467d8 .
Revert "Bug 2031714 - [devtools] Expose a flag on the TargetFront to know if the page is an error page. r=devtools-reviewers,nchevobbe"
This reverts commit 6b862813ef .
2026-06-03 13:57:44 +00:00
Alexandre Poirot
78970467d8
Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy
...
This allows opening local files from https via DevTools.
Differential Revision: https://phabricator.services.mozilla.com/D294192
2026-06-03 13:02:35 +00:00
Serban Stanca
d976ff2d6e
Revert "Bug 2020186 - [har] Add support for _priority / _initialPriority custom fields. r=jdescottes,devtools-reviewers,necko-reviewers" for causing devtools failures in browser_net_har_image_priority.js.
...
This reverts commit ec557789a0 .
2026-06-02 21:27:02 +00:00
ozcoder
ec557789a0
Bug 2020186 - [har] Add support for _priority / _initialPriority custom fields. r=jdescottes,devtools-reviewers,necko-reviewers
...
Added a tooltip to the Priority column to show final priority.
Added getRequestPriorityAsNumber function to convert HAR priority string back into a value.
Update representation of the priority value of a resource when it changes.
Added field priority to HAR file export and importing.
Linting wants double quotes.
priority **needs** to be gathered first before assigning into resource.
Check if the priority has changed to decide if Priority should re-render.
Added test to check priority of images above and below the fold.
Changed test HTML file into a hand written example with some explanation.
Guard against null priority when updating it.
Use isInteger to check priority is really a number.
We do not want to overwrite priority with "undefined".
Differential Revision: https://phabricator.services.mozilla.com/D287020
2026-06-02 19:33:12 +00:00
agoloman
d69d1d8e0e
Revert "Bug 2031717, Bug 2031714 - [devtools] Expose local mode settings in DevTools options panel. r=devtools-reviewers,fluent-reviewers,bolsson,nchevobbe" for causing bc failures @browser_misused_characters_in_strings.js.
...
This reverts commit b7f48700d7 .
Revert "Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy"
This reverts commit 0f1b6c66ab .
Revert "Bug 2031714 - [devtools] Expose a flag on the TargetFront to know if the page is an error page. r=devtools-reviewers,nchevobbe"
This reverts commit 4cbb3ac689 .
2026-06-02 09:35:20 +00:00
Alexandre Poirot
0f1b6c66ab
Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy
...
This allows opening local files from https via DevTools.
Differential Revision: https://phabricator.services.mozilla.com/D294192
2026-06-02 08:42:02 +00:00
Eemeli Aro
fb1dfdf048
Bug 2024854 Part 6 - Account for preloads of text imports. r=dminor,necko-reviewers,devtools-reviewers,bomsy
...
Differential Revision: https://phabricator.services.mozilla.com/D295491
2026-05-06 07:24:11 +00:00
Sylvestre Ledru
62b1ca8d05
Bug 2024589 - adjust the code: searchfox.org/mozilla-central is now redirecting to searchfox.org/firefox-main/ r=asuth,perftest-reviewers,necko-reviewers,jgraham,webcompat-reviewers,mozperftest-reviewers,geckoview-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,taskgraph-reviewers,releng-reviewers,desktop-theme-reviewers,win-reviewers,translations-reviewers,omc-reviewers,firefox-desktop-core-reviewers ,home-newtab-reviewers,core-sessionstore-reviewers,browser-installer-reviewers,profiles-reviewers,dom-worker-reviewers,geckodriver-reviewers,ai-platform-reviewers,Sasha,niklas,manuel,janerik,bhearsum,valentin,twisniewski,nchevobbe,emcminn,webrtc-reviewers,mjf,handyman,mconley,mossop,ahal,sparky,nrishel,robwu,ohall,dimi,hjones
...
Differential Revision: https://phabricator.services.mozilla.com/D288623
2026-04-30 13:28:49 +00:00
rperta
c1b532f543
Revert "Bug 2024854 Part 15 - Fix and enable import-text WPT tests. r=dminor" for causing python-telemetry failures
...
This reverts commit cdddcc0cff .
This reverts commit d818e0fa08 .
This reverts commit 7fe31f22c7 .
This reverts commit 9d5be194ed .
This reverts commit e0fba2c9ac .
Revert "Bug 2024854 Part 10 - Create text modules: script. r=dminor"
This reverts commit dd57815041 .
This reverts commit 409b1063aa .
This reverts commit cd7afbc8ee .
This reverts commit 03b66bc4f0 .
This reverts commit c1b7e2177a .
This reverts commit 4696b1602f .
This reverts commit 21f4777b22 .
This reverts commit 00eab305c3 .
This reverts commit 10d0e76a4f .
This reverts commit e1746ab8a2 .
2026-04-29 20:12:13 +00:00
Eemeli Aro
c1b7e2177a
Bug 2024854 Part 6 - Account for preloads of text imports. r=dminor,necko-reviewers,devtools-reviewers,bomsy
...
Differential Revision: https://phabricator.services.mozilla.com/D295491
2026-04-29 19:52:00 +00:00
Sylvestre Ledru
074b376055
Bug 2023419 - Remove Emacs/Vim modelines from devtools/ r=emilio,devtools-backward-compat-reviewers,devtools-reviewers,nchevobbe
...
replaced by .editorconfig
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D287841
2026-03-28 10:21:10 +00:00
Valentin Gosu
e0eb586a13
Bug 2020946 - Remove isRacing from devtools code r=devtools-reviewers,devtools-backward-compat-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D286012
2026-03-26 08:52:25 +00:00
Dana Keeler
ec4666d948
Bug 2022693 - [netmonitor] indicate when a request's connection uses a third-party root r=devtools-reviewers,bomsy
...
Differential Revision: https://phabricator.services.mozilla.com/D287434
2026-03-19 01:32:04 +00:00
Nicolas Chevobbe
c509676ff7
Bug 2024107 - [devtools] Fix TypeError in NetworkUtils.sys.mjs matchRequest. r=jdescottes,devtools-reviewers.
...
Use optional chaining to access topFrame browsingContext as topFrame can be null.
Differential Revision: https://phabricator.services.mozilla.com/D288346
2026-03-18 10:30:55 +00:00
Sandor Molnar
c1e060fc9e
Revert "Bug 2022693 - [netmonitor] indicate when a request's connection uses a third-party root r=devtools-reviewers,bomsy" for causing xpc failures @ devtools/shared/network-observer
...
This reverts commit b8dddd59b0 .
2026-03-18 06:44:53 +00:00
Dana Keeler
b8dddd59b0
Bug 2022693 - [netmonitor] indicate when a request's connection uses a third-party root r=devtools-reviewers,bomsy
...
Differential Revision: https://phabricator.services.mozilla.com/D287434
2026-03-18 04:51:40 +00:00
Alexandru Marc
630e6cf0e8
Revert "Bug 2023419 - Remove Emacs/Vim modelines from devtools/ r=emilio,devtools-backward-compat-reviewers,devtools-reviewers,nchevobbe" for causing devtools failures
...
This reverts commit ed535dace9 .
2026-03-17 12:46:01 +00:00
Sylvestre Ledru
ed535dace9
Bug 2023419 - Remove Emacs/Vim modelines from devtools/ r=emilio,devtools-backward-compat-reviewers,devtools-reviewers,nchevobbe
...
replaced by .editorconfig
Differential Revision: https://phabricator.services.mozilla.com/D287841
2026-03-17 12:03:34 +00:00
Valentin Gosu
94fe9a70b3
Bug 1544313 - fetch/response/body stream buffers data when Content-Type is not set r=necko-reviewers,kershaw,extension-reviewers,robwu,devtools-reviewers,bomsy
...
Differential Revision: https://phabricator.services.mozilla.com/D287133
2026-03-17 10:23:55 +00:00
Nicolas Chevobbe
4de5de5f2f
Bug 2013043 - [devtools] Show Reporting API requests in Netmonitor. r=devtools-reviewers,bomsy
...
This is done by checking the channel associatedBrowsingContext in NetworkUtils matchRequest function.
A test is added to make sure Reporting API requests are visible in the Netmonitor
and that we can inspect their payload.
Depends on D283896
Differential Revision: https://phabricator.services.mozilla.com/D284675
2026-03-13 12:26:56 +00:00
Simon Farre
2b68fb9e0e
Bug 2013043 - Set associated browsing context ID for fetch r=necko-reviewers,dom-worker-reviewers,devtools-reviewers,cookie-reviewers,manuel,nchevobbe,edgul,kershaw,edenchuang
...
Changes name of "WorkerAssociatedBrowsingContext" in LoadInfo to just
"AssociatedBrowsingContext" to signal it's somewhat broader use case.
For reporting api, to show up in dev tools, we need dev tooling to match
against the channel and for that it needs a browsing context id (or
something similar). We set the associated bc id and then try matching
against that in NetworkUtils.sys.mjs.
Differential Revision: https://phabricator.services.mozilla.com/D283896
2026-03-13 12:26:53 +00:00
Hubert Boma Manilla
3ca31331a3
Bug 2006394 - [devtools] Redirect requests should not display the final response content r=devtools-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D281359
2026-02-16 12:55:05 +00:00
Alexandru Marc
94e0c54526
Revert "Bug 2006394 - [devtools] Redirect requests should not display the final response content r=devtools-reviewers,jdescottes" for causing dt failures @ NetworkResponseListener.sys.mjs
...
This reverts commit dc74756d84 .
2026-02-13 13:26:23 +00:00
Hubert Boma Manilla
dc74756d84
Bug 2006394 - [devtools] Redirect requests should not display the final response content r=devtools-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D281359
2026-02-13 12:25:33 +00:00
Julian Descottes
483b1fe51b
Bug 2015030 - [devtools] Add global to ThrottleManager dependencies for BrowserToolbox usage r=devtools-reviewers,ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D282179
2026-02-09 09:52:31 +00:00
Hubert Boma Manilla
8b2087be98
Bug 2006822 - [devtools] Show the base request for a view-source page r=devtools-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D278626
2026-02-06 12:35:06 +00:00
Serban Stanca
7c71376b23
Revert "Bug 2006822 - [devtools] Show the base request for a view-source page r=devtools-reviewers,jdescottes" for causing devtools failures in browser_resources_network_event_stacktraces_keepalive.js.
...
This reverts commit 0e6139ac87 .
2026-02-05 11:14:43 +00:00
Hubert Boma Manilla
0e6139ac87
Bug 2006822 - [devtools] Show the base request for a view-source page r=devtools-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D278626
2026-02-05 09:38:00 +00:00
Julian Descottes
17b8f2f85b
Bug 2004973 - [devtools] Chunk calls to String.fromCharCode in NetworkUtils r=devtools-reviewers,bomsy
...
Need to chunk calls to String.fromCharCode because data might be a very large array.
Differential Revision: https://phabricator.services.mozilla.com/D277897
2026-01-08 11:07:50 +00:00
Mark Banner
88ea51175c
Bug 2004680 - Automatically fix issues raised by jsdoc/check-tag-names. r=frontend-codestyle-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D275753
2025-12-22 12:41:23 +00:00
Hubert Boma Manilla
989057eec3
Bug 2004329 - [devtools] Display webTransport session request in the netmonitor r=devtools-reviewers,nchevobbe
...
This is the initial patch to displays a webtransport request in the netmonitor
when a new webtransport connection is created.
A good demo project for manual testing is https://github.com/BiagioFesta/wtransport
Differential Revision: https://phabricator.services.mozilla.com/D275196
2025-12-22 04:08:51 +00:00
Serban Stanca
a71a17c837
Revert "Bug 2004329, Bug 1960549, Bug 2006181 - [devtools] Display webTransport session request in the netmonitor r=devtools-reviewers,nchevobbe" for causing xpcshell failures in test_webtransport_simple.js.
...
This reverts commit 63760f73c8 .
This reverts commit 4aafd53708 .
This reverts commit 7fcfc7eec9 .
2025-12-19 20:53:33 +00:00
Hubert Boma Manilla
63760f73c8
Bug 2004329 - [devtools] Display webTransport session request in the netmonitor r=devtools-reviewers,nchevobbe
...
This is the initial patch to displays a webtransport request in the netmonitor
when a new webtransport connection is created.
A good demo project for manual testing is https://github.com/BiagioFesta/wtransport
Differential Revision: https://phabricator.services.mozilla.com/D275196
2025-12-19 17:16:59 +00:00
Julian Descottes
56ef387ebe
Bug 2003238 - [devtools] Unthrottle pending requests when throttling is disabled r=devtools-reviewers,bomsy
...
Differential Revision: https://phabricator.services.mozilla.com/D276003
2025-12-19 00:06:13 +00:00
Lorenz A
0e15674dbe
Bug 2004213 - [devtools] Turn devtools/shared/network-observer/test/xpcshell/test_throttle.js into an ES class. r=devtools-reviewers,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D275474
2025-12-08 18:55:13 +00:00
Andrea Marchesini
23f4d7c658
Bug 1986320 - Implement an add-on block URL-Classifier feature - part 3 - devtool support, r=devtools-reviewers,dimi,devtools-backward-compat-reviewers,bomsy
...
Differential Revision: https://phabricator.services.mozilla.com/D263364
2025-12-04 01:26:51 +00:00
Cristian Tuns
c99c271730
Revert "Bug 1986320: apply code formatting via Lando" for causing lint failures in browser_ext_urlclassifier.js
...
This reverts commit 8c2c577a03 .
Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 6 - Mobile r=geckoview-reviewers,android-reviewers,geckoview-api-reviewers,tcampbell,ohall"
This reverts commit 7b0c7db7c3 .
Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 5 - Block top-level documents when loaded by add-ons, r=extension-reviewers,dimi,fluent-reviewers,robwu,bolsson,android-reviewers,android-l10n-reviewers,delphine,tcampbell"
This reverts commit 9a058ba0d5 .
Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 4 - Expose the URLClassifier addon feature to non-recommended addons only, r=zombie"
This reverts commit 41e8a464d9 .
Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 3 - devtool support, r=devtools-reviewers,dimi,devtools-backward-compat-reviewers,bomsy"
This reverts commit c0f866931b .
Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 2 - telemetry, r=dimi,extension-reviewers,robwu"
This reverts commit 1bdba2f426 .
Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 1, r=dimi,geckoview-reviewers,extension-reviewers,tcampbell,robwu"
This reverts commit f1a3613f44 .
2025-12-03 19:15:17 +00:00
Andrea Marchesini
c0f866931b
Bug 1986320 - Implement an add-on block URL-Classifier feature - part 3 - devtool support, r=devtools-reviewers,dimi,devtools-backward-compat-reviewers,bomsy
...
Differential Revision: https://phabricator.services.mozilla.com/D263364
2025-12-03 18:47:30 +00:00
iulian moraru
a5862a7e70
Revert "Bug 1999177 - Support cursor scroll in the composable toolbar r=android-reviewers,moyin" for causing linting failures on browser_ext_urlclassifier.js.
...
This reverts commit ae35529fab .
Revert "Bug 1986320 : apply code formatting via Lando"
This reverts commit 768f3614ff .
Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 5 - Block top-level documents when loaded by add-ons, r=extension-reviewers,dimi,fluent-reviewers,robwu,bolsson,android-reviewers,android-l10n-reviewers,delphine,tcampbell"
This reverts commit 5f2e690d2b .
Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 4 - Expose the URLClassifier addon feature to non-recommended addons only, r=zombie"
This reverts commit 1e7b1753d4 .
Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 3 - devtool support, r=devtools-reviewers,dimi,devtools-backward-compat-reviewers,bomsy"
This reverts commit 928a253e9e .
Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 2 - telemetry, r=dimi,extension-reviewers,robwu"
This reverts commit 2a13eb6ec3 .
Revert "Bug 1986320 - Implement an add-on block URL-Classifier feature - part 1, r=dimi,geckoview-reviewers,extension-reviewers,tcampbell,robwu"
This reverts commit 1ef88130d9 .
2025-12-03 10:26:32 +00:00
Andrea Marchesini
928a253e9e
Bug 1986320 - Implement an add-on block URL-Classifier feature - part 3 - devtool support, r=devtools-reviewers,dimi,devtools-backward-compat-reviewers,bomsy
...
Differential Revision: https://phabricator.services.mozilla.com/D263364
2025-12-03 09:47:52 +00:00
Tom Marble
5ce09d7446
Bug 1995583 - test manifest cleanup for idiomatic usage r=jmaher,necko-reviewers,webcompat-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,sessionstore-reviewers,tabbrowser-reviewers,translations-reviewers,omc-reviewers,browser-installer-reviewers,twisniewski,masayuki,dom-core,smaug,nalexander,emcminn,sthompson,alwu,ai-ondevice-reviewers,valentin
...
For TOML manifests:
1. Change processor -> arch
2. Use arch instead of bits bits == '64' =>
aarch64 (default on mac 15.30) or x86_64 bits == '32' => x86
3. Replace android_version with corresponding os_version
4. Remove conditions with linux os_version=="18.04"
(unless they contain verify or verify-standalone)
5. Remove conditions with mac os_version=='11.20',
(unless they contain verify or verify-standalone)
6. Remove conditions with win os_version=='11.2009' or win11_2009,
(unless they contain verify or verify-standalone)
7. Linux conditions should have os_version, arch and display
(simple "os == 'linux'" will get expanded to these two)
"os == 'linux' && os_version == '22.04' && arch == 'x86_64' && display == 'wayland'"
"os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11'"
8. Mac conditions should have os_version and arch
(simple "os == 'mac'" will get expanded to these three)
"os == 'mac' && os_version == '10.15' && arch == 'x86_64'",
"os == 'mac' && os_version == '14.70' && arch == 'x86_64'",
"os == 'mac' && os_version == '15.30' && arch == 'aarch64'",
9. Replace apple_catalina with
os == 'mac' && os_version == '10.15' && arch == 'x86_64'
10. Replace apple_silicon with
os == 'mac' && os_version = '15.30' && arch == 'aarch64'
11. Replace win10_2009 with
os == 'win' && os_version = '10.2009' && arch == 'x86_64'
12. Replace "!debug" with three conditions "asan", "opt", or "tsan"
13. Replace literal boolean comparison with variables
(e.g. "debug == false" => "!debug)
Resolves 2000285
Signed-off-by: Tom Marble <[email protected] >
Differential Revision: https://phabricator.services.mozilla.com/D272815
2025-11-22 00:30:39 +00:00
Mark Banner
b38cd3110b
Bug 1999554 - Automatically fix ESLint rule jsdoc/check-types for devtools/. r=devtools-reviewers,devtools-backward-compat-reviewers,profiler-reviewers,canaltinova
...
Differential Revision: https://phabricator.services.mozilla.com/D272173
2025-11-21 16:16:08 +00:00
Tom Forbes
4552a2f867
Bug 1897424 - Add NotifyNetworkMonitorAlternateStack support for main-thread fetch requests. r=sunil,devtools-reviewers,bomsy
...
Differential Revision: https://phabricator.services.mozilla.com/D270808
2025-11-21 10:16:13 +00:00