Commit Graph

495 Commits

Author SHA1 Message Date
Akshendra Pratap Singh
cd19a8d6b0 Bug 1037990 - AccessLabelKey is now accessible event if the element is detached. r=bzbarsky 2014-10-15 07:42:00 +02:00
Olli Pettay
e9644d49d4 Bug 874050, Make Nofification's click event cancelable, r=wchen
--HG--
extra : rebase_source : 155ceeec566a9726d9280be0eeeb6e0209df456c
2014-10-15 17:48:04 +03:00
Carsten "Tomcat" Book
30b84bb311 Backed out changeset 6f411275b7ec (bug 1068740) for bustage on a CLOSED TREE 2014-10-15 16:50:45 +02:00
Peter Van der Beken
e1454b0fb2 Bug 1068740 - Consider putting union types in the binding files where they're used. r=bz.
--HG--
extra : rebase_source : f2d78da408764170cb9f366d97960ca62245f113
2014-10-01 20:43:26 +02:00
Wes Kocher
4fc024771c Backed out changeset c3099024c40a (bug 874050) for OSX 10.8 bc1 orange 2014-10-14 16:23:35 -07:00
Jon Morton
1700296f02 Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz
--HG--
rename : layout/xul/nsIPopupBoxObject.idl => dom/webidl/PopupBoxObject.webidl
rename : layout/xul/tree/nsITreeBoxObject.idl => dom/webidl/TreeBoxObject.webidl
rename : layout/xul/nsBoxObject.cpp => layout/xul/BoxObject.cpp
rename : layout/xul/nsBoxObject.h => layout/xul/BoxObject.h
rename : layout/xul/nsListBoxObject.cpp => layout/xul/ListBoxObject.cpp
rename : layout/xul/nsMenuBoxObject.cpp => layout/xul/MenuBoxObject.cpp
rename : layout/xul/nsPopupBoxObject.cpp => layout/xul/PopupBoxObject.cpp
2014-10-14 13:15:21 -07:00
Olli Pettay
f2e3fa5a63 Bug 874050, Make Nofification's click event cancelable, r=wchen
--HG--
extra : rebase_source : c78a2bb9943c67e9baa7cf9a2af6bbe8188f0040
2014-10-14 22:53:58 +03:00
Masayuki Nakano
ec55989494 Bug 1081992 Needs null check at notifying TextComposition of composition event being discarded r=smaug 2014-10-15 00:40:06 +09:00
Gina Yeh
d7c7e0d2e8 Bug 989198, Patch 5: Mochitest for BeforeAfterKeyboardEvent, r=smaug.
---
 dom/events/test/bug989198_embedded.html            |   20 ++
 dom/events/test/bug989198_helper.js                |  200 ++++++++++++++++++++
 dom/events/test/mochitest.ini                      |    9 +
 .../test/test_dom_before_after_keyboard_event.html |  117 ++++++++++++
 ...est_dom_before_after_keyboard_event_remote.html |  142 ++++++++++++++
 5 files changed, 488 insertions(+)
 create mode 100644 dom/events/test/bug989198_embedded.html
 create mode 100644 dom/events/test/bug989198_helper.js
 create mode 100644 dom/events/test/test_dom_before_after_keyboard_event.html
 create mode 100644 dom/events/test/test_dom_before_after_keyboard_event_remote.html
2014-10-14 15:09:41 +08:00
Gina Yeh
bd5a3188f8 Bug 989198, Patch 3: Dispatch BeforeAfterKeyboardEvent on b2g, r=smaug
---
 b2g/app/b2g.js                   |    3 +
 content/base/src/nsGkAtomList.h  |    4 +
 dom/events/EventNameList.h       |   16 +++
 dom/events/EventStateManager.cpp |    6 +
 dom/ipc/PBrowser.ipdl            |    2 +
 dom/ipc/TabChild.cpp             |    6 +-
 dom/ipc/TabParent.cpp            |   24 ++++
 dom/ipc/TabParent.h              |    1 +
 layout/base/nsIPresShell.h       |   12 +-
 layout/base/nsPresShell.cpp      |  250 ++++++++++++++++++++++++++++++++++++++
 layout/base/nsPresShell.h        |   26 ++++
 modules/libpref/init/all.js      |    3 +
 12 files changed, 350 insertions(+), 3 deletions(-)
