Граф коммитов

551112 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kew 92d0aff08b Bug 1384862 - Update WOFF2 code to latest upstream. r=sylvestre 2017-07-27 10:33:47 +02:00
Andrew Osmond 42e6712830 Bug 1388332 - Fix a shutdown crash when destroying image decoders before initializing its SurfacePipe. r=tnikkel
A default constructed SurfacePipe contains a NullSurfaceSink as its
filter in mHead. This filter does nothing and is merely a placeholder.
Since most SurfacePipe objects are constructed with the default
constructor, and NullSurfaceSink has no (modified) state, we use a
singleton to represent it. Normally the SurfacePipe owns its filter, so
it needs to do a special check for NullSurfaceSink to ensure it doesn't
free it explicitly.

A Decoder object contains a default constructed SurfacePipe until it
needs to create the first frame from an image. This is a very brief
window because it does not take very long or much data to get to this
stage of decoding.

The NullSurfaceSink singleton is freed upon shutdown, however some
ISurfaceProvider objects may be lingering after this. If their Decoder
has yet to create the first frame, that means the SurfacePipe actually
contains a dangling pointer to the already freed singleton. To make
things worse, it actually tried to free the filter because it didn't
match the singleton (it got freed!).

As such, this change removes NullSurfaceSink entirely. We never use the
SurfacePipe before initializing it with a proper filter, and it would be
considered a programming error to do so. Instead let SurfacePipe::mHead
be null, and assert that it is not null when any operations are
performed on the SurfacePipe.
2017-08-09 06:54:55 -04:00
Jonathan Kew 009efa5e70 Bug 1340910 - pt 2+3 - Import Brotli 0.6.0 from upstream, and Gecko updates required to work with Brotli 0.6.0 API changes. r=glandium 2017-08-09 11:45:39 +01:00
Jonathan Kew a6860e142e Bug 1340910 - pt 1 - Update our Brotli import script to pull release 0.6.0 from upstream. r=glandium 2017-08-09 11:43:52 +01:00
Ami 18023835cc Bug 1388283 - Combine two if statements; r=dao 2017-08-08 23:46:00 +02:00
Ami a0d49a5b2d Bug 1386218 - remove unused function gfxContext::HasComplexClip; r=jrmuizel 2017-08-02 02:12:00 +02:00
Thomas Wisniewski 7acd2dd485 Bug 1286554 - Remove network.http.keep_empty_response_headers_as_empty_string. r=jduell
MozReview-Commit-ID: 3b1Gpi6tit0
2016-07-13 10:40:29 -04:00
Carsten "Tomcat" Book 769d17f306 Merge mozilla-central to mozilla-inbound 2017-08-09 12:27:38 +02:00
Carsten "Tomcat" Book c329d562fb merge mozilla-inbound to mozilla-central a=merge 2017-08-09 11:37:08 +02:00
Christoph Kerschbaumer 6618be4e90 Bug 1366181: Convert test_title.html and test_title.xul to comply with new data: URI inheritance model. r=smaug 2017-08-09 11:21:40 +02:00
Nicholas Nethercote 446c4b6810 Bug 1386103 (part 2, attempt 2) - Convert nsFixed[C]String uses to nsAuto[C]String. r=erahm. 2017-08-09 16:34:14 +10:00
Nicholas Nethercote 353baa551a Bug 1386103 (part 1, attempt 2) - Specify nsAuto[C]String storage size via template parameter. r=dbaron. 2017-08-09 16:34:12 +10:00
Phil Ringnalda 8b6a5ead45 Backed out 2 changesets (bug 1388238) for xpcshell crashes in test_masterPassword.js
Backed out changeset 99a525a70041 (bug 1388238)
Backed out changeset 8e2f4f651250 (bug 1388238)

MozReview-Commit-ID: 2kexqxo5E6O
2017-08-08 22:45:21 -07:00
sotaro 481dd4d078 Bug 1380979 - Enable DXGITextureHostD3D11 usage with WebRender r=nical 2017-08-09 14:28:15 +09:00
Phil Ringnalda 858a553b02 Backed out 2 changesets (bug 1386103) for Android x86 build bustage
Backed out changeset eec506d87d03 (bug 1386103)
Backed out changeset 3f9ec011c9bd (bug 1386103)

