Commit Graph

1359 Commits

Author SHA1 Message Date
Florens Verschelde
0c1073976a Bug 1524244 - Make the netmonitor localhost icon use a smaller size and inherit currentColor; r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D18211

--HG--
extra : moz-landing-system : lando
2019-02-07 12:22:04 +00:00
Alexandre Poirot
f2180fa200 Bug 1465635 - Prevent netmonitor from destroying all "close" event listeners. r=jdescottes
Depends on D16874

Differential Revision: https://phabricator.services.mozilla.com/D17609

--HG--
extra : moz-landing-system : lando
2019-02-02 11:24:12 +00:00
Alexandre Poirot
ef1c99b06e Bug 1465635 - Remove Target.activeTab property. r=yulia
Depends on D15831

Differential Revision: https://phabricator.services.mozilla.com/D16874

--HG--
extra : moz-landing-system : lando
2019-02-02 11:24:24 +00:00
Alexandre Poirot
cacb7734d7 Bug 1465635 - Use Target.title to fetch target's title instead of using its form. r=yulia
Depends on D15828

Differential Revision: https://phabricator.services.mozilla.com/D15830

--HG--
extra : moz-landing-system : lando
2019-02-02 11:24:39 +00:00
Bogdan Tara
19bcfc41e1 Backed out 8 changesets (bug 1465635) for failures on browser_canvas-actor-test-10.js, browser_target_server_compartment.js CLOSED TREE
Backed out changeset e8e363f98525 (bug 1465635)
Backed out changeset 9ec017a91e78 (bug 1465635)
Backed out changeset 11413ebfbcaf (bug 1465635)
Backed out changeset 52728b761d5d (bug 1465635)
Backed out changeset 734646bf9829 (bug 1465635)
Backed out changeset d9ae7cd34c1a (bug 1465635)
Backed out changeset 00d325ab677a (bug 1465635)
Backed out changeset a9b181f32189 (bug 1465635)
2019-01-30 18:54:05 +02:00
Alexandre Poirot
6483fbf5a1 Bug 1465635 - Prevent netmonitor from destroying all "close" event listeners. r=jdescottes
Depends on D16874

Differential Revision: https://phabricator.services.mozilla.com/D17609

--HG--
extra : moz-landing-system : lando
2019-01-30 13:28:27 +00:00
Alexandre Poirot
dc852753a8 Bug 1465635 - Remove Target.activeTab property. r=yulia
Depends on D15831

Differential Revision: https://phabricator.services.mozilla.com/D16874

--HG--
extra : moz-landing-system : lando
2019-01-30 13:28:25 +00:00
Alexandre Poirot
a9ef0997b4 Bug 1465635 - Use Target.title to fetch target's title instead of using its form. r=yulia
Depends on D15828

Differential Revision: https://phabricator.services.mozilla.com/D15830

--HG--
extra : moz-landing-system : lando
2019-01-30 13:28:15 +00:00
Kris Maglione
e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Adam Holm
8d59a26911 Bug 1501357 - Fixing display of DevTools network tab protocol column values. r=Honza 2019-01-18 09:32:28 -08:00
yulia
da28778ed4 Bug 1518777 - ensure that netmonitor and console tests wait for initialization and open requests tofinish before shutting down; r=nchevobbe
Several of our tests relied on the timing of the shutdown of the webconsole. I updated one
test that fired off an extra rdp request so that it is waiting until it resolves before shutting down.
For the rest, I started tracking the async behavior of initialization of the web-console-proxy, and
waiting for initialization to finish before destroying.

Differential Revision: https://phabricator.services.mozilla.com/D16177

--HG--
extra : moz-landing-system : lando
2019-01-24 11:47:39 +00:00
lenka
1d8b259661 Bug 1495797 - change Raw headers buttons, plus styling changes. r=honza
Additional work for display of raw upload headers, plus corrected tests

--HG--
extra : histedit_source : c613b4e72b474e53b835bf51fc00f178b0d5cb3a
2019-01-10 13:59:17 +01:00
Cosmin Sabou
ee0e94e991 Merge mozilla-central to mozilla-inbound. 2019-04-19 19:36:21 +03:00
arthur.iakab
57c7c5a365 Merge mozilla-central to mozilla-inbound 2019-04-19 12:49:24 +03:00
tanhengyeow
67808459ac Bug 1358038 - Add "Race Cache With Network" status. r=Honza
Summary: Bug 1358038 - Add "Race Cache With Network" status. r=Honza

Reviewers: Honza

Subscribers: flod

Bug #: 1358038

Differential Revision: https://phabricator.services.mozilla.com/D8018
***
Update more pieces to show "Race Cache With Network" status
***
Remove unneeded lines
***
Update comment
***
Update comment
2019-04-15 16:43:50 +08:00
yulia
fc04dc76f6 Bug 1519107 - use promise pattern for other webconsole methods rather than callbacks; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D16196

--HG--
extra : moz-landing-system : lando
2019-01-21 13:49:22 +00:00
Brian Grinstead
749017b6db Bug 1518026 - Escape '!' to '\041' in posix strings ($'...');r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D16515

--HG--
extra : moz-landing-system : lando
2019-01-18 14:52:35 +00:00
Florens Verschelde
982413fb5c Bug 1517986 - Remove remaining CSS image variables; r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D16183

--HG--
extra : moz-landing-system : lando
2019-01-11 21:33:53 +00:00
Andrea Marchesini
7728c152a2 Bug 1417463 - Default accept header should follow the fetch spec - tests, r=mayhemer 2019-01-08 23:36:17 +01:00
Cosmin Sabou
c9e5cb9283 Bug 1479782 - Disable devtools/client/netmonitor/test/browser_net_frame.js on win10. r=jmaher
--HG--
extra : rebase_source : aaaa31c284cc12a13a7892ff5488c6bf7b900c01
2019-01-07 02:41:17 +02:00
Jeff Walden
ed23151bd7 Bug 1492937 - Make the JS subscript loader load scripts exclusively as UTF-8, with no way to specify any other encoding, and adjust a bunch of existing tests to use UTF-8 directly, rather than Unicode escape sequences or similar. (This also changes the encoding of .sjs scripts and all mochitest-browser tests in the tree from Latin-1 to UTF-8.) r=yzen, r=MattN, r=jimb, r=kmag 2018-12-19 13:46:20 -08:00
Alexandre Poirot
ac13c87f42 Bug 1513565 - Get rid of all target.form usages. r=yulia,nchevobbe
Depends on D14278

Differential Revision: https://phabricator.services.mozilla.com/D14279

--HG--
extra : moz-landing-system : lando
2018-12-18 23:35:57 +00:00
Jeff Walden
efc00313f9 Bug 1513152 - Load .sjs scripts in httpd.js as UTF-8, updating consumers of the in-tree .sjs scripts as necessary for the change. r=kmag
--HG--
extra : rebase_source : 1eed4ea5b846e5ce608593ef732bedc3194268e3
2018-12-08 18:00:33 -05:00
Daniel Varga
9be61b1c47 Backed out changeset 1a06654dd1ba (bug 1513152) for test-android-em failure at dom/security/test/csp/test_punycode_host_src.html on a CLOSED TREE 2018-12-12 03:29:20 +02:00
Jeff Walden
87c8fc7bca Bug 1513152 - Load .sjs scripts in httpd.js as UTF-8, updating consumers of the in-tree .sjs scripts as necessary for the change. r=kmag
--HG--
extra : rebase_source : ff77d84433fa3fc78aea9a6c2a0e897981fd7b84
2018-12-08 18:00:33 -05:00
lenpel
81e64f4189 Bug 1506073 - URL in Headers panel is wrapping now, plus 2 tests adapted for netmonitor. r=Honza 2018-11-26 15:58:33 +01:00
yulia
899e52534b bug 1507146 - add await to all target.getFront calls in async callsites; r=ochameau
Depends on D11885

Differential Revision: https://phabricator.services.mozilla.com/D11886

--HG--
extra : moz-landing-system : lando
2018-11-14 15:11:59 +00:00
Andrew Osmond
aaa036b430 Bug 1507691 - Followup to fix broken test expecting accept header without image/webp. r=aosmond CLOSED TREE 2018-11-20 08:51:00 -05:00
Gabriel Luong
e478243e52 Bug 1505073 - Fix the arrow positioning for the network throttling menu button in RDM. r=Honza 2018-11-13 11:31:39 -05:00
lenpel
4d50a6165d Bug 1503554 - Network header panel now has 1 vertical scrollbar for entire area; r=Honza
--HG--
extra : histedit_source : 4900984e39b977eb768a3b313291c365e173e687
2018-11-12 16:25:04 +01:00
Narcis Beleuzu
9b3f73e696 Merge mozilla-central to inbound. CLOSED TREE 2018-11-05 23:54:03 +02:00
tanhengyeow
67391f6115 Bug 1496742 - Allow to display Referrer Policy for a given request. r=Honza
Display Referrer Policy for a given request.

Differential Revision: https://phabricator.services.mozilla.com/D9128

--HG--
extra : moz-landing-system : lando
2018-11-05 16:44:17 +00:00
tanhengyeow
76cb2924c1 Bug 1459539 - Netmonitor more minor css tweaks. r=Honza
Spacing between "No throttling" and the dropdown icon is now consistent with "HAR"

Differential Revision: https://phabricator.services.mozilla.com/D10808

--HG--
extra : moz-landing-system : lando
2018-11-05 14:52:53 +00:00
lenpel
3575d4a730 Bug 1500018 - Polish Network panel filter buttons UI; r=Honza
--HG--
extra : amend_source : 0016c7a6f3d21c3ef67a800d130b97577126ebdb
2018-10-25 00:41:41 +02:00
Adam Holm
4ce3763f16 Bug 1493931 - Changes to styling of custom request panel of Network panel in DevTools. Fixing issues with previous patch. r=Honza
--HG--
extra : rebase_source : 37ceb5dcc0642c7addf0db9fabce631121f71343
2018-11-02 14:46:25 -07:00
Ariel Burone
ddec6d9b4d Sumary: Bug 862851 - Swap the Domain and File columns in the network panel r=Honza
The only file that really needs to be changed is constants.js. But
decided to change the order in the other files for consistency sake.

Differential Revision: https://phabricator.services.mozilla.com/D9989

--HG--
extra : moz-landing-system : lando
2018-10-30 16:44:15 +00:00
Alexandre Poirot
976084a82f Bug 1502910 - Remove TimelineActor. r=Honza
MozReview-Commit-ID: DtmS18EYw12

Depends on D10186

Differential Revision: https://phabricator.services.mozilla.com/D10187

--HG--
extra : moz-landing-system : lando
2018-10-30 10:49:19 +00:00
Alexandre Poirot
b866c5140e Bug 1502910 - Stop using the timeline actor from netmonitor. r=Honza
MozReview-Commit-ID: 3GWeJDDfUyG

Differential Revision: https://phabricator.services.mozilla.com/D10186

--HG--
extra : moz-landing-system : lando
2018-10-30 10:48:05 +00:00
Jens Hausdorf
3941d7ead6 Bug 1501341 - Provide context-fill in the network request list to ensure icons are always visible r=Honza
The original implementation didn't took into account that the icons are hardly visible when either using a dark theme or hovering over the
row.

Differential Revision: https://phabricator.services.mozilla.com/D9934

--HG--
extra : moz-landing-system : lando
2018-10-30 11:02:36 +00:00
Amy Chan
b826a6d131 Bug 1502702 - Add more ways to detect image file r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D9906

--HG--
extra : moz-landing-system : lando
2018-10-30 10:53:32 +00:00
tanhengyeow
851adce2ea Bug 1499390 - Edit and Resend: Cancel button should return a user to the Headers panel. r=Honza
Edit and Resend: Cancel button should return a user to the Headers panel

