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

585472 Коммитов

Автор SHA1 Сообщение Дата
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
Margareta Eliza Balazs ca8cc145d5 Backed out 2 changesets (bug 1443942) for mda assertion failures in /build/build/src/dom/media/ChannelMediaResource.cpp
Backed out changeset e2f69088b1d7 (bug 1443942)
Backed out changeset 446bfe8412cb (bug 1443942)
2018-03-13 07:14:32 +02:00
Boris Zbarsky 4d6354d826 Fix lint failures (one from the merge in rev a97e078dcacb, one apparently preexisting. r=bzbarsky, No bug 2018-03-13 00:38:57 -04:00
Igor Gutorov 5cede92964 servo: Merge #20283 - style: Fix a typo in Integer struct docs (from gootorov:patch-1); r=jdm
<!-- Please describe your changes on the following line: -->
Fix a typo in `Integer` struct documentation.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] These changes fix #__ (github issue number if applicable).
- [x] These changes do not require tests because: documentation

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: ac71266987ff39483faebd58d4359eef956ae5cf

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f8b3c353ac9fe754a652fbbceee8de2d8b677cf7
2018-03-12 20:26:53 -04:00
Doug Thayer c8a5a6165c Bug 1442068 - Record last probable cause of tab switch spinner r=mconley
MozReview-Commit-ID: mQnySbkQyH

--HG--
extra : rebase_source : dfad446ff95e364e822d1ae2ea8ecbf84bd9662f
2018-03-12 15:16:26 -07:00
Doug Thayer 3d270718e1 Bug 1442068 - Add diagnostic probe for tab switch spinners r=liuche
We currently have a few probes which measure how long tab switch
spinners are displayed, but we have little information into their
source. In diagnosing and attempting to lower the number of
spinners that users see, we could use more information about
their source to help prioritize and narrow in on regions of code.

MozReview-Commit-ID: Cw4ejOM9ZSl

--HG--
extra : rebase_source : c44307ab1195eaeda43e10302e10756b366a2740
2018-03-01 15:03:03 -08:00
Andrew Halberstadt be2e6d661c Bug 1443557 - Start using the 'mach' formatter by default in |mach test| and |mach mochitest|, r=gbrown
This was originally supposed to be fixed in bug 1421799, but I either forgot to
switch the flag, or accidentally clobbered it while resolving conflicts.

MozReview-Commit-ID: Im8OKbswEf0

--HG--
extra : rebase_source : 1104969aca56b62f8f302225fd11a509a73a3960
2018-03-12 16:46:53 -04:00
Andrew McCreight 47cc3bb70c Bug 1445073 - Pass XPTInterfaceDirectoryEntry into xptiInterfaceEntry::Create(). r=njn
Also, I set some flags in the ctor instead of later and I also removed
a comment which refers to SetHeader(), which does not exist any more.

MozReview-Commit-ID: 27mcRTnanrZ

--HG--
extra : rebase_source : ec87aed9fa46c2202b607cbcdb4c8347eaa50949
2018-03-12 11:17:48 -07:00