Commit Graph

11655 Commits

Author SHA1 Message Date
arthur.iakab
5527acb8d8 Merge inbound to mozilla-central a=merge 2018-08-25 01:08:22 +03:00
Boris Chiou
a1909a88ff Bug 1246764 - Part 2: Define path() for clip-path. r=emilio
For now, |clip-path: path()| is chrome-only, and not for shape-outside,
so we only implement the parser for clip-path. Besides, I didn't put
path() in BasicShape because path() doesn't use the reference box to
resolve the percentage or keywords (i.e. SVG path only accept floating
point or integer number as the css pixel value). Therefore, I add it into
ShapeSource, instead of BasicShape.

Differential Revision: https://phabricator.services.mozilla.com/D3633
2018-08-24 11:37:53 -07:00
David Keeler
1cd81e4c5a bug 1485087 - remove the option to use the TLS session cache from nsITLSServerSocket r=jryans,mayhemer
As initially implemented, nsITLSServerSocket by default enabled the use of the
TLS session cache provided by NSS. However, no consumers of nsITLSServerSocket
actually used it. Because it was an option, though, PSM had to jump through some
hoops to a) make it work in the first place and b) not have NSS panic on
shutdown. Furthermore, it meant increased memory usage for every user of Firefox
(and again, nothing actually used the feature, so this was for naught).

In bug 1479918, we discovered that if PSM shut down before Necko, NSS could
attempt to acquire a lock on the session cache that had been deleted, causing a
shutdown hang. We probably should make it less easy to make this mistake in NSS,
but in the meantime bug 1479918 needs uplifting and this workaround is the
safest, most straight-forward way to achieve this.

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

--HG--
extra : moz-landing-system : lando
2018-08-24 16:00:34 +00:00
Tooru Fujisawa
ffbb3799ed Bug 1486140 - Add Learn More links for JSMSG_PROPERTY_FAIL and JSMSG_PROPERTY_FAIL_EXPR r=nchevobbe 2018-08-29 14:58:07 +09:00
Mantaroh Yoshinaga
662b703835 Bug 1482357 - Part 2. Drop panel parameter from assertAnimations* common functions. r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D4417

--HG--
extra : rebase_source : 6a3de697fa59f2299a447471c5b4e71a5fb4fcfd
2018-08-29 12:42:54 +09:00
Mantaroh Yoshinaga
8d010252de Bug 1482357 - Part 1. Skip the space key handling of resume/pause button when the target is itself. r=daisuke
The PauseResumeButton component listens to the key event and clicks event. As
the results of it, space key will trigger the both of event. This patch will
skip the space key handling when the event target is itself.

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

--HG--
extra : rebase_source : 017b2d14a1c9c5057b1609503452fc58c2433a0c
2018-08-29 12:40:48 +09:00
Nicholas Nethercote
2fcd08a173 Bug 1486690 - Rename NS_str{,}dup and remove unnecessary checks after calls to them. r=glandium
The 'x' prefix makes it clearer that these are infallible.

A couple of nsJSID methods are now also infallible.

--HG--
extra : rebase_source : fcce44a00212d6d341afbf3827b31bd4f7355ad5
2018-08-28 15:58:54 +10:00
Mantaroh Yoshinaga
052ddb2ebd Bug 1472904 - Part 2. Move Tooltip variable to tooltips.css. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4177

--HG--
extra : rebase_source : 9be86d0419621ca26eb58ad1fb566bacf0005846
2018-08-29 10:34:14 +09:00
Mantaroh Yoshinaga
da619f43a6 Bug 1472904 - Part 1. Add the common variable of tooltip and autopopup. r=jdescottes
Before moving the tooltip's variable to tooltips.css, this patch will define
the common variable of tooltip and autopopup.

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

--HG--
extra : rebase_source : 6fe3422d7a3adf1e78a51ca5176e8acf6dafdb2b
2018-08-29 10:32:29 +09:00
Daisuke Akatsuka
28a7e08ae6 Bug 1482036: Hold the position of indicator bar in percentage. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D4190

--HG--
extra : rebase_source : aa878bc4d43d4d879c7b93942930f8c158a02130
2018-08-24 12:44:03 +09:00
Gabriel Luong
e7b809e28a Bug 1482992 - Early return from the panel window resize handler if the inspector is not selected. r=bgrins 2018-08-26 10:57:40 -04:00
Gabriel Luong
66153e02ba Bug 1486298 - Update CodeMirror to 5.44.0 and add ClojureScript syntax highlighting. r=bgrins 2018-08-26 22:20:53 -04:00
Jennifer Wilde
501f7d4d81 Bug 1482972 - convert uses of "defer" to "new Promise" in shared/transport/; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D4216

