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

590936 Коммитов

Автор SHA1 Сообщение Дата
Markus Stange 4fb1684324 Bug 1421088 - Rename DrawFrame to DrawTextBox and stop passing an nsIFrame* to it. r=spohl
MozReview-Commit-ID: 1hGVXNhbomJ

--HG--
extra : rebase_source : 37f57d72538b35db012a8238faa13274050119bc
2018-04-14 22:29:57 -04:00
Markus Stange efe7856118 Bug 1421088 - Don't pass an NSWindow* to DrawUnifiedToolbar. r=spohl
MozReview-Commit-ID: 52uB5QeVsVw

--HG--
extra : rebase_source : d0ddfa0065dac20acdfd988c62f656e9a4d805f2
2017-11-30 18:46:37 -05:00
Markus Stange 2c79d13c9c Bug 1421088 - Don't pass an nsIFrame* to DrawSegment. r=spohl
MozReview-Commit-ID: 7qe0V7agqzs

--HG--
extra : rebase_source : 4c33e23abd17213c35d27b24d2733583a4bed6a9
2018-04-14 22:26:24 -04:00
Markus Stange 30328b9a50 Bug 1421088 - Don't pass an nsIFrame* to DrawSpinButton / DrawSpinButtons. r=spohl
MozReview-Commit-ID: AtY1eoiXcCa

--HG--
extra : rebase_source : 2673f804a31b9621f897dde37affc30b112a3063
2018-04-14 22:14:19 -04:00
Markus Stange 25cd320969 Bug 1421088 - Don't pass an nsIFrame* to DrawDropdown. r=spohl
MozReview-Commit-ID: IdkoAb1rOjE

--HG--
extra : rebase_source : ae11f27aab9d45aed251e37a914e6bb38efd221b
2018-04-14 22:07:23 -04:00
Markus Stange b60fe986d0 Bug 1421088 - Don't pass an nsIFrame* to DrawCheckboxOrRadio. r=spohl
MozReview-Commit-ID: 6LGIVGJAQ6W

--HG--
extra : rebase_source : f46586ed89b11e32dc841e7916c09a0884190f88
2017-11-30 17:50:33 -05:00
Markus Stange 42fa6e0ed7 Bug 1421088 - Change the API of DrawMenuIcon and add DrawMenuItem. r=spohl
MozReview-Commit-ID: 3JedJfgx9pZ

--HG--
extra : rebase_source : a8c25c36eb5653280e47213b4490b7f0c99c37ec
2018-04-14 22:00:18 -04:00
Markus Stange 987089caed Bug 1421088 - Move menu background drawing into a separate method. r=spohl
MozReview-Commit-ID: CSa4zlI8juN

--HG--
extra : rebase_source : 5821c0996d6b5f7afe6c97d22882220d0bbde224
2018-04-14 21:56:23 -04:00
Markus Stange d2d427a0cb Bug 1421088 - Route more button types through DrawButton. r=spohl
MozReview-Commit-ID: 8AhEnEi5UCZ

--HG--
extra : rebase_source : 764543f9104e1a8866e24b7aa50df8688b7c7336
2017-11-30 16:47:59 -05:00
Markus Stange e3f903540e Bug 1421088 - Give nsNativeThemeCocoa::DrawButton a different API. r=spohl
MozReview-Commit-ID: DjMurwHZD5K

--HG--
extra : rebase_source : bec85c26a729b5d44aac3bb59fe38d70534f8970
2018-04-14 21:48:09 -04:00
Markus Stange e31e82186d Bug 1421088 - Create a separate method for drawing tree header cells. r=spohl
MozReview-Commit-ID: 23CJfyrDoIN

--HG--
extra : rebase_source : 36fdf3c991e7a8377bebc37e88440229fd2a681e
2018-04-14 21:22:08 -04:00
Markus Stange 8d4a7edc62 Bug 1421088 - Split DrawPushButton into four functions and group the frame-dependent information into a struct. r=spohl
MozReview-Commit-ID: COs3yaGTqMv

