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
Перейти к файлу
Adam Rice b22ef3a053 Bug 1566341 [wpt PR 17804] - Implement QueuingStrategies in C++, a=testonly
Automatic update from web-platform-tests
Implement QueuingStrategies in C++

Implement CountQueuingStrategy and ByteLengthQueuingStrategy in C++.

Implementing in WebIDL leads to some changes in semantics:

1. highWaterMark is now a getter on the prototype rather than an
property on each object. This is because adding properties directly on
objects is not usual practice in WebIDL, and is problematic to implement
in Blink.

2. size() is now a function returned by a getter. This is because a
methods in WebIDL must be called with |this| set to a valid object of
the appropriate type, but size() is called with |this| set to undefined.
See https://github.com/whatwg/streams/issues/1005 for more discussion.

These aren't expected to change behaviour of code in the wild, but the
count-queuing-strategy.any.js and byte-length-queuing-strategy.js
tests detect it.

Also add tests that subclassing of CountQueuingStrategy and
ByteLengthQueuingStrategyworks works properly. A previous iteration
of this change broke it.

Bug: 981333
Change-Id: Ifc18a469a58f73d54563ca549a1c8db0e001303b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1692108
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Commit-Queue: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#679897}

--

wpt-commits: 4dbc86fa9b79da17a037140fc2eaba05c80f90ee
wpt-pr: 17804
2019-07-31 02:53:57 +00:00
.cargo Bug 1569090 - Update audioipc to 177ebd96. r=chunmin 2019-07-27 13:14:23 +00:00
.vscode Bug 1563848 - Recommend a VSCode plugin for prettier. r=vporof 2019-07-06 07:33:28 +00:00
accessible Bug 1559414 - Rename unaudited pre-fission methods with SameProcess for future audit burndown. r=nika 2019-07-26 16:48:31 +00:00
browser Bug 1568636 - Import WebCompat GoFaster 5.0.2 sources r=denschub,rhelmer 2019-07-30 17:07:40 +00:00
build Bug 1569355 - Upgrade python-zstandard to 0.11.1. r=tomprince 2019-07-30 14:49:16 +09:00
caps Bug 1501108 - [1.7] Add GeckoView Session Context ID support. r=snorp,baku,mayhemer 2019-07-21 17:18:37 +00:00
chrome Bug 1565688. Remove unused IOService arg from NS_NewURI. r=mayhemer 2019-07-15 13:39:51 +00:00
config Bug 1569567 - Part 7: Remove currency codes and gender lists from ICU data file. r=jwalden 2019-07-30 08:03:11 +00:00
devtools Merge mozilla-inbound to mozilla-central. a=merge 2019-07-31 00:52:26 +03:00
docshell Bug 1459711: Ensure that navigation.performance.type is 2 when restoring a document from the session history. r=bzbarsky 2019-07-29 20:28:38 +00:00
dom Bug 1558915 - Use infallible nsIURI::SchemeIs in dom/base. r=smaug 2019-07-30 17:51:37 +00:00
editor Bug 1568777 - Make first argument of `nsIEditor.unmask()` optional r=m_kato 2019-07-29 12:21:02 +00:00
extensions Merge inbound to mozilla-central. a=merge 2019-07-17 06:48:50 +03:00
gfx Bug 1565039. In PicturePrimitive::take_context do calculation in float in case the unclipped rect is too big for int. r=gw 2019-07-30 09:06:31 +00:00
gradle/wrapper Bug 1522795 - Update android gradle plugin to 3.4.2. r=nalexander 2019-07-24 18:48:54 +00:00
hal Bug 1289211 - Rename InfallibleTArray to nsTArray in hal/ r=gsvelto 2019-07-10 03:30:52 +00:00
image Bug 1569772 - Release load group on main thread in win/nsIconChannel r=tnikkel 2019-07-29 22:42:39 +00:00
intl Bug 1568914 - Update Fluent to @fluent/bundle 0.14.0 r=zbraniecki,jdescottes 2019-07-30 13:21:59 +00:00
ipc Bug 1565405 - Fail async ctor call if `!Manager()->CanSend()`, r=froydnj 2019-07-29 16:37:40 +00:00
js Backed out changeset 617df479fac1 (bug 1167452) 2019-07-24 14:29:22 -07:00
layout Bug 1568778 - Do suppress adjustments when switching an undisplayed element to be abspos. r=dholbert 2019-07-29 13:44:46 +00:00
media Bug 1569526 - Remove return values from `Add*VarCache()`. r=KrisWright 2019-07-30 06:19:46 +00:00
memory Backed out changeset b1faa1af2967 (bug 1546442) for causing a spike in bug 1475812 and bug 1471001 a=backout 2019-07-26 00:15:37 +03:00
mfbt Backed out 3 changesets (bug 1569681) for causing build bustages. CLOSED TREE 2019-07-29 23:21:01 +03:00
mobile Bug 1568636 - Import WebCompat GoFaster 5.0.2 sources r=denschub,rhelmer 2019-07-30 17:07:40 +00:00
modules Backed out 9 changesets (bug 1387894) for wpt failures at /web-animations/timing-model/animations/finishing-an-animation.html on a CLOSED TREE 2019-07-30 21:05:59 +03:00
mozglue Bug 1567465 - Default BlockIndex used as empty value index before any valid entry - r=gregtatum 2019-07-19 16:10:30 +00:00
netwerk Backed out changeset ded87cc3f3ee (bug 1567826) for causing browser_check_identity_state.js to perma fail CLOSED TREE 2019-07-30 12:50:29 +03:00
nsprpub Bug 1562330 - Upgrade Firefox 70 to NSPR 4.22 beta1. r=me 2019-07-09 17:40:27 +02:00
other-licenses Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium 2019-07-11 16:40:13 +00:00
parser Bug 1559414 - Rename unaudited pre-fission methods with SameProcess for future audit burndown. r=nika 2019-07-26 16:48:31 +00:00
python Bug 1569880 - Report build errors during review-phase for C/C++ code. r=bastien 2019-07-30 07:42:18 +00:00
remote bug 1553756: remote: let Runtime.evaluate default to the current context; r=remote-protocol-reviewers,ochameau 2019-07-29 15:02:53 +00:00
security Backed out changeset ded87cc3f3ee (bug 1567826) for causing browser_check_identity_state.js to perma fail CLOSED TREE 2019-07-30 12:50:29 +03:00
services No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM 2019-07-29 13:29:43 +00:00
servo Bug 1569911 - Fix some issues when importing the previous patches in Gecko. 2019-07-30 12:25:12 +02:00
startupcache Bug 1554162 - Enable ESLint for startupcache/. r=froydnj 2019-05-25 02:07:26 +00:00
storage Bug 1567739 - Stop using deprecated rust libc integer types in storage_variant and kvstore. r=lina 2019-07-23 00:13:43 +00:00
taskcluster Merge mozilla-central to mozilla-inbound 2019-07-31 03:29:55 +03:00
testing Bug 1566341 [wpt PR 17804] - Implement QueuingStrategies in C++, a=testonly 2019-07-31 02:53:57 +00:00
third_party Bug 1569331 - Update bindgen to 0.51. r=froydnj 2019-07-27 00:36:18 +00:00
toolkit Bug 1566180 - Update Widevine fallback downloader to 4.10.1440.19. r=rhelmer 2019-07-30 16:03:20 +00:00
tools Bug 1569472 - Level Down the Error level to 2. r=ahal 2019-07-30 15:20:00 +00:00
uriloader Bug 1569526 - Remove return values from `Add*VarCache()`. r=KrisWright 2019-07-30 06:19:46 +00:00
view Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
widget Bug 1569526 - Remove return values from `Add*VarCache()`. r=KrisWright 2019-07-30 06:19:46 +00:00
xpcom Bug 1570019: Verify that nsContentUtils is initialized before calling into it. r=froydnj 2019-07-30 15:51:17 +00:00
xpfe/appshell Bug 1566833 - Update to use ReferrerInfo in nsIWebBrowserChrome3 r=Gijs,snorp 2019-07-29 10:13:45 +00:00
.arcconfig
.clang-format Bug 1547143 - Force the pointer style declaration r=Ehsan 2019-05-01 08:46:08 +00:00
.clang-format-ignore Bug 1563903 - Remove libmar from the clang ignore list r=Ehsan 2019-07-08 15:39:24 +00:00
.cron.yml Bug 1565630 - Do searchfox C++/Rust indexing on ESR68. r=RyanVM 2019-07-15 17:55:20 +00:00
.eslintignore Bug 1556849 - Enable ESLint for dom/base/. r=Standard8,mccr8 2019-07-15 17:22:45 +00:00
.eslintrc.js Bug 1564555 - Enable some more ESLint rules for layout. r=Standard8,dholbert 2019-07-18 21:00:21 +00:00
.flake8 Bug 1542963 - Fix most flake8 issues in python/mozbuild/mozbuild/* r=firefox-build-system-reviewers,chmanchester 2019-05-28 14:22:20 +00:00
.gdbinit
.gdbinit_python Bug 1564314 - Move gdbpp back to python/. r=nalexander 2019-07-11 02:39:31 +00:00
.git-blame-ignore-revs Bug 1564862 - Update .git-blame-ignore-revs to ignore reformatting m-c using Prettier (bug 1561435) in blame/annotate, r=sylvestre 2019-07-10 13:47:38 +00:00
.gitattributes Bug 770286: Prevent git LF-to-CRLF autoconversion r=glandium 2019-07-06 02:36:03 +00:00
.gitignore Bug 1559479 - mach lint complains about newtab node_modules r=dmose 2019-07-12 15:24:07 +00:00
.hg-annotate-ignore-revs Bug 1563763 - Ignore reformatting m-c using Prettier (bug 1561435) in in blame/annotate, r=standard8, CLOSED TREE, DONTBUILD 2019-07-05 17:53:06 +02:00
.hg-format-source Bug 1556393 - Pre 1 (m-c): Update .hg-format-source to use Prettier when running format-source, r=andi, CLOSED TREE 2019-07-03 20:48:37 +02:00
.hgignore Bug 1559479 - mach lint complains about newtab node_modules r=dmose 2019-07-12 15:24:07 +00:00
.hgtags No bug - Tagging mozilla-central e596664275d5e3e2fdcb7fa8d1447289f99269c3 with FIREFOX_NIGHTLY_69_END a=release DONTBUILD CLOSED TREE 2019-07-08 16:13:40 +00:00
.lldbinit
.mailmap
.prettierignore Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
.prettierrc Bug 1551218 - Part 3: Add a top-level .prettierrc and reformat the debugger, r=jlast 2019-05-17 15:51:36 +00:00
.taskcluster.yml Bug 1542233 - Add link to treeherder for all notification emails r=tomprince 2019-07-08 18:47:27 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1522135 - Make .ycm_extra_conf.py work with python3. r=jgraham 2019-01-24 13:51:28 +01:00
AUTHORS
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-07-08 17:27:36 +00:00
Cargo.lock Bug 1569331 - Update bindgen to 0.51. r=froydnj 2019-07-27 00:36:18 +00:00
Cargo.toml Bug 1569331 - Update bindgen to 0.51. r=froydnj 2019-07-27 00:36:18 +00:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1565706 - Allow to run `mach build rust` without setting MOZ_RUST_TIER. r=froydnj 2019-07-15 23:50:31 +00:00
README.txt
aclocal.m4 Bug 1557583 - Add a --enable-frame-pointers option. r=chmanchester 2019-06-12 22:30:46 +00:00
build.gradle Bug 1568982 - Include source line information in apilint. r=nalexander 2019-07-25 20:31:38 +00:00
client.mk
client.py
configure.in
configure.py Bug 1559975 - Make configure.py lint with 'py2' and 'py3' r=catlee 2019-07-08 17:34:09 +00:00
gradle.properties Bug 1527896 - Increase Gradle heaps to handle large assets. r=nalexander 2019-02-14 18:21:13 +00:00
gradlew
gradlew.bat Bug 1527796 - Part 3. Use gradlew.bat on Windows. r=nalexander 2019-02-26 11:06:12 +09:00
mach
moz.build Bug 1560425 - Remove old performance measurement API r=jorendorff 2019-07-02 14:37:17 +00:00
moz.configure Bug 1560340 - Only add confvars.sh as a dependency to config.status when it exists. r=chmanchester 2019-06-20 18:43:25 +00:00
mozilla-config.h.in
old-configure.in Bug 1568452 - Move ANDROID and ANDROID_PLATFORM to moz.configure r=froydnj 2019-07-24 13:41:20 +00:00
package-lock.json Bug 1567134 - Update the node modules packages for the builders. r=ahal 2019-07-18 13:10:40 +00:00
package.json Bug 1564138 - Fix DevTools PropTypes errors when updating eslint. r=Ola. 2019-07-17 10:35:44 +00:00
settings.gradle Bug 1543982 - Part 1: Avoid re-configuring from within Gradle. r=emilio 2019-05-09 20:38:48 +00: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.]

Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.