Commit Graph

67 Commits

Author SHA1 Message Date
Alexandre Lissy
944a871aef Bug 1144080 - Disable mochitests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Tooru Fujisawa
8eab6f064e 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
Neil Deakin
0bcc8692e2 Bug 942411, change the frame height to force a reflow and renable the test on Linux to see if it helps, r=smaug 2015-03-17 08:05:07 -04:00
Nikhil Marathe
3ffd94ea37 Bug 739173 - Support FormData in workers. r=khuey,baku 2015-01-27 15:16:21 -08:00
Nikhil Marathe
6c963623ba Bug 1127150 - Use File's name instead of explicit file name in form submission related classes. r=baku
Our nsFormSubmission and subclasses accepted a third filename argument to
explicitly specify the filename. Since switching from nsIDOMBlob to File in Bug
1085283, we can read out the filename directly from the File. This simplifies
the code, but introduces a change in the way Firefox submits form data to
servers.

Consider the code:
var fd = new FormData();
fd.append("blob1", new Blob(["hi"]), ""); // explicit empty filename as third arg
fd.append("file1", new File(["hi"], "")); // File's name is empty, no third arg.
xhr.send(fd);

Previously, the request body had filename="" in the first case, and filename="blob" in the second.
This patch will change it to both cases result in filename=""

This behaviour isn't exactly specced anywhere, nor in the HTML spec [1], nor in
RFC 2388. In addition Blink (at least Chromium v40) has the same behaviour
introduced by this patch. So shipping it seems ok to me.

[1]: http://www.w3.org/html/wg/drafts/html/master/semantics.html#multipart/form-data-encoding-algorithm
2015-02-21 11:54:44 -08:00
Jonathan Griffin
84011a87cc Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Tooru Fujisawa
80219bece3 Bug 949971 - Set longer timeout for test_input_typing_sanitization.html. r=RyanVM 2015-03-05 15:29:59 +09:00
Dave Townsend
5d1cec2db6 Bug 1139099: Dispatch DOMDocElementInserted to match the document-element-inserted observer notification. r=mrbkap 2015-03-03 14:07:08 -08:00
Tooru Fujisawa
2adc4406e1 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
Nikhil Marathe
a9d8abf718 Bug 1085283 - Patch 1 Implement FormData manipulation methods. r=baku 2015-01-28 17:04:28 -08:00
Ryan VanderMeulen
9daa78da76 Backed out 2 changesets (bug 1127150, bug 1085283) for w-p-t failures.
Backed out changeset cc77a5165615 (bug 1127150)
Backed out changeset ef51eb31fa09 (bug 1085283)
2015-02-21 15:47:04 -05:00
Nikhil Marathe
e391971454 Bug 1127150 - Fix FormData File filename. r=baku
--HG--
extra : amend_source : 14536665b8b324224005d10b00814bfaefac039c
extra : transplant_source : %3C%F5%C7%A6%18%DE%A4%B4%5E%8E%FB%D7%96%BC/%CA%BD%85%E7u
2015-02-21 11:54:44 -08:00
Nikhil Marathe
5c0c2ce8ec Bug 1085283 - Patch 1 Implement FormData manipulation methods. r=baku
--HG--
extra : rebase_source : 203ff081d07fc8e25b2d49d0923799aca0c53ab4
2015-01-28 17:04:28 -08:00
Anish
48094b2951 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
b6ef20bdf0 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
bbc6a8a249 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
f1fce37659 Bug 1119609 part.14 Reimplement/redesign EventUtils.synthesizeKey() with nsITextInputProcessor r=smaug 2015-02-19 15:50:20 +09:00
Josh Matthews
decb185148 Bug 1017875 and 1018389 - Update WPT expectations. 2015-02-17 10:21:16 -05:00
Tom Schuster
2bdd60f4ae Bug 1124935 - Remove LookupProperty from JS_GetPropertyDescriptor. r=efaust,bz 2015-02-06 15:43:20 +01:00
Ryan VanderMeulen
ebe6b0c0e7 Backed out 4 changesets (bug 671389) for frequent B2G debug test_tcpsocket_client_and_server_basics.html crashes.
Backed out changeset b782435e5640 (bug 671389)
Backed out changeset 0f8d62109bfe (bug 671389)
Backed out changeset 8d6021f66c49 (bug 671389)
Backed out changeset cd3e227df9dc (bug 671389)
2015-02-05 16:48:18 -05:00
Deian Stefan
afb53f48c2 Bug 671389 - Part 2: Export document sandbox flags to chrome JS r=smaug 2015-02-03 23:45:00 +01:00
Boris Zbarsky
53a4ecafeb Bug 608261. Set img.complete to false while the image has a pending request. r=sicking 2015-02-04 21:05:17 -05:00
Bill McCloskey
f213a3d144 Bug 1126245 - Add test (r=bent) 2015-02-03 09:20:50 -08:00
Boris Zbarsky
9543d3cbda 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
7e9cd48b82 Backed out changeset 714ddf32db74 (bug 1128153) for mochitest failures. 2015-02-02 16:56:47 -05:00
Boris Zbarsky
ffef93e3cf 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
0c90310724 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
0a7cc8e4cf 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
Ehsan Akhgari
05c25dce64 Bug 1108547 - Part 3: Automated tests; r=jdm 2015-01-27 23:17:38 -05:00
Tooru Fujisawa
1a673bc891 Bug 1069416 - Part 7: Remove JS_HAS_SYMBOLS from dom. r=smaug 2015-01-28 13:06:38 +09:00
Jed Davis
45f8681fa5 Bug 1068838 - Fix file input element tests to open files in the parent process. r=sicking
The dom/base tests changed here use SpecialPowers.loadChromeScript to
construct a DOM File in the parent and send it to the child, using the
existing remote-blob infrastructure.  The dom/html tests don't need a
real file, so they now construct in-memory files.

