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

6781 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote 9702633811 Bug 1411480 - Change PrefSaveData's element type. r=glandium.
Because nsCString is nicer than UniqueFreePtr<char>.

The patch also streamlines pref_savePrefs(). And also changes StrEscape() to
always put quotations around the result, because that's needed in both call
sites.

MozReview-Commit-ID: HT7HZz4QiSN

--HG--
extra : rebase_source : f8d26a8c9f7ea911272113efc56744df639c5ccf
2017-10-25 10:22:39 +11:00
Nicholas Nethercote d7b5b4b246 Bug 1411480 - Use |private| instead of |protected| in nsPrefBranch. r=glandium.
There's not much use using |protected| in a |final| class.

MozReview-Commit-ID: IECyfNGZsL5

--HG--
extra : rebase_source : bc9597ee45583e809f89f7e558cc325460390f98
2017-10-25 10:22:39 +11:00
Nicholas Nethercote e52452101f Bug 1411480 - Remove pref_savePrefs()'s argument. r=glandium.
It's always gHashTable, and all the other functions in this file work directly
on gHashTable rather than taking a parameter.

MozReview-Commit-ID: BDCEvcMlo8P

--HG--
extra : rebase_source : e5d10e42401136a9a82d665d9717cf71ecf7e4ae
2017-10-25 10:22:39 +11:00
Nicholas Nethercote f357e38587 Bug 1411480 - Simplify pref_HashPref()'s workings. r=glandium.
First, the patch removes the return values from PrefTypeFlags::Set*(). They
allow chained calls, but they're barely used and they just make the code harder
to read.

Second, the patch changes pref_SetValue() to not modify and return the pref
flags. It's clearer if the flags changing is done separately. This requires
passing pref_SetValue() the old type instead of the flags.

MozReview-Commit-ID: HZVS2TIlBIY

--HG--
extra : rebase_source : 32950f00975f7d9df63fa0af1c36e82b58516245
2017-10-25 10:22:39 +11:00
Nicholas Nethercote 74915ed170 Bug 1411480 - Remove the machinery for choosing the dirty callback. r=glandium.
It's unnecessarily general, because we only ever use
Preferences::DirtyCallback() as the callback.

And because it's no longer a callback, the patch renames DirtyCallback() as
HandleDirty().

MozReview-Commit-ID: Hl50dcxfVQq

--HG--
extra : rebase_source : f453d31215de3fdb0c5b6176becf2669e7ad55f1
2017-10-25 10:22:38 +11:00
Nicholas Nethercote 21290f6159 Bug 1411480 - Inline and remove PREF_GetPrefType(). r=glandium.
It has a single call site.

MozReview-Commit-ID: o5CwR8Od7o

--HG--
extra : rebase_source : 2f24a0bc7fa65af8cb60b820982c8d6cb8ee5298
2017-10-25 10:22:38 +11:00
Nicholas Nethercote 5eeb08fa63 Bug 1411480 - Inline and remove pref_[SG]etInitPhase(). r=glandium.
They both have a single use.

MozReview-Commit-ID: 4Jj64B6NV0o

--HG--
extra : rebase_source : 51297caa052281544383bc76f120b4b62b686015
2017-10-25 10:22:38 +11:00
Nicholas Nethercote 49e302c18e Bug 1411480 - Inline and remove pref_SetWatchingPref(). r=glandium.
It's simple enough that having a separate function isn't helpful.

MozReview-Commit-ID: Ke9BIfp9yHU

--HG--
extra : rebase_source : de1518544ddb28185635628c33d356ab07480c1c
2017-10-25 10:22:38 +11:00
Nicholas Nethercote 529db19e62 Bug 1411480 - Inline and remove the parser's pref_DoCallback() function. r=glandium.
Preferences.cpp has two functions named pref_DoCallback(). One of them has a
single use in the parser. This patch inlines that single use to remove the name
duplication.

MozReview-Commit-ID: HnyteQ0N5M1

--HG--
extra : rebase_source : 93f963d3ba445c1c3a482fa95dbab33e57dae188
2017-10-25 10:22:38 +11:00
Miko Mynttinen e61db8e3f3 Bug 1411248 - Add some early exit heuristics to avoid complicated partial display list builds r=mattwoodrow
MozReview-Commit-ID: BRYYvGHptbw

