Tom Ritter
d6e36d7aab
Bug 1443943 Do not clamp/jitter event timestamps if it's a system principal r=baku
...
MozReview-Commit-ID: KvVJpvu4elN
--HG--
extra : rebase_source : fb2369944951ed9fbe9da6b6633b5dcf7f335449
2018-03-09 10:00:23 -06:00
Boris Zbarsky
8b2e5c1850
Bug 1444004. Implement Event.prototype.srcElement as an alias for .target, nightly-only. r=smaug
...
MozReview-Commit-ID: JhKdc07CVsL
2018-03-07 23:38:14 -05:00
Boris Zbarsky
15f6ca70fd
Backed out changeset 52d86f152c2d because it included bits that shouldn't have been in there leading to a CLOSED TREE.
...
MozReview-Commit-ID: KWl43hdIGN2
2018-03-07 23:35:48 -05:00
Boris Zbarsky
f524da36b5
Bug 1444004. Implement Event.prototype.srcElement as an alias for .target, nightly-only. r=smaug
...
MozReview-Commit-ID: 4UMNqUBfUnp
2018-03-07 23:15:32 -05:00
Hiroyuki Ikezoe
1b0cba9367
Bug 1417354 - Introduce nsIDocument::GetPresContext(). r=smaug
...
It would be convenient to get nsPresContext from nsIDocument.
MozReview-Commit-ID: Ei6V3UE8XGr
--HG--
extra : rebase_source : 8d2a917eb62cf341e4e1810451fd01c01dbc3bad
2018-02-21 07:00:10 +09:00
Olli Pettay
b9ac198b01
Bug 1413102 - Ensure Shadow DOM boundaries are dealt properly in event handling, r=masayuki
2018-02-15 12:08:42 +02:00
Dorel Luca
12fe7a2577
Backed out changeset 2320b7fd9266 (bug 1413102) for Mochitest failure on dom/tests/mochitest/pointerlock/test_pointerlock-api.html
2018-02-14 20:44:19 +02:00
Olli Pettay
6a7af9eddf
Bug 1413102 - Ensure Shadow DOM boundaries are dealt properly in event handling, r=masayuki
...
--HG--
extra : rebase_source : 72130abec4634f60f9c8f9b9bcd7630ef26097e1
2018-02-14 14:16:15 +02:00
Andrea Marchesini
8cdf705535
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Andrea Marchesini
26352bfee1
Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug
2018-01-31 08:25:30 +01:00
Andrea Marchesini
a5bed23bd8
Bug 1432963 - Fixing workers headers - part 15 - static function in a workers namespace, r=smaug
2018-01-31 08:24:30 +01:00
Andrea Marchesini
2c7c69af24
Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug
2018-01-31 08:24:08 +01:00
Olli Pettay
ddf5c731fa
Bug 1425441 - Move relatedTarget to WidgetEvent, r=stone
...
--HG--
extra : rebase_source : 75b00efa0af5989e41763fbecac6fd8794c870c6
2017-12-18 19:08:11 +02:00
Olli Pettay
d78d3295c5
Bug 1412775
- Implement Event.composedPath, r=stone
...
--HG--
extra : rebase_source : a970c4a0daac4a7a02cec34733131734eb93b151
2017-12-18 18:07:36 +02:00
Boris Zbarsky
e8d2ef04ef
Bug 691151. Remove Event.getPreventDefault. r=smaug
...
MozReview-Commit-ID: FQ3LzP7rW6e
2017-11-15 12:23:58 -05:00
Nika Layzell
3409141758
Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
...
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.
MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Stone Shih
6cbc21aa58
Bug 1355497: Ignore preventDefault on pointerdown by WebExtensions. r=smaug.
...
Prevent default on pointerdown will stop firing the subsequent mouse events. Ignore the case that preventDefault by WebExtensions to avoid breaking some websites.
MozReview-Commit-ID: 9ztW1WfEg9a
2017-07-10 16:42:01 +08:00
Kestrel
91cfa95229
Bug 918780 - Add new PopupControlState for permitting file/color picker popup regardless of dom_allowed_events. r=smaug
...
MozReview-Commit-ID: 1GbjQ6IkMsv
--HG--
extra : rebase_source : 4ea11b78007d9ab67a932536843b3e12175732b3
2016-04-24 04:49:00 +01:00
Nicholas Nethercote
72c884bf74
Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj.
...
--HG--
extra : rebase_source : d317b25be2ec21d1a60d25da3689e46cdce0b649
2017-07-31 14:28:48 +10:00
Sylvestre Ledru
4e9cf83ee8
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Nicholas Nethercote
fe9268c4cd
Bug 1374580 (part 2) - Remove nsAFlat{,C}String typedefs. r=froydnj.
...
All the instances are converted as follows.
- nsAFlatString --> nsString
- nsAFlatCString --> nsCString
--HG--
extra : rebase_source : b37350642c58a85a08363df2e7c610873faa6e41
2017-06-20 19:19:05 +10:00
Jonathan Hao
dca1a28633
Bug 1217238 - Reduce time precision when privacy.resistFingerprinting is on. r=mystor
...
This patch is adapted from Tor bug 1517.
To offer some protection against timing attacks by JS content pages, in this
patch we round the various time-exposing APIs (such as Date and
Event.timeStamps) to the nearest 100 ms when the pref "privacy.resistFingerprinting" is on.
MozReview-Commit-ID: eGucM9nGTn
--HG--
extra : rebase_source : 3ee600b07943f3954e9a2a9561391f2f7821bb86
2017-06-06 11:45:14 +08:00
Thinker K.F. Li
84c4fd2c69
Bug 1323076 - Part 2: EventDispatcher with flag checking for TaskTracer. r=smaug
2017-03-22 21:44:00 +01:00
Stone Shih
a207c2fcb5
Bug 1346605 - Add pointer events to popup blocking handling. r=smaug
2017-03-12 20:31:44 +08:00
Boris Zbarsky
014c24c2a5
Bug 1335368 part 11. Remove the use of ThreadsafeIsCallerChrome in Event::Init, since that's not really interested in the _caller_ anyway. r=smaug
2017-02-01 15:43:37 -05:00
Masayuki Nakano
7ab96b2cef
Bug 1314053 part.2 Change EditorBase::IsAcceptableInputEvent()'s argument from nsIDOMEvent* to WidgetGUIEvent* r=smaug
...
MozReview-Commit-ID: Jo6EwQubUAM
--HG--
extra : rebase_source : 098b23946f349bbe7641a2059538ffb20ae4f5bb
2017-01-17 17:17:06 +09:00
Andrea Marchesini
e14c51cdfd
Bug 1288768 - Better error reporting for network errors in workers, r=bz
2017-01-28 15:39:24 +01:00
Cameron McCormack
babad063ff
Bug 1328832
- Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
...
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Olli Pettay
0364dbc792
Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
...
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
Stone Shih
3efdfea16f
Bug 1324380 - Make setting Event's cancelBubble to false a no-op. r=smaug.
...
MozReview-Commit-ID: x8u7tw6psd
--HG--
extra : rebase_source : a8af0802d969b4a4757530ec9c28572062c71f15
2016-12-20 09:35:17 +08:00
Olli Pettay
2f85471cc3
Bug 1323815
, FocusEvent.relatedTarget should work consistently with MouseEvent.relatedTarget, r=masayuki
...
--HG--
extra : rebase_source : ee11583116bd52618f6bfba063e920e8064c1ec3
2016-12-19 13:36:48 +02:00
Andrea Marchesini
4f830c36c0
Bug 1322292 - Some fixes for the Performance API in workers - part 3 - TimeStampToDOMHighRes() in workerPrivate, r=bz
2016-12-16 09:08:05 +01:00
Andrea Marchesini
64b687fb1c
Bug 1322292 - Some fixes for the Performance API in workers - part 2 - Get rid of NowBaseTimeStamp(), r=bz
2016-12-16 09:07:39 +01:00
Stone Shih
d5527884b7
Bug 1298970 - Move UIEvent.cancelBubble to Event. r=smaug
...
MozReview-Commit-ID: JPc1JwfqpaZ
--HG--
extra : rebase_source : 9cad67011a76b0084bdc8b271de8356666068e0d
2016-11-29 10:28:21 +08:00
Boris Zbarsky
04caf50b43
Bug 1317759. Remove LegacyIsCallerChromeOrNativeCode use in Event::GetScreenCoords in favor or caller type checks at the entrypoints where we really care about pretending that our screen is client-area sized. r=smaug
2016-11-16 14:10:22 -05:00
Boris Zbarsky
be79f7def4
Bug 1317990. Remove Event::IsChrome in favor of passing CallerType arguments. r=smaug,bkelly
2016-11-16 14:10:22 -05:00
Stone Shih
ce7f1ca7af
Bug 1292063 - Part 3: Add mComposedInNativeAnonymousContent to determine which events can cross the boundary of native anonymous content. r=smaug
...
--HG--
extra : rebase_source : 6b3fcc52b2a099944cc1a0427a36624394fb3b2e
2016-09-12 18:15:16 +08:00
Stone Shih
d76caea5e4
Bug 1292063 - Part 1: Add Event.composed. r=smaug
...
--HG--
extra : rebase_source : 105f9cfddb083d48d3da25fa13bf9a3b4c2637f6
2016-08-31 11:16:11 +08:00
Kartikaya Gupta
1d5a942431
Bug 1300421 - Back out 4 csets from bug 1288760 for regressing event coordinate reporting. r=jfkthame
...
MozReview-Commit-ID: AJ2PkSfYCpv
2016-09-29 10:20:52 -04:00
Aryeh Gregor
d41a879b6a
Bug 1264291 - initEvent must unset the stop propagation flag; r=smaug
...
Tests upstream <https://github.com/w3c/web-platform-tests/pull/3472 >.
2016-08-18 16:37:26 +03:00
Jonathan Kew
75a90e90c8
Bug 1288760 patch 2.1 - Fix point conversion in Event::GetScreenCoords to return global-desktop-based CSS pixels. r=emk
2016-07-28 23:04:14 +01:00
Nicholas Nethercote
a54e0fd248
Bug 1295053 (part 9) - Don't use NS_METHOD for dom/ functions. r=froydnj.
...
These don't need __stdcall on Win32.
--HG--
extra : rebase_source : 93aa569789dab107137c5493d1c86acc6701329b
2016-08-16 12:12:30 +10:00
Andrea Marchesini
64734bf74c
Bug 1278838
- Remove separate worker binding for Performance API, r=smaug
...
--HG--
rename : dom/performance/nsPerformance.cpp => dom/performance/Performance.cpp
rename : dom/performance/nsPerformance.h => dom/performance/Performance.h
rename : dom/workers/Performance.cpp => dom/performance/PerformanceWorker.cpp
rename : dom/workers/Performance.h => dom/performance/PerformanceWorker.h
2016-06-09 19:04:42 +02:00
Bill McCloskey
291c555f34
Bug 1262671 - void** -> PickleIterator (r=froydnj)
2016-05-27 09:57:38 -07:00
Masayuki Nakano
3359bad586
Bug 1254755 part.1 Rename WidgetKeyboardEvent::keyCode to WidgetKeyboardEvent::mKeyCode r=smaug
...
And also WidgetKeyboardEvent::mKeyCode should be compared with NS_VK_* rather than nsIDOMKeyEvent::DOM_VK_*.
MozReview-Commit-ID: IKjQ1nr8XYe
--HG--
extra : rebase_source : 83125cd2523f6b70759f621470aad23b00aae8ae
2016-05-12 17:13:49 +09:00
Kartikaya Gupta
d671429ba2
Bug 1266066 - Add a console warning for attempts to preventDefault() from a passive listener. r=smaug
...
MozReview-Commit-ID: G1nzkUxMEuE
2016-05-12 14:51:02 -04:00
Kartikaya Gupta
a412581b20
Bug 1266066 - Implement DOM support for the 'passive' event listener flag. r=smaug
...
MozReview-Commit-ID: EvSCDxYC7g6
2016-05-12 14:50:22 -04:00
Masayuki Nakano
9170348baf
Bug 1259656 part.7 Rename WidgetEvent::originalTarget to WidgetEvent::mOriginalTarget r=smaug
...
MozReview-Commit-ID: G1WVCWkS0Lt
--HG--
extra : rebase_source : e4790266f4efa33269c073bca1d98f9e8e6c90d7
2016-04-19 01:33:23 +09:00
Masayuki Nakano
8caf2f2633
Bug 1259656 part.6 Rename WidgetEvent::currentTarget to WidgetEvent::mCurrentTarget r=smaug
...
MozReview-Commit-ID: 9UcpPbgEbB0
--HG--
extra : rebase_source : f044e89581d0591a87e4c459978cc4ca727d3303
2016-04-19 01:15:16 +09:00
Masayuki Nakano
da3898bcb7
Bug 1259656 part.5 Rename WidgetEvent::target to WidgetEvent::mTarget r=smaug
...
MozReview-Commit-ID: L0GnVR6NcAe
--HG--
extra : rebase_source : a8784d4599dad317f8335477afac9a7d4b92918f
2016-04-19 00:46:00 +09:00