Differential Revision: https://phabricator.services.mozilla.com/D9231

--HG--
extra : moz-landing-system : lando
2018-10-30 10:06:05 +00:00
Jan Odvarko
f5f5b731b5 Bug 1499042 - Fix learn more links in the Network panel. r=Honza 2018-10-25 16:30:05 +02:00
tanhengyeow
06adc212d6 Bug 1501674 - Update MDN HTTP doc mappings. r=Honza
Update MDN HTTP doc mappings.

Differential Revision: https://phabricator.services.mozilla.com/D9668

--HG--
extra : moz-landing-system : lando
2018-10-25 14:39:57 +00:00
Jan Odvarko
1dd0c173e2 Bug 1477252 - Check whether editor is destroyed before using it; review=nchevobbe r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D9251

--HG--
extra : moz-landing-system : lando
2018-10-19 14:21:23 +00:00
Zameer
ef51466c15 Bug 1495971 - fix network resource status code contrastby creating StatusCode.css file containing status code style rules and importing it in webconsole/index.html and netmonitor.css r=nchevobbe
Fixes contrast issue of status code in webconsole by creating and importing StatusCode.css file into webconsole/index.html  which contains the rules for styling the Status Code. Also imports the StatusCode.css file to netmonitor.css since status code styles are removed from RequestList.css.

Differential Revision: https://phabricator.services.mozilla.com/D9353

--HG--
extra : moz-landing-system : lando
2018-10-23 14:28:38 +00:00
fvsch
d75783b6f0 Bug 1490491 - Part 1: replace alerticon-warning.png with console alert icon; r=pbro,ntim
Differential Revision: https://phabricator.services.mozilla.com/D5952

--HG--
rename : devtools/client/themes/images/webconsole/alert.svg => devtools/client/themes/images/alert.svg
extra : moz-landing-system : lando
2018-10-22 14:46:42 +00:00
tanhengyeow
15ecd08ce8 Bug 1340100 - Set 'request cause' according to the original request. r=Honza
Set 'request cause' according to the original request.

Differential Revision: https://phabricator.services.mozilla.com/D8126

--HG--
extra : moz-landing-system : lando
2018-10-22 13:48:47 +00:00
Mark Banner
ceaeb93550 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389

--HG--
extra : moz-landing-system : lando
2018-10-19 12:55:39 +00:00
Alexandre Poirot
0f5e860391 Bug 1495551 - Rename all "tab client" occurences to "target front". r=jdescottes
MozReview-Commit-ID: JrEdamUz6Be

Differential Revision: https://phabricator.services.mozilla.com/D8840

--HG--
extra : moz-landing-system : lando
2018-10-16 18:45:33 +00:00
Amy Chan
e4b80ceed6 Bug 1356536 - Add file type icons in network monitor. r=Honza
Added request type icons in File column of Network Monitor

Differential Revision: https://phabricator.services.mozilla.com/D7697

--HG--
extra : moz-landing-system : lando
2018-10-16 10:30:23 +00:00
Noemi Erli
014b37a409 Merge inbound to mozilla-central. a=merge 2018-10-16 01:20:08 +03:00
Alexandre Poirot
2bab2fef72 Bug 1485660 - Adapt TabClient API to protocol one. r=jdescottes
MozReview-Commit-ID: 1dC5opkgLcQ

Depends on D7459

Differential Revision: https://phabricator.services.mozilla.com/D8066

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:12 +00:00
Brindusan Cristian
c328bc1cdf Backed out 8 changesets (bug 1485660) for damp failures on front.hasRequests. CLOSED TREE
Backed out changeset 7a2f29bbe2a8 (bug 1485660)
Backed out changeset 26e82fa62444 (bug 1485660)
Backed out changeset 9bb2f56f219d (bug 1485660)
Backed out changeset 40a3c2dd1b38 (bug 1485660)
Backed out changeset cfb160882db9 (bug 1485660)
Backed out changeset 3642f2d66777 (bug 1485660)
Backed out changeset 9026679753b2 (bug 1485660)
Backed out changeset dccca441b980 (bug 1485660)
2018-10-11 22:33:35 +03:00
Alexandre Poirot
289ee36566 Bug 1485660 - Adapt TabClient API to protocol one. r=jdescottes
MozReview-Commit-ID: 1dC5opkgLcQ

Depends on D7459

Differential Revision: https://phabricator.services.mozilla.com/D8066

--HG--
extra : moz-landing-system : lando
2018-10-11 15:46:30 +00:00
Tom Glowka
00d2bc66d4 Bug 1490092 - Clean opened tabs after Open request in tab test; r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D5511

--HG--
extra : moz-landing-system : lando
2018-10-10 10:18:07 +00:00
Vincent Lequertier
f71621d402 Bug 1451494 - Simplify edition of the "method" field in netmonitor edit and resend panel; r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D6981

--HG--
extra : moz-landing-system : lando
2018-10-10 10:08:38 +00:00
tanhengyeow
fd2da88b97 Bug 1437435 - Added isBase64, isEmpty method, cleaned up typos and format of comments. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D6148

--HG--
extra : moz-landing-system : lando
2018-10-09 15:56:18 +00:00
shindli
089182bee5 Merge inbound to mozilla-central. a=merge 2018-10-09 19:24:28 +03:00
yulia
498cbdfbe4 Bug 1488380 - update RDM emulation front instantiation with comments, move to getFront elsewhere; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8006

--HG--
extra : moz-landing-system : lando
2018-10-09 10:16:38 +00:00
Ariel Burone
397ad6f4da Bug 972284 - "Remove the "→" from networkMenu.totalMS" r=vporof 2018-10-06 00:28:00 +03:00
meagonqz
bbaebad945 Bug 1492730 - network: show resent XHR when filtering r=honza 2018-09-25 00:31:09 -04:00
Florens Verschelde
63be9aad3e Bug 1458224 - Fix Linux root font size in DevTools; r=pbro,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D6155

--HG--
extra : moz-landing-system : lando
2018-10-02 16:46:45 +00:00
Kenji Okamoto
8432c02e61 Bug 1487602 - Tracking icon is not visible when selected; r=Honza 2018-09-27 09:40:04 -07:00
Aanchal Agarwal
cc040764c6 Bug 1403883 - The Learn More corresponding link exceeds the button's boundaries. r=Honza 2018-09-28 01:35:00 +05:30
Michael Ratcliffe
4e3c6d2b5f Bug 1491879 - Fix telemetry support for multiple tabs / windows r=nchevobbe
- Various telemetry methods now need an object to be passed in in order to keep them seperate e.g. if the inspector is opened in tab 1 a timer is started. If an inspector is opened in tab 2 the same timer is restarted. Closing tab 2 would then erase the timing event invalidating the timer in tab 1.
- We no longer need to preface telemetry calls with category "devtools.main" because this is the only category we will be using.
- There are some changes to `devtools/client/debugger/new/dist/vendors.js` and `devtools/client/debugger/new/src/utils/telemetry.js` that need to be ported to the debugger at the same time as landing this.

Differential Revision: https://phabricator.services.mozilla.com/D6137

--HG--
extra : moz-landing-system : lando
2018-09-25 12:57:13 +00:00
Alexandre Poirot
c4e18d3974 Bug 1494305 - Refactor all tabClient usages to use promise API instead of callback style r=yulia
MozReview-Commit-ID: DZVG1X45sQV

Differential Revision: https://phabricator.services.mozilla.com/D6908

--HG--
extra : moz-landing-system : lando
2018-09-26 18:02:45 +00:00
Alexandre Poirot
4c1bb0403e Bug 1397020 - Remove useless calls to TabTarget.attach r=yulia
TabTarget.attach is being called from the toolbox, before opening the tools,
so we do not have to call it from panel's open functions, nor code that is opening
a toolbox right after.

MozReview-Commit-ID: 77TZFbvOaFt

Differential Revision: https://phabricator.services.mozilla.com/D6668

--HG--
extra : moz-landing-system : lando
2018-09-26 21:11:51 +00:00
shindli
a8d55dae12 Merge inbound to mozilla-central. a=merge 2018-09-27 00:52:12 +03:00
Amy Chan
5c903b5d23 Bug 1479421 - Making the response panel visible; r=Honza
Making the response panel visible

Differential Revision: https://phabricator.services.mozilla.com/D4636

--HG--
extra : moz-landing-system : lando
2018-09-26 07:14:33 +00:00
Alexandre Poirot
fc8714580a Bug 1485676 - Rename TabTarget.makeRemote to TabTarget.attach. r=jdescottes
Summary:
Now that all the "remoting" of this method has been moved to TargetFactory.createTargetForTab,
we should rename this method to what it does now. It mostly call attach requests
of the target actor and its child console actor.
It also "connect" the webextension target actor, but I would like to eventually move that
outside of TabTarget.attach, like makeRemote.

Depends On D4078

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

Differential Revision: https://phabricator.services.mozilla.com/D6161

MozReview-Commit-ID: KmFi1LIUBga
2018-09-24 09:52:57 -07:00
Alexandre Poirot
082e20e693 Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
Tags: #secure-revision

Bug #: 1485676

Differential Revision: https://phabricator.services.mozilla.com/D4078

MozReview-Commit-ID: JAwiySsBZBu
2018-09-24 09:52:55 -07:00
shindli
51a3c01ced Backed out 9 changesets (bug 1485676) for failures in browser/tools/mozscreenshots/devtools/browser_devtools.js CLOSED TREE
Backed out changeset d358feec4ca1 (bug 1485676)
Backed out changeset ed554dbb062f (bug 1485676)
Backed out changeset 6e78058df94d (bug 1485676)
Backed out changeset 3a6f1b0e71f4 (bug 1485676)
Backed out changeset 16d2403aa787 (bug 1485676)
Backed out changeset 454eddf52157 (bug 1485676)
Backed out changeset 926f725f2183 (bug 1485676)
Backed out changeset fb03f174bd5f (bug 1485676)
Backed out changeset ceb93dd1799a (bug 1485676)
2018-09-24 15:27:27 +03:00
Alexandre Poirot
796f22b354 Bug 1485676 - Rename TabTarget.makeRemote to TabTarget.attach. r=jdescottes
Summary:
Now that all the "remoting" of this method has been moved to TargetFactory.createTargetForTab,
we should rename this method to what it does now. It mostly call attach requests
of the target actor and its child console actor.
It also "connect" the webextension target actor, but I would like to eventually move that
outside of TabTarget.attach, like makeRemote.

Depends On D4078

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

Differential Revision: https://phabricator.services.mozilla.com/D6161

MozReview-Commit-ID: KmFi1LIUBga
2018-09-24 01:25:02 -07:00
Alexandre Poirot
631e7bfdf9 Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
Tags: #secure-revision

Bug #: 1485676

Differential Revision: https://phabricator.services.mozilla.com/D4078

MozReview-Commit-ID: JAwiySsBZBu
2018-09-24 01:25:01 -07:00
Gurzau Raul
ad28ad0169 Backed out 9 changesets (bug 1485676) for failing at damp inspector/cold-open.js on a CLOSED TREE
Backed out changeset 4de2e71debfe (bug 1485676)
Backed out changeset e63025150c7a (bug 1485676)
Backed out changeset f9ef30ae3f7f (bug 1485676)
Backed out changeset a83636fab16a (bug 1485676)
Backed out changeset b1fd24929e09 (bug 1485676)
Backed out changeset acb27b915742 (bug 1485676)
Backed out changeset ba2157632772 (bug 1485676)
Backed out changeset d1d6b9bc2372 (bug 1485676)
Backed out changeset d7646ea8640b (bug 1485676)
2018-09-22 19:42:04 +03:00
Alexandre Poirot
8724260e30 Bug 1485676 - Rename TabTarget.makeRemote to TabTarget.attach. r=jdescottes
Summary:
Now that all the "remoting" of this method has been moved to TargetFactory.createTargetForTab,
we should rename this method to what it does now. It mostly call attach requests
of the target actor and its child console actor.
It also "connect" the webextension target actor, but I would like to eventually move that
outside of TabTarget.attach, like makeRemote.

