Граф коммитов

637735 Коммитов

Автор SHA1 Сообщение Дата
J.C. Jones 5dd18017b0 Bug 1523175 - land NSS 1f04eea8834a UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : 898c7f9e93ce450d26c88e1715ef92ea6f203d91
2019-02-20 16:24:29 +00:00
Lars T Hansen d5502071ed Bug 1508559 - Ion instructions for reftypes. r=jseward
Add support to WasmIonCompile for the instructions in the reftypes
proposal: ref.null, ref.is_null, table.get, table.set, table.grow,
table.size.

Also add support for the ref.eq instruction from the gc proposal.

Also update the test suite so that we will not ion-compile test cases
that use gc features that are not landed here.

Note that this patch does not change the compiler-selection behavior:
If --wasm-gc is enabled then only the baseline compiler will be used;
if --wasm-gc is not enabled then no compiler will recognize these
opcodes.  Enabling Ion for reftypes content is the subject of
subsequent work.

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

--HG--
extra : rebase_source : 807e3b6752b610effaa4d7f93f26035ffa29210e
extra : histedit_source : 197103a36157c78e8d36e6662422743532a4e0d2%2Cb4422d501e0ddfba6e830f69e381df6ea6da50da
2019-02-19 10:06:59 +01:00
Dan Minor 85a3e2780b Bug 1513000 - Add taskcluster configuration for building openh264 plugin; r=callek
Differential Revision: https://phabricator.services.mozilla.com/D19818

--HG--
extra : rebase_source : 9e0331de7f18cf99d0dcac7d2a333a90d8107d6f
2018-12-14 12:03:20 -05:00
Dan Minor 332aa43e29 Bug 1513000 - Updates to mozharness openh264 scripts and configs; r=callek
Differential Revision: https://phabricator.services.mozilla.com/D19817

--HG--
extra : rebase_source : 728308f5304ca30a25cc7201e70abb3bd1365b84
2018-12-14 12:04:58 -05:00
Masatoshi Kimura e3ac9e1e07 Bug 1212982 - Get ClearType parameters using API instead of reading registry. r=jrmuizel
This patch is changing a way to get ClearType paramters because registry key
may not be present. CreateMonitorRenderingParams() will return default values
if the corresponding registry key is not present.

--HG--
extra : source : 765a6f1fa3e7cbda3d841661fa3b4f71ad1b5ed1
2019-02-01 22:48:37 +09:00
Narcis Beleuzu 9a64896d7b Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-21 12:31:01 +02:00
Jorg K ee7e8f8faf Bug 1529202 - disable test test_sss_sanitizeOnShutdown.js for Thunderbird. r=keeler
--HG--
extra : rebase_source : a5f25fb9a8709b5b94c14d8330a6dcb1466dade8
2019-02-21 10:04:42 +01:00
Oana Pop Rus c6934bd373 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-21 11:45:07 +02:00
Oana Pop Rus b36e97fc77 Merge inbound to mozilla-central. a=merge 2019-02-21 11:31:00 +02:00
Kai Engert 83f1b6e27a Bug 1526010, NSPR_4_21_BETA2, r=me
UPGRADE_NSPR_RELEASE
2019-02-21 10:04:05 +01:00
Mats Palmgren 28ffbfffda Bug 1525775 - [css-mediaqueries] Synthesize a value for eIntID_SystemUsesDarkTheme to determine if GTK are using a light or dark theme. r=heycam,karlt 2019-02-21 09:12:35 +01:00
Noemi Erli ccbd7de1ea Backed out changeset fb6c0d850fa3 (bug 1527862) for bustage in job-queue-04.js CLOSED TREE
--HG--
extra : source : e2990d679a3b6207e37242d44ba917af4da92847
2019-02-21 06:58:12 +02: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
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
Cosmin Sabou 9f8b29287b Merge mozilla-central to autoland. 2019-02-21 05:43:34 +02:00
Cosmin Sabou f3db52f4cf Merge mozilla-inbound to mozilla-central. a=merge 2019-02-21 05:42:03 +02:00
prathiksha 755d319abd Bug 1525894 - Fix intermittent toolkit/components/passwordmgr/test/mochitest/test_autocomplete_highlight.html.r=MattN
Fix intermittent toolkit/components/passwordmgr/test/mochitest/test_autocomplete_highlight.html

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

