Commit Graph

564056 Commits

Author SHA1 Message Date
Ethan Lin
63bdc855fa Bug 1405957 - Part1. Remove advanced filter layer. r=kats
This pref is only for webrender layers mode. So we should remove it.

MozReview-Commit-ID: AxPLnc0uO1U

--HG--
extra : rebase_source : daecac41200be2244b0c6dccb66e0d61d7634691
2017-10-05 14:34:37 +08:00
Mike Hommey
79eba188f7 Bug 1409273 - Replace malloc_mutex_* with class methods. r=njn
Ideally, we'd be reusing some Mutex class we have in Gecko, the base one
in mozglue/misc being the best candidate. However, the contraints in
mozjemalloc make that unconvenient:
- Can't have a constructor because malloc_init() would likely run before
  it, and that would mean the mutexes would be re-initialized.
- Can't have a destructor because code will run after static
  destructors, and some of that code likely will invoke the allocator,
  and we can't have destructed mutexes by then.
- Can't use pthread_mutex on OSX because that loops back into the
  allocator.

Accomodating the use of Gecko mutexes around those constraints would
mean much more code than just implementing a new mutex class, so the
latter is preferred.

--HG--
extra : rebase_source : d2e180a5007390c620aa6d7921340b9784c7699f
2017-10-06 17:20:04 +09:00
Marco Bonardo
e3fddaf049 Bug 1405722 - Remove the IsLivemark() bookmarks observer from PlacesUIUtils. r=standard8
MozReview-Commit-ID: 586IR54ggbm

--HG--
extra : rebase_source : f3d3c3e71bf92c0eecbd2e129517b7eefd70224d
2017-10-10 12:05:19 +02:00
Matthew Gregan
bc2c40ef4d Bug 1407490 - Update media/audioipc to c466287. r=kamidphish
MozReview-Commit-ID: 8V6k3m2f3lI

--HG--
extra : rebase_source : 9e986d5c4a5b509162ef03ec86b2a95a9cd4ff0c
2017-10-16 15:37:10 +13:00
Scott Wu
0e5bedff9a Bug 1407530 - Update formautofill.properties string IDs and localization notes. r=flod,lchang
MozReview-Commit-ID: uHWhQmrVgu

--HG--
extra : rebase_source : d4994a174dd6b4935f442f862f4fae09798fcbfb
2017-10-11 18:19:35 +08:00
Cameron McCormack
c5a3672a18 Bug 1408305 - Use Servo to parse IntersectionObserver rootMargin values. r=xidorn
MozReview-Commit-ID: 4CIXP73kcf2

--HG--
extra : rebase_source : d9b8bdbf374e98d0f2276be129efd7ae49123498
2017-10-16 18:02:16 +08:00
Cameron McCormack
60f96ff0f2 servo: Merge #18915 - style: Add FFI function for parsing IntersectionObserver rootMargin values (from heycam:observer); r=upsuper
Servo-side part of https://bugzilla.mozilla.org/show_bug.cgi?id=1408305, reviewed there by Xidorn.

Source-Repo: https://github.com/servo/servo
Source-Revision: ac74cd57a257fc95e0513524e196c91807c18bba

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : de3b5a683ea395a1a9be625c1c68b2de9b7b5497
2017-10-17 01:11:39 -05:00
Alfredo.Yang
2c5201069c Bug 1387798 - remove uncessary check for remaining data and add error log when parsing fails. r=kinetik
MozReview-Commit-ID: Bo6q3ysvktr

--HG--
extra : rebase_source : 2c6f4e2b9475c2c8a8d718f1cb2ef59cde518b71
2017-10-13 14:40:05 +08:00
Alfredo.Yang
136532474c Bug 1387798 - use Result as return value in BufferReader. r=kinetik
MozReview-Commit-ID: uLny8ebSic

--HG--
extra : rebase_source : 964a677865f82f1fa745ffa0530ebe5fb5ebb76b
2017-10-13 09:44:48 +08:00
Alfredo.Yang
e707fdfbf4 Bug 1387798 - move initialized codes out of box constructor to another function which could be able to return error. r=kinetik
MozReview-Commit-ID: 5LJVCTYIT7o

--HG--
extra : rebase_source : a87d825abb76b5c9410eee1b996f3559ca7153d7
2017-10-13 10:13:28 +08:00
Alfredo.Yang
9bc0b0adbc Bug 1387798 - rename to BufferReader. r=kinetik
MozReview-Commit-ID: E1zhXdLEPFS

