Commit Graph

603310 Commits

Author SHA1 Message Date
Marco Bonardo
83afbb929b Bug 1388123 - re-enable some of the satchel tests on Linux. r=MattN
MozReview-Commit-ID: 2Xu3WEOei3s

--HG--
extra : rebase_source : be0b7c37575cb1996ef6823491fc3a8cf30fe596
2018-07-10 16:25:06 +02:00
Marco Bonardo
021fc63b95 Bug 1388123 - Make autocomplete handle Enter on keydown. r=MattN
Some pages, like the Google login form, submit information on keydown, that
causes us to not autocomplete, because we handle keypress instead.
The patch changes autocomplete to happen on keydown.
Unfortunately formautofill also uses keydown and tries to access popup data too
late, thus it needs some hacks to work properly.
In general the formautofill code has too many indirections due to e10s, and that
makes the fix more fragile than we'd want. Ideally content autocomplete should
have its own codebase, rather than sharing the same controller as chrome code.

MozReview-Commit-ID: oAyASmDFm1

--HG--
extra : rebase_source : 64c1e7c85b203904b59e3a1e019e7f52f290cfea
2018-06-22 12:37:09 +02:00
shindli
ddadeaca40 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-11 12:45:28 +03:00
shindli
d7270e6100 Merge inbound to mozilla-central. a=merge 2018-07-11 12:42:27 +03:00
Brindusan Cristian
232d35f4b9 Backed out 5 changesets (bug 1467622) for reftest failures on layout/reftests/svg/smil/style/anim-css-fill-1-from-by-curcol-hex.svg. CLOSED TREE
Backed out changeset 8694fe928b04 (bug 1467622)
Backed out changeset 74533cad9479 (bug 1467622)
Backed out changeset e1dbee410e98 (bug 1467622)
Backed out changeset 56142038cc7f (bug 1467622)
Backed out changeset 90cede21bad1 (bug 1467622)
2018-07-11 09:37:26 +03:00
sotaro
885555c9c4 Bug 1474532 - Suppress redundant frame generation with async-scene-build enabled r=kats 2018-07-11 12:47:06 +09:00
Eitan Isaacson
1f354f1604 Bug 1473998 - Use EditText entry in accessible's classNames and use the hint for the label. r=yzen r=jchen 2018-07-10 17:31:00 +03:00
Makoto Kato
a3492f7faa Bug 1443902 - Part 2. Update spellcheck status on focused element after turning off contenteditable. r=masayuki
Spellchecker of <input> element is off by default, however, if it's in a
contenteditable element, spellchecker is on by default.

When turning off contenteditable, we have to update spellcheck status if
focused editor is in this contenteditable.

MozReview-Commit-ID: 6Y9mUWTIWRn

--HG--
extra : rebase_source : 80951a0389d429d781d359b05bfa6b4046d9e641
2018-07-10 14:17:50 +09:00
Makoto Kato
16910a6e95 Bug 1443902 - Reinitilize selection after destroying nsIEditingSession. r=masayuki
When setting contenteditable to false, editing session destroys HTMLEditor.
Destroying HTMLEditor means that selection visibility is reset by
FinalizeSelection.

So after calling TearDownEditorOnWindow on nsHTMLDocument, we should initialize
selection visibility if current focus is text control that has editor.

MozReview-Commit-ID: 4V8kZtOtKO3

--HG--
extra : rebase_source : 9d90c12b3c93e4dfd95095ce29a26e5fdd83f952
2018-07-09 16:53:47 +09:00
yulia
2dde60b42d Bug 1473569 - fix faulty errors in formatCommand; r=nchevobbe
MozReview-Commit-ID: 9PeQySBxWyx

--HG--
extra : rebase_source : 09ea09170531c0f7fa14e37ecb1e9dd2423ca4b3
2018-07-06 18:03:50 +02:00
yulia
1d09ab8d39 Bug 1472673 - fix windows screenshot file test, add more console screenshot command tests; r=nchevobbe
MozReview-Commit-ID: 7P4l5PNjYwV

--HG--
extra : rebase_source : c84707ed6401da17566ec137ee14809cfba143e0
2018-07-09 14:34:06 +02:00
yulia
1d4a181e88 Bug 1472673 - use simpler download and clipboard methods; r=ochameau
MozReview-Commit-ID: DhcObqrGNV

--HG--
extra : rebase_source : 66b864d9efecb996a5d438b32a3d468c70940a5b
2018-07-06 18:48:23 +02:00
Timothy Guan-tin Chien
5f71e2aa7f Bug 1474574 - Ensure <video> is the only focusable element in TopLevelVideoDocument r=Gijs
Instead of re-dispatch an untrusted event, simply make sure the keyboard event is handled
by the video controls.

