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

71193 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 4d1924c9fb Bug 1606019 - Remove unused FFI function to refcount nsIReferrerInfo. r=xidorn
We don't use RefPtr<nsIReferrerInfo> in rust.

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

--HG--
extra : moz-landing-system : lando
2019-12-26 22:17:35 +00:00
Justin Wood 80b492019d Bug 1559975 - Make layout/reftests/ lint with 'py2' and 'py3' r=catlee
Depends on D36094

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

--HG--
extra : moz-landing-system : lando
2019-12-26 21:17:52 +00:00
Justin Wood 997253f286 Bug 1559975 - Make layout/tools/reftest lint with 'py2' and 'py3' r=catlee
Depends on D36093

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

--HG--
extra : moz-landing-system : lando
2019-12-26 21:17:55 +00:00
Emilio Cobos Álvarez 29800f6c89 Bug 1595435 - Allow content to steal focus from a cross-origin iframe. r=masayuki
This matches other browsers.

Keep the restriction just to chrome nodes, and in that case, avoid getting into
the broken state, which is what causes the issue. I'm not sure if this even
matters anymore given e10s but...

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

--HG--
extra : moz-landing-system : lando
2019-12-25 06:50:25 +00:00
Emma Malysz be8bd71702 Bug 1601110, remove handling and references to vnd.mozilla.xul+xml r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D57567

--HG--
extra : moz-landing-system : lando
2019-12-23 23:02:05 +00:00
Emma Malysz c028f5125c Bug 1605737, remove XUL cached type r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D58140

--HG--
extra : moz-landing-system : lando
2019-12-23 17:10:15 +00:00
Boris Chiou bdd5623ab2 Bug 779598 - Do animations of transforms with preserve-3d at compositor. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D57029

--HG--
extra : moz-landing-system : lando
2019-12-23 09:52:43 +00:00
Hiroyuki Ikezoe d4cb08b71b Bug 779598 - Don't try to send transform animations to the compositor if the display item is a transform separator. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D56643

--HG--
extra : moz-landing-system : lando
2019-12-23 09:52:41 +00:00
Hiroyuki Ikezoe 2315c74f45 Bug 779598 - Call GetVisualOverflowRectRelativeToSelf() only in the case of NoPrerender. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D56642

--HG--
extra : moz-landing-system : lando
2019-12-23 09:52:39 +00:00
Masayuki Nakano 87ca855ece Bug 1603074 - part 1: Make `synthesizePlainDragAndDrop()` synthesize drag events without `DataTransfer` object r=smaug
`synthesizePlainDragAndDrop()` synthesizes drag events with `DataTransfer`
object which is set to `DragEvent.dataTransfer` of `dragstart` after starting
drag session explicitly.  However, this causes
`EventStateManager::DoDefaltDragStart()` does not initialize `nsIDragService`
instance.  Therefore, synthesized drag events cannot work with editor because
`DragEvent::GetMozSourceNode()` returns `nullptr` due to
`nsIDragSession::GetSourceNode()` returning `nullptr`.

On the other hand, synthesized drag events cannot use
`nsIDragService::InvodeDragSession()` normally because of hitting an assertion.
https://searchfox.org/mozilla-central/rev/690e903ef689a4eca335b96bd903580394864a1c/widget/nsBaseDragService.cpp#230-233

This patch does:
- mark drag events caused by synthesized mouse events as "synthesized for tests"
- make `synthesizePlainDragAndDrop()` stop using
  `nsIDragService.startDragSession()`
- make `nsBaseDragService` initialize and start session even for synthesized
  `dragstart` event
- make `synthesizePlainDragAndDrop()` stop synthesizing drag events with
  `DataTransfer` object since it's normal behavior and it'll be initialized
  with `nsIDragService::GetDataTransfer()`
- make `nsBaseDragService` store `effectAllowed` for the session only when
  it's synthesized session because it's required at initializing synthesized
  default `dropEffect` value of `dragenter`, `dragover`, `dragexit` and `drop`
  events' `dataTransfer`
- make all tests which use `nsIDragService.startDragSession()` use new
  API, `nsIDragService.startDragSessionForTests()` to initialize session's
  `effectAllowed` value
- make `EventStateManager::PostHandleEvent()` set drag end point of the test
  session to `eDrop` event's screen point
- make `synthesizePlainDragAndDrop()` set drag end point of the session if
  it does not synthesize `drop` event because following `endDragSession()`
  use it at dispatching `dragend` event on the source element

Additionally, this adds `dumpFunc` new param to `synthesizePlainDragAndDrop()`
because it's really useful to investigate the reason why requesting DnD isn't
performed as expected.

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

