Commit Graph

6820 Commits

Author SHA1 Message Date
Brindusan Cristian
0c919122c7 Backed out changeset cbf007a7027f (bug 1371523) for browser chrome failures on toolkit/content/tests/browser/browser_findbar.js CLOSED TREE 2018-03-31 01:16:09 +03:00
Gijs Kruitbosch
2a9cd6d415 Bug 1371523 - remove find bar sync ipc message, r=mikedeboer
MozReview-Commit-ID: C0VO0U3UJ76
2018-03-21 17:10:40 +00:00
Olli Pettay
9fca4dc42c Bug 1443958 - Synthesizing a click() on input type=date should not show the date picker UI , r=mconley 2018-03-30 02:51:17 +03:00
Gurzau Raul
ffbc52ee86 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-29 01:00:42 +03:00
Gurzau Raul
55e4fbec5a Merge inbound to mozilla-central. a=merge 2018-03-29 00:55:16 +03:00
David Major
7b972cb5c6 Bug 1439988: Use a full progress meter to avoid flakiness from animation. r=enndeakin 2018-03-28 12:32:10 -04:00
ui.manish
efa6a9118c Bug 1429396 - Remove toolkit/content/global/XPCNativeWrapper.js r=mconley 2018-03-28 09:53:33 +02:00
Tom Ritter
d44ebbd80e Bug 1378552 - Reduce the liklihood of inadvertently misusing NullPrincipal::Create(). r=ckerschb
NullPrincipal::Create() (will null OA) may cause an OriginAttributes bypass.
We change Create() so OriginAttributes is no longer optional, and rename
Create() with no arguments to make it more explicit about what the caller is doing.

MozReview-Commit-ID: 7DQGlgh1tgJ
2018-03-22 13:36:20 -05:00
Xidorn Quan
f789d7b7d5 Bug 1448760 - Don't try to center window after load when the size mode is not normal. r=bz
MozReview-Commit-ID: Ainh34XuvFg
2018-03-27 23:38:00 +11:00
Coroiu Cristina
cd70dce895 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-03-27 01:33:50 +03:00
Xidorn Quan
e317d29462 Bug 1446264 part 5 - Add test for this bug. r=bz
MozReview-Commit-ID: DS2ucDd0Met
2018-03-19 14:35:19 +11:00
Tim Nguyen
d49de43825 Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht
2018-03-16 23:21:46 +00:00
Tim Nguyen
c389c6cf9c Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
MozReview-Commit-ID: A5rMjQ6xnRw
2018-03-25 14:35:17 +02:00
Margareta Eliza Balazs
8ad3204b44 Backed out 2 changesets (bug 1444760) for ES lint failure in /builds/worker/checkouts/gecko/browser/base/content/browser.js on a CLOSED TREE
Backed out changeset 71f61091a716 (bug 1444760)
Backed out changeset 4956db1e9bdd (bug 1444760)
2018-03-25 15:29:54 +03:00
Tim Nguyen
76bd43b52d Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht
2018-03-16 23:21:46 +00:00
Tim Nguyen
9f6b37eabb Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
MozReview-Commit-ID: A5rMjQ6xnRw
2018-03-25 13:59:50 +02:00
Jean-Yves Avenard
95d45780b2 Bug 1432779 - P4. Remove the concept of preferred layout. r=padenot,r=kamidphish
Channel layout is derived by the content being played. The concept of preferred layout is meaningless. Either we have a layout defined, or we don't. There's no in-between.

So we remove it.

MozReview-Commit-ID: CSCAInNmzMS
2018-03-24 10:57:59 +01:00
Csoregi Natalia
75d5be6e3e Backed out 2 changesets (bug 1447056) for devtools failures on browser_toolbox_hosts_size.js. CLOSED TREE
Backed out changeset fc2c96c7b470 (bug 1447056)
Backed out changeset 52b1ebf43592 (bug 1447056)
2018-03-24 06:58:41 +02:00
Xidorn Quan
7deda08dcd Bug 1447056 part 2 - Invoke Resize in SetSizeConstraints with the current size to apply the new constraints. r=bz
MozReview-Commit-ID: 9kRcDHTPCqt
2018-03-23 12:51:15 +11:00
Olli Pettay
a0c82593ab Bug 1445207, populate input type=date's .value when changing the value in the UI, r=mconley 2018-03-23 20:06:01 +02:00
Narcis Beleuzu
c387ecc278 Merge inbound to mozilla-central. a=merge 2018-03-23 11:51:38 +02:00
Emilio Cobos Álvarez
88ccbaef6e Bug 1448173: Remove stylo about:support stuff. r=xidorn
Summary: I missed them while removing --enable-stylo.

