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

582735 Коммитов

Автор SHA1 Сообщение Дата
Mike Conley 24b3c1ade3 Bug 1434376 - Introduce ChromeOnly window.promiseDocumentFlushed to detect when refresh driver ticks have completed. r=bz
This is particularly useful for knowing when it's safe to query for style and
layout information for a window without causing a synchronous style or layout
flush.

Note that promiseDocumentFlushed was chosen over promiseDidRefresh or promiseRefreshed
to avoid potential confusion with the actual network-level refresh of browsers or
documents.

MozReview-Commit-ID: Am3G9yvSgdN

--HG--
extra : rebase_source : 20bdd2d6f624767d919d95a6601fc1c890aadf10
2018-02-11 20:14:49 -05:00
Emilio Cobos Álvarez 19c880a480 Bug 1438467: Don't reconstruct the parent when tearing down display: contents nodes with pseudo-elements. r=mats,bz
We just need to use the existing StyleChildrenIterator which iterates over them.

We need to be a bit careful though, since ::before and ::after are owned by
their own frame, and thus could be unbound from the tree or even dead after
removing the frame.

Hopefully the only access to the node being removed is unnecessary (anon roots
don't have siblings anyway).

There's also the weird thing of the thing we're iterating changing under the
hood. It works fine for this case, but maybe it would be better to handle them
explicitly like:

  if (Element* before = nsLayoutUtils::GetBeforePseudo(aChild)) {
    bool didReconstruct = ContentRemoved(aChild, ...);
    if (didReconstruct) {
      return true;
    }
    MOZ_ASSERT(!nsLayoutUtils::GetBeforePseudo(aChild));
  }

  // Same for ::after.

  StyleChildrenIterator iter(aChild);
  for (..) {
    // Do the rest of the kids, which can't get unbound.
  }

That'd repeat a bunch of code, so not a fan neither... I pointed this out more
explicitly in a comment instead.

MozReview-Commit-ID: HBsjLH01Db3
2018-02-25 02:06:05 +01:00
janvipalan 93966e2314 servo: Merge #20115 - Dont make a network request when the media attribute of a link element is modified (from janvi-palan:NoNetworkConnForHtmlListMedia); r=emilio
<!-- 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 #16404 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this needs to be tested manually

<!-- 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: b699dfac8b18e053eb35e11e9fe93be391bacc92

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 77faface645955790a6002152e2e5613d303d25a
2018-02-24 19:04:46 -05:00
Emilio Cobos Álvarez e47cb58448 servo: Merge #20117 - style: Somewhat miscelaneous cleanup (from emilio:misc-cleanup); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: bbfca28a4f3770896955375d01f1c489b4632fd3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cca02ea2c160395889cfd6eb60c62a065d490300
2018-02-24 17:28:20 -05:00
arthur.iakab fc6411f333 Merge mozilla-central to autoland 2018-02-24 23:56:46 +02:00
arthur.iakab 1d739072d3 Merge inbound to mozilla-central. a=merge 2018-02-24 23:52:48 +02:00
arthur.iakab 69bba3f4c2 Merge autoland to mozilla-central. a=merge
--HG--
extra : amend_source : a2a697778b1b1f292bb8b56baeb1e0c41a1c4b07
2018-02-24 23:48:56 +02:00
arthur.iakab aaec1f87f4 Backed out changeset 0ec115a54885 (bug 1440843) for failing browser chrome on toolkit/components/payments/test/browser/browser_change_shipping.js 2018-02-24 22:23:41 +02:00
ffxbld 33c22e88dd No bug, Automated blocklist update from host bld-linux64-spot-324 - a=blocklist-update 2018-02-24 12:01:44 -08:00
ffxbld dbacae538a No bug, Automated HPKP preload list update from host bld-linux64-spot-324 - a=hpkp-update 2018-02-24 12:01:40 -08:00
ffxbld da2f635f78 No bug, Automated HSTS preload list update from host bld-linux64-spot-324 - a=hsts-update 2018-02-24 12:01:36 -08:00
Matthew Noorenberghe 192a58c0d3 Bug 1440843 - Don't dispatch shipping*change events if requestShipping is false. r=jaws
MozReview-Commit-ID: Cu74O0Reu4L

--HG--
extra : rebase_source : 91034a98d3948182b3b5595f7e2e94fa68165f49
2018-02-24 11:11:16 -08:00
Pyfisch 48a0793b21 servo: Merge #20031 - Reorganise display list builder (from pyfisch:transform); r=mbrubeck
Description in the individual commits.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6a2feb3c1bc1374dc97c788f07c2074895d2f1f1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0f81ac128ceb59a35075523b83f1c33f57094361
2018-02-24 10:06:16 -05:00
Csoregi Natalia ecb86060b4 Backed out 5 changesets (bug 1379265) for GTest crashes on RsdparsaSdpAttributeList::GetGroup. a=backout
Backed out changeset addf903ba015 (bug 1379265)
Backed out changeset 51f51dfe6095 (bug 1379265)
Backed out changeset 443378a6ed7a (bug 1379265)
Backed out changeset 0ea22b056105 (bug 1379265)
Backed out changeset d85d78ba8ccd (bug 1379265)
2018-02-24 12:58:24 +02:00
Csoregi Natalia 166bce1123 Merge inbound to mozilla-central. a=merge 2018-02-24 12:13:21 +02:00
Botond Ballo 1060e61b5c Bug 1440164 - Detect a subtest URL not resolving and give an error message. r=kats
MozReview-Commit-ID: 1LntbmmFwif

--HG--
extra : rebase_source : 5c088cf4094e1d2537bc33664d6983654508c28c
2018-02-23 21:55:24 -05:00
Botond Ballo a4974673d4 Bug 1440164 - Call SimpleTest.finish() in runSubtestsSeriallyInFreshWindows() even if running subtests failed. r=kats
Not calling SimpleTest.finish() causes the test to hang, which isn't helpful.

MozReview-Commit-ID: 2RBpjnG5B9l

--HG--
extra : rebase_source : b528b83f431c89ff5b21fdd725b2c371edd9b29a
2018-02-23 21:53:31 -05:00
Kyle Machulis 46fc1619a1 Bug 1440872 - Fix CSS issue with MIDI Notification Icon in patches for bug 1201590; r=qdot
MozReview-Commit-ID: FpCqOocIiXq
2018-02-23 20:24:04 -08:00
Sebastian Hengst e6ed14057b merge mozilla-central to autoland on a CLOSED TREE
--HG--
extra : amend_source : d88824ea9bbe5e0298f0d64fd0e4cdedcbee342c
2018-02-24 03:07:44 +02:00
Sebastian Hengst 7be9fed7d0 merge mozilla-inbound to mozilla-central. a=merge 2018-02-24 02:58:35 +02:00
Felipe Gomes 4f256692e7 Bug 1428924 - Policy: Allow creation of bookmarks in the Bookmarks toolbar, Menu, or a folder inside them. r=mak
MozReview-Commit-ID: 7w8kKypShgj

--HG--
extra : rebase_source : e3d85756c6ad6acdb1c77e7911464e630a1fdf01
2018-02-23 21:56:43 -03:00
Narcis Beleuzu 954c07281d Merge autoland to mozilla-central. a=merge 2018-02-24 02:21:58 +02:00
Botond Ballo 4a2eaf0893 Bug 1440112 - Enable helper_scroll_overscroll_behavior.html for non-WebRender as well. r=kats
--HG--
extra : rebase_source : 0b478ea1014067990a04d527a96d460dc8574ca5
2018-02-23 17:38:30 -05:00
Botond Ballo 9bafb4c0f9 Bug 1440112 - Support CompositorHitTestInfo::eRequiresTargetConfirmation with EventRegions-based hit testing. r=kats
This is only hooked up for the codepath where the event regions are built
from nsDisplayCompositorHitTestInfo display items, not for when they're
build from nsDisplayLayerEventRegions display items.

--HG--
extra : rebase_source : 4f6fedcd9522362e2e62678428987180399bb796
2018-02-23 17:37:55 -05:00
Florian Quèze 682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
ffxbld 534582a02d No bug, Automated blocklist update from host bld-linux64-spot-302 - a=blocklist-update 2018-02-23 11:48:21 -08:00
ffxbld 57247f5331 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-02-23 11:48:18 -08:00
ffxbld 37e4f549d7 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-02-23 11:48:14 -08:00
Adrian Wielgosik 35f8ed790f Bug 1440741 - Remove all members from nsIDOMHTMLFormElement. r=qdot
MozReview-Commit-ID: 2UcUy4MkVsM

--HG--
extra : rebase_source : ddc6c18c5015ebc5569defa09b32c40e83939886
2018-02-23 19:28:08 +01:00
Cosmin Sabou 43c66219ab Backed out 3 changesets (bug 1434376) for build bustages on SystemTimeConverter.h(177)
Backed out changeset 2ed5aefc5bc2 (bug 1434376)
Backed out changeset 1b474fb6d798 (bug 1434376)
Backed out changeset 4e6a21e50be0 (bug 1434376)
2018-02-23 23:17:42 +02:00
Coroiu Cristina 88e89261ea Merge inbound to mozilla-central a=merge 2018-02-23 19:44:19 +02:00
Marco Bonardo e3b58c0292 Bug 656936 - Remove Bookmarks::GetRemoveFolderTransaction. r=standard8
MozReview-Commit-ID: DLyjzC7ODyB

--HG--
extra : rebase_source : 4d71ab1909ca6e1065e31dc1824de3b119e05e7c
2018-02-23 17:27:43 +01:00
Andreas Pehrson ce1efe51da Bug 1440347 - Lock while modifying mAllocations. r=padenot
--HG--
extra : rebase_source : 2f5c6e13e8f930b82ff26190485bb8eed69592e4
extra : histedit_source : 0b3cfe11cdd16ee5bf42eec68196de9531e2c36b
2018-02-23 10:20:01 +01:00
Jonathan Kingston 7d46db21ed Bug 1440073 - Clear images from cache to fix --verify testing of browser_no_mcb_for_loopback.js r=johannh
MozReview-Commit-ID: 4z8aJizVUNm

--HG--
extra : rebase_source : d57f0edea4997d6d522e78aa18da923c5a620665
2018-02-22 14:07:44 +00:00
Csoregi Natalia c9df10baff Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-24 13:03:09 +02:00
Mark Banner 4bc9f77582 Bug 1440718 - Enable no-unused-vars for global scope on jsm files in services/sync/. r=kitcambridge
MozReview-Commit-ID: 77z0qScZw2P

--HG--
extra : rebase_source : a2fa7688e72e225bc54a047c2e46822f13af21f2
2018-02-23 17:05:05 +00:00
Makoto Kato ad4d52eb38 Bug 1440535 - Remove HAVE_MBRTOWC and HAVE_WCRTOMB from js/src/old-configure.in. r=froydnj
No one uses this defines even if SpiderMonkey and We forget to remove this by bug 1423846

MozReview-Commit-ID: 2MOavTX7zrf

--HG--
extra : rebase_source : 3f881bd28ba2c762d9d0876d58330cf99d35ad49
2018-02-23 12:07:02 +09:00
Dragan Mladjenovic ded2e9e8e2 Bug 1440369 : [MIPS] Port changes from Bug 903519; r=sfink 2018-02-20 11:57:46 +01:00
Emanuel Hoogeveen e54b120cc7 Bug 1440417: Determine JS_64BIT at configure time. r=froydnj 2018-02-22 10:40:00 +02:00
Emilio Cobos Álvarez 0f3f398be9 Bug 1439036: Fix some other miscellaneous issues with the caller. r=bz
While we're here...

MozReview-Commit-ID: 7B79vec0bYS

--HG--
extra : rebase_source : 1c7f78c913986e8d2856d62c3037da64b109d20e
2018-02-17 01:46:35 +01:00
Emilio Cobos Álvarez 098eb77437 Bug 1439036: Stop passing bogus next sibling values into restyling / frame construction. r=bz
I think this is a regression from https://hg.mozilla.org/mozilla-central/rev/4a8294c6b8e33ba08ef767bede8deeb28234b5b8.

Before that, the only caller with NAC used to pass -1 as an index, which means
we didn't get a node back.

MozReview-Commit-ID: 7HYPaa2V3OB

--HG--
extra : rebase_source : 3f836c0de95159a4a5ece85dee1a8a26dfb2ba1f
2018-02-17 01:25:05 +01:00
Tom Ritter ba2d560b34 Bug 1430841 Re-enable the Reduce Timer Precision pref for CSS Animations tests r=birtles
Currently CSS Animations are exempted from Reduce Timer Precision, so this isn't needed.
Additionally, when we test by overriding that restriction, these tests aren't run, which
leads to confusion.

MozReview-Commit-ID: Gv6T3oGO475

--HG--
extra : rebase_source : 6bd70341fe5d047b685cae0db2965bf86116b4a0
2018-02-16 15:45:33 -06:00
Gijs Kruitbosch 3350f8605a Bug 1350349 - collect data for feed reader usage to evaluate its future, r=mak,data-review=liuche
This patch adds data collection for 6 different data points:
- number of live bookmarks the user has
- number of times the user subscribes to a feed
- number of times we attempt to open feed preview
- number of times the user opens a feed popup in the UI
- number of times the user opens an entry from a feed popup in the UI.

MozReview-Commit-ID: DG9JDFXCjai

--HG--
rename : browser/components/feeds/test/valid-feed.xml => browser/components/feeds/test/browser/valid-feed.xml
extra : rebase_source : 9f3df4ca19eec0750092deb9066634a388ec59f7
2018-02-16 19:18:00 +00:00
Benjamin Bouvier f697e37c2a Bug 1439898: Consider unreachable state before br_table in wasmBinaryToText; r=bustage on a CLOSED TREE
MozReview-Commit-ID: 21gy30Zn1Oj

--HG--
extra : rebase_source : 56a3eb3c48462eb84e165c3d85a9fec744b693fd
2018-02-23 12:11:17 +01:00
Ben Hearsum fb77983863 bug 1398799: switch to in-tree mozharness update verify config creator. r=aki 2018-02-23 06:03:27 -05:00
Ben Hearsum 0d4b578055 bug 1398799: mozharness script to create update verify configs without relying on patcher configs. r=nthomas 2018-02-23 06:00:02 -05:00
Benjamin Bouvier 955ff5438d Bug 1440519: Check for SIMD existence on the global object in test; r=jandem
MozReview-Commit-ID: 2ViBTsHqdMU

--HG--
extra : rebase_source : 0ee0954f37dbfa04e28c5974455501413c13e4b3
2018-02-23 11:32:18 +01:00
Benjamin Bouvier e33e3eaf64 Bug 1439898: wasm: Don't render more unreachable items; r=lth
MozReview-Commit-ID: EQx4pzpuNhn

--HG--
extra : rebase_source : ab8ebfb5203faea19e079bd83d1541aaf79c219c
2018-02-22 20:01:34 +01:00
Benjamin Bouvier daf1b034f1 Bug 1439898: Special-case RenderResizableMemory for memories of UINT32_MAX bytes; r=lth
MozReview-Commit-ID: FtldjV8SP2l

--HG--
extra : rebase_source : 4d39da492be3ca053a5262d46e22395e7c0d8c5b
2018-02-22 17:14:09 +01:00
shindli b4de1c12ce Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-23 11:46:58 +02:00