Commit Graph

610283 Commits

Author SHA1 Message Date
Mantaroh Yoshinaga
095f89b569 Bug 1465644 - Part 3. Hide Splitter if the network panel detail has not opened. r=honza
Network monitor has the splitter box. This splitter is displayed between the
request list panel and network details panel. However, this splitter is
displayed even if the network details panel has not displayed.

This patch will set the spliter size to zero if the network details panel
is collapsed.

--HG--
extra : rebase_source : c20abd113ee91402bd80cf257d7e61e5b3bbdba1
extra : amend_source : e43345ba289907c1b10744e17b102f7775618e78
2018-08-22 16:08:27 +09:00
Mantaroh Yoshinaga
b5919ca49c Bug 1465644 - Part 2. Introduce the emphasized splitter style. r=nchevobbe
--HG--
extra : rebase_source : e7213df93be49d8368679d23b5da66504df21abe
2018-08-22 16:07:53 +09:00
Mantaroh Yoshinaga
b4e5a8def5 Bug 1465644 - Part 1. Change characode of SplitConsole.css from dos to unix. r=nchevobbe
--HG--
extra : rebase_source : 1bd3711edb6f2af2c22c85fef9993c57cd0c3538
2018-08-22 16:07:13 +09:00
Tim Nguyen
9c374e6651 Bug 1443561 - Part 1b: Move #navigator-toolbox rule back to browser/base/content to avoid CSP issues. r=me 2018-08-22 09:06:03 +01:00
Tim Nguyen
3a102655bd Backed out changeset 054c113b5cb1 for landing with unrelated changes 2018-08-22 09:04:52 +01:00
Tim Nguyen
dcb6046486 Bug 1443561 - Part 1b: Move #navigator-toolbox rule back to browser/base/content to avoid CSP issues. r=me
--HG--
extra : rebase_source : 11702a285cd5e41884a4786b5f74c497539dc466
2018-08-22 09:01:38 +01:00
Nicholas Nethercote
de3b7e3af9 Bug 1483182 - Do report OOM failures in HashTable::reserve(). r=luke
This fixes a typo.

--HG--
extra : rebase_source : bc5d5eaa187797aa1167790c2bddd2db2110bf01
2018-08-21 19:07:20 +10:00
Nicholas Nethercote
d4f517f3e2 Bug 1483182 - Don't allocate in HashTable::lookupOrAdd(). r=luke
Currently lookupOrAdd() will allocate if the table has no storage. But it
doesn't report an error if the allocation fails, which can cause problems.

This patch changes things so that lookupOrAdd() doesn't allocate when the table
has no storage. Instead, it returns an AddPtr that is not *valid* (its mTable
is empty) but it is *live*, and can be used in add(), whereupon the allocation
will occur.

The patch also makes Ptr::isValid() and AddPtr::isValid() non-public, because
the valid vs. live distinction is non-obvious and best kept hidden within the
classes.

--HG--
extra : rebase_source : 95d58725d92cc83332e27a61f98fa61185440e26
2018-08-21 13:49:17 +10: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
Boris Chiou
cc2e8fb329 Bug 1429298 - Part 6: Apply motion path transform matrix. r=nical
We implement the layout part of offset-path. Now we don't have
offset-distance, so use the default value, 0%, for it.

Note: rename mCombinedTransform as mIndividualTransform, which only
stores the combined individual transforms. We apply the individual
transforms, motion path transform, and specified transform in
ReadTransforms. (We have to follow the order, so we don't combine the
specified transform in FinishStyle.)

Differential Revision: https://phabricator.services.mozilla.com/D2968
2018-08-21 22:41:44 -07:00
Boris Chiou
cfadc28092 Bug 1429298 - Part 5: Implement BuildPath for offset-path. r=jwatt
Implement one variant of BuildPath to accept nsTArray<StylePathCommand>,
which is used by <offset-path> (and clip-path in the future).

Differential Revision: https://phabricator.services.mozilla.com/D2967
2018-08-21 22:41:42 -07:00
Boris Chiou
b2e2f913eb Bug 1429298 - Part 4: Rename builder as aBuilder in SVGPathData.cpp. r=TYLin
Follow the rule of naming for the function parameters.

Differential Revision: https://phabricator.services.mozilla.com/D3922
2018-08-21 22:41:41 -07:00
Boris Chiou
d935ea329c Bug 1429298 - Part 3: Use macro for path parser. r=emilio
There are a lot of duplicates, so we use macro to refine them.

