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

604250 Коммитов

Автор SHA1 Сообщение Дата
Andrew Swan f964bc7a2a Bug 1473757 Enable extension delayed startup everywhere r=mixedpuppy
MozReview-Commit-ID: 4yBKkKKnx20

--HG--
extra : rebase_source : b4e8574e536a3b9bd655a6125235f21914d9fce6
2018-07-06 09:53:37 -07:00
Chris Pearce 02f3883d8d Bug 1472580 - Test that starting play from tab audio indicator overrides block autoplay. r=mconley
MozReview-Commit-ID: 6RB09cd1PHP

--HG--
extra : rebase_source : f6a97dcdbc12cb53d58be6e7fe19de7825755425
2018-06-25 13:25:34 +12:00
Chris Pearce 063906e5bd Bug 1472580 - Gesture activate documents which are played via the tab audio indicator. r=mconley
(This patch was first presented for review in bug 1463919, I've split it off
into its own bug here).

If the user opens a tab in the background, and that tab tries to play media,
we'll delay playing that media until the tab is brought to the foreground.
But the user can explicitly start playback of such delayed media by clicking
the "play" icon we show in the tab indicator. Then if autoplay is disabled,
we'll block the play (unless the origin is whitelisted). This is bad, as the
user has clearly indicated intent to play media in this tab.

So this patch "gesture activates" the root content document when the tab audio
indicator play button is pressed. This means the block autoplay logic will
behave as if there's been a user gesture in the tab (mouse click or keypress),
and not block the play. Gesture activation state is per document, so it does
not persist across document loads.

MozReview-Commit-ID: 3pgrADRrJqt
***
fix

--HG--
extra : rebase_source : a099cd3eedf6785a7af0b95613c5bd210e791a53
2018-07-04 09:32:22 +12:00
prathiksha cc64ba4d2f Bug 1463554 - Position the HTML select dropdown exactly on the rich option element.r=MattN
MozReview-Commit-ID: 5Rl3lMczGyh

--HG--
extra : rebase_source : d39211c700746b4f3609fe82a54dbd7cc10bc4c9
2018-07-06 12:30:09 -07:00
prathiksha a3ca5bfffb Bug 1463554 - Fix the tests that are broken due to change in the internal structure of rich-select.r=MattN
MozReview-Commit-ID: BTHw9JHZoud

--HG--
extra : rebase_source : 27269bf5ba521e14519968d792f99ce466e67299
2018-06-27 17:32:54 -07:00
Kris Maglione 84aacf4890 Bug 1470783: Migrate extensions framework to use sharedData for cross-process data. r=zombie
initialProcessData has the unfortunate side-effect of sending an entire copy
of all of its data to all content processes, and eagerly decoding it. For the
extension framework, this means that we wind up loading an entire copy of all
of our schema data, and of every extension's manifest and locale data, into
every process, even if we'll never need it.

The sharedData helper allows us to store an encoded copy of that data in a
shared memory region, and clone it into the current process only when we need
it, which can be a significant savings. For screenshots alone, it saves about
15K on locale and manifest data per content process, plus the size we save on
not copying schema data.

MozReview-Commit-ID: KkIOoLsBd99

--HG--
extra : rebase_source : 21cb433e8897a3d33943ebbd3d788d8d54e0844b
extra : source : 8074c985095c9951171311dac840684b915a57f6
2018-06-24 16:34:44 -07:00
Kris Maglione 02d76286a4 Bug 1463587: Part 6 - Add an idle flush task to WritableSharedMap. r=erahm
MozReview-Commit-ID: 8Ht7zHo4PD6

--HG--
extra : rebase_source : af54131cdd7dcd9d1857ccf6303764c92d4eda79
extra : source : 49ed13196e9fc108f39153b30c4720ef5232e559
2018-06-27 16:44:22 -07:00
Kris Maglione d4c925129d Bug 1463587: Part 5 - Add tests for SharedMap. r=erahm
MozReview-Commit-ID: 2ou8N30Omie

--HG--
extra : rebase_source : deca28badf3b27e0263e7880bc4412afd2f7c9bd
extra : source : c052042a66cf721b67b679f932fe08b96abd6f2f
2018-06-27 16:43:36 -07:00
Kris Maglione 1aa45ee72a Bug 1463587: Part 4 - Add blob support to SharedMap. r=erahm,baku
I was hoping to avoid supporting blobs here, but some parts of the
WebExtensions framework rely on being able to store Blobs in
initialProcessData, and can't be migrated without adding blob support.

This patch adds an ordered array of BlobImpls for all extant keys, clones them
to all child processes when updating the serialized maps, and initializes
StructuredCloneData instances with indexes into the combined array.

