Commit Graph

63 Commits

Author SHA1 Message Date
Adam Gashlin
a399339431 Bug 1369194 - Remove MozWakeLock. r=baku 2017-11-20 17:14:41 -08:00
Ben Kelly
a34cd549f7 Bug 1419536 P4 Allow ClientSource objects to be frozen while in bfcache. r=baku 2017-11-21 15:13:05 -05:00
Ben Kelly
07fdc1850b Bug 1419536 P3 Handle creating and activating the ClientSource in nsDocShell and nsGlobalWindow. r=baku r=freesamael 2017-11-21 15:13:05 -05:00
Jan de Mooij
e6e5785154 Bug 1417844 part 2 - Remove JSVersion from CompileOptions, CompartmentBehaviors, scripts. r=evilpie 2017-11-17 12:12:39 +01:00
Nika Layzell
09ac059230 Bug 1416384 - Part 9: Deduplicate more code when possible, r=smaug
MozReview-Commit-ID: 1mzNDOFUNep
2017-11-15 11:34:47 -05:00
Nika Layzell
ad374be9ab Bug 1416384 - Part 8: Stylistic fixes in nsGlobalWindow{Inner,Outer}.cpp, r=smaug
MozReview-Commit-ID: KDllmZzdn6m
2017-11-15 11:34:41 -05:00
Nika Layzell
c85ba432c8 Bug 1416384 - Part 7: Move nsPIDOMWindow{Inner,Outer}::TabGroup into their respective cpps, r=smaug
MozReview-Commit-ID: AZMWwKFnvG9
2017-11-15 11:34:33 -05:00
Nika Layzell
7be095a9a6 Bug 1416384 - Part 6: Eliminate calls to Assert{Inner,Outer} and As{Inner,Outer} in nsGlobalWindow, r=smaug
MozReview-Commit-ID: GIiSlDzjgWb
2017-11-15 11:34:27 -05:00
Nika Layzell
d15daabb76 Bug 1416384 - Part 4: Eliminate outer window only methods from nsGlobalWindowInner, r=smaug
MozReview-Commit-ID: CV6rrA0M2ZV
2017-11-15 11:34:13 -05:00
Nika Layzell
eb17a37caa Bug 1416384 - Part 3: Remove nsPIDOMWindow<nsISupports>, r=smaug
This was needed before as the base to nsGlobalWindow, but now that
nsGlobalWindow doesn't exist, and we only have specific versions, we no longer
need this type.

MozReview-Commit-ID: 6IJmJtnSkMr
2017-11-15 11:34:04 -05:00
Nika Layzell
dba39a0515 Bug 1416384 - Part 2e: Eliminate duplicate declarations, and get gecko building again, r=smaug
There are many helper methods and structs in nsGlobalWindow.cpp. Many of these
are used by only the inner or only the outer window, while some are used by
both. In the case of the items used by both, I extracted them into
nsGlobalWindow.cpp, which includes nsGlobalWindowInner.cpp and
nsGlobalWindowOuter.cpp as the compilation unit entry point.

In the case of items used by just one or the other, I removed them from the
other file, and deleted the bodies of functions which used them, replacing them,
with a MOZ_CRASH.

This gets gecko building again, so that we can make further incremental
improvements.

MozReview-Commit-ID: 8QnJ1PX6TAO
2017-11-15 11:33:58 -05:00
Nika Layzell
d6a5aaff0c Bug 1416384 - Part 2c: Get nsGlobalWindowInner.cpp building, r=smaug
MozReview-Commit-ID: CmKx5jtvtrT
2017-11-15 11:33:39 -05:00
74763e4f03 Bug 1416384 - Part 1: Copy nsGlobalWindow.{h,cpp} to nsGlobalWindow{Inner,Outer}.{h,cpp}, r=smaug 2017-11-15 11:30:13 -05:00