Differential Revision: https://phabricator.services.mozilla.com/D2966
2018-08-21 22:41:39 -07:00
Boris Chiou
a8bd6dfc8a 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.

Differential Revision: https://phabricator.services.mozilla.com/D2963
2018-08-21 22:41:38 -07:00
Boris Chiou
a3bac78905 Bug 1429298 - Part 1: Define the preference for motion-path. r=emilio
Define the preference. I will enable it only for debug usage and test
coverage in a different patch.

Differential Revision: https://phabricator.services.mozilla.com/D2962
2018-08-21 22:41:25 -07:00
sotaro
f096eb50f2 Bug 1457390 - Forward rust log to android_log on android r=bholley 2018-08-22 13:48:53 +09:00
Mike Hommey
89dfab93fc Bug 1485210 - Add --sym-offsets=yes to valgrind command line. r=njn
When valgrind prints out backtraces, it prints raw addresses and symbol
names, but that doesn't help find the exact code that caused the errors,
because we don't know where the libraries are loaded.

With --sym-offsets=yes, it adds the offset from the symbol, which allows
to find the relevant code in the binary.
2018-08-22 13:44:38 +09:00
Andreea Pavel
c8dfc19d97 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-08-22 06:38:49 +03:00
Andreea Pavel
883da574e8 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-22 06:35:14 +03:00
Mike Hommey
9c245b8d05 Bug 1484888 - Apply upstream patch that fixes a clang crash with stack overflow on PGO + LTO on Linux. r=froydnj
For some reason, clang 6 crashes with a stack overflow on PGO + LTO on
Linux 64 bits. Clang 7 doesn't, but has other problems.

After some bisecting, I found the following:
- r322684 is the first revision that is broken on the release_60 branch.
- that revision is a cherry pick of r322313 from trunk, which is
  similarly broken.
- trunk was fixed by r322325, which, funnily enough, predates when
  r322313 was cherry-picked.

While the change from r322325 is relatively large, mixing multiple
different changes in a single commit, there also haven't been
significant changes to the same file on trunk since (one macro name
change, one documentation change, and a change related to debug info),
which would tend to indicate the change is not going to break anything,
or at least not more than upgrading to clang 7 would.

The exact part that fixes the issue could probably be found in this
large commit, but I didn't feel like digging into it further considering
the above.
2018-08-22 09:52:17 +09:00
Boris Chiou
d56d102ae0 Bug 1485197 - Bump cbindgen to 0.6.2. r=heycam
In order to support operator==() for tagged enum, we have to bump the version to
0.6.2.

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

--HG--
extra : moz-landing-system : lando
2018-08-21 23:40:51 +00:00
Daosheng Mu
90d9af9138 Bug 1485095 - Fix can't get VRSystemManagerExternal in Android. r=kip
MozReview-Commit-ID: F82UoWhVVWs

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

--HG--
extra : moz-landing-system : lando
2018-08-21 22:01:00 +00:00
Brian Birtles
5f63e77fb8 Bug 1484901 - Add tolerance for time comparison in playing-an-animation.html; r=hiro
This test appears to occasionally fail. The suspected cause is a combination of:

* timer clamping (due to vsync) resulting in the current timeline time after
  resuming playback and the "ready time" being equal
* difference in floating-point precision used in calculating the two measures --
  one calculation done in JS and one done using the UA's internal representation
  of times.

Therefore this patch adds the standard tolerance for comparing time values to
this comparison.

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

--HG--
extra : moz-landing-system : lando
2018-08-21 21:39:02 +00:00
Tiberius Oros
05b46cf200 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-22 00:59:19 +03:00
Tiberius Oros
1e227e0ad1 Merge inbound to mozilla-central. a=merge 2018-08-22 00:56:31 +03:00
Tiberius Oros
16124ae2ba Backed out changeset 9c29ffcfc052 (bug 1482052) for damp test failures a=backout 2018-08-22 00:49:59 +03:00
Tudor-Gabriel Vîjială
7dcb482bb3 Bug 1481834 - Fix running robocop tests on debug builds. r=gbrown
Fix running robocop tests on debug builds.

This patch fixes multidex issues when running robocop on debug builds.

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

--HG--
extra : moz-landing-system : lando
2018-08-21 20:02:13 +00:00
Mike Conley
20644c9627 Bug 1485023 - Replace checks for PresShells when suppressing displayports with assertions. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D3905

--HG--
extra : moz-landing-system : lando
2018-08-21 21:45:07 +00:00
Timothy Guan-tin Chien
2878e48d64 Bug 1471657 - Update Nightly DMG background to high-res r=Dolske
This updates the Nightly DMG background to high resolution as given
by shorlander.

