Commit Graph

501547 Commits

Author SHA1 Message Date
Daosheng Mu
ab1fbc2684 Bug 1318586 - Adjust OpenVR controller button mapping to be consistency; r=kip
MozReview-Commit-ID: 6ODcMjqYQNP

--HG--
extra : rebase_source : 71a34032d866f373eac2396e80f3ed4ce12f963a
2016-11-18 16:36:51 +08:00
Stone Shih
dc05661157 Bug 1301708 - nsWindow::DealWithPopup() should do nothing at receiving WM_ACTIVATE for a popup window and its wParam includes WA_CLICKACTIVATE. r=masayuki
When the first time user clicks download panel popup to hide the drop marker popup, Windows fires WA_ACTIVATE with wParam includes WA_CLICKACTIVATE to the download panel. In that case the popupWindow is the drop marker. We shouldn't roll up popups by handling WA_ACTIVATE since we'll handle the rollup behavior with WM_LBUTTONDOWN message.

MozReview-Commit-ID: 43jCgdBjjUN

--HG--
extra : rebase_source : 371de468252e7716e2ffe30520939650f76a4222
2016-11-10 16:09:25 +08:00
maliu
1bf966a5c8 Bug 1319302 - RTL support for Firefox for Android, r=sebastian
MozReview-Commit-ID: bKzW07YBDy

--HG--
extra : rebase_source : 591b8f98a7a287dbf2b7748a97211c81a3ac11aa
2016-11-11 16:10:21 +08:00
Boris Chiou
f045a91867 Bug 1317178 - Pass the property name to Servo_DeclarationBlock_SerializeOneValue. r=birtles
In order to use single_value_to_css() in
Servo_DeclarationBlock_SerializeOneValue(), we need to pass the property name
and a flag for custom properties.

MozReview-Commit-ID: 5HfI2qOmPwP

--HG--
extra : rebase_source : 968468b3c9313c4ec3007ee9883075c8fc4ab769
2016-11-22 19:18:18 +08:00
JW Wang
8565b864ed Bug 1319790 - add assertions to detect if MediaDecoder is deleted without Shutdown() being called. r=kaku
Also call mResourceCallback->Disconnect() in the destructor in case Shutdown() is not called to avoid dangling pointer.

MozReview-Commit-ID: 1qV4m8nWlGq

--HG--
extra : rebase_source : f40f77d64ccaace921625067ff8c51e322eec1b9
2016-11-24 11:59:18 +08:00
JW Wang
b89b9e675b Bug 1319357 - clean up media elements when media tests are done. r=jya
MozReview-Commit-ID: GHJAwxR50AG

--HG--
extra : rebase_source : bdb6d045fddf65d18779b056baa496dc1c71e756
extra : source : 691ffaaf98a3796c92bab0e58eb56d0212601acc
2016-11-22 17:02:08 +08:00
JW Wang
109db02de3 Bug 1319698 - Remove MediaDecoderReader::SetIdle(). r=jya
MozReview-Commit-ID: ArGqum1MSIO

--HG--
extra : rebase_source : fddf43d270607c1ed4bab938b9d8b5f83dd0f8fb
2016-11-23 17:30:31 +08:00
Chris Pearce
27f8f13960 Bug 1316215 - Merge SelectGMP and LaunchGMP into one synchronous IPC operation. r=gerald
We were seeing almost permaorange failures in the WebRTC H.264/GMP tests
due to the GMP being shutdown in the parent process in between the
content process performing an OOP select operation and then performing
an OOP launch operation.

That is, in GeckoMediaPluginServiceChild::GetContentParent() in between
the SendSelectGMP completing and the SendLaunchGMP completing, the GMP
would shutdown and so when the launch operation ran in the main process
it would fail.

The select and launch are seperate operations so that the crash handler
can be reported to the content process and an association can be made
in the content process between the plugin ID and the crash helper before
we try to launch the GMP. This is so that if the GMP crashes on startup,
we're ready to handle the crash.

However it turns out that if the GMP crashes on startup, the crash report
message comes in after another round of the event/IPC message loop. So we
actually do have time in the content process to connect the crash helper
after the launch fails.

