Commit Graph

588055 Commits

Author SHA1 Message Date
Tim Nguyen
9458999c51 Bug 1449118 - Force SVGs to load when running the twisty reftest. r=dholbert
MozReview-Commit-ID: HxU0B0Bxwgp

--HG--
extra : rebase_source : dabe4a34d31de13b7d2d42d054463ccef3020913
2018-03-28 21:38:31 +00:00
Kartikaya Gupta
d6673c9aad Bug 1449620 - Extract an APZUpdater class from APZSampler. r=botond
The APZUpdater class holds the methods that are to be run on the updater
thread. Note that there are a few differences between the APZSampler and
APZUpdater classes - most notably, APZSampler no longer has a
"RunOnSamplerThread" function because there should never be any need to
dispatch runnables to the sampler thread. There is still a
RunOnUpdaterThread in APZUpdater, as well as a mechanism for dispatching
runnables to the controller thread via the updater thread.

MozReview-Commit-ID: LLVWzRyhYWl

--HG--
extra : rebase_source : d3d2ae18b40f24473cab5567a48b67b8f478a733
2018-03-28 18:36:42 -04:00
Bastien Orivel
bb7f1ae6d9 servo: Merge #20468 - Fix style/build_gecko.rs for log 0.4 on a CLOSED TREE (from Eijebong:fix_log); r=mbrubeck
Fix style/build_gecko.rs for log 0.4

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 554579cfa9710b847cbcf309927cb85735ff6aa6
2018-03-28 17:18:31 -04:00
Marcin Mielniczuk
cd3af521de servo: Merge #20246 - Use higher level handles from JS bindings (from marmistrz:test-lifetime-handles); r=jdm
…reak servo

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix https://github.com/servo/rust-mozjs/issues/153

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because this is just migration to a lifetimed API
<!-- 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: 914952487bcbba0a31db8aefc4a9487903721959

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 42a821264f87e446c0ea44718656b99fb2c3541c
2018-03-28 16:22:01 -04:00
David Keeler
d8435632fc bug 1424311 - don't persist the certificate exception dialog's size so it doesn't grow unboundedly r=jcj
window.sizeToContent() apparently interacts poorly with windows that have a
persisted size (see bug 90276, which is a 5-digit bug that hasn't been touched
in over a decade). As a workaround, don't persist the certificate exception
dialog's size. This means we have to call window.sizeToContent() more often and
unfortunately results in the window growing and shrinking again on Windows, but
at least it will always be the "right size" for its content.

MozReview-Commit-ID: 9UT3X8IEqZg

--HG--
extra : rebase_source : 9d968748bd77328eea4ae11e1ae746de9401fb4d
2018-03-28 13:43:03 -07:00
Mike Shal
379ad678f3 Bug 1449623 - Export MOZ_BUILD_DATE for buildid.h; r=chmanchester
MozReview-Commit-ID: HnlTcIKQwJC

--HG--
extra : rebase_source : 912a6dd3d2cf5e4761c4ae602e2d952a4e79c36f
2018-03-28 14:30:02 -04:00
Mike Shal
40c491ba27 Bug 1449623 - Rework exports in the tup backend; r=chmanchester
In some cases we need to export other environment variables, so make it
easier to track them.

MozReview-Commit-ID: 82OOlRTdhH0

--HG--
extra : rebase_source : 1256098d1bdae9ab13bfe5a149ee33d509ead3f4
2018-03-27 17:26:56 -04:00
Mike Conley
6424c99346 Bug 1447193 - Remove all displayport suppression logic from AsyncTabSwitcher. r=dthayer
It looks like TabChild::RenderLayers already does the work of suppressing the displayport,
so all of the suppression and bookkeeping that AsyncTabSwitcher is doing is superfluous
and probably opening us up to weird graphical glitches (like the one associated with this
bug).

MozReview-Commit-ID: 5qIVguSMsnr

--HG--
extra : rebase_source : 35f944a324415401c4a28ed0006baf9361ef73c8
2018-03-23 16:10:17 -04:00
Andrew Halberstadt
9e33bd488e Bug 1448533 - Honour the 'test.format' machrc config setting in |mach xpcshell-test|, r=gbrown
Since |mach xpcshell-test| was already defaulting to the 'mach' format, this will be a no-op
for most people. For anyone who had:

[test]
format=tbpl

in their machrc file, this will start working for xpcshell tests.

MozReview-Commit-ID: LwIlh0lefN6

