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

608701 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano e235a4e390 Bug 1482015 - Create HTMLEditor::RemoveInlinePropertyInternal() for internal use r=m_kato
For making it possible to distinguish if HTMLEditor::RemoveInlineProperty() is
called by outer class or editor itself, this patch creates
Create HTMLEditor::RemoveInlinePropertyInternal() and makes the internal
callers use this new method.

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

--HG--
extra : moz-landing-system : lando
2018-08-13 06:16:24 +00:00
James Teh 0912c08892 Bug 1480060: Support aria-multiselectable on role tablist. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D3076

--HG--
extra : moz-landing-system : lando
2018-08-13 06:28:35 +00:00
Masayuki Nakano 205851fb7c Bug 1482013 - Create HTMLEditor::SetInlinePropertyInternal() for internal use r=m_kato
For making it possible to distinguish if SetInlineProperty() is called by outer
class or the editor itself, this patch creates SetInlinePropertyInternal().

Additionally, this makes the first argument of SetInlineProperty() from
nsAtom* to nsAtom& since it's not nullable.

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

--HG--
extra : moz-landing-system : lando
2018-08-13 05:16:10 +00:00
Masayuki Nakano c0e869978e Bug 1482012 - part 2: Create TextEditor::PasteAsAction() as non-virtual method for outer C++ code r=m_kato
User may paste a lot with pressing Accel+V for a while (i.e., with auto repeat).
So, calling nsIEditor::Paste() may be in a hot path and we can now make
non-virtual public method with AsHTMLEditor().

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

--HG--
extra : moz-landing-system : lando
2018-08-13 04:37:56 +00:00
Masayuki Nakano fa50ac3342 Bug 1482012 - part 1: Create HTMLEditor::PasteInternal() for internal use r=m_kato
HTMLEditor::Paste() is an override of nsIEditor.  So, it's virtual and public.
We should use protected method for internal use and should make it non-virtual
if possible.  This patch creates PasteInternal() which is a protected
non-virtual method.

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

--HG--
extra : moz-landing-system : lando
2018-08-13 04:15:34 +00:00
Makoto Kato fef13a2f66 Bug 1464251 - SplitNodeDeepWithTransaction might create orphan node. r=masayuki
SplitStyleAbovePoint calls SplitNodeDeepWithTransaction repeatedly. If
SplitNodeDeepWithTransaction creates orphan node like this test case,
this crash occurs.  So we should check whether node becomes orphan node.

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

--HG--
extra : moz-landing-system : lando
2018-08-09 08:22:50 +00:00
Xidorn Quan 0b27da2b4b Bug 1478178 - Sync the condition in ApplyFrameJustification as that in ComputeFrameJustification. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D2817

--HG--
extra : moz-landing-system : lando
2018-08-13 00:07:35 +00:00
Cameron McCormack a2eba7a28c Bug 1482677 - Remove unused BorrowedAtom. r=emilio,TYLin
MozReview-Commit-ID: FEnicnGj118

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

--HG--
extra : moz-landing-system : lando
2018-08-12 11:16:25 +00:00
Emilio Cobos Álvarez 727fe6d4b7 Bug 1482694 - Don't clear the insertion point from ClearInsertedChildren if we're not the insertion point the node is assigned to. r=smaug
What's going on is that nested XBL insertion points are completely unsound, and
we leave all sorts of kids in mInsertedChildren when bindings dynamically
change.

So if bindings change in a particular way so that the innermost insertion point
is cleared, but the outermost bindings aren't, like this, we end up with an
inconsistent flattened tree.

This prevents the inconsistent flattened tree in this case, though what ought
to happen in the SetXBLInsertionPoint(nullptr) case is setting the insertion
point to the outer insertion point.

But we don't keep track of all our insertion points, and I don't think it's
worth to fix that given XBL is going away unless it gives us more problems. See
also bug 1425362 & co.

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

--HG--
extra : moz-landing-system : lando
2018-08-12 18:17:48 +00:00
Brindusan Cristian ba708c34ec Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-13 00:53:06 +03:00
Brindusan Cristian 8d06786539 Merge inbound to mozilla-central. a=merge 2018-08-13 00:49:13 +03:00
Brindusan Cristian 91db530d6b Merge autoland to mozilla-central. a=merge 2018-08-13 00:47:25 +03:00
makmm 0d42280111 Bug 1476580 - rewrite italic font toggle using ::before. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D3013

