Commit Graph

637646 Commits

Author SHA1 Message Date
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
Matthew Noorenberghe
0a6667cdbf Bug 1304001 - Move LoginUtils._getActionOrigin to LoginHelper. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D20394

--HG--
extra : moz-landing-system : lando
2019-02-20 15:27:03 +00:00
Matthew Noorenberghe
f098d355e4 Bug 1304001 - Move LoginUtils._getPasswordOrigin to LoginHelper. r=sfoster
There were too many top-level objects in that large JSM and LoginHelper didn't exist when it was added.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 15:26:44 +00:00
Matthew Noorenberghe
e911b23229 Bug 1304001 - Update comments related to gEnabled/rememberSignons. r=sfoster
Fixes some stales comments and identation.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 15:26:29 +00:00
Matthew Noorenberghe
64f1d06024 Bug 1304001 - Update LoginHelper prefs even if no logger was created. r=sfoster
This means there is only one signon.* listener for the whole process, not per-logger.

Also move LMC prefs to LMH.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 15:26:10 +00:00
Agi Sferro
a5313e6c73 Bug 1512997 - Add GeckoSession.getDefaultUserAgent API. r=nalexander,rbarker
Differential Revision: https://phabricator.services.mozilla.com/D19813

--HG--
extra : moz-landing-system : lando
2019-02-20 18:11:27 +00:00
Agi Sferro
085d28afff Bug 1514374 - Remove workaround for accessibility-test-framework. r=nalexander,geckoview-reviewers,snorp
Looks like accessibility-test-framework was added to maven central so we can
remove this.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 17:44:23 +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
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
Nico Grunbaum
ff4ed47d38 Bug 1527633 - rename GetRTPStats to something less ambiguous r=dminor
rename GetRTPStats to something less ambiguous

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

--HG--
extra : moz-landing-system : lando
2019-02-13 16:35:12 +00:00
Chris AtLee
b6aa3ee4b4 Bug 1528427: Optimize tasks scheduled with try syntax r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D20403

--HG--
extra : moz-landing-system : lando
2019-02-20 14:31:26 +00:00
Mathieu Leplatre
7007063816 Bug 1528704 - Add option to disable sync on RemoteSettings().get() r=glasserc
Add option to disable sync on RemoteSettings().get()

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

--HG--
extra : moz-landing-system : lando
2019-02-20 15:15:00 +00:00
Geoff Brown
ac3c0e4b5d Bug 1501562 - Enable remote debugging in TRA;
Differential Revision: https://phabricator.services.mozilla.com/D20568

--HG--
extra : moz-landing-system : lando
2019-02-20 21:44:34 +00:00
Ting-Yu Lin
d373ed0def Bug 1526097 - Remove nsIFrame::eBlockFrame flag. r=dholbert
Only nsBlockFrame and its subclasses recognize the nsIFrame::eBlockFrame
flag, so we can replace the usage of the flag with either
nsIFrame::IsBlockFrameOrSubclass() or a do_QueryFrame().

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

--HG--
extra : moz-landing-system : lando
2019-02-20 21:18:14 +00:00
Mike de Boer
5e5682bbd6 Bug 1528203 - Searchbar popups' updateHeader was using the wrong method signature to get the default search engine. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D20531

--HG--
extra : moz-landing-system : lando
2019-02-20 20:25:55 +00:00
Johann Hofmann
d9b61c5c4b Bug 1527891 - Fix copy-paste error in browser-contentblocking.js, update category labels when pref changes for fp and cm. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D20186

--HG--
extra : moz-landing-system : lando
2019-02-20 15:36:58 +00:00
Byron Campen [:bwc]
e588cab7bc Bug 1402912 - Part 2: Mark a wpt as expected to succeed. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D19962

--HG--
extra : moz-landing-system : lando
2019-02-16 15:24:48 +00:00
Byron Campen [:bwc]
326aac1d4f Bug 1402912 - Part 1: Put multiple a=msid in SDP when a track is attached to multiple streams. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D18594

--HG--
extra : moz-landing-system : lando
2019-02-19 20:32:16 +00:00
Luca Greco
2dc201fb52 Bug 1513344 - Record addonsManager.action telemetry event on interaction with private browsing doorhanger. r=mstriemer,janerik
Depends on D19664

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

--HG--
extra : moz-landing-system : lando
2019-02-15 14:32:31 +00:00
Luca Greco
327603576e Bug 1513344 - Record addonsManager.action telemetry event on extension private browsering access. r=mstriemer,janerik
Differential Revision: https://phabricator.services.mozilla.com/D19664

--HG--
extra : moz-landing-system : lando
2019-02-14 15:07:45 +00:00
Csoregi Natalia
208f1b790a Backed out 2 changesets (bug 1529117) for failures on webdriver/tests/new_session/invalid_capabilities.py. CLOSED TREE
Backed out changeset 27882e7ca2a9 (bug 1529117)
Backed out changeset fcfafe134f70 (bug 1529117)
2019-02-20 18:20:49 +02:00
Joel Maher
8ecb783f5d Bug 1418778 - disable tests on windows 10 for intermittent failures in webdriver new_session tests. r=whimboo
disable tests on windows 10 for intermittent failures in webdriver new_session tests.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 14:13:07 +00:00
Kartikaya Gupta
ee79b184dd Bug 1529117 - Re-vendor rust dependencies. r=jrmuizel
Depends on D20460

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

--HG--
extra : moz-landing-system : lando
2019-02-20 13:59:43 +00:00
Kartikaya Gupta
15cd3ce2f6 Bug 1529117 - Bump serde_derive to branch from 1.0.88. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D20460

--HG--
extra : moz-landing-system : lando
2019-02-20 13:58:32 +00:00
Andreea Pavel
41802224f4 Backed out changeset 1995ec00c434 (bug 1428714) for lint failure at mozrunner/utils.py on a CLOSED TREE 2019-02-20 16:19:58 +02:00
Andreea Pavel
86ca08bb6b Backed out changeset fe259096e7ed (bug 1529033) for failing toolchains on a CLOSED TREE 2019-02-20 16:19:23 +02:00