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

500576 Коммитов

Автор SHA1 Сообщение Дата
Valentin Gosu b92a0fc9d8 Bug 1151899 - Add test for RustURL; r=bagder
MozReview-Commit-ID: GD5fnSsHf7

--HG--
extra : rebase_source : bde3cd30bff5aa2ccc48e455b2944874958e3729
2016-11-08 00:42:33 +01:00
Valentin Gosu f87c4208f0 Bug 1151899 - Add RustURL to netmodules; r=bagder
MozReview-Commit-ID: 1POo0tK6enu

--HG--
extra : rebase_source : 6e6806fcb03b74a81ce8ae816c28031f08cf5466
2016-11-08 00:42:30 +01:00
Valentin Gosu 2ecccba5c7 Bug 1151899 - Add RustURL which implements nsIURI,nsIURL,nsIStandardURL,etc; r=bagder
MozReview-Commit-ID: 2rVu4t66cfD

--HG--
extra : rebase_source : 742c3bceb3fb4c259915f52ba98b368349ba9991
2016-11-08 00:42:27 +01:00
Valentin Gosu d7be4cb464 Bug 1151899 - rust-url-capi error code changes; r=manishearth
MozReview-Commit-ID: AHwbkgGifmr

--HG--
extra : rebase_source : 70db49852f171101577f808961c203353527209d
2016-11-08 00:39:49 +01:00
Sebastian Hengst 0acd4ede3e Bug 1318099 - Disable artifact build tasks on the graphics branch: add empty line to make flake8 happy. r=flake8-fix 2016-11-18 00:25:36 +01:00
Kartikaya Gupta 9cb5f9e9cf Bug 1318099 - Disable artifact build tasks on the graphics branch. r=dustin
MozReview-Commit-ID: 2whpCUpZTtv

--HG--
extra : rebase_source : 1406fe794e3e6c28139a83b75489444cd6f9f9d7
2016-11-16 15:40:55 -05:00
Andrew McCreight 72a1e0edd5 Bug 1318110 - Correctly handle parse errors in inner IPDL parsers. r=billm
The IPDL parser handles include statements by using a stack of
parsers. If an inner parser encounters a parsing error, it will print
out an error message, which is maybe okay, but then it makes two
mistakes:

1. It does not pop the current parser off of the parser stack. This
means that the file that included the syntactically invalid file will
be parsed as though it were the invalid file. In bkelly's case, an
.ipdl file included an invalid .ipdlh file, so he got a bizarre error
message about how you can't define a protocol in a header, because the
parser was treating the protocol in the .ipdl file as though it were
in the .ipdlh file. I fixed this by using a "finally" clause to pop
the parser stack, ensuring that it is correct even in case of error.

2. A parse error in the include should cause the entire parse to fail,
but instead it will keep going. inc.tu will get set to None, which
eventually causes an error later in type checking, when it attempts to
examine inc.tu. I fixed this by only catching the parse error where we
invoke the outermost parser. This has the drawback that later errors
in other files will not be reported. An alternate fix would set a
global flag to indicate that a parse error had occured, and somehow
report that to the caller.

I think this bug was introduced in 2009 by commit
cb8189926a69872c73508fba50830f0d07af341f.

MozReview-Commit-ID: DhbDUO7MXGB

--HG--
extra : rebase_source : cee371cd54ebf575f78aa8b2441afbde8b3c2b8f
2016-11-17 14:18:06 -08:00
Milan Sreckovic 29a838b47b Bug 1193695: Removed unused preference. r=lsalzman
MozReview-Commit-ID: CqVDmEaGXN1

--HG--
extra : rebase_source : d162ea3137470d941e4bc94c25870aa53b589743
2016-11-17 13:55:19 -05:00
Henrik Skupin 1c799bc556 Bug 1316687 - Make use of the default value for "app.update.url" because "app.update.url.override" was removed. r=maja_zf
MozReview-Commit-ID: CbsDNExDtct