So in order to fix the problem of the GMP shutting down in between select
and launch, we can partially revert the changes I made in Bug 1267918 to
merge selecting and launching GMPs back into a single operation.


MozReview-Commit-ID: 5n4T1Gqlvr3

--HG--
extra : rebase_source : 6e6892a5e32a485b5bfc2f93bddb2d2fe5a422bd
2016-11-22 14:17:59 +13:00
Chris Pearce
39f5dc88d5 Bug 1316215 - Make GMPParent::IsUsed() take into account whether there are pending GetContentParent calls. r=gerald
In a similar vein to the previous patch, while we're waiting on a
GetContentParent promise to resolve, we don't want the GMPParent
to shutdown. So make IsUsed() check whether we're waiting on a
GetContentParent promise to resolve, so we don't pull the rug out
from under any code waiting to get a content parent to bridge a
GMP.

MozReview-Commit-ID: 8cTCuXLXMsK

--HG--
extra : rebase_source : 8cc04d57ea1ef4e48c7ff088dbb12eabe4b3b223
extra : source : f79a51d9bd193024f7359ba6ff75076b15d15faf
2016-11-18 12:37:14 +13:00
Chris Pearce
4fa2a5c829 Bug 1316215 - Block GMPContentParent close while a GMPService::GetContentParent is being processed. r=gerald
When GMPService::GetContentParent returns a MozPromise, we end up failing in
test_peerConnection_scaleResolution.html with e10s enabled because we Close()
the GMPContentParent twice. The test causes two GMPVideoEncoderParents to
be created. When the number of IPDL actors on the GMPContentParent reach 0,
we close the IPC connection. With GetContentParent() returning a MozPromise,
it's more async, and so we can end up requesting the content parent in order
to create the second GMPVideoEncoderParent, but while we're waiting for
the promise to resolve the previous GMPVideoEncoderParent is destroyed and
the GMPContentParent closes its IPC connection. Then the GetContentParent
promise resolves, and that fails to operate correctly since it's closed its
IPC connection.

My solution here is to add a "blocker" that prevents the GMPContentParent from
being shutdown while we're waiting for the GetContentParent promise to resolve.

MozReview-Commit-ID: HxBkFkmv0tV

--HG--
extra : rebase_source : 59aa7bcfe8b8f44274d136d6147a946542a64fff
extra : source : 59ab10349b58b0fbe13dca9312ec82332f7c3dbe
2016-11-16 10:59:08 +13:00
Chris Pearce
c93e08bf59 Bug 1316215 - Promisify GMPService GetGMPContentParent and GetServiceChild. r=gerald
MozReview-Commit-ID: 5ydGmZWGzWG

--HG--
extra : rebase_source : bc61628e97243db55b68d1efc93e7b55f32628e5
extra : intermediate-source : 7ca4bd360797b8207d26e46192400307cf046593
extra : source : eda96f88317dbf0c696aeaab8993bf2f030517c0
2016-11-09 15:52:22 +13:00
Xidorn Quan
934b500aa8 Bug 1319994 - Use NS_ERROR for not-implemented CSS rules. r=heycam
MozReview-Commit-ID: 9E1ThQuqBf1

--HG--
extra : rebase_source : be254d83da1f1969f26b5e1f92a6df72323c7202
2016-11-24 16:28:28 +11:00
Iris Hsiao
f2a7e74795 Backed out changeset b3574d03261b (bug 1319286) for GTest Assertion failures 2016-11-24 13:26:39 +08:00
Henry Chang
4c00c22835 Bug 1319286 - Cache nsIUrlClassifierDBService.getTables result until next update. r=francois.
MozReview-Commit-ID: ItjTQNzCVED

--HG--
extra : rebase_source : b652adb6fe696d6c25c423c8c7456247983d8050
extra : source : 3cb85811b61f8d16e2d5604af838d9cd982a5a4c
2016-11-22 10:39:58 +08:00
Alastor Wu
ba429ab233 Bug 1301055 - part4 : special error dispatching stragedy for Fennec. r=jwwang
On Fennec, we would use external app (Android view) to play the media whih is
unsupported by gecko. We implement some special logic in error sink.