--HG--
extra : moz-landing-system : lando
2019-12-21 12:27:06 +00:00
Ting-Yu Lin 955de670f0 Bug 1598112 - Use scrolled frame's overflow rect as a the bounding box for position:sticky elements. r=emilio
This change effectively disallows sticky elements to enlarge overflow
area. That is, the position of a sticky element will be bounded by the
union of scrolled frame's border-box and the overflow area created by
other non-sticky elements within the same block formatting context.

This makes Firefox's position:sticky elements behaves like Google Chrome
in this respect.

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

--HG--
extra : moz-landing-system : lando
2019-12-21 00:24:57 +00:00
shindli 143073ad50 Backed out changeset bf4b4d3108f9 (bug 1602898) for causing bc failures in browser/components/ssb/tests/browser/browser_ssb_windowlocation.js CLOSED TREE 2019-12-21 02:22:06 +02:00
Narcis Beleuzu 943efe9942 Backed out changeset b2e78ee1b18e (bug 1598112) for Linting failure on position-sticky-large-top-2-ref.tentative.html . CLOSED TREE 2019-12-21 02:02:00 +02:00
Ting-Yu Lin c1ef537e20 Bug 1598112 - Use scrolled frame's overflow rect as a the bounding box for position:sticky elements. r=emilio
This change effectively disallows sticky elements to enlarge overflow
area. That is, the position of a sticky element will be bounded by the
union of scrolled frame's border-box and the overflow area created by
other non-sticky elements within the same block formatting context.

This makes Firefox's position:sticky elements behaves like Google Chrome
in this respect.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 19:30:05 +00:00
Botond Ballo 357c20419c Bug 1605466 - Include-what-you-use fixes. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D58038

--HG--
extra : moz-landing-system : lando
2019-12-20 20:36:14 +00:00
Ting-Yu Lin 3998ae4396 Bug 1598755 Part 2 - Remove w3c-css/received/selectors reftests. r=dbaron
bug 1598755 comment 1 contains an analysis to align wpt's test results
with our own reftest framework, so it is ok to remove these reftests.

In this patch, the manual modifications are
1. removing `os.path.join("selector"),` in import-tests.py, and
2. removing relevant annotations in failures.list.

Others parts are generated by running import-tests.py on a wpt
repository with commit 15f199c91a72b0d51bf0a12b3b77827ecb5051ff.

Depends on D58023

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

--HG--
extra : moz-landing-system : lando
2019-12-20 20:08:48 +00:00
Kris Maglione a8523a3bae Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56609

--HG--
extra : moz-landing-system : lando
2019-12-20 21:41:26 +00:00
Nathan Froyd e4d9fe5e10 Bug 1605418 - use GeneratedFile template in layout/style/test/gtest/; r=firefox-style-system-reviewers,jwatt
The template is slightly nicer and slighty more modern.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 17:52:11 +00:00
Chris Peterson 406763af7f Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj
This changeset is a simple find and replace of `MOZ_FALLTHROUGH` and `[[fallthrough]]`.

Unfortunately, the MOZ_FALLTHROUGH_ASSERT macro (to assert on case fallthrough in debug builds) is still necessary after switching from [[clang::fallthrough]] to [[fallthrough]] because:

* MOZ_ASSERT(false) followed by [[fallthrough]] triggers a -Wunreachable-code warning in DEBUG builds
* but MOZ_ASSERT(false) without [[fallthrough]] triggers a -Wimplicit-fallthrough warning in NDEBUG builds.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 07:16:43 +00:00
Ting-Yu Lin b95cb66316 Bug 1604978 - Move NS_BLOCK_FLAGS_MASK and NS_BLOCK_FLAGS_NON_INHERITED_MASK into nsBlockFrame::Init. r=heycam
The two masks are used only in nsBlockFrame::Init, so they should be
defined closer to their usage.

Note that 'constexpr' declared on functions implies 'inline'.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 03:56:12 +00:00
Razvan Maries 188a114962 Backed out 5 changesets (bug 1598520) for perma fails on test_enumerateDevices_navigation.html. CLOSED TREE
Backed out changeset 583dac2feebc (bug 1598520)
Backed out changeset c769e733f588 (bug 1598520)
Backed out changeset 45287a2ec476 (bug 1598520)
Backed out changeset 59cff6014447 (bug 1598520)
Backed out changeset ddf722557c33 (bug 1598520)
2019-12-20 01:56:55 +02:00
Matt Woodrow c8adaa318f Bug 1598520 - Remove crashtest that depended on specific load timing with srcdoc that wont work if we route through DocumentChannel. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57590

