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
Перейти к файлу
Sadman Kazi eaa8d6489e servo: Merge #16477 - Pass URL to Browser::new(), delegate url checking logic to 3rd party (from sadmansk:url_param_browser); r=paulrouget
<!-- Please describe your changes on the following line: -->
1. Move the logic of computing the initial url from `opts.rs` to `/ports/servo/main.rs`
2. Add a `ServoUrl` argument to `Browser::new`

Based on the requested changes by @paulrouget:
>We can read the pref in main() instead. shell.homepage would be used if the url is not passed as an argument. I'm trying to decouple the "app" logic and the "web engine" logic. I think it's up to the app to set the initial URL, and I'm not sure the initial url should be part of opts.

---
<!-- 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 #15636

<!-- Either: -->
- [ ] There are tests for these changes

<!-- 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: 87140641a4f8636b431db41777d01302f8f6ad3d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c2593a42892c939c91fff4f40f62e212dd8d0783
2017-06-11 21:16:06 -07:00
.cargo
.vscode Add some task definitions to run mach from VSCode (bug 1323308). r=gps 2017-05-04 18:03:54 +03:00
accessible Bug 1371698 - Don't run a11y+e10s tests on release branches of Windows. r=RyanVM 2017-06-10 11:38:00 -04:00
addon-sdk Backed out changeset 6f17a72e69cc (bug 1367424) 2017-06-06 13:02:29 +02:00
browser Bug 1354143 - Commit jump list on lazy idle thread. r=florian,jimm 2017-05-24 16:38:57 +08: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 Merge autoland to central, a=merge 2017-06-09 15:48:12 -07: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 1368554 ContentCacheInParent::mPendingCompositionCount should be decreased when TextCompositin which has dispatched composition events to corresponding remote process r=m_kato 2017-06-10 02:42:16 +09: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 1370454 - Part2: Expose runInTransaction in nsICookieService.idl, r=jduell 2017-06-06 05:36:00 +02:00
gfx Bug 1371114 - Add gecko profiler labels for WebRender, r=kats 2017-06-09 11:56:13 +08:00
gradle/wrapper
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 Bug 1365782 - Disable jit-test/parser/bug-1355046.js on cgc for timeouts. r=test-only 2017-06-09 17:03:54 -04:00
layout Merge inbound to m-c. a=merge 2017-06-11 22:06:40 -04:00
media Bug 1372057 - Limit pulse-rust to nightly builds. r=kinetik 2017-06-12 11:26:33 +10:00
memory Bug 1369626 - Remove MALLOC_XMALLOC. r=njn 2017-06-02 15:19:20 +09:00
mfbt Backed out 2 changesets (bug 1353593) for windows build bustage a=backout 2017-06-09 15:17:57 -07:00
mobile Backed out changeset 17c92027f70b (bug 1287852) for test_ext_all_apis.html failures a=backout CLOSED TREE 2017-06-09 09:06:19 -07: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 Bug 1370340 - Carry TopLevelOuterContentWindowId to redirected HTTP channels. r=mcmanus 2017-06-10 03:47:00 -04: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 No bug, Automated HPKP preload list update from host bld-linux64-spot-306 - a=hpkp-update 2017-06-11 08:31:38 -07: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 #16477 - Pass URL to Browser::new(), delegate url checking logic to 3rd party (from sadmansk:url_param_browser); r=paulrouget 2017-06-11 21:16:06 -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 Merge m-c to autoland, a=merge 2017-06-08 18:44:32 -07:00
testing Bug 1353987 - Clear ready promise when animation is canceled. r=birtles 2017-06-12 10:45:48 +09:00
third_party Bug 1371382 - Update gl_generator to 0.5.3. r=jrmuizel 2017-06-08 17:06:05 -04:00
toolkit Merge inbound to m-c. a=merge 2017-06-11 22:06:40 -04:00
tools Backed out changeset 91ddd0674124 (bug 1370176) for build bustage a=backout CLOSED TREE 2017-06-09 08:59:49 -07: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 1368554 ContentCacheInParent::mPendingCompositionCount should be decreased when TextCompositin which has dispatched composition events to corresponding remote process r=m_kato 2017-06-10 02:42:16 +09:00
xpcom Bug 1371880 - Use Variant with indexed access in MozPromise::ResolveOrRejectValue - r=jwwang 2017-06-12 11:19:58 +12:00
xpfe Bug 1363975 - Have loadOneTab() provide the correct triggeringPrincipal. r=gijs,smaug 2017-05-31 20:59:02 +02:00
.clang-format
.clang-format-ignore Bug 1363992 - Remove jemalloc 4. r=njn 2017-05-11 13:23:07 +09:00
.clang-tidy
.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
.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
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
client.mk
client.py
configure.in
configure.py
gradle.properties
gradlew
mach
moz.build Backed out changeset 91ddd0674124 (bug 1370176) for build bustage a=backout CLOSED TREE 2017-06-09 08:59:49 -07: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 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws 2017-05-08 10:29:47 +01:00
old-configure.in Bug 1367487: Change bundle name (CFBundleName) of content process on OSX/macOS to differentiate it from the Firefox bundle name. r=mstange,ted 2017-06-05 16:08:24 -04:00
package.json Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws 2017-05-08 10:29:47 +01:00
settings.gradle
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/