Commit Graph

637782 Commits

Author SHA1 Message Date
Jeff Gilbert
eac3025b28 Bug 1349064 - Add <regex> to config/std-headers. r=froydnj 2019-02-21 11:23:58 -08:00
Jeff Gilbert
cd538febf3 Bug 1349064 - Sort std-headers. r=froydnj 2019-02-21 11:23:57 -08:00
Jeff Muizelaar
0458c3d04d Bug 1515823. Disable Direct2D on Qualcomm devices. r=aosmond
There seem to be a number of problems with Direct2D on the Qualcomm
devices. This includes visual corruption from bug 1515823 and crashes
in CHwRasterizer::RasterizeEdges from 1515387.
2019-02-21 13:27:04 -05:00
Gabriel Luong
3021ef3b5f Bug 1529364 - Move the markup context menu into a separate module. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D20554

--HG--
rename : devtools/client/inspector/inspector.js => devtools/client/inspector/markup/markup-context-menu.js
2019-02-20 15:03:38 -05:00
Narcis Beleuzu
1cc1d33847 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-21 18:11:40 +02:00
Narcis Beleuzu
9a26332ec2 Merge autoland to mozilla-central. a=merge 2019-02-21 17:59:30 +02:00
shindli
e8f10d178c Backed out changeset 386a2afe9189 (bug 1508559) for failing raptor tests in /home/cltbld/tasks/task_1550758926/build/raptor.json CLOSED TREE 2019-02-21 17:10:40 +02:00
Nicolas B. Pierron
49a5ea07d9 Bug 1528829 - Restrict ExtractLinearSum to monotonous operation in infinite math space. r=jandem,sunfish
Thanks to Bruno Keith & Niklas Baumstark from the phoenhex team for finding this
issue and reporting it with a proper analysis.

Differential Revision: https://phabricator.services.mozilla.com/D20343
2019-02-21 15:58:55 +01:00
Oana Pop Rus
d259530ce5 Backed out changeset d28d0498bd7b (bug 1517493) for bc failures at browser_firstPartyIsolation_saveAs.js 2019-02-21 14:28:56 +02:00
Narcis Beleuzu
561078725c Bug 1526114 - Disable 289480-ref.html on linux-qr r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D20626

--HG--
extra : moz-landing-system : lando
2019-02-21 11:33:13 +00:00
Christian Frey
df96294465 Bug 1517493 Migrating pageInfo to Fluent r=jaws,flod,Gijs
Translating most string from pageInfo.properties and making pageInfo.js and security.js use Fluent

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

--HG--
extra : moz-landing-system : lando
2019-02-21 11:31:05 +00:00
Andrea Marchesini
1f455d1507 Bug 1524200 - Optimize the comparison of principals in Sanitizer.jsm, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D20331

--HG--
extra : moz-landing-system : lando
2019-02-21 11:28:55 +00:00
Staś Małolepszy
c2cf572a24 Bug 1526875 - Land intl/l10n/FluentSyntax.jsm r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D19391

--HG--
extra : moz-landing-system : lando
2019-02-20 16:45:16 +00:00
Oana Pop Rus
e3f2246ee8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-21 11:42:10 +02:00
Oana Pop Rus
b36e97fc77 Merge inbound to mozilla-central. a=merge 2019-02-21 11:31:00 +02:00
Ya'ar Hever
5886d1854f Bug 1501932 - Enable ESLint for modules/ (manual changes). r=aklotz,njn
Differential Revision: https://phabricator.services.mozilla.com/D14647

