Commit Graph

556483 Commits

Author SHA1 Message Date
Sebastian Hengst
94169d21f8 Backed out changeset 409dbe62d0ea (bug 1394591) for asserting GLBlitHelper requires vertex_array_object in dom/media/mediasource/test/test_FrameSelection.html on Android 4.3. r=backout 2017-09-04 00:08:33 +02:00
Sebastian Hengst
a5febec2a2 Backed out changeset 74209b2b69b7 (bug 1394591) 2017-09-04 00:07:13 +02:00
Sebastian Hengst
82383978f8 Backed out changeset 478ba48df051 (bug 1394591) 2017-09-04 00:07:07 +02:00
Sebastian Hengst
c6ac74c855 Backed out changeset b741cbca23bd (bug 1394591) 2017-09-04 00:07:02 +02:00
Sebastian Hengst
239e4df31a Backed out changeset ba1a3d16916b (bug 1394591) 2017-09-04 00:06:56 +02:00
Sebastian Hengst
e9bfcd79f9 Backed out changeset de401d17868d (bug 1394591) 2017-09-04 00:06:51 +02:00
Jan Henning
96e370c7ce Bug 1396303 - Fix typo in variable declaration that breaks the download helper app dialogue. r=JanH
MozReview-Commit-ID: Kg24dBizlRf

--HG--
extra : rebase_source : 357be7740ba48bb4254ad3253a38057f23b7a7ff
2017-09-03 21:12:40 +02:00
Jean-Yves Avenard
9b2818843f Bug 1394591 - P6. Simplify some internal codec mimetype. r=gerald
The codec mimetype is now shown in the media devtools. May as well make it readable.

MozReview-Commit-ID: 6rccDiTR24m

--HG--
extra : rebase_source : 7b8d1da8f05d0c46d5fd57b5e604ec3aed36a5f2
2017-09-01 23:04:39 +02:00
Jean-Yves Avenard
e23a2d9405 Bug 1394591 - P5. Remove need for atomic members. r=mattwoodrow
Instead set members after initialising the child decoder, and only ever access the child decoder on the same thread.

MozReview-Commit-ID: 4mfhVWbNLEu

--HG--
extra : rebase_source : 90a8e7bc8975fd08fc6b262c81cbf43a45751a06
2017-09-01 22:51:20 +02:00
Jean-Yves Avenard
ec392e67b8 Bug 1394591 - P4. Pass decoder description to RemoteVideoDecoder. r=mattwoodrow
This makes it easier to determine the actual decoder in use within the GPU process.

MozReview-Commit-ID: 5TF6AsyXYWW

--HG--
extra : rebase_source : 0e73dc17206a83006040cf422182da560b3cf70a
2017-09-01 18:22:55 +02:00
Jean-Yves Avenard
23c55d9a28 Bug 1394591 - P3. Add codec type to decoder description name. r=gerald
MozReview-Commit-ID: 8vQUFhhMtqO

--HG--
extra : rebase_source : 5d6d6ff3f360bac1cbabccda6bdeb41328831529
2017-09-01 14:58:19 +02:00
Jean-Yves Avenard
4098ebe21b Bug 1394591 - P2. Fix style. r=gerald
MozReview-Commit-ID: Jmyrf7d8hGW

--HG--
extra : rebase_source : 5fef879c0f2847a98e72ae8a30e176bdeea3b780
2017-09-01 14:27:39 +02:00
Jean-Yves Avenard
15e988718f Bug 1394591 - P1. Use nsCString for decoder description. r=gerald
This will allow to modify the string returned later.

MozReview-Commit-ID: Giw1JyukE4v

--HG--
extra : rebase_source : d126b8b956ff1f54c33a838834aee9cc6340de95
2017-09-01 14:25:28 +02:00
Ting-Yu Lin
f62ed82f17 Bug 1382078 Part 1 - Add method to nsBindingManager to iterate all bound contents. r=emilio
MozReview-Commit-ID: H00b3pGNC8V

--HG--
extra : rebase_source : 3c950d3b11bf9bdf87488057943c38ecb918214d
2017-08-28 17:47:55 +08:00
Mike Hommey
938f8a3862 Bug 1396681 - Remove some typedefs in mozjemalloc. r=njn
Previously being a C codebase, mozjemalloc was using typedefs, avoiding
long "struct foo" uses. C++ doesn't need typedefs to achieve that, so we
can remove all that. We however keep a few typedefs in headers that are
still included from other C source files.

--HG--
extra : rebase_source : d0d807bcb76078c0ce36e4554b10803bfb36ddbb
2017-09-02 08:15:39 +09:00
Zibi Braniecki
2fc23db1fc Bug 1365709 - Fix linter bustage. r=kmag
MozReview-Commit-ID: 1pDWdDxOi19
2017-09-04 16:32:23 -07:00
Nick Thomas
59f99cb87e Bug 1387622 - add latest-ssl aliases for bedrock, r=mtabara
MozReview-Commit-ID: 8s1CiEdL6cG

