Commit Graph

6873 Commits

Author SHA1 Message Date
Gabriel Luong
8b2109ede1 Bug 1427392 - Scroll into view the grid container when clicking on the inspect icon. r=pbro 2018-01-05 12:28:39 -05:00
Tiberius Oros
11f2a4970b Merge mozilla-central to inbound. r=merge a=merge CLOSED TREE 2018-01-05 12:03:34 +02:00
Jason Laster
17769f5562 Bug 1427187 - Update Debugger frontend (12-27). r=jdescottes
MozReview-Commit-ID: 37viQIZZzGj
2018-01-05 09:44:09 +01:00
Andreea Pavel
212980366d Backed out changeset ec05347a3fae (bug 1425393) for failing devtools/client/aboutdebugging/test/browser_service_workers.js r=backout
--HG--
extra : rebase_source : adca675a3e6a3041d0517f612b8769958718061a
2018-01-04 23:18:04 +02:00
Mike Park
8117abd4fd Bug 1408950 - Enable browser_webconsole_websocket.js in the new console frontend. r=nchevobbe
MozReview-Commit-ID: K0wKsAPmXxP

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-603750-websocket.html => devtools/client/webconsole/new-console-output/test/mochitest/test-websocket.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-603750-websocket.js => devtools/client/webconsole/new-console-output/test/mochitest/test-websocket.js
extra : rebase_source : 38b6a5527c296912c8399255dce0bedf7513bcc5
2017-11-21 14:25:23 -05:00
Jan Odvarko
1606d1c614 Bug 1421335 - Update test; r=nchevobbe
MozReview-Commit-ID: Far6gsV6SXd

--HG--
extra : rebase_source : 787fbdc766c4b069b4779f79c09f22999889100e
2017-12-11 14:39:37 +01:00
Jan Odvarko
8671511dd6 Bug 1421335 - Right response info link disappears after request is expanded; r=nchevobbe
MozReview-Commit-ID: 5WEqPQaWGGt

--HG--
extra : rebase_source : eaf338dcf3ea3a1c4c3644cc4a1a2c2c988cbd9f
2017-12-07 16:28:33 +01:00
Mike Park
8fcfc68bd1 Bug 1408950 - Enable browser_webconsole_websocket.js in the new console frontend. r=nchevobbe
MozReview-Commit-ID: K0wKsAPmXxP

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-603750-websocket.html => devtools/client/webconsole/new-console-output/test/mochitest/test-websocket.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-603750-websocket.js => devtools/client/webconsole/new-console-output/test/mochitest/test-websocket.js
extra : rebase_source : 942247eb82006d428d4dd4573154c767f4a72ea8
2017-11-21 14:25:23 -05:00
Jan Odvarko
c7d5d0cf13 Bug 1421335 - Update test; r=nchevobbe
MozReview-Commit-ID: Far6gsV6SXd

--HG--
extra : rebase_source : cdb77acf095e79a9b53942f12b6f3bbed38e5b40
2017-12-11 14:39:37 +01:00
Jan Odvarko
f51b48434f Bug 1421335 - Right response info link disappears after request is expanded; r=nchevobbe
MozReview-Commit-ID: 5WEqPQaWGGt

--HG--
extra : rebase_source : fb995b7c51ccba96bc12949079197467791bbe94
2017-12-07 16:28:33 +01:00
Nicolas Chevobbe
4813426592 Bug 1404368 - Enable browser_webconsole_document_focus.js in new frontend;r=jdescottes.
MozReview-Commit-ID: Fd9p0oigRpB

--HG--
extra : rebase_source : 8a3eb4701abaf310c6347ffbedc2a20552ed844c
2018-01-04 12:35:06 +01:00
Nicolas Chevobbe
17b0c62378 Bug 1428006 - Remove skip-if for browser_webconsole_cspro.js;r=nchevobbe.
The test was refactored in Bug 1408932, but it wasn't actually enabled.

MozReview-Commit-ID: 85vI9iX5p2V

--HG--
extra : rebase_source : 928c85e00e1b690129345a03c4741f1d8175a2ad
2018-01-04 12:18:18 +01:00
Ricky Chien
5baf806cde Bug 1426809 - Prevent fetching network update packet again after packet arrived r=Honza
MozReview-Commit-ID: 5Ifgj1opsNW

