Commit Graph

499222 Commits

Author SHA1 Message Date
cku
dcbcec68cf Bug 1250490 - Part 4. Bring back CreateBlendTarget/BlendToTarget. r=mstange
MozReview-Commit-ID: DMSm5d2SI3j

--HG--
extra : rebase_source : a8108cd3088a5f530bded2e20c408f3b4787d658
2016-11-03 12:17:20 +08:00
cku
626b83ae89 Bug 1250490 - Part 3. Use DetermineMaskUsage in nsSVGUtils::PaintFrameWithEffects. r=mstange
MozReview-Commit-ID: 3CxHG0oB6f9

--HG--
extra : rebase_source : e13291f0c5277c1a10723be7a4665cf40b576947
2016-11-03 11:58:15 +08:00
cku
282a24594a Bug 1250490 - Part 2. Remove DetermineMaskUsage and ComputeOpacity from nsSVGIntegrationUtils. r=mstange
MozReview-Commit-ID: 4gHW7PyMNhd

--HG--
extra : rebase_source : 68507df64232ebef68535e85cc9934833a428456
2016-11-03 11:16:46 +08:00
cku
511431abbf Bug 1250490 - Part 1. Move DetermineMaskUsage and ComputeOpacity to nsSVGUtils. r=mstange
MozReview-Commit-ID: K06trG9nuvU

--HG--
extra : rebase_source : ad7651daa0752ba6c128853de19e758694705793
2016-11-03 11:08:06 +08:00
Jan-Ivar Bruaroey
f89ebba64a Bug 1315858 - Test ability to detect screensharing sources that are firefox. r=florian,jesup
MozReview-Commit-ID: K6Kkdaso7dd

--HG--
extra : rebase_source : e655b26439496af416bd7b1072c6f74cf20401a2
2016-11-07 12:20:41 -05:00
cku
8147e6d4e1 Bug 1314001 - Part 2. Draw mask by single opaque green. r=mstange
MozReview-Commit-ID: 12S5vBGYRpb

--HG--
extra : rebase_source : ef9bfa3251610732a0a6d2becb0e07737a40ac12
2016-11-04 12:25:33 +08:00
cku
e2c3982cb7 Bug 1314001 - Part 1. Add pref: layers.draw-mask-debug. r=mstange
MozReview-Commit-ID: GO9glColUeg

--HG--
extra : rebase_source : 328cf435972498ac7bdef9790aeb5c5e52f4725d
2016-11-04 11:13:00 +08:00
Luke Chang
dc2b64ae9a Bug 1300990 - Implement an API in the parent process to decide which values of an autofill profile would be filled in which field; r=MattN
MozReview-Commit-ID: 41MdWifXa23

--HG--
extra : rebase_source : 5816e49dc8295f56456f18138d741a9a5c1d3df6
2016-11-08 14:45:54 +08:00
Tom Schuster
cdf4b653b0 Bug 1221764 - Implement simple chrome.bookmarks events, r=aswan,mak
MozReview-Commit-ID: LWbhYf8CpZD

--HG--
extra : rebase_source : 74e11b9787ef151640aa5ff13024e62c40ddc476
2016-08-17 10:22:10 -04:00
cku
bb74527cff Bug 1234485 - Part 12. Extract PaintMaskSurface from GenerateMaskSurface. r=mstange
MozReview-Commit-ID: Bg4Kt6yCtNe

--HG--
extra : rebase_source : e13ce7753bede0e9edc58f8406c60d4120fbd329
2016-11-02 15:10:46 +08:00
cku
575b4ea688 Bug 1234485 - Part 11. Paint SVG mask on PaintedLayer before bug 1313877 fixed. r=mstange
MozReview-Commit-ID: C8XIZ4ttp1P

--HG--
extra : rebase_source : 71940c3ba9f3597e39c82c1b8ba39636dcf006b8
2016-10-30 02:55:24 +08:00
cku
b146d87275 Bug 1234485 - Part 10. Paint mask onto mask layer when possible. r=mattwoodrow,mstange
MozReview-Commit-ID: GEMprzpfYw3

--HG--
extra : rebase_source : aa72a7b84ed21fae5638b5a83b2e739716537864
extra : intermediate-source : 6b90195d53da590b153c0ee7317767ae15ef6b16
extra : source : fcd9d758f37adb4d28f2fd72b458f1576e5cd2f8
2016-10-30 15:43:43 +08:00
cku
bbd37411c6 Bug 1234485 - Part 9. Implement MaskLayerUserData::constructor & operator=. r=mstange
Move MaskLayerUserData member data setup code into assign operator to reduce
codes in CreateMaskLayer.