--HG--
extra : rebase_source : 5c667ca0bd81832593792547ce0ac0197e3a7b39
2017-08-31 17:34:30 +12:00
Zibi Braniecki
f46a96487c Bug 1365709 - Consume new webextension based language packs. r=kmag
MozReview-Commit-ID: DeJlq8MWpfs

--HG--
extra : rebase_source : 3216a6541ae8205548acad0327113888829b901e
2017-08-28 10:48:00 -07:00
Zibi Braniecki
956980a762 Bug 1396334 - Add sources list to manifest.json. r=kmag
MozReview-Commit-ID: 4kIowQG2HxR

--HG--
extra : rebase_source : 9a4205c533daf8703755b3bfa4d0930d0cfb2a50
2017-09-02 18:18:17 -07:00
Marco Bonardo
f2673e8607 Bug 1384050 - Search suggestion contextual hint should only be shown when a user manually focuses the URL bar. r=Paolo
MozReview-Commit-ID: IVbHYdtYJgx

--HG--
extra : rebase_source : 12ef3e701fc71bdad97e06fb0e916e4a4e5abcc3
2017-08-30 18:03:00 +02:00
Bryce Van Dyk
521b6759e8 Bug 1388909 - Update tests to reflect updated MediaRecorder error handling. r=pehrsons
The MediaRecorder should now transition to inactive immediately upon an error
being encountered. This contrasts with the previous behaviour where onerror
would be called before performing this transition. This changeset updates
tests to reflect this new behaviour.

MozReview-Commit-ID: 5V2JkoMb0wB

--HG--
extra : rebase_source : cdd61c7fe128089458fd93f18d6b133a52b9b8aa
2017-09-04 07:07:54 +12:00
Bryce Van Dyk
9fec9bfac9 Bug 1388909 - Rework MediaRecorder to tranisition to inactive upon error. r=pehrsons
The MediaRecorder should transition to a 'inactive' state immediately upon
error. This changeset updates the recorder to do so. Previously the recorder
would fire an error event before transitioning, resuling in the state still
being 'recording' for handling of the the thrown error.

MozReview-Commit-ID: KMkaPOnEBYx

--HG--
extra : rebase_source : 4d05d46de775029d307ac2460700ce28c4e8321a
2017-09-01 11:38:52 +12:00
Rob Wu
0c0d2e458c Bug 1395172 - Remove "binary" type from Schemas.jsm r=kmag
MozReview-Commit-ID: JaHnb37czrA

--HG--
extra : rebase_source : 33913712801d92d124d4e9ff4dfe7b625a3762ee
2017-08-30 22:22:47 +02:00
Simon Sapin
23f9f1b466 Bug 1396665 - Temporarily disable bad-string subtests in test_parser_diagnostics_unprintables.html r=emilio
MozReview-Commit-ID: IUGy4uP6iRS

--HG--
extra : rebase_source : 2ba9dd060245141659bc1b0a357e9b62043be9e2
2017-09-04 23:14:26 +02:00
Simon Sapin
eccbb7589b Bug 1396665 - Stylo serializes strings with double quotes r=emilio
MozReview-Commit-ID: 7uMAkhtjKCi

--HG--
extra : rebase_source : 8e0e30e95d16f7844238f7fbcf5c98788f7b4e82
2017-09-04 23:17:54 +02:00
Ting-Yu Lin
338e5959f6 servo: Merge #18367 - style: Expose stylist::set_device() for gecko (from aethanyc:media-change-xbl-stylset); r=emilio
This was reviewed in bug https://bugzilla.mozilla.org/show_bug.cgi?id=1382078

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 033711346ca7869678ded420b96cfc3705e7ba2a
2017-09-04 15:19:06 -05:00
Hiroyuki Ikezoe
8c9106d854 Bug 1396219 - Add a bug number for failure reason. r=baku
MozReview-Commit-ID: Kh9r5VB5LfD

--HG--
extra : rebase_source : e6a036352b43f5b21f067e7eae9e779fb8cc0095
2017-09-03 10:25:57 +09:00
Hiroyuki Ikezoe
53ea279d4e Bug 1396219 - Support PerformanceObserverInit.buffered. r=baku
MozReview-Commit-ID: FhVZquBoC6F

--HG--
extra : rebase_source : 550192da86e26b1a0056d89546e83644e19bbcbb
2017-09-03 10:25:57 +09:00
Hiroyuki Ikezoe
a81e75270e Bug 1396230 - Clear PerformanceObserver mQueuedEntries right after they were copied to PerformanceObserverEntryList. r=baku
This matches to the spec and makes po-callback-mutate.any.js test pass.