--HG--
extra : rebase_source : 9ddd273520657db459df15c9a52cef120d669c51
2017-12-23 14:03:24 +08:00
Nicolas Chevobbe
1e02011a6f Bug 1427184 - devtools-reps v0.18.0: update reps bundle from GitHub;r=Honza.
MozReview-Commit-ID: 86gvJSI7grM

--HG--
extra : rebase_source : ffa32f67d08eb463d3dc3eac98f52d03a9a08473
2018-01-04 09:02:55 +01:00
Daisuke Akatsuka
d740edad77 Bug 1426194 - Part 2: Add test. r=pbro
MozReview-Commit-ID: 9A0hRjiYGTE

--HG--
extra : rebase_source : e4f2f93a78f096d8cd99ecba8c33c42a1b1711f3
2017-12-22 00:49:18 +09:00
Daisuke Akatsuka
c7d88e3c8e Bug 1426194 - Part 1: Correspond to the keyframes which have same offset. r=pbro
The problem with this bug was that it did not correspond to animations that
have multiple keyframes with the same offset.

In summary graph, although we were changing the resolution for the graph
creation by the distance of offset between keyframes, as the calculation of
resolution between keyframes with equivalent offset was infinite, generation
was not completed and it was in a state of freezing.
In here, in case of zero distance of offsets, we make avoiding to affect to
changing the resolution.

In addition, the detail graph did not display correctly.
For example, there is an animation below.

div.animate(
  [
    {
      offset: 0,
      opacity: 1,
    },
    {
      offset: 0.5,
      opacity: 0.5,
    },
    {
      offset: 0.5,
      opacity: 0.1,
    },
    {
      offset: 1,
      opacity: 1,
    },
  ],
  1000
);

In this animation, opacity changes from 1 to 0.5 during 0 - 499ms, from 0.1 to 1
after 500ms.
So, opacity at offset 0.5 behaves 0.5 during 0 - 499ms, 0.1 after 500ms.
Since current animation inspector creates the graph with computed value of the
time of offset, the opacity of offset 0.5 always is 0.1 in the example,
was not correct.
As a solution, same to the actual animation work, create the graph between each
keyframes with range that from start keyframe offset time to just before the
time of end keyframe offset time.
Also, in same offsets, connects between just before the time of the offset time
and the offset time.
So, in the example, we separate as below, then calculate the each coordinates,
then combine as graph shape.

1: 0 ~ 499.999ms
2: 499.999 ~ 500ms (same offsets)
3: 500 ~ 999.999ms
4: 1000ms

MozReview-Commit-ID: p4Cn2N9iFt

--HG--
extra : rebase_source : e4a89ebfbb409dede26a4aaf4a45cdd2e3a31d16
2017-12-22 00:49:10 +09:00
Nicolas Chevobbe
ac5956e0ec Bug 1404368 - Enable browser_webconsole_document_focus.js in new frontend;r=jdescottes.
MozReview-Commit-ID: Fd9p0oigRpB

--HG--
extra : rebase_source : 5eae9a37c92687e1f5f86d919e295ae33d9f1902
2018-01-04 12:35:06 +01:00
Nicolas Chevobbe
b745997208 Bug 1428006 - Remove skip-if for browser_webconsole_cspro.js;r=nchevobbe.
The test was refactored in Bug 1408932, but it wasn't actually enabled.

MozReview-Commit-ID: 85vI9iX5p2V

--HG--
extra : rebase_source : 03182ab24bd057ad0be9d2e3f3e884c346d53d98
2018-01-04 12:18:18 +01:00
Ricky Chien
c32b43da30 Bug 1426809 - Prevent fetching network update packet again after packet arrived r=Honza
MozReview-Commit-ID: 5Ifgj1opsNW

--HG--
extra : rebase_source : 6ceb827520761049f79f420d3305ac9fe8844187
2017-12-23 14:03:24 +08:00
Nicolas Chevobbe
6a750a05bc Bug 1427184 - devtools-reps v0.18.0: update reps bundle from GitHub;r=Honza.
MozReview-Commit-ID: 86gvJSI7grM