--HG--
extra : moz-landing-system : lando
2018-08-24 14:29:40 +00:00
Ciure Andrei
9aabc73223 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-08-29 01:31:20 +03:00
Kris Maglione
93703861d1 Bug 1486182: Part 3 - Remove unused XPCOMUtils.enumerateCategoryEntries method. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D4280

--HG--
extra : rebase_source : 6e09e6c46cee8ebe0e942f7135408a5b075066d1
2018-08-24 17:20:50 -07:00
Kris Maglione
53f96aa226 Bug 1486182: Part 2a - Add Services.catMan getter for the category manager. r=mossop
This makes it much easier to update existing consumers of
XPCOMUtils.enumerateCategoryEntries to use the category manager directly.

It also, unfortunately, requires updating existing category manager consumers
to use the Services getter in order to avoid ESLint errors.

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

--HG--
extra : rebase_source : fb9fd9b21db80af472ff6250a2e9a35e8d538147
2018-08-24 22:13:57 -07:00
Michael Ratcliffe
82c5b5a499 Bug 1481669 - Fix DEVTOOLS_*_TIME_ACTIVE_SECONDS probes to report in seconds again r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D4211

--HG--
extra : moz-landing-system : lando
2018-08-24 13:30:16 +00:00
Tooru Fujisawa
408ba66bfc Bug 956376 - Part 4: Use Debugger.findSources in PromisesActor#attach. r=ochameau 2018-08-23 09:27:31 +09:00
Tooru Fujisawa
d3fc03d405 Bug 956376 - Part 3: Use Debugger.findSources in ThreadActor#_discoverSources. r=ochameau 2018-08-23 09:27:30 +09:00
Tooru Fujisawa
beda8d2e75 Bug 956376 - Part 2: Support Debugger#findSource in WebReplay. r=jimb 2018-08-27 08:17:39 +09:00
Daisuke Akatsuka
0c7ac8d823 Bug 1477602 - Part 9: Move worker related logic which convert for component to middleware. r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D4034

Depends on D4033

--HG--
extra : rebase_source : 119927d70f37631b474b463634bfff007b6e40f7
2018-08-23 10:42:45 +09:00
Daisuke Akatsuka
49238b1f18 Bug 1477602 - Part 8: Move extension related logic which convert for component to middleware. r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D4033

Depends on D3758

--HG--
extra : rebase_source : 0d31e1fff75097f7c1f388c66108e9ae53e97eae
2018-08-23 10:19:41 +09:00
Daisuke Akatsuka
178cce81b9 Bug 1477602 - Part 7: Move tab related logic which convert for component to middleware. r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D3758

Depends on D3757

--HG--
extra : rebase_source : 3f0d8b08eb593551106b7ba5cfe46aa3e6ced2ad
2018-08-17 11:02:45 +09:00
Daisuke Akatsuka
44f5dcf0fe Bug 1477602 - Part 6: Give custom detail and action view component from RuntimePage. r=ladybenko
The custom components define from RuntimePage. Because removes extra conditional
branchings and information to determin the custom component.

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

Depends on D3756

--HG--
extra : rebase_source : f697a51d4eb325cb4cfa5010270c36fcf0cf03f1
2018-08-17 11:02:40 +09:00
Daisuke Akatsuka
201d180ecd Bug 1477602 - Part 5: Add a listener to detect updating the workers. r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D3756

Depends on D3755

--HG--
extra : rebase_source : f833f93d2e18a220f44d663c9feb37fb0a7ed0f1
2018-08-17 09:58:52 +09:00
Daisuke Akatsuka
4b68b7a33f Bug 1477602 - Part 4: Implement action buttons for worker. r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D3755

Depends on D3754

--HG--
extra : rebase_source : 7485165ce29964e7435c91b5cdfae8ccd80b395a
2018-08-17 09:58:52 +09:00
Daisuke Akatsuka
480b69fa38 Bug 1477602 - Part 3: Implement UI for workers. r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D3754

Depends on D3571

--HG--
extra : rebase_source : 8536b750330c820d7f00e9567a839235b09ec121
2018-08-17 09:58:52 +09:00
Daisuke Akatsuka
09d9e8f694 Bug 1477602 - Part 2: Implement a mechanism to dispatch workers. r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D3571

Depends on D3570

--HG--
extra : rebase_source : 6c8e4f53f323b6f5522cabdbbb374bf440ba72b1
2018-08-17 09:58:52 +09:00
Daisuke Akatsuka
4edecb9d3a Bug 1477602 - Part 1: Move debug target related components to dedicated folder. r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D3570

