Commit Graph

551291 Commits

Author SHA1 Message Date
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
Ryan VanderMeulen
64905fbd5a Backed out changesets 19b8d672b55d and 2980183d98fb (bug 1362338) for hazard analysis failures. 2017-08-09 21:12:28 -04:00
Brad Werth
59bb5e96e7 servo: Merge #18024 - Rework MediaType to be an atom-based struct instead of an enum (from bradwerth:mediatypeAtom); r=emilio
MozReview-Commit-ID: 1Tfrs9PBkhA

<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1371395
https://reviewboard.mozilla.org/r/163194/

---
<!-- 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: -->
- [X] 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: faf5b1f797c243c5036973a191d3abae36de4138

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 16506c8cce172296f698807039dc36bbd759227e
2017-08-09 18:24:48 -05:00
Haik Aftandilian
f5314b4f60 Bug 1386832 - Part 2 - Make Linux dev build security check exception not depend on MOZ_DEVELOPER_REPO. r=jimm
For Linux dev builds, change the developer build unpacked security check
exception to not depend on knowing the repo dir because MOZ_DEVELOPER_REPO
isn't reliably set whenever the firefox binary is run. Instead, make sure the
extension root directory is within NS_GRE_DIR. Use both checks on Mac.

MozReview-Commit-ID: IsbbNS58yf8

--HG--
extra : rebase_source : 64d1008a0513938edc111d12cb9fb28d2048ac82
2017-08-09 16:11:59 -07:00
Haik Aftandilian
f73b286d2a Bug 1386832 - Part 1 - Move non-sandbox-specific routines out of SandboxSettings. r=jimm
Moves IsDevelopmentBuild(), GetRepoDir(), and GetObjectDir() out of
SandboxSettings because they also need to be used by ExtensionProtocolHandler
to do security checks on developer builds as a result of how developer builds
rely on symlinks to the repo dir from system extension directories.

Remove the Linux-implementation of GetRepoDir() and GetObjectDir()
because the Linux content sandbox implementation and the
ExtensionProtocolHandler checks don't need them.

MozReview-Commit-ID: KwBFUnh6Cml

--HG--
extra : rebase_source : 3529a18ea802699ff968b798a7c560613469809b
2017-08-09 16:09:55 -07:00
Daosheng Mu
ef8460e296 Bug 1388274 - Adjust WebVR telemetry histogram's high bound for user time spent; r=francois,kip
MozReview-Commit-ID: JcQZTgVmxr3

--HG--
extra : rebase_source : e00eab62c6d661a410d46d165843d7985054b145
2017-08-08 18:23:43 +08:00
Connor Brewster
90c5853da0 servo: Merge #17935 - Custom element upgrades (from cbrewster:ce_upgrades); r=jdm
<!-- Please describe your changes on the following line: -->

---
<!-- 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: -->
- [X] 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: a087fee4b4daa76c7e1677b0adae512fb6c87d04

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bc88c8fe15f2b1838da65c9a5d0d1b007c036fe6
2017-08-09 17:22:28 -05:00
Jonathan Guillotte-Blouin
2f52051a3e Bug 1381186 - add show/abort chrome test. r=MattN
MozReview-Commit-ID: I6Umm24nNvA

--HG--
extra : rebase_source : 8c6b5c08280a5bd1da971718b90cdf818ad0ec65
2017-07-18 18:12:27 -07:00
Jonathan Guillotte-Blouin
759140610e Bug 1381186 - open/close stub dialog on (show/abort)Payment. r=MattN
MozReview-Commit-ID: K3YyFlIttjD

--HG--
extra : rebase_source : 97639e91e6d35ade1fa11cea5ae923fa522bc44a
2017-07-17 13:29:21 -07:00
Ryan VanderMeulen
6eb7aef00e Merge m-c to autoland. a=merge 2017-08-09 18:51:26 -04:00
Ryan VanderMeulen
2e6670c78e Merge autoland to m-c. a=merge 2017-08-09 18:47:59 -04:00
Servo VCS Sync
d6eabd0f59 No bug - Revendor rust dependencies 2017-08-09 22:23:21 +00:00
Simon Sapin
4331d2478e servo: Merge #18025 - Update to cssparser 0.19, count line numbers during tokenization (from servo:line-counting); r=jdm
https://github.com/servo/rust-cssparser/pull/177

Also simplify the `ParseErrorReporter` trait a bit.

