Commit Graph

1620 Commits

Author SHA1 Message Date
Andrea Marchesini
26d2ebd48e Bug 1353629 - PBlob refactoring - part 5 - IPCBlobInputStreamStorage, r=smaug
An IPCBlobInputStream can be sent back to the parent process (not implemented
in this patch). When this is done, we basically send only the internal ID.
From this ID, we can retrieve the original inputStream because any
IPCBlobInputStreamParent actor has previously registered it into a singleton:
IPCBlobInputStreamStorage.

So, if we have a IPCBlobInputStreamParent, we have an inputStream, and this
inputStream is known by IPCBlobInputStreamStorage. This will be useful in the
next patches.
2017-04-24 12:09:40 +02:00
Astley Chen
dc20f1571b Bug 1355752 - Remove B2G code from layout/build files. r=jmaher
MozReview-Commit-ID: 4VYUKm8MgHb
2017-04-20 13:16:43 +08:00
Mike Hommey
d51030340d Bug 1357323 - Remove support for gonk in the build system. r=gps
Everything depending on the widget being gonk can go away, as well as
everything depending on MOZ_AUDIO_CHANNEL_MANAGER, which was only
defined on gonk builds under b2g/ (which goes away in bug 1357326).
2017-04-18 16:56:09 +09:00
Manish Goregaokar
6b0229835a Bug 1341724 - Part 2: stylo: Add bindings for fetching font metrics from Gecko; r=heycam
MozReview-Commit-ID: BkPNq22ruwU
2017-04-10 17:06:14 +08:00
Xidorn Quan
ab60606883 Bug 1343964 part 2 - Move dummy url data to be a static member of URLExtraData. r=heycam
MozReview-Commit-ID: I6pc9WmrLW0
2017-04-04 13:21:16 +10:00
Andrea Marchesini
a04ab116f5 Bug 1343933 - Renaming Principal classes - part 4 - ContentPrincipal, r=qdot 2017-03-22 11:39:31 +01:00
Andrea Marchesini
0f1949cb1d Bug 1343933 - Renaming Principal classes - part 3 - SystemPrincipal, r=qdot 2017-03-22 11:39:08 +01:00
Andrea Marchesini
8f5f953fba Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot 2017-03-22 11:38:40 +01:00
Cameron McCormack
757b14f5d7 Bug 1302054 - Part 2: Remove no longer useful nsStyleContext::CalcDifference optimization that handles the same-rule-node case. r=dbaron
nsStyleContext::CalcDifference had an optimization where, when we knew
that the old and new style context have the same rule node, we knew that
the only change hints that would need to be handled are those in the
"not handled for descendants" category, generated due to explicit
'inherit' values on reset properties.  This was because any changes due
to differences in inherited properties should only have generated
"handled for descendants" change hints (and thus would already have been
handled on an ancestor).

Before bug 931668, this let us avoid calling CalcDifference on structs
that only would have generated hints that we knew we already would have
handled.  However, after bug 931668, we compare all structs anyway so
that we can set the aEqualStructs outparam, so we don't gain anything
from this optimization.  We can still return these change hints we know
will not need to be handled, and rely on ElementRestyler::CaptureChange
to filter them out.

