Граф коммитов

9187 Коммитов

Автор SHA1 Сообщение Дата
Jason Laster b741bb7d3c Bug 1439711 - Refactor debugger server stepping tests. r=tromey
MozReview-Commit-ID: HkiSr9NCc1A
2018-02-22 12:42:00 +02:00
Masayuki Nakano 46356ed826 Bug 1439500 - Make devtools/client/shared/widgets handle non-printable keys and key combinations with keydown event r=jryans
We'll stop dispatching keypress event for non-printable keys and key
combinations at least in web content.  This means that widget of
devtools/client cannot be tested with loading them into tabs with mochitest
browser chrome.  Fortunately, they are cleanly independent from other module's
keypress event listeners.  So, we can make they use keydown event to handle
non-printable keys and key combinations.

MozReview-Commit-ID: 6fNSsGi9VbQ

--HG--
extra : rebase_source : d8c201d2233dd1c08a87ad5123aaa2942af643d7
2018-02-20 18:57:35 +09:00
Hiroyuki Ikezoe 56da525c38 Bug 1437714 - Wait for 'picker-stopped' event before starting the new picker in the next test case. r=pbro
MozReview-Commit-ID: LUayN3GM2BK

--HG--
extra : rebase_source : 7542824fdf7421a5961e69ecb1c90cc94712f9ac
2018-02-17 07:22:49 +09:00
Csoregi Natalia 166bce1123 Merge inbound to mozilla-central. a=merge 2018-02-24 12:13:21 +02:00
Sebastian Hengst e6ed14057b merge mozilla-central to autoland on a CLOSED TREE
--HG--
extra : amend_source : d88824ea9bbe5e0298f0d64fd0e4cdedcbee342c
2018-02-24 03:07:44 +02:00
Sebastian Hengst 7be9fed7d0 merge mozilla-inbound to mozilla-central. a=merge 2018-02-24 02:58:35 +02:00
Marco Zehe 63c70d89f6 Bug 1439899 - Make the button for the active developer tool distinguishable for accessibility, r=bgrins
To accomplish this, the added aria-pressed attribute turns the buttons into toggle buttons, and the one that is visually selected, gets the "true" attribute value, others are "false". That way, the screen reader and other assistive technologies will indicate that this is the selected or pressed button.

MozReview-Commit-ID: L2lcw2wOyYw

--HG--
extra : rebase_source : 1c0ad241319f50c34c120ce05b85e795e9a5b080
2018-02-23 16:04:48 +01:00
Brendan Dahl a0a4d49d5a Bug 1440532 - Use xul for the default namespace of styleeditor.xul. r=bgrins
This will make it easier to include xul chunks with the preprocessor.

MozReview-Commit-ID: F3aF6CqqcSK

--HG--
extra : rebase_source : ccd0cb99ac9f1114d28cd749ec439c907d13836f
2018-02-22 17:57:41 -08:00
Nicolas Chevobbe baa8289bcd Bug 1432232 - Implement prefix support in new console frontend; r=bgrins.
The prefix property was already on the packet, so all we had to
do was to support it. Which means:
 - retrieve the property in the packet and pass it to the message
 - when prefix exists, add a dom element with a custom style
 - search in prefix when filtering.

We add a couple of mocha tests with a stub packet to make sure we
handle those cases like we should.

MozReview-Commit-ID: KFkt685AdfE

--HG--
extra : rebase_source : d73e96545400d5bb83c51953d1b75ac8e03ca959
2018-02-22 16:30:16 +01:00
Mike de Boer a5c69d3ed0 Bug 1440670 - Make the timeout before showing the connection status in the Browser Toolbox longer and hide it whenever the connection is established. r=jryans
MozReview-Commit-ID: BeH95CstC5I

--HG--
extra : rebase_source : e4cd8de016d9511f3316fbecfd07458f594bed16
2018-02-23 15:39:50 +01:00
Ruturaj K. Vartak 2196076232 Bug 1438457 - Autocomplete popup should autoselect the first element of the list. r=nchevobbe.
--HG--
extra : rebase_source : 6b7fb664e7005d1e1e2df0185869fae7d83c301a
2018-02-23 02:38:00 +02:00
Ciure Andrei befcb6cb4f Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-23 02:06:26 +02:00
Ciure Andrei d068047dfa Merge autoland to mozilla-central. a=merge 2018-02-23 02:02:51 +02:00
Ciure Andrei 855b730941 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-23 00:03:06 +02:00
Boris Zbarsky 3d785e53b2 Bug 1437921 part 1. Add an attribute on document that is a Promise that resolves when the document has fired DOMContentLoaded _and_ maybe started layout. r=mystor
MozReview-Commit-ID: LpPFPKlHTXe
2018-02-22 16:55:40 -05:00
Ciure Andrei 852a0c8890 Merge inbound to mozilla-central. a=merge 2018-02-22 23:55:25 +02:00
Tooru Fujisawa e99f2dcb69 Bug 1439471 - Emit EVENTS.TIMELINE_EVENT after adding timing marker. r=Honza 2018-02-23 06:24:20 +09:00
Ruturaj K. Vartak 8929757453 Bug 1439242 - Headers filter in netmonitor broken. r=honza.
--HG--
extra : rebase_source : abb0ccdd0fb776eeaad3718b760e9a708ba97167
2018-02-21 21:01:00 +02:00
Michael Ratcliffe 62aa51edea Bug 1437849 - Enable browser_console_hide_jsterm_when_devtools_chrome_enabled_false.js in new frontend r=Honza
This whole test neede rewriting. Beginning with the new console frontend we no longer block the object inspector in the browser console when `devtools.chrome.enabled === false`.

MozReview-Commit-ID: 9H5FvIbkYzk

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_console_hide_jsterm_when_devtools_chrome_enabled_false.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_hide_when_devtools_chrome_enabled_false.js
extra : rebase_source : a649b20be57d394ff24c5f2bafaf1d2b8687ff40
2018-02-15 13:12:17 +00:00
Michael Ratcliffe 76611ed894 Bug 1437855 - Enable browser_console_webconsole_iframe_messages.js in new frontend r=nchevobbe
MozReview-Commit-ID: nMmapFxtnH

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-consoleiframes.html => devtools/client/webconsole/new-console-output/test/mochitest/test-console-iframes.html
extra : rebase_source : 299827d191cb9ea3b6fc32c5a993ffcdb9285d99
2018-02-14 13:39:07 +00:00
arthur.iakab e5eabd789f Backed out 3 changesets (bug 1428816) for Browser Chrome failures on browser/base/content/test/static/browser_misused_characters_in_strings.js on a CLOSED TREE
Backed out changeset 31e12673218b (bug 1428816)
Backed out changeset a6e7a7b21cf3 (bug 1428816)
Backed out changeset 0d00eabc8b83 (bug 1428816)
2018-02-22 19:26:58 +02:00
Nicolas Chevobbe c81c7b1390 Bug 1432232 - Implement prefix support in new console frontend; r=bgrins.
The prefix property was already on the packet, so all we had to
do was to support it. Which means:
 - retrieve the property in the packet and pass it to the message
 - when prefix exists, add a dom element with a custom style
 - search in prefix when filtering.

We add a couple of mocha tests with a stub packet to make sure we
handle those cases like we should.

MozReview-Commit-ID: KFkt685AdfE

--HG--
extra : rebase_source : 71f13c07921b1d60df1a0c113d1e3fb440923ec2
2018-02-22 16:30:16 +01:00
Marco Zehe 9d7a5b5fa2 Bug 1439925 - Make the breadcrumbs container a proper toolbar for screen readers, and fix the localization include for its label, r=gl
MozReview-Commit-ID: 14mRxfE2ucx

--HG--
extra : rebase_source : 23dc29302032cf55c8bb696df9815369a59e808e
2018-02-22 10:08:46 +01:00
J. Ryan Stinnett 66f67aac20 Bug 1428816 - Show reload help on first RDM open. r=ochameau
The first time RDM is opened after this, show a notification explaining that a
reload is needed to apply certain emulation features.

MozReview-Commit-ID: 26GMbhT5MUo

--HG--
extra : rebase_source : 069ab687830faf29e5fe37b408628c0cd85e1464
2018-02-08 18:43:23 -06:00
J. Ryan Stinnett ae5197227a Bug 1428816 - Add RDM UI to control whether we reload. r=ochameau
This adds a menu to the RDM global toolbar to allow the user to control whether
the page reloads in response to various state changes.

This also changes the default behavior to _not_ reload, so that we avoid losing
changes that might have been made in DevTools.

MozReview-Commit-ID: 86h5cB5dify

--HG--
extra : rebase_source : ebb4f86da4407772704a9fc06b4083b39cf61290
2018-02-08 15:20:17 -06:00
J. Ryan Stinnett 2db77cb341 Bug 1428816 - Rename deviceListState to loadableState. r=ochameau
MozReview-Commit-ID: AWIP5njHV3M

--HG--
extra : rebase_source : 9456863fdbe024c9f351b4c24a8b45d6289b4f1c
2018-02-08 15:22:59 -06:00
Andreea Pavel 9470b1bfd7 Backed out changeset d8ffc9e58ff1 (bug 1432232) for mochitest devtools failures at devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/browser_webconsole_check_stubs_console_api.js on a CLOSED TREE 2018-02-22 20:13:05 +02:00
J. Ryan Stinnett d02013982d Bug 1428816 - Show reload help on first RDM open. r=ochameau
The first time RDM is opened after this, show a notification explaining that a
reload is needed to apply certain emulation features.

MozReview-Commit-ID: 26GMbhT5MUo

--HG--
extra : rebase_source : 6b043a6465687ccae23eb2cf0619b3e82ca62c5f
2018-02-08 18:43:23 -06:00
J. Ryan Stinnett cc4dec06e0 Bug 1428816 - Add RDM UI to control whether we reload. r=ochameau
This adds a menu to the RDM global toolbar to allow the user to control whether
the page reloads in response to various state changes.

This also changes the default behavior to _not_ reload, so that we avoid losing
changes that might have been made in DevTools.

MozReview-Commit-ID: 86h5cB5dify

--HG--
extra : rebase_source : 0d1598bd0ad066eaffdc23d4c970c64f368afa04
2018-02-08 15:20:17 -06:00
J. Ryan Stinnett 8790714f00 Bug 1428816 - Rename deviceListState to loadableState. r=ochameau
MozReview-Commit-ID: AWIP5njHV3M