Depends On D4078

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

Differential Revision: https://phabricator.services.mozilla.com/D6161

MozReview-Commit-ID: KmFi1LIUBga
2018-09-22 08:34:21 -07:00
Alexandre Poirot
48f5790c9b Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
Tags: #secure-revision

Bug #: 1485676

Differential Revision: https://phabricator.services.mozilla.com/D4078

MozReview-Commit-ID: JAwiySsBZBu
2018-09-22 08:34:20 -07:00
arthur.iakab
6877b6a75c Backed out 9 changesets (bug 1485676)for perma failures in devtools/client/canvasdebugger/test/browser_canvas-actor-test-01.js CLOSED TREE
Backed out changeset 9f5ec2aa7109 (bug 1485676)
Backed out changeset 0d530c1316a4 (bug 1485676)
Backed out changeset 03278e6fe685 (bug 1485676)
Backed out changeset 275463260056 (bug 1485676)
Backed out changeset 4c5a956b33f7 (bug 1485676)
Backed out changeset d8fe80bb0e3c (bug 1485676)
Backed out changeset 56240996921f (bug 1485676)
Backed out changeset ec0a322f5cc9 (bug 1485676)
Backed out changeset f0f4f9407970 (bug 1485676)
2018-09-21 12:48:48 +03:00
Alexandre Poirot
c023333832 Bug 1485676 - Rename TabTarget.makeRemote to TabTarget.attach. r=jdescottes
Now that all the "remoting" of this method has been moved to TargetFactory.createTargetForTab,
we should rename this method to what it does now. It mostly call attach requests
of the target actor and its child console actor.
It also "connect" the webextension target actor, but I would like to eventually move that
outside of TabTarget.attach, like makeRemote.

Depends On D4078

Differential Revision: https://phabricator.services.mozilla.com/D6161

--HG--
extra : moz-landing-system : lando
2018-09-21 08:08:11 +00:00
Alexandre Poirot
196d295b46 Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D4078

--HG--
extra : moz-landing-system : lando
2018-09-21 08:07:48 +00:00
Jonathan Kingston
45825d47d3 Bug 1485305 - devtools/ Ensure loadURI always passes a triggeringPrincipal() r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D4555

--HG--
extra : source : d23e6557ba279e46f853d9bf59e4c5693aa5ce2a
extra : intermediate-source : 68200d86ebc80827c7f8c330a5b5ae004a5959e3
2018-08-29 15:46:12 +01:00
Brindusan Cristian
1db0587c0e Backed out 10 changesets (bug 1485305) for browser-chrome failures on docshell/test/browser/browser_loadURI.js. CLOSED TREE
Backed out changeset 50439ec01661 (bug 1485305)
Backed out changeset a05e40ef7215 (bug 1485305)
Backed out changeset c99b97b4348b (bug 1485305)
Backed out changeset 75220b2f6669 (bug 1485305)
Backed out changeset e698f2fc1c1a (bug 1485305)
Backed out changeset acce14683c13 (bug 1485305)
Backed out changeset 323773a395cc (bug 1485305)
Backed out changeset 1b74152cabc1 (bug 1485305)
Backed out changeset 4b5c9d5929fc (bug 1485305)
Backed out changeset 238d92348159 (bug 1485305)
2018-09-19 18:47:27 +03:00
Jonathan Kingston
7a0538675d Bug 1485305 - devtools/ Ensure loadURI always passes a triggeringPrincipal() r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D4555

--HG--
extra : source : d23e6557ba279e46f853d9bf59e4c5693aa5ce2a
2018-08-29 15:46:12 +01:00
arthur.iakab
d2e647e133 Backed out 10 changesets (bug 1485305)for failing browser chrome tests on browser_loadDisallowInherit.js
Backed out changeset 138b8596a9cd (bug 1485305)
Backed out changeset d9f04aeeeef7 (bug 1485305)
Backed out changeset cd063d8afe4e (bug 1485305)
Backed out changeset 2f8a5a03ccb5 (bug 1485305)
Backed out changeset 8085d1eefd7c (bug 1485305)
Backed out changeset 3aaccb374a59 (bug 1485305)
Backed out changeset 3a111e9e5c9c (bug 1485305)
Backed out changeset 61aa1cfb0b01 (bug 1485305)
Backed out changeset bca973d90acc (bug 1485305)
Backed out changeset 4eb33bf25d6f (bug 1485305)
2018-09-18 20:30:07 +03:00
Jonathan Kingston
1a020bb397 Bug 1485305 - devtools/ Ensure loadURI always passes a triggeringPrincipal() r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D4555

--HG--
extra : source : 97cd948c92f66d0f4d57939288f545c1121d1c35
2018-08-29 15:46:12 +01:00
Tiberius Oros
3235f6720f Backed out 10 changesets (bug 1485305) for failures at browser/content/browser.js on a CLOSED TREE
Backed out changeset 63c50fd60ae4 (bug 1485305)
Backed out changeset bf0f2adb765e (bug 1485305)
Backed out changeset 721871bb64f1 (bug 1485305)
Backed out changeset e9da73786c5f (bug 1485305)
Backed out changeset e02038177b6b (bug 1485305)
Backed out changeset 35bd32f99f60 (bug 1485305)
Backed out changeset f40900bf8621 (bug 1485305)
Backed out changeset 03632075ac2c (bug 1485305)
Backed out changeset 2fee48378f73 (bug 1485305)
Backed out changeset 6263695b3cb8 (bug 1485305)
2018-09-18 14:46:54 +03:00
Jonathan Kingston
40056cd04c Bug 1485305 - devtools/ Ensure loadURI always passes a triggeringPrincipal() r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D4555

--HG--
extra : source : a5fe8b9644cdc1ba1616e9a80a439c6c02958177
2018-08-29 15:46:12 +01:00
Andrew McCreight
2f839d2b95 Bug 1491402 - Fix typos in browser_net_charts-* tests r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D5895

--HG--
extra : moz-landing-system : lando
2018-09-17 07:02:31 +00:00
Tom Glowka
7a871745f7 Bug 1478361 - Simplify custom headers editing to prevent caret reset; r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D5410

--HG--
extra : moz-landing-system : lando
2018-09-17 13:04:37 +00:00
Daniel Varga
67945694c1 Merge mozilla-central to mozilla-inbound 2018-09-10 19:23:14 +03:00
Margareta Eliza Balazs
32c9003295 Backed out changeset f8a7ea258709 (bug 1479421) for ES lint failure in /builds/worker/checkouts/gecko/devtools/client/netmonitor/test/browser_net_json-long.js CLOSED TREE 2018-09-10 16:09:16 +03:00
Amy Chan
4f12f11fb0 Bug 1479421 - Making the response panel visible; r=Honza
Making the response panel visible

Differential Revision: https://phabricator.services.mozilla.com/D4636

--HG--
extra : moz-landing-system : lando
2018-09-05 11:34:55 +00:00
Tom Glowka
a0eee5a954 Bug 1473220 - Use original content-type when opening request in tab in Netmonitor r=Honza
Before this change it was hardcoded to "application/x-www-form-urlencoded",
now original type is simply forwarded.

Differential Revision: https://phabricator.services.mozilla.com/D5220

--HG--
extra : moz-landing-system : lando
2018-09-10 11:48:27 +00:00
Jan Odvarko
d548370809 Bug 1487274 - Use nsIHttpChannel.isThirdPartyTrackingResource to identify trackers; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D5018

--HG--
extra : moz-landing-system : lando
2018-09-07 06:55:19 +00:00
Bogdan Tara
30c8b1bee3 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-09-07 00:59:25 +03:00
yulia
9611217838 Bug 1429421 - remove gcli code; r=jdescottes,julienw,ochameau
Remove remaining GCLI code

Differential Revision: https://phabricator.services.mozilla.com/D3618

--HG--
extra : moz-landing-system : lando
2018-09-06 11:42:57 +00:00
arthur.iakab
4862d62ddf Backed out changeset 5e21be5fdf9d (bug 1429421)for build busteges CLOSED TREE 2018-09-06 12:12:40 +03:00
yulia
139e4e0b9a Bug 1429421 - remove gcli code; r=jdescottes,julienw,ochameau
Remove remaining GCLI code

Differential Revision: https://phabricator.services.mozilla.com/D3618

--HG--
extra : moz-landing-system : lando
2018-09-06 08:55:50 +00:00
Yura Zenevich
4e23061e72 Bug 1482454 - enabled accessibility panel by default. r=gl, ochameau
MozReview-Commit-ID: 38cNU1Raz8T
2018-08-31 20:30:12 -04:00
tossj
cb05f4c980 Bug 1481732 - Fixed netmonitor request parameter parsing so equals signs are not removed from value field. r=Honza 2018-08-23 13:34:39 -04:00
Jonathan Kingston
a1f35468d5 Bug 1486159 - fix devtools to use openWebLinkIn. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D4393

--HG--
extra : moz-landing-system : lando
2018-08-30 11:06:26 +00:00
Hemakshi Sachdev
31829579c9 Bug 1481002 - Developer tools network panel transferred total should ignore cached data. r=Honza 2018-09-06 01:13:00 +03:00
Amir Sabbaghi
43bd30ddd9 Bug 1469533 - Remove sorting parameters r=Honza 2018-07-04 00:02:53 -07:00
Lucas Luna Souza
437a36e9f2 Bug 1472875 - HTTP response text missing in devtools/network/headers panel r=Honza 2018-07-15 04:59:30 -04:00
fvsch
eed058e508 Bug 1479750 - Part 1: Tweak clear icon and devtools-separator style; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D3482

--HG--
extra : moz-landing-system : lando
2018-08-23 07:59:53 +00:00
Jan Odvarko
a735040675 Bug 1333994 - The network tab should flag resources on the tracking protection list; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D3862

--HG--
extra : moz-landing-system : lando
2018-08-23 07:36:08 +00:00
Narcis Beleuzu
e50eb3d7ea Backed out changeset ab8b409edb0e (bug 1333994) for dt failures on browser_webconsole_check_stubs_network_event. CLOSED TREE 2018-08-22 21:09:55 +03:00
Jan Odvarko
dfb39f81d3 Bug 1333994 - The network tab should flag resources on the tracking protection list; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D3862

--HG--
extra : moz-landing-system : lando
2018-08-22 17:03:30 +00:00
Noemi Erli
f2ac80ab7d Merge inbound to mozilla-central. a=merge 2018-08-22 19:28:33 +03:00
Jan Odvarko
3476ed9421 Bug 1470815 - Make sure the Security panel is visible for HTTP requests in the Console panel; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D3904

--HG--
extra : moz-landing-system : lando
2018-08-22 11:14:45 +00:00
Eliza Balazs
ca96a3b9b0 Bug 1479782 - Disable browser_net_frame.js on mac for frequent failures. r=jmaher 2018-08-20 05:37:00 +03:00
Mantaroh Yoshinaga
095f89b569 Bug 1465644 - Part 3. Hide Splitter if the network panel detail has not opened. r=honza
Network monitor has the splitter box. This splitter is displayed between the
request list panel and network details panel. However, this splitter is
displayed even if the network details panel has not displayed.