MozReview-Commit-ID: IdSv5FHbPbE

--HG--
extra : rebase_source : 90eeb7fad21eac93582ef9244180998d22267373
extra : source : cebf1f055d1dfb505e96cebf7e4284b35a419dd6
2018-06-27 16:35:53 -07:00
Kris Maglione 8316d5a0c0 Bug 1463587: Part 3 - Add bindings for SharedMap, and expose it via process message managers. r=erahm,baku,bz
This is the first basic implementation of a shared-memory key-value store for
JS message managers. It has one read-write endpoint in the parent process, and
separate read-only endpoints for each child-process message manager.

Changes to the parent endpoint are broadcast to the children as snapshots.
Each snapshot triggers a "change" event with a list of changed keys.

It currently has the following limitations:

- It only supports basic structured clone data. There's no support for blobs,
  input streams, message ports... Blob support will be added in a follow-up
  patch.

- Changes are currently only broadcast to child endpoints when flush() is
  explicitly called in the parent, or when new child processes are launched.
  In a follow-up, this will be changed to automatically flush after changes
  when the event loop is idle.

- All set operations clone their inputs synchronously, which means that
  there's no trivial way for callers to batch multiple changes to a single key
  without some additional effort. It might be useful to add a
  delayed-serialization option to the .set() call in a follow-up, for callers
  who are sure they know what they're doing.

MozReview-Commit-ID: IM8a3UgejXU

--HG--
extra : rebase_source : 66c92d538a5485349bc789028fdc3a6806bc5d5a
extra : source : 2ebaf5f8c6055b11b11d7ec334d54ee941115d48
2018-06-29 14:55:27 -07:00
Kris Maglione 03bf0b5bdd Bug 1463587: Part 2 - Add a shared-memory structured clone key-value store. r=erahm,bz
This class allows one read-write copy of a map in the parent process to share
data with multiple read-only copies in child processes. The maps only hold
onto data as structured clone blobs, and deserialize them each time a key is
read.

This commit only provides the bare-bones data structures. Follow-ups will add
bindings, change events, and automatic flushes.

MozReview-Commit-ID: LimwfmFBNOi

--HG--
extra : rebase_source : e43985c39bd1cfd05a2ad536b0d7f74db494a753
extra : source : c27295337b4c16e2a178106a3aa873d2a0e5a1f4
2018-06-22 20:35:49 -07:00
Andreea Pavel 5754c092dc Backed out changeset c64603aec7e5 (bug 1469825) for breaking mochitest chrome at toolkit/content/tests/chrome/test_tree.xul on a CLOSED TREE 2018-07-13 06:10:19 +03:00
Mark Banner 5dd10a94cb Bug 1469825 - The tree component should only set the editing attribute after the input field is ready.
Summary: MozReview-Commit-ID: 1bQEn0yfg63

Reviewers: NeilDeakin

Reviewed By: NeilDeakin

Bug #: 1469825

Differential Revision: https://phabricator.services.mozilla.com/D2001

--HG--
extra : rebase_source : 7168f7a3ba3dbf30de9c1e36e6499800e6d62b28
2018-07-13 05:04:45 +03:00
Ehsan Akhgari fb93671fb6 Bug 1474384 - Memoize the nsIURI object returned from the currentURI getter for lazy <xul:browser> objects; r=dao 2018-07-12 13:11:00 +03:00
Zibi Braniecki 9abd8411b1 Bug 1384236 - Cache l10n resources differently in L10nRegistry. r=Pike
Switch to cache FTLResources per FileSource. This allows us to minimize
the memory impact of dynamic additions/removals of l10n resources to
a context on fly.

MozReview-Commit-ID: B9fxbkaU3oX

--HG--
extra : rebase_source : bc268352965c721b5692f2062a063f7fba091136
2018-06-22 12:03:24 -07:00
Ciure Andrei 35a115b001 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-15 12:54:42 +03:00
Matt Woodrow aaaba0f931 Bug 1474466 - Convert rounded rect clips into paint geometry if the display item type support it. r=bas,jnicol
MozReview-Commit-ID: EkqgSSLufnp

--HG--
extra : rebase_source : 3c308cd46934107f734b311ea2e2b26251c15bf5
2018-07-15 20:26:46 +12:00
Zibi Braniecki cf5e5747be Bug 1384236 - Cache l10n resources differently in L10nRegistry. r=Pike
Switch to cache FTLResources per FileSource. This allows us to minimize
the memory impact of dynamic additions/removals of l10n resources to
a context on fly.

