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

1750 Коммитов

Автор SHA1 Сообщение Дата
Tim Nguyen 6071f20f6c Bug 1430374 - Remove support for progressmeter tree cells. r=bz,dao
MozReview-Commit-ID: 3hydkeoneC0

--HG--
extra : rebase_source : eca404511d1fc2d9d7e9711fbd1accefd3781b16
2018-01-18 10:36:05 +00:00
Alastor Wu da01d053cd Bug 1428722 - part3 : add tests. r=smaug
MozReview-Commit-ID: 4WfADcQinuQ

--HG--
extra : rebase_source : 9c67c4ef9f5888426527fe9c000470e81a0f3ba8
2018-01-11 17:27:08 +08:00
Alastor Wu dbd849d707 Bug 1424113 - remove CPOWs objects from autoplay tests. r=dao
MozReview-Commit-ID: EJCTfie0cH8

--HG--
extra : rebase_source : 017c9b4a5f72972b8c50f6bc11dcfe0289ffc449
2018-01-09 17:14:40 +08:00
Tim Nguyen e1b673bf04 Bug 1428938 - Remove legacy toolbar customization code. r=Gijs
MozReview-Commit-ID: 1ppfxI7yYJW

--HG--
extra : rebase_source : b4a2c44dd5e244c81e479e6b43e9669cc031f349
2018-01-11 16:35:17 +00:00
Cameron McCormack 45c9e50a65 Bug 1427419 - Part 19: Move inIDOMUtils.getChildrenForNode to InspectorUtils. r=bz
MozReview-Commit-ID: 5AznAfpZIuN
2018-01-11 12:38:00 +08:00
Tim Nguyen c9103613c5 Bug 1428849 - Remove datetimepicker.xml bindings. r=mconley
MozReview-Commit-ID: LhfabvhJP5d

--HG--
extra : rebase_source : 8a2c329fab9b90746af9a09877be049479459b75
2018-01-09 19:39:30 +00:00
Masayuki Nakano 169354c54c Bug 1407085 - nsAutoCompleteController shouldn't restore original value after somebody changes the input value even when Escape key is pressed r=mak
When Escape key is pressed, nsAutoCompleteController needs to restore last
string which was default value of the input or typed by the user.  However,
somebody may change the value, e.g., an event listener which handles
Escape key.  In this case, nsAutoCompleteController shouldn't restore the
last string.

Unfortunately, when JS sets input value, DOM "input" event won't be fired.
Therefore, nsAutoCompleteController doesn't have a chance to modify
mSearchString in this case.  Therefore, nsAutoCompleteController needs to
store expected input string for checking if somebody modified the input value.
For solving this issue, this patch adds a new member, mSetValue which is
modified when the input value is modified by nsAutoCompleteController itself
or mSearchString is modified.

Even with this patch, if user temporarily selects an item of the popup and
JS sets same value as the selected item from JS, nsAutoCompleteController
restores the input value with mSearchString.  However, this must be rare
case and I don't have idea to fix this issue with simple patches.

MozReview-Commit-ID: lig8c7xvD7

--HG--
extra : rebase_source : 787dbfb35bc70d27fb09ec93861164e7a5165be3
2017-12-19 16:46:20 +09:00
Myk Melez f5844bccd4 Bug 1428153 - clear prefs that the beforeaccept test sets; r=enndeakin
MozReview-Commit-ID: JnFmdXuqt1s
2018-01-08 20:34:59 -08:00
Myk Melez c3da3e7642 Bug 1379338 - scriptify preferences XBL; r=jaws
MozReview-Commit-ID: Egyzs2KxhzH
2018-01-04 21:37:47 -08:00
Sebastian Hengst bc8e5f198e Backed out 2 changesets (bug 1379338) for failing Marionette headless' test_anonymous_content.py TestAnonymousNodes.test_find_anonymous_children. r=backout on a CLOSED TREE
Backed out changeset 232c97d7c2ea (bug 1379338)
Backed out changeset a76ff10b9bff (bug 1379338)
2018-01-04 20:15:18 +02:00
Myk Melez f5bb45814e Bug 1379338 - scriptify preferences XBL; r=jaws
MozReview-Commit-ID: 7NRHlSsdOtf
2018-01-04 07:34:15 -08:00
Gijs Kruitbosch 613d9c6f17 Bug 1425356 - remove some tests that only make sense when XUL templates are supported, r=mrbkap
MozReview-Commit-ID: 6mhHJ6bBkHz

--HG--
extra : rebase_source : d44d7c801d61c53448ff535ed2a3c3221c8f5ddb
2017-12-20 14:28:28 +00:00
Kartikaya Gupta 4f18e92ffb Bug 1334189 - Enable mochitest-plain for linux64-qr. r=jrmuizel
MozReview-Commit-ID: nbcWhDq5de

--HG--
extra : rebase_source : 25e2c2b8b996ae11cd25dee07d9092ba574a9e40
2017-12-13 18:38:39 -05:00
JW Wang c09933eecf Bug 1420608. P2 - fix the test timeout. r=alwu
See comment 50 for the cause. Since file_silentAudioTrack.html calls play() to
start playback immediately, it is possible that 'mozentervideosuspend' has been
fired before check_video_decoding_state() has a chance to register event handlers.
We call load() and play() to start playback from the beginning so we won't miss
any events.

MozReview-Commit-ID: 9sKygfIxEtS

--HG--
extra : rebase_source : 32b087b808995f771b6fba901f9922af79169af0
extra : intermediate-source : 3fdd51bfa62909066db4813eee4baf0f3caefbdf
extra : source : ad64cd308ce5bb8378d884bf3342c3d8133f144a
2017-12-08 17:35:29 +08:00
Tooru Fujisawa f4bbfb6432 Bug 1416446 - Part 0.1: Fix DateTimeTestHelper.waitForPickerReady to wait for events in correct order and timing. r=Paolo 2017-12-09 06:08:42 +09:00
Dorel Luca 57cb45d112 Backed out changeset 6b8f0fd1a9f1 (bug 1416446) for failing browser-chrome's browser/base/content/test/permissions/browser_temporary_permissions_expiry.js on Windows 7 debug without e10s r=backout on a CLOSED TREE 2017-12-09 19:00:01 +02:00
Tooru Fujisawa fa5816198c Bug 1416446 - Part 0.1: Fix DateTimeTestHelper.waitForPickerReady to wait for events in correct order and timing. r=Paolo 2017-12-09 06:08:42 +09:00
Colomban Wendling 155453c3df Bug 1166825, do not focus the first item in the menu when open with F10, helped by Samuel Thibault, r=enndeakin
This is consistent with other apps and toolkits (GTK, LibreOffice), and
gives blind people a better experience by providing a consistent
desktop experience, and consistent behavior of the right arrow key
regardless of the first focusable element.

---
 layout/xul/nsMenuBarListener.cpp                 |    2 +-
 layout/xul/nsXULPopupManager.cpp                 |   17 ++++++++++++++++-
 toolkit/content/tests/widgets/window_menubar.xul |   14 ++++++++------
 3 files changed, 25 insertions(+), 8 deletions(-)
2017-12-08 08:38:23 -05:00
Bill McCloskey 9f4d083047 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Neil Deakin 33fa9df14a Bug 1415627, only calculate the offset that positions the current selection over the menulist button when the popup is first opened. After that use that cached value. r=mstange 2017-12-07 08:39:50 -05:00
Bogdan Tara 8e9610529d Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-07 13:02:03 +02:00
Andreea Pavel 89531e8dc3 Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bill McCloskey bef7c122df Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca eb65c24c7b Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey be77cf4a01 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Ryan VanderMeulen d945b2a059 Bug 1423667 - Disable some tests that fail on Windows Code Coverage builds with clang-cl r317840. rs=marco
--HG--
extra : histedit_source : d2f4b4d59301469c4cabb7198f0f98c5247eab84
2017-12-06 20:40:46 -05:00
Brian Grinstead 3355738c27 Bug 1417708 - Remove unused wraparound attribute from numberbox;r=enndeakin+6102+6102
MozReview-Commit-ID: C6GqHtVF6lq

--HG--
extra : rebase_source : fb6c2a9f5cc979343ec667667d199a15a3ee7f68
2017-11-17 11:10:22 -08:00
Alastor Wu bdd3f2c5da Bug 1421518 - add user-gestures test for the autoplay policy. r=jwwang
Mouse click or keyboard press are the events which could activate the page and allow
the page to autoplay.

Other events are not.

MozReview-Commit-ID: FjhcBSH0mCX

