Commit Graph

585479 Commits

Author SHA1 Message Date
Kartikaya Gupta
778e7fae97 Bug 1443792 - Remove direct access to AsyncPanZoomController from ContainerLayerComposite. r=botond
MozReview-Commit-ID: 7CiK7bzDcPW

--HG--
extra : rebase_source : 468e2c1e09fb03fdefc21262aeb93e7086eda50d
2018-03-12 16:06:38 -04:00
Kartikaya Gupta
bb2e76ca71 Bug 1443792 - Remove direct access to AsyncPanZoomController from AsyncCompositionManager. r=botond
MozReview-Commit-ID: FA8XFOhy1wk

--HG--
extra : rebase_source : ad6085abeb2a43e5af73cfdbe575fc148c05785f
2018-03-12 16:06:38 -04:00
Kartikaya Gupta
86032d9307 Bug 1443792 - Tighten the equivalence between a layer being scrollable and having an APZC. r=botond
If we can assume that a layer being composited has an APZC at index i if and
only if the frame metrics at index i is scrollable, then we can do the
transformations in the next patch without any change in functionality.

MozReview-Commit-ID: FRkvhwdd3nh

--HG--
extra : rebase_source : f1bee292305730079b3208e447330028c1a40727
2018-03-12 16:06:37 -04:00
Kartikaya Gupta
bfc7d9097f Bug 1443792 - Move ComputeTransformForScrollThumb to APZCTreeManager. r=botond
This makes more sense in APZCTreeManager, but is exposed back to
AsyncCompositionManager via APZSampler. This also makes the APZ code
better encapsulated since the method API exposed on APZSampler doesn't
need to take a AsyncPanZoomController; it can just take the
LayerMetricsWrapper instead.

MozReview-Commit-ID: 9yJJd3x8VhN

--HG--
extra : rebase_source : b6f81116183810df158d8cce72891bb2db458355
2018-03-12 16:06:37 -04:00
Kartikaya Gupta
9edc276575 Bug 1443792 - Move the SampleAPZAnimations function into APZSampler. r=botond
MozReview-Commit-ID: 2KIQ5A2J7m9

--HG--
extra : rebase_source : c3fa7b3ff696413552d8659796438fc67c6e7202
2018-03-12 16:06:37 -04:00
Sebastian Hengst
63c51237ff Bug 1443849 - Part 4: Fix broken tabbrowser.xml after merge conflict. CLOSED TREE 2018-03-13 20:23:49 +02:00
vprabhu
05d537471b Bug 1441495 - Removed signing support from mozharness. r=catlee
MozReview-Commit-ID: BNv6NUrE7gn

--HG--
extra : rebase_source : ea40827b4c6dd3f10700ac08e6e455834132880b
2018-03-03 09:11:57 +05:30
Sylvestre Ledru
fd2808c467 Bug 1445245 - Add more directories in the codespell whitelist r=ahal
MozReview-Commit-ID: 5dLm1fus7J0

--HG--
extra : rebase_source : b8359df8fc65f3382f37b891f1bbf1ed5c58da1d
2018-03-13 14:50:20 +01:00
Tom Ritter
04cae16024 Bug 1444588 - Move LRUCache Initialization to startup rather than lazily. r=baku
Before, we would initialize LRUCache on the first instance of
calling the Timer Precision Reduction functions. We would both
allocate and initialize it, and call ClearOnShutdown.

ClearOnShutdown can only be called on the Main Thread, but it
just so happened that we always did that, so there was no
problem. Now that we are not calling precision reduction for
system callers, we were initializing on a non-main-thread and
we need to avoid that.

In the future, we could reduce memory use IF we are not using
the timer precision reduction functions by figuring out how
to initialize this lazily but still on the main thread. For
now, because we are using the timer precision reduction
functions, doing so would not save us any memory.

MozReview-Commit-ID: 6YGeAlCPReZ
2018-03-13 10:58:59 -07:00
Gijs Kruitbosch
a55246c7fc Bug 1371888 - Stop having a sync IPC message to pass blocklist state, r=florian
Because plugin state in the content now contains blocklist state, and is updated
when the blocklist updates, we don't need to ask the parent if we're checking
blocklist state. All the consumers should now be asking the plugin code directly,
so we can stub out the last API here. We should look at removing the content side
of this service entirely, but that's something for a follow-up bug.