(1) dispatch "OpenMediaWithExternalApp" event
we use this event to start the android video player

(2) doesn't dispatch "error" event
some JS players won't let user to trigger play() again after receving the "error".
So we don't dispatch that event if we want to play the unsupported media more than once.

MozReview-Commit-ID: 7fZK5hdvaOG

--HG--
extra : rebase_source : 929db331c22e31a74f76dfa89a99a8adac65d0f6
2016-11-24 10:24:08 +08:00
Alastor Wu
5d4571103c Bug 1301055 - part3 : modify test prefs. r=jwwang
On fennec we have the special workaround that is doesn't dispatch the "error" event when the error is
"MEDIA_ERR_SRC_NOT_SUPPORTED" because we will use an external app to open it.

But we don't want this behavior affect the tests we already have, so close the pref.

MozReview-Commit-ID: 9aoy1vnekvY

--HG--
extra : rebase_source : 9ac045b7595eadd36039bc6f42b32e4d3eac421b
2016-11-24 10:24:06 +08:00
Alastor Wu
a455141cb1 Bug 1301055 - part2 : create a error sink to handle media element's error related event. r=bkelly,jwwang
Error sink would be response for the error handling, we could write different
error dispatching stragedies for different situation. eg. if we can play
unsupported type media with external app, we won't dispatch the "error" event on fennec.

MozReview-Commit-ID: Lm4x9ksspAY

--HG--
extra : rebase_source : 05331714425ea111d21f06fc03abfc1b016654ca
2016-11-24 10:24:04 +08:00
Alastor Wu
cfe81f3b38 Bug 1301055 - part1 : allow to replay the same video again. r=snorp
MozReview-Commit-ID: LNz6vEeMZOL

--HG--
extra : rebase_source : f2529c77ed453a6ba14d6df6b3d0f4d504af2a08
2016-11-24 10:24:02 +08:00
Ting-Yu Lin
62055a1981 Bug 1316549 Part 4 - Use logical names for ComputeEllipseLineInterceptDiff(). r=dbaron
This patch is just renames. No logic change for the function.

MozReview-Commit-ID: K7w0YL3G3gu

--HG--
extra : rebase_source : d72ecdcb4d4455f4950c8673c81fbfc7c1b4f54c
2016-11-18 13:54:09 +08:00
Ting-Yu Lin
ece375de5b Bug 1316549 Part 3 - Fix <shape-box> with border-radius in writing-mode. r=dbaron
The tests cases are designed based on the integer solution to the ellipse
equation (x/a)^2 + (y/b)^2 = 1, where x=36, y=32, a=60, b=40.

MozReview-Commit-ID: De2fXcb6ypP

--HG--
extra : rebase_source : a64f490ff41c020b84025266c0c255d93a158eea
2016-11-14 18:11:45 +08:00
Ting-Yu Lin
111246d956 Bug 1316549 Part 2 - Fix assertion failure: aRadiusY > 0 in FloatInfo::XInterceptAtY(). r=dbaron
We need to consider the case when only one of the four corner radius is
specified. The two reftests are added to test 'border-top-right-radius' and
'border-bottom-right-radius', respectively.

MozReview-Commit-ID: De2fXcb6ypP

--HG--
extra : rebase_source : 51da04a7a7d60d580b46d9ac8ed4bfd7e9666766
2016-11-14 18:11:45 +08:00
Ting-Yu Lin
c7596e7d85 Bug 1316549 Part 1 - Fix LogicalSideForLineRelativeDir() for eLineRelativeDirLeft/Right. r=jfkthame
According to the spec, 6.4. Abstract-to-Physical Mappings,
line-left/line-right are equal to inline-start/inline-end when the direction
is the same. So we should use IsBlockLTR() instead of IsLineInverted().

https://drafts.csswg.org/css-writing-modes-3/#logical-to-physical

MozReview-Commit-ID: 7onE0SuHtdj

--HG--
extra : rebase_source : df0083ed7e28469a2343a8607840585e93502b80
2016-11-17 14:10:55 +08:00
peter chang
b96fe0d665 Bug 1317083 - Try to wait for IPDL connection before texture client creation, r=nical
MozReview-Commit-ID: JLpubGsE0eu

