Commit Graph

186 Commits

Author SHA1 Message Date
Boris Zbarsky
fdbb455d4f 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
3f26a82832 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
56745df22c Backed out changeset 27578e0cf97f (bug 959870) for webrtc test bustage. 2014-04-08 15:30:31 -04:00
Martin Thomson
2ac58150d3 [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
94d6fed69a 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
730aa23053 Bug 912456 - transferable MessagePorts, r=jorendorff
--HG--
extra : rebase_source : 5b8a2a9b261c53f0ff5a860e1dc2e7ede711105f
2013-11-14 20:42:34 -08:00
Peter Van der Beken
f8dd810da5 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
3d1f466234 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
ba71f5497a 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
518ac59f91 Bug 968148 - Implement PointerCapture for pointer events. r=smaug
--HG--
extra : rebase_source : 331cf187194c8827e4b75835e85b2d79fdc419c7
2014-04-04 10:09:10 -07:00
Masatoshi Kimura
892a2221f8 Bug 991690 - Remove the classinfo from EventListenerInfo. r=smaug 2014-04-04 20:04:00 +09:00
Masayuki Nakano
b6e410dfc1 Bug 990855 part.1 Export TextComposition.h as mozilla/TextComposition.h r=smaug 2014-04-03 13:18:37 +09:00
Masayuki Nakano
e431113dee 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
5c4524957a 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
ced956736c Bug 927245 - Remove deprecated Audio Data API implementation. r=cajbir,smaug 2014-04-03 10:53:39 +13:00
Daniel Holbert
9d95b47d75 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
32ead5cb46 Bug 984253 part.4 Rename nsJSEventListener to mozilla::JSEventHandler r=smaug 2014-04-02 11:00:46 +09:00
Masayuki Nakano
a5632ff179 Bug 984253 part.3 Rename nsEventHandler to mozilla::TypedEventHandler r=smaug 2014-04-02 11:00:45 +09:00
Masayuki Nakano
45e73fa02b Bug 984253 part.2 Merge nsIJSEventListener and nsJSEventListener r=smaug, sr=jst 2014-04-02 11:00:45 +09:00
Masayuki Nakano
4ec68bb60d 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
ad08b39137 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
3d27c3d4fb 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
d8af96d31b 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
b185105992 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
435beeb6dd 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
0e807881d8 Bug 984271 part.3 Move OverOutElementsWrapper into mozilla:: namespace r=smaug 2014-04-01 13:09:24 +09:00
Masayuki Nakano
a63f35fff1 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
d1893fdbfc Bug 984271 part.1-4 Clean up WheelHandlingHelper.cpp r=smaug 2014-04-01 13:09:22 +09:00
Masayuki Nakano
dd7792a494 Bug 984271 part.1-3 Rename nsMouseWheelTransaction to mozilla::WheelTransaction r=smaug 2014-04-01 13:09:22 +09:00
Masayuki Nakano
c76b25b43a Bug 984271 part.1-2 Rename nsScrollbarsForWheel to mozilla::ScrollbarsForWheel r=smaug 2014-04-01 13:09:22 +09:00
Masayuki Nakano
adf269a32a 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
e407e8d737 Bug 980134 - Hide DataContainerEvent from content. r=smaug 2014-03-31 06:28:00 +09:00
Bill McCloskey
00a11ab235 Bug 986685 - [e10s] Disable some DOM tests (r=smaug) 2014-03-28 11:25:19 -07:00
Birunthan Mohanathas
7ac995a949 Bug 987320 - Remove unnecessary null checks for do_QueryFrame arguments. r=bz 2014-03-25 11:36:49 -04:00
Bobby Holley
653713b343 Bug 986304 - Remove the scope object machinery attached to nsIJSEventListener. r=bz,f=smaug 2014-03-21 23:31:03 -03:00
Bobby Holley
615c77320d Bug 986304 - Stop using (and kill) BindCompileEventHandler. r=bz 2014-03-21 23:31:02 -03:00
Bobby Holley
9ec0cadd8f 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
ae2fcda27d Bug 986304 - Enter the compartment of the target directly. r=bz 2014-03-21 23:31:02 -03:00
Bobby Holley
5a65d7ab41 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
f3870cd2bf 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
5ce9b3de33 Bug 984004 - Part 2: Immediately update %label on reset. r=felipc 2014-03-19 10:25:17 +01:00
Tom Schuster
b0f81b1c4b Bug 355430 - Test. r=bz 2014-03-20 16:46:29 +01:00
Tom Schuster
944726259f Bug 355430 - Add the column to the error event. r=bz 2014-03-20 16:46:28 +01:00
Tom Schuster
ad8ab9d784 Bug 355430 - Add the thrown error object to the dom error event. r=bz 2014-01-03 01:04:15 +00:00
Bob Owen
54871d21fd Bug 978042 - Part 1: AutoPushJSContext in nsEventListenerManager::CompileEventHandlerInternal. r=bholley 2014-03-19 11:08:13 +00:00
Bobby Holley
aed69fbf98 Bug 825392 - Parent Touch objects to the EventTarget's global. r=bz 2014-03-19 13:35:45 -03:00
Nathan Froyd
d51dd1083a Bug 984538 - use static_cast in NS_NewDOM*Event rather than CallQueryInterface; r=smaug 2014-03-17 16:00:11 -04:00
Masayuki Nakano
064ad73796 Bug 983049 part.6 Move remaining stuff in EventDispatcher.cpp into mozilla namespace r=smaug 2014-03-18 13:48:22 +09:00
Masayuki Nakano
b7a8d4a392 Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00
Masayuki Nakano
bdfb32e049 Bug 983049 part.4 Rename nsDispatchingCallback to mozilla::EventDispatchingCallback r=smaug 2014-03-18 13:48:20 +09:00