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

595462 Коммитов

Автор SHA1 Сообщение Дата
Ed Lee 169d43a92f Bug 1459655 - Restore about flag for about:home. r=k88hudson
MozReview-Commit-ID: GLdEBW8ewDd

--HG--
extra : rebase_source : 2b953784801a7c1f119bc43f4a13c4504b7f5cd2
2018-05-11 12:05:44 -07:00
Jan Henning 843d1912b1 Bug 1450314 - Remove unused parameters for memory-pressure notifications. r=gsvelto
"alloc-failure" is completely unused apart from the description text in nsI-
Memory.idl (and has been since before Firefox 17), while "lowering-priority" is
still being checked for in the PuppetWidget, but otherwise unused as well since
the feature using it was decommissioned in bug 1234176.

Since we're touching the PuppetWidget code anyway, we take the opportunity to
add a check for "low-memory-ongoing" instead, since similar as to how things
used to be with "lowering-priority", we want to drop the LayerManager's cached
resources only when receiving a real full memory-pressure event, but not for
subsequent ongoing notifications.

MozReview-Commit-ID: HL03SOU8axe

--HG--
extra : rebase_source : c988769df36d8d77f4770c71d5c5e0d75c3b99af
2018-05-06 13:17:11 +02:00
k88hudson 348971527d Bug 1460119 - gSnippetsMap.getTotalBookmarksCount() never resolves r=Mardak
MozReview-Commit-ID: Dx4tkHTb4zz

--HG--
extra : rebase_source : 3d84d332e4e884fd0c73748c77e75adf4118c6b4
2018-05-11 15:08:10 -04:00
Luca Greco e8af81013a Bug 1451795 - Move lazy devtools initialization helper into a static method of the ExtensionAPI. r=aswan
MozReview-Commit-ID: KOxQcgsKXoB

--HG--
extra : rebase_source : 7290b3c437b6f3cdce9b1cb49065823b691d1c41
2018-04-11 18:36:05 +02:00
Andrew McCreight 6c4a1d23f2 Bug 1460636 - Don't trace jsids on ObjectGroup in the cycle collector. r=jonco,sfink
For some reason, the CC spends a lot of time tracing jsids on
ObjectGroups when an addon is installed. This patch avoids that by
adding a canSkipJsids flag to JSTracer, and using it in
ObjectGroup::traceChildren. If this is true, then the tracer is free
to not report every jsid. This flag is set to true for the two CC
tracers.

MozReview-Commit-ID: CWFqQEr0SxV

--HG--
extra : rebase_source : cc31c22717f8990166454db191e0d40c145e09f0
2018-05-11 11:38:58 -07:00
Emilio Cobos Álvarez f78be9e725 Bug 1460655: Support x as a resolution unit. r=xidorn
MozReview-Commit-ID: TjU0FLCLMN

--HG--
extra : rebase_source : 63da5bdd570587f82b370e8819d9e0fc7220e9c2
2018-05-10 18:11:52 +02:00
Emilio Cobos Álvarez 3cb1708084 Bug 1460655: Make resolutions more like the rest of the CSS values. r=xidorn
MozReview-Commit-ID: 3Gt8VX1KhjC

--HG--
extra : rebase_source : 10521fb5ec015f9e76456e20cc279808668486ba
2018-05-10 18:06:27 +02:00
Francesco Lodolo (:flod) e30cbdf2d8 Bug 1460806 - Clean up Fluent migration recipes r=gandalf
MozReview-Commit-ID: 8hODnvJc4Qc

--HG--
extra : rebase_source : 641019353402900bea7985650bdf2b2133d4c754
2018-05-11 08:12:52 +02:00
Francesco Lodolo (:flod) 59fbde2fb7 Bug 1453308 - [uk] Use hotline.ua as e-commerce plugin for Firefox desktop and Firefox for Android r=mkaply
Replaces:
- Metamarket on desktop (meta.ua)
- Yandex Market on mobile (market.yandex.ua)

