Commit Graph

6982 Commits

Author SHA1 Message Date
Boris Zbarsky
b966f0e559 Bug 1466727 part 5. Stop using nsITreeColumn in toolkit. r=mossop
I had to do window.TreeColumn instead of just TreeColumn to work around eslint
being buggy.  That bug is tracked in bug 1466842.
2018-06-05 23:01:37 -04:00
arthur.iakab
fd0ee7c9b8 Merge inbound to mozilla-central a=merge 2018-06-06 00:58:30 +03:00
Boris Zbarsky
fb69fccb09 Bug 1466643 part 2. Remove nsITreeContentView. r=mosssop 2018-06-05 13:30:17 -04:00
Anny Gakhokidze
8dc3a15a90 Bug 1351193 - Part 3: Update status of affected Web-Platform tests, r=nika
Because of modifications to the DataTransfer constructors, the status of the tests that use DataTransfer objects had to be changed to reflect the fact that those tests now pass. Additionally, a test had to be deleted because it tested an obscure situation using the old Chrome only constructor.

MozReview-Commit-ID: LOWuPwh0NeW
2018-06-04 15:09:22 -04:00
Boris Zbarsky
15b087c696 Bug 1465875 part 4. Eliminate random mentions of nsIDOMNSEditableElement. r=qdot 2018-06-01 22:35:23 -04:00
Boris Zbarsky
0cf65db1d3 Bug 1465875 part 2. Eliminate use of "instanceof nsIDOMNSEditablElement". r=qdot 2018-06-01 22:35:22 -04:00
Boris Zbarsky
c7f378d7ab Bug 1465875 part 1. Eliminate pointless QIs to nsIDOMNSEditableElement. r=qdot
We expose the relevant APIs on textarea and input elements anyway
(chromeonly).  The QIs will throw on a non-input or non-textarea element, but
none of these consumers expect that to happen.
2018-06-01 22:35:22 -04:00
Paolo Amadini
61cbbdb92c Bug 1457719 - Part 4 - Remove the "autorepeatbutton" element. r=bz
The DoMouseClick helper is also removed because no other caller can now pass a null aEvent. Other MouseClicked implementations are also updated since aEvent cannot be null, which was already the case.

MozReview-Commit-ID: 3bTJ6cZW9ZA

--HG--
extra : rebase_source : ae1bafe7144f6f428e2ef4e7047d5c64e0a19e8c
2018-06-01 11:15:56 +01:00
Paolo Amadini
ff86c8779d Bug 1457719 - Part 3 - Replace "autorepeatbutton" with "toolbarbutton" in the base "arrowscrollbox" binding. r=dao
This aligns the markup of the base "arrowscrollbox" binding with the "clicktoscroll" derived binding, while still keeping different event handlers.

MozReview-Commit-ID: 9eYt1kyjgP9

--HG--
extra : rebase_source : 16600f0916ac4188ceaf8dff61fb61021cc8da5a
2018-06-01 11:15:36 +01:00
Paolo Amadini
11348779bc Bug 1457719 - Part 1 - Restore "scrollbox.css" as a XBL stylesheet. r=dao
MozReview-Commit-ID: 9StACNxSbX2

--HG--
extra : rebase_source : 656340aade40d877e09444db3ffa0ddb756dcdae
2018-06-01 11:14:59 +01:00
Margareta Eliza Balazs
887efa0828 Backed out 5 changesets (bug 1413098) for frequent failure in toolkit/content/tests/browser/browser_autoplay_policy_user_gestures.js on a CLOSED TREE
Backed out changeset 3c186b3bb909 (bug 1413098)
Backed out changeset b12730d42016 (bug 1413098)
Backed out changeset 49ef875bd65e (bug 1413098)
Backed out changeset 747764af7143 (bug 1413098)
Backed out changeset 5031770d70fd (bug 1413098)
2018-05-31 15:21:15 +03:00
Paul Adenot
aaba3722d4 Bug 1413098 - Part 5 - Allow starting an AudioContext when gUM has been allowed. r=pehrsons
MozReview-Commit-ID: E0fcpIbLhYJ

