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

64941 Коммитов

Автор SHA1 Сообщение Дата
Ciure Andrei 2198f99f97 Merge inbound to mozilla-central. a=merge 2018-07-05 12:51:41 +03:00
Andrea Marchesini 14d462eeb3 Bug 1418246 - Return valid columnNumber value in CSP violation events, r=ckerschb 2018-07-05 08:21:04 +02:00
Kris Maglione 3e400a8f72 Bug 1472523: Part 2 - Avoid unnecessary string copies in preference caches. r=njn
MozReview-Commit-ID: 74svGlwMVF1

--HG--
extra : rebase_source : ee25a335773b9afba9125c9092ed95eecc702cd9
2018-06-30 23:07:30 -07:00
Kris Maglione 8e4b8a954f Bug 1472523: Part 1 - Avoid string copies in preference callbacks. r=njn
Most preference callbacks use literal strings for their domain filters, which
means that there's no need to make copies of them at all. Currently, however,
every preference observer node makes a separate heap-allocated copy of its
domain string.

This patch switches the domain string storage to nsCString instances, which
dramatically reduces the amount of unnecessary copies, at the expense of
making the callback nodes slightly larger.

MozReview-Commit-ID: 8NA3t2JS2UI

--HG--
extra : rebase_source : 628ad9af65cec16fb8be0c8dddc608b5ee5602e2
2018-06-30 23:06:17 -07:00
Emilio Cobos Álvarez 38ff952014 Bug 1473225 - Serialize a few more lengths with Servo. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D1934

--HG--
extra : moz-landing-system : lando
2018-07-04 06:42:38 +00:00
Hiroyuki Ikezoe 8015da3cef Bug 1472654 - Drop SchedulePaint call in AddAnimationsForProperty. r=birtles
This call was added in bug 929362, but the key factor to fix the bug was just
setting a flag representing that the target frame doesn't allow the animation
running on the compositor and checking the flag in the function whether the
animation can be run on the compositor or not in later ticks.  So the call
wasn't necessary in the first place.

The test case here fails without this fix.  The test case actually doesn't
observe animation restyle count at all, so it might look a bit awkward in
file_restyles.html, if we add other test cases checking SchedulePaint calls
in future, we will move the tests in a different file.
(The reason there is no animation restyles in this case is that we properly
 throttle the animation in this case.)

MozReview-Commit-ID: AyHciRJHM0s

--HG--
extra : rebase_source : f3963336ea9165b0a9c1a662bdac5c645b209219
2018-07-05 07:18:45 +09:00
Olli Pettay 34620de771 bug 1472427, <img usemap> should work in shadow DOM, r=baku 2018-07-04 20:26:09 +03:00
Ryan Hunt 0412e688a8 Bug 1473301 - Remove BorderLayer. r=mattwoodrow
MozReview-Commit-ID: KGXW2lYBZ3c

--HG--
extra : rebase_source : a782ec3fb1c87d1d034219cbd7fd1b8d9d751559
extra : amend_source : ec7c8f7b4080c53a851117cfb1c7611c3606c562
2018-07-03 16:15:58 -05:00
Lee Salzman e251ecb952 Bug 1460259 - Send synthetic oblique angle to WR. r=jfkthame 2018-07-04 10:56:40 -04:00
Florian Quèze 3c68ddcf79 Bug 962528 - Update the UI resolution synchronously to avoid painting the UI once at the wrong resolution when moving a window across screens of different resolutions, r=mstange. 2018-07-04 16:31:03 +02:00
Bogdan Tara 6eafe1c00b Backed out changeset 9c75cab2e322 (bug 733530) for breaking artifact builds 2018-07-04 14:50:22 +03:00
Gurzau Raul 03062dd04b Merge inbound to mozilla-central. a=merge 2018-07-04 12:58:33 +03:00
Jamie Nicol a1d1e03224 Bug 1470758 - Ensure we don't merge items with the same frame. r=mattwoodrow 2018-07-03 21:31:26 -04:00
Bas Schouten a95db7c11a Bug 1473136: Cache mNeedsActiveLayer once for nsDisplayOpacity. r=mattwoodrow 2018-07-03 23:07:44 +00:00
shindli 1384968ccc Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : devtools/shared/gcli/commands/screenshot.js => devtools/server/actors/webconsole/screenshot.js
rename : devtools/shared/gcli/commands/screenshot.js => devtools/shared/webconsole/screenshot-helper.js
2018-07-04 01:35:17 +03:00
shindli 3d917e5382 Merge inbound to mozilla-central. a=merge
--HG--
rename : devtools/shared/gcli/commands/screenshot.js => devtools/server/actors/webconsole/screenshot.js
rename : devtools/shared/gcli/commands/screenshot.js => devtools/shared/webconsole/screenshot-helper.js
2018-07-04 00:56:24 +03:00
Bas Schouten 7f6794045e Bug 1472830: Reuse the work from ApplyOpacityToChildren when possible. r=mattwoodrow 2018-07-03 20:26:40 +00:00
Olli Pettay ca2e080d26 Bug 1472651 - BoxObject::GetPresShell should use GetComposedDoc, r=mrbkap
--HG--
extra : rebase_source : 1cf9fba47c5276c3606b886c63ff0a7d84ebb4c0
2018-07-03 17:58:26 +03:00
Olli Pettay 50136cf862 Bug 1472650 - nsCSSRendering::ShouldPaintBoxShadowInner should use GetComposedDoc, r=emilio
--HG--
extra : rebase_source : 2d484667820757943eae22543770409df27f0027
2018-07-03 17:57:11 +03:00
Olli Pettay f2292aa23e Bug 1472432 - Use IsInComposedDoc in nsXULTooltipListener, r=mrbkap
--HG--
extra : rebase_source : cf645c6f107a90f4b4d7b04ccc8aa7706376f011
2018-07-03 17:52:17 +03:00
Matt Woodrow 70d97b231e Bug 1473137 - Convert mOpacityIndices into a stack-based vector with preallocated storage to avoid allocations. r=jnicol
MozReview-Commit-ID: Gi5z3YaH7kY

