Commit Graph

609801 Commits

Author SHA1 Message Date
Masayuki Nakano
b212948c3b Bug 1484092 - part 1: Make HTMLEditor::GetElementOrParentByTagName() use nsAtom for the tag name r=m_kato
HTMLElementOrParentByTagName() is the last user of IsLinkTag(const nsAString&)
and IsNamedAnchorTag(const nsAString&).  For making their maintenance easier,
let's make GetElementOrParentByTagName() take const nsAtom& for tag name.

GetElementOrParentByTagName() has two functions, one is looking for an element
starting from a node.  The other is, if the start node is nullptr, it retrieves
anchor node of Selection as start node.  Therefore, this patch splits the
first part to GetElementOrParentByTagNameInternal().  Then, creates its
wrapper which retrieves anchor of Selection automatically,
GetElementOrParentByTagNameAtSelection().

Additionally, this patch makes all internal callers of HTMLEditor use
GetElementOrParentByTagNameInternal() or
GetElementOrParentByTagNameAtSelection() directly.  Then, public method,
GetElementOrParentByTagName() is called only by outer classes.

Note that some callers use both GetElementOrParentByTagNameInternal()
and GetElementOrParentByTagNameAtSelection() since they don't check whether
setting node is nullptr.  They may be bug of them.  We should investigate
the API callers later.

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

--HG--
extra : moz-landing-system : lando
2018-08-17 14:06:18 +00:00
Emilio Cobos Álvarez
07b550f35b Bug 1483882: followup: Adjust a QR test expectation for now. r=me CLOSED TREE 2018-08-17 15:15:34 +02:00
Xidorn Quan
f2d834dde8 Bug 1484146 - Use AspectRatio directly for RangeOrOperator::evaluate. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D3587

--HG--
extra : moz-landing-system : lando
2018-08-17 12:46:02 +00:00
Margareta Eliza Balazs
def24933ef Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-17 15:07:45 +03:00
Margareta Eliza Balazs
ef8b3886cb Backed out changeset 93877b72e677 (bug 1473392) for causing mch perma failures in testing/mochitest/tests/python/test_basic_mochitest_plain.py a=backout 2018-08-17 14:59:59 +03:00
Emilio Cobos Álvarez
9d77ba352b Bug 1483882 - Teach IDTracker about Shadow DOM. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D3533

--HG--
extra : moz-landing-system : lando
2018-08-17 11:35:15 +00:00
Margareta Eliza Balazs
6c198262de Merge inbound to mozilla-central. a=merge 2018-08-17 12:46:14 +03:00
Margareta Eliza Balazs
0d855aa7f1 Backed out changeset 033428417ae7 (bug 1483979) for bc failures in browser/components/customizableui/test/browser_remote_tabs_button.js 2018-08-17 10:41:30 +03:00
Noemi Erli
af13fc5613 Backed out 2 changesets (bug 1483380) for frequent cgx and arm64 failures
Backed out changeset 3e060afdccb2 (bug 1483380)
Backed out changeset 6d48a7757fda (bug 1483380)
2018-08-17 10:01:38 +03:00
Hiroyuki Ikezoe
1e0504013e Bug 1420020 - Disable all properties-value-inherit-xxx.html on ASAN builds. r=birtles
All tests have been disabled on debug builds since 73ff8c6e0837 [1].  We should
also disable them on ASAN builds for now.

This will stop intermittent failures on properties-value-inherit-001.html
(bug 1420020), and on properties-value-inherit-002.html (bug 1429404 and
bug 1444280).  There is no intermitent failures bugs for
properties-value-inherit-003.html though.

There is no other high volume intermittent failure at this moment.

[1] https://hg.mozilla.org/mozilla-central/rev/73ff8c6e0837

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

--HG--
extra : moz-landing-system : lando
2018-08-17 06:32:42 +00:00
Edouard Oger
0023148b4d Bug 1483979 - Enable fxa commands r=markh
Differential Revision: https://phabricator.services.mozilla.com/D3569

--HG--
extra : moz-landing-system : lando
2018-08-17 05:50:51 +00:00
Razvan Caliman
aece8388d6 Bug 1483575 - Update font editor in response to font property value changes outside the selected rule. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D3502

--HG--
extra : moz-landing-system : lando
2018-08-16 14:26:48 +00:00
Razvan Caliman
e7c6b51c44 Bug 1483575 - (Part 4) Ensure computed value for line-height is converted to unitless. r=gl
Depends on D3500

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

