Commit Graph

13416 Commits

Author SHA1 Message Date
Mark Banner
d4cd673de5 Bug 1507487 - Handling of importScripts by ESLint should fallback to the file name if there is no entry in modules.json. r=mossop
We already have a fallback for items that aren't in a worker scope, we should have the same for ones that are. This means we don't need single maps (foo.js -> foo) in modules.json, and also we can identify more as explicit variables, so that no-unused-vars can detect them.

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

--HG--
extra : moz-landing-system : lando
2018-12-06 17:27:56 +00:00
Julian Descottes
6b7c1b63a9 Bug 1488500 - Add test for temporary extension install error;r=daisuke
Depends on D12571

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

--HG--
extra : moz-landing-system : lando
2018-12-07 15:59:03 +00:00
Julian Descottes
98258f6603 Bug 1488500 - Show install error message for temporary addons;r=daisuke,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D12571

--HG--
extra : moz-landing-system : lando
2018-12-07 15:56:30 +00:00
Dorel Luca
48e7ee73b2 Backed out changeset 1046da966669 (bug 1511334) for devtools failures in devtools/client/inspector/flexbox/test/browser_flexbox_toggle_display_change_hides_highlighter.js 2018-12-07 23:35:41 +02:00
Michael Ratcliffe
6eb26453a5 Bug 1511334 - Add tests to disable/re-enable and delete/bring flexbox and grid patch r=gl
https://treeherder.mozilla.org/#/jobs?repo=try&revision=228d738caf1403aaa5e62b2348af2e57fb4a06a6

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

--HG--
extra : moz-landing-system : lando
2018-12-07 07:09:35 +00:00
Daisuke Akatsuka
a9e8a601b4 Bug 1506513: Add worker mock test. r=jdescottes
Depends on D13970

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

--HG--
extra : moz-landing-system : lando
2018-12-07 16:27:47 +00:00
Daisuke Akatsuka
5e124e657d Bug 1506513: Use clientWrapper instead of client. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D13970

--HG--
extra : moz-landing-system : lando
2018-12-07 14:11:39 +00:00
Nicolas Chevobbe
bc3db80dc7 Bug 1512046 - Stop propagation of callstack group click; r=Honza.
This also adds a console test to make sure we don't regress
this in the future.

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

--HG--
extra : moz-landing-system : lando
2018-12-07 11:36:10 +00:00
Andreea Pavel
1daccecb89 Backed out changeset a9c528fe96d5 (bug 1512046) for failing devtools/client/webconsole/test/mochitest/browser_webconsole_error_with_grouped_stack.json a CLOSED TREE 2018-12-07 01:03:29 +02:00
Nicolas Chevobbe
add8a15000 Bug 1512046 - Stop propagation of callstack group click; r=Honza.
This also adds a console test to make sure we don't regress
this in the future.

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

--HG--
extra : moz-landing-system : lando
2018-12-06 20:34:36 +00:00
Nicolas Chevobbe
aa450f8374 Bug 1508549 - Better SmartTrace rendering strategy; r=Honza.
We used to re-render the component each time the sourcemapService
would give us a result for a single frame.
Combined with the frame grouping system, this could trigger
weird re-layout and might confuse user.
What's done in this patch is that when mounting, if a sourcemapService
is passed, we don't render anything, and start a race between
a delay of 300ms and the sourcemap results for *all* the frames.
If we don't have the original frames within 300ms, we render the
bundled frames. But, whenever we have the sourcemap results, we
trigger a re-render of the component.
This gives some room for the sourcemapService to fetch map files
without re-ordering things on the screen.
A test case is added to ensure we have the expected renders
when the sourcemap service takes more time than the inital delay.
We already have a case where the sourcemap service resuls are
received before the initial delay.

We also take this as an opportunity to fix minor CSS issues.

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

--HG--
extra : moz-landing-system : lando
2018-12-06 14:21:01 +00:00
Julian Descottes
b46615ab97 Bug 1492700 - Fix eslint failure in test_adb.js;r=fix 2018-12-06 10:33:02 -05:00
Julian Descottes
64a210a9e1 Bug 1492700 - Add mochitest to check that ADB is stopped after closing about:debugging;r=daisuke
Depends on D13477

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

