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
Перейти к файлу
Hongchan Choi 392acd3ba0 Bug 1545680 [wpt PR 16368] - Fix flakiness in audioworklet-suspend.https.html, a=testonly
Automatic update from web-platform-tests
Fix flakiness in audioworklet-suspend.https.html

It is because the actual suspension takes time to stop the render loop
completely. So the current time advances a little after the suspension
and the assertion that compares two timestamps fails.

This CL fixes the problem by:
1. Suspend the context immediately after its creation.
2. Cache timestamp A after the worklet module loading is completed.
3. Check timestamp B after 500ms. If the context is not suspended
   (which is the original bug), two timestamps A and B won't match.

Bug: 953332
Test: external/wpt/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-suspend.https.html
Change-Id: I3fc4ccf78ec9c137128f8605d502692be303b02e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1570129
Reviewed-by: Raymond Toy <rtoy@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Commit-Queue: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#651437}

--

wpt-commits: 3f690a244306cae2276fd1e5f620f5e83096a445
wpt-pr: 16368
2019-06-05 10:26:25 +01:00
.cargo
.vscode
accessible Bug 1539469 - Make all input elements display: inline-block, for compat with other UAs. r=mats 2019-06-04 15:39:47 +00:00
browser Bug 1552785. Remove internal code for various frameset printing behaviors. r=bobowen 2019-05-21 16:01:34 +01:00
build Bug 1554989 - Fix implicit checker on inheriting constructors r=andi 2019-06-04 11:36:46 +00:00
caps Bug 1496418: Update Content Policy checks and allow CSP checks for system principal triggered loads. r=mccr8,baku 2019-06-03 06:04:25 +00:00
chrome
config Bug 1508976 - Produce a multi-architecture GeckoView "fat AAR". r=glandium 2019-05-30 15:22:09 +00:00
devtools Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-05 00:52:43 +03:00
docshell Bug 1552017 - Expand the kinds of URLs that can cancel content JS when navigating; r=smaug 2019-06-04 16:19:27 +00:00
dom Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-05 00:52:43 +03:00
editor Bug 1426709 - Make HTMLEditor update selection ancestor limit synchronously when editing host is changed to ancestor element r=smaug 2019-06-04 08:42:43 +00:00
extensions Merge mozilla-inbound to mozilla-central. a=merge 2019-06-03 19:01:53 +03:00
gfx Bug 1556822 - Add the display color profile to about:support. r=miko 2019-06-04 18:50:47 -04:00
gradle/wrapper
hal
image Bug 1554847 - Improve cross-origin checks in canvas API - imgIRequest.hadCrossOriginRedirects, r=aosmond 2019-06-04 06:31:42 +00:00
intl Merge mozilla-central to autoland. 2019-06-03 19:24:20 +03:00
ipc Bug 1555917 - Exception handler and crash reporter client cleanup r=froydnj 2019-05-31 21:54:03 +00:00
js Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-06-04 19:08:56 +03:00
layout Bug 1552785. Remove printing related isFramesetDocument and isFramesetFrameSelected code. r=bobowen 2019-05-21 23:25:57 +01:00
media Merge inbound to mozilla-central. a=merge 2019-06-04 19:05:52 +03:00
memory Bug 1553363 - Generalize the *_impl goop for allocation functions in mozglue. r=froydnj 2019-05-29 22:49:42 +00:00
mfbt Bug 1554063 - Move decimal to mozglue. r=jwalden 2019-05-29 06:57:28 +00:00
mobile Bug 1552785. Remove internal code for various frameset printing behaviors. r=bobowen 2019-05-21 16:01:34 +01:00
modules Bug 1552785. Remove internal code for various frameset printing behaviors. r=bobowen 2019-05-21 16:01:34 +01:00
mozglue Backed out 12 changesets (bug 1492121) for platform.cpp and TestBaseProfiler.cpp related bustages CLOSED TREE 2019-06-04 12:08:39 +03:00
netwerk Bug 1533877 - Frame navigations should check their parent's Cross-Origin policy r=nika 2019-06-04 12:24:56 +00:00
nsprpub
other-licenses
parser Bug 1556746 - Remove kCharsetFromHintPrevDoc that have been accidentally restored by resolving merge conflict. r=hsivonen 2019-06-04 14:47:34 +00:00
python Bug 1556185 - Ensure autoconf.mk is tracked as a dependency when preprocessing webidls. r=nalexander 2019-06-03 20:33:36 +00:00
remote
security Bug 1550889 - land NSS 8082be3a6363 UPGRADE_NSS_RELEASE, r=me 2019-06-04 19:39:40 +00:00
services Backed out changeset 8aca39389e35 (bug 1555771) for browser-chrome failures at browser/components/extensions/test/browser/browser_ext_tabs_events.js 2019-06-04 03:22:59 +03:00
servo Backed out changeset ba1f75c56457 (bug 1555150) for xpcshell failures at devtools/shared/tests/unit/test_css-properties-db.js 2019-06-04 07:52:50 +03:00
startupcache
storage
taskcluster Bug 1556695 - Remove pinned Chromium revision on OSX r=perftest-reviewers,davehunt 2019-06-04 12:32:35 +00:00
testing Bug 1545680 [wpt PR 16368] - Fix flakiness in audioworklet-suspend.https.html, a=testonly 2019-06-05 10:26:25 +01:00
third_party Bug 1543077 part 1 - Vendor shift_or_euc into m-c. r=emk. 2019-06-03 15:30:41 +03:00
toolkit Bug 1552785. Remove printing related isFramesetDocument and isFramesetFrameSelected code. r=bobowen 2019-05-21 23:25:57 +01:00
tools Backed out 12 changesets (bug 1492121) for platform.cpp and TestBaseProfiler.cpp related bustages CLOSED TREE 2019-06-04 12:08:39 +03:00
uriloader Bug 1555374. Use StaticPrefs accessors for various prefs that moved to StaticPrefs recently. r=edgar 2019-06-01 02:29:26 +00:00
view
widget Bug 1552785. Remove printing related isFramesetDocument and isFramesetFrameSelected code. r=bobowen 2019-05-21 23:25:57 +01:00
xpcom Bug 1556386: rename `aSkip` to `aMightSkip` in nsCycleCollectionParticipant.h. r=mccr8 2019-06-03 20:09:40 +00:00
xpfe/appshell
.arcconfig
.clang-format
.clang-format-ignore Bug 1554063 - Move decimal to mozglue. r=jwalden 2019-05-29 06:57:28 +00:00
.cron.yml Bug 1554608 Schedule raptor fennec v64 tests in CI r=dustin,tomprince 2019-06-03 13:59:18 +00:00
.eslintignore Bug 1532937 - Enable ESLint for dom/flex and dom/grid (manual changes). r=Standard8,smaug 2019-06-03 10:35:57 +00:00
.eslintrc.js
.flake8
.gdbinit
.gdbinit_python
.git-blame-ignore-revs
.gitignore
.hg-annotate-ignore-revs
.hg-format-source
.hgignore
.hgtags
.lldbinit
.mailmap
.prettierrc
.taskcluster.yml
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER Bug 1555661 - Fix client code inclusion in Google urls. r=daleharvey 2019-05-31 12:56:59 +00:00
Cargo.lock Bug 1543077 part 1 - Vendor shift_or_euc into m-c. r=emk. 2019-06-03 15:30:41 +03:00
Cargo.toml
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1508976 - Produce a multi-architecture GeckoView "fat AAR". r=glandium 2019-05-30 15:22:09 +00:00
README.txt
aclocal.m4
build.gradle
client.mk
client.py
configure.in
configure.py
gradle.properties
gradlew
gradlew.bat
mach
moz.build
moz.configure
mozilla-config.h.in
old-configure.in
package-lock.json
package.json
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.]

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.