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

640480 Коммитов

Автор SHA1 Сообщение Дата
Eric Rahm 51f38f0147 Bug 1527277 - Part 1: Refactor error reporting logic. r=peterv
Add a common function for reporting an invalid argument.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 23:07:05 +00:00
Florian Quèze a65779bd47 Bug 1529000 - add a way to provide environment variables to use at startup in mochitest manifests, r=ahal.
Differential Revision: https://phabricator.services.mozilla.com/D21726

--HG--
extra : moz-landing-system : lando
2019-03-06 19:03:51 +00:00
Dorel Luca ac34e1d973 Backed out 16 changesets (bug 1525245) for Android failures. CLOSED TREE
Backed out changeset 9f8a1b410320 (bug 1525245)
Backed out changeset 0ef284a9a1d5 (bug 1525245)
Backed out changeset 835e5f642a03 (bug 1525245)
Backed out changeset 362f5a8d033c (bug 1525245)
Backed out changeset 9da3ab33cf67 (bug 1525245)
Backed out changeset 6aacd2d6e835 (bug 1525245)
Backed out changeset 8ff9e8f45e02 (bug 1525245)
Backed out changeset 2020227181cc (bug 1525245)
Backed out changeset fc3c64c330b9 (bug 1525245)
Backed out changeset 2762bf88e050 (bug 1525245)
Backed out changeset ffc10fdc50a6 (bug 1525245)
Backed out changeset bb6ade1207d7 (bug 1525245)
Backed out changeset 1875eb5085e4 (bug 1525245)
Backed out changeset 7e4f67a6d6f1 (bug 1525245)
Backed out changeset e671fc9581eb (bug 1525245)
Backed out changeset b89f5def8d0d (bug 1525245)
2019-03-06 21:07:49 +02:00
Dorel Luca 4b0b9944c9 Backed out 2 changesets (bug 1516325) for xpcshell failures in netwerk/test/unit/test_udpsocket.js. CLOSED TREE
Backed out changeset 7f9508dc59e1 (bug 1516325)
Backed out changeset 28eb88277ffc (bug 1516325)
2019-03-06 20:51:39 +02:00
Jason Orendorff c65e8f08f7 Bug 1525395 - Part 2: Rewrite a Scratchpad test to eliminate some race conditions. r=jimb
I don't understand how the test ever worked. I think the idea was that each
operation would result in changes to the prefs, because those prefs are the
source of truth for the recent-files list. However, I don't understand why some
tests would not trigger multiple observer callbacks, which should have been a
huge mess.

The new code doesn't observe the prefs at all. Where possible, it waits for an
appropriate promise; in other places it uses `setTimeout()` to wait for the
next tick, relying on the Scratchpad implementation to be done reacting by
then.

Since the original code was event-driven, most tests were split across two
functions. Each test function had the bottom half of one test and the top half
of the next test. The new code uses async/await and can therefore at least
group related functionality into single cohesive test functions. But those test
functions aren't as independent as they look -- most of them still depend on
previous tests to set up the expected starting state.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 01:06:46 +00:00
Jason Orendorff 05d6cd72a1 Bug 1525395 - Part 1: Make Scratchpad.openFile return a promise. r=jimb
Tests can use the promise to avoid racing on the text being available and the
UI ready for interaction.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 01:06:31 +00:00
Jason Laster 5b46393d34 Bug 1531350 - Add column breakpoints (w/ fix for sourcemaps-reload). r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D22329

--HG--
extra : moz-landing-system : lando
2019-03-06 17:00:37 +00:00
Jan Henning 50c69a3713 Bug 1529863 - Remove remnants of unused browser.firstrun and browser.snippets prefs. r=geckoview-reviewers,whimboo,esawin
"browser.firstrun.*" seems to have been unused since the end of XUL-based
Fennec, whereas the code referencing the "browser.snippets.*" prefs was removed
in bug 1482836.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 14:59:46 +00:00
Dave Townsend 81b3e39c70 Bug 1528252: about:profiles should restart into the same profile rather than allowing profile selection to re-run. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D22340

--HG--
extra : moz-landing-system : lando
2019-03-06 17:56:56 +00:00
Jan de Mooij 446dc0db91 Bug 1533070 - Get rid of static initializers in GC.cpp by marking some functions/statics constexpr. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D22335

