Commit Graph

545072 Commits

Author SHA1 Message Date
Kaku Kuo
68e0ba647b Bug 1378085 p5 - override HandleWaitingForAudio(), HandleAudioCanceled(), and HandleEndOfAudio(); r=jwwang
MozReview-Commit-ID: Jyw3yyutGjn

--HG--
extra : rebase_source : cb1d6b7dae6c913de906574c15f5387a42cea9c5
2017-07-06 11:47:21 +08:00
Kaku Kuo
d3cf895857 Bug 1378085 p4 - override HandleAudioDecoded(); r=jwwang
MozReview-Commit-ID: BmxePYCesTF

--HG--
extra : rebase_source : c0be25b11a415e5b463841b72594bbd2de0be59b
2017-07-06 11:45:07 +08:00
Kaku Kuo
7d4b77078a Bug 1378085 P3 - override Exit(); r=jwwang
MozReview-Commit-ID: 2NW9d4hu3bT

--HG--
extra : rebase_source : 572c63e07281819de2324173595b7241528ef15b
2017-07-06 11:42:27 +08:00
Kaku Kuo
937ed7bf29 Bug 1378085 P2 - override Enter(); r=jwwang
MozReview-Commit-ID: AuwpbiaQzML

--HG--
extra : rebase_source : 903e3a525dca31748296a16bd8c7f885c8d47310
2017-07-06 11:37:51 +08:00
Kaku Kuo
abb1987ff8 Bug 1378085 P1 - create VideoOnlySeekingState; r=jwwang
MozReview-Commit-ID: 2O6CsqSDKnG

--HG--
extra : rebase_source : 3a29b6266e6254de742fcd53d9e1b554130b1b5c
extra : intermediate-source : 76b95ff0005bdf95e541c8e77081d449fc129a22
extra : source : 64b0f522e8994dd03c58b14d7d27cc5f3155b571
2017-07-03 15:32:39 +08:00
Kaku Kuo
d7d5147c64 Bug 1378085 P0 - update playback position only if event visibility is observable; r=jwwang
MozReview-Commit-ID: 4G436mptS1w

--HG--
extra : rebase_source : 681c8764e582fa37fe573c26eb3cf90b239e15cb
2017-07-06 10:59:16 +08:00
Dão Gottwald
de6e5653ef Bug 1378313 - Fix up bogus code showing the reload button as enabled when it's disabled. r=johannh
Bug 1376893's approach is wrong in various ways:

- It shows the reload button as enabled for about:blank

- The disabled state styling is implemented in browser/themes/shared/toolbarbuttons.inc.css, and could be implemented differently. browser/base/content/browser.css should not depend on theme specifics.

- :not(:-moz-window-inactive) only begins to make sense on Mac, and obviously prevents the fix from taking effect in inactive windows

MozReview-Commit-ID: A5yX9dc4TOK

--HG--
extra : rebase_source : 28c19acb82850c64991b36184fac74e6fa033808
2017-07-05 11:14:20 +02:00
Shih-Chiang Chien
f72f1ba062 Bug 1377471 - disconnect HttpChannelChild and its background channel on STS thread. r=mayhemer
I landed an uncomplete patch in bug 1338493. We need to dispatch the mChannelChild clean-up runnable to STS thread
instead of just add it to the pending queue of background thread. The background channel will be kept alive since
there is a reference cycle between HttpBackgroundChannelChild, mQueuedRunnables, and the runnable.

MozReview-Commit-ID: JZ7d9sPEe19

--HG--
extra : rebase_source : b0189599ac22e780f778a9dc81e009bc7b5391f9
2017-07-01 01:38:16 +08:00
Thomas Nguyen
4909ab1a70 Bug 1363882 - Remove casting address of inactive member union result.hash r=francois
MozReview-Commit-ID: 3pVaVJ1EJZu

--HG--
extra : rebase_source : 6549a5f1d303363cfb472753c3fe256c3d1dd740
2017-07-05 17:21:01 +08:00
Thomas Nguyen
62625fef28 Bug 1297614 - Refactor and remove dead code in toolkit/components/url-classifier/content r=francois
MozReview-Commit-ID: GzVGS1ZTRGL