--HG--
extra : rebase_source : e36060bd645688c01832b18d1c08560d0e172eda
2016-11-17 13:08:04 +01:00
Kris Maglione abd16e9d30 Bug 1318089: Follow-up: Re-add a lazy getter trigger that looked like a no-op. r=rhelmer
MozReview-Commit-ID: 65HmvAzTNal

--HG--
extra : rebase_source : e4867530905b53d8a35d5283418d5c814a074f0c
2016-11-17 13:39:56 -08:00
Kris Maglione f24828db7e Bug 1318089: Turn on no-unused-vars ESLint rule for toolkit/mozapps/extensions. r=rhelmer
MozReview-Commit-ID: 1GdxLoW3FLX

--HG--
extra : rebase_source : 6ecc8fd22c2292d660b3d27d58a711e48bbcad1d
2016-11-16 13:01:16 -08:00
Francois Marier cacb66e596 Bug 1316743 - Improve metadata on the tracking protection telemetry probes. r=bsmedberg
MozReview-Commit-ID: JHyXsqtAkM5

--HG--
extra : rebase_source : 7d0d51d8c37aae803dfa6b70779265e50250e323
2016-11-10 17:30:18 -08:00
Andi-Bogdan Postelnicu ec3eda24ad Bug 1318000 - Use C++11's override and remove virtual where applicable in image/. r=jrmuizel
MozReview-Commit-ID: B0ZIwPnhAIT

--HG--
extra : rebase_source : c1b9408efe2efb301784ef58489d4cb6e0e0d7b1
2016-11-16 17:41:47 +02:00
Andi-Bogdan Postelnicu 0cfd234e69 Bug 1318000 - Replace default bodies of special member functions with = default; in image/. r=jrmuizel
MozReview-Commit-ID: FYzbhclEgyD

--HG--
extra : rebase_source : f9d737670d8c6b963e6c3aff74d8e907b2af45f5
2016-11-16 17:39:43 +02:00
Andi-Bogdan Postelnicu e1f33061ed Bug 1318000 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in image/. r=jrmuizel
MozReview-Commit-ID: DpS7zsWD75j

--HG--
extra : rebase_source : a7f0d1fd49a2d8084d4da6631d466e01df0c8e5e
2016-11-16 17:39:05 +02:00
Sebastian Hengst d35d1a1445 Backed out changeset 50f830bdb2c8 (bug 1315121) for failing reftest-sanity/page-width-4.1in.html on OS X 10.10 debug. r=backout on a CLOSED TREE 2016-11-17 21:53:26 +01:00
Sebastian Hengst 20a51e488b Backed out changeset 4984c5478d52 (bug 1151899) for build bustage. r=backout on a CLOSED TREE 2016-11-17 20:23:01 +01:00
Sebastian Hengst 72c68b6881 Backed out changeset f87f327d7ef2 (bug 1151899) 2016-11-17 20:22:34 +01:00
Sebastian Hengst 2540bf5b65 Backed out changeset 2b97d2ef1895 (bug 1151899) 2016-11-17 20:22:30 +01:00
Sebastian Hengst 16a9c895ed Backed out changeset c778f23ccaf9 (bug 1151899) 2016-11-17 20:22:26 +01:00
Sebastian Hengst 31c02995a4 Backed out changeset 910b4b74261d (bug 1151899) 2016-11-17 20:21:55 +01:00
Valentin Gosu 753fdc9754 Bug 1151899 - Add code to run both URL parsers at the same time; r=bagder,ted,valentin
MozReview-Commit-ID: Jd2RgPmdPrn

--HG--
extra : rebase_source : ed9e5b027800a7a6ccbb443b294e208404bc5b01
2016-11-08 00:42:36 +01:00
Valentin Gosu e27ee5f42a Bug 1151899 - Add test for RustURL; r=bagder
MozReview-Commit-ID: GD5fnSsHf7