--HG--
extra : rebase_source : 51fda7a2d213f5e3e39204694271b7eebde11fb2
2018-02-08 15:22:59 -06:00
Dorel Luca 9b2f91981c Backed out 6 changesets (bug 888600) for Valgrind and build bustge on a CLOSED TREE
Backed out changeset 7c8317f4ad48 (bug 888600)
Backed out changeset 5b990735f1ad (bug 888600)
Backed out changeset 9eafe225b804 (bug 888600)
Backed out changeset 16af80d6cd93 (bug 888600)
Backed out changeset a109987af625 (bug 888600)
Backed out changeset 0949dba396ad (bug 888600)
2018-02-22 13:56:43 +02:00
Dorel Luca ce3c40d6ba Merge mozilla-central to mozilla-inboud
--HG--
rename : security/certverifier/TrustOverride-AppleGoogleData.inc => security/certverifier/TrustOverride-AppleGoogleDigiCertData.inc
rename : security/manager/tools/crtshToDNStruct/crtshToDNStruct.py => security/manager/tools/crtshToIdentifyingStruct/crtshToIdentifyingStruct.py
rename : security/manager/tools/crtshToDNStruct/requirements.txt => security/manager/tools/crtshToIdentifyingStruct/requirements.txt
extra : rebase_source : 6bcbd2a80706f4f4b36bbb1e53c260ea495babf8
2018-02-22 12:10:42 +02:00
Dorel Luca 6ad641c5c4 Merge mozilla-inboud to mozilla-central. a=merge 2018-02-22 11:59:54 +02:00
Jason Laster 75601ec5fc Bug 1434792 - Disable browser_dbg-sourcemaps-reload.js on windows. r=jmaher 2018-02-20 17:27:00 -05:00
Nicolas Chevobbe 699a7a874f Bug 1438118 - Do not show open in netmonitor context menu entry in browser console; r=bgrins.
We also add a test to make sure we have the expected context menu
on log and network message in the browser console.

MozReview-Commit-ID: E2woQj5clJF

--HG--
extra : rebase_source : a3de488ed61e8124ad743983eeb23791df911716
2018-02-20 10:39:31 +01:00
Gurzau Raul 2a77281049 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-21 19:30:44 +02:00
Gurzau Raul 9a8d3f8191 Merge inbound to mozilla-central. a=merge 2018-02-21 18:46:07 +02:00
Jason Laster b78b7a1595 Bug 1439763 - Update Debugger Frontend v18. r=jdescottes
MozReview-Commit-ID: 5JeJsxQ6dR7

--HG--
extra : rebase_source : f8e4ccc33a6f2dbd8dd64e42a34da97cc91733f8
2018-02-21 10:02:54 +01:00
Jan Odvarko d0c350329f Bug 1438482 - logErrorInPage should produce an error log; r=bgrins,jryans
MozReview-Commit-ID: Ly9kDNwGthG

--HG--
extra : rebase_source : e59e9c0fca83215dd834122ec4a38591a67c5b62
2018-02-20 15:48:56 +01:00
J. Ryan Stinnett e7811b0211 Bug 1438696 - Stop Inspector from rebooting on RDM toggle. r=ochameau
Currently, if you open the Inspector on some page, then enter RDM, the Inspector
will "reboot" (reload all panels) because it believes the document has reloaded.

However, it's not really true in this case.  Instead, it's an artifact of the
pagehide / pageshow events that are triggered when swapping frames like RDM
does.  Bug 1438697 adds a chrome-only property that we then use here to
distinguish this case.

MozReview-Commit-ID: Ks42QayVnij

--HG--
extra : rebase_source : 91739a5db2774073e723b1daf43bc5242755fc43
2018-02-16 15:02:24 -06:00
Sebastian Hengst 43020d2ca4 Backed out 6 changesets (bug 1434300) for frequent GTest in AllocReplacement.malloc_check
Backed out changeset 23485791d3e1 (bug 1434300)
Backed out changeset 73a952303cae (bug 1434300)
Backed out changeset 61b168663a54 (bug 1434300)
Backed out changeset ea372af453ef (bug 1434300)
Backed out changeset d8517bfe9eb2 (bug 1434300)
Backed out changeset 603b92a0ebd5 (bug 1434300)

--HG--
rename : security/certverifier/TrustOverride-AppleGoogleDigiCertData.inc => security/certverifier/TrustOverride-AppleGoogleData.inc
rename : security/manager/tools/crtshToIdentifyingStruct/crtshToIdentifyingStruct.py => security/manager/tools/crtshToDNStruct/crtshToDNStruct.py
rename : security/manager/tools/crtshToIdentifyingStruct/requirements.txt => security/manager/tools/crtshToDNStruct/requirements.txt
2018-02-21 02:35:23 +02:00
nbeleuzu@mozilla.com 49cba58050 Backed out changeset 84ab509808e7 (bug 1420130) for mochitest failures on /browser_fontinspector_expand-css-code.js 2018-02-21 00:33:09 +02:00
J.C. Jones 0534d6fb09 Bug 1434300 - Disable the b-c imminent distrust test r=keeler
The browser console test for imminent distrust relies upon certs inserted
into build/pgo/certs/cert8.db and key3.db [1], and seemed angry when adding new
certs with certutil bumping those to cert9 and key4 formats. Since time is
getting to be of-the-essence with Bug 1434300, I've filed Bug 1439378 to re-
enable this test post-landing.

[1] https://hg.mozilla.org/mozilla-central/rev/98b1272e170c

MozReview-Commit-ID: I4SIiqc5AqH

--HG--
extra : rebase_source : 06295cbed14f2a793162073e707e14026ea69625
2018-02-20 16:27:14 -05:00
Michael Ratcliffe ad6889fdd2 Bug 1420130 - Remove React Proxy Monkeypatch and see how it affects DAMP r=gregtatum
MozReview-Commit-ID: 9L9PYPDGTmj

--HG--
extra : rebase_source : e5fbef2c7221b92d54903a53fbb1106cdeb2f550
2018-02-13 13:26:03 +00:00
shindli f1c5255ad4 Merge inbound to mozilla-central. a=merge 2018-02-20 21:09:49 +02:00
Jason Laster 51a14c65a3 Bug 1438930 - Update Debugger Frontend v17. r=jdescottes
MozReview-Commit-ID: CtomOfMYQFo
2018-02-20 08:17:09 -05:00
Nicolas Chevobbe 32b0754ade Bug 1438542 - Fix rendering of non-cached message issued from logStringMessage; r=miker.
We weren't doing the right transform for cached messages, and thus
we weren't creating the ConsoleMessage with the correct properties.
This is now fixed and a mocha test is added to make sure we don't
regress on this.

MozReview-Commit-ID: ACOCPF06GK2

--HG--
extra : rebase_source : 029fe31b7343f4032ea48a8629bae8d8c0a87e62
2018-02-19 16:24:55 +01:00
Nicolas Chevobbe 905b05a8b6 Bug 1438442 - Fix styled console.log issue with empty style; r=Honza.
It is totally valid to declare an empty style in styled console.log.
But we were appending a space after a string with empty style because
we were checking that the style wasn't falsy, and empty string is falsy.
We fix that by checking against undefined.
A test is added to make sure we don't regress that.

MozReview-Commit-ID: EOQ49Gt0Cr9

--HG--
extra : rebase_source : bf711afa76dd784d3cf1f973c47e4aa139d5bc5e
2018-02-15 09:09:36 +01:00
Alexandre Poirot fe1bc77e9b Bug 1438531 - Remove leftovers of mocha test from netmonitor. r=Honza
MozReview-Commit-ID: qea532Kc7Q

--HG--
extra : rebase_source : c901b37c0709dc70b1380d1764951f3aa209f399
2018-02-19 06:58:51 -08:00
Jonathan Kingston 8afc412494 Bug 1435733 - Upgrade mixed display content pref. r=baku,ckerschb,francois,mayhemer
MozReview-Commit-ID: ETIgVF3zhRu

--HG--
extra : rebase_source : e4c59f50584158f4b31527347b10424b56692fa1
2018-02-05 15:37:27 +00:00
Sebastian Hengst 5063aefdbb Bug 1439923 - Fix typo which prevented accesskey in console's 'Open in sidebar' context menu entry to be applied. r=nchevobbe
MozReview-Commit-ID: F571gdQGU9a

--HG--
extra : rebase_source : d6c0568d9fe1c64b21569c99bc2b61ee3291db8c
2018-02-21 15:34:28 +01:00
Dorel Luca e43ba9dc0b Merge mozilla-central to autoland 2018-02-22 12:08:42 +02:00
Emilio Cobos Álvarez 48693859b0 Bug 1439837: Regenerate the devtools css database. r=me
MozReview-Commit-ID: 2zc0WsXbIlY
2018-02-22 10:51:20 +01:00
Brian Grinstead be5c97b684 Bug 1439371 - Close the top window (browserconsole.xul) when the close key shortcut is used in the Browser Console;r=jdescottes
In the old frontend `this.window.close` worked since webconsole.xul was used for both the web console
and browser console. The new frontend is implemented in HTML (webconsole.html) but for the browser console
we wrap that in a XUL document (browserconsole.xul) to support window management and other XUL features.
So when the HTML frontend receieves cmd/ctrl+w, we now call the `close` function for the XUL window instead.

MozReview-Commit-ID: 5j9rimTC2f8

--HG--
extra : rebase_source : dc1b444b22a2c8214e4dbf21a3a4972be2249fc5
2018-02-19 13:52:56 -08:00
J. Ryan Stinnett 419f1497a9 Bug 1438596 - Unix line endings for docs outline. r=sole
MozReview-Commit-ID: BtujwIbDYKi

--HG--
extra : rebase_source : 3551029f8e2e85bca46a64d44bc50834a642f8ab
2018-02-15 12:04:36 -06:00
J. Ryan Stinnett f0ec1fdfeb Bug 1438596 - Push test docs higher in outline. r=sole
MozReview-Commit-ID: GbJ1pTGsKJg

--HG--
extra : rebase_source : 00c39ab806db50eed1a1382a80c8739318503055
2018-02-15 12:03:48 -06:00
Brian Grinstead 89210dfc96 Bug 1438487 - Restore the Browser Toolbox using session store;r=jryans
MozReview-Commit-ID: JUbafbthojm

--HG--
extra : rebase_source : eb8f4c3d10ec60475594c43010afe7ef6088a3f2
2018-02-21 15:47:36 -08:00
Michael Ratcliffe c7bf9cb790 Bug 1420130 - Remove React Proxy Monkeypatch r=gregtatum
MozReview-Commit-ID: 9L9PYPDGTmj

--HG--
extra : rebase_source : f5acd734d04eb67b88ec594c969674a021c85903
2018-02-13 13:26:03 +00:00
J.C. Jones f3298c09e7 Bug 1434300 - Disable the b-c imminent distrust test r=keeler
The browser console test for imminent distrust relies upon certs inserted
into build/pgo/certs/cert8.db and key3.db [1], and seemed angry when adding new
certs with certutil bumping those to cert9 and key4 formats. Since time is
getting to be of-the-essence with Bug 1434300, I've filed Bug 1439378 to re-
enable this test post-landing.