MozReview-Commit-ID: FKsM3OfWhvS

--HG--
extra : rebase_source : 1fc2f40615de048805e30133b0eecd4ef3d5ae92
2016-11-07 23:27:35 +08:00
cku
fc22c48445 Bug 1234485 - Part 8. Implement ContainerState::SetupMaskLayerForCSSMask. r=mattwoodrow,mstange
MozReview-Commit-ID: Gu1u4WvL2Cy

--HG--
extra : rebase_source : 46788af208f0122747c0a8c90f308461c7a44f6d
2016-11-07 22:32:43 +08:00
cku
73c622f3dc Bug 1234485 - Part 7. Implement CSSMaskLayerUserData to store css positioned mask user data. r=mstange
MozReview-Commit-ID: JZVcAfipKYX

--HG--
extra : rebase_source : f123995c61dda5cc27d57d4d09bc829495923c47
2016-11-01 16:43:34 +08:00
cku
690ab041c6 Bug 1234485 - Part 6. Implement nsStyleImageLayers::operator=. r=mstange
nsStyleImageLayers::operator= is required by the next patch.
MozReview-Commit-ID: CE1j2qW9TIY

--HG--
extra : rebase_source : ef2c5548e11f8d53824fe47400c79f6f90f1b1ed
2016-11-07 22:32:15 +08:00
cku
580b53705f Bug 1234485 - Part 5. Implement MaskImageData::CreateImageAndImageContainer. r=mstange
Simply move some code from ContainerState::CreateMaskLayer into MaskImageData,
so that we can reuse it later.

MozReview-Commit-ID: H2zktYL9PIh

--HG--
extra : rebase_source : 091c877af171adcef26fc6f8b1a03e56197be6ef
2016-10-26 22:17:24 +08:00
cku
51fd365a1a Bug 1234485 - Part 4. Implement nsDisplayMask::ShouldPaintOnMaskLayer. r=mstange
MozReview-Commit-ID: CChi1vbLLh8

--HG--
extra : rebase_source : d869aeb9993e6d631a494f0b63494de3b576b5b3
2016-10-19 11:44:15 +08:00
cku
4d9495cf77 Bug 1234485 - Part 3. Implement nsSVGIntegrationUtils::PaintMask. r=mstange
Unlike nsSVGIntegrationUtils::PaintMaskAndClipPath, which paints masked content
onto aParam.ctx, nsSVGIntegrationUtils::PaintMask paints only mask, no content,
onto aParams.ctx.

MozReview-Commit-ID: BaRbtHpoHzj

--HG--
extra : rebase_source : 4a258b7332ba7a7edbffdc13c7f4b065fbe5eaa4
2016-10-19 17:31:36 +08:00
cku
999ca66251 Bug 1234485 - Part 2. Implement nsSVGIntegrationUtils::IsMaskResourceReady. r=mstange
We need this new function to determine whether paint mask onto mask layer.
MozReview-Commit-ID: IeEamPi9S8v

--HG--
extra : rebase_source : 993ae4bbe31c2c21704813c318f5328719194930
2016-10-30 21:41:06 +08:00
cku
882c5bf086 Bug 1234485 - Part 1. Extract DetermineMaskUsage from PaintMaskAndClipPath. r=mstange
Two reasons that we should do this:
1. Make PaintMaskAndClipPath even simpler.
2. We need this new function to determine LayerState of a nsDisplayMask later.

MozReview-Commit-ID: 2ga0VFOs6u3

--HG--
extra : rebase_source : 8a8c4da05acf5aa1cf13eb7366116944df9c8409
2016-10-19 13:38:35 +08:00
JW Wang
c2bf477b21 Bug 1314884. Part 7 - remove SeekResolveValue::mEventVisibility for we always assume MediaDecoderEventVisibility::Observable in P6. r=kaku
MozReview-Commit-ID: 8jUaFPkQQxA

--HG--
extra : rebase_source : 4e3794979ec05c588458ed72472252910d1642b9
extra : source : 565d6e04892b0d8ea7fcd34d5d279f63ec21d245
2016-11-03 15:59:02 +08:00
JW Wang
8055ca2d43 Bug 1314884. Part 6 - remove SeekTarget::mEventVisibility. r=kaku
Note it is fine to always assume MediaDecoderEventVisibility::Observable in SeekJob::Resolve()
because no one will wait for the promise of internal seeks (where EventVisibility::Suppressed is passed).