--HG--
extra : rebase_source : 2984791e3de7fa2c3a1e08877f72a2e2f0f53852
2017-12-05 10:50:56 +08:00
Bogdan Tara d8635b15e4 Merge inbound to mozilla-central r=merge a=merge on a CLOSED TREE 2017-11-30 00:41:09 +02:00
Dorel Luca f622b80073 Merge mozilla-central to mozilla-inbound r=merge 2017-11-29 12:34:02 +02:00
Andrea Marchesini 92be2a4461 Bug 1419589 - ContextualIdentityService should reset all the container data when resetting the identities, r=jkt 2017-11-29 08:52:03 +01:00
Brian Grinstead 30a99a2b95 Bug 1419170 - Remove the statusbar and statusbarpanel bindings;r=Paolo
MozReview-Commit-ID: DbwMUBpHcri

--HG--
extra : rebase_source : 0fb627a10860302ca5f31013ed7d8370eb655230
2017-11-27 09:17:04 -08:00
Alastor Wu 3a5eed9bdd Bug 1420488 - part2 : add test. r=jwwang
MozReview-Commit-ID: 1clhH9B2mIf

--HG--
extra : rebase_source : 03da182dfdcba08919a7b0f77adc697ded6b50a6
2017-11-28 17:44:24 +08:00
Sebastian Hengst c4e3d3a858 Backed out 2 changesets (bug 1420488) for eslint failures in toolkit/content/tests/browser/browser_autoplay_policy_play_twice.js. r=backout
Backed out changeset 92bd0fcb67d5 (bug 1420488)
Backed out changeset 0f211029517c (bug 1420488)
2017-11-29 17:31:28 +02:00
Alastor Wu 85277f6961 Bug 1420488 - part2 : add test. r=jwwang
MozReview-Commit-ID: 1clhH9B2mIf

--HG--
extra : rebase_source : 08ee8adca02fe984e90580faf2b90d3e8eb249e0
2017-11-28 17:44:24 +08:00
Brian Grinstead 6363cad3d4 Bug 1417119 - Remove xpfe autocomplete binding;r=iann_bugzilla+23131,Paolo
MozReview-Commit-ID: 6oDDVFetEBT

--HG--
extra : rebase_source : 7dbdd41a968e8cf711d9a639b28b9bc367121c13
2017-11-28 08:04:53 -08:00
Alphan Chen 54f4537537 Bug 980904 - Disable the Character Encoding menu when document is decoded as UTF-8 without errors. r=hsivonen,emk,Gijs 2017-11-23 15:03:41 +08:00
Ed Lee 2791b99bc9 Bug 1417017 - Check for content. usage at global and within add_task for no-cpows-in-tests. r=standard8
MozReview-Commit-ID: Asz6dM29uRJ

--HG--
extra : rebase_source : 4f5b67cc5ff48cbdb9afddc24f5842ecaeff0b15
2017-11-14 02:17:57 -08:00
Samael Wang bb968e4fcd Bug 1406253 - Part 3: use currentRequstFinalURI in context menu and add a test case. r=dao
If the image request gets redirect on loading, HTMLImageElement.currentURI
(which corresponds to nsIImageLoadingContent.currentURI) would return the
original URI before redirect, making "Save Image" in the context menu use
incorrect URI and filename. Use currentRequestFinalURI instead to get
redirected URI.

MozReview-Commit-ID: Bd7Q36sH93b

--HG--
extra : rebase_source : 5a1cc56554d1429f3c5af1c8cecaa1d72471ed21
2017-11-14 19:19:27 +08:00
Cosmin Sabou fdc83a94aa Merge inbound to mozilla-central r=merge a=merge 2017-11-21 00:01:02 +02:00
Joel Maher 2430b67014 Bug 1339326 - Disable toolkit/content/tests/chrome/test_bug331215.xul on windows debug for frequent failures. r=me, a=testonly 2017-11-20 10:55:30 -05:00
Mark Banner a34654023f Bug 1417940 - Change various instances of manually calling getService to use Services.jsm in toolkit/. r=mossop
MozReview-Commit-ID: 8eEhjFZc4mT

--HG--
extra : rebase_source : 10341495d85dae45f2efbe3af6ad11b0c0214104
2017-11-09 16:36:57 +00:00
Noemi Erli e90c67896c Backed out 3 changesets (bug 1406253)for build bustage in dom/base/nsCopySupport.cpp r=backout on a CLOSED TREE
Backed out changeset 284f3cc2880c (bug 1406253)
Backed out changeset aecb3d509a39 (bug 1406253)
Backed out changeset 9ce01198e8a1 (bug 1406253)
2017-11-20 13:34:29 +02:00
Samael Wang ef3c08ceb1 Bug 1406253 - Part 3: use currentRequstFinalURI in context menu and add a test case. r=dao
If the image request gets redirect on loading, HTMLImageElement.currentURI
(which corresponds to nsIImageLoadingContent.currentURI) would return the
original URI before redirect, making "Save Image" in the context menu use
incorrect URI and filename. Use currentRequestFinalURI instead to get
redirected URI.

MozReview-Commit-ID: Bd7Q36sH93b

--HG--
extra : rebase_source : b88ccf98bc2a41aac007d79060424eaa2c2aca88
2017-11-14 19:19:27 +08:00
Dan Banner b2e847755c Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
MozReview-Commit-ID: GrlcOI9K2hJ

--HG--
extra : rebase_source : 6574cf3c67eb11733ffd9999c260f71c8551abc4
2017-05-28 19:57:46 +01:00
Andreea Pavel d377351feb Backed out 1 changesets (bug 1417940) for failing browser-chrome browser/components/contextualidentity/test/browser/browser_aboutURLs.js r=backout on a CLOSED TREE
Backed out changeset 2c2f807e23b5 (bug 1417940)
2017-11-17 18:08:45 +02:00
Timothy Guan-tin Chien 93fb9c8b32 Bug 1327097 - Part III, Trap mouse/touch/pointer events in audio/video element, r=smaug
This patch implements HTMLMediaElement::GetEventTargetParent and set
aVisitor.mCanHandle to false to mouse/touch/pointer events, when
the media control is present. This tells the event dispatcher that
these events are supposed to be handled exclusively by the
videocontrol binding within the media element, and should not
dispatch nor consumed by the content.

MozReview-Commit-ID: BXWZX9SYsuC

--HG--
extra : rebase_source : 5d6633a2e1a456d2d619b6f68498065d94c68c40
2017-11-17 11:07:12 +08:00
Mark Banner 4831d3ed89 Bug 1417940 - Change various instances of manually calling getService to use Services.jsm in toolkit/. r=mossop
MozReview-Commit-ID: 8eEhjFZc4mT

--HG--
extra : rebase_source : fa73ef148c0ea38226e11824e683daab43f2c0b8
2017-11-09 16:36:57 +00:00
Gurzau Raul d274011903 Backed out 3 changesets (bug 1327097) for eslint failures toolkit/content/tests/widgets/test_videocontrols.html:228 r=backout on a CLOSED TREE
Backed out changeset 09c0a4c56c78 (bug 1327097)
Backed out changeset c0c5ee67b3ef (bug 1327097)
Backed out changeset 82a6e4dc5da7 (bug 1327097)
2017-11-16 14:23:20 +02:00
Timothy Guan-tin Chien 59cbfa1e3d Bug 1327097 - Part III, Trap mouse/touch/pointer events in audio/video element, r=smaug
This patch implements HTMLMediaElement::GetEventTargetParent and set
aVisitor.mCanHandle to false to mouse/touch/pointer events, when
the media control is present. This tells the event dispatcher that
these events are supposed to be handled exclusively by the
videocontrol binding within the media element, and should not
dispatch nor consumed by the content.

MozReview-Commit-ID: BXWZX9SYsuC

--HG--
extra : rebase_source : e9922ac6064c953ee233d6829e84bc7828518b43
2017-11-16 17:06:36 +08:00
Ray Lin f058f3b817 Bug 1415596 - Make click to play button transparent when status overlay is present on video controls. r=jaws
MozReview-Commit-ID: 6xweGJQoR6R

--HG--
extra : rebase_source : e53a93c32acbbbc43abbb0ba6f8ff0ad34a5ec85
2017-11-12 23:18:03 +08:00
Noemi Erli 8d8df3ddfe Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-10 12:43:53 +02:00
Nicholas Nethercote f4dd5e2636 Bug 1414096 (attempt 2) - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.

This patch finishes the job.

- It removes the nsISupportsString support.

- It converts existing code that relied on the nsISupportsString.

- It removes the lint that was set up to detect such uses of nsISupportsString.

--HG--
extra : rebase_source : b885ee784704819e181430200af5ef762e269d14
2017-11-10 09:07:48 +11:00
Ray Lin 5f10713f16 Bug 1414173 - Explicitly enqueue task to fix the non-conformant promising handling failures in video controls mochitests. r=jaws
MozReview-Commit-ID: 11dStMrxlyH