--HG--
rename : devtools/client/aboutdebugging-new/src/components/DebugTargetItem.css => devtools/client/aboutdebugging-new/src/components/debugtarget/DebugTargetItem.css
rename : devtools/client/aboutdebugging-new/src/components/DebugTargetItem.js => devtools/client/aboutdebugging-new/src/components/debugtarget/DebugTargetItem.js
rename : devtools/client/aboutdebugging-new/src/components/DebugTargetList.css => devtools/client/aboutdebugging-new/src/components/debugtarget/DebugTargetList.css
rename : devtools/client/aboutdebugging-new/src/components/DebugTargetList.js => devtools/client/aboutdebugging-new/src/components/debugtarget/DebugTargetList.js
rename : devtools/client/aboutdebugging-new/src/components/DebugTargetPane.js => devtools/client/aboutdebugging-new/src/components/debugtarget/DebugTargetPane.js
extra : rebase_source : 6f424fe74a7ccdf8accb5243cb4f827fbe141aba
2018-08-17 09:58:51 +09:00
Tiberius Oros
2ee9341d01 Merge inbound to mozilla-central. a=merge 2018-08-24 12:43:45 +03:00
Mantaroh Yoshinaga
b6192ab609 Bug 1470074 - Check direction when changing the dock position. r=gl
We add the devtool's iframe and splitter and browser content into XUL element.
If the environment is RTL, this element order is inverted.
So this patch will add the condition of direction to decide this element order.

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

--HG--
extra : moz-landing-system : lando
2018-08-24 00:09:34 +00:00
Michael Ratcliffe
231e09d925 Bug 1483817 - Font Inspector telemetry needs more granular OS versioning r=gl
- Added test to `devtools/client/inspector/test/browser_inspector_sidebarstate.js`.
- Added the OS and build number to the `devtools.main::sidepanel_changed` event.
- Created an `osNameAndVersion` getter inside `telemetry.js` because this can be useful whenever an OS supports new features.
- Log the `devtools.main::tool_timer` event from `telemetry.toolOpened` and `telemetry.toolClosed` for the animation inspector, computed view, font inspector, layout view and rule view.
- Updated the `telemetry.md` document because there is little point in breaking that change out to another bug.
- Added the devtools.main::tool_timer event to Events.yaml.

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