--HG--
extra : moz-landing-system : lando
2019-02-21 00:18:44 +00:00
Emilio Cobos Álvarez f8ecce61ec Bug 1470926 - Null-check mBoundFrame after calling SetSelectionRange on it. r=TYLin
This code was already handling the world going away, but did not handle the case
of just getting unbound, which can happen if some selection listener (e.g.,
AccessibleCaret) flushes layout.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 00:18:15 +00:00
Mike Hommey c71f4ec3ee Bug 1529139 - Mark .asm GENERATED_FILES as required_for_compile. r=froydnj
This will avoid trying to generate them during artifact builds.

Depends on D20587

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

--HG--
extra : moz-landing-system : lando
2019-02-21 00:12:52 +00:00
Mike Hommey edeae90ee0 Bug 1529139 - Add proper dependencies for win{32,64}.asm. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D20587

--HG--
extra : moz-landing-system : lando
2019-02-21 00:11:04 +00:00
Paul Bone 809c3aaba7 Bug 1526257 - (part 3) Rename ZoneCellIter classes r=sfink
Depends on D19891

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

--HG--
extra : moz-landing-system : lando
2019-02-21 03:27:47 +00:00
Ehsan Akhgari d77927505e Bug 1529089 - Initialize spBefore_ even if profiler_ will be set to nullptr; r=mstange 2019-02-20 15:31:29 -05:00
Justin Wood 466d0b2dfb Bug 1522111 - Followup, improve SETA algorithm a bit more by treating opt low value as low value for pgo as well. Unless there is a high value task to override. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D20390

--HG--
extra : moz-landing-system : lando
2019-02-20 17:16:43 +00:00
Eugen Sawin 1fc5f0ebdc Bug 1526981 - [2.4] Simplify JSM module logger initialization and ensure compatibility with ES6. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D19580

--HG--
extra : moz-landing-system : lando
2019-02-20 16:11:57 +00:00
Eugen Sawin 01058ecf82 Bug 1526981 - [1.1] Remove obsolete module import. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D19579

--HG--
extra : moz-landing-system : lando
2019-02-20 16:17:56 +00:00
Masatoshi Kimura e59e3b3e20 Bug 1528651 - Fix some trivial warnings and re-enable warnings-as-errors on Windows in some directories. r=dmajor
--HG--
extra : source : 5ee9efeda9e67f6af0521be85266703763cc4c50
2019-02-19 20:42:11 +09:00
Christoph Kerschbaumer 54df1cb98c Bug 1528677: Remove nullchecks for loadinfo since we have loadinfo on all channels. r=baku 2019-02-20 13:27:25 +01:00
Lars T Hansen 14c58f6fa7 Bug 1508559 - fix nu build bustage. r=bustage on CLOSED TREE 2019-02-20 13:32:06 +01:00
Paul Bone 0cba572880 Bug 1526257 - (part 2) Remove reundant IsAboutToBeFinalised calls r=arai
The new cellIter() now filters out cells that are about to be finalised.

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

--HG--
extra : moz-landing-system : lando
2019-02-18 02:42:00 +00:00
Paul Bone 6c7c616283 Bug 1526257 - (part 1) Add a SafeZoneCellIter, making cellIter() GC-safe r=sfink,arai
ZoneCellIter can return cells that are about to be finalised in the next GC
slice.  These cells can be used briefly but cannot be kept around and the GC
needs this behaviour.

This change introduces ZoneCellIterSafe which will not return about-to-be
finalised cells.  Zone::cellIter() will use it now, the old behaviour is now
in cellIterUnsafe().

Update several uses of cellIter() to cellIterUnsafe() where that behaviour
is needed.

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