--HG--
extra : rebase_source : ee868b5fb590f4965b17535383327df98504e963
2017-06-30 13:31:03 -07:00
Farmer Tseng
d8467854d7 Bug 1370488 - Add support for having printing on Windows print via Skia PDF and PDFium r=jwatt
1. Convert PDF to EMF via PDFViaEMFPrintHelper.
2. Replay EMF on printer DC.

MozReview-Commit-ID: 8YTcaZ2Y1rO

--HG--
extra : rebase_source : 7b5e718c7fe5dbeee13bbd7a0c958cd285d0833f
2017-06-08 18:55:42 +08:00
Farmer Tseng
ee4e319c47 Bug 1372113 - Call PDFium function directly in PDFiumEngineShim r=jwatt
1.PDfium would be built into the xul (bug 1368948) so PDFiumEngineShim could
call functions directly. However, I still keep loading dynamic library for
debugging purpose. Create a new preference for storing the library file path.
2.Remove redundant define and typedef which are written in PDFium head file.
3.Include an appropriate head file from PDFium.
4.Remove non-used PDFium APIs.
5.Use the singleton pattern to retrieve the instance of PDFiumEngineShim.
6.Don't destroy the library inside PDFiumEngineShim::CloseDocument because the
library has to deal with multi-document.

MozReview-Commit-ID: 97ZBFp1qU8V

--HG--
extra : rebase_source : a60ee37906a94788e0baabbb95bd8848eca096af
2017-07-06 10:25:46 +08:00
Jean-Yves Avenard
4cb0476656 Bug 1378508: Enable VP9 HW decoder by default. r=cpearce
MozReview-Commit-ID: 5MWhphA5Zql

--HG--
extra : rebase_source : 1a09ce08e424855f9304eff8f91c9c9db371101e
2017-07-05 22:59:23 +02:00
Mantaroh Yoshinaga
5c2c26759e Bug 1374161 - Update stylo reftest exception for svg-paint-server with invalid value. r=hiro
MozReview-Commit-ID: 3KDSlGlXdWE

--HG--
extra : rebase_source : 2eeac2850ef7a75985b82aab933253d2f10d08fb
2017-07-06 09:47:41 +09:00
Mantaroh Yoshinaga
41d6729a76 servo: Merge #17617 - Handling of invalid values in svg paint server (from mantaroh:svg-paint-server); r=hiro,manishearth
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1374161

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

<!-- Either: -->
There are tests for these changes, a test case will be landed in reftests in https://bugzilla.mozilla.org/show_bug.cgi?id=1374161.

<!-- 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: 7323c7745c1cc43f73c8ff2760e9e6adf23c138e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d0a0806db2e466951903abfd81e523be6ff87ffc
2017-07-05 21:49:27 -07:00
Nazım Can Altınova
1727815ec6 Bug 1341802 - Update test expectations for servo/servo#17616 r=me
MozReview-Commit-ID: 8276N81ntiv

--HG--
extra : amend_source : 0f40a9f0dd750dfce36ece2928246802b9038d97
2017-07-05 22:11:34 -07:00
Nazım Can Altınova
28e3e60ad6 servo: Merge #17616 - stylo: Add auto-filled line names to mRepeatAutoLineNameListBefore array (from canaltinova:subgrid-autofill); r=wafflespeanut
Line names with `repeat(auto-fill, ...)` were not being added to mRepeatAutoLineNameListBefore. They were being added into mLineNameLists instead.
Basically, `subgrid repeat(auto-fill, [abc]) [y z]` was becoming  `subgrid repeat(auto-fill, []) [abc] [y z]` in computed value.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: 9bb3728eb97271062d0259a91f7faf729df677cd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2c74cc68c017611d92dd5f6a64330d36d98d4960
2017-07-05 20:34:57 -07:00
Kit Cambridge
8098b7036f Bug 1378554 - Allow empty titles for synced separators. r=markh
MozReview-Commit-ID: 7dDcIBjhDS4