--HG--
extra : rebase_source : 9213eea1f5886e23977935b8efdad58e2195cfbc
2018-07-03 18:58:35 -04:00
Brindusan Cristian 911da838e3 Backed out changeset 3eed69f0be08 (bug 1470329) for web-platform failures on /css/css-contain/contain-size-breaks-001.html. CLOSED TREE 2018-07-04 01:26:31 +03:00
shindli 5cc2efce78 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-04 01:01:25 +03:00
Morgan Rae Reschenberg 51d3a6c12c Bug 1470329 - Change ReflowInput to have unconstrained BSize for size-contained elements, add reftests r=dholbert
MozReview-Commit-ID: 6IRAi8iScwy

--HG--
extra : rebase_source : 2d98a5f5fc591fcb8d6360c0a6ac478e6afd77a6
2018-07-02 09:43:03 -07:00
Chris AtLee 8745339529 Bug 733530: Use .tar.gz for test archives r=gps
Differential Revision: https://phabricator.services.mozilla.com/D1743

--HG--
extra : moz-landing-system : lando
2018-07-03 18:33:02 +00:00
Hiroyuki Ikezoe b5935f0573 Bug 1354501 - Bail out if we know there is no need to dispatch any animation events in advance of checking which animation event we need. r=birtles
MozReview-Commit-ID: JhOs0CD49R

--HG--
extra : rebase_source : dd4c779ed23eb4f728192fdc27536f4409de2c55
2018-07-03 11:06:46 +09:00
Hiroyuki Ikezoe 1c47aa1edf Bug 1354501 - Factor out calculations for interval start/end times. r=birtles
MozReview-Commit-ID: H9iXX9VLXLr

--HG--
extra : rebase_source : 736d304858cd0a2c5953f9986dd161ebd21c8099
2018-07-03 09:25:02 +09:00
Hiroyuki Ikezoe 5b05fdd61a Bug 1472076 - Introduce nsATimerAdjustmentObserver in nsRefreshDriver. r=birtles
mMostRecentRefresh is changed not only in Tick() but also in
EnsureTimerStarted().  In the case where it happens in Tick() refresh observers
can know it through WillRefresh(), but there is no way in the case of
EnsureTimerStarted().  This patch introduces a new abstract class to be notified
when mMostRecentRefresh was changed in EnsureTimerStarted() so that animations
can use the *real* most recent refresh time until the next tick happens.

The reason why we have another observer array in parallel with existing array
(mObservers) is that the refresh driver should stop the timer if there is no
normal observes but there are still any timer adjustment observes.

MozReview-Commit-ID: FaDcl5GrvI3

--HG--
extra : rebase_source : a6a362366f4eda9fb51003ef4cff5bea886836f0
2018-07-03 10:57:12 +09:00
Ciure Andrei 177ceadc18 Backed out 3 changesets (bug 1466897) for xpcshell failures test_ext_schemas_interactive.js and test_ext_contentscript_create_iframe.js CLOSED TREE
Backed out changeset 87bb8b686a7e (bug 1466897)
Backed out changeset 4443f1f6e8f3 (bug 1466897)
Backed out changeset 067ee6342782 (bug 1466897)