MozReview-Commit-ID: 8ak71R7vUOC
2017-08-08 22:08:54 -07:00
Boris Chiou 977c62dc0f servo: Merge #18016 - stylo: Don't apply the rotation if it cannot be normalized (from BorisChiou:stylo/transform/rotate); r=heycam
According to the spec, the computed value of transform is as specified, but
with relative lengths converted into absolute lengths, so in Gecko, we do
nothing while computing the value of rotate3d(), and do normalization in
ProcessRotate3D(). If the direction cannot be normalized, we treat it as
an identity matrix.

However, in Servo, we do normalization in to_computed_value(), and looks
like we are trying to normalize any kind of direction vectors, so according
to the spec, let's move the normalization into Fragment::transform_matrix(),
and return an identity matrix if we cannot normalize its direction vector.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1388216](https://bugzilla.mozilla.org/show_bug.cgi?id=1388216).
- [X] These changes do not require tests because the added test is on Gecko side.

Source-Repo: https://github.com/servo/servo
Source-Revision: 89971910cf8ef5e24ae1542c93699b9ee7c4132c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0edf045ff54cceabb2ccca3a06445dbe6fbac6df
2017-08-08 22:33:03 -05:00
Paul Adenot 93e9705362 Bug 1388372 - Fix assert and null check properly to account for the pass-through mode in gUM. r=jesup
MozReview-Commit-ID: 9kFZG0LwKRM
2017-08-08 17:14:57 +02:00
Dão Gottwald 152f142a9f Bug 1387783 - Add lazy browser shims for fullZoom and textZoom. r=kevinjones
MozReview-Commit-ID: 9AH0KT1BWF5
2017-08-09 10:24:31 +02:00
Manish Goregaokar 04fe065d58 Bug 1387953 - Exit early before calling Servo_HasAuthorSpecifiedRules without element data; r=bholley
MozReview-Commit-ID: VrtKytWlcg

--HG--
extra : rebase_source : 7c0f3060b7ebf9c384b5ceba884d5ff9a3394c0b
2017-08-07 13:48:09 -07:00
steveck-chung a2ae47851d Bug 1388238 - Add encrypt/decrypt methods to MasterPassword.jsm. r=MattN
MozReview-Commit-ID: AHpzYNbnnWv

--HG--
extra : rebase_source : 5c324c252d1ac55ece40dd15ab7275c5d927d75d
2017-08-07 20:44:08 -07:00
steveck-chung 865acf06ce Bug 1388238 - Implement waitForMasterPasswordDialog helper which handles open dialogs. r=MattN
MozReview-Commit-ID: A8jx8s37f1k

--HG--
extra : rebase_source : 713902e23974b19900d9f28352d20686871e4e09
2017-08-08 20:53:49 -07:00
Phil Ringnalda e50c48b068 Backed out 2 changesets (bug 1388238) for eslint failures
CLOSED TREE

Backed out changeset 55f44886a839 (bug 1388238)
Backed out changeset 7b7aa4e9ae5a (bug 1388238)

MozReview-Commit-ID: CRkGar72Nra
2017-08-08 20:16:48 -07:00
steveck-chung ee43547809 Bug 1388238 - Add encrypt/decrypt methods to MasterPassword.jsm. r=MattN
MozReview-Commit-ID: AHpzYNbnnWv

--HG--
extra : rebase_source : d4d1eb5a72d6d09a8d3774a2dbedc9539e16596a
2017-08-07 20:44:08 -07:00
steveck-chung cad837ad66 Bug 1388238 - Implement waitForMasterPasswordDialog helper which handles open dialogs. r=MattN
MozReview-Commit-ID: A8jx8s37f1k

--HG--
extra : rebase_source : 66e5e8427ffe07f3566fc1173522083de2290a95
2017-08-07 20:43:02 -07:00
Ricky Chien 6367e31f55 Bug 1361957 - Update new icons for about:preferences to match Photon spec r=dao
--HG--
extra : rebase_source : ee7c284aa329663e48ad9c1a7486b26e22831197
2017-08-09 09:49:46 +08:00
Francois Marier abc9db6106 Bug 1388570 - Remove trailing period from Safe Browsing advisory titles. r=hchang
MozReview-Commit-ID: I2cxQcTyQjc

--HG--
extra : rebase_source : af287158f3be9bfdadb350ab51099c796690fc3c
2017-08-08 17:27:35 -07:00
Nicholas Nethercote 7512aa2dea Bug 1386103 (part 2) - Convert nsFixed[C]String uses to nsAuto[C]String. r=erahm.
In all of these cases the fixed buffer has the same lifetime as the string
object, so we can use nsAuto[C]String for simplicity.

For the 128-length ones in dom/xul/ I just switched to the default of 64 for
simplicity, because the choice of 128 didn't seem that important. (These code
paths weren't hit when I started the browser and opened a few sites.)

Finally, the patch also changes LoggingIdString to use
nsAutoCStringN<NSID_LENGTH>, similar to NullPrincipalURI.
2017-08-01 11:58:56 +10:00
Nicholas Nethercote e9daf4d245 Bug 1386103 (part 1) - Specify nsAuto[C]String storage size via template parameter. r=dbaron.
This patch parameterizes nsAuto[C]String, renames them as nsAuto[C]StringN, and
redefines nsAuto[C]String as typedefs for nsAuto[C]StringN<64>.

(The alternative would be to templatize nsAuto[C]String and use a default
parameter, but that would require writing "nsAuto[C]String<>" everywhere.)
2017-08-01 11:58:45 +10:00
Nicholas Nethercote 3b50454376 Bug 1388253 - Remove nsTextFormatter:[v]smprintf(). r=erahm.
--HG--
extra : rebase_source : 27f080dda37d107f64eb8f341c6ebb20b874471b
2017-08-09 10:41:21 +10:00
Nicholas Nethercote d4e19d954a Bug 1388253 - Convert nsTextFormatter:[v]smprintf() use to [v]ssprintf(). r=erahm.
[v]ssprintf() is just a better way of doing things.

--HG--
extra : rebase_source : 25337787b9557f8a7080a67645dba70609a8f646
2017-08-09 10:41:14 +10:00
sotaro 5ae793d1a7 Bug 1388254 - Fix borrowed DrawTarget's transform of DXGITextureData r=nical 2017-08-09 10:38:18 +09:00
Yoshi Huang 8249b8ae4c Bug 1366151 - rewrite dom/html/test/test_fullscreen-api-race.html. r=smaug
Run this test with security.data_uri.unique_opaque_origin set to false
so we can reply on SimpleTests.waitForFocus() to be fired.
2017-08-09 08:58:11 +08:00
Ehsan Akhgari eefe461ec1 Bug 1379344 - Avoid traversing the display list twice inside nsDisplayList::UpdateBounds(); r=mstange 2017-08-08 20:54:48 -04:00
Ehsan Akhgari 061d437c9e Bug 1386960 - Call nsTextInputListener's callback manually after using the non-transaction based editor code path for setting values of input controls; r=bzbarsky 2017-08-08 18:27:42 -04:00
Dustin J. Mitchell 64c81d4d30 Bug 1382729: allow uploading docs at all levels; r=gps
The upload now uses MOZ_SCM_LEVEL to determine which secret and bucket to
upload to, so it can potentially run at any level.

This also modifies task descriptions to allow {level} in scopes, and updates
try syntax to allow `-j doc-upload` even though run-on-tasks says it doesn't
run on try by default.

MozReview-Commit-ID: Dm27TGPa7IM

--HG--
extra : rebase_source : f1131abc8cd639251e085c8ebf776827a6b831ed
extra : amend_source : b2b0cb253c7f6e90fdd710c2c788877411bd9e1d
2017-08-08 19:13:05 +00:00
Jed Davis 2a133d756a Bug 1388545 - Fix PulseAudio breakage caused by read restrictions. r=gcp
MozReview-Commit-ID: 518mslh9xy
2017-08-08 16:17:52 -06:00
Wes Kocher 7651bde05c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9Abf0fILvvK
2017-08-08 15:16:00 -07:00
Wes Kocher 650baf5c45 Merge inbound to central, a=merge
MozReview-Commit-ID: HpVAbc2vi78
2017-08-08 15:14:28 -07:00
Mason Chang fa082bb902 Bug 1386080 - Make DrawTarget thread safe refcountable. r=bas 2017-08-08 15:11:11 -07:00
Matthew Noorenberghe 5a8d9770c6 Bug 1373563 - Skip the ControlCenter localFile mozscreenshots configuration due to changing paths. r=me
MozReview-Commit-ID: DbTrgwKEREq

--HG--
extra : rebase_source : 534c3ab070683628773c16a9738f8752fe45b4ec
2017-08-08 14:37:25 -07:00
Eric Rahm 7eae341db9 Bug 1386825 - Part 6: Remove FxAccountsManager now that MOZ_B2G is removed. r=markh
MozReview-Commit-ID: 8ldrMrPqhsV
2017-08-08 14:41:12 -07:00
Eric Rahm fb60453284 Bug 1386825 - Part 5: Remove MOZ_B2G from configure. r=glandium
MozReview-Commit-ID: Cg5gljpECwo
2017-08-08 14:41:11 -07:00
Eric Rahm fe18bf0131 Bug 1386825 - Part 4: Remove remaining instances of MOZ_B2G. r=froydnj
MozReview-Commit-ID: 8r4eMwiZ4Vg
2017-08-08 14:41:09 -07:00
Eric Rahm d947321e29 Bug 1386825 - Part 3: Remove MOZ_B2G from libpref. r=froydnj
MozReview-Commit-ID: GFLU2XF5yId
2017-08-08 14:41:08 -07:00
Eric Rahm fe8929dc60 Bug 1386825 - Part 2: Remove MOZ_B2G from toolkit. r=froydnj
MozReview-Commit-ID: Ji3MoFKLVI4
2017-08-08 14:41:07 -07:00
Eric Rahm 01f545fea7 Bug 1386825 - Part 1: Remove MOZ_B2G from dom. r=bkelly
MozReview-Commit-ID: 1zzP2r01B7U
2017-08-08 14:41:05 -07:00
Jan Varga bd9fcfbc01 Bug 1350637 - Part 11: Fix a race between parent/child process; r=asuth
When a storage child actor gets the xpcom-shutdown notification, it releases
the actor singleton which asynchronously sends __delete__ to the parent and
destroys the child actor immediatelly. However, at the same time parent can be
sending a message to the child which results in a routing error since the child
actor doesn't exist anymore. The routing error causes a crash.
This patch prevents the race by doing the teardown in two steps. We send a
message to the parent DeleteMe and parent then sends __delete__ to the child.
2017-08-08 23:02:57 +02:00
Wes Kocher 96d2fa009d Backed out 3 changesets (bug 1382968) for breaking browser_addons_debug_webextension.js a=backout
Backed out changeset e25b4bd21ac8 (bug 1382968)
Backed out changeset 5a2260bc98ca (bug 1382968)
Backed out changeset 869a9b46b5cc (bug 1382968)

MozReview-Commit-ID: DSKWAHxdXI

--HG--
rename : devtools/server/actors/webconsole/listeners.js => devtools/server/actors/utils/webconsole-listeners.js
rename : devtools/server/actors/webconsole/utils.js => devtools/server/actors/utils/webconsole-utils.js
rename : devtools/server/actors/webconsole/worker-listeners.js => devtools/server/actors/utils/webconsole-worker-listeners.js
extra : source : 309b1b63eb48ded8573cafdcc21602765fce3d9e
2017-08-08 09:17:56 -07:00
Emilio Cobos Álvarez 199acfadce Bug 1366163: Update test expectations. r=heycam
MozReview-Commit-ID: 2UFRnrIOETo
2017-08-08 14:15:27 +02:00
Mark Banner 17760ce731 Bug 1388250 - Remove old sync isBookmarked and getBookmarkedURIFor APIs from nsINavBookmarksService. r=Paolo
Also remove IsBookmarkedInDatabase(), mItemCount, RecursiveFindRedirectedBookmark(), UpdateKeywordsForRemovedBookmark() from nsNavBookmarks as they aren't used anywhere.

MozReview-Commit-ID: 4cZXAdRuVoF

--HG--
extra : rebase_source : 2c08a09de48cfb06c3e8db261dfe7ea1b1526e10
2017-08-08 07:58:59 +01:00