Boris Zbarsky
e3b2de6aa9
Bug 1255817 part 2. Get rid of AutoJSAPI::OwnsErrorReporting and AutoJSAPI::TakeOwnershipOfErrorReporting. r=bholley
2016-03-23 11:44:54 -04:00
Masayuki Nakano
cea0b9cf02
Bug 1256589 part.6 Move the implementation of IsTrusted() from dom::Event to WidgetEvent r=smaug
...
MozReview-Commit-ID: 1SgMbTL8csl
--HG--
extra : rebase_source : 748fa8a594176edf7b2addd038b8031019d0dd35
extra : source : f4ce36e68ce06c405a6fab31facc120b94709aed
2016-03-17 16:01:30 +09:00
Masayuki Nakano
8c8cbe0e4c
Bug 1256589 part.5 Add DefaultPrevented() and DefaultPreventedByContent() to WidgetEvent r=smaug
...
MozReview-Commit-ID: 5q3QUPTf12Z
--HG--
extra : rebase_source : 83ed946b44910713a61c80bd21202aba9430dd2a
extra : source : 4eb2193814ab1958a65add0c8c307d07c646d61c
2016-03-22 16:47:52 +09:00
Masayuki Nakano
6181d95afb
Bug 1256589 part.4 Move the implementation of PreventDefault() and add PreventDefaultBeforeDispatch() from dom::Event to WidgetEvent r=smaug
...
mDefaultPreventedByChrome is hacky. When PresShell handles Escape key events in fullscreen mode, it prevents default of every Escape key events and dispatch it only into chrome. After that, it check mDefaultPreventedByChrome if at least one call of preventDefault() occurred in chrome. Therefore, if we shouldn't set both mDefaultPreventedByChrome and mDefaultPreventedByContent to true before dispatching an event. This the reason why we need a special method, PreventDefaultBeforeDispatch() is needed for setting only mDefaultPrevented to true.
MozReview-Commit-ID: BPSq68GnWw6
--HG--
extra : rebase_source : f2f963afeba6994cc090efedebc29c0d9334c96d
extra : source : 1012dc095cc1b7236991a7befdbfbf174dc1c1af
2016-03-22 16:26:27 +09:00
Timothy Nikkel
cd3746d910
Bug 1253052. Only schedule paint when apz aware event listener is added if event regions/apz are enabled. r=kats
...
Bug 1210057 added this, we should only do it if apz/event regions are enabled.
2016-03-03 15:52:09 -06:00
Xidorn Quan
775aed278a
Bug 743198 part 6 - Add unprefixed fullscreen events. r=smaug
...
--HG--
extra : source : cb096452899287cb35b51146d2f2ffc3dc26350f
2016-02-17 08:47:11 +08:00
Xidorn Quan
8bc3b5685b
Bug 743198 part 5 - Check legacy event listener only if listener is found in the current group. r=smaug
...
--HG--
extra : source : b141db892428ebcbc2dbf213aea759aa88f6e8bf
2016-02-17 08:47:11 +08:00
Timothy Nikkel
144bb37d6e
Bug 1210057. Schedule a paint when an apz aware event listener is added so that event regions on the layer tree get updated. r=smaug
2016-02-10 17:47:59 -06:00
Daniel Holbert
b5aec0f2e7
Bug 1243555: Remove unnecessary nsDocShell static_cast in EventListenerManager::HandleEventInternal(). r=smaug
2016-02-09 15:21:36 -08:00
Daniel Holbert
bbdaa0ddbd
Bug 1236979 part 3: If there are no listeners for a transition or animation event, check listeners again using a webkit-prefixed event name. r=smaug
2016-02-02 10:03:49 -08:00
Daniel Holbert
2eb04f5120
backout bug 1236979 (changesets 2f4de652525e, d7136545a16e, f62e6638add1, f8b1e085b161) for xpcshell test failures
2016-02-01 21:57:38 -08:00
Daniel Holbert
054ab955e4
Bug 1236979 part 3: If there are no listeners for a transition or animation event, check listeners again using a webkit-prefixed event name. r=smaug
2016-02-01 19:05:12 -08:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Eugen Sawin
e8d1a957e9
Bug 1205649 - [2.4] Add AbsoluteDeviceOrientation DOM event for compass heading orientation data. r=smaug
2016-01-21 18:14:33 +01:00
Eugen Sawin
a1f5f13b6b
Bug 1205649 - [1.1] Use relative orientation for DOM DeviceOrientation events by default. r=vlad
2016-01-21 18:14:33 +01:00
Eugen Sawin
c927fec54a
Bug 1073224 - [1.2] Use SENSOR_ROTATION_VECTOR for DOM DeviceOrientation events on Android. r=vlad
2016-01-07 15:23:33 +01:00
Kyle Huey
449fd40516
Bug 1153636: Don't assert with addEventListener("") on workers. r=smaug
2016-01-06 13:18:29 -08:00
Carsten "Tomcat" Book
758c43af6b
merge mozilla-inbound to mozilla-central a=merge
2015-10-26 10:57:35 +01:00
Victor Porof
9dc0ce6b1a
Bug 1202657 - Add markers for workers' message passing and serialization/deserialization, r=smaug, jsantell, tromey, ejpbruel
...
--HG--
rename : docshell/base/timeline/OTMTMarkerReceiver.h => docshell/base/timeline/MarkersStorage.h
2015-10-21 23:10:05 +02:00
William Chen
16cbe794df
Bug 920734 - Part 1: Implement window.orientation and window.onorientationchange. r=baku
...
--HG--
extra : rebase_source : 1ca2e3a29733762d4bb2c335a0d6fcf5d7b03c0f
2015-10-23 21:37:28 -07:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Christoph Kerschbaumer
ac507e201c
Bug 1026520 - CSP: Inline report sending into allows - callsite updates (r=dveditz)
2015-09-17 22:34:34 -07:00
Olli Pettay
68663347da
Bug 1205466
, make HasApzAwareListeners check faster, r=masayuki
...
--HG--
extra : rebase_source : 41c94b02117a09785938349dc9ad513af9bf048b
2015-09-17 13:16:20 +03:00
Masayuki Nakano
28e9bfed09
Bug 895274 part.228 Rename NS_DEVICE_LIGHT to eDeviceLight r=smaug
2015-09-12 01:19:29 +09:00
Masayuki Nakano
899fffeb6b
Bug 895274 part.227 Rename NS_USER_PROXIMITY to eUserProximity r=smaug
2015-09-12 01:19:28 +09:00
Masayuki Nakano
ab55bf9a3f
Bug 895274 part.226 Rename NS_DEVICE_PROXIMITY to eDeviceProximity r=smaug
2015-09-12 01:19:28 +09:00
Masayuki Nakano
d8412db0d9
Bug 895274 part.225 Rename NS_DEVICE_MOTION to eDeviceMotion r=smaug
2015-09-12 01:19:28 +09:00
Masayuki Nakano
6cde63ca22
Bug 895274 part.224 Rename NS_DEVICE_ORIENTATION to eDeviceOrientation r=smaug
2015-09-12 01:19:28 +09:00
Masayuki Nakano
585a5b420d
Bug 895274 part.208 Rename NS_NETWORK_UPLOAD_EVENT to eNetworkUpload r=smaug
2015-09-12 01:19:26 +09:00
Masayuki Nakano
a7aae5c117
Bug 895274 part.207 Rename NS_NETWORK_DOWNLOAD_EVENT to eNetworkDownload r=smaug
2015-09-12 01:19:26 +09:00
Masayuki Nakano
b16155d584
Bug 895274 part.206 Rename NS_MOZ_TIME_CHANGE_EVENT to eTimeChange r=smaug
2015-09-12 01:19:25 +09:00
Masayuki Nakano
82117e2ac8
Bug 895274 part.205 Rename NS_GAMEPAD_END to eGamepadEventLast r=smaug
2015-09-11 21:21:28 +09:00
Masayuki Nakano
3b99f4a9ec
Bug 895274 part.204 Rename NS_GAMEPAD_START to eGamepadEventFirst r=smaug
2015-09-11 21:21:28 +09:00
Masayuki Nakano
e949683492
Bug 895274 part.160 Rename NS_AFTERPAINT to eAfterPaint r=smaug
2015-09-10 10:40:06 +09:00
Masayuki Nakano
35cc2a0a26
Bug 895274 part.149 Rename NS_USER_DEFINED_EVENT to eUnidentifiedEvent r=smaug
2015-09-10 10:40:04 +09:00
Masayuki Nakano
de2ad54f6b
Bug 895274 part.103 Rename NS_MUTATION_END to eLegacyMutationEventLast r=smaug
2015-09-07 23:55:51 +09:00
Masayuki Nakano
25e0050d19
Bug 895274 part.102 Rename NS_MUTATION_ATTRMODIFIED to eLegacyAttrModified r=smaug
2015-09-07 23:55:51 +09:00
Masayuki Nakano
fbba1e8b07
Bug 895274 part.101 Rename NS_MUTATION_NODEREMOVED to eLegacyNodeRemoved r=smaug
2015-09-07 23:55:51 +09:00
Masayuki Nakano
8c49cf7363
Bug 895274 part.100 Rename NS_MUTATION_NODEINSERTED to eLegacyNodeInserted r=smaug
2015-09-07 23:55:51 +09:00
Masayuki Nakano
26cb9fd5f6
Bug 895274 part.99 Rename NS_MUTATION_SUBTREEMODIFIED to eLegacySubtreeModified r=smaug
2015-09-07 23:55:51 +09:00
Masayuki Nakano
0cff7052de
Bug 895274 part.98 Rename NS_MUTATION_CHARACTERDATAMODIFIED to eLegacyCharacterDataModified r=smaug
2015-09-07 23:55:50 +09:00
Masayuki Nakano
4ed6ebbbe0
Bug 895274 part.97 Rename NS_MUTATION_NODEREMOVEDFROMDOCUMENT to eLegacyNodeRemovedFromDocument r=smaug
2015-09-07 23:55:50 +09:00
Masayuki Nakano
f39e20ec37
Bug 895274 part.96 Rename NS_MUTATION_START to eLegacyMutationEventFirst r=smaug
2015-09-07 23:55:50 +09:00
Masayuki Nakano
1636a8eba2
Bug 895274 part.95 Rename NS_MUTATION_NODEINSERTEDINTODOCUMENT to eLegacyNodeInsertedIntoDocument r=smaug
2015-09-07 23:55:50 +09:00
Masayuki Nakano
6421cfec57
Bug 895274 part.60 Rename NS_PAGE_UNLOAD to eUnload r=smaug
2015-09-02 15:07:59 +09:00
Masayuki Nakano
652d2361c7
Bug 895274 part.55 Rename NS_BEFORE_PAGE_UNLOAD to eBeforeUnload r=smaug
2015-09-02 15:07:59 +09:00
Ryan VanderMeulen
1022db7d1e
Merge m-c to inbound. a=merge
2015-08-31 15:22:43 -04:00
Victor Porof
e14eb49e91
Bug 1195232 - Stop using TracingMetadata from GeckoProfiler.h, r=tromey
2015-08-31 16:14:14 +02:00
Victor Porof
c78fbabbef
Bug 1195838 - Maintain all the TimelineMarker subclasses in a single place, r=tromey
2015-08-31 14:56:37 +02:00
Victor Porof
4ce24e2588
Bug 1194707 - Remove the docshell param from TimelineMarker constructors, r=tromey
2015-08-31 11:42:35 +02:00