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

546577 Коммитов

Автор SHA1 Сообщение Дата
Mayank Srivastav 1404e8bc7e Bug 1354032 - Remove Places analyze call and use PRAGMA optimize(0x02) for optimizations. r=mak
MozReview-Commit-ID: AOkh3vOKD4E

--HG--
extra : rebase_source : 90f13425b7d5aec779787612781c2a49dd005037
2017-05-30 19:14:39 +05:30
Wes Kocher e76d9f38e1 Backed out changeset 23327a999975 (bug 1381141) for failures in browser_all_files_referenced.js a=backout
MozReview-Commit-ID: DB2VYNfydAh
2017-07-15 01:13:25 -07:00
Wes Kocher 70f22fba79 Bug 1381045 - Remove CSS source text from parsing errors. r=bholley a=bustage
MozReview-Commit-ID: EJGdEc50Gpl
2017-07-15 01:10:13 -07:00
Swapnesh Kumar Sahoo 0e6eae8f51 Bug 1321544 - Support icons for context menu items; r=zombie
MozReview-Commit-ID: HLaL8h0WK2c

--HG--
extra : rebase_source : aa45adcbf34880f1e75bd0a4fbc219965f0e5c1e
2017-07-11 22:27:20 +05:30
Hiroyuki Ikezoe a4f183c102 Bug 1371450 - Crash test. r=emilio
The crash test causes a panic in Servo_ResolveStyle on debug build without this
patch series.  The reason why we send mouse move event twice is that one for
E10S and the other one is for non-E10S. It seems to be caused by being
requestIdleCallback processed on different timing.

MozReview-Commit-ID: 7cBmwhE9HDk

--HG--
extra : rebase_source : a74aa277e2b161b1e4f8da27293cf89ddc3821e1
2017-07-15 13:16:15 +09:00
Hiroyuki Ikezoe 439420deeb Bug 1371450 - Recreate style context only if the element was restyled during the traversal. r=emilio
MozReview-Commit-ID: CBYTB5FeikP

--HG--
extra : rebase_source : e40d357ae70f9852e5b90eb6f3c41565bf1570a6
2017-07-15 13:16:11 +09:00
Hiroyuki Ikezoe 654bcef113 Bug 1371450 - Preserve restyle hints after ForThrottledAnimationFlush restyle. r=emilio
Those remaining restyle hints are needed for normal traversal later.

MozReview-Commit-ID: DswGYGQwgfw

--HG--
extra : rebase_source : e493d964454315e1c9d1dcf7a028976eef1e60a9
2017-07-15 13:09:35 +09:00
Hiroyuki Ikezoe e3679f353d Bug 1371450 - Don't traverse normal dirty elements in ProcessPostTraversal when we process throttled animations restyle for event handling. r=emilio
When we process throttled animations restyle for event handling, we skip normal
traversal at all, so after Servo_TraverseSubtree, normally there remains
unstyled elements which have to be processed in normal traversal later. These
elements should be skipped in ProcessPostTraversal too since it's not yet styled!

MozReview-Commit-ID: LgyWQpiFZ8e

--HG--
extra : rebase_source : f5aecf5952c72fa3902a5b4fa28aa80f3f66a4eb
2017-07-15 13:09:14 +09:00
Hiroyuki Ikezoe c040adf510 Bug 1371450 - Rename TraversalRestyleBehavior::ForAnimationOnly to TraversalRestyleBehavior::ForThrottledAnimationFlush. r=birtles,emilio
ForAnimationOnly is somewhat misleading, it means actually we process
*only* animation-only restyle without normal restyle. The purpose of
ForAnimationOnly is for updating throttled animations to get correct position
of the animations when we need to handle events. Currently we do also update
unthrottled animations though.

MozReview-Commit-ID: HBCCluKrZs9

--HG--
extra : rebase_source : bb37080e44b161b8b0210e3ba3c055604cf43a72
2017-07-15 13:08:47 +09:00
Hiroyuki Ikezoe 951ca9e4d5 servo: Merge #17740 - Post traversal fix triggered by animation-only restyle for event handling (from hiikezoe:post-traversal-fix); r=emilio
<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1371450

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

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cff83db1f2d332805835091f3e0ebcc38de51e77
2017-07-14 21:07:38 -07:00
Haik Aftandilian 335edaf829 Bug 1380141 - Running Talos locally on OS X results in crashed tabs. r=Alex_Gaynor,jmaher
Like we do for mochitests, set the MOZ_DEVELOPER_REPO_DIR and
MOZ_DEVELOPER_OBJ_DIR environment variables when running talos
tests so that the content sandbox permits access to test files
that are symlinks from the .app/ directory to the repo or
object directory.