--HG--
extra : moz-landing-system : lando
2018-12-06 14:57:25 +00:00
Julian Descottes
cefef81b96 Bug 1492700 - Introduce adb singleton to register adb consumers;r=daisuke
Depends on D13476

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

--HG--
extra : moz-landing-system : lando
2018-12-06 14:57:03 +00:00
Julian Descottes
5931fd827f Bug 1492700 - Rename adb.js to adb-process.js and switch to class;r=daisuke
Depends on D13475

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

--HG--
rename : devtools/shared/adb/adb.js => devtools/shared/adb/adb-process.js
extra : moz-landing-system : lando
2018-12-05 20:51:58 +00:00
Julian Descottes
77a80c888c Bug 1492700 - Remove unused observables in commands/track-devices;r=daisuke
Depends on D13474

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

--HG--
extra : moz-landing-system : lando
2018-12-05 20:51:41 +00:00
Julian Descottes
7e3924ecbf Bug 1492700 - Migrate adb/commands/track-devices to a Class;r=daisuke
Depends on D13473

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

--HG--
extra : moz-landing-system : lando
2018-12-05 20:49:24 +00:00
Julian Descottes
b77ab873fa Bug 1492700 - Split adb.js in several files;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D13473

--HG--
rename : devtools/shared/adb/adb.js => devtools/shared/adb/commands/list-devices.js
rename : devtools/shared/adb/adb.js => devtools/shared/adb/commands/prepare-tcp-connection.js
rename : devtools/shared/adb/adb.js => devtools/shared/adb/commands/run-command.js
rename : devtools/shared/adb/adb.js => devtools/shared/adb/commands/shell.js
rename : devtools/shared/adb/adb.js => devtools/shared/adb/commands/track-devices.js
extra : moz-landing-system : lando
2018-12-05 20:47:34 +00:00
Sylvestre Ledru
eaf6089240 Bug 1511900 - Fix some wording r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D13712

--HG--
extra : moz-landing-system : lando
2018-12-05 20:00:57 +00:00
Florens Verschelde
e289318fd4 Bug 1512278 - add empty alt text to ToolboxTab icon; r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D13865

--HG--
extra : moz-landing-system : lando
2018-12-06 07:58:15 +00:00
Patrick Brosset
3b848da5e6 Bug 1284852 - Part 3 - Re-format/factor browser_rules_cycle-color.js so it's easier to read; r=miker
Depends on D13808

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

--HG--
extra : moz-landing-system : lando
2018-12-05 20:16:36 +00:00
Patrick Brosset
e46e005962 Bug 1284852 - Part 2 - Augment the color cycling test to also check cycling after a diffent type as chosen; r=miker
Depends on D13806

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

--HG--
extra : moz-landing-system : lando
2018-12-05 20:38:02 +00:00
Patrick Brosset
9d70931958 Bug 1284852 - Part 1 - Set the used unit when appending a color to the rule-view; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D13806

--HG--
extra : moz-landing-system : lando
2018-12-05 16:49:29 +00:00
yulia
ef8f9622b4 Bug 1512086 - fix console highlighting and update test to fail if it doesnt; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D13826

--HG--
extra : moz-landing-system : lando
2018-12-05 22:02:36 +00:00
Nicolas Chevobbe
e9ad1155fa Bug 1512257 - Enable reverse search on every channel; r=bgrins.
This patch only removes condition for the preference,
since removing the preference would require more important
code changes that might not be good to land during the
soft freeze.

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

--HG--
extra : moz-landing-system : lando
2018-12-05 20:40:29 +00:00
Narcis Beleuzu
d69962cc06 Backed out 2 changesets (bug 1504659) for mochitest failures on test_innerWidthHeight_script.html . CLOSED TREE
Backed out changeset f2574f5b186e (bug 1504659)
Backed out changeset 45f63618f66e (bug 1504659)
2018-12-05 22:19:24 +02:00
Michael Ratcliffe
85e0545e3f Bug 1509460 - Disable / re-enable and delete/bring back should not bring the flexbox highlighter back r=gl
Differential Revision: https://phabricator.services.mozilla.com/D12778