--HG--
extra : rebase_source : 713dc0ece6fa22ec6b5a283836de336b411b7e2a
2016-11-15 17:50:50 +08:00
Astley Chen
438b9ab220 Bug 1270406 - Remove :-moz-dir support. r=xidorn
MozReview-Commit-ID: HRBj6YF4hZS

--HG--
extra : rebase_source : 6375c14e9f2a79d3d84c8e929569fc818b137762
2016-11-22 23:05:18 +08:00
Astley Chen
33ca2973e8 Bug 1270406 - Unprefix pseudo-class dir in DevTool resources. r=pbro
MozReview-Commit-ID: Dw5DhErHkY8

--HG--
extra : rebase_source : 433e1e764025578074d4fff132233b880d405b20
2016-11-22 23:05:18 +08:00
Astley Chen
7300c4565f Bug 1270406 - Unprefix pseudo-class dir in browser resources. r=adw
MozReview-Commit-ID: KatEWpJcGXs

--HG--
extra : rebase_source : 314f27c26a71ea01a7e192ce0d658bbf8e829f28
2016-11-22 23:05:17 +08:00
JW Wang
b765703fb7 Bug 1319701 - Remove MediaDecoderReaderWrapper::mForceZeroStartTime. r=kaku
MozReview-Commit-ID: DHRR4U7LT1M

--HG--
extra : rebase_source : 62f98aaa05466c3acbea04463b5667155fbcaaee
2016-11-23 17:34:12 +08:00
Mike Hommey
84aa5c4927 Bug 1319959 - Set _topsrcdir, _objdir, MOZ_BUILD_ROOT and DIST from python configure. r=gps
In some cases, on OSX, python's `os.path.realpath` and shell's `pwd -P`
don't agree on the case of paths on case-insensitive filesystems.

So make everyone agree by using the value from python configure.

--HG--
extra : rebase_source : 4d26bf30f3f125c4f75d42f79d8a80a4a0bf11ec
2016-11-24 09:47:15 +09:00
Kit Cambridge
3c0365a2de Bug 1318814 - ObjectUtils.deepEqual should not consider objects and primitives as equal. r=mossop
MozReview-Commit-ID: ExWi55h80ag

--HG--
extra : rebase_source : 108ac9ed163968adf256f8c0aab208bda8fca742
2016-11-22 15:48:42 -07:00
JW Wang
6ee4345dd8 Bug 1319356 - clean up media elements when tests are done. r=cpearce
MozReview-Commit-ID: CYJDwPJ5E2P

--HG--
extra : rebase_source : 47263f67046cdf6fd1194611c88fe6cda2332d6b
extra : intermediate-source : 957bad997b3b0fc292b66222226ada4ecdc43aef
extra : source : 216105eb9044ef77606b1577f815e354276ee651
2016-11-21 13:54:40 +08:00
Daosheng Mu
ab3dd3ce52 Bug 1318618 - Support nsCString data type in gfxPrefs; r=dvander
MozReview-Commit-ID: w5051nuVR5

--HG--
extra : rebase_source : 3af34967b0c9c432c6b77014479be98bd0f54387
2016-11-23 09:38:02 +08:00
Masayuki Nakano
f33e5256c6 Bug 1316505 part.2 The "wheel" event of <scrollbox> should use |.scrollByPixels()| instead of |.scrollByPages()| for respecting high resolution delta value and making the scroll smoother r=mstange
Similar to the previous patch, "wheel" event should use |.scrollByPixels()| instead of |.scrollByPages()| because |.scrollByPages()| doesn't support high resolution delta value.

This patch makes the "wheel" event handler of <scrollbox> use |.scrollByPixels()| at handling "wheel" events whose deltaMode is DOM_DELTA_PAGE and multiplies the delta value and |.scrollClientSize|.

MozReview-Commit-ID: 1nyD7niiq3W