--HG--
extra : moz-landing-system : lando
2019-02-18 02:46:15 +00:00
Aaron Klotz c8b2ad1720 Bug 1529060: Minor mscom::ProcessRuntime cleanup; r=Jamie
* Be sure to set mInitResult = S_OK when we've already done process-wide initialization;
* Don't bother checking for Win32 lockdown unless we're not in the parent process

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

--HG--
extra : moz-landing-system : lando
2019-02-20 03:27:00 +00:00
Tim Nguyen 147caaf718 Bug 1522279 - Remove hardblockedaddon and softblockedaddon bindings. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D20040

--HG--
extra : moz-landing-system : lando
2019-02-20 23:19:32 +00:00
Edwin Gao efb8b5a94e Bug 1529339 - replace test-provisioner with permanent bitbar provisioner id r=jmaher
Changes:

- replaced existing references to `test-provisioner/bitbar` with `bitbar/gecko-t-win10-aarch64` (proposed permanent provisioner-id)

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

--HG--
extra : moz-landing-system : lando
2019-02-20 21:52:13 +00:00
sotaro 17f7778647 Bug 1521466 - Stop composite during handling device reset r=nical
By stopping composite during handling device reset, we could reduce a possibility of crashes.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 15:49:20 +00:00
Matthew Gaudet 509c07c4b9 Bug 1529271 - Structured Spewer: Correct handling of output initialization failure r=iain
Differential Revision: https://phabricator.services.mozilla.com/D20574

--HG--
extra : moz-landing-system : lando
2019-02-20 22:06:17 +00:00
Matthew Noorenberghe ce4c5eb30b Bug 1446876 - Use waitForCondition to watch for managed state changes. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D20555

--HG--
extra : moz-landing-system : lando
2019-02-20 21:52:11 +00:00
Razvan Caliman a2b510c934 Bug 1524547 - (Part 2) Add context menu option to copy the contents of a changed CSS rule. r=gl
Depends on D20195