--HG--
extra : rebase_source : 1acee6f8364f354af8412cebdf7cfebf3c4b9cbc
2017-07-05 11:25:02 -07:00
Kit Cambridge
a4f06209c9 Bug 1378545 - Ensure test_misreconciled_root waits for the test server to start. r=markh
MozReview-Commit-ID: AyjdR5hfSOf

--HG--
extra : rebase_source : 9483f7f2d0c0437da1a3e97d9477ea8eae243843
2017-07-05 15:19:17 -07:00
Haik Aftandilian
5d3493e27d Bug 1377614 - Part 2 - System extensions fail to load on Mac and Linux local builds. r=jimm
On Mac and Linux, allow unpacked extension resources to load from outside the extension directory if they're in the repo.

MozReview-Commit-ID: 1xsKV72aUJx

--HG--
extra : rebase_source : 1adefb0977e63935366a45dbf7c471d868655838
2017-07-05 14:11:48 -07:00
Gian-Carlo Pascutto
84f7ba492b Bug 1377614 - Part 1 - Move IsDevelopmentBuild() to common code. r=Alex_Gaynor
MozReview-Commit-ID: AcO0XaMS4Gp

--HG--
extra : rebase_source : ec40a94545fa78ce0210a0614db82b7bcb7e8a97
2017-07-03 11:17:04 -07:00
Bobby Holley
df77fb2e20 servo: Merge #17615 - Rip out the generic abstractions around ThreadLocalStyleContext (from bholley:simplify_local_context); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1378540

Source-Repo: https://github.com/servo/servo
Source-Revision: 8923a9e5f0cc292062f852babe878326aff656ef

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fd5436ab04b074ecab59f7341e77590975f62656
2017-07-05 19:29:01 -07:00
Chun-Min Chang
c5c6d606ca Bug 1378299 - Fix the missing headers; r=cpearce
MozReview-Commit-ID: 1IN2HKWLLM7

--HG--
extra : rebase_source : 4e60644bb283e931f6fcb1f9c89ba6efe202575d
2017-07-05 15:59:03 +08:00
Ray Lin
d53f9d5b3c Bug 1367875 - Add a reftest about brief dynamically chaning <audio> to a small width. r=jaws
MozReview-Commit-ID: 1w5f3jdNb67

--HG--
extra : rebase_source : 4090857889c6f511e291f6038c80616d7eacd85f
2017-07-04 15:06:50 +08:00
Masayuki Nakano
f83bc98f97 Bug 1377752 - part2: Selection::NotifySelectionListeners() should make nsFocusManager not scroll new focused element into the view if it's not focused document r=smaug
When changing selection into a contenteditable element in non-focused document, new focused editor shouldn't be scrolled into the view for compatibility with the other browsers.

MozReview-Commit-ID: FabqizyJrPW

--HG--
extra : rebase_source : 5bd2a017ec4c4f4fc0a6f7644fba2769b3ffca2c
2017-07-05 21:35:18 +09:00
Masayuki Nakano
ef6bac5b7b Bug 1377752 - part1: Add automated test for checking scroll position and focused document when setting selection into a contenteditable element in an iframe element r=smaug
When an iframe doesn't have focus, moving selection into a contenteditable element in it shouldn't cause moving focus to the document, moving focus to the editable element nor scrolling to the editor but the editor should become active element.

When an iframe has focus, moving selection into a contenteditable element in it should cause moving focus to the editor and scroll it into the view.

MozReview-Commit-ID: 1ZDPj6UotLn

--HG--
extra : rebase_source : c407e41f7f6ad771d25a5085786b94dd1bd99792
2017-07-05 22:21:43 +09:00
Andreas Tolfsen
88e5c10a40 Bug 1377767 - Fix idle dispatch call to gather memory in Telemetry; r=erahm
The Services.tm.mainThread.idleDispatch API was renamed in
https://bugzilla.mozilla.org/show_bug.cgi?id=1368072 to
Services.tm.idleDispatchToMainThread.

MozReview-Commit-ID: CZdH4DQdvNz