--HG--
extra : moz-landing-system : lando
2018-08-23 19:48:17 +00:00
Cosmin Sabou
469b620e12 Merge mozilla-central to autoland. a=merge
--HG--
rename : testing/web-platform/tests/css/compositing/support/parsing-testcommon.js => testing/web-platform/tests/css/compositing/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-backgrounds/support/parsing-testcommon.js => testing/web-platform/tests/css/css-backgrounds/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-box/support/parsing-testcommon.js => testing/web-platform/tests/css/css-box/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-cascade/support/parsing-testcommon.js => testing/web-platform/tests/css/css-cascade/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-color/support/parsing-testcommon.js => testing/web-platform/tests/css/css-color/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-images/support/parsing-testcommon.js => testing/web-platform/tests/css/css-images/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-masking/support/parsing-testcommon.js => testing/web-platform/tests/css/css-masking/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-shapes/support/parsing-testcommon.js => testing/web-platform/tests/css/css-shapes/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-transforms/support/parsing-testcommon.js => testing/web-platform/tests/css/css-transforms/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-ui/support/parsing-testcommon.js => testing/web-platform/tests/css/css-ui/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-writing-modes/support/parsing-testcommon.js => testing/web-platform/tests/css/css-writing-modes/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/filter-effects/support/parsing-testcommon.js => testing/web-platform/tests/css/filter-effects/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/motion/support/parsing-testcommon.js => testing/web-platform/tests/css/motion/parsing/support/parsing-testcommon.js
rename : third_party/rust/crossbeam-deque/.cargo-checksum.json => third_party/rust/crossbeam-deque-0.2.0/.cargo-checksum.json
rename : third_party/rust/crossbeam-deque/.travis.yml => third_party/rust/crossbeam-deque-0.2.0/.travis.yml
rename : third_party/rust/crossbeam-deque/CHANGELOG.md => third_party/rust/crossbeam-deque-0.2.0/CHANGELOG.md
rename : third_party/rust/crossbeam-deque/Cargo.toml => third_party/rust/crossbeam-deque-0.2.0/Cargo.toml
rename : third_party/rust/bitflags-0.7.0/LICENSE-APACHE => third_party/rust/crossbeam-deque-0.2.0/LICENSE-APACHE
rename : third_party/rust/crossbeam-deque/README.md => third_party/rust/crossbeam-deque-0.2.0/README.md
rename : third_party/rust/crossbeam-deque/src/lib.rs => third_party/rust/crossbeam-deque-0.2.0/src/lib.rs
rename : third_party/rust/crossbeam-epoch/.cargo-checksum.json => third_party/rust/crossbeam-epoch-0.3.1/.cargo-checksum.json
rename : third_party/rust/crossbeam-epoch/.travis.yml => third_party/rust/crossbeam-epoch-0.3.1/.travis.yml
rename : third_party/rust/crossbeam-epoch/CHANGELOG.md => third_party/rust/crossbeam-epoch-0.3.1/CHANGELOG.md
rename : third_party/rust/crossbeam-epoch/Cargo.toml => third_party/rust/crossbeam-epoch-0.3.1/Cargo.toml
rename : third_party/rust/tokio-io/LICENSE-APACHE => third_party/rust/crossbeam-epoch-0.3.1/LICENSE-APACHE
rename : third_party/rust/crossbeam-epoch/README.md => third_party/rust/crossbeam-epoch-0.3.1/README.md
rename : third_party/rust/crossbeam-epoch/examples/sanitize.rs => third_party/rust/crossbeam-epoch-0.3.1/examples/sanitize.rs
rename : third_party/rust/crossbeam-epoch/src/atomic.rs => third_party/rust/crossbeam-epoch-0.3.1/src/atomic.rs
rename : third_party/rust/crossbeam-epoch/src/collector.rs => third_party/rust/crossbeam-epoch-0.3.1/src/collector.rs
rename : third_party/rust/crossbeam-epoch/src/default.rs => third_party/rust/crossbeam-epoch-0.3.1/src/default.rs
rename : third_party/rust/crossbeam-epoch/src/deferred.rs => third_party/rust/crossbeam-epoch-0.3.1/src/deferred.rs
rename : third_party/rust/crossbeam-epoch/src/epoch.rs => third_party/rust/crossbeam-epoch-0.3.1/src/epoch.rs
rename : third_party/rust/crossbeam-epoch/src/garbage.rs => third_party/rust/crossbeam-epoch-0.3.1/src/garbage.rs
rename : third_party/rust/crossbeam-epoch/src/guard.rs => third_party/rust/crossbeam-epoch-0.3.1/src/guard.rs
rename : third_party/rust/crossbeam-epoch/src/internal.rs => third_party/rust/crossbeam-epoch-0.3.1/src/internal.rs
rename : third_party/rust/crossbeam-epoch/src/lib.rs => third_party/rust/crossbeam-epoch-0.3.1/src/lib.rs
rename : third_party/rust/crossbeam-epoch/src/sync/list.rs => third_party/rust/crossbeam-epoch-0.3.1/src/sync/list.rs
rename : third_party/rust/crossbeam-epoch/src/sync/queue.rs => third_party/rust/crossbeam-epoch-0.3.1/src/sync/queue.rs
rename : third_party/rust/crossbeam-utils/.cargo-checksum.json => third_party/rust/crossbeam-utils-0.2.2/.cargo-checksum.json
rename : third_party/rust/crossbeam-utils/CHANGELOG.md => third_party/rust/crossbeam-utils-0.2.2/CHANGELOG.md
rename : third_party/rust/crossbeam-utils/Cargo.toml => third_party/rust/crossbeam-utils-0.2.2/Cargo.toml
rename : third_party/rust/bitflags-0.7.0/LICENSE-APACHE => third_party/rust/crossbeam-utils-0.2.2/LICENSE-APACHE
rename : third_party/rust/crossbeam-utils/src/atomic_option.rs => third_party/rust/crossbeam-utils-0.2.2/src/atomic_option.rs
rename : third_party/rust/crossbeam-utils/src/lib.rs => third_party/rust/crossbeam-utils-0.2.2/src/lib.rs
rename : third_party/rust/crossbeam-utils/src/scoped.rs => third_party/rust/crossbeam-utils-0.2.2/src/scoped.rs
rename : third_party/rust/bitflags-0.7.0/LICENSE-APACHE => third_party/rust/indexmap/LICENSE-APACHE
rename : third_party/rust/lazycell/.cargo-checksum.json => third_party/rust/lazycell-0.4.0/.cargo-checksum.json
rename : third_party/rust/lazycell/CHANGELOG.md => third_party/rust/lazycell-0.4.0/CHANGELOG.md
rename : third_party/rust/lazycell/Cargo.toml => third_party/rust/lazycell-0.4.0/Cargo.toml
rename : third_party/rust/bitflags-0.7.0/LICENSE-APACHE => third_party/rust/lazycell-0.4.0/LICENSE-APACHE
rename : third_party/rust/lazycell/LICENSE-MIT => third_party/rust/lazycell-0.4.0/LICENSE-MIT
rename : third_party/rust/lazycell/README.md => third_party/rust/lazycell-0.4.0/README.md
rename : third_party/rust/lazycell/src/lib.rs => third_party/rust/lazycell-0.4.0/src/lib.rs
rename : third_party/rust/bitflags-0.7.0/LICENSE-APACHE => third_party/rust/rand-0.3.22/LICENSE-APACHE
rename : third_party/rust/bitflags-0.7.0/LICENSE-MIT => third_party/rust/rand-0.3.22/LICENSE-MIT
rename : third_party/rust/rand/appveyor.yml => third_party/rust/rand-0.3.22/appveyor.yml
rename : third_party/rust/slab/.cargo-checksum.json => third_party/rust/slab-0.3.0/.cargo-checksum.json
rename : third_party/rust/slab/Cargo.toml => third_party/rust/slab-0.3.0/Cargo.toml
rename : third_party/rust/slab/README.md => third_party/rust/slab-0.3.0/README.md
rename : third_party/rust/slab/src/lib.rs => third_party/rust/slab-0.3.0/src/lib.rs
rename : third_party/rust/tokio-io/src/read_to_end.rs => third_party/rust/tokio-io/src/io/read_to_end.rs
rename : third_party/rust/tokio-io/src/read_until.rs => third_party/rust/tokio-io/src/io/read_until.rs
extra : rebase_source : 4c022c31e626832d12535d88e7caea452419ac2f
2018-08-24 00:44:17 +03:00
Cosmin Sabou
3211507dfb Merge mozilla-inbound to mozilla-central. a=merge 2018-08-24 00:40:14 +03:00
Alexandre Poirot
fe663d5817 Bug 1485702 - Remove unused WalkerFront.search's selectorsOnly argument. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D4089

