Commit Graph

500 Commits

Author SHA1 Message Date
Birunthan Mohanathas
e1f5469d82 Bug 960757 - Fix test_bug656379-1.html timeouts. r=ehsan 2014-10-22 06:28:01 +03:00
Birunthan Mohanathas
101a10671d Bug 921693 - Fix test_bug426082.html timeouts. r=ehsan 2014-10-22 06:28:01 +03:00
Peter Van der Beken
7ced30305e Bug 1068740 - Consider putting union types in the binding files where they're used. r=bz.
--HG--
extra : rebase_source : 7e0b1e2f60757b7758704dab3672ee829f3e4085
2014-10-01 20:43:26 +02:00
Olli Pettay
6efa464486 Bug 1084421 - Only Events with a wrapper should trigger GC more likely, r=mccr8
--HG--
extra : rebase_source : 398e18dfc3d103ee139cc3c5d49710855c925e82
2014-10-18 02:16:58 +03:00
Ryan VanderMeulen
1a22fa2864 Backed out 6 changesets (bug 989198, bug 1082963) for causing bug 1083231.
Backed out changeset a7c972407578 (bug 1082963)
Backed out changeset 94d1b30bde00 (bug 989198)
Backed out changeset 01e064ceb505 (bug 989198)
Backed out changeset f5a538109e36 (bug 989198)
Backed out changeset 3ff227d79d74 (bug 989198)
Backed out changeset 186743fc6f6d (bug 989198)

CLOSED TREE
2014-10-16 12:57:18 -04:00
Akshendra Pratap Singh
f351f81f46 Bug 1037990 - AccessLabelKey is now accessible event if the element is detached. r=bzbarsky 2014-10-15 07:42:00 +02:00
Olli Pettay
3270a77c09 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
ae2a8cfd8d Backed out changeset 6f411275b7ec (bug 1068740) for bustage on a CLOSED TREE 2014-10-15 16:50:45 +02:00
Peter Van der Beken
6fc8e58fd6 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
ef635d10ca Backed out changeset c3099024c40a (bug 874050) for OSX 10.8 bc1 orange 2014-10-14 16:23:35 -07:00
Jon Morton
c559dd1ab0 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
6ef3ef7b92 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
b8b07945f7 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
d19519e745 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
4d98afa8b4 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
1b122bd47c 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
1560ff52a9 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
119064a550 Bug 1047483 - patch 2 - Renaming nsDOMFileList to FileList, r=ehsan 2014-10-08 17:15:23 +01:00
Andrea Marchesini
57fa89d6de 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
566e49b6ff 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
946cf8e0e1 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
61f3e1dfa6 Bug 1047483 - patch 2 - Renaming nsDOMFileList to FileList, r=ehsan 2014-10-07 15:20:53 +01:00
Andrea Marchesini
570a9abfb8 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
4b7e268d87 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
e9eeb57412 Bug 960871 part.12 Get rid of TextEvent() of PBrowser r=smaug 2014-10-07 19:01:50 +09:00
Masayuki Nakano
329b23036c 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
c4b5648679 Bug 960871 part.9 Rename methods and classes which handled WidgetTextEvent r=smaug 2014-10-07 19:01:49 +09:00
Masayuki Nakano
b62ac16b3e Bug 960871 part.8 Rename variable names of NS_COMPOSITION_CHANGE event r=smaug 2014-10-07 19:01:49 +09:00
Masayuki Nakano
2b41f50548 Bug 960871 part.7 Get rid of WidgetTextEvent r=smaug 2014-10-07 19:01:48 +09:00
Masayuki Nakano
c2bf46d0e4 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
50519d8d6b 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
3d3630b2dd 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
aa8f33c1db Bug 960871 part.2 Rename WidgetCompositionEvent::data to WidgetCompositionEvent::mData r=smaug 2014-10-07 19:01:46 +09:00
Masayuki Nakano
313f5cdffe Bug 960871 part.1 Rename WidgetTextEvent::theText to WidgetTextEvent::mData r=smaug 2014-10-07 19:01:46 +09:00
Ed Morley
3af1cc8ebb Merge mozilla-central and b2g-inbound 2014-10-03 15:20:08 +01:00
Andrew Osmond
3d9077beb7 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
3f6fcf9401 Bug 975383 part.8 Remove unnecesary handler of compositionupdate r=smaug 2014-10-03 15:33:49 +09:00
Masayuki Nakano
0d20171b8a 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
b6f429c8fd 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
cf948c70bb 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
0d0d1dc46e 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
1c8fed8c4f Bug 1072137 part.0 Add tests r=smaug 2014-09-26 09:10:16 +09:00
Masayuki Nakano
69aff1c6ec 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
8c81b1bae6 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
f31036bcd4 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
af9c5651a8 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
3d8d52d44a 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
bb5d8d198c Bug 1065811 - Expose isCallable()/isConstructor() in JS_PUBLIC_API. r=billm 2014-09-25 13:13:28 +02:00
Edwin Flores
e6df4d94c8 Bug 1044742 - Add mochitests for Encrypted Media Extensions support - r=cpearce 2014-09-24 15:59:11 +12:00
Edwin Flores
fcf291fb8e Bug 1044742 - Backout 8f13101a6dbb on a CLOSED TREE - r=bustage 2014-09-24 12:07:18 +12:00