--HG--
extra : rebase_source : c77efbfade3ff8edc4c6fa65e3b7964596b21c5e
extra : histedit_source : ae374a3d53c6af0a1fe617ab7d03c61d5741afbc
2018-04-27 19:13:40 +02:00
Bogdan Tara
3737701cfa Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-05 12:33:18 +03:00
Paul Adenot
adf8e4702d Bug 1413098 - Part 5 - Allow starting an AudioContext when gUM has been allowed. r=pehrsons
MozReview-Commit-ID: E0fcpIbLhYJ

--HG--
extra : rebase_source : 927d9d0ca04dd593d49efdffe70ce9f70ddce8bd
extra : source : 3c186b3bb90961748566b7c39af27beebb3ec855
2018-04-27 19:13:40 +02:00
Alastor Wu
fd5dcc6ba4 Bug 1413098 - part2 : add test. r=padenot
MozReview-Commit-ID: 145k2FDfMm4

--HG--
extra : rebase_source : 48edef5f7f44ab3cc19ec3e1262a45c683407eab
extra : histedit_source : f0aa3f89d5b51c45fa4219140dfc776493f1ce1b
2017-12-13 15:50:20 -06:00
Alastor Wu
f25586a606 Bug 1413098 - part2 : add test. r=padenot
MozReview-Commit-ID: 145k2FDfMm4

--HG--
extra : rebase_source : 60b0bc916b96d0929c048a11a98623bb90b63107
extra : source : 747764af7143667f473fb1853aa50ba943b4b12d
2017-12-13 15:50:20 -06:00
Emilio Cobos Álvarez
b6ff07c29b Bug 1457336: Mark a few assertions as expected in test_bug451540.xul. rs=mikedeboer
This series exposes an existing bug in nsFindIterator where it cannot rewind
into NAC properly. This nested iterator setup is going to change heavily as part
of making it work on Shadow DOM, so just punt on this for now.

MozReview-Commit-ID: Aq8XfXjQw6f
2018-05-30 12:52:46 +02:00
Cosmin Sabou
f571cc5fe1 Backed out 10 changesets (bug 1457336, bug 1457286) for android mochitest failures on dom/base/test/test_find.html.
Backed out changeset 6b7bc00d68ae (bug 1457336)
Backed out changeset 585572d3a8e3 (bug 1457336)
Backed out changeset ded57fc8fd13 (bug 1457336)
Backed out changeset b7a0af3470b0 (bug 1457336)
Backed out changeset 3d17cdf86d69 (bug 1457336)
Backed out changeset 9df9a6524aad (bug 1457336)
Backed out changeset 727e25c0e3ad (bug 1457336)
Backed out changeset 91f27da56d68 (bug 1457336)
Backed out changeset 072fa168f471 (bug 1457336)
Backed out changeset 1f645546750f (bug 1457286)
2018-05-30 01:21:31 +03:00
Noemi Erli
f353eab731 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-05-30 00:52:42 +03:00
Emilio Cobos Álvarez
3b0a6e632d Bug 1457336: followup: Allow one more assertion, since it fired once in TV. r=me
Let's try to avoid to re-close the already CLOSED TREE if the previous patch
works.

MozReview-Commit-ID: 9ieKkWKxYRR
2018-05-29 23:48:33 +02:00
Noemi Erli
846f00f83f Merge inbound to mozilla-central. a=merge 2018-05-30 00:41:41 +03:00
Boris Zbarsky
16e02a5e28 Bug 1460735 part 1. Remove use of nsIDOMDocument in JS. r=qdot
There are some places where we have a thing which may not even be a node, and
we end up hardcoding the value of DOCUMENT_NODE there, because
"foo.nodeType == foo.DOCUMENT_NODE" will test true if foo is not a node: both
sides will be undefined.
2018-05-29 13:39:00 -04:00
Emilio Cobos Álvarez
931d7328a2 Bug 1457336: Mark a few assertions as expected in test_bug451540.xul. rs=mikedeboer
This series exposes an existing bug in nsFindIterator where it cannot rewind
into NAC properly. This nested iterator setup is going to change heavily as part
of making it work on Shadow DOM, so just punt on this for now.