This patch will set the spliter size to zero if the network details panel
is collapsed.

--HG--
extra : rebase_source : c20abd113ee91402bd80cf257d7e61e5b3bbdba1
extra : amend_source : e43345ba289907c1b10744e17b102f7775618e78
2018-08-22 16:08:27 +09:00
Gabriel Luong
8f8bab224c Bug 1467572 - Part 10: Reuse the network throttling menu in the network monitor in RDM. r=Honza
- Removes the duplicate dropdown arrow icon that is used in both RDM and Network monitor
- Converts the network throttling menu in the network monitor to be a shared component that
can be used in both RDM and network monitor
- Move the common styles for the dropdown menu button into toolbars.css

--HG--
rename : devtools/client/shared/components/throttling/NetworkThrottlingSelector.js => devtools/client/shared/components/throttling/NetworkThrottlingMenu.js
2018-08-15 17:27:43 -04:00
Gabriel Luong
8112f73aed Bug 1467572 - Part 9: Use native context menu instead of select elements in the reload condition menu of RDM. r=Honza
- Converts the reload condition <select> to use native context menu
- Converts the showMenu util to be reusable by both RDM and the Network Monitor
- Renames getToplevelWindow to getTopLevelWindow
- Renames the reload condition menu to be a setting menu in RDM according to the designs
- Uses the new photon setting icon in RDM

--HG--
rename : devtools/client/responsive.html/components/ReloadConditions.js => devtools/client/responsive.html/components/SettingsMenu.js
rename : devtools/client/netmonitor/src/utils/menu.js => devtools/client/shared/components/menu/utils.js
2018-08-15 17:27:41 -04:00
Csoregi Natalia
e67c081821 Backed out 19 changesets (bug 1467572) for devtools failures on browser_net_telemetry_throttle_changed.js. CLOSED TREE
Backed out changeset 39123899178c (bug 1467572)
Backed out changeset 62fcbe25665c (bug 1467572)
Backed out changeset 5ef6c1c42747 (bug 1467572)
Backed out changeset e295be61276e (bug 1467572)
Backed out changeset 41d85a6f8a2a (bug 1467572)
Backed out changeset 4e6b95a6c506 (bug 1467572)
Backed out changeset 36d459a24020 (bug 1467572)
Backed out changeset abb52c2c68ab (bug 1467572)
Backed out changeset 470b9ce4ba0f (bug 1467572)
Backed out changeset 37609995dc8f (bug 1467572)
Backed out changeset 636bf5ce96f7 (bug 1467572)
Backed out changeset 5880a55d2ee8 (bug 1467572)
Backed out changeset 0f19f84bb2ed (bug 1467572)
Backed out changeset e83526778ccd (bug 1467572)
Backed out changeset c42448ca6e4a (bug 1467572)
Backed out changeset 934fb24dad26 (bug 1467572)
Backed out changeset 6102b9ef805b (bug 1467572)
Backed out changeset 7aaea1245d27 (bug 1467572)
Backed out changeset 7793f8a2b14f (bug 1467572)

--HG--
rename : devtools/client/shared/components/menu/utils.js => devtools/client/netmonitor/src/utils/menu.js
rename : devtools/client/responsive.html/components/App.js => devtools/client/responsive.html/app.js
rename : devtools/client/responsive.html/components/DevicePixelRatioMenu.js => devtools/client/responsive.html/components/DevicePixelRatioSelector.js
rename : devtools/client/responsive.html/components/Toolbar.js => devtools/client/responsive.html/components/GlobalToolbar.js
rename : devtools/client/responsive.html/components/SettingsMenu.js => devtools/client/responsive.html/components/ReloadConditions.js
rename : devtools/client/shared/components/throttling/NetworkThrottlingMenu.js => devtools/client/shared/components/throttling/NetworkThrottlingSelector.js
2018-08-16 03:43:41 +03:00
Gabriel Luong
7060c0de65 Bug 1467572 - Part 10: Reuse the network throttling menu in the network monitor in RDM. r=Honza
- Removes the duplicate dropdown arrow icon that is used in both RDM and Network monitor
- Converts the network throttling menu in the network monitor to be a shared component that
can be used in both RDM and network monitor
- Move the common styles for the dropdown menu button into toolbars.css

--HG--
rename : devtools/client/shared/components/throttling/NetworkThrottlingSelector.js => devtools/client/shared/components/throttling/NetworkThrottlingMenu.js
2018-08-15 17:27:43 -04:00
Gabriel Luong
4c0433b4ab Bug 1467572 - Part 9: Use native context menu instead of select elements in the reload condition menu of RDM. r=Honza
- Converts the reload condition <select> to use native context menu
- Converts the showMenu util to be reusable by both RDM and the Network Monitor
- Renames getToplevelWindow to getTopLevelWindow
- Renames the reload condition menu to be a setting menu in RDM according to the designs
- Uses the new photon setting icon in RDM

--HG--
rename : devtools/client/responsive.html/components/ReloadConditions.js => devtools/client/responsive.html/components/SettingsMenu.js
rename : devtools/client/netmonitor/src/utils/menu.js => devtools/client/shared/components/menu/utils.js
2018-08-15 17:27:41 -04:00
fvsch
0ac3f7e222 Bug 1476590 - Increase netmonitor table text contrast in dark theme and for cached rows. r=gl 2018-07-31 00:40:33 +02:00
Razvan Caliman
8cd7a16786 Bug 1474731 - Custom styles for select elements in font editor. r=gl
MozReview-Commit-ID: GvDlrCdYfkL

Bug 1474731 - Misc styling tweaks for font editor. r=gl

MozReview-Commit-ID: IVQHbjrXtEl

Bug 1474731 - Dark theme for font editor. r=gl

MozReview-Commit-ID: 9dqTa6KXA1E

Differential Revision: https://phabricator.services.mozilla.com/D3232

--HG--
rename : devtools/client/netmonitor/src/assets/icons/drop-down.svg => devtools/client/themes/images/select-arrow.svg
extra : moz-landing-system : lando
2018-08-15 12:11:17 +00:00
Jan Odvarko
dde56f8ebf Bug 1463147 - Instrument inspection of "Throttling" in the Network Panel with event telemetry r=miker
Differential Revision: https://phabricator.services.mozilla.com/D3239

--HG--
extra : moz-landing-system : lando
2018-08-15 10:29:47 +00:00
Jan Odvarko
5c943145d9 Bug 1463171 - Instrument inspection of "edit and resend" in the Network Panel with event telemetry r=miker
Differential Revision: https://phabricator.services.mozilla.com/D3238

--HG--
extra : moz-landing-system : lando
2018-08-14 16:29:07 +00:00
Jan Odvarko
ab93c8f0c3 Bug 1463169 - Instrument inspection of "sidebar changed" in the Network Panel with event telemetry r=miker
Differential Revision: https://phabricator.services.mozilla.com/D3225

--HG--
extra : moz-landing-system : lando
2018-08-14 15:24:00 +00:00
Tiberius Oros
48a72108c4 Backed out changeset 6181783d973c (bug 1463169) for eslint failure at builds/worker/checkouts/gecko/devtools/client/netmonitor/src/middleware/event-telemetry.js on a CLOSED TREE 2018-08-14 16:07:04 +03:00
Jan Odvarko
0531c97bfc Bug 1463169 - Instrument inspection of "sidebar changed" in the Network Panel with event telemetry r=miker
Differential Revision: https://phabricator.services.mozilla.com/D3225

--HG--
extra : moz-landing-system : lando
2018-08-14 12:44:32 +00:00
Jan Odvarko
60ba20b1c1 Bug 1463144 - Instrument inspection of "Filter changes" in the Network Panel with event telemetry r=miker
Differential Revision: https://phabricator.services.mozilla.com/D3205

--HG--
extra : moz-landing-system : lando
2018-08-14 12:20:07 +00:00
Ehsan Akhgari
8f79c3cc07 Bug 1478539 - Part 1: Add the Cookie header to HTTP requests only after a potential classification has been completed on the channel to ensure the tracking state is up to date; r=nwgh
Besides this, we also need to do two extra things here:

  * Call the http-on-modify-request observers after the Cookie header is set,
    to ensure the Cookie header will be visible to them.
  * Move the call to SetLoadGroupUserAgentOverride() to happen after that, in
    order to preserve the existing respective ordering of that with regards to
    when the http-on-modify-request observers run.

Please note that as things are right now, the http-on-modify-request observers
are unable to see the User-Agent header overrides through the loadgroup, which
seems suboptimal, but this patch aims to preserve the existing behavior of
these observers.
2018-08-13 17:04:44 -04:00
Jonathan Kingston
9b7fb2f20c Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb r=Gijs
Reviewers: ckerschb!, Gijs!

Tags: #secure-revision

Bug #: 1362034

Differential Revision: https://phabricator.services.mozilla.com/D2046

--HG--
extra : source : 44b25dea67d2ed079e17057ab619d827e9983400
extra : amend_source : 5742820277e0269b6f5d42b1abd98fd9b228ac4a
extra : histedit_source : 790bd2490333e4d8fea7774d036eafbc2fc329b9
2018-07-06 15:14:54 +01:00
Amy Chan
eac186a638 Bug 1454880 - Make the Domain and Cause column more readable r=Honza
MozReview-Commit-ID: 3vq1LqGQY3Y

--HG--
extra : rebase_source : 6cd5c6489f566df298a75c72607203b8e83047dd
2018-05-19 02:18:23 -07:00
David Walsh
fe0a21f177 Bug 1478162 - NetMonitor - Break to two rows earlier to prevent HAR overflow r=pbro 2018-07-26 12:36:55 -05:00
Alexandre Poirot
2b5681f94c Bug 1444132 - Always wait for full Connector setup in getHarExportConnector. r=jdescottes
MozReview-Commit-ID: 2k18TK78fk8

--HG--
extra : rebase_source : 4bbe481d3724dc7bb3e26eb79bfa8351c22bcf32
2018-08-01 09:47:20 -07:00
Alexandre Poirot
d41a01a8c9 Bug 1444132 - Fix the order of requests done by html_cause-test-page.html test. r=jdescottes
MozReview-Commit-ID: IY8TLzqjrnT

--HG--
extra : rebase_source : b01a5cd462d920fe52eadb6b4ba8222d08898972
2018-07-31 07:33:04 -07:00
Alexandre Poirot
57ca676e5a Bug 1444132 - Prevent race in browser_net_view_source-debugger.js if the stack button is lazily created. r=jryans
MozReview-Commit-ID: 6nM786CYyp7

--HG--
extra : rebase_source : e412a689110afd3021f65cdab335c94268f6d1e6
2018-07-17 10:49:53 -07:00
Alexandre Poirot
cfe9ef4cae Bug 1444132 - Fetch stacks from content process only on-demand. r=jryans
MozReview-Commit-ID: 727tzsqkkEp

--HG--
extra : rebase_source : daad7d90a5d37145f9c17b1d98dfe2dc1b2c7c23
2018-07-17 08:21:35 -07:00
Alexandre Poirot
213dcb3ad6 Bug 1444132 - HSTS redirections now have stack traces. r=jryans
MozReview-Commit-ID: K3CmO15cvKA