--HG--
extra : rebase_source : 5231e18c57e1aa3aacbc6d332127b7c9e2f9111f
2018-03-26 11:51:21 -04:00
Gurzau Raul
caf04b916e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-29 00:59:08 +03:00
Gurzau Raul
d117255a14 Merge inbound to mozilla-central. a=merge 2018-03-29 00:55:16 +03:00
Gurzau Raul
c6706798ae Merge autoland to mozilla-central. a=merge 2018-03-29 00:53:43 +03:00
ffxbld
3a0bbe90a6 No bug, Automated HPKP preload list update from host bld-linux64-spot-324 - a=hpkp-update 2018-03-28 13:43:42 -07:00
ffxbld
cb9393f7c7 No bug, Automated HSTS preload list update from host bld-linux64-spot-324 - a=hsts-update 2018-03-28 13:43:38 -07:00
Csoregi Natalia
3854319e77 Backed out changeset de19108477c7 (bug 1447193) for not fixing the issue- requested. CLOSED TREE 2018-03-28 21:16:32 +03:00
Andrew Osmond
9fdad4e863 Bug 1433351 - Add nsBaseHashtable::EntryPtr::OrRemove method to abort nsBaseHashtable::LookupForAdd on miss. r=froydnj
In SourceSurfaceImage::GetTextureClient, we use LookupForAdd. This is
because we typically will create a new TextureClient if there isn't
already one created. This creation can fail because the size is too big,
or we don't have the memory available for it. Unfortunately LookupForAdd
is an infallible operation; it is expected we will always add something
to the hashtable if we don't find an entry. This patch adds an OrRemove
method to cover the corner case where we are unable to complete the
insertion.
2018-03-28 12:58:49 -04:00
Olli Pettay
be34eacad1 Bug 1441277 - nsINode needs better documentation on GetComposedDoc vs GetUncomposedDoc, r=annevk 2018-03-28 19:51:14 +03:00
David Major
633025855c Bug 1439988: Use a full progress meter to avoid flakiness from animation. r=enndeakin 2018-03-28 12:32:10 -04:00
Cosmin Sabou
7e663b9fa5 Backed out changeset d345b546edce (bug 1440789) for Android nightly build bustages. a=backout 2018-03-28 16:59:28 +03:00
Cosmin Sabou
b25da47eb2 Merge inbound to mozilla-central. a=merge 2018-03-28 12:49:56 +03:00
ui.manish
ca709a63db Bug 1429396 - Remove toolkit/content/global/XPCNativeWrapper.js r=mconley 2018-03-28 09:53:33 +02:00
Cosmin Sabou
2d914e1cb2 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
extra : amend_source : c56b02fe575cf7fbc84a8bd63cc53d80a793958f
2018-03-28 18:56:37 +03:00
Jon Coppeard
c5619778b2 Bug 1449541 - Don't hold script data lock while calcuating hash r=jandem 2018-03-28 16:41:16 +01:00
Jon Coppeard
b8bf9f960f Bug 1449153 - Handle errored module in GetModuleNamespace() r=anba 2018-03-28 16:40:17 +01:00
Cosmin Sabou
619e0c5b90 Backed out 3 changesets (bug 1449321, bug 1449566, bug 1449565) as per developer request.
Backed out changeset c31de7e26809 (bug 1449565)
Backed out changeset 72f9188800af (bug 1449566)
Backed out changeset 763277b299e4 (bug 1449321)

--HG--
extra : rebase_source : 212b357a3079dff30845a5f82e47b94e2d7f93cd
2018-03-28 18:10:11 +03:00
Bob Owen
cfaaf3c336 Bug 1449480: Don't crash in opt builds when scoped_handle.cc CloseHandleWrapper fails. r=jimm
I'm not adding a patch to security/sandbox/chromium-shim/patches for this,
because we need to get this fixed ASAP, certainly before we take another update.
2018-03-28 16:07:15 +01:00
Cosmin Sabou
94d2d2f33f Backed out changeset ca46aca41fec (bug 1449072) for xpcshell failures on xpcshell/test_install.js. CLOSED TREE 2018-03-28 09:15:52 +03:00
Cosmin Sabou
f75ec2fc9c Backed out changeset 3a8afc1650db (bug 1311145) for mochitest browser chrome failures on browser_all_files_referenced.js. 2018-03-28 08:33:41 +03:00
Ryan Hunt
2be42a45f6 Bug 1448485 - Remove assert in APZCallbackHelper and add comment about case it was triggered by. r=kats
MozReview-Commit-ID: IbXNISatv3Q

--HG--
extra : rebase_source : d88637454e58be5c18a1fa1dc0588a04eddc274c
2018-03-27 16:16:26 -05:00
Ed Lee
5f43fddf38 Bug 1449294 - Capture thumbnails with tracking protection always enabled. r=adw
MozReview-Commit-ID: Lt389lmJASW

