Commit Graph

526178 Commits

Author SHA1 Message Date
Boris Zbarsky
078380eae4 Bug 1348331 part 1. Add RegisterPrefixCallback and RegisterPrefixCallbackAndCall APIs to Preferences. r=froydnj
This will allow us to remove the PrefixMatch option from the public API version
of RegisterCallback/RegisterCallbackAndCall.

MozReview-Commit-ID: 6D0S35nv88Z
2017-03-21 14:59:02 -04:00
Sean Stangl
532abae5e2 Bug 1342016 - Fast-path for isObservableSlot(). r=nbp 2017-03-21 12:12:15 -04:00
Geoff Brown
8736cd834c Bug 1340584 - Remove test_b2g_fallback_when_no_binary; r=wlach 2017-03-21 12:20:03 -06:00
Geoff Brown
df122d5bfa Bug 1340584 - Remove devicemanagerSUT and references to sutagent; r=wlach
sutagent is no longer built or used; devicemanagerSUT is completely
unused. After this change, devicemanagerADB is the only implementation of
devicemanager, and test harness options like --dm_trans are eliminated.
2017-03-21 12:20:01 -06:00
Eric Rahm
7d3e1c4c68 Bug 943686 - Add RasterImage.cpp to unified sources. r=tn
MozReview-Commit-ID: cRFkjJi4dP
2017-03-21 11:09:17 -07:00
Eric Rahm
de862a07cc Bug 943686 - Add ProgressTracker.cpp to unified sources. r=tn
MozReview-Commit-ID: Ipo4Tb1bnHG
2017-03-21 11:09:16 -07:00
Eric Rahm
a7ec07a00d Bug 943686 - Add imgRequestProxy.cpp to unified sources. r=tn
MozReview-Commit-ID: ITT9T22WyYG
2017-03-21 11:09:15 -07:00
Eric Rahm
2f16bd241c Bug 943686 - Add imgRequest.cpp to unified sources. r=tn
MozReview-Commit-ID: B87v26HNtBn
2017-03-21 11:09:14 -07:00
Eric Rahm
0e5acb78bf Bug 943686 - Add imageLoader.cpp to unified sources. r=tn
MozReview-Commit-ID: G9sFOtbFYjP
2017-03-21 11:09:13 -07:00
Tom Schuster
e9d70bb6a0 Bug 1348821 - Log CacheIR IC mode. r=jandem 2017-03-21 18:49:15 +01:00
Tom Schuster
f7b1029d7b Bug 1348821 - For MegamorphicNativeSlot differentiate between HandleMissing. r=jandem 2017-03-21 18:48:50 +01:00
Dragana Damjanovic dd.mozilla@gmail.com
4ec03683cd Bug 1344171 - Improve connection management. r=mcmanus 2017-03-21 18:38:07 +01:00
Dragana Damjanovic
c78f13816f Bug 1342125 - Turn on 0RTT data. r=mcmanus 2017-03-21 18:33:40 +01:00
Ganesh Chaitanya Kale
c98a684459 Bug 1343830 - Remove browser/themes/windows/loop. r=dao 2017-03-21 22:36:09 +05:30
Nathan Froyd
5fd1d453a9 Bug 1312087 - part 1 - move mozilla::{Mutex,CondVar} to use mozglue locking primitives; r=erahm
This change moves us away from NSPR primitives for our primary
synchronization primitives.  We're still using PRMonitor for
ReentrantMonitor, however.

The benefits of this change:

* Slightly faster, as we don't have to deal with some of NSPR's overhead;

* Smaller datatypes.  On POSIX platforms in particular, PRLock is
  enormous. PRCondVar also has some unnecessary overhead.

* Less dynamic memory allocation.  Out of necessity, Mutex and CondVar
  allocated the NSPR data structures they needed, which lead to
  unnecessary checks for failure.

  While sizeof(Mutex) and sizeof(CondVar) may get bigger, since they're
  embedding structures now, the total memory usage should be less.