--HG--
extra : moz-landing-system : lando
2018-08-23 15:36:48 +00:00
Nicolas Chevobbe
8124e26c9f Bug 1484682 - Ensure the sidebar can overflow; r=Honza.
The sidebar regressed at some point and wasn't showing
a scrollbar when it was needed. This patch fixes that
by making the sidebar overflow and adds a test to make
sure we don't regress.

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

--HG--
extra : moz-landing-system : lando
2018-08-23 09:46:02 +00:00
Kris Maglione
9a8a840c9d Bug 1484496: Part 5d - Convert devtools/ nsISimpleEnumerator users to use JS iteration. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D3732

--HG--
extra : rebase_source : 0154c72286ce0ca3ade84c5c360122861a36c7b0
extra : histedit_source : 83a8b267becbf86db5f8789d3673bd529da35286
2018-08-18 19:28:37 -07:00
Gabriel Luong
598acca2d4 Bug 1487177 - Fix rule view overridden item alignment. r=bgrins 2018-08-29 15:14:09 -04:00
Brian Hackett
05a653076f Bug 1483319 Part 5 - Ensure that the child process is replaying when sending requests that might trigger recording divergence, r=jimb.
--HG--
extra : rebase_source : 330e69e64ff1247049e75fe4e7260a487e3b6463
2018-08-18 05:40:13 -10:00
Brian Hackett
bc4ee25f64 Bug 1483319 Part 2 - Treat replayForcedPause as unsolicited, r=jimb.
--HG--
extra : rebase_source : 4cf05351ec2a83a069599f904f3fbee6d626a0f1
2018-08-18 05:39:34 -10:00
Brian Hackett
a5ab0eb31b Bug 1483319 Part 1 - Transmit console message arguments as debuggee values, r=jimb.
--HG--
extra : rebase_source : 543fc9485766c0cbfa8d187cec225088ab16c385
2018-08-18 05:39:01 -10:00
Cosmin Sabou
b69e48dda2 Merge mozilla-central to mozilla-inbound. a=merge 2018-08-24 00:46:31 +03:00
Jason Laster
a86d94efc7 Bug 1485752 - Update Debugger Frontend v86. r=dwalsh 2018-08-23 12:59:00 +03:00
Gabriel Luong
f2b57d85e0 Bug 1470380 - Enable the first simple version of the flexbox highlighter (M0) in nightly only. r=pbro 2018-08-28 11:35:58 -04:00
Gabriel Luong
3bb928edf1 Bug 1486797 - flex display badge is not active when the flexbox highlighter is shown. r=miker 2018-08-28 11:18:38 -04:00
Gabriel Luong
d5cd968047 Bug 1478397 - Part 4: Implement the methods to show the flex item highlighter from HighlightersOverlay. r=rcaliman 2018-08-28 10:43:40 -04:00
Gabriel Luong
44a09b6489 Bug 1478397 - Part 3: Return the computed style properties and flex item sizing information from the FlexItemActor. r=rcaliman 2018-08-28 10:43:40 -04:00
Gabriel Luong
a1ebb667da Bug 1478397 - Part 2: Display an ordered list of flex items when the flex container is highlighted. r=rcaliman 2018-08-28 10:43:40 -04:00
Gabriel Luong
24cbdfc7b5 Bug 1478397 - Part 1: Implement a FlexItemActor to retrieve information about the flex items. r=rcaliman 2018-08-28 10:43:39 -04:00
Gabriel Luong
78fb8e5871 Bug 1478397 - Part 0: Reorganize the flex container checkbox and flex container properties to match new designs. r=rcaliman
--HG--
rename : devtools/client/inspector/flexbox/components/FlexContainerItem.js => devtools/client/inspector/flexbox/components/FlexContainer.js
2018-08-28 10:43:39 -04:00
Alexandre Poirot
fed04d2b6d Bug 1026583 - Prevent emitting webconsole event when its actor is already destroyed. r=Honza
Summary: Depends On D4330

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1026583

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

