Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
Nika Layzell a63b1e0ebd 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

--HG--
extra : rebase_source : 0eac00ad757f825a22a1af95d0a01d6fa92d824d
2017-11-15 11:33:58 -05:00
.cargo
.vscode Bug 1377937 - Fix VSCode tasks on Windows (NPOTB, DONTBUILD). r=gps 2017-07-03 21:55:07 +03:00
accessible Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-15 12:15:40 +02:00
browser Bug 1398229 - Save-link-as feature should use the loading principal - part 2 - context menu using nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD, r=ckerschb 2017-11-15 18:16:28 +01:00
build Bug 1412983 - part 6 - compile headers for cross-compilers during configure; r=ted.mielczarek 2017-11-15 10:12:22 -05:00
caps Bug 1414755 - Get rid of ContentPrincipalInfoOriginNoSuffix, r=bz, r=bkelly 2017-11-15 11:19:26 +01:00
chrome Bug 1410736 - Replace remaining uses of general.useragent.locale with LocaleService API. r=jfkthame 2017-11-03 17:08:34 -07:00
config Bug 1405993 - Part 3: Update in-tree ICU to release 60.1. rs=Waldo 2017-11-01 11:56:15 -07:00
db Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium 2017-10-25 15:12:09 -07:00
devtools Merge inbound to mozilla-central r=merge a=merge 2017-11-15 11:57:12 +02:00
docshell Bug 1412195 - Track all changes to TabChild active state (r=bevis) 2017-11-11 21:04:20 -08:00
dom Bug 1416384 - Part 2e: Eliminate duplicate declarations, and get gecko building again, r=smaug 2017-11-15 11:33:58 -05:00
editor Bug 1416622 - Tighten up libpref's process checking. r=glandium 2017-11-13 09:19:55 +11:00
embedding Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
extensions Bug 1416947 - Add fugacious, fugaciously and fugaciousness to the en-US dictionary. r=jet 2017-11-14 07:48:01 +07:00
gfx Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-15 12:15:40 +02:00
gradle/wrapper Bug 1366644 - Part 3a: Update Android build-tools (25.0.3), Gradle (3.4.1), Android-Gradle (2.3.3). r=maliu 2017-10-16 15:09:15 -07:00
hal Bug 1412048 - Replace NS_RUNTIMEABORT("...") with MOZ_CRASH("..."). r=froydnj 2017-10-24 23:30:31 -07:00
image Bug 1417021 - Fix various non-unified build errors in imagelib. r=aosmond 2017-10-24 23:22:55 +01:00
intl Bug 1405993 - Part 6: Regenerate Unicode files after ICU update. r=jfkthame 2017-11-01 12:10:08 -07:00
ipc Bug 1414755 - Get rid of ContentPrincipalInfoOriginNoSuffix, r=bz, r=bkelly 2017-11-15 11:19:26 +01:00
js Bug 1415645 - Part 5: Fix some more consumers of nsGlobalWindow which I missed, r=smaug 2017-11-15 11:21:57 -05:00
layout Bug 1416384 - Part 2e: Eliminate duplicate declarations, and get gecko building again, r=smaug 2017-11-15 11:33:58 -05:00
media Bug 1416724 - part 3 - AbstractThread::Dispatch return value check in dom/media, r=jwwang 2017-11-15 07:58:03 +01:00
memory Bug 1402283 - Fix typo. r+a=RyanVM 2017-11-10 17:07:27 -05:00
mfbt Bug 1410186 - turn Maybe assertions into release assertions; r=bkelly 2017-11-09 12:27:51 -05:00
mobile Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-14 12:31:45 +02:00
modules Backed out changeset c2bf7ca0839c (bug 1382427) for failing reftests r=backout on a CLOSED TREE 2017-11-15 14:22:43 +02:00
mozglue Bug 1411712 - Move symbol version script flags for arm in mozglue to moz.build. r=mshal 2017-11-02 11:47:48 -07:00
netwerk Bug 1413622 - Add a check to avoid a division by zero. r=mayhemer 2017-11-15 15:01:11 +01:00
nsprpub Bug 1393854, land NSPR_4_18_RTM, no code change, only version numbers, r=me 2017-09-19 18:43:02 +02:00
other-licenses Bug 1413568 - Update installer icons. r=mconley 2017-11-02 08:34:22 -07:00
parser Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-14 12:31:45 +02:00
python Bug 1412983 - part 6 - compile headers for cross-compilers during configure; r=ted.mielczarek 2017-11-15 10:12:22 -05:00
rdf Bug 1416164 - Replace NS_NOTYETIMPLEMENTED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2017-10-25 00:37:02 -07:00
security No bug, Automated HPKP preload list update from host bld-linux64-spot-038 - a=hpkp-update 2017-11-14 11:51:23 -08:00
services Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2017-11-12 21:22:25 -05:00
servo servo: Merge #19213 - Stop using "alternate" rustc builds (from servo:nightly); r=nox 2017-11-14 02:18:20 -06:00
startupcache Bug 1408017 - Clear gStartupCacheWrapper in the dtor. r=froydnj 2017-10-26 16:47:27 -04:00
storage Bug 1413501 - Fix for SpinningSynchronousClose unregisterConnection edge-case. r=mak 2017-11-08 10:11:27 -08:00
taskcluster Bug 1417436 - Add Windows code coverage build and test definitions. r=jmaher 2017-11-14 23:39:15 +01:00
testing Bug 1417436 - Add Windows code coverage build and test definitions. r=jmaher 2017-11-14 23:39:15 +01:00
third_party Bug 1415150 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel 2017-11-10 10:55:12 -05:00
toolkit Bug 1393041 - Refactor and share the telemetry c++ utility functions in gtests. r=dexter 2017-11-14 12:07:00 +01:00
tools Merge inbound to mozilla-central r=merge a=merge 2017-11-15 11:57:12 +02:00
uriloader Bug 1389836 - Don't recreate mHandlerInfo for every little change. r=bz 2017-11-14 15:37:47 -08:00
view Bug 1414666 part 1 - Add nsIFrame::PresShell() for convenient access to the shell. r=emilio 2017-11-09 03:00:48 +01:00
widget Bug 1415741. Switch to a different env var, not MOZ_DEBUG, for disabling mouse event taps on Mac. r=mstange 2017-11-15 12:23:58 -05:00
xpcom Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang 2017-11-15 07:58:02 +01:00
xpfe Bug 1414974 - Part 3: Move Get{Inner,Outer}WindowWithId onto the specific subclasses, r=smaug 2017-11-09 10:44:47 -05:00
.clang-format Bug 1414764 - Remove Mozilla specific options to avoid build warnings with gcc and -Wcomment enabled. r=sylvestre 2017-11-06 11:47:40 +02:00
.clang-format-ignore Backed out changeset 31f259ee387b (bug 1411004) for failing flake8 at tools/mach_commands.py:307:14 | indentation is not a multiple of four. r=backout 2017-10-31 16:20:11 +01:00
.clang-tidy
.cron.yml No Bug - Move periodic file update start time earlier, to reflect when buildbot used to run. r=me 2017-10-20 11:17:50 -04:00
.eslintignore Bug 1415682 - Abort API exposed to System, r=qdot 2017-11-10 19:37:13 +01:00
.eslintrc.js Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01:00
.flake8 Bug 1395126 - Support cascading configuration for flake8, r=bc 2017-08-29 17:32:31 -04:00
.gdbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.gdbinit_python Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.gitignore Bug 1412930 - Package localized prerendered files. r=k88hudson 2017-10-30 13:13:35 -07:00
.hgignore Bug 1410341 - add toolchains.json to .hgignore;r=jmaher 2017-10-20 10:53:20 +02:00
.hgtags No bug - Tagging mozilla-central 1f91961bb79ad06fd4caef9e5dfd546afd5bf42c with FIREFOX_NIGHTLY_58_END. a=release DONTBUILD CLOSED TREE 2017-11-12 21:12:59 -05:00
.inferconfig Bug 1357629 - Add httpclientandroidlib to .inferconfig ignore list r=nalexander,njpark 2017-04-18 20:05:25 -07:00
.lldbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.taskcluster.yml Bug 1409577 - Add static indexes to decision task r=dustin 2017-10-18 11:55:01 -04:00
.yamllint Bug 1392795 - [yamllint] Group paths to lint by their closest config and run each config group separately, r=dustin 2017-08-23 11:28:28 -04:00
.ycm_extra_conf.py
AUTHORS Bug 1111333 - Enable double-tap-drag to zoom. r=kats 2017-05-23 19:53:06 +02:00
CLOBBER Bug 1405993 - Part 7: Updating ICU requires a clobber. r=clobber 2017-11-14 03:11:25 -08:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1412932 - Switch to PGO build in Makefile.in; r=ted 2017-11-07 16:38:39 -08:00
README.txt
aclocal.m4 Bug 1363992 - Remove jemalloc 4. r=njn 2017-05-11 13:23:07 +09:00
build.gradle (bug 1411688) Make --with-gradle handle single-locale repack r=snorp a=reland 2017-11-06 15:23:47 +02:00
client.mk Bug 1416020 - Remove echo-variable-% target from client.mk; r=nalexander 2017-11-09 14:26:55 -08:00
client.py Bug 1399100 - fix client.py follow-up, r=kaie 2017-09-20 09:13:14 +02:00
configure.in
configure.py Bug 1412460 - Don't write make variables in configure.d; r=mshal 2017-11-01 15:02:11 -07:00
gradle.properties Bug 1366644 - Pre: Bump Gradle JVM heap to allow in-process dex. r=maliu 2017-07-18 17:59:57 -07:00
gradlew
mach
moz.build Bug 1410911 - back out bug 1403322; r=gbrown 2017-11-10 18:19:47 +00:00
moz.configure Bug 1415686 - Ensure both configure and old-configure agree on what MOZ_DEBUG means. r=chmanchester 2017-11-09 07:41:21 +09:00
mozilla-config.h.in Bug 1371266 - libpng should be built with -std=c89. r=glennrp 2017-06-08 06:29:03 -07:00
npm-shrinkwrap.json Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01:00
old-configure.in Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-15 12:15:40 +02:00
package.json Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01:00
settings.gradle Bug 1360587 - Part 2. Remove bouncer apk build config; source; docs, r=nalexander 2017-10-25 22:51:44 +08:00
test.mozbuild

README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://nightly.mozilla.org/