--HG--
rename : layout/xul/nsIPopupContainer.h => layout/xul/nsIRootBox.h
2018-07-03 06:03:15 +03:00
Matt Woodrow 7391f4b580 Bug 1467688 - Make sure we invalidate for perspective changes even if the frame isn't otherwise transformed. r=dbaron
MozReview-Commit-ID: JQGb41kp76P

--HG--
extra : rebase_source : f9105e949f8fa02697a94718ea69742ac115f8e6
2018-07-02 21:35:14 -04:00
Brendan Dahl 79c6912c4e Bug 1466897 - Rename nsIRootBox to nsIPopupContainer. r=mats
MozReview-Commit-ID: D4GgReAEelG

--HG--
rename : layout/xul/nsIRootBox.h => layout/xul/nsIPopupContainer.h
extra : rebase_source : 5f4c2f2da75bac4f499a23cecc368e996991c6fe
2018-06-26 17:29:55 -07:00
Brendan Dahl cc9fecba49 Bug 1466897 - Support context menus in top level chrome privileged HTML pages. r=dbaron,mats
Create an anonymous popupgroup element during the creation of a top level
chrome privileged nsCanvasFrame. Implement nsIRootBox for nsCanvasFrame to store
the popup set frame. Adjust nsIRootBox::GetRootBox to be able to find the
popupset frame in a non-xul frame layout.

MozReview-Commit-ID: HCbPgQb4uil

--HG--
extra : rebase_source : f56b1641f2ced53c22d464f331bdbe2c2e8afe86
2018-06-04 18:02:32 -07:00
Ciure Andrei a43e1b09ad Backed out 1 changesets (bug 1467688) for reftest failures crashtests/1467688.html CLOSED TREE
Backed out changeset b976829f826a (bug 1467688)
2018-07-03 01:55:17 +03:00
Tiberius Oros 4611ad8261 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-03 00:57:45 +03:00
Tiberius Oros 65a30935a5 Merge inbound to mozilla-central. a=merge 2018-07-03 00:53:57 +03:00
Matt Woodrow dc37a6b69c Bug 1467688 - Make sure we invalidate for perspective changes even if the frame isn't otherwise transformed. r=dbaron
MozReview-Commit-ID: DpND8Jwr226

--HG--
extra : rebase_source : c6f51b9e8f91978a1783eb27de5ca89f75a3f2a5
2018-07-02 17:46:10 -04:00
Coroiu Cristina 0a78b17573 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-07-02 12:56:04 +03:00
Coroiu Cristina 97d488a17a Merge inbound to mozilla-central a=merge 2018-07-02 12:44:50 +03:00
Olli Pettay f3c69361dc Bug 1472430, PresShell::RenderNode should work with elements in Shadow DOM, r=emilio 2018-07-01 22:29:42 +03:00
David Zbarsky 02175d436a Bug 388049 - Add crashtest. r=mats DONTBUILD 2018-07-01 18:06:50 +02:00
Mats Palmgren f6a5825bd5 Bug 390052 - Add a crashtest. r=me 2018-07-01 18:06:50 +02:00
Daniel Holbert afbce93557 Bug 390417 - Add crashtest. r=mats 2018-07-01 18:06:50 +02:00
Martijn Wargers 5ed72e2df3 Bug 404624 - Add crashtest. r=mats 2018-07-01 18:06:50 +02:00
Jesse Ruderman cd25e4a210 Bug 415818 - Add crashtest. r=mats 2018-07-01 18:06:50 +02:00
Jesse Ruderman 5df03ec667 Bug 471360 - Add crashtest. r=mats 2018-07-01 18:06:50 +02:00
Jesse Ruderman 9781289c21 Bug 478504 - Add crashtest. r=mats 2018-07-01 18:06:50 +02:00
Jesse Ruderman c641fbf157 Bug 507566 - Add crashtest. r=mats 2018-07-01 18:06:50 +02:00
Abhishek Arya 6035e634d8 Bug 790252 - Add crashtests. r=mats 2018-07-01 18:06:49 +02:00
Cameron McCormack 48fe6dbe69 Bug 1472065 - Initialize mSheet and mParentRule in css::Rule's constructor. r=xidorn
MozReview-Commit-ID: JI3cMiJaH3x

--HG--
extra : rebase_source : 3f45a63c8817df9550c5c638ad5b978421fa051c
2018-06-29 12:56:09 +10:00
Brindusan Cristian 3ee83a1454 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-01 12:41:51 +03:00