Jeremy Chen
122a1b7056
Bug 906116 - part3.3: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron
...
Use ReconstructFrame to replace NS_STYLE_HINT_FRAMECHANGE in many places, such
as HTML*Element::GetAttributeChangeHint and HTMLFrameSetElement::SetAttr.
MozReview-Commit-ID: EHbc4RMeuu0
--HG--
extra : rebase_source : afffc0d2ee2861a58dee82f0af06a67f4b8e3a78
2016-07-06 13:06:14 +08:00
Carsten "Tomcat" Book
45017d7986
Backed out changeset 8c1f9996a7d6 (bug 906116)
2016-07-06 05:40:06 +02:00
Jeremy Chen
160b96f9a4
Bug 906116 - part3.3: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron
...
Use ReconstructFrame to replace NS_STYLE_HINT_FRAMECHANGE in many places, such
as HTML*Element::GetAttributeChangeHint and HTMLFrameSetElement::SetAttr.
MozReview-Commit-ID: EHbc4RMeuu0
--HG--
extra : rebase_source : f5163608c88362595ef5af5fcd36fa64c9c79ce7
2016-07-06 09:59:56 +08:00
Fabrice Desré
2d7ccfe630
Bug 1286190 - Get rid of MOZ_CHILD_PERMISSIONS r=bz
...
MozReview-Commit-ID: Lx2kozynptu
--HG--
extra : rebase_source : 3f7b9004cd26675dbab6a1909a4b5135d753fd04
2016-04-05 13:34:53 +02:00
Jessica Jong
ba75f42662
Bug 1278737 - Add 'month' to the list of valid types attributes for <input>. r=smaug
...
--HG--
rename : dom/html/test/forms/test_experimental_forms_pref.html => dom/html/test/forms/test_input_types_pref.html
2016-07-03 23:19:00 +02:00
Stone Shih
f3651866bf
Bug 1261673: Handle wheel event when mouse cursor is hovered on a focused number input as increasing/decreasing it's value. r=smaug
2016-05-06 18:39:10 +08:00
Sebastian Hengst
f74056ca75
Backed out changeset 444a4a7233f7 (bug 1278737) for frequent web platform test 2 failure on OSX in form-validation-reportValidity.html. r=backout
...
--HG--
rename : dom/html/test/forms/test_input_types_pref.html => dom/html/test/forms/test_experimental_forms_pref.html
2016-07-01 20:04:58 +02:00
Jessica Jong
7db8d433f6
Bug 1278737 - Add 'month' to the list of valid types attributes for <input>. r=smaug
...
--HG--
rename : dom/html/test/forms/test_experimental_forms_pref.html => dom/html/test/forms/test_input_types_pref.html
2016-06-29 23:16:00 +02:00
Andrea Marchesini
5cddd3946d
Bug 1283061 - HTMLInputElement type=file webkitdirectory/directory should show just 1 button, r=smaug
2016-06-29 18:18:42 +02:00
Andrea Marchesini
f181ac8328
Bug 1272501 - Add Telemetry to the Blink/Webkit FileSystem API - part 2, r=smaug
2016-06-28 18:02:30 +02:00
Andrea Marchesini
93b1b8e92a
Bug 1272501 - Add Telemetry to the Blink/Webkit FileSystem API - part 1, r=smaug
2016-06-28 18:02:13 +02:00
Jordan
f35a9b375c
Bug 825294 - Add framework for datepicker widgets to input[type=date]. r=smaug
...
-Add framework for datepicker widgets
-Split date input preference from dom.experimental_forms to dom.forms.date
2016-06-20 15:55:00 +02:00
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
5c875edd39
Bug 1270310 - Part 4: Bypass line break conversion if element is single line. r=smaug
...
For single line text controls we shouldn't need to convert line breaks.
2016-05-05 15:52:28 -07: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
Eric Rahm
f5b4b3b7b8
Bug 1270310 - Part 1: Make allocation in ConvertStringLineBreaks fallible. r=froydnj, r=smaug
...
ConvertStringLineBreaks calls ConvertUnicharLineBreaksInSitu which uses
fallible allocation. We should make the potential allocation in |BeginWriting|
fallible as well and handle the failure. This also updates the callers to
|ConvertStringLineBreaks| to handle the error properly in release builds.
2016-05-05 15:50:35 -07:00
Andrea Marchesini
ae27692741
Bug 1265767 - Subset of Blink FileSystem API - patch 5 - DOMFileSystem, r=smaug
...
--HG--
rename : dom/filesystem/compat/ErrorCallbackRunnable.h => dom/filesystem/compat/CallbackRunnables.h
2016-06-07 00:55:17 +02: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
cd3d7522dc
Bug 1274999 - Stop GetFilesHelper runnable when the operation is canceled, r=smaug
2016-06-06 11:16:48 +02:00
Jessica Jong
2f552465b5
Bug 926019 - focus and blur an input element should not trigger change event if content hasn't changed. r=smaug
...
--HG--
extra : rebase_source : 9d56196ae2597cc21f7366326ce7203fe16e6cfb
2016-05-30 02:26:00 +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
cb79780013
Bug 1270310 - Part 4: Bypass line break conversion if element is single line. r=peterv
...
For single line text controls we shouldn't need to convert line breaks.
2016-05-05 15:52:28 -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
Eric Rahm
288aaa8d36
Bug 1270310 - Part 1: Make allocation in ConvertStringLineBreaks fallible. r=froydnj, r=peterv
...
ConvertStringLineBreaks calls ConvertUnicharLineBreaksInSitu which uses
fallible allocation. We should make the potential allocation in |BeginWriting|
fallible as well and handle the failure. This also updates the callers to
|ConvertStringLineBreaks| to handle the error properly in release builds.
2016-05-05 15:50:35 -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
Jeremy Chen
685cf4c3d8
Bug 1273766 - part3: purge NS_UpdateHint inline. r=heycam
...
MozReview-Commit-ID: IIOT9jq8hOl
--HG--
extra : rebase_source : dfb3d874ce4419f32f13e662bd495e97ac9cac10
2016-05-23 11:26:03 +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
Masayuki Nakano
3359bad586
Bug 1254755 part.1 Rename WidgetKeyboardEvent::keyCode to WidgetKeyboardEvent::mKeyCode r=smaug
...
And also WidgetKeyboardEvent::mKeyCode should be compared with NS_VK_* rather than nsIDOMKeyEvent::DOM_VK_*.
MozReview-Commit-ID: IKjQ1nr8XYe
--HG--
extra : rebase_source : 83125cd2523f6b70759f621470aad23b00aae8ae
2016-05-12 17:13:49 +09:00
Andrea Marchesini
c2b21ae750
Bug 1261694 - HTMLInputElement::GetFilesAndDirectories should return a new promise object, r=smaug
2016-05-13 13:12:34 +02:00
Andrea Marchesini
6441b9d372
Bug 1258490 - Implement file.webkitrelativepath, r=smaug
2016-05-13 13:11:38 +02:00
Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07: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
Masayuki Nakano
9170348baf
Bug 1259656 part.7 Rename WidgetEvent::originalTarget to WidgetEvent::mOriginalTarget r=smaug
...
MozReview-Commit-ID: G1WVCWkS0Lt
--HG--
extra : rebase_source : e4790266f4efa33269c073bca1d98f9e8e6c90d7
2016-04-19 01:33:23 +09:00
Andrea Marchesini
8e22a11655
Bug 1263992 - patch 1 - Remove DirectoryType enum, r=smaug
2016-04-18 03:32:30 -04:00
Andrea Marchesini
ed43c1f6e4
Bug 1258482 - FileList should contain only Files, not Directories, r=smaug
2016-04-12 08:51:52 -04:00
Andrea Marchesini
a8c342535b
Bug 1257180 - patch 2 - Directory can be sent via postMessage(), r=smaug
2016-04-12 08:51:04 -04:00
Sebastian Hengst
08c222b359
Backed out changeset 166555b48e77 (bug 1258482)
2016-04-12 17:56:00 +02:00
Jonathan Watt
fb7bb15e68
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Andrea Marchesini
dfd731fd16
Bug 1258482 - FileList should contain only Files, not Directories, r=smaug
2016-04-12 08:51:52 -04:00
Andrea Marchesini
c6067c0a80
Bug 1258221 - patch 1 - File::CreateFromFile only for main-thread, r=smaug
2016-04-09 19:15:50 +01:00
Masayuki Nakano
57445d0047
Bug 1259668 Rename WidgetTouchEvent::touches to WidgetTouchEvent::mTouches r=smaug
...
MozReview-Commit-ID: FLbows8davI
--HG--
extra : rebase_source : b564d09aa76311793a78d80b6c78c91e232edc47
2016-03-30 18:44:28 +09:00
Takeshi Kurosawa
72bf333b0a
Bug 1259674 Part 1 rename InternalFocusEvent::fromRaise to InternalFocusEvent::mFrameRaise r=masayuki
...
MozReview-Commit-ID: FzLjVjDCqAa
--HG--
extra : rebase_source : 55ab306ade105dff57af9ab00d2a2d5290339440
2016-03-27 14:44:57 +09:00
Tetsuharu OHZEKI
8fe5a1b9d4
Bug 1259659 - rename from InternalUIEvent.detail to InternalUIEvent.mDetail. r=masayuki
...
MozReview-Commit-ID: FjqZ5D2NCFb
--HG--
extra : rebase_source : fad73cc04658b7891f6c5932f0da55db8ae1d615
2016-03-26 16:22:27 +09:00
Masayuki Nakano
cea0b9cf02
Bug 1256589 part.6 Move the implementation of IsTrusted() from dom::Event to WidgetEvent r=smaug
...
MozReview-Commit-ID: 1SgMbTL8csl
--HG--
extra : rebase_source : 748fa8a594176edf7b2addd038b8031019d0dd35
extra : source : f4ce36e68ce06c405a6fab31facc120b94709aed
2016-03-17 16:01:30 +09:00
Masayuki Nakano
8c8cbe0e4c
Bug 1256589 part.5 Add DefaultPrevented() and DefaultPreventedByContent() to WidgetEvent r=smaug
...
MozReview-Commit-ID: 5q3QUPTf12Z
--HG--
extra : rebase_source : 83ed946b44910713a61c80bd21202aba9430dd2a
extra : source : 4eb2193814ab1958a65add0c8c307d07c646d61c
2016-03-22 16:47:52 +09: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
Ting-Yu Lin
22224242ba
Bug 1249556 - Implement toggling details by keyboard. r=smaug
...
The user can switch to the main <summary> by tab key, and toggle the
<details> by either 'space' key or 'enter' key.
'return' key is handled with 'keypress', and the 'space' key is handled
with 'keyup' like the HTMLInputElement.
MozReview-Commit-ID: HE6IduUGCpj
--HG--
extra : rebase_source : 34598d95f35bf6b5bd927457ee09e42eb6ec0a68
2016-03-19 20:37:09 +08: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
Mark Capella
f3821e32c6
Bug 1253534 - Suspicious code with probably reversed parms in call to IsSingleLineTextControl, r=mounir
2016-03-05 22:04:41 -05:00
Andrea Marchesini
2dd57b41c0
Bug 1250148 - FormData should treat empty input type=file as empty string in FormData and as unnamed Blob in HTML submission, r=smaug
2016-02-24 00:01:01 +01:00
Wes Kocher
1a11ff119f
Backed out changeset 74f968e36041 (bug 1250148) for test_blobconstructor.html failures
...
--HG--
extra : commitid : 5I4oajo0G1j
2016-02-23 10:49:24 -08:00
Andrea Marchesini
7da3286f9d
Bug 1250148 - FormData should treat empty input type=file as empty string in FormData and as unnamed Blob in HTML submission, r=smaug
2016-02-23 18:38:16 +01:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Ting-Yu Lin
2d02ad0652
Bug 1227927 Part 3 - Use ranged-based for-loop to rewrite some simple loops in part 2. r=mats
...
--HG--
extra : commitid : CcdpGdlMNIk
extra : rebase_source : 9c184cb8107bf6276c237d03d240f8755fd61553
2016-01-29 22:42:15 +08:00
Ting-Yu Lin
1889f6bc41
Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats
...
--HG--
extra : commitid : 5qtaK1nS8RC
extra : rebase_source : dcc98f423b2446269beb6fa6a9d092ae8213f38e
2016-01-29 22:42:14 +08:00
Jonathan Watt
2e53e6103f
Bug 893332, part 3 - Don't assert range underflow state under the parser. r=baku
2016-01-27 22:51:54 +00:00
Jonathan Watt
9905a1b792
Bug 893332, part 2 - Update validity state before asserting range underflow state. r=baku
2016-01-27 22:51:54 +00:00
Andrea Marchesini
bf32b2ecd5
Bug 1162658 - Update FormData to match latest spec, r=smaug
2016-01-20 17:25:03 +00:00
Chris Peterson
c824bef9fe
Bug 1240265 - Annotate intentional switch fallthroughs in dom/. r=mrbkap
...
dom/base/Element.cpp:2920:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/Element.cpp:2935:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsDocument.cpp:6595:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsDocument.cpp:7631:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsDocument.cpp:7922:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsGlobalWindow.cpp:7573:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsXMLContentSerializer.cpp:1393:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/cache/AutoUtils.cpp:487:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/html/HTMLInputElement.cpp:3808:15 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/html/HTMLInputElement.cpp:3836:15 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/storage/DOMStorageDBThread.cpp:224:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/workers/ScriptLoader.cpp:1994:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
--HG--
extra : rebase_source : ba9bd93b2c65e2db05b26e7b4c203dd7710516f3
2015-11-25 23:26:32 -08:00
Andrea Marchesini
c3cb129593
Bug 1239280 - HTMLInputElement::GetFiles should work also if 'directory' attribute is set, r=smaug
2016-01-13 17:30:04 +00:00
Andrea Marchesini
0cf3581d9f
Bug 1234192 - OSFileSystem should not be shared between Directory objects, r=smaug
2016-01-13 14:59:06 +00:00
Andrea Marchesini
d4b954e4fa
Bug 1238515 - nsIFilePicker methods should clearly say when they return directories and files, r=smaug
2016-01-12 19:18:15 +00:00
Carsten "Tomcat" Book
de28b5128f
Backed out changeset b5e8cd00d7ef (bug 1238515) for Android Test failures
...
--HG--
extra : rebase_source : d7883a0923a22c676f26946ab8950a9bf01490a9
2016-01-12 14:15:08 +01:00
Andrea Marchesini
923de404a2
Bug 1238515 - nsIFilePicker methods should clearly say when they return directories and files, r=smaug
2016-01-12 10:23:13 +00:00
Andrea Marchesini
d64cfad447
Bug 1237595 - FormData ctor and form submission should create empty Blob/File when a input type=file is not set, r=smaug
2016-01-08 08:35:30 +00:00
Andrea Marchesini
c1e3e74d6e
Bug 1187157 - new FormData::get() should return an empty string if the file is not set - part 1, r=smaug
2016-01-07 09:54:00 +00:00
Andrea Marchesini
2cd3e0da6b
Bug 1233598 - HTMLInputElement must traverse/unlink the getFilesAndDirectories promise, r=smaug
2015-12-21 15:14:06 +00:00
Garrett Robinson
f97631d0c3
Bug 1194893 - Pref for default file upload directory. r=smaug
...
--HG--
extra : rebase_source : dafc24f3ed145ab406f77a82e2ec8162d695f134
2015-12-16 11:58:40 -08:00
Nathan Froyd
2496259426
Bug 1225923 - part 2 - fix AppendElement(nsDependentString(...)) call in HTMLInputElement.cpp; r=baku
...
I think the intent of this call is to not copy the filename data passed
in, but to simply convert it to a friendlier nsString container for
processing. We don't have to worry about the nsTArray<nsString>
overload of MozSetFileNameArray holding references to the strings
outside the call, as the elements of the array are copied into new
strings as appropriate.
2015-11-18 10:36:40 -05:00
Jonathan Watt
740627a24c
Bug 1209924 - Implement a general filtering mechanism for Directory::GetFilesAndDirectories, and add filtering of sensitive files/directories. r=baku
2015-10-09 15:59:40 +01:00
Jonathan Watt
b96e199943
Bug 1207088 - Don't show the "Choose folder..." button for a directory picking <input> on platforms that don't have a directory picker. r=jfkthame
...
--HG--
extra : rebase_source : 836a5eff5b37398af019f3a29848ee42092939dc
2015-09-16 11:42:27 +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
Andrew McCreight
ae5fe6a2ad
Bug 1210591, part 1 - Use nsVariantCC in various places. r=smaug
...
Most of these will end up in DataTransfer:mItems, so this is needed
for it to do anything useful.
2015-10-09 10:24:23 -07:00
Andrew McCreight
0ff7248107
Bug 1210517 - Create nsVariant directly rather than via do_CreateInstance(). r=froydnj
...
The goal here is to leave creation stuff mostly for JS, so we can
convert it entirely over to a non-threadsafe cycle-collected version
without breaking any existing C++ users.
I didn't do this for a remaining use in nsGlobalWindow.h to avoid
including nsVariant.h all over the place.
2015-10-07 08:17:42 -07:00
Bobby Holley
fcde3e0716
Bug 1210293 - Remove legacy check from the XPIDL HTMLInputElement::SetUserInput. r=bz
2015-10-02 14:13:26 -07:00
Bobby Holley
110f12e7ca
Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz
2015-09-24 14:02:41 -07:00
Jonathan Watt
d0d01ca3fc
Bug 1207570 - Make HTMLInputElement::GetFilesAndDirectories throw when the type is not file. r=baku
2015-09-02 10:00:48 +01: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
Wes Kocher
0ceb5b85ae
Backed out changeset 19320abf76b1 (bug 1207088) for Werror bustage CLOSED TREE
2015-09-22 12:46:09 -07:00
Jonathan Watt
d62f457c73
Bug 1207088 - Don't show the "Choose folder..." button for a directory picking <input> on platforms that don't have a directory picker. r=jfkthame
2015-08-27 20:19:37 +01:00
Masayuki Nakano
683794135c
Bug 895274 part.244 Rename NS_TOUCH_CANCEL to eTouchCancel r=smaug
2015-09-15 00:14:35 +09:00
Masayuki Nakano
51d7268995
Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug
2015-09-15 00:14:35 +09:00
Masayuki Nakano
52a7afe36c
Bug 895274 part.242 Rename NS_TOUCH_MOVE to eTouchMove r=smaug
2015-09-15 00:14:35 +09:00
Masayuki Nakano
7a48a6f2ab
Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug
2015-09-15 00:14:34 +09:00
Masayuki Nakano
7928f48bc1
Bug 895274 part.232 Rename NS_EDITOR_INPUT to eEditorInput r=smaug
2015-09-15 00:14:33 +09:00
Masayuki Nakano
93a08167ad
Bug 895274 part.214 Rename NS_SCROLLPORT_UNDERFLOW to eScrollPortUnderflow r=smaug
2015-09-12 01:19:27 +09:00
Masayuki Nakano
2237026931
Bug 895274 part.213 Rename NS_SCROLLPORT_OVERFLOW to eScrollPortOverflow r=smaug
2015-09-12 01:19:27 +09:00
Jonathan Watt
5101569e41
Bug 1201106 - Make sure that HTMLInputElement.files is always null if the 'directory' attribute is set. r=baku
2015-08-21 13:38:25 +01:00