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

551318 Коммитов

Автор SHA1 Сообщение Дата
Sylvestre Ledru 7ed5c41a4c Bug 1388994 - GetRequestingPrincipal: Pass parameter by ref instead of value r=dragana
MozReview-Commit-ID: 5iD8HF0PQfs

--HG--
extra : rebase_source : 516bbfa30168779200fdca09033a5d1b3f1d884b
2017-08-10 08:47:26 +02:00
Sebastian Hengst 6a474244a8 Backed out changeset 78d87b59f5a7 (bug 1370508) for unexpected pass of wpt-reftest /css/css-namespaces-3/syntax-013.xml. r=backout on a CLOSED TREE 2017-08-10 10:23:22 +02:00
Sebastian Hengst b287601ebc Backed out changeset 61cf451831f5 (bug 1320656) for bustage in RegExp.o. r=backout on a CLOSED TREE 2017-08-10 10:21:56 +02:00
Xidorn Quan c0203dbf2c Bug 1388881 - Use namespace id instead of atom in synthesize_presentational_hints_for_legacy_attributes. r=manishearth
Using namespace id fixes this issue because in Gecko, the pref of MathML
(as well as SVG) works in the way that we choose a different namespace
id (the disabled id) for the elements. Those ids are mapped to the same
namespace atom as normal ids, which means if we use the atom, we would
treat the elements like normal mathml elements.

MozReview-Commit-ID: 9YBBokbP04M

--HG--
extra : rebase_source : 397f09db41a22bfa34e4abe26ad10027dab83d0d
2017-08-10 16:29:17 +10:00
Xidorn Quan 683c186350 servo: Merge #18033 - Use namespace id instead of atom in synthesize_presentational_hints_for_legacy_attributes (from upsuper:disable-mathml); r=Manishearth
Using namespace id fixes this issue because in Gecko, the pref of MathML (as well as SVG) works in the way that we choose a different namespace id (the disabled id) for the elements. Those ids are mapped to the same namespace atom as normal ids, which means if we use the atom, we would treat the elements like normal mathml elements.

https://bugzilla.mozilla.org/show_bug.cgi?id=1388881

Source-Repo: https://github.com/servo/servo
Source-Revision: 1877cac477770c5908f4b9983adaf7108a361e6e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5be2c9ddb0f8745f4c7e4f8905949800f4b63e76
2017-08-10 01:42:30 -05:00
Sylvestre Ledru db963af2af bug 1320656 - Disable the failure on -Wnoexcept-type until we have a proper fix r=glandium
MozReview-Commit-ID: HeDMTxopx9V

--HG--
extra : rebase_source : 8df61de8f024bab38909826ca714e554c4b0bb49
2017-08-04 14:27:14 +02:00
Makoto Kato 4418d7d986 Bug 1381710 - Selection.addRange will be failure with dynamic table insertion. r=tnikkel
When range is selected table element, Selection.addRange uses nsFrameSelection.  If frame isn't constructed yet, addRange throws NS_ERROR_FAILURE even if table element isn't editable element.

When getting nsITableCellLayout, we should flush frame to construct cell frame.

MozReview-Commit-ID: 9qWwW46RYNL

--HG--
extra : rebase_source : 708e78af457a28bc273b83015f78950a5bee232e
2017-07-18 16:54:31 +09:00
Dão Gottwald ac234bd18b Bug 1386964 - Set default tab height, mark flaky viewport-units-css2-001.html subtests as passing on Linux as well as anchoring-with-bounds-clamping.html on Mac. r=dholbert
MozReview-Commit-ID: 2gNQSImPfw1