MozReview-Commit-ID: Aq8XfXjQw6f
2018-05-29 21:39:14 +02:00
Michal Novotny
63375bc80b Bug 1377570 - Enable RCWN on mobile. r=valentin
This patch enables racing cache with network on mobile when cellular data isn't used.
2018-05-27 03:59:00 +03:00
Timothy Guan-tin Chien
b355943072 Bug 1464412 - Flip vertical resizers on rtl sites r=dao
MozReview-Commit-ID: E0ejPUUCJiJ

--HG--
rename : layout/reftests/forms/textarea/resize-rtl.html => layout/reftests/forms/textarea/resize-rtl-vertical.html
rename : layout/reftests/forms/textarea/resize.html => layout/reftests/forms/textarea/resize-vertical.html
extra : rebase_source : 2e8b3492826ed05d2471f7aab25d371140039182
2018-05-26 10:18:19 +08:00
Dorel Luca
d54a3b06aa Backed out changeset da12c077747f (bug 1448040) for Android build bustage on build/src/obj-firefox/dist/include/mozilla/HangAnnotations.h. CLOSED TREE
--HG--
extra : amend_source : 683201b5a47af3cb7fdcb7426c65f1c9ed713186
2018-05-25 20:13:26 +03:00
Doug Thayer
9765bdd0e0 Bug 1448040 - Remove HangMonitor/ChromeHangs r=Nika
Fairly straightforward, just a blanket removal. Haven't heard
anything on dev-platform or fx-data-dev regarding this removal,
so I think it's likely safe to remove on Nightly, and we can
revert if anyone makes a fuss.

As part of removing the HangMonitor, I renamed a few things and
reorganized the namespaces to not depend on a HangMonitor
namespace. Hopefully this doesn't produce too much noise in the
diff, it just seemed appropriate to move everything around
rather than keep dangling vestiges of the old system.

MozReview-Commit-ID: 8C8NFnOP5GU

--HG--
extra : rebase_source : a8840bd26f4b01b756ffa72345ababb625048550
2018-04-29 18:21:20 -07:00
Brendan Dahl
3dcc09bf6b Bug 1460639 - Add test for loading persisted size of a navigated window. r=smaug
MozReview-Commit-ID: 2hrI735MR7p

--HG--
extra : rebase_source : 18c6c9a366c982e61dd8addd1581a6b4eed277b5
2018-05-22 15:55:13 -07:00
Emilio Cobos Álvarez
5ecb7246f5 Bug 1463747: Remove extends from textbox bindings. r=Paolo
They're extending xul:box, which is a tag which, like textbox, doesn't have any
special treatment in layout, so should not impact anything. Try does look
happy about this.

MozReview-Commit-ID: A7q0VGTS4kf

--HG--
extra : rebase_source : 021c0510cf1a51074219979ba658a9c40d32c83f
2018-05-22 22:20:17 +02:00
Paolo Amadini
3af8f2bf35 Bug 1458584 - Remove the scrollbox-base binding and instead import the scrollbox.css file in components.css. r=bgrins
MozReview-Commit-ID: 3n1kZN7vCIv

--HG--
extra : source : 13ae2716c71ea86cbc2574f6615a5d7b5c629a5f
extra : intermediate-source : cab63cfb8598dbf07f938ea5a9e6a9b8bed9f225
2018-05-21 14:01:23 +01:00
Paolo Amadini
3e7ad96d9f Bug 1450816 - Combine the "toolbarpaletteitem" bindings in the "browser" folder. r=Gijs
MozReview-Commit-ID: BW4kDvP13Tj