Source-Repo: https://github.com/servo/servo
Source-Revision: 845131c425ebd50eea2fe5bf6005b6c304664242

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d24cb7526225e8393bbc0a90206cba0199f95798
2017-08-09 16:16:33 -05:00
Brendan Dahl
02dc1567cd Bug 1387170 - Use custom clipboard constructor instead of singleton. r=jrmuizel
This allows instances of the clipboard to be created (like it
was pre-headless).
2017-08-09 09:49:50 -07:00
Brendan Dahl
d1dd2ea172 Bug 1387168 - Use custom clipboard constructor instead of singleton. r=jrmuizel
This allows instances of the clipboard to be created (like it
was pre-headless).
2017-08-09 09:46:51 -07:00
Mason Chang
ce7bf90ba4 Bug 1386965 - Support async painting component-alpha layers. r=dvander 2017-08-09 09:39:07 -07:00
Eitan Isaacson
b6d69628bd Bug 1385372 - Allow same id in aria-owns. r=surkov 2017-08-09 12:33:44 -04:00
Thom Chiovoloni
3e1366bdf6 Bug 1388149 - Make PlacesUtils.history.insertMany respect provided GUIDs r=markh
MozReview-Commit-ID: 7g6uABtHKg2

--HG--
extra : rebase_source : 0b43e026ad3de514d2ffbc56568bf3f4e3e17126
2017-08-07 16:01:10 -04:00
Felipe Gomes
2e035ad163 Bug 1388145 - Move startup crashes tracking to nsBrowserGlue as it should only run once, and not per-window. r=florian
MozReview-Commit-ID: KR1bv1TJGVf

--HG--
extra : rebase_source : 0d6d7778acf515fdbf2fe86e926bc30d84b47514
2017-08-09 15:45:24 -03:00
Felipe Gomes
5130c05413 Bug 1388145 - Move CombinedStopReload.startAnimationPrefMonitoring to per-window initialization tasks. r=jaws
MozReview-Commit-ID: EECjcWwN9yZ

--HG--
extra : rebase_source : 6de62459205284008ca8c43fd80d1d8b9acb3a41
2017-08-09 15:45:12 -03:00
Felipe Gomes
a60bd21c16 Bug 1388145 - Move the Downloads progress code initialization to an idle callback. r=Paolo
MozReview-Commit-ID: 5cgvfKq5Mj4

--HG--
extra : rebase_source : 02c1ef380a6b3e71e14361a4ad60fc847c9dfc02
2017-08-09 15:44:43 -03:00
Felipe Gomes
702784b2dd Bug 1388145 - Move simple things out of delayedStartup to its proper location on _schedulePerWindowIdleTasks. r=florian
MozReview-Commit-ID: LN2ffUyKD13

--HG--
extra : rebase_source : 38c34fb5b36d7c977a938528f7670c966e461227
2017-08-09 15:44:38 -03:00
Felipe Gomes
cb5352718f Bug 1388145 - Move _createExtraDefaultProfile to an idle callback. r=florian
MozReview-Commit-ID: 2sBcd2hz8TX

--HG--
extra : rebase_source : fe007e2a7fa8812196e9a7c121a7eb0686b5d9c2
2017-08-09 15:44:32 -03:00
Felipe Gomes
639d5eb901 Bug 1388145 - Initialize the Windows Jump Lists from an idle callback. r=florian
MozReview-Commit-ID: FvDPNHGL3Ou

--HG--
extra : rebase_source : ababa118265f4257bcd397cfd811be41981782fc
2017-08-09 15:44:28 -03:00
Felipe Gomes
2ebd419785 Bug 1388145 - Move Services.logins initialization to nsBrowserGlue. r=MattN
This will move this code to a place that will run it once per session (as needed) and not once per window. It also better defines it to run after all sessionstore-windows-restored, instead of arbitrarly after 3 seconds.

MozReview-Commit-ID: 2ekVeZfRYC4

--HG--
extra : rebase_source : 85f4e26d727a042091c5a8e5f9b9c346604d6029
2017-08-09 15:43:25 -03:00
Felipe Gomes
a8ac23305b Bug 1388145 - Make GMPInstallManager telemetry only run once per session (and not per window), and run it after an idle period. r=florian
MozReview-Commit-ID: GB07ftXNvXd

--HG--
extra : rebase_source : e047cfb5415658d732359e569f42572e0fb40bec
2017-08-09 15:43:14 -03:00
Felipe Gomes
635177b023 Bug 1388145 - Make Master Password telemetry only run once per session (and not per window), and run it after an idle period. r=MattN
MozReview-Commit-ID: 1Ecy94TGGar

--HG--
extra : rebase_source : 40596aaaf9f01fe6a565d5ebf1357951c928a863
2017-08-09 15:43:10 -03:00
Felipe Gomes
fadfebac0a Bug 1388145 - Move the media telemetry to an idle task. r=florian
MozReview-Commit-ID: Lwv1wx22QG1

--HG--
extra : rebase_source : 3e426e84ca2acbbf76ef55c75c6560f8afc9ecfa
2017-08-09 15:43:07 -03:00