MozReview-Commit-ID: B9fxbkaU3oX

--HG--
extra : rebase_source : efad7ec156baea0924e848acb29b62a1fe0aff40
2018-06-22 12:03:24 -07:00
Kartikaya Gupta 8ef74e941d Bug 1474300 - Update for API changes in WR PR 2871. r=Gankro
This change has WrClipId contain the ClipId type (except for clip
chains, which are handled separately) in the least significant bit of
the size_t. On 32-bit systems this limits the number of clip and spatial
nodes to 2,147,483,648 which is likely more than what WebRender can
handle.

MozReview-Commit-ID: 8ohMKqTZcKT

--HG--
extra : rebase_source : cce763be7c0637bf97e96c23f8dba5aeff34baaf
2018-07-12 10:36:04 -04:00
Kartikaya Gupta 0be7f6895b Bug 1474300 - Update Cargo lockfiles and re-vendor rust dependencies. r=Gankro
MozReview-Commit-ID: DnmlYWRlSl9

--HG--
extra : rebase_source : a5c34323fa3a28def00572fa5a137183bfeb1c54
2018-07-12 10:35:25 -04:00
Kartikaya Gupta 8ba5f9a3a2 Bug 1474300 - Update webrender to commit e600bfe68efac6416ce2e8091d7344744771f6db. r=Gankro
MozReview-Commit-ID: 2sxOBvDqDCc

--HG--
extra : rebase_source : dcdbb3c8d790ceb2d479c1d5de1396d6f63abfb8
2018-07-12 10:34:35 -04:00
Razvan Caliman 0646b123bd Bug 1459898 - (Part 2) Add test for font-size unit conversion. r=gl
MozReview-Commit-ID: JZl7igm6h6A

--HG--
extra : rebase_source : 9ec3c7bd38ccb6b90d281fc9abe1d111cdb8ca63
2018-07-12 12:34:34 +02:00
Razvan Caliman cb406e307a Bug 1459898 - (Part 1) Convert between unit types for font-size in font editor. r=gl
MozReview-Commit-ID: ByLEczMEXlH

--HG--
extra : rebase_source : 0bdd3d0f3a7292b70309e36845a6592edbc3b6ff
2018-07-05 13:30:14 +02:00
Gurzau Raul 89da18a08a Backed out changeset d93abdc258e1 (bug 1474379) for failing at test/browser_toolbox_telemetry_enter.js on a CLOSED TREE 2018-07-13 18:43:14 +03:00
Paul Adenot b042e52dd0 Bug 1472095 - Update the web-platform-tests for the Web Audio API to expect the right kind of type error. r=bz
This is the result of an execution of:

> find testing/web-platform/tests/webaudio/the-audio-api -exec sed -i "s/'TypeError'/TypeError/" {} \;

MozReview-Commit-ID: 8T0RoOobxJW

--HG--
extra : rebase_source : df093a9c433c0bab78bae0dad8570ec696aa183e
extra : intermediate-source : 1f89fc574e6ccffbdf96ae74e1151c2a8442c7c3
extra : source : 30c0660089d57c5c63a1dff88a340e1e4d5779a3
2018-07-04 16:57:37 +02:00
Paul Adenot 7a4d27aff8 Bug 1472095 - Update web-platform-test's audit.js file throw() method to be able to pass in exactly the error or exception to expect. r=bz
MozReview-Commit-ID: EU5iuLe1BZV

--HG--
extra : rebase_source : c5c25e96b35a9b31dffb18a068ebe9f6b356cb94
extra : intermediate-source : 1cfa0dff83931834502ffeebb089009360b295d6
extra : source : 4a4c1fc6c877d4b10415ffa454aa0f75a53f6a5a
2018-07-04 16:41:52 +02:00
Paul Adenot 69dd82268e Bug 1472095 - Explicitely label the assertions for DelayNode.delayTime tests, and test the error type. r=padenot
MozReview-Commit-ID: KHOiXoIAliG

--HG--
extra : rebase_source : aaaabed54509b84bab2a7e943a78261a75175e83
extra : intermediate-source : 721346b51bf37fc78c88454dd6df69f9ab1d525d
extra : source : f4dae6f9f64ceecae8cf055aa566b36b556ad715
2018-07-11 14:22:46 +02:00
Alexandre Poirot 452829e172 Bug 1474980 - Stop exporting ActorPool/OriginalLocation from server/main.js. r=jryans
MozReview-Commit-ID: Gsef6U1g46r