MozReview-Commit-ID: DE8s8RwT42r

--HG--
extra : rebase_source : 06fbc304e99679f55c7cdc52404cd138221feca3
2018-03-06 16:37:49 +00:00
Gijs Kruitbosch
ca508d989b Bug 1371888 - cache plugin information in pluginreg.dat to avoid sync startup load, r=florian,mossop
This changes the pluginreg.dat format to include the blocklist state.

There is now only the saved blocklist state in a plugin tag instance, rather than
looking it up from in there using the blocklist service, so it was renamed from
mCachedBlocklistState to mBlocklistState. We pass the 'right' state to the plugin
instance when the plugintag is constructed. If we don't have state, we mark it as
unblocked.

mCachedBlocklistStateChanged was never read so it's being removed.

Bug 1439519 adds a 'blocklist-loaded' notification that is fired once the blocklist is loaded.
The plugin host implementation will listen to this in the parent process and update the
blocklist state of all the plugins, and broadcast changes to the child process, just like when
we update the blocklist from the server. We now also avoid re-sending plugin content to the
content processes if the plugin state hasn't changed as a result of the blocklist having been
loaded.

Finally, because new plugins should still get an up-to-date blocklist state, and
telemetry should get up-to-date data about which plugins are and aren't enabled
once we have that data, we ensure that once we've loaded the blocklist async,
we schedule an idle task to parse it and consider it loaded.

All this means that plugin blocklist information could be mistaken between the points where
a new plugin is installed and we first run Firefox with the new plugin, and the point where
we load the blocklist. Given the trade-offs, that size of window (tiny) seems OK, also given
that there's already a much larger window in blocklist updates (which only happen once every 24h).

MozReview-Commit-ID: 1gsojRkUzTw

--HG--
extra : rebase_source : 4709916b4674ada54f8a495fd2d16fcef8c58d20
2018-02-20 16:53:48 +00:00
Dão Gottwald
ff2e63c19e Bug 1445337 - Send Reader:PushState message to the correct browser. r=Gijs
MozReview-Commit-ID: HmNFGgCgRTc

--HG--
extra : rebase_source : 476bb2203e2825c9d995b42bdf7308628a2a1b69
2018-03-13 18:17:43 +01:00
Andreea Pavel
11bec2e097 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-13 19:26:13 +02:00
Andreea Pavel
8fa0b32c84 Merge mozilla-inbound to mozilla-cenral. a=merge 2018-03-13 19:01:32 +02:00
Nathan Froyd
2f491089d2 Bug 1340588 - enable clang-cl to generate depfiles directly, rather than using a wrapper; r=build-peer
We use a wrapper script when compiling with MSVC to parse the
/showIncludes output and thereby generate a Makefile dependency
fragment.  This fragment enables us to do correct and faster incremental
builds.  But the cost of invoking the wrapper script can be significant;
it's an extra process or two to launch for every single compilation.

