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
Go to file
OJ Kwon 6b94212fed servo: Merge #20439 - refactor(websocket): do not borrow sender anymore (from kwonoj:refactor-websocket-send); r=jdm
<!-- Please describe your changes on the following line: -->
Relates to #20438.

Per instructed, this PR aim to remove borrwing `Websocket::sender`, by explicitly injecting instance via ctor.

---
<!-- 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 #20438 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
- These changes are locally passed compilation / passed unit test on macOS.

<!-- 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: 31d7d3f1fb66c3b14865cf1c1f708475a91bfe00

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dc5bca5d81cf5aed339e0213b0a216d0b3a700b2
2018-03-26 12:05:24 -04:00
.cargo Bug 1426116 - Update for changes in WR PR 2251. r=jrmuizel 2018-01-08 09:19:27 -05:00
.vscode Bug 1423565 - Update tasks.json as per documentation. r=rillian 2017-12-06 14:59:35 +01:00
accessible Bug 1431256 correction: AccessibleHandler: Really return E_NOINTERFACE for IEnumVARIANT if there are no children. r=MarcoZ 2018-03-22 17:57:34 -04:00
browser Bug 1432435 - Remove synchronous Bookmarks::getBookmarkURI. r=mak 2018-03-23 17:32:37 +00:00
build Bug 1440714 - Convert Android browser test harnesses to adb.py; r=bc 2018-03-23 18:06:27 -06:00
caps Bug 1442239 - Make URI deserialization (nsISerializable.read) happen via nsIURIMutator only r=mayhemer 2018-03-19 20:22:32 +01:00
chrome Bug 1443079 - nsScriptError.isFromPrivateWindow must match the correct value also in e10s mode, r=smaug 2018-03-13 06:40:38 +01:00
config Bug 1429875 - Implement OBJ_SUFFIX overriding for the profile generation phase on linux in mozbuild. r=glandium 2018-03-20 16:44:12 -07:00
db Bug 1442370 - Change SQLITE_TEMP_FILE_PREFIX to a Mozilla unique value. r=asuth 2018-03-01 20:55:18 +01:00
devtools Bug 1447709 - Remove old-event-emitter usage from new performance panel; r=gregtatum. 2018-03-21 17:55:35 +01:00
docshell Bug 1447098 part 1. Rename FromContent on various DOM classes to FromNode. r=mystor 2018-03-21 17:39:04 -04:00
dom Bug 1448716 - Remove PropertyValuePair::mValue. r=hiro 2018-03-26 16:15:56 +11:00
editor Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
embedding Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian 2018-01-29 15:20:18 -08:00
extensions Bug 1448071 - Support UNC paths for spell check dictionaries. r=masayuki 2018-03-23 21:29:16 +09:00
gfx Backed out 2 changesets (bug 1446108) for build bustages on build\src\obj-firefox\dist\include\mozilla/Alignment.h(29) CLOSED TREE 2018-03-23 18:44:07 +02:00
gradle/wrapper Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu 2017-10-26 11:00:36 -07:00
hal Bug 1447873 - Remove Time API backend in hal. r=gsvelto 2018-03-22 10:46:42 +09:00
image Bug 1445302 - Replace TArray.RemoveElementAt(TArray.Length() - 1) pattern with TArray.RemoveLastElement() or TArray.PopLastElement() r=froydnj 2018-03-13 14:51:33 +01:00
intl Bug 1447189 - Support BCP47 private use subtags in MozLocale. r=jfkthame 2018-03-22 15:19:15 -07:00
ipc Bug 1448053 - be more efficient in MessageChannel::RepostAllMessages; r=jld 2018-03-23 09:40:53 -04:00
js Bug 1448048. Restrict the window.Components shim to non-nightly-only to see whether sites actually use it. r=mccr8 2018-03-23 12:53:48 -04:00
layout Merge m-c to autoland. a=merge 2018-03-26 09:19:29 -04:00
media Bug 1448883 - Resync with cubeb 7401fc25a9d. r=padenot 2018-03-26 18:07:10 +02:00
memory Bug 1447795 - Add some more UseItOrLoseIt to SmokeDMD.cpp. r=njn 2018-03-21 13:52:00 +02:00
mfbt Bug 1448387: Use alignof() in HasFreeLSB. r=froydnj 2018-03-23 19:09:42 +01:00
mobile Bug 1448048. Restrict the window.Components shim to non-nightly-only to see whether sites actually use it. r=mccr8 2018-03-23 12:53:48 -04:00
modules Bug 1447210 - Upper-case log levels for Console.createInstance(), r=bgrins 2018-03-24 08:21:01 +01:00
mozglue Bug 1446680 - Restrict WindowsDllBlocklist's gStartAddressesToBlock to Nightly builds. r=aklotz 2018-03-17 21:14:18 +01:00
netwerk Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-23 01:00:18 +02:00
nsprpub Bug 1432480, land NSPR_4_19_RTM, no code changes, only version numbers. Require version 4.19 for building. r=me 2018-03-05 17:05:18 +01:00
other-licenses Bug 1434513 - Adjust bsdiff heuristics. r=glandium 2018-03-06 15:49:20 -08:00
parser Bug 1411469 - Statically allocate static atoms. r=froydnj 2018-03-26 11:18:31 +02:00
python Bug 1447817 - correlate mach static-analysis documentation with configuration file. r=sylvestre 2018-03-24 13:01:04 +02:00
rdf Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan 2018-03-16 14:29:15 +01:00
security No bug, Automated HPKP preload list update from host bld-linux64-spot-303 - a=hpkp-update 2018-03-25 13:32:21 -07:00
services Merge inbound to mozilla-central. a=merge 2018-03-22 01:46:39 +02:00
servo servo: Merge #20439 - refactor(websocket): do not borrow sender anymore (from kwonoj:refactor-websocket-send); r=jdm 2018-03-26 12:05:24 -04:00
startupcache Bug 1439047 - Part 2: Cleanup StartupCache::PutBuffer hashtable usage. r=froydnj 2018-02-16 15:58:30 -08:00
storage Bug 1435446 - Add a default transaction type for storage connections. r=mak 2018-02-28 22:44:40 -08:00
taskcluster Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-23 01:00:18 +02:00
testing Bug 1446296 - builds should use the internal pypi mirror, r=aki 2018-03-26 12:10:02 +13:00
third_party Bug 1445528: Update 'cc' crate to version 1.0.9. r=jgraham 2018-03-22 13:43:03 -07:00
toolkit Bug 1432435 - Remove synchronous Bookmarks::getBookmarkURI. r=mak 2018-03-23 17:32:37 +00:00
tools Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE 2018-03-22 20:06:24 +01:00
uriloader Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
view Bug 1423551: Use BaseRect access methods instead of member variables in view/. r=jet 2018-01-10 11:16:22 -05:00
widget Merge inbound to mozilla-central. a=merge 2018-03-25 12:34:23 +03:00
xpcom Bug 1411469 - Statically allocate static atoms. r=froydnj 2018-03-26 11:18:31 +02:00
xpfe Backed out changeset becfb5f6388d (bug 1447875) for failing browser chrome at browser/base/content/test/performance/browser_windowopen_reflows.js on a CLOSED TREE 2018-03-22 08:54:03 +02:00
.arcconfig Bug 1424950: Add missing repository.callsign to .arcconfig. r=dkl 2017-12-13 15:38:18 +01: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 Bug 1448382 - Add js/src/vtune/ to the ThirdPartyPaths and .clang-format-ignore. r=sylvestre 2018-03-23 21:38:55 +02:00
.cron.yml Bug 1418188 - Run Searchfox indexing in TaskCluster on a daily basis (r=dustin,chmanchester) 2017-11-23 07:25:12 -08:00
.eslintignore Bug 1444926 - Move devtools/shim to devtools/startup;r=ochameau 2018-03-12 14:41:48 +01:00
.eslintrc.js Bug 1434446 - Enable no-unused-vars for global scope on jsm files in browser/. r=mossop 2018-03-01 20:06:06 +00:00
.flake8 Bug 1434430 - [flake8] Fix blank 'except' statements r=rwood 2018-01-31 14:32:08 -05:00
.gdbinit
.gdbinit_python
.gitignore Bug 1439727 - Ignore third_party/python/psutil/tmp/ in VCS; r=nalexander 2018-03-07 08:59:48 -08:00
.hgignore Bug 1439727 - Ignore third_party/python/psutil/tmp/ in VCS; r=nalexander 2018-03-07 08:59:48 -08:00
.hgtags No bug - Tagging mozilla-central fdd1a0082c71673239fc2f3a6a93de889c07a1be with FIREFOX_NIGHTLY_60_END a=release DONTBUILD CLOSED TREE 2018-03-12 13:18:08 +00:00
.inferconfig
.lldbinit
.mailmap NO BUG - Use ato's new address. r=me 2018-02-26 15:59:29 +00:00
.taskcluster.yml Bug 1437562: only use ..:branch:default role, not :*; r=bstack 2018-02-12 18:58:05 +00:00
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle Bug 1447734 - Specify Google Play Services library version in Gradle r=nalexander 2018-03-22 14:35:38 -05:00
Cargo.lock Bug 1445528: Update 'cc' crate to version 1.0.9. r=jgraham 2018-03-22 13:43:03 -07:00
Cargo.toml Bug 1444174 - point people away from Cargo.toml for opt-level settings of Rust code; r=nalexander 2018-03-09 09:31:17 -05:00
client.mk Bug 1417264 - Write .mozconfig.json from Python; r=nalexander 2017-11-13 17:45:03 -08:00
client.py
CLOBBER Bug 1445524 - Always embed ICU data directly into the library, not storing it in a separate file in the file system. r=ted 2018-03-19 20:33:48 -07: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
GNUmakefile
gradle.properties Bug 1411654 - Part 2: Update Robolectric to 3.5.1. r=mcomella 2017-11-07 20:26:43 -08:00
gradlew
LEGAL
LICENSE
mach
Makefile.in Bug 1445398 - Do not re-generate buildid.h for every Tup build. r=mshal 2018-03-22 16:03:12 -07:00
moz.build Bug 1445763 - Update moz.build meta data with "Firefox Build System". r=froydnj 2018-03-14 21:44:46 +01:00
moz.configure Bug 1435424 - Remove doxygen support from the build system. r=gps 2018-02-02 14:24:18 -08:00
mozilla-config.h.in Bug 1431803 Turn __try into if(true) and __except into else in the chromium sandbox code r=bobowen,glandium 2018-01-22 12:18:51 -06:00
npm-shrinkwrap.json Bug 1443093 - Update eslint-plugin-no-unsanitized to 3.0.0 / eslint to 4.18.2. r=mossop 2018-03-05 10:34:38 +00:00
old-configure.in Bug 1446270 - Android/arm target should turn on crash reporter as default. r=froydnj 2018-03-16 16:38:14 +09:00
package.json Bug 1443093 - Update eslint-plugin-no-unsanitized to 3.0.0 / eslint to 4.18.2. r=mossop 2018-03-05 10:34:38 +00:00
README.txt
settings.gradle
test.mozbuild

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/