--HG--
extra : rebase_source : d7237d78a65ab885329c3def592ef1853eea2d2c
2017-11-07 18:34:52 +08:00
Narcis Beleuzu 57d9eb5fb1 Backed out 1 changesets (bug 1414096) for dt1 failures "devtools/client/commandline/test/browser_cmd_pref3.js" r=backout on a CLOSED TREE
Backed out changeset e843de356b7e (bug 1414096)
2017-11-08 18:04:01 +02:00
Nicholas Nethercote 8b3d03c666 Bug 1414096 - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.

This patch finishes the job.

- It removes the nsISupportsString support.

- It converts existing code that relied on the nsISupportsString.

- It removes the lint that was set up to detect such uses of nsISupportsString.

--HG--
extra : rebase_source : fb7af066adfa0491a79fae6282a62b08661553c8
2017-10-31 16:34:35 +11:00
Ray Lin c516f2897f Bug 1412210 - Respect video error state while adjusting controls to determine the visibility of clickToPlay button. r=jaws
MozReview-Commit-ID: HhKHVYmEsKD

--HG--
extra : rebase_source : 00fa7ba1d5eb82bd35b55ed3e0cab8701319ae62
2017-10-27 15:41:25 +08:00
Ryan VanderMeulen cf94e55fa8 Backed out changesets 9adb0bc561c3 and 9e50716eaebe (bug 1406032) in favor of a different fix.
--HG--
extra : rebase_source : d68493d891fc9d5560e58a41e581ad7f55ea9f09
2017-11-01 21:52:57 -04:00
Ray Lin 7b275caaa6 Bug 1381375 - Show proper error message for 404 not found media source on video controls. r=jaws
MozReview-Commit-ID: JbMGBnlhH3w

--HG--
extra : rebase_source : bc4cab87a8b11214a8a0e6f61c33d6e84f7f01a3
2017-10-30 13:55:08 +08:00
Mark Banner 01008c7d57 Bug 1412778 - Enable ESLint rule no-cpows-in-tests across the whole tree. r=florian
MozReview-Commit-ID: 8pidN7x6MYh

--HG--
extra : rebase_source : 6a0d6800091231fc1535223bd7fc6df0ba40d47b
2017-10-30 09:55:39 +00:00
Ray Lin 8db0d7b267 Bug 1402877 - Part 2. Don't let click event dispatch through media controls to video element. r=jaws
MozReview-Commit-ID: BUW9PDxCSAY

--HG--
extra : rebase_source : f00e6095065f429f7ea2dd227d3135623c074522
2017-09-26 16:19:10 +08:00
Ray Lin 0536030df8 Bug 1402877 - Part 1. Refactor mochitest test_videocontrols.html to use add_task(). r=jaws
MozReview-Commit-ID: AZGgwLDUoZD

--HG--
extra : rebase_source : fc0614a67601b74de0a951119a256e87d4d68c93
2017-10-12 17:44:47 +08:00
Xidorn Quan 2797a4fa56 Bug 1408811 - Update test expectation for this bug. r=emilio
on a CLOSED TREE

MozReview-Commit-ID: H4glCWmL2vc
2017-10-24 21:16:52 +02:00
Sebastian Hengst 34eb12ec84 Backed out changeset aa39d335365a (bug 1402877) for failing a11y accessible/tests/mochitest/actions/test_media.html. r=backout
--HG--
extra : amend_source : 506953403952030636c6619a4b7a94223e5ae7d6
2017-10-24 16:04:20 +02:00
Sebastian Hengst 77f4e256f2 Backed out changeset 8dc86e170ef4 (bug 1402877) 2017-10-24 16:04:14 +02:00
Ray Lin 48b348d789 Bug 1402877 - Part 2. Don't let click event dispatch through controlBar to video element. r=jaws
MozReview-Commit-ID: BUW9PDxCSAY

--HG--
extra : rebase_source : ce565c051a48cc2df313ec26ad875e0e6da001d6
2017-09-26 16:19:10 +08:00
Ray Lin 3f617f5af8 Bug 1402877 - Part 1. Refactor mochitest test_videocontrols.html to use add_task(). r=jaws
MozReview-Commit-ID: AZGgwLDUoZD

--HG--
extra : rebase_source : 6ae6ac623fc53690e177e2e94599ea174105cdd2
2017-10-12 17:44:47 +08:00
Stephen A Pohl e1f60b66e6 Bug 1406032: Backout 096247c952ea (bug 1324892) to fix popup tests because popups now work correctly again on macOS. r=mstange 2017-10-19 23:42:29 -04:00
Xidorn Quan fd467033f9 Bug 1407847 - Enable stylo for XUL document without system principal and annotate failures accordingly. r=heycam
MozReview-Commit-ID: KcJxloT2rR8

--HG--
extra : rebase_source : 8943efaa7afbf1bc74ac85ca103a52e2f4d1b1a4
2017-10-12 10:43:38 +11:00
Dan Banner 7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Neil Deakin 4251bca019 Bug 1356674, only adjust arrow position in panel once, r=dao 2017-10-04 11:10:18 -04:00
Neil Deakin 4d3b46e590 Bug 1330144, don't focus 'noinitialfocus' elements at all in dialogs, r=gijs 2017-10-04 11:10:05 -04:00
Scott Wu 5362aea0cf Bug 1401876 - (Part 2) Add browser-chrome test for reopening picker. r=mconley
MozReview-Commit-ID: BjR0rVxkdT

--HG--
extra : rebase_source : 92c1d3fc55dbe0eb8c1524a7510bc6431f296a25
2017-09-25 17:43:27 +08:00
Scott Wu e8af7b7a7d Bug 1401876 - (Part 1) Close datetime picker on popuphidden. r=mconley
MozReview-Commit-ID: FUqbtAftQxh

--HG--
extra : rebase_source : 9570536f7d46d5e8a481d36ed90d81c6f4e8183d
2017-09-21 15:37:25 +08:00
Ray Lin 5f143a8673 Bug 1397486 - Update controlBar width according to videocontrols which really grows along <audio> width. r=jaws
MozReview-Commit-ID: LpxH7Pnu7tQ

--HG--
extra : rebase_source : 455014838e4e023fa8b90941b0c2516b52c4d37e
2017-09-14 17:37:47 +08:00
Ray Lin e23455a0c7 Bug 1396094 - Handle change event of textTracks to update the closed caption UI state. r=jaws
MozReview-Commit-ID: KpjXhxUPDKR

--HG--
extra : rebase_source : fedd916f37621fa1ccd3d0f0f22402fafc8752d9
2017-09-23 10:51:47 +08:00
Amy Chung 42b1f8ef9a Bug 1360603 - Confirm the Throttleable flag on browser_saveImageURL.js. r=baku 2017-09-24 00:56:04 +08:00
Philipp Sackl a5d757bfb2 Bug 1393057 - Remove hover transition from toolbar buttons, r=mikedeboer
MozReview-Commit-ID: GdBVMsBYI6S

--HG--
extra : rebase_source : 4b9f7e576434f628b1fc56bb454c2e4008b93766
2017-09-14 13:25:31 +01:00
Stephen A Pohl f23830000a Bug 1324892: Fix tests for switch to macOS SDK 10.11. r=mstange 2017-09-08 15:49:23 -04:00
Sebastian Hengst 0a8fd01892 Backed out changeset ac1381f38c3f (bug 1324892) 2017-09-08 19:46:34 +02:00
Stephen A Pohl ae53820108 Bug 1324892: Fix tests for switch to macOS SDK 10.11. r=mstange 2017-09-08 13:30:41 -04:00
Scott Wu df1f4e7328 Bug 1395773 - Fix intermittent browser_datetime_datepicker test when crossing months, r=mconley
MozReview-Commit-ID: Dhs0KX9UUOC

--HG--
extra : rebase_source : 4344ee4c2ed4f4d23429dee4c4bea1f474298dea
2017-09-01 15:03:48 +08:00
John Lin 472cb53db6 Bug 1396232 - Use prefixed fullscreen element in orientation lock test. r=ralin
MozReview-Commit-ID: LN3lyiCkQOo
2017-09-05 03:24:00 -04:00
John Lin ed6fa8ffe5 Bug 1396232 - enable prefs needed for orientation lock test. r=ralin
Also, use |run-if| instead of |skip-if| to filter the test.

MozReview-Commit-ID: 5NUoSoRzqMC

--HG--
extra : rebase_source : c50eb0cf377d02456089382108a49658ea6930b7
2017-09-04 16:00:55 +08:00
John Lin a24ccfa757 Bug 1394683 - mochitest for fullscreen video orientation lock/unlock. r=ralin
MozReview-Commit-ID: 8VV6TApPSFV

--HG--
extra : rebase_source : 2e4750621b56477bd0b1a0584669fc7fe830f776
2017-08-30 16:53:44 +08:00
Ray Lin 119a277823 Bug 1391791 - Calculate controlBar width without counting toward audio padding. r=jaws
MozReview-Commit-ID: DHuUef5R2VN