--HG--
extra : rebase_source : e2c61ae97c8847de598a09e592b7b98ed56829f0
2018-07-16 09:00:38 -07:00
Narcis Beleuzu
050b31f851 Backed out 9 changesets (bug 1444132) for bc failures on browser_ext_devtools_network. CLOSED TREE
Backed out changeset e702d9a79546 (bug 1444132)
Backed out changeset 22470174dfa0 (bug 1444132)
Backed out changeset 793019c3fd49 (bug 1444132)
Backed out changeset 6afaf8f9db5e (bug 1444132)
Backed out changeset 862a9a773767 (bug 1444132)
Backed out changeset c33d134af968 (bug 1444132)
Backed out changeset 526c4eaaac80 (bug 1444132)
Backed out changeset 09b0af4bda95 (bug 1444132)
Backed out changeset 5fe879d4e4cb (bug 1444132)
2018-07-31 16:18:41 +03:00
Alexandre Poirot
3863621504 Bug 1444132 - Prevent race in browser_net_view_source-debugger.js if the stack button is lazily created. r=jryans
MozReview-Commit-ID: 6nM786CYyp7

--HG--
extra : rebase_source : 2ac5ce2395e91cd7eeab0589d722f02e9ef84f3d
2018-07-17 10:49:53 -07:00
Alexandre Poirot
4889babcad Bug 1444132 - Fetch stacks from content process only on-demand. r=jryans
MozReview-Commit-ID: 727tzsqkkEp

--HG--
extra : rebase_source : 89469cbf30eb1fdc1b06bc5be50ada75eb188f4a
2018-07-17 08:21:35 -07:00
Alexandre Poirot
c50a837ae7 Bug 1444132 - HSTS redirections now have stack traces. r=jryans
MozReview-Commit-ID: K3CmO15cvKA

--HG--
extra : rebase_source : b408cd21921e4cb4c158e546fa41d15329b7d5a7
2018-07-16 09:00:38 -07:00
David Walsh
cd53c0455b Bug 1477915 - Prevent netmonitor crash due to invalid URL input r=pbro
--HG--
extra : rebase_source : 0abc8a09e7795b680be0250a6dae6c5b7bfc3132
2018-07-25 13:46:45 -05:00
Brian Grinstead
1247897f3f Bug 1469191 - Use the proper window for synthesizeMouseAtCenter in netmonitor test;r=jdescottes
It was using `window` which refers to the browser window, but we actually want to synthesize
the click in the devtools window.

MozReview-Commit-ID: KeIwq3JIJin

--HG--
extra : rebase_source : c769229d19661370d5448f0b5b236ce8b2eb91c4
2018-07-25 09:39:48 -07:00
Hemanth Kumar Veeranki
b14e2fdc1c Bug 1471284 - Adjust appearance of throttling menu to match other controls; r=Honza
MozReview-Commit-ID: 5Xl9poqc8B8

--HG--
extra : rebase_source : 403958c1cc33dba129f580489cf3f979c6eec145
2018-07-17 15:39:39 +05:30
Dão Gottwald
36e378f88a Bug 1475537 - Clean up addTab parameter handling. r=mikedeboer
MozReview-Commit-ID: JF9hNLmd3bF

--HG--
extra : rebase_source : 3c1368c275719ec6d4812950154b6c266af4f98a
2018-07-17 13:54:23 +02:00
Bogdan Tara
f06fbe92ac Merge inbound to mozilla-central. a=merge 2018-07-07 01:00:41 +03:00
Vincent Lequertier
dc8fa92a1b Bug 1468366 - Initialize headersSize to null in the devtools network monitor; r=Honza
This is used to avoid having an undefined value when calculating the transferred
size.

MozReview-Commit-ID: 2cDyCxBcYJS

--HG--
extra : rebase_source : 318119fd9b435c30cfb4edddb0303ebdacdeeae3
2018-06-19 22:05:36 +02:00
Jason Laster
75d3075f15 Bug 1473717 - Update Debugger Frontend v69. r=jdescottes 2018-07-06 10:47:04 -04:00
abhinav
1ad6b152e7 Bug 1461271 - Copy POST data labelled wrongly for PUT/PATCH requests in network tab.r=Honza
MozReview-Commit-ID: 9WCfCh1T2lc

--HG--
extra : rebase_source : 319a578df14e455c1960458d48851b1b9e5d67d7
2018-06-23 00:00:41 +05:30
Alexandre Poirot
b18ae66a40 Bug 1471152 - Package all panel scripts under resource://devtools/ instead of chrome://devtools/. r=jdescottes
MozReview-Commit-ID: 72iggFSZswN

--HG--
extra : rebase_source : 9e6192682deb3c7ecd162515a2a5ac6b391f9674
2018-06-25 12:59:22 -07:00
J. Ryan Stinnett
9c965eb38f Bug 1470487 - Move netmonitor security localization to client. r=Honza
--HG--
extra : rebase_source : d31f01e59685d1c2ba59ed7fbaef837f88102e9b
2018-06-22 18:32:39 -05:00
Jan Odvarko
92b7e2ec2d Bug 1470826 - Use correct prop type; r=nchevobbe
MozReview-Commit-ID: 3UYbwYE7HQh

--HG--
extra : rebase_source : 40c9410ff346085ef597fe21454d24fb779a095b
2018-06-25 11:06:09 +02:00
Sebastian Hengst
82bbb42c90 Bug 1469872 - update bugzilla products and components in moz.build files: devtools. r=nalexander
MozReview-Commit-ID: 6bs0jkTP6rP

--HG--
extra : rebase_source : 4e554f8e710aea1fb372a0f21d7539cf568baa17
2018-06-20 21:34:40 +03:00
J. Ryan Stinnett
fa78307d48 Bug 1466534 - Centralize DevTools link handling. r=jdescottes
This adds a `openContentLink` helper meant for any link controlled by web
content.  If there is an associated toolbox open, the toolbox's tab is used to
supply a triggering principal for the link.

MozReview-Commit-ID: 45l5yAPGpZr

--HG--
extra : rebase_source : 61a1d471d6792d148932488e854e16de60dea44b
2018-06-11 23:42:19 -07:00
Joel Maher
50b91c0a14 Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Julian Descottes
5cfc704074 Bug 1467407 - Fix incorrect usage of ok() in devtools mochitests;r=jryans
All the changes here either directly worked when switching from ok() to is()
or were straightforward to fix.

MozReview-Commit-ID: LEcCu0A4msu

--HG--
extra : rebase_source : e46c812a64bca55cc29d7e76298d15bbc1b30b2a
2018-06-07 12:06:20 +02:00
Ciure Andrei
05605d68c4 Merge inbound to mozilla-central. a=merge 2018-06-08 00:50:18 +03:00
Gabriel Luong
e18a43e435 Bug 1192642 - Add a left host type for the toolbox. r=pbro 2018-06-07 12:45:53 -04:00
Julian Descottes
7fdc2c153f Bug 1454696 - Fix leftover issues for prefer-const;r=yulia
MozReview-Commit-ID: JwOXoqw2mks

--HG--
extra : rebase_source : a3f07665a42c2779a85b7901a07206266a9d1616
extra : source : ae946f375e0d0f4f0f0fc859c54040fef42cbc2c
2018-06-01 12:19:35 +02:00
Julian Descottes
640fe52298 Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4

--HG--
extra : rebase_source : 65de1b0aba412d9044b5196115f74276caa058f2
2018-06-01 12:36:09 +02:00
Alexandre Poirot
3e4f25c18e Bug 1449162 - Refactor the NetworkEventActor to use protocol.js. r=jryans
MozReview-Commit-ID: 7HW8sO9dMuD

--HG--
extra : rebase_source : 488c916c35b2352085a22a70ace76dbff8c8d95f
2018-03-27 06:33:11 -07:00
Boris Zbarsky
fef0aa2027 Bug 1455676 part 17. Stop using nsIDOMNode in devtools/. r=jdescottes 2018-05-29 22:58:50 -04:00
abhinav
131be93acd Bug 1462886 - Fix for filter flag breaking the netmonitor when using invalid values.r=Honza
MozReview-Commit-ID: 5cvUX2sb7k0

--HG--
extra : rebase_source : 57caba2b7b6927e2564a0894afc35f709402f386
2018-05-25 02:43:14 +05:30
Jan Odvarko
d0788c7ede Bug 1465594 - Ensure proper order of XHRs; r=jryans
MozReview-Commit-ID: BdieFClyunE

--HG--
extra : rebase_source : 74b95c1c10f027a44fc80db18118f455f11b46c5
2018-06-07 14:51:40 +02:00
Jan Odvarko
17b577a283 Bug 1462882 - Avoid NPE when filtering using remote-ip; r=jryans
MozReview-Commit-ID: IJ2lNgMRCYz

--HG--
extra : rebase_source : 6cb4b7ea83e8e363a6ce635883ca39fe2e08791a
2018-05-22 10:34:50 +02:00
Mark Banner
467c04144d Bug 1463089 - Remove deprecated experimentalObjectRestSpread option from netmonitor's .eslintrc.js file, and clean it up. r=Honza
MozReview-Commit-ID: EiFTniuq3Qy

--HG--
extra : rebase_source : 5c6aabeb38b5dcbd8463d7f95ed6fbf79bf92b09
2018-05-21 12:20:37 +01:00
abhinav
8254f623af Bug 1457983 - Hide sidebar toggle button from webconsole. r=nchevobbe
MozReview-Commit-ID: 7ZXaUjC1noX

--HG--
extra : rebase_source : 20e54119d425c06cfef78e8c54a20faf52017c8f
2018-05-12 15:42:35 +05:30
Vincent Lequertier
10e03e088f Bug 1452715 - Add support for same-site cookie attribute to "Cookies" netmonitor side-panel; r=Honza
MozReview-Commit-ID: ESP8L9vqNjU

--HG--
extra : rebase_source : 3d25dce7298b2464cd3ca84a75b87187e1a093f1
2018-05-05 18:24:20 +02:00
Jan Odvarko
808ac7b7ee Bug 1459207 - Properly style separator in Throttle drop down; r=davidwalsh
MozReview-Commit-ID: 5qXoUtfqDYu

--HG--
extra : rebase_source : 80b365a0bcec291da34e9294590025a4e0902f04
2018-05-08 15:21:46 +02:00
Julian Descottes
55cd41ff36 Bug 1460067 - Update references to devtools-core in devtools documentation;r=jlast
MozReview-Commit-ID: FWqWe0xoBrR

--HG--
extra : rebase_source : 244bc3b34502fd1e73e96fff5390f00f2974d8a6
2018-05-09 00:07:58 +02:00
Margareta Eliza Balazs
7be1f21cf0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-09 12:39:10 +03:00
Robert Xiao
ba5ba53805 Bug 1452442 - Fix Copy as cURL and add tests. r=Honza
Also fixes Bug 1378464 and Bug 1420513.
2018-05-08 18:55:00 -04:00
Bogdan Tara
95208e18f2 Backed out changeset c4608ac6ced9 (bug 1452442) for ES Lint failure on /builds/worker/checkouts/gecko/devtools/client/netmonitor/test/browser_net_copy_as_curl.js CLOSED TREE 2018-05-09 03:51:45 +03:00
Jan Odvarko
eac8874aa2 Bug 1457701 - Use Reps with noGrip:true in netmonitor; r=jryans
MozReview-Commit-ID: CqNw6rVGRqL

--HG--
extra : rebase_source : 2ab3f6899a67fe16e7603e78536572ee14ca4a30
2018-05-08 17:18:02 +02:00
Robert Xiao
4ea509a01c Bug 1452442 - Fix Copy as cURL and add tests. r=Honza
Also fixes Bug 1378464 and Bug 1420513.
2018-05-08 16:36:00 -04:00
Jan Odvarko
82e30fd3aa Bug 1458092 - Netmonitor - minor visual tweaks to new toolbar; r=davidwalsh
MozReview-Commit-ID: L7tiqvoQCL5

