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

526163 Коммитов

Автор SHA1 Сообщение Дата
ffxbld ee7cfd05d7 No bug, Automated HPKP preload list update from host bld-linux64-spot-036 - a=hpkp-update 2017-03-20 08:25:08 -07:00
ffxbld e5d6472d23 No bug, Automated HSTS preload list update from host bld-linux64-spot-036 - a=hsts-update 2017-03-20 08:25:05 -07:00
Carsten "Tomcat" Book d61e0b9ced merge mozilla-inbound to mozilla-central a=merge 2017-03-20 13:10:48 +01:00
JerryShih e4e7794105 Bug 1347164 - set expected-fail for css-color-4 test with stylo. r=xidorn
Currently, stylo doesn't have css-color-4 implementation. Set expected-fail for these tests.

--HG--
extra : rebase_source : 7740e267deed0482a25289704868cadd30e35e0f
2017-03-20 17:26:06 +08:00
JerryShih bd940f844f Bug 1347164 - css-color specified style test. r=dholbert
MozReview-Commit-ID: 6RRhz8ftEVO

--HG--
extra : rebase_source : f9f2ce3b84384d3b265d4da7b965dce147165688
2017-03-20 17:26:06 +08:00
JerryShih 72a3987a48 Bug 1347164 - rewrite mochitest test_specified_value_serialization.html to look more like test_computed_style.html. r=dholbert
MozReview-Commit-ID: 4XSBQXtYSth

--HG--
extra : rebase_source : e412de66d6cafa3246036df19185b7be270fb026
2017-03-20 17:26:06 +08:00
JerryShih d54436c0d2 Bug 1347164 - css-color computed style test. r=dholbert
MozReview-Commit-ID: 36qT5LxhB9Z

--HG--
extra : rebase_source : b1bfc7113e93566b940449c4970f4a96cdc122e4
2017-03-20 17:26:06 +08:00
JerryShih 5094f3ce80 Bug 1347164 - serialize colors using "rgba()" as the color-function, if they have a non-opaque alpha channel. r=dholbert
MozReview-Commit-ID: 44T8gy7UWFJ

--HG--
extra : rebase_source : 58f8621c70e0acff99f95d3305ef7ef0cc11c870
2017-03-20 17:26:05 +08:00
Iris Hsiao 235acee47e Backed out changeset 8db1c2fd27c9 (bug 1347829) for web platform tests failures 2017-03-20 16:06:43 +08:00
Cameron McCormack 52f712bba2 Bug 1338461 - Pass eRestyle_StyleAttribute through to Servo_NoteExplicitHints. r=bholley
MozReview-Commit-ID: C7HIOTs1SSY

--HG--
extra : rebase_source : 638fe3e1c9ecf47dcd9b175ae03344450417c7da
2017-03-20 14:42:31 +08:00
Federico Padua 26d8b036b5 Bug 1346188 - Remove redundant AppConstants.jsm import from browser.js; r=dao
This patch removes the redundant lazy import of AppConstants.jsm from
browser/base/content/browser.js since it gets loaded previously as described
in the bug description.

MozReview-Commit-ID: EoSfSgedgNc

--HG--
extra : rebase_source : 8db27f79b9b43559ed4f94457592b092c5f75942
2017-03-19 16:12:48 +01:00
bechen 48a8641a54 Bug 1347829 - If the timestamp "<00:00.005" missing the last ">" character, we still parse it. r=alwu
MozReview-Commit-ID: KzW1uTSyDE

--HG--
extra : rebase_source : cac3f211d9b89f9cc89fe8cbaf7bf90d66ff7e72
2017-03-17 11:17:52 +08:00
Jeremy Chen 39b7492e90 Bug 1348615 - [stylo] update mochitest expections for text-size-adjust. r=xidorn
MozReview-Commit-ID: 1jgt9fE6lab

--HG--
extra : rebase_source : 7c51c6ff243cb64163ad2ad0bfcd2805c8c5acc2
2017-03-20 11:56:17 +08:00
Jeremy Chen 4bf4d7b2eb servo: Merge #16036 - Stylo: Add support for text-size-adjust property (from chenpighead:text-size-adjust); r=upsuper
<!-- Please describe your changes on the following line: -->