[1] https://hg.mozilla.org/mozilla-central/rev/98b1272e170c

MozReview-Commit-ID: I4SIiqc5AqH

--HG--
extra : rebase_source : 6cac70e494c284314bf62d2e0c856a0d9a98831e
2018-02-21 14:08:24 -05:00
J. Ryan Stinnett 85d058ffcb Bug 1438962 - Add diagnostics during Browser Toolbox startup. r=bgrins
Track connection status at various points during Browser Toolbox startup.  If
connecting takes a long time or triggers an error, the status panel is revealed
with the most recent message displayed.

MozReview-Commit-ID: H8240rv3KRe

--HG--
extra : rebase_source : 7c2c10c710095ede7d1b9c1ac87ca21bd3deb969
2018-02-21 03:22:49 -05:00
J. Ryan Stinnett 2412ca6608 Bug 1438962 - Convert Browser Toolbox window to async / await. r=bgrins
MozReview-Commit-ID: 1hLUhmoYQ7u

--HG--
extra : rebase_source : 99d4356b1bf4d9f32d0d3d941a345ecf4f9f7820
2018-02-20 09:11:46 -05:00
Nicolas Chevobbe 6d26e58243 Bug 1436670 - Devtools Reps: update bundle to v0.20.0; r=nchevobbe.
MozReview-Commit-ID: 75lSnYTx0Ql

--HG--
extra : rebase_source : 3ac041dd55e06c5ab6d7c313a7b5d2b275d8fb09
2018-02-19 11:05:06 +01:00
Nicolas Chevobbe 9186c1aed2 Bug 1438463 - Fix click on location in browser console with new frontend; r=nchevobbe.
To fix this, we fallback to viewSource when we don't have access to the toolbox,
which is what was done in the old frontend.

MozReview-Commit-ID: JCcprTlViMi

--HG--
extra : rebase_source : ab13b539938a6572ebd9ceaedc23f954f4cb2be2
2018-02-16 09:14:02 +01:00
Nicolas Chevobbe 5dc6ad75e7 Bug 1435092 - Fix mocha tests broken due to changes to prefs; r=bgrins.
The mocha test are broken because we mock Services.pref,
and the assumptions we make in the mock are no longer valid.
Since we do have a fully functional replacement for Services
in devtools-modules, let's use it in our test.
Which means we need to introduce a mock for localStorage,
since it's what the devtools-modules Services uses, and helper
functions to replace what was in the Services mock.

MozReview-Commit-ID: KLHERfSa1Il

--HG--
extra : rebase_source : b1b5bc2d35624677fc241194ab1a49502cafe31d
2018-02-14 12:11:12 +01:00
Nicolas Chevobbe 2d3e2bd1c9 Bug 1435092 - Add a util object to manage preferences; r=bgrins.
This allow us to manage different sets of preferences for
the console and the browser console. The util object is
passed to the actions through a custom thunk middleware.

MozReview-Commit-ID: 6IQLBqX7KMN

--HG--
extra : rebase_source : 9dc60df24d0514c8bd0aac7655483eb3d026a16a
2018-02-13 17:35:32 +01:00
Cosmin Sabou 6e3859bfa5 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-02-19 00:00:43 +02:00
Masayuki Nakano cf83ee7bb4 Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug
Note that this patch also replaces legacy VK_* with KEY_*, and replaces
synthesizeKey() for inputting some characters with sendString() because
it's better and clearer what it does and it sets shiftKey state properly.

MozReview-Commit-ID: De4enbjux3T

--HG--
extra : rebase_source : 2296b84bff8e22f01eeb48cd8614fac5db11136a
2018-02-15 04:15:39 +09:00
Chris Peterson fe5cd3d5d9 Bug 1436263 - Part 3: Remove `virtual` from final virtual function declarations. r=froydnj
MozReview-Commit-ID: 8pjYjEvQF42

--HG--
extra : rebase_source : 5eb0bea2ef5f06a811b4f3daf57ce8720f12dd07
2018-02-08 21:22:43 -08:00
Chris Peterson 0129d900f3 Bug 1436263 - Part 2: Replace `override final` virtual function specifiers with just `final`. r=froydnj
MozReview-Commit-ID: 70gt5SUu4Dv

--HG--
extra : rebase_source : 71912c6bde22aaed01e70615a4ee794a36e70d0e
extra : source : 1c22d4c65d70b797ee3e963ec426c90e1f89b5e3
2018-02-05 22:50:00 -08:00
Chris Peterson d09123f248 Bug 1436263 - Part 1: Replace `final override` virtual function specifiers with just `final`. r=froydnj
MozReview-Commit-ID: DE5HkIhsZ6D

--HG--
extra : rebase_source : 94831c1e13a840dd2ea0600f64bcf70c2bf938d9
extra : source : cf9283bf1b0bca3a6311c98e227329d451f80ecb
2018-02-05 22:46:57 -08:00
Dorel Luca 07d2af4219 Merge mozilla-inbound to mozilla-central. a=merge 2018-02-17 11:55:38 +02:00
Gurzau Raul 3daf5ac131 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-17 00:13:16 +02:00
Jason Laster 8d97ab038d Bug 1436151 - Breakpoints at the beginning of a line are missed. r=jimb 2018-02-16 16:24:08 -05:00
J. Ryan Stinnett 9f3541ff3f Bug 1439000 - Remove *-actor suffix from inspector actors. r=jdescottes
MozReview-Commit-ID: 9iOMZjmm9LR

--HG--
rename : devtools/server/actors/inspector/inspector-actor.js => devtools/server/actors/inspector/inspector.js
rename : devtools/server/actors/inspector/node-actor.js => devtools/server/actors/inspector/node.js
rename : devtools/server/actors/inspector/walker-actor.js => devtools/server/actors/inspector/walker.js
extra : rebase_source : 60d989ae565130c6182fadeb641ea064181e57e0
2018-02-16 15:47:32 -06:00
Brendan Dahl 40c81820ad Bug 1418403 - Remove viewing source in a standalone window. r=jryans
Along with removing the view source standalone windows and prefs this patch:
1) Re-structures several of the view source tests that were only testing the old
standalone windows to now test view source in tab.
2) Adds support viewSourceUtils.viewSource() to open a browser window when there
aren't any open (for browser toolbox view source).
3) Cleans up some of the API for viewSourceUtils and removes the old deprecated
ways of calling it.

MozReview-Commit-ID: DI6sgZwbCf

--HG--
extra : rebase_source : 64677186122f74ab95912d5f3f173cf37472458a
2018-02-05 13:33:58 -08:00
Christoph Kerschbaumer 494f074b53 Bug 1432358: Allow certain top-level pages to be agnostic to CSP. r=smaug
--HG--
extra : source : 27527f95cccca4927d4fee56b0dab9af11c5733f
extra : intermediate-source : 2fa11c525da3d0c7ca58a593241c1902f2849528
2018-02-01 14:07:01 +01:00
Narcis Beleuzu ae89126f89 Bug 1438797 -Disable on Win_CCOV Perma devtools/client/debugger/new/test/mochitest/browser_dbg-babel.js | This test exceeded the timeout threshold. r=jmaher 2018-02-16 12:25:30 -05:00
Gabriel Luong 40a4aca24a Bug 1438002 - Add title tooltips to the inspector sidebar tabs. r=Honza 2018-02-16 10:32:26 -05:00
Narcis Beleuzu eeb962c7c9 Backed out changeset a8aa7e2af130 (bug 1436151) for xpcshell failures on /test_setBreakpoint-at-the-beginning-of-a-line.js. a=backout 2018-02-16 13:08:04 +02:00
Narcis Beleuzu 2d9816273c Merge inbound to mozilla-central. a=merge 2018-02-16 11:49:59 +02:00
Margareta Eliza Balazs 55aa0e75d6 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-15 22:43:18 +02:00
Margareta Eliza Balazs 54a8193a23 Backed out 3 changesets (bug 1429824) for frequently failing devtools/client/netmonitor/test/browser_net_autoscroll.js (bug 1438412) a=backout
Backed out changeset 500836846f62 (bug 1429824)
Backed out changeset e3d4ec2c18b5 (bug 1429824)
Backed out changeset cf796a41ff7d (bug 1429824)
2018-02-15 22:05:10 +02:00
Noemi Erli 656ee92d98 Merge inbound to mozilla-central. a=merge 2018-02-15 21:29:11 +02:00
Jason Laster 4af2f227c0 Bug 1438014 - Update Debugger Frontend v16. r=jdescottes
MozReview-Commit-ID: 6YntyDd1Eo0

--HG--
extra : rebase_source : dcf9f2d5602dcdd024c2ab02a6777377db605023
2018-02-15 15:36:31 +01:00
Cosmin Sabou a37e19d5a9 Bug 1429361 - Disabled devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_network_messages_expand.js for frequent failures. r=jmaher 2018-02-15 08:30:08 -05:00
Andreea Pavel 74b7ffee40 Merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : js/src/jscompartment.cpp => js/src/vm/JSCompartment.cpp
rename : js/src/jscompartment.h => js/src/vm/JSCompartment.h
rename : js/src/jsscript.cpp => js/src/vm/JSScript.cpp
rename : js/src/jsscript.h => js/src/vm/JSScript.h
extra : amend_source : 9c233cb959c45e401189d089a094f9d141d2b912
2018-02-15 12:24:21 +02:00
Yura Zenevich 7e286766a3 Bug 1428443 - allow panels to override picker functionality when they are active. r=pbro
MozReview-Commit-ID: 6VE4Y8FYfoN
2018-02-14 23:57:19 -05:00
Jan Odvarko 96233200ee Bug 1311171 - Implement the devtools.network.onRequestFinished API event; r=jdescottes,rpl
MozReview-Commit-ID: IymuzcUg0VN

--HG--
extra : rebase_source : 5c262babe60132c9a73acc7dadf3b38f30133ecc
2018-02-14 11:32:10 +01:00
Dorel Luca 011cfbabae Backed out changeset ab4aab822769 (bug 1426467) for Mochitest failure on dom/workers/test/test_suspend.html 2018-02-15 01:31:10 +02:00
Dorel Luca 75f385b6d6 Merge mozilla-centra to mozilla-inbound 2018-02-15 00:37:44 +02:00
Dorel Luca 4234703a53 Merge mozilla-inbound to mozilla-central a=merge 2018-02-15 00:23:02 +02:00
Gabriel Luong 5a130fd6b9 Bug 1438073 - String mixing plural and singular in markupView.display.contents.tooltiptext. r=pbro 2018-02-14 16:10:35 -05:00
Jason Laster e0e5ef83af Bug 1437055 - Re-enable some debugger mochitests. r=jdescottes
MozReview-Commit-ID: ClYmlicq8gy