* Less NSPR usage.  This shouldn't need any explanation.
2017-03-21 10:20:36 -05:00
Nathan Froyd
5b67a265dc Bug 1312087 - part 0 - use PTHREAD_MUTEX_ADAPTIVE_NP mutexes on Linux/glibc; r=erahm
This matches NSPR's behavior for its PRLock type.
2017-03-21 11:20:36 -04:00
Michael Layzell
838290fd27 Bug 1337056 - Part 12: Send down permissions when calling createAboutBlankContentViewer, r=baku
MozReview-Commit-ID: LigZnHM34CC
2017-03-21 11:08:03 -04:00
Michael Layzell
bd18aec002 Bug 1337056 - Part 11: Change the permission key assertion to a fatal assert on debug builds, r=ehsan
MozReview-Commit-ID: HTxvlomRKWy
2017-03-21 11:08:03 -04:00
Michael Layzell
83c788960c Bug 1345573 - Part 2: Remove old tests for permissions syncing, and add test for new logic, r=baku
MozReview-Commit-ID: A2vYqdCpeu6
2017-03-21 11:08:03 -04:00
Michael Layzell
3ffc5e3ecd Bug 1345573 - Part 1: Key http, https, and ftp URIs on origin instead of eTLD+1, r=baku
MozReview-Commit-ID: Gihc4QFf11R
2017-03-21 11:08:03 -04:00
Michael Layzell
b6012319a5 Bug 1337056 - Part 10: Remove ReadPermissions from the sync-messages list, r=billm
MozReview-Commit-ID: 8Ki4KEHKnQm
2017-03-21 11:08:03 -04:00
Michael Layzell
a2d8ee53df Bug 1337056 - Part 9: Check LOAD_HTML_OBJECT_DATA in ContentParent::TransmitPermsFor, r=ehsan
MozReview-Commit-ID: 5MBAUe5zbvU
2017-03-21 11:08:03 -04:00
Michael Layzell
796f2bf010 Bug 1337056 - Part 8: Add nsIRequest::LOAD_HTML_OBJECT_DATA flag to identify requests loaded by nsObjectLoadingContent, r=mcmanus
MozReview-Commit-ID: 3hgLRCeuiyD
2017-03-21 11:08:03 -04:00
Michael Layzell
28a69a2cac Bug 1337056 - Part 7: Refactor nsObjectLoadingContent::GetTypeOfContent logic out into nsContentUtils, r=qdot
MozReview-Commit-ID: IJQNhQZzx3y
2017-03-21 11:08:03 -04:00
Michael Layzell
0d5232cf03 Bug 1337056 - Part 6: Disable nsPermissionManager::GetEnumerator in the content process, r=kitcambridge
This property allows enumerating over all permissions. As the content
process no longer has access to all permissions, this method cannot be
correctly implemented in the content process anymore.

Because of that, we now error with NS_ERROR_NOT_AVALIABLE when it is
accessed in the content process.

MozReview-Commit-ID: BLNeYYcZhIi
2017-03-21 11:08:03 -04:00
Michael Layzell
9803b986e3 Bug 1337056 - Part 5: Add support for finer-grained permission update messages to ContentParent, r=baku
MozReview-Commit-ID: 6y6eBLWPTue
2017-03-21 11:08:03 -04:00
Michael Layzell
092eeed6cf Bug 1337056 - Part 4: Assert that the ipcKey for a principal is avaliable when creating a PermissionKey in the child process, r=baku
MozReview-Commit-ID: G9TynCKgCVF
2017-03-21 11:08:03 -04:00
Michael Layzell
09ff23c2cc Bug 1337056 - Part 3: Send down http[s] and ftp permissions as they are needed. Send down other permissions at startup, r=baku
MozReview-Commit-ID: CUKPvFp6zpF
2017-03-21 11:08:03 -04:00
Michael Layzell
ba95fb3f71 Bug 1337056 - Part 2: Replace the synchronous ReadPermissions API with async APIs, r=baku
These APIs are intended to use the mechanism defined in Part 1.

Part 3 implements the usage of these APIs to synchronize permissions.