Instead, let's have clang-cl generate the dependencies directly, which
should be somewhat faster.
2018-03-13 09:06:00 -05:00
Andreea Pavel
2c3aa80457 Backed out changeset 9e3a9fb7c903 (bug 1373708) for devtools failures at browser/base/content/test/static/browser_all_files_referenced.js and xpcshell failures at toolkit/mozapps/extensions/test/xpcshell/test_webextension_install.js on a CLOSED TREE 2018-03-13 15:46:12 +02:00
Nathan Froyd
b9b5a1379d Bug 1444971 - fix diagnostic assert condition in ReadStream; r=baku
Using MOZ_DIAGNOSTIC_ASSERT_ENABLED here is a little clearer than
RELEASE_OR_BETA and makes disabling diagnostic assertions globally
easier.
2018-03-13 09:47:07 -04:00
Yura Zenevich
89b8270203 Bug 1438912 - by default, do not navigate to next node on ArrowRight key. r=nchevobbe
MozReview-Commit-ID: KQlHIA7pYAn
2018-03-13 09:39:46 -04:00
Andrew Osmond
26b8f527e1 Bug 1444387 - Part 2. Ensure we use NOT_READY for empty image containers with WebRender. r=jrmuizel
When we fail to generate an image key for an image, it is likely because
the image container is empty. This is not a fatal error, it just means
we haven't produced a frame yet. We should be using NOT_READY instead of
BAD_IMAGE as a result. This is important because reftests rely upon
these error codes to know whether or not they should wait; it could
cause intermittent failures.
2018-03-13 09:16:04 -04:00
Andrew Osmond
fcec47e7bd Bug 1444387 - Part 1. Avoid using fallback if an image is not ready. r=jrmuizel
If an image container is empty, it will not produce an image key for use
with WebRender. This is generally not a sign of failure because the
producer likely has yet to populate the container with data. As such, we
should not immediately attempt to fallback. In fact, fallback can make
things worse in this situation, as we will create an image client to
send over the data, but then find that there is no data to share (or
find that there is, due to a race with the producer thread, and use
image clients when we could use shared surfaces).
2018-03-13 09:16:04 -04:00
Jon K
c6c197da1e Bug 1441844 - Remove unused --chrome-nav-bar-separator-color variable. r=dao 2018-03-13 13:59:46 +01:00
Sebastian Hengst
431aba4b0e No bug - Fix eslint fix failures from conflict between new eslint rule and changes affecting inspector's animation tests. r=eslint-fix CLOSED TREE 2018-03-13 14:11:55 +02:00
Narcis Beleuzu
b8322a1ce7 No bug - add back curly brace deleted during merge conflict. r=eslint-fix CLOSED TREE 2018-03-13 13:16:53 +02:00
Trisha
6969116605 Bug 1444054 - Replace promiseWaitForCondition with TestUtils.waitForCondition in browser_devices_get_user_media_screen.js. r=johannh 2018-03-13 00:14:30 +08:00
Trisha
50244b7020 Bug 1443866 - Use TestUtils.waitForCondition in browser_devices_get_user_media_multi_process.js. r=johannh 2018-03-13 16:02:55 +08:00
Edouard Oger
eab36e5c7e Bug 1443593 - Remove FxA preferences from search results when FxA is disabled. r=markh
MozReview-Commit-ID: 3x5wuJLDVWN

--HG--
extra : rebase_source : ad164b45d57a0a477a74192e04ca994443b8588c
2018-03-09 14:36:59 -05:00
Mike Conley
62afea2749 Bug 1358719 - Add window resize reflow test. r=florian
MozReview-Commit-ID: 57mLswnXhC8

--HG--
extra : rebase_source : 136833da5984e9b2e5d150a497aad1d7eb632f5d
2018-03-07 13:29:25 -05:00
Liang-Heng Chen
a25cefc942 Bug 1373708 - Convert Jar channels to stop using main thread I/O, r=nwgh 2018-03-01 08:12:00 +02:00
Narcis Beleuzu
298d1d55b5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-13 12:36:54 +02:00
Emilio Cobos Álvarez
de099db7bd Bug 1444905: Remove scoped style support from the old style system. r=xidorn,smaug
Summary: It uses two node bits that can be better suited for something else.

Reviewers: xidorn, smaug

Bug #: 1444905

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

MozReview-Commit-ID: HIPDtHm6xpM
2018-03-13 10:26:13 +01:00
Sylvestre Ledru
4d822b0f13 Bug 1437877 - Updater tests: Disable -Wformat-truncation until the reported issues are fixed r=glandium 2018-03-13 09:59:50 +01:00
Emilio Cobos Álvarez
5d0783a9b1 Bug 1443864: Apply size constraints on nsXULWindow too. r=bz
MozReview-Commit-ID: BwL4sEDlVKl
2018-03-13 09:06:08 +01:00
Emilio Cobos Álvarez
17f8b43bb3 Bug 1444908: Devirtualize nsIDocument::Get/SetXMLDeclaration. r=smaug
Summary: I missed these two.

Reviewers: smaug

Bug #: 1444908

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