--HG--
extra : moz-landing-system : lando
2018-08-16 14:50:13 +00:00
Razvan Caliman
64aad28a77 Bug 1483575 - (Part 3) Update unit conversion to handle unitless values. r=gl
Add special handling for line-height property.

Depends on D3498

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

--HG--
extra : moz-landing-system : lando
2018-08-16 14:49:36 +00:00
Razvan Caliman
4bc089e80f Bug 1483575 - (Part 2) Add LineHeight component to font editor. r=gl
MozReview-Commit-ID: JiMBI3QMKML

Depends on D3498

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

--HG--
extra : moz-landing-system : lando
2018-08-16 14:48:51 +00:00
Razvan Caliman
bedc156add Bug 1483575 - (Part 1) Externalize units from FontPropertyValue component. r=gl
MozReview-Commit-ID: 65ObfBLlRR9

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

--HG--
extra : moz-landing-system : lando
2018-08-17 10:59:21 +00:00
Noemi Erli
79400be144 Backed out 2 changesets (bug 1484092) for build bustages in builds/worker/workspace/build/src/editor/libeditor/HTMLEditor.cpp💯53 on a CLOSED TREE
Backed out changeset 10fdd041f1b5 (bug 1484092)
Backed out changeset d0b14e8711df (bug 1484092)
2018-08-17 13:39:44 +03:00
Noemi Erli
c6f79a6d0e Backed out 1 changesets (bug 1483882) for reftest failures in builds/worker/workspace/build/tests/reftest/tests/layout/reftests/svg/fragid-shadow-3.html on a CLOSED TREE
Backed out changeset d25d4da4aad2 (bug 1483882)
2018-08-17 13:37:55 +03:00
Masayuki Nakano
16a97643c7 Bug 1484092 - part 2: Drop supporting "namedanchor" special element name from nsIHTMLEditor::GetSelectedElement(), nsIHTMLEditor::GetElementOrParentByTagName() and nsIHTMLEditor::CreateElementWithDefaults() r=m_kato
Nobody (including comm-central and BlueGriffon) does not use "namedanchor"
special element name with those XPCOMs.  Of course, our internal callers too.
Therefore, we can drop.

Note that there is no static Atom for this, so, keeping it makes unnecessary
runtime cost for Firefox users.

This could cause breaking some legacy add-ons for Thunderbird.  However,
they can use "anchor" special element name for same purpose.

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

--HG--
extra : moz-landing-system : lando
2018-08-17 07:41:55 +00:00
Masayuki Nakano
a8b7670d10 Bug 1484092 - part 1: Make HTMLEditor::GetElementOrParentByTagName() use nsAtom for the tag name r=m_kato
HTMLElementOrParentByTagName() is the last user of IsLinkTag(const nsAString&)
and IsNamedAnchorTag(const nsAString&).  For making their maintenance easier,
let's make GetElementOrParentByTagName() take const nsAtom& for tag name.

GetElementOrParentByTagName() has two functions, one is looking for an element
starting from a node.  The other is, if the start node is nullptr, it retrieves
anchor node of Selection as start node.  Therefore, this patch splits the
first part to GetElementOrParentByTagNameInternal().  Then, creates its
wrapper which retrieves anchor of Selection automatically,
GetElementOrParentByTagNameAtSelection().

Additionally, this patch makes all internal callers of HTMLEditor use
GetElementOrParentByTagNameInternal() or
GetElementOrParentByTagNameAtSelection() directly.  Then, public method,
GetElementOrParentByTagName() is called only by outer classes.

Note that some callers use both GetElementOrParentByTagNameInternal()
and GetElementOrParentByTagNameAtSelection() since they don't check whether
setting node is nullptr.  They may be bug of them.  We should investigate
the API callers later.

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

--HG--
extra : moz-landing-system : lando
2018-08-17 10:04:42 +00:00
Sebastian Hengst
e89e01ef69 Bug 1483708 - Set dom.webnotifications.requireinteraction.enabled to true for notifications/idlharness.https.any.js. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D3484