--HG--
extra : rebase_source : e740e868bf6f1ce366286a4e8a3db8f1918b4160
extra : source : df60d43e89285978ca7ba6bab5a5c7ef49ffaf92
2017-10-24 14:54:16 +02:00
Attila Craciun fb931a6ca7 Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE.
--HG--
extra : amend_source : ebff7913d049184412278b01281ae44a483d63c3
2017-10-25 12:34:44 +03:00
Attila Craciun 7bcf901c3b Merge inbound to mozilla-central r=merge a=merge 2017-10-25 12:30:28 +03:00
Nicholas Nethercote ce583d5ebe Bug 1410765 (part 3) - Remove nsPrefBranch::RemoveObserverFromMap declaration. r=glandium.
--HG--
extra : rebase_source : ab40d0f3430c9259a4fa4cc7fed3f114a946c158
2017-10-25 10:22:37 +11:00
Nicholas Nethercote c67dabae5c Bug 1410765 (part 2) - Redo clang-format on libpref/. r=glandium.
--HG--
extra : rebase_source : 7bf014830baec7abfab51f71ac89a5bc3bec1860
2017-10-25 10:22:37 +11:00
Nicholas Nethercote 91f9b1d8e1 Bug 1410765 (part 1) - Remove unused PrefTypeFlags values. r=glandium.
--HG--
extra : rebase_source : f5d4ac642ddbfc720891c7a72cf735e0f77a460a
2017-10-25 10:22:37 +11:00
Masayuki Nakano ad20ed277d Bug 1410988 - Add a debug mode pref to emulate odd touchpad utils which give focus to window under mouse cursor when user tries to scroll the content r=jimm
Some odd touchpad utils give focus to window under mouse cursor when user tries
to scroll the content with swiping or something.

This is really odd behavior because some windows like popup windows doesn't
want focus. However, such ones do actually. For making easier to check such
device's behavior, we should have a pref to emulate such behavior.

MozReview-Commit-ID: 6euwpHn7blf

--HG--
extra : rebase_source : cc23f08f422f25f2851404696e06e069c7936186
2017-10-19 02:28:37 +09:00
Sebastian Hengst 24b7b2eb7c merge mozilla-central to autoland. r=merge a=merge 2017-10-24 23:59:14 +02:00
Sebastian Hengst dbf343872c merge mozilla-central to autoland. r=merge a=merge 2017-10-24 11:54:19 +02:00
Sebastian Hengst 31bf3a1a42 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4Lk5P5UYmTe
2017-10-24 11:52:35 +02:00
Ben Kelly d64c111b67 Bug 1409761 Create dom.serviceWorkers.disable_open_click_delay and set it to a larger value on fennec. r=smaug 2017-10-23 14:24:31 -04:00
Ethan Lin 38b3c273db Bug 1410824 - Remove pref 'gfx.webrendest.enabled'. r=kats
MozReview-Commit-ID: Ipwjitb7kIs

--HG--
extra : rebase_source : 34cfbdeac331948b96150fc86c0d855c7604fb1d
2017-10-23 10:10:04 +08:00
Sebastian Hengst d30462037f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BcJNE0poEYk
2017-10-23 11:39:19 +02:00
Makoto Kato e5ecd5213c Bug 1407869 - Use Malgun Gothic as default on Korean on Nightly r=jfkthame
MozReview-Commit-ID: 7PxPnBfXF7n
2017-10-12 16:55:42 +09:00
Simon Van Accoleyen dedbda00a2 Bug 1406193 - Remove last remaining SocialAPI bits. r=dao
MozReview-Commit-ID: E5GKq2CYclF
2017-10-21 18:38:17 +02:00
Boris Zbarsky 6a07397359 Bug 1354730. Disable named property object (aka global scope polluter) behavior for all Xrays. r=kmag
MozReview-Commit-ID: KmbXFfSzH0N
2017-10-16 10:58:09 -04:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E) 983bb1b63a Bug 1404181 - Part 12: Add pref for retained display lists (starting with it disabled). r=mstange
MozReview-Commit-ID: FgASuaoYMuc

--HG--
extra : rebase_source : af1bfd3bb4be63aa6f6c27629b91c1aae924ad20
2017-09-28 13:42:15 +13:00
Phil Ringnalda e4524a80b9 Backed out changeset fd0492c07da0 (bug 1409449) for browser-chrome, xpcshell and marionette bustage
CLOSED TREE