MozReview-Commit-ID: DDhF7ppZtV8

--HG--
extra : rebase_source : a9bd18a40b9262bda1c570969ac3ee808b5dd776
2018-05-02 09:46:20 +02:00
Kartikaya Gupta 65a4d7b8f6 Bug 1459935 - Update for API change in WR PR 2747. r=jrmuizel
MozReview-Commit-ID: CXPExT8Ho7p

--HG--
extra : rebase_source : 9bbb52b70f1e6c750028961125215e62ddb5fb76
2018-05-11 09:15:24 -04:00
Kartikaya Gupta b670730c3d Bug 1459935 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: CoZ3PoUGFwU

--HG--
extra : rebase_source : cbe2a2e97b53b6e9b26c22cdf7af1c9c575a87b9
2018-05-11 09:15:09 -04:00
Kartikaya Gupta 5681e385b8 Bug 1459935 - Update webrender to commit 4811a6e7c06f9dd1b4056e5f5e66983842983ba0. r=jrmuizel
MozReview-Commit-ID: HUUVwbPauIk

--HG--
extra : rebase_source : 619a602c1c1730c66e517367c3fc11df76bd9479
2018-05-11 09:14:03 -04:00
Simon Fraser 0bbea03903 Bug 1460906 Fix use of config.params and release_eta r=aki
MozReview-Commit-ID: 9wtsZw118YX

--HG--
extra : rebase_source : 87f4caa973d3a7665ee9b3321bf9e18fee3edc83
2018-05-11 17:27:34 +01:00
Gregory Szorc cbf0a8af3e Bug 1460650 - Rename sixgill task name so it has "gcc" in it; r=nalexander
Mainly so searching "toolchain" + "gcc" yields something useful in the
taskgraph.

MozReview-Commit-ID: HWiT3AwwYQ2

--HG--
extra : rebase_source : b1ba0dfb4f99b6f8abe42506e8b37db68ed03590
2018-05-09 14:36:45 -07:00
Gregory Mierzwinski 5cf30de23a Bug 1455401 - Diff baseline coverage reports with test coverage reports. r=jmaher,marco
This patch enables differencing test coverage reports with baseline reports so that test reports contain what is unique to the test and excludes what is common to all tests (based on test file types: html, xul, js).

MozReview-Commit-ID: LHzlFZ72Ufi

--HG--
extra : rebase_source : ef4e0b5505cc85e95e1717d056d38c00d78872c5
2018-05-07 18:53:36 -04:00
Gregory Mierzwinski 8eb9e2c317 Bug 1455401 - Generate baseline code coverage reports. r=jmaher,marco
The tests added in this patch will be used as a baseline for coverage that is common to all tests. They are added to each chunk being run in the test-coverage suite only if a test with an associated baseline type exists.

MozReview-Commit-ID: 1CrRZ1Ev2Mz

--HG--
extra : rebase_source : e2e4f9a51c82c637c8892dd8a5dbd84704b67b54
2018-04-25 15:22:28 -04:00
Nicholas Hurley 9ac69d34c4 Bug 1460313 - Remove unused mForTakeResponseHead. r=mcmanus
MozReview-Commit-ID: BIJvKrEeKiV

--HG--
extra : rebase_source : f493ad4ac213530f3a27454a8ebda031345f8bd9
2018-05-11 01:23:50 -07:00
Panos Astithas 84e5cae688 Bug 1451853 - Include Firefox build id and source URL in profiler meta information. r=mstange
MozReview-Commit-ID: 5MBM31f2UjP

--HG--
extra : rebase_source : 258f2dca59721a4eca92bb63472558d6e212572f
2018-05-10 21:37:35 -07:00
Gijs Kruitbosch aeace8b471 Bug 1459640 - add CSP also via meta tag, r=bgrins
This also fixes all the tests to not rely on eval() anymore.