--HG--
extra : moz-landing-system : lando
2019-03-06 17:38:11 +00:00
Nathan Froyd 14c0cbba56 Bug 1523996 - part 5 - bulk-read/write adjacent POD fields in IPDL-defined structs; r=Alex_Gaynor
Now that fields are packed nicely, we can take advantage of the
contiguous layout of POD fields and read/write all the POD fields of a
given size in a single read/write call.  For many structs, this should
have little or no effect, but for large structs such as LoadInfoArgs,
this reduces the number of function calls by ~50%.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 13:59:57 +00:00
Nathan Froyd c5829037f6 Bug 1523996 - part 4 - add static assertions for member layout; r=Alex_Gaynor
We're about to start depending on how the fields are packed in a future
patch, so we should add some compile-time checking that our assertions
are correct.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 13:59:48 +00:00
Nathan Froyd f1a050db9b Bug 1523996 - part 3 - factor out reading/writing sentinels; r=Alex_Gaynor
We're going to read and write sentinels slightly differently for
bulk-writing adjacent fields, so let's factor out some reusable code for
doing so.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 13:59:43 +00:00
Nathan Froyd aace5317f4 Bug 1523996 - part 2 - pack IPDL-defined struct members better; r=Alex_Gaynor
This patch changes the layout of IPDL-defined structs to order the POD
members by decreasing size, which ensures everything is packed well.
This optimization is only applied to the internal representation; the
external interface (e.g. constructors) is entirely unchaged.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 13:59:39 +00:00
Nathan Froyd e1246d9446 Bug 1523996 - part 1 - compute a packed ordering for structure fields; r=Alex_Gaynor
This patch computes an ordering for the fields of an IPDL structure decl
such that they are packed well in memory.  We'll take advantage of this
ordering in future patches.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 13:59:35 +00:00
Edouard Oger 59ae6a0112 Bug 1532098 - Update login instead delete then add. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D22346

--HG--
extra : moz-landing-system : lando
2019-03-06 17:52:30 +00:00
Coroiu Cristina 1ffb6d372d Backed out changeset 39c2628de53e (bug 1522919) for browser chrome failures at content/test/trackingUI/browser_trackingUI_cryptominers.js on a CLOSED TREE 2019-03-06 20:08:47 +02:00
Emilio Cobos Álvarez fdb4ec179c Bug 1533040 - Remove invalid NS_WARNING_ASSERTION. r=dholbert
We can totally get there with a negative percentage basis, see comment 0 for an
example.

We could keep the warning like:

  NS_WARNING_ASSERTION(clamping_mode == StyleAllowedNumericType::All ||
                       basis >= 0, "nscoord overflow?");

Which will catch cases where the style system would refuse to parse a negative
<length-percentage>, but we got a negative percent basis, which would be weird.

But that's a bit misleading since right now at least we rely on the caller to do
the appropriate clamping. I also think that NS_WARNING_ASSERTION is not very
useful, since we're not very likely to catch stuff with it. But anyhow, your
call.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 17:13:14 +00:00
Ricky Rosario 1a7923c7af Bug 1528955 - Tab successfully pinned notification r=dao
MozReview-Commit-ID: IUKhiRvDsqZ

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

--HG--
extra : moz-landing-system : lando
2019-03-06 15:34:34 +00:00
Dan Minor 227713d452 Bug 1515210 - Build openh264 plugin for win64-aarch64; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D21782

--HG--
extra : moz-landing-system : lando
2019-03-06 17:12:40 +00:00
Andrea Marchesini cc644618dc Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 16 - Always grant storage permission for storage-access door hanger, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D22273

--HG--
extra : moz-landing-system : lando
2019-03-06 17:05:35 +00:00
Andrea Marchesini f3be1866e2 Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 15 - Comments, r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D21906

--HG--
extra : moz-landing-system : lando
2019-03-06 17:05:17 +00:00
Andrea Marchesini 4643d957ad Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 14 - Test for cookies policy, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D21697

--HG--
extra : moz-landing-system : lando
2019-03-06 17:04:55 +00:00
Andrea Marchesini 89b7c3883a Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 13 - Cookies, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D21696

--HG--
extra : moz-landing-system : lando
2019-03-06 17:04:29 +00:00
Andrea Marchesini 4fabb4a2a8 Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D21538

--HG--
extra : moz-landing-system : lando
2019-03-06 17:04:06 +00:00
Andrea Marchesini cc423cd937 Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 11 - windows/workers/documents must keep the current cookie settings and ignore changes, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D18960

--HG--
extra : moz-landing-system : lando
2019-03-06 17:03:33 +00:00
Andrea Marchesini cc69a8960f Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 10 - Fix existing tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D18958

--HG--
extra : moz-landing-system : lando
2019-03-06 17:03:08 +00:00
Andrea Marchesini 89ed086455 Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 9 - Tests for DOM Cache and cookie settings changing, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D18957

--HG--
extra : moz-landing-system : lando
2019-03-06 17:02:43 +00:00
Andrea Marchesini 7433e39d29 Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 8 - Tests for ServiceWorkers and cookie settings changing, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D18956

--HG--
extra : moz-landing-system : lando
2019-03-06 17:02:25 +00:00
Andrea Marchesini 1367c07970 Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 7 - Tests for IndexedDB and cookie settings changing, r=Ehsan,asuth
Differential Revision: https://phabricator.services.mozilla.com/D18955

--HG--
extra : moz-landing-system : lando
2019-03-06 17:02:04 +00:00
Andrea Marchesini b2540a417d Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 6 - Tests for SharedWorker and cookie settings changing, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D18954

--HG--
extra : moz-landing-system : lando
2019-03-06 17:01:42 +00:00
Andrea Marchesini 6373795d50 Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 5 - BroadcastChannel must be blocked when cookie jar access is denied to avoid communication between live and new documents, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D18953

