Andrea Marchesini
aadce059f5
Bug 1279860
- part 1 - Renaming nsFormSubmission to mozilla::dom::HTMLFormSubmission, r=smaug
...
--HG--
rename : dom/html/nsFormSubmission.cpp => dom/html/HTMLFormSubmission.cpp
rename : dom/html/nsFormSubmission.h => dom/html/HTMLFormSubmission.h
rename : dom/html/nsFormSubmissionConstants.h => dom/html/HTMLFormSubmissionConstants.h
2016-06-16 08:24:16 +01:00
Eric Rahm
2b917eceb6
Bug 1270310
- Part 3: Make string assignment in HTMLInputElement::GetValueInternal fallible. r=smaug
...
This makes the string assignment fallible and also adds checks for the return
value from GetValueInternal and GetValue.
2016-05-20 16:15:52 -07:00
Andrea Marchesini
5a7749a26f
Bug 1265767 - Subset of Blink FileSystem API - patch 2 - Entries, r=smaug
2016-06-07 00:55:16 +02:00
Andrea Marchesini
1a7f4ecbd2
Bug 1265767 - Subset of Blink FileSystem API - patch 1 - WebIDL, r=smaug
2016-06-07 00:55:16 +02:00
Andrea Marchesini
3ad65f3a92
Bug 1258489 - Implement HTMLInputElement.webkitdirectory, r=smaug
2016-06-01 12:29:00 +02:00
Andrea Marchesini
d3cf11f109
Bug 1261693 - Implement HTMLInputElement::GetFiles, r=smaug
2016-05-31 12:54:24 +02:00
Wes Kocher
8249ffcbd2
Backed out 4 changesets (bug 1270310
) for mass mochitest bustage CLOSED TREE
...
Backed out changeset ff9ace379d78 (bug 1270310
)
Backed out changeset 605790e5e611 (bug 1270310
)
Backed out changeset 4c302e1119e1 (bug 1270310
)
Backed out changeset 3e2d76bd1f08 (bug 1270310
)
2016-05-26 00:04:04 -07:00
Eric Rahm
e69bdc29f2
Bug 1270310
- Part 3: Make string assignment in HTMLInputElement::GetValueInternal fallible. r=peterv
...
This makes the string assignment fallible and also adds checks for the return
value from GetValueInternal and GetValue.
2016-05-20 16:15:52 -07:00
Wes Kocher
8bcdb6ce30
Backed out changeset 77c60a79313d (bug 1261693) for breaking test_basic.html on at least Android CLOSED TREE
2016-05-23 12:46:34 -07:00
Wes Kocher
e089e1ab3e
Backed out changeset 17e20404362d (bug 1258489)
2016-05-23 12:46:05 -07:00
Andrea Marchesini
6586afe162
Bug 1258489 - Implement HTMLInputElement.webkitdirectory, r=smaug
2016-05-23 17:02:18 +02:00
Andrea Marchesini
d076c7faec
Bug 1261693 - Implement HTMLInputElement::GetFiles, r=smaug
2016-05-23 17:00:45 +02:00
John Dai
1545cb9d2f
Bug 1088761 - Support reportValidity() for form controls. r=smaug
...
From 2c2f7223e9d88f431f3e3fee7384dffbca07d8a9 Mon Sep 17 00:00:00 2001
--HG--
extra : rebase_source : 7daace21a903c55c893f0c6e7b0e0380b6ddca12
2016-04-15 16:13:00 +08:00
John Dai
e05f13cdbb
Bug 1088761 - Remove redundant trailing spaces. r=smaug
...
From b52ed31558ac41e31b7a885a988475b07f3aa3fe Mon Sep 17 00:00:00 2001
--HG--
extra : rebase_source : 42f91a3fa39a277c486342baad523d95e044b309
2016-04-12 19:02:42 +08:00
Olli Pettay
2eab9bb421
Bug 1273202, make sure to not keep objects alive too long because of some useless event dispatching, r=jwatt
...
--HG--
extra : rebase_source : 687d28c00589327d00a8fb0e652e8adb5aa6101b
2016-05-16 21:42:24 +03:00
Andrea Marchesini
c2b21ae750
Bug 1261694 - HTMLInputElement::GetFilesAndDirectories should return a new promise object, r=smaug
2016-05-13 13:12:34 +02:00
Sebastian Hengst
acc64686c7
Backed out changeset 3ff28843a8f8 (bug 1088761) for failing form-validation-reportValidity.html on OSX 10.10 debug. r=backout
2016-05-12 13:19:22 +02:00
Sebastian Hengst
bf7ef7a9a1
Backed out changeset 403d9c085544 (bug 1088761)
2016-05-12 13:19:15 +02:00
John Dai
def16ce1d5
Bug 1088761 - Support reportValidity() for form controls. r=smaug
...
--HG--
extra : rebase_source : 56206e694b413ad1afdd7ded5dd12ef3a0d296f1
2016-05-11 04:24:00 +02:00
John Dai
b0ac1b27cb
Bug 1088761 - Remove redundant trailing spaces. r=smaug
...
--HG--
extra : rebase_source : aea196343737511284cbe3ea2c7fc052987a8c85
2016-05-11 04:23:00 +02:00
Aryeh Gregor
9aba692542
Bug 1270499 - Setting reflected unsigned long to out-of-range value should set to default; r=bz
...
This changes to match the spec, which also aligns the behavior of get
and set (get already maps out-of-range values to the default value).
There is currently no interoperable behavior here, but this aligns us
with IE -- tested in 11, hopefully true for Edge too.
On the way, I also fixed the fact that video's height and width were
being treated as signed.
2016-05-05 21:29:54 +03:00
Andrea Marchesini
8d3c72ef64
Bug 1173320 - patch 7/8 - Tests for FileList and Directories, r=smaug
2016-03-20 11:56:11 +01:00
Andrea Marchesini
548dc7f03a
Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug
2016-03-20 11:56:10 +01:00
Andrea Marchesini
18858bf144
Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug
2016-03-20 11:56:10 +01:00
Phil Ringnalda
b47ec4d2bd
Backed out 8 changesets (bug 1173320) for adding dom/filesystem/tests/test_basic.html without making it work on Android
...
Backed out changeset 7e3a105b9160 (bug 1173320)
Backed out changeset 094819fbb07f (bug 1173320)
Backed out changeset 23b0e55ff1db (bug 1173320)
Backed out changeset 8bf8e2fcedad (bug 1173320)
Backed out changeset 3de390c6f47f (bug 1173320)
Backed out changeset fb298010e12e (bug 1173320)
Backed out changeset f1a965c2f796 (bug 1173320)
Backed out changeset 176128ba757f (bug 1173320)
2016-03-19 19:44:22 -07:00
Andrea Marchesini
6f10afaf24
Bug 1173320 - patch 7/8 - Tests for FileList and Directories, r=smaug
2016-03-19 22:29:47 +01:00
Andrea Marchesini
2fdbbe6373
Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug
2016-03-19 22:29:46 +01:00
Andrea Marchesini
232e5767b0
Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug
2016-03-19 22:29:46 +01:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Jonathan Watt
ef5c78b025
Bug 1203588 - Return the same Promise object from HTMLInputElement.getFilesAndDirectories when possible. r=baku
2015-08-31 13:37:23 +01:00
Masayuki Nakano
0d22745cda
Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug
2015-08-26 21:56:59 +09:00
Robert O'Callahan
d5d49432af
Bug 1184842. Allow BeforeSetAttr to preparse aValue. r=peterv
...
We will pass the preparsed value into AttributeWillChange.
--HG--
extra : commitid : HCiY4DRKWkC
extra : rebase_source : aa17a819a20578322380d388299279e4e41a690b
2015-08-01 17:14:06 +12:00
Jonathan Watt
b7bcad9074
Bug 1164310, part 4 - Implement the new HTMLInputElement API including the new Promise returning GetFilesAndDirectories. r=baku
2015-07-10 18:55:52 +01:00
Masayuki Nakano
ecdd7a7f0f
Bug 549674 part.1 Commit composition string at setting value of <input> or <textarea> r=smaug
2015-06-18 23:56:20 +09:00
Jonathan Watt
a62bfe14df
Bug 1175860 - Add some documentation to UploadLastDir to make its workings clearer. r=baku
2015-06-08 14:01:01 +01:00
Jonathan Watt
04e51d3039
Bug 1173390 - Remove the majority of the old directory picker implementation to prepare for the new implementation under bug 1164310. r=baku
2015-06-06 12:41:47 +01:00
Andrea Marchesini
338c67e420
Bug 1163388 - patch 1 - make nsIDOMFile an empty interface, r=ehsan
2015-05-18 14:51:54 +01:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Andrea Marchesini
789ad8312d
Bug 1156632 - Remove unused forward class declarations - patch 3 - dom/{events,xbl,xslt,xul} and others, r=ehsan
2015-04-22 08:29:18 +02:00
Jed Davis
ae42a23a28
Bug 1143934 - Disallow mozSetFileNameArray in content processes. r=ehsan
...
Summary of rationale: it never entirely worked, in that the File objects
it created would cause form submission to fail, and the longer-term plan
for content-process system-principal scripts is to remove APIs that allow
direct filesystem access.
2015-03-31 20:47:00 -04:00
Blake Kaplan
5c1748cefe
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
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
883849ee32
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
aa74b23d94
Backed out changesets 992c504934d3 and 5832c2042614 (bug 1086684) for LSAN leaks.
...
CLOSED TREE
--HG--
extra : rebase_source : 1bada522a99be6a058723cbe24323dbaca27f8c9
2015-03-20 17:06:27 -04:00
Blake Kaplan
fc6395db41
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
dc24477d79
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
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
Jed Davis
40793e84d3
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
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
Ehsan Akhgari
abb0b24062
Bug 1118424 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/html; r=baku
2015-01-06 23:33:50 -05:00