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

587257 Коммитов

Автор SHA1 Сообщение Дата
MaximilianDauner 76d07ca4c5 servo: Merge #20404 - GamepadButtonList::sync_from_vr should use more iterators #20392 (from MaximilianDauner:issue_20392); r=jdm
<!-- Please describe your changes on the following line: -->
Used the zip function instead of iterating over both vectors with an indexing variable and using unwrap.

---
<!-- 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 #20392(github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it says in the issue description no need for tests
<!-- 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: 5a432eaad33f36591f62c3d2671ffd9956be3594

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4aa46a5256c0be438435e5f72af0f2b3468fd97e
2018-03-23 23:15:51 -04:00
L. David Baron d43e36ae5b servo: Merge #20407 - Rename Gecko string DataFlags::SHARED to REFCOUNTED (from dbaron:bug1448138); r=erahm
This is the servo piece of:

[Bug 1448138](https://bugzilla.mozilla.org/show_bug.cgi?id=1448138) - Rename string DataFlags::SHARED to REFCOUNTED to make it clearer to those reading the code.  r=erahm

This is a renaming in the internals of Gecko's string library that should also have a corresponding rename in the rust bindings.  This is already reviewed as part of the Gecko change, and the two pieces should be able to land separately.

<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (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: 1fda5d6a5a7dabbd80bc9efdedaadfeb9bf9e93a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d22475acddf3d597b788b53f27eaefeffe9f58b8
2018-03-23 20:56:08 -04:00
Gurzau Raul 4f5f6c3b00 Backed out changeset 6fbbb00841e4 (bug 1423757) for failing browser_ext_themes_toolbar_fields_focus.js 2018-03-24 01:49:13 +02:00
Andi-Bogdan Postelnicu a5f81f6a72 Bug 1448382 - Add js/src/vtune/ to the ThirdPartyPaths and .clang-format-ignore. r=sylvestre
MozReview-Commit-ID: 4Tni5V4K9Tv

--HG--
extra : rebase_source : cd2f899936b5e71211d71e3237d2619365cd63a2
2018-03-23 21:38:55 +02:00
Zhengyi Lian a8a0f71e0b Bug 1423757 - Allow theming toolbar fields hover & focused state r=jaws,ntim
MozReview-Commit-ID: 9XrN64FTMA4

--HG--
extra : rebase_source : 8378bbdc0df263d13841bd7720b42aa9ed3950e8
2018-03-07 02:59:00 -05:00
Gurzau Raul 16ea944091 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-24 00:06:17 +02:00
Gurzau Raul 3bcd829ce0 Merge inbound to mozilla-central. a=merge 2018-03-24 00:00:40 +02:00
Ursula Sarracini 8189974edc Bug 1448143 - Factor out a size getter from DownloadsViewUI.jsm so other consumers can access it r=Mardak
MozReview-Commit-ID: EgyfXz1ntys

--HG--
extra : rebase_source : 8a2fcdd366764a6cf0d51a14d7df2f70fb1a3af0
2018-03-23 14:21:48 -04:00
Igor Matuszewski d3e1a09b4c servo: Merge #20399 - Sanitize Heap::handle(_mut) functions (from Xanewok:remove-heap-handle-mut); r=jdm
<!-- Please describe your changes on the following line: -->
Complementary to https://github.com/servo/rust-mozjs/pull/404.

Removing `Heap::handle_mut` didn't warrant any changes on Servo side, and so the changes here are only to fix compilation with `Heap::handle` being now marked as `unsafe`.

The main idea is that we can't hand out handles to heap values themselves, since they're not guaranteed to be rooted, but it's safe to do when we are - hence why the safe impl on `RootedTraceableBox<Heap<T>>` and why it's safe to use inside structs that hold a Heap and are `#[must_root]`.

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because the compiler forces correctness here.

<!-- 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: 18ef5874dd3e11551e2f9503746540847eeb974c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 51f863c54f4fa1d159691fea3ae5b9ff76e004b9
2018-03-23 13:06:01 -04:00
Brindusan Cristian bfd45c93ba Backed out 2 changesets (bug 1446108) for build bustages on build\src\obj-firefox\dist\include\mozilla/Alignment.h(29) CLOSED TREE
Backed out changeset 08814c30af6d (bug 1446108)
Backed out changeset 7977451e9641 (bug 1446108)
2018-03-23 18:44:07 +02:00
Emilio Cobos Álvarez c664948ce9 Bug 1446108: followup: Make a destructor public to workaround bug 1448384 and reopen the CLOSED TREE. r=me
MozReview-Commit-ID: BRnjUONXMud
2018-03-23 17:32:50 +01:00
Emilio Cobos Álvarez 729bd14b2b Bug 1447506: Do LazyFC for anonymous nodes too, and clean up MaybeConstructLazily. r=bz
The old style system used FlattenedTreeIterator for lazy frame construction.
That could not find native anonymous nodes, so we had to construct eagerly in
native anonymous subtrees. Servo uses StyleChildrenIterator for the same
purpose, and that knows about native anonymous content, so we can now do lazy
construction for it.

Also, not check the container to do lazyFC on the children, it's no longer
necessary to check for anon content, and the reason we check for XUL is because
of XBL bindings, and those are loaded for the parent already, if we're about to
construct frames for the children.

Also, assert more tightly, we don't insert NAC lazily, that makes no sense.
Well, to be fair editor does insert anonymous nodes lazily sometimes (see al the
ManualNAC machinery), but it goes through the PostRecreateFramesFor path, not
through ContentInserted / LazyFC.

MozReview-Commit-ID: 2TmRNgpWaM
2018-03-23 16:45:07 +01:00
Emilio Cobos Álvarez 0cb3575d4e Bug 1447506: Make Devtools' TableWidget tests not rely on XBL bindings getting applied synchronously when XUL is mixed with HTML. r=bgrins
So TableWidget's columns does something where they mix HTML and XUL:

  https://searchfox.org/mozilla-central/rev/b29daa46443b30612415c35be0a3c9c13b9dc5f6/devtools/client/shared/widgets/TableWidget.js#1055

The label's .value is an XBL binding property:

  https://searchfox.org/mozilla-central/rev/b29daa46443b30612415c35be0a3c9c13b9dc5f6/toolkit/content/widgets/text.xml#19

This tests expects the XBL binding for the <label> to be applied synchronously,
which the other patch in this bug prevents.

Is there a reason that is a XUL label btw? We don't seem to use the binding
methods at all (except in this test, lol).

Anyway, just use getAttribute("label") in the test instead.

MozReview-Commit-ID: 3DOI0Lff6AW
2018-03-23 16:44:30 +01:00
Emilio Cobos Álvarez 005aa351c9 Bug 1446108: Don't create bogus angles in layers animation code. r=kats
Summary:
I can propagate the error up if needed, but looks like the code should cope with
it just fine with this change.

Reviewers: kats

Bug #: 1446108

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

MozReview-Commit-ID: Dm6EKIC6F5i
2018-03-23 16:40:55 +01:00
Cosmin Sabou b09b38b1d9 Merge mozilla-central to inbound. a=merge on a CLOSED TREE 2018-03-23 17:00:53 +02:00
Jan de Mooij 9d20ac22c1 Bug 1447996 - Don't GC when hitting overrecursion in RegExpCompiler; make the static analysis detect this. r=sfink
--HG--
extra : rebase_source : 09b91fd21fbb615aba2564ef92e8033b76bbf3ed
2018-03-23 15:55:38 +01:00
Cosmin Sabou 56274d0a01 Backed out changeset c652b6d362f6 (bug 1440753) for permafailing on layout/reftests/scrolling/iframe-scrolling-attr-2.html a=backout 2018-03-23 16:54:23 +02:00
Cosmin Sabou d5f5fb893c Backed out 3 changesets (bug 1446233) for permafailing on dom/media/tests/mochitest/test_peerConnection_replaceTrack.html. a=backout
Backed out changeset 9b72102a99b3 (bug 1446233)
Backed out changeset 6f3488ff7c60 (bug 1446233)
Backed out changeset 20301e359a4e (bug 1446233)
2018-03-23 15:18:23 +02:00
Narcis Beleuzu cd3a1211e2 Merge inbound to mozilla-central. a=merge 2018-03-23 11:51:38 +02:00
Margareta Eliza Balazs 9ecc515945 Backed out changeset b4f1e88f8b6e (bug 1447196) for 2 failures in dom/events/test/pointerevents/test_bug1303704.html 2018-03-23 05:37:20 +02:00
Yuki Hiroshi 19d1efcb99 Bug 1440574 - Follow-up: fix command broadcasters. r=felipe 2018-03-23 00:07:12 -03:00
Margareta Eliza Balazs 190225b29c Backed out changeset 794ee6857d83 (bug 1421070) for 15 failures in toolkit/components/payments/test/mochitest/test_ObservedPropertiesMixin.html on a CLOSED TREE
--HG--
extra : amend_source : 0574ce1b5b6a6e8735245684eb8e9ec7b0ac2647
2018-03-23 03:42:25 +02:00
Margareta Eliza Balazs cdccb66d47 Backed out changeset 610872970d04 (bug 1444033) for ES lint failure in /builds/worker/checkouts/gecko/devtools/client/inspector/test/head.js on a CLOSED TREE 2018-03-23 02:06:53 +02:00
James Teh ab44d98e0d Bug 1431256 correction: AccessibleHandler: Really return E_NOINTERFACE for IEnumVARIANT if there are no children. r=MarcoZ
A typo meant we were checking the address of mChildCount, not the value.

MozReview-Commit-ID: 7Hit3FBy9pr

--HG--
extra : amend_source : edb85b8e73184e47cd9ff42c0442f89d5f3c5152
2018-03-22 17:57:34 -04:00
J.C. Jones 2e7f40ab63 Bug 1445731 - land NSS 1bde21f90bd1 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : b23946c3f8f8ca33b1fe42f67febe604d36c6411
2018-03-22 14:40:30 -07:00
Cosmin Sabou 733a57dece Backed out 2 changesets (bug 1448174) for build bustages on test262/built-ins/TypedArrays/typedarray-arg-proto-from-ctor-realm.js. CLOSED TREE
Backed out changeset c4f12e0022ce (bug 1448174)
Backed out changeset fa78846bc5fd (bug 1448174)
2018-03-23 16:42:45 +02:00
André Bargull e36c60b399 Bug 1434007 - Enable String.prototype.trim{Start,End} by default. r=till 2018-03-22 15:39:08 -07:00
André Bargull cf623c82f2 Bug 1448174 - Part 3: Update test262 exclusions. r=sfink 2018-03-22 15:45:38 -07:00
André Bargull 54be71f91c Bug 1448174 - Part 1: Update test262 importer to handle new feature flags. r=sfink 2018-03-22 15:39:48 -07:00
Nathan Froyd 94df69d8f2 Bug 1448053 - be more efficient in MessageChannel::RepostAllMessages; r=jld
Once we've figured out that some task needs to be reposted, there's no
reason to continue scanning the list to find other tasks that need to be
reposted, since the logic in this function just requires one task that
needs to be reposted.
2018-03-23 09:40:53 -04:00
sotaro 2ef480f239 Bug 1448271 - Update some names of #include guards r=nical 2018-03-23 22:40:04 +09:00
Cosmin Sabou c17fce3462 Merge mozilla-central to inbound. a=merge on a CLOSED TREE 2018-03-23 15:32:33 +02:00
Jonathan Kew 3d5c891570 Bug 1447163 - Enable support for OpenType variation fonts. r=dbaron 2018-03-23 10:35:28 +00:00
Alexandre Poirot 779fe85e35 Bug 1444033 - Convert Task.jsm to async/await in devtools/client/inspector. r=jryans
MozReview-Commit-ID: 3Gek7xhypx3
2018-03-22 15:13:00 -04:00
Ryan VanderMeulen d6fd81de00 Merge m-c to inbound. a=merge 2018-03-22 19:44:23 -04:00
Emilio Cobos Álvarez d02390ae72 Bug 1448173: Remove stylo about:support stuff. r=xidorn
Summary: I missed them while removing --enable-stylo.

Reviewers: xidorn

Bug #: 1448173

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

MozReview-Commit-ID: s8WwyT2aql
2018-03-23 00:09:17 +01:00
Noemi Erli 1270a21724 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-23 01:00:18 +02:00
Noemi Erli b2bf45b165 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-23 00:59:19 +02:00
Noemi Erli b32b2756aa Merge inbound to mozilla-central. a=merge 2018-03-23 00:53:07 +02:00
Noemi Erli ba827a8724 Merge autoland to mozilla-central. a=merge 2018-03-23 00:51:42 +02:00
Nicholas Nethercote e7236b0cc6 Bug 1447914 - Change FunctionCall::getAtomName() to appendName(). r=froydnj
getAtomName() is only used in one place -- FunctionCall::toString() -- where
the returned atom is appended to a string. This patch changes it to
appendName(), which does the appending itself. This avoids a bunch of manual
atom refcounting and the possibility of failure.

MozReview-Commit-ID: I75rO1Bv6Y8

--HG--
extra : rebase_source : ef78377db12b2e89c582e32836d3abd460bde7d0
2018-03-23 08:05:29 +11:00
Geoff Brown feca6aae6f Bug 1098508 - Add support for scheduling Android jit tests, but don't run them yet; r=me,a=test-only
Android jit tests are not ready to run yet: They may not run green, there are concerns about
capacity, etc. I am adding this support now to make it more convenient to debug on try.

--HG--
extra : rebase_source : 00bc5bf21fec3c130133b0de322b1f37250893c3
2018-03-22 16:33:15 -06:00
Jason Laster 2fef0dedc3 Bug 1447316 - The debugger should use pausePoints to decide where to stop. r=jimb
MozReview-Commit-ID: 4Sxz0VIKB3j
2018-03-22 18:32:36 -04:00
Margareta Eliza Balazs e561bf58c4 Backed out changeset bfed80b95dfb (bug 1447163) for Wr4 failures in /css/css-fonts/variations/variable-box-font.html on a CLOSED TREE 2018-03-23 00:17:08 +02:00
ffxbld ecdda28482 No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2018-03-22 13:22:03 -07:00
ffxbld a305f35f68 No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2018-03-22 13:21:59 -07:00
Brian Grinstead fa54b509ee Bug 1448123 - Remove the xul scale in the Canvas Debugger;r=jryans
The same behavior can be achieved by scrolling through the calls.
This is the only remaining non-test <xul:scale>, so once we stop
using it here it can be removed (Bug 1448126).

can be removed after

MozReview-Commit-ID: 163a8o5e7BO

--HG--
extra : rebase_source : 7b9591f3279b109eff902b6fae5093073f4796cf
2018-03-22 13:14:31 -07:00
Olli Pettay 8d1253d263 bug 1447196, canceling pointerdown should not affect to scrollbar handling, r=masayuki
--HG--
extra : rebase_source : 3234983256e2d68e0ac6b21f5293b23bf6017b11
2018-03-22 20:54:50 +02:00
Kartikaya Gupta a41c002240 Bug 1448086 - Ensure QR tests are disabled on beta and project branches. r=aryx
This updates the existing entries to use the 'trunk' shorthand notation,
and adds missing entries for mochitests, reftests, jsreftests, and the
three categories of web-platform-tests.

MozReview-Commit-ID: KTgfidGFPNu

--HG--
extra : rebase_source : 3287477c1c9846c4d3a00275e0cb8ae422c48262
2018-03-22 14:54:17 -04:00
Dão Gottwald 1b366a1008 Bug 1448102 - Move tabWarmingEnabled, tabWarmingMax, tabWarmingUnloadDelay properties from gBrowser to AsyncTabSwitcher.jsm. r=mconley
MozReview-Commit-ID: 2pI1aDUxWFw

--HG--
extra : rebase_source : ed6f75031f47456e91ed419c939b2e29ecc58526
2018-03-22 19:36:00 +01:00