MozReview-Commit-ID: IcOEJ0l1yeJ
2017-10-25 07:38:39 -07:00
Dragana Damjanovic 7120f32f23 Bug 1409449 - Do not show auth-dialog for triggeringPrincipal==SystemPrincipal. r=ckerschb, r=valentin, r=francois 2017-10-25 08:54:31 -04:00
Sebastian Hengst 74800ca743 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5UT11zZbl2e
2017-10-25 13:01:33 +02:00
Andrea Marchesini ec610d5b7e Bug 1409329 - NS_NewBufferedOutputStream should take the ownership of the outputStream, r=smaug 2017-10-24 14:38:23 +02:00
Zibi Braniecki 0786d0892d Bug 1387332 - Remove leftover ENABLE_INTL_API conditions. r=jfkthame
MozReview-Commit-ID: CMvCR9ZWuQw

--HG--
extra : rebase_source : 5341a4258a82d7596ebcb5789b6fc9bad69d4053
2017-10-29 09:07:19 -07:00
Phil Ringnalda a6b525b33e Merge m-c to autoland
MozReview-Commit-ID: K1ZFkTVIF5B
2017-10-27 21:42:38 -07:00
Attila Craciun 4d25367716 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-10-26 12:34:39 +03:00
Chris Peterson f38368c9cc Bug 1160368 - Part 1: Add flag to treat third-party cookies set over nonsecure HTTP as session cookies. r=jdm
"Nonsecure HTTP" here just means regular, not-HTTPS HTTP. It doesn't mean HTTPS without the `Secure` cookie flag. Honor the expiration time of third-party cookies set over HTTPS, whether or not they have the `Secure` cookie flag. If a third-party cookie is set over HTTPS and then later sent in nonsecure HTTP request (which is allowed for cookies without the `Secure` cookie flag), the cookie won't be turned into a session cookie unless the nonsecure HTTP response sets a new cookie value.

This feature is controlled by the pref "network.cookie.thirdparty.nonsecureSessionOnly".

MozReview-Commit-ID: HlCg21JyvNC

--HG--
rename : extensions/cookie/test/unit/test_cookies_thirdparty_session.js => extensions/cookie/test/unit/test_cookies_thirdparty_nonsecure_session.js
extra : source : d1be2e4265201efd3ee93e965ac68561f548fd05
extra : intermediate-source : f5b382fa1b70e30a907b1f10d74f8c0c6dff344e
2017-02-16 19:27:49 -08:00
Sebastian Hengst 7beb660397 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-19 11:54:07 +02:00
Sebastian Hengst bf793df477 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: HasKw28SN45
2017-10-19 11:26:22 +02:00
Dan Glastonbury 05de18af54 Bug 1407487 - P2: Enable cubeb remoting on Nightly. r=kinetik
MozReview-Commit-ID: AKlAsy5nlgL
2017-10-19 18:02:52 +13:00
Nicholas Nethercote ddf867ccad Bug 1409635 (part 2) - Fix up nsIPrefLocalizedString. r=froydnj.
nsIPrefLocalizedString is meant to be a wrapper for nsISupportsString,
basically identical but with a different identifier. But it's not a
sub-interface of nsISupportsString. Instead it (almost) duplicates
nsISupportsString's internals.

Specifically, nsISupportsString has `attribute AString data`, resulting in
these C++ methods:

> NS_IMETHOD GetData(nsAString& aData)
> NS_IMETHOD SetData(const nsAString& aData)

nsIPrefLocalizedString has `attribute wstring data`, resulting in these C++
methods:

> NS_IMETHOD GetData(char16_t** aData)
> NS_IMETHOD SetData(const char16_t* aData)

Then we have nsPrefLocalizedString, the concrete subclass of
nsIPrefLocalizedString. It implements the AString methods via
NS_FORWARD_NSISUPPORTSSTRING, which forwards to mUnicodeString. It also
implements the wstring methods explicitly, and they just call the AString
methods. It's all a bit of a mess.

(Both interfaces also have `wstring toString()`. The forwarding works more
smoothly for that method.)

