Eric Rahm
c35b24cc51
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
13787fc18b
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
bc4a58f2ac
Backed out changeset 17e20404362d (bug 1258489)
2016-05-23 12:46:05 -07:00
Andrea Marchesini
c218772045
Bug 1258489 - Implement HTMLInputElement.webkitdirectory, r=smaug
2016-05-23 17:02:18 +02:00
Andrea Marchesini
5c37d1232d
Bug 1261693 - Implement HTMLInputElement::GetFiles, r=smaug
2016-05-23 17:00:45 +02:00
Jeremy Chen
e18b390d40
Bug 1273766 - part3: purge NS_UpdateHint inline. r=heycam
...
MozReview-Commit-ID: IIOT9jq8hOl
2016-05-23 11:26:03 +08:00
Olli Pettay
9abfb88f79
Bug 1273202, make sure to not keep objects alive too long because of some useless event dispatching, r=jwatt
2016-05-16 21:42:24 +03:00
Masayuki Nakano
55b60a37e4
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
2016-05-12 17:13:49 +09:00
Andrea Marchesini
3775b9159e
Bug 1261694 - HTMLInputElement::GetFilesAndDirectories should return a new promise object, r=smaug
2016-05-13 13:12:34 +02:00
Andrea Marchesini
9e34b9fae4
Bug 1258490 - Implement file.webkitrelativepath, r=smaug
2016-05-13 13:11:38 +02:00
Kyle Huey
b972c94d0f
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
aadd508ffe
Backed out changeset 85ce8cb0639a (bug 1268313)
2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Jessica Jong
e6db634428
Bug 1206616 - Part 1: Fire input event for type=checkbox,radio,file. r=smaug
2016-04-25 19:52:00 +02:00
Masayuki Nakano
252086d000
Bug 1259656 part.7 Rename WidgetEvent::originalTarget to WidgetEvent::mOriginalTarget r=smaug
...
MozReview-Commit-ID: G1WVCWkS0Lt
2016-04-19 01:33:23 +09:00
Andrea Marchesini
b4480fa824
Bug 1263992 - patch 1 - Remove DirectoryType enum, r=smaug
2016-04-18 03:32:30 -04:00
Andrea Marchesini
c82e01edda
Bug 1258482 - FileList should contain only Files, not Directories, r=smaug
2016-04-12 08:51:52 -04:00
Andrea Marchesini
31f9661a43
Bug 1257180 - patch 2 - Directory can be sent via postMessage(), r=smaug
2016-04-12 08:51:04 -04:00
Sebastian Hengst
7a7e7dc5ea
Backed out changeset 166555b48e77 (bug 1258482)
2016-04-12 17:56:00 +02:00
Jonathan Watt
d714197cfc
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Andrea Marchesini
9b45b36a7e
Bug 1258482 - FileList should contain only Files, not Directories, r=smaug
2016-04-12 08:51:52 -04:00
Andrea Marchesini
8b45de854a
Bug 1258221 - patch 1 - File::CreateFromFile only for main-thread, r=smaug
2016-04-09 19:15:50 +01:00
Masayuki Nakano
93fc327cc4
Bug 1259668 Rename WidgetTouchEvent::touches to WidgetTouchEvent::mTouches r=smaug
...
MozReview-Commit-ID: FLbows8davI
2016-03-30 18:44:28 +09:00
Takeshi Kurosawa
6094b14c8c
Bug 1259674 Part 1 rename InternalFocusEvent::fromRaise to InternalFocusEvent::mFrameRaise r=masayuki
...
MozReview-Commit-ID: FzLjVjDCqAa
2016-03-27 14:44:57 +09:00
Tetsuharu OHZEKI
2f2576b0a0
Bug 1259659 - rename from InternalUIEvent.detail to InternalUIEvent.mDetail. r=masayuki
...
MozReview-Commit-ID: FjqZ5D2NCFb
2016-03-26 16:22:27 +09:00
Masayuki Nakano
84e308d663
Bug 1256589 part.6 Move the implementation of IsTrusted() from dom::Event to WidgetEvent r=smaug
...
MozReview-Commit-ID: 1SgMbTL8csl
2016-03-17 16:01:30 +09:00
Masayuki Nakano
ce8c25949d
Bug 1256589 part.5 Add DefaultPrevented() and DefaultPreventedByContent() to WidgetEvent r=smaug
...
MozReview-Commit-ID: 5q3QUPTf12Z
2016-03-22 16:47:52 +09:00
Andrea Marchesini
38efd849d7
Bug 1173320 - patch 7/8 - Tests for FileList and Directories, r=smaug
2016-03-20 11:56:11 +01:00
Andrea Marchesini
36c988a737
Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug
2016-03-20 11:56:10 +01:00
Andrea Marchesini
d10e0b4b34
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
972d7f0af5
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
2016-03-19 20:37:09 +08:00
Phil Ringnalda
9e96cfb31d
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
dc6c312670
Bug 1173320 - patch 7/8 - Tests for FileList and Directories, r=smaug
2016-03-19 22:29:47 +01:00
Andrea Marchesini
4e0ff900f3
Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug
2016-03-19 22:29:46 +01:00
Andrea Marchesini
97ca49dfa3
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
35395c0ef4
Bug 1253534 - Suspicious code with probably reversed parms in call to IsSingleLineTextControl, r=mounir
2016-03-05 22:04:41 -05:00
Andrea Marchesini
3bbf7b3898
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
0fc88fedc8
Backed out changeset 74f968e36041 (bug 1250148) for test_blobconstructor.html failures
2016-02-23 10:49:24 -08:00
Andrea Marchesini
0425964b78
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
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Ting-Yu Lin
60711ad8f1
Bug 1227927 Part 3 - Use ranged-based for-loop to rewrite some simple loops in part 2. r=mats
2016-01-29 22:42:15 +08:00
Ting-Yu Lin
122e5b9aeb
Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats
2016-01-29 22:42:14 +08:00
Jonathan Watt
1072d4acc3
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
21873c36c6
Bug 893332, part 2 - Update validity state before asserting range underflow state. r=baku
2016-01-27 22:51:54 +00:00
Andrea Marchesini
d65194acc9
Bug 1162658 - Update FormData to match latest spec, r=smaug
2016-01-20 17:25:03 +00:00
Chris Peterson
c74fd557c5
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
2015-11-25 23:26:32 -08:00
Andrea Marchesini
6529563084
Bug 1239280 - HTMLInputElement::GetFiles should work also if 'directory' attribute is set, r=smaug
2016-01-13 17:30:04 +00:00
Andrea Marchesini
bf3c143fb1
Bug 1234192 - OSFileSystem should not be shared between Directory objects, r=smaug
2016-01-13 14:59:06 +00:00
Andrea Marchesini
b90663ccce
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
9f3c73682b
Backed out changeset b5e8cd00d7ef (bug 1238515) for Android Test failures
2016-01-12 14:15:08 +01:00