--HG--
extra : rebase_source : 525bb92f9c348b7ac648bea47224274f6c8b49c7
2018-01-04 09:02:55 +01:00
Daisuke Akatsuka
afb89c1360 Bug 1426194 - Part 2: Add test. r=pbro
MozReview-Commit-ID: 9A0hRjiYGTE

--HG--
extra : rebase_source : 95a5310a5755f951baeabf62ddc8f9c7eb3abe9d
2017-12-22 00:49:18 +09:00
Daisuke Akatsuka
7d7ca7e5f3 Bug 1426194 - Part 1: Correspond to the keyframes which have same offset. r=pbro
The problem with this bug was that it did not correspond to animations that
have multiple keyframes with the same offset.

In summary graph, although we were changing the resolution for the graph
creation by the distance of offset between keyframes, as the calculation of
resolution between keyframes with equivalent offset was infinite, generation
was not completed and it was in a state of freezing.
In here, in case of zero distance of offsets, we make avoiding to affect to
changing the resolution.

In addition, the detail graph did not display correctly.
For example, there is an animation below.

div.animate(
  [
    {
      offset: 0,
      opacity: 1,
    },
    {
      offset: 0.5,
      opacity: 0.5,
    },
    {
      offset: 0.5,
      opacity: 0.1,
    },
    {
      offset: 1,
      opacity: 1,
    },
  ],
  1000
);

In this animation, opacity changes from 1 to 0.5 during 0 - 499ms, from 0.1 to 1
after 500ms.
So, opacity at offset 0.5 behaves 0.5 during 0 - 499ms, 0.1 after 500ms.
Since current animation inspector creates the graph with computed value of the
time of offset, the opacity of offset 0.5 always is 0.1 in the example,
was not correct.
As a solution, same to the actual animation work, create the graph between each
keyframes with range that from start keyframe offset time to just before the
time of end keyframe offset time.
Also, in same offsets, connects between just before the time of the offset time
and the offset time.
So, in the example, we separate as below, then calculate the each coordinates,
then combine as graph shape.

1: 0 ~ 499.999ms
2: 499.999 ~ 500ms (same offsets)
3: 500 ~ 999.999ms
4: 1000ms

MozReview-Commit-ID: p4Cn2N9iFt

--HG--
extra : rebase_source : 0f175fa0b7a3c882171e59a6e4a94bb4802e96d2
2017-12-22 00:49:10 +09:00
Julian Descottes
5f1069a0f5 Bug 1425393 - open sw tabs in background in about:debugging tests;r=ochameau
MozReview-Commit-ID: 8UyrTDtHa7b

--HG--
extra : rebase_source : ec05347a3fae742eb72fe489f204cd55b86cc195
2017-12-12 15:49:36 -06:00
Noemi Erli
7306351412 Backed out changeset 591cf97d4777 (bug 1427077) for ES failures in /builds/worker/checkouts/gecko/devtools/client/shared/webpack/rewrite-lazy-getter.js r=backout on a CLOSED TREE
--HG--
extra : rebase_source : 0eb526012bdb75e7d27e1e5064d0040cb0a39ff4
2018-01-04 10:42:44 +02:00
pd4d10
f19aea9514 Bug 1427077 - Make devtools/client/netmonitor work correctly at browser r=rickychien
Replace `loader.lazyGetter` pattern with normal variable assignment

MozReview-Commit-ID: I08f8hnQ0nN

--HG--
extra : rebase_source : 591cf97d4777207e6b6964d28f66ce61795d77d2
2018-01-03 21:33:57 +08:00
Ricky Chien
52515b78c1 Bug 1426057 - Move chart style from skin/widgets.css StatisticsPanel.css r=Honza
MozReview-Commit-ID: B08TtEdZ9h

--HG--
extra : rebase_source : ff41bc9846400f41bc8152112c92c3bc0e595898
2017-12-22 15:55:10 +08:00
Nicolas Chevobbe
4022bf4f97 Bug 1406038 - Rename and enable browser_webconsole_bug_1050691_click_function_to_source.js in new console frontend; r=bgrins.
The test differs a bit from the old one since we are now testing that there is
a button to jump to definition.