This patch changes nsIPrefLocalizedString so it is a trivial sub-interface of
nsISupportsString. This change eliminates the need for the wstring methods, so
the patch removes them as well. The net result is we have less code, and fewer
conversions between C strings and Gecko strings. The patch also merges the
nsISupportsString and nsIPrefLocalizedString cases in
nsPrefBranch::SetComplexValue(), because they are now identical. (The
nsISupportsString and nsIPrefLocalizedString cases in
nsPrefBranch::GetComplexValue() remain distinct; indeed, that's the whole
reason for having them as separate interfaces.)
2017-10-18 16:51:56 +11:00
Nicholas Nethercote 380feab757 Bug 1409635 (part 1) - Remove nsIPrefLocalizedString::setDataWithLength. r=froydnj.
It's unused.
2017-10-18 16:39:52 +11:00
Jeremy Chen 0f51b3f159 Bug 1409958 - reset stylo blocklist to empty string on Nightly for testing. r=heycam
The layout.css.stylo-blocklist.blocked_domains pref is set to "arewestyloyet.rs"
on Nightly, but empty string on Beta. Since we're going to QA the styloblocklist
add-on in Bug 1407911, we make the prefs aligned in both Beta and Nightly in this
patch.

MozReview-Commit-ID: HoleJvVYm7o

--HG--
extra : rebase_source : cb8104f3d7fdb99fe0ea6ee84781c4b421a8f421
2017-10-19 11:50:53 +08:00
Nicholas Nethercote b94945fed2 Bug 1407494 (follow-up) - Revert operator new use to malloc(), to pair with free(). r=glandium.
--HG--
extra : rebase_source : 5fd9221d7a0509e0c094767e66661be0d9ff1688
2017-10-18 16:31:23 +11:00
Blake Kaplan d85edbdb89 Bug 1406212 - Default to e10s on with 4 content processes. r=Felipe
MozReview-Commit-ID: CtBXBOgTuki

--HG--
extra : rebase_source : 5c4472e0c798f618f7a3ce644d506319b6ceed3c
2017-09-28 15:50:15 -07:00
Masayuki Nakano 16fd3a84a4 Bug 143038 Make users can scroll contents horizontally with vertical wheel operation with a modifier r=smaug
This patch declares a new default action, "horizontal scroll", this scrolls
content horizontally with deltaY of wheel events and ignores deltaX and deltaZ.
This is used for default action with Shift key in default setting except on
macOS. On macOS, legacy mouse's vertical wheel operation with Shift key causes
native horizontal wheel event.  Therefore, we don't need to use this new
default action on macOS.  Additionally, old default action with Shift key,
navigating history, is moved to with Alt key.  This makes same settings between
macOS and the others.  So, this is better for users who use macOS and another
OS and web app developers who check wheel events only on macOS or other
platform(s).

For simpler implementation, default action handlers moves deltaY values to
deltaX values temporarily *only* while they handle wheel events.  This is
performed by AutoWheelDeltaAdjuster and restored after handling it
automatically.

So, in other words, even if default action is "horizontal scroll", web apps
receives wheel events whose deltaY is not zero but its content will be
scrolled horizontally.  This is same as Chromium, so, this behavior shouldn't
cause any incompatible behavior with it.

MozReview-Commit-ID: E4X3yZzLEAl

--HG--
extra : rebase_source : e20d854c6b0a181ad4c9e7304bd9ad14256481ff
2017-10-05 01:12:35 +09:00
Phil Ringnalda cf776f840e Backed out 2 changesets (bug 1407487) for Android and hazard build bustage and Linux webspeech test timeouts
CLOSED TREE

Backed out changeset 806976ac38b8 (bug 1407487)
Backed out changeset 0ff7dc9aebd9 (bug 1407487)

MozReview-Commit-ID: HLDEXTRvG7l
2017-10-17 19:49:43 -07:00
Dan Glastonbury 0d91ecb5d0 Bug 1407487 - P2: Enable cubeb remoting on Nightly. r=kinetik
MozReview-Commit-ID: AKlAsy5nlgL

--HG--
extra : rebase_source : 66792537e96929b10d4b0980f6e09e2e075299cc
2017-10-12 10:36:01 +10:00
Sebastian Hengst 34714cebde merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2KL1o3EPUk
2017-10-17 23:52:28 +02:00
Dragana Damjanovic dd.mozilla@gmail.com 3e2548c099 Bug 1393691 - timeout connection if tls takes too long. r=mcmanus 2017-10-17 14:06:45 +02:00
Ethan Lin 316e4cb704 Bug 1405957 - Part2. Remove the unnecessary GetLayerState in CreateWebRenderCommands and adjust the related pref type/value. r=kats
MozReview-Commit-ID: E8JvuOj6JtL