MozReview-Commit-ID: HNKyDPtoaHl
2017-03-21 11:08:03 -04:00
Michael Layzell
ca0fec349f Bug 1337056 - Part 1: Add a mechanism for grouping permissions into groups to be sent over IPC, r=baku
MozReview-Commit-ID: IQiSsVGaAOQ
2017-03-21 11:08:03 -04:00
Sebastian Hengst
952d1e945f Backed out changeset 4258769b457d (bug 1348464) for crashing in Marionette e10s tests in nsIDocument::GetDocGroup(). r=backout on a CLOSED TREE 2017-03-21 15:48:56 +01:00
Sebastian Hengst
2b5713b552 Backed out changeset b89cd59e4ff6 (bug 1348464) 2017-03-21 15:47:46 +01:00
Sebastian Hengst
e6878260b4 Backed out changeset fecc6abcf708 (bug 1316683) for bustage at docshell/base/SerializedLoadContext.cpp:65:61. r=backout on a CLOSED TREE 2017-03-21 15:47:15 +01:00
Alexander Surkov
f276097163 Bug 1346518 - extend Accessible::RemoveChild debugging assertions, r=yzen 2017-03-21 10:13:32 -04:00
Jon Coppeard
0401d77410 Bug 1341096 - Make JS::IsIncrementalBarrierNeeded return true while sweeping incrementally r=sfink a=abillings 2017-03-21 10:24:11 +00:00
Ehsan Akhgari
28ff218127 Bug 1316683 - Avoid going into SpiderMonkey for retrieving origin attributes; r=baku
Our caller is C++ code, and the implementations are all also written in C++,
so there is no reason to go through SpiderMonkey here.  This patch also makes
nsILoadContext builtinclass to ensure that the implementation is always native.
2017-03-21 10:05:00 -04:00
Andreas Farre
ad6dba33e8 Bug 1314959 - Enable requestIdleCallback by default. r=smaug
MozReview-Commit-ID: KDheP6zVhD0
2017-03-21 14:50:37 +01:00
Ehsan Akhgari
566751834a Bug 1346583 - Remove the PContent::Msg_OpenAnonymousTemporaryFile sync IPC; r=billm 2017-03-21 09:27:48 -04:00
Ehsan Akhgari
2d24acd7f3 Bug 1348464 - Part 1: Avoid two virtual calls in NS_URIChainHasFlags(); r=mcmanus 2017-03-21 09:26:07 -04:00
Ehsan Akhgari
350b13d1d9 Bug 1348464 - Part 0: Make nsIOService::GetInstance() a simple inline function that returns a plain pointer; r=mcmanus 2017-03-21 09:26:00 -04:00
Andreas Farre
875c145599 Bug 1318720 - Don't allow calling rIC on detached windows. r=smaug
MozReview-Commit-ID: FFXCNCPpGvh
2017-03-21 13:26:30 +01:00
Andreas Farre
a0564798da Bug 1318720 - Add test for calling rIC on removed iframe. r=smaug
MozReview-Commit-ID: 9TGGSxcUHs2
2017-03-21 13:26:29 +01:00
Andreas Farre
d68fa1945b Bug 1318720 - Don't test if idle callbacks may execute in the same period. r=smaug
MozReview-Commit-ID: HKjU4R6BChT
2017-03-21 13:26:29 +01:00
Andreas Farre
c2f45a1b19 Bug 1318720 - Prevent chaining idle callbacks in the same period. r=smaug
MozReview-Commit-ID: H3lvpNi9Lx9
2017-03-21 13:26:28 +01:00
Gabor Krizsanits
9ea5f7a83d Bug 1341008 - Stop rebroadcasting BlobURLUnregistration. r=baku 2017-03-21 12:58:41 +01:00
Carsten "Tomcat" Book
97f79397b6 Merge mozilla-central to mozilla-inbound 2017-03-21 12:07:49 +01:00
Carsten "Tomcat" Book
6fd1303c2a merge mozilla-inbound to mozilla-central a=merge 2017-03-21 12:04:43 +01:00
Carsten "Tomcat" Book
533d2dffab merge autoland to mozilla-central a=merge 2017-03-21 12:02:59 +01:00
Jon Coppeard
0c9adfde90 Backed out changeset 24fb27182a1d (bug 1341096) 2017-03-21 11:01:42 +00:00
Shawn Huang
4ae6659c88 Bug 1268804 Part 5: Add wpt test cases for SecureContext, r=janv 2017-03-21 19:00:57 +08:00