--HG--
extra : rebase_source : d9c78ddbc9196f5f9975e78cc7715b0adb8b4b1a
2017-08-10 07:37:47 +02:00
Manish Goregaokar 6f0180e2cb Bug 1388943 - Include logical properties in has_author_specified_rules ; r=heycam
MozReview-Commit-ID: 6l2ZqLZwkZJ
2017-08-09 23:32:30 -07:00
Manish Goregaokar 4af3a23604 Bug 1388941 - Correctly scale -moz-min-font-size-ratio ; r=heycam
MozReview-Commit-ID: KoKFXzSdakU
2017-08-09 23:32:19 -07:00
Manish Goregaokar e6931eca1a Bug 1388941 - Remove unnecessary fails(stylo) annotation from fuzzy test; r=heycam
MozReview-Commit-ID: ERUIHRQwXc7
2017-08-09 23:32:07 -07:00
Manish Goregaokar a3a73bd46c servo: Merge #18032 - stylo: Fixes for min font size and logical properties (from Manishearth:fixes); r=heycam
r=heycam https://bugzilla.mozilla.org/show_bug.cgi?id=1388941 and https://bugzilla.mozilla.org/show_bug.cgi?id=1388943

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f202098a1671114b6ab90617eae604bee2b7883f
2017-08-10 00:04:28 -05:00
Mike Hommey fda40761ff Bug 1388935 - Avoid overflowing the chunk recycling limit with very large chunks. r=njn
When recycling chunks, mozjemalloc tries to avoid keeping around more
than 128MB worth of chunks around, but it doesn't actually look at the
size of the chunks that are recycled, so if chunk larger than 128MB is
recycled, it is kept as a whole, going well over the limit.

The chunks are still properly reused, and further recycling doesn't
occur, but that can limit other mmap users from getting enough address
space.

With this change, mozjemalloc now doesn't keep more than 128MB, by
splitting the chunks it recycles if they are too large.

Note this was not a problem on Windows, where chunks larger than 1MB are
never recycled (per CAN_RECYCLE).

--HG--
extra : rebase_source : 6765fd30b78ca5ddc7d55aac861355d960e47828
2017-08-10 09:22:55 +09:00
Mike Hommey b0f2504373 Bug 1388935 - Inline chunk_dalloc_mmap into chunk_dealloc. r=njn
--HG--
extra : rebase_source : 3348f221f1f577c3af6c1b213a692e58ce347ead
2017-08-10 08:49:51 +09:00
Karl Tomlinson 614fee5117 bug 1024182 remove unnecessary buffer copy for short impulse responses r=padenot
Despite the comment, this was necessary only for a direct convolver stage,
which has been removed:
https://hg.mozilla.org/mozilla-central/rev/e66105937eef190dec073f1b9859e07a0272706b#l4.29

FFT convolver stages pad the buffer to the necessary length in
FFTBlock::PadAndMakeScaledDFT().

MozReview-Commit-ID: LqP1x1hmLOM

--HG--
extra : rebase_source : 622e16140b62ca748a31cbd318f881c617baf17a
2017-08-09 16:52:01 +12:00
Karl Tomlinson 46ad6041ff bug 1388656 keep response buffer on graph thread only long enough to initialize the Reverb r=padenot
MozReview-Commit-ID: 6DvpXeWPGHp

--HG--
extra : rebase_source : 50a2f7e4df207d971894189d9de8844fab0a7954
2017-08-08 16:08:21 +12:00
Karl Tomlinson 0b158fb300 bug 1388656 re-initialize the Reverb only once when the ConvolverNode buffer changes r=padenot
MozReview-Commit-ID: IKMK5GYVRBB

--HG--
extra : rebase_source : 03c234254e2eafe6899ed1b51634810db1b38f90
2017-08-08 16:01:57 +12:00
Karl Tomlinson 35b76397c6 bug 1388656 remove unused SAMPLE_RATE SetInt32Parameter case r=padenot
Sample rate is passed as a double.

MozReview-Commit-ID: DBCvrCWPlgf

--HG--
extra : rebase_source : 58812c4a69c5b8dacd2fbee81405f5d97132ed1d
2017-08-08 15:56:09 +12:00
Karl Tomlinson 59eb07a88f bug 1388656 size to actual used length in nsTArray::SetCapacity() optimization r=padenot
MozReview-Commit-ID: BGFliZTx4QL

--HG--
extra : rebase_source : b0e8767bc0beb7fb87559d9135c93937ff4b5470
2017-08-08 15:47:24 +12:00
Phil Ringnalda fe1932364b Backed out 2 changesets (bug 1388935) for gtest crashes
Backed out changeset 208572c7abae (bug 1388935)
Backed out changeset dfb4a15b0c32 (bug 1388935)

MozReview-Commit-ID: HRttV7AIlNT
2017-08-09 22:21:37 -07:00
Makoto Kato b04d5091db Bug 1388638 - Use RAII class for StartBatchChanges/EndBatchChanges. r=masayuki
CompositionTransaction forgets to call EndBatchChanges when GetSelectionController returns error, so we should use RAII class instead.