--HG--
extra : rebase_source : 88211a36264a8f0191b0c8d2a22f3abf4df92183
2018-07-11 10:49:45 -07:00
Alexandre Poirot 09d08ff845 Bug 1474980 - Remove deprecated DebuggerServer.addActors(). r=jryans
MozReview-Commit-ID: 8J1wucp1G0p

--HG--
extra : rebase_source : 4a40b578808667ac45519172686e4237bb61423a
2018-07-11 10:41:27 -07:00
Mark Banner 601b9aaed9 Bug 1474637 - Make DownloadCore.jsm responsible for adding all downloads to history, rather than sharing with nsExternalHelperAppService. r=paolo
MozReview-Commit-ID: GRzLlDPPsCU

Differential Revision: https://phabricator.services.mozilla.com/D2053

--HG--
extra : moz-landing-system : lando
2018-07-13 15:06:56 +00:00
Paul Adenot 1a7517e102 Bug 1421091 - Remove a bit from a gtest that is tested directly in the bindings. r=jya
This cannot happen anymore, because we're using sequence<float> and not
Float32Array in WebIDL, and sequence<float> throws when it contains Infinity or
NaN.

MozReview-Commit-ID: 9ZUbXa0viSk

--HG--
extra : rebase_source : e1783b6873caeefa1f09caf938e342f591da0056
extra : source : 5d0cce417e56935badf1e7a503f348079c8a9435
2018-07-13 14:31:53 +02:00
Paul Adenot da2d85b506 Bug 1421091 - Update wpt expectations. r=baku,karlt
MozReview-Commit-ID: 997zAYWaezz

--HG--
extra : rebase_source : 8279fe5e5488edbbb7666c3f6815d3168503559b
extra : intermediate-source : 8c22cb391d72db3be6c26550bff3aae309a8c01e
extra : source : 4f7cf608ef6658961deec726790c707f565cda73
2018-07-11 16:28:06 +02:00
Paul Adenot 60c64e2118 Bug 1421091 - Update AudioParam.setValueCurveAtTime to take sequence<float> instead of a Float32Array. r=baku
Link to the standard: https://webaudio.github.io/web-audio-api/#dom-audioparam-setvaluecurveattime

MozReview-Commit-ID: 8GwaIbQkfr2

--HG--
extra : rebase_source : aa8dd5e653de51768ff81d855fe1b8b398baa586
extra : intermediate-source : 9d34c85e0ec166fb7a117b2a85ca7cd4e98b1ceb
extra : source : d752fc72a9a35fdc0ce7b8bce94b29149eaf7639
2018-07-03 18:00:27 +02:00
Kartikaya Gupta 047b6d3cb6 Bug 1475541 - Make QR test jobs tier-1 by default. r=aryx
This patch makes the QR test platforms tier-1 by default, and removes
the ad-hoc bits that were making individual QR jobs tier-1 before.
However, it also explicitly downgrades some QR jobs to tier-2 or tier-3;
comments in the yml files indicate why.

MozReview-Commit-ID: 1UfPuhcMvIW

--HG--
extra : rebase_source : a2347f6a5929246aaba7656b59c0b8f7aa4ca081
2018-07-13 09:44:06 -04:00
Ian Moody 028a470c86 Bug 1474379 - Match regex against the entire panel ID. r=miker,rpl
So panels provided by extensions with IDs that contain words like "inspector"
don't break.
Include test in existing panel creation test.

MozReview-Commit-ID: JerMCaKRgkl

--HG--
extra : rebase_source : 59a884cb616e22e3c6062d19d223b5670cf17225
2018-07-10 17:38:35 +01:00
Patrick McManus 689f7724db Bug 1475420 - mark the TRR connection as DISABLE_TRR to avoid TXT deadlock r=valentin
MozReview-Commit-ID: 3xF3Hb5rpyh

--HG--
extra : rebase_source : 732e5c440321b8cd6bf9b189c5f97774ae338051
2018-07-12 17:48:54 -04:00
Paul Adenot 9d88819350 Bug 1472550 - Update wpt expectations. r=jya
We don't support setting the rate of an AudioParam yet, so we fail this.

MozReview-Commit-ID: 4bbnHannHvG

--HG--
extra : rebase_source : 771436213d96b352634e5af02fe62eb73cb44547
2018-07-12 17:47:09 +02:00
Paul Adenot b752303705 Bug 1472550 - Add a little regression test. r=karlt
A more involved test exists as a web-platform-tests, but we can't run it because
it makes use of AudioListener AudioParam, that we don't have right now.

MozReview-Commit-ID: 8QJ12cGVRbQ

