Commit Graph

17962 Commits

Author SHA1 Message Date
Stephen A Pohl
1f2e716a79 Bug 1466335: Automatically switch to the appropriate Firefox theme based on the macOS dark mode system preference. r=dao,mstange 2018-06-27 13:59:21 -04:00
Nathan Froyd
713a85aa66 Bug 1471614 - remove some dead code in CycleCollectedJSRuntime; r=mccr8
Not only is it dead code, but it's a significant amount of useless work!
2018-06-27 18:03:10 +02:00
Dorel Luca
f7aa7c9447 Backed out changeset 0ca9cade7725 (bug 1471614) for XPCshell failures on devtools/shared/tests/unit/test_css-properties-db.js 2018-06-27 18:42:30 +03:00
Nathan Froyd
1185b20068 Bug 1471614 - remove some dead code in CycleCollectedJSRuntime; r=mccr8
Not only is it dead code, but it's a significant amount of useless work!
2018-06-27 11:10:31 -04:00
Nathan Froyd
8f2baafcb6 Bug 1471434 - micro-optimize refcounting for directory enumerators; r=erahm
We were not being as efficient as we could be with passing ownership.
2018-06-27 09:46:33 -04:00
Dorel Luca
f51c4fa5d9 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-27 13:26:49 +03:00
Jeff Gilbert
15f1932c0f Bug 1470325 - Update Codegen.py to emit Foo_Binding instead of FooBinding. - r=bz,qdot
MozReview-Commit-ID: CFIQpIRsXIU
2018-06-26 17:05:01 -07:00
Jorg K
0570f32194 Bug 1471278 - Restore GetSpecialSystemDirectory() for Win_Documents when compiling Thunderbird. r=froydnj 2018-06-26 13:41:00 +03:00
Gurzau Raul
729b75ccb4 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-27 00:55:38 +03:00
Emilio Cobos Álvarez
a36447ed0d Bug 1470930: Make RunnableKind an enum class. r=froydnj
I'm about to introduce a mozilla::Cancelable type, and RunnableKind::Cancelable
would conflict with it otherwise.

MozReview-Commit-ID: 3FAoHAtUE6W
2018-06-26 18:21:19 +02:00
Chris Peterson
2afd829d0f Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.

MozReview-Commit-ID: 5UQVHElSpCr

--HG--
extra : rebase_source : 4c1b2fc32b269342f07639266b64941e2270e9c4
extra : source : 907543f6eae716f23a6de52b1ffb1c82908d158a
2018-06-17 22:43:11 -07:00
Mike Hommey
77a4c8515d Bug 1471132 - Make building a binary component a compile-time error. r=froydnj
Loading binary components is not supported since bug 1314955.

--HG--
extra : rebase_source : cc224240c4f7264ce946faed054f35019e559607
2018-06-26 16:18:14 +09:00
Mike Hommey
a6228a3f8a Bug 1471132 - Change how static xpcom components are initialized. r=froydnj
The sStaticModules list is, practically speaking, a copy of the list
of components we already have in libxul, augmented at runtime with
a few other components for tests (for gtest and xpcshell). We don't
actually need to keep that copy in memory. We can instead just use the
pointers in libxul directly to register them to the component manager,
and use a separate list, only for those extra components when they need
to be registered.

--HG--
extra : rebase_source : 1a32c95312d8577c99823adea8dbc0b022c286b2
2018-06-26 16:10:30 +09:00
Mike Hommey
0ddc27774e Bug 1471132 - Change how static xpcom components are linked. r=froydnj
Overall, this makes the whole setup less fragile, and make it work with
LTO in more situations.

--HG--
extra : rebase_source : de968c61dc4ef337fdc28745c202334ac41763cd
2018-06-26 14:40:51 +09:00
Mike Hommey
b231504a1b Bug 1471132 - Avoid ASAN padding between NSModules. r=froydnj
--HG--
extra : rebase_source : 480ea315a847ffb63a8cb1e583669a61f1a7f3eb
2018-06-26 14:39:49 +09:00
Margareta Eliza Balazs
03ab62719a Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : devtools/client/debugger/test/mochitest/browser_dbg_tabactor-01.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-01.js
rename : devtools/client/debugger/test/mochitest/browser_dbg_tabactor-02.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-02.js
2018-06-26 18:08:43 +03:00
Jacek Caban
16173fb976 Bug 1470993 - Fix reflect mingw clang compilation r=dmajor
MozReview-Commit-ID: 4al9Yid9prK

