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

582754 Коммитов

Автор SHA1 Сообщение Дата
Xidorn Quan d6a3786a64 Bug 1440221 - Track stale computed values and style structs held by undisplayed maps in memory report. r=emilio,njn
MozReview-Commit-ID: 8eXowQvUjyi

--HG--
extra : rebase_source : cb5ba6598e90d9600983aad7f1fff4ff361e8af7
2018-02-22 23:19:50 +11:00
Connor Masini 134774e84b Bug 1417880: Allow theming arrow panels(popups). r=jaws,mconley,ntim
MozReview-Commit-ID: 9f1sSzaGZzf

--HG--
extra : rebase_source : dcebee0563d4d673ac5afc2ee82d6cc5cbeab943
2018-02-07 00:22:22 -05:00
Mike Conley 4e9c3d2fe2 Bug 1434376 - Switch over all uses of BrowserUtils.promiseLayoutFlushed to window.promiseDocumentFlushed. r=Paolo
window.promiseDocumentFlushed will call a callback as soon as a style or layout
flush is not required for the document (which might be immediately). This is a
new ChromeOnly API introduced in an earlier patch in this series.

This patch also removes the now-unneeded BrowserUtils.promiseLayoutFlushed and
BrowserUtils.promiseReflowed methods and infrastructure.

MozReview-Commit-ID: Jv7KoxBXhHG

--HG--
extra : rebase_source : b8c9ae40dbdd0f5587d03e8b7c0833bd94032a78
2018-02-11 20:15:11 -05:00
Mike Conley 262bcb1bef Bug 1434376 - Add basic tests for window.promiseDocumentFlushed. r=Paolo
MozReview-Commit-ID: KmyqaupJRtw

--HG--
extra : rebase_source : f7bc5281f194f28a7c0d36f6d6dfd87428c60cf1
2018-02-11 20:13:53 -05:00
Mike Conley a7df06446a 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
Adrian Wielgosik de1e0827c0 Bug 1440441 - Remove nsIDOMFormData. r=kmag,qdot
MozReview-Commit-ID: 9Y8YQBqbSnM

--HG--
extra : rebase_source : 205a3341771d99cb252516f0ffffd107e1c82e5d
2018-02-22 20:42:12 +01:00
Mike Conley 346e307918 Bug 1401072 - Update browser_urlbar_search_reflows to accomodate DOM dirtying done in setTimeout. r=florian
This patch doesn't introduce new reflows, but adjusts some expected maxCounts
in the test for reflows that were always there but not reliably detected.

MozReview-Commit-ID: 3IV2KBM30rB

--HG--
extra : rebase_source : f15941bc39d879310f4b90c11f16d9793d3f2ced
2018-02-24 20:06:40 -05:00
Emilio Cobos Álvarez 21a36fad95 Bug 1440961: Make canvas style-related code interact a bit better with Shadow DOM. r=smaug
The only relevant spec reference unfortunately is for color parsing[1], which
mentions:

> Otherwise, set color to the computed value of the 'color' property of element.

Using IsInComposedDoc there should be fine, since the computed style of an
element is well defined there.

The rest look like implementation limitations, for which should not be an issue
to extend the check for the composed doc.

[1]: https://html.spec.whatwg.org/#parsed-as-a-css-color-value

MozReview-Commit-ID: ADnVPNqf3X1

--HG--
extra : rebase_source : ea72f695afe86820d2d04c2b8eca1d17bc356a71
2018-02-25 02:37:44 +01:00
Ting-Yu Lin 4415223066 Bug 1432017 - Remove AccessibleCaretEventHub::PostScrollState. r=mats
In the era of B2G, we wanted to hide the carets during scrolling, and
PostScrollState was designed to avoid carets flicking during momentum
scrolling.

These days, we no longer hide carets during scrolling, so PostScrollState
can be removed to make the code simpler and easier to maintain.

MozReview-Commit-ID: Bf6ZgYVlt1q