--HG--
extra : moz-landing-system : lando
2018-08-12 20:15:27 +00:00
Narcis Beleuzu f4e5fb2d0f Backed out 2 changesets (bug 1474028) per chmanchester`s request. a=backout
Backed out changeset 52bd814d3589 (bug 1474028)
Backed out changeset 39a528147c34 (bug 1474028)
2018-08-12 21:22:45 +03:00
Francesco Lodolo (:flod) 69e36d1081 Bug 1482637 - Add missing trailing period to contentBlocking.notDetected string r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D3144

--HG--
extra : moz-landing-system : lando
2018-08-12 15:13:57 +00:00
Cosmin Sabou ca86972424 Backed out 8 changesets (bug 1481009) for causing devtools crashes @XUL + 0x37bba19. a=backout
Backed out changeset 11ee868c5903 (bug 1481009)
Backed out changeset 4a0c7dd5e1ac (bug 1481009)
Backed out changeset 4e6908123a97 (bug 1481009)
Backed out changeset 6869ea5ebd32 (bug 1481009)
Backed out changeset 85eec9cfc3d9 (bug 1481009)
Backed out changeset f7f4127aa9d8 (bug 1481009)
Backed out changeset 58598aa3cf0c (bug 1481009)
Backed out changeset 1ec7f635f4f3 (bug 1481009)
2018-08-12 14:50:41 +03:00
Kris Maglione 7ce09e1fd8 Bug 1481025: Fix devtools code which calls message manager methods with a null target. r=ochameau
MozReview-Commit-ID: KJeQjwhfJbw

--HG--
extra : rebase_source : 682a0007b1fa802643e5ec43e0ff40db8efded03
2018-08-04 15:51:56 -07:00
Kris Maglione 637cac1ea7 Bug 1481024: Stop relying on lexical variables being available across frame scripts. r=yzen
The accessibility tests currently rely, in many places, on lexical variables
defined in global frame scripts being available to other non-global frame
scripts. While that is currently the case, it will stop being so soon.

And, while the simplest solution would be to define them as properties on the
frame message manager by using `var` rather than `let`, storing references to
the current content window in a frame script scope is unsafe at best, and
should be avoided at all costs.

MozReview-Commit-ID: 4FCGtLgcFzl

--HG--
extra : rebase_source : d21206c9f119ca0ce61f9956f84a2e2d11484bca
2018-08-02 20:19:50 -07:00
Ciure Andrei 1c0025e0de Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-08-12 05:19:52 +03:00
Dorel Luca 2325ef30c4 Backed out 16 changesets (bug 1481478, bug 1482434, bug 1477230, bug 1459618, bug 1460281, bug 1450151, bug 1480787, bug 1480724, bug 1459593, bug 1480560) for wpt failures on multipefiles. CLOSED TREE
Backed out changeset 16c9abfa230c (bug 1482434)
Backed out changeset 0cff8da6a4f4 (bug 1481478)
Backed out changeset f4716486af30 (bug 1460281)
Backed out changeset bf082e33a824 (bug 1459593)
Backed out changeset 936c2d035358 (bug 1459593)
Backed out changeset b0e2387b5781 (bug 1450151)
Backed out changeset 7fe7da394986 (bug 1450151)
Backed out changeset 5fd6d3ad49ea (bug 1459618)
Backed out changeset e08114ea42d3 (bug 1459618)
Backed out changeset ba42a3f7a317 (bug 1480724)
Backed out changeset 21ac820030f7 (bug 1480724)
Backed out changeset d7eaecb758f7 (bug 1480787)
Backed out changeset 509f61d497cd (bug 1480560)
Backed out changeset 63a59e79c1dd (bug 1480560)
Backed out changeset d7389a33caea (bug 1477230)
Backed out changeset 04e49a49f1ea (bug 1477230)
2018-08-12 02:40:19 +03:00
Ciure Andrei f900c72a93 Merge inbound to mozilla-central. a=merge 2018-08-12 00:53:49 +03:00
Dorel Luca 3eadc92da5 Backed out changeset 4575c3b6b09c (bug 1450824) for failing wpt on svg/painting/reftests/markers-orient-001.svg. CLOSED TREE 2018-08-12 00:51:29 +03:00
moz-wptsync-bot f2f1f517d5 Bug 1482434 - [wpt-sync] Update web-platform-tests to d309efd6d5a63376db72494c21d403624c14d7af, a=testonly
wpt-head: d309efd6d5a63376db72494c21d403624c14d7af
wpt-type: landing
2018-08-11 18:33:23 +00:00
Ms2ger af71eca771 Bug 1481478 [wpt PR 12338] - Fix some typos in testharness.js., a=testonly
Automatic update from web-platform-testsFix some typos in testharness.js.

--

wpt-commits: 5ee7f865c347c346d8bf3295d7b5e2602f5caca7
wpt-pr: 12338
2018-08-11 18:33:23 +00:00
Chris Lilley 4b979f9ac1 Bug 1460281 [wpt PR 10926] - Add test for marker 'orient' attribute., a=testonly
Automatic update from web-platform-testsMerge pull request #10926 from Tavmjong/markers-orient

Add test for marker 'orient' attribute.
--

wpt-commits: eea0b54014e970a2f94f1c35ec6e18ece76beb76
wpt-pr: 10926
2018-08-11 18:33:22 +00:00
moz-wptsync-bot cfa4dc3916 Bug 1459593 [wpt PR 10868] - Update wpt metadata, a=testonly
wpt-pr: 10868
wpt-type: metadata
2018-08-11 18:33:21 +00:00
Chris Lilley e53edc0d28 Bug 1459593 [wpt PR 10868] - Add basic text 'inline-size' tests., a=testonly
Automatic update from web-platform-testsMerge pull request #10868 from Tavmjong/inline-size

Add basic text 'inline-size' tests.
--

wpt-commits: 4d887869b49459f5fc5313171b94aea62de7d7bb
wpt-pr: 10868
2018-08-11 18:33:21 +00:00
Chris Lilley 6e17619fbd Bug 1450824 [wpt PR 10275] - Add tests for rel, rellist, download, and text on SVGAElement, a=testonly
Automatic update from web-platform-testsMerge pull request #10275 from dstorey/svgaelement-additions

Add tests for rel, rellist, download, and text on SVGAElement
--

wpt-commits: 60f5bae752dd625ae83a730c635254cdb9f3d970
wpt-pr: 10275
2018-08-11 18:33:21 +00:00
moz-wptsync-bot 9859827793 Bug 1450151 [wpt PR 10249] - Update wpt metadata, a=testonly
wpt-pr: 10249
wpt-type: metadata
2018-08-11 18:33:20 +00:00
Chris Lilley 0e3e35e6ff Bug 1450151 [wpt PR 10249] - Add test for DocumentAndElementEventHandlers in SVG, a=testonly
Automatic update from web-platform-testsMerge pull request #10249 from dstorey/svg-document-element-events

Add test for DocumentAndElementEventHandlers in SVG
--

wpt-commits: 1529e32ac8073c48e872e7d705a10daa24decbbf
wpt-pr: 10249
2018-08-11 18:33:20 +00:00
moz-wptsync-bot 2ca1938d9a Bug 1459618 [wpt PR 10871] - Update wpt metadata, a=testonly
wpt-pr: 10871
wpt-type: metadata
2018-08-11 18:33:19 +00:00
Chris Lilley c06597e90c Bug 1459618 [wpt PR 10871] - Add basic text multiline text (via 'white-space')., a=testonly
Automatic update from web-platform-testsMerge pull request #10871 from Tavmjong/multi-line

Add basic text multiline text (via 'white-space').
--

wpt-commits: 910640bcb4924b36e4cd5fc1dc0fd12ff13c09be
wpt-pr: 10871
2018-08-11 18:33:19 +00:00
moz-wptsync-bot 976da82242 Bug 1480724 [wpt PR 12293] - Update wpt metadata, a=testonly
wpt-pr: 12293
wpt-type: metadata
2018-08-11 18:33:18 +00:00
Ms2ger bcc1d76033 Bug 1480724 [wpt PR 12293] - Use a .worker.js test for WorkerGlobalScope_requestAnimationFrame., a=testonly
Automatic update from web-platform-testsUse a .worker.js test for WorkerGlobalScope_requestAnimationFrame.

--

wpt-commits: 5a3a984492dcd1b1586576790922baf0a208dfb5
wpt-pr: 12293
2018-08-11 18:33:18 +00:00
Morten Stenshorne d4dfc6b9d9 Bug 1480787 [wpt PR 12297] - [LayoutNG] Pass constraint space to inline children for min/max., a=testonly
Automatic update from web-platform-tests[LayoutNG] Pass constraint space to inline children for min/max.

Orthogonal flow root children are going to need to calculate an
extrinsic constraint space. We already got this right for direct block
children, but not for floated children of inline child nodes.

Three tests start to pass, but I wrote a new test as well, that's more
to the point (it used to fail a DCHECK, and then render incorrectly, if
we bypassed that).

Cq-Include-Trybots: luci.chromium.try​:linux_layout_tests_layout_ng
Change-Id: Iffea4e8cb26f41f8b5caac4bbb7185df5f62f7d7
Reviewed-on: https://chromium-review.googlesource.com/1162175
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#581188}

--

wpt-commits: 25475a3887220baee22dfef032474040401d84e3
wpt-pr: 12297
2018-08-11 18:33:17 +00:00
moz-wptsync-bot b2470ea83f Bug 1480560 [wpt PR 12284] - Update wpt metadata, a=testonly
wpt-pr: 12284
wpt-type: metadata
2018-08-11 18:33:17 +00:00
Luke Bjerring 4f9bebeed8 Bug 1480560 [wpt PR 12284] - Update the screen-capture IDL file, a=testonly
Automatic update from web-platform-testsAdd the screen-capture IDL file + test (#12284)

--

wpt-commits: ae2f8dd7e531d6da7a651021dd00af9f3082d58d
wpt-pr: 12284
2018-08-11 18:33:16 +00:00
moz-wptsync-bot 47295c9325 Bug 1477230 [wpt PR 12089] - Update wpt metadata, a=testonly
wpt-pr: 12089
wpt-type: metadata
2018-08-11 18:33:16 +00:00
Manuel Rego Casasnovas 96cbc8abeb Bug 1477230 [wpt PR 12089] - [css-grid] Change how percentage row tracks and gaps are resolved, a=testonly
Automatic update from web-platform-tests[css-grid] Change how percentage row tracks and gaps are resolved

The CSSWG decided to change how percentage row tracks and gutters
in a grid container with indefinite height are resolved.

The CSSWG issues are:
* https://github.com/w3c/csswg-drafts/issues/1921
* https://github.com/w3c/csswg-drafts/issues/509

So far they were resolved as "auto", like it happens with
percentage heights in regular blocks. But now they're going to behave
similar to what happens in the columns axis, they would be ignored
to compute the intrinsic height.
This causes that we need to repeat the track sizing algorithm
when we have a grid container with indefinite height
that has some percentage rows using the intrinsic height
calculated on the first pass. Then the percentages will be resolved
against the intrinsic height.

We are adding two new tests for this new behavior
on top of updating several tests that were using percentages.
We also add a test for content alignment and the second pass
when the row size changes, the last case fails due to crbug.com/871230.

JFTR, intent to implement and ship thread:
https://groups.google.com/a/chromium.org/d/msg/blink-dev/CJgcT4hR7Rk/58WfZNbWBQAJ

BUG=846187
TEST=css/css-grid/grid-definition/grid-percentage-rows-indefinite-height-001.html
TEST=css/css-grid/grid-definition/grid-percentage-rows-indefinite-height-002.html
TEST=css/css-grid/alignment/grid-content-alignment-second-pass-002.html

Change-Id: I2a1959af6c95e0c47d294580599fdbf9bc432348
Reviewed-on: https://chromium-review.googlesource.com/1142409
Commit-Queue: Manuel Rego <rego@igalia.com>
Reviewed-by: Sergio Villar <svillar@igalia.com>
Cr-Commit-Position: refs/heads/master@{#581185}

--

wpt-commits: 244c6baf38953eac29840e2fbcb8a42dd8bafe88
wpt-pr: 12089
2018-08-11 18:33:15 +00:00
Jean-Yves Avenard f5fbe2c29b Bug 1480190 - Enable media-capablities extension by default. r=drno,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D3061

--HG--
extra : moz-landing-system : lando
2018-08-11 17:37:08 +00:00
Dale Harvey 330a576a5c Bug 1481289 - Update autoplay media blocked icon. r=dao
MozReview-Commit-ID: Dxmf6uoNlSI
2018-08-11 16:29:05 +01:00
Brian Hackett ec353304d3 Bug 1465491 - Add remaining web replay tests.
--HG--
extra : rebase_source : 696fe3e6223bdb4790a03e6c1229beabe16ca974
2018-08-10 18:20:15 +00:00
Jan de Mooij b3d493f06a Bug 1482423 part 2 - Use js::IsSystemCompartment in xpc::AccessCheck::isChrome. r=mrbkap
--HG--
extra : rebase_source : 7998deb57b0fd8fddcc822bb726a29d3942d3601
2018-08-11 13:12:49 +02:00
Jan de Mooij ab76b86554 Bug 1482423 part 1 - Assert compartments don't contain both system/non-system realms. r=luke
--HG--
extra : rebase_source : 44c6949467eb246ac523fae3dbe96f5848ff2602
2018-08-11 13:12:49 +02:00
ExE Boss 49402056bc Bug 1482411 - Port bug 1371951 changes to extension-mac.css r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D3112

--HG--
extra : moz-landing-system : lando
2018-08-10 15:00:35 +00:00
Ed Lee a23ae6debf Bug 1482565 - Support and show @Яндекс and @百度 searches for yandex and baidu r=mkaply
Depends on D3133
Depends on D3033

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

--HG--
extra : moz-landing-system : lando
2018-08-11 13:26:39 +00:00
Andreea Pavel 260e13f78d Merge mozilla-central to autoland. a=backout 2018-08-11 13:49:05 +03:00
Andreea Pavel dc28b8bddf Backed out changeset ef30529d43dd (bug 1476509) for breaking localization a=backout 2018-08-11 13:45:07 +03:00
Andreea Pavel 2f1ab64d7d Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-08-11 13:27:33 +03:00
Andreea Pavel 308525ebcd Merge mozilla-inbound to mozilla-central. a=merge 2018-08-11 13:25:30 +03:00