--HG--
extra : rebase_source : 4893c0d3cc6f99d4f2a6c920d8fc07de4c36324c
2017-10-05 14:42:28 +08:00
Ethan Lin 63bdc855fa Bug 1405957 - Part1. Remove advanced filter layer. r=kats
This pref is only for webrender layers mode. So we should remove it.

MozReview-Commit-ID: AxPLnc0uO1U

--HG--
extra : rebase_source : daecac41200be2244b0c6dccb66e0d61d7634691
2017-10-05 14:34:37 +08:00
Daosheng Mu 9210bba13b Bug 1392216 - Part 3: VRPuppet dispatch submit frame result to VRListener thread; r=kip
MozReview-Commit-ID: K5ivNAkB89I

--HG--
extra : rebase_source : d4a87c12f5268a7aebe68e81c58c753eb60bfbc8
2017-10-06 17:56:53 +08:00
Sebastian Hengst a984558fa2 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: K49FVRdOww8
2017-10-16 10:55:46 +02:00
Nicholas Nethercote 6164e7abd0 Bug 1408231 - Remove unnecessary forward declarations and add |static| where appropriate. r=glandium.
This is possible now that all of libpref is in a single .cpp file.

For some functions, this required moving the comment from the forward
declaration to the definition.

MozReview-Commit-ID: 7XjHENZkc61

--HG--
extra : rebase_source : adc61d0463769c311915139f6e98c2f3187a2d21
2017-10-13 15:24:59 +11:00
Jeremy Chen 2fd13fd9b0 Bug 1407098 - put a nightly only domain in stylo blocklist for testing. r=xidorn
Thanks to xidorn's donation, now we can do some real domain testings for stylo
blocklist mechanism. Note that we only add arewestyloyet.rs domain in Nightly
channel for testing, and the domain should be removed in other channels.

MozReview-Commit-ID: Io351w6sg5b

--HG--
extra : rebase_source : 339fdcf754c41f79ef03324697695b8e44a5d261
2017-10-14 16:54:32 +08:00
Phil Ringnalda ecdb97c7dc Backed out 6 changesets (bug 1406212) for mass reftest failures
CLOSED TREE

Backed out changeset 1c9fe35de901 (bug 1406212)
Backed out changeset 1acc4c270bf9 (bug 1406212)
Backed out changeset d9ea9cff849f (bug 1406212)
Backed out changeset 5bf2f08f01f9 (bug 1406212)
Backed out changeset 1a050da96e9e (bug 1406212)
Backed out changeset 1b5e78113f06 (bug 1406212)

MozReview-Commit-ID: LizV8CD4IY4
2017-10-12 19:45:23 -07:00
Nicholas Nethercote ab27f10405 Bug 1407494 (part 9) - Merge PREF_RegisterCallback() and PREF_RegisterPriorityCallback. r=glandium.
This avoids some code duplication.

MozReview-Commit-ID: 2Cb4YtL5RSu

--HG--
extra : rebase_source : 76f2146e8f465608371b8650d96494626f0bee82
2017-10-13 15:24:59 +11:00
Nicholas Nethercote 475691af83 Bug 1407494 (part 8) - Remove forward declaration of PrefSetting. r=glandium.
It's declared in Preferences.h, which Preferences.cpp includes.

MozReview-Commit-ID: 7bjcgsrbfGl

--HG--
extra : rebase_source : ea932402b7eaae876fcba2c0cfdfad2bc728cb8d
2017-10-13 15:24:59 +11:00
Nicholas Nethercote 7480060898 Bug 1407494 (part 7) - Replace malloc uses with operator new. r=glandium.
MozReview-Commit-ID: 5mNDX95Cexn

--HG--
extra : rebase_source : d355f6fbd8c41c84a428cf879fa4f84fd08193a5
2017-10-13 15:24:59 +11:00
Nicholas Nethercote e4a4426ba0 Bug 1407494 (part 6) - Remove GetContentChild(). r=glandium.
We can just use XRE_IsContentProcess() instead, because the pointer return
value is only ever used in a bool context.

MozReview-Commit-ID: 6R4Bwf1cnKU

--HG--
extra : rebase_source : 392e01cfc145f05783c4bdc7aa08486ef07982be
2017-10-13 15:24:58 +11:00
Nicholas Nethercote 39ffd37e3d Bug 1407494 (part 5) - Replace uses of NS_strdup(), PL_strdup(), PL_strfree() with more standard functions. r=glandium.
MozReview-Commit-ID: FPDUZZqkHqg