--HG--
extra : rebase_source : f73916fb41b13c58701be7729f241a9d985ab371
2018-05-22 14:04:45 +01:00
Narcis Beleuzu
3fae2ab3f2 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-22 14:24:39 +03:00
Kris Maglione
6b12d08f7d Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj
MozReview-Commit-ID: Iv4T1MVAF5

--HG--
extra : rebase_source : 1c518883d082884db7f9323a5acc20361228c26b
extra : histedit_source : 70a73c23d1199d3bfbb5379c78930401166c094b
2018-05-19 20:17:45 -07:00
Narcis Beleuzu
b79ba931bf Backed out 2 changesets (bug 1461793, bug 1458584) for mochitest chrome failures on toolkit/content/tests/chrome/test_arrowpanel.xul. CLOSED TREE
Backed out changeset 4d511f7fc5b5 (bug 1461793)
Backed out changeset 13ae2716c71e (bug 1458584)
2018-05-22 09:03:32 +03:00
Doug Thayer
fc77954257 Bug 1176019 - Force a paint when switching to a loaded tab r=mconley
This is fairly straightforward, other than the fact that the
nomenclature gets a bit awkward with the aForce parameter on
the ForcePaint methods. I'm not sure which direction to go with
this - "aForce" seems a fairly intuitive name for what we want,
and I'm kind of inclined to say the existing ForcePaint mechanic
should be renamed to something like PaintWithInterrupt, or
PaintWithPriority.

MozReview-Commit-ID: Bj9DROug1pC

--HG--
extra : rebase_source : a3d91fec940d83325d36bafb13fe892e9c9530e8
2018-05-14 23:45:00 -07:00
Brian Grinstead
5fa9aadc74 Bug 1462798 - Create a base custom element class that shares the parseXULToFragment helper;r=Paolo
MozReview-Commit-ID: IG84xKxO9Wc

--HG--
extra : rebase_source : bc46d1f4dcfee66523a2ede8ec32ef9014cf170c
2018-05-19 13:56:06 -07:00
shindli
f0b7329993 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-22 00:35:04 +03:00
Paolo Amadini
80358d8b5d Bug 1461793 - Remove the popup-base binding and instead import the popup.css file in components.css. r=bgrins
MozReview-Commit-ID: ADWsFTNPfhw

--HG--
extra : rebase_source : f4314668b47ecc92efe45a070b9b8ef6b59125ec
2018-05-21 14:55:53 +01:00
Paolo Amadini
59b7355358 Bug 1458584 - Remove the scrollbox-base binding and instead import the scrollbox.css file in components.css. r=bgrins
MozReview-Commit-ID: 3n1kZN7vCIv

--HG--
extra : rebase_source : ae77522cfddd4cb59a1917d4ac5946eb42a4759f
2018-05-21 14:01:23 +01:00
Brian Grinstead
627bc852b3 Bug 1451400 - Part 2 - Migrate dropmarker XBL to a Custom Element;r=dao
MozReview-Commit-ID: 2KnfOiTPyer

--HG--
extra : rebase_source : 44e7c0db1fc62414c44f9591c4e3773da6a54244
2018-05-17 10:54:33 -07:00
Brian Grinstead
fb2f7a75bc Bug 1451400 - Part 1 - Load dropmarker.css in components.css instead of with XBL;r=dao
MozReview-Commit-ID: ZWgd5tx9XW

--HG--
extra : rebase_source : 89cdd0c757a8a2aeacd14cf51c3f9b4cb2ada27c
2018-05-17 10:49:27 -07:00
Gijs Kruitbosch
6bb7b981af Bug 1414246 - actually use textRunsMaxLen to limit autocomplete text run length in address bar autocomplete, r=jaws
MozReview-Commit-ID: AB9RFtxXee7

