Blake Kaplan
794310be28
Bug 1086684 - Stash the full path for file inputs to avoid doing IPC at inopportune times. r=ehsan/bent/gps
2015-03-27 13:12:37 -07:00
Matthew Noorenberghe
d2c7b9a63f
Bug 1120860 - Measure whether an <input type=password> is associated with a <form> in BindToTree. r=smaug
2015-03-24 10:27:56 -07:00
Tooru Fujisawa
1ebc0fcbe0
Bug 1144322 - Handle tabindex in overridden IsInteractiveHTMLContent methods. r=smaug
2015-03-23 18:02:33 +09:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Ryan VanderMeulen
07ea53ed58
Backed out changesets 992c504934d3 and 5832c2042614 (bug 1086684) for LSAN leaks.
...
CLOSED TREE
2015-03-20 17:06:27 -04:00
Blake Kaplan
154f19c5e5
Bug 1086684 - Stash the full path for file inputs to avoid doing IPC at inopportune times. r=ehsan
2015-03-20 12:04:58 -07:00
Boris Zbarsky
3a822d99b4
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Tooru Fujisawa
1df47134f9
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
Nikhil Marathe
3b553355cb
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
Ehsan Akhgari
e017c67b6c
Bug 1125963 - Part 1: Fix serialization of the pre-wrap elements that Thunderbird relies on; r=bzbarsky
...
This ensures that the plaintext serializer doesn't use the preformatted
text code path if we have encountered a pre-wrap element that
Thunderbird uses (which means setting white-space: pre-wrap and width:
NNch on the body element.)
It also ensures that we use 0 as the wrap column number passed down to
the plaintext serializer, instead of -1, which this code seems to be
unable to handle properly.
2015-03-04 00:50:17 -05:00
Andrea Marchesini
6b10d5e43e
Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
2015-03-03 11:08:59 +00:00
Boris Zbarsky
899395cd69
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
bba07d4891
Backed out changeset 714ddf32db74 (bug 1128153) for mochitest failures.
2015-02-02 16:56:47 -05:00
Boris Zbarsky
5e2fc33f29
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
2a25cd91ab
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
Jonathan Watt
32715f5557
Bug 1064430, part 1 - When punycode encoding <input type=email> content, only encode the domain labels. r=bz
2015-01-28 23:01:33 +00:00
Jed Davis
5d2531a49d
Bug 1068838 - Add chrome-only method for setting an <input>'s file list. r=sicking
2015-01-26 16:22:59 -08:00
Tooru Fujisawa
b10a0c8ee5
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
Ehsan Akhgari
0f02dbc8c0
Bug 1097452 - Use fallible allocation when setting the value of an <input> or <textarea> element; r=jst,froydnj
...
This patch handles most of the call sites for these allocations except
for a few where I added TODO comments with some information. Handling
those places may require reworking lots of code, so I prefer to not do
that here.
2015-01-14 17:31:41 -05:00
Ehsan Akhgari
79203f0268
Bug 1118424 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/html; r=baku
2015-01-06 23:33:50 -05:00
Arnaud Bienner
075edf2720
Bug 826176 - Part 2 - Remove similar file picker filters from accept attribute. r=smaug
2014-12-19 00:30:11 +01:00
Arnaud Bienner
de53605bf3
Bug 826176 - Part 1 - File extension support for accept attribute. r=smaug
2014-11-29 12:22:30 +01:00
Giovanni Sferro
9d6615d76a
Bug 1100535 - Do not assume that the radio required status changed when the attribute changes. r=smaug
2014-11-27 17:40:00 -08:00
Jonathan Watt
06bf42cc51
Bug 1071994 - Rework our implementation of HTMLInputElement's stepping algorithm to fix various bugs and more closely align with the current HTML5 text. r=smaug
2014-11-26 09:54:32 +00:00
Tom Schuster
410e71b396
Bug 949666 - Save last used upload dir with e10s. r=billm
2014-11-09 20:26:14 +01:00
Andrea Marchesini
23306426b3
Bug 1081453 - SessionHistory should not keep alive the DOM file objects, r=smaug
2014-11-11 17:13:50 +00:00
Carsten "Tomcat" Book
b2874d23ac
Backed out changeset 1a2c37d55e5e (bug 949666) for m-9 test failures in B2G ICS Emulator debug
2014-11-10 08:10:30 +01:00
Tom Schuster
90987e2865
Bug 949666 - Save last used upload dir with e10s. r=billm
2014-11-09 20:26:14 +01:00
Arnaud Bienner
9ae057fae8
Bug 826185 - Make filter constructed from accept attribute the default one unless unknown mime types are found. r=smaug
2014-10-29 00:32:28 +01:00
Olli Pettay
11d88f2884
Bug 1080709, null check files coming from filepicker's enumerator, r=baku
2014-10-28 18:54:57 +02:00
Birunthan Mohanathas
86c0c5b215
Bug 946065 - Part 11: Move content/html/ to dom/ and flatten subdirectories. r=peterv
2014-10-25 20:24:55 +03:00