MozReview-Commit-ID: 5yGFUQq4J9W
2018-08-28 05:42:33 -07:00
Alexandre Poirot
621a50208d Bug 1026583 - Avoid sending network monitor events when the related actors are already destroyed. r=Honza
Summary: Depends On D4329

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1026583

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

MozReview-Commit-ID: H8j43mSIUnc
2018-08-28 05:42:33 -07:00
Alexandre Poirot
249c49e788 Bug 1026583 - Avoid sending events for already destroyed actors. r=yulia
Reviewers: yulia!

Tags: #secure-revision

Bug #: 1026583

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

MozReview-Commit-ID: 3485VTbMRqO
2018-08-28 05:42:32 -07:00
Gurzau Raul
ebba8abeef Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-23 15:30:45 +03:00
Csoregi Natalia
f7cc5bd6b5 Backed out changeset 933160fab822 (bug 1485471) for browser_browser_toolbox_debugger.js failures. a=backout 2018-08-23 15:16:14 +03:00
Csoregi Natalia
67cc8b873a Backed out 3 changesets (bug 956376) for browser_dbg-quick-open.js failures. a=backout
Backed out changeset 3e61a2874367 (bug 956376)
Backed out changeset 8169bed1fafc (bug 956376)
Backed out changeset 46dfdfe14067 (bug 956376)
2018-08-23 15:15:31 +03:00
Julien Wajsberg
c0b9a3f1ff Bug 1485363 - Remove inline-block so that the ellipsis works properly instead of replacing the whole element at once r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D3975

--HG--
extra : moz-landing-system : lando
2018-08-22 20:02:33 +00:00
fvsch
905bea9a0c Bug 1479750 - Part 2: Improve console alignment, visual consistency and icons; r=nchevobbe
Depends on D3482

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

--HG--
extra : moz-landing-system : lando
2018-08-23 08:00:24 +00:00
fvsch
eed058e508 Bug 1479750 - Part 1: Tweak clear icon and devtools-separator style; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D3482

--HG--
extra : moz-landing-system : lando
2018-08-23 07:59:53 +00:00
Brindusan Cristian
477abceb8a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-23 06:43:53 +03:00
Brian Grinstead
b0a1f4327b Bug 1463669 - Enable syntax highlighting of input in the console output when possible;r=nchevobbe
When you enter JS into the console, we can now syntax highlight it in
the output when CodeMirror is enabled.

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

--HG--
extra : moz-landing-system : lando
2018-08-23 00:09:24 +00:00
Alexandre Poirot
eafbded463 Bug 1485300 - Remove duplicated implementation of NetworkObserver. r=Honza
MozReview-Commit-ID: F3yDYfmsv59

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

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

--HG--
extra : moz-landing-system : lando
2018-08-23 07:36:08 +00:00
Mantaroh Yoshinaga
d1176af452 Bug 1480149 - Disable tab animations for users who prefer reduced animation. r=birtles
This patch will use the 'prefers-reduced-motion' in order to disable the
tab animations.

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

--HG--
extra : moz-landing-system : lando
2018-08-23 05:24:35 +00:00
Jason Laster
487df8e167 Bug 1485471 - Update Debugger Frontend v85. r=dwalsh 2018-08-22 13:17:00 +03:00
Gabriel Luong
62e0916083 Bug 1484483 - Part 3: Show the list of flex container properites in the Flexbox panel. r=rcaliman
--HG--
rename : devtools/client/inspector/boxmodel/components/ComputedProperty.js => devtools/client/inspector/layout/components/ComputedProperty.js
2018-08-22 21:07:08 -04:00
Gabriel Luong
4a7f648297 Bug 1484483 - Part 2: Return the computed style properties of the flex container from the FlexboxActor. r=rcaliman 2018-08-22 21:07:08 -04:00
Gabriel Luong
7c6291570c Bug 1484483 - Part 1: Refactor the flex container listing out of the Flexbox Component into FlexContainerList. r=rcaliman
- Rename FlexboxItem component to FlexContainerItem to make it less ambiguous.
- Refactor the flex container listing out of the Flexbox Component into FlexContainerList.