--HG--
extra : rebase_source : 93b422f6f3bf41c5519c10dfcefdfdcc5e2ba2bd
2016-11-08 00:42:33 +01:00
Valentin Gosu d38b6b7f6f Bug 1151899 - Add RustURL to netmodules; r=bagder
MozReview-Commit-ID: 1POo0tK6enu

--HG--
extra : rebase_source : 36b4802ab3ea162ccaaf9e67f1fd641c93b5d4ae
2016-11-08 00:42:30 +01:00
Valentin Gosu 340e8eb8fe Bug 1151899 - Add RustURL which implements nsIURI,nsIURL,nsIStandardURL,etc; r=bagder
MozReview-Commit-ID: 2rVu4t66cfD

--HG--
extra : rebase_source : fc9e9ee9c4021b61f53c4beb447b3e13b27714ba
2016-11-08 00:42:27 +01:00
Valentin Gosu 16bb40f323 Bug 1151899 - rust-url-capi error code changes; r=manishearth
MozReview-Commit-ID: AHwbkgGifmr

--HG--
extra : rebase_source : 82e96b565d44f9f742454ccf2198603d85f0f79c
2016-11-08 00:39:49 +01:00
Mike Shal ad4478f15e Bug 1183613 - Cross compile universal OSX builds in Taskcluster; r=froydnj,ted
MozReview-Commit-ID: HNTqiVF9gov

--HG--
extra : rebase_source : 3e02cd433e45f4bb5759f093aaccade2d49745c3
2016-10-21 13:54:10 -04:00
Jonathan Chan 64d13141fe Bug 1293743 - Part 4: Implement ParseVariant for VARIANT_INTEGER | VARIANT_CALC (i.e. pure-integer calc()s). r=dbaron,dholbert
MozReview-Commit-ID: 5vKgaH3dN5X

--HG--
extra : rebase_source : 7e7c3124cd51ad7e8daa09eb9a60ad83ec34ea79
2016-10-17 21:32:19 -04:00
Jonathan Chan cd3a5cd5c5 Bug 1293743 - Part 3: Add ReduceIntegerCalcOps, analogous to ReduceNumberCalcOps but for pure-integer calc()s. r=dholbert
MozReview-Commit-ID: GpvZ9Uce7QU

--HG--
extra : rebase_source : dd49d4f673aa47b4fb48d2da51e12d941db70bee
2016-10-17 20:49:19 -04:00
Jonathan Chan 982c8beddd Bug 1293743 - Part 2: Rename references to 'number' in CSSCalc and related code to coefficient. Introduce coefficient typedef. r=dholbert
"For each leaf in the calc() expression, ComputeCalc will call either
ComputeNumber (when the leaf is the left side of a Times_L or the right
side of a Times_R or Divided) or ComputeLeafValue (otherwise)."

A future patch in this series adds support for evaluating pure-integer calc()s.
We rename ComputeNumber to ComputeCoefficient and introduce a coefficient_type
typedef so that coefficients can be integers. We don't want to leave it as
'number' because that is confusing (e.g. CSS <number>s are float values).

We also rename NumbersAlreadyNormalizedCalcOps to
FloatCoeffsAlreadyNormalizedCalcOps, and expect AppendCoefficient in the
template given to SerializeCalc instead of AppendNumber.

This requires some renames in nsCSSValue and nsRuleNode.
I would split this into a separate 'fully-automated' patch, except that it's so
few renames and it feels bad to add the comments separately.

We also have to add |typedef float coeff_type| to two CalcOps implementations
in nsRuleNode because they multiply-inherit from two classes that define
coeff_type as float.

MozReview-Commit-ID: 1ZmBLsGr6hK

--HG--
extra : rebase_source : 219b97c65794c404680a36607506dde66b11e4f4
2016-10-17 20:49:17 -04:00
Jonathan Chan b746c93c2a Bug 1293743 - Part 1: Move nsCSSParser's ReduceNumberCalcOps to CSSCalc.h as mozilla::css::ReduceNumberCalcOps. r=dholbert
Bug 1273706 (Properties & Values) uses ReduceNumberCalcOps in nsRuleNode to
compute <number>-typed calc() expressions.