Gecko supports -{moz,webkit}-text-size-adjust properties, but it only supports auto and none value.
Implement parsing/serialization for text-size-adjust property and its gecko glue.

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

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

<!-- 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: 103e827948e4c3592ee93cbed8adf270588b559e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ad7e6d004ad1bf9295c08d4733edaaa4ceed0016
2017-03-19 20:56:00 -07:00
Kaku Kuo 68dbe0931c Bug 1347892 part 3 - dont change video decode mode if a media element is in-tree with UNTRACKED visibility state; r=jwwang
If a media element is in-tree with UNTRACKED visibility state, the information is incomplete, just ignore it.

MozReview-Commit-ID: FcKybQZqF6c

--HG--
extra : rebase_source : 0d10cf1b80189db200999b3881f42773c34ad798
2017-03-17 13:06:12 +08:00
Kaku Kuo 0696209786 Bug 1347892 part 2 - pass the visibility state of media element to media decoder as a Visibility variable; r=jwwang
MozReview-Commit-ID: AbkJeIpYZlN

--HG--
extra : rebase_source : 3ace472786b9b9900b125164996819b6d6e3627f
2017-03-17 12:51:11 +08:00
Kaku Kuo 6da6d229fa Bug 1347892 part 1 - initialize a media element's mVisibilityState to be UNTRACKED; r=jwwang
MozReview-Commit-ID: Bkkh6hvCNu4

--HG--
extra : rebase_source : 48af639b9ce04f11a20cc55088dc3cb3f59971ec
2017-03-16 19:26:49 +08:00
Miko Mynttinen 6e4add711b Bug 1346777 - Transform layer geometry properly when intermediate surface is used r=mattwoodrow
MozReview-Commit-ID: H3YmadD8sFz

--HG--
extra : rebase_source : 8bd9f9b58d8e50fd925299fec6fc464ee50886c0
2017-03-16 21:51:54 +01:00
Simon Sapin 4e87a68ced servo: Merge #16033 - Per-document shared lock for author-origin stylesheets (from servo:per-document-locks); r=emilio
Fix #16027

Source-Repo: https://github.com/servo/servo
Source-Revision: 8d25dcb8b5f83728987171fe7a5b4905df741e58

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a490cb0bdb298cfd4580da1e32427beb28e7cefd
2017-03-19 18:22:23 -07:00
Chris Pearce cabb78f52e Bug 1347031 - Move the MediaCache off of opening its temporary file fd synchronously in the content process. r=jwwang
In bug 1346987 we're attempting to remove uses of the
NS_OpenAnonymousTemporaryFile() in the content process as it sends a
synchronous IPC to the parent process on the main thread, which can cause UI
jank. This patch makes the MediaCache use the async anonymous temporary file
creation function added in bug 1346987.

The file descriptor is held by the FileBlockCache. This object buffers data
passed to it in memory, and defers writing of said data to another thread. I
added the async wait for the file descriptor to be inside that async "defer to
other thread" step.

This means that while the content process is waiting for the file descriptor to
come down from the parent process, we'll buffer media data being streamed in
memory. Given that our MSE implementation will buffer up to 100MB of media data
in memory anyway, it seems that more buffering in the src=url case while we
wait for an async IPC to do a round trip to the main process is acceptable.

MozReview-Commit-ID: 3OTBTWw5pr0

--HG--
extra : rebase_source : 56e0a1f1473db3c9722330254f7a4bf3a1f5caa3
2017-03-17 09:54:23 +13:00
Alfredo.Yang e8514c817f Bug 1347834 - update rust mp4 parser for audio codec specific data. r=kinetik
MozReview-Commit-ID: 29yu6VsFIE6

--HG--
extra : rebase_source : 353b9b287dd1f6160d883dda5852c2f57fe85256
2017-03-17 11:13:22 +08:00
Alfredo.Yang 4678e869de Bug 1347834 - retrieve audio codec specific config from rust parser. r=kinetik
MozReview-Commit-ID: 2x4sN0e7c5j