From the spec [1]

  1. Let entries be a copy of po’s observer buffer.
  2. Empty po’s observer buffer.
  3. If entries is non-empty, call po’s callback with entries as first
     argument and po as the second argument and callback this value. If this
     throws an exception, report the exception.

[1] https://w3c.github.io/performance-timeline/#queue-a-performanceentry

MozReview-Commit-ID: AEdfvGpauzy

--HG--
extra : rebase_source : 20b9fc8426fd48d10e8e55662afe1c881fd92343
2017-09-02 22:05:44 +09:00
Hiroyuki Ikezoe
8f3ef222fd Bug 1396228 - Filter out by type if the type if specified for PerformanceEntry.getEntries. r=baku
MozReview-Commit-ID: 4XManqN8BVY

--HG--
extra : rebase_source : 2fefe77e5fcadbd4e5632d557e554e8356c1ef52
2017-09-02 21:42:00 +09:00
Hiroyuki Ikezoe
8ae5e3226b Bug 1396227 - Sort performance entries by start time. r=baku
MozReview-Commit-ID: 7m4MLlOJmFZ

--HG--
extra : rebase_source : 7437d240e8c74d279cef8e1dee277d06125f4df6
2017-09-02 21:39:19 +09:00
Axel Hecht
dcded5c26e bug 1396177, unset MOZ_SIMPLE_PACKAGE_NAME for all of l10n-check, r=aki
MozReview-Commit-ID: 78MFJY6tvRW

--HG--
extra : rebase_source : 55b8885807a1b36c70f2dbe486ecebd8f5d29e8d
2017-09-04 13:27:56 +02:00
Axel Hecht
95569686be Backed out changeset b01a7e57425b (bug 1396177) as we're uploading the wrong file to ftp r=aki
MozReview-Commit-ID: 5fyW3DprjSS

--HG--
extra : rebase_source : 6ebe2c992665d7c6f2f9d1f88044c5d476784ff1
2017-09-04 13:24:21 +02:00
Jean-Yves Avenard
a02e8d83ce Bug 1396643: Fix compilation when warning as error is set. r=cpearce
MozReview-Commit-ID: Ar2Ttk5hkGD

--HG--
extra : rebase_source : 6ebcafbbb3509b8f10f3173092cdead5cbcadfc6
2017-09-04 21:03:57 +02:00
Simon Sapin
13c0876f58 Bug 1396586 - Stop escaping U+0080 to U+009F in CSS serialization. r=emilio
… in the C++ style system, to align with Stylo and the CSSOM spec.

MozReview-Commit-ID: HaDUeNjumnY

--HG--
extra : rebase_source : 3a4d2856bb6b3702d0bc7ec9b7a8e472758ab9f0
2017-09-04 15:00:18 +02:00
Simon Sapin
c9fdb7e6d5 servo: Merge #18355 - Reduce usage of fmt in serialization and error reporting (from servo:no-fmt); r=emilio
`format!` and `write!` create a somewhat-heavyweight `Formatting` struct and use dynamic dispatch to call into impls of `Dispaly` and related traits. The former also allocates an intermediate string that is sometimes unnecessary.

I started looking into this from https://bugzilla.mozilla.org/show_bug.cgi?id=1355599, but I expect the impact there will be small to insignificant. It might be a slightly less so on parsing (error reporting).

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d58ba91509b981489459b891f7632d035a43a7de
2017-09-04 13:14:44 -05:00
Luca Greco
8ea256fafd Bug 1395911 - Ensure Android addon options are not hidden while a webextension is still starting. r=sebastian
MozReview-Commit-ID: JXxI1dK39jA

--HG--
extra : rebase_source : b45efcaeebb19eca0196a823048c5d878b259b0c
2017-09-01 14:31:26 +02:00
Emilio Cobos Álvarez
d09d9b841f servo: Merge #18366 - style: Avoid dropping the other threads' TLS contexts too early (from emilio:fix-statistics-crash); r=bholley
When collecting style statistics, we have this path that moves the TLS contexts
to be dropped before the local context.

Since destroying the TLS context runs the sequential task queue, that means that
sequential tasks would be executed sooner than usual, before we drop the main
thread TLS context.

Since we have that reuse of the main thread context's bloom filter, and some
tasks end up creating one (Servo_StyleSet_GetBaseComputedValuesForElement, I'm
looking at you), we may borrow the bloom filter before we're done with it on the
traversal code path.