--HG--
extra : rebase_source : 5085081b5de790ceedba5136095be4065de0def3
2018-04-14 21:13:10 -04:00
Markus Stange e99d3a5307 Bug 1421088 - Simplify search field cell management and make the "is-within-toolbar" computation eager instead of lazy. r=spohl
MozReview-Commit-ID: GkMSvimeuaf

--HG--
extra : rebase_source : 878f44b8d22ee60f2e97a9166f7fb7475c2cfd3b
2018-04-13 18:19:32 -04:00
Jim Chen e4a79d7b3b Bug 1452200 - 3. Don't limit AndroidLog tag length; r=jchen
In practice, Android never enforced restrictions on the tag length, and
in newer versions, the restriction is removed, so we shouldn't limit the
tag length at all.

MozReview-Commit-ID: JQF9FBdB5Fj

--HG--
extra : rebase_source : 1cd73723a7cafbd64f2d91601e8c62507ded2a4d
2018-04-15 00:15:27 -04:00
Jim Chen a63e691bd7 Bug 1452200 - 2. Convert existing code to use new logging functions; r=snorp
Use the new "debug" and "warn" functions with template literals in
existing code.

MozReview-Commit-ID: 4ob6mom6pQF

--HG--
extra : rebase_source : bdedb6a0e50b9678d22a58fb3f958d03985ee722
2018-04-15 00:15:27 -04:00
Jim Chen 1a967b7cfb Bug 1452200 - 1c. Inject logging functions into GeckoView JS modules; r=snorp
Inject new logging functions, "debug" and "warn", into each GeckoView JS
module that geckoview.js loads. Also do the same thing for frame script
classes that extend from GeckoViewContentModule.

The new logging functions are used with template literals (debug `hello
${foo} world`;), which are lazily evaluated, so disabled logs don't use
as many CPU cycles. They can also be easily enabled/disabled.

MozReview-Commit-ID: 7ZfYAMrcCyU

--HG--
extra : rebase_source : 9aac0eaac6756315ffd6b1183bf7597b38bb055e
2018-04-15 00:15:27 -04:00
Jim Chen 7958b308d9 Bug 1452200 - 1b. Add template literal support to Log.jsm; r=markh
Make Log.jsm functions support tagged template literals. For example,
instead of |logger.debug("foo " + bar)| or |logger.debug(`foo ${bar}`)|,
you can now use |logger.debug `foo ${bar}`| (without parentheses).

Using tagged template literals has the benefit of less verbosity
compared to regular string concatenation, with the added benefit of
lazily-stringified parameters -- the parameters are only stringified
when logging is enabled, possibly saving from an expensive stringify
operation.

This patch also fixes a bug in BasicFormatter where consecutive tokens
are not formatted correctly (e.g. "${a}${b}").

MozReview-Commit-ID: 9kjLvpZF5ch

--HG--
extra : rebase_source : 41a4760f0f106ae9b7fb69342df3e28bc1cf1c20
2018-04-15 00:15:26 -04:00
Jim Chen 7358a84369 Bug 1452200 - 1a. Add AndroidAppender for Log.jsm; r=markh
Add an AndroidAppender that lets Log.jsm output to the Android logs,
using AndroidLog.jsm. Because the Android logging system keeps track of
the log metadata (time/level/name) separately from the log message, the
patch also adds a separate AndroidFormatter that does not prepend the
metadata to the log message itself.

MozReview-Commit-ID: C9oBbgVQOEc

