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
Перейти к файлу
Jeroen Kleijn bb39cc5939 servo: Merge #17258 - Reduce code duplication when adding a SessionHistoryChange (from jkl445:issue-17249); r=cbrewster
<!-- Please describe your changes on the following line: -->
Implemented add_pending_change method and refactored code to use this new method

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #17249 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 1e1b7f6ac2ff44f43d47ed0302016df106a782ee

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4f456692d4d9706a14721a0b302668a82248a64b
2017-06-09 11:41:53 -07:00
.cargo Bug 1277338 - Part 1: Turn js/src into the mozjs-sys crate; r=sfink 2016-10-13 16:12:42 -07:00
.vscode Add some task definitions to run mach from VSCode (bug 1323308). r=gps 2017-05-04 18:03:54 +03:00
accessible Bug 1367715: Check for IClientSecurity in a11y QueryInterface implementations; r=surkov 2017-05-31 16:07:30 -06:00
addon-sdk Backed out changeset 6f17a72e69cc (bug 1367424) 2017-06-06 13:02:29 +02:00
browser Backed out changeset 71da3a25b572 (bug 1370986) for timing out in browser_photon_customization_context_menus.js. r=backout 2017-06-09 21:19:50 +02:00
build Bug 1322803 - Allow setting additional rustflags via mozconfig. r=ted 2017-06-06 01:05:10 +01:00
caps Bug 1322235: Part 6 - Replace AddonPolicyService with a stub implementation in ExtensionPolicyService. r=mixedpuppy,zombie 2017-06-03 17:12:14 -07:00
chrome Merge inbound to m-c. a=merge 2017-05-25 16:34:16 -04:00
config Bug 1322803 - Allow setting additional rustflags via mozconfig. r=ted 2017-06-06 01:05:10 +01:00
db Bug 1371364 - Upgrade to SQLite 3.19.3. r=mak 2017-06-08 15:23:34 -04:00
devtools bug 1370176, generic configuration for l10n, r=flod,gps 2017-06-05 10:28:33 +02:00
docshell Bug 1024557 - Ignore x-frame-options if CSP with frame-ancestors exists. r=smaug 2017-06-07 21:17:49 +02:00
dom Bug 1370727 - Return void from nsICanvasRenderingContextInternal::SetIsOpaque r=bz 2017-06-09 12:15:42 -07:00
editor Bug 1371170 - Add non-virtual EditorBase::GetSelectionController. r=masayuki 2017-06-08 13:58:09 +09:00
embedding Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
extensions Bug 1367839 - Add decrypt(s,ed,ing,able) to the spellcheck dictionary. r=Ehsan 2017-05-25 11:34:32 -07:00
gfx merge mozilla-inbound to mozilla-central a=merge 2017-06-09 12:58:49 +02:00
gradle/wrapper Bug 1300094 - Update Gradle to 2.14.1 and Gradle Plugin to 2.1.3 r=sebastian 2016-09-22 14:31:01 -07:00
hal Bug 1366356 - Decrease the process priority of content processes that are not running a foreground tab - part 2 - enabled if the platform specific code is ready, r=smaug 2017-06-07 09:59:00 +02:00
image Bug 1368407 - Check for too-large PNG width. r=tn 2017-06-03 14:37:00 -04:00
intl Bug 1368646 - Expose nsSampleWordBreaker::GetClass as a public static function in nsIWordBreaker. r=emk 2017-06-01 17:02:54 +10:00
ipc Bug 1367885: Follow-up - remove code that mistakenly landed as part of commit 09894b9ce473; r=backout 2017-06-07 14:39:15 -06:00
js merge mozilla-inbound to mozilla-central a=merge 2017-06-09 16:03:43 +02:00
layout Bug 1311857 - Adjust CSS for date/time widget internals to prevent them from overflowing the widget. r=dholbert 2017-04-21 16:18:19 +08:00
media Bug 1371319 - null out pulse pointers on destruction. r=kinetik 2017-06-09 10:33:17 +10:00
memory Bug 1369626 - Remove MALLOC_XMALLOC. r=njn 2017-06-02 15:19:20 +09:00
mfbt Backed out changeset 51c81beac6aa (bug 1158445) for bustage on Android in mfbt/Poison.cpp. r=backout 2017-06-07 18:25:48 +02:00
mobile Bug 1229216 - Make Firefox Accounts "sign-in" flow default to sign-in, not registration r=nalexander 2017-06-09 14:27:31 -04:00
modules Merge inbound to central, a=merge 2017-06-08 18:10:10 -07:00
mozglue Bug 1370198 Back out the patch for bug 1369419 because the patch couldn't fix bug 1361132 and causes new crash bugs r=jimm 2017-06-05 21:52:16 +09:00
netwerk Merge mozilla-central to autoland 2017-06-09 16:12:32 +02:00
nsprpub Bug 1350291, landing final NSPR 4.15 RTM tag, no code change, just version number, r=me 2017-06-06 12:19:16 +02:00
other-licenses Bug 1366763 - Update the installer file icon. r=rstrong 2017-05-30 13:24:38 -07:00
parser Backout changeset 3d64bdd31c15 (bug 1333333) for causing bug 1367067, bug 1367085 and bug 1367330. 2017-05-24 11:35:33 +03:00
probes Bug 1344878 - add BUG_COMPONENT to probes/* files. r=Ms2ger 2017-03-24 09:50:48 -04:00
python Bug 1371245 - Install minidump-analyzer to its final location in artifact builds. r=nalexander 2017-06-08 10:03:03 -07:00
rdf Bug 1330235 - Remove NS_STDCALL_FUNCPROTO and replace its usage with decltype. r=froydnj 2017-05-09 23:00:37 +10:00
security Bug 1371701 - Fixed sandboxing tests to reflect that we're enabling file content process for all channels r=bobowen 2017-06-09 11:24:07 -04:00
services Bug 1369855 - Update sinon.js to version 2.3.2. r=markh 2017-06-02 15:50:30 -04:00
servo servo: Merge #17258 - Reduce code duplication when adding a SessionHistoryChange (from jkl445:issue-17249); r=cbrewster 2017-06-09 11:41:53 -07:00
startupcache Bug 1334318 - remove last uses of PR_smprintf; r=froydnj 2017-04-28 10:13:26 -06:00
storage Bug 1359011 - Make the mozilla/recommended eslint configuration the default for the whole tree. r=mossop 2017-04-25 20:12:21 +01:00
taskcluster Bug 1048446 - [taskcluster] Add a 'mochitest selftest' task that depends on a build, r=dustin 2017-05-31 13:52:29 -04:00
testing Bug 1371658 - Remove CommonTestCase.setup_SpecialPowers_observer; r=whimboo 2017-06-09 15:08:07 +01:00
third_party Bug 1371382 - Update gl_generator to 0.5.3. r=jrmuizel 2017-06-08 17:06:05 -04:00
toolkit bug 1369531 - Collect INPUT_EVENT_RESPONSE_COALESCED_MS opt-out r=bsmedberg,Dexter 2017-06-07 10:14:41 -04:00
tools bug 1370176, generic configuration for l10n, r=flod,gps 2017-06-05 10:28:33 +02:00
uriloader Bug 1354920 - Typo fixes around 'algorithm'. r=MattN 2017-06-06 17:50:25 -07:00
view Bug 1354933. Add some asserts for document viewer teardown. r=mats 2017-06-03 01:31:12 -05:00
widget Bug 1367692 - Make IMEHandler not restore default IMC unless legacy IMM-IME is active. r=m_kato 2017-06-07 11:42:27 +09:00
xpcom Merge mozilla-central to mozilla-inbound 2017-06-08 15:16:36 +02:00
xpfe Bug 1363975 - Have loadOneTab() provide the correct triggeringPrincipal. r=gijs,smaug 2017-05-31 20:59:02 +02:00
.clang-format Bug 1322321 - Update the clang format file to match more our coding style r=ehsan 2016-12-06 17:43:17 -10:00
.clang-format-ignore Bug 1363992 - Remove jemalloc 4. r=njn 2017-05-11 13:23:07 +09:00
.clang-tidy Bug 1319396 - Update the list of checkers in the .clang-tidy file r=Ehsan 2016-11-22 12:30:19 +01:00
.cron.yml Bug 1368058 - Fix Android and Linux Nightlys - triggered-by was removed in Bug 1351011; r=Callek a=tomcat 2017-05-26 14:43:58 +00:00
.eslintignore Bug 1369028 - Add build infrastructure for follow-on search telemetry system add-on. r=Mossop 2017-06-08 15:57:08 +01:00
.eslintrc.js Bug 1359011 - Make the mozilla/recommended eslint configuration the default for the whole tree. r=mossop 2017-04-25 20:12:21 +01:00
.flake8 Bug 1288432 - Use new mozlint configuration for flake8 linter, r=bc 2017-06-02 09:46:01 -04:00
.gdbinit Bug 1317802 - don't stop for SIGSYS in .gdbinit; r=jld 2016-11-16 01:13:22 -05: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 1367041 - Add |mach wpt| support for Chrome, Edge and Servo, r=AutomatedTester 2017-05-31 15:45:47 +01:00
.hgignore Bug 1364410 - Fix quantum-pageload test so it runs locally on windows via mach; r=jmaher 2017-06-05 14:51:06 -04:00
.hgtags No bug - Tagging mozilla-central 6583496f169cd8a13c531ed16e98e8bf313eda8e with FIREFOX_AURORA_54_BASE a=release DONTBUILD CLOSED TREE 2017-03-06 23:43:32 +01:00
.inferconfig Bug 1357629 - Add httpclientandroidlib to .inferconfig ignore list r=nalexander,njpark 2017-04-18 20:05:25 -07:00
.lldbinit Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.taskcluster.yml Bug 591688 - Notify when decision task fails r=dustin,gps 2017-04-12 21:01:46 -07:00
.ycm_extra_conf.py Bug 1293534: Fix .ycm_extra_conf after bug 1195748. r=gps 2016-08-09 10:30:58 -07:00
AUTHORS Bug 1111333 - Enable double-tap-drag to zoom. r=kats 2017-05-23 19:53:06 +02:00
Android.mk
CLOBBER Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1307301 - Don't attempt to compress compressed files when packing the symbols archive. r=ted 2017-04-27 22:51:19 -07:00
README.txt Bug 1349108 - Update links in README.txt to HTTPS r=RyanVM 2017-03-21 00:11:02 -04:00
aclocal.m4 Bug 1363992 - Remove jemalloc 4. r=njn 2017-05-11 13:23:07 +09:00
build.gradle Bug 1318823 - Use com.getkeepsafe.dexcount in Gradle builds. r=sebastian 2016-11-18 18:28:58 -08:00
client.mk Bug 1317778 - Emit a depfile with python configure dependencies so Make will know when to re-run configure. r=glandium 2016-12-02 10:05:57 -08:00
client.py
configure.in Bug 1295751 - Make it possible to copy configure.in to configure. r=gps 2016-08-16 19:35:00 -07:00
configure.py Bug 1316140 - Allow use of multiprocessing from config.status on windows. r=mshal 2016-12-21 16:28:28 -08:00
gradle.properties
gradlew
mach Bug 1316140 - Allow use of multiprocessing from config.status on windows. r=mshal 2016-12-21 16:28:28 -08:00
moz.build bug 1370176, generic configuration for l10n, r=flod,gps 2017-06-05 10:28:33 +02:00
moz.configure Bug 1367847 Support makensis on MinGW Linux for Windows builds r=glandium 2017-06-07 20:56:21 -05:00
mozilla-config.h.in
npm-shrinkwrap.json Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
old-configure.in Bug 1368920. Part 1 - AC_SUBST MOZ_DEV_EDITION so it can be used in moz.build. r=ted 2017-06-07 12:38:38 -05:00
package.json Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
settings.gradle Bug 1291363 - Add geckoview and geckoview_example Gradle projects. r=jchen,sebastian 2016-10-05 20:23:38 -07: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/