MozReview-Commit-ID: 9Kj7E3UP77w

--HG--
extra : rebase_source : 8bbc787c7e5dd3d4351270b17f521f49b0f1a21c
2018-07-11 11:51:48 +08:00
Petru Lingurar
f5a72bf632 Bug 1462299 - input[date] unusable on Android 4.x; r=jchen
The issue stemmed from platform's DatePicker.
To make amends and fix both this bug and Bug 1460585 I went with
hiding the calendar and showing only the spinners for Api <21.

MozReview-Commit-ID: CS9pFdlMSTd

--HG--
extra : rebase_source : 64ed05fee21fdbabf7f8ba921cb56a6f40ed17c2
2018-07-10 11:26:01 +03:00
Hiroyuki Ikezoe
1609fd1ef0 Bug 1472900 - Use timestamp associated with the timeline for animation cancel events. r=birtles
Before this change, the test in this commit fails.  The received events order
is;

 1) cancel
 2) transitioncancel
 3) transitionstart
 4) finish

MozReview-Commit-ID: 8liTFXime6e

--HG--
extra : rebase_source : 3c68ef330b1f263afa2fad9670a30b351b8dbf28
2018-07-05 06:19:12 +09:00
Hiroyuki Ikezoe
84b3da673c Bug 1472900 - Make some closures for arrow function a single line. r=birtles
MozReview-Commit-ID: 2uWYp495Ibl

--HG--
extra : rebase_source : 6397d54051e2ec45c77361f5545e4c25fd431eb6
2018-07-05 06:13:21 +09:00
Hiroyuki Ikezoe
067150dbd6 Bug 1472900 - Rename mTimeStamp in AnimationEventInfo to mScheduledEventTimeStamp. r=birtles
It matches the name in the spec.
https://drafts.csswg.org/web-animations/#scheduled-event-time

MozReview-Commit-ID: EKoUNRfTVMJ

--HG--
extra : rebase_source : 83a5ee36d5df98273e26789733df69800d115b34
2018-07-05 06:13:18 +09:00
Dan Glastonbury
fb20213f55 Bug 1467622 - P5: Reftests for SVG pserver currentcolor override. r=heycam
MozReview-Commit-ID: 3yG2VarZvdr

--HG--
extra : rebase_source : c0f410535e3cd7d5098c2fa9cb2e055ff5929b19
2018-07-04 14:34:27 +10:00
Dan Glastonbury
ef55fbc2dd Bug 1467622 - P4: Correct background/foreground ratio mixing. r=xidorn
MozReview-Commit-ID: InAZVcH2Vkt

--HG--
extra : rebase_source : ab691a3b6ae2398b6b1f9913ce1a5cd0918b2791
2018-07-03 14:15:06 +10:00
Dan Glastonbury
b299d976de Bug 1467622 - P3: Cleanup transition tests with currentcolor. r=xidorn
Now that all properties handle currentcolor via mozilla::StyleComplexColor,
unify test_currentcolor_transition() and test_true_currentcolor_transition()
into test_currentcolor_transition().

MozReview-Commit-ID: 81hlAgTotpL

--HG--
extra : rebase_source : 9c9744c3fe4e423451e5a581501c88539c9d591f
2018-06-28 14:06:01 +10:00
Dan Glastonbury
a63f482185 Bug 1467622 - P2: Change SMIL paced tests to represent new distance calc. r=birtles
Changing to Stylo for animation of color with currentColor. Stylo uses
a different distance metric for numeric colors to currentColor. The
result is that a different pacing is used in the fill case.

MozReview-Commit-ID: 5x8c3IF5owV

--HG--
extra : rebase_source : 422dfa69644052a4c9cbfb2355a105c8e5c2b50c
2018-06-28 11:58:34 +10:00
Dan Glastonbury
0a83cfb70f Bug 1467622 - P1: nsStyleSVGPaint - Change nscolor to StyleComplexColor. r=xidorn
MozReview-Commit-ID: 1bbQzOoOuBe

--HG--
extra : rebase_source : 879e7d644f1dc3873cdfb352fce21e3d085db55a
2018-06-27 17:07:37 +10:00
Xidorn Quan
9a1b70328e Bug 1461285 part 3 - Have the CSSOM appending behavior behind a pref and only enable it on Nightly. r=emilio
MozReview-Commit-ID: 6BzPTNjXjyA

--HG--
extra : rebase_source : a109383ea2a55949da8d2ab3346940fa1eb76055
2018-07-11 10:54:47 +10:00
Xidorn Quan
c66d8c4ca5 Bug 1461285 part 2 - Add a declaration iterator to AllShorthand for simplify code. r=emilio
MozReview-Commit-ID: 9w2B3SpdkQo