--HG--
rename : devtools/client/debugger/new/test/mochitest/browser_dbg_keyboard_navigation.js => devtools/client/debugger/new/test/mochitest/browser_dbg-keyboard-navigation.js
rename : devtools/client/debugger/new/test/mochitest/browser_dbg_keyboard-shortcuts.js => devtools/client/debugger/new/test/mochitest/browser_dbg-keyboard-shortcuts.js
2018-02-14 21:28:26 +01:00
J. Ryan Stinnett 37ccb191b8 Bug 1434155 - Remove extra container around RDM browser. r=gl
We can now remove the extra `.browser-container` element around the frame.  It
was only here as a way to invoke React's `innerHTML` for real content.

MozReview-Commit-ID: 1wnv7SJmjTd

--HG--
extra : rebase_source : 12435e53d069d23adc22de4b1ba0259912ad6027
2018-02-13 15:29:53 -06:00
J. Ryan Stinnett 885b58468b Bug 1434155 - Create RDM viewport as iframe component. r=gl
Now that we have React 16 (which includes support for custom attributes instead
of a fixed whitelist), we can create the browser frame in the "usual" way, as
opposed to this `innerHTML` workaround.

MozReview-Commit-ID: GwZVNIqF1QC

--HG--
extra : rebase_source : eec7a2c54638420b1a7adc27f25e1f0237eaa30e
2018-02-13 15:07:48 -06:00
Gurzau Raul c550afcd80 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-14 12:49:32 +02:00
Michael Ratcliffe 7529efafe1 Bug 1437802 - Create selectNodeText(node) in new web console test head.js r=nchevobbe
MozReview-Commit-ID: LlgLPe2SMsO

--HG--
extra : rebase_source : be689869a627d03c05c78afc62af5473f670ae17
2018-02-13 12:07:24 +00:00
Brian Grinstead e766cfc4fa Bug 1436765 - Include global.css in browserconsole.xul to restore window border;r=Honza
MozReview-Commit-ID: U5LSimaEhO

--HG--
extra : rebase_source : 166327b09ea1a761c4cf81d3e58458f7879a92aa
2018-02-13 10:27:43 -08:00
Michael Ratcliffe a22ddebd79 Bug 1403454 - Migrate browser_webconsole_script_errordoc_urls.js to the new frontend r=jdescottes
MozReview-Commit-ID: 6BBCqrmRelw

--HG--
extra : rebase_source : 24259c7db492ed0a0ebbd100e6a21d5b29b6b2cb
2018-02-13 11:30:05 +00:00
Brian Birtles 22309e3203 Bug 1436659 - Use updatePlaybackRate in DevTools; r=daisuke
updatePlaybackRate provides a smoother update than setting playbackRate
directly.

MozReview-Commit-ID: 7AbJYuDADvg

--HG--
extra : rebase_source : cd9d23cec67ad9a1b523c8172f5d22eec9efbbaa
2018-02-13 15:04:18 +09:00
Jim Blandy 6f503001a3 Bug 1426467: Re-enqueue messages from workers when debugger pause ends; don't run them immediately. r=bkelly
MozReview-Commit-ID: 1Yyjqz5S6tZ
2018-01-18 11:49:34 -08:00
Noemi Erli 7699947685 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-13 11:52:53 +02:00
Noemi Erli d03ad8843e Merge inbound to mozilla-central. a=merge 2018-02-13 11:39:36 +02:00
Yura Zenevich 9b1e6a5275 Bug 1428432 - Fix for mochitest chrome failures at devtools/client/shared/components/test/mochitest/test_tree_12.html. CLOSED TREE
MozReview-Commit-ID: 6G9M7fWUA9i
2018-02-12 23:51:13 -05:00
Yura Zenevich b796f50892 Bug 1428431 - added accessible highlighter classes for content and chrome docs. r=pbro
MozReview-Commit-ID: JeBMoiCvENV
2018-02-12 22:33:37 -05:00
Yura Zenevich 7aa20a6274 Bug 1428432 - further improve keyboard accessibility for VirtualizedTree. r=nchevobbe
MozReview-Commit-ID: 8Es17Q5J87a
2018-02-12 22:33:20 -05:00
Yura Zenevich e11cef8501 Bug 1428432 - prevent unnecessary VirtualizedTree render when the client height does not change. r=nchevobbe
MozReview-Commit-ID: FErkeNwUuGF
2018-02-12 22:33:07 -05:00
Yura Zenevich 7386f0d4b9 Bug 1428436 - further improving TreeView accessibility. r=Honza
MozReview-Commit-ID: 8plUv815ErP
2018-02-12 22:32:53 -05:00
Yura Zenevich 6cd058b4cd Bug 1428442 - enabling tab highlighting for more than one tool at a time. r=gregtatum
MozReview-Commit-ID: 7iMABzVuOYG
2018-02-12 22:32:42 -05:00
J. Ryan Stinnett a17e3637e6 Bug 1430919 - Enable grid highlighter writing mode support. r=gl
As well as flipping the pref on, this also moves the pref to the common all.js
prefs file because the pref is used by DevTools server code.

MozReview-Commit-ID: GfkLfXg1EiR

--HG--
extra : rebase_source : 952dcc4bce3f9f2ae598a98be3b63a70ba4068b2
2018-02-12 12:49:22 -06:00
Ciure Andrei 72080bd73c Merge inbound to mozilla-central. a=merge 2018-02-13 00:08:37 +02:00
Tom Ritter c4edd2fe5c Bug 1435296 Address xpcshell test failures from increasing timer precision r=baku
See the comment on "Address test failures caused by bumping timer precision to 2 ms"
for more details.

MozReview-Commit-ID: LrsucEPdZIo

--HG--
extra : rebase_source : 8147c034f7dc93f678eebc80b0afabf55729d804
2018-02-12 11:41:38 -06:00
Julian Descottes 0e767ece17 Bug 1403196 - rename and enable browser_webconsole_object_inspector_key_sorting.js;r=bgrins
MozReview-Commit-ID: DfjO8aQqnsD

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_variables_view_dont_sort_non_sortable_classes_properties.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_object_inspector_key_sorting.js
extra : rebase_source : 75f3fba6f97207626eb39ba03cbf69c407c82147
2018-02-12 13:47:34 +01:00
Tom Ritter 8f07acf367 Bug 1435296 Clean 0ms durations in stub generation r=nchevobbe
If the duration was 0ms, it would not be cleaned; and thus lead to a mismatch and
ultimately test failure.

MozReview-Commit-ID: 1s9nMzlGT0e

--HG--
extra : rebase_source : 6c5dfe6dcc4fcf767d5b47878f09f3d1089d8dd2
2018-02-09 19:31:52 -06:00
Julian Descottes 4f4f2b02cd Bug 1403205 - rename and enable browser_webconsole_object_inspector_while_debugging_and_inspecting.js;r=bgrins
MozReview-Commit-ID: 571TaV6KZzl

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_variables_view_while_debugging_and_inspecting.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_object_inspector_while_debugging_and_inspecting.js
extra : rebase_source : b2535c48ace6ee73610d75bc88d098d61337dea7
2018-02-09 21:32:34 +01:00
Julian Descottes aaf4c1e607 Bug 1403200 - remove browser_webconsole_variables_view_while_debugging.js;r=bgrins
This test is an exact duplicate of browser_webconsole_variables_view_while_debugging_and_inspecting.js
except it doesn't start the inspector before performing the test.
I don't think it's worth keeping and maintaining both tests.

MozReview-Commit-ID: 7EcdVmJjAfu

--HG--
extra : rebase_source : 3204d7c3f6c930330d3cb4d65f7b1dacac594dba
2018-02-09 21:37:45 +01:00
Tom Ritter aa82f54ab6 Bug 1435296 Address test failures caused by bumping timer precision to 2 ms r=baku
There are a few different reasons why tests needed updating (not an exhaustive list):

- Tests assume that successive operations take place at different times.
- Tests assume that an operation took a minimum amount of time.
- Tests hardcodes a specific delay.

In most cases we hardcode the preference off. In some cases this is the best approach,
in others, we would like to improve. The bug for tracking those improvements is Bug 1429648

An improvement that is present in some tests is to hardcode a specific precision reduction
that is acceptable based on the confides of the test. (Obviously this needs to be a fix for
the test framework and not a requirement on the feature being tested.)

In a few places, the test itself can be fixed, for example to no longer require the end
time of an operation to be strictly greater than the start time, and allows it to be equal
to it.

MozReview-Commit-ID: J59c7xQtZZJ

--HG--
extra : rebase_source : df8a03e76eaf9cdc9524dbb3eb9035af237e534b
2018-02-12 11:39:41 -06:00
Sebastian Hengst a6cab8c4e8 Backed out 4 changesets (bug 1432358) for failing xpcshell's test_ext_contentscript_triggeringPrincipal.js
Backed out changeset ef7b8eef07c1 (bug 1432358)
Backed out changeset 2fa11c525da3 (bug 1432358)
Backed out changeset a67e95bd0ccf (bug 1432358)
Backed out changeset 91c948c94506 (bug 1432358)
2018-02-12 19:58:28 +02:00
Coroiu Cristina 0038490a71 Backed out changeset 42deb2563aa8 (bug 1426467) for ESlint failure at /devtools/server/tests/mochitest/suspendTimeouts_content.js on a CLOSED TREE 2018-02-12 18:14:49 +02:00
Jim Blandy d4700814c9 Bug 1426467: Re-enqueue messages from workers when debugger pause ends; don't run them immediately. r=bkelly
MozReview-Commit-ID: 1Yyjqz5S6tZ

--HG--
extra : rebase_source : 4f54bd6a6a3385ba4e424ac5ffe4354db4592b45
2018-01-18 11:49:34 -08:00
Christoph Kerschbaumer 8c6aa97797 Bug 1432358: Allow certain top-level pages to be agnostic to CSP. r=smaug
--HG--
extra : source : 27527f95cccca4927d4fee56b0dab9af11c5733f
2018-02-01 14:07:01 +01:00
Zhenghong Qian 3b10fc3980 Bug 1432029 - Highlight the justify-content area in the flexbox highlighter. r=gl 2018-02-10 17:51:43 -05:00
Michael Ratcliffe 91fec06628 Bug 1405650 - Migrate browser_webconsole_trackingprotection_errors.js to the new frontend r=jdescottes
MozReview-Commit-ID: 2Et1H6ynnEL