--HG--
extra : moz-landing-system : lando
2018-12-05 19:54:56 +00:00
Brad Werth
cd794d1181 Bug 1504659 Part 2: Add tests of viewport RDM scroll behavior, with and without touch simulation. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D13174

--HG--
extra : moz-landing-system : lando
2018-12-05 17:16:36 +00:00
Belén Albeza
15cf234f41 Bug 1500332 - Hide connection prompt in This Firefox page. r=jdescottes,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D13075

--HG--
extra : moz-landing-system : lando
2018-12-05 13:44:47 +00:00
Cosmin Sabou
69f9d5002c Merge mozilla-inbound to mozilla-central. a=merge 2018-12-05 12:19:43 +02:00
Ciure Andrei
8b45f141ca Backed out 2 changesets (bug 1504659) for browser_scroll.js failures CLOSED TREE
Backed out changeset bcebb3fd72d3 (bug 1504659)
Backed out changeset 1dbe3852e298 (bug 1504659)
2018-12-05 06:57:03 +02:00
Brad Werth
39a9317d64 Bug 1504659 Part 2: Add tests of viewport RDM scroll behavior, with and without touch simulation. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D13174

--HG--
extra : moz-landing-system : lando
2018-12-05 02:48:46 +00:00
Razvan Maries
36f8be9d4e Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-12-05 00:01:48 +02:00
Patrick Brosset
0e57993bca Bug 1507723 - Don't inline only-child short text nodes that are also flex items; r=gl
This change cleans up a lot of the getCurrentDisplay's logic which was unnecessarily
complex, it seems.
It also extracts the logic to walk up the DOM to find flex/grid containers to a
reusable functions.
Finally, this new extracted function is now used in the walker to determine if a text
node can be inlined in its parent element or not.

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

--HG--
extra : moz-landing-system : lando
2018-12-04 13:29:15 +00:00
Julian Descottes
614db98a2c Bug 1511778 - Remove skip if verify for test_addon_reload and test_addons_actor;r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D13665

--HG--
extra : moz-landing-system : lando
2018-12-04 13:40:07 +00:00
Razvan Caliman
7c2a533958 Bug 1508748 - Avoid duplicate tracking of the same removed CSS declaration. r=pbro
When a declaration is disabled, it is tracked as removed in the Changes panel.
When deleting a disabled declaration, we take care not track it as removed again.

Includes stricter checks when matching previously tracked added and removed declarations.

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

--HG--
extra : moz-landing-system : lando
2018-12-04 12:04:13 +00:00
Razvan Caliman
6235a87936 Bug 1499994 - Revert test instrumentation for Changes panel telemetry. r=pbro
This removes the instrumentation to test the basic telemetry for the Changes panel (open count, time opened).

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

--HG--
extra : moz-landing-system : lando
2018-12-04 08:19:54 +00:00
Bogdan Tara
194724b389 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-03 23:51:35 +02:00
Bogdan Tara
e2eab3097a Merge inbound to mozilla-central. a=merge 2018-12-03 23:49:14 +02:00
Razvan Caliman
b260a0565b Bug 1491887 - Enable tracking CSS changes and the Changes panel for all release channels; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D13620

--HG--
extra : moz-landing-system : lando
2018-12-03 20:57:46 +00:00
Mike Conley
d9763e1890 Bug 1505063 - Only flip remoteness in RDM if we're switching from the privileged content process. r=ochameau
This means that for the File URI content process, we end up closing RDM if the page
navigates. This appears to be an acceptable trade-off, as this is the behaviour we've
been shipping since bug 1453519 landed (Firefox 61).

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

--HG--
extra : moz-landing-system : lando
2018-12-03 17:00:20 +00:00
Razvan Caliman
76567f7663 Bug 1506455 - Enforce LTR code on RTL layout in Changes panel r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D13617

--HG--
extra : moz-landing-system : lando
2018-12-03 09:17:38 +00:00
Razvan Caliman
862aba615f Bug 1506170 - Clear the changes stored on the actor upon page refresh/navigate; r=bradwerth
Until we implement intentional persistence of changes between page refreshes, the Changes actor should clear its stack of changes to avoid polluting the next DevTools session.

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

