Nicholas Nethercote
915a56fb41
Bug 1375299 (part 2) - Remove PROFILER_MARKER. r=mstange.
...
PROFILER_MARKER is now just a trivial wrapper for profiler_add_marker(). This
patch removes it.
--HG--
extra : rebase_source : 9858f34763bb343757896a91ab7ad8bd8e56b076
2017-06-22 13:40:21 +10:00
Olli Pettay
8d489930b6
Bug 1374416 - don't dispatch the selectionchange event for pages that don't have such a listener registered, r=mystor
...
--HG--
extra : rebase_source : 7fb95e7f3c766b9de3a00175a0133093e2d194b1
2017-06-22 21:01:27 +03:00
Wes Kocher
ac0fd2038c
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: 3LXFVwSoMvs
2017-06-21 17:58:17 -07:00
Carsten "Tomcat" Book
8a1350b5a6
Backed out changeset 4f6302a98ae4 (bug 1372405)
...
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Blake Kaplan
9904c18859
Bug 981796 - Don't assume that the active global is our global. r=smaug
...
Without this, grabbing another window's showModalDialog function and calling
it with this being a second window asserts.
MozReview-Commit-ID: GvGUClFwdoN
--HG--
extra : rebase_source : f7bb2afd898db0affaf455401b6ddeec8ba7e917
2017-06-16 11:42:23 -07:00
Bevis Tseng
da26e6fa39
Bug 1352401 - Part 1: Define IndexedDB Counters in TabGroup and nsGlobalWindow. r=smaug
...
MozReview-Commit-ID: 4UCPvNv1paD
--HG--
extra : rebase_source : 234c1b7db74c24923f1fe04c92fb2ee50dd90941
2017-04-18 18:21:34 +08:00
Bill McCloskey
1158c7c282
Bug 1372733 - EventTargetFor should return an nsISerialEventTarget (r=bkelly)
...
MozReview-Commit-ID: Kchg4kqBERt
2017-06-15 20:16:25 -07:00
Ryan Hunt
fd8c1c280d
Bug 1373285 - Remove keyboard apz telemetry probes. r=smaug
...
These are no longer needed as we have the data we were looking for.
MozReview-Commit-ID: 3WlPng3mAwt
--HG--
extra : rebase_source : 73a390f85f5c0894d53a5e8ee10b19278af58282
extra : amend_source : 6a2b9ff4191715d0ac6e43f92af1e64c59123ac6
2017-06-15 13:55:26 -05:00
Mats Palmgren
893dffd030
Bug 1372262 - Use LookupForAdd instead of Get+Put to avoid unnecessary hashtable lookups. r=froydnj
...
MozReview-Commit-ID: 5LmOqXRgo25
2017-06-14 16:11:21 +02:00
Ben Kelly
d959a50dfa
Bug 1371664 P2 Make nsGlobalWindow::SetIsBackground() call new TimeoutManager::UpdateBackgroundState(). r=ehsan
2017-06-13 18:08:27 -07:00
Peter Van der Beken
9b9495bf79
Bug 1252211 - Remove DOMCI for TreeSelection, XULCommandDispatcher and XULControllers. r=bz.
...
--HG--
extra : rebase_source : 5a24af4928dbd7754850c6e3ceff6646bfe58c93
2017-05-18 09:07:25 +02:00
Michael Layzell
5d8aa01e08
Bug 1367458 - Manage TabGroup::IsBackground passively to avoid Runnable overhead, r=ehsan
...
MozReview-Commit-ID: 9HVvV1omF8G
2017-06-13 12:49:30 -04:00
Carsten "Tomcat" Book
4a5a3d9f30
Backed out changeset 2c51cdd42834 (bug 1252211) for bustage
2017-06-13 12:20:33 +02:00
Peter Van der Beken
9d549d2f23
Bug 1252211 - Remove DOMCI for TreeSelection, XULCommandDispatcher and XULControllers. r=bz.
...
--HG--
extra : rebase_source : db24985f7e8f6d4ca4df13015d565ec0063ba355
extra : source : f361697cb50b47dc4db94a6730b6604ab69217f5
2017-05-18 09:07:25 +02:00
Boris Zbarsky
d7ec8ed805
Bug 1372371. Fix enumerability handling in the window resolve hook. r=qdot
2017-06-12 22:17:03 -04:00
Ehsan Akhgari
3615b687a6
Bug 1361461 - Dispatch the compartment-nuking part of WindowDestroyedEvent to the idle queue; r=smaug
2017-06-08 09:49:49 -04:00
Carsten "Tomcat" Book
383edc0429
Backed out changeset 575e351a12af (bug 1361461) for causing frequent reftest assertion failures like Assertion failure: false (Ran out of memory while building cycle collector graph), at z:/build/build/src/xpcom/base/nsCycleCollector.cpp:929
...
--HG--
extra : rebase_source : d4b0d05b42656579e35efde2d676c2f8f0115299
2017-06-08 11:27:43 +02:00
Ehsan Akhgari
8e38408bd7
Bug 1361461 - Dispatch the compartment-nuking part of WindowDestroyedEvent to the idle queue; r=smaug
2017-06-07 21:49:03 -04:00
Ehsan Akhgari
3cc0bd4b17
Backout bug 1361461 due to potentially introducing some intermittent reftest failures
2017-06-07 13:01:24 -04:00
Ehsan Akhgari
db983a3ae9
Bug 1361461 - Dispatch the compartment-nuking part of WindowDestroyedEvent to the idle queue; r=smaug
2017-06-07 10:57:09 -04:00
Boris Zbarsky
febf0f30d6
Bug 1364816 part 5. Make getting window names a bit faster by avoiding various intermediate strings. r=qdot,jandem
2017-06-06 21:21:45 -04:00
Boris Zbarsky
60d80c3c4e
Bug 1364816 part 3. Switch NeedResolve bindings to using a newResolve hook instead of a resolve hook. r=qdot,jandem
2017-06-06 21:21:44 -04:00
Boris Zbarsky
2a310b9f3b
Bug 1364816 part 2. Add a way to ask the WebIDLGlobalNameHash for only the names that have not yet been resolved on the given window. r=qdot
2017-06-06 21:21:44 -04:00
Edgar Chen
47a9de7747
Bug 1236512 - Part 2: Add isFullyOccluded attribute to ChromeWindow; r=bz
...
Right now, only Mac (after 10.9) will possibly return true; other platforms always
return false.
MozReview-Commit-ID: 8evSf3qQY8i
2017-05-26 18:14:06 +08:00
Bill McCloskey
6b3e84ed5f
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Bevis Tseng
4b59084943
Backed out changeset 70d068cc946d (Bug 1374675)
2017-06-21 11:02:48 +08:00
Carsten "Tomcat" Book
ab7636d45d
Backed out changeset 62999c1db7ee (bug 1236512)
2017-06-20 14:30:36 +02:00
Edgar Chen
7a94f225de
Bug 1236512 - Part 2: Add isFullyOccluded attribute to ChromeWindow; r=bz
...
Right now, only Mac (after 10.9) will possibly return true; other platforms always
return false.
MozReview-Commit-ID: 8evSf3qQY8i
2017-05-26 18:14:06 +08:00
Carsten "Tomcat" Book
ea1b86680c
Backed out changeset 9846de3bd954 (bug 1372405)
...
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Kearwood Gilbert
eb3becc0b0
Bug 1362213 - Implement chrome-only API to manage VR sessions r=daoshengmu,kanru,smaug
...
- Added new chrome-only webidl methods to be used by browser UI and WebExtensions
- Implemented bitmasked group visibility for VR sessions to enable switching
between chrome and regular content presentations.
- Implemented throttling mechanism to avoid runaway, unthrottled render loops
for VR sessions that are hidden by group visibility bitmasks or due to
lower level platform VR events, such as during the Oculus
"Health and Safety Warning".
- Simplified the PVRManager IPC protocol while extending it to support
VR session groups and later WebVR content performance profiling API's.
- Removed the last WebVR related sync IPC call.
MozReview-Commit-ID: BMEIPyYeEbq
--HG--
extra : rebase_source : 47d3682cad3d913504175b7d4c3e9d992236f097
2017-05-08 16:01:36 -07:00
Andreas Farre
d73636b6e1
Bug 1368335 - Don't dispatch idle executor when window has suspended. r=smaug
2017-05-29 18:58:26 +02:00
Ting-Yu Chou
e11749eeba
Bug 816784 part 2 - Optimize NukeCrossCompartmentWrappers() to iterate only the targetting wrappers. r=jonco
...
Changed the type of argument |targetFilter| of NukeCrossCompartmentWrappers()
from CompartmentFilter to JSCompartment* because it is always a single target
compartment, and we can optimize the iteration not to iterate the outer map.
MozReview-Commit-ID: 7cDCgJI0H9z
--HG--
extra : rebase_source : ee9341168a28b5e6f273c512b0562ee4ddc297bc
extra : source : e80197b115673f259293d112da61c8dd9edc121e
2017-05-03 13:56:54 +08:00
Ryan VanderMeulen
38a48a48ce
Backed out 4 changesets (bug 816784) for intermittent GC crashes.
...
Backed out changeset 9a553b9dc922 (bug 816784)
Backed out changeset ac4a48a831ce (bug 816784)
Backed out changeset e80197b11567 (bug 816784)
Backed out changeset 7e8f428a3edf (bug 816784)
2017-05-24 12:07:07 -04:00
Ting-Yu Chou
6d83ca4000
Bug 816784 part 2 - Optimize NukeCrossCompartmentWrappers() to iterate only the targetting wrappers. r=jonco
...
Changed the type of argument |targetFilter| of NukeCrossCompartmentWrappers()
from CompartmentFilter to JSCompartment* because it is always a single target
compartment, and we can optimize the iteration not to iterate the outer map.
MozReview-Commit-ID: 7cDCgJI0H9z
--HG--
extra : rebase_source : 4973dfd4c3326bf48b78088979962e425e35030c
2017-05-03 13:56:54 +08:00
Andreas Farre
5a1916b791
Bug 1366750 - Rename nsIIncrementalRunnable to nsIIdleRunnable. r=smaug
...
The name nsIIdleRunnable makes more sense, since its main use is in
nsIThread::idleDispatch.
MozReview-Commit-ID: H6qchxKnt7a
2017-05-23 13:24:25 +02:00
Ryan VanderMeulen
acb2f518fc
Merge inbound to m-c. a=merge
2017-05-19 11:46:56 -04:00
Xidorn Quan
fbf065fd31
Backed out changeset 94b5ea8bed5c (bug 1355683)
...
MozReview-Commit-ID: AJJ7hSuOQNX
--HG--
extra : source : d149b46f49c26eae291cead8dc65d2844452b1b3
2017-05-19 14:57:35 +10:00
Andrea Marchesini
ea8fdbd1e1
Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 10 - Move IsSessionOnly() in Storage class, r=asuth
2017-05-17 07:01:15 +02:00
Andrea Marchesini
d1223c0fbd
Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 6 - Implementation of IsForkOf(), r=asuth
2017-05-17 07:01:14 +02:00
Nathan Froyd
c1d1748428
Bug 1359490 - add an event loop spinning abstraction function; r=gerald
...
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Bill McCloskey
c197e07ff2
Bug 1363560 - Name more runnables (r=mccr8)
...
MozReview-Commit-ID: 3hxZDA4JlTV
2017-05-09 21:53:25 -07:00
Andrea Marchesini
667a1e29ae
Bug 1363395 - nsGlobalWindow::GetLocation should support to be called on the outer window, r=smaug
2017-05-09 22:41:19 +02:00
Andrea Marchesini
a67a0a31e8
Bug 1362003 - nsGlobalWindow::GetLocation doesn't need to receive an ErrorResult param, r=bz
...
Renaming nsGlobalWindow::GetLocation() to Location().
2017-05-08 15:49:31 +02:00
Andrea Marchesini
28cfe0edb3
Bug 1361975 window.location is not nullable, r=bz
...
This patch adds a check on mDocShell in order to do not throw exceptions when
Location is used with a null mDocShell. This is needed because the location
object is not nullable anymore and it can be used also when the window is not
connected to a docshell.
2017-05-08 15:49:08 +02:00
Andrea Marchesini
1981f67eb3
Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
...
This patch does these things:
1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
--HG--
rename : dom/base/nsScriptElement.cpp => dom/script/ScriptElement.cpp
rename : dom/base/nsScriptElement.h => dom/script/ScriptElement.h
rename : dom/base/nsScriptLoader.cpp => dom/script/ScriptLoader.cpp
rename : dom/base/nsScriptLoader.h => dom/script/ScriptLoader.h
rename : dom/base/ScriptSettings.cpp => dom/script/ScriptSettings.cpp
rename : dom/base/ScriptSettings.h => dom/script/ScriptSettings.h
rename : dom/base/nsIScriptElement.h => dom/script/nsIScriptElement.h
rename : dom/base/nsIScriptLoaderObserver.idl => dom/script/nsIScriptLoaderObserver.idl
2017-05-08 08:24:22 +02:00
Carsten "Tomcat" Book
f0d6de60d7
Backed out changeset 5d77f6b14633 (bug 1362119) for android bustage in nsCCUncollectableMarker.cpp:500:7: error: 'TraceScriptHolder' is not a member of 'mozilla'
...
--HG--
rename : dom/script/ScriptSettings.cpp => dom/base/ScriptSettings.cpp
rename : dom/script/ScriptSettings.h => dom/base/ScriptSettings.h
rename : dom/script/nsIScriptElement.h => dom/base/nsIScriptElement.h
rename : dom/script/nsIScriptLoaderObserver.idl => dom/base/nsIScriptLoaderObserver.idl
rename : dom/script/ScriptElement.cpp => dom/base/nsScriptElement.cpp
rename : dom/script/ScriptElement.h => dom/base/nsScriptElement.h
rename : dom/script/ScriptLoader.cpp => dom/base/nsScriptLoader.cpp
rename : dom/script/ScriptLoader.h => dom/base/nsScriptLoader.h
2017-05-08 09:54:38 +02:00
Andrea Marchesini
7a4ef797cb
Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
...
This patch does these things:
1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
--HG--
rename : dom/base/nsScriptElement.cpp => dom/script/ScriptElement.cpp
rename : dom/base/nsScriptElement.h => dom/script/ScriptElement.h
rename : dom/base/nsScriptLoader.cpp => dom/script/ScriptLoader.cpp
rename : dom/base/nsScriptLoader.h => dom/script/ScriptLoader.h
rename : dom/base/ScriptSettings.cpp => dom/script/ScriptSettings.cpp
rename : dom/base/ScriptSettings.h => dom/script/ScriptSettings.h
rename : dom/base/nsIScriptElement.h => dom/script/nsIScriptElement.h
rename : dom/base/nsIScriptLoaderObserver.idl => dom/script/nsIScriptLoaderObserver.idl
2017-05-08 08:24:22 +02:00
Ben Kelly
d9b204c062
Bug 1361754 Don't propagate Navigator object on document.open() any more. r=mrbkap
2017-05-03 13:25:05 -07:00
Ehsan Akhgari
66f333029f
Bug 1360799 - Expose the requestIdleCallback API to chrome code unconditionally; r=bzbarsky
...
We need to use this API in the front-end code, and in the off-chance
that we end up turning it off for the Web for whatever reason, or if
someone has turned off the pref, we should make sure our UI code does
not break.
2017-05-02 19:01:27 -04:00