--HG--
extra : rebase_source : 4556b4ea74a7ca1c323243a6a91fc5f202512bf8
2018-02-09 17:27:01 +00:00
Sebastian Hengst f5e840425b merge mozilla-inbound to mozilla-central. a=merge 2018-02-10 00:26:50 +02:00
Boris Zbarsky 55a170b415 Bug 1436508 part 15. Remove nsIDOMTransitionEvent. r=masayuki
MozReview-Commit-ID: EWWqk9HAwqp
2018-02-09 11:17:10 -05:00
Boris Zbarsky fce30e834b Bug 1436508 part 10. Remove use of nsIDOMKeyEvent in JS. r=masayuki
MozReview-Commit-ID: GGciORX62Yh
2018-02-09 11:17:09 -05:00
Boris Zbarsky 05de0574d2 Bug 1436508 part 1. Remove nsIDOMAnimationEvent. r=masayuki
MozReview-Commit-ID: GRZzt1xGGDc
2018-02-09 11:17:08 -05:00
Jason Laster 804b64fa9d Bug 1436893 - Update Debugger Frontend v15. r=jdescottes
MozReview-Commit-ID: Ak2U6WTntOi
2018-02-09 15:48:51 +01:00
Csoregi Natalia fca056426a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-09 18:54:37 +02:00
Csoregi Natalia 7ed2a637dc Merge inbound to mozilla-central. a=merge 2018-02-09 18:52:22 +02:00
Michael Ratcliffe 05207f075a Bug 1416824 - Patch 4: Use react-test-renderer-shallow r=nchevobbe
MozReview-Commit-ID: GSaozwuAhVE

--HG--
extra : rebase_source : fc73fb4014b7b8b75a6ddddd7ddd45fe3b5bb5ab
2018-02-09 11:12:50 +00:00
Mike Ratcliffe 8be94a27b9 Bug 1416824 - Patch 3: React Upgrade Documentation r=nchevobbe
MozReview-Commit-ID: 2xbn0qTVTSC

--HG--
extra : rebase_source : 18e22b2ab5362c435848b77c4fed82c4ccfd8d1c
2018-02-07 16:34:35 +00:00
Mike Ratcliffe 9a9400e19c Bug 1416824 - Patch 2: React 16 Vendor Files r=nchevobbe
MozReview-Commit-ID: CLZTmy0irqG

--HG--
extra : rebase_source : 76c9268e7f2dc88b0873a4a639bc731e563aa50c
2018-02-07 16:33:43 +00:00
Mike Ratcliffe dd3348993e Bug 1416824 - Patch 1: React 16 Require statements and paths r=nchevobbe
MozReview-Commit-ID: 7BDgpYfLZLH

--HG--
extra : rebase_source : 664f6cc8a95fdf15cfb64f7cdfc18feec2f53339
2018-02-07 16:31:57 +00:00
Julian Descottes a4e2f783c1 Bug 1406022 - remove browser_webconsole_reflow.js;r=nchevobbe
MozReview-Commit-ID: GO2jdUugR58

--HG--
extra : rebase_source : 2c36a08c2c1b910a2849dce7634200d87dcc8bf8
2018-02-09 13:28:11 +01:00
Csoregi Natalia 7f21ecd2bf Backed out 4 changesets (bug 1435296) for for failing devtools' browser_webconsole_check_stubs_console_api.js and mochitest's dom/smil/test/test_smilTimeEvents.xhtml. CLOSED TREE
Backed out changeset 1f07c08daa41 (bug 1435296)
Backed out changeset 89c121b45b30 (bug 1435296)
Backed out changeset be9496eff7b8 (bug 1435296)
Backed out changeset 2f94f155318e (bug 1435296)
2018-02-09 17:20:53 +02:00
Tom Ritter fa5021da77 Bug 1435296 Address test failures caused by bumping timer precision to 2 ms r=baku
This affects several tests, and in all but one case merely disables timer precision
reduction on those tests.

In the other singular test, it no longer requires the end time of an operation to
be strictly greater than the start time, and allows it to be equal to it.

MozReview-Commit-ID: J59c7xQtZZJ

--HG--
extra : rebase_source : c82310ce0269798a9c5bfffaec1f63a24ddc98e5
2018-02-06 15:11:56 -06:00
Julian Descottes 21e2cc5783 Bug 1404886 - remove browser_webconsole_mixedcontent;r=nchevobbe
All the content from this test is already covered in
- browser_webconsole_allow_mixedcontent_securityerrors.js
- browser_webconsole_filters.js

MozReview-Commit-ID: LUVDI6DmJiB

--HG--
extra : rebase_source : 56e20155dd1569259cc1b40fc38a894de1e0c146
2018-02-08 18:55:28 +01:00
Nicolas Chevobbe 0844d2267b Bug 1404364 - Enable browser_webconsole_output_copy.js in new console frontend; r=jdescottes.
The part on the copy context menu was removed since we have a dedicated test
for that.
We also delete browser_webconsole_jsterm_copy.js which was doing the same thing.

MozReview-Commit-ID: BGPkeHWb2bL

--HG--
extra : rebase_source : 10fba3160c84af68f65f4bd3059f4b877f2d6051
2018-02-08 09:03:24 +01:00
Nicolas Chevobbe 836ef00597 Bug 1435090 - Hide the persist logs checkbox on the browser console; r=Honza.
MozReview-Commit-ID: 1fT5YtyRRaT

--HG--
extra : rebase_source : fadfded4c1f7f20e8df1da408b7d83d0bddb790b
2018-02-08 15:33:47 +01:00
Nicolas Chevobbe 46f692cb58 Bug 1435090 - Allow to pass a hidePersistLogsCheckbox prop to the FilterBar; r=Honza.
This will allow us to hide the input for the browser console.

MozReview-Commit-ID: AOltH7HakQE

--HG--
extra : rebase_source : 6f5f278ea69af479c8e1eda87f939ac30a8d6ae7
2018-02-08 15:15:00 +01:00
Jeff Walden e904db9d68 Bug 1434429 - Use the current offset, not the offset of the start of the current token, when reporting errors for unterminated string/template literals. r=till 2018-01-18 11:34:26 -08:00
Jeff Walden 930d1cfb40 Bug 1436150 - Make debugger-controller.js properly handle watch expressions, containing syntax errors, where the error message for the syntax error contains U+0022 QUOTATION MARK within it. r=jimb
--HG--
extra : rebase_source : 451bbcb16d7d9c77e7121faa241985c27ab6d1c3
2018-02-06 02:08:55 -08:00
Julian Descottes 45fa41101e Bug 1405649 - enable browser_webconsole_split_persist.js;r=Honza
MozReview-Commit-ID: IISiwUya2x8

--HG--
extra : rebase_source : 32e8c7808ccdc8730dc11729804bb6c03610e0eb
2018-02-09 19:40:59 +01:00
Julian Descottes 43c0e86421 Bug 1405648 - enable browser_webconsole_split_focus.js;r=Honza
MozReview-Commit-ID: 6SLfByzAsFF

--HG--
extra : rebase_source : bf9d34dca74a5b7e843e5d0d4a28115f8b7232e0
2018-02-09 18:15:54 +01:00
Julian Descottes 68dda714a2 Bug 1405647 - enable browser_webconsole_split_escape_key.js;r=Honza
MozReview-Commit-ID: 2p5VNzKhwo2

--HG--
extra : rebase_source : 7f531efefe144c263fd3cdb32328ca291074e98b
2018-02-09 17:49:19 +01:00
Julian Descottes d089325c36 Bug 1405245 - enable test-csp-violation.html for new webconsole;r=nchevobbe
MozReview-Commit-ID: IgONHkE3Pjk

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_violation.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_csp_violation.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug_1247459_violation.html => devtools/client/webconsole/new-console-output/test/mochitest/test-csp-violation.html
extra : rebase_source : fdb0cd8892eabe1b030b54ffc662912c143f2820
2018-02-05 11:49:37 +01:00
Julian Descottes 3429eb9b3f Bug 1405245 - webconsole PageError component read repeat from props;r=nchevobbe
MozReview-Commit-ID: C3Vs4Uv6gGv

--HG--
extra : rebase_source : 0950ad7770f944fceb10ec89dd9d4a765fe3e9b6
2018-02-05 11:49:03 +01:00
Andreea Pavel 2a7b1dfa56 Merge mozilla-central to autoland. on a CLOSED TREE 2018-02-15 12:34:12 +02:00
Daisuke Akatsuka 73e88fa686 Bug 1416106 - Part 13: Remove extra margin-bottom. r=gl
MozReview-Commit-ID: 4NjZ9HKegX1

--HG--
extra : rebase_source : 428734890d2888d36977a69f5374d57ca68f6147
2018-02-15 13:29:21 +09:00
Daisuke Akatsuka 801fcb9c81 Bug 1416106 - Part 12: Add tests. r=gl
MozReview-Commit-ID: 6kYdxqwPeKF

--HG--
extra : rebase_source : 022a46c49055db9526d7a534a4df787fac0bdc95
2018-02-15 13:29:12 +09:00
Daisuke Akatsuka e5b9e892d6 Bug 1416106 - Part 11: Implement keyframe markers. r=gl
MozReview-Commit-ID: 2hN43aFN9Da

--HG--
extra : rebase_source : aaddd45ff99080a4b76279ef4b453adcc709a5cb
2018-02-14 23:18:13 +09:00
Daisuke Akatsuka 4123eb227b Bug 1416106 - Part 10: Implement easing hit. r=gl
MozReview-Commit-ID: 5d6f1dysdxm

--HG--
extra : rebase_source : 85910c64ad2976f22cad4a7340abc46f97216b12
2018-02-14 23:18:13 +09:00
Daisuke Akatsuka 94a0a128f3 Bug 1416106 - Part 9: Set styles to graph. r=gl
MozReview-Commit-ID: J44bKeKxdZN

--HG--
extra : rebase_source : 43496aeb14390ca287e08bd36c529cd5f278f12a
2018-02-14 23:18:13 +09:00
Daisuke Akatsuka 6e804a1d94 Bug 1416106 - Part 8: Implement discrete graph. r=gl
MozReview-Commit-ID: HxPLpQTQTiS

--HG--
extra : rebase_source : f2fd21742949a8320220c2936c2e5c325765ba67
2018-02-14 23:18:13 +09:00
Daisuke Akatsuka 77faaa1357 Bug 1416106 - Part 7: Implement color graph. r=gl
MozReview-Commit-ID: 4ek6LXtsmKc

--HG--
extra : rebase_source : 07d9957c5e93712f40c0229049b743222e7579e3
2018-02-14 23:18:12 +09:00
Daisuke Akatsuka be29184c93 Bug 1416106 - Part 6: Implement distance graph. r=gl
MozReview-Commit-ID: Hlws41Ex7jj