--HG--
extra : moz-landing-system : lando
2018-12-03 20:13:46 +00:00
Patrick Brosset
5df2db204f Bug 1505747 - Reset flex overlay colors before testing them; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D13680

--HG--
extra : moz-landing-system : lando
2018-12-03 19:28:10 +00:00
Jason Laster
e7eb39c628 Revert "Backed out changeset d0fb1493b28b (bug 1511717) for devtools failures in browser_webconsole_eval_in_debugger_stackframe.js"
This reverts commit fd12a44e915d4e06f4509588ff4667dd9646e2dd.
2018-12-02 21:16:26 -05:00
Noemi Erli
142d65bfec Backed out changeset d0fb1493b28b (bug 1511717) for devtools failures in browser_webconsole_eval_in_debugger_stackframe.js 2018-12-03 01:19:00 +02:00
Jason Laster
5e9bee4282 Bug 1511717 - Pausing should jump to the first non-blackboxed frame. r=bhackett
Tags:

Bug #: 1511717

Differential Revision: https://phabricator.services.mozilla.com/D13648
2018-12-02 16:46:27 -05:00
Cosmin Sabou
9cf2c214cc Bug 1511710 - Add some spaces for Infix operators. r=eslint-fix 2018-12-02 23:34:21 +02:00
Jason Laster
ae132b3430 Bug 1511710 - The timeline should let you zoom. r=bhackett
Tags:

Bug #: 1511710

Differential Revision: https://phabricator.services.mozilla.com/D13643
2018-12-02 16:08:47 -05:00
Jason Laster
966d77bf1d Bug 1511673 - Disable highlighting debugger lines when in replay mode. r=bhackett
Tags:

Bug #: 1511673

Differential Revision: https://phabricator.services.mozilla.com/D13637
2018-12-02 15:29:09 -05:00
Jason Laster
8280608066 Bug 1511567 - Add UI transitions. r=bhackett
Tags:

Bug #: 1511567

Differential Revision: https://phabricator.services.mozilla.com/D13605
2018-12-01 23:08:15 -05:00
Jason Laster
2b70c3a5fb Bug 1511422 - The console separator should be below the message when we're paused after the log. r=bhackett
Tags:

Differential Revision: https://phabricator.services.mozilla.com/D13581
2018-12-01 23:07:03 -05:00
lenpel
81e64f4189 Bug 1506073 - URL in Headers panel is wrapping now, plus 2 tests adapted for netmonitor. r=Honza 2018-11-26 15:58:33 +01:00
Gabriel Luong
922be1ee41 Bug 1509459 - Get the flexbox highlighter state if the highlighter is ready in the flexbox panel. r=pbro 2018-11-28 11:39:40 -05:00
Narcis Beleuzu
a032920c1d Backed out changeset b9eb6110ecfc (bug 1511422) for dt failures on /browser_browser_toolbox_debugger.js 2018-12-02 00:17:13 +02:00
Jason Laster
a4008cfe9a Bug 1511422 - The console separator should be below the message when we're paused after the log. r=bhackett
Tags:

Differential Revision: https://phabricator.services.mozilla.com/D13581
2018-12-01 10:47:24 -05:00
Jason Laster
90f5358757 Bug 1511352 - Update Debugger Frontend v106. r=dwalsh 2018-12-01 10:38:43 -05:00
Coroiu Cristina
1ca919f882 Merge mozilla-central to autoland a=merge 2018-12-01 07:55:13 +02:00
Coroiu Cristina
3564dfde3b Merge inbound to mozila-central a=merge 2018-12-01 07:46:00 +02:00
Coroiu Cristina
a507aeaca6 Backed out changeset 91e1fe27cef9 (bug 1511352) for causing merge conflicts with bug 820878 a=backout 2018-12-01 07:44:09 +02:00
Jason Laster
4cd46e49cc Revert "Backed out changeset 3124848b93c4 (bug 1511043) for build bustages on jump.svg. CLOSED TREE"
This reverts commit 8551aeffb93b4cc68bf47b798e659155bb897fea.
2018-11-30 19:06:35 -05:00
Jason Laster
7cb6b8d516 Bug 1510408 - Closing devtools should stop recording. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D13145