--HG--
extra : rebase_source : f0af8f94e3b1897d929841d192f5a52307d1f4e0
2018-03-27 12:19:44 -07:00
Servo VCS Sync
fcc0405926 No bug - Revendor rust dependencies
--HG--
rename : third_party/rust/env_logger/src/regex.rs => third_party/rust/env_logger-0.4.3/src/regex.rs
rename : third_party/rust/env_logger/src/string.rs => third_party/rust/env_logger-0.4.3/src/string.rs
2018-03-28 20:23:10 +00:00
Bastien Orivel
6cccb0a3eb servo: Merge #20465 - Bump env_logger to 0.5 and log to 0.4 in every servo crate (from Eijebong:log); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 12d82fe621947c2b29b12d9c9e9a81b0f4baa117

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2700938c990b720e4f47039361e256bc239a55df
2018-03-28 15:08:52 -04:00
Tim Nguyen
f07efd7106 Bug 1449323 - Make popup_highlight_* properties affect the one-off engines highlight. r=dao
MozReview-Commit-ID: KtW1lSLmx3S

--HG--
extra : rebase_source : 7cbea47a3448956cb672bd530653d065f6b7fe7f
2018-03-27 23:46:51 +02:00
Kartikaya Gupta
fb7f70182b Bug 1447299 - Ensure all APZSampler functions run on the sampler thread. r=botond
Functions in APZSampler that are only invoked without WR (e.g. from
AsyncCompositionManager only) can be asserted as running on the sampler
thread. Functions that are invoked with WR need to be bounced onto the
sampler thread. In all cases the functions are called from the
compositor thread, and so we assert that as well.

MozReview-Commit-ID: JPgGlgUUsgg

--HG--
extra : rebase_source : 8b950d3386e1e64e766b76edaa7894b251fb8664
2018-03-28 14:57:06 -04:00
Kartikaya Gupta
b015c3b3ec Bug 1447299 - Bounce PAPZCTreeManager controller messages through the sampler thread. r=botond
The methods on PAPZCTreeManagerParent are always invoked on the
compositor thread, which currently is always the same as the sampler
thread. When it does RunOnControllerThread calls, there is an implicit
ordering with respect to the sampler thread, because the controller
thread messages are always dispatched *from* the sampler thread.
When we move the sampler thread to be the render backend thread, we have
to preseve this implicit ordering, but we have to make it more explicit.

For example, if a content process sends a layers update followed by
a SetTargetAPZC message, it expects that the APZ will process them in
that order, as the SetTargetAPZC might refer to a scrollframe that was
just layerized. Currently, both these messages arrive on the compositor
thread; the layers update is processed directly as the compositor thread
is the sampler thread, and then the SetTargetAPZC message is bounced to
the controller thread. However, if the compositor thread is not the
sampler thread, then we would bounce the layers update to the sampler
thread, and bounce the SetTargetAPZC to the controller thread,
introducing a race. If SetTargetAPZC runs first bad things happen. The
solution in this patch is to bounce the SetTargetAPZC to the sampler
thread as well, so that it gets bounced to the controller thread only
after we have processed the layers update.

This patch accomplishes that by introducing a method on APZSampler that
does this "double bounce".

MozReview-Commit-ID: KI9wQQ9PZT4

--HG--
extra : rebase_source : 79d0d36a649f11cc795148cc86539a526c8beeae
2018-03-28 14:57:01 -04:00
Kartikaya Gupta
cf0569e64e Bug 1447299 - Have the APZCTreeManagerParent store a reference to the APZSampler. r=botond
MozReview-Commit-ID: BNhkhFAmYP8