MozReview-Commit-ID: HI9kutRVzx6

--HG--
extra : rebase_source : d276f4349c5a64d4610581ae1a76d160841f7d7b
2017-08-09 18:06:36 +09:00
Xidorn Quan a0b8a2c68d Bug 1370508 - Enable stylo on generic XML documents. r=heycam
MozReview-Commit-ID: 4XQ9RPQ7oa1

--HG--
extra : rebase_source : f5ffeaa615076035215f5ac1b9b39aa5cb15d618
2017-08-09 19:57:33 +10:00
Xidorn Quan 092be74b6e Bug 1383992 followup - Update mochitest expectation.
MozReview-Commit-ID: C1QKAVJgK9v
2017-08-10 14:27:40 +10:00
Mike Hommey 44b527c7d7 Bug 1388935 - Avoid overflowing the chunk recycling limit with very large chunks. r=njn
When recycling chunks, mozjemalloc tries to avoid keeping around more
than 128MB worth of chunks around, but it doesn't actually look at the
size of the chunks that are recycled, so if chunk larger than 128MB is
recycled, it is kept as a whole, going well over the limit.

The chunks are still properly reused, and further recycling doesn't
occur, but that can limit other mmap users from getting enough address
space.

With this change, mozjemalloc now doesn't keep more than 128MB, by
splitting the chunks it recycles if they are too large.

Note this was not a problem on Windows, where chunks larger than 1MB are
never recycled (per CAN_RECYCLE).

--HG--
extra : rebase_source : f81e94c6960ba253037f77de1a39c9ff74651e80
2017-08-10 09:22:55 +09:00
Mike Hommey b206b3c597 Bug 1388935 - Inline chunk_dalloc_mmap into chunk_dealloc. r=njn
--HG--
extra : rebase_source : f6abde118d26552a681faf7df302b791d39e466a
2017-08-10 08:49:51 +09:00
Phil Ringnalda 5bf938ebcd Backed out changeset 4c274336b01e (bug 1386964) for unexpected passes in /scroll-anchoring/anchoring-with-bounds-clamping.html
MozReview-Commit-ID: Id1MCoaN242
2017-08-09 21:15:27 -07:00
Markus Stange b7d6066c45 Bug 1386643 - Don't respect font smoothing background colors in pushed layers. r=jrmuizel
This is an imperfect workaround. Ideally we'd want layout to determine the
correct color here: If the pushed layer will end up on something mostly opaque
in the outer layer, the font smoothing background color should be transparent
(or even a color that approximates that opaque content), and if the pushed
layer will end up on transparency in the outer layer, the appropriate font
smoothing background color for the outer layer should be used when drawing text
in the pushed layer.

This workaround causes us to lose subpixel AA in background tabs that have the
overflow mask applied to them. For those, using the font smoothing background
color in the pushed layer was the right choice.

MozReview-Commit-ID: FPufh04EVp3

--HG--
extra : rebase_source : 7a6cb73255bdb7f1b8aba7df60ebe61171275da4
2017-08-02 17:26:02 -04:00
Xidorn Quan 4e2c6b0054 Bug 1341102 - Add fuzzy for some styloVsGecko reftests.
MozReview-Commit-ID: Etq5HO11V92
2017-08-10 13:11:52 +10:00
JW Wang c1f09cc606 Bug 1388665 - remove BufferingState::DispatchDecodeTasksIfNeeded(). r=kaku
We will dispatch decoding tasks in Handle{Audio,Video}Decoded() instead.
See comment 0 for the rationale.

MozReview-Commit-ID: 9trJYoMfzJH

--HG--
extra : rebase_source : 0fae6eda31571d34268f2dba58a8e5f6cf0dadc9
extra : source : 275964a63b741e4ac0258e714f54f43d5cc6ae0b
2017-08-09 16:56:41 +08:00
JW Wang ab74a61674 Bug 1388612. P2 - remove the call to NotifySuspendedStatusChanged() in MediaDecoder::FirstFrameLoaded(). r=gerald
Following P1, cache suspend status changes will be notified when necessary.
If not, it would be a bug that should be fixed. We shouldn't wallpaper the
issue by calling NotifySuspendedStatusChanged() manually.

MozReview-Commit-ID: 9EbybTiOOIO

