Masayuki Nakano
66f2c27305
Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug
2015-08-22 10:34:51 +09:00
Aryeh Gregor
5aeef0231d
Bug 874842 - Return Event instead of nsIDOMEvent
2015-08-12 14:39:31 +03:00
Olli Pettay
0c45c2cb42
Bug 1177406, don't rely on owner to be set only on main thread, r=khuey
...
--HG--
extra : rebase_source : 6121b2194f3cc8ec0984d697367fcbc2cf2e50ca
2015-06-25 09:26:09 -07:00
Kathy Brade
8b3f3fad35
Bug 418986 - Resist fingerprinting by preventing exposure of screen and system info. r=mrbkap, r=heycam
2015-06-07 09:02:00 -04:00
George Wright
4e327f57b4
Bug 1119074 - If we're stopping event propagation from XUL popups, also stop them from crossing process boundaries r=smaug,felipe
2015-05-25 16:54:13 -04:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Mike Hommey
b077d9624d
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Boris Zbarsky
dc24477d79
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Robert O'Callahan
fc9c32b6a2
Bug 1143972. Return 0,0 for offsetX/Y when the document has no presentation. r=mats
...
--HG--
extra : rebase_source : a80f1aa79a94ec48342b127fae35022eb3978835
2015-03-18 02:04:32 +13:00
Robert O'Callahan
843379803a
Bug 69787. Implement MouseEvent.offsetX/Y. r=mats,smaug
...
--HG--
extra : rebase_source : 0120fa29fb94c1c2f992b4e3bae63c5120b90f4b
2015-03-14 00:50:10 +13:00
Boris Zbarsky
de2aa3786f
Bug 1135151. Add a WrapNativeParent specialization for the nsIGlobalObject case, and make Event return nsIGlobalObject as its parent object. r=smaug
2015-02-23 10:03:40 -05:00
David Zbarsky
8d01c7e428
Bug 1125040: Use LayoutDeviceIntPoint for GetScreenCoords r=botond
2015-02-15 13:52:28 -05:00
David Zbarsky
c73ec42d2d
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-04 15:21:03 -05:00
Phil Ringnalda
7b3840d642
Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
...
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
7d34edce07
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-01 17:27:41 -05:00
David Zbarsky
58a982f86b
Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond
2015-02-01 17:27:31 -05:00
Olli Pettay
faee2dfe7e
Bug 1079236, Event.composedTarget to reveal the original non-native-anonymous event target, r=wchen, r=smaug
2015-01-23 13:55:46 +02:00
Xidorn Quan
589c303536
Bug 910532 part 1 - Add flag to indicate prevent default from chrome. r=smaug
...
--HG--
extra : source : 0c9290ce08d739394df1787a05beff8dfddb1b4e
2015-01-21 12:16:04 +11:00
Karl Tomlinson
ed15675b8b
bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
...
--HG--
extra : rebase_source : 220ede5d449a752c16064bb77905bc68af3df707
2014-11-14 00:53:02 +13:00
Karl Tomlinson
a3ba9b4cb5
backout bug 1096132 for Mac build failure
...
--HG--
extra : rebase_source : 6994fe50e8fb1a4f89298e1b9ad1c714acdfe39e
2014-11-12 16:02:34 +13:00
Karl Tomlinson
4b187d31fa
bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
...
--HG--
extra : rebase_source : 113b249f2cb6f1619e0b1a495655726b5100038b
2014-11-08 17:48:14 +13:00
Olli Pettay
3b8be5cd0d
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
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
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
Boris Zbarsky
67df248e76
Bug 908390 followup. Fix up event timestamps on workers, and enable the test that was supposed to test for it. r=khuey pending
2014-08-30 00:56:35 -04:00
William Chen
79093724dc
Bug 887541 - Implement web components event path and event retargeting. r=smaug
2014-08-26 20:19:56 -07:00
Masayuki Nakano
674bfd5763
Bug 1046101 part.32 Rename NS_EVENT to eBasicEventClass r=smaug
2014-08-04 14:28:58 +09:00
Masayuki Nakano
d07040e4ef
Bug 1046101 part.31 Rename NS_MUTATION_EVENT to eMutationEventClass r=smaug
2014-08-04 14:28:57 +09:00
Masayuki Nakano
53aa82be8c
Bug 1046101 part.23 Rename NS_CLIPBOARD_EVENT to eClipboardEventClass r=smaug
2014-08-04 14:28:55 +09:00
Masayuki Nakano
2949e98f35
Bug 1046101 part.22 Rename NS_FOCUS_EVENT to eFocusEventClass r=smaug
2014-08-04 14:28:54 +09:00
Masayuki Nakano
3eb2fc2dd8
Bug 1046101 part.21 Rename NS_FORM_EVENT to eFormEventClass r=smaug
2014-08-04 14:28:54 +09:00
Masayuki Nakano
fbbc8bd11e
Bug 1046101 part.18 Rename NS_TOUCH_EVENT to eTouchEventClass r=smaug
2014-08-04 14:28:53 +09:00
Masayuki Nakano
d9a2d921e1
Bug 1046101 part.17 Rename NS_SIMPLE_GESTURE_EVENT to eSimpleGestureEventClass r=smaug
2014-08-04 14:28:53 +09:00
Masayuki Nakano
c9d54dc014
Bug 1046101 part.15 Rename NS_POINTER_EVENT to ePointerEventClass r=smaug
2014-08-04 14:28:52 +09:00
Masayuki Nakano
2865bbac55
Bug 1046101 part.14 Rename NS_WHEEL_EVENT to eWheelEventClass r=smaug
2014-08-04 14:28:51 +09:00
Masayuki Nakano
eaf5518352
Bug 1046101 part.13 Rename NS_MOUSE_SCROLL_EVENT to eMouseScrollEventClass r=smaug
2014-08-04 14:28:51 +09:00
Masayuki Nakano
fb7f2d78af
Bug 1046101 part.12 Rename NS_DRAG_EVENT to eDragEventClass r=smaug
2014-08-04 14:28:50 +09:00
Masayuki Nakano
5a96c29b49
Bug 1046101 part.11 Rename NS_MOUSE_EVENT to eMouseEventClass r=smaug
2014-08-04 14:28:50 +09:00
Masayuki Nakano
c86688937d
Bug 1046101 part.10 Rename NS_EDITOR_INPUT_EVENT to eEditorInputEventClass r=smaug
2014-08-04 14:28:49 +09:00
Masayuki Nakano
aaf3fac323
Bug 1046101 part.5 Rename NS_KEY_EVENT to eKeyboardEventClass r=smaug
2014-08-04 14:28:48 +09:00
Masayuki Nakano
f34a1f1968
Bug 1046101 part.3 Rename NS_INPUT_EVENT to eInputEventClass r=smaug
2014-08-04 14:28:47 +09:00
Masayuki Nakano
00f048e7cd
Bug 1046101 part.1 Rename nsEventStructType to mozilla::EventClassID r=smaug
2014-08-04 14:28:46 +09:00
Olli Pettay
af1549a12d
Bug 998809 - WidgetEvent::typeString is not always set correctly , r=masayuki
2014-06-17 01:59:54 +03:00
Carsten "Tomcat" Book
018685a11e
Backed out changeset 287aa2e3cab0 (bug 998809) for xpcshell and mochitest 2 test failures
2014-06-16 14:38:50 +02:00
Olli Pettay
9ecc91cacc
Bug 998809 - WidgetEvent::typeString is not always set correctly, r=masayuki
2014-06-16 12:08:29 +03:00
Brian Birtles
6921a7e9f8
Bug 77992 part 3 - Make event.timeStamp return a DOMHighResTimeStamp; r=bz
...
Even when dom.event.highrestimestamp.enabled is false and we should return
a DOMTimeStamp (=unsigned long long), we still just return a double since that's
what would happen anyway when we convert the DOMTimeStamp to a Javascript
Number and it simplifies the code significantly to just always return a double.
2014-06-06 14:29:49 +09:00
Brian Birtles
9247e28790
Bug 77992 part 2 - Make event.timeStamp use TimeStamp value based on a pref; r=smaug
...
Note that this pref isn't fully live since the timeStamp member of the event
interface is [Pure] and so values will be cached.
2014-06-06 14:29:49 +09:00
Masayuki Nakano
ecab2beca9
Bug 993253 Implement DOM InputEvent interface with isComposing attribute r=smaug+ehsan
2014-04-10 16:11:37 +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
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