--HG--
extra : rebase_source : 41265adb74c015be88bd35d7cdc3cd18a585cf84
2016-11-13 18:04:08 +09:00
Masayuki Nakano
b6f661b681 Bug 1316505 part.1 The "wheel" event handler of <scrollbox> should use |.scrollByPixels()| for respecting wheel event's scroll speed and scrolling smoother r=mstange
Currently, ths "wheel" event handler of <scrollbox> uses |.scrollByIndex()|.  However, it scrolls too fast when "wheel" event has high resolution delta value when its deltaMode is DOM_DELTA_LINE.

For respecting the delta value, it should use |.scrollByPixels()|.  Therefore, this patch implements new readonly property, |.lineScrollAmount|, which returns font size of the |.scrollbox| and makes "wheel" event handler multiplies the delta value and |.lineScrollAmount|.

MozReview-Commit-ID: KzIvJyxqrn5

--HG--
extra : rebase_source : 0e11608bf4c47cd7aeef3c1a91b705cfcdf281ab
2016-11-13 19:17:07 +09:00
Botond Ballo
b32f766ad0 Bug 1319892 - Turn the reftest for bug 735857 into a web platform reftest. r=mstange
MozReview-Commit-ID: FTnk8t72Wb9

--HG--
extra : rebase_source : 45f84bb4894b76715659aa1e077ae13a8d6fe269
2016-11-23 15:39:27 -05:00
Mark Hammond
682d81fa5d Bug 1316500 - remove use of tasks and promise.jsm promises from Sync tests. r=tcsc
MozReview-Commit-ID: 5itPSLBKguc

--HG--
extra : rebase_source : 2b16f697902736ef39cded96c1bd98b547136263
2016-11-10 14:34:38 +11:00
Tomislav Jovanovic
92b6927b24 bug 1253418 - implement contextMenu page_action and browser_action contexts r=kmag
MozReview-Commit-ID: Ftp77zmxo4B

--HG--
extra : rebase_source : ed46fe948f0898e13dcc551721d56c5151a4bc4c
2016-11-09 21:03:33 +01:00
Hammad Akhtar
0c3b469c02 Bug 1302765 - Allow ./mach taskgraph .. --parameters P to take a URL. URL building mechanism fixed; r=dustin
MozReview-Commit-ID: 7reezQj9Bds

--HG--
extra : rebase_source : a571294e80491b0918e21697d922abfaa91432b6
2016-11-24 01:15:33 +05:30
Robert Helmer
60a6754766 Bug 1272446 - rebuild addons DB from manifests when schema has changed r=kmag
MozReview-Commit-ID: BHzwRJaFU7V

--HG--
extra : rebase_source : 1b1a1553f63924f9fca2da1dfc1b40cf37bafdd0
2016-11-22 12:56:18 -08:00
Jonas Finnemann Jensen
cffd9885e8 Bug 1319449 - Set -o pipefail and other robustness improvements for image_builder. r=dustin
MozReview-Commit-ID: 5oIdvcrScRt

--HG--
extra : rebase_source : 6b6dd2dc3b3e8465127d33fb428877f68537ad5b
2016-11-22 14:13:15 -08:00
Sebastian Hengst
1d8fe2a4d0 Backed out changeset b6beaa787043 (bug 1319705) for marionette mass bustage. r=backout on a CLOSED TREE 2016-11-23 21:17:49 +01:00
Ralph Giles
6e165b8a38 Bug 1318531 - Update builders to rust 1.14.0-beta.2. r=mshal
Update tooltool manifests to repacks of upstream builds of
rustc 1.14.0-beta.2 (e627a2e6e 2016-11-16)
cargo 0.15.0-nightly (a9c23dd 2016-11-15)
for the relevent hosts and target platforms.

We prefer to use stable rust but this bump gets us debuginfo
for the rust standard library on all platforms, which we hope
will improve crash reporting (bug 1268328). That is higher
priority. The rust 1.14 version should be in stable release
before Firefox 53 goes to Aurora, so we'll still stabilize
and ship with stable rust.

This build also contains the fix for the arm code generation
bug blocking update from 1.12 on android, so we can use 1.13
language features in Firefox 53. For more information, see
https://github.com/rust-lang/rust/pull/37815