This was hitting on YouTube, when DUMP_STYLE_STATISTICS was used.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4608955949aa20a2d2ed251b56e9a5a3cf5681c5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f513b99215cc4ec59ad7cf39d6d00fd9a9608419
2017-09-04 11:54:15 -05:00
Zibi Braniecki
517324f16f Bug 1389397 - Remove the override chrome entries from language manifests. r=Pike
MozReview-Commit-ID: IsNb6inPCtf

--HG--
extra : rebase_source : 169e5cbb0263239ffce2a4ead598c7904e5a3484
2017-08-31 01:21:08 -07:00
Zibi Braniecki
55a7b70e19 Bug 1395456 - Use MOZ_APP_MAXVERSION for strict_max_version in langpack manifest. r=Pike
MozReview-Commit-ID: 63BQQt4U8if

--HG--
extra : rebase_source : faf796d214298fa50e0d73a82a7b1a4d0e91de30
2017-08-31 11:54:26 -07:00
Francesco Lodolo (:flod)
ea04a12a69 Bug 1396020 - Expose hard-coded strings in about:telemetry r=gfritzsche
MozReview-Commit-ID: 1ddOE9cGX4Z

--HG--
extra : rebase_source : ffe448b2df490a4e4d5c5a97bf319121be366554
2017-09-02 09:27:12 +02:00
Anthony Ramine
ba8fcfb777 servo: Merge #18368 - Do not NIH queueing a task to fire an event in htmlmediaelement (from servo:media-event-cleanup); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 293ffa06daa5cd2c3588833af3ed211ed3935d36

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cb549d0c7abb24f6e66e0a27d282f01374378092
2017-09-04 09:20:53 -05:00
Julian Descottes
f7b9898efd Bug 1396571 - use default value when retrieving pref devtools.webconsole.persistlog;r=Honza
MozReview-Commit-ID: 1Hlq6uLpQ5i

--HG--
extra : rebase_source : 29046c088aff4b06c56f35615ec931ad0ba8893a
2017-09-04 14:56:35 +02:00
Tushar Saini (:shatur)
49e6d15e41 Bug 1363014 - Implement browsingData.remove WebExtension API method on android. r=bsilverberg,mixedpuppy,sebastian
MozReview-Commit-ID: 2ipz1wqGpxc

--HG--
extra : rebase_source : cdb19268a6242c1466fb762cfd72c0af32ef45ae
2017-08-30 00:08:48 +05:30
Sebastian Hengst
2283a8f642 Backed out changeset 7bb00f5e0120 (bug 1395411) for eslint failures in test_classifier_changetablepref_bug1395411.html: 'classifierHelper' is not defined. r=backout 2017-09-04 16:45:35 +02:00
Kris Maglione
616f60eb84 Bug 1255894: Part 9 - Allow returning non-copyable types in async IPDL methods. r=kanru
Certain types (such as Shmem and Endpoint types) cannot be copied, and need to
be moved when passed around. When used with MozPromises, that means that the
promise needs to be non-shareable, and the resolve functions need to use the
correct ref qualifiers.

MozReview-Commit-ID: Kt4WZNsDErK

--HG--
extra : rebase_source : 5a96f9844df1646482aa223edf5081de9d5fc976
2017-08-27 18:57:30 -07:00
Kris Maglione
15a6c1a541 Bug 1255894: Part 8.1 - Disable response data filtering in release builds. r=me
MozReview-Commit-ID: AMgXJAb1NFs

--HG--
extra : rebase_source : c496b891a04d92c63ca335527e450c24300b2807
2017-09-02 09:40:30 -07:00
Gijs Kruitbosch
50b63100b8 Bug 1393343 - move 'restore previous session' item into main menu and hide when auto-restore is enabled, r=mikedeboer
MozReview-Commit-ID: B3J9c936RL

--HG--
extra : rebase_source : 8c30211e59c40774c72f039eda515724cb193c0d
2017-08-25 11:40:49 +01:00
Mateusz Naściszewski
eb62583672 servo: Merge #18351 - Refactor .sort_by() calls to use .partial_cmp() (from mateon1:profile-sort_by-partial_cmp); r=emilio
Changes the closures passed to `sort_by` in this file with a simpler, and more correct version.

Previously, potential NaNs in the array would float to the top. Either way, the program would crash, as the `get_statistics` function asserts the array it gets is sorted, which always fails with a NaN.
Because of that, this change should not affect functionality.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./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
- [X] These changes do not require tests because statistics collected by --profile should not have NaN values in the first place.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0bd6a1c9d264a9bcbf5344d87ac32cbb1e546b74
2017-09-02 03:54:49 -05:00
Nicholas Nethercote
d5f5450783 Bug 1392884 - Remove nsIAtomService. r=froydnj.
It's no longer used, and we're in the process of making nsIAtom not usable from
scripts, so we don't want it to be used.
2017-08-25 17:06:58 +10:00