MozReview-Commit-ID: CsZkJBFOufm

--HG--
extra : rebase_source : 257bb56aa2c87f00ae809ee8e674d125c6112a73
2016-10-17 20:49:15 -04:00
Haik Aftandilian ac3c4c3eac Bug 1317801 - Enable Mac remote printing in 52; r=bobowen
Enable remote printing for Mac by setting print.print_via_parent=true by default.

MozReview-Commit-ID: DKiMJPiIO0n

--HG--
extra : rebase_source : 1f19477914ab946a099c238b06a34fa84c8952c5
2016-11-15 21:51:15 -08:00
Swaroop Rao b73ba8ca31 Bug 1316013 - Fixed by removing variables and building them as part of the Log statement (which never gets called because DEBUG is set to FALSE). r=sebastian
MozReview-Commit-ID: 7nWeXG50KLQ

--HG--
extra : rebase_source : 86581d03d15bc0e8b7fd4a67d08712ba741cfc09
2016-11-16 09:12:36 -05:00
Dan Minor 77356a7daa Bug 1317009 - Port jsep_session_unittest and jsep_track_unittest to xul gtest; r=bwc
MozReview-Commit-ID: spuZSAnSDC

--HG--
rename : media/webrtc/signaling/test/jsep_session_unittest.cpp => media/webrtc/signaling/gtest/jsep_session_unittest.cpp
rename : media/webrtc/signaling/test/jsep_track_unittest.cpp => media/webrtc/signaling/gtest/jsep_track_unittest.cpp
extra : rebase_source : 1f251167ef24d55bfbb7cd8b09b9fc5a65540724
2016-11-15 09:35:14 -05:00
Andrew McCreight 7f15cf986b Bug 1316527 - Return 0 when GetSerialNumber fails to find an existing serial number. r=froydnj
NS_LogCOMPtrAddRef and NS_LogCOMPtrRelease always pass false to
GetSerialNumber, because they pass in everything they get without
regard to whether it is being logged or not, so they don't want to
create a serial number if none exists. This causes the assertions
added in bug 1309051 to be hit. To work around this, I hoist the
assertion into the other callers of this method. Two of them already
had this check, but it was non-fatal.

This also makes the asserts not happen in release builds, as I decided
it doesn't really matter what happens if somebody tries to use it
there.

--HG--
extra : rebase_source : 5e70290492fd442b79b4d40c300a263e322f485b
2016-11-16 12:38:54 -08:00
Sebastian Hengst 695e85fecd Backed out changeset a71cde237471 (bug 1302470) for failing mochitests browser_Finder.js and test_browserElement_inproc_Find.html and various test failures in mochitest c3 on Linux x64 asan and debug (at least). r=backout 2016-11-17 17:51:24 +01:00
Sebastian Hengst 9a38c0010b Backed out changeset 8243da10a171 (bug 1302470) 2016-11-17 17:49:46 +01:00
Sebastian Hengst 7de6273ae5 Backed out changeset 3d34b2ac22a3 (bug 1302470) 2016-11-17 17:49:41 +01:00
Sebastian Hengst 28b6f830fc Backed out changeset 811c1368e51b (bug 1302470) 2016-11-17 17:49:37 +01:00
Julian Descottes 15dac0307e Bug 1253822 - Rewrite browser_rules_authored_color.js to avoid timeouts;r=gl
Update the test to avoid closing / reopening the toolbox each time a new color
is tested. An element is created upfront for each color to test, and the test
simply selects a different node when switching to a different color.

MozReview-Commit-ID: Atz70fwoMN2

