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

55 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 49a90cb122 Bug 1268852. Change <label> elements to not be form-associated anymore. r=bkelly,hsivonen,surkov
The web platform tests changes are just a cherrypick of
https://github.com/w3c/web-platform-tests/pull/2926 so I don't have to add
failure annotations until the next test uplift.

I've audited our uses of nsIFormControl, and this patch looks to me like it
preserves existing behavior in all but the following cases:

1)  nsXBLPrototypeHandler::DispatchXBLCommand, the case of scrolling when space
is pressed while something inside a <label> is focused.  We used to not scroll
in this situation; I think this is a bug, so I'm changing that behavior to
scroll instead.

2)  In Accessible::RelationByType for the RelationType::DEFAULT_BUTTON case,
when mContent is a <label> we used to return its form's default submit element.
Now we will just return Relation().
2016-05-26 19:39:03 -04:00
Mats Palmgren df2b4d3bdd Bug 1272012 - Tweak or disable a few tests for <select size=1> Up/Down key behavior on OSX. 2016-05-25 21:52:36 +02:00
Sebastian Hengst 1ebe7c3c5e Backed out changeset 5e25db36b720 (bug 1272012) 2016-05-25 18:19:43 +02:00
Mats Palmgren b8472acaf5 Bug 1272012 - Tweak or disable a few tests for <select size=1> Up/Down key behavior on OSX. 2016-05-25 10:48:52 +02:00
Jessica Jong 524ca57c7e Bug 1268556 - clicking padding area of 'number' input should not blur. r=smaug 2016-05-23 23:27:00 +02:00
John Dai 942872afd3 Bug 1088761 - Update web-platform tests for reportValidity(). r=smaug
From eb8351d4f84cb69cff2bc431539158ad046d51ee Mon Sep 17 00:00:00 2001

