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

691732 Коммитов

Автор SHA1 Сообщение Дата
Cameron McCormack ad66f7561b Bug 1607667 - Change initial value of image-orientation to from-image. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D62826

--HG--
extra : moz-landing-system : lando
2020-02-14 11:11:27 +00:00
Emilio Cobos Álvarez 28b7a52e45 Bug 1615830 - Don't allow checkboxes to loose aspect-ratio. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D63006

--HG--
extra : moz-landing-system : lando
2020-02-16 16:04:31 +00:00
Masayuki Nakano 58a034fe7d Bug 1588688 - part 8: Make `HTMLEditor::DoInsertHTMLWithContext()` and its helper methods use array of `nsIContent` rather than `nsINode` r=m_kato
Finally, this patch makes `HTMLEditor::DoInsertHTMLWithContext()` stop using
array of `nsINode`.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 07:16:27 +00:00
Emilio Cobos Álvarez e02bf215b7 Bug 1615876 - Minor gradient parsing cleanup. r=ntim
I suggested the compat_mode bit in D62923 but it was somehow only applied to one
of the branches.

Also rustfmt the code for consistency, and add a local alias.

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

--HG--
extra : moz-landing-system : lando
2020-02-16 11:00:45 +00:00
Andreea Pavel 5400d6b777 Bug 1615807 - further update shared-worker-import-data-url.any.html expectation r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D62998

--HG--
extra : moz-landing-system : lando
2020-02-16 10:56:04 +00:00
Jeff Gilbert cc0f990650 Bug 1615851 - layer::Image::GetAsSourceSurface is fallible. r=lsalzman
This fixes a crash, where we expected it to be infallible.

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

--HG--
extra : moz-landing-system : lando
2020-02-16 04:07:20 +00:00
Masayuki Nakano 839d86eece Bug 1588688 - part 7-10: Make `ReplaceOrphanedStructure()` call `CollectListAndTableRelatedElementsAt()` by itself r=m_kato
For guaranteeing the meaning of `aArrayOfListAndTableRelatedElements`,
`ReplaceOrphanedStructure()` should call
`CollectListAndTableRelatedElementsAt()` by itself rather than taking as
a parameter.

Then, what it does becomes a little bit clearer.  Therefore, this patch renames
`ReplaceOrphanedStructure()` to `EnsureBeginsOrEndsWithValidContent()` and
`DiscoverPartialListsAndTables()` to `GetMostAncestorListOrTableElement()`,
and adds a lot of comments.

As far as I've tested by my hand, the behavior is not changed even though
it's really buggy in some cases.  We should fix them after writing automated
tests in another bug.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 05:40:37 +00:00
Nils Ohlmeier [:drno] aeddd7970d Bug 1615445: set webrtc DTLS min version to 1.2. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D62828

--HG--
extra : moz-landing-system : lando
2020-02-13 22:13:53 +00:00
Jeff Gilbert b8111d92ec 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 22:48:36 +00:00
Emilio Cobos Álvarez 544c0e8d19 Bug 1615832 - Add a missing file for the test for this bug... d'oh.
Differential Revision: https://phabricator.services.mozilla.com/D63004

--HG--
extra : moz-landing-system : lando
2020-02-15 21:42:45 +00:00
Masayuki Nakano d389b66f9c Bug 1588688 - part 7-9: Make `ReplaceOrphanedStructure()` call `DiscoverPartialListsAndTables()` by itself r=m_kato
For guaranteeing the meaning of list or `<table>` element in
`ReplaceOrphanedStructure()`, it should call `DiscoverPartialListsAndTables()`.
Then, their meaning becomes clearer than coming from its parameter.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 03:27:16 +00:00
Tim Nguyen c15714cbeb 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 22:04:35 +00:00
Emilio Cobos Álvarez 6d9fd9419f Bug 1615832 - Fix a test after the previous patch.
Differential Revision: https://phabricator.services.mozilla.com/D63003

--HG--
extra : moz-landing-system : lando
2020-02-15 21:30:15 +00:00
Emilio Cobos Álvarez cae4218c68 Bug 1615832 - Fix diagnostics for error paths in sync loads.
This can happen with invalid @import rules in userContent / userChrome.css

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

--HG--
extra : moz-landing-system : lando
2020-02-15 21:27:06 +00:00
Doug Thayer e922294324 Bug 1613733 - Enable fast shutdown at last cycle collection r=froydnj
I think this is ready. We see no late write checks coming in from this
period in telemetry, and it's early in the cycle, so I think the best
time to enable this is now.

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

--HG--
extra : moz-landing-system : lando
2020-02-15 20:26:26 +00:00
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