Граф коммитов

190 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano 7cede8a035 Bug 993234 part.1 Implement KeyboardEvent.isComposing r=smaug 2014-04-10 16:11:36 +09:00
Martin Thomson dcf290639e Bug 959870 - Error reporting improvements to WebRTC IdP. r=jib 2014-04-08 14:26:00 +02:00
Boris Zbarsky e74e09a7f2 Bug 993889 part 6. Remove the "scope" argument of dom::WrapObject methods. r=bholley 2014-04-10 00:58:43 -04:00
Boris Zbarsky a0bb95a823 Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley 2014-04-10 00:58:41 -04:00
Boris Zbarsky 79dab91ff6 Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky d4bd64ee2c Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Ryan VanderMeulen 0260a94e91 Backed out changeset 27578e0cf97f (bug 959870) for webrtc test bustage. 2014-04-08 15:30:31 -04:00
Martin Thomson 7c077b748e [PATCH] Bug 959870 - Error reporting improvements to WebRTC IdP r=jib
From e1fce543ab34ddd69bb8f8efde56c45bddaa1152 Mon Sep 17 00:00:00 2001
---
 dom/events/test/test_all_synthetic_events.html     |   6 +-
 dom/media/IdpProxy.jsm                             |  10 +-
 dom/media/PeerConnection.js                        |  31 ++----
 dom/media/PeerConnectionIdp.jsm                    | 124 +++++++++++++--------
 dom/media/tests/identity/identityevent.js          |  15 +++
 dom/media/tests/identity/idp-proxy.js              |  10 +-
 dom/media/tests/identity/mochitest.ini             |   1 +
 .../tests/identity/test_getIdentityAssertion.html  |  30 +++--
 dom/media/tests/identity/test_idpproxy.html        |   7 --
 .../tests/identity/test_setIdentityProvider.html   |  25 ++++-
 .../test_setIdentityProviderWithErrors.html        |  72 +++++++++---
 dom/media/tests/mochitest/pc.js                    |  22 +++-
 dom/webidl/RTCPeerConnection.webidl                |   7 +-
 .../RTCPeerConnectionIdentityErrorEvent.webidl     |  23 ++++
 dom/webidl/moz.build                               |   1 +
 modules/libpref/src/init/all.js                    | 108 +++++++++---------
 16 files changed, 316 insertions(+), 176 deletions(-)
 create mode 100644 dom/media/tests/identity/identityevent.js
 create mode 100644 dom/webidl/RTCPeerConnectionIdentityErrorEvent.webidl