MozReview-Commit-ID: DnC5uJ3pAea

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug_1050691_click_function_to_source.html => devtools/client/webconsole/new-console-output/test/mochitest/test-click-function-to-source.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug_1050691_click_function_to_source.js => devtools/client/webconsole/new-console-output/test/mochitest/test-click-function-to-source.js
extra : rebase_source : 343e6d3828bdacf54d02c79a9e9116837f3b00f1
2018-01-03 18:06:34 +01:00
Mike Park
2adeae4a8c Bug 1419088 - Hitting the Esc key on the console when sidebar is open should close it. r=bgrins
MozReview-Commit-ID: DqHjv0tXdTW

--HG--
extra : rebase_source : c4bfd034c0ee0d0fe61a7572e9a6484455cc4f57
2017-12-19 10:54:57 -05:00
Oriol Brufau
ff98f5e44d Bug 1426094 - Add test for URL linkification in the JSON Viewer r=Honza
MozReview-Commit-ID: Xbn28TLcMu

--HG--
extra : rebase_source : d2249d7fc9ddc392b3b907b3e9b9b9b938939e2f
2017-12-22 17:41:09 +01:00
Gijs Kruitbosch
5e38a0cf55 Bug 1425356 - remove various dead XUL sort attributes, r=bz,florian
- sort-statics-last is no longer meaningful now non-static (ie template) items don't exist
- we don't use the 'resource' attribute anywhere in XUL.
- sortResource/sortResource2 are unused.
- we don't have meaningful consumers for sortSeparators

MozReview-Commit-ID: C31vC9MCrDo

--HG--
extra : rebase_source : 539fd84201eaeead62ac73b3213bfdf6f4333e9a
2017-12-20 15:08:27 +00:00
Nicolas Chevobbe
e2178a02fc Bug 1427595 - Fix ObjectInspector css regressed by devtools-reps-0.16.0; r=Honza.
In the 0.16.0 bundle, we removed most of the ObjectInspector CSS custom properties
because they were being slow. This means that some of the styles we overrided in the
console weren't overriden anymore.
This patch fixes that so we get to the same style we have prior to the new bundle.

MozReview-Commit-ID: JP35pkX6PHZ

--HG--
extra : rebase_source : 194c90856730348e6b7ce6f9bbff52d9ae6c8151
2018-01-03 10:38:14 +01:00
Ricky Chien
2bd53a749d Bug 1425733 - Add requestLongerTimeout() in browser_net_filter-flags.js r=Honza
MozReview-Commit-ID: By6Zjxw1oqw

--HG--
extra : rebase_source : 2b6bba97c1b20e68183b206e821cfa3fde373689
2018-01-03 10:20:57 +08:00
Nicolas Chevobbe
0e02075d22 Bug 1408932 - Rename and enable browser_webconsole_cspro.js in new frontend; r=Honza.
MozReview-Commit-ID: 2qSue0CIO1c

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug_1010953_cspro.html => devtools/client/webconsole/new-console-output/test/mochitest/test-cspro.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug_1010953_cspro.html^headers^ => devtools/client/webconsole/new-console-output/test/mochitest/test-cspro.html^headers^
extra : rebase_source : d52018cb0124cdddc5e8f33f34db298be6b8d9fb
2017-12-07 14:11:11 +01:00
Julian Descottes
7cbf0a6657 Bug 1425280 - Fix localization note mismatch in devtools files;r=pbro
MozReview-Commit-ID: FVJUjB25smI

--HG--
extra : rebase_source : acdf3b9dca3fede5c3b621f8f8064002bd77e978
extra : source : 9a75a20d6fba62635c6646af38cffabb5701a77a
2017-12-14 15:43:37 -06:00
Nicolas Chevobbe
4bebcbedb0 Bug 1405252 - Enable browser_webconsole_console_logging_workers_api.js in the new frontend; r=Honza.
MozReview-Commit-ID: I7b45uLfNkw

--HG--
extra : rebase_source : e92c61b5e7376866521e2b466443039f8bab5927
2017-11-21 09:23:31 +01:00
Julian Descottes
aec4f03b2a Bug 1425393 - open sw tabs in background in about:debugging tests;r=ochameau
MozReview-Commit-ID: 8UyrTDtHa7b