--HG--
extra : rebase_source : d2ef3260a6545c2d8c271126d7917df9443473fd
2017-10-11 15:55:15 +08:00
Alfredo.Yang
1eb3494e1d Bug 1387798 - copy ByteReader. r=kinetik
MozReview-Commit-ID: 6L0A3sEbLKY

--HG--
rename : media/libstagefright/binding/include/mp4_demuxer/ByteReader.h => media/libstagefright/binding/include/mp4_demuxer/BufferReader.h
extra : rebase_source : 4605dadad2be963306277f5c6563c12c62427615
2017-10-11 15:51:35 +08:00
JW Wang
ee83cd683f Bug 1400674 - fix the algorithm of filling audio gaps with silence. r=jya
MozReview-Commit-ID: Hjsboq6PdlN

--HG--
extra : rebase_source : b92dbbe184563b71bb9cfc541a310ae60d41d68d
2017-10-13 17:24:24 +08:00
Ethan Lin
f585fef0f1 Bug 1408296 - Enable some crashtests for webrender. r=kats
MozReview-Commit-ID: 543ZYLhacx8

--HG--
extra : rebase_source : 247ddffeba52e7a7fbe864c2644be66b164ceb24
2017-10-13 11:56:04 +08:00
Nicolas Chevobbe
3867f9768c Bug 1408845 - Release longString actors;r=bgrins.
MozReview-Commit-ID: H3Z1pp5vgUm

--HG--
extra : rebase_source : 6fa120a8f3c6837f7b7877d5a873bae6790e8b1d
2017-10-16 09:55:50 +02:00
Cameron McCormack
8f935136a2 Bug 1408322 - Remove inDOMUtils.cssPropertyIsValid() and use CSS.supports() instead. r=jryans
MozReview-Commit-ID: HNYVb31PZus

--HG--
extra : rebase_source : 8419a14bc21e9cf7f405a2c3091e5dc7d1676da1
2017-10-17 13:00:42 +08:00
Glenn Watson
69eced5c31 servo: Merge #18914 - Update WR (hit test relative point, query feature) (from glennw:update-wr-hit-test); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 1715329eb1037cb4f0c723d3db2e22d722c7290d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f333a35b48bd0a3b2f214fb5c26a06fdca2c5a0a
2017-10-16 23:42:12 -05:00
Ting-Yu Lin
41bb308fa2 Bug 1374482 Part 2 - Remove x and y parameters from _test_minimum_select_one_character(). r=mtseng
They are not needed due to Part 1.

MozReview-Commit-ID: DMPnidVgbOI

--HG--
extra : rebase_source : f9683d71247b9a8702ea4edb74d39b67a341f65f
2017-10-16 18:12:32 +08:00
Ting-Yu Lin
ba33d9cde8 Bug 1374482 Part 1 - Simplify focus changing tests for caret selection mode. r=mtseng
It uses _test_minimum_select_one_character() to ensure the carets appear,
but the complexity of that test is high. To make the test more stable, I
make it test select a word after changing the focus.

MozReview-Commit-ID: Jml82EpQxNm

--HG--
extra : rebase_source : 73ee1dd063fb7092feb7031f0c28bd342abec8f0
2017-10-16 17:58:41 +08:00
Nevin Chen
0c78fa51d2 Bug 1407961 - Show home after creating PWA. r=snorp
MozReview-Commit-ID: DM2nvjFrges

--HG--
extra : rebase_source : b633e2468786052c00e4e00c8350911dd3d1433c
2017-10-12 18:48:21 +08:00
Chris Pearce
2ba329dae6 Bug 1409178 - Move DecoderTraits::CreateDecoder() to ChannelMediaDecoder::Create(). r=jwwang
Now DecoderTraits doesn't need to depend on ChannelMediaDecoder.

MozReview-Commit-ID: D4AUiV2eGWy

--HG--
extra : rebase_source : 38e6c4cdd0f7e32473c6945550bca6fd0cc72bf2
2017-10-16 22:55:26 +02:00
Chris Pearce
48475f5f0b Bug 1409178 - Merge InstantiateDecoder and DecoderTraits::CreateDecoder. r=jwwang
CreateDecoder is the only caller of InstantiateDecoder, and all CreateDecoder
does is call InstantiateDecoder.