2014-03-14 11:26:19 -07:00
Peter Van der Beken c89c077c14 Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 687daf9d78e69fe6ae21f7c1a26503cf88a18b97
2014-02-15 22:12:34 +01:00
Steve Fink 12001268c0 Bug 912456 - transferable MessagePorts, r=jorendorff
--HG--
extra : rebase_source : 5b8a2a9b261c53f0ff5a860e1dc2e7ede711105f
2013-11-14 20:42:34 -08:00
Peter Van der Beken a5967a49cb Back out 75c95dac7fe0 (bug 984497) and f1b0d3d13755 (bug 990475) to fix bustage on a CLOSED TREE.
--HG--
extra : rebase_source : a63315cd428faeb95464f6ad76946d1c0c6d36c3
2014-04-07 22:18:53 +02:00
Peter Van der Beken 12b990ebb7 Bug 984497 - Use SpecialPowers more and change SpecialPower usage to deal with Window on WebIDL bindings. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : 3662ae8b0f35fefb250c9cd048e848d662863855
2014-02-15 22:12:34 +01:00
Neil Deakin f9e1db1ab8 Bug 475981, remove titles from a bunch of tests, fixing box wrapped in a block warnings,r=neil 2014-04-04 13:11:12 -04:00
Maksim Lebedev 2af751cef5 Bug 968148 - Implement PointerCapture for pointer events. r=smaug
--HG--
extra : rebase_source : 331cf187194c8827e4b75835e85b2d79fdc419c7
2014-04-04 10:09:10 -07:00
Masatoshi Kimura 994deefc67 Bug 991690 - Remove the classinfo from EventListenerInfo. r=smaug 2014-04-04 20:04:00 +09:00
Masayuki Nakano a648e11112 Bug 990855 part.1 Export TextComposition.h as mozilla/TextComposition.h r=smaug 2014-04-03 13:18:37 +09:00
Masayuki Nakano abcc0ccd99 Bug 989214 Rename nsPaintRequest to mozilla::dom::PaintRequest r=smaug
--HG--
rename : dom/events/nsPaintRequest.cpp => dom/events/PaintRequest.cpp
rename : dom/events/nsPaintRequest.h => dom/events/PaintRequest.h
2014-04-03 13:18:37 +09:00
Masayuki Nakano 3cc4e99fc0 Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
Matthew Gregan 69f11197c5 Bug 927245 - Remove deprecated Audio Data API implementation. r=cajbir,smaug 2014-04-03 10:53:39 +13:00
Daniel Holbert 6ede97af2d Bug 984786 part 4: Give NS_INLINE_DECL_*REFCOUNTING classes private/protected destructor & MOZ_FINAL annotation where appropriate, in /dom. r=smaug 2014-04-02 09:21:03 -07:00
Masayuki Nakano d1419e8935 Bug 984253 part.4 Rename nsJSEventListener to mozilla::JSEventHandler r=smaug 2014-04-02 11:00:46 +09:00
Masayuki Nakano 41ae81eb58 Bug 984253 part.3 Rename nsEventHandler to mozilla::TypedEventHandler r=smaug 2014-04-02 11:00:45 +09:00
Masayuki Nakano 76ada5fabb Bug 984253 part.2 Merge nsIJSEventListener and nsJSEventListener r=smaug, sr=jst 2014-04-02 11:00:45 +09:00
Masayuki Nakano 3dd3b64ce7 Bug 984253 part.1 Rename nsJSEventListener.(cpp|h) to JSEventHandler.(cpp|h) r=smaug
--HG--
rename : dom/events/nsJSEventListener.cpp => dom/events/JSEventHandler.cpp
rename : dom/events/nsJSEventListener.h => dom/events/JSEventHandler.h
2014-04-02 11:00:45 +09:00
Masayuki Nakano 54fb2f6994 Bug 989213 part.3 Rename nsVKList.h to mozilla/VirtualKeyCodeList.h r=smaug
--HG--
rename : dom/events/nsVKList.h => dom/events/VirtualKeyCodeList.h
2014-04-01 20:42:16 +09:00
Masayuki Nakano f7c91f6586 Bug 989213 part.2 Rename nsEventNameList.h to mozilla/EventNameList.h r=smaug
--HG--
rename : dom/events/nsEventNameList.h => dom/events/EventNameList.h
2014-04-01 20:42:12 +09:00
Masayuki Nakano 614e03df2e Bug 989213 part.1 Rename nsDOMKeyNameList.h to mozilla/KeyNameList.h r=smaug
--HG--
rename : dom/events/nsDOMKeyNameList.h => dom/events/KeyNameList.h
2014-04-01 20:42:11 +09:00
Masayuki Nakano 930436ef24 Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Masayuki Nakano 1c29b58f39 Bug 984271 part.4 Move the all other stuff in EventStateManager.cpp into mozilla:: namespace r=smaug 2014-04-01 13:09:24 +09:00
Masayuki Nakano df31146979 Bug 984271 part.3 Move OverOutElementsWrapper into mozilla:: namespace r=smaug 2014-04-01 13:09:24 +09:00
Masayuki Nakano f6885469a0 Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Masayuki Nakano c76dd7f7e7 Bug 984271 part.1-4 Clean up WheelHandlingHelper.cpp r=smaug 2014-04-01 13:09:22 +09:00
Masayuki Nakano e870849231 Bug 984271 part.1-3 Rename nsMouseWheelTransaction to mozilla::WheelTransaction r=smaug 2014-04-01 13:09:22 +09:00
Masayuki Nakano 4eed6134a2 Bug 984271 part.1-2 Rename nsScrollbarsForWheel to mozilla::ScrollbarsForWheel r=smaug 2014-04-01 13:09:22 +09:00
Masayuki Nakano 1ddce7fa83 Bug 984271 part.1-1 Separate mouse wheel handling helper classes and methods from nsEventStateManager.cpp r=smaug
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/WheelHandlingHelper.cpp
rename : dom/events/nsEventStateManager.cpp => dom/events/WheelHandlingHelper.h
2014-04-01 13:09:22 +09:00
Masatoshi Kimura e65d66c52e Bug 980134 - Hide DataContainerEvent from content. r=smaug 2014-03-31 06:28:00 +09:00
Bill McCloskey 5b29cb7fe3 Bug 986685 - [e10s] Disable some DOM tests (r=smaug) 2014-03-28 11:25:19 -07:00
Birunthan Mohanathas bc35004647 Bug 987320 - Remove unnecessary null checks for do_QueryFrame arguments. r=bz 2014-03-25 11:36:49 -04:00
Bobby Holley d54e0e9a5f Bug 986304 - Remove the scope object machinery attached to nsIJSEventListener. r=bz,f=smaug 2014-03-21 23:31:03 -03:00
Bobby Holley 917d0952c8 Bug 986304 - Stop using (and kill) BindCompileEventHandler. r=bz 2014-03-21 23:31:02 -03:00
Bobby Holley 18d443dc8b Bug 986304 - Compile the event handler directly with the target as the scope object. r=bz 2014-03-21 23:31:02 -03:00
Bobby Holley cd41204f0c Bug 986304 - Enter the compartment of the target directly. r=bz 2014-03-21 23:31:02 -03:00
Bobby Holley b618a57b34 Bug 986304 - MOZ_ASSERT the need for compilation in CompileEventHandlerInternal, and remove useless conditionals. r=bz
The unindentations here are clean - no changes.
2014-03-21 23:31:02 -03:00
Olli Pettay a567ff2d04 Bug 985988, event handlers should update preventDefault flag similar way to event.preventDefault(), r=masayuki
--HG--
extra : rebase_source : f82af82dfd290fbba851eda5dceebcd1911ef72b
2014-03-21 19:46:15 +02:00
Aleh Zasypkin aa3bfb35c2 Bug 984004 - Part 2: Immediately update %label on reset. r=felipc 2014-03-19 10:25:17 +01:00
Tom Schuster b09a3efb7b Bug 355430 - Test. r=bz 2014-03-20 16:46:29 +01:00
Tom Schuster e9d2f3e9ee Bug 355430 - Add the column to the error event. r=bz 2014-03-20 16:46:28 +01:00
Tom Schuster 3f0943f577 Bug 355430 - Add the thrown error object to the dom error event. r=bz 2014-01-03 01:04:15 +00:00
Bob Owen fe9c96c90a Bug 978042 - Part 1: AutoPushJSContext in nsEventListenerManager::CompileEventHandlerInternal. r=bholley 2014-03-19 11:08:13 +00:00
Bobby Holley 3a4162f31f Bug 825392 - Parent Touch objects to the EventTarget's global. r=bz 2014-03-19 13:35:45 -03:00