--HG--
extra : moz-landing-system : lando
2018-11-30 01:28:14 +00:00
Patrick Brosset
f650804de6 Bug 1496458 - Display the flex-container accordion first if a container+item is selected in markup-view; r=gl
Flex elements can be both containers and items at the same time. When they get selected in the inspector
the sidebar shows both the container accordion and the item accordion.
This changeset makes sure the container accordion is displayed before the item accordion only when
the element is selected from the markup-view.

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

--HG--
extra : moz-landing-system : lando
2018-11-30 16:41:57 +00:00
Nicolas Chevobbe
d2713d045c Bug 820878 - Reps bundle release; r=jlast.
Depends on D13561

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

--HG--
extra : moz-landing-system : lando
2018-11-30 18:59:40 +00:00
shindli
848d9f3764 Backed out changeset fbb68a1fb7ce (bug 820878) for failures in devtools/client/webconsole/test/mochitest/browser_webconsole_object_inspector_getters.js CLOSED TREE 2018-11-30 23:50:51 +02:00
Julian Descottes
75755af410 Bug 1510620 - Remove browser_dbg_addon-console.js;r=rpl
Depends on D13257
I think webextensions + console is already thoroughly tested in
devtools/client/aboutdebugging/test/browser_addons_debug_webextension_*.js

Luca, are there features that we might be missing after removing this?

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

--HG--
extra : moz-landing-system : lando
2018-11-30 09:17:25 +00:00
Julian Descottes
1e3fd282f3 Bug 1510620 - Cleanup browser_dbg_listaddons.js using async await;r=davidwalsh
Depends on D13256

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

--HG--
extra : moz-landing-system : lando
2018-11-30 16:32:37 +00:00
Julian Descottes
9da6d655c7 Bug 1510620 - Migrate browser_dbg_listaddons.js to use webextensions;r=davidwalsh
Depends on D13255

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

--HG--
extra : moz-landing-system : lando
2018-11-30 16:32:50 +00:00
Nicolas Chevobbe
5fbcc2f81d Bug 820878 - Add ObjectInspector test for getters; r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D13561

--HG--
extra : moz-landing-system : lando
2018-11-30 19:00:08 +00:00
Yura Zenevich
3801a73b14 Bug 1507870 - add telemetry for accessibility panel tree context menu functionality. r=janerik, data-review=chutten
MozReview-Commit-ID: 837WW3Emuk5

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

--HG--
extra : moz-landing-system : lando
2018-11-30 14:56:00 +00:00
Yura Zenevich
e2f524a9d5 Bug 1507870 - add Print to JSON functionality to the a11y inspector. r=pbro
MozReview-Commit-ID: HyqYgHCCp3T

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

--HG--
extra : moz-landing-system : lando
2018-11-30 14:55:42 +00:00
Yura Zenevich
80eec2f7ae Bug 1507870 - add checks for whether Accessible actor has snapshot capability. r=pbro
MozReview-Commit-ID: EhVlhvjDyS8

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

--HG--
extra : moz-landing-system : lando
2018-11-30 14:55:29 +00:00
Yura Zenevich
fc3cdac0d8 Bug 1507870 - add support for taking a snapshot of the subtree of the accessible object. r=pbro
MozReview-Commit-ID: JdZe0N3ot4c

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

--HG--
extra : moz-landing-system : lando
2018-11-30 14:55:12 +00:00
Yura Zenevich
2b1ee77653 Bug 1507870 - add support for contextmenu extensibility of TreeRow. r=Honza
MozReview-Commit-ID: HhoNsCAiZAk

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

--HG--
extra : moz-landing-system : lando
2018-11-30 14:54:59 +00:00
Razvan Caliman
0d34a6b603 bug 1509890 - (Part 1) Add basic telemetry for Changes panel (time spent and open count). r=pbro
Adds entries to Histograms.json, Scalars.yaml and Events.yaml to
account for the Changes panel when measuring time spent with the panel
in view and opening count. This leverages pre-existing instrumentation
used for other Inspector sidebar panels.

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

--HG--
extra : moz-landing-system : lando
2018-11-30 13:52:55 +00:00
Julian Descottes
e07765e72b Bug 1495380 - Add test to check that we can select network runtimes;r=ladybenko
Depends on D12947

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