--HG--
extra : rebase_source : 8244ef873e04134bba516aa7aff159281f723380
2017-08-22 22:46:33 +08:00
Nicholas Nethercote 023ea64ad3 Bug 1392989 (part 1) - Remove convertProperties(). r=jaws.
It's unused.
2017-08-24 11:45:54 +10:00
Scott Wu 6b45e4e6cf Bug 1381421 - (Part 2) Add browser chrome tests for the minimum and maximum dates. r=mconley
MozReview-Commit-ID: 7qDfouP1ApV

--HG--
extra : rebase_source : e6dd1f19d005042d11844859fd90558cd3890078
2017-08-21 10:17:19 +08:00
Botond Ballo 7862ebd4de Bug 1390247 - Get browser_bug295977_autoscroll_overflow.js working with APZ autoscrolling. r=kats
MozReview-Commit-ID: MQwJxtePRb

--HG--
extra : rebase_source : 442d17e6ff491fcd9639e1f7524ec8acf28b8a36
2017-08-16 17:50:28 -04:00
Alastor Wu fee7fb93ca Bug 1388660 - part2 : add test. r=Ehsan
Add a new file "almostSilentAudioTrack.webm" and the test to prevent showing
the sound indicator when playing that kinds of video.

MozReview-Commit-ID: CeUhAePBuqs

--HG--
extra : rebase_source : c1deb2ec749fcebeccb554b64ffe77b46a18aa3d
2017-08-17 11:10:31 +08:00
Yoshi Huang 60b7d9f697 Bug 1390398: fix failures on windows for new data: URI inheritance model. r=smaug 2017-08-15 18:09:28 +08:00
Stone Shih 55c5359fa6 Bug 1351148 Part4: Revise those test cases that have some tasks have to be processed before or after the synthesized key events. r=smaug.
Make sure input events are processed before or after the dependent tasks.

MozReview-Commit-ID: 8KfZnT2wjJR
2017-06-07 14:28:16 +08:00
Scott Wu 39ee5f1bc5 Bug 1328219 - (Part 2) Add browser chrome test for date picker. r=mconley
MozReview-Commit-ID: 99zfNaXqbjc

--HG--
extra : rebase_source : 4e324ca9aec1c22350dd122a4a9dffaac9cfe9ea
2017-08-03 18:26:23 +08:00
Andrew Halberstadt d2109610fb Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : 8607b3964da207a6076c79b6f1d75b40503cdd7d
2017-08-10 14:48:21 -04:00
Phil Ringnalda 0ff5a4285d Backed out changeset 6896f93a2327 (bug 1385352) for not making it to m-c before the next violation of its new linting rule merged to autoland
MozReview-Commit-ID: 3HDE2C3wSU0
2017-08-10 20:21:19 -07:00
Andrew Halberstadt f625fd5c37 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : d72a88962ec8d843e7be99e25f710887f01b6e1a
2017-08-10 14:48:21 -04:00
Emilio Cobos Álvarez 199acfadce Bug 1366163: Update test expectations. r=heycam
MozReview-Commit-ID: 2UFRnrIOETo
2017-08-08 14:15:27 +02:00
Masatoshi Kimura 8b713b2b0f Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC

--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Rajesh Kathiriya 48e6bc2124 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : b455e846ab79c8141150517e67e542e3e06d630e
2017-07-25 23:45:41 +05:30
Sebastian Hengst 804a36e668 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya 22dfa54ef4 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : 5992bdde34bcc2421350433bc8c1e498a6bba848
2017-07-25 23:45:41 +05:30
Wes Kocher 111fa9e5a3 Backed out changeset 4e1a1565e417 (bug 1007283) for causing 1385079 a=bustage
MozReview-Commit-ID: 1FeEnNpHa8q
2017-07-28 14:28:17 -07:00
Carsten "Tomcat" Book 6aa98d7df0 Merge mozilla-central to autoland 2017-07-28 09:50:36 +02:00
Carsten "Tomcat" Book 2ff6df9177 Backed out changeset 5198322f7a62 (bug 1351148) 2017-07-28 09:20:20 +02:00
J. Ryan Stinnett c79cb3fbb1 Bug 1380053 - Stylo reftest annotations for all OSes. r=manishearth
MozReview-Commit-ID: JNsNUOZfd2e

--HG--
extra : rebase_source : 05a71f9a0fe484c93931fb230cf0752a3b1b8b00
2017-07-20 22:02:00 -05:00
Dão Gottwald fe72da1e54 Bug 1007283 - Enable arrow panel animations on Linux. r=jaws
MozReview-Commit-ID: BUL3NWpsKll

--HG--
extra : rebase_source : b2434d6167e758a92b42a2277e5f4b63f32e7e00
2017-07-19 23:16:19 +02:00
Carsten "Tomcat" Book 732f652f89 Backed out changeset 29131feeed60 (bug 1380065) for windows 7 perma failure in test_bug884693.xul | Got expected message count - got 1, expected +0 2017-07-25 10:52:58 +02:00
Sam Foster fba4d7c501 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior
* Re-enable cosmeticAnimations pref for browser_ext_popup_select.js which is known to be more reliable with animations

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : effd7fab536294de967661be4dcaaadc5b869db7
2017-07-13 14:30:38 -04:00
Wes Kocher 4d4051d2e2 Backed out changeset 2e0c2b3bc28b (bug 1380065) for eslint failures in browser_ext_popup_select.js a=backout
MozReview-Commit-ID: HZqI6A06YiO
2017-07-24 17:25:37 -07:00
Sam Foster fef0cddea2 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior
* Re-enable cosmeticAnimations pref for browser_ext_popup_select.js which is known to be more reliable with animations

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : 577f534d2409da76eecd6c36dfa3db50eca50f40
2017-07-13 14:30:38 -04:00
Wes Kocher 823f61b3a6 Backed out changeset 7e0990dca8d1 (bug 1380065) at developer's request a=backout
MozReview-Commit-ID: HTBdXaEmagI
2017-07-24 16:13:28 -07:00
Sam Foster 3dd758f190 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : 4ed74175107b2cf831b698361f0a2a9b1bd72113
2017-07-13 14:30:38 -04:00
Wes Kocher 051dc17e6c Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GYc8r8gnS0j
2017-07-21 18:12:55 -07:00
Ray Lin 1154d19e13 Bug 1382218 - Cap the height of <audio> controlBar as well to get rid of endless reflow. r=jaws
MozReview-Commit-ID: A0wukWRE4fM

--HG--
extra : rebase_source : a789a7ee05ce19440421c0d20743f95e3f651985
2017-07-20 23:14:33 +08:00
Alastor Wu 52e4d86364 Bug 1274919 - part5 : add test. r=baku
MozReview-Commit-ID: 5wKkE5tphLl

--HG--
extra : rebase_source : 22d9996b0f8fde0dbcab41147c7de54abd881861
2017-07-20 15:11:37 +08:00
Stone Shih a5bccae405 Bug 1351148 Part4: Revise those test cases that have some tasks have to be processed before or after the synthesized key events. r=smaug.
Make sure input events are processed before or after the dependent tasks.

MozReview-Commit-ID: 8KfZnT2wjJR
2017-06-07 14:28:16 +08:00
Christoph Kerschbaumer 5c7ac7954b Bug 1337272: Convert tests within toolkit/ to not rely on principal inheritance for data: URIs. r=gijs 2017-07-18 15:18:00 +02:00
Sebastian Hengst c80daf709f Backed out changeset b669da0374a2 (bug 1337272) for linting failure at test_mousecapture.xhtml:208: 'topPos' is assigned a value but never used. r=backout 2017-07-18 14:16:54 +02:00
Christoph Kerschbaumer 1e03699e83 Bug 1337272: Convert tests within toolkit/ to not rely on principal inheritance for data: URIs. r=gijs 2017-07-18 13:47:53 +02:00
Johann Hofmann a4ce956932 Backed out changeset 4488424e14ae for causing Bug 1377802. r=tnikkel
MozReview-Commit-ID: 8KUWWoWvCvF

--HG--
extra : rebase_source : 69ab6bbf9db8b9feb46e116f2fe82d0b526a74d8
2017-07-11 23:18:35 +02:00
Ray Lin d53f9d5b3c Bug 1367875 - Add a reftest about brief dynamically chaning <audio> to a small width. r=jaws
MozReview-Commit-ID: 1w5f3jdNb67

--HG--
extra : rebase_source : 4090857889c6f511e291f6038c80616d7eacd85f
2017-07-04 15:06:50 +08:00
Ray Lin bb0ee23e51 Bug 1367868 - Don't hide media controls when error occurred for audio even if it hasn't been played yet. r=jaws
Unlike video element, audio has no status overlay to inform users if an
error occurred. Instead of hiding entire media controls, we should keep
it visible in order not confuse users, and see if we can come up with a
better approach such as making the buttons disabled afterwards.