--HG--
extra : rebase_source : 2737c3a0b354215713714e6b03c0e76e638fef9d
2017-12-12 15:49:36 -06:00
Noemi Erli
2da14c0702 Backed out changeset 591cf97d4777 (bug 1427077) for ES failures in /builds/worker/checkouts/gecko/devtools/client/shared/webpack/rewrite-lazy-getter.js r=backout on a CLOSED TREE 2018-01-04 10:42:44 +02:00
pd4d10
32c41ce3c9 Bug 1427077 - Make devtools/client/netmonitor work correctly at browser r=rickychien
Replace `loader.lazyGetter` pattern with normal variable assignment

MozReview-Commit-ID: I08f8hnQ0nN

--HG--
extra : rebase_source : 18d9108d1b49aad92f0c9a2223c2fff58e1dddb1
2018-01-03 21:33:57 +08:00
Ricky Chien
255b132d6a Bug 1426057 - Move chart style from skin/widgets.css StatisticsPanel.css r=Honza
MozReview-Commit-ID: B08TtEdZ9h

--HG--
extra : rebase_source : efdef2ac32111fe0fd40fc0f8c1d23c87e5b6214
2017-12-22 15:55:10 +08:00
Nicolas Chevobbe
49d939d990 Bug 1406038 - Rename and enable browser_webconsole_bug_1050691_click_function_to_source.js in new console frontend; r=bgrins.
The test differs a bit from the old one since we are now testing that there is
a button to jump to definition.

MozReview-Commit-ID: DnC5uJ3pAea

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug_1050691_click_function_to_source.html => devtools/client/webconsole/new-console-output/test/mochitest/test-click-function-to-source.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug_1050691_click_function_to_source.js => devtools/client/webconsole/new-console-output/test/mochitest/test-click-function-to-source.js
extra : rebase_source : e0700658c4a88b0e16ebf8e14102dacd52aec71f
2018-01-03 18:06:34 +01:00
Mike Park
02f6a30000 Bug 1419088 - Hitting the Esc key on the console when sidebar is open should close it. r=bgrins
MozReview-Commit-ID: DqHjv0tXdTW

--HG--
extra : rebase_source : e72f342c480cb4b7a2dbe09e20dc963c295cc136
2017-12-19 10:54:57 -05:00
Margareta Eliza Balazs
3380e11f29 Merge inbound to mozilla-central r=merge a=merge 2017-12-27 23:37:41 +02:00
Gabriel Luong
110ff92145 Bug 1427051 - Revert portait mode width of the inspector back to 700px. r=me 2017-12-27 13:28:31 -05:00
DeanTing
1b76f26695 Bug 1227746 - Hide side panels when related request is filtered out. r=rickychien
MozReview-Commit-ID: 6QolncXMVfh

--HG--
extra : rebase_source : 765519f55b10b137212468c72019dc2de473733c
2017-12-15 15:17:44 +08:00
Jan Odvarko
e91b1b7b8d Bug 1424690 - Fix message expanding; r=nchevobbe
MozReview-Commit-ID: EeHZXmGtCwX

--HG--
extra : rebase_source : 6275416c4742f249032e41d0ee04c4eae2468026
2017-12-11 10:42:24 +01:00
shindli
bdec02b3ec Merge inbound to mozilla-central r=merge a=merge 2017-12-22 23:41:44 +02:00
Jason Laster
d52357f283 Bug 1426462 - Update Debugger Frontend (12-20). r=jdescottes
MozReview-Commit-ID: LU8UG988kll
2017-12-22 18:33:29 +01:00
Andreea Pavel
78bc55ae1f Merge inbound to mozilla-centra r=merge a=merge 2017-12-22 11:54:07 +02:00
Alexandre Poirot
e65ab1463e Bug 1365574 - Release event loop between react module loading and toolbox react rendering. r=pbro
MozReview-Commit-ID: D1M9n3VFdHJ

--HG--
extra : rebase_source : 400bcbb8a4984c32e9decc0877ed9ae7ce386842
2017-11-30 08:34:05 -08:00
SagarB
8b9b4b8fd7 Bug 1402485 - Remove Delete all Session cookies option for non cookie staorage r=miker
Borrowed code from onTreePopupShowing into onTablePopupShowing

MozReview-Commit-ID: 1IotAfqwlpg

--HG--
extra : rebase_source : bd1bc0256ccfbcaf508b319167cab9c21be7dbf2
2017-12-10 18:56:12 +05:30