Commit Graph

640189 Commits

Author SHA1 Message Date
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
Johann Hofmann
0788e90a43 Bug 1485670 - Improve error page styles in iframes. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D21907

--HG--
extra : moz-landing-system : lando
2019-03-06 15:58:18 +00:00
Martin Giger
20732f3658 Bug 1527116 - Remove nsXBLBinding::mUsingContentXBLScope. r=bzbarsky
Replaces all usages of nsXBLBinding::mUsingContentXBLScope with the assumption that it's always false and removes the property.

I've also removed the related method and property on nsXBLEventHandler, since that appeared to be dead code, too.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 13:37:53 +00:00
David Major
3fd68ef47d Bug 1528071 - Add include guards to StaticAtoms.py r=heycam
This will make the headers more unified-build-friendly.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 04:40:03 +00:00
Henrik Skupin
cf4ad61257 Bug 1530794 - Release marionette_driver 2.8.0 and marionette_harness 4.6.0. r=ato
Depends on D22105

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

--HG--
extra : moz-landing-system : lando
2019-03-06 12:50:52 +00:00
Henrik Skupin
455dc06ab3 Bug 1530794 - [marionette] Bump requirements for Python 3 compatibility. r=ato
Nearly all dependencies except moznetwork and moztest already
support Python3. Lets make those releases the minimum allowed
version.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 12:50:50 +00:00
shivani
86c8a5c629 Bug 1530281 - Replace promiseWaitForEvent in browser_typeAheadFind.js with BrowserTestUtils.waitForEvent. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D22101

--HG--
extra : moz-landing-system : lando
2019-03-06 09:39:03 +00:00
Minsoo Kim
68dc81978e Bug 1530799 - Replaced waitForCondition function with TestUtils.waitForCondition r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D22041

--HG--
extra : moz-landing-system : lando
2019-03-06 09:43:44 +00:00
Shruti
72236ba96c Bug 1531013: Replace makeURI with Services.io.newURI in browser-places.js r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D21668

--HG--
extra : moz-landing-system : lando
2019-03-06 09:27:55 +00:00
Marco Bonardo
e2a36d3b96 Bug 1531787 - Fix browser_raceWithTabs.js with QuantumBar. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D22117

--HG--
extra : moz-landing-system : lando
2019-03-06 11:18:10 +00:00