MozReview-Commit-ID: KwwL2el8L4x

--HG--
extra : rebase_source : bff225558fd2de535c2cb010eb35b95c6d9469e5
2017-10-16 22:42:32 +02:00
Chris Pearce
eb61536947 Bug 1409178 - Remove MediaDecoder::InitStatics() since it's a no-op. r=jwwang
MozReview-Commit-ID: Leo5wNaxpjg

--HG--
extra : rebase_source : 2555c7dc26ca6867e79322bd572085a0cdfeb3b2
2017-10-16 22:39:02 +02:00
Chris Pearce
1d354be8e8 Bug 1409060 - Don't include necko-config.h in MediaDecoder.h. r=jwwang
MozReview-Commit-ID: 2RmqxUayD0L

--HG--
extra : rebase_source : ac868ce7df6a308a9005ce89c725616006c666ba
2017-10-16 17:54:18 +02:00
Hiroyuki Ikezoe
4a3f9860e7 Bug 1404545 - Force to call MediaFeatureValuesChanged for stylo in UpdateEffectiveTextZoom. r=heycam
MozReview-Commit-ID: EWbg7fHjcGt

--HG--
extra : rebase_source : 0dcb3e37400f50bdaa8618f920131b60b9c99d3e
2017-10-17 13:25:12 +09:00
Phil Ringnalda
dcda41b943 Backed out changeset 5b9d2ebcf44e (bug 1033395) for failures in browser_overflow_anchor.js
MozReview-Commit-ID: LfhmJLydnaF
2017-10-16 22:01:54 -07:00
Jeremy Chen
f2005d7a52 Bug 1408851 - part3: add test. r=TYLin
MozReview-Commit-ID: 3MrSPQWpcY

--HG--
extra : rebase_source : 44a99cbc823325f2be4994a1dc378b4afa8a57ac
2017-10-16 17:15:01 +08:00
Jeremy Chen
df30b97e6d Bug 1408851 - part2: do not always clamp negative calc values while serializing basic-shape inset. r=TYLin
According to the spec, negative values are valid for inset(), so we should not
clamp it while computing and serializing negative calc values for inset().

MozReview-Commit-ID: DA21CaPO9w7

--HG--
extra : rebase_source : 235b4f144ebff1295853a559e867f4f904f0f061
2017-10-16 17:18:05 +08:00
Jeremy Chen
0391446db0 Bug 1408851 - part1: do not always clamp negative calc values in BoxValuesToString. r=TYLin
nsComputedDOMStyle::BoxValuesToString() is a helper function for computing and
serializing box values. In the current implementation, BoxValuesToString
implicitly clamp negative calc values, which is pretty non-trivial.

In this patch, we expose an extra aClampNegativeCalc parameter for BoxValuesToString,
so the callers can explicitly set the clamping mode as needed.

MozReview-Commit-ID: 1UjLSqtqVzn

--HG--
extra : rebase_source : 9bdbb17fc8287fc5f9e505ffb8d5377917cac510
2017-10-16 16:55:54 +08:00
JW Wang
a8587b5ae3 Bug 1408482 - fix build error. r=gerald
MozReview-Commit-ID: HIq2zZROKRA

--HG--
extra : rebase_source : c4dd09508bd71e8079066d63085a6ac2dd6cd4e0
2017-10-17 10:55:11 +08:00
Servo VCS Sync
801155adeb No bug - Revendor rust dependencies 2017-10-17 04:02:06 +00:00
Savid Sharan
bd5b12e722 servo: Merge #18906 - Removed pdqsort dependency under the style crate (from savanu:pdqsortchange); r=SimonSapin
<!-- Please describe your changes on the following line: -->
Removed the pdqsort dependency from the style crate.
Removed the sort_by_key method and used the stdlib version directly.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #16120 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this is covered by existing tests.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: eecee32a0b139096e8fe268590536b2eb5ac911d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1aacb8ba8c3a241dff40b8f7d854f47b70be86d9
2017-10-16 21:50:04 -05:00
Cameron McCormack
64d0481dfd Bug 1408312 - Part 3: Replace nsCSSParser/nsRuleNode usage for color computation in Servo styled documents. r=xidorn
MozReview-Commit-ID: LuB0izWz7nk