MozReview-Commit-ID: Ld1s2Js0i6r
2017-03-21 16:33:05 +08:00
Andrea Marchesini
25207d9b03 Bug 1299500 - Get rid of DeviceStorage API - part 10 - DeviceStorage, r=ehsan, r=billm 2017-03-08 20:15:45 +01:00
Tom Tromey
48da5b7de4 Bug 1060419 - remove unneeded includes of prprf.h, r=froydnj
MozReview-Commit-ID: JifhpA3oOeH
2016-12-09 10:00:01 -10:00
Bobby Holley
61f116d30c Bug 1335303 - Explicitly set up the bool var cache for BrowserFramesEnabled. r=smaug 2017-02-08 17:04:47 -08:00
Tooru Fujisawa
4b595b32f4 Bug 1332245 - Move nsScriptError from js/xpconnect to dom/bindings. r=bz 2017-01-28 00:42:47 +09:00
Nathan Froyd
f4ac025d81 Bug 1276669 - part 6 - seal the static atom table sooner; r=bz
We do this to ensure that everybody has registered all the static atoms
we'll care about, and to pave the way for asserting that nobody is
trying to create any static atoms past this point in the next patch.
2017-01-26 15:43:38 -05:00
Nathan Froyd
e783a421d2 Bug 1276669 - part 4 - initialize RDF atoms in nsLayoutStatics; r=Pike
This is not the cleanest code ever, but we need to move all static atom
initialization prior to NS_SealStaticAtomTable to avoid the possibility
of dynamic atoms being transmuted into static atoms.  We therefore need
to open up an avenue for somebody else to initialize the atoms that RDF needs.
2017-01-26 15:43:39 -05:00
Nathan Froyd
9a57cc0385 Bug 1276669 - part 3 - split out nsHTMLTags atom initialization; r=hsivonen
We do this for much the same reason that we moved the nsHtml5Atoms
initialization.  Otherwise, the nsHTMLTags atoms are lazily initialized
long after we've sealed the static atom table in nsLayoutStatics.
2017-01-26 15:43:39 -05:00
Nathan Froyd
98c979b0b2 Bug 1276669 - part 2 - move nsTextServicesDocument::RegisterAtoms call; r=bz
Moving this call closer to the other atom initializations will enable us
to seal the static atom table sooner.
2017-01-26 15:43:39 -05:00
Nathan Froyd
5ee66af4c7 Bug 1276669 - part 1 - make nsHtml5Atoms initialization explicit in nsLayoutStatics; r=hsivonen
Moving the html5 atoms out into their own initialization phase makes the
initialization of atoms more explicit and avoids problems with trying to
move modules around so their atoms get initialized in the correct place.
As an aesthetic bonus, this change produces pleasing symmetry in
nsHtml5Module::{Initialize,Release}Statics.

Reviewed-by: Nathan Froyd <froydnj@mozilla.com>
2017-01-26 15:43:39 -05:00
Bobby Holley
f696e08c63 Bug 1328651 - Move servo initialization/shutdown back to nsLayoutStatics.cpp. r=heycam 2017-01-08 17:42:29 -08:00
Gregory Moore
68121eeca8 Bug 1301640 - Replaced per-platform variants of nsIDateTimeFormat with single, ICU-backed version that has static c++ callers. r=emk
Also removed unused format selectors and removed option to pass in a locale. Changed all callers to use new version.

MozReview-Commit-ID: Gq0b1c3C1eO
2016-11-21 15:58:37 -08:00
Andrea Marchesini
1f55f5062e Bug 1322550 - Rename DOMStorage to Storage, r=smaug 2017-01-04 14:53:01 +01:00
Masatoshi Kimura
3daefbd333 Backed out changeset 7e747433d1c9 (bug 1301640) for causing bug 1325751. r=backout
MozReview-Commit-ID: GEYAveO6sUj
2016-12-25 10:43:04 +09:00
Wes Kocher
38b74356a8 Merge m-c to autoland, a=merge
MozReview-Commit-ID: Ir5MaTTboph
2016-12-23 14:40:22 -08:00
Wes Kocher
33a9d19502 Merge inbound to central, a=merge
MozReview-Commit-ID: 56QI5RIvpXC
2016-12-23 14:34:55 -08:00
Michelangelo De Simone
3d60535bc8 Bug 1313169 - Remove dom/inputmethod/ and related code. r=Ehsan
MozReview-Commit-ID: 5jkBVon3ZSz
2016-12-20 16:32:12 -08:00
Wei-Cheng Pan
641ed7284e Bug 1323947 - Use Use MOZ_MUST_USE in netwerk/protocol/viewsource r=valentin
MozReview-Commit-ID: 5JAkF53s42X
2016-11-23 17:21:17 +08:00
Xidorn Quan
f706b7b744 Bug 1323147 part 2 - Remove static atoms of CSS properties. r=heycam
This is basically a backout of bug 1294299 part 7.