--HG--
extra : moz-landing-system : lando
2018-11-30 16:02:47 +00:00
Julian Descottes
905fc1e6e1 Bug 1495380 - Check that addons are displayed and update for network runtimes;r=ladybenko
Depends on D12946

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

--HG--
rename : devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_addons_usb_runtime.js => devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_addons_remote_runtime.js
extra : moz-landing-system : lando
2018-11-30 15:55:30 +00:00
Julian Descottes
a35a98ce24 Bug 1495380 - Allow to select network runtimes;r=ladybenko
Depends on D12946

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

--HG--
extra : moz-landing-system : lando
2018-11-30 15:15:29 +00:00
Julian Descottes
67025440e7 Bug 1495380 - Rename head-usb-mocks to head-mocks to prepare for network mocks;r=ladybenko
Depends on D12945

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

--HG--
rename : devtools/client/aboutdebugging-new/test/browser/mocks/head-usb-mocks.js => devtools/client/aboutdebugging-new/test/browser/head-mocks.js
extra : moz-landing-system : lando
2018-11-30 15:55:28 +00:00
Julian Descottes
86aa5cfdf5 Bug 1495380 - Enable extensions debugging for network locations;r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D12945

--HG--
extra : moz-landing-system : lando
2018-11-30 11:08:19 +00:00
Julian Descottes
828dc8c018 Bug 1510620 - Migrate aboutdebugging tests using legacy addons to webextensions;r=ochameau
The browser_addons_debug_bootstrapped addon is completely removed because it is already
covered for webextensions with browser_addons_debug_webextensions.js

Other have either been migrated to use webextensions.

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

--HG--
extra : moz-landing-system : lando
2018-11-30 09:12:19 +00:00
Sylvestre Ledru
265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Emilio Cobos Álvarez
c279a94301 Bug 775618 - Implement page-break-{before,after} as legacy shorthands for {before,after}. r=heycam
This is all the style-system work needed for this.

This implements the concept of legacy shorthands, teaches tests to understand
it, and adds a few more tests for these properties in particular.

The WPT even caught a few WebKit / Blink bugs:

  https://bugs.chromium.org/p/chromium/issues/detail?id=906336
  https://bugs.webkit.org/show_bug.cgi?id=191803

This doesn't change the layout behavior for page-break-before: always, since
it'd stop breaking in multicol and such. Similarly, break-before / break-after:
column and page still behave the same, I'll file followups for those given
comment 22.

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

--HG--
extra : moz-landing-system : lando
2018-11-30 05:35:47 +00:00
Razvan Maries
77d87d9972 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-30 05:13:14 +02:00
Gabriel Luong
eb22262961 Bug 1509907 - Add telemetry to track flexbox highlighter usage. r=miker
This also adds a telemetry count for the grid highlighter being turned on by the
markup view, which was not in place when we added the telemetry for the grid
highlighter.
2018-11-29 18:45:43 -05:00
Andrew Swan
79614c052c Bug 857456 Part 0: Clean up remaining tests using legacy extensions r=kmag
--HG--
extra : rebase_source : a36ea76dfff29438f24ea1467959595e5fa902ca
extra : histedit_source : 24dfb942cf4389cc1ebf4e147c649ab9099aa513
2018-11-28 18:45:08 -08:00
Vincent R
10e1038809 Bug 1503175 - Restore the previous inspector layout when reopening. r=gl 2018-11-09 18:56:05 +01:00
Jason Laster
629fbc718a Bug 1511883 - The secondary pane should persist its size. r=dwalsh
Tags:

Bug #: 1511883

Differential Revision: https://phabricator.services.mozilla.com/D13695
2018-12-04 12:17:20 -05:00
Jan Varga
be167c5e0b Bug 1286798 - Part 10: Support for storage events; r=asuth,janv
Storage events are fired either directly after getting response from synchronous SetItem call or through observers. When a new onstorage event listener is added, we sycnhronously register an observer in the parent process. There's always only one observer actor per content process.
PBackgroundLSDatabase is now managed by a new PBackgroundLSObject protocol. PBackgroundLSObject is needed to eliminate the need to pass the principal info and document URI everytime a write operation occurs.
Preparation of an observer shares some states with preparation of a datastore, so common stuff now lives in LSRequestBase and preparation of a datastore now implements a nested state machine.