MozReview-Commit-ID: 8YSCxbWwg2O

--HG--
extra : rebase_source : 0da6ce16fe28c7f1d0cbafe0c518f5c2c273abf1
2017-07-04 14:34:13 +08:00
Alastor Wu 8f8b760529 Bug 1351925 - remove blockMedia() and related tests. r=baku
The intermittent failure is caused by the innate drawback of the present test,
it doesn't be consistent with the behavior how we actually block the media.

Since we always block media implicit, it would be set in nsGlobalWindow's ctor.
We would never call blockMedia directly, so we can remove the function.

MozReview-Commit-ID: IjYJi5OHQ3X

--HG--
extra : rebase_source : 1cb5eaf76f237f2c8be430ef94f7d8aa6031cf17
2017-06-30 12:16:43 -07:00
Alastor Wu a3c591450b Bug 1347791 - part3 : update block stauts to front-end side. r=baku,dao,mikedeboer
When the block stauts of the window was changed, we would notify front-end side
to update the vaule, so that we can save it for session restore.

MozReview-Commit-ID: FyclKmAxZHf

--HG--
extra : rebase_source : 5ac8bb9d82279074939caed53dd79c072a5097bc
2017-06-29 05:46:20 -07:00
Alastor Wu ade6cb9314 Bug 1347791 - part1 : rename the attribute for the tab which has blocked the autoplay audio and would show the play-tab icon. r=mikedeboer
The "blocked" attribute is too general to indicate the real usage, so rename it
to "activemedia-blocked".

This attribute indicates that whether the tab has blocked the autoplay media.

MozReview-Commit-ID: 58U7DJSMtss

--HG--
extra : rebase_source : 762bfd2be06e21a964fd93076867b4f72a085adc
2017-06-29 04:48:38 -07:00
Ray Lin a5f1068008 Bug 1373537 - Fix dynamically add closed caption reftest against delay image decoding issue. r=jaws
MozReview-Commit-ID: EwDrn789qc4

--HG--
extra : rebase_source : a08685e7a8dfbda8005a120f471a4be320ec0735
2017-06-28 23:46:03 -07:00
Florian Quèze 2924991bf6 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Nathan Froyd 27c58cf89f Bug 1372670 - part 3 - add spinEventLoopUntil to nsIThreadManager; r=erahm,florian 2017-06-21 12:59:28 -04:00
Greg Mierzwinski b106efd1e8 Bug 1374627 - Enable test_panel_anchoradjust.xul for linux. r=tnikkel
Enable toolkit/content/tests/chrome/test_panel_anchoradjust.xul on linux machines as it no longer permanently fails when running on Ubuntu 16.04.

MozReview-Commit-ID: FOW9zgKYcAU

--HG--
extra : rebase_source : f7667b92e02b34df744fae261534be9f5d50cde3
2017-06-18 10:04:42 -04:00
Greg Mierzwinski 803d822416 Bug 1374056 - Decrease assertion count test_bug393970.xul and test_bug437844.xul and increase expected range. r=jmaher
This patch decreases the assertion counts for toolkit/content/tests/chrome/test_bug437844.xul and layout/xul/test/test_bug393970.xul. It does so by preventing a loop in nsSprocketLayout.cpp from performing one extra pass after hitting the assertion. It also increases the maximum of the expected range for test_bug437844.xul to 34.

MozReview-Commit-ID: 3QVE2LY2sRa

--HG--
extra : rebase_source : de0c33067bb45770708c56b937fa2f4e6a6a3ce0
2017-06-18 10:05:01 -04:00
Greg Mierzwinski 6596a67019 Bug 1335894 - Disable test_popupanchor.xul for linux. r=jmaher
Disable toolkit/content/tests/widgets/test_popupanchor.xul on linux machines as it permanently fais when running with Ubuntu 16.04.

MozReview-Commit-ID: HSX6xC8dG8k

--HG--
extra : rebase_source : c270b3456c92da2b49daa30cf44308b6880f5ea9
2017-06-18 10:04:23 -04:00
Carsten "Tomcat" Book 3271bd7354 Merge mozilla-central to autoland 2017-06-19 14:52:55 +02:00
Greg Mierzwinski 4babf3016b Bug 1340413 - Disable test_panel_anchoradjust.xul for linux. r=jmaher
Disable toolkit/content/tests/chrome/test_panel_anchoradjust.xul on linux machines as it permanently fails when running on Ubuntu 16.04.

MozReview-Commit-ID: FOW9zgKYcAU

--HG--
extra : rebase_source : a590ff1dec5abd04ac97efcf03e4bcd61612626a
2017-06-18 10:04:42 -04:00
Paolo Amadini 585fbe6cec Bug 1242505 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : b6573f8e2001f91d0e5a50f6376b191459549e94
extra : intermediate-source : 0411e687044ecc7b56684196238e6e6e68a9d685
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-06-18 08:05:06 +01:00
Blake Kaplan 10dcf78c62 Bug 1327118 - Fix the charset encoding menu not being properly enabled when dragging tabs into a new window. r=mconley
MozReview-Commit-ID: 15HVXsKHoYW

--HG--
extra : rebase_source : 71b7099d11502b58473921182eaaab74b0682d61
2017-06-06 17:04:54 -07:00
Joel Maher d62af2c5e9 Bug 1365408 - random-if bug-442419-progressmeter-max.xul win8/debug. r=gbrown
MozReview-Commit-ID: DlqjGWQqr3C
2017-06-08 13:55:39 -04:00
Andrew McCreight 92a4f25f69 Bug 1370733 - Add an explicit import of Services.jsm to window_browser_drop.xul. r=Gijs
MozReview-Commit-ID: J2jZM5hnInK

--HG--
extra : rebase_source : 6271e714e48b6b4c0c14ba4e4b927e0cbea0dcd8
2017-06-06 16:09:54 -07:00
Joel Maher b44356bc28 Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Gabriele Svelto 3148018ed7 Bug 1359326 - Run the minidump analyzer directly from the CrashService code; r=bsmedberg
This patch removes the C++ code used to run the minidump analyzer when a
content process crashes, and replaces it with JS code within the CrashService
object. This removes the need for a separate shutdown blocker in C++ code and
allows end-to-end testing of the crash service functionality. Additionally
the exception handler code can be simplified since it's now only used to run
the crash reporter client.

The test added to test_crash_service.js covers computing the minidump SHA256
hash (bug 1322611) and of the minidump analyzer itself (bug 1280477).

MozReview-Commit-ID: LO5w839NHev
2017-05-11 14:03:50 +02:00
Gijs Kruitbosch 9974338905 Bug 1358500 - fix find bar being disabled all the time, r=mikedeboer
MozReview-Commit-ID: BpnCdKgtYiG

--HG--
extra : rebase_source : f309a8ebb2ee95be0a3ffccd8ac67e7693acd890
2017-05-29 16:17:56 +01:00
Phil Ringnalda cba671875b Backed out changeset b89704b3bc19 (bug 1358500) for failures in browser_bug537013.js
MozReview-Commit-ID: IO4dyagNqNB

--HG--
extra : rebase_source : 5a5beba51e57ac28654eb7a4dcac7db1cd9bedb0
2017-05-29 10:52:37 -07:00
Gijs Kruitbosch 80a2759099 Bug 1358500 - fix find bar being disabled all the time, r=mikedeboer
MozReview-Commit-ID: BpnCdKgtYiG

--HG--
extra : rebase_source : 50ab38dd78941fe397a0acb8113f961f15d7f31d
2017-05-29 16:17:56 +01:00
Paolo Amadini d7513d1e02 Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : 64395c5fdf25deebd60dfbf2cf5df3cbf7ca8abb
extra : amend_source : 0a3f13419c050662680f2bd110d724b3bf991732
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-05-28 11:46:45 +01:00
Sebastian Hengst 8d47870cdc Backed out changeset 8d53be05afc5 (bug 1242505) 2017-05-28 11:31:12 +02:00
Paolo Amadini 8edd3b1d5c Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : 59e5b84cb431f3ca28287d30a3da8fbea1363ec5
2017-05-25 15:00:35 +01:00
Ray Lin c4a9832435 Bug 1367194 - Explicitly pause video at the end of the test to prevent the media backend from pausing the video as the page closes and thus r=jaws
randomly firing a 'pause' event when the test isn't expecting it. r=jaws

MozReview-Commit-ID: 65NrpKbIxi7

--HG--
extra : rebase_source : 7e1ec55d5c23b8c0cfa49ca5298d77fef77a2e4b
2017-05-24 13:19:55 +08:00
Shing Lyu 5d8a5a598c Bug 1361645 - Change reftest condition stylo to styloVsGecko r=dbaron
MozReview-Commit-ID: 3ekoU1zg8xA