MozReview-Commit-ID: Dx7AF5VhLmL

--HG--
extra : rebase_source : 517669ed4f10a136b8a2f8eafd76f26f4ad5d8e4
extra : source : 57cdd8d14c59a2f1f0eed0635814de661127ad70
2016-11-03 15:34:11 +08:00
JW Wang
6d97664f3c Bug 1314884. Part 5 - pass StateObject::EventVisibility to SeekingState::Enter() to indicate whether to publish events during seek. r=kaku
Note EventVisibility::Suppressed is used by internal seeks only like video-only seek or exit-dormant seek.

MozReview-Commit-ID: 6jlCWRJsmdI

--HG--
extra : rebase_source : db0541c959ffde647e55f563ccd109514c3780f3
extra : source : da7197e5c7d6559efb43c36dcb137c7c2a8ae55f
2016-11-03 15:32:51 +08:00
JW Wang
3337614dbc Bug 1314884. Part 4 - extract the code of HandleSeek() to the parent class. r=kaku
DormantState, DecodingState, SeekingState, BufferingState and CompletedState have exactly the same implementation of HandleSeek().
We can extract the code to avoid duplication.

MozReview-Commit-ID: 8maxjtLoQ1Q

--HG--
extra : rebase_source : 1550e372a4631fddf43c56df87e21b4b14fb3ef3
extra : source : b0d334aba575aed3efc19ab3cf0a66c21f2f478e
2016-11-03 15:21:48 +08:00
JW Wang
b888d766cb Bug 1314884. Part 3 - remove the call to |mPendingSeek.RejectIfExists(__func__)| from DormantState::HandleSeek() since it will be rejected in Exit() before transitioning to SEEKING. r=kaku
MozReview-Commit-ID: A5HE03q87Ey

--HG--
extra : rebase_source : 6ef593f21d40f3ba6bef5e69d925d9d141548afe
extra : source : eadfd6cc3f0b2370bd85bff0d7019d41f6006f2b
2016-11-03 15:15:13 +08:00
JW Wang
05d2b9b904 Bug 1314884. Part 2 - Let DORMANT transition to SEEKING when play state changes to PLAYING since we need to seek anyway whenever exiting dormant. r=kaku
MozReview-Commit-ID: 9d7Gea1iclh

--HG--
extra : rebase_source : d7d8b408580e9163635a81fd009605252ac80d21
extra : source : fbcf1a7326fd1749cc9141cf446eea904f46a92d
2016-11-03 15:02:22 +08:00
JW Wang
314f08257b Bug 1314884. Part 1 - move the calculation of seek target into DormantState::Enter() so we don't need to pass a SeekJob to the function. r=kaku
MozReview-Commit-ID: FyFp509dxwl