This patch was enhanced by asuth to drop observers only when the last storage listener is removed.
EventListenerRemoved is invoked on any removal, not just the final removal, so we need to make sure it's the final removal before dropping observer.
2018-11-29 21:47:45 +01:00
Jan Varga
60831f2e38 Bug 1286798 - Part 3: New basic (memory only) implementation of LocalStorage; r=asuth,mccr8
The implementation is based on a cache (datastore) living in the parent process and sync IPC calls initiated from content processes.
IPC communication is done using per principal/origin database actors which connect to the datastore.
The synchronous blocking of the main thread is done by creating a nested event target and spinning the event loop.
2018-11-29 21:47:20 +01:00
Nicolas Chevobbe
047f13303a Bug 1510422 - Fix autocomplete cache handling; r=Honza.
In Bug 1462394, we moved the autocomplete data handling
out of the JsTerm to the Redux store. In the process, we
regress some cases like `await n`, which should display
`navigator`, but isn't anymore when the user types the
whole sequence. Ctrl+Space would still show the popup,
which indicates that the issue is not on the server-side.

This issue is caused because our new code decides that
we should hit the cache when typing the `n`, and there's
nothing in the cache.

Previously, we were clearing the cache as soon as the input
last string wasn't alphanumeric, which we don't anymore.
To fix that, instead of relying on the last string of the
input (which could be wrong in cases like `x.["hello `), we
clear the cache when the autocomplete service returns a null
`matches` property.

In the JsPropertyProvider, we use to return null whenever
there isn't any search done (incorrect input, empty match prop, …).
So it seems like a good idea to bust the cache when the
server returns null.

This requires some changes to the autocomplete service, as well
as some in jsPropertyProvider (e.g. to handle `await `).

Tests are added both on the client and the frontend to make sure
we don't regress this (those tests fail without the actual fix).

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

--HG--
extra : moz-landing-system : lando
2018-11-29 13:58:57 +00:00
Nicolas Chevobbe
6cc34ca969 Bug 1510948 - Fix ObjectInspector arrows styling in console; r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D13381

--HG--
extra : moz-landing-system : lando
2018-11-29 12:49:24 +00:00
Julian Descottes
ca974ee77d Bug 1507125 - Protocol Front should throw when called after destroy;r=ochameau
Depends on D13137.

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

--HG--
extra : moz-landing-system : lando
2018-11-29 10:00:06 +00:00
Julian Descottes
700381caa2 Bug 1507125 - Stop destroying DebuggerServer when moving from This Firefox runtime page;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D13137

--HG--
extra : moz-landing-system : lando
2018-11-29 06:29:41 +00:00
Daniel Varga
d4b090ea42 Merge mozilla-central to autoland. a=merge on a CLOSED TREE
--HG--
extra : rebase_source : 81b5f62e48ccbe6c941a80b72a4eebe0ed942ccf
2018-11-29 11:59:02 +02:00
Ola Gasidlo
a2c7c837a5 Bug 1508651. Added header font color for dark theme. r=jdescottes,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D12899

--HG--
extra : moz-landing-system : lando
2018-11-29 09:58:02 +00:00
Patrick Brosset
b08c6ea272 Bug 1507741 - take zoom and dpr into account when rendering justify-content; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D13063

--HG--
extra : moz-landing-system : lando
2018-11-29 09:51:01 +00:00
Coroiu Cristina
da4da94439 Merge mozilla-central to inbound a=merge 2018-11-29 06:39:53 +02:00
Coroiu Cristina
e92b0f1d7f Merge inbound to mozilla-central a=merge 2018-11-29 06:27:40 +02:00
Coroiu Cristina
b8bc09a5b5 Merge mozilla-central to inbound a=merge on a CLOSED TREE
--HG--
rename : python/mozrelease/test/data/Firefox-62.0b11.update.json => python/mozrelease/test/data/Firefox-64.0b13.update.json
extra : rebase_source : 6eb078869182f40343e201993c0d0442ed96ad46
2018-11-29 00:34:07 +02:00