--HG--
extra : rebase_source : f62c84516f5ac0d4b4d0c876514b72fa786ec542
2017-05-25 11:26:12 +08:00
Mats Palmgren 297b9d70e1 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
MozReview-Commit-ID: IbwWM0FL6HF

--HG--
extra : source : bbb688fe1ba3f5201a190c6e25b693ef7272ea2d
2017-05-21 17:15:00 +08:00
Ray Lin 483a0b8c19 Bug 1352724 - Pause video at the point when scrubber is being click. r=jaws
MozReview-Commit-ID: 5JuDivYzhoJ

--HG--
extra : rebase_source : 81bca14502cc16beb240ca5f42096f8453bd37c8
2017-04-26 17:09:12 +08:00
Carsten "Tomcat" Book 00d4ea331d Backed out changeset bbb688fe1ba3 (bug 1365614) 2017-05-22 15:45:31 +02:00
Mats Palmgren e706869580 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-21 17:15:00 +08:00
Carsten "Tomcat" Book 4603014981 Backed out changeset a9ac97cc2efa (bug 1347791) for test failures in browser_ext_sessions_restore.js | restored tab has the expected url - Got about:blank, expected about:config 2017-05-17 08:11:47 +02:00
Alastor Wu ce9ddc4dab Bug 1347791 - part1 : rename the attribute for the tab which has blocked the autoplay audio and would show the play-tab icon. r=mikedeboer
The "blocked" attribute is too general to indicate the real usage, so rename it
to "activemedia-blocked".

This attribute indicates that whether the tab has blocked the autoplay media.

MozReview-Commit-ID: EAmq6OuBYjq

--HG--
extra : rebase_source : e8e9321854b80736f0959fbfecbc8bf9a83b0712
2017-05-17 11:55:54 +08:00
Christoph Kerschbaumer e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Florian Quèze 97f401c644 Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +02:00
Florian Quèze 16530fa1e3 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze 5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Florian Quèze 2e2f358aa9 Bug 1353542 - pre-script hand-written cleanup patch, r=Mossop. 2017-05-12 14:41:20 +02:00
Mark Banner 2bf9485071 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : e462e84bf8f2ffd893d1fd6b5ea14bbc093168dd
2017-05-08 10:29:47 +01:00
Sebastian Hengst 95a418ca5b Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
Mark Banner 256aeb441c Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : f1b9eeb1b2048b551ee8c0a596e6395d0031cc4d
2017-05-08 10:29:47 +01:00
Neil Deakin 38846a0f8f Bug 1358713, when a popup's anchor does not have a frame originally, don't have the popup update its position to follow it, r=tn 2017-05-05 11:13:56 -04:00
Shing Lyu c46f5d5baf Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08:00
Shing Lyu 435db45b79 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-28 11:15:50 +08:00
Sebastian Hengst ceff3b0678 Backed out changeset 1f9d0f8e65b9 (bug 1351548) 2017-04-26 13:13:05 +02:00
Sebastian Hengst f46ebb0d94 Backed out changeset aebb0ceeb20a (bug 1351548) 2017-04-26 13:12:53 +02:00
Shing Lyu 96b400c04a Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08:00
Shing Lyu dae014d9d5 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-26 18:21:43 +08:00
Marco Castelluccio 1af44da4a3 Bug 1359458 - Increase assertion count range for test_bug437844.xul. r=jmaher
--HG--
extra : rebase_source : 9a9e8d93afc1f883454b4533a13c8239c2608c31
2017-04-25 17:33:58 +02:00
Dan Banner cdf987089d Bug 1107904 - Remove packed.js and references to it as it is unused. r=standard8
MozReview-Commit-ID: K5TLF92pHq4

--HG--
extra : rebase_source : 295bf325a07fa8ec4c55a8babf5418588308dca6
2017-04-12 11:10:00 +01:00
Makoto Kato cd753d1158 Bug 1351074 - Part 2. Use testing-common for AsyncSpellCheckTestHelper.jsm. r=masayuki
TESTING_JS_MODULES uses testing-common, not gre.  So we should replace gre with testing-common for mochitest.

MozReview-Commit-ID: BqsS2D3IGR6

--HG--
extra : rebase_source : a8553684f8f106c1dfb6e2d9b51df7ebeb15275d
2017-03-29 15:34:49 +09:00
Phil Ringnalda 7ac3bd5b7e Backed out 3 changesets (bug 1351074) for reftest harness and browser_all_files_referenced.js bustage
CLOSED TREE

Backed out changeset 941e0f9ff9a7 (bug 1351074)
Backed out changeset 4fdf3b87a70b (bug 1351074)
Backed out changeset 586428f69838 (bug 1351074)
2017-04-02 19:46:49 -07:00
Makoto Kato cd8761e0f4 Bug 1351074 - Part 2. Use testing-common for AsyncSpellCheckTestHelper.jsm. r=masayuki
TESTING_JS_MODULES uses testing-common, not gre.  So we should replace gre with testing-common for mochitest.

MozReview-Commit-ID: BqsS2D3IGR6

--HG--
extra : rebase_source : 2143fcdf33c428c82c6b2e00b542649b958aeccc
2017-03-29 15:34:49 +09:00
Alastor Wu dd5be9dee0 Bug 1346872 - part3 : add and modify test. r=Ehsan
Add new tests and move some share codes to head.js.

MozReview-Commit-ID: GcCio6JupZu

--HG--
extra : rebase_source : a9324aaebd89412d77bed19b0554e6cf2959b6e2
2017-03-30 14:27:45 +08:00
Ray Lin 5495fb2264 Bug 1350191 - Change keypress event propagation to capture to correctly preventDefault if control is focused. r=jaws
We could not avoid controls being focused after De-XUL, in order
to preventDefault before event propagate to focused control, we should
change the way of keypress event propagation in media controls.

MozReview-Commit-ID: 4KNPU4XlSDJ

--HG--
extra : rebase_source : 1146e18e3beebca8ae36a4de126c5c920aa5cdfd
2017-03-25 11:48:30 +08:00
Wes Kocher 6d0b00069c Merge inbound to central, a=merge
MozReview-Commit-ID: JGfQoBJy2jt
2017-03-24 17:17:27 -07:00
Carsten "Tomcat" Book 5f408d092d Merge mozilla-central to mozilla-inbound 2017-03-24 14:29:00 +01:00
Neil Deakin 3dcb70f17c Bug 1332839, make transition checking more robust in this test, r=felipe 2017-03-24 08:46:29 -04:00
Iris Hsiao 26a234de5d Backed out 6 changesets (bug 1347758) for eslint failure
Backed out changeset 9becd55242c1 (bug 1347758)
Backed out changeset 2abce19f5001 (bug 1347758)
Backed out changeset 80232d4c85d5 (bug 1347758)
Backed out changeset 1fd084ec34d4 (bug 1347758)
Backed out changeset cafb3c12027b (bug 1347758)
Backed out changeset 85846edfe957 (bug 1347758)
2017-03-24 16:58:08 +08:00
Alastor Wu af6a16068b Bug 1347758 - part6 : reorder tests according to alphabet order. r=Ehsan
The test cases should be ordered according to their alphabet order.

MozReview-Commit-ID: LmmyjcTf6Nd

--HG--
extra : rebase_source : 2a0d826cf06ae4ff16f2f8ed5fcb2012ba1dd0a6
2017-03-24 14:38:03 +08:00
Alastor Wu 9ba82fa281 Bug 1347758 - part5 : add tests. r=Ehsan
Add tests for non-in-tree media element, web-audio and plug-in.

MozReview-Commit-ID: 2BMzUHPjKWX

--HG--
extra : rebase_source : 1005cc83973fdbd33efb0146d9ff87d52659f090
2017-03-24 14:38:00 +08:00
Mats Palmgren 2feec4025d Bug 1333482 part 5 - [css-ui] Enable '-moz-appearance' support for some tests. r=dholbert
* * *
[mq]: sssssssss

MozReview-Commit-ID: 4wgnjld1rDt
2017-03-23 22:11:23 -07:00
Mats Palmgren 00b74113a3 Bug 1333482 part 4 - [css-ui] Amend all uses of '-moz-appearance:none' in tests to also specify 'appearance:none' (automated change). r=dholbert
MozReview-Commit-ID: BNOR5VRpV2E
2017-03-23 22:11:22 -07:00
Iris Hsiao 106889c6f6 Backed out 9 changesets (bug 1333482) for stylo test failures and this should be landed to autoland
Backed out changeset d8828e22dbaa (bug 1333482)
Backed out changeset a39aaecd10f7 (bug 1333482)
Backed out changeset c957d8c0281e (bug 1333482)
Backed out changeset d569fc566e43 (bug 1333482)
Backed out changeset 7e8c03090d34 (bug 1333482)
Backed out changeset c4511a175f2f (bug 1333482)
Backed out changeset 5483a82f7ce9 (bug 1333482)
Backed out changeset 4e7e5efb1bd8 (bug 1333482)
Backed out changeset 51d1accaeddb (bug 1333482)
2017-03-24 10:21:30 +08:00
Mats Palmgren 53c393f0ba Bug 1333482 part 5 - [css-ui] Enable '-moz-appearance' support for some tests. r=dholbert
* * *
[mq]: sssssssss