--HG--
extra : rebase_source : 297410c894b998e4aff7b21ee442a7377e2ec500
2018-04-15 00:15:26 -04:00
Xidorn Quan 759a4144e9 Bug 37468 followup - Update test expectations of wpt which checks setting selectorText on a CLOSED TREE. 2018-04-15 11:59:29 +10:00
Kerem Kat 7411c5f76c Bug 37468 - Add web-platform tests for StyleRule selectorText property setter. r=xidorn
--HG--
extra : source : 5e7a1db60298306b7c55e5c2ebd0075d7e77c258
extra : amend_source : 1a0f2633a7699c3e3a3bea8334ab34476e9411c9
2018-02-18 21:23:56 +03:00
Kerem Kat 97ece751a4 Bug 37468 - Implement ServoStyleRule::SetSelectorText method for setting CSS rule selectorText from JS. r=xidorn
--HG--
extra : source : bd0a3fdb037c308ae7eab0be3c68d00fcb9b6056
2018-04-14 19:05:44 +03:00
Coroiu Cristina 4b2644bf85 Backed out 2 changesets (bug 37468) for linting failure at builds/worker/checkouts/gecko/tools/lint/wpt.yml
Backed out changeset 5e7a1db60298 (bug 37468)
Backed out changeset bd0a3fdb037c (bug 37468)
2018-04-15 03:23:36 +03:00
Cosmin Sabou c8235cb81b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-15 03:05:51 +03:00
Cosmin Sabou 5748e6f517 Backed out changeset efa6394f2a4a (bug 1453925) for mochitest failures on test_broadcastchannel_worker_alive.html. a=backout 2018-04-15 02:45:33 +03:00
Cosmin Sabou 6c47714197 Backed out 2 changesets (bug 1444537) for causing crashes on test_discardFramesAnimatedImage.html. a=backout
Backed out changeset 0d23d74448c8 (bug 1444537)
Backed out changeset 07f5d48b90cb (bug 1444537)
2018-04-15 02:40:30 +03:00
Cosmin Sabou b6e61a9b10 Merge inbound to mozilla-central. a=merge 2018-04-15 02:37:03 +03:00
Bob Owen df78972f84 Bug 1453929: Enable handle verifier on 32-bit EARLY_BETA_OR_EARLIER. r=jimm 2018-04-14 20:24:07 +01:00
Kris Maglione 8d542eec0b Bug 1365021: Re-enable test_bootstrap.js. r=aswan
MozReview-Commit-ID: 3mVk24FQC2M
2018-04-14 12:11:31 -07:00
Jeff Walden 7fe1365632 Bug 1453456 - Replace JS7_ISDEC with mozilla::IsAsciiDigit. r=froydnj
--HG--
extra : rebase_source : 36cfe2674037e680511d5fa6f557d58936025244
2018-04-13 13:01:10 -07:00
Jeff Walden 821db93ccc Bug 1453456 - Replace nsCRT::IsAscii{Alpha,Digit} with mfbt/TextUtils.h versions. r=froydnj
--HG--
extra : rebase_source : b31986c0e6828be79442cfb0cf369eb80c232139
2018-04-12 20:19:30 -07:00
Zibi Braniecki d0d244a954 Bug 1453800 - Move the container removal dialog strings to preferences.ftl. r=flod
MozReview-Commit-ID: JAAfviRvbJb

--HG--
extra : rebase_source : b47ca189151543abebec60b2550a2e18277deb9b
2018-04-12 14:17:28 -07:00
Cosmin Sabou 1e3e494b15 Backed out 2 changesets (bug 1451486) for xpcshell failures on test_storageOption_pref.js
Backed out changeset eea1bfe5404d (bug 1451486)
Backed out changeset 2e635314b75f (bug 1451486)
2018-04-15 00:10:13 +03:00
Johann Hofmann 30ddd62640 Bug 1442887 - Align the #clearDataSettings button in about:preferences to the very right. r=jaws
MozReview-Commit-ID: ketCjIIUl0

--HG--
extra : rebase_source : 4b9a9cae9a34421cab93ef4631e772e9e2ca4b8f
2018-04-13 11:34:38 +02:00
Johann Hofmann aab8f3b4b2 Bug 1451486 - Part 2 - Add a test for setting the dom.indexedDB.storageOption.enabled pref. r=asuth
MozReview-Commit-ID: 1WT2nBxfS92