--HG--
extra : rebase_source : 0fd4e9a3b62c668ab0a6925e70006646a3273e62
2017-10-16 09:06:39 +08:00
Cameron McCormack
04696a9b72 Bug 1408312 - Part 2: Replace nsCSSParser usage in inDOMUtils::IsValidCSSColor. r=xidorn
MozReview-Commit-ID: AGo249i7ATL

--HG--
extra : rebase_source : decfb82dfa419b5a57edb9e2f1d4cd04ed7d5599
2017-10-16 09:02:35 +08:00
Cameron McCormack
460faae1fa Bug 1408312 - Part 1: Add ServoCSSParser utility class. r=xidorn
MozReview-Commit-ID: KzM9332hBSx

--HG--
extra : rebase_source : cee890ae943bdd855528522ef774bc95adfd4245
2017-10-16 08:54:47 +08:00
bechen@mozilla.com
fbee889f6c Bug 1408693 - Add a lock to protect the sGPUCrashDataMap. r=jwwang
MozReview-Commit-ID: 7NDcoGMkKZ3

--HG--
extra : rebase_source : 206af0de83a1fb4fb5258202a25de8484a9e2bef
2017-10-16 14:03:04 +08:00
John Lin
aa6e1e2563 Bug 1408445 - handle exception when querying codec capabilities. r=esawin
MozReview-Commit-ID: 5Ee3eQqAgvG

--HG--
extra : rebase_source : 557ca633cab3dbe2b85d80da2e483303b8bc3c43
2017-10-15 14:54:46 +08:00
Kartikaya Gupta
cba218bfef Bug 1407635 - Slightly increase fuzz again for test when webrender is enabled. r=mtseng
MozReview-Commit-ID: 6TB7Pb5UQDB

--HG--
extra : rebase_source : 4d5ac3ecd2ba05da991e9761d270ea01c3809880
2017-10-16 08:44:09 -04:00
Ray Lin
2ff2e91f18 Bug 1392940 - Add expiration date parser to detect cc-exp family fields. r=MattN,seanlee
MozReview-Commit-ID: 3HB93QAdCXw

--HG--
extra : rebase_source : 0508bdf078f1d7891b2044b69c25cd102bb0ceee
2017-09-04 17:18:07 +08:00
J.C. Jones
d01c97d43a Bug 1392852 - Disable EV treatment for old StartCom root certificates r=keeler
Per the root program's request, this patch removes EV treatment for three
StartCom roots:

1) CN=StartCom Certification Authority, OU=Secure Digital Certificate Signing, O=StartCom Ltd., C=IL
SHA-256 Fingerprint: C7:66:A9:BE:F2:D4:07:1C:86:3A:31:AA:49:20:E8:13:B2:D1:98:60:8C:B7:B7:CF:E2:11:43:B8:36:DF:09:EA

2) CN=StartCom Certification Authority, OU=Secure Digital Certificate Signing, O=StartCom Ltd., C=IL
SHA-256 Fingerprint: E1:78:90:EE:09:A3:FB:F4:F4:8B:9C:41:4A:17:D6:37:B7:A5:06:47:E9:BC:75:23:22:72:7F:CC:17:42:A9:11

3) CN=StartCom Certification Authority G2, OU=null, O=StartCom Ltd., C=IL
SHA-256 Fingerprint: C7:BA:65:67:DE:93:A7:98:AE:1F:AA:79:1E:71:2D:37:8F:AE:1F:93:C4:39:7F:EA:44:1B:B7:CB:E6:FD:59:95

MozReview-Commit-ID: COOu1zvoNWG

--HG--
extra : rebase_source : 68ce6ebd850f3a796bb52e71d05b02b8d860c9f7
2017-10-16 16:14:06 -07:00
J.C. Jones
11a9b47490 Bug 1387261 - Remove EV treatment for WoSign roots r=keeler
Per the root program's request, this patch removes EV treatment for four WoSign
roots:

Common Name: CA 沃通根证书
SHA-256 Fingerprint: D6:F0:34:BD:94:AA:23:3F:02:97:EC:A4:24:5B:28:39:73:E4:47:AA:59:0F:31:0C:77:F4:8F:DF:83:11:22:54

Common Name: Certification Authority of WoSign
SHA-256 Fingerprint: 4B:22:D5:A6:AE:C9:9F:3C:DB:79:AA:5E:C0:68:38:47:9C:D5:EC:BA:71:64:F7:F2:2D:C1:D6:5F:63:D8:57:08

