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

637677 Коммитов

Автор SHA1 Сообщение Дата
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
Nika Layzell e5a0cc1ba3 Bug 1528387 - Make actor name implicit to JSWindowActor::SendAsyncMessage, r=jdai
Differential Revision: https://phabricator.services.mozilla.com/D20011

--HG--
extra : moz-landing-system : lando
2019-02-20 20:08:30 +00:00
Kartikaya Gupta bab1ffc031 Bug 1428158 - Enable static analysis on Android. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D20402

--HG--
extra : moz-landing-system : lando
2019-02-20 20:03:52 +00:00
Kartikaya Gupta 06d64cc640 Bug 1428158 - Fix static analysis errors in arm64 JIT code. r=nbp
A few instances of snprintf are replaced with SprintfLiteral, and a
implicit constructor is made explicit.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 19:58:24 +00:00
Kartikaya Gupta 35b16df12a Bug 1428158 - Fix static analysis errors in Android widgetry code. r=snorp
Just a few implicit constructors that need to be made explicit.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 19:58:15 +00:00
Chris Hartjes 6c7e3654d7 Bug 1507235 - Add capability to run telemetry-tests-client locally; r=raphael
Differential Revision: https://phabricator.services.mozilla.com/D20535

--HG--
extra : moz-landing-system : lando
2019-02-20 19:18:06 +00:00
Henrik Skupin 944e06dfff Bug 1495513 - [wdspec] Add tests for file protocol. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D20488

--HG--
extra : moz-landing-system : lando
2019-02-20 18:40:04 +00:00
ethompso28 8a5ac6985a Bug 1525626 - changing processCreationTimestamp to processStartTimestamp r=chutten
changing processCreationTimestamp to processStartTimestamp

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

--HG--
extra : moz-landing-system : lando
2019-02-20 16:59:10 +00:00
Shane Caraveo 3b665f2cc3 Bug 1525846 ensure ExtensionPermissions is fully initialized prior to changing r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D19199

--HG--
extra : moz-landing-system : lando
2019-02-20 21:39:21 +00:00
Noemi Erli 7c565dc045 Backed out 6 changesets (bug 1304001) for mochitest failures in test_bug430351.html CLOSED TREE
Backed out changeset 5fafa838de11 (bug 1304001)
Backed out changeset d75340a9a264 (bug 1304001)
Backed out changeset ed7ae6b877df (bug 1304001)
Backed out changeset 93bd4d634b14 (bug 1304001)
Backed out changeset e41015881591 (bug 1304001)
Backed out changeset 6346331d934d (bug 1304001)
2019-02-21 04:04:47 +02:00
Gerald Squelart 5ac70ab24e Bug 1528857 - Setting env-var "MOZ_PROFILER_SYMBOLICATE" forces pre-symbolication of output profiles - r=mstange
As per the help message, this can create significant pauses, but it can be
useful to developers for local tests.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 21:38:23 +00:00
Valentin Gosu cee418d221 Bug 1529274 - Remove debugging code for bug 1153929 r=JuniorHsu
The code was added to diagnose an issue that was likely due to heap corruption.
The vtable of the objects was sometimes 0. More details in bug 1153929.
That crash doesn't reproduce anymore so it should be OK to remove.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 21:02:23 +00:00
Agi Sferro d820bcd635 Bug 1529322 - Remove webgl.enable-surface-texture. r=jgilbert
Looks like this is not needed anymore and we can just use SurfaceTexture
everywhere.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 19:18:08 +00:00
Logan Smyth 9117266d4b Bug 1527671 - Assign the correct start position to arrow functions. r=arai,jorendorff
This position ends up being used for source notes in some cases now, meaning that this can
cause breakpoints to be given the wrong position when assigned to a variable. This fixes
that by using the correct token for the position value.

This fix also ensures that `cur->pos.end` is updated when skipping functions because
expression statements set their end based on the end position of the expression, and
if the expression statements end token is the end of a skipped function, we would
otherwise read the wrong position triggering assertion failures.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 19:52:10 +00:00
Michael Kaply 918805dafb Bug 1522151 - Use correct region for regionOverrides. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D17379

--HG--
extra : moz-landing-system : lando
2019-02-20 19:44:05 +00:00
Jeff Gilbert 878881b125 Bug 1528396 - More precise GL symbol loading. r=lsalzman
In particular, don't fallback to loading symbols from any loaded
library.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 15:46:03 +00:00
Matthew Noorenberghe 11e289007a Bug 1304001 - Remove unused 'blur' event listener. r=sfoster
The blur event doesn't bubble so this wouldn't actually listen to fields getting blurred. See bug 1138774.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 15:27:34 +00:00
Matthew Noorenberghe e8404f39c5 Bug 1304001 - Stop passing the top window to LoginManagerContent. r=sfoster
It wasn't clear in callee code that the window was the top-window and it wasn't necessary in many cases. Relying on the top-window would also cause problems with Fission if the windows are in separate processes.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 17:59:59 +00:00