--HG--
extra : rebase_source : e6b597f19f99a927c641d9aa123c5bc0248d46d2
2018-07-11 10:52:52 +10:00
Xidorn Quan
c237e1be0d Bug 1461285 part 1 - Rename DeclarationSource to DeclarationPushMode. r=emilio
MozReview-Commit-ID: Iyv9JrXrpzl

--HG--
extra : rebase_source : d0fac58c300bdde21a0225d7793f554487f48791
2018-07-09 16:03:32 +10:00
Brian Birtles
3a224153bd Bug 1474766 - Merge the three-argument form of KeyframeEffect::Constructor and ConstructKeyframeEffect; r=hiro
There doesn't appear to be any need to separate these anymore.

MozReview-Commit-ID: GHR259JJHJV

--HG--
extra : rebase_source : e9b15c820df97570c3f6e978a7f0c224e33f0468
2018-07-11 10:27:56 +09:00
Brian Birtles
a249976a2e Bug 1474766 - Drop KeyframeEffectType template arg; r=hiro
This is no longer needed since in bug 1456394 we merged the two types of
KeyframeEffects into one.

MozReview-Commit-ID: 8IuTD9ivAGK

--HG--
extra : rebase_source : b14593b33bfa9a0233b524010b3bde3cfc078950
2018-07-11 10:27:01 +09:00
Noemi Erli
d218f98059 Backed out changeset 101f97abc1d4 (bug 1458917) for Talos failures on a CLOSED TREE 2018-07-11 05:11:11 +03:00
Cameron McCormack
8d5efb0c93 Bug 1473450 - Remove angle values from image-orientation. r=emilio
MozReview-Commit-ID: FB74ILJM6Fm

--HG--
extra : rebase_source : 0902aff63e0db070d2fdda3568453975f752b988
2018-07-05 12:04:58 +10:00
Jacek Caban
5c830a87fd Bug 1443471 - Support mingw clang in skia moz.build r=glandium
MozReview-Commit-ID: 4H8bkHyczGM

--HG--
extra : rebase_source : e7764c43ee18230ef7603ac9c8e638d5bb18408f
2018-06-25 21:22:02 +02:00
Jacek Caban
52efb2adb3 Bug 1443471 - Take clang mingw into account in moz.build files r=glandium
MozReview-Commit-ID: 2vKiHjmI9Hn

--HG--
extra : rebase_source : 0a527700795ab624926ca4d6de9ec33ab59f31a6
2018-06-25 20:01:39 +02:00
Jacek Caban
041db4695b Bug 1443471 - Use correct rust target for mingw clang. r=glandium
MozReview-Commit-ID: G40IanxGWXv

--HG--
extra : rebase_source : 6d8ba3af796848320cc7e3db05e9c83ba4fecb45
2018-06-25 19:57:43 +02:00
Makoto Kato
a9c64c8f84 Bug 1469759 - Part 4. Get rid of mozISpellI18NUtil. r=masayuki
mozEnglishWordUtils should be deXPCOM since it isn't used from script, then get
rid of mozISpellI18NUtil that is unused.

MozReview-Commit-ID: JpRuWfu3uYx

--HG--
extra : rebase_source : 4094e5566db84110599567df49e7f3925a08a7e9
2018-07-02 11:22:08 +09:00
Makoto Kato
428be3d211 Bug 1469759 - Part 3. Remove unused methods of mozISpellI18NUtil. r=masayuki
Some methods in mozISpellI18NUtil are unused now.

MozReview-Commit-ID: Ku9FojuJW3T

--HG--
extra : rebase_source : a6c3afc7c7b116c1ba2c71bd93744f2ee8c724c2
2018-07-02 11:21:28 +09:00
Makoto Kato
445dde1b84 Bug 1469759 - Part 2. Get rid of mozISpellI18NManager. r=masayuki
No one uses mozISpellI18NManager, so we should get rid of this interface.

MozReview-Commit-ID: 7f0Cy3tHnt1

--HG--
extra : rebase_source : 414c81cd4bec07124a271138e60ca3fb62ccc439
2018-07-02 11:21:04 +09:00
Makoto Kato
70a5aaf70e Bug 1469759 - Part 1. Use mozEnglishWordUtils directly. r=masayuki
mozISpellI18NManager is only used to get mozISpellI18NUtil. And
mozISpellI18NUtil is only implemented on mozEnglishWordUtils.  So we should
create an instance of mozEnglishWordUtils instead of using mozISpellI18NManager.

MozReview-Commit-ID: FmCuMAMmH9C

--HG--
extra : rebase_source : fe4bf18f5a3ed6b595185dcaa4a51b83f2f0d8b6
2018-07-02 11:20:39 +09:00
Mathieu Leplatre
068afbc416 Bug 1458917 - Register dedicated timer for Remote Settings r=Gijs
MozReview-Commit-ID: K5Rf1McJUHy