MozReview-Commit-ID: J1bRqoB8a2i

--HG--
extra : rebase_source : 18f0bafa53dcd872d9bd647fc2e5ce143f5887bd
2017-07-12 17:05:29 -07:00
Kaku Kuo 5547aba3cd Bug 1378691 P4 - skip to next key frame if the playback position is very close to it; r=jwwang
MozReview-Commit-ID: Gm0iZAHVLpS

--HG--
extra : rebase_source : e1bc9da5b809cba474983b804085dca21473b3ac
2017-07-12 17:03:45 +08:00
Kaku Kuo 4175fed6b6 Bug 1378691 P3 - return next key frame time back to MDSM; r=jwwang
MozReview-Commit-ID: LVhJ0DpM24c

--HG--
extra : rebase_source : 4aefd89a2cc2243538c248977bfff79731fc2946
2017-07-11 10:15:33 +08:00
Kaku Kuo 04ba592fac Bug 1378691 P2 - trigger skip-to-next-key-frame if the video decoding is too slow; r=jwwang
MozReview-Commit-ID: B0stJG3eOKU

--HG--
extra : rebase_source : 16cecd28bd6a5422135aa7700f3664bb9b5fd1c6
2017-07-11 09:59:13 +08:00
Kaku Kuo a1b039d4a5 Bug 1378691 P1 - drop video until catch up playbak position for video-only seek; r=jwwang
MozReview-Commit-ID: 86BhQDbM7xV

--HG--
extra : rebase_source : 105ad54c3ab5c659ebcbda539beb480a93a66aa5
2017-07-11 09:56:09 +08:00
Jonathan Chan 4a6248b9a6 Bug 1355380 - Part 2: Make Servo's rounding of image-orientation values agree with Gecko's, and pass orientations directly as an enum instead of as angles. r=manishearth
Both Servo and Gecko store the specified value of the image-orientation
property as a single-precision float, but Gecko does the conversion to radians
and the computation to identify which quarter-turn the angle is closest to
using doubles.

We add Angle::radians64 to perform the conversion to radians using doubles,
just as Gecko does, and then update image_orientation to perform the
computation the same exact way Gecko does in
nsStyleImageOrientation::CreateAsAngleAndFlip. This lets the previously failing
reftests pass.

We also update Gecko_SetImageOrientation to take an orientation directly
instead of an angle (otherwise we'd be doing the which-quarter-turn-is-closest
computation twice).

Finally this lets us re-enable the reftests for image-orientation previously
marked as fails-if(styloVsGecko||stylo).

MozReview-Commit-ID: 2zMMzQlsYEC

--HG--
extra : rebase_source : 99ed023e940193d4ad735a9ee27e45929a1efda1
2017-07-10 11:32:08 -07:00
Jonathan Chan 016ee566a7 Bug 1355380 - Part 1: Have nsStyleImageOrientation::CreateAsAngleAndFlip handle negative angles correctly. r=manishearth
Previously we just took the input angle mod 2π, which will leave negative input
angles as negative. By checking if the input mod 2π is negative and if so
adding 2π and then taking that mod 2π again we can ensure that we end up with a
an angle in the range [0, 2π].

We only do this if the result of the initial mod is negative because this adds
rounding error that is enough to mess up whether 135 is determined to be closer
to 90 or 180, for example.

We add a test for this as well.

Also fix property_database.js to account for this (we assert that -90deg should
compute to the same value as the initial value, but it should actually compute
to 270deg).

MozReview-Commit-ID: Faf0f7wIEg3

--HG--
extra : rebase_source : 6b2d15f90e541fcb8b6083e15772eee514603e57
2017-07-07 16:03:37 -07:00
Jonathan Chan 944a56812c servo: Merge #17696 - Sync Servo / Gecko image-orientation rounding; pass as enum (from jyc:image-orientation-redux); r=Manishearth
Make Servo's rounding of image-orientation values agree with Gecko's,
and pass orientations directly as an enum instead of as angles.

Depends on a Gecko change to be subsequently landed in m-c.

Were reviewed here: https://reviewboard.mozilla.org/r/155336/

