ffxbld
eb520767a4
No bug, Automated HSTS preload list update from host bld-linux64-spot-094 - a=hsts-update
2017-03-21 08:22:08 -07:00
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
Mark Banner
c225eb9884
Bug 1347712 - Add the tree-wide rules and config to the recommended eslint-plugin-mozilla config, to make it easier for outside projects. r=jaws
...
MozReview-Commit-ID: K7X57ZNppkE
--HG--
extra : rebase_source : 697cdbcbbc732a7ae5b538112f3c603943e86692
2017-03-21 15:40:33 +01:00
Mark Banner
d7d8be9285
Bug 1347712 - Move toolkit/.eslintrc.js rules into a 'recommended' set within eslint-plugin-mozilla. r=jaws
...
MozReview-Commit-ID: Jy4apKnmWcV
--HG--
rename : toolkit/.eslintrc.js => tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js
extra : rebase_source : ae0c740c1c2a9cf620c1ac34024622ade12e6fd4
2017-03-22 10:43:00 +01:00
Alexander Surkov
f276097163
Bug 1346518 - extend Accessible::RemoveChild debugging assertions, r=yzen
2017-03-21 10:13:32 -04: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
Carsten "Tomcat" Book
e557a3222d
Backed out changeset 5733e0b0e096 (bug 1120409) for causing frequent timeouts in test_XHR_timeout.html
2017-03-21 11:28:38 +01: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
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
Jorg K
a1da2be4c3
Bug 1346916 - Skip test_reload.js:test_reloading_a_temp_addon() for Thunderbird. a=aswan
...
--HG--
extra : rebase_source : b011c81ad7252ce614d021728517a08a7139760d
2017-03-21 08:52:00 +01:00
Jan Varga
ee8bdbeba6
Bug 1348660 - Part 6: Rename QuotaManager::IsOriginWhitelistedForPersistentStorage() to QuotaManager::IsOriginInternal(); r=btseng
2017-03-22 12:14:09 +01:00
Jan Varga
08e526c841
Bug 1348660 - Part 5: Implement a method to retrieve usage data for all origins at once; r=btseng
2017-03-22 12:14:04 +01:00
Jan Varga
84e0671a2c
Bug 1348660 - Part 4: Extract common code from GetOriginUsageOp to a new base class QuotaUsageRequestBase; r=btseng
2017-03-22 12:13:58 +01:00
Jan Varga
ae1ee28451
Bug 1348660 - Part 3: Separate the canceled state out of UsageInfo; r=btseng
2017-03-22 12:13:54 +01:00
Jan Varga
4221505b78
Bug 1348660 - Part 2: Rename usage related methods and structures to express the relation to a concrete origin; r=btseng
2017-03-22 12:13:48 +01:00
Jan Varga
2232d1fd5c
Bug 1348660 - Part 1: Convert nsIQuotaUsageRequest result related attributes to a new structure nsIQuotaUsageResult and expose it using a new result attribute of type nsIVariant; r=btseng
2017-03-22 12:13:38 +01:00
Olli Pettay
02a0f210fa
Bug 1346654, follow the COM rules in nsTextInputSelectionImpl, r=ehsan
...
--HG--
extra : rebase_source : 15f1e22fe3e814c34332b4f9e2ff1f889e3a264d
2017-03-22 12:19:20 +02:00
Andrea Marchesini
507c00cb9f
Bug 1343933 - Renaming Principal classes - part 4 - ContentPrincipal, r=qdot
...
--HG--
rename : caps/nsPrincipal.cpp => caps/ContentPrincipal.cpp
rename : caps/nsPrincipal.h => caps/ContentPrincipal.h
2017-03-22 11:39:31 +01:00
Andrea Marchesini
f91cb666bb
Bug 1343933 - Renaming Principal classes - part 3 - SystemPrincipal, r=qdot
...
--HG--
rename : caps/nsSystemPrincipal.cpp => caps/SystemPrincipal.cpp
rename : caps/nsSystemPrincipal.h => caps/SystemPrincipal.h
2017-03-22 11:39:08 +01:00