--HG--
extra : rebase_source : dac40933d6e0f4b3f2db7e798c303b9f797d6695
2018-05-03 16:34:13 +02:00
Michael Ratcliffe
764c4c8578 Bug 1098374 - Telemetry: Stop all monkey patching in devtools telemetry tests r=yulia
Changes and notes:
  - Created `devtools/client/shared/test/telemetry-test-helpers.js`, which
    contains test helpers to aid in creating and running telemetry tests.
  - Removed any telemetry monkeypatching as it is not dependable and no longer
    needed (there is some left in GCLI but the test is now disabled because
    we are removing GCLI soon anyhow).
  - Because `telemetry-test-helpers.js` is imported by `shared-head.js` I
    have had to make it available everywhere that shared-head.js is used.
  - All telemetry tests have been rewritten to use the new helper.
  - shared-head.js cannot be imported by tests inside
    `devtools/client/performance/test/` because perf have custom `once` and
    `waitFor` implementations that act differently from the ones inside
    `shared-head.js`. This means I had to import the telemetry helpers into
    `devtools/client/performance/test/head.js`
  - Created `devtools/client/shared/test/browser_telemetry_misc.js` to be sure
    to catch `DEVTOOLS_SCREEN_RESOLUTION_ENUMERATED_PER_USER` (we catch a few
    others to be thorough).
  - Disabled `browser_inspector_menu-02-copy-items.js`, which was failing to
    test some expired scalars. I also corrected the way the scalars are logged
    because it was completely wrong.

MozReview-Commit-ID: JjQEGM6hT61

--HG--
extra : rebase_source : cd1214d01bd11908f69167839975cd93ecb83421
2018-05-01 18:06:14 +01:00
Zhang Junzhi
2a3cb6ddb8 Bug 1454910 - Replaces the unicode-url stub with an actual unicode-url shim in the Developer Tools r=nchevobbe
MozReview-Commit-ID: vWJPYgc4uw

--HG--
extra : rebase_source : 7f2c325b9289bd93e0dc4bf361b85a43eb86e6d8
2018-05-03 13:33:47 +08:00
yulia
d29e11bfbd Bug 1441792 - add waitForRequestData to netmonitor test head r=Honza,ochameau
MozReview-Commit-ID: 9xyKuCdXZfa

--HG--
extra : rebase_source : 83a510bdb1918a086d78b1a58cac4c2e9442a461
2018-04-12 17:51:31 +02:00
yulia
aa7e884402 Bug 1441792 - fix browser_net_resend.js and convert to async/await r=yulia
MozReview-Commit-ID: KI8gjGvUHQ4

--HG--
extra : rebase_source : 297304255f7659a107da8de11616e177e3a50f5e
2018-04-05 12:09:18 +02:00
Jan Odvarko
3501c6ba27 Bug 1429296 - Show MDN link of filter properties when hover the filterbox; r=davidwalsh
MozReview-Commit-ID: H3xmQ95DbiF

--HG--
rename : devtools/client/netmonitor/src/assets/styles/MdnLink.css => devtools/client/shared/components/MdnLink.css
rename : devtools/client/netmonitor/src/components/MdnLink.js => devtools/client/shared/components/MdnLink.js
extra : rebase_source : d11cc6da4d27e89710868d81ea2fe8390c576b08
2018-04-30 14:58:26 +02:00
Cosmin Sabou
435ba6ef00 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : devtools/client/responsive.html/components/NetworkThrottlingSelector.js => devtools/client/shared/components/throttling/NetworkThrottlingSelector.js
rename : devtools/client/responsive.html/actions/network-throttling.js => devtools/client/shared/components/throttling/actions.js
rename : devtools/client/shared/network-throttling-profiles.js => devtools/client/shared/components/throttling/profiles.js
rename : devtools/client/responsive.html/reducers/network-throttling.js => devtools/client/shared/components/throttling/reducer.js
2018-05-02 12:27:59 +03:00
Jan Odvarko
75e5f8c584 Bug 1349559 - Introduce UI for network throttling in the Net panel; r=jryans
MozReview-Commit-ID: Ad0ABzf0YuY

--HG--
rename : devtools/client/responsive.html/components/NetworkThrottlingSelector.js => devtools/client/shared/components/throttling/NetworkThrottlingSelector.js
rename : devtools/client/responsive.html/actions/network-throttling.js => devtools/client/shared/components/throttling/actions.js
rename : devtools/client/shared/network-throttling-profiles.js => devtools/client/shared/components/throttling/profiles.js
rename : devtools/client/responsive.html/reducers/network-throttling.js => devtools/client/shared/components/throttling/reducer.js
extra : rebase_source : 10aa7eacd8cd8ebdf01e650bc3ccf0c9bb3d586b
2018-05-01 11:07:18 +02:00
Ciure Andrei
34f9738fa7 Backed out changeset daac5f4217b6 (bug 1349559) for failing devtools/client/responsive.html/test/unit/test_change_network_throttling.js CLOSED TREE
--HG--
rename : devtools/client/shared/components/throttling/actions.js => devtools/client/responsive.html/actions/network-throttling.js
rename : devtools/client/shared/components/throttling/NetworkThrottlingSelector.js => devtools/client/responsive.html/components/NetworkThrottlingSelector.js
rename : devtools/client/shared/components/throttling/reducer.js => devtools/client/responsive.html/reducers/network-throttling.js
rename : devtools/client/shared/components/throttling/profiles.js => devtools/client/shared/network-throttling-profiles.js
2018-05-01 09:58:59 +03:00
Jan Odvarko
368596c629 Bug 1349559 - Introduce UI for network throttling in the Net panel; r=jryans
MozReview-Commit-ID: 8CvBHckNSpZ

--HG--
rename : devtools/client/responsive.html/components/NetworkThrottlingSelector.js => devtools/client/shared/components/throttling/NetworkThrottlingSelector.js
rename : devtools/client/responsive.html/actions/network-throttling.js => devtools/client/shared/components/throttling/actions.js
rename : devtools/client/shared/network-throttling-profiles.js => devtools/client/shared/components/throttling/profiles.js
rename : devtools/client/responsive.html/reducers/network-throttling.js => devtools/client/shared/components/throttling/reducer.js
extra : rebase_source : 278caad37ffc3a5c37ce7d6c968457f588ef4370
2018-05-01 07:42:52 +02:00
Jan Odvarko
e647224b42 Bug 1456430 - Fix search box focus ring; r=davidwalsh
MozReview-Commit-ID: 8sGrn29wq1s

--HG--
extra : rebase_source : 8f1a4c3c98ef8a2b2ce8038328994c6ad41fc336
2018-04-27 09:34:19 +02:00
David McCurry
771befd505 Bug 859051 - Implement cache panel; r=Honza
--HG--
extra : histedit_source : 48d73a800ca6a9d09d70a5b80e7c86caf912c560
2018-05-01 05:42:00 +03:00
Jan Odvarko
5e3f95c227 Bug 1456129 - Extend HAR toolbar with import; r=davidwalsh
MozReview-Commit-ID: 2g5sVon7xpk

--HG--
extra : rebase_source : 8044e25d9af8367c430ad1e0b3ebeaba14993a47
2018-04-26 19:28:10 +02:00
Jan Odvarko
f616ade64c Bug 1403530 - HAR export toolbar button; r=davidwalsh
MozReview-Commit-ID: 6rZlTAUSXnL

--HG--
extra : rebase_source : daf7bedce6190eda9ab7d049c41eb83d04ffca6f
2018-04-26 19:23:56 +02:00
Andreea Pavel
35eb788d03 Backed out changeset b5a1430d99b5 (bug 1403530)for failing clipboard on devtools/client/netmonitor/src/har/test/browser_net_har_copy_all_as_har.js on a CLOSED TREE 2018-04-26 14:52:23 +03:00
Andreea Pavel
03e3322a10 Backed out changeset c75b36672e2a (bug 1456129) for failing eslint at /builds/worker/checkouts/gecko/devtools/client/netmonitor/src/components/DropHarHandler.js:13 on a CLOSED TREE 2018-04-26 10:08:05 +03:00
Andreea Pavel
5df2666ad7 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-04-26 09:06:52 +03:00
Andreea Pavel
a21531022b Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_browserSettings.js => toolkit/components/extensions/test/xpcshell/test_ext_proxy_config.js
2018-04-26 09:04:59 +03:00
Jan Odvarko
36ceb43204 Bug 1456129 - Extend HAR toolbar with import; r=davidwalsh
MozReview-Commit-ID: AZSrsWGnbVY

--HG--
extra : rebase_source : 9076d7f5c1eaa6e26d79ce5a03203c42d07d416e
2018-04-26 07:39:38 +02:00
Andreea Pavel
fe0533f07a Backed out changeset f1618a167883 (bug 1456129) for failing eslint at /builds/worker/checkouts/gecko/devtools/client/netmonitor/src/components/Toolbar.js:281 on a CLOSED TREE 2018-04-26 08:28:18 +03:00
Jan Odvarko
9a62a5ffea Bug 1456129 - Extend HAR toolbar with import; r=davidwalsh
MozReview-Commit-ID: KUa3dvOJN7a

--HG--
extra : rebase_source : b5d0134bb7a85596a5e69915c427fa7379b15b0e
2018-04-24 14:39:44 +02:00
Jan Odvarko
67a235703f Bug 1403530 - HAR export toolbar button; r=davidwalsh
MozReview-Commit-ID: 1ST9bNHZOiU

--HG--
extra : rebase_source : f5827a6797644ef6e34c5de23883a87cda67003b
2018-04-25 18:35:52 +02:00
Kris Maglione
a7b308c3a2 Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8
These issues were previously ignored due to the nature of our global import
rules. They need to be fixed before that rule can be updated.

MozReview-Commit-ID: DCChktTc5TW

--HG--
extra : rebase_source : cffb1c9762191c579d1397c8169e6e7635d229da
extra : histedit_source : dea59ddd2daaae52069c5faceae9149a4f08dd73
2018-04-24 20:18:09 -07:00
Jan Odvarko
1949d001db Bug 1456425 - Fix position of play/resume buttons; r=nchevobbe
MozReview-Commit-ID: zAD8YuCw0N

--HG--
extra : rebase_source : f622bda2550987b0c9e3aff36bfdeacee56faf23
2018-04-25 09:39:30 +02:00
Fred Lin
8b58cf6bdc Bug 1426041 - Fix toolbar layout in Portrait mode; r=davidwalsh
MozReview-Commit-ID: 8yHx0qAmq09

--HG--
extra : rebase_source : 935463d90781d7dbdd9bc9743aa00cc332716c2c
2018-01-04 11:40:27 +08:00
Csoregi Natalia
cc8f2c09f1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-18 01:39:35 +03:00
Kris Maglione
682fa8cd83 Bug 1453881: Part 1b - Manually fix tests that await generators in async functions. r=ochameau
MozReview-Commit-ID: 2oetVEj7yF

--HG--
extra : rebase_source : 153055141df20e1f9f88064ff4be788e74408bef
extra : histedit_source : 41fd082a6dd44bba88d1a503de6b2dd8daebd4e4
2018-04-15 00:30:04 -07:00
Kris Maglione
0f40271841 Bug 1453881: Part 1a - Automatically write add_task(function*) to add_task(async function) r=ochameau
This was done using the script at:

bc5629735d/processors/add-task-async.jsm

MozReview-Commit-ID: KxuS9Cen87

--HG--
extra : rebase_source : c0028e0cd55ba1643610cd30c55c6f4bca7d6e58
extra : histedit_source : ebc84fdec9c2db6176632d62de4e7bdad2a7829d
2018-04-12 21:10:04 -07:00
Jan Odvarko
73dbb70046 Bug 1436665 - Fix WebExtensions devtools.network tests; r=ochameau,rpl
MozReview-Commit-ID: JjJowr1grNP