<!-- 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 [Bugzilla Bug 1355380](https://bugzilla.mozilla.org/show_bug.cgi?id=1355380) (github issue number if applicable).

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

<!-- 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: 3fb309c7554e1a2ee2917348da8572e9b6d98c98

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 27b98eb71173b396b0cbe4aa13a8002b3cfa8736
2017-07-14 18:54:45 -07:00
Josh Matthews ff5ac37188 servo: Merge #17738 - Don't retrieve the CSS source when a parse error is reported (from jdm:no-css-text); r=bholley
Per https://bugzilla.mozilla.org/show_bug.cgi?id=1381045 retrieving the CSS source is an unnecessary performance hit for Stylo.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because they are tested by Gecko.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6089e9ba19d02e60ef9190c587cb2275d5a3d96c
2017-07-14 17:53:12 -07:00
Nazım Can Altınova 53247946bc Bug 1341802 - Update test expectations after servo/servo#17737 r=me 2017-07-14 18:10:12 -07:00
Nazım Can Altınova 190ffe6d00 servo: Merge #17737 - Convert TrackList's `values` field to store only TrackSize (from canaltinova:same-grid-but-better); r=Manishearth,wafflespeanut
It was storing both TrackSize and TrackRepeat before and TrackRepeat have to be
converted into sequence of TrackSize during serialization. Instead of doing this
in serialization process(which is hard and hacky), we converted to do this in
parsing process. We were doing this conversion in the ComputedValue conversion.
So we only had to move this process to parsing.

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

Source-Repo: https://github.com/servo/servo
Source-Revision: 124a23b207d645d994eddc27efd409c22dc0aa28

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 84c1504441a37d5fd8a9acbe9c9b1cae2cae56b6
2017-07-14 16:50:04 -07:00
Wes Kocher ee45f814bb Merge m-c to autoland, a=merge
MozReview-Commit-ID: GOb2bgdUd36
2017-07-14 17:27:36 -07:00
Wes Kocher e9fa5c772a Merge inbound to central, a=merge
MozReview-Commit-ID: 8nlqm5dHCUQ
2017-07-14 17:14:43 -07:00
Haik Aftandilian 88b1e4c7ca Bug 1380132 - Part 3 - Use env variable MOZ_DEVELOPER_OBJ_DIR to whitelist object dir in content sandbox. r=Alex_Gaynor
On developer builds, use $MOZ_DEVELOPER_OBJ_DIR to whitelist the object dir in the content sandbox so that symlinks to the object dir from .app/ files can be loaded.

MozReview-Commit-ID: J4YdpxgbD8i

--HG--
extra : rebase_source : 19e369fe9ae29418d9d79e1fb83246474d858f34
2017-07-14 16:32:53 -07:00
Sebastian Hengst 68baf06033 Backed out changeset 15c280b7d53b (bug 1380387) for Linux cgc failure in js1_8_5/extensions/collect-gray.js. r=backout 2017-07-14 21:25:36 +02:00
Sebastian Hengst 0a996c1db9 Backed out changeset e029feccd0c0 (bug 1380967) for Linux cgc failure in js1_8_5/extensions/collect-gray.js. r=backout 2017-07-14 21:24:55 +02:00
David Anderson 28b0c7d639 Fix mask coordinates when rendered into intermediate surfaces with Advanced Layers. (bug 1380744, r=mattwoodrow) 2017-07-14 11:47:54 -07:00
Jon Coppeard 5e9163c32a Bug 1380967 - Add a separate reason code for minor GC performed at the start of major GC r=sfink 2017-07-14 19:02:09 +01:00
Jon Coppeard 873e518ea8 Bug 1380387 - Only repeat shutdown GCs for removed roots r=sfink 2017-07-14 19:01:49 +01:00
Mason Chang d972f95729 Bug 1380493 Set surface format of DrawTargetCapture to whatever the ref DT is. r=dvander 2017-07-14 10:55:03 -07:00
Kris Maglione 8cbd7a12c9 Bug 1381023: Follow-up: Fix xpcshell failure.
MozReview-Commit-ID: BB8ItETtRMb

--HG--
extra : rebase_source : 81885a8417d83dcae6b0a3896483f0a60e56cb8b
2017-07-14 10:50:54 -07:00
Tim Taubert 4d50b6bd73 Bug 1380954 - Forward WebAuthnTransactionInfo::TimeoutMS() to U2F*TokenManagers r=jcj
The U2FSoftTokenManager is a synchronous implementation and thus didn't need a
timeout so far. We need it for the U2FHIDTokenManager though to let user
interaction timeout properly.

Thus, add a timeout argument to the methods required by the U2FTokenTransport
interface and forward that to the token manager implementations.
2017-07-14 19:27:53 +02:00
Kris Maglione b87727cbfa Bug 1378727: Part 2 - Use the zip reader cache when reading extension locales. r=aswan
MozReview-Commit-ID: BOoVcyypdRN

--HG--
extra : rebase_source : c0ea49795efc4c72effbc3256d25f51f40359680
extra : source : a8809f15b58213f3292b9eaf7fa9583377d1fa30
2017-07-13 12:30:29 -07:00
Kris Maglione 949f2daa6d Bug 1378727: Part 1 - Add helper to enumerate cached ZipReader without locking issues. r=Mossop
MozReview-Commit-ID: Kuw58LE1nYg

--HG--
extra : rebase_source : f9a18ad62351345bed6ca8650fe4d8f6b94666a2
2017-07-13 12:30:15 -07:00
Geoff Brown 7a700ee2e7 Bug 1379868 - Stop running mochitest-gl on tc Windows 7 non-e10s; r=jmaher 2017-07-14 10:51:14 -06:00
Geoff Brown aa32737994 Bug 1376273 - Update test expectations for wpt 2d.gradient.radial.outside3.html, on Windows; r=jmaher 2017-07-14 10:51:12 -06:00
Geoff Brown e0e2eabd57 Bug 1376430 - Modify test expectations for some wpt 2dcontext/path-objects tests, on Windows; r=jmaher 2017-07-14 10:51:10 -06:00
Geoff Brown c2d05763c7 Bug 1377406 - Skip test mathml/relations/html5-tree/unique-identifier-1.html on Windows; r=jmaher 2017-07-14 10:51:08 -06:00
Geoff Brown e69d97cdb7 Bug 1244904 - Skip all browser/components/sessionstore tests on non-e10s Linux; r=mikedeboer 2017-07-14 10:51:07 -06:00
Ryan VanderMeulen 418fe0e50f Merge m-c to inbound. a=merge 2017-07-14 12:46:40 -04:00
ffxbld 63892fd487 No bug, Automated HPKP preload list update from host bld-linux64-spot-308 - a=hpkp-update 2017-07-14 09:41:09 -07:00
ffxbld a7fbfe86b2 No bug, Automated HSTS preload list update from host bld-linux64-spot-308 - a=hsts-update 2017-07-14 09:41:06 -07:00
Ryan VanderMeulen 019bd042fc Merge autoland to m-c. a=merge 2017-07-14 09:16:03 -04:00
Sebastian Hengst 98341b81c6 Backed out changeset 2bec8580742b (bug 1370753) for breaking Android L10n nightlies. r=backout a=backout
MozReview-Commit-ID: JpJRsrL0r9B
2017-07-14 15:04:53 +02:00
Ryan VanderMeulen 992097f66b Bug 1373007 - More manifest fixups. a=me 2017-07-14 08:43:19 -04:00
Emilio Cobos Álvarez 3d05394757 servo: Merge #17729 - stylo: Honor cursor: progress (from emilio:cursor-progress); r=heycam
Gecko maps it to NS_STYLE_CURSOR_SPINNING:

http://searchfox.org/mozilla-central/rev/cbd628b085ac809bf5a536109e6288aa91cbdff0/layout/style/nsCSSProps.cpp#1217

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e68eedb21736e3c72bed939db34515766b03b155
2017-07-14 03:04:38 -07:00
Sebastian Hengst 22d024f800 Backed out changeset 020581c23b7d (bug 1367613) for gl error during test_conformance__extensions__webgl-debug-shaders.html. r=backout on a CLOSED TREE 2017-07-14 10:11:54 +02:00
Sebastian Hengst 4a3997ebd2 Backed out changeset 49ef9e17682e (bug 1377974) for gl error during test_conformance__extensions__webgl-debug-shaders.html. r=backout on a CLOSED TREE 2017-07-14 10:11:11 +02:00
Sebastian Hengst 46235a444c Backed out changeset 7ec72cbf67b6 (bug 1380471) for Windows 2012 static bustage. r=backout on a CLOSED TREE 2017-07-14 10:00:52 +02:00
Oriol a555a196a6 Bug 1375254 - Make JSON Viewer display primitive values using Reps. r=Honza 2017-07-13 14:47:00 -04:00