MozReview-Commit-ID: 8JYhlQ9CiDz
2018-03-13 09:03:11 +01:00
Narcis Beleuzu
4a485262ea Backed out changeset bae5dd6b9a2a (bug 1351685) for devtools failres on browser_boxmodel_editablemodel.js
--HG--
extra : rebase_source : 3c90a51aa831ecea39751d39780c4b57efba0fa3
2018-03-13 09:54:44 +02:00
Julian Seward
7258d29b3b Bug 1442603 - Background Hang Reporter: increase timeouts when running on Valgrind. r=mystor.
--HG--
extra : rebase_source : 94fe50d6e7a2df501ca05cd3327d51b560e1e4e4
2018-03-13 08:42:43 +01:00
Daisuke Akatsuka
9bff79382a Bug 1431573 - Part 12: Add tests. r=gl
MozReview-Commit-ID: E9WzhYeUm5R
2018-03-13 16:45:20 +09:00
Daisuke Akatsuka
c4bdd329b4 Bug 1431573 - Part 11: Stop UI event propagation. r=gl 2018-03-13 16:45:20 +09:00
Daisuke Akatsuka
163612bb18 Bug 1431573 - Part 10: Reflect to stop animation. r=gl
MozReview-Commit-ID: DZ4itacGnV4
2018-03-13 16:45:20 +09:00
Daisuke Akatsuka
0a164b4fc5 Bug 1431573 - Part 9: Implement toggle pause/resume function by key board. r=gl
MozReview-Commit-ID: 7p1Iu54gIR8
2018-03-13 16:45:20 +09:00
Daisuke Akatsuka
76fa83958c Bug 1431573 - Part 8: Implement progress bar in keyframes. r=gl
MozReview-Commit-ID: GE5Of8VklAJ
2018-03-13 16:45:20 +09:00
Daisuke Akatsuka
8e2ce21c24 Bug 1431573 - Part 7: Implement scrubber. r=gl
MozReview-Commit-ID: B6CeCDWawym
2018-03-13 16:45:19 +09:00
Daisuke Akatsuka
86f02f7e63 Bug 1431573 - Part 6: Make summary graph reflect to playback rate. r=gl
MozReview-Commit-ID: HFffrPAyJIh
2018-03-13 16:45:19 +09:00
Daisuke Akatsuka
52ef56fb66 Bug 1431573 - Part 5: Implement playback rate chooser. r=gl
MozReview-Commit-ID: KK5C6TBhA5X
2018-03-13 16:45:19 +09:00
Daisuke Akatsuka
162722dd52 Bug 1431573 - Part 4: Implement time label. r=gl
MozReview-Commit-ID: Cg6A4hNLXnO
2018-03-13 16:45:19 +09:00
Daisuke Akatsuka
49b1360194 Bug 1431573 - Part 3: Implement rewind button. r=gl
MozReview-Commit-ID: H7XX5rUIqZG
2018-03-13 16:45:18 +09:00
Daisuke Akatsuka
08f5cb2f12 Bug 1431573 - Part 2: Implement pause/resume button. r=gl
MozReview-Commit-ID: 9oEHKNl5rnU
2018-03-13 16:45:18 +09:00
Daisuke Akatsuka
0e0ffda971 Bug 1431573 - Part 1: Implement base of animation toolbar. r=gl
MozReview-Commit-ID: 29257Nvq6Z
2018-03-13 16:45:18 +09:00
Daisuke Akatsuka
3c2bb2dae4 Bug 1431573 - Part 0: Make functions in animation.js alphabetize. r=gl
MozReview-Commit-ID: BbTjVnc5qqv
2018-03-13 16:45:18 +09:00
Sylvestre Ledru
28ed02ca28 Bug 1437877 - Updater: Disable -Wformat-truncation until the reported issues are fixed r=glandium
MozReview-Commit-ID: 92L3jTPrBcP

--HG--
extra : rebase_source : b1257fd333c18627c200bd57b8b5f2e1da416742
2018-03-10 17:06:46 +01:00
Daniel Stenberg
c999b36f90 bug 1441131 - TRR: proxy storage removal to the mainthread r=valentin
MozReview-Commit-ID: K4Ar0RbSRzS

--HG--
extra : rebase_source : 6cefcc668f6004a59c09b065f2152250dbc83879
2018-03-12 15:57:13 +01:00