Commit Graph

551467 Commits

Author SHA1 Message Date
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
Chris Pearce
e869956526 Bug 1388288 - Make TrackBuffersManager compile in non-Unified mode. r=jya
TrackBuffersManager::SegmentParserLoop() fails to compile in non-Unified mode
because some uses of SourceBufferAttributes::AppendState don't have the
SourceBufferAttributes:: prefix. So just add a typedef to make that
unnecessary.

MozReview-Commit-ID: 1H3SIeUxNu7

--HG--
extra : rebase_source : 06215eec4f19a46dc5e7243f1be02a1bfb974ddf
2017-08-08 15:02:20 +08:00
Chris Pearce
1c7befff21 Bug 1388288 - Make EME/GMP related code build non-Unified. r=gerald
MozReview-Commit-ID: 5q0Wwr2BNA0

--HG--
extra : rebase_source : e32e90c06ac933b3a387e26dbbfdcfac93ef3faf
2017-08-08 16:36:01 +08:00
Chris Pearce
f59d29e3f3 Bug 1388288 - Make OpusTrackEncoder build in non-Unified mode. r=SingingTree
MozReview-Commit-ID: 9Y6rkxYwVhw

--HG--
extra : rebase_source : 5d5f61b9cd83ac13c2c328a22bf033b9ad3ab4c4
2017-08-08 16:42:57 +08:00
Chris Pearce
2317493000 Bug 1388288 - Make Flac and Ogg decoders build in non-Unified mode. r=jya
FLAC_MAX_CHANNELS is used in FlacDemuxer and in FrameParser, so move it,
and all the other FLAC_{MIN,MAX}* #defines to FrameParser.h. The other
defines don't technically need to be there, but it's nicer to have them
all defined together.

MozReview-Commit-ID: LVZzXvBSvMq

--HG--
extra : rebase_source : 1c8e5c111232856ef5589f214c00d510ece9af00
2017-08-08 15:46:37 +08:00
Chris Pearce
5270e8c4f7 Bug 1388288 - Make dom/media/platforms build in non-unified mode. r=jya
MozReview-Commit-ID: 43uEIDmfCMR

--HG--
extra : rebase_source : 5d5619be910d83a85459d00a8ea5f71fd91278ba
2017-08-08 14:35:36 +08:00
Chris Pearce
843a107185 Bug 1388288 - Make dom/media/webaudio build non-Unified. r=padenot
MozReview-Commit-ID: Dihfqa9URpl

--HG--
extra : rebase_source : 0e1346919ada98b78481ced311940248cffd6d86
2017-08-08 11:38:02 +08:00
Chris Pearce
dd6f329054 Bug 1388288 - Make CubebUtils build in non-Unified builds. r=padenot
MozReview-Commit-ID: DTpwXrnLFJZ

--HG--
extra : rebase_source : 5508abc107dde4a8a6bf225cff4e0428075127e8
2017-08-08 10:57:08 +08:00
Farmer Tseng
c7c31e6f60 bug 1358076 - Part2. Enable gtest for PDFViaEMFPrintHelper r=jwatt
MozReview-Commit-ID: BWzuisXJrhV

--HG--
extra : rebase_source : 56a76a6a9eaa6e48d633fd2a2a0a6ef8b818f813
2017-08-09 14:28:16 +08:00
Farmer Tseng
6891586bfd Bug 1358076 - Part1. Add a gtest to verify PDFViaEMFPrintHelper r=jwatt
PrinterTestPage.pdf is from
https://opensource.apple.com/source/cups/cups-136.9/cups/test/testfile.pdf

MozReview-Commit-ID: HSCD80QVQVt

--HG--
extra : rebase_source : f5f044834a369a896452c7731bc91d73c31f6277
2017-08-09 14:28:06 +08: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
Julian Descottes
7d2c113b8c Bug 1387482 - default to true when reading pref devtools.inspector.enabled from Firefox;r=mixedpuppy
This preference will be moved inside the devtools addon and won't be always available.
By default consuemrs should consider this to be true, as the inspector is always enabled
by default.

If devtools are not installed, the DevToolsShim will be responsible for redirecting the
call to inspect node to the devtools installation flow.

MozReview-Commit-ID: 279mJ5WRzok

--HG--
extra : rebase_source : f78a2034f1e0dce3a65669e69ef8ab97242c5eaf
2017-08-04 17:55:51 +02:00
Dão Gottwald
20cc4a7399 Bug 1354205 - Remove FUEL remnants. r=mossop
MozReview-Commit-ID: G5jTrWHZDLV

--HG--
extra : rebase_source : 3bb445bb7d5edb569e83f7ef44a4c843370e0e64
2017-08-03 15:52:34 +02:00
Boris Chiou
ab736ddb91 Bug 1388216 - Add a rotate3d whose direction vector cannot be normalized into property_database.js. r=heycam
Make sure it doesn't cause assertions.

MozReview-Commit-ID: GHIM9o7DPVO

--HG--
extra : rebase_source : d9c1448e4448d109130af402e77a4901ef562d6d
2017-08-08 17:55:17 +08: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
Aryeh Gregor
82ee59d8c7 Bug 1388119 - Drop support for createEvent("ErrorEvent"/"PopStateEvent"); r=smaug
They were just dropped from the spec:

https://github.com/whatwg/dom/issues/362
https://github.com/whatwg/dom/pull/489

ErrorEvent we never supported anyway until it was added recently to
match the spec.  PopStateEvent is not supported by WebKit, Blink is
planning to try dropping support, our telemetry shows usage is
basically zero, and we never supported any way to initialize it anyway.

The changes to Document-createEvent.html and Document-createEvent.js are
taken from upstream.  The other wpt changes are new in this commit.

MozReview-Commit-ID: A6GzhLwL08l

--HG--
extra : rebase_source : 4bdcd605b179ea787985845e9b1c53f76ebc179a
2017-08-07 21:19:59 +03:00