--HG--
extra : source : b4f71abf75feaf8703343341890d7acef1de5412
2019-12-19 22:16:33 +00:00
Razvan Maries bfe0632450 Backed out 5 changesets (bug 1598520) for Linting failure. CLOSED TREE
Backed out changeset b4f71abf75fe (bug 1598520)
Backed out changeset 8e3b650d9313 (bug 1598520)
Backed out changeset 73c37ad27d18 (bug 1598520)
Backed out changeset 10ad2e4d27c3 (bug 1598520)
Backed out changeset 4a5d10759bf3 (bug 1598520)
2019-12-20 00:38:32 +02:00
Matt Woodrow 9c408a861e Bug 1598520 - Remove crashtest that depended on specific load timing with srcdoc that wont work if we route through DocumentChannel. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57590

--HG--
extra : moz-landing-system : lando
2019-12-19 22:16:33 +00:00
Emilio Cobos Álvarez 2c729a4323 Bug 1604023 - Workaround LLVM ABI bug. r=froydnj
All the gory details in https://bugzilla.mozilla.org/show_bug.cgi?id=1600735 and
related LLVM / GCC bugs. Avoid the issue by forcing the relevant enum to be
32-bit wide, so as to not trigger the LLVM bug.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 20:43:06 +00:00
Edwin Takahashi 33e20a2a9b Bug 1599619 - annotate anim-css-font-1.svg with permissive fuzzy-if for ubuntu1804 r=jmaher
Changes:

Mark this particular failure with permissive fuzzy-if to be investigated at a later time. In the meantime this will permit both ubuntu16/18 to pass the tests.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 18:18:51 +00:00
Edwin Takahashi 2a31b722a8 Bug 1599984 - mark layout/forms/test/test_bug549170.html as expected failure for ubuntu1804 r=jmaher
Changes:

This test is a permafail on ubuntu1804 across all build types and is one of the remaining tests in mochitest-e10s to be greened up.

Mark it with a `fail-if` in case in the future this test begins passing again.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 11:11:47 +00:00
Edwin Takahashi 888b7d9816 Bug 1591613 - annotate number-style-inheritance.html with permissive fuzzy-if for ubuntu1804 r=jmaher
Changes:

Marking the test with a permissive `fuzzy-if` to accommodate both ubuntu1804 and ubuntu1604; fuzzy value will be tightened once migration is complete.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 11:12:42 +00:00
Ting-Yu Lin 391acfb3c7 Bug 1604701 - Make EventTargetData::mPresShell always compute from the frame. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D57601

--HG--
extra : moz-landing-system : lando
2019-12-19 17:08:41 +00:00
Mirko Brodesser b8bb35cc69 Bug 1600267: part 1) Rename `nsContentUtils::ComparePoints` to `ComparePoints_Deprecated`. r=smaug
In a follow-up commit a new `ComparePoints` method with cleaner
arguments and return value will be added.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 13:27:08 +00:00
Hiroyuki Ikezoe 3e3b2d6ac9 Bug 1596317 - Use EnumerateBrowsers to notify the theme change into all remote documents. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57262

--HG--
extra : moz-landing-system : lando
2019-12-19 07:58:57 +00:00
Hiroyuki Ikezoe 04b4206ae2 Bug 1596317 - Use CallState for SubDocEnumFunc. r=smaug
`true` -> `CallState::Continue`
`false` -> `CallState::Stop`

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

--HG--
extra : moz-landing-system : lando
2019-12-19 07:58:45 +00:00
Hiroyuki Ikezoe 0452b0e146 Bug 1596317 - Use CallState for nsContentUtils::CallOnAllRemoteChildren. r=smaug
`true` -> `CallState::Stop`
`false` -> `CallState::Continue`

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

--HG--
extra : moz-landing-system : lando
2019-12-19 07:58:27 +00:00
Hiroyuki Ikezoe aec08b91cc Bug 1596317 - Change the function pointer argument of nsContentUtils::CallOnAllRemoteChildren to std::function. r=smaug
We are going to introduce a new function in Document in this commit series,
which enumerates all child documents regardless of whether it's in the same
process, in content processes or in out-of-process iframes. The function takes
std::functions, but I don't have any good ideas to convert lambda functions with
capturing variables to function pointer.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 07:57:57 +00:00
Hiroyuki Ikezoe 11f2716492 Bug 1596317 - Implement SetPrefersReducedMotionOverrideForTest backend for GTK. r=emilio
On GTK changing gtk-enable-animation in a process doesn't affect in different
processes for some reasons.  So we take the same approach as what we did for
OSX[1] that is when SetPrefersReducedMotionOverrideForTest is called we set the
given value as a cache in the parent process and send a notification to system
as if the value changed thus the notification kicks PBroser.ThemeChanged to
update the cache in the content process, thus we can use the cache value on
querying the corresponding value in the content process.

