Commit Graph

657748 Commits

Author SHA1 Message Date
Ted Campbell
5f5b082297 Bug 1471062 - Pad source notes to target alignment. r=jandem
Pad the source notes with SRC_NULL such that the code and notes arrays
together maintain uint32_t alignment. This is will later be used to add
optional trailing arrays with uint32_t alignment. The allocator would
already be rounding up our allocation so actually memory usage should be
neutral.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 20:49:43 +00:00
Ted Campbell
04085d857f Bug 1471062 - Add SharedScriptData::offsetToPointer. r=jandem
Make access to trailing arrays more consistent with other data
structures and better encapsulate the reinterpret_casts.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 18:42:35 +00:00
Ted Campbell
fdabbcfb9a Bug 1471062 - Make heap-analysis/byteSize-of-scripts jit-test more complex r=jandem,arai
As PrivateScriptData contains less data, we need to make this test have
more complicated functions so that the test is not sensistive to
allocator rounding. This also removes the binjs variant of test until
they next time they are regenerated.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 15:36:43 +00:00
Mike Hommey
8ad5ae09a7 Bug 1561494 - Remove gconf from bootstrap. r=froydnj
Gconf support was removed in bug 1433685.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 12:54:30 +00:00
Emilio Cobos Álvarez
e86340308c Bug 1559814 - Use the cbindgen representation for grid line properties. r=mats
We clamp earlier (parse time rather than computed value time), but that's the
only behavior change, which I think doesn't really matter.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 21:21:38 +00:00
Emilio Cobos Álvarez
914637451c Bug 1559814 - Generate top-level function and constant declarations for the style crate. r=heycam
This needs https://github.com/eqrion/cbindgen/pull/362, but I expect it to be
uncontroversial. I'll add a patch to this bug when it's merged to update it.

cbindgen historically didn't include these, but it turns out to be pretty useful
to generate constants for the style crate (since the binding crate is
`servo/ports/geckolib`).