--HG--
extra : rebase_source : ff5b231221f77e1420ca36e614e0f4d3a27dbb39
2018-02-14 23:18:12 +09:00
Daisuke Akatsuka edbc0728ab Bug 1416106 - Part 5: Implement base of keyframes graph. r=gl
MozReview-Commit-ID: FpTZvREM35Y

--HG--
extra : rebase_source : 609e91a8f17d802934bc68a60dffd8ab32501136
2018-02-14 23:18:12 +09:00
Daisuke Akatsuka 31055d414c Bug 1416106 - Part 4: Add test for property name component. r=gl
MozReview-Commit-ID: En70sbOhcsr

--HG--
extra : rebase_source : 824eaf1329e48804e800d15632b9d61a8a2b8cb7
2018-02-14 23:18:12 +09:00
Daisuke Akatsuka 3adb8190da Bug 1416106 - Part 3: Implement compositor warning. r=gl
MozReview-Commit-ID: 18qQ1FydML4

--HG--
extra : rebase_source : 623637aaec06857f1f225f1fdfd28e062f08300b
2018-02-14 23:18:11 +09:00
Daisuke Akatsuka 050f7a0ef2 Bug 1416106 - Part 2: Implement compositor sign to property name. r=gl
MozReview-Commit-ID: v7c6rt6vpl

--HG--
extra : rebase_source : aba556b403270b71b33b2401b3d8de5f7806e141
2018-02-14 23:18:11 +09:00
Daisuke Akatsuka 5c3e21020f Bug 1416106 - Part 1: Implement base of property name. r=gl
MozReview-Commit-ID: GSPIZG31RhB

--HG--
extra : rebase_source : a8a6e6535fcda771eb0fdf249b08194bc5c430cb
2018-02-14 23:18:11 +09:00
Jan Odvarko 0cbe3f285a Bug 1429803 - Fix test; r=ochameau
MozReview-Commit-ID: 5O2N7xsMzyh

--HG--
extra : rebase_source : 87e34e4bb8cd74dec847b06adc5edae744854bb1
2018-02-14 18:41:36 +01:00
Jan Odvarko 237db8d1b6 Bug 1429803 - Properly populate response header columns; r=rickychien
MozReview-Commit-ID: 3FS6QtUS8yB

--HG--
extra : rebase_source : 17f27d2768d077564efbd092dfe3dce046fc28cb
2018-01-18 14:55:58 +01:00
ewhite7 7166c3c714 Bug 1393609 - Add a test for line-height in console.log custom style; r=nchevobbe.
MozReview-Commit-ID: BD2fjv6u4b2

--HG--
extra : rebase_source : 8943437bc2756334000ad7fe162dd8bdeeb6c72e
2018-01-05 21:33:53 -05:00
Nicolas Chevobbe da3e572a83 Bug 1405352 - Split browser_webconsole_jsterm.js in multiple tests; r=Honza.
The test was doing a lot of things and was hard to follow.
Here we split it so we can have dedicated tests for each helpers.

MozReview-Commit-ID: 6YGR3aq6jYn

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_document_no_xray.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_error_docs.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_error_outside_valid_range.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_helper_dollar.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_helper_dollar_dollar.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_helper_dollar_x.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_helper_help.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_helper_keys_values.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_helper_pprint.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_instance_of.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_null_undefined.js
extra : rebase_source : dafa772bcbc6b379fd6ec1137c07ba24e794fc71
2018-01-24 11:34:30 +01:00
Nicolas Chevobbe eec262a2d8 Bug 1307899 - Remove renderComponent and switch consumers to using Enzyme instead; r=bgrins.
MozReview-Commit-ID: D88nlKJOSjk

--HG--
extra : rebase_source : df1287c1f012592d92579ac6397bd85a0e527b76
2018-02-08 16:43:50 +01:00
Mark Banner 21e6e270a4 Bug 1438489 - Enable ESLint rule mozilla/use-services for devtools/. r=jdescottes
MozReview-Commit-ID: FZscEA6Q3Kb

--HG--
extra : rebase_source : b1b8699288a3595e52bcff3c7684bfe095f41dd1
2018-02-15 12:00:17 +00:00
sole a7c710f1f8 Bug 1404877 - Migrate browser_webconsole_bug_658368_time_methods.js to the new frontend. r=nchevobbe
MozReview-Commit-ID: 3Z6097zECDn

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-658368-time-methods.html => devtools/client/webconsole/new-console-output/test/mochitest/test-time-methods.html
extra : rebase_source : 5ad9c572ac391bafdc01605801cfb6928f5d87ef
2018-02-16 14:25:09 +00:00
Nicolas Chevobbe 95ed6cf8b9 Bug 1438476 - Fix launchpad configuration for console and netmonitor; r=jdescottes.
Since we don't run babel on the mocha tests anymore, we don't need to have a dedicated
env config in babelrc.
Also, bump min node version in both netmonitor and webconsole since we require async/await
to be supported.
Remove the "devDependencies" from netmonitor as we don't really have any use of it.

MozReview-Commit-ID: Ep4u59TZHAf

--HG--
extra : rebase_source : f3b184c83b063fdf1758b2ed4ecf57dd1b16641d
2018-02-16 14:59:51 +01:00
Nicolas Chevobbe 102570114c Bug 1438476 - Fix mocha tests broken due to React 16 update; r=ochameau.
MozReview-Commit-ID: 9v2sWMSA7pG