--HG--
extra : rebase_source : 455ec8bebe2b07b62fbc7548d4e50b3506cdff56
2018-05-14 11:43:54 +01:00
Brian Grinstead
a80f37b278 Bug 1461388 - Migrate XUL deck from a XBL binding to a Custom Element;r=timdream
MozReview-Commit-ID: F95i9H9FvYv

--HG--
extra : rebase_source : cd63511ad04a3e016ed5408aa263bb49cf353001
2018-04-04 21:29:06 -07:00
Chris Pearce
9ce68d24d6 Bug 1458383 - Remove browser mediaBlocked attribute. r=mikedeboer
This is a partial backout of Bug 1347791 part 3; a5fbb7e2d1d0.

a5fbb7e2d1d0 added a mediaBlocked attribute to the browser element, which
tracked whether the tab has ever been in the foreground, so that this could
be saved and restored in session restore. We don't session restore this
anymore, so we can remove this attribute and associated event handlers.

This also removes the media.autoplay* pref accesses which are accounted for in
the test browser_preferencecs_usage.js, so remove those prefs from that test.

MozReview-Commit-ID: HLeylLzEsW8

--HG--
extra : rebase_source : 3b169c324b4a0c5163151805d9fcdb0b90a37517
2018-05-09 14:45:39 +12:00
Drew Willcoxon
71077230a3 Bug 1239708: Improve awesomebar autofill. Part 3: Front-end changes. r=mak
MozReview-Commit-ID: 8AR11dVfIVn

--HG--
extra : rebase_source : 32e1730e0b2fdd1975b68f489547a752d8eb0ca3
2018-05-14 11:25:55 -07:00
Kris Maglione
01c298aca6 Bug 1460092: Add ESLint rule to enforce use of ChromeUtils.generateQI. r=Gijs
Also fixes existing code which fails the rule.

MozReview-Commit-ID: CkLFgsspGMU

--HG--
extra : rebase_source : 86a43837659aa2ad83a87eab53b7aa8d39ccf55b
2018-05-08 18:36:22 -07:00
Timothy Guan-tin Chien
5515df7c99 Bug 1459646 - Always flip the resizer with CSS transform r=dao
Having the native theme widget to flip its own direction turned out to be
something not needed anymore, and it interfere with the CSS rule we set to
flip non-native SVG background.

This patch turned that off and always flips the resizer with CSS transform.

MozReview-Commit-ID: EbjTfFpJpZ0

--HG--
rename : layout/reftests/forms/textarea/resize-ref.html => layout/reftests/forms/textarea/resize-rtl-ref.html
rename : layout/reftests/forms/textarea/resize.html => layout/reftests/forms/textarea/resize-rtl.html
extra : rebase_source : a319698cea6c8460aaed23948e20b0757cec686e
2018-05-07 15:05:26 -07:00
Dão Gottwald
140aac0617 Bug 1456530 - Stop dispatching the select event on the tabs element. r=mconley
MozReview-Commit-ID: B4Ash6lC64u

--HG--
extra : rebase_source : a40cde1b42c9c6fb0c76e021556e8458176dfc32
2018-05-08 11:48:00 +02:00
Brian Grinstead
87f933ff63 Bug 1459245 - Migrate <stringbundle> from a XBL binding to a Custom Element;r=mossop
This loads a JS file to register the Custom Element whenever XUL documents
get created. This is a pattern we plan to follow for future elements as well -
stringbundle is just an easy target to prove it out with.

MozReview-Commit-ID: 7PlisCknrKW

--HG--
rename : toolkit/content/widgets/stringbundle.xml => toolkit/content/widgets/stringbundle.js
extra : rebase_source : 5bf94038556c9b956de3678cd4bc817f5d837f45
2017-10-25 13:51:13 -07:00
Tiberius Oros
0be60f99de Backed out changeset 61d7c365ea76 (bug 1456530) for failing crashtest dom/base/crashtests/354645-1.xul on a CLOSED TREE 2018-05-07 22:14:20 +03:00