--HG--
extra : rebase_source : 299e22c6813f4eeb152c4d8140dc295ff856dc1e
extra : source : 2b18fe0368c6332d0b5c1e044218a26c75314124
2017-08-09 16:13:51 +08:00
JW Wang af3ce851d6 Bug 1388612. P1 - remove MediaResource::EnsureCacheUpToDate(). r=gerald
This is a workaround to fix bug 687972. It should be OK now to remove
it since we have fix bug 1108960  where MediaCache failed to run the
update loop to update the suspend status of the stream.

MozReview-Commit-ID: MbInehhScs

--HG--
extra : rebase_source : 94345a00af31834db8b9858cdf5a9e889044156a
extra : source : 70f626894c3a15c8077f70425a97004478caa9e1
2017-08-09 16:07:53 +08:00
JW Wang 32951f4824 Bug 1388604 - move SetReadMode() from MediaResource to BaseMediaResource. r=gerald
It would be less accurate to call SetReadMode(MediaCacheStream::MODE_PLAYBACK)
in ChannelMediaDecoder::MetadataLoaded() instead of DecodeMetadataState::OnMetadataRead()
because MDSM might have started decoding by the time 'metadata loaded' event arrives
in the main thread. However this little inaccuracy should be fine since it only
affects a small amount of data concerning the eviction algorithm.

MozReview-Commit-ID: JoQMGr5Fvge

--HG--
extra : rebase_source : 3663a028522cc8b973964f62e59d7568a5eba10a
extra : source : 359b4454633432d3334a106aedb267a2451afb45
2017-08-09 11:06:29 +08:00
Fausto Núñez Alberro 71f3e232a7 servo: Merge #17812 - Introduce ComputedUrl (from brainlessdeveloper:use-resolved-url-instead-of-original); r=emilio
<!-- Please describe your changes on the following line: -->

Use the new `ComputedUrl` type for computed types and `SpecifiedUrl` for specified types instead of using the `SpecifiedUrl` implementation for both.

---
<!-- 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 #17625 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because this is an implementation change and tests already exist.

<!-- 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: 8a48578a2601769d61ab6f8429e7b1ecb19cbb84

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8e64001c6f6116b88cf25e54bdcfaa5632a83539
2017-08-09 20:34:04 -05:00
Ryan VanderMeulen 291167d9ca Backed out changesets c95150c0fe9d and 9c1e1102bbc3 (bug 1376602) for ESLint failures. 2017-08-09 22:33:52 -04:00
Xidorn Quan 0a7d0bffe6 Bug 1383992 followup - Fix tests.yml.
MozReview-Commit-ID: 5ySe3J9QBCT
2017-08-10 12:07:17 +10:00
Xidorn Quan a7579e7241 Bug 1383992 part 2 - Enable some more mochitests for stylo. r=jmaher
MozReview-Commit-ID: AnZAxhPwwEB

--HG--
extra : rebase_source : 89418b819a53f1d1e5a5cd2861f31af1ff901844
extra : source : 1bc1f2000c0a4e9e23f5e2f05b7d95e44c615238
extra : histedit_source : ad7d9650d49c698d03d6397aa1ad27e860ae7827
2017-08-09 08:31:26 +10:00
Xidorn Quan 58e5987209 Bug 1383992 part 1 - Disable failing mochitests. r=heycam
MozReview-Commit-ID: J9LoovJJJgM

--HG--
extra : rebase_source : a5ed4b2a11c293c50d642c3a0da6831ce5a885a1
extra : source : 8d97565b7dedaef3b46e65b92b1ca1e0598d2a76
extra : histedit_source : 72834d0bc485e78cb8c1de357e4b545d7e6408f5
2017-08-09 08:31:26 +10:00
Dennis Schubert 767bd4d553 Bug 1376602 - Part 2: Add WebCompat Go Faster modules to browser_startup tests. r=Felipe
MozReview-Commit-ID: Ic1tpivC7Na

--HG--
extra : rebase_source : 87260a9aff8e6f2e6c323d67e9bf959e917cf892
2017-08-04 14:34:14 +02:00
Dennis Schubert 6e5bf84c9f Bug 1376602 - Part 1: Import sources for WebCompat Go Faster 1.2. r=Felipe
MozReview-Commit-ID: cLuF81S7H4