Reviewers: xidorn

Bug #: 1448173

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

MozReview-Commit-ID: s8WwyT2aql
2018-03-23 00:09:17 +01:00
Timothy Guan-tin Chien
943b30167b Bug 1446157 - Remove unused grippy binding r=enndeakin+6102
MozReview-Commit-ID: KWC9HpTzig
2018-03-20 17:21:19 +08:00
Andreea Pavel
7bcb3e8cb2 Backed out 3 changesets (bug 1446157) for browser chrome failures at browser/base/content/test/static/browser_all_files_referenced.js on a CLOSED TREE
Backed out changeset 2491f8caeffa (bug 1446157)
Backed out changeset be65061c2d72 (bug 1446157)
Backed out changeset de560a993de1 (bug 1446157)
2018-03-22 18:49:31 +02:00
Timothy Guan-tin Chien
7afec4bfc9 Bug 1446157 - Remove unused grippy binding r=enndeakin+6102
MozReview-Commit-ID: KWC9HpTzig
2018-03-20 17:21:19 +08:00
Timothy Guan-tin Chien
0381c07143 Bug 1444489 - Part VIII, Transition the visibility property instead of using transitionend event r=Gijs
Fades out all the UIs by applying CSS transition on opacity and visibility.
Stop relying on transitionend event to set the hidden state.

This removes a source of intermittent failure and while making sure UIs are
hidden.

MozReview-Commit-ID: FR7JQn4eO3X
2018-03-16 06:55:58 +08:00
Timothy Guan-tin Chien
65fb8f8384 Bug 1444489 - Part VII, nit: Improve naming consistency in videocontrols.xml r=Gijs
Convert all is* methods to getter or rename them if they take arguments.

MozReview-Commit-ID: GOJzz0JYGnq
2018-03-14 13:41:20 +08:00
Timothy Guan-tin Chien
66d1a4f27e Bug 1444489 - Part VI, Enlarge the size of controls on mobile r=e7358d9c+590837,Gijs
Enlarge controls by around 1.3x, which is the size of the original touch controls.

MozReview-Commit-ID: kpgFFIW2hh
2018-03-09 17:00:51 -08:00
Timothy Guan-tin Chien
360df46463 Bug 1444489 - Part IV, Implement Casting UI on videoControls r=Gijs
Optimize and re-commit the casting buttons SVG removed from the previous commit.

MozReview-Commit-ID: GICxaRZXTiJ
2018-03-09 17:39:44 -08:00
Timothy Guan-tin Chien
32c47bcbf9 Bug 1444489 - Part III, Workaround bug 718107 r=Gijs
The videocontrols binding will be destroyed and reattached when the video
enters/leaves fullscreen. This change accounts for that so that screen
orientation is correctly set on mobile.

MozReview-Commit-ID: 7D1gkiuXZtX
2018-03-21 15:19:00 +08:00
Timothy Guan-tin Chien
00fdf79b83 Bug 1444489 - Part II, Replace touchControls with videoControls and remove touchControls r=Gijs
Also migrates TouchUtils to videoControls in order to keep some interactions.

Removed the casting button from TouchUtils (to be add back to Utils in the next
commit; not removing the SVG images for hg annotation)

MozReview-Commit-ID: DzhmjykCLzu
2018-03-21 15:10:20 +08:00
Timothy Guan-tin Chien
88b40be532 Bug 1444489 - Part I, Convert noControls binding to HTML content r=Gijs
The noControls binding is bound to <video> without controls on mobile
(see geckoview/content.css), and is only visible when the video is
blocked because of background autoplay.

MozReview-Commit-ID: KZqlQedCjd5
2018-03-12 22:30:03 +08:00
Coroiu Cristina
059c1a8eed Backed out 7 changesets (bug 1446264) for wpt failures at html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-height.html
Backed out changeset 7b9a6f304c95 (bug 1446264)
Backed out changeset af69031d49a0 (bug 1446264)
Backed out changeset 27efbd3b9218 (bug 1446264)
Backed out changeset 2280d7116066 (bug 1446264)
Backed out changeset 8e3dd0825df9 (bug 1446264)
Backed out changeset f9f4a91b3edb (bug 1446264)
Backed out changeset 38995f6de9df (bug 1446264)
2018-03-22 01:55:12 +02:00
Xidorn Quan
cd506191b2 Bug 1446264 part 7 - Add test for this bug. r=bz
MozReview-Commit-ID: DS2ucDd0Met
2018-03-19 14:35:19 +11:00
Timothy Guan-tin Chien
a1b97e21fb Bug 1446009 - Remove groupbox-base binding by moving groupbox.css into components.css r=enndeakin+6102
MozReview-Commit-ID: 1XVuuXNX0Eq
2018-03-20 15:15:40 +08:00
Matt Claypotch
f8e96e0813 Bug 1446163 - Remove the splitter binding r=enn 2018-03-16 14:53:00 +02:00
shindli
7ed721b564 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-20 12:16:52 +02:00
shindli
0ccff397c0 Merge inbound to mozilla-central. a=merge 2018-03-20 12:11:27 +02:00
Boris Zbarsky
72b3558850 Bug 1446711 part 7. Switch the nsIDOMMouseEvent::MOZ_SOURCE_* constants over to MouseEventBinding. r=qdot
We can't include MouseEventBinding.h in MouseEvents.h because that produces
this include loop:

MouseEventBinding.h -> UIEventBinding.h ->
nsGlobalWindow.h -> nsGlobalWindowInner.h -> nsRefreshDriver.h ->
AnimationEventDispatcher.h -> AnimationComparator.h -> Animation.h ->
EffectCompositor.h -> PseudoElementHashEntry.h -> Element.h ->
PointerEventHandler.h -> MouseEvents.h -> MouseEventBinding.h

MozReview-Commit-ID: 6FNksGil7uD
2018-03-20 00:16:06 -04:00
Eliza Balazs
df2db9349d Bug 1262679 - Edited the test case. r=jmaher 2018-03-15 01:16:00 +02:00
Emilio Cobos Álvarez
63543e10fd Bug 1446342: Don't include forms in the scope chain for XBL datetime bindings. r=smaug
Reviewers: smaug

Bug #: 1446342

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

MozReview-Commit-ID: HK7nChYf0X6
2018-03-20 01:34:09 +01:00
arthur.iakab
888a532650 Merging mozilla-inbound to mozilla central a=merge 2018-03-19 12:43:31 +02:00
Masayuki Nakano
72a20a5502 Bug 1446253 - Make EventUtils.synthesizeComposition() dispatch keydown and keyup event in default r=smaug
We'll start to dispatch keydown event and keyup event even during composition.
So, for testing those events won't break our UI, we should make
EventUtils.synhtesizeComposition() and EventUtils.synthesizeCompositionChange()
dispatch keydown event and keyup event even if callers don't specify keyboard
event explicitly.

Typically, "keydown" event is marked as "processed by IME", i.e., keyCode
value is set to DOM_VK_PROCESSKEY and key is set to "Process", with our
widget which handles native IME and key input.  On the other hand, "keyup"
is NOT marked as so.

Therefore, this patch makes TextInputProcessor emulates this behavior without
any new special flags.  And for making possible to emulate special cases,
this patch adds two flags to nsITextInputProcessor.  One is
KEY_DONT_MARK_KEYDOWN_AS_PROCESSED.  The other is KEY_MARK_KEYUP_AS_PROCESSED.
Unfortunately, those flags have opposite meaning but this must be better than
making necessary to one flag for emulating usual keydown/keyup events.

Finally, this makes some tests specify better keyboard information to
synthesizeComposition() and synthesizeCompositionChange() to emulate
actual keyboard events during composition.

MozReview-Commit-ID: ItYaXILkNQE
2018-03-16 22:35:07 +09:00
Tooru Fujisawa
f415c74b57 Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
Kris Maglione
9d5b9190a5 Bug 1443964: Part 3 - Remove no-cpows-in-tests rule. r=mconley
The shims that this rule tests for no longer exist.

MozReview-Commit-ID: DMgP7Hczavc
2018-03-07 19:31:28 -08:00
Gurzau Raul
2db91483a1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-16 19:58:27 +02:00
Sebastian Hengst
9aa364dc2b Bug 1445763 - Update moz.build meta data with "Firefox Build System". r=froydnj
MozReview-Commit-ID: 3FrWJ6441pe
2018-03-14 21:44:46 +01:00
Dão Gottwald
5edc4b02c3 Bug 1446414 - Remove underutilized browser.homePage and browser.goHome. r=enn 2018-03-16 16:31:59 +01:00
Tiberius Oros
2ce14426a7 Merge inbound to mozilla-central. a=merge 2018-03-16 11:53:43 +02:00
Yuki Hiroshi
c311f2d72b Bug 1440573 - Policy: Disable safe mode. r=jimm,felipe
This policy disables the safe-mode UI entry points. In addition, only on Windows when using GPO, it also disables entering Safe Mode by holding down the Shift Key
2018-03-15 23:06:22 -03:00