Commit Graph

51 Commits

Author SHA1 Message Date
Olli Pettay
0ae9783b83 Bug 1177406, don't rely on owner to be set only on main thread, r=khuey 2015-06-25 09:26:09 -07:00
Kathy Brade
d3a1d9ec91 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
c0857e1314 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
92010d3e4c Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Mike Hommey
338d086ead 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
3a822d99b4 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
c507128d0a Bug 1143972. Return 0,0 for offsetX/Y when the document has no presentation. r=mats 2015-03-18 02:04:32 +13:00
Robert O'Callahan
6ffe4a76c2 Bug 69787. Implement MouseEvent.offsetX/Y. r=mats,smaug 2015-03-14 00:50:10 +13:00
Boris Zbarsky
153d72489b 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
6fccbd88ee Bug 1125040: Use LayoutDeviceIntPoint for GetScreenCoords r=botond 2015-02-15 13:52:28 -05:00
David Zbarsky
520ac2cad8 Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Phil Ringnalda
8ff441aa5a Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
baa5df4d99 Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-01 17:27:41 -05:00
David Zbarsky
1e37e03e20 Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond 2015-02-01 17:27:31 -05:00
Olli Pettay
d60b6b522f 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
1b3080a152 Bug 910532 part 1 - Add flag to indicate prevent default from chrome. r=smaug 2015-01-21 12:16:04 +11:00
Karl Tomlinson
81f27dcc18 bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn 2014-11-14 00:53:02 +13:00
Karl Tomlinson
7c9679f5c0 backout bug 1096132 for Mac build failure 2014-11-12 16:02:34 +13:00
Karl Tomlinson
109558977b bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn 2014-11-08 17:48:14 +13:00
Olli Pettay
06108e2665 Bug 1084421 - Only Events with a wrapper should trigger GC more likely, r=mccr8 2014-10-18 02:16:58 +03:00
Olli Pettay
7ca90b0609 Bug 874050, Make Nofification's click event cancelable, r=wchen 2014-10-15 17:48:04 +03:00
Peter Van der Beken
3467274091 Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz. 2014-10-07 11:44:49 +02:00
Boris Zbarsky
0a690e6f25 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
28c53fefea Bug 887541 - Implement web components event path and event retargeting. r=smaug 2014-08-26 20:19:56 -07:00
Masayuki Nakano
b2c672be43 Bug 1046101 part.32 Rename NS_EVENT to eBasicEventClass r=smaug 2014-08-04 14:28:58 +09:00
Masayuki Nakano
2beb9ff235 Bug 1046101 part.31 Rename NS_MUTATION_EVENT to eMutationEventClass r=smaug 2014-08-04 14:28:57 +09:00
Masayuki Nakano
d8f7616305 Bug 1046101 part.23 Rename NS_CLIPBOARD_EVENT to eClipboardEventClass r=smaug 2014-08-04 14:28:55 +09:00
Masayuki Nakano
12963f05fd Bug 1046101 part.22 Rename NS_FOCUS_EVENT to eFocusEventClass r=smaug 2014-08-04 14:28:54 +09:00
Masayuki Nakano
01322f5203 Bug 1046101 part.21 Rename NS_FORM_EVENT to eFormEventClass r=smaug 2014-08-04 14:28:54 +09:00
Masayuki Nakano
aef16cc9e8 Bug 1046101 part.18 Rename NS_TOUCH_EVENT to eTouchEventClass r=smaug 2014-08-04 14:28:53 +09:00
Masayuki Nakano
37270be41d Bug 1046101 part.17 Rename NS_SIMPLE_GESTURE_EVENT to eSimpleGestureEventClass r=smaug 2014-08-04 14:28:53 +09:00
Masayuki Nakano
77abd82a1d Bug 1046101 part.15 Rename NS_POINTER_EVENT to ePointerEventClass r=smaug 2014-08-04 14:28:52 +09:00
Masayuki Nakano
f5e2bfbc11 Bug 1046101 part.14 Rename NS_WHEEL_EVENT to eWheelEventClass r=smaug 2014-08-04 14:28:51 +09:00
Masayuki Nakano
33d41fbea1 Bug 1046101 part.13 Rename NS_MOUSE_SCROLL_EVENT to eMouseScrollEventClass r=smaug 2014-08-04 14:28:51 +09:00
Masayuki Nakano
2a8c28bf10 Bug 1046101 part.12 Rename NS_DRAG_EVENT to eDragEventClass r=smaug 2014-08-04 14:28:50 +09:00
Masayuki Nakano
a2b2e249bb Bug 1046101 part.11 Rename NS_MOUSE_EVENT to eMouseEventClass r=smaug 2014-08-04 14:28:50 +09:00
Masayuki Nakano
0a4acd2719 Bug 1046101 part.10 Rename NS_EDITOR_INPUT_EVENT to eEditorInputEventClass r=smaug 2014-08-04 14:28:49 +09:00
Masayuki Nakano
431e57750e Bug 1046101 part.5 Rename NS_KEY_EVENT to eKeyboardEventClass r=smaug 2014-08-04 14:28:48 +09:00
Masayuki Nakano
c190413e8a Bug 1046101 part.3 Rename NS_INPUT_EVENT to eInputEventClass r=smaug 2014-08-04 14:28:47 +09:00
Masayuki Nakano
5dac7e446a Bug 1046101 part.1 Rename nsEventStructType to mozilla::EventClassID r=smaug 2014-08-04 14:28:46 +09:00
Olli Pettay
ceecbabda4 Bug 998809 - WidgetEvent::typeString is not always set correctly , r=masayuki 2014-06-17 01:59:54 +03:00
Carsten "Tomcat" Book
3ef0d299d9 Backed out changeset 287aa2e3cab0 (bug 998809) for xpcshell and mochitest 2 test failures 2014-06-16 14:38:50 +02:00
Olli Pettay
fa6f3c93d4 Bug 998809 - WidgetEvent::typeString is not always set correctly, r=masayuki 2014-06-16 12:08:29 +03:00
Brian Birtles
2047276501 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
348e1f4214 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
bf143f35db Bug 993253 Implement DOM InputEvent interface with isComposing attribute r=smaug+ehsan 2014-04-10 16:11:37 +09:00
Masayuki Nakano
d45cad9b30 Bug 989213 part.2 Rename nsEventNameList.h to mozilla/EventNameList.h r=smaug 2014-04-01 20:42:12 +09:00
Masayuki Nakano
2a76e478e7 Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug 2014-04-01 15:13:50 +09:00
Masayuki Nakano
c50afb64af Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug 2014-04-01 13:09:23 +09:00
Nathan Froyd
c29a24516f Bug 984538 - use static_cast in NS_NewDOM*Event rather than CallQueryInterface; r=smaug 2014-03-17 16:00:11 -04:00