2014-10-14 15:09:24 +08:00
Gina Yeh
303bfb5736 Bug 989198, Patch 2: Implementation of BeforeAfterKeyboardEvent, sr=smaug, r=masayuki.
---
 dom/events/BeforeAfterKeyboardEvent.cpp          |   92 ++++++++++++++++++++++
 dom/events/BeforeAfterKeyboardEvent.h            |   45 +++++++++++
 dom/events/EventDispatcher.cpp                   |    3 +
 dom/events/KeyboardEvent.cpp                     |   60 ++++++++------
 dom/events/KeyboardEvent.h                       |    8 +-
 dom/events/moz.build                             |    2 +
 dom/events/test/test_all_synthetic_events.html   |    4 +
 dom/interfaces/events/nsIDOMEvent.idl            |    7 ++
 dom/tests/mochitest/general/test_interfaces.html |   48 ++++++-----
 dom/webidl/BeforeAfterKeyboardEvent.webidl       |   24 ++++++
 dom/webidl/moz.build                             |    1 +
 11 files changed, 250 insertions(+), 44 deletions(-)
 create mode 100644 dom/events/BeforeAfterKeyboardEvent.cpp
 create mode 100644 dom/events/BeforeAfterKeyboardEvent.h
 create mode 100644 dom/webidl/BeforeAfterKeyboardEvent.webidl
2014-10-14 15:09:20 +08:00
Andrea Marchesini
8f8ec51372 Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-08 17:15:23 +01:00
Andrea Marchesini
090b876c2a Bug 1047483 - patch 2 - Renaming nsDOMFileList to FileList, r=ehsan 2014-10-08 17:15:23 +01:00
Andrea Marchesini
7491bee8c3 Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley 2014-10-08 17:15:22 +01:00
Ryan VanderMeulen
cd3e8a6f73 Backed out 7 changesets (bug 1047483, bug 1079301, bug 1079335) for webplatform test failures.
Backed out changeset 7d06b68c44d0 (bug 1079335)
Backed out changeset 92030169528e (bug 1079301)
Backed out changeset c09d7f95554a (bug 1047483)
Backed out changeset c199f1057d7e (bug 1047483)
Backed out changeset 18830d07884c (bug 1047483)
Backed out changeset e087289ccfbb (bug 1047483)
Backed out changeset 6238ff5d3ed0 (bug 1047483)

CLOSED TREE