--HG--
extra : rebase_source : 6161e33d7d8ef83eb5e16a4570a770401dd672cd
2018-07-06 18:58:21 +02:00
Paul Adenot 284eb8630d Bug 1472550 - Adjust a web platform test slightly to test that the parameter is a-rate. r=karlt
MozReview-Commit-ID: AiOHVaXVEBA

--HG--
extra : rebase_source : 7eb4af260a0f5880a2d563d47cc92bca85eff2bb
2018-07-06 15:19:01 +02:00
Paul Adenot 2ecf8157e2 Bug 1472550 - Consistently apply the distance, input and cone gain on all channels when computing the effect of a PannerNode when its AudioParams have been set. r=karlt
In the panning formula, one of the channels is always left untouched by the
panning gain, so the current setup didn't work: it would not apply the gain to
one of the channels.

MozReview-Commit-ID: LjrTlTT2z9r

--HG--
extra : rebase_source : 29aabddc7caf16427330687acbab91f9c3047d32
2018-07-05 18:17:51 +02:00
Paul Adenot cb94e70cef Bug 1472550 - Add Audio{Buffer,Block}InPlaceScale that takes an array of gain values, with SSE and NEON variants. r=dminor
MozReview-Commit-ID: FzfDObKCrEd

--HG--
extra : rebase_source : 4697a44f5369279a060d63ac495fdb034e35202b
2018-07-06 15:18:06 +02:00
Kartikaya Gupta 475557764c Bug 1475024 - Add Stringify overloads for RectAbsolute. r=bas
MozReview-Commit-ID: GLisM28IEVG

--HG--
extra : rebase_source : af648babcd1f5dfac1256deb68d229fcecbf1f43
2018-07-13 09:51:43 -04:00
Sebastian Hengst 1016484c2a Bug 1475423 - Switch back to always assuming failure for object-position-svg-001o.html. r=jgraham
MozReview-Commit-ID: JAGd0nZfM7D

--HG--
extra : rebase_source : 6896220675950607ccf829f0516204d3fc53aa2a
2018-07-13 16:14:45 +03:00
sreeise 92950020b5 Bug 1366532 - Replaced uses of 'defer' with 'new Promise' in the devtools/client/performance directory. r=gregtatum
MozReview-Commit-ID: LniNQt7Jo6Z

--HG--
extra : rebase_source : f7c575e2f3c5be75591a961da9cb4f059989eae5
2018-07-06 04:30:53 -04:00
Tim Nguyen 73bde901f3 Bug 1475509 - Stop setting custom text selection styles on dark/light themes. r=dao
MozReview-Commit-ID: 62YSwEYOn6X

--HG--
extra : rebase_source : ed68a42fffb0641e3c5506d8acfc06cf1801949a
2018-07-13 12:20:18 +01:00
Tarek Ziadé a46c616883 Bug 1474844 - Filter out empty categories - r=baku
Filters out empty categories when ChromeUtils.requestPerformanceMetrics() is called.

This test also:

- adds more test coverage
- uses the worker windowId when it has no linked window.
- properly walk to the worker parent

MozReview-Commit-ID: 3UH9a0UtVmx

--HG--
extra : rebase_source : 337b95466c7e7a30f881e881358d3b8d290f8f5b
2018-07-13 11:57:59 +02:00
Johann Hofmann 45ac034b6e Bug 1471713 - Add an animation for the tracking protection icon. r=sfoster
MozReview-Commit-ID: GBUbaoShxQi

--HG--
extra : rebase_source : 60040607f91cd0477fbf98c49b77b8ee09112a17
2018-07-05 23:45:34 +02:00
Dão Gottwald bb4ce365a2 Bug 1471705 - Fix findbar status text color for lightweight themes. r=ntim
MozReview-Commit-ID: 7mta63GhgrW

--HG--
extra : rebase_source : 5735f2a0197ce5779e52a50c615ac201d4e8183b
2018-07-12 16:28:41 +02:00
Alexandre Poirot 98f72acbf8 Bug 1000814 - Move WorkerDebuggerTransport to its own module. r=jryans
MozReview-Commit-ID: I1eFQCDLaDh

--HG--
extra : rebase_source : e3daaa5fa8e452b514a482addcedded86998ab9b
2018-07-11 08:44:55 -07:00
Alexandre Poirot 9e8c15b15c Bug 1000814 - Move ChildDebuggerTransport to its own module. r=jryans
MozReview-Commit-ID: FgTVee7NLyC

--HG--
rename : devtools/shared/transport/transport.js => devtools/shared/transport/child-transport.js
extra : rebase_source : a077c10f7a9ed0c8688db2f06bf10ab538f37c8a
2018-07-11 08:38:53 -07:00