[1] https://hg.mozilla.org/mozilla-central/rev/67a5acf7363d

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

--HG--
extra : moz-landing-system : lando
2019-12-19 09:04:58 +00:00
Hiroyuki Ikezoe ab48bc01da Bug 1596317 - Drop RebuildAllStyleData call in nsPresContext::SysColorChangedInternal. r=emilio
We end up calling RebuildAllStyleData with RecascadeSubtree and
NS_STYLE_HINT_REFLOW in nsPresContext::FlushPendingMediaFeatureValuesChanged.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 07:57:24 +00:00
Bogdan Tara a96ffb25c5 Backed out 7 changesets (bug 1596317) for causing build bustages CLOSED TREE
Backed out changeset 0d3208fcb948 (bug 1596317)
Backed out changeset fe5554dc4115 (bug 1596317)
Backed out changeset 019de59cbc93 (bug 1596317)
Backed out changeset f4851472b087 (bug 1596317)
Backed out changeset a984cf515db8 (bug 1596317)
Backed out changeset d0da5bf9b4d4 (bug 1596317)
Backed out changeset abe5f2030dd9 (bug 1596317)
2019-12-19 06:49:39 +02:00
Hiroyuki Ikezoe 6837a57ea8 Bug 1596317 - Use EnumerateBrowsers to notify the theme change into all remote documents. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57262

--HG--
extra : moz-landing-system : lando
2019-12-19 04:16:59 +00:00
Hiroyuki Ikezoe 9e4bf031ae Bug 1596317 - Use CallState for SubDocEnumFunc. r=smaug
`true` -> `CallState::Continue`
`false` -> `CallState::Stop`

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

--HG--
extra : moz-landing-system : lando
2019-12-19 04:16:10 +00:00
Hiroyuki Ikezoe 634fee0f48 Bug 1596317 - Use CallState for nsContentUtils::CallOnAllRemoteChildren. r=smaug
`true` -> `CallState::Stop`
`false` -> `CallState::Continue`

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

--HG--
extra : moz-landing-system : lando
2019-12-19 03:36:35 +00:00
Hiroyuki Ikezoe 402bdca99d Bug 1596317 - Change the function pointer argument of nsContentUtils::CallOnAllRemoteChildren to std::function. r=smaug
We are going to introduce a new function in Document in this commit series,
which enumerates all child documents regardless of whether it's in the same
process, in content processes or in out-of-process iframes. The function takes
std::functions, but I don't have any good ideas to convert lambda functions with
capturing variables to function pointer.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 03:35:59 +00:00
Hiroyuki Ikezoe 3b2739a1da Bug 1596317 - Implement SetPrefersReducedMotionOverrideForTest backend for GTK. r=emilio
On GTK changing gtk-enable-animation in a process doesn't affect in different
processes for some reasons.  So we take the same approach as what we did for
OSX[1] that is when SetPrefersReducedMotionOverrideForTest is called we set the
given value as a cache in the parent process and send a notification to system
as if the value changed thus the notification kicks PBroser.ThemeChanged to
update the cache in the content process, thus we can use the cache value on
querying the corresponding value in the content process.

[1] https://hg.mozilla.org/mozilla-central/rev/67a5acf7363d

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

--HG--
extra : moz-landing-system : lando
2019-12-19 04:15:44 +00:00
Hiroyuki Ikezoe e896c36c13 Bug 1596317 - Drop RebuildAllStyleData call in nsPresContext::SysColorChangedInternal. r=emilio
We end up calling RebuildAllStyleData with RecascadeSubtree and
NS_STYLE_HINT_REFLOW in nsPresContext::FlushPendingMediaFeatureValuesChanged.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 03:35:34 +00:00
Emilio Cobos Álvarez cae1e55d61 Bug 1581467 - Do not use synthetic display-inside values. r=TYLin
This matches the new servo layout engine too, and thus removes some #[cfg]
gunk.  Just use `flow` since it doesn't simplify the layout code as much.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 01:19:04 +00:00
Timothy Nikkel e40055fcd7 Bug 1602258. Remove GetAvailableVisualScrollingDirections, it is unused. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D57611