--HG--
extra : moz-landing-system : lando
2019-03-06 17:01:24 +00:00
Andrea Marchesini 241c861dc5 Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 4 - Storage tests, r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D18952

--HG--
extra : moz-landing-system : lando
2019-03-06 17:01:07 +00:00
Andrea Marchesini 4762f2ad6c Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 3 - LocalStorage and SessionStorage, r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D18951

--HG--
extra : moz-landing-system : lando
2019-03-06 17:00:54 +00:00
Andrea Marchesini b56cfaae9b Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 2 - AntiTracking, r=Ehsan
Depends on D18949

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

--HG--
extra : moz-landing-system : lando
2019-03-06 17:00:46 +00:00
Andrea Marchesini 2fb61cb48b Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 1 - information stored into loadInfo, r=Ehsan,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D18949

--HG--
extra : moz-landing-system : lando
2019-03-06 17:00:39 +00:00
Jan de Mooij 9efa0b1b31 Bug 1530937 part 9 - Convert callVMs for Ion IC fallback functions. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D22284

--HG--
extra : moz-landing-system : lando
2019-03-06 17:03:15 +00:00
Jan de Mooij 7d039c5756 Bug 1530937 part 8 - Convert some Ion callVMs that already exist in VMFunctionList-inl.h. r=nbp
Depends on D22278

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

--HG--
extra : moz-landing-system : lando
2019-03-06 15:56:21 +00:00
Jan de Mooij b2669a46f1 Bug 1530937 part 7 - Move callVM and oolCallVM methods from CodeGeneratorShared to CodeGenerator. r=nbp
They're only used in CodeGenerator.cpp so we can now move some of the helper
classes and templates from the header file to the cpp file.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 15:56:21 +00:00
Andi-Bogdan Postelnicu 891cf78a33 Bug 1529650 - For SprintfLiteral checker also disallow it in third party paths. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D21240

--HG--
extra : moz-landing-system : lando
2019-02-27 15:15:24 +00:00
Gijs Kruitbosch 4fe5536b6a Bug 1532685 - avoid opening help pages more than once by adding listeners to the actual dialogs instead of using utilityOverlay.js, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D22300

--HG--
extra : moz-landing-system : lando
2019-03-06 16:10:37 +00:00
Erica Wright b6be38fdef Bug 1522919 - Add histograms to count fingerprinting and cryptomining blocking states per page load. r=johannh
Add histograms to count fingerprinting and cryptomining blocking states per page load.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 16:23:07 +00:00
Jed Davis 07a3a4354d Bug 1516325 - Use poll() in NSPR on MacOS. r=glandium
This is being changed in Firefox's build config rather than NSPR's
to avoid possibly introducing regressions into other NSPR users due
to bugs in MacOS's poll, such as the POLLPRI issue addressed in the
previous patch.  (There is also a known bug when calling poll() with
zero descriptors, but PR_Poll already has code to call PR_Sleep instead
in that case.)

Depends on D21321

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

--HG--
extra : moz-landing-system : lando
2019-02-27 15:12:21 +00:00
Jed Davis 0004ada24c Bug 1516325 - Don't poll for POLLPRI on Necko self-pipe on Unix. r=dragana
Necko uses a pipe-to-self pattern in its event loop, except that on
Windows the pipe is a socket, and we're checking for PR_POLL_EXCEPT for
Windows-specific reasons and treating it as an error.  On Unix this
isn't necessary, and it causes interoperability problems with MacOS,
which asserts POLLPRI (which is what PR_POLL_EXCEPT maps to) as well
as POLLIN on pipes whenever normal data can be read.  (This may be a
standards violation by MacOS, but it's simple enough to work around.)

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

--HG--
extra : moz-landing-system : lando
2019-03-04 15:39:15 +00:00
Gurzau Raul aa161c4fb3 Backed out changeset 50e087cd09de (bug 1532001) for failing at /test/static/browser_all_files_referenced.js on a CLOSED TREE. 2019-03-06 18:31:14 +02:00
Yaron Tausky 43054fe975 Bug 1516277 - Add local execution mode to nsThread r=janv,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D21241

--HG--
extra : moz-landing-system : lando
2019-03-06 16:26:07 +00:00
Byron Campen [:bwc] d568195e70 Bug 1529403: Put bug links in webrtc wpt meta files. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D21557

--HG--
extra : moz-landing-system : lando
2019-03-06 16:15:10 +00:00
Andrei Oprea 9e314a60e9 Bug 1528953 - Add pref to opt out of recommended features r=k88hudson
To be reviewed together with https://github.com/mozilla/activity-stream/pull/4819

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

--HG--
extra : moz-landing-system : lando
2019-03-05 10:55:14 +00:00
Csoregi Natalia fb77726639 Merge mozilla-central to autoland. CLOSED TREE 2019-03-06 18:14:27 +02:00
Csoregi Natalia 5916c8397a Merge inbound to mozilla-central. a=merge 2019-03-06 18:11:32 +02:00