--HG--
extra : rebase_source : 3f4f27c0a2bc9f0d200ee646d68666c0c8adda59
2017-03-16 16:06:28 +08:00
Paul Rouget ed70e23243 servo: Merge #16030 - Expose a method to toggle wr profiler (from paulrouget:toggle-wr-profiler); r=glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: bea126fb7333ca4ffaa9e7556141bc68b01ffd53

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6db4740b75ec618d72ec65745ee683e9bdd41d91
2017-03-19 17:42:16 -07:00
Simon Sapin f593f1436b No bug - Update Cargo.lock files for https://github.com/servo/servo/pull/16014 to fix bustage. r=bustage-fix on a CLOSED TREE 2017-03-20 00:28:46 +01:00
Sebastian Hengst 0f9e0165a3 Bug 1341102: Adjust expectations for servo/servo#15604 and servo/servo#16028: Fix reftest expectation format. r=reftest-fix on a CLOSED TREE
--HG--
extra : amend_source : 673cc7490524789c15a9dca831c70b6cfe1fe8c4
2017-03-20 00:22:39 +01:00
Bob Owen c454d35621 Bug 1152353: Repost printer properties completion messages after nsAppShell::ProcessNextNativeEvent. r=jimm 2017-03-15 15:55:50 +00:00
Jon Coppeard d36c4c59f4 Bug 1341096 - Make JS::IsIncrementalBarrierNeeded return true while sweeping incrementally r=sfink a=abillings 2017-03-21 10:24:11 +00:00
Andrea Marchesini ce13019950 Bug 1344957 - Enabling File.createFromNsIFile and File.createFromFileName only for testing and file-content-process, r=ehsan, r=bobowen 2017-03-21 11:11:06 +01:00
Paavini Nanda 54f2ad4b81 Bug 1344852: Enable flake8 rule W602: "deprecated form of raising exception". r=dexter 2017-03-15 17:18:52 +05:30
Cameron McCormack cf1045e125 Bug 1302054 - Part 3: Remove mention of nsChangeHint_Hints_NotHandledForDescendants in RestyleManager::ChangeHintToString. r=dbaron
MozReview-Commit-ID: K21VDcNd9Oy
2017-03-21 16:33:05 +08:00
Cameron McCormack cf56de72b5 Bug 1302054 - Part 2: Remove no longer useful nsStyleContext::CalcDifference optimization that handles the same-rule-node case. r=dbaron
nsStyleContext::CalcDifference had an optimization where, when we knew
that the old and new style context have the same rule node, we knew that
the only change hints that would need to be handled are those in the
"not handled for descendants" category, generated due to explicit
'inherit' values on reset properties.  This was because any changes due
to differences in inherited properties should only have generated
"handled for descendants" change hints (and thus would already have been
handled on an ancestor).

Before bug 931668, this let us avoid calling CalcDifference on structs
that only would have generated hints that we knew we already would have
handled.  However, after bug 931668, we compare all structs anyway so
that we can set the aEqualStructs outparam, so we don't gain anything
from this optimization.  We can still return these change hints we know
will not need to be handled, and rely on ElementRestyler::CaptureChange
to filter them out.

MozReview-Commit-ID: Ld1s2Js0i6r
2017-03-21 16:33:05 +08:00
Cameron McCormack 5131fe23a2 Bug 1302054 - Part 1: Avoid computing style differences when we just want to ensure structs are cached on the new context. r=dbaron
MozReview-Commit-ID: DLhHcCD4GQS
2017-03-21 16:33:05 +08:00
Cameron McCormack 767a077d73 Bug 1301258 - Part 2: Remove all subsumed hints when generating changes from restyles. r=dbaron
This changes ElementRestyler::CaptureChange so that it avoids generating the
current frame's entire set of change hints, if only some of the hints were
handled by ancestors, and instead to remove the hints that we know are
subsumed.