--HG--
extra : rebase_source : 3a92adf155da360e42c8fddc59d131907124b7df
2017-08-04 14:30:25 +02:00
Justin Wood 917c4fb30f Bug 1387831 - mochitest clipboard isn't running on windows anymore. r=jmaher,kmoir
We accidentally left mochitest clipboard enabled only for try, this removes its tier setting of 2 on windows 7, and makes it run wherever the corresponding builds run.

MozReview-Commit-ID: I2ybhqPtswV

--HG--
extra : rebase_source : 2516f6bce22e66a3444ac8c61231a47a74de3c0c
2017-08-06 14:08:29 -04:00
Cameron McCormack 13717056a2 servo: Merge #18017 - style: Move all origin-specific cascade data to PerOriginCascadeData (from heycam:split-cascade); r=emilio
<!-- Please describe your changes on the following line: -->

This is a preliminary refactoring in preparation for only rebuilding cascade data for origins that have a change. https://bugzilla.mozilla.org/show_bug.cgi?id=1382925

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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: ca14848711884a15a352ec5453df3d83574036a5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : da603047dcb33bc29a2d5e4a01c2460b5e421400
2017-08-09 19:28:07 -05:00
Ryan VanderMeulen 24396489e3 Backed out 7 changesets (bug 1387862) for yaml linting failures.
Backed out changeset 63f87f6db7d6 (bug 1387862)
Backed out changeset a85b7e7d9f24 (bug 1387862)
Backed out changeset 3713ea9672e8 (bug 1387862)
Backed out changeset 22c1094e387f (bug 1387862)
Backed out changeset e0bfb35b0eec (bug 1387862)
Backed out changeset 5bb5dc7655ec (bug 1387862)
Backed out changeset cc4c01794114 (bug 1387862)
2017-08-09 21:31:30 -04:00
James Cheng edcb5a7dd9 Bug 1388822 - Skip test_playback_hls.html lower than API level 20. r=alwu
MozReview-Commit-ID: 3wzzNr5xNjB

--HG--
extra : rebase_source : 30037d1aabd157d8606976b56c769d91e20b4a3f
2017-08-10 01:39:49 +08:00
Justin Wood c363646e59 Bug 1387862 - Add yaml lint to the taskgraph. r=ahal,dustin
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: GN5pOJCXvnz

--HG--
extra : rebase_source : 15509426d82ccbe647172274f9d6d80aa913bdf6
2017-08-06 13:52:24 -04:00
Justin Wood 9eadced082 Bug 1387862 - Lint the linter config yaml files themselves. r=ahal
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: F8hTBerSNIj

--HG--
extra : rebase_source : b3b420eb4f66e448e41de4b556c200e1bd590094
2017-08-06 13:47:03 -04:00
Justin Wood a37b9ce0f2 Bug 1387862 - Lint NSS's taskcluster.yml. r=dustin
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: ATX5IOK747y

--HG--
extra : rebase_source : 493c6c762e3b26f1295205c0300df8b0cd87bc7b
2017-08-06 13:44:41 -04:00
Justin Wood 906fda8397 Bug 1387862 - Lint python/mozlint yaml files. r=ahal
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: IMOKGhxKFJW

--HG--
extra : rebase_source : 0ef71f24141a531833d48f2a305183dd808f00f5
2017-08-06 13:43:04 -04:00
Justin Wood 0985529c39 Bug 1387862 - Lint taskcluster's cron.yml file, fixup lint errors. r=dustin
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: 758kdSddjJN

--HG--
extra : rebase_source : f057b0ce281adb67a156235b051a371a252bd22c
2017-08-06 13:35:27 -04:00
Justin Wood 34f5922850 Bug 1387862 - Lint taskcluster yaml files. r=dustin
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: L83j6SODA3w

--HG--
extra : rebase_source : 2be273b518f3424d62f4a90cebe25a3c2833c8a0
2017-08-06 13:26:13 -04:00
Justin Wood 51838f82e6 Bug 1387862 - Add initial support for ./mach lint -l yaml r=ahal,dustin
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: HYVWXzNnnzG

--HG--
rename : tools/lint/flake8_/__init__.py => tools/lint/yamllint_/__init__.py
extra : rebase_source : 635ef617eeba1cd1299366beb0c83232d42f0258
2017-08-06 13:23:48 -04:00