MozReview-Commit-ID: 4wgnjld1rDt
2017-03-23 23:13:18 +01:00
Mats Palmgren c0c0e154ea Bug 1333482 part 4 - [css-ui] Amend all uses of '-moz-appearance:none' in tests to also specify 'appearance:none' (automated change). r=dholbert
MozReview-Commit-ID: BNOR5VRpV2E
2017-03-23 23:13:18 +01:00
Jared Wein a54eda04ca Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx

--HG--
extra : rebase_source : 61d2aa91bf9474af3d72a5dea41b25dca442c1b7
2017-03-21 14:29:43 -04:00
Mark Banner bd625e4e9f Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6

--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Ray Lin 6658469733 Bug 1347673 - Visibility state of extra video control buttons should be recalculated each time the video controls are adjusted. r=jaws
MozReview-Commit-ID: Lj7kttJ9skU

--HG--
extra : rebase_source : 36c34c64c344b163f09290e656f24f0dd5cb75a0
2017-03-16 18:19:56 +08:00
Jim Porter 5e6b22bdde Bug 1346671 - Enable the no-useless-concat eslint rule in toolkit/ r=jaws
MozReview-Commit-ID: 1a422BiLEhK

--HG--
extra : rebase_source : a83b8d753e2a48593904ef0755d5517908588b93
2017-03-13 17:34:24 -05:00
Blake Kaplan 7afdcb473a Bug 1346286 - Remove CPOWs from browser_findbar.js. r=Felipe
MozReview-Commit-ID: ASJgY0cKnHq

--HG--
extra : rebase_source : bfa01fc4f88c96085b646f8ac624eb3a9d7c0623
2016-11-11 14:21:55 -08:00
Alastor Wu 9f41f0ae0c Bug 1347758 - part6 : reorder tests according to alphabet order. r=Ehsan
The test cases should be ordered according to their alphabet order.

MozReview-Commit-ID: LmmyjcTf6Nd

--HG--
extra : rebase_source : e93da9fd41f312c6ce2bc59698597286e6dfc088
2017-03-24 17:35:07 +08:00
Alastor Wu ea2fce300c Bug 1347758 - part5 : add tests. r=Ehsan
Add tests for non-in-tree media element, web-audio and plug-in.

MozReview-Commit-ID: 2BMzUHPjKWX

--HG--
extra : rebase_source : 93c836edb04dbb5cb8cb487e1d5face6ddefdd42
2017-03-24 17:35:01 +08:00
Michael Layzell 45e778c301 Bug 1179542 - Wait for the page to load before checking menu status, r=ehsan
MozReview-Commit-ID: 7wHbkAC8eCI
2017-03-13 18:56:57 -04:00
Florian Quèze 9d62681259 Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Alastor Wu 83676d3368 Bug 1343465 - part3 : move support files to the default area. r=baku
MozReview-Commit-ID: CNFUwjxpTbm

--HG--
extra : rebase_source : 3a68e7d83f0ce229dac5843db6d2f108698fc98a
2017-03-04 16:56:49 +08:00
Alastor Wu 762c323d94 Bug 1343465 - part2 : add test. r=baku
MozReview-Commit-ID: HypzfD053xW

--HG--
extra : rebase_source : a3dcb77937d9cc7554c083e8961e835f6574cf7c
2017-03-04 16:52:21 +08:00
Wes Kocher 1b29a33fce Merge m-c to autoland, a=merge
MozReview-Commit-ID: K0Q4b2wzvlJ
2017-03-03 17:29:54 -08:00
Andrea Marchesini 4d21d3a57a Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs 2017-03-03 09:42:54 +01:00
Alastor Wu 56a2f70418 Bug 1338137 - part3 : add test. r=baku
MozReview-Commit-ID: 7lpvIp5IOqV

--HG--
extra : rebase_source : b919e2e77fe21fa50e2e84bc2f4a98b79babd6b7
2017-03-04 01:16:40 +08:00
Alastor Wu c7fb5e7910 Bug 1341062 - part2 : remove duplicated codes. r=baku
MozReview-Commit-ID: C6N1itQAVcF

--HG--
extra : rebase_source : a0f1d679d3662736bbac12f19d13891ce2e5a6e5
2017-03-02 17:38:56 +08:00
Alastor Wu 22ff369556 Bug 1341062 - part1 : wait for audioplayback event to ensure the media element has been resumed. r=baku
Block-stop should be dispatched before audio-playback, so we can check block
event first. Also add "loop" attribute for video to avoid getting the wrong
pause state.

MozReview-Commit-ID: 3WHuJGsZCPn

--HG--
extra : rebase_source : 75147657a727bf34aacf9feb1674ccf29142a0eb
2017-03-02 17:38:53 +08:00
Mike de Boer 15ef9bead3 Bug 1333270 - disable remote browser testing in test_bug263683.xul due to frequent intermittent failures. r=Gijs,jaws
MozReview-Commit-ID: GNkjXjhO1zh

--HG--
extra : rebase_source : 3a317f98569438c96fedbe7c95361c4385cef7fe
2017-03-01 13:50:13 +01:00
Masatoshi Kimura adb41d884b Bug 1342144 - Fix ESLint errors in toolkit/. r=Yoric
MozReview-Commit-ID: 9sp2uMryv8U

--HG--
extra : rebase_source : 750a58b1d258a7112d3def04940ad3e610b19747
2017-02-24 22:02:11 +09:00
Masatoshi Kimura 7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Mark Banner a656cedb11 Bug 1341029 - Turn on the ESLint no-undef rule for all of toolkit/. r=jaws
MozReview-Commit-ID: Ed9FfkskDos

--HG--
extra : rebase_source : 6ae47dc76b3ebe77b66725a899d32e728af5d35e
2017-02-20 11:45:58 +00:00
Alastor Wu 9e3e9f85fa Bug 1339230 - part3 : add test. r=baku
MozReview-Commit-ID: FzcEwErGad3

--HG--
extra : rebase_source : 6b1dac545b5ee9f68d0df68347ff21003c8dad5a
2017-02-24 17:17:09 +08:00
Alastor Wu c268fbdbaf Bug 1192818 - part1 : dispatch DOMAudioPlaybackStopped when mute the tab. r=baku
The root cause of the intermittent fail is because "DOMAudioPlaybackStopped" has no directly relationship with browser.mute()/unmute().

In [1], the "DOMAudioPlaybackStopped" is caused by audio stop playing, not by calling the browser.mute(). If the audio stops playing before calling the wait_for_event(), the test would be time-out. I guess the bug 1302280 is also caused by same reason.

So this patch would do two thinngs,
1. dispatch "DOMAudioPlaybackStopped" when we mute tab
2. loop the audio in test file, to make sure the "DOMAudioPlaybackStopped" is
   dispatched when muting the audio, not the file ended.
[1] https://goo.gl/ymUv8P

MozReview-Commit-ID: 5RnyBRE73lQ

--HG--
extra : rebase_source : 40ad97cbf84da6f5d013d832cb12e3ed88473dfd
2017-02-23 14:15:45 +08:00
Sebastian Hengst 2fc30f09d3 Backed out changeset 38fa2ec33fa4 (bug 1192818) for frequently failing test_noAudioNotificationOnVolume0Element.html on Android 4.3 debug. r=backout 2017-02-21 19:30:26 +01:00
Alastor Wu c5d7911229 Bug 1192818 - part1 : dispatch DOMAudioPlaybackStopped when mute the tab. r=baku
The root cause of the intermittent fail is because "DOMAudioPlaybackStopped" has no directly relationship with browser.mute()/unmute().

In [1], the "DOMAudioPlaybackStopped" is caused by audio stop playing, not by calling the browser.mute(). If the audio stops playing before calling the wait_for_event(), the test would be time-out. I guess the bug 1302280 is also caused by same reason.

So this patch would do two thinngs,
1. dispatch "DOMAudioPlaybackStopped" when we mute tab
2. loop the audio in test file, to make sure the "DOMAudioPlaybackStopped" is
   dispatched when muting the audio, not the file ended.
[1] https://goo.gl/ymUv8P

MozReview-Commit-ID: 703JHj9dICT

--HG--
extra : rebase_source : ad2985bd14d6a9b91a73c0d4103aa51c4981124c
2017-02-21 18:41:09 +08:00
Ray Lin 7506c4daa4 Bug 1333008 - Don't toggle play or pause when button is focused. r=jaws
MozReview-Commit-ID: 2tyQUOOMQgH