Common Name: Certification Authority of WoSign G2
SHA-256 Fingerprint: D4:87:A5:6F:83:B0:74:82:E8:5E:96:33:94:C1:EC:C2:C9:E5:1D:09:03:EE:94:6B:02:C3:01:58:1E:D9:9E:16

Common Name: CA WoSign ECC Root
SHA-256 Fingerprint: 8B:45:DA:1C:06:F7:91:EB:0C:AB:F2:6B:E5:88:F5:FB:23:16:5C:2E:61:4B:F8:85:56:2D:0D:CE:50:B2:9B:02

MozReview-Commit-ID: Bxp9LgvxCsp

--HG--
extra : rebase_source : 065d98cc654d3fb22c17ea185253ce917b48e270
2017-10-16 16:08:56 -07:00
Alex Gaynor
e6c660f838 Bug 1319423 - Part 3 - Change the print IPC to not require the content process to create a temporary file; r=bobowen
MozReview-Commit-ID: GLhTbfREk0n

--HG--
extra : rebase_source : f8f94b222fffa16ab973d07c940bfd64b5407440
2017-10-03 16:34:18 -04:00
Alex Gaynor
b00c32c807 Bug 1319423 - Part 2 - Switch away from std::ifstream to PRFileDesc in PrintTranslator; r=jrmuizel
MozReview-Commit-ID: 6ucwbGkqOQ0

--HG--
extra : rebase_source : ab0540e2b7d61108c8c550d8bf8b8a594364f90a
2017-10-03 13:23:57 -04:00
Alex Gaynor
41d8032290 Bug 1319423 - Part 1 - Introduce DrawEventRecorderPRFileDesc to allow switching away from std::ofstream in printing; r=jrmuizel
MozReview-Commit-ID: 1gn8J2fhejS

--HG--
extra : rebase_source : 02b6224c2788964c375092e58174efbacfdbdba5
2017-10-03 12:29:15 -04:00
Oriol Brufau
d43e9a7123 Bug 1281875 - Allow console to inspect logged cross-origin functions r=nchevobbe
MozReview-Commit-ID: AtLUHvExZa8

--HG--
extra : rebase_source : 7c34e6da16a1b64dfe99bcfaea0fe79a3cf17b2a
2017-10-15 14:56:24 +02:00
Erica Wright
d29984c27b Bug 1033395 - Panels Should Be Anchored from the Same Height on the Toolbar. r=johannh
MozReview-Commit-ID: 6bhlfeD1esE

--HG--
extra : rebase_source : 6e2d645505f154ae556827032af2e51f32657484
2017-09-13 15:49:32 -04:00
Erica Wright
6146d651bb Bug 1407754 - exiting customize mode quickly after adding a toolbar item to toolbar properly adds it to the toolbar. r=jaws
MozReview-Commit-ID: C7uvVVWoIeB

--HG--
extra : rebase_source : 423b5a7449410a5064405fdb18a87017eb668c6c
2017-10-13 09:27:48 -04:00
J.C. Jones
cffad01a4b Bug 1407829 - WebAuthn: Implement CredMan's Store method r=qdot,ttaubert
Credential Management defines a Store operation [1], which needs to be
implemented for WebAuthn's spec compliance. It only returns a NotSupportedError
for WebAuthn [2], so it's pretty simple.

[1] https://w3c.github.io/webappsec-credential-management/#dom-credentialscontainer-store
[2] https://w3c.github.io/webauthn/#storeCredential

MozReview-Commit-ID: KDEB8r5feQt

--HG--
extra : rebase_source : b3e2a270a2ea7c1689ef9991c1345bcc20368c9e
2017-10-12 17:02:22 -07:00
Josh Matthews
9cb2fce13c servo: Merge #18903 - Don't report smallbitvec as an error (from servo:jdm-patch-2); r=emilio
This should make dependencyCI turn green again.

Source-Repo: https://github.com/servo/servo
Source-Revision: ec24a40ab6b0d2022ff0b09057910105fdea8a6a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : aec0a2ff18fd42e9d7fdd7a99beb5604b07f8cc7
2017-10-16 20:37:02 -05:00
Mark Striemer
1a03f9f88c Bug 1407999 - Support locked prefs for homepage r=jaws
MozReview-Commit-ID: Fxo0jh6KbOt

--HG--
extra : rebase_source : 8eb18e4ca98cfe6caba8304b2a0b30b41a0e6937
2017-10-12 12:47:36 -05:00