--HG--
extra : moz-landing-system : lando
2018-08-17 09:56:07 +00:00
Margareta Eliza Balazs
0b2fdd0c87 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-17 12:50:13 +03:00
Mike Hommey
f50e1c662a Bug 1483779 - Enable PGO on clang-cl 32-bits builds. r=dmajor
--HG--
extra : source : 5fcbe08fb321a5076f56c380b554c63068efbb00
2018-08-16 16:44:36 +09:00
Mike Hommey
41475291f5 Bug 1479800 - Build 32-bits compiler-rt for 64-bits clang-cl. r=dmajor
--HG--
extra : source : dccd5299c5ad9e4258eb7b08201f2f39164a2a54
2018-08-16 10:31:03 +09:00
arthur.iakab
07aa46fd13 Backed out 2 changesets (bug 1479800, bug 1483779)for frequent cgx and arm64 failures
Backed out changeset 5fcbe08fb321 (bug 1483779)
Backed out changeset dccd5299c5ad (bug 1479800)
2018-08-17 09:50:30 +03:00
Nicholas Nethercote
6b176ea952 Bug 1484096 - Remove use of fnv in bloom.rs. r=heycam
To support that, this patch also does the following.

- Removes the insert(), remove() and might_contain() methods, because they are
  specialized versions of insert_hash(), remove_hash(), and
  might_contain_hash(), and they are only used by tests within this file.

- Moves hash() from the top level into create_and_insert_some_stuff().

- Changes create_and_insert_some_stuff() so that instead of hashing consecutive
  integers, it instead hashes stringified consecutive integers, which matches
  real usage a little better.

- Raises the false_positives limit a little to account for the above changes.

--HG--
extra : rebase_source : f839ff86986d5c8a17506a808ba676f69c7ef407
2018-08-17 15:33:22 +10:00
Tom Tung
5b3f5f96b1 Bug 1482812: Patch for turning on the origin parser check on both beta and release. r=janv
This patch, basically, turns the check. To avoid checking the same direcotries
multiple time, it creates a member hashtable |mValidOrigins| in QuotaManager and
use it in EnsureOriginDirectory(). Since it needs to use the member hashtable,
this patch also moves EnsureOriginDirectory() to become a QuotaManager member
function.

--HG--
extra : rebase_source : 170f749b07ca955e1dc41a627d339709381ffcad
2018-08-15 16:59:26 +02:00
Tom Tung
e66bb71c21 Bug 1409641: Get the result only when it's defined in IDBtranscation. r=janv
--HG--
extra : rebase_source : 005404b167d8399263acb52021cce9222dfb7536
2018-08-16 16:09:40 +02:00
Mike Hommey
152366b300 Bug 1483779 - Enable PGO on clang-cl 32-bits builds. r=dmajor 2018-08-17 10:19:52 +09:00
Mike Hommey
403fedb91f Bug 1479800 - Build 32-bits compiler-rt for 64-bits clang-cl. r=dmajor 2018-08-17 10:19:51 +09:00
Olli Pettay
9fb8ccf44c Bug 1471947, bug 1471948 - Enable Shadow DOM and Custom Elements in release builds, r=ehsan, emilio 2018-08-17 03:39:02 +03:00
Andrew Halberstadt
32103f1e70 Bug 1483539 - [mozlint] Log a success message from the treeherder formatter when all lints succeed, r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D3415

--HG--
extra : moz-landing-system : lando
2018-08-15 14:17:06 +00:00
Emilio Cobos Álvarez
b57fa69bb3 Bug 1483882 - Teach IDTracker about Shadow DOM. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D3533

--HG--
extra : moz-landing-system : lando
2018-08-17 09:19:47 +00:00
Gregory Mierzwinski
f207ca638d Bug 1469118 - Prevent WPT from failing when all tests are skipped. r=jgraham
This patch prevents the wptrunner in web-platform-tests from failing when all the requested tests are skipped.

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

--HG--
extra : moz-landing-system : lando
2018-08-17 09:18:26 +00:00
Micah Tigley
729888c275 Bug 1471933 - #Fixes issue where highlighting a text node with the Accessibility Inspector does not work. r=gl
Fixes issue where highlighting a text node with the Accessibility Inspector does not work.

#MozReview-Commit-ID: 6ineoicgjQu

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

--HG--
extra : moz-landing-system : lando
2018-08-17 01:48:49 +00:00
Emilio Cobos Álvarez
fe71af2bfe Bug 1483211 - Make fieldset UA rule use min-inline-size instead of min-width. r=dholbert
Per https://github.com/whatwg/html/pull/3914

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