As a convenient side-effect, these tests are now enabled for desktop
e10s (they were already being run out-of-process on B2G); most of them
failed before this change due to the code that's being moved/removed.
2015-01-26 16:23:00 -08:00
Ryan VanderMeulen
47c38f9c85 Backed out changesets 180e7905987e, 91101cbcc319, and 211567afcc5f (bug 1108547) for timeouts in the new test.
CLOSED TREE
2015-01-26 15:00:03 -05:00
Ehsan Akhgari
9129a68c87 Bug 1108547 - Part 3: Automated tests; r=jdm 2015-01-26 14:06:35 -05:00
Xidorn Quan
5a2f9d2edd Bug 910532 part 3 - Mochitest for canceling context menu in fullscreen via Esc. r=smaug
--HG--
extra : source : 5c85f40de2286e527c5856a39bd88387c3a5995e
2015-01-21 12:16:04 +11:00
Tooru Fujisawa
b8a0cc4e4e 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
Phil Ringnalda
46f9b67afb Bug 639705 - update test_fullscreen-api.html hacks to cover OS X 10.10 too
--HG--
extra : rebase_source : c558c2d257909dbf5f33b2dd453016a401d51153
2015-01-14 22:30:04 -08:00
Valentin Gosu
a8e4dbcf0d Bug 1093611 - Add/modify tests making sure Link,URL,nsLocation::GetHash don't unescape characters r=smaug 2014-11-12 05:59:24 +02:00
Tom Schuster
6714d35a4b Bug 1110759 - Remove Iterator() from some tests. r=smaug 2015-01-08 19:58:45 +01:00
Vladimir Vukicevic
1cf5b452b7 Bug 1117579; fullscreen broken on freeciv (throws with bogus requestFullScreen options); r=bz 2015-01-05 14:49:04 -05:00
Arnaud Bienner
3a8a1d2d33 Bug 826176 - Part 2 - Remove similar file picker filters from accept attribute. r=smaug 2014-12-19 00:30:11 +01:00
Arnaud Bienner
f2e759905d Bug 826176 - Part 1 - File extension support for accept attribute. r=smaug 2014-11-29 12:22:30 +01:00
Ehsan Akhgari
66bb1f3602 Bug 1111628 - White-list the non-zero timeout usage in file_fullscreen-utils.js; r=cpearce 2014-12-21 00:13:56 -05:00
Gabor Krizsanits
0781df2733 Bug 1081037 - LinkConstructorAndPrototype in RegisterElement. r=wchen 2014-12-15 11:28:54 +01:00
Ehsan Akhgari
309b4049b4 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
Carsten "Tomcat" Book
4aad711842 Backed out changeset 5d3fe12c63ed (bug 1081037) for Gu Test Failures 2014-12-11 15:26:20 +01:00
Gabor Krizsanits
46faa24b07 Bug 1106713 - fixing up CSP checks for imports. r=mrbkap 2014-12-11 13:18:10 +01:00
Gabor Krizsanits
94fee331b5 Bug 1081037 - LinkConstructorAndPrototype in RegisterElement. r=wchen 2014-12-11 13:02:08 +01:00
Giovanni Sferro
8f2d0cf2db 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
0a803d9447 Bug 582297 - Make <keygen> work in e10s. r=billm/dkeeler 2014-11-26 14:28:28 -08:00
Carsten "Tomcat" Book
577e76adb1 Backed out changeset 17d1b075e274 (bug 1093611) 2014-11-26 15:08:36 +01:00