MozReview-Commit-ID: 8H8r497nQVK

--HG--
extra : rebase_source : 89c7f8a6e1bb77ceb242f05749c22d929ee86929
2018-05-08 12:25:47 +01:00
Jim Chen c3e84d6241 Bug 1460045 - Pass module enabled states through init-data; r=esawin
During session initialization, pass in the enabled state of all modules
through the init-data, and use that to enable modules if necessary. This
avoids a race condition where we enable modules too late on startup due
to event queuing.

MozReview-Commit-ID: I0rvq6UoOVh

--HG--
extra : rebase_source : df5d469d0b4a0a402e4b75cd74e52559f395e6bc
2018-05-11 10:53:54 -04:00
Jim Chen 6933285ceb Bug 1459501 - Fix race in EventDispatcher queuing; r=esawin
There's a race in EventDispatcher, where the ready state can change
during a dispatch. In that case, we can end up neither dispatching an
event nor queuing it, which effectively drops the event.

MozReview-Commit-ID: GvjSUzjBrsT

--HG--
extra : rebase_source : bed4e368b5ab1cc7653daea57f20ab25dfa1f125
2018-05-08 17:38:11 -04:00
Jim Chen 336d07e4fc Bug 1459300 - Support async replies in RDP client; r=snorp
From the main thread, we need to get the result of evaluateJS()
asynchronously, because the JS code may depend on delegate callbacks on
the main thread, which cannot happen if evaluateJS() is synchronous. The
simplest example is an alert() JS call that depends on the prompt
delegate callback.

This patch makes RDPConnection read input packets on a background
thread, and the main thread can either poll for input synchronously, or
rely on asynchronously posted messages. Actor is extended to allow for
multiple pending inputs, and it now exposes a nicer ReplyParser
interface for turning reply packets into result objects.

MozReview-Commit-ID: I0eKeOzf2Jy

--HG--
extra : rebase_source : d12ad5f4c876f51e944ff202289cdc7e29b5bf99
2018-05-11 10:25:04 -04:00
Andreas Tolfsen c65aa9b433 Bug 1460656 - Fix sync IPC message Marionette:GetLogLevel by using initialProcessData. r=maja_zf
As a workaround for bug 1411513, about Log.jsm not supporting E10s,
testing/marionette/listener.js makes a synchronous call (sendSyncMessage)
to the main process asking for the Marionette logger repository's level.

We can avoid this blocking operation by using initialProcessData,
which is new since the workaround was implemented.

initialProcessData is a dictionary structured clone serialisable
that gets copied to the content process when it starts.  Because the
Marionette log level cannot be changed at runtime it should be fine
to only send this data once per child process.

MozReview-Commit-ID: 3czydqGZpZH

--HG--
extra : rebase_source : 1aaae676d2b56c609844238e8173b64d300e3e00
2018-05-10 17:32:42 +01:00
Xidorn Quan 427a5dd50d Bug 1460870 - Whitelist fullscreen pseudo-class in pdfjs when unprefixed fullscreen is disabled. r=Gijs
MozReview-Commit-ID: L5EpFOHc5v4

--HG--
extra : rebase_source : 57d2cee3f7578461933ae6d0c4abf5ce6ab33010
2018-05-12 00:15:15 +10:00
Jim Chen 22575e701d Bug 1459299 - 3. Clear parent process ChromeActor on window closing; r=jryans
To represent the parent process, we use a ChromeActor/TabActor that
targets a random chrome window. However, if that chrome window later
closes, the ChromeActor will stop working. In that case, we should clear
the cached ChromeActor and create a new one that targets a different
chrome window.

MozReview-Commit-ID: AP8AXEXEgAl

