Commit Graph

691717 Commits

Author SHA1 Message Date
Arthur Iakab
fa5241b0f1 Backed out changeset 57fa22ef0461 (bug 1615751) for multiple build bustages.
DONTBUILD
CLOSED TREE
2020-02-15 22:19:55 +02:00
Jeff Gilbert
739ec46d60 Bug 1615751 - Prune unused parts of GLScreenBuffer. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D62979

--HG--
extra : moz-landing-system : lando
2020-02-15 04:15:21 +00:00
Jeff Gilbert
d5933e1d25 Bug 1615750 - InvalidateFramebuffer DEPTH_STENCIL too on WebGL Present. r=lsalzman
Previously just the color attachment.

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

--HG--
extra : moz-landing-system : lando
2020-02-15 04:15:03 +00:00
Arthur Iakab
8fc81437b1 Backed out changeset 0721d0777474 (bug 1615489) for multiple build bustages.
DONTBUILD
CLOSED TREE
2020-02-15 21:50:33 +02:00
Tim Nguyen
cc1ec3b906 Bug 1615489 - Refactor GenericGradient for conic-gradient support. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D62923

--HG--
extra : moz-landing-system : lando
2020-02-15 19:07:54 +00:00
Andreea Pavel
7c77124818 Bug 1604593 - disable browser_webconsole_block_mixedcontent_securityerrors.js on fission r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D62994

--HG--
extra : moz-landing-system : lando
2020-02-15 17:28:25 +00:00
Andi-Bogdan Postelnicu
47700a0dea Bug 1615245 - checker fopen-usage should ignore some gtest include files. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62997

--HG--
extra : moz-landing-system : lando
2020-02-15 17:56:39 +00:00
Razvan Maries
90c44816ea Backed out changeset e56af64a3199 (bug 1615245) for build bustages on CustomMatchers.h. 2020-02-15 19:48:06 +02:00
Andi-Bogdan Postelnicu
cadd1bc08a Bug 1615245 - checker fopen-usage should ignore some gtest include files. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62997

--HG--
extra : moz-landing-system : lando
2020-02-15 17:36:32 +00:00
Gijs Kruitbosch
ce1a86b0e0 Bug 1610899 - avoid text track list being cut off, r=jaws
The text track list should not exceed the size of the video controls. Because it is positioned
absolutely, and because the height of the video is not known in the CSS, the only way to
ensure the list's height does not exceed the video's height is to set a 'top' value as well as
a 'bottom' one.

Unfortunately, that then means that if the list is quite small and the video quite tall, the
popup becomes way too large.

To avoid this, I've added another level of nesting, and used flexbox to align the actual list
to the bottom of the container for the list.

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

--HG--
extra : moz-landing-system : lando
2020-02-15 00:11:02 +00:00
shindli
ef9b6edae2 Backed out changeset 07fc980b7ed8 (bug 1615489) for causing linux build bustages 2020-02-15 15:41:45 +02:00
Tim Nguyen
dc4ed94109 Bug 1615489 - Refactor GenericGradient for conic-gradient support. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D62923

--HG--
extra : moz-landing-system : lando
2020-02-15 13:16:36 +00:00
Masayuki Nakano
7656ed2a64 Bug 1588688 - part 7-8: Encapsulate the first and last node fixer into a stack only class r=m_kato
In these patches, we know that there are a lot of helper methods to fix node
list which is created by `SubtreeContentIterator` and will be inserted into
the editor's DOM tree, and they are not used by other places.  So, we can
encapsulate them into a stack only class for making their usage clearer.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 02:59:32 +00:00
shindli
06359fff27 Merge mozilla-central to autoland on a CLOSED TREE 2020-02-15 11:58:32 +02:00
shindli
214fd1ca2d Merge autoland to mozilla-central. a=merge 2020-02-15 11:54:55 +02:00
Hiroyuki Ikezoe
f64788828d Bug 1612649 - Call UpdateImageState in SetDeferredLoad to start with not broken state for lazy load images. r=emilio
So that we can generate nsImageFrame for lazy load image elements in the first
place.

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