--HG--
extra : rebase_source : 272bf91b8acaae6d81a3291b6ad85703ff2696dc
2018-02-23 22:05:49 +08:00
Andreea Pavel b469db5c90 Backed out changeset ba1524e32b04 (bug 1373055) for causing a frequency uptick of bug 1430466 2018-02-25 15:09:08 +02:00
Andreea Pavel 1aac7df383 Backed out 3 changesets (bug 1434376)for failing browser chrome at browser/base/content/test/performance/browser_urlbar_search_reflows.js on a CLOSED TREE
Backed out changeset b636251b75ab (bug 1434376)
Backed out changeset fccbba9cb959 (bug 1434376)
Backed out changeset b5128504011c (bug 1434376)
2018-02-25 12:44:28 +02:00
Hiroyuki Ikezoe 56da525c38 Bug 1437714 - Wait for 'picker-stopped' event before starting the new picker in the next test case. r=pbro
MozReview-Commit-ID: LUayN3GM2BK

--HG--
extra : rebase_source : 7542824fdf7421a5961e69ecb1c90cc94712f9ac
2018-02-17 07:22:49 +09:00
Sebastian Hengst 671983dde1 Bug 1440956 - Don't use AppConstants destructuring in test_AboutNewTabService.js because property name and variable name don't match. r=Mardak
MozReview-Commit-ID: 2pVv08lLfGi

--HG--
extra : rebase_source : 28efc3783a69b9edbc09427c3a7e951263a47b9f
2018-02-25 02:05:43 +01:00
Ciure Andrei 2a61dd0967 Backed out changeset 2e7cc4dc999c (bug 1435929) for eslint failure at /builds/worker/checkouts/gecko/services/sync/modules/browserid_identity.js a=backout on a CLOSED TREE 2018-02-25 09:37:26 +02:00
Mark Hammond 6afd2c2ec1 Bug 1435929 - refactor browserid_identity.js to be less confusing and error prone. r=eoger,tcsc
MozReview-Commit-ID: IJPQv4ZvJlp

--HG--
extra : rebase_source : d3052d120778dc1e8111ba76ee9df285d5483786
2018-02-06 14:05:45 +11:00
Emilio Cobos Álvarez 3eb90874c6 Bug 1432490: followup: Fix mac-only bustage on a CLOSED TREE. r=me
MozReview-Commit-ID: TNquyPQhkL
2018-02-25 02:44:18 +01:00
Emilio Cobos Álvarez 7dffe29d8f Bug 1432490: Make nsComputedDOMStyle::GetStyleContext / GetStyleContextNoFlush not take a presShell. r=bz
Everyone calls them with the shell of the current composed document, and this
allows the multi-presShell stuff to just be in UpdateCurrentStyleSources /
DoGetStyleContextNoFlush.

The only reason we need to use OwnerDoc()->GetShell() instead of the composed
doc in GetStyleContext / GetStyleContextNoFlush is Element::GetBindingURL, which
does expect to get the binding URL for stuff outside of the composed doc (and
changing that gave me a useless browser).

That's technically a behavior change on the cases that used to pass nullptr, but
I think all callers are fine with that. I could also just add a special function
for that particular case, it may be worth it.

MozReview-Commit-ID: 2XlnkgdgDCK
2018-02-25 02:23:59 +01:00
Mike Conley 96fbfba56f Bug 1434376 - Switch over all uses of BrowserUtils.promiseLayoutFlushed to window.promiseDocumentFlushed. r=Paolo
window.promiseDocumentFlushed will call a callback as soon as a style or layout
flush is not required for the document (which might be immediately). This is a
new ChromeOnly API introduced in an earlier patch in this series.

This patch also removes the now-unneeded BrowserUtils.promiseLayoutFlushed and
BrowserUtils.promiseReflowed methods and infrastructure.

MozReview-Commit-ID: Jv7KoxBXhHG

--HG--
extra : rebase_source : b8c9ae40dbdd0f5587d03e8b7c0833bd94032a78
2018-02-11 20:15:11 -05:00
Mike Conley 93c1ada2a4 Bug 1434376 - Add basic tests for window.promiseDocumentFlushed. r=Paolo
MozReview-Commit-ID: KmyqaupJRtw

--HG--
extra : rebase_source : f7bc5281f194f28a7c0d36f6d6dfd87428c60cf1
2018-02-11 20:13:53 -05:00
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