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
Перейти к файлу
Gerald Squelart 0ff5eeaa62 Bug 1737376 - StreamMarkersToJSON should accept all markers if aThreadId is unspecified - r=julienw
Before bug 1577658, StreamMarkersToJSON directly called DeserializeAfterKindAndStream [1], which accepted an unspecified ProfilerThreadId [2], in which case it would output any marker [3].
This is used in particular when streaming markers from the Java thread, which is done with fake thread information including an unspecified thread id [4].

Bug 1577658 modified StreamMarkersToJSON to use an updated DeserializeAfterKindAndStream, and didn't account for unspecified thread ids.
This patch adds the missing check, so that all markers found in the given buffer will be output.

[1] https://searchfox.org/mozilla-central/rev/8dc9602bebd48a94a12aaeb18a65a02d9aed4de3/tools/profiler/core/ProfileBufferEntry.cpp#1286-1287
[2] https://searchfox.org/mozilla-central/rev/8dc9602bebd48a94a12aaeb18a65a02d9aed4de3/mozglue/baseprofiler/public/BaseProfilerMarkersDetail.h#302
[3] https://searchfox.org/mozilla-central/rev/8dc9602bebd48a94a12aaeb18a65a02d9aed4de3/mozglue/baseprofiler/public/BaseProfilerMarkersDetail.h#313-317
[4] https://searchfox.org/mozilla-central/rev/8dc9602bebd48a94a12aaeb18a65a02d9aed4de3/tools/profiler/core/platform.cpp#2997,3006