--HG--
extra : rebase_source : fabca273682343ee6ca0e4061852c92065cbb89e
2016-04-15 16:12:46 +08:00
Jessica Jong eb72222ba6 Bug 1265968 - fire change event after selected item is changed in dropdown. r=smaug 2016-05-17 12:50:50 -07:00
Sebastian Hengst 64bc0da725 Backed out changeset f757f585e618 (bug 1088761) 2016-05-12 13:19:08 +02:00
John Dai 4971a1fd72 Bug 1088761 - Update web-platform tests for reportValidity(). r=smaug
--HG--
extra : rebase_source : 027f8d8e7aa2ebbec5561dd83149b19c16814665
2016-05-11 04:26:00 +02:00
Jessica Jong 9066685a11 Bug 1206616 - Part 1: Fire input event for type=checkbox,radio,file. r=smaug 2016-04-25 19:52:00 +02:00
Chris Manchester f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Geoff Brown 29977660c0 Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher 2016-03-17 10:00:48 -06:00
Deepthi Venkitaramanan 008e6b8991 Bug 1244328 - Merge the functionality of DOMSettableTokenList into DOMTokenList and make everything that used to refer to DOMSettableTokenList refer to DOMTokenList instead. r=bzbarsky 2016-02-11 17:50:42 -05:00
Jonathan Kew 84405c9d27 Bug 1221976 - Use -moz-appearance:none on textarea and input elements in mochitest test_input_textarea_set_value_no_scroll.html to work around unreliable Gtk3 themed-widget rendering. r=dholbert 2016-01-19 10:29:50 +00:00
Tooru Fujisawa 7eba37723f Bug 1227906 - Use unicode flag in pattern attribute. r=jst 2016-01-16 13:24:48 +09:00
Gregor Wagner 96837db759 Bug 1222478 - Enable more mulet tests. r=gerard-majax 2015-11-06 20:01:45 +01:00
Jonathan Watt 38abda8b15 Bug 1099103 - Prevent numbers input using a grouping separator from being mis-processed as if the separator was a decimal separator. r=dholbert
--HG--
extra : rebase_source : ae7f771134638e9d3988750de98a9e0a0374697a
2015-09-17 22:17:35 +01:00
Wes Kocher 18eb6f5805 Backed out changeset f7cbf3aa76fc (bug 1099103) for test_input_number_l10n.html failures 2015-09-21 17:37:29 -07:00
Jonathan Watt f5f105b74f Bug 1099103 - Prevent numbers input using a grouping separator from being mis-processed as if the separator was a decimal separator. r=dholbert 2015-08-25 00:00:07 +01:00
Ryan VanderMeulen de604630c2 Bug 1200607 - Request a longer timeout on tests that are now timing out as the first tests in the chunk.
CLOSED TREE
2015-09-01 13:35:58 -04:00
Arnaud Bienner 5bf0f0bca6 Bug 1155154 - Part 3 - Ignore file extension filters with characters that can be interpreted by the file picker. r=smaug
--HG--
extra : rebase_source : 3dfeafb7628689931ac54f00792c683670524d1f
2015-07-17 01:20:01 +02:00
Arnaud Bienner 5c2e081b9c Bug 1155154 - Part 1 - Fix the check for duplicate filters when one filter is a subtring of another one. r=smaug
--HG--
extra : rebase_source : 76af94ccf36e23ccfbd6cb561da3019248591cba
2015-07-20 23:07:59 +02:00
Tooru Fujisawa c3a2c2708e Bug 1167816 - Do not treat anchor element without href attribute an interactive content. r=smaug 2015-05-29 18:23:08 +09:00
Ehsan Akhgari 1a03395848 Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
Tooru Fujisawa 0edbeb71c8 Bug 1102219 - Part 5: Replace more `String.prototype.contains` with `String.prototype.includes` in chrome code. r=till 2015-04-30 00:32:05 +09:00
Ms2ger f1fc41b0e5 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Jed Davis 5f05e21de0 Bug 1143934 - Fix assorted forms mochitests for e10s-compatibility. r=smaug
The bug 143220 test no longer attempts to read the chrome value property
from the input elements, because that would use PBlob::GetFilePath which
isn't allowed on B2G, and those checks aren't really necessary anymore.
2015-03-31 20:33:00 -04:00
Geoff Brown 53daff6584 Bug 1140148 - Update mochitest manifests for Android 4.3 emulator; r=dminor 2015-03-26 20:35:35 -06:00
Tooru Fujisawa e44e20c93d Bug 1144322 - Handle tabindex in overridden IsInteractiveHTMLContent methods. r=smaug 2015-03-23 18:02:33 +09:00
Tooru Fujisawa de4b4e39c8 Bug 1141455 - Do not treat an element with tabindex as an interactive content in label. r=smaug 2015-03-18 05:42:14 +09:00
Jonathan Griffin d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Tooru Fujisawa 4874873409 Bug 949971 - Set longer timeout for test_input_typing_sanitization.html. r=RyanVM 2015-03-05 15:29:59 +09:00
Tooru Fujisawa b0d7ebd80f Bug 1108382 - Part 6: Do not use non-standard flag argument of String.prototype.replace in dom/. r=peterv 2015-03-01 09:51:33 +09:00
Anish 45de248a8b Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book c0d53e2918 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish e7006d8a59 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Masayuki Nakano 019965a1f6 Bug 1119609 part.14 Reimplement/redesign EventUtils.synthesizeKey() with nsITextInputProcessor r=smaug 2015-02-19 15:50:20 +09:00
Boris Zbarsky ff09f6fedb Bug 1128153. When a number input contains a non-number (possibly empty) value, the validation message should be about the value not being a number, not about there being no value. r=jwatt 2015-02-02 15:42:40 -05:00
Ryan VanderMeulen 661f1f36a2 Backed out changeset 714ddf32db74 (bug 1128153) for mochitest failures. 2015-02-02 16:56:47 -05:00
Boris Zbarsky 472aa76c40 Bug 1128153. When a number input contains a non-number (possibly empty) value, the validation message should be about the value not being a number, not about there being no value. r=jwatt 2015-02-02 15:42:40 -05:00
Jonathan Watt 930c032cf0 Bug 1064430, part 3 - Update <input type=email> validity tests to check both typeMismatch and badInput. r=smaug 2015-01-28 23:01:41 +00:00
Jonathan Watt d6c594fbfd Bug 1064430, pat 2 - Don't set the 'badInput' state on <input type=email> for punycode encoding failures. r=bz 2015-01-28 23:01:37 +00:00
Tooru Fujisawa 64b2cf34d6 Bug 229925 - Do not dispatch event to label target if interactive content is found between the event target and the label. r=smaug 2015-01-21 05:39:28 +09:00
Tom Schuster 286dcbbfc3 Bug 1110759 - Remove Iterator() from some tests. r=smaug 2015-01-08 19:58:45 +01:00
Arnaud Bienner 35a2e13528 Bug 826176 - Part 2 - Remove similar file picker filters from accept attribute. r=smaug 2014-12-19 00:30:11 +01:00
Arnaud Bienner 1329907ab6 Bug 826176 - Part 1 - File extension support for accept attribute. r=smaug 2014-11-29 12:22:30 +01:00
Ehsan Akhgari 09a262787c Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Giovanni Sferro 95cb83384e Bug 1100535 - Do not assume that the radio required status changed when the attribute changes. r=smaug
--HG--
extra : rebase_source : 5f6b36ba8a05507638d5ab4513864a308fa939c7
2014-11-27 17:40:00 -08:00
Blake Kaplan e4c077f303 Bug 582297 - Make <keygen> work in e10s. r=billm/dkeeler 2014-11-26 14:28:28 -08:00
Giovanni Sferro 3fb0d472d4 Bug 1028712 - Add tests to check that when <input type=number> is stepped it isn't put into range overflow/underflow, even when its value is empty and min/max is above/below zero respectively. r=jwatt 2014-11-26 09:54:35 +00:00