--HG--
extra : rebase_source : 85255ac3f619c00f719bbcc7200ae44bf9679f35
2018-04-10 23:01:40 +02:00
Johann Hofmann fd279d2d39 Bug 1451486 - Part 1 - Ignore the storage attribute on indexedDB.open() by default. r=asuth,baku
MozReview-Commit-ID: 844FRkx3rKZ

--HG--
extra : rebase_source : 9e761da3ca70c1a6c5b002d328d768d1ad8b3fe3
2018-04-10 23:00:30 +02:00
Noemi Erli 1b65998665 Merge inbound to mozilla-central. a=merge 2018-04-14 12:49:03 +03:00
Jan de Mooij 2dd36cfeae Bug 1452982 part 9 - Remove/rename remaining ZoneGroup references. r=jonco 2018-04-14 09:03:47 +02:00
Jan de Mooij b997830888 Bug 1452982 part 8 - Remove ZoneGroup.h/cpp files. r=jonco 2018-04-14 09:03:21 +02:00
Jan de Mooij e269859a98 Bug 1452982 part 7 - Rename ZoneGroupData to ZoneData. r=jonco 2018-04-14 09:02:57 +02:00
Andrea Marchesini 0f38ba4351 Bug 1453927 - Get rid of XMLHttpRequestMainThread::Init, r=qdot 2018-04-14 08:11:35 +02:00
Eden Chuang 0471b5e543 Bug 1440041 - mochitest for nsIPaymentRequest.shippingOption. r=baku
This patch includes followings
    1. Test with no selected shipping options.
    2. Test with one selected shipping option when creating PaymentRequest.
    3. Test with multiple selected shipping options when creating PaymentRequest.
    4. Test with selecting shipping option by user.
    5. Test with modifying the user selection by merchant.
    6. Merges the mochitest for bug 1443914.

--HG--
rename : dom/payments/test/Bug1443914ChromeScript.js => dom/payments/test/ShippingOptionsChromeScript.js
rename : dom/payments/test/test_bug1443914.html => dom/payments/test/test_shippingOptions.html
extra : histedit_source : 19126dcb3870e0637ed8f4d0fbc6839cb5d682a0
2018-04-13 18:48:31 -07:00
Eden Chuang b206167b93 Bug 1440041 - Add a new readonly attribute nsIPaymentRequest.shippingOption. r=baku. 2018-04-13 18:47:20 -07:00
Andreea Pavel bbd8c5be30 Merge mozilla-central to mozilla-inbound. a=backout 2018-04-14 04:10:28 +03:00
Andreea Pavel d3d551275b Backed out changeset f3e01de682f1 (bug 1443561) on request from jaws a=backout r=jaws 2018-04-14 04:08:45 +03:00
Boris Zbarsky da28b690f0 Bug 1453868. Remove redunant setting of globalObj in binding to-promise conversions. r=qdot
MozReview-Commit-ID: BuykeYqTEoF
2018-04-13 19:31:45 -04:00
Andrea Marchesini c30c0c3678 Bug 1448328 - Implement getOrigin for blobURL without nsIURIWithPrincipal, r=smaug 2018-04-14 01:08:41 +02:00
Andrea Marchesini 48bf20fde9 Bug 1448328 - Use thread-safe nsIURI in the URI API - part 2 - No teardown runnable, r=valentin 2018-04-14 01:07:08 +02:00
Andrea Marchesini 4b23deda27 Bug 1448328 - Use thread-safe nsIURI in the URI API - part 1 - No getter/setter runnables, r=valentin 2018-04-14 01:06:35 +02:00
Andrea Marchesini 1a39373d7d Bug 1453925 - BroadcastChannel doesn't need to use a runnable to dispatch messages, r=asuth 2018-04-14 01:01:52 +02:00
Andreea Pavel 01f50bc3d8 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-14 00:56:30 +03:00