The image is passed through zopflipng as done in bug 1234008,
with metadata added back using exiftool as described in bug 1454610 comment 13.

Change is verified locally by re-packaging artifact build and inspecting
the resulting DMG.

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

--HG--
extra : moz-landing-system : lando
2018-08-21 20:54:30 +00:00
Andrew Halberstadt
bc487acc65 Bug 1397722 - [tryselect] Filter 'ccov' tasks out of the target task set (now they must be selected with --full), r=sparky
Usually people don't mean to schedule code coverage tasks on try. But e.g |mach
try fuzzy -q "'mochitest"|, will cause them to be scheduled as a side effect.
This results in wasted resources and superfluous data in ActiveData.

This patch makes it so you need to explicitly pass --full to select ccov tasks
(even though they're technically part of the target task graph).

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

--HG--
extra : moz-landing-system : lando
2018-08-21 20:00:32 +00:00
Randall Barker
869419ee56 Bug 1484960 - Remove IllegalStateException throw on multiple calls to overrides in GeckoAppShell r=jchen
Differential Revision: https://phabricator.services.mozilla.com/D3911

--HG--
extra : moz-landing-system : lando
2018-08-21 19:17:30 +00:00
Joel Maher
265d508303 Bug 1482151 - run wasm-misc in baseline and ion optional modes. r=ahal
move wasm-misc and unity3d benchmarks to tier2; run wasm-misc in different preferences

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

--HG--
extra : moz-landing-system : lando
2018-08-21 18:21:40 +00: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
Marcos Cáceres
d9c9ac71d9 Bug 1483156 - Currency of PaymentItem total should be 'USD', but got BOB r=edenchuang
--HG--
extra : amend_source : 8bfb03ef649733c587b1b04bfea6260fb5b2b4fd
2018-08-21 20:16:00 +03:00
Gabriel Luong
10a0917d53 Bug 1485125 - Lazy load the Device Modal in RDM. r=miker 2018-08-21 22:03:09 -04:00
Tooru Fujisawa
ce0d96216e Bug 1483188 - Fix the assertion for reaction record fields. r=anba 2018-08-22 10:01:34 +09:00
Dorel Luca
3fa761ade8 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-21 19:01:08 +03:00
Chris Manchester
73ca2355f2 Bug 1411736 - Convert xpcshellConstantsPP.js to FINAL_TARGET_PP_FILES. r=firefox-build-system-reviewers,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D3855

--HG--
extra : moz-landing-system : lando
2018-08-21 14:58:39 +00:00
Dennis Schubert
1ff837285f Bug 1484796 - Add console logging statements to site patches. r=kmag,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D3818

--HG--
extra : moz-landing-system : lando
2018-08-21 16:10:23 +00:00
Michael Kaply
69a2437c19 Bug 1479857 - Enable Autoconfig sandbox for Talos. r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D3907

--HG--
extra : moz-landing-system : lando
2018-08-21 17:41:46 +00:00
Timothy Guan-tin Chien
70c9490b83 Bug 1478477 - Update .DS_Store for Firefox Developer Edition r=Dolske
Following steps in bug 1435359 comment 2 I have managed to restore the icon
position and the background image of the Developer Edition DMG.

We should uplift this to all affect versions.

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

--HG--
extra : moz-landing-system : lando
2018-08-21 16:49:28 +00:00
Honza Bambas
0a40274f51 Bug 1469117 - Make sure we reset network socket timeout epoch to 0 when timeout on a socket is turned off r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D3880

--HG--
extra : moz-landing-system : lando
2018-08-21 14:33:52 +00: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
Dorel Luca
b704584332 Merge mozilla-central to autoland 2018-08-21 19:03:25 +03:00
Dave Townsend
b3c5fb9be4 Bug 1484846: Expose a unique hash for the application install directory. r=froydnj
Profile-per-install uses a hash of the install directory to identify different
installs of Firefox. This exposes the existing cityhash generated hash from
nsXREDirProvider and makes it available on all platforms.

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

--HG--
extra : moz-landing-system : lando
2018-08-21 14:53:03 +00:00
Henri Sivonen
57d5f3ee13 Bug 1484984 - Avoid writing past the logical length of a string in networking code. r=valentin
MozReview-Commit-ID: IIffoxnF6KS

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

--HG--
extra : moz-landing-system : lando
2018-08-21 14:20:48 +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