Commit Graph

82 Commits

Author SHA1 Message Date
Josh Matthews
0421d6431e Bug 1163911 - Disable test_viewport_resize.html pending further investigation. CLOSED TREE 2015-05-19 13:33:54 -04:00
Ehsan Akhgari
fa0a409d85 Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
Josh Matthews
2edbe8fcca Bug 1135812 - Make picture element react to viewport changes. r=dbaron,johns 2015-05-11 18:07:49 -04:00
Tooru Fujisawa
ade74d278c 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
Bob Owen
54d6139db9 Bug 1156059 Part 2: Ensure that META REFRESH is blocked by iframe sandbox. r=bz 2015-04-29 07:28:17 +01:00
Valentin Gosu
bc4ddb96ea Bug 1149913 - Disable bug 1093611. Set pref dom.url.encode_decode_hash to true r=honzab 2015-04-16 05:25:10 +03:00
Geoff Brown
c1fd985224 Bug 1133833 - Disable a few tests on Android 4.3 for intermittent failures; r=trivial 2015-04-14 21:05:40 -06:00
Ms2ger
2aad41dbe8 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
eb3171f572 Bug 1149395 - Improve test case for mozSetFileArray recompartmenting. r=mrbkap
CLOSED TREE
2015-03-31 16:14:00 -04:00
Jed Davis
b4659fa150 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
Jed Davis
6187011b84 Bug 1146116 - Clone File objects passed to mozSetFileArray into receiver's global. r=sicking 2015-03-27 08:41:00 -04:00
Geoff Brown
0003177c6f Bug 1140148 - Update mochitest manifests for Android 4.3 emulator; r=dminor 2015-03-26 20:35:35 -06:00
Wes Kocher
e62ecec712 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-23 16:47:58 -07:00
Ryan VanderMeulen
1180ad9aa1 Bug 942411 - Re-enable test_ignoreuserfocus.html on B2G. 2015-03-23 14:33:46 -04:00
Alexandre Lissy
5170c04fa0 Bug 1144080 - Disable mochitests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Tooru Fujisawa
f54337e8a4 Bug 1144322 - Handle tabindex in overridden IsInteractiveHTMLContent methods. r=smaug 2015-03-23 18:02:33 +09:00
Tooru Fujisawa
7a4feaee85 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
34456feb74 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
c92762ab99 Bug 739173 - Support FormData in workers. r=khuey,baku 2015-01-27 15:16:21 -08:00
Nikhil Marathe
c33901143a 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
8873726f67 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Tooru Fujisawa
6333f22c33 Bug 949971 - Set longer timeout for test_input_typing_sanitization.html. r=RyanVM 2015-03-05 15:29:59 +09:00
Dave Townsend
efdfdc16a6 Bug 1139099: Dispatch DOMDocElementInserted to match the document-element-inserted observer notification. r=mrbkap 2015-03-03 14:07:08 -08:00
Tooru Fujisawa
ea796feb69 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
3388f6d5a9 Bug 1085283 - Patch 1 Implement FormData manipulation methods. r=baku 2015-01-28 17:04:28 -08:00
Ryan VanderMeulen
0bec52748a 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
3979592cfd Bug 1127150 - Fix FormData File filename. r=baku 2015-02-21 11:54:44 -08:00
Nikhil Marathe
f77619b803 Bug 1085283 - Patch 1 Implement FormData manipulation methods. r=baku 2015-01-28 17:04:28 -08:00
Anish
d6962a9b5b 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
24df8222d0 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
e982da177f 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
701b519444 Bug 1119609 part.14 Reimplement/redesign EventUtils.synthesizeKey() with nsITextInputProcessor r=smaug 2015-02-19 15:50:20 +09:00
Josh Matthews
98629491b6 Bug 1017875 and 1018389 - Update WPT expectations. 2015-02-17 10:21:16 -05:00
Tom Schuster
b09ea7fa82 Bug 1124935 - Remove LookupProperty from JS_GetPropertyDescriptor. r=efaust,bz 2015-02-06 15:43:20 +01:00
Ryan VanderMeulen
d495ea5eb4 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
45121f45bf Bug 671389 - Part 2: Export document sandbox flags to chrome JS r=smaug 2015-02-03 23:45:00 +01:00
Boris Zbarsky
fc7b3114d6 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
3bfde08bc7 Bug 1126245 - Add test (r=bent) 2015-02-03 09:20:50 -08:00
Boris Zbarsky
89f3c0e7cf 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
61c9b07b90 Backed out changeset 714ddf32db74 (bug 1128153) for mochitest failures. 2015-02-02 16:56:47 -05:00
Boris Zbarsky
f5f4ecb4fd 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
9f43b12ba3 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
7ff1bbe023 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
e13114bb2b Bug 1108547 - Part 3: Automated tests; r=jdm 2015-01-27 23:17:38 -05:00
Tooru Fujisawa
da76cd2dcf Bug 1069416 - Part 7: Remove JS_HAS_SYMBOLS from dom. r=smaug 2015-01-28 13:06:38 +09:00
Jed Davis
4127cc3899 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
ca50295634 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
bd57c4bd1d Bug 1108547 - Part 3: Automated tests; r=jdm 2015-01-26 14:06:35 -05:00
Xidorn Quan
35020adbfb Bug 910532 part 3 - Mochitest for canceling context menu in fullscreen via Esc. r=smaug 2015-01-21 12:16:04 +11:00
Tooru Fujisawa
dd31e13207 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