Commit Graph

6902 Commits

Author SHA1 Message Date
Narcis Beleuzu
0cc8c52dcb Backed out 6 changesets (bug 1428745) for wpt failures on script-type-and-language-with-params.html. r=backout on a CLOSED TREE
Backed out changeset 9e84285278fe (bug 1428745)
Backed out changeset e199f1ccf64c (bug 1428745)
Backed out changeset dfb9af93ac53 (bug 1428745)
Backed out changeset 1d975770bd9a (bug 1428745)
Backed out changeset 1d5dc7dfd429 (bug 1428745)
Backed out changeset 4e53f251c5b8 (bug 1428745)
2018-01-10 00:37:59 +02:00
Jason Laster
54c2355b9d Bug 1428925 - Update Debugger Frontend v6.0. r=jdescottes
MozReview-Commit-ID: ECICtMKoQaq

--HG--
extra : rebase_source : 9149de4e658be3daa4bd315ccdb1e635d6f62b94
2018-01-09 17:02:13 +01:00
Andrea Marchesini
174498ca29 Bug 1428745 - Remove support for version parameter from script loader - tests, r=jonco 2018-01-09 17:00:49 +01:00
Bogdan Tara
cd1c3cc5dd Merge mozilla-central to autoland, r=merge a=merge on a CLOSED TREE 2018-01-09 00:16:46 +02:00
Bogdan Tara
73b4d6b26a Merge inbound to mozilla-central r=merge a=merge 2018-01-09 00:05:31 +02:00
J. Ryan Stinnett
22d7f8de39 Bug 1306892 - Fetch stylesheets from network monitor. r=tromey
If the toolbox is open when a stylesheet is loaded, the network monitor should
have recorded the response content.  When a tool asks for stylesheet text, try
asking the network monitor first before falling back to an extra fetch as a last
resort.

MozReview-Commit-ID: E2pQ04ARfQo

--HG--
extra : rebase_source : b10fb44e313ece5757961ca81a3bc0f76753ed8e
2018-01-05 18:44:25 -06:00
Dorel Luca
07b93afa55 Merge mozilla-central to mozilla-inbound r=merge 2018-01-08 12:00:34 +02:00
Jason Laster
c818ccd16b Bug 1428455 - Update Debugger Frontend v5.0. r=jdescottes
MozReview-Commit-ID: AzAIdEFn20f

--HG--
extra : rebase_source : 7de2f7c3a31a0a349b398d8001b3317d496d2aa6
2018-01-08 10:34:17 +01:00
Oriol Brufau
2f51c10cab Bug 1396434 - Test that symbols can be stored as global variables in the console. r=nchevobbe
MozReview-Commit-ID: Ba7Ir2BHEzw

--HG--
extra : rebase_source : 07ff416d5019eb9f2c92c616f2c3e53e55d8c929
2018-01-01 13:17:05 +01:00
abhinav
7ec4689c74 Bug 1420982 - Fix for copy as cURL ignoring PATCH data. r=Honza
MozReview-Commit-ID: 8GDV8ykAIsH

--HG--
extra : rebase_source : 49aced8366e742320a87834acf0a7ab50c789fd7
2017-12-22 00:41:50 +05:30
Sebastian Hengst
d52c7b3231 merge inbound to central. r=merge a=merge 2018-01-06 00:27:10 +02:00
abhinav
006d24a0a4 Bug 1428338 - Stop resetting -moz-border-*-colors in addons.css; r=dao
MozReview-Commit-ID: AxkN4CovCnf

--HG--
extra : rebase_source : ab7c9abeed9477790f8e5671171a07b5fd6d3197
2018-01-05 20:34:37 +05:30
Nicolas Chevobbe
49fdddb62b Bug 1404853 - Enable browser_webconsole_highlighter_console_helper.js in new console frontend; r=Honza.
This changes the code of the test since it was relying on direct access to the content page.
In order to be able to interact with the element picker, the test-actor and test-actor-registery
files are loaded by head.js.

MozReview-Commit-ID: FyebIiyF31j

--HG--
extra : rebase_source : 83d7304303edc8e8a54cbcc2cc535987b8368207
2017-12-11 06:54:20 +01:00
Csoregi Natalia
b3409f0581 Backed out changeset c28c6de838a2 (bug 1428521) for failing devtools/client/netmonitor/test/browser_net_post-data-01.js. r=backout on a CLOSED TREE 2018-01-08 06:53:22 +02:00
Ricky Chien
0f818e5c99 Bug 1428521 - Draw editor's horizontal scrollbar in Response panels r=gasolin
MozReview-Commit-ID: LK3TdfDCApo

--HG--
extra : rebase_source : 6c3a79e7ef5bf3118635dc3bd6a9699852e7ea3a
2018-01-06 13:16:38 +08:00
Nicolas Chevobbe
0f6571a3b4 Bug 1408893 - Enable browser_webconsole_eval_in_debugger_stackframe2.js in the new console frontend; r=bgrins.
MozReview-Commit-ID: Ej7flr2u3Ya

--HG--
extra : rebase_source : 71ced01a366d418a58cab5072ee4f00494da27bb
2018-01-05 12:52:59 +01:00
Nicolas Chevobbe
7a95fd143a Bug 1405333 - Enable browser_webconsole_execution_scope.js in new console frontend;r=jdescottes.
MozReview-Commit-ID: IE8AQdMR867

--HG--
extra : rebase_source : 44eac13e793aee293095e2d8f88f2db9ab623cb3
2018-01-05 14:03:43 +01:00
Ricky Chien
1e645d03e3 Bug 1428521 - Draw editor's horizontal scrollbar in Response panels r=gasolin
MozReview-Commit-ID: LK3TdfDCApo

--HG--
extra : rebase_source : 826eeabd2424a9a9a8310ef003b37b62a861a9f0
2018-01-06 13:16:38 +08:00
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
5dc770334b Backed out changeset af69a7e1b59f (bug 1427006)for failing devtools and test verify tests test/mochitest/browser_webconsole_console_group.js r=backout on a CLOSED TREE 2018-01-05 17:34:39 +02:00
abhinav
b2c45cf368 Bug 1427006 - Enhanced the browser_webconsole_console_group test; r=nchevobbe
MozReview-Commit-ID: Efe5xb8sq7C

--HG--
extra : rebase_source : 6194d5f4af96446162fcf9b2324fe596e4f299d4
2017-12-15 00:39:34 +05:30
Nicolas Chevobbe
797df76226 Bug 1428231 - Fix browser_webconsole_websocket.js intermittent failure; r=Honza.
The patch changes how log we wait before polling again in waitFor, since the timeout
is happening here.

MozReview-Commit-ID: 4ZteEmMBOZk

--HG--
extra : rebase_source : 44078fa03df8ce7650d71ac0ad401a30827f2d83
2018-01-05 11:18:44 +01:00
Ricky Chien
9c5ca18b62 Bug 1426908 - Asynchronously enable CodeMirror syntax highlight for large content r=Honza
MozReview-Commit-ID: v4GcMOnrWy

--HG--
extra : rebase_source : f0498f4e3325debd7948bbeea9b6239118b2a1fa
2018-01-05 17:18:34 +08:00
Ricky Chien
403caf94bf Bug 1426920 - Netmonitor ResponsePanel's editor-row-container should occupy the available vertical space r=gasolin
MozReview-Commit-ID: Jkn26LAyovK

--HG--
extra : rebase_source : 2a3c935d083c04de629880fab6995f21fca26abf
2018-01-05 15:13:58 +08: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
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
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
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
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