--HG--
extra : rebase_source : 5c52a02cb6cc1acf9a43944998733bd4a3527ad2
2018-04-17 14:40:44 +02:00
Jan Odvarko
d0bf801d95 Bug 1436665 - Do not fire events on window, update tests; r=ochameau
MozReview-Commit-ID: BbZJQiipg3K

--HG--
extra : rebase_source : d5ac5c6edd0aa8d247a0bc5b114a4e0466217114
2018-04-17 14:38:25 +02:00
Jan Odvarko
d322d234a9 Bug 1436665 - Expose Net panel API without the UI; r=ochameau
MozReview-Commit-ID: 31ceGL3zWzl

--HG--
extra : rebase_source : a12867ede1928ec2592d1516cdf0b95991850413
2018-04-17 14:09:34 +02:00
Narcis Beleuzu
2e31fed279 Backed out 3 changesets (bug 1436665) for talos damp failures on toolbox/panels-in-background.js. CLOSED TREE
Backed out changeset 2120b4c84746 (bug 1436665)
Backed out changeset b3702a775b16 (bug 1436665)
Backed out changeset 3ddbbd0330a1 (bug 1436665)
2018-04-17 15:09:29 +03:00
Jan Odvarko
23d6c207ac Bug 1436665 - Fix WebExtensions devtools.network tests; r=ochameau,rpl
MozReview-Commit-ID: LDS6zxz7Ivi

--HG--
extra : rebase_source : 63b154ca2292d834ea3ddef5837bfedd7115e12b
2018-04-17 13:14:44 +02:00
Jan Odvarko
15c71ac569 Bug 1436665 - Do not fire events on window, update tests; r=ochameau
MozReview-Commit-ID: 2iwybUcHOri

--HG--
extra : rebase_source : 3cfd435f140141c5bb7ab9b56ab8c69913fed714
2018-04-17 13:14:31 +02:00
Jan Odvarko
ab8d1a48b0 Bug 1436665 - Expose Net panel API without the UI; r=ochameau
MozReview-Commit-ID: 7oJMjsC8K9x

--HG--
extra : rebase_source : cd4a6e05df7bac4a9156534f3b972b02744bb4c9
2018-04-17 12:59:06 +02:00
Cosmin Sabou
c1f14b1d28 Backed out 3 changesets (bug 1436665) for talos damp failures on netmonitor/simple.js. CLOSED TREE
Backed out changeset 09030f59fbea (bug 1436665)
Backed out changeset 513c72b05382 (bug 1436665)
Backed out changeset 4b8fe40857db (bug 1436665)
2018-04-17 13:05:42 +03:00
Jan Odvarko
e91ba73045 Bug 1436665 - Fix WebExtensions devtools.network tests; r=ochameau,rpl
MozReview-Commit-ID: KAwcvb18JO1

--HG--
extra : rebase_source : 5d449e9fb4f5236a034b7bda112cf179c06ea9ee
2018-04-13 15:56:07 +02:00
Jan Odvarko
eb13ce7ceb Bug 1436665 - Do not fire events on window, update tests; r=ochameau
MozReview-Commit-ID: K5xd0UmyKb

--HG--
extra : rebase_source : 12fc4bb979684dd6bbc266c1483a735b04733e32
2018-04-13 15:51:03 +02:00
Jan Odvarko
f92b1ab722 Bug 1436665 - Expose Net panel API without the UI; r=ochameau
MozReview-Commit-ID: 2Nuk6OZVk4Z

--HG--
extra : rebase_source : 0e9f646a460baf7346cd31a9b9945a7c62e62055
2018-04-13 15:49:08 +02:00
Zhang Junzhi
f1d278f735 Bug 1451820 - Part 2: Updates mochitest for Part 1. r=Honza
MozReview-Commit-ID: 5E4zR3b0X4J

--HG--
extra : rebase_source : dd08f8eff1f36467b00898db051c80b399778005
2018-04-14 17:47:23 +08:00
Zhang Junzhi
0b2782791c Bug 1451820 - Part 1: Adds support for Unicode URI and Unicode hostname filtering in the Network Monitor. r=Honza
MozReview-Commit-ID: b6uVenZQkS

--HG--
extra : rebase_source : 96b53135a032dac805ccc5262ff98a762ec5aab9
2018-04-14 17:30:31 +08:00
Zhang Junzhi
11d5c2f0f2 Bug 1448553 - Part 3: Decodeds Punycode-encoded international domain names in the Network Monitor so that they are displayed as human-readable Unicode text. r=Honza
The Punycode-encoded international domain names are human-unreadable, so they
should be displayed as human-readable Unicode text. This commit decodes this
kind of names in the Network Monitor.

MozReview-Commit-ID: HlGOVZi1lIm

--HG--
extra : rebase_source : a2107c5b08c9cbda1e80db2a9542af05987c0f74
2018-04-02 16:42:13 +08:00
Gabriel Luong
2728a2b0e3 Bug 1449100 - Move network details panel toggle buton next to the sidebar tabs. r=Honza 2018-04-11 11:22:24 -04:00
Noemi Erli
1fcf5e9c6a Backed out changeset b4dcb47b8542 (bug 1449100) for dt failures in devtools/client/netmonitor/test/browser_net_pane-network-details.js on a CLOSED TREE 2018-04-12 06:09:19 +03:00
Gabriel Luong
1943e4b14e Bug 1449100 - Move network details panel toggle buton next to the sidebar tabs. r=Honza 2018-04-11 11:22:24 -04:00
mayank.raj
2e34cc583d Bug 1442884 - Show request details button does not work when the first request list item is not shown using any filters. r=Honza
MozReview-Commit-ID: uE44j14qMB

--HG--
extra : rebase_source : 1c144b1e2d6ad50693aade1df0faea0afd295ed8
2018-04-06 18:54:15 +05:30
Jonathan Kingston
bbb3623c41 Bug 1374741 - Within devtools/ make openUILinkIn() provide the correct triggeringPrincipal. r=jryans
MozReview-Commit-ID: KecQcZWeU6a

--HG--
extra : rebase_source : edbcbd607ee7209b5c137d4f7af9daf5eaeffab6
2018-02-21 16:01:03 +00:00
Lucas Luna Souza
377b1b9417 Bug 1435232 - Apply new status code design to details panel. r=Honza 2018-04-04 09:03:54 -04:00
Brian Grinstead
a977789695 Bug 1378108 - Part 2 - Remove Firebug theme;r=gl
MozReview-Commit-ID: 930pvUVLsiP

--HG--
rename : devtools/client/themes/images/firebug/read-only.svg => devtools/client/themes/images/read-only.svg
extra : rebase_source : e4b1609bff47753d01d4c21ceaca993ce8d93071
2018-04-04 12:32:54 -07:00
Brian Grinstead
cb65a965a1 Bug 1378108 - Part 1 - Remove non-variable css selector overrides for Firebug theme;r=gl
MozReview-Commit-ID: 6WfdDVs1EKg

--HG--
extra : rebase_source : f5eb20b62644506abd96afe47c0ab7dd6eca7ee4
2018-04-04 12:32:39 -07:00
Tom Glowka
246f226509 Bug 1407515 - more detailed test of Open in New Tab r=Honza
MozReview-Commit-ID: Cd7HCTg3kCJ

--HG--
extra : rebase_source : 1df3f7447fcbd5fa8f92f6a7be67e07dc533cd1a
2018-03-30 04:33:42 +02:00
Tom Glowka
41ebee09f4 Bug 1407515 - simplify Open in New Tab in launchpad r=Honza
Narrow down request methods to actually working (supported by form tag) when opening new tab in launchpad.

MozReview-Commit-ID: 2fE2VkH8B8l

--HG--
extra : rebase_source : df89bd5487d9dd0fe8fedffa16eebad295354e1c
2018-03-29 13:01:30 +02:00
Tom Glowka
dee6711174 Bug 1407515 - make sure post data is suplied to Open in New Tab r=Honza
MozReview-Commit-ID: JqqS7ZhLrr7

--HG--
extra : rebase_source : 1956aa1dc70b04fbe390afbaf31ede0175ac15dd
2018-03-29 11:40:11 +02:00
Tom Glowka
a19aa979c7 Bug 1402828 - "copy as cURL" test adjustments; r=Honza
--HG--
extra : rebase_source : 7eae06e215fd42d9c7584c92cc8747ef04791950
2018-03-28 23:00:25 +02:00
Nicolas Chevobbe
41edb0dc48 Bug 1449931 - Remove old-event-emitter usage from devtools/shared/webconsole; r=bgrins.
MozReview-Commit-ID: HkbUm0XkeJs

--HG--
extra : rebase_source : 6b75408de3370cc2f0047996532dceaab4403a34
2018-03-29 16:06:24 +02:00
Franziskus Kiefer
806baa5430 Bug 1415279 - Move error strings for certError and netError pages to frontend, r=johannh,keeler,Honza,snorp
This patch moves all TLS error string handling to the frontend.
Dev-tools doesn't show the same error code as the page does anymore but only the error code as string.
All logging of these error messages has been removed.

Bug #: 1415279

Differential Revision: https://phabricator.services.mozilla.com/D607

--HG--
extra : rebase_source : 61e2d94cb21ef4c02b81448531609205c85a9707
2018-03-27 13:31:52 +02:00
Tim Nguyen
e002c63fa4 Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht

--HG--
extra : rebase_source : 881e10f2987606e84e55c267260661c0f7b3b746
2018-03-16 23:21:46 +00:00
Margareta Eliza Balazs
27703664b0 Backed out 2 changesets (bug 1444760) for ES lint failure in /builds/worker/checkouts/gecko/browser/base/content/browser.js on a CLOSED TREE
Backed out changeset 71f61091a716 (bug 1444760)
Backed out changeset 4956db1e9bdd (bug 1444760)
2018-03-25 15:29:54 +03:00
Tim Nguyen
e2ed0b5dfb Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht

--HG--
extra : rebase_source : 8e9f24d20829021db2239435c7d8d0db08e28bf9
2018-03-16 23:21:46 +00:00
Jan Odvarko
d09f31367c Bug 1448288 - Make devtools.network.getHAR API compatible with Chrome; r=rpl
MozReview-Commit-ID: 7woAf8iVC3B

--HG--
extra : rebase_source : 11ad0b8b67c4ce0aef1ee7e5ee4e356e66ea7134
2018-03-23 14:38:32 +01:00
Vincent Lequertier
b6a27be22a Bug 1313511 - Add certificate transparency status in the netmonitor security tab; r=Honza
MozReview-Commit-ID: C1gyiOEzpno

--HG--
extra : rebase_source : 747d8cb73cdafa3ed7d79b419f2492249b1fcae0
2018-02-28 21:27:33 +01:00
Narcis Beleuzu
15414c4ffe Merge nozilla-central to autoland. a=merge CLOSED TREE 2018-03-23 12:04:15 +02:00
Noemi Erli
1270a21724 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-23 01:00:18 +02:00
Jan Odvarko
6f4e864a59 Bug 1447679 - Raw headers are displayed in alphabetical order; r=jryans
MozReview-Commit-ID: PGbaLmTdI1

--HG--
extra : rebase_source : d417336ea471e5c2e23ca4b02da583eaf8f9c9f9
2018-03-22 14:32:10 +01:00
Nicolas Chevobbe
3ce257ca27 Bug 1447639 - Small visual alignment on stacktrace; r=Honza.
We want to align with what is done in the Error rep:
- add the lambda (λ) sign which is used in Reps and in the debugger Outline view
- put the location right next to the function name, while keeping them aligned,
  which makes them easier to parse on a large screen.

MozReview-Commit-ID: FyQCaD3Tmp3