This doesn't update the native MacOS build because of an
openssl link issue with cargo. This is resolved upstream
for rust 1.15; getting that ported to a later 1.14 beta is
tracked in https://github.com/rust-lang/rust/issues/37969

MozReview-Commit-ID: JbJTd4D7VOu

--HG--
extra : rebase_source : 0690f3d4443f3fc7f224f051f910de92c54b8f60
2016-11-23 06:22:30 -08:00
Ralph Giles
dddc123f32 Bug 1318531 - Fix whitespace in tooltool manifests. r=mshal
Run the tooltool manifests through a python script to read the
json as an OrderedDict and when write it back out with normal
tooltool formatting options. This regularizes the whitespace,
fixing trailing spaces written by older versions of the python
json serializer, dos-vs-unix line endings, and regularizing
opening '[{' and closing '}]' to be on separate lines.

The android manifests have a 'versions' key which has indenting,
unlike the rest of the files. I've left that as-is.

MozReview-Commit-ID: EVW1YlgRJJL

--HG--
extra : rebase_source : 40c1992090807dc40495ebacb37ee358c1d6a6f1
2016-11-22 16:15:27 -08:00
Henrik Skupin
c4fa51a34a Bug 1142805 - Remove unnecessary restart for update tests r=maja_zf,rail
MozReview-Commit-ID: 6tTPJeLvntf

--HG--
extra : rebase_source : b796e82f1d973f15ee98a9dd1a30cd51764de002
2016-11-22 14:52:08 +01:00
Henrik Skupin
14c08613c3 Bug 1142805 - Use ConfigParser to modify update-settings.ini r=maja_zf,rail
MozReview-Commit-ID: KbJofXTDa9p

--HG--
extra : rebase_source : 1d1afc68f7fe4336fd42965dc419afb907f7c429
2016-11-22 14:49:46 +01:00
Henrik Skupin
d371faf694 Bug 1142805 - Fix remaining traces for app.update.url.override. r=maja_zf,rail
MozReview-Commit-ID: BJvSjqippar

--HG--
extra : rebase_source : 8c4a655bcf64f61b0d319c8a193d3cea849ac32e
2016-11-22 13:29:22 +01:00
Henrik Skupin
1e727bf048 Bug 1142805 - Set update channel via default branch. r=maja_zf,rail
MozReview-Commit-ID: 5iHnNhLRCK4

--HG--
extra : rebase_source : f20f1c78a145f423d3e21581367cedb5c18d23b8
2016-11-22 13:15:33 +01:00
Henrik Skupin
862cdfbfed Bug 1319028 - Enable tracing output for Firefox-UI jobs. r=maja_zf
MozReview-Commit-ID: 3KsBKH9WVfR

--HG--
extra : rebase_source : 3e243595b3cbd0ea6dd442cadeb4362eb9e8d295
2016-11-22 18:08:25 +01:00
Henrik Skupin
97f47efc8b Bug 1319705 - Add firefox_puppeteer as dependency for Marionette in test archive. r=maja_zf
MozReview-Commit-ID: 9MQubKpOPl6

--HG--
extra : rebase_source : ecede2aab2f840ff04777672126cdaff27bd6733
2016-11-23 14:11:25 +01:00
Mike Conley
ab867d5870 Bug 1318764 - Get rid of GetLookAndFeelCache sync IPC message, and send cache with GetXPCOMProcessAttributes instead. r=billm
MozReview-Commit-ID: 7BzG2WqNYLO

--HG--
extra : rebase_source : a6d2510b63cefe2895172a082d9a4c67c12944f5
2016-11-18 15:36:18 -05:00
Michael Ratcliffe
b4e6fa3527 Bug 1146194 - Multiple cookies with the same name not shown r=gl
Stubborn debugger statement.

MozReview-Commit-ID: F2qgWofemHG

--HG--
rename : devtools/client/storage/test/browser_storage_dynamic_updates.js => devtools/client/storage/test/browser_storage_dynamic_updates_sessionStorage.js
extra : rebase_source : 07934238d3c2d8dbc1a81d28d9a3a710ee39a126
2016-11-11 15:57:51 +00:00