MozReview-Commit-ID: JvhxeQC6MmQ
2017-03-21 16:33:05 +08:00
Cameron McCormack 2a3ed57d71 Bug 1301258 - Part 1.5: Tweak some comments around change hints. r=dbaron
MozReview-Commit-ID: Gze6SFaXvSA
2017-03-21 16:33:05 +08:00
Cameron McCormack d2bf6adc7c Bug 1301258 - Part 1: Define macros for change hints always, never and sometimes handled for descendants. r=dbaron
MozReview-Commit-ID: 1lOl7U6rlC5
2017-03-21 16:33:05 +08:00
Lars T Hansen ae9a9c7afe Bug 1343007 - Insert explicit casts to enforce signed wasm div/mod operation. r=bbouvier, r=nbp
--HG--
extra : rebase_source : 7cea88d7f0b5f3439cb1d448add71e9cf5357190
2017-03-20 12:47:38 +01:00
Jim Blandy b4c089eb34 Bug 1347360 - Remove unnecessary USE_LIBS directive. r=glandium 2017-03-14 17:10:13 -07:00
Florian Queze 9ce8e31e44 Bug 1316187 - follow-up to fix failures on Linux x64 asan builds that have the crash reporter disabled, r=bustage-fix. 2017-03-21 02:42:27 +01:00
Wes Kocher 58b733ee2b Bug 1316187 - Followup to fix incoming merge bustage before it happens a=bustage 2017-03-20 18:29:29 -07:00
Wes Kocher 5d7c0bee97 Merge m-c to inbound a=merge
MozReview-Commit-ID: 860fBgcgHiy
2017-03-20 18:28:24 -07:00
Mats Palmgren b3478c6ec2 Bug 1343795 - Hold a strong ref on the Selection while calling ScrollIntoView with SCROLL_DO_FLUSH. r=smaug
MozReview-Commit-ID: 5C10dmT0bI9
2017-03-21 02:12:41 +01:00
Wes Kocher 9b58353afe Backed out changeset 2f6d3cbedd12 (bug 1349002) for build bustage a=backout
MozReview-Commit-ID: DY4OupKVBlS
2017-03-20 18:08:43 -07:00
Florian Quèze 91e394a62b Bug 1316187 - verify that all the chrome files we ship are actually referenced, r=Gijs. 2017-03-18 01:13:28 +01:00
Florian Queze 25f26ab751 Bug 1348570 - Make chrome://weave/locale/ point to the correct folder, r=markh. 2017-03-21 01:31:21 +01:00
Eric Rahm 5b55122df3 Bug 1349002 - Build DMD with unified sources. r=njn
DMD can be built with unified sources, additionally it doesn't need NSPR's
strcpy to build properly.

MozReview-Commit-ID: 9hZFlpWdt7
2017-03-20 17:24:34 -07:00
Mats Palmgren bf4cac95a4 Bug 1348665 part 5 - Remove the aFrame param to ReparentFrameViewTo and make it a member function instead. r=tnikkel
MozReview-Commit-ID: HStZiMcSOZa
2017-03-21 01:22:13 +01:00
Mats Palmgren b0adfe4733 Bug 1348665 part 4 - Remove some params to SyncFrameViewProperties and make it a member function instead. Make the aView param optional, use the frame's view if none provided. r=tnikkel
MozReview-Commit-ID: KTUaiqr0cmT
2017-03-21 01:22:13 +01:00
Mats Palmgren 4b52d84cfa Bug 1348665 part 3 - Remove the aFlags param to SyncFrameViewProperties because all callers pass zero. r=tnikkel
MozReview-Commit-ID: 7zohl3bOsO1
2017-03-21 01:22:13 +01:00
Mats Palmgren 896c347cb8 Bug 1348665 part 2 - Remove the ViewProperty and store the nsView* in a field on the relevant frame classes instead. r=tnikkel
The relevant frame classes are:
SubDocumentFrame
ListControlFrame (only when used for (non-e10s?) comboboxes)
PluginFrame
ViewportFrame
MenuPopupFrame

The view is now created in the frame's Init() method, except for
ViewportFrame which has its view assigned by the frame constructor
via a SetView() call.

MozReview-Commit-ID: 4O7Hm1yqwIp
2017-03-21 01:22:13 +01:00
Mats Palmgren 48fe777dbb Bug 1348665 part 1 - Move a few nsView related methods from nsContainerFrame to nsIFrame/nsFrame (idempotent patch). r=dholbert
Views are used for PluginFrame which inherits nsFrame, not nsContainerFrame,
so it's more appropriate that these methods should live in nsIFrame/nsFrame.

MozReview-Commit-ID: 87EgCnkF5YT
2017-03-21 01:22:13 +01:00