--HG--
extra : rebase_source : ace2d358cbcacd18e9eacdd6971cdf51975f118c
2018-02-15 12:27:52 +01:00
Nicolas Chevobbe 7a42afbdc7 Bug 1438476 - Fix and document webconsole test's package.json; r=jdescottes.
There was a few things wrong with new-console-output/test/package.json:
 - It had a dependency on the netmonitor folder, which means that we were
   pulling all the dependencies from netmonitor's package.json, including
   the launchpad, which we don't want. It was done so netmonitor's babelrc
   would find the plugins it needed. This is now fixed by not using babel at all.
   Removing babel allowed us to get rid of NODE_PATH hack which could have been
   harmful. This was doable by modifying the require-hacker callback to rewrite
   all mozilla-central require to absolute path.
 - The complex `test` script command wasn't documented. We now use the "//"
   key to add comments (we have to since we're in a json file), which is ignored
   by npm.
 - We were running some tests from the node_modules folder since our glob
   wasn't restrictive. We now only target folders where we do have mocha tests.
 - As a consequence, we were pulling dependencies that were needed for those
   tests, but not for ours.
 - The Enzyme configuration was done before declaring the require hook, which
   again forced us to pull dependencies that we don't need.

MozReview-Commit-ID: K7NXersnis8

--HG--
extra : rebase_source : 617b67921dd3bddaadc04b0901ece63581b98097
2018-02-16 08:34:53 +01:00
Sebastian Hengst 9ccfb5a21c Bug 792808 - switch to webidl XHR: add missing comma detected by eslint. r=eslint-fix on a CLOSED TREE 2018-02-16 17:19:20 +02:00
Jason Laster 2e8b477080 Bug 1436151 - Breakpoints at the beginning of a line are missed. r=jimb
--HG--
extra : rebase_source : 247b33c30e746b81edc78a8e3bdcb99ae97f598e
2018-02-14 12:02:00 +02:00
Nick Fitzgerald 6f0275ce7d Bug 1438040 - Remove unused PromiseDebugging builtin devtools module; r=jimb
--HG--
extra : rebase_source : e8712ce666e0b855a0d3f7a024a703e350cf357b
2018-02-14 09:23:00 +02:00
Dorel Luca dabf7b41ee Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : amend_source : 021950f3661e3b1d96e768155c5754b7af039f84
2018-02-15 00:35:45 +02:00
arthur.iakab 4139c1f914 Backed out 14 changesets (bug 1436659) for Eslint failures on devtools/server/actors/animation.js:876:12 on a CLOSED TREE
Backed out changeset a2890507d13a (bug 1436659)
Backed out changeset c653d7a1b3ef (bug 1436659)
Backed out changeset 4ae911f19aee (bug 1436659)
Backed out changeset e9381081ab6a (bug 1436659)
Backed out changeset 7301bfeeb65c (bug 1436659)
Backed out changeset 607dccfa8387 (bug 1436659)
Backed out changeset 8f61bf3de90a (bug 1436659)
Backed out changeset 920aa51ae3a2 (bug 1436659)
Backed out changeset bfa0d1a4bf1c (bug 1436659)
Backed out changeset 467dd218d3d3 (bug 1436659)
Backed out changeset 737ff1676ff0 (bug 1436659)
Backed out changeset 071666b6c7e9 (bug 1436659)
Backed out changeset c2932cd4839f (bug 1436659)
Backed out changeset a9777027b7ad (bug 1436659)

--HG--
rename : testing/web-platform/tests/web-animations/timing-model/animations/setting-the-playback-rate-of-an-animation.html => testing/web-platform/tests/web-animations/interfaces/Animation/playbackRate.html
rename : testing/web-platform/tests/web-animations/timing-model/animations/the-current-time-of-an-animation.html => testing/web-platform/tests/web-animations/timing-model/animations/current-time.html
rename : testing/web-platform/tests/web-animations/timing-model/animations/setting-the-start-time-of-an-animation.html => testing/web-platform/tests/web-animations/timing-model/animations/set-the-animation-start-time.html
rename : testing/web-platform/tests/web-animations/timing-model/animations/setting-the-target-effect-of-an-animation.html => testing/web-platform/tests/web-animations/timing-model/animations/set-the-target-effect-of-an-animation.html
rename : testing/web-platform/tests/web-animations/timing-model/animations/setting-the-timeline-of-an-animation.html => testing/web-platform/tests/web-animations/timing-model/animations/set-the-timeline-of-an-animation.html
2018-02-14 22:40:07 +02:00
Razvan Caliman 9ba28cabad Bug 1435368 - Implement precision when rounding polygon coordinates on Shapes editor. r=gl,pbro
--HG--
extra : rebase_source : 6103596ed117bb34c97aa6e0713deff56ae7342b
2018-02-06 11:35:55 -05:00
Nicolas Chevobbe 2b3f80a3b5 Bug 1403450 - Add test cases from browser_webconsole_repeated_messages_accuracy.js to mocha; r=jdescottes.
This test had some cases that weren't covered in our mocha tests,
so we add them. In order to do that, we added a stub.
We remove the mochitest and its support file.
Since the support file was used by another test, we modify it to
add the part that was used.

MozReview-Commit-ID: AL4qWcWHQiA

--HG--
extra : rebase_source : 632e10a25c724044979d2ef4a02648e95ff88bbb
2018-02-13 07:57:24 +01:00
Alexandre Poirot 8a23ea3661 Bug 1429824 - Try to prevent races in browser_net_autoscroll.js. r=Honza
MozReview-Commit-ID: 8xkCmd2TFhM

--HG--
extra : rebase_source : a6f6b6881265cd7592cb2ed0acfa342e944cb7b3
2018-02-09 02:39:45 -08:00
Alexandre Poirot 8416e403a2 Bug 1429824 - Always use a valid transformation against the waterwall. r=Honza
MozReview-Commit-ID: 2i697zR4FbM

--HG--
extra : rebase_source : 58bb3242981850929fa617da276566f583d2b755
2018-02-08 07:55:14 -08:00
Alexandre Poirot 068045ff30 Bug 1429824 - Prevent reflows related to scroll to bottom feature. r=Honza
MozReview-Commit-ID: Hnr5tIvTeUv

--HG--
extra : rebase_source : 1f5bd1b7f8d5e3d0e7545c26dbb64534b2f722ef
2018-01-11 07:05:20 -08:00
Jan Odvarko d433394917 Bug 1435048 - Wait for async UI update; r=ochameau
MozReview-Commit-ID: Co3WyAIzOLg

--HG--
extra : rebase_source : f162c0bce3bb0fe92bd3044036b7888bed799887
2018-02-09 17:29:30 +01:00
Nicolas Chevobbe 1f4acf1a37 Bug 1436690 - Fix mocha tests due to React and Enzyme updates; r=bgrins.
MozReview-Commit-ID: JDyr9WNnEwU

--HG--
extra : rebase_source : 865a59b3dfbc6f8ec59a1bd7dfcd3683a0b3a8b7
2018-02-12 16:17:45 +01:00
Nicolas Chevobbe a933f2d348 Bug 1436690 - Fix React 16 warning in NetworkMessage component; r=bgrins.
In this component we had an <a> element as a child of another <a> element,
which isn't valid. Furthermore, we didn't make use of this <a>, so switching
to a span brings us validity without any drawbacks.

MozReview-Commit-ID: 3EM8jkEtSKI

--HG--
extra : rebase_source : 9b585b7a0dfb251b80d7712ed8dd18169a474199
2018-02-12 16:17:00 +01:00
Nicolas Chevobbe 338ae4c4cc Bug 1436690 - Remove unecessary amd load for Reps in GripMessageBody; r=bgrins.
This is simply not needed anymore.

MozReview-Commit-ID: LcWlc05qX5k

--HG--
extra : rebase_source : e885564f81c9396ef12205dfdd10d09a7f5e13bc
2018-02-12 16:15:15 +01:00
Nicolas Chevobbe 21bfdaef07 Bug 1436690 - Switch react (et al.) to version 16.2, and update dependencies; r=bgrins.
Since React 16 landed in the toolbox, we should have it as well in the launchpad and in tests.
This forced us to do some changes:
 - Remove the Perf util hook in local-dev
 - Update Enzyme to version 3
 - Add an enzyme adapter for React.
 - Add react-prop-types dependency

The require-helper file is renamed into mocha-test-setup since it takes care of many things now.

MozReview-Commit-ID: 2tDRjrjc4Dh

--HG--
rename : devtools/client/webconsole/new-console-output/test/require-helper.js => devtools/client/webconsole/new-console-output/test/mocha-test-setup.js
extra : rebase_source : b46d2da643735c4f07238606f7c78c897fe13626
2018-02-12 16:13:59 +01:00
Nicolas Chevobbe c4aebfce0b Bug 1436690 - Add a webconsole tests dedicated package.json file; r=bgrins.
This will free the tests of the devtools-launchpad dependency so we
have a more robust workflow. Also, this will facilitate running those
tests on CI.

MozReview-Commit-ID: JkF89YBxlO4

--HG--
rename : devtools/client/webconsole/package.json => devtools/client/webconsole/new-console-output/test/package.json
extra : rebase_source : 337c06ee4c0892bbc2fdbd750582ffb360a1f3e3
2018-02-12 16:11:55 +01:00
Brian Birtles e923bbfcff Bug 1436659 - Use updatePlaybackRate in DevTools; r=daisuke
updatePlaybackRate provides a smoother update than setting playbackRate
directly.

MozReview-Commit-ID: 7AbJYuDADvg

--HG--
extra : rebase_source : 94125d751e73f82ecb973738d26f547405518d8b
2018-02-13 15:04:18 +09:00
Alexandre Poirot 793ced87e6 Bug 1436978 - Stop using Promise.jsm in devtools/server in favor of DOM Promises. r=jdescottes
MozReview-Commit-ID: Hv7uYZKZGIO

--HG--
extra : rebase_source : 95455a3c13b608d96f9a1f3c4a3071c04c7480f8
2018-02-13 02:31:14 -08:00
Michael Ratcliffe 9eed559d45 Bug 1404844 - Migrate browser_webconsole_bug_623749_ctrl_a_select_all_winnt.js to the new frontend r=jdescottes
MozReview-Commit-ID: 6GbekLySWc9

--HG--
rename : devtools/client/webconsole/test/browser_webconsole_bug_623749_ctrl_a_select_all_winnt.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_ctrl_a_select_all.js
extra : rebase_source : 4b0f0899a127e939b44963a577fd39c856f6b423
2018-02-12 15:59:46 +00:00
Nicolas Chevobbe ec298c820e Bug 1436110 - Add pageError and evaluationResult tests for thrown strings; r=bgrins.
MozReview-Commit-ID: E1HVY5fPwzV

--HG--
extra : rebase_source : ac9bed946c47f6afcdbe085de82530a9edfd52e6
2018-02-06 19:18:30 +01:00
Nicolas Chevobbe cfb37562f8 Bug 1436110 - Fix stub generation and update existing stubs; r=bgrins.
MozReview-Commit-ID: KSzHxX3WNsz

--HG--
extra : rebase_source : 2eb0fc46eb2b44acb9c1d3794f38d89e4628cb75
2018-02-07 09:43:24 +01:00
Nicolas Chevobbe d9a179c704 Bug 1436110 - Fix rendering of thrown string in evaluation results; r=bgrins.
If the user tried to evaluate `throw ""`, an "undefined" message was displayed
in the console output, which is wrong. Some changes needed to be made to the
messages util to better handle those cases.

MozReview-Commit-ID: Is5pJYB2N48

--HG--
extra : rebase_source : 90a95af6bf7f5046e652b02263ae118fc4156693
2018-02-07 09:42:13 +01:00
Michael Ratcliffe 41a0fa43ae Bug 1404359 - Migrate browser_webconsole_bug_586388_select_all.js to the new frontend r=jdescottes
MozReview-Commit-ID: 38FpS7RaSky

--HG--
extra : rebase_source : 20f3dab606b15b1b8f841f585201f6ca721c88b2
2018-02-12 22:55:51 +00:00
Tiberius Oros 3e0407d30b Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-09 12:14:43 +02:00
Gabriel Luong 9f8c11489e Bug 1432599 - Part 2: Display the current flex container element in the flexbox panel and allow for toggling of the flexbox highlighter. r=pbro 2018-02-07 15:57:46 -05:00
Cosmin Sabou 2400be0754 Merge inbound to mozilla-central. a=merge 2018-02-09 02:29:56 +02:00
Narcis Beleuzu d299fdd9b4 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-08 21:36:33 +02:00
Geoff Brown 96b11899f4 Bug 1373558 - disable browser_net_statistics-01.js for intermittent failures r=gbrown 2018-02-08 11:48:54 -07:00
Jan Odvarko 268655eacf Bug 1435048 - Wait for timeline markers; r=ochameau
MozReview-Commit-ID: 3VajbmirQEX

--HG--
extra : rebase_source : 0350dc6276daf5f7a3a05a990b25993a13f4f0c0
2018-02-08 14:10:31 +01:00
shindli 0fcb667b73 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-08 12:13:08 +02:00
shindli a5abf843f8 Merge inbound to mozilla-central. a=merge 2018-02-08 12:04:26 +02:00
Patrick Brosset 40fbce0fbf Bug 1436343 - Simplified the font inspector's CSS; r=gl
MozReview-Commit-ID: CcvkW8NGh9L

--HG--
extra : rebase_source : f8f2c4623c7503af9e8929ee81ed9106390ec897
2018-02-07 23:07:19 +01:00
Nicolas Chevobbe 4cb730f168 Bug 1434218 - Add a README.md file for the console; r=bgrins.
The README file provides information about the WebConsole, its architecture,
how to run it, how to run tests, …
The README file in new-console-output/test is updated.

MozReview-Commit-ID: LofromidTWl

--HG--
extra : rebase_source : 10c34941ded3d5f778be1f385f67ce3537487555
2018-02-06 11:58:53 +01:00
Ciure Andrei 8dd2a49ca4 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-08 00:33:37 +02:00
Ciure Andrei ddcf44b20a Backed out changeset a4ae1745e9d4 (bug 1432599) for mochitest devtools failures, a=backout on a CLOSED TREE 2018-02-08 00:24:44 +02:00
Ciure Andrei cda04ea11e Merge inbound to mozilla-central. a=merge 2018-02-08 00:05:57 +02:00
Jason Laster 605269a01f Bug 1436210 - Update Debugger Frontend v14. r=jdescottes.
MozReview-Commit-ID: 7hHRQLx5DaZ

--HG--
extra : rebase_source : 7984fae7323c975b3d5586af5c988cf94f47057c
2018-02-07 18:04:07 +01:00
Dorel Luca a539f8f7fe Merge mozilla-inbound to mozilla-central. a=merge 2018-02-07 17:05:03 +02:00
Alexandre Poirot 812a7d1f8c Bug 1434221 - Remove launchpad/npm workflow support from inspector. r=jdescottes
MozReview-Commit-ID: JmZUHOxqMam

--HG--
extra : rebase_source : 90be41ebc434edafeedfcf828a97d9f76d4dd12f
2018-02-01 07:10:41 -08:00
Alexandre Poirot 54ef877eee Bug 1435791 - Remove webapps actor front. r=jdescottes
MozReview-Commit-ID: A21zlETw5Iz

--HG--
extra : rebase_source : 7656d666d8d97add75ec7494b47878424b6028a8
2018-02-05 10:25:25 -08:00
Alexandre Poirot c1196409cb Bug 1435791 - Remove WebIDE monitor panel. r=jdescottes
MozReview-Commit-ID: 4Oz62CXGt0S

--HG--
extra : rebase_source : 84269b1282c822e21747a7196d0fa8482418aaa4
2018-02-06 01:05:59 -08:00
Alexandre Poirot 7b5702c3b8 Bug 1434374 - Remove useless Cu imports. r=jdescottes
MozReview-Commit-ID: FUeBcCrmHPL

--HG--
extra : rebase_source : bfd8ad108c7859f7271f91572e63ecf625004166
2018-02-06 11:08:31 -08:00
Alexandre Poirot e563788ea7 Bug 1434374 - Auto-rewrite Cu.import into ChromeUtils.import or require calls. r=jdescottes
MozReview-Commit-ID: 7YyLu5q23Hs

--HG--
extra : rebase_source : bb2805652c85d74a3e888326f4afa4b6857afa64
2018-02-07 01:37:36 -08:00
Alexandre Poirot 30e8a847a0 Bug 1434374 - Replace usages of Cu.import in modules (where ChromeUtils isn't defined) r=jdescottes
MozReview-Commit-ID: 8kw2H4R2VIZ

--HG--
extra : rebase_source : 7e870c31249a28dc97069c61ac73687e6ad1d98b
2018-02-05 08:43:50 -08:00
Alexandre Poirot cb1c1fdaed Bug 1434374 - Always import deprecated-sync-promises as a module. r=jdescottes
MozReview-Commit-ID: B97O55CxD8T

--HG--
extra : rebase_source : 5fcaf98188d5f58278e2c7aaec7ebc6560417523
2018-02-05 08:11:30 -08:00
Dorel Luca a844f3b4b3 Backed out changeset ed63734c2be4 (bug 1431900) for Browser-Chrome failures on browser/base/content/test/static/browser_misused_characters_in_strings.js 2018-02-07 11:40:18 +02:00
Julian Descottes 032a249e6f Bug 1403334 - followup: remove leftover comment from 1afdba933156;r=me
MozReview-Commit-ID: 3JRvyATgpAz

--HG--
extra : rebase_source : 29dc25ee880244d024280c8143665f92f98b9116
extra : amend_source : 20a898b928c29439ed4494063773fcd04feb7004
2018-02-07 10:19:50 +01:00
Gabriel Luong e653874a84 Bug 1431900 - Add a display node to indicate the display value of an element in the markup view. r=pbro 2018-02-06 23:50:56 -05:00
Gurzau Raul 772c8edfef Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-07 02:29:42 +02:00
Andrew McCreight 4a583a2b25 Bug 1432992, part 3 - Adjust some line numbers in tests. r=florian
Deleting lines in part 1 caused two tests to break, because they check
the line numbers for source files. The devtools part of the patch was
automatically generated.

MozReview-Commit-ID: DrDZeyVnpE0

--HG--
extra : rebase_source : 72c1623015f029a5adef20669cc102c568d3b67e
2018-02-01 13:35:20 -08:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Oriol Brufau 62eb995d90 Bug 1433655 - Allow JSON Viewer to change expandedNodes state. r=Honza
MozReview-Commit-ID: C2Db2U2KQKp

--HG--
extra : rebase_source : 2fd1d921bd8726afdc1c416ca2ab6a8b16b49434
2018-01-28 22:50:16 +01:00
Brian Grinstead 5e5bd21b2f Bug 1435084 - Create a pref to enable the new console UI in the browser console;r=nchevobbe
MozReview-Commit-ID: FUgk7Omk4V1

--HG--
extra : rebase_source : 98579d5ce256fa60c84716a9f3bd3dd51f187c3a
2018-02-01 14:44:00 -08:00
Gabriel Luong a2a3d02cd4 Bug 1432599 - Part 2: Display the current flex container element in the flexbox panel and allow for toggling of the flexbox highlighter. r=pbro 2018-02-07 15:57:46 -05:00
Gabriel Luong 756195eb25 Bug 1431900 - Add a display node to indicate the display value of an element in the markup view. r=pbro 2018-02-06 23:50:56 -05:00
Julien Wajsberg 802e65eed8 Bug 1436185 - Fix indentation in the rules subpanel in the inspector r=gl
On some platforms with some fonts, some floated element takes too much
space and we need to clear it.

MozReview-Commit-ID: Lbm1bVkPnl4
2018-02-07 16:08:28 +01:00
Dorel Luca 890eb016d9 Merge mozilla-central to autoland. r=merge
--HG--
extra : rebase_source : f28e015c1411d7185cd69a272fea28620af062d9
2018-02-07 12:18:35 +02:00
Coroiu Cristina 1ecbdba719 Backed out 2 changesets (bug 1435791) for bustage at /tests/test_mozbuild_reading.py on a CLOSED TREE
Backed out changeset 88c8ba0ee51d (bug 1435791)
Backed out changeset 3d7cea225c57 (bug 1435791)
2018-02-07 12:04:33 +02:00
Alexandre Poirot 61355e5dd1 Bug 1435791 - Remove webapps actor front. r=jdescottes
MozReview-Commit-ID: A21zlETw5Iz

--HG--
extra : rebase_source : c7653bb64707fb3c0501b2bf21be3d838d3f78f3
2018-02-05 10:25:25 -08:00
Alexandre Poirot dc9ab39924 Bug 1435791 - Remove WebIDE monitor panel. r=jdescottes
MozReview-Commit-ID: 4Oz62CXGt0S

--HG--
extra : rebase_source : 9d4a66356f4da9d76b9579b803e6d4259f1db962
2018-02-06 01:05:59 -08:00
Cameron McCormack 234b89c117 Bug 1435666 - Part 3: Remove nsIDOMXPathResult. r=bz
MozReview-Commit-ID: 9j6dUlanNTi

--HG--
extra : rebase_source : 9a790516379441d4e048009bcacdd26e93fde6ae
2018-02-05 11:39:18 +08:00
Gurzau Raul 3a5264e71b Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-07 00:00:20 +02:00
Jason Orendorff cfd968f58d Bug 1431202 - Part 2: Fix weird debugger stepping behavior with nested functions. r=nbp, r=jlast.
FunctionDeclarations are instantiated when we enter a scope, before any of the
code in that block/script/function is evaluated. The spec calls this phase
"declaration instantiation"; sometimes it's informally called "hoisting".

Before this patch, stepping would show this. You would step into a function,
and hitting the Step Over button a few times would visit all the nested functions
in that function. Then you would jump back to the top of the outer function and
actually start running the statements. This is so confusing that we are
changing it; now opcodes that instantiate functions don't have location
information, so stepping doesn't stop on those opcodes.

--HG--
extra : rebase_source : d8de1fc50573b82bf76dc7464355bfba068eaa30
extra : source : b94db3c0c2c0752915e2f4401269a0d24cbef882
2018-02-06 10:58:03 -06:00
Boris Zbarsky bf4f2a0bac Bug 1435483 part 1. Stop using nsIXPCException in devtools code. r=ochameau
This code has never worked correctly.  Bug 911258 landed on 2013-09-09 and
removed the initialize() method from XPConnect exceptions.  This code landed
two days after that.  If it's ever reached, it will just throw when calling the
nonexistent initialize() method.

MozReview-Commit-ID: FWpP1fLBIPW
2018-02-05 16:34:03 -05:00
Gabriel Luong 86b49a3834 Bug 1432599 - Part 1: Refactor translateNodeFrontToGrip function to inspector shared utils. r=pbro 2018-02-05 13:47:10 -05:00
Noemi Erli 3d09e55d55 Merge inbound to mozilla-central. a=merge 2018-02-03 11:52:03 +02:00
Masayuki Nakano dfd6ae6c4b Bug 1435180 - Make existing tests aware of strict keypress event dispatch r=smaug
We'll stop dispatching keypress events on web contents for conforming to spec of
UI Events.  Some existing tests assumes that keypress events are fired even
when non-printable keys are pressed.

This patch makes them check the pref,
"dom.keyboardevent.keypress.dispatch_non_printable_keys_only_system_group_in_content"
and only listen to keydown event instead of keypress even if the pref is true
and expected key event is not a printable key press.

MozReview-Commit-ID: 6bKoK7dsB0l

--HG--
extra : rebase_source : b3705b0814d5690e00208d0d3315f09f886c6f26
2018-02-02 18:10:22 +09:00
Jason Laster f805944739 Bug 1435187 - Refactor the script actor. r=jdescottes
- Extract paused scoped objects.
 - Extract event loop stack. r=jdescottes
 - Extract actor stores. r=jdescottes
 - Move script.js to actor.js. r=jdescottes

--HG--
rename : devtools/server/actors/script.js => devtools/server/actors/thread.js
2018-02-02 10:57:00 +02:00
Coroiu Cristina e06af9c36a Merge inbound to mozilla-central a=merge 2018-02-02 19:38:23 +02:00
Jason Laster 6bbb5aa1c6 Bug 1434769 - Update Debugger Frontend v13. r=jdescottes
MozReview-Commit-ID: 9lClQD2RWSK
2018-02-02 16:06:44 +01:00
Alexandre Poirot 9b02438d02 Bug 1434225 - Move codemirror build steps README to devtools/client/sourceeditor/. r=gl
MozReview-Commit-ID: K2aKnNopC7Y

--HG--
rename : devtools/client/sourceeditor/codemirror/README => devtools/client/sourceeditor/README
extra : rebase_source : b7318cdad63c76458bca7b63be71ac71969cf0d7
2018-02-01 07:15:42 -08:00
J. Ryan Stinnett c8aee8f9ba Bug 1430916 - Rotate grid line numbers for writing mode. r=pbro
Adjust grid highlighter line numbers to rotate to the expected position outside
the grid container even in the presence of writing mode and text direction.

This is also refactors and preserves the recently added behavior to flip line
numbers inside the container if they are near the viewport edge.

MozReview-Commit-ID: 4zFjJY4Iqdz

--HG--
extra : rebase_source : 131af55ca55c7ae7b3c42fbd6b77f68236259009
2018-01-30 23:31:42 -05:00
Patrick Brosset e548c28977 Bug 1434981 - Display fonts for text nodes too; r=gl
MozReview-Commit-ID: 4hzEowvZWk

--HG--
extra : rebase_source : 3820f76d37728d57a0a7ae9df594fcd2f3b8d7c2
2018-02-01 21:40:21 -05:00
Jonathan Kingston 53c9c480b7 Bug 1354175 - Disable AppCache in insecure contexts. r=baku,bkelly,mayhemer
MozReview-Commit-ID: wYWHkGlV8h

--HG--
extra : rebase_source : 9a600559a9d61c42baf9e3e5fde6e35d5adeaf90
2018-01-12 19:09:30 +00:00
Gurzau Raul 1315ffda06 Merge inbound to mozilla-central. a=merge 2018-02-02 00:22:39 +02:00
Florian Quèze 2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Gabriel Luong a87c1eea8d Bug 1434295 - Update CodeMirror to 5.34.0. r=bgrins 2018-02-01 10:19:28 -05:00
Csoregi Natalia d8b0109aae Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-01 20:13:43 +02:00