--HG--
extra : rebase_source : fbe0e3c4c5f9c18060b6609ac94eb9dfe34b6e77
2017-10-13 15:24:58 +11:00
Nicholas Nethercote 003d9a950d Bug 1407494 (part 4) - Remove have_PrefChangedFunc_typedef. r=glandium.
This is detritus from old changes that can be cleaned up now.

The patch removes the declaration of PrefChangedFunc from Preferences.cpp
because it's also in Preferences.h, which is included by Preferences.cpp.

The patch also removes the part of the comment about passing a non-zero result
because it's clearly false -- the callback has no return value.

MozReview-Commit-ID: 72cdauYsRUt

--HG--
extra : rebase_source : 84cbbcea3b0ce3242c629e428be1e81be9cb5792
2017-10-13 15:24:58 +11:00
Nicholas Nethercote 89d51cf936 Bug 1407494 (part 3) - Remove PR_ALIGN_OF_WORD and WORD_ALIGN_MASK. r=glandium.
Their last use was removed in bug 200524, 14.5 years ago.

MozReview-Commit-ID: FoM8KpJNA7m

--HG--
extra : rebase_source : 0c0ffb90a5e8d23cead729b71563ad2249102c96
2017-10-13 15:24:58 +11:00
Nicholas Nethercote 151b37fd07 Bug 1407494 (part 2) - Remove TEST_PREFREAD. r=glandium.
It's unclear how to compile it; it isn't a proper test, because it just prints
stuff out without explicitly checking anything; and I bet nobody has run it in
a long time.

MozReview-Commit-ID: 48s7pCy7HC6

--HG--
extra : rebase_source : 39d3ba85bd9e45e68b7c7c4cd27b5d7a5a9272b0
2017-10-13 15:24:58 +11:00
Nicholas Nethercote b7cc1a8c68 Bug 1407494 (part 1) - Remove C-isms. r=glandium.
MozReview-Commit-ID: C2u2JpTkbkn

--HG--
extra : rebase_source : 7ebb89b57c00561e13bdd5b02196ef0b06264126
2017-10-13 15:24:58 +11:00
Blake Kaplan 43ff4cea89 Bug 1406212 - Default to e10s on with 4 content processes. r=Felipe
MozReview-Commit-ID: CtBXBOgTuki

--HG--
extra : rebase_source : 851c31405ec03ece1390bc338b6bd18ea39ba7f8
2017-09-28 15:50:15 -07:00
Sebastian Hengst 87cd48824a merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-10-13 00:53:56 +02:00
Sebastian Hengst 5c00b8540d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: AlcL6XYDkf
2017-10-12 23:58:31 +02:00
Dragana Damjanovic dc118fd91d Bug 1405761 - If the preload pref is disabled rel=preload should be shown as not supported. r=smaug
--HG--
extra : rebase_source : 3e32d5d8beceedca7ab3eaaf528385f4e73f1164
2017-10-11 03:20:00 -04:00
Sebastian Hengst 4c169d4680 merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-10-12 12:00:22 +02:00
JW Wang 4ab061994a Bug 1407886 - enable OMT data delivery. r=gerald
Try looks good. Let's turn it on for more tests on Nightly.

MozReview-Commit-ID: 21mQfRmOYag

--HG--
extra : rebase_source : 8f51bd517816deba68dad511a9f859ab1df25baf
extra : intermediate-source : 5150eb8b0826be6578b2d8c68d6d864cc9f55f25
extra : source : 63542cbae67928b936f0472b8dca1f7035759115
2017-10-06 17:46:53 +08:00
Nils Ohlmeier [:drno] 660bb85308 Bug 1407492: remove aec log dir user pref. r=mjf
MozReview-Commit-ID: 5oNuOrSHY2y

--HG--
extra : rebase_source : 4fdf9a7cd4e88dde6b7ac583007ae90fed7fb0fe
2017-10-10 19:43:37 -07:00
Jon Coppeard fa34bb9ca6 Bug 1406065 - Make JSGC_MAX_MALLOC_BYTES param the same in the shell as the browser r=sfink 2017-10-11 13:22:09 +01:00
Nicholas Nethercote 0e7051b93c Bug 1406281 - Restyle CallbackAndVarCacheOrder.cpp. r=erahm.
This is a mixture of clang-format and manual restyling.