Differential Revision: https://phabricator.services.mozilla.com/D129450
2021-10-26 21:00:50 +00:00
.cargo Bug 1735905 - Upgrade cubeb-pulse to fix a race condition that can lead to shutdown deadlock. r=kinetik 2021-10-16 01:19:56 +00:00
.vscode
accessible Bug 1736938 Part 3 - Make all WordBreaker's methods static, and adapt the callers. r=jfkthame 2021-10-25 19:00:22 +00:00
browser Bug 1732375 - Update file menu close tab item to reflect multiple tabs selected r=jhirsch,fluent-reviewers 2021-10-26 20:00:26 +00:00
build Bug 1737164 - Don't produce symlinks in Windows clang toolchains. r=glandium DONTBUILD CLOSED TREE 2021-10-22 00:48:13 +00:00
caps Bug 1725942 - Part 1: Add ContentPrincipalInfoHashKey r=bholley 2021-10-19 12:01:49 +00:00
chrome Bug 1734823 - Enable ESLint rule no-unused-vars globally for xpcshell test*.js files. r=necko-reviewers,Gijs,valentin 2021-10-11 11:07:02 +00:00
config Bug 1737731 - Rebuild rlbox.wasm.c when wasm2c is modified. r=firefox-build-system-reviewers,mhentges 2021-10-26 20:52:06 +00:00
devtools Bug 1734573 - Fix failed test, r=bomsy 2021-10-26 19:39:28 +00:00
docs no bug - doc: use https:// for valgrind.org r=jseward DONTBUILD 2021-10-22 17:09:59 +00:00
docshell Bug 1567443 - Added flag for indicating secure Chrome UI in nsIAboutModule. r=pbz,webcompat-reviewers,twisniewski 2021-10-26 13:32:31 +00:00
dom Bug 1723505 - Convert IPC processes to GeckoArgs r=nika,kershaw 2021-10-26 19:42:03 +00:00
editor Bug 1736938 Part 3 - Make all WordBreaker's methods static, and adapt the callers. r=jfkthame 2021-10-25 19:00:22 +00:00
extensions Bug 1737740 - Fix rlbox wasm sandboxed Hunspell mem leak and OOM handling r=glandium,deian 2021-10-26 18:50:19 +00:00
gfx Bug 1723505 - Convert IPC processes to GeckoArgs r=nika,kershaw 2021-10-26 19:42:03 +00:00
gradle/wrapper
hal
image Bug 1734058 - Update dav1d to new version f52aee04fbd711cddab23d0aa9b196e9c963e7b8 from 2021-10-04 21:58:36. r=mjf,haik 2021-10-26 17:11:36 +00:00
intl Bug 1737765 - Part 1: Update tzdata in ICU data files to 2021a3. r=platform-i18n-reviewers,gregtatum 2021-10-26 13:50:53 +00:00
ipc Bug 1723505 - Convert IPC processes to GeckoArgs r=nika,kershaw 2021-10-26 19:42:03 +00:00
js Bug 1737765 - Part 2: Update tests for tzdata2021a3. r=platform-i18n-reviewers,gregtatum 2021-10-26 13:50:59 +00:00
layout Bug 1712780 - Skip running the line-breaker when scanning SVG text frames. r=emilio 2021-10-26 16:54:01 +00:00
media Bug 1734058 - Update dav1d to new version f52aee04fbd711cddab23d0aa9b196e9c963e7b8 from 2021-10-04 21:58:36. r=mjf,haik 2021-10-26 17:11:36 +00:00
memory Backed out changeset 27b73fdbb4a9 (bug 1737199) for causing bustages on memory/replace/logalloc/replay/Replay.cpp. CLOSED TREE 2021-10-26 13:00:29 +03:00
mfbt Bug 1735715 - Handle gMaxSubPageClass == 0 properly r=glandium 2021-10-21 06:03:45 +00:00
mobile Bug 1737032 - Removed traces of "remote XUL". r=Gijs,fluent-reviewers 2021-10-25 11:00:47 +00:00
modules Bug 1733481 retry telemetry requests when a proxy fails r=chutten,robwu,necko-reviewers,valentin 2021-10-26 20:32:52 +00:00
mozglue Backed out 2 changesets (bug 1736459) for causing SM bustage CLOSED TREE 2021-10-23 00:26:49 +03:00
netwerk Bug 1733481 retry telemetry requests when a proxy fails r=chutten,robwu,necko-reviewers,valentin 2021-10-26 20:32:52 +00:00
nsprpub
other-licenses
parser Bug 1626517 - Replaced mozilla::Unused with mozilla::Ignore in mozilla::Decoder/mozilla::Encoder calls. r=m_kato 2021-10-25 12:31:41 +00:00
python Bug 1706650 - Split localization item for update banner label for each notification. r=zbraniecki,fluent-reviewers,Gijs 2021-10-26 18:32:36 +00:00
remote Bug 1735162 - [marionette] Write Marionette port to MarionetteActivePort file in profile directory. r=webdriver-reviewers,jdescottes 2021-10-15 14:45:28 +00:00
security Bug 1734058 - Update dav1d to new version f52aee04fbd711cddab23d0aa9b196e9c963e7b8 from 2021-10-04 21:58:36. r=mjf,haik 2021-10-26 17:11:36 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM 2021-10-25 13:04:02 +00:00
servo Bug 1736518 - Make browser.tabs.drawInTitlebar a tri-state. r=stransky,Gijs 2021-10-21 09:07:12 +00:00
startupcache Backed out 3 changesets (bug 1724509) for causing marionette failures. CLOSED TREE 2021-10-06 03:57:57 +03:00
storage Bug 1731564: Use motivated SpinEventLoopUntil inside storage/*. r=janv 2021-10-07 08:06:14 +00:00
taskcluster Bug 1737325: remove amazon-sec page load test r=perftest-reviewers,AlexandruIonescu 2021-10-26 20:45:46 +00:00
testing Bug 1737325: remove amazon-sec page load test r=perftest-reviewers,AlexandruIonescu 2021-10-26 20:45:46 +00:00
third_party Bug 1734058 - Update dav1d to new version f52aee04fbd711cddab23d0aa9b196e9c963e7b8 from 2021-10-04 21:58:36. r=mjf,haik 2021-10-26 17:11:36 +00:00
toolkit Bug 1737389 - Fixes red line of the bar around the left side when not found. r=harry,desktop-theme-reviewers 2021-10-26 20:42:56 +00:00
tools Bug 1737376 - StreamMarkersToJSON should accept all markers if aThreadId is unspecified - r=julienw 2021-10-26 21:00:50 +00:00
uriloader Bug 1736749 - ensure we alwaysAskBeforeHandling downloads in browser_download_open_with_internal_handler.js to verify unknown-content-type dialog behavior when download improvements are flipped on. r=Gijs 2021-10-21 10:37:16 +00:00
view Bug 1737044 - Include pointer and frame in nsWindow logging. r=stransky 2021-10-21 14:02:30 +00:00
widget Bug 1737489 - Application specific backout of bug 1691171, only for MOZ_THUNDERBIRD. r=mstange 2021-10-26 16:48:51 +00:00
xpcom Bug 1636629 - Permission check on stream filter parent creation. r=mixedpuppy 2021-10-26 16:44:10 +00:00
xpfe/appshell Bug 1672486 - Remove browser.toolbars.bookmarks.2h2020 pref from browser/customizableui/places r=mak 2021-10-14 07:51:14 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore Bug 1719746 - Add Locale to moz.build; r=platform-i18n-reviewers,gregtatum 2021-10-18 13:38:20 +00:00
.cron.yml No bug: Disable periodic updates on esr78. r=releng-reviewers,jcristau DONTBUILD 2021-10-04 14:28:33 +00:00
.eslintignore Bug 1658238 - Autocomplete source-mapped variable names r=nchevobbe 2021-10-19 11:40:09 +00:00
.eslintrc.js Bug 1531368 - Use `ChromeUtils.import` with one parameter in extensions code. r=robwu 2021-10-25 14:42:59 +00:00
.flake8
.git-blame-ignore-revs Bug 1735638 - Add Bug 1571899 to annotate/blame ignore revisions. r=glandium DONTBUILD 2021-10-14 16:02:46 +00:00
.gitattributes
.gitignore Bug 1734306 - Ignore Visual Studio config directory in VCS. r=mhentges 2021-10-18 14:46:13 +00:00
.hg-annotate-ignore-revs Bug 1735638 - Add Bug 1571899 to annotate/blame ignore revisions. r=glandium DONTBUILD 2021-10-14 16:02:46 +00:00
.hg-format-source
.hgignore Bug 1734306 - Ignore Visual Studio config directory in VCS. r=mhentges 2021-10-18 14:46:13 +00:00
.hgtags No bug - tagging f72751662b4af9b7fafa26fa9efa6a36b11b12a5 with FIREFOX_NIGHTLY_94_END a=release DONTBUILD CLOSED TREE 2021-10-04 18:58:49 +00:00
.lando.ini
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml Bug 1732723 - Rename "taskgraph" Python module to "gecko_taskgraph". r=jmaher 2021-09-30 09:50:08 -04:00
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-10-04 18:58:55 +00:00
Cargo.lock Bug 1711477 - Update etagere to 0.2.6. r=gfx-reviewers,jrmuizel 2021-10-21 08:54:49 +00:00
Cargo.toml
GNUmakefile
LICENSE
Makefile.in
README.txt
aclocal.m4
build.gradle Bug 1735628 - Update Glean to v42.1.0 r=TravisLong 2021-10-19 20:32:38 +00:00
client.mk Bug 1734594 - Terminate the sccache server in cases where submakes end in an error. r=firefox-build-system-reviewers,andi 2021-10-08 09:30:48 +00:00
client.py
configure.in
configure.py
gradle.properties
gradlew
gradlew.bat
mach
mach.ps1
moz.build Bug 1734831 - fx doc: import the gtest doc from mdn archive + refresh r=gcp DONTBUILD 2021-10-08 19:53:53 +00:00
moz.configure
mozilla-config.h.in
old-configure.in
package-lock.json Bug 1736781 - Update eslint-plugin-no-unsanitized to version 3.2.0 r=Standard8 2021-10-21 13:08:11 +00:00
package.json Bug 1736781 - Update eslint-plugin-no-unsanitized to version 3.2.0 r=Standard8 2021-10-21 13:08:11 +00:00
settings.gradle Bug 1737195 - Allow GV artifact build on Windows workstation again. r=nalexander 2021-10-25 03:16:58 +00:00
substitute-local-geckoview.gradle
test.mozbuild

README.txt

An explanation of the Firefox Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Firefox from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


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 Firefox developers for
testing, may be buggy.