--HG--
extra : rebase_source : a2689d2cb30ff597b51615f96c5b3d81fb799f53
2017-07-02 12:40:27 -04:00
Xidorn Quan
d5f6047810 Bug 1372790 - Change uint8_t to back some enum and reorder some fields in StyleSheet to make it more compact. r=heycam
MozReview-Commit-ID: DddIzhJqmcZ

--HG--
extra : rebase_source : da357c220cea45fcc5af3b8a7421a0b699a01026
2017-06-14 14:26:48 +10:00
Bobby Holley
eae1f22183 servo: Merge #17612 - Make the style statistics dump threshold configurable (from bholley:custom_threshold); r=emilio
I've wanted to change the threshold a couple of times, and adding in a
10-minute opt rebuild cycle is always a bit de-motivating.

I'm making this option gecko-only because it's pretty niche, and adding
support in servo would require threading it through all the options
stuff. We can add support for it there if we ever need it.

Source-Repo: https://github.com/servo/servo
Source-Revision: 340d350894584a413815fb2c62c88a9bde4e1dc5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4b784661d58cd4585916c0fe64ee05edaef25fe5
2017-07-05 18:37:04 -07:00
Jonathan Chan
0b9d67e054 servo: Merge #17556 - layout: Clean up inline_metrics_of_block a little (from jyc:inline-metrics-of-block); r=emilio
Previously the variable names were a little confusing (ascent was used
for the space_above_baseline in one branch and the and ascent field in
another branch, and was not really the ascent in one). Also add a
small diagram.

<!-- 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: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they just refactor existing code

<!-- 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: 03450ee8e17a8e5c206f60c93cf035c7522f70b0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b8089f61bb8082b6c3080b87f94034836c7757fe
2017-07-05 17:35:49 -07:00
Botond Ballo
8b7ba8ac1c Bug 1377020 - Use MOZ_DEFINE_ENUM instead of a sentinel enumerator for enumerations in gfx/layers. r=kats
MozReview-Commit-ID: IUQDb0VIAwQ

--HG--
extra : rebase_source : 50d05ab09a5fb03d16c044edd38f0f3e0dba7ada
2017-06-30 21:18:55 -04:00
Botond Ballo
12b5fbce7d Bug 1377020 - Add a new enum serializer ContiguousEnumSerializerInclusive. r=kats
This allows specifying the highest legal value rather than a sentinel
value, to support enumerations that don't have a sentinel.

MozReview-Commit-ID: 5Vj7SnYlfkH

--HG--
extra : rebase_source : 30f567edc6c6bb75971d27226ebfc3574944a9bb
2017-06-30 21:18:49 -04:00
Brian Birtles
bf19615984 Bug 1377053 - Add test for discrete interpolation of stroke-dasharray with 'none'; r=hiro
MozReview-Commit-ID: MuxvAeVwes

--HG--
extra : rebase_source : 6837b4273abee1f2c600524dd376c5e4698a691b
2017-07-05 21:48:02 +09:00
Brian Birtles
1e2aae7454 Bug 1377053 - Update test expectations based in fixed interpolation fallback behavior; r=hiro
MozReview-Commit-ID: LcHuXa3dTpZ

--HG--
extra : rebase_source : ba24aa7856e41463c3cf6f986d762fa385d2905c
2017-07-06 06:31:39 +09:00
Brian Birtles
462794f6fe Bug 1377053 - Crash test for interpolating zero-length lists in add_weighted; r=hiro
MozReview-Commit-ID: DJJlKNZ4GKD