--HG--
rename : content/base/public/File.h => content/base/public/nsDOMFile.h
rename : content/base/src/MultipartFileImpl.cpp => content/base/src/nsDOMBlobBuilder.cpp
rename : content/base/src/MultipartFileImpl.h => content/base/src/nsDOMBlobBuilder.h
rename : content/base/src/File.cpp => content/base/src/nsDOMFile.cpp
2014-10-07 13:16:11 -04:00
Andrea Marchesini
c8190ba625 Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-07 15:20:55 +01:00
Andrea Marchesini
78eb44f2cd Bug 1047483 - patch 2 - Renaming nsDOMFileList to FileList, r=ehsan 2014-10-07 15:20:53 +01:00
Andrea Marchesini
d272279126 Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley 2014-10-07 15:20:52 +01:00
Peter Van der Beken
dcda2ba9bb Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Masayuki Nakano
9763dfc421 Bug 960871 part.12 Get rid of TextEvent() of PBrowser r=smaug 2014-10-07 19:01:50 +09:00
Masayuki Nakano
2be456d529 Bug 960871 part.10 Some methods which took both WidgetCompositionEvent and WidgetTextEvent should take only WidgetCompositionEvent r=smaug 2014-10-07 19:01:49 +09:00
Masayuki Nakano
d028544b2b Bug 960871 part.9 Rename methods and classes which handled WidgetTextEvent r=smaug 2014-10-07 19:01:49 +09:00
Masayuki Nakano
6072e74d01 Bug 960871 part.8 Rename variable names of NS_COMPOSITION_CHANGE event r=smaug 2014-10-07 19:01:49 +09:00
Masayuki Nakano
d08404080c Bug 960871 part.7 Get rid of WidgetTextEvent r=smaug 2014-10-07 19:01:48 +09:00
Masayuki Nakano
9011740f12 Bug 960871 part.6 Use WidgetCompositionEvent for NS_COMPOSITION_CHANGE instead of WidgetTextEvent r=smaug 2014-10-07 19:01:48 +09:00
Masayuki Nakano
09a5b86212 Bug 960871 part.4 Rename NS_TEXT_TEXT to NS_COMPOSITION_CHANGE and fix comments which mention text events r=smaug 2014-10-07 19:01:47 +09:00
Masayuki Nakano
c3e6df2ad3 Bug 960871 part.3 Remove WidgetTextEvent::isChar since it's always false on all platforms r=smaug 2014-10-07 19:01:47 +09:00
Masayuki Nakano
aafe327f6d Bug 960871 part.2 Rename WidgetCompositionEvent::data to WidgetCompositionEvent::mData r=smaug 2014-10-07 19:01:46 +09:00
Masayuki Nakano
ea79d5919e Bug 960871 part.1 Rename WidgetTextEvent::theText to WidgetTextEvent::mData r=smaug 2014-10-07 19:01:46 +09:00
Ed Morley
22bd17338b Merge mozilla-central and b2g-inbound 2014-10-03 15:20:08 +01:00
Andrew Osmond
eaa8395a0a Bug 994912 - Add support for promises and event-based notifications to camera. r=mikeh, r=bz 2014-10-03 04:19:00 -04:00
Masayuki Nakano
8c0696f557 Bug 975383 part.8 Remove unnecesary handler of compositionupdate r=smaug 2014-10-03 15:33:49 +09:00
Masayuki Nakano
a1f5e6c914 Bug 975383 part.1 TextComposition should dispatch compositionupdate event automatically if text event changes composition string r=smaug 2014-10-03 15:33:47 +09:00
Cameron McCormack
8c4dd6fb24 Bug 1028497 - Part 2: Add Web IDL interfaces for CSS Font Loading API. r=bzbarsky 2014-10-02 12:32:05 +10:00
Bobby Holley
0e8bf218c0 Bug 1070842 - Move nsJSUtils::CompileFunction (and consequently event handler compilation and XBL compilation) off of nsJSUtils::ReportPendingException. r=bz 2014-09-29 15:34:21 +02:00
Masayuki Nakano
4b44a38e62 Bug 1072137 part.1 Stop searching root editable node if a node has independent selection r=smaug 2014-09-26 09:10:49 +09:00
Masayuki Nakano
e86c8519ab Bug 1072137 part.0 Add tests r=smaug 2014-09-26 09:10:16 +09:00
Masayuki Nakano
1cc2ff10cb Bug 1065835 part.6 Remove NOTIFY_IME_OF_CURSOR_POS_CHANGED and nsGtkIMModule should handle NOTIFY_IME_OF_SELECTION_CHANGE instead r=smaug+ehsan+karlt 2014-09-26 09:05:13 +09:00
Masayuki Nakano
0cecd2284c Bug 1065835 part.4 Destroy TextComposition instance after handling synthesized compositionend event when synthesized events for a request to commit or cancel is caused by PresShell discarding native compositionend event r=smaug 2014-09-26 09:05:12 +09:00
Masayuki Nakano
765c5c891b Bug 1065835 part.3 TextComposition::RequetToCommit() should support to handle even if the composition is synthesized for test r=smaug 2014-09-26 09:05:12 +09:00
Masayuki Nakano
f9a08d093d Bug 1065835 part.2 TextComposition should override commit string with the last data or empty string during requesting commit or canceling composition r=smaug 2014-09-26 09:05:12 +09:00
Masayuki Nakano
345fc83f18 Bug 1065835 part.1 Synthesize composition events for committing composition string if requesting to commit of IME isn't performed synchronously r=smaug 2014-09-26 09:05:11 +09:00
Bobby Holley
db168e5cde Bug 1065811 - Expose isCallable()/isConstructor() in JS_PUBLIC_API. r=billm 2014-09-25 13:13:28 +02:00
Edwin Flores
0dcc84b0c0 Bug 1044742 - Add mochitests for Encrypted Media Extensions support - r=cpearce 2014-09-24 15:59:11 +12:00
Edwin Flores
fa5ef650c8 Bug 1044742 - Backout 8f13101a6dbb on a CLOSED TREE - r=bustage 2014-09-24 12:07:18 +12:00
Edwin Flores
10437b06ed Bug 1044742 - Add mochitests for Encrypted Media Extensions support - r=cpearce 2014-09-24 10:04:49 +12:00
Makoto Kato
a35eb58171 Bug 975260 - Send each compositon character rect to chrome. r=masayuki 2014-09-15 16:11:08 +09:00
Masayuki Nakano
bf3703d87b Bug 1061810 ContentEventHandler::SetRangeFromFlatTextOffset() should use nsRange::SetStart(nsINode*, int32_t) instead of nsRange::SetStart(nsIDOMNode*, int32_t) for avoiding the unnecessary QI r=smaug 2014-09-05 14:27:12 +09:00
Alfredo Yang
05822696e0 Bug 916643 - ImageCaptureErrorEvent webidl. r=smaug 2014-09-04 02:07:00 +02:00
Carsten "Tomcat" Book
856ee1953a Backed out changeset 53a069425e00 (bug 1061810) for XPCShell Test failures/crashes 2014-09-04 13:54:14 +02:00