--HG--
rename : devtools/client/inspector/flexbox/components/FlexboxItem.js => devtools/client/inspector/flexbox/components/FlexContainerItem.js
2018-08-22 21:07:07 -04:00
Tooru Fujisawa
9e5866ba73 Bug 956376 - Part 3: Use Debugger.findSources in PromisesActor#attach. r=ochameau 2018-08-23 09:27:31 +09:00
Tooru Fujisawa
a64277c15d Bug 956376 - Part 2: Use Debugger.findSources in ThreadActor#_discoverSources. r=ochameau 2018-08-23 09:27:30 +09:00
Brindusan Cristian
d21b936680 Merge inbound to mozilla-central. a=merge 2018-08-23 01:00:10 +03:00
Narcis Beleuzu
e50eb3d7ea Backed out changeset ab8b409edb0e (bug 1333994) for dt failures on browser_webconsole_check_stubs_network_event. CLOSED TREE 2018-08-22 21:09:55 +03:00
Razvan Caliman
e5f4c6cf3d Bug 1485326 - Set the Font Editor pref to true for all channels. r=gl
Let the Font Editor feature ride the trains.

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

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

--HG--
extra : moz-landing-system : lando
2018-08-22 17:03:30 +00:00
Noemi Erli
e0e342c6ae Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-22 19:31:52 +03:00
Noemi Erli
f2ac80ab7d Merge inbound to mozilla-central. a=merge 2018-08-22 19:28:33 +03:00
arthur.iakab
457fa2b8ab Backed out 7 changesets (bug 1473513) for failing devtools e.g. leakcheck | default process: 1618727 bytes leaked
Backed out changeset deb8812556ef (bug 1473513)
Backed out changeset 5bf38cfa04f9 (bug 1473513)
Backed out changeset 6e157bea362a (bug 1473513)
Backed out changeset 12eb1139a802 (bug 1473513)
Backed out changeset ce86ea60a31c (bug 1473513)
Backed out changeset 7acc52a7f81f (bug 1473513)
Backed out changeset 4e1e283b347e (bug 1473513)

--HG--
extra : rebase_source : a79787b05e0cf6c837e08c9541d559e4509b0deb
2018-08-22 18:23:46 +03:00
Yura Zenevich
d3673a24f2 Bug 1482454 - add learn more links across accessibility panel. r=gl, flod
MozReview-Commit-ID: GWrdjnzlS8b
2018-08-22 10:23:20 -04:00
Yura Zenevich
a6ff06e3c5 Bug 1482454 - update a11y panel's tree/sidebar keyboard focus styling. r=gl
MozReview-Commit-ID: 8NIuRyCkuws
2018-08-22 10:23:19 -04:00
Yura Zenevich
daf510036a Bug 1482454 - Display a "New" indicator to promote the accessibility panel. r=gl
MozReview-Commit-ID: 4T9a0Rxw2db
2018-08-22 10:23:19 -04:00
Jason Laster
0e4e52311d Bug 1484972 - Update Debugger Frontend v84. r=dwalsh 2018-08-21 20:36:00 +03:00
Nicolas Chevobbe
deb15674b1 Bug 1483880 - Always hide the autocompletion popup in acceptProposedCompletion; r=Honza.
When hitting enter, if there was no autocompletionText shown (because
the input was matching a proposed value), then the autocompletion
popup wasn't closed.
We now close it every time, and only check the completionText to
insert a possible string after the cursor.
A test case is added to make sure we don't regress this.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 11:40:09 +00:00
Jan Odvarko
3476ed9421 Bug 1470815 - Make sure the Security panel is visible for HTTP requests in the Console panel; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D3904

--HG--
extra : moz-landing-system : lando
2018-08-22 11:14:45 +00:00
Noemi Erli
a6271be24c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-22 12:53:37 +03:00
Noemi Erli
a3eb003ecf Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/web-platform/tests/css/motion/offset-path-string.html => testing/web-platform/tests/css/motion/offset-path-string-001.html
2018-08-22 12:49:02 +03:00
Belén Albeza
11358a959e Bug 1460862 - Smooth scrolling when clicking on 'reveal' in slotted elements. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D3509

--HG--
extra : moz-landing-system : lando
2018-08-22 08:35:40 +00:00
Alexandre Poirot
740bef2e99 Bug 1484764 - Prevent netmonitors is undefined exception when closing tools during page load. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D3863

--HG--
extra : moz-landing-system : lando
2018-08-21 17:06:19 +00:00
Julian Descottes
f179d033c2 Bug 1479382 - Add README.md in aboutdebugging-new to document architecture guidelines;r=daisuke,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D2708

--HG--
extra : moz-landing-system : lando
2018-08-21 08:32:26 +00:00
Nicolas Chevobbe
9257e6c166 Bug 1479758 - Enable history navigation with Cmd/Ctrl ArrowUp/Down; r=bgrins.
Matches old-JsTerm behavior.

Depends on D2824

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

--HG--
extra : moz-landing-system : lando
2018-08-21 16:05:45 +00:00
Ciure Andrei
40b18c41b7 Backed out 7 changesets (bug 1429298) for xpcshell failures properties-db.js CLOSED TREE
Backed out changeset 48214a8e1b6b (bug 1429298)
Backed out changeset cc2785ab879e (bug 1429298)
Backed out changeset c217209a3b04 (bug 1429298)
Backed out changeset 196fc7b48b84 (bug 1429298)
Backed out changeset 761e9bb54adb (bug 1429298)
Backed out changeset 0b9ec0d707b5 (bug 1429298)
Backed out changeset 38ad1cc1b0c8 (bug 1429298)