--HG--
extra : rebase_source : 01c477613c35d62c0bd95b83fe558d7420cbbd2d
2018-03-21 14:39:49 +01:00
Tom Glowka
a9c84c6ef6 Bug 1269468 - onRequestPostData returns requestPostData not whole payload; r=Honza
For the sake of coherence with the rest of FirefoxDataProvider interface, to avoid future bugs like the one this commit refers to.

MozReview-Commit-ID: EX8JQvoIeTb

--HG--
extra : rebase_source : e398cf76137bc5009ed1614a9cc97d0c4edfa67f
2018-03-14 23:25:12 +01:00
glowka
b4e16f77fd Bug 1269468 - fix netmonitor copy POST Data by conditonal use of formDataSections; r=Honza
MozReview-Commit-ID: Kq45bHXoDB8

--HG--
extra : rebase_source : 5cd3f175501dd0e3239e6f689dada1da99f2a8a2
2018-03-09 01:54:13 +01:00
glowka
6b3c0edea1 Bug 1269468 - fix netmonitor Copy as cURL: adjusting requestData calls to current implementation of onRequestPostData; r=Honza
MozReview-Commit-ID: AOYbsV4AljW

--HG--
extra : rebase_source : d4319ec6eeb2b417ed8d33c5b64fce31abf2b4ea
2018-03-09 00:14:23 +01:00
arthur.iakab
5e8092339a Merge mozilla-central to inbound
--HG--
rename : browser/base/content/test/general/bug364677-data.xml => browser/components/feeds/test/bug364677-data.xml
rename : browser/base/content/test/general/bug364677-data.xml^headers^ => browser/components/feeds/test/bug364677-data.xml^headers^
rename : browser/base/content/test/general/test_bug364677.html => browser/components/feeds/test/test_bug364677.html
rename : services/sync/tps/extensions/tps/bootstrap.js => services/sync/tps/extensions/tps/components/tps-cmdline.js
rename : testing/talos/talos/pageloader/bootstrap.js => testing/talos/talos/pageloader/components/tp-cmdline.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js => testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js
rename : testing/talos/talos/talos-powers/bootstrap.js => testing/talos/talos/talos-powers/components/TalosPowersService.js
rename : tools/quitter/bootstrap.js => tools/quitter/QuitterObserver.js
extra : rebase_source : 5801e95a945b54754f27571e7b211e1eac132d67
2018-03-21 22:27:21 +02:00
Jan Odvarko
25c1073b3b Bug 1223726 - Update tests; r=ochameau
MozReview-Commit-ID: 3iokswH0ybw

--HG--
extra : rebase_source : cf0a0bcd1f09cb61541109e4387d9f72d7775b72
2018-03-12 08:10:40 +01:00
Jan Odvarko
990ab32239 Bug 1223726 - Customize response body interception; r=ochameau
* Introduce pref for custom response body limit
* Introduce pref for saving request/response bodies

MozReview-Commit-ID: 7DrAU1did1a

--HG--
extra : rebase_source : 86117d796357defad79afac890655c28f4d44587
2018-03-12 08:10:39 +01:00
Csoregi Natalia
6c6e051aec Backed out 3 changesets (bug 1269468) for failing netmonitor/test/browser_net_copy_as_curl.js. CLOSED TREE
Backed out changeset 3981bf998979 (bug 1269468)
Backed out changeset 4d0ea899c5c5 (bug 1269468)
Backed out changeset e4e40aa97fb3 (bug 1269468)
2018-03-21 09:25:58 +02:00
Tom Glowka
729c79ec3e Bug 1269468 - onRequestPostData returns requestPostData not whole payload; r=Honza
For the sake of coherence with the rest of FirefoxDataProvider interface, to avoid future bugs like the one this commit refers to.

MozReview-Commit-ID: EX8JQvoIeTb

--HG--
extra : rebase_source : fb847253deb4a83a28910a83286c2f34e680f9f6
2018-03-14 23:25:12 +01:00
glowka
1f786a8cf7 Bug 1269468 - fix netmonitor copy POST Data by conditonal use of formDataSections; r=Honza
MozReview-Commit-ID: Kq45bHXoDB8

--HG--
extra : rebase_source : 46f02f11786ef92709a3b3bffafca9d1d9ee2460
2018-03-09 01:54:13 +01:00
glowka
d3ff20c01f Bug 1269468 - fix netmonitor Copy as cURL: adjusting requestData calls to current implementation of onRequestPostData; r=Honza
MozReview-Commit-ID: AOYbsV4AljW

--HG--
extra : rebase_source : 338e57e5eac9716a3a2075afa1e44e2cb7dc0e10
2018-03-09 00:14:23 +01:00
glowka
2684cc4b23 Bug 1444594 - set correct prop-types in RequstListContent to clean up some warnings r=Honza
MozReview-Commit-ID: K4dOSEVSAWN

--HG--
extra : rebase_source : cd30a291dad03546888d52c389a824a0f894f720
2018-03-10 16:33:14 +01:00
Julian Descottes
0846848648 Bug 1444926 - Move devtools/shim to devtools/startup;r=ochameau
MozReview-Commit-ID: K9WuJuTdYHS

--HG--
rename : devtools/shim/DevToolsShim.jsm => devtools/startup/DevToolsShim.jsm
rename : devtools/shim/aboutdebugging-registration.js => devtools/startup/aboutdebugging-registration.js
rename : devtools/shim/aboutdebugging.manifest => devtools/startup/aboutdebugging.manifest
rename : devtools/shim/aboutdevtools/aboutdevtools-registration.js => devtools/startup/aboutdevtools/aboutdevtools-registration.js
rename : devtools/shim/aboutdevtools/aboutdevtools.css => devtools/startup/aboutdevtools/aboutdevtools.css
rename : devtools/shim/aboutdevtools/aboutdevtools.js => devtools/startup/aboutdevtools/aboutdevtools.js
rename : devtools/shim/aboutdevtools/aboutdevtools.manifest => devtools/startup/aboutdevtools/aboutdevtools.manifest
rename : devtools/shim/aboutdevtools/aboutdevtools.xhtml => devtools/startup/aboutdevtools/aboutdevtools.xhtml
rename : devtools/shim/aboutdevtools/images/dev-edition-logo.svg => devtools/startup/aboutdevtools/images/dev-edition-logo.svg
rename : devtools/shim/aboutdevtools/images/external-link.svg => devtools/startup/aboutdevtools/images/external-link.svg
rename : devtools/shim/aboutdevtools/images/feature-console.svg => devtools/startup/aboutdevtools/images/feature-console.svg
rename : devtools/shim/aboutdevtools/images/feature-debugger.svg => devtools/startup/aboutdevtools/images/feature-debugger.svg
rename : devtools/shim/aboutdevtools/images/feature-inspector.svg => devtools/startup/aboutdevtools/images/feature-inspector.svg
rename : devtools/shim/aboutdevtools/images/feature-memory.svg => devtools/startup/aboutdevtools/images/feature-memory.svg
rename : devtools/shim/aboutdevtools/images/feature-network.svg => devtools/startup/aboutdevtools/images/feature-network.svg
rename : devtools/shim/aboutdevtools/images/feature-performance.svg => devtools/startup/aboutdevtools/images/feature-performance.svg
rename : devtools/shim/aboutdevtools/images/feature-responsive.svg => devtools/startup/aboutdevtools/images/feature-responsive.svg
rename : devtools/shim/aboutdevtools/images/feature-storage.svg => devtools/startup/aboutdevtools/images/feature-storage.svg
rename : devtools/shim/aboutdevtools/images/feature-visualediting.svg => devtools/startup/aboutdevtools/images/feature-visualediting.svg
rename : devtools/shim/aboutdevtools/images/otter.svg => devtools/startup/aboutdevtools/images/otter.svg
rename : devtools/shim/aboutdevtools/moz.build => devtools/startup/aboutdevtools/moz.build
rename : devtools/shim/aboutdevtools/subscribe.css => devtools/startup/aboutdevtools/subscribe.css
rename : devtools/shim/aboutdevtools/subscribe.js => devtools/startup/aboutdevtools/subscribe.js
rename : devtools/shim/aboutdevtools/test/.eslintrc.js => devtools/startup/aboutdevtools/test/.eslintrc.js
rename : devtools/shim/aboutdevtools/test/browser.ini => devtools/startup/aboutdevtools/test/browser.ini
rename : devtools/shim/aboutdevtools/test/browser_aboutdevtools_closes_page.js => devtools/startup/aboutdevtools/test/browser_aboutdevtools_closes_page.js
rename : devtools/shim/aboutdevtools/test/browser_aboutdevtools_enables_devtools.js => devtools/startup/aboutdevtools/test/browser_aboutdevtools_enables_devtools.js
rename : devtools/shim/aboutdevtools/test/browser_aboutdevtools_focus_owner_tab.js => devtools/startup/aboutdevtools/test/browser_aboutdevtools_focus_owner_tab.js
rename : devtools/shim/aboutdevtools/test/browser_aboutdevtools_reuse_existing.js => devtools/startup/aboutdevtools/test/browser_aboutdevtools_reuse_existing.js
rename : devtools/shim/aboutdevtools/test/head.js => devtools/startup/aboutdevtools/test/head.js
rename : devtools/shim/aboutdevtoolstoolbox-registration.js => devtools/startup/aboutdevtoolstoolbox-registration.js
rename : devtools/shim/aboutdevtoolstoolbox.manifest => devtools/startup/aboutdevtoolstoolbox.manifest
rename : devtools/shim/devtools-startup-prefs.js => devtools/startup/devtools-startup-prefs.js
rename : devtools/shim/devtools-startup.js => devtools/startup/devtools-startup.js
rename : devtools/shim/devtools-startup.manifest => devtools/startup/devtools-startup.manifest
rename : devtools/shim/jar.mn => devtools/startup/jar.mn
rename : devtools/shim/locales/en-US/aboutdevtools.dtd => devtools/startup/locales/en-US/aboutdevtools.dtd
rename : devtools/shim/locales/en-US/aboutdevtools.properties => devtools/startup/locales/en-US/aboutdevtools.properties
rename : devtools/shim/locales/en-US/key-shortcuts.properties => devtools/startup/locales/en-US/key-shortcuts.properties
rename : devtools/shim/locales/en-US/startup.properties => devtools/startup/locales/en-US/startup.properties
rename : devtools/shim/locales/jar.mn => devtools/startup/locales/jar.mn
rename : devtools/shim/locales/moz.build => devtools/startup/locales/moz.build
rename : devtools/shim/moz.build => devtools/startup/moz.build
rename : devtools/shim/tests/browser/.eslintrc.js => devtools/startup/tests/browser/.eslintrc.js
rename : devtools/shim/tests/browser/browser.ini => devtools/startup/tests/browser/browser.ini
rename : devtools/shim/tests/browser/browser_shim_disable_devtools.js => devtools/startup/tests/browser/browser_shim_disable_devtools.js
rename : devtools/shim/tests/unit/.eslintrc.js => devtools/startup/tests/unit/.eslintrc.js
rename : devtools/shim/tests/unit/test_devtools_shim.js => devtools/startup/tests/unit/test_devtools_shim.js
rename : devtools/shim/tests/unit/xpcshell.ini => devtools/startup/tests/unit/xpcshell.ini
extra : rebase_source : 7867a5b103d01dc936091a71deeaf526e7f0e47a
2018-03-12 14:41:48 +01:00
Tom Glowka
a86ada08a8 Bug 1420291 - instanciate RequestListContextMenu lazily r=Honza
MozReview-Commit-ID: Db6fgkHJD1v

--HG--
extra : rebase_source : defd12d21308d94b2fadfe8c24585f67177bad23
2018-03-16 16:19:36 +01:00