--HG--
extra : moz-landing-system : lando
2019-02-21 00:50:18 +00:00
Chris Peterson
45bbf620fc Bug 1528881 - Part 7: gfx/layers: Remove some unused functions. r=mattwoodrow
clang's -Wmissing-prototypes option identifies global functions that can be made static (because they're only called from one compilation unit) or removed (if they're never called).

gfx/layers/Layers.cpp:58:7 [-Wmissing-prototypes] no previous prototype for function 'FILEOrDefault'
gfx/layers/ipc/CompositorThread.cpp:26:25 [-Wmissing-prototypes] no previous prototype for function 'GetCompositorThreadHolder'
MINIMUM_TILE_COPY_AREA()

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

--HG--
extra : rebase_source : 5c80a140cbd661644e2076a8852a0cfe58539083
extra : source : 7f44c2bcebce0b4bd549d653e4eff8b4bad71e29
2019-02-17 16:04:13 -08:00
Chris Peterson
e77882620f Bug 1528881 - Part 4: gfx/2d: Make some global functions static. r=lsalzman
And #include "BufferUnrotate.h" in BufferUnrotate.cpp for BufferUnrotate() function prototype.

clang's -Wmissing-prototypes option identifies global functions that can be made static (because they're only called from one compilation unit) or removed (if they're never called).

gfx/2d/BufferUnrotate.cpp:17:6 [-Wmissing-prototypes] no previous prototype for function 'BufferUnrotate'
gfx/2d/DrawTargetCairo.cpp:195:6 [-Wmissing-prototypes] no previous prototype for function 'ReleaseData'
gfx/2d/DrawTargetCairo.cpp:201:18 [-Wmissing-prototypes] no previous prototype for function 'CopyToImageSurface'
gfx/2d/DrawTargetCairo.cpp:239:18 [-Wmissing-prototypes] no previous prototype for function 'GetAsImageSurface'
gfx/2d/DrawTargetCairo.cpp:251:18 [-Wmissing-prototypes] no previous prototype for function 'CreateSubImageForData'
gfx/2d/DrawTargetCairo.cpp:272:18 [-Wmissing-prototypes] no previous prototype for function 'ExtractSubImage'
gfx/2d/DrawTargetCairo.cpp:308:18 [-Wmissing-prototypes] no previous prototype for function 'GetCairoSurfaceForSourceSurface'
gfx/2d/DrawTargetRecording.cpp:26:6 [-Wmissing-prototypes] no previous prototype for function 'RecordingSourceSurfaceUserDataFunc'
gfx/2d/DrawTargetRecording.cpp:272:6 [-Wmissing-prototypes] no previous prototype for function 'RecordingFontUserDataDestroyFunc'
gfx/2d/DrawTargetWrapAndRecord.cpp:26:6 [-Wmissing-prototypes] no previous prototype for function 'WrapAndRecordSourceSurfaceUserDataFunc'
gfx/2d/DrawTargetWrapAndRecord.cpp:358:6 [-Wmissing-prototypes] no previous prototype for function 'WrapAndRecordFontUserDataDestroyFunc'
gfx/2d/FilterNodeSoftware.cpp:1816:6 [-Wmissing-prototypes] no previous prototype for function 'IsAllZero'
gfx/2d/FilterNodeSoftware.cpp:183:37 [-Wmissing-prototypes] no previous prototype for function 'CloneAligned'
gfx/2d/MacIOSurface.cpp:442:6 [-Wmissing-prototypes] no previous prototype for function 'MacIOSurfaceBufferDeallocator'
gfx/2d/QuartzSupport.mm:38:6 [-Wmissing-prototypes] no previous prototype for function 'cgdata_release_callback'
gfx/2d/ScaledFontMac.cpp:191:10 [-Wmissing-prototypes] no previous prototype for function 'CalcTableChecksum'
gfx/2d/ScaledFontMac.cpp:224:5 [-Wmissing-prototypes] no previous prototype for function 'maxPow2LessThan'
gfx/2d/unittest/TestCairo.cpp:12:6 [-Wmissing-prototypes] no previous prototype for function 'TryCircle'

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

--HG--
extra : rebase_source : b42bce33ed899caeb89e462d99a5cde29a9bb559
extra : intermediate-source : 7923cc86a6394bcd2fb3b7e38f458a5180d31e11
extra : source : 02388f2454e8842d2c023bf9f9fab222d8130093
2019-02-16 18:08:30 -08:00
Julian Seward
309a7bfa90 Bug 1518785 - wasm-via-Ion: incorrect logic to decide on whether to omit a stack overflow check. r=luke.
MacroAssembler::wasmReserveStackChecked takes a parameter |amount|, which
appears to be the number of bytes pushed by the prologue, not including for
the wasm::Frame, up to this point.  If this value is zero, the stack overflow
check is omitted.

I believe this logic is incorrect and that the stack overflow check should
never be omitted.  There's no way any non-leaf call could really use zero
bytes of stack in total, since there would be no place to store the return
address.

I believe this code worked by accident, for the following reason: |amount| is
never zero.  That happens because, currently, wasm::Frame is 3 words (except
on ARM64).  That's 12 bytes or 24 bytes, depending on word size.  At some
point I imagine that |amount| is rounded upwards, prior to the call to
MacroAssembler::wasmReserveStackChecked, so that |amount| +
sizeof(wasm::Frame) is 0 % 16.

If amount was originally zero, then it will be adjusted upwards to 4 (16-12)
on a 32-bit system and to 8 (32-24) on a 64-bit system.  The end effect is
that |amount| can never be zero here.

The fix is simply to remove the early exit.
2019-02-21 06:25:42 +01:00
Ya'ar Hever
531ae2db82 Bug 1501932 - Enable ESLint for modules/ (automatic changes). r=njn,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D14645

--HG--
extra : moz-landing-system : lando
2019-02-15 20:03:05 +00:00
Trishul
d1e9538986 Bug 1521418 - Remove system addons from update check of normal extensions. r=aswan
Remove system addons from update check of normal addons

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

--HG--
extra : moz-landing-system : lando
2019-02-20 20:32:13 +00:00
Trishul
1240cdfd93 Bug 1517775 - Prevents uninstall of all system addons at time of update r=aswan
Prevents uninstall of all system addons at time of update

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

--HG--
extra : moz-landing-system : lando
2019-02-20 20:51:09 +00:00
Andrea Marchesini
4586a4f350 Bug 1529248 - Clear-Site-Data header should consider executioncontexts flag only for 2xx response status, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D20502

--HG--
extra : moz-landing-system : lando
2019-02-21 08:28:38 +00:00
Nico Grunbaum
a73b34cad7 Bug 1525341 - RTP audio jitter stat is not updating r=dminor
RTP audio jitter stat is not updating because the playout frequency isn't being set

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

--HG--
extra : moz-landing-system : lando
2019-02-20 19:32:42 +00:00
Andrea Marchesini
50d28b2321 Bug 1528909 - cross-origin checks in CanvasRenderingContext2D::DrawImage, r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D20350

--HG--
extra : moz-landing-system : lando
2019-02-20 22:54:04 +00:00
Andrea Marchesini
dc1879093e Bug 1526214 - Get rid of telemetry for network.cookie.leave-secure-alone, r=Ehsan
Depends on D19125

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

--HG--
extra : moz-landing-system : lando
2019-02-20 19:06:02 +00:00
Andrea Marchesini
9e8594dfcb Bug 1526214 - Get rid of network.cookie.leave-secure-alone, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D19125

--HG--
extra : moz-landing-system : lando
2019-02-20 09:42:22 +00:00
Tom Prince
ccff54c1ae Bug 1528362: [taskgraph] Use trust-domain prefixed caches; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D20049

--HG--
extra : moz-landing-system : lando
2019-02-21 07:32:36 +00:00
Tom Prince
663f25863f Bug 1528362: [taskgraph] Change scheduler-id to include the trust-domain; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D20048

--HG--
extra : moz-landing-system : lando
2019-02-21 07:32:31 +00:00
Nicholas Nethercote
4e8b423a96 Bug 1529452 - Avoid a multiplication that could overflow. r=glandium
Also add a comment about another multiplication.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 04:28:15 +00:00
Mike Hommey
de6692d10a Bug 1528892 - Make preprocessor output more reproducible. r=froydnj
On CI, Windows builds start from different directories on every build,
except when sccache is enabled. This affects many build types, such as
l10n repacks, and the preprocessor likes to put full paths in its
output, which means it includes those different directories, making the
builds non reproducible.

This changes the preprocessor to replace the source and object
directories with generic strings.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 05:09:52 +00:00
Hiroyuki Ikezoe
3b5df70b17 Bug 1529420 - Fix the expected scrollLeft value in vertical-rl test case. r=botond
On RTL elements scrollLeft value is negative generally [1].
The original code relies on a Chrome bug [2], it's not yet fixed.

[1] https://github.com/w3c/csswg-drafts/issues/1354
[2] https://bugs.chromium.org/p/chromium/issues/detail?id=721759

Depends on D20588

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

--HG--
extra : moz-landing-system : lando
2019-02-21 05:22:59 +00:00
Hiroyuki Ikezoe
cf61bb12b1 Bug 1529420 - Drop a spacer element from overflowing-snap-areas.html. r=botond
There is no CSS declaration for #spacer. The element doesn't contribute to the
test at all.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 02:19:30 +00:00
Chris Peterson
ee7a3f7cca Bug 1528452 - Part 2: Rename _splitMethodDefn() to _splitMethodDeclDefn(). r=froydnj
This follows the naming convention of the related functions _splitClassDeclDefn() and _splitFuncDeclDefn().

Depends on D20056

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

--HG--
extra : moz-landing-system : lando
2019-02-20 11:20:27 +00:00
Jan de Mooij
d245692106 Bug 1529265 - Don't include scheduled zones we can't collect in zoneStats.collectedZoneCount. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D20516

--HG--
extra : moz-landing-system : lando
2019-02-21 03:30:57 +00:00
James Teh
8f27acc472 Bug 1529407: Correct MSAA accValue and accRole for role="document". r=MarcoZ
1. When role="document" is (redundantly) used on the body element, still expose the URL via accValue, just like we do for role="application".
2. Expose ROLE_SYSTEM_DOCUMENT for role="document" (rather than the string "document") as per the spec. (Chrome already does this, so I don't expect backwards compat problems with clients.)

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

--HG--
extra : moz-landing-system : lando
2019-02-21 06:48:02 +00:00
Narcis Beleuzu
191967c019 Backed out 2 changesets (bug 1526114) for reftest failures on reftest.list . CLOSED TREE
Backed out changeset 9b4bb0f83ee4 (bug 1526114)
Backed out changeset 601af10b1100 (bug 1526114)
2019-02-21 09:03:04 +02:00
Cosmin Sabou
d0c2d19441 Bug 1526114 - Add 289480.html for the reference file to fix the reftest failures. CLOSED TREE 2019-02-21 07:26:21 +02:00
Noemi Erli
47496561f4 Backed out changeset fb6c0d850fa3 (bug 1527862) for bustage in job-queue-04.js CLOSED TREE 2019-02-21 06:58:12 +02:00
Robert Strong
b71ad23d06 Bug 1434033 - Use ORIGIN to search for NSS on Linux. r=mhowell,glandium
Set the updater LDFLAGS to -Wl,-rpath=$ORIGIN so NSS can be found in the binary's directory
Stop changing the LD_LIBRARY_PATH in nsUpdaterDriver.cpp
Load the updater support files before the update begins in progressui_gtk.cpp
Launch the updater from the install directory instead of copying it to the update directory
Remove the skip-if = (os == linux && verify) for the staging tests since this also fixes the ETXTBSY error when calling execv on the copied updater

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

--HG--
extra : moz-landing-system : lando
2019-02-21 00:31:11 +00:00
Andreea Pavel
9fb81d5829 Bug 1516043 - Disabled test_background_video_resume_after_end_show_last_frame.html on linux-qr r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D20462

--HG--
extra : moz-landing-system : lando
2019-02-20 13:43:32 +00:00
Vlad Baicu
3753e60bbd Bug 1527648 - Uid deeplink nullpointer check. r=petru
Patch from bug 1519418 introduced a regression by removing line separators from
the uid parameter contained within deeplinks. However, not all deeplinks are
mandatory to contain the uid parameter. Added a null check before replacing the
line separators.

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

--HG--
extra : moz-landing-system : lando
2019-02-19 16:59:07 +00:00
Karl Tomlinson
45ab39f95a Bug 1519562 throw in AudioWorkletNode constructor if name is not registered r=padenot
Depends on D20274

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

--HG--
extra : moz-landing-system : lando
2019-02-19 12:57:57 +00:00
Karl Tomlinson
25a27ff34a bug 1519562 send AudioParamDescriptors from registerProcessor() to AudioContext r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D20274

--HG--
extra : moz-landing-system : lando
2019-02-21 03:12:59 +00:00
Andreea Pavel
c519dac23a Bug 1526114 - Disabled 289480-ref.html on linux-qr r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D20468

--HG--
extra : moz-landing-system : lando
2019-02-20 13:59:45 +00:00
Andreea Pavel
03f50be320 Bug 1528773 - Disabled navigation-redirect.https.html?client on linux and win r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D20457

--HG--
extra : moz-landing-system : lando
2019-02-20 12:59:38 +00:00
Masayuki Nakano
b86a9d85df Bug 1436906 - Make Selection::NotifySelectionListeners() not scroll when it moves focus r=smaug
When Selection changed into an editing host,
Selection::NotifySelectionListeners() moves focus to the editing host.
In this case, we've scrolled to the focused element because it's our consistent
and traditional behavior.  However, Chrome does not behave so.  Therefore,
we should not scroll in this case for compatibility with Chrome.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 03:09:32 +00:00
Chris Peterson
44a9ea3410 Bug 1528452 - Part 1: Don't emit method definitions for pure methods. r=froydnj
Bug 1428984 caused a regression where ipdlc will emit (empty) method definitions for pure methods. C++ allows a pure member function to have a definition (in case a derived class wants to call a default implementation in the base class), but we don't want this for ipdl's generated code.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 11:19:43 +00:00
Shane Caraveo
b9a80cb460 Bug 1525718 fix setting private permission when private browsing r=rpl
Setting the permission has to happen after the call to parseManifest so
it may be set if the manifest is already cached.  Also grant permission
when installed from permanent private browsing.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 15:52:29 +00:00
Jim Blandy
99c8e0c2ea Bug 1527862: Use proper initialization condition in AutoDebuggerJobQueueInterruption destructor. r=arai
The AutoDebuggerJobQueueInterruption destructor asserts that the Debugger has
properly managed its hooks' asynchronous jobs. But this assertion clearly only
applies when the AutoDebuggerJobQueueInterruption is properly initialized;
otherwise, the debuggee's job queue is still in place.

Unfortunately, the destructor was using the wrong test to determine whether the
debuggee's queue had been saved. This patch makes it uses the `initialized`
method, rather that checking the `cx` field, which is always initialized.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 01:58:12 +00:00