An alternative is to get a completely different cbindgen-generated header for
these, but that seems a bit wasteful. This generates the constants with the
Style prefix (so we'll get `StyleMAX_GRID_LINE` for example), which is very
ugly. But we probably want to eventually stop using the Style prefix and use a
namespace instead, plus it's trivial to do `auto kMaxLine = StyleMAX_GRID_LINE`,
for example, so it's probably not a huge deal.

Another alternative would be to use associated consts, which _are_ generated by
cbindgen. Something like:

```
struct GridConstants([u8; 0]);
impl GridConstants {
    const MAX_GRID_LINE: i32 = 10000;
}
```

Which would yield something like:

```
static const int32 StyleGridConstants_MAX_GRID_LINE = 10000;
```

I'm not sure if you find it preferrable, but I'm also happy to change it in a
follow-up to use this.

We need to fix a few manual C++ function signature definitions to match the C++
declaration.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 21:21:28 +00:00
Emilio Cobos Álvarez
df11d22ea2 Bug 1559814 - Remove GetGridLine since it's dead code now that Stylo serializes all grid lines. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D35196

--HG--
extra : moz-landing-system : lando
2019-06-26 21:21:13 +00:00
Emilio Cobos Álvarez
96113a798b Bug 1559814 - Use a more similar representation in Rust and C++ for grid lines. r=heycam
Option<> is not FFI-safe, so if we want to use the same representation
everywhere we need to get rid of it. This also makes it take the same amount of
memory as the C++ representation, and it's not very complex, I'd think.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 21:21:06 +00:00
Jan-Ivar Bruaroey
8fd4637236 Bug 1528031 - Update tests to work with [SecureContext] navigator.mediaDevices. r=pehrsons,smaug
Differential Revision: https://phabricator.services.mozilla.com/D35970

--HG--
extra : moz-landing-system : lando
2019-06-26 18:15:50 +00:00
Jan-Ivar Bruaroey
4abced2ba4 Bug 1528031 - Require [SecureContext] for navigator.mediaDevices & navigator.mozGetUserMedia(). r=pehrsons,smaug
Differential Revision: https://phabricator.services.mozilla.com/D33836

--HG--
extra : moz-landing-system : lando
2019-06-26 18:15:23 +00:00
Jonathan Kew
fee6d28be8 Bug 1561600 - Support the special Osaka-mono font (family) for Japanese on macOS, by hooking up the font.single-face-list pref to the shared font-list's alias table. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D36023

--HG--
extra : moz-landing-system : lando
2019-06-26 18:58:48 +00:00
Mihai Alexandru Michis
aaec1d24b3 Bug 1560061 - Fix linting issues in test_connectRoot_webcomponent.html r=gandalf CLOSED TREE
--HG--
extra : amend_source : b2d5be652518b517986256942c970bba2bbe1c1e
2019-06-27 00:38:03 +03:00
Mihai Alexandru Michis
0f86a6b30b Backed out 4 changesets (bug 1559814) for causing bustages. CLOSED TREE
Backed out changeset 11ec9de59076 (bug 1559814)
Backed out changeset fec03c5d3661 (bug 1559814)
Backed out changeset 62f9d89fb827 (bug 1559814)
Backed out changeset 362d9435ca4e (bug 1559814)
2019-06-27 00:04:50 +03:00
Mike Shal
c8de244aee Bug 1561728 - Set NEED_XVFB for linux32 PGO run tasks; r=firefox-build-system-reviewers,chmanchester
Small fixup for bug 1561147 - Linux run tasks now have to set NEED_XVFB
to true in order to get the virtual framebuffer needed to run Firefox in
automation.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 20:46:21 +00:00
Gabriele Svelto
c72fd9d25d Bug 1540784 - Re-enable marionette tests that depend on the crash reporter on Windows/AArch64 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D35994

--HG--
extra : moz-landing-system : lando
2019-06-26 12:50:45 +00:00
Zibi Braniecki
ff1fca971b Bug 1560061 - Make DOMLocalization support ShadowDOM as roots. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D35584

--HG--
rename : dom/l10n/tests/mochitest/dom_localization/test_connectRoot.html => dom/l10n/tests/mochitest/dom_localization/test_connectRoot_webcomponent.html
extra : moz-landing-system : lando
2019-06-26 17:04:43 +00:00
Emilio Cobos Álvarez
f792986565 Bug 1559814 - Use the cbindgen representation for grid line properties. r=mats
We clamp earlier (parse time rather than computed value time), but that's the
only behavior change, which I think doesn't really matter.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 20:33:23 +00:00
Emilio Cobos Álvarez
48ab92e23c Bug 1559814 - Generate top-level function and constant declarations for the style crate. r=heycam
This needs https://github.com/eqrion/cbindgen/pull/362, but I expect it to be
uncontroversial. I'll add a patch to this bug when it's merged to update it.

cbindgen historically didn't include these, but it turns out to be pretty useful
to generate constants for the style crate (since the binding crate is
`servo/ports/geckolib`).

An alternative is to get a completely different cbindgen-generated header for
these, but that seems a bit wasteful. This generates the constants with the
Style prefix (so we'll get `StyleMAX_GRID_LINE` for example), which is very
ugly. But we probably want to eventually stop using the Style prefix and use a
namespace instead, plus it's trivial to do `auto kMaxLine = StyleMAX_GRID_LINE`,
for example, so it's probably not a huge deal.

Another alternative would be to use associated consts, which _are_ generated by
cbindgen. Something like:

```
struct GridConstants([u8; 0]);
impl GridConstants {
    const MAX_GRID_LINE: i32 = 10000;
}
```

Which would yield something like:

```
static const int32 StyleGridConstants_MAX_GRID_LINE = 10000;
```

I'm not sure if you find it preferrable, but I'm also happy to change it in a
follow-up to use this.

We need to fix a few manual C++ function signature definitions to match the C++
declaration.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 20:33:14 +00:00
Emilio Cobos Álvarez
389f85c89b Bug 1559814 - Remove GetGridLine since it's dead code now that Stylo serializes all grid lines. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D35196

--HG--
extra : moz-landing-system : lando
2019-06-26 20:32:56 +00:00
Emilio Cobos Álvarez
9228dbbbfa Bug 1559814 - Use a more similar representation in Rust and C++ for grid lines. r=heycam
Option<> is not FFI-safe, so if we want to use the same representation
everywhere we need to get rid of it. This also makes it take the same amount of
memory as the C++ representation, and it's not very complex, I'd think.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 20:32:49 +00:00
Emilio Cobos Álvarez
3d0f056ca7 Bug 1559814 - Update cbindgen. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D36020

--HG--
extra : moz-landing-system : lando
2019-06-26 20:32:41 +00:00
prathiksha
82a4475a6a Bug 1555438 - Remove getDetailedCertErrorInfo from NetErrorChild.jsm. r=johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D33065

--HG--
extra : moz-landing-system : lando
2019-06-26 20:24:05 +00:00
prathiksha
ace20f2933 Bug 1555438 - Expose attributes from nsISiteSecurityService and failedCertChain info to content for about:certerror use. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D33064

--HG--
extra : moz-landing-system : lando
2019-06-26 20:23:55 +00:00
prathiksha
70eb996035 Bug 1555438 - Add support to get appBuildID in RPM. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D33063

--HG--
extra : moz-landing-system : lando
2019-06-26 20:23:42 +00:00
prathiksha
71e6682344 Bug 1555438 - Add support for getIntPref in RPM. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D33062

--HG--
extra : moz-landing-system : lando
2019-06-26 20:23:32 +00:00
Paul Adenot
dd1c0a3c44 Bug 1561681 - Change log level for audio thread promotion related-messages. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D36077

--HG--
extra : moz-landing-system : lando
2019-06-26 20:23:49 +00:00
Marco Castelluccio
ed545ba83e Bug 1559975 - Add future imports to testing/remotecppunittests.py and testing/runcppunittests.py and remove them from py2 exclusion list r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35246

--HG--
extra : moz-landing-system : lando
2019-06-26 15:31:24 +00:00
Marco Castelluccio
cad5dfda57 Bug 1559975 - Fix py3 lint issues in testing/firefox-ui and enable py3 linter r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35244

--HG--
extra : moz-landing-system : lando
2019-06-26 18:25:18 +00:00
Marco Castelluccio
9ef2872276 Bug 1559975 - Remove tools/update-packaging from py3 exclude list. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35237

--HG--
extra : moz-landing-system : lando
2019-06-26 16:09:56 +00:00
Chris AtLee
2735dd4a00 Bug 1559975: Don't require absolute import future if we don't have any imports r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35341

--HG--
extra : moz-landing-system : lando
2019-06-24 21:20:43 +00:00
Chris Manchester
89a6a2647d Bug 1559982 - Make testing/gtest importable with python 3. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35245

--HG--
extra : moz-landing-system : lando
2019-06-24 21:20:43 +00:00
Chris Manchester
ed3205a579 Bug 1561702 - Bump sccache in tree to 0.2.9 release. r=dmajor
This version includes several fixes for sccache-dist in addition
to changes that make sccache compatible with cargo pipelining.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 19:58:16 +00:00
lloan
5f8bbed9ba Bug 1174100 - Cache information is not exposed to HAR. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D33570

--HG--
extra : moz-landing-system : lando
2019-06-26 15:07:06 +00:00
Jeff Muizelaar
164066e445 Bug 1561689. svg: Add reftest for clipped items at negative coordinates. r=mstange
'<image>' elements will look at the current clip when painting. Puting one
of them at negative coordinates exposes potential bugs in the blob recoord work.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 18:51:22 +00:00
Csoregi Natalia
2c0114f8c7 Backed out 3 changesets (bug 1557343) for bustages on Debugger.h. CLOSED TREE
Backed out changeset 70040a80a4d7 (bug 1557343)
Backed out changeset a9de28d699a7 (bug 1557343)
Backed out changeset 1663fcb7bfd7 (bug 1557343)
2019-06-26 22:05:21 +03:00
Jim Blandy
4580d11ff7 Bug 1557343: Gather the code to manage the association between DebuggerFrames and AbstractGeneratorObjects. r=jorendorff
Merge Debugger::addGeneratorFrame into DebuggerFrame::setGenerator, and expand
the role of clearGenerator to fully undo the effect of setGenerator.

The association between a Debugger.Frame referring to a generator or async call
and the underlying generator object must be recorded in five separate places, as
a transaction: either all or present, or none are present. To ensure this is
true, this patch places sole responsibility for emplacing all those relations in
a single function (setGenerator), with another function to tear down those
relations (clearGenerator) as its inverse/antidote/complement/antagonist (in the
anatomical sense)/what-have-you.

Actually, when a Debugger.Frame is GC'd, we cannot reliably undo some of the
connections, and in fact can let the GC take care of those for us, so the
tear-down function clearGenerator is split into two overloads, one which is
suitable for use from a finalizer and the other which takes care of the entire
task.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 18:18:32 +00:00
Jim Blandy
e76592d50e Bug 1557343: Replace the sole use of DebuggerWeakMap::removeIf with its definition. r=jorendorff
Later in this patch series, we will be gathering up all the code to manage the
association between DebuggerFrame and AbstractGeneratorFrame objects into a pair
of functions, one to establish a relation and the other to tear it down. The
removeif method combines iteration and entry removal, but we would rather have
entry removal live next to the code that tears down the rest of the association.

In preparation for that, this changeset replaces the sole use of removeIf with
its (not very large) definition, so that the entry removal can be more readily
moved into another function.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 18:18:23 +00:00
Jim Blandy
0349206743 Bug 1557343: Move AutoRealm outside addGeneratorFrame. r=jorendorff
Without this patch, addGeneratorFrame may be called from any realm, and enters
the debugger's realm to call DebuggerFrame::setGenerator. However, we would like
to merge addGeneratorFrame and setGenerator, and call the combined from various
points which are already in the debugger's realm, so it would be a little nicer
to simply make the function assume it is called from the debugger's realm.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 18:18:20 +00:00
Zibi Braniecki
738b080795 Bug 1560342 - Add basic tests for Localization. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D35587

--HG--
extra : moz-landing-system : lando
2019-06-26 17:04:36 +00:00
Zibi Braniecki
224a1bb5c4 Bug 1560342 - Replace generic object argument with a specific L10nArgs object for passing l10n arguments. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D35586

--HG--
extra : moz-landing-system : lando
2019-06-25 19:43:50 +00:00
Zibi Braniecki
ae32fa44eb Bug 1560342 - Factor Localization out of DOMLocalization. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D35445

--HG--
extra : moz-landing-system : lando
2019-06-25 19:39:53 +00:00
Mike Shal
e31800fabd Bug 1561147 - Enable 3-tier PGO on linux32 builds; r=tomprince
Depends on D35887

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

--HG--
extra : moz-landing-system : lando
2019-06-26 15:30:34 +00:00
Mike Shal
9c19bbe3d6 Bug 1561147 - Add linux32 generate profile task; r=tomprince
Depends on D35886

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

--HG--
extra : moz-landing-system : lando
2019-06-26 15:30:17 +00:00
Mike Shal
fdda992909 Bug 1561147 - Add linux32 PGO-instrumented task; r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D35886

--HG--
extra : moz-landing-system : lando
2019-06-26 15:30:10 +00:00
Jeff Muizelaar
a5a51e1e99 Bug 1561672. blob-inval: Elaborate comment on clipping bounds
Differential Revision: https://phabricator.services.mozilla.com/D36065

--HG--
extra : moz-landing-system : lando
2019-06-26 17:35:38 +00:00
Abdoulaye O. Ly
a27a868591 Bug 1497280 - [Fission] Make DateTimePicker works with JSWindowActor. r=NeilDeakin,mconley
Differential Revision: https://phabricator.services.mozilla.com/D33965

--HG--
rename : toolkit/modules/DateTimePickerParent.jsm => toolkit/actors/DateTimePickerParent.jsm
extra : moz-landing-system : lando
2019-06-26 17:55:48 +00:00
Neil Deakin
31c2f503ab Bug 1558919, switch page zoom to use JSWindowActor so that zooming works in OOP frames, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D35019

--HG--
extra : moz-landing-system : lando
2019-06-26 18:16:42 +00:00
Nicolas B. Pierron
a27dde9915 Bug 1466160 - assertRecoveredOnBailout needs controlled GC environment when expecting compilation results. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D36063

--HG--
extra : moz-landing-system : lando
2019-06-26 17:29:18 +00:00
Nicholas Hurley
281d858112 Bug 1502555 - Match oppsec .wk format to rfc. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D35136

--HG--
extra : moz-landing-system : lando
2019-06-26 11:44:36 +00:00
Jason Laster
890892c4e2 Bug 1560445 - Extract classes from protocol.js. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D35502

--HG--
rename : devtools/shared/protocol.js => devtools/shared/protocol/Actor.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/Actor/generateActorSpec.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/Front.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/Front/FrontClassWithSpec.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/Pool.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/Request.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/Response.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/types.js
rename : devtools/shared/protocol.js => devtools/shared/protocol/utils.js
extra : moz-landing-system : lando
2019-06-26 15:53:20 +00:00