--HG--
extra : rebase_source : 97d59d43270bd2ee23380d0b3cade2dbf9c517d0
2018-06-25 21:51:39 +02:00
ffxbld
499488f95b Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-06-25 09:34:19 -07:00
Andreea Pavel
2104aead80 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-06-23 00:52:57 +03:00
David Major
a22b21c63c Bug 1470488 - don't instrument win32's xptcall SharedStub; r=froydnj
Compiler-inserted instrumentation is going to do terrible things to this
function, so don't let the compiler do that.
2018-06-22 13:51:13 -04:00
Coroiu Cristina
e72433191e Merge inbound to mozilla-central a=merge 2018-06-22 12:55:04 +03:00
Nicholas Nethercote
60b1f563cb Bug 1447951 - Store nsDynamicAtom's chars after the end of the object. r=froydnj
This reduces memory usage because we only need one allocation instead of two
for the dynamic atom and its chars, and because we don't need to store a
refcount and a size. It precludes sharing of chars between dynamic atoms, but
we weren't benefiting much from that anyway.

This reduces per-process memory usage by up to several hundred KiB on my
Linux64 box.

One consequence of this change is that we need to allocate + copy in
DOMString::SetKnownLiveAtom(), which could make some things slower.

--HG--
extra : rebase_source : ba4065ea31e509dd985c003614199f73def0596c
2018-06-22 09:38:42 +10:00
Csoregi Natalia
ed1521707f Merge inbound to mozilla-central. a=merge 2018-06-22 00:50:23 +03:00
Jean-Yves Avenard
46cc265bba Bug 1468241 - P1. Add MozPromise::CreateAndResolveOrReject method r=gerald
Useful when using promise chaining in combination with MozPromise::ResolveOrRejectValue parameter.

MozReview-Commit-ID: F8qMh7yFnHQ

Differential Revision: https://phabricator.services.mozilla.com/D1726
2018-06-20 22:14:05 +00:00
Andi-Bogdan Postelnicu
2f780cc3ed Bug 1453795 - XPCom/String - Initialize member fields in classes/ structures. r=froydnj
--HG--
extra : rebase_source : 9f9b074342cc38137ea8f57dd2eb59d4ae327956
2018-06-14 13:57:45 +03:00
Coroiu Cristina
d9d047381d Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-06-22 12:59:11 +03:00
Arnaud Bienner
5fdd4661b7 Bug 1458446 - Add AudioWorkletNode interface definitions. r=baku,karlt
MozReview-Commit-ID: BLumJG4BDke

--HG--
extra : rebase_source : 1a507149cefb76cedbcc336d9b9ae6e0eebed59c
2018-06-01 19:10:02 +02:00
Andrea Marchesini
f235838704 Bug 1461921 - Block storage access for third-parties on the tracking protection list - part 7 - Network cache, r=mayhemer, r=ehsan 2018-06-20 13:38:22 -04:00
Andreea Pavel
f85f162e83 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-06-20 14:31:42 +03:00
Tarek Ziadé
a895a7efea Bug 1464571 - fixes DOM Worker performance counters - r=baku,froydnj
Now uses StaticPrefs instead of DOMPrefs, and how we count dispatches for Workers.

MozReview-Commit-ID: DTumwcI5bG

--HG--
extra : rebase_source : 0cf5312e714fb260c01df647b2cd1fcc28ffc415
2018-06-19 16:14:06 +02:00
shindli
350fbcac6e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-19 00:46:12 +03:00
Paolo Amadini
eee7fe032d Bug 1468217 - Add "SettingContent-ms" to the list of executable file extensions. r=Gijs 2018-06-18 11:26:33 +01:00
Valentin Gosu
4cade1b2b5 Bug 1389251 - Add esc_Spaces that may be used to force escaping of spaces r=bz,jdescottes
MozReview-Commit-ID: 4tahH3IOKW

--HG--
extra : rebase_source : 12057b98c87d7d3c57e90888082f540c49c5a9a9
2018-06-18 15:06:25 +02:00
Valentin Gosu
6444ab9d1e Bug 1389251 - Do not escape spaces in nsSimpleURI r=bz
This change makes nsEscape::T_EscapeURL not escape spaces when passed esc_OnlyNonASCII.
This fixes a web-compat issue for URLs such as "javascript: alert('hello');" and the fact that data: URIs with spaces around MIME type are rejected.

MozReview-Commit-ID: 91Qw9foW6Y3