--HG--
extra : rebase_source : a62c269e93ad9840eb50f3acea06c9764658385d
2017-07-06 06:28:11 +09:00
Brian Birtles
fde008d081 servo: Merge #17613 - Handle zero length lists when interpolating (from birtles:zero-length-lists); r=hiro
These are the Servo side changes for [Gecko bug 1377053](https://bugzilla.mozilla.org/show_bug.cgi?id=1377053).

These patches have been reviewed by @hiikezoe.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 162c23f00e3e0dfa267e7af37a47b36afd42e938
2017-07-05 16:47:36 -07:00
Grigory Kruglov
9f0b22d00a Bug 1374758 - Add 'os' object to Sync Ping bundle with basic OS information r=nalexander
We'll use this both to segment pings by different platforms, and segment our dashboards by
different OS versions.

MozReview-Commit-ID: 9RC2jm9Ql6H

--HG--
extra : rebase_source : b8b3ea6853ea8f70e1d737a1f8e4b9b1e2657cd6
2017-06-21 14:27:45 -04:00
Grigory Kruglov
5815a34a18 Bug 1374758 - Rename bundleID to bundleId, for consistency with other platforms r=nalexander
MozReview-Commit-ID: EYM73YArDN

--HG--
extra : rebase_source : 2f21f06e2a3e3c0a51ecb23a3b35acb0b6a5eb51
2017-06-21 14:26:15 -04:00
Grigory Kruglov
a5c2037c76 Bug 1374758 - Add 'when' epoch timestamp to each sync ping r=nalexander
Since we bundle multiple pings together for an upload, it really helps to know when
each individual ping happened.

MozReview-Commit-ID: 2NuHFiNSHFA

--HG--
extra : rebase_source : 8600483688a90dc79684a15d837e6181a665ed36
2017-06-21 14:25:10 -04:00
Grigory Kruglov
bf6922729a Bug 1374758 - Move sync data format version to sync ping bundle r=nalexander
This is being done to be consistent with how other platforms (desktop, iOS) are
reporting their data format version.

MozReview-Commit-ID: 4rmCTaY44h6

--HG--
extra : rebase_source : 75478330f66aa661063498c64095f79febe40495
2017-06-21 14:23:06 -04:00
Wes Kocher
414ea49c45 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 7DxSsYpFh3X
2017-07-05 17:19:40 -07:00
Nazım Can Altınova
e0a4015f01 Bug 1341102: Update test expectations for servo/servo#17587 r=me
MozReview-Commit-ID: BIbGXEkWBrp
2017-07-05 16:49:43 -07:00
Nazım Can Altınova
267f0271f1 servo: Merge #17587 - Fix color stop sorting in -webkit-gradient (from canaltinova:webkit-gradient); r=nox
This was causing a reftest failure in gecko side(layout/reftests/webkit-gradient/webkit-gradient-linear-2.html). Basically, it was sorting exactly opposite if two color stops have the same percentage.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: 4f0f2fb13eb1e3ce8bf0c5be9749f830545f0bb5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e5f08ee9fd0840413707ac1468f5b63b929630b0
2017-07-05 15:46:01 -07:00
Wes Kocher
2fff726ced Backed out changeset 8eb0c588a43e (bug 1378218) for frequent win debug xpcshell failures in test_sanitizer.js a=backout
MozReview-Commit-ID: EsfsviyLVbw

--HG--
extra : source : b7373e1df03eac30bca7b882a352a7282775059e
2017-07-05 15:08:13 -07:00
Wes Kocher
288405ee34 Merge inbound to m-c a=merge
MozReview-Commit-ID: LpxvieHR7VH
2017-07-05 17:10:43 -07:00
Wes Kocher
b2b6270f16 Merge autoland to central, a=merge
MozReview-Commit-ID: aTamJCbp5v
2017-07-05 16:45:19 -07:00
Jonathan Kew
a2ac9a50b5 Bug 1377534 - Optimize gfxFontconfigFontEntry::GetAspect by using OS/2 metrics directly if available. r=lsalzman 2017-07-05 20:18:51 +01:00
Nathan Froyd
9af0cd2f31 Bug 1377971 - followup - don't explicitly link to libm on Windows; r=bustage
On Windows, libm is just rolled into the CRT, so there's nothing special
we need to do here.

Landing this on a CLOSED TREE
2017-07-05 14:38:52 -04:00
Sebastian Hengst
2f135bc235 Backed out changeset 7fbe19a6f88e (bug 1365601) as requested by bobowen for c3 failures. r=backout 2017-07-05 20:24:26 +02:00
Sebastian Hengst
a02286b777 Backed out changeset 6035f7b2a12c (bug 1365601) 2017-07-05 20:23:26 +02:00