--HG--
rename : testing/web-platform/tests/css/motion/offset-path-string-002.html => testing/web-platform/tests/css/motion/offset-path-string.html
2018-08-22 08:01:49 +03:00
Boris Chiou
4171197c25 Bug 1429298 - Part 2: Define offset-path and implement it in style system. r=emilio
Define OffsetPath & SVGPathData on the servo-side, and StyleMotion &
StyleSVGPath on the gecko-side. We parse the SVG Path string into a
vector of PathCommand. To build the gfx::Path, we will convert it into
gfx::Path later in a different patch.

The basic flow is:
  - Parse SVG Path String into SVGPathData (in Rust).
  - Use cbindgen to make sure the layout of PathCommand and StylePathCommand, and then set the Box[PathCommand] into nsTArray<StylePathCommand>.
  - Try to convert nsTArray<StylePathCommand> into gfx::Path. (This part will be implemented in a different patch.)

Finally, we use the gfx::Path to create a motion path transform.
The layout implementation is in the later patch.

Depends on D2962

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

--HG--
extra : moz-landing-system : lando
2018-08-22 01:24:13 +00:00
Tiberius Oros
05b46cf200 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-22 00:59:19 +03:00
Ciure Andrei
a52997851e Backed out changeset 4f7d58a640b8 (bug 1483173) for browser_jsterm_screenshot_command_clipboard.js failures CLOSED TREE
--HG--
rename : devtools/shared/screenshot/capture.js => devtools/server/actors/webconsole/screenshot.js
2018-08-21 22:03:10 +03:00
Nicolas Chevobbe
153d0e78b0 Bug 1482798 - Use a flex layout for message body; r=bgrins.
It looks like we don't really need a grid layout anymore
for the message body AND it significantly reduces the time
spent on reflow.

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

--HG--
extra : moz-landing-system : lando
2018-08-21 16:25:49 +00:00
Brian Grinstead
e858b8d083 Bug 1484759 - Update references to browser.xul in tests to use AppConstants.BROWSER_CHROME_URL;r=Gijs
This only includes functions that seem to be using it to reference a window.
There are other instances where it's used as a generic chrome URI, and those
are left unchanged.

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

--HG--
extra : moz-landing-system : lando
2018-08-21 15:33:26 +00:00
yulia
9cbf625f78 Bug 1483173 - introduce screenshot actor; r=ochameau
This patch introduces a screenshot actor, which allows the screenshot functionality to be
shared across tools, and also implements it for the toolbox itself

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

--HG--
rename : devtools/server/actors/webconsole/screenshot.js => devtools/shared/screenshot/capture.js
extra : moz-landing-system : lando
2018-08-21 13:10:52 +00:00
yulia
c67268db86 Bug 1483166 - refactor evalWithDebugger into its own file; r=nchevobbe,bhackett
this combines the changes that I made in bug 1464461
(https://reviewboard.mozilla.org/r/253132/diff/1#index_header) with the changes for web replay made
by Brian Hackett, along with some clean up that was done by Honza with regards to helpers being
executed. This change should not have any functional impact on the code base, but it should make it
easier to work with the evalWithDebugger functionality than it has been so far.

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

--HG--
rename : devtools/server/actors/webconsole.js => devtools/server/actors/webconsole/eval-with-debugger.js
extra : moz-landing-system : lando
2018-08-21 14:01:02 +00:00
Nicolas Chevobbe
08f60bed59 Bug 1481443 - Disable Alt-B & Alt-F shortcut in source editor; r=gl.
Without this patch, hitting Alt-B was adding a character **and** moving
the cursor to the previous group, while Alt-F was also adding a character
**and** moving the cursor to the next group.
We disable the shortcut to fix this and add a test to make sure we don't
regress.

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

--HG--
extra : moz-landing-system : lando
2018-08-21 12:29:00 +00:00
Daisuke Akatsuka
abd415337c Bug 1480249: Split up computed value path test. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D3946

--HG--
extra : rebase_source : b068bf9c11a687b3688ecad13b691e8458d4a00e
2018-08-22 09:32:57 +09:00
Boris Chiou
dbe6b4f2db Bug 1429298 - Part 7: Tests. r=emilio
In wpt, now we support "offset-path: none | path()", so parsing none or
path function should be correct. Animations which animate "from none"
or "to none" will pass because we could serialize "none", even if we
don't support animations on offset-path.

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


--HG--
rename : testing/web-platform/tests/css/motion/offset-path-string.html => testing/web-platform/tests/css/motion/offset-path-string-001.html
2018-08-21 22:41:46 -07:00