--HG--
extra : moz-landing-system : lando
2018-08-16 14:59:19 +00:00
Emilio Cobos Álvarez
accc448c34 Bug 1483823 - Deduplicate system metric atoms. r=xidorn
Now that :-moz-system-metric is gone, there's no real reason for the atoms to
be separate.

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

--HG--
extra : moz-landing-system : lando
2018-08-17 01:07:22 +00:00
Daisuke Akatsuka
28adbf7430 Bug 1477600 - Part 2: Implement remove/reload button. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D3272
2018-08-14 10:35:43 +09:00
Daisuke Akatsuka
df9f0165ae Bug 1477600 - Part 1: Support installing temporary extension. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D3271
2018-08-14 10:30:11 +09:00
Olli Pettay
9ea97a4cf5 Bug 1484040, unbind shadow DOM content when uninstalling shadow DOM based XML Pretty Printer, r=timdream 2018-08-17 02:49:16 +03:00
Jason Orendorff
e50444f450 Bug 1483380 - Update test262 from upstream. r=anba
--HG--
extra : rebase_source : fb2af72682073f4db9f2bc8278d75fc8a85b9a5b
extra : source : 6c418727a06c221810fde75f0cff02d3d7fca15c
2018-08-14 13:35:50 -05:00
Jason Orendorff
77cd5bd0b6 Bug 1483380 - Update test262 skipped files. r=anba
--HG--
extra : rebase_source : 2d8b5ee18d6bae5bb91fce1563f2f024a724f13d
extra : source : 94913c7ee691dd715b62b7d29fa20c2ba4fb59a9
2018-08-15 09:07:21 -05:00
Xidorn Quan
32a9d0ca9f Bug 1475033 part 8 - Add some basic tests for scrollbar-width. r=heycam
MozReview-Commit-ID: IZ9j7UIZDqe

--HG--
extra : rebase_source : 32e01094390552c71f98929caa42483e5ffcd320
2018-08-07 16:06:28 +10:00
Andrew Swan
43914ec867 Bug 1365349 Allow shield studies to not appear in about:addons r=kmag
MozReview-Commit-ID: 114dbRtFIjP

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

--HG--
extra : rebase_source : 57fa86d70b0dd2308adef16aea3f2f4d00e7f606
extra : amend_source : c7648df7f3873ba061820c44c1654b9d9758dade
2018-08-06 22:06:33 -07:00
Andreea Pavel
257748e2dd Backed out 2 changesets (bug 1483380) for failing spidermonkey cgc on a CLOSED TREE
Backed out changeset 6c418727a06c (bug 1483380)
Backed out changeset 94913c7ee691 (bug 1483380)
2018-08-17 01:43:08 +03:00
Jason Orendorff
522b2b0558 Follow-up to bug 1483380 - Disable slow tests in SM(cgc). r=red
These tests loop over every Unicode code point:

    for (let codePoint = 0; codePoint < 0x10FFFF; codePoint++) {
        // split strings to avoid a super long one;
        chunks[codePoint % totalChunks] += String.fromCodePoint(codePoint);
    }

With compacting zeal enabled, this is too slow; we disable such tests.

--HG--
extra : amend_source : 2511cf172c7c871d6b97a7fc9abb8dd8562796ea
2018-08-16 17:28:51 -05:00
Mike Hommey
8ae8b977cb Backout changeset 1e71e61d1623 (bug 1479800) to give time to toolchains to build without blocking other landings. 2018-08-17 07:11:45 +09:00
Mike Hommey
4e5403653b Bug 1479800 - Build 32-bits compiler-rt for 64-bits clang-cl. r=dmajor 2018-08-17 07:10:07 +09:00
Hiroyuki Ikezoe
2e06ce7f26 Bug 1483730 - Return null from getFileForAdb if the adb file doesn't exit. r=jdescottes
Summary: Depends on D3463

Reviewers: jdescottes

Reviewed By: jdescottes

Bug #: 1483730

Differential Revision: https://phabricator.services.mozilla.com/D3464
2018-08-17 06:58:42 +09:00
Hiroyuki Ikezoe
e7f608e1b0 Bug 1483730 - Call nsIFile.exists method. r=jdescottes
Reviewers: jdescottes

Reviewed By: jdescottes

Bug #: 1483730

Differential Revision: https://phabricator.services.mozilla.com/D3463
2018-08-17 06:56:52 +09:00