MozReview-Commit-ID: LpWwFrNX4Jt
2016-12-16 10:02:48 +11:00
Tomislav Jurin
9ff3007b90 Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
Ehsan Akhgari
f2408219cd Bug 1318805 - Move the code for the Web Painting module to layout/painting; r=mattwoodrow
This will help make it clearer that this code lives in a different
module for contributors.
2016-11-21 20:01:15 -05:00
Carsten "Tomcat" Book
f570ff20aa Merge mozilla-central to mozilla-inbound 2016-11-17 14:39:33 +01:00
Ehsan Akhgari
516a4de699 Bug 1318206 - Remove some unused code for clearing app data; r=baku,mcmanus 2016-11-17 08:30:21 -05:00
Michelangelo De Simone
5da7e7a9fd Bug 1317853 - Remove DOM/speakermanager and related code. r=jst
MozReview-Commit-ID: AHkMHalG99K
2016-11-16 13:14:36 -08:00
Michelangelo De Simone
ffa886adf2 Bug 1312800 - Remove dom/inputport. r=jst
MozReview-Commit-ID: BhvPV6lIWd3
2016-11-10 15:39:45 -08:00
Matt Woodrow
bff0924458 Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13:00
Phil Ringnalda
718a8f85bf Backed out changeset d537051ade6a (bug 1315510) for nsTArray_base leaks and a fondess for crashing
CLOSED TREE

MozReview-Commit-ID: KD3jAkCg0O7
2016-11-07 22:18:21 -08:00
Matt Woodrow
edd3d953d7 Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13:00
Phil Ringnalda
0eacb5b6ab Merge m-c to autoland 2016-11-03 20:02:24 -07:00
Michelangelo De Simone
7afbfd107d Bug 1310864 - Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
MozReview-Commit-ID: Az4PTYFUKW8
2016-11-03 13:55:36 -07:00
Phil Ringnalda
1376833f1c Merge m-i to m-c, a=merge
MozReview-Commit-ID: 48WAQwKUCpw
2016-11-02 19:28:38 -07:00
Matt Woodrow
1839f94276 Bug 1314191 - Make sure we shut down VideoDecoderManagerChild before threads go away. r=dvander 2016-11-03 09:57:17 +13:00
Xidorn Quan
0fd35a5767 Bug 1294299 part 7 - Generate static atoms for CSS properties. r=emilio,heycam
MozReview-Commit-ID: FCjbgKagQO1
2016-11-03 14:41:02 +11:00
Wes Kocher
5fe2107617 Merge central to inbound a=merge 2016-11-02 17:31:08 -07:00
Phil Ringnalda
4ef1e5747b Backed out changeset 27695ca9f8cd (bug 1310864) for failures in test_navigator_resolve_identity.html, test_bug707564.html, and test_dom_xrays.html 2016-10-31 19:39:06 -07:00
Michelangelo De Simone
3f59b09ce2 Bug 1310864 - Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
MozReview-Commit-ID: 2tWZc6hMtk5
2016-10-28 17:53:58 -07:00
Michelangelo De Simone
78f700fcaa Bug 1310020 - Remove DOM/bluetooth and related code. r=jst
MozReview-Commit-ID: IEhwzzBgb3x
2016-10-28 14:25:23 -07:00
Michelangelo De Simone
77c0bd03a9 Bug 1309719 - Remove DOM/telephony and related code. r=ehsan+251051
MozReview-Commit-ID: Gv3vnyH4Csi
2016-10-12 15:19:09 -07:00
Michelangelo De Simone
679e26c089 Bug 1310859 - Remove DOM/nfc and related code. r=jst
MozReview-Commit-ID: FiS7uGytipN
2016-10-18 15:16:56 -07:00
Michelangelo De Simone
74c25bed4b Bug 1310027 - Remove DOM/mobilemessage and related code. r=Ehsan
MozReview-Commit-ID: ENmSuOCdTnA
2016-10-17 17:26:51 -07:00
Carsten "Tomcat" Book
da6994b77d merge mozilla-inbound to mozilla-central a=merge 2016-10-17 11:19:02 +02:00
John Dai
3aaae2af88 Bug 1309140 - Rename CustomElementsRegistry to CustomElementRegistry. r=wchen, r=smaug
MozReview-Commit-ID: 3gYTaRVcV0y
2016-10-12 15:26:02 +08:00