--HG--
extra : rebase_source : 2da1b5f305ca2abcce2f9988cd6a5cbc12635c61
2018-06-18 15:06:24 +02:00
Dorel Luca
ba31c8c2b2 Backed out 3 changesets (bug 1389251) for browser-chrome failure on browser/base/content/test/pageinfo/browser_pageinfo_image_info.js. CLOSED TREE
Backed out changeset a76a3251a9d2 (bug 1389251)
Backed out changeset c6baebf7b34c (bug 1389251)
Backed out changeset 6e89a11ae28e (bug 1389251)
2018-06-15 06:18:04 +03:00
Dorel Luca
b53fbe3617 Merge mozilla-central to autoland 2018-06-15 05:43:31 +03:00
Nathan Froyd
f9040bbbb9 Bug 1458337 - eliminate unneeded runnable histograms; r=farre
We no longer care about these histograms, and the measurements that they
take can be noticed in profiles.
2018-06-13 18:12:11 -04:00
Valentin Gosu
316f7bf9ac Bug 1389251 - Add esc_Spaces that may be used to force escaping of spaces r=bz,jdescottes
MozReview-Commit-ID: 7VgNlkWqrPK

--HG--
extra : rebase_source : c7ea99bc727a82e652871e78c222e8d5d642a52e
2018-06-12 03:05:03 +02:00
Valentin Gosu
01487f76fb Bug 1389251 - Do not escape spaces in nsSimpleURI r=bz
This change makes nsEscape::T_EscapeURL not escape spaces when passed esc_OnlyNonASCII.
This fixes a web-compat issue for URLs such as "javascript: alert('hello');" and the fact that data: URIs with spaces around MIME type are rejected.

MozReview-Commit-ID: B78AacLxGBp

--HG--
extra : rebase_source : fcef25fab58f7da1732725054ae684588f2e0e89
2018-06-12 03:03:57 +02:00
Andi-Bogdan Postelnicu
6dd061dbed Bug 1453795 - Cycle Collector - Initialize member fields in classes/ structures. r=mccr8 2018-06-13 21:57:56 +03:00
Andrea Marchesini
c60afa7b18 Bug 1466314 - StreamBlobImpl should wrap the cloned stream with InputStreamLengthWrapper if needed, r=smaug 2018-06-13 08:37:26 -07:00
Honza Bambas
4bec70d83f Bug 1468071. r=valentin 2018-06-12 10:50:39 -04:00
Olli Pettay
bad979936f Bug 1468112 - Use runnable name also for IdleTaskRunner's timer, r=farre 2018-06-12 12:17:08 +03:00
Andi-Bogdan Postelnicu
78304aaf0d Bug 1453795 - XPCOM - Initialize member fields in classes/ structures. r=froydnj
--HG--
extra : rebase_source : c9d9e80b83ad52d8ac9203f491f1c9469a7e9b0c
extra : amend_source : ca502ae98ff21a2e3d1ab2d389310f3a5aded5ed
2018-06-15 14:41:20 +03:00
Doug Thayer
10ff9c706f Bug 1448040 - Remove HangMonitor/ChromeHangs r=Nika
Fairly straightforward, just a blanket removal. Haven't heard
anything on dev-platform or fx-data-dev regarding this removal,
so I think it's likely safe to remove on Nightly, and we can
revert if anyone makes a fuss.

As part of removing the HangMonitor, I renamed a few things and
reorganized the namespaces to not depend on a HangMonitor
namespace. Hopefully this doesn't produce too much noise in the
diff, it just seemed appropriate to move everything around
rather than keep dangling vestiges of the old system.

MozReview-Commit-ID: 8C8NFnOP5GU

--HG--
extra : rebase_source : dd000a05bfc2da40c586644d33ca4508fa5330f6
2018-04-29 18:21:20 -07:00
Kyle Machulis
3de9c518aa Bug 1457689 - Remove NS_ERROR_DOM_BAD_DOCUMENT_DOMAIN; r=bz
After fixing the document.domain exceptions to conform to the html
spec, NS_ERROR_DOM_BAD_DOCUMENT_DOMAIN is no longer used, and can be
removed.

MozReview-Commit-ID: 9CwrUSGy2K3

--HG--
extra : rebase_source : 6c624e407fd714f8c61e1e43d44089c0c1e64558
2018-06-08 15:52:53 -07:00
Ciure Andrei
25ae31a366 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-08 00:54:06 +03:00
Honza Bambas
e5398fd8f8 Bug 1413868 - Only run the test on Windows. r=me on a CLOSED TREE 2018-06-07 14:58:34 -04:00
Honza Bambas
eef37ac56e Bug 1413868. r=valentin 2018-06-07 13:56:16 -04:00
Eric Rahm
51f133db96 Bug 1467048 - Add a version of CorruptionCanary for statics. r=froydnj
This adds 'CorruptionCanaryForStatics', which as the name implies is suitable
for use in objects that are statically declared. It has a trivial destructor
which allows us to avoid the need for static constructors.

--HG--
extra : amend_source : 27f8eff9ead21fde9f5f5d17f16c322d2c995a27
2018-06-06 14:50:17 -07:00