gecko-dev/dom/events
Tom Ritter 6ebcecc30e Bug 1440195 Add a random context seed to the Performance APIs r=baku
We attach it to WorkerPrivate and DOMNavigationTiming so it will be re-used
when it should.

WorkerPrivate is used in the Performance APIs, Performance Storage Worker,
and Event.

DOMNavigationTiming is used only in the Performance APIs, but the crucial
part is that when the individual DOMNavigationTiming object is re-used,
so will the context seed. This in particular came up with the
nav2_test_document_open.html Web Platform Test which illustrated the fact
that even if you .open() a new document, the performance navigation data
is not supposed to change.

MozReview-Commit-ID: GIv6biEo2jY

--HG--
extra : rebase_source : da2ad8d9d6e0172679c6af14dba72938e9d2012c
2018-03-13 12:36:34 -05:00
..
crashtests Bug 1397711 - Null-check widget of keyboard event before invoking its PostHandleKeyEvent. r=masayuki 2017-09-07 22:07:34 +10:00
test Bug 1445478: Make pointerevents/test_bug1414336.html more reliable. r=kats 2018-03-14 13:10:31 +01:00
AnimationEvent.cpp Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
AnimationEvent.h Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
AsyncEventDispatcher.cpp Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm 2017-07-26 16:13:35 +08:00
AsyncEventDispatcher.h Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
BeforeUnloadEvent.cpp Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
BeforeUnloadEvent.h Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
ClipboardEvent.cpp Bug 1444919 part 2. Remove nsIDOMClipboardEvent. r=mystor 2018-03-13 00:59:24 -04:00
ClipboardEvent.h Bug 1444919 part 2. Remove nsIDOMClipboardEvent. r=mystor 2018-03-13 00:59:24 -04:00
CommandEvent.cpp Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
CommandEvent.h Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
CompositionEvent.cpp Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
CompositionEvent.h Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
ConstructibleEventTarget.cpp Bug 1379688 part 2. Make the EventTarget interface constructible. r=smaug 2017-11-20 13:59:22 -05:00
ConstructibleEventTarget.h Bug 1379688 part 2. Make the EventTarget interface constructible. r=smaug 2017-11-20 13:59:22 -05:00
ContentEventHandler.cpp Backed out changeset 38577c007450 (bug 1424371) for Marionett test failure on testing/marionette/harness/marionette_harness/tests/unit/test_window_maximize.py. CLOSED TREE 2018-02-19 22:15:23 +02:00
ContentEventHandler.h Bug 1433883: Remove weak pres context pointer from ContentEventHandler. r=masayuki 2018-01-29 13:04:00 +01:00
CustomEvent.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
CustomEvent.h
DataTransfer.cpp Bug 1444686 part 14. Remove nsIDOMDataTransfer. r=mystor 2018-03-13 16:24:01 -04:00
DataTransfer.h Bug 1444686 part 14. Remove nsIDOMDataTransfer. r=mystor 2018-03-13 16:24:01 -04:00
DataTransferItem.cpp Bug 1415081 - part 8 - Fix the use of NS_ReadInputStreamToString in DataTransferItem, r=smaug 2017-11-09 11:18:09 +01:00
DataTransferItem.h Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
DataTransferItemList.cpp Bug 1444686 part 13. Remove remaining nsIDOMDataTransfer uses. r=mystor 2018-03-13 16:24:00 -04:00
DataTransferItemList.h Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
DeviceMotionEvent.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
DeviceMotionEvent.h
DOMEventTargetHelper.cpp Bug 1440407 P2 Remove some unnecessary nsPIDOMWindowInner QI to nsIGlobalObject. r=mystor 2018-02-22 14:28:39 -08:00
DOMEventTargetHelper.h Bug 1438541 P1 Track DOMEventTargetHelper objects in the nsIGlobalObject base class and always call DisconnectFromOwner() on them. r=smaug 2018-02-21 10:53:22 -08:00
DragEvent.cpp Bug 1444686 part 10. Remove nsIDOMDragEvent::GetDataTransfer. r=mystor 2018-03-13 16:24:00 -04:00
DragEvent.h Bug 1444686 part 10. Remove nsIDOMDragEvent::GetDataTransfer. r=mystor 2018-03-13 16:24:00 -04:00
Event.cpp Bug 1440195 Add a random context seed to the Performance APIs r=baku 2018-03-13 12:36:34 -05:00
Event.h Bug 1444686 part 1. Get rid of nsIDOMDataTransfer::Get/SetDropEffect. r=mystor 2018-03-13 16:23:59 -04:00
EventDispatcher.cpp Bug 1443746, ensure DOM events aren't dispatched at unexpected time, r=masayuki 2018-03-08 16:59:25 +09:00
EventDispatcher.h Bug 1413102 - Ensure Shadow DOM boundaries are dealt properly in event handling, r=masayuki 2018-02-15 12:08:42 +02:00
EventListenerManager.cpp Bug 1445551: Part 4 - Remove compartment-per-addon. r=mccr8 2018-03-13 19:43:30 -07:00
EventListenerManager.h Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
EventListenerService.cpp Bug 1313150 - Remove |weak| parameter from nsIMutableArray methods. r=froydnj 2017-10-21 23:53:02 +09:00
EventListenerService.h Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
EventNameList.h Bug 1359017 - onmessageerror for WindowEventHandlers in case StructuredClone algorithm fails when deserializing, r=masayuki, r=smaug 2017-09-13 05:59:06 +02:00
EventStateManager.cpp Bug 1340039 - Set contentPolicyType when copying image, and pass it between processes. r=smaug 2018-03-14 16:44:36 +08:00
EventStateManager.h Bug 1438794 - Makes single-line text controls in vertical-writing mode vertically scrollable if they overflow vertically; and makes them horizontally unscrollable no matter whether they overflow horizontally. r=kats 2018-02-23 02:40:44 +08:00
EventStates.h Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-11 12:06:29 +02:00
EventTarget.cpp Bug 1379688 part 2. Make the EventTarget interface constructible. r=smaug 2017-11-20 13:59:22 -05:00
EventTarget.h Bug 1379688 part 2. Make the EventTarget interface constructible. r=smaug 2017-11-20 13:59:22 -05:00
FocusEvent.cpp Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
FocusEvent.h Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
ImageCaptureError.cpp
ImageCaptureError.h
IMEContentObserver.cpp Bug 1442207: Remove unneeded arguments to nsIMutationObserver. r=smaug 2018-03-01 22:45:17 +01:00
IMEContentObserver.h Bug 1433345 - part 4: Make EditorBase derived from nsISelectionListener and notify its owning classes of selection change r=m_kato 2018-01-26 17:25:45 +09:00
IMEStateManager.cpp Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz 2017-12-25 17:50:10 +01:00
IMEStateManager.h Bug 1396725 - IMEStateManager doesn't need to manage whether menu keyboard listener is installed in different process r=smaug 2017-09-07 11:46:08 +09:00
InputEvent.cpp Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
InputEvent.h Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
InternalMutationEvent.h Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
JSEventHandler.cpp Bug 1436508 part 2. Remove nsIDOMBeforeUnloadEvent. r=masayuki 2018-02-09 11:17:08 -05:00
JSEventHandler.h Bug 1436508 part 12. Remove nsIDOMKeyEvent. r=masayuki 2018-02-09 11:17:10 -05:00
KeyboardEvent.cpp Bug 1433592 - Don't spoof ctrl key modifier for privacy.resistFingerprinting=true r=masayuki 2018-03-05 23:23:00 +02:00
KeyboardEvent.h Bug 1438795 - Spoof KeyboardEvent.which for privacy.resistFingerprinting. r=masayuki, r=smaug 2018-02-20 16:51:00 -05:00
KeyNameList.h Bug 1386825 - Part 1: Remove MOZ_B2G from dom. r=bkelly 2017-08-08 14:41:05 -07:00
MessageEvent.cpp Bug 1430139 P3 Remove workers namespace from service worker code. r=asuth 2018-01-26 13:08:59 -08:00
MessageEvent.h Bug 1430139 P3 Remove workers namespace from service worker code. r=asuth 2018-01-26 13:08:59 -08:00
MouseEvent.cpp Bug 1425441 - Move relatedTarget to WidgetEvent, r=stone 2017-12-18 19:08:11 +02:00
MouseEvent.h Bug 1438795 - Spoof KeyboardEvent.which for privacy.resistFingerprinting. r=masayuki, r=smaug 2018-02-20 16:51:00 -05:00
MouseScrollEvent.cpp Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
MouseScrollEvent.h Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
moz.build Bug 1435530 - part 1: Add automated tests to check Alt + D works as Ctrl + L when Alt is content access key's modifier r=enndeakin+6102 2018-02-05 18:01:25 +09:00
MutationEvent.cpp Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
MutationEvent.h Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
NotifyPaintEvent.cpp
NotifyPaintEvent.h
nsIEventListenerService.idl Bug 1402772 - Change nsIEventListenerChange::changedListenerNames to a count of a11y-affecting elements. r=smaug. 2017-09-25 16:38:04 +10:00
PaintRequest.cpp Bug 1436869 - Remove nsIDOMPaintRequest. r=bz 2018-02-08 17:24:03 +01:00
PaintRequest.h Bug 1436869 - Remove nsIDOMPaintRequest. r=bz 2018-02-08 17:24:03 +01:00
PhysicalKeyCodeNameList.h
PointerEvent.cpp Bug 1303957 Part2: Setup necessary attributes to calculate offsetX/offsetY and add a test with synthesized widget events. r=smaug. 2017-11-08 11:42:04 +08:00
PointerEvent.h Bug 1303957 Part1: Add support for PointerEvent.getCoalescedEvents. r=smaug. 2017-09-20 13:00:57 +08:00
PointerEventHandler.cpp Bug 1426728 - Don't cache the event target of pointer events when they are generated from touch. r=smaug. 2017-12-22 12:27:05 +08:00
PointerEventHandler.h Bug 1433671: Add MOZ_CAN_RUN_SCRIPT annotations to AccessibleCaret and other stuff. r=bz 2018-03-14 23:32:22 +01:00
ScrollAreaEvent.cpp Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
ScrollAreaEvent.h Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
SimpleGestureEvent.cpp Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
SimpleGestureEvent.h Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
SpeechRecognitionError.cpp
SpeechRecognitionError.h
StorageEvent.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
StorageEvent.h
TextClause.cpp Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
TextClause.h Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
TextComposition.cpp Bug 1425390 - part 1: Move some IME related members of EditorBase into TextComposition r=m_kato 2017-12-15 13:14:51 +09:00
TextComposition.h Bug 1425412 - part 4: Create CompositionTransaction::Create() and remove EditorBase::CreateTxnForComposition() r=m_kato 2017-12-15 18:26:37 +09:00
Touch.cpp Bug 1420589 Part6: Keep those touch points that are not in the same document so that we can use them to dispatch pointer events. 2017-12-09 10:06:18 +08:00
Touch.h Bug 1420589 Part6: Keep those touch points that are not in the same document so that we can use them to dispatch pointer events. 2017-12-09 10:06:18 +08:00
TouchEvent.cpp Bug 1278282 - Replace #if (MOZ_WIDGET_GTK == 3) by #ifdef MOZ_WIDGET_GTK r=lsalzman 2018-01-09 11:51:07 +01:00
TouchEvent.h Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
TransitionEvent.cpp Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
TransitionEvent.h Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
UIEvent.cpp Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00
UIEvent.h Bug 1438795 - Spoof KeyboardEvent.which for privacy.resistFingerprinting. r=masayuki, r=smaug 2018-02-20 16:51:00 -05:00
VirtualKeyCodeList.h Bug 1436508 part 11. Remove the use of the nsIDOMKeyEvent::DOM_VK* constants in C++. r=masayuki 2018-02-09 11:17:09 -05:00
WheelEvent.cpp Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
WheelEvent.h Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
WheelHandlingHelper.cpp Bug 1438794 - Makes single-line text controls in vertical-writing mode vertically scrollable if they overflow vertically; and makes them horizontally unscrollable no matter whether they overflow horizontally. r=kats 2018-02-23 02:40:44 +08:00
WheelHandlingHelper.h Bug 1438794 - Makes single-line text controls in vertical-writing mode vertically scrollable if they overflow vertically; and makes them horizontally unscrollable no matter whether they overflow horizontally. r=kats 2018-02-23 02:40:44 +08:00
XULCommandEvent.cpp Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug 2017-11-09 10:44:47 -05:00
XULCommandEvent.h Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz 2017-11-09 10:44:49 -05:00