--HG--
extra : rebase_source : 4d6d229de4871d11b690b28b5b96463cc3b27973
extra : source : 9d718f819b6a79b67b0125972b8419b99021b75f
2016-11-03 14:54:40 +08:00
Phil Ringnalda
b178d68440 Backed out changeset 4777ed22d16d (bug 1261197) for xpcshell "logged while not in progress" failures 2016-11-08 21:11:50 -08:00
Phil Ringnalda
b12005f643 Backed out changeset 621860d37e72 (bug 1315858) for WinXP failures in test_getUserMedia_scarySources.html 2016-11-08 20:50:53 -08:00
Jonathan Hao
736db2051a Bug 1312794 - Annotate OCSP requests by first party domain. (adapted from Tor Browser patch #13670) r=keeler
--HG--
extra : rebase_source : 1ba4d78756f9170c1ba05738dda06b9ad00a3231
2016-11-03 17:53:52 +08:00
Daosheng Mu
ba525e3bc3 Bug 1310904 - Part 2: Solving non MOZ_GAMEPAD case in VR; r=gw280
MozReview-Commit-ID: mOoSWGQawI

--HG--
extra : rebase_source : 4171659ed182e243e88b276ec56f5d5829593d56
2016-11-04 15:53:01 +08:00
Daosheng Mu
3df4c636a4 Bug 1310904 - Part 1: Solving non MOZ_GAMEPAD case in GamepadManager; r=lenzak800,qdot
MozReview-Commit-ID: IGkLwnSJtr1

--HG--
extra : rebase_source : 80c88ddc892711b3cd0b4f2e22f507de4333d458
2016-11-04 15:43:55 +08:00
Daosheng Mu
954b7fbf40 Bug 1315636 - Hanlde OpenVR controller button release; r=gw280
MozReview-Commit-ID: 9ihcXugQn2r

--HG--
extra : rebase_source : 07db2d3d11fe3a42bf5a3f625f2b5f7728017ea1
2016-11-08 08:15:01 +08:00
Cykesiopka
e2541cac13 Bug 1313849 – Stop using nsIDialogParamBlock in setp12password.xul. r=keeler
nsIDialogParamBlock isn't a great API, and is best avoided.

This patch also splits password.js into two files that implement the
functionality of changepassword.xul and setp12password.xul
respectively, and adds a test.

MozReview-Commit-ID: A1GlnIFl8h

--HG--
rename : security/manager/pki/resources/content/password.js => security/manager/pki/resources/content/changepassword.js
extra : rebase_source : ae3e4491951e749fe0ffb6f2c25205072a3698b0
2016-11-05 01:23:35 +08:00
Cykesiopka
9e1d463270 Bug 1313849 - Alphabetically sort security/manager/pki/resources/jar.mn. r=keeler
MozReview-Commit-ID: HOrj8vt7Hta

--HG--
extra : rebase_source : 956b4dd89c761e04cd704f98717fbc90fa55edac
2016-11-05 01:23:21 +08:00
Gregory Szorc
389dbcf95f Bug 1315785 - Invoke cargo with --color=always when original stdout is a TTY; r=glandium
Combined with the previous patch that sets MACH_STDOUT_ISATTY, the
practical effect of this patch is that cargo is invoked with
`--color=always` when mach was attached to a TTY and colorized output
is sent to the terminal.

Note: this doesn't work with Rust/Cargo 1.10 for reasons unknown to me.
It appears there was a bug with Rust/Cargo because `--color=never` still
sent colorized output on that version! Cargo/Rust 1.12.1 works fine.

MozReview-Commit-ID: 6uXS3t3413i

--HG--
extra : rebase_source : 72df6e8248cb14c96850964f694576c7fd2f5fbb
2016-11-07 13:46:15 -08:00
Gregory Szorc
cc764ee794 Bug 1315785 - Set an environment variable when mach is attached to a TTY; r=glandium
The way it works now, `mach` commands often invoke subprocesses where
the subprocesses' stdio file descriptors are pipes so the mach command
can e.g. parse output.

Processes like clang, gcc, and cargo determine if they can send color
codes to {stderr, stdout} by seeing if those file descriptors are TTYs.
When e.g. `make` is executed via `mach`, this test fails because those
descriptors are pipes (even though they eventually end up on a TTY).

We can't wire the file descriptors to the TTY because `mach` needs
to analyze output. We don't want users defining process flags to force
color in their mozconfigs because color codes would still be sent
if stdout was not a TTY.

This patch sets the MACH_STDOUT_ISATTY environment variable in all mach
commands when stdout is a TTY. Subsequent processes can then look for
this variable to determine whether to override color settings, print
terminal control codes, etc.

MozReview-Commit-ID: GxXP2mQssjC

--HG--
extra : rebase_source : 4b99547b453cb7dd5cb590a71ed554ce2bc4759d
2016-11-08 12:15:13 -08:00
Gregory Szorc
0f12e2d300 Bug 1315785 - Restore environment variables after running command; r=glandium
Currently, environment variables set when running mach commands will
propagate after the command is finished. This can allow unwanted state
to bleed through.

This likely isn't an issue today, but isolating state during code
execution is generally a good practice. So do that.

MozReview-Commit-ID: AdaomGub5EF

--HG--
extra : rebase_source : ce81987a1f6de3a16bce6a9e45b9dc8e8eb29b4b
2016-11-08 12:15:07 -08:00
Markus Stange
489918ff7c Bug 1304152 - Printing uses DrawTargetCairo. Don't blindly assume we have a DrawTargetSkia. r=mchang
MozReview-Commit-ID: 3JVDjawRLTM

--HG--
extra : rebase_source : d2bd99ee049cf5f961f7ea463e972eb00cc8f0c6
2016-10-25 16:22:17 -04:00
David Keeler
ab5755b231 bug 1313491 - add basic tests that PSM sets the right security state during session resumption r=Cykesiopka,jcj,mgoodwin
MozReview-Commit-ID: 3Q265OJyTIO

--HG--
rename : security/manager/ssl/tests/unit/test_ev_certs/anyPolicy-int-path-int.pem => security/manager/ssl/tests/unit/bad_certs/ev-test-intermediate.pem
rename : security/manager/ssl/tests/unit/test_ev_certs/anyPolicy-int-path-int.pem.certspec => security/manager/ssl/tests/unit/bad_certs/ev-test-intermediate.pem.certspec
rename : security/manager/ssl/tests/unit/test_ev_certs/test-oid-path-ee.pem => security/manager/ssl/tests/unit/bad_certs/ev-test.pem
rename : security/manager/ssl/tests/unit/test_ev_certs/test-oid-path-ee.pem.certspec => security/manager/ssl/tests/unit/bad_certs/ev-test.pem.certspec
rename : security/manager/ssl/tests/unit/test_ev_certs/evroot.key => security/manager/ssl/tests/unit/bad_certs/evroot.key
rename : security/manager/ssl/tests/unit/test_ev_certs/evroot.key.keyspec => security/manager/ssl/tests/unit/bad_certs/evroot.key.keyspec
rename : security/manager/ssl/tests/unit/test_ev_certs/evroot.pem => security/manager/ssl/tests/unit/bad_certs/evroot.pem
rename : security/manager/ssl/tests/unit/test_ev_certs/evroot.pem.certspec => security/manager/ssl/tests/unit/bad_certs/evroot.pem.certspec
extra : rebase_source : 99df36a4088da7170895eb82784c36701ae22cde
2016-11-01 13:47:51 -07:00
David Keeler
7c5c99fcce bug 1313491 - include more context when determining EV status r=Cykesiopka,jcj,mgoodwin
When doing TLS session resumption, the AuthCertificate hook is bypassed, which
means that the front-end doesn't know whether or not to show the EV indicator.
To deal with this, the platform attempts an EV verification. Before this patch,
this verification lacked much of the original context (e.g. stapled OCSP
responses, SCTs, the hostname, and in particular the first-party origin key).
Furthermore, it was unclear from a code architecture standpoint that a full
verification was even occurring. This patch brings the necessary context to the
verification and makes it much more clear that it is happening. It also takes
the opportunity to remove some unnecessary EV-related fields and information in
code and data structures that don't require it.

MozReview-Commit-ID: LTmZU4Z1YXL

--HG--
extra : rebase_source : 7db702f2037fae83c87fbb6aca75b4420544dff9
2016-10-31 17:02:57 -07:00
Wes Kocher
0330db10eb Merge m-c to autoland, a=merge 2016-11-08 14:09:10 -08:00
Wes Kocher
008fdd9329 Merge inbound to central, a=merge 2016-11-08 13:58:20 -08:00
Wes Kocher
b0767bc340 Merge autoland to central, a=merge 2016-11-08 13:34:10 -08:00
ffxbld
abf500eeaf No bug, Automated blocklist update from host bld-linux64-spot-383 - a=blocklist-update 2016-11-08 06:28:35 -08:00
ffxbld
26e0e0a7a0 No bug, Automated HPKP preload list update from host bld-linux64-spot-383 - a=hpkp-update 2016-11-08 06:28:33 -08:00
ffxbld
9217e6ed4d No bug, Automated HSTS preload list update from host bld-linux64-spot-383 - a=hsts-update 2016-11-08 06:28:30 -08:00
Wander Lairson Costa
9950817294 Bug 1274980 part 2: Support Mac OS tests in tc intree config. r=dustin
We add support for Mac OSX tests in Taskcluster by support
taskcluster-worker macosx engine. We also add a new configuration
blob-upload-branch needed by mochitest-other.

MozReview-Commit-ID: 5ZaYYRueRVr

--HG--
extra : rebase_source : f81b3d97d44797a323431a640b1f8e29bf192606
2016-11-08 12:11:15 -02:00
Wander Lairson Costa
9caaae3ed3 Bug 1274980 part 1: Add support for test platform regex match. r=dustin
Often we need to setup a test configuration for different platforms, but
not for different platform builds (opt/debug). This leads to cumbersome
configuration duplicates. This patch adds support for platform regular
expression matching. For example, if you want to configure the chunk
size for linux64 platform both for opt and debug, originally you would
do this:

chunks:
    by-test-platform:
        linux64/opt: 4
        linux64/debug: 4
        default: 8

With regular expression matching, you only need:

chunks:
    by-test-platform:
        linux64/.*: 4
        default: 8

This patch was originally written by Geoffrey Brown for Windows support.

MozReview-Commit-ID: KbMHV7UkTLe

--HG--
extra : rebase_source : 79a4344c7e3e978bb6b93713c6e6e4114ba5d5b8
2016-11-08 12:11:15 -02:00