--HG--
extra : rebase_source : 171ed0ff11e2b60a17055412c64584dfe5ab90d5
2018-06-14 20:54:19 +02:00
Chris Peterson
2ef77b9ac9 Bug 1472618 - Make navigator.platform return "Win32", even on Win64 OS. r=peterv
navigator.platform returns "Win64" in 64-bit Firefox and IE, but "Win32" in 64-bit Chrome and Edge. "Win32" appears to be the de facto platform value for Windows. This change doesn't hide the OS architecture from web content because navigator.userAgent still mentions "Win64; x64" in 64-bit Firefox, Chrome, Edge, and IE.

MozReview-Commit-ID: CplYnGDQgTe

--HG--
extra : rebase_source : c00a1a7462ea91d44700dd0581c88c1c4cad2346
extra : source : 1976c327f251702be255a9d0769121c6bc5303a1
2018-07-02 11:02:23 -07:00
Chris Peterson
0c426c313c Bug 1473453 - Part 3: Enable clang-tidy's misc-bool-pointer-implicit-conversion warning. r=andi
And add a clang-tidy test.

MozReview-Commit-ID: KmCgrUcV0Lm

--HG--
extra : rebase_source : 0fad2e49472c565f59ba4218a6dc3099cca9d9cb
2018-07-04 19:30:33 -07:00
Chris Peterson
9513c25210 Bug 1473453 - Part 2: QuotaManager: disambiguate null check of bool pointer. r=janv
Fix clang-tidy warning about bool pointers:

[misc-bool-pointer-implicit-conversion] dom/quota/ActorsParent.cpp:4168:7: warning: dubious check of 'bool *' against 'nullptr', did you mean to dereference it?

MozReview-Commit-ID: C6QdeJlf71C

--HG--
extra : rebase_source : cb2e19e41bed6cc1456e89acce65747558306bcf
2018-07-04 14:46:51 -07:00
Chris Peterson
16cc517cf9 Bug 1473453 - Part 1: a11y: assert hitregion property is always null or true. r=MarcoZ
Fix clang-tidy warning about bool pointers:

[misc-bool-pointer-implicit-conversion] accessible/generic/Accessible.cpp:644:9: warning: dubious check of 'bool *' against 'nullptr', did you mean to dereference it?

The `hitregion` property is always null or points to a true bool, set here:

https://searchfox.org/mozilla-central/rev/6ef785903fee6c0b16a1eab79d722373d940fd78/dom/canvas/CanvasRenderingContext2D.cpp#3936-3937

The `hitregion` property used to be an nsRect pointer:

https://searchfox.org/mozilla-central/diff/c797577640f306df87e8c32313c5b826d1e58a9b/accessible/src/generic/Accessible.cpp#928

MozReview-Commit-ID: HYlAnMyaitB

--HG--
extra : rebase_source : 2f8d9d151ebc382043c107517838ccdaa0ed7228
2018-07-04 14:39:57 -07:00
Cosmin Sabou
18777eb091 Merge mozilla-central to autoland. a=merge 2018-07-11 02:14:49 +03:00
Cosmin Sabou
1519cc7aac Backed out changeset ae9049c5ac63 (bug 1473998) for gv-junit failures on test.AccessibilityTest.testTextEntryNode. a=backout 2018-07-11 02:06:05 +03:00
Cosmin Sabou
26e792fe42 Merge autoland to mozilla-central. a=merge 2018-07-11 00:50:32 +03:00
Kris Maglione
a4453fc75f Bug 1474140: Don't load FormAutofillUtils.jsm at content process startup. r=MattN
MozReview-Commit-ID: 2bOyTPU9QbX

--HG--
extra : rebase_source : 8f8c7e216612437f853df2b5cc8dd5fb3174d10b
2018-07-07 17:49:34 -07:00
André Bargull
ad359328af Bug 1474348 - Part 2: Don't use BlockOnPromise fast path with non-default resolving functions. r=arai 2018-07-09 09:49:23 -07:00
André Bargull
9fdd7e6831 Bug 1474348 - Part 1: Add accessors for Promise fixed slots and combine default resolving functions flags. r=arai 2018-07-09 09:47:27 -07:00
Eitan Isaacson
868533e1cb Bug 1473998 - Use EditText entry in accessible's classNames and use the hint for the label. r=yzen r=jchen 2018-07-10 12:40:00 +03:00
Ekanan Ketunuti
eb919d07de Bug 1474550 - Add words to en-US dictionary. r=ehsan 2018-07-10 17:49:06 +07:00
David Major
e2cdb30639 Bug 1443590: Use clang-cl for official Windows builds. r=gps 2018-07-10 16:25:47 -04:00