--HG--
extra : rebase_source : 28ccf09c79f23baed5714de281a8dd56bf4ecb4d
2018-05-11 10:25:04 -04:00
Jim Chen 989361cc60 Bug 1459299 - 2. Add pref setting methods for tests; r=snorp
Add GeckoSessionTestRule.setPrefsUntilTestEnd and
GeckoSessionTestRule.setPrefsDuringNextWait so tests can easily set
prefs to get specific behavior.

MozReview-Commit-ID: FquaonwfF5v

--HG--
extra : rebase_source : 8a9a543a89f0976ef8476630cd9192518c4a9cfc
2018-05-11 10:25:04 -04:00
Jim Chen f0ce2a7b38 Bug 1459299 - 1. Add evaluateChromeJS for chrome privilege code; r=snorp
Add GeckoSessionTestRule.evaluateChromeJS for JS code that requires
chrome privileges, such as setting prefs.

MozReview-Commit-ID: G7NUKukWTT8

--HG--
extra : rebase_source : c0d4684ba5a9d4735e30b49f584e8e0222210c87
2018-05-11 10:25:03 -04:00
Jonathan Kingston c2489bc039 Bug 1457620 - Expose shield preference toggle to all locales and move code to not being injected. r=flod,Gijs,mythmon
MozReview-Commit-ID: 4uZSdqqAlG8

--HG--
extra : rebase_source : 21955bb47ab291a9fb88786783175cd4a31dc9a4
2018-05-05 11:07:08 +01:00
Bogdan Tara 2bd748f3ca Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-11 17:10:31 +03:00
Bogdan Tara babf96cf0c Backed out 3 changesets (bug 1176019) for frequently failing /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/Maybe.h a=backout
Backed out changeset 2dd8b719d645 (bug 1176019)
Backed out changeset 9c6b0eb062ca (bug 1176019)
Backed out changeset 2d0dfc54128e (bug 1176019)
2018-05-11 17:07:19 +03:00
Margareta Eliza Balazs 4f9a2ba08e Merge inbound to mozilla-central. a=merge 2018-05-11 12:36:02 +03:00
Randell Jesup 947f304784 Bug 1346291: remove accidentally committed diff file rs=jesup NPOTB 2018-05-11 00:55:41 -04:00
Andrew Halberstadt 162414134e Bug 1458571 - Make talos and raptor use the 'common' base profile, r=rwood
This factors out the prefs that are common across raptor, talos and
mochitest/web-platform-tests. In order to do this a new "unittest" profile has
been created.

This means, to set a pref across everything that uses this system, edit:
testing/profiles/common/user.js

To set a pref across unittest frameworks (which excludes raptor and talos),
edit:
testing/profiles/unittest/user.js

Setting a pref for perf frameworks only remains the same. Extensions follow
the same rules (drop them in <profile>/extensions).

MozReview-Commit-ID: 6AHlYsN0Lb8

--HG--
extra : rebase_source : aad259f06af549f3bc707fed5b1caaacf25bc28f
2018-05-10 15:31:31 -04:00
YUKI "Piro" Hiroshi dd7b3aab39 Bug 1457395 - Fix typo "proces" in comments. r=milan
--HG--
extra : amend_source : 36cf036803ff9bffaebb66fc31ff7b960f0c7509
2018-05-10 16:56:09 +09:00
arthur.iakab ad92f2e5b7 Backed out changeset c45f75d2190f (bug 1264557) for failing pt-test-verify-e10s on devtools/client/jsonview/test/browser_jsonview_expand_collapse.j on a CLOSED TREE
--HG--
extra : rebase_source : 295e42807ac4714e0bdabc901ec6561b55c1ab16
2018-05-11 03:23:55 +03:00
J.C. Jones 08d83d7258 Bug 1441914 - Fix Windows build on a CLOSED TREE r=me
Don't use MOZ_MAKE_ENUM_CLASS_BITWISE_OPERATORS; it's unneeded here right now,
and occludes "PSM::Result" on Windows.