--HG--
extra : rebase_source : 28057a03f67f6a0714b90215f142d2692185afa4
2017-02-16 14:19:32 +08:00
Carsten "Tomcat" Book 2b24bba0a1 Merge mozilla-central to autoland 2017-02-17 13:28:16 +01:00
Mike de Boer 5dd5d5c81d Bug 1333270 - wait until we find a word before we yield/ await the toggle highlight promise to avoid timing issues when switching to a remote browser element. r=jaws
MozReview-Commit-ID: F0kq7oYm8WS

--HG--
extra : rebase_source : b98c39c57180ccdaab5a6d1c519973fd34dab2be
2017-02-16 18:55:40 +01:00
Mark Banner 733f0b7c97 Bug 1338195 - Define a `frame-script` environment for eslint and use it to clear no-undef issues for known frame script globals. r=mossop
MozReview-Commit-ID: Fcin4InbLK2

--HG--
extra : rebase_source : f94dbb2e5af83bb4d32c51a55702e6f58cc25323
2017-02-07 10:52:06 +00:00
Phil Ringnalda 4ef229a0ed Backed out changeset b834e9088133 (bug 1330144) for timeouts in test_dialogfocus.xul 2017-02-16 07:33:53 -08:00
Neil Deakin af174032a4 Bug 1109868, panels should watch their anchors for position and visibility changes and update accordingly, r=tn 2017-02-16 08:53:59 -05:00
Neil Deakin e553c554fc Bug 1330144, don't focus 'noinitialfocus' elements at all in dialogs, r=gijs 2017-02-16 08:53:58 -05:00
Florian Quèze 535b5bcde6 Bug 1338585 - Add an eslint rule to require using .ownerGlobal instead of .ownerDocument.defaultView, r=jaws. 2017-02-13 13:01:32 +01:00
Mike de Boer 04026a0202 Bug 1261233 - prevent test_bug331215.xul from intermittently timing out. r=Gijs
MozReview-Commit-ID: 4dvWUdNTBOx

--HG--
extra : rebase_source : 1a8c4aeecb8d64add18a50a13c2ba6bc082b2f10
2017-02-11 00:08:15 +01:00
Mike de Boer e0827c5685 Bug 1333270 - fix frequently failing test_bug263683.xul by reordering the sequence of events on a fresh document. r=jaws
MozReview-Commit-ID: 85CnDZ6ltSB

--HG--
extra : rebase_source : f01442f962957c0832742a9d7844f0bdec467710
2017-02-08 17:16:55 +01:00
Ray Lin 3ea8b4e339 Bug 1328060 - re-adjust controls when get metadata of video duration. r=jaws
MozReview-Commit-ID: AKY5Umg08P6

--HG--
extra : rebase_source : c853f769839e5b02a21902eda32b59f79433fa58
2017-02-06 10:22:37 +08:00
Alastor Wu 1ebae0840f Bug 1328058 - part4 : add tests. r=baku
MozReview-Commit-ID: 2Gjh0dBHroI

--HG--
extra : rebase_source : 8c2da93f52695a752f8c12cd6a79a14bb3964936
2017-02-04 15:05:34 +08:00
Phil Ringnalda abe2443efb Merge m-c to m-i 2017-02-02 21:26:26 -08:00
Ray Lin 33af36eb06 Bug 1332994 - highlight current enabled CC item when video first loaded. r=jaws
MozReview-Commit-ID: HEpp5Ztp5cB

--HG--
extra : rebase_source : 2ff5dbc9c6435aee411abb9be797e64e006bf7ae
2017-01-23 15:46:42 +08:00
Jonathan Kew 2e0c0497f2 Bug 1312049 - Switch nsChromeRegistry::GetDirectionForLocale to use uloc_isRightToLeft instead of a list of known-rtl locales, and replace the now-obsolete intl.uidirection.* prefs with a single override intl.uidirection for testing purposes. r=gandalf 2017-02-02 22:12:50 +00:00
Boris Zbarsky 35e52eaec1 Bug 1334865 part 1. Remove the obsolete fennec-tile-testapp bits. r=bsmedberg 2017-02-01 18:04:05 -05:00
Florian Quèze bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Wes Kocher 7cd28f7e5d Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Gijs Kruitbosch 8faf5c08a8 Bug 1333164 - fix invalid references to mochitest stylesheet, r=erahm
MozReview-Commit-ID: 1Xxt72jYdm7

--HG--
extra : rebase_source : 15d854ffd6a142687fe5232149a0e370f1c058c2
2017-01-24 14:24:04 +00:00
Geoff Brown 04be1b37fe Bug 1141245 - Skip test_tooltip.xul on windows, for frequent failures; r=me 2017-01-26 15:16:09 -07:00
Neil Deakin b4e25b502a Bug 1332708, open start dragging on a menuitem when dropdown is open, r=mconley 2017-01-26 05:43:30 -05:00
Florian Quèze b11907c7aa Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Florian Quèze be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Florian Quèze 0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Alastor Wu 3fe21cfdba Bug 1322505 - part3 : add test. r=baku,jaws
MozReview-Commit-ID: 2YnWEO98M2e

--HG--
extra : rebase_source : 757ce29a8049d5b800530f331f09f57bf32e14c9
2017-01-23 14:46:28 +08:00
Mike Conley 037a3e2be9 Bug 1301575 - Make browser_crash_previous_frameloader.js more reliable by removing a race. r=mossop
MozReview-Commit-ID: E87jEJg86pf

--HG--
extra : rebase_source : 38adbce0b5dc51466c6a12201681f3dcb3f247c0
2017-01-19 14:57:21 -05:00
Phil Ringnalda f10b4dc62e Backed out 4 changesets (bug 1322505) for frequent timeouts in browser_block_autoplay_media_pausedAfterPlay.js
Backed out changeset dad8acbe41e9 (bug 1322505)
Backed out changeset 861f01ee0e6e (bug 1322505)
Backed out changeset ddf90342d71d (bug 1322505)
Backed out changeset 049ab1a92da6 (bug 1322505)
2017-01-19 21:57:46 -08:00
Phil Ringnalda 49d7c91a62 Bug 1322505 followup, delint
--HG--
extra : rebase_source : 3856945327b76aad65a8de9cf990a90be88b4bbc
2017-01-19 19:53:47 -08:00
Alastor Wu 32b11ac77b Bug 1322505 - part3 : add test. r=baku,jaws
MozReview-Commit-ID: 2YnWEO98M2e

--HG--
extra : rebase_source : c4c170025d991103897c3f01846e9fa42cfff6d8
2017-01-20 11:30:25 +08:00
Wes Kocher 336f27142f Merge m-c to autoland, a=merge
MozReview-Commit-ID: 3pEpsd3DljH
2017-01-19 16:47:25 -08:00
Neil Deakin fa8292ec1f Bug 1327908, on Windows, don't hide tooltips when a key is pressed. On other platforms, allow hiding tooltips when a key is pressed except when modifier keys are pressed alone, r=felipe 2017-01-19 13:57:11 -05:00
Mark Banner 16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Neil Deakin 68b0311309 Bug 1321472, test for drag scrolling in a menulist, r=mconley 2017-01-19 10:04:26 -05:00
Neil Deakin 91871ff7dd Bug 1321472, when the capturing content is inside a popup, use the popup as the root frame when searching for a mouse target rather than the root frame, otherwise the capturing content's frame won't be found, r=smaug 2017-01-19 10:04:04 -05:00
Gijs Kruitbosch 4b62af8a94 Bug 1285176 - fix intermittent test_mousecapture.xhtml by removing a check whose success we can't guarantee, r=kats
MozReview-Commit-ID: KzuOs4e9mCe

--HG--
extra : rebase_source : 2b19ff9a9a3b9bc60c5df87068c06526584b3bfc
2017-01-18 16:10:49 +00:00
Jared Wein 5e37a69783 Bug 1331661 - Manually fix the remaining 'quotes' errors for eslint. r=Gijs
MozReview-Commit-ID: 7iXjQtp9ftV

--HG--
extra : rebase_source : 281bc81a05c3f7105918c1eac5141915851cfbe9
2017-01-17 10:38:58 -06:00
Jared Wein 43bac26d30 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a

--HG--
extra : rebase_source : 014c0b04d8538dc5f15bc6dd4ed6bd220c55c5d4
2017-01-17 09:48:17 -06:00
Ryan VanderMeulen 78cc07597f Merge m-c to autoland. a=merge 2017-01-17 11:32:39 -05:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Mark Banner 8be1b0f008 Bug 1331006 - [eslint] Define more globals, and add a rule to import test globals from SimpleTest/EventUtils. r=mossop
MozReview-Commit-ID: 5ifWLAa8wG2

--HG--
extra : rebase_source : a5698cb08548a547faf9a9379cacaca428b67c00
2017-01-12 10:24:10 +00:00