Commit Graph

526842 Commits

Author SHA1 Message Date
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
Andrea Marchesini
1fd1bc3935 Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
--HG--
rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp
rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h
rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp
rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
2017-03-22 11:38:40 +01:00
Andrea Marchesini
68207654f2 Bug 1343933 - Renaming Principal classes - part 1 - ExpandedPrincipal, r=qdot
--HG--
rename : caps/nsExpandedPrincipal.cpp => caps/ExpandedPrincipal.cpp
rename : caps/nsExpandedPrincipal.h => caps/ExpandedPrincipal.h
2017-03-22 11:38:17 +01:00
Shawn Huang
867bbb6b91 Bug 1348877 - Load test case interfaces.html on https, r=annevk
--HG--
rename : testing/web-platform/tests/storage/interfaces.html => testing/web-platform/tests/storage/interfaces.https.html
2017-03-22 18:12:11 +08:00
Andrea Marchesini
2e9d67bae0 Bug 1347557 - Move 2 static methods about the IPC serialization of streams into an helper class, r=qdot 2017-03-21 07:47:25 +01:00
Timothy Nikkel
5587bb56c5 Bug 1346109. Set a displayport base rect in MobileViewportManager::UpdateDisplayPortMargins when we are setting displayport margins. r=botond
It's easy to calculate because it's always a root content document.
2017-03-21 00:16:41 -05:00
sotaro
8d50f9ae87 Bug 1348209 - Make wr_renderer_readback() as to handle both GL and GLES r=kats 2017-03-21 11:27:27 +09:00
Wes Kocher
4f5262444c Merge inbound to central, a=merge
MozReview-Commit-ID: 2omKclRg40c
2017-03-20 18:19:52 -07:00
Wes Kocher
0104e2c466 Merge autoland to central, a=merge
MozReview-Commit-ID: L5hcbQfx0kn
2017-03-20 17:49:18 -07:00
Sebastian Hengst
af455321f5 Backed out changeset b4e95d147909 (bug 1343795) for bustage in layout/generic/nsSelection.cpp. r=backout 2017-03-20 23:41:44 +01:00
Shu-yu Guo
48b67cbb5f Bug 1342101 - Move canonicalFunction.init before Scope::create in case create fails. r=jandem 2017-03-20 18:34:10 -04:00
Daniel Stenberg
6ae1479eb9 Bug 1344461 - Keep track of line length to not read beyond eol. r=valentin
--HG--
extra : rebase_source : 662cfbee945210e4fb3a15ef1073bad4afb3c30a
2017-03-20 18:23:18 -04:00
Mats Palmgren
69a981c64a Bug 1343795 - Hold a strong ref on the Selection while calling ScrollIntoView with SCROLL_DO_FLUSH. r=smaug
--HG--
extra : rebase_source : d2bd613d69ac59244818dbe2403e2f7b18deca35
2017-03-20 18:21:00 -04:00
Petr Cerny
89ce732573 Bug 1292534 - Patch lexical parser files generated by flex. r=jgilbert
--HG--
extra : rebase_source : 75f659604b0dfbebe38e2d75912f00a171576439
2017-03-20 18:20:19 -04:00
Jon Coppeard
902f860ca7 Bug 1340482 - Trace shape for shaped but non-native objects. r=sfink
--HG--
extra : rebase_source : c21602d9b65c02920c8dc57cf3bce5011d7ed340
2017-03-20 18:13:19 -04:00
Sebastian Hengst
b3fe6cf3e6 Backed out changeset 2b0cd920b4fc (bug 1336830) for bustage in dom/xslt/xpath/txNodeTypeTest.cpp. r=backout on a CLOSED TREE 2017-03-20 23:23:53 +01:00
Sebastian Hengst
a898496d83 Backed out changeset e4062da24f6b (bug 1336828) 2017-03-20 23:23:01 +01:00
Sebastian Hengst
56361d2b49 Backed out changeset ffa2f50d49ce (bug 1342258) for failing mochitest dom/tests/mochitest/dom-level0/test_setting_document.domain_idn.html. r=backout 2017-03-20 21:19:01 +01:00
Kartikaya Gupta
f3f86c130e Bug 1346856 - Update webrender to dab674d09a51ff5253da0797d129bf29b25896e5. r=jrmuizel 2017-03-20 13:41:23 -04:00
KuoE0
399d6c086f Bug 1348221 - Implement NewNamedTimerCallback to create named timer callback. r=kats
MozReview-Commit-ID: IcEVkfB3puW

--HG--
extra : rebase_source : 45e3f28325d5e6da41fb65688d518170eb5764bb
2017-03-21 00:38:11 +08:00
Sotaro Ikeda
ece294bef8 Bug 1325911 - Update Gleam to v0.4. r=kats
MozReview-Commit-ID: 6QghwNrEC9V
2017-03-20 12:10:40 -04:00
ffxbld
ee7cfd05d7 No bug, Automated HPKP preload list update from host bld-linux64-spot-036 - a=hpkp-update 2017-03-20 08:25:08 -07:00
ffxbld
e5d6472d23 No bug, Automated HSTS preload list update from host bld-linux64-spot-036 - a=hsts-update 2017-03-20 08:25:05 -07:00
Carsten "Tomcat" Book
d61e0b9ced merge mozilla-inbound to mozilla-central a=merge 2017-03-20 13:10:48 +01:00
Lars T Hansen
0c342448a6 Bug 1343007 - Do not insert redundant truncation nodes in constant folding. r=nbp
--HG--
extra : rebase_source : b8b3ec8d1f05d02cc0c0a6b94c76f7cec4eaffb8
2017-03-20 12:36:47 +01:00
Julian Seward
660aaef3f5 Bug 1345032 - Further cost reductions for ProfileBuffer::FindLastSampleOfThread. r=n.nethercote.
ProfileBuffer::FindLastSampleOfThread currently involves a linear search
backwards through the sample buffer.  Profiling showed that to be the largest
profiler cost by far, at least on Linux.  Bugs 1344118 and 1344258
significantly improve the situation, collectively reducing the cost by a
factor of at least 5 and often much more.  But the linear search is still
present and still dominant.  The worst of it is that it's unnecessary: we
could achieve the same by recording the start point of the most recent sample
for each thread in that thread's ThreadInfo record.

This patch does exactly that, adding the type ProfileBuffer::LastSample to
store the start points.  LastSample also includes the ID of the thread it
pertains to as a read-only field, as that is needed in various places.

addTag doesn't check whether we're overwriting buffer entries containing start
points.  Instead, FindLastSample checks whether the entry pointed to the
LastSample it is given still contains a marker.

--HG--
extra : rebase_source : 2987ec744a5c16e8b6814abe7efb507fc7280605
2017-03-22 11:18:31 +01:00
Boris Zbarsky
5497e491cb Bug 1349690. Improve dangling-exception logging in AutoJSAPI::InitInternal to deal better with exceptions from a different origin. r=bholley
MozReview-Commit-ID: IpvRcBC2d6k
2017-03-23 03:06:25 -04:00
Boris Zbarsky
0660340117 Bug 1348095 part 3. Cache the proto of an Xray on its holder, so we don't have to keep re-wrapping it. r=bholley
MozReview-Commit-ID: I78AoSB3TNW
2017-03-23 03:06:25 -04:00