--HG--
rename : layout/reftests/image/moz-broken-matching-1.html => layout/reftests/image/moz-broken-matching-lazy-load.html
extra : moz-landing-system : lando
2020-02-15 08:45:27 +00:00
Masayuki Nakano
9d4fda135f Bug 1601585 - Make Document::EditingStateChanged() stop calling HTMLEditor::BeginingOfDocument() when there is a pending state change for contenteditable elements and there is a selection range r=smaug
For backward compatibility, `Document::EditingStateChanged()` calls
`HTMLEditor::BeginingOfDocument()` to initialize selection when the document
becomes editable first time.  However, it checks whether
`Document::mEditingState` was ``EditingState::eOff` or not.  This looks enough,
but not so because `Document::MaybeEditingStateChanged()` calls it
asynchronously if `contenteditable` element appears at not safe to run script.
Therefore, this patch makes it check `Document::mContentEditableCount` value
which is modified synchronously from `Element::AfterSetAttr()` (additionally,
this makes it check whether there is at least a range in normal selection too,
though).

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

--HG--
extra : moz-landing-system : lando
2020-02-15 08:18:43 +00:00
Masayuki Nakano
6725ec2b0e Bug 1601585 - Add a WPT to test selection in a contenteditable element with changing designMode r=smaug
We should port `editor/libeditor/tests/test_bug622371.html` to WPT.  It was
written for compatibility issue with CKEditor 9 years ago and Gecko and
Blink behave as exactly same.  Only Safari normalize the selection into the
end of the text node, but Safari also does not change selection at turning
on/off `designMode` too.  Therefore, all browser engines have implicit
agreement at least that selection shouldn't be changed at changing
`designMode`.

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

--HG--
extra : moz-landing-system : lando
2020-02-15 08:18:20 +00:00
Henrik Skupin
825278c69a Bug 1610374 - [remote] Page.navigateToHistoryEntry() has to wait for requested index been set. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D62658

--HG--
extra : moz-landing-system : lando
2020-02-15 08:14:40 +00:00
Emilio Cobos Álvarez
7dbe3f32c3 Bug 1615609 - Rename nsRefreshDriver::IntersectionObservationAdded. r=hiro
The existing name is wrong since recently.

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

--HG--
extra : moz-landing-system : lando
2020-02-15 07:23:51 +00:00
Masatoshi Kimura
798568d4ac Bug 1615769 - Move using namespace mozilla in order to resolve conflicts with Windows headers. r=saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D62989

--HG--
extra : moz-landing-system : lando
2020-02-15 05:57:58 +00:00
Mihai Alexandru Michis
b0717bce7e Bug 1614907 - Update expectation for shared-worker-import-data-url.any.html a=wpt-fix 2020-02-15 07:50:02 +02:00
Cosmin Sabou
6496cbabb4 Merge autoland to mozilla-central. a=merge 2020-02-14 17:50:46 +02:00
Cosmin Sabou
ff39f9206d Backed out 2 changesets (bug 1613263, bug 1611326) for presummably causing l10n langpack bustages. a=backout
Backed out changeset 77e54e76848a (bug 1611326)
Backed out changeset 36ba18ac3a68 (bug 1613263)
2020-02-14 15:02:21 +02:00
Matthew Noorenberghe
ff27adf28d Bug 1615134 - Shell service API to open macOS Security & Privacy preferences panes. r=spohl
Example: Cc["@mozilla.org/browser/shell-service;1"].getService(Ci.nsIMacShellService).showSecurityPreferences("Privacy_AllFiles")

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

--HG--
extra : moz-landing-system : lando
2020-02-14 04:06:09 +00:00
Jonathan Watt
9bed859779 Bug 855889. Remove the print.use_global_printsettings pref. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D62754

--HG--
extra : moz-landing-system : lando
2020-02-14 02:59:45 +00:00
Emilio Cobos Álvarez
cbcf929c90 Bug 1615261 - Fix ImageLoader setup for animated images in print preview. r=tnikkel
It's not clear to me this ever worked before either, I don't think the logic
before my patch was sound before.

But oh well. This should work, gotta add a test for it.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 12:36:25 +00:00
Bogdan Tara
069b456ae9 Backed out changeset 60549faf4734 (bug 1605895) for StreamLoader related failures CLOSED TREE 2020-02-14 14:35:46 +02:00
Bogdan Tara
2a147d1696 Backed out changeset bc387540075d (bug 1615405) on evilpie's request CLOSED TREE 2020-02-14 14:34:53 +02:00
Tom Schuster
140762b57e Bug 1615405 - eval(nonString) should not have observable side effects. r=tcampbell,baku
After this change we can restrict contentSecurityPolicyAllows callbacks to just strings, because everything
else is excluded before calling that callback.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 12:26:21 +00:00
Valentin Gosu
fc5a5e5952 Bug 1615058 - Do not load library for DnsQuery_A at runtime r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D62652

--HG--
extra : moz-landing-system : lando
2020-02-14 11:40:57 +00:00
Emilio Cobos Álvarez
dad1c216e0 Bug 1605895 - Add some assertions to catch misuse of the stream loader / load datas. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D62671

--HG--
extra : moz-landing-system : lando
2020-02-13 11:08:36 +00:00
Mirko Brodesser
6e807ea95a Bug 1615304: part 2) Remove unused code in nsFrameSelection. r=jfkthame
Depends on D62879

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

--HG--
extra : moz-landing-system : lando
2020-02-14 11:17:08 +00:00
Mirko Brodesser
3d79d25cdf Bug 1615304: part 1) Move nsFrameSelection::DeleteFromDocument to Selection. r=smaug
Helps to clarify the role of `nsFrameSelection`.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 10:58:06 +00:00
Jon Coppeard
fe41923bf8 Bug 1615354 - Rename FinalizationGroup 'holdings' field to 'heldValue' in line with the spec r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D62776

--HG--
extra : moz-landing-system : lando
2020-02-14 01:10:14 +00:00
Bogdan Tara
cc05482fe3 Backed out changeset d85d1a9cb70f (bug 1609567) for debugger complaining about ConditionalPanel&createEditor CLOSED TREE 2020-02-14 12:32:07 +02:00
Masayuki Nakano
55963fc5b9 Bug 1588688 - part 7-7: Clean up HTMLEditor::ReplaceOrphanedStructure() r=m_kato
Unfortunately, even with this cleaning up, I don't understand what it does
because existing comment and what actually it does seem different.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 09:06:44 +00:00
Hiroyuki Ikezoe
48f45a3d02 Bug 1550800 - Make PuppetWidget::WidgetToScreenOffset work in out-of-process iframes. r=hsivonen,emilio
A mochitest for this change will be landed in bug 1614268 which needs
a work to make Element.focus() work in OOP iframes (bug 1556627).

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

--HG--
extra : moz-landing-system : lando
2020-02-12 01:44:28 +00:00
Hiroyuki Ikezoe
796e6049b6 Bug 1550800 - Call BrowserParent::UpdateDimensions() in BrowserBridgeParent::RecvUpdateDimensions. r=nika,hsivonen
So that we can get the correct client offset value and store other metrics
there and reuse them when the top browser window moves.

The client offset, browser window title bar and window decorated frame width,
is necessary to get element positions in OOP iframes in screen coordinates
for drag-and-drop etc.

This change also fixes event.screen{X,Y}. A mochitest in this commit fails
without this change with enabling fission at least on Linux. Note that in the
mochitest we have to use nsIDOMWindowUtils.synthesizeNativeMouseClick instead
of nsIDOMWindowUtils.sendMouseEvent since sendMouseEvent doesn't work in fission
world (bug 1528935).

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

--HG--
extra : moz-landing-system : lando
2020-02-13 22:30:56 +00:00
Masayuki Nakano
58164b1ddf Bug 1588688 - part 7-3: Clean up HTMLEditor::ScanForTableStructure() r=m_kato
The name does not explain what it does.  Additionally, it should be same style
as `HTMLEditor::IsReplaceableListElement()` for making it easier to understand.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 02:55:53 +00:00
Brindusan Cristian
09a49910fa Backed out changeset 19c9be9294f4 (bug 1613733) for Android Bpgo build bustages. CLOSED TREE 2020-02-14 04:33:17 +02:00
Glenn Watson
1b40eb8660 Bug 1615141 - Fix panic in picture cache dependency building. r=Bert
Differential Revision: https://phabricator.services.mozilla.com/D62851

--HG--
extra : moz-landing-system : lando
2020-02-14 00:30:02 +00:00
Greg V
e5dcb46da9 Bug 1615465 - fix missing nsString include in GLContext r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D62843

--HG--
extra : moz-landing-system : lando
2020-02-14 00:25:19 +00:00
Dana Keeler
63fee6e2b1 bug 1615068 - enable test_osclientcerts_module.js on macOS r=kjacobs
Differential Revision: https://phabricator.services.mozilla.com/D62824

--HG--
extra : moz-landing-system : lando
2020-02-14 00:24:46 +00:00
Hiroyuki Ikezoe
38a45b7de4 Bug 1613611 - Enable lazy load images by default. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D62709

--HG--
extra : moz-landing-system : lando
2020-02-14 00:14:46 +00:00
Haik Aftandilian
6395b475b8 Bug 1612006 - getDisplayMedia NotFoundError in firefox after upgrade to MacOS 10.15.3 r=spohl
Update the heuristic-based screen recording permission check to be more
reliable but still imperfect.

Add pref "media.macos.screenrecording.oscheck.enabled" (true by default) to
allow bypassing the permission check as a workaround and for testing.
i.e., when the pref is set,
nsIOSPermissionRequest::getScreenCapturePermissionState() always returns
PERMISSION_STATE_AUTHORIZED on macOS.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 23:36:23 +00:00
Mike Shal
ad0c283ab2 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 23:07:04 +00:00
Timothy Nikkel
34bf1314fd Bug 1613482. Clear nsRefreshDriver::mHasScheduleFlush whenever mViewManagerFlushIsPending is cleared. r=mattwoodrow
mHasScheduleFlush is meant to track mViewManagerFlushIsPending except mViewManagerFlushIsPending gets set to false just before we call ProcessPendingUpdates, whereas mHasScheduleFlush is set to false just after we call ProcessPendingUpdates.

There are a couple places where mViewManagerFlushIsPending gets set to false that don't clear mHasScheduleFlush though. This leaves mHasScheduleFlush true until we get another paint that changed something. This causes this code

https://searchfox.org/mozilla-central/rev/3a0a8e2762821c6afc1d235b3eb3dde63ad3b01a/layout/painting/nsDisplayList.cpp#3058

in nsDisplayList::PaintRoot to always notify of invalidation (with webrender). This in turn causes a loop in the reftest harness: notify invalidation -> mozafterpaint -> update canvas -> paint -> notify invalidation.

This code changed a bunch until settling on the current design in bug 1404091.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 19:01:29 +00:00
Boris Chiou
79959fa354 Bug 1559276 - Drop stale WPT annotation .ini files after vendor-imports was synced. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D62983

--HG--
extra : moz-landing-system : lando
2020-02-15 01:03:05 +00:00
Erik Nordin
14304c1fdf Bug 1609288 - Apply styles from adopted stylesheets r=emilio
- Ensure that adopted styles are applied correctly to ShadowRoot
- Ensure that adopted styles are applied correctly to Document
- Add new WPT test cases to ensure the ordering of the styles.

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

--HG--
extra : moz-landing-system : lando
2020-02-15 01:16:46 +00:00