MozReview-Commit-ID: ApLqaQ3KZ5S

--HG--
extra : rebase_source : 4b4ac2f7f05eaa39181005655a62234275b96ff6
2017-10-08 07:46:07 +11:00
Nicholas Nethercote 3c3c516563 Bug 1406280 - Restyle modules/libpref/*.h. r=erahm.
This is a mixture of clang-format and manual restyling.

MozReview-Commit-ID: 6S6yUDXQJtE

--HG--
extra : rebase_source : f7f52bd4c2fe9de1d5b6d99bf2daf841e511d913
2017-10-08 07:46:07 +11:00
Nicholas Nethercote b22e211a7f Bug 1406205 - Restyle Preferences.cpp. r=felipe.
This is a mixture of clang-format and manual restyling.

MozReview-Commit-ID: G5ipKb1w5L0

--HG--
extra : rebase_source : 232cae37df4d6d41256c76d0616df5d1c53786fd
2017-10-06 10:06:47 +11:00
Sebastian Hengst c2d6023454 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 36L7JL73CzG
2017-10-09 23:52:04 +02:00
Andreas Farre 3113c32033 Bug 1377766 - Enable budget throttling by default. r=bkelly 2017-10-09 05:16:00 -04:00
Sebastian Hengst 57b1e21136 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Lbq8F50U0Nf
2017-10-08 11:44:16 +02:00
Sebastian Hengst 3c8747ae61 merge mozilla-central to autoland. r=merge a=merge 2017-10-07 10:52:29 +02:00
Sebastian Hengst b834f0d177 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 7Ez95T2ivfR
2017-10-07 10:37:39 +02:00
Kartikaya Gupta 123ea35128 Bug 1406008 - Add pref for just dumping the parent process display list. r=jrmuizel
MozReview-Commit-ID: Fdm2f5jbJ4z

--HG--
extra : rebase_source : c24893dc67e40a34ec03bcc36322c88671fe0fbf
2017-10-06 09:29:45 -04:00
Xidorn Quan e9accd246b Bug 1406277 - Completely remove xml:base for style attribute. r=bz
This commit removes:
* layout.css.style-attr-with-xml-base.disabled pref
* deprecation XMLBaseAttributeForStyleAttr
* code path for getting base URI of style attr considering xml:base

MozReview-Commit-ID: 1w96eqhHPab

--HG--
extra : rebase_source : 95e33da698ce0cfc9a44de8bc0d63c3fa4634644
2017-10-06 15:45:33 +11:00
Nicholas Nethercote 3acb3b84ae Bug 1405935 - Restyle nsPref*.cpp. r=felipe.
This is a mixture of clang-format and manual restyling.

MozReview-Commit-ID: 5wTM0nUeuPK

--HG--
extra : rebase_source : 35f0c24b9dcae5d333a27dbcd29c85a538bb8c0a
2017-10-06 10:06:43 +11:00
Nicholas Nethercote 7020a5b5b7 Bug 1405908 - Restyle prefapi.cpp. r=glandium.
This is a mixture of clang-format and manual restyling.

MozReview-Commit-ID: 2cORYQwCeP2

--HG--
extra : rebase_source : 8982e1992290547636db263cd7ff1fadcb8f1b37
2017-10-06 09:18:58 +11:00
Nicholas Nethercote 36a1dd448f Bug 1405598 - Restyle prefread.cpp. r=glandium.
This is a mixture of clang-format and manual restyling.

MozReview-Commit-ID: DKyADDJl5G8

--HG--
extra : rebase_source : 0d1d13721d1f88d871ef99e509204fe02464bdec
2017-10-05 13:58:44 +11:00
JW Wang b2cbe2833f Bug 1405962. P1 - give MediaCache a thread on which we will run data callbacks from the HTTP channel. r=gerald
MozReview-Commit-ID: Av7bFGx9SW

--HG--
extra : rebase_source : 296a6137ee63328e11eb11a8ee3430979cf8e5a8
extra : intermediate-source : 9634a9cd63e188799fe691cfe7108a173db503d5
extra : source : 43860a593eb810088adac150c0fa85cf8133ce17
2017-09-13 16:51:12 +08:00
Wes Kocher 9408094d14 Merge m-c to inbound, a=merge
MozReview-Commit-ID: FnOGO7LJHCB
2017-10-04 16:45:36 -07:00
Jeff Muizelaar 5a5f5bcef6 Bug 1405778. Remove largely unneeded call to nsDisplayBackgroundColor::GetLayerState. r=kats
Text clipping is the only thing we don't handle and it's better to just have this inline.
2017-10-04 17:03:16 -04:00
Valentin Gosu 3fba909015 Bug 1403926 - Add pref for PerformanceNavigationTiming r=baku
MozReview-Commit-ID: 9f6fcCk8mh

--HG--
extra : rebase_source : 0a1252a7cff2cfaec8f0ab5f8ffa755a0a8a4b5e
2017-10-04 02:48:33 +02:00
Jeremy Chen db85457d66 Bug 1403077 - implement the stylo blocklist mechanism. r=heycam
In this patch, we read the stylo blocklist into nsLayoutUtils's global static
variable during nsLayoutUtils::Initialize(). So, we can decide if we should
fallback to use Gecko backend while updating style backend for a document.

We add "layout.css.stylo-blocklist.blocked_domains" and
"layout.css.stylo-blocklist.enabled" to ContentPrefs.cpp because they are read
very early (during nsLayoutUtils::Initialize).

MozReview-Commit-ID: 8c4n6m9dYD8

--HG--
extra : rebase_source : ca81cd57980d98b9b73f18bb03a8035b161d23ef
2017-09-27 20:35:21 +08:00
Kearwood "Kip" Gilbert cd53268372 Bug 1374399 - Enable WebVR by default for macOS r=daoshengmu
MozReview-Commit-ID: JWJlw7Qib36

--HG--
extra : rebase_source : 5057a96b1ed7a70e5200645b404acf4c65f8c660
2017-09-20 16:09:44 -07:00
Bas Schouten 82d8d410bc Bug 1403935: Enable OMTP by default on windows only. r=dvander
MozReview-Commit-ID: HcizKS5zv9v
2017-10-02 04:20:41 +02:00
Bas Schouten 43c3e5a40a Bug 1404749: Release our DrawTargetCapture on the main thread. r=mattwoodrow
MozReview-Commit-ID: 7uRdl2ZWtGS
2017-10-02 04:20:40 +02:00
Sebastian Hengst 55e6971a70 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 3D21HjGG3i4
2017-10-01 00:59:41 +02:00
Sebastian Hengst a095b86928 Backed out changeset 843b90c48664 (bug 1403935) for frequently asserting in mochitest gfx/tests/mochitest/test_font_whitelist.html on Windows non-stylo builds. r=backout a=backout
MozReview-Commit-ID: JBP3jOrlKyZ
2017-10-01 00:34:06 +02:00
Wes Kocher eb9a2ed0f2 Merge inbound to central, a=merge
MozReview-Commit-ID: IqwKWn7ceHC
2017-09-29 14:47:25 -07:00
Bas Schouten 1c49bf2c2e Bug 1403935: Enable OMTP by default on windows only. r=dvander
MozReview-Commit-ID: 9WkaJcTnMQB
2017-09-29 19:48:40 +02:00
Markus Stange 4b4d6f1561 Bug 1402498 - Add ScrollAnimationMSDPhysics, can be enabled using general.smoothScroll.msdPhysics.enabled. r=rhunt
MozReview-Commit-ID: fr8Q9iod5k

--HG--
extra : rebase_source : b9113d40081371872deff6aade13fd226b3e72a9
2017-09-26 20:55:35 -04:00
Kartikaya Gupta d6089cccd0 Bug 1404325 - Remove the layers-free pref from about:config. r=jrmuizel
MozReview-Commit-ID: Fk9Mn0AyMFn

--HG--
extra : rebase_source : 7591a5c25d18f123c322ed69d53b9106502c0f11
2017-09-29 09:46:19 -04:00
Mark Goodwin ae55f5a197 Bug 1359428 - Remove preference to select OneCRL update mechanism r=keeler,leplatrem,rhelmer
MozReview-Commit-ID: A6CwZrIDmTn

--HG--
extra : rebase_source : 41e17d29f982d23f30f48a6f85ad20fc84b018c6
2017-09-29 10:47:27 +01:00
Gijs Kruitbosch c525d706ed Bug 1399939 - switch to highly restrictive profile for IDN, r=dveditz,jfkthame
MozReview-Commit-ID: E5LRuQVfIZP

--HG--
extra : rebase_source : 9ea3f29552a5f41dc2e225f42fee5d4ec08b5063
2017-09-28 12:00:22 +01:00