--HG--
extra : moz-landing-system : lando
2019-12-18 23:08:36 +00:00
Timothy Nikkel 36ab8e6657 Bug 1602258. Use GetAvailableScrollingDirectionsForUserInputEvents in WheelHandlingUtils::CanScrollOn. r=botond
We also need to adjust the scroll range we use. We do this by adding GetScrollRangeForUserInputEvents which just uses the range that GetAvailableScrollingDirectionsForUserInputEvents computed.

This should give two improvements:
1) CanScrollOn will not report that the user can scroll in an overflow hidden direction.
2) CanScrollOn will report that the user can scroll in an overflow hidden direction if the document is pinch zoomed in so that the user can scroll around the layout viewport.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 23:08:24 +00:00
Timothy Nikkel 8d223d13dd Bug 1602258. Make ScrollFrameHelper::GetAvailableScrollingDirectionsForUserInputEvents check for at least half a screen pixel of scroll range instead of one app unit. r=botond
This is similar to GetAvailableScrollingDirections but also takes into account any resolution.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 23:08:11 +00:00
Emilio Cobos Álvarez 3405fe8b57 No bug - Remove a useless include in PresShell.h. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D57690

--HG--
extra : moz-landing-system : lando
2019-12-18 22:57:48 +00:00
Gurzau Raul fb5285c3cd Backed out changeset c6d6f7799ed7 requested by emilio on a CLOSED TREE. 2019-12-19 00:49:07 +02:00
Emilio Cobos Álvarez e0d010d688 No bug - Remove to useless includes in PresShell.h. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D57690

--HG--
extra : moz-landing-system : lando
2019-12-18 22:40:47 +00:00
Mats Palmgren baaafd0dfa Bug 1604772 - Remove the eSVGGeometry IsFrameOfType bit. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57622

--HG--
extra : moz-landing-system : lando
2019-12-18 16:06:29 +00:00
Mats Palmgren 5bd596d87f Bug 1604771 - Remove the eSVGForeignObject IsFrameOfType bit. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57621

--HG--
extra : moz-landing-system : lando
2019-12-18 16:00:47 +00:00
Alex Henrie 5254fbc4df Bug 1604393 - Remove dead assignment from nsImageFrame::DisplayAltFeedbackWithoutLayer. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D57417

--HG--
extra : moz-landing-system : lando
2019-12-18 19:51:13 +00:00
Kirk Steuber 634d236f08 Bug 1603826 - Replace XULElement.dir with getAttribute/setAttribute r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D57577

--HG--
extra : moz-landing-system : lando
2019-12-18 18:17:15 +00:00
Edwin Takahashi 38542fdf52 Bug 1604338 - annotate unexpected outcomes for layout/reftests/async-scrolling/reftest.list when run on ubuntu1804 with webrender r=jmaher
Changes:

Most tests have smaller value for the `minDiff` side of things, and a slightly larger value for the `maxPixelCount` side of things when ubunt1804 runs the test. Adjust the expectation so that ubuntu1604 and ubuntu1804 both pass for the time being, then tighten the values once ubuntu1604 is decommissioned.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 09:29:05 +00:00
Edwin Takahashi 87a945470a Bug 1604583 - add fuzzier annotation for layout/reftests/position-sticky/reftest.list on ubuntu1804 r=jmaher
Changes:

As with other ubuntu1804 reftests, the difference counts need to be updated when run with `webrender`. Once migration is complete, tighten the values.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 09:28:28 +00:00
Emilio Cobos Álvarez b1dc419fff Bug 1602003 - Correct writing-mode handling of nsDocumentViewer::GetContentSize. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D57640

--HG--
extra : moz-landing-system : lando
2019-12-18 17:16:49 +00:00
Mats Palmgren c54ab2ee1a Bug 1604668 - Remove the eExcludesIgnorableWhitespace IsFrameOfType bit. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57569

--HG--
extra : moz-landing-system : lando
2019-12-18 01:41:20 +00:00
Mats Palmgren ffee4dbd18 Bug 1602430 - Apply min/max-height correctly for fragmented boxes with no height specified. r=TYLin
Depends on D56738

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

--HG--
extra : moz-landing-system : lando
2019-12-17 23:13:13 +00:00
Mats Palmgren a92e745526 Bug 1574046 - Wallpaper the effect of this bug in nsBlockFrame::ComputeFinalSize. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D56738

--HG--
extra : moz-landing-system : lando
2019-12-17 23:03:21 +00:00
Edwin Takahashi 53c3158cff Bug 1604347 - annotate unexpected passes in layout/reftests/svg/text/reftest.list when run on ubuntu1804 r=jmaher
Changes:

Some tests in `layout/reftests/svg/text/reftests.list` now pass unconditionally when run on ubuntu1804. Permit pixel differential value of 0 for these tests while ubuntu1604 and ubutnu1804 coexist, leave the bug open then once the migration is complete look to remove the redundant annotation.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 21:22:31 +00:00
Edwin Takahashi 52c6b8935a Bug 1600208 - mark test_bug756984 as permafail on ubuntu1804 r=jmaher
Changes:

This test is a permafail on ubuntu1804, and should be marked as such as the migration to ubunt1804 is actively underway with target date of end of December 2019.

With a fail-if annotation, the hope is that if this test suddenly begins passing we will be notified of it (as opposed to skipping it outright).

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

--HG--
extra : moz-landing-system : lando
2019-12-17 09:46:27 +00:00
Jonathan Kew 283ad921b7 Bug 1600470 - Reduce the emboldening strength used for synthetic-bold faces with FreeType. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D57246

--HG--
extra : moz-landing-system : lando
2019-12-17 15:51:57 +00:00
Sean Voisen 0e463d054a Bug 1453472 - Add support for logical versions of overscroll-behavior. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57363

--HG--
extra : moz-landing-system : lando
2019-12-17 11:27:41 +00:00
Emilio Cobos Álvarez 5da9cf54f6 Bug 1604076 - Fix some issues with StyleBox. r=boris
Not having a copy-assignment operator is a massive footgun (as it won't call the
right constructors / destructors). :(

Filed https://bugzilla.mozilla.org/show_bug.cgi?id=1604075 for an analysis that
would've caught this.

One of my WIP patches adding a heap allocation to LengthPercentage caught this.

While at it, add non-const versions of the arrow and deref operators and fix
operator!= too (which doesn't compile, but we don't use it so C++'s template
madness says it's just fine).

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

--HG--
extra : moz-landing-system : lando
2019-12-17 05:10:15 +00:00
Ting-Yu Lin e3160b985d Bug 1601298 - Initialize FlexboxAxisTracker's members in the declaration. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D55823

--HG--
extra : moz-landing-system : lando
2019-12-16 13:38:25 +00:00
Ting-Yu Lin c46a8af074 Bug 1601298 - Initialize nsFlexContainerFrame's members in the declaration. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D55825

--HG--
extra : moz-landing-system : lando
2019-12-16 00:39:55 +00:00
Ting-Yu Lin 938e81c3b9 Bug 1601298 - Initialize PositionTracker and its derived classes' members in the declaration. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D55824

--HG--
extra : moz-landing-system : lando
2019-12-16 13:40:47 +00:00
Ting-Yu Lin b8f164af41 Bug 1601298 - Initialize FlexLine's members in the declaration. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D55822

--HG--
extra : moz-landing-system : lando
2019-12-16 00:41:02 +00:00
Ting-Yu Lin f5f24e4655 Bug 1601298 - Initialize FlexItem's members in the declaration. r=mats
In this way, we can avoid duplicates in FlexItem's normal constructor
and 'strut' constructor.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 13:37:20 +00:00
Alex Henrie a675a1cda4 Bug 1604394 - Remove dead assignment from nsIFrame::PeekOffset. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D57418

--HG--
extra : moz-landing-system : lando
2019-12-17 05:09:00 +00:00
Emma Malysz ebaa98b111 Bug 1601113, replace URIs ending in vnd.mozilla.xul+xml with xhtml+xml r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D57148

--HG--
extra : moz-landing-system : lando
2019-12-17 00:33:16 +00:00
Emilio Cobos Álvarez 224c3f6348 Bug 1603049 - Inherit outline-offset from the table. r=dbaron
outline-offset isn't included in the outline shorthand.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 22:10:11 +00:00
Oana Pop Rus 661db3a39f Backed out 7 changesets (bug 1432856) for build bustages failures in nsWindow.h on a CLOSED TREE
Backed out changeset 3d08c3cce533 (bug 1432856)
Backed out changeset 49d03dd89b17 (bug 1432856)
Backed out changeset 62fc84c8ce99 (bug 1432856)
Backed out changeset a8a4fa63f5b2 (bug 1432856)
Backed out changeset c81f3d5b9bf3 (bug 1432856)
Backed out changeset 8351a8b1d96a (bug 1432856)
Backed out changeset a303b775a51b (bug 1432856)
2019-12-16 23:53:35 +02:00
pbz e03ecc2171 Bug 1432856 - Extended focus methods in Window.webidl, Client.webidl and Element.webidl to pass CallerType. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55811

--HG--
extra : moz-landing-system : lando
2019-12-16 21:06:11 +00:00
Oana Pop Rus c875c00ad0 Backed out changeset bf28a7e8a8a4 (bug 1600470) for wrench bustages on a CLOSED TREE 2019-12-16 22:52:07 +02:00
Edwin Takahashi 3ca4edb5cd Bug 1599638 - add permissive fuzzy-if annotation for multiscripts-1.html for ubuntu1804 r=jmaher
Changes:

With permission from the feature owner, this test is marked with a permissive fuzzy-if on ubuntu1804.

Once ubuntu1804 migration is complete, the annotation should be tightened to restrictive.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 20:25:27 +00:00
Jonathan Kew 863bbe2172 Bug 1600470 - Reduce the emboldening strength used for synthetic-bold faces with FreeType. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D57246

--HG--
extra : moz-landing-system : lando
2019-12-16 14:40:21 +00:00
Botond Ballo e1f64c8a8e Bug 1601568 - Only send a SetTargetAPZC notification right away if the target has a displayport and it has been painted. r=tnikkel
Merely checking for having a displayport isn't enough, because the paint to
tell APZ about the new scroll frame could still be pending.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 19:45:02 +00:00
Edwin Takahashi c94355dbe6 Bug 1599640 - add permissive fuzzy-if for subscript-italic-correction.html r=jmaher
Changes:

With acknowledgement from the test owner, add a permissive `fuzzy-if` annotation for the test such that ubuntu1804 no longer reports a failure, but the test continues running as intended on ubuntu1604.

Once the migration to ubuntu1804 is complete, the annotation is to be changed to a permanent `fails-if` due to the large pixel variation.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 11:27:00 +00:00
Edwin Takahashi 1b43c9f6ab Bug 1599622 - add permissive annotation for gtkWidget to radio-clamp-02.html test for ubuntu1804 r=jmaher
Changes:

Annotate the reftest failure on ubuntu1804 with a permissive `fuzzy-if` annotation designed to work with both ubuntu1604 and ubuntu1804.

Once the switchover to ubuntu1804 takes place, tighten the pixel range such that future failures can be caught.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 17:22:12 +00:00
Edwin Takahashi ad3af40942 Bug 1600804 - add permissive fuzzy-if annotation to checkbox-clamp-02.html r=jmaher
Changes:

Insert permissive `fuzzy-if` annotation to the test to accommodate ubuntu1804 where the test fails due to large pixel difference.

Once the migration completes the pixel difference value will be tightened.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 11:25:34 +00:00
Edwin Takahashi f85824b97c Bug 1600749 - suppress unexpected failure of css-simple-styling.html on ubuntu1804 r=jmaher
Changes:

Insert a permissive `fuzzy-if` to accommodate ubuntu1804 where the test fails due to large pixel difference.

Once ubuntu1804 migration completes, tighten the annotation to a restrictive one.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 17:20:33 +00:00
Edwin Takahashi 0326bf965f Bug 1591611 - add permissive fuzzy-if for number-selected.html for ubuntu1804 r=jmaher
Changes:

Insert a permissive `fuzzy-if` for the `number-selected.html` test to accommodate ubuntu1804 where the test fails due to large pixel difference.

Once the migration to ubuntu1804 is complete, the permissive range will be tightened such that future deviations can be caught.

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

--HG--
extra : moz-landing-system : lando
2019-12-16 11:27:30 +00:00
Emilio Cobos Álvarez 83fdd60571 Bug 1603807 - Don't divide by zero in ClampAndAlignWithPixels. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D57188

--HG--
extra : moz-landing-system : lando
2019-12-16 15:55:22 +00:00
Alex Henrie 361541b5d9 Bug 1604099 - Remove redundant call to GetColCount from nsCellMap::ShrinkWithoutCell. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D57274

--HG--
extra : moz-landing-system : lando
2019-12-16 08:21:52 +00:00
Ting-Yu Lin dc8592b28f Bug 1598749 - Remove w3c-css/received/css-namespaces reftests. r=dbaron
These reftests can be safely removed because all css-namespace tests are
pass in both received/reftest.list and wpt reftests (no
testing/web-platform/meta/css/css-namespaces folder).

The only manual modification in this patch are removing
`os.path.join("css-namespaces"),` in import-tests.py.

Others parts are generated by running import-tests.py on a wpt
repository with commit 15f199c91a72b0d51bf0a12b3b77827ecb5051ff.

Depends on D56376

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

--HG--
extra : moz-landing-system : lando
2019-12-12 23:58:06 +00:00
Ting-Yu Lin aa1e127bcb Bug 1598749 - Make ./import-tests.py work for python installed at different paths. r=dbaron
When executing `./import-tests.py` in a python virtualenv, the path of
the python interpreter won't be at /usr/bin/python. By using
`/usr/bin/env python`, it works as the system can find a python
interpreter in $PATH.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 23:56:15 +00:00
Ting-Yu Lin dee8773f2c Bug 1602407 - Update documents with wiki.m.o continuation model link added. r=dbaron
DONTBUILD because this is a comment-only change.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 23:57:11 +00:00
Emilio Cobos Álvarez ac506d6f4b Bug 1603889 - Simplify the scrollbar preference setup. r=smaug
So much plumbing to pass an enum down.

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

--HG--
extra : moz-landing-system : lando
2019-12-15 22:56:23 +00:00
Alex Henrie 1b8752a702 Bug 1604009 - Remove dead assignments from nsGridRowGroupLayout functions. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D57234

--HG--
extra : moz-landing-system : lando
2019-12-15 18:57:44 +00:00
Alex Henrie b0f4abbc68 Bug 1604011 - Remove dead assignment from StreamLoader::OnStopRequest. r=emilio,xidorn
Differential Revision: https://phabricator.services.mozilla.com/D57235

--HG--
extra : moz-landing-system : lando
2019-12-15 10:22:50 +00:00
Alex Henrie 6bceafe72c Bug 1603995 - Remove dead assignments from nsFrame::BoxReflow. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D57233

--HG--
extra : moz-landing-system : lando
2019-12-15 06:23:01 +00:00
Masayuki Nakano 271d1b6d1d Bug 1543315 - part 20: Mark `PresShell::ContentStateChanged()` as `MOZ_CAN_RUN_SCRIPT_BOUNDARY` r=smaug
While it calls `RestyleManager::ContentStateChanged()`, it blocks script
with `nsAutoCauseReflowNotifier`.  Therefore, it should be marked as
`MOZ_CAN_RUN_SCRIPT_BOUNDARY` at least (looks like the other override,
`DocAccessible::ContentStateChanged()` does not run script).

There is a concern about the lifetime of `RestyleManager`.  It's destroyed
when `nsPresContext::DetachPresShell()` is called.  It's called by
`PresShell::Destroy()` and destructor of `nsPresContext`.  The latter is
safe since `PresShell` owns `mPresContext` and it's never cleared.  However,
I'm not sure about the former.  It might be better to create blocker of
synchronous handling of `PresShell::Destroy()`.

And also this does not make `Document::ContentStateChanged()` use
`RefPtr<PresShell>` at calling it because it might cause performance
regression, but it does not do anything after destroying
`nsAutoCauseReflowNotifier`.

Finally, for guaranteeing that the lifetime of `PresShell::mPresContext` is
longer than `PresShell`, this makes it to `RefPtr<nsPresContext> const`.
However, initializing it in constructor breaks other objects' initialization
process since they assume that `PresShell::GetPresContext()` won't return
valid pointer until the `nsPresContext` is attached.  For solving this issue
safe, this patch keeps setting `mPresContext` in `Init()` with `const_cast`
hack.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 12:18:33 +00:00
Ciure Andrei 4a058d35be Backed out changeset fd383a15ed4e (bug 1552966) for causing browser_printpreview.js to permafail CLOSED TREE 2019-12-14 17:45:23 +02:00
Jonathan Watt 5096a4a025 Bug 1552966. Convert the printing code to stop using DocShellTree* classes. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56830

--HG--
extra : moz-landing-system : lando
2019-12-13 14:16:15 +00:00
Emilio Cobos Álvarez 3ccc6c30ab Bug 1603313 - Subdocument enum callbacks should take a reference. r=bzbarsky
As they can never take null.

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

--HG--
extra : moz-landing-system : lando
2019-12-14 05:08:39 +00:00
Emilio Cobos Álvarez b2fe832c7b Bug 1603313 - Remove some silly patterns. r=bzbarsky
foo ? true : false

or:

  foo ? false : true

Have always a nicer way to be written.

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

--HG--
extra : moz-landing-system : lando
2019-12-14 05:05:01 +00:00
Emilio Cobos Álvarez 98d7b088ee Bug 1603871 - Simplify some bits in nsDocumentViewer. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D57175

--HG--
extra : moz-landing-system : lando
2019-12-14 00:25:22 +00:00
Csoregi Natalia 4dea2fe49f Backed out changeset 080ffc0db292 (bug 1603871) for bustages on nsDocumentViewer.cpp. CLOSED TREE 2019-12-14 01:29:09 +02:00