--HG--
extra : rebase_source : aba56bef09c05e94b55ce2153d48b502f586e3c5
2016-11-14 11:11:43 +01:00
Mike Conley 5ec556907a Bug 1308677 - If PluginContent hears an appropriate Decoder Doctor notification, have it show the hidden plugin notification bar. r=blassey
PluginContent listens for a particular type of Decoder Doctor notification.
Specifically, it listens for ones of type "cannot-play" for mimetypes that
include "application/x-mpegurl". If PluginContent sees that notification,
and we've already shown the Click-to-Play notification, then what we're
dealing with is web content that is probably using Flash to decode an
HLS feed. Because we don't want to spring up the Click-to-Play
PopupNotification on a Decoder Doctor notification (which might happen
at any time), we show the Hidden Plugin notification bar instead
to alert the user that they might need to enable Flash to view the
HLS feed.

MozReview-Commit-ID: IUFqhbhh0Sc

--HG--
extra : rebase_source : 4c656217c296e5ae5fb425e864192461e0daefa0
2016-11-13 17:57:45 -05:00
Henrik Skupin e7ac0bc0db Bug 1316987 - Improve handling of preferences for default branch and complex values. r=automatedtester
MozReview-Commit-ID: 18BNm7YiKR5

--HG--
rename : testing/marionette/harness/marionette/tests/unit/test_using_prefs.py => testing/marionette/harness/marionette/tests/unit/test_prefs.py
extra : rebase_source : a4859e894f93ad63c992c59376e44fdf51650e49
2016-11-15 16:06:18 +01:00
Henrik Skupin 5ca58a66b6 Bug 1316707 - Remove B2G related code from Marionette client. r=ato
MozReview-Commit-ID: 1GjCDSmpROY

--HG--
extra : rebase_source : 30ed6244f9654d8b4c6e3e3c153b59e30aef287a
2016-11-10 22:17:59 +01:00
Henrik Skupin c5ea19608a Bug 1316707 - Remove B2G related code from Marionette harness. r=ato,automatedtester
MozReview-Commit-ID: 4v3etTqMFxf

--HG--
extra : rebase_source : 562441de31d16e7e0073030f83caeb323bd62973
2016-11-14 17:24:55 +01:00
Henrik Skupin 1ef523f608 Bug 1316707 - Remove B2G mach command for Marionette. r=ato
MozReview-Commit-ID: DXBObRkyiUA

--HG--
extra : rebase_source : 4f91837af893459de94ce2924c1dcf8487abe726
2016-11-11 09:54:55 +01:00
Henrik Skupin 09e17e0d52 Bug 1316707 - Remove Marionette B2G update tests. r=rstrong
MozReview-Commit-ID: Kh0i6hWTZTp

--HG--
extra : rebase_source : aa68ebb186f11ff3202b9079430b738eb4a4f4f3
2016-11-10 22:55:29 +01:00
Henrik Skupin e606a3db6c Bug 1316707 - Remove Marionette unit tests for B2G. r=ato,maja_zf
MozReview-Commit-ID: B1pQqL17Ug9

--HG--
extra : rebase_source : 2748d0f506ad09889a17e1fcdfb7a8a1e25409f6
2016-11-10 21:41:11 +01:00
Brad Werth 378dbf2973 Bug 1302470 Part 4: Augment the IsRangeVisible function to test for opaque overdraw. r=mstange
MozReview-Commit-ID: F2qbu0WLl9O

--HG--
extra : rebase_source : 06a1e73379ad82b3eeb73d3ae280e2637e144b9c
2016-11-09 16:08:56 -08:00
Mike de Boer f9050034f4 Bug 1302470 Part 3: Call the new isRangeVisible function to determine whether or not to draw a highlight rect. r=mikedeboer
MozReview-Commit-ID: ExO6zdjHGVO

--HG--
extra : rebase_source : 17ddfcf1a277df7eb02b4eb4b88b3f22c847060b
2016-11-10 09:03:58 -08:00
Mike de Boer 7ee955cbdc Bug 1302470 Part 2: Use a hit-test method to determine if the rect of a range is visible on the page or not to the eye, for use in find-in-page. r=mstange,smaug
MozReview-Commit-ID: 9P7gf0GcREv

--HG--
extra : rebase_source : b3565372bf9ab52a126f91795d54a2a22231f150
2016-11-09 15:09:36 -08:00