--HG--
extra : rebase_source : 43ff9d5f74add3b8b8b0cf651d06a14d8ec82885
2018-03-28 14:56:55 -04:00
Kartikaya Gupta
eacf1f2dcc Bug 1447299 - Move the RunOnControllerThread from APZCTreeManager::SetLongTapEnabled to the caller. r=botond
This is functionally a no-op (it just moves the thread-bouncing code
from inside APZCTreeManager::SetLongTapEnabled to the call site in
APZCTreeManagerParent. The other call site, in
widget/android/nsWindow.cpp, is already known to be running on the
controller thread (which would be the Java UI thread in that case).

This makes the code in APZCTreeManagerParent more consistent and
simplifies the next changes.

MozReview-Commit-ID: 8VfEDVVFNl8

--HG--
extra : rebase_source : 02225ed5b80129a1d18b429eff93866a33d4ea86
2018-03-28 14:56:48 -04:00
Kartikaya Gupta
3c26f7183f Bug 1447299 - Move the sampler thread util functions from APZThreadUtils to APZSampler. r=botond
Note that this also makes the utility functions instance methods,
because each APZSampler might have a different sampler thread instance.

MozReview-Commit-ID: 9dY8ZzVX6lR

--HG--
extra : rebase_source : 4dd58400aee5d9f2063abe0a912488b28ff74f9f
2018-03-28 14:56:41 -04:00
Kartikaya Gupta
4bbad90793 Bug 1447299 - Have the APZCTreeManager keep a pointer to the sampler. r=botond
MozReview-Commit-ID: GiITwCDuWAW

--HG--
extra : rebase_source : 13a288785c0c3d7d0374e253f4211bfe7c5540bc
2018-03-28 14:55:58 -04:00
Ryan Hunt
c371c4f33a Check if FilterNodeCapture was able to successfully validate (bug 1447428, r=bas)
--HG--
extra : rebase_source : e236b64a6733cddfb43caf83373dc8e874bcfb42
2018-03-26 12:48:57 -05:00
Henri Sivonen
828fac8d2c Bug 1448588 - Assume contiguous XPCOM strings in txDouble. r=peterv.
MozReview-Commit-ID: 9gDx13PNFWr

--HG--
extra : rebase_source : aeee559d77cab127a4f52a6e83455f6f41454f72
2018-03-24 21:24:25 +02:00
Xidorn Quan
65e2284ca0 Bug 1449103 part 3 - Merge ServoGroupRuleRules into GroupRule. r=emilio
MozReview-Commit-ID: 83rI7gydEUd

--HG--
extra : rebase_source : 79dcfe8f2fb3839130af1ed5833c6b8c57491e04
2018-03-28 12:25:36 +11:00
Xidorn Quan
637c9b2a86 Bug 1449103 part 2 - Make CSSKeyframesRule inherit from Rule directly. r=emilio
The spec doesn't say CSSKeyframesRule needs to inherit CSSGroupingRule.
It inherited GroupRule because Gecko's keyframes rule implementation
relies on that to manage its children.

MozReview-Commit-ID: CnVP2tozwQU

--HG--
extra : rebase_source : 63c61d7b7d003ff82bd73e183516f6076a2dafb6
2018-03-28 12:23:58 +11:00
Xidorn Quan
70a598f41e Bug 1449103 part 1 - Make Rule::mParentRule not necessarily a GroupRule. r=emilio
For part 2, where CSSKeyframesRule will inherit directly from Rule while
it is parent rule for its CSSKeyframeRules.

It seems there is nothing relying on mParentRule being a GroupRule so we
can just change it.

MozReview-Commit-ID: Cyte6h3Q2LB

--HG--
extra : rebase_source : 01ac2ab201a1438aa73eadc5cce0ea67e164ecce
2018-03-28 12:20:41 +11:00
Yusuf Simonson
41933109ad servo: Merge #20450 - Properly rethrow any exceptions from parsing JSON in Body mixin's Json() (from ysimonson:fix-13464); r=jdm
This fixes #13464 by rethrowing exceptions from parsing JSON.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #__ (github issue number if applicable).
- [X] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: 25dcd0ecfd4cb7a844f00696730cb0d3ab4b198c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6d221fe0611ecdbea8ff6c2f32d8d7621ddf27b7
2018-03-27 22:44:32 -04:00
Anthony Weston
07097ddab9 servo: Merge #20430 - Pass new method in CollectServoSizes to get size of ObjectPrivateVisitor (from aeweston98:aew-issue7084); r=jdm
<!-- Please describe your changes on the following line: -->
These changes are the servo changes to allow the measurement of DOM objects with the ObjectPrivateVisitor API. Two new functions have been added MemoryReporter and get_size, which are passed as function pointers to two updated mozjs functions. Currently these changes rely on a branch version of mozjs, which has an [open pull request](https://github.com/servo/rust-mozjs/pull/409).

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #7084 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because _____

<!-- 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: 339146ae1566fc35e47ccc4fba1471a9123d039d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 61df47854e0fd7725b25202c298646f52f5b4b4b
2018-03-27 21:21:56 -04:00
Emilio Cobos Álvarez
32f0cfbe75 No bug - remove duplicated condition likely due to merge mess. r=me
MozReview-Commit-ID: AO7nmkUIs82
2018-03-28 03:17:59 +02:00
Jonathan Watt
a86c2a4a02 Bug 1449565 - Remove the aGeckoParentRule parameter from css::Loader's InsertChildSheet and LoadChildSheet. r=emilio 2018-03-23 17:02:35 +00:00
Jonathan Watt
9e1dc4eece Bug 1449566 - Remove GenericSpecifiedValues::ShouldIgnoreColors. r=emilio 2018-03-23 16:40:12 +00:00
Jonathan Watt
41622cb3a7 Bug 1449321 - Remove the IsServo and IsGecko methods from the style system code. r=emilio 2018-03-23 16:01:34 +00:00