--HG--
extra : transplant_source : %B9%24%7FR%A8%1B%B0%3B%D44%ED%C5%3F%CD%1E%96%1F%22m%A3
2018-05-10 17:15:22 -07:00
Luke Wagner e8b42871cc Bug 1459225 - Baldr: fix race in tier-2 initialization (r=bbouvier)
--HG--
extra : rebase_source : bad94fd55da9cbe9ef1d1a7493cd2e91cbd466b1
2018-05-10 18:48:56 -05:00
J.C. Jones 4139925b80 Bug 1441914 - Make security.pki.distrust_ca_policy a bitmask r=fkiefer r=keeler
Per Bug 1437754 comment 10, the pref security.pki.distrust_ca_policy makes more
sense as a bitmask than a state. To permit future nuance, let's go ahead and do
that before people start implementing atop Bug 1456112.

This does permit both 0b10 and 0b11 to enable the functionality for Firefox 63.

--HG--
extra : transplant_source : %84%AF%89%E0%89dT%01%10%84%A0%3B%A5%28%2A%D3%E1%B0%0D%E7
2018-05-07 15:46:22 -07:00
Ognjen Galic 96d372ed8f Bug 1264557 - Add test cases for expand/collapse buttons r=smclt30p@gmail.com 2018-05-09 10:10:51 +02:00
Dorel Luca 956b982878 Merge mozilla-central to mozilla-inbound 2018-05-11 01:04:57 +03:00
Dorel Luca d32e085275 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-11 00:59:14 +03:00
James Willcox 83a9f5c1e1 Bug 1433968 - Use GeckoRuntime to launch Gecko in Fennec r=jchen
MozReview-Commit-ID: AUrvsFWDuhY
2018-05-10 16:42:23 -05:00
James Willcox 898decb011 Bug 1433968 - Support pause-for-debugger in GeckoRuntime r=jchen
MozReview-Commit-ID: FY7HI0c38DU
2018-05-10 16:42:22 -05:00
James Willcox bc73d8b2e0 Bug 1433968 - Add CrashReporterService for GeckView r=jchen
The Fennec CrashReporter class is also renamed to
CrashReporterActivity. When running in Fennec, the Activity will be used
which retains what we do today, prompting for comments, email, etc. When
used in standalone GeckoView, we report the crash without user
interaction if the appropriate GeckoRuntimeSetting was set. The app will
want to ask for user permission at least once in order to set this.

We do not collect the URL, email, or logcat with GeckoView crashes.
Logcat and URL would be nice to have, but it's not clear what the API
for those would look like, and they can be addressed in followup
patches.

MozReview-Commit-ID: C5ROsUKreRe
2018-05-10 16:42:20 -05:00
James Willcox 1ddcfb2222 Bug 1433968 - Add crash reporting control to GeckoRuntimeSettings r=esawin,jchen
MozReview-Commit-ID: TQ7hvekIVJ
2018-05-10 16:42:19 -05:00
James Willcox 567fcf5356 Bug 1433968 - Change how environment variables are passed to GeckoLoader r=jchen
Right now we pass a bundle to GeckoLoader.setupGeckoEnvironment() with
magic keys representing the environment variables. Instead of this,
simply pass a list of Strings.

MozReview-Commit-ID: D6mSTnYpnGu
2018-05-10 16:42:17 -05:00
Csoregi Natalia d2a7e3fcd3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-10 19:45:06 +03:00
Csoregi Natalia 3f17a23476 Merge inbound to mozilla-central. a=merge 2018-05-10 19:42:51 +03:00
Csoregi Natalia 282a3f5586 Merge autoland to mozilla-central. a=merge 2018-05-10 19:42:10 +03:00
Csoregi Natalia c60391a8f1 Backed out 2 changesets (bug 1414776) due to a regression on bug 1459910. a=backout
Backed out changeset ed3b0284c348 (bug 1414776)
Backed out changeset 77045639ed6c (bug 1414776)
2018-05-10 19:26:22 +03:00