This series of patches depends on the patch from [Bug 1525238](https://bugzilla.mozilla.org/show_bug.cgi?id=1525238)

- adds method to identify a CSS Rule actor by id
- adds context menu option to the Changes panel to allow copying the rule's authored text to the clipboard

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

--HG--
extra : moz-landing-system : lando
2019-02-20 21:45:03 +00:00
Razvan Caliman aa000809a8 Bug 1524547 - (Part 1) Add method to StyleRuleActor to get complete authored text for a CSS rule. r=gl
This series of patches depends on the patch from [Bug 1525238](https://bugzilla.mozilla.org/show_bug.cgi?id=1525238)

This patch adds a new method to the StyleRuleActor on the server to expose the full text content of a CSS rule over the protocol to the client. This means exposing the CSS rule's authored text including comments and any nested rules if the target rule is an ancestor rule, like @media or @supports.

There's minor refactoring to include additional rule types for which StyleRuleActors will be created: @supports, @media, @keyframes. These are not explicitly rendered in the Rule view and shouldn't impact it. The Rule view filters for CSS Style Rules, element inline style and has special handling for keyframe at-rules.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 20:41:44 +00:00
Gerald Squelart 4fad2ecf62 Bug 1528842 - Disable ASAN checks in FramePointerStackWalk - r=glandium
FramePointerStackWalk can trip ASAN when walking the stack and reading outside
of ASAN-protected objects.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 05:01:12 +00:00
Glenn Watson 9ef53fde87 Bug 1529378 - Corruption on Google Calendar time period selector. r=kvark
This bug occurs under the following conditions:
 - The clip chain instance has multiple clip items.
 - The first item in the clip chain is a clip rectangle, with:
   - ClipMode::Clip
   - Is in the same coordinate system as the primitive.

In this case, the code would skip adding the clip rect to the
mask (due to the same coord system). However, the logic that
determines whether to render subsequent masks with blend disabled
or multiplicative blend was only considering the index of the
clip item in the clip chain. In this case, these masks would
get added to the blend enabled batches, but the first clip mask
which would have written the initial mask values was skipped.

The end result was that the subsequent clip masks would be
blending with uninitialized render target contents from a previous
frame.

This patch changes the logic to track when the first clip mask
has actually been added to the batch, rather than relying on
the index. In this case, it means that the rounded rect mask
will get drawn in the blend disabled path, writing the correct
mask values without blending with the existing render target contents.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 03:05:59 +00:00
Noemi Erli a886d44d2f Backed out 2 changesets (bug 1528387) for failures in test_JSWindowActor.xul CLOSED TREE
Backed out changeset c4c6581b5ecd (bug 1528387)
Backed out changeset 33dd29846b7b (bug 1528387)
2019-02-21 05:07:16 +02:00
Cosmin Sabou 6872844079 Backed out changeset e74b9560a9d4 (bug 1528396) for causing mochitest webgl failures on test_pixel_pack_buffer. CLOSED TREE 2019-02-21 04:39:09 +02:00
Cosmin Sabou 8781de2669 Bug 1528387 - Added newline at the end of the files because of eslint failure. r=eslint-fix
--HG--
extra : amend_source : 050b20ef8e3c46ebe4a71bf11ff52341f67f9dd8
2019-02-21 04:32:35 +02:00
Kartikaya Gupta 495aefb222 Bug 1523080 - Add a reftest. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D20484

--HG--
extra : moz-landing-system : lando
2019-02-20 19:24:14 +00:00
Kartikaya Gupta 3797456260 Bug 1523080 - Don't apply the pipeline clip to display items inside a SC with a clip. r=kvark
Without this patch, if we got a display item with the root clip id, we
would always clip that display item with the root clip of the enclosing
pipeline. However, this violates the documented semantics on
ClipId::root() which states that it effectively does no clipping.
Specifically, it could end up doing clipping if the display item was
part of a scrollframe that was scrolled such that the display item
extended beyond the enclosing pipeline.

This patch adds an extra argument to some of the flattening functions -
the flag is true when recursing the DL between a pipeline item and the
first stacking context that has a clip. For these items, the pipeline
clip is applied. Once inside the stacking context, the pipeline clip is
not applied.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 20:40:05 +00:00
Boris Zbarsky f8e0094981 Bug 1528456. Fix browser_domainPolicy.js to not be racy. r=Gijs
The old complicated code here was working around a fundamental race in the
test.  The test was trying to do the following:

1)  Open a new tab.  This sends an IPC message to do that and to start loading
about:blank in the tab.

2)  Add a "load" listener.  This sends an IPC message to add the listener.

3)  Start loading the URL we really want to load.  This sends an IPC message to
start the load.

There are two races here: the message from step 2 can be received before or
after the about:blank load is done, and the message from step 3 can be received
before or after the about:blank load is done.  If step 2 wins the race (we add
the listener before the about:blank load is done) but step 3 loses the race
(new load starts only after the about:blank load is done), then we would get a
load event for the about:blank, not for the url we care about.

The test worked around this by having step 2 add a listener for the
"DOMDocElementInserted" event, which about:blank did not fire.  Then when that
happened (indicating that the load from step 3 is now in progress), it added a
"load" listener.  This fixed the race.

Bug 1528146 fixed about:blank to also fire "DOMDocElementInserted", so the test
became racy again.  Now if the "DOMDocElementInserted" listener got added
_after_ the about:blank load had fired that event (which is what usually
happened), then the test passed.  But if the IPC message from step 2 to add the
"DOMDocElementInserted" listener won the race against the about:blank load
firing "DOMDocElementInserted", then we added the "load" listener too early and
got the "load" event for the about:blank, not the document we cared about.

The fix is to just use the (now) existing openNewForegroundTab function which
lets us pass in a url, then wait until that URL is loaded, instead of trying to
reinvent that wheel.

There is an additional ride-along change to make openNewForegroundTab always
create a new process in this test, which is the original intent of the test but
wasn't necessarily guaranteed by the old code.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 20:12:16 +00:00
Julian Descottes 5321bbb16b Bug 1521507 - Add telemetry events for runtime update;r=daisuke,janerik,chutten
Will ask for r? from janerik once product has approved the data collected here.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 20:09:34 +00:00