Bug ID
int64
961
1.91M
Comment ID
int64
3.98k
17.1M
Author
stringlengths
8
48
Comment Text
stringlengths
1
64.3k
1,884,649
16,838,212
Steps to reproduce: On git commit a3d5a112ddb2d665b0c7ac2919b6f4fc6c97366c the attached sample asserts in the js-shell when invoked as `obj-x86_64-pc-linux-gnu/dist/bin/js --fast-warmup --fuzzing-safe crash.js` ``` for (let v0 = 0; v0 < 5; v0++) { const v2 = String.fromCharCode(v0, String, v0, v0); const v3 = [String]; v3.unshift(v2); const v6 = v3.toLocaleString(); const v7 = v0 + v6; const v10 = [Reflect,[0,Infinity,0,0]]; this.newRope(Reflect.apply(v3.toLocaleString, v10, v10), v6).trimEnd(); v7.substring(v0, Symbol); } ``` ``` #0 0x0000555557f8b5db in CopyChars<unsigned char> (to=0x7fffffff9f91 "", from=0x1903abe05210, begin=0, length=1) at js/src/builtin/String.cpp:570 #1 0x0000555557f3ca54 in SubstringInlineString<unsigned char> (cx=0x7ffff7639100, left=..., right=..., begin=0, lhsLength=1, rhsLength=1) at js/src/builtin/String.cpp:598 #2 0x0000555557f3c512 in js::SubstringKernel (cx=0x7ffff7639100, str=..., beginInt=0, lengthInt=2) at js/src/builtin/String.cpp:661 #3 0x0000555558007971 in intrinsic_SubstringKernel (cx=0x7ffff7639100, argc=3, vp=0x7ffff56e91c0) at js/src/vm/SelfHosting.cpp:337 #4 0x0000555557b087ec in CallJSNative (cx=0x7ffff7639100, native=0x5555580076d0 <intrinsic_SubstringKernel(JSContext*, unsigned int, JS::Value*)>, reason=js::CallReason::Call, args=...) at js/src/vm/Interpreter.cpp:479 #5 0x0000555557adec03 in js::InternalCallOrConstruct (cx=0x7ffff7639100, args=..., construct=js::NO_CONSTRUCT, reason=js::CallReason::Call) at js/src/vm/Interpreter.cpp:573 #6 0x0000555557adf389 in InternalCall (cx=0x7ffff7639100, args=..., reason=js::CallReason::Call) at js/src/vm/Interpreter.cpp:640 #7 0x0000555557adf1c3 in js::CallFromStack (cx=0x7ffff7639100, args=..., reason=js::CallReason::Call) at js/src/vm/Interpreter.cpp:645 #8 0x0000555557aeda1f in js::Interpret (cx=0x7ffff7639100, state=...) at js/src/vm/Interpreter.cpp:3060 #9 0x0000555557ade5e5 in MaybeEnterInterpreterTrampoline (cx=0x7ffff7639100, state=...) at js/src/vm/Interpreter.cpp:393 #10 0x0000555557ade291 in js::RunScript (cx=0x7ffff7639100, state=...) at js/src/vm/Interpreter.cpp:451 #11 0x0000555557ae07d1 in js::ExecuteKernel (cx=0x7ffff7639100, script=..., envChainArg=..., evalInFrame=..., result=...) at js/src/vm/Interpreter.cpp:838 #12 0x0000555557ae0b4c in js::Execute (cx=0x7ffff7639100, script=..., envChain=..., rval=...) at js/src/vm/Interpreter.cpp:870 #13 0x0000555557cde31f in ExecuteScript (cx=0x7ffff7639100, envChain=..., script=..., rval=...) at js/src/vm/CompilationAndEvaluation.cpp:494 #14 0x0000555557cde445 in JS_ExecuteScript (cx=0x7ffff7639100, scriptArg=...) at js/src/vm/CompilationAndEvaluation.cpp:518 #15 0x000055555793e8ef in RunFile (cx=0x7ffff7639100, filename=0x7ffff5707050 "crash_2024_03_11.js", file=0x7ffff776a4c0, compileMethod=CompileUtf8::DontInflate, compileOnly=false, fullParse=false) at js/src/shell/js.cpp:1200 #16 0x000055555793e18c in Process (cx=0x7ffff7639100, filename=0x7ffff5707050 "crash_2024_03_11.js", forceTTY=false, kind=FileScript) at js/src/shell/js.cpp:1780 #17 0x0000555557916997 in ProcessArgs (cx=0x7ffff7639100, op=0x7fffffffdd10) at js/src/shell/js.cpp:10991 #18 0x0000555557905133 in Shell (cx=0x7ffff7639100, op=0x7fffffffdd10) at js/src/shell/js.cpp:11250 #19 0x00005555578fff74 in main (argc=4, argv=0x7fffffffdf78) at js/src/shell/js.cpp:11758 ```
1,884,941
16,840,209
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0 Steps to reproduce: - Make sure you're on regular release or beta - Make sure Enhanced Tracking Protection is set to "Standard" or "Custom" - Visit the following link: https://httpbin.org/redirect-to?url=https%3A%2F%2Fexample.com%3Fa%3Db%26c%3Dd&mc_eid=f20cd58c07 - End up on https://example.com/?a=b&c=d - Set Enhanced Tracking Protection to Strict - Visit https://httpbin.org/redirect-to?url=https%3A%2F%2Fexample.com%3Fa%3Db%26c%3Dd&mc_eid=f20cd58c07 again - End up on https://example.com/?a=b (&c=d is no longer present) On nightly the bug is present regardless of what ETP setting is selected. https://httpbin.org/redirect-to?url=https%3A%2F%2Fexample.com%3Fa%3Db%26c%3Dd (no mc_eid=f20cd58c07) goes to the correct location no matter what. This was originally found because it was breaking a real tracking url in a newsletter that was supposed to end up at https://www.savannahga.gov/AgendaCenter/Search/?term=&CIDs=5,&startDate=&endDate but was instead going to https://www.savannahga.gov/AgendaCenter/Search/?term= Actual results: When visiting ttps://httpbin.org/redirect-to?url=https%3A%2F%2Fexample.com%3Fa%3Db%26c%3Dd&mc_eid=f20cd58c07 FF parses the string, strips the mc_eid param, and makes a request to https://httpbin.org/redirect-to?url=https://example.com?a=b&c=d (note the url encoding has been lost). This cases httpbin.org to grab c=d as a parameter to itself and just redirect to https://example.com?a=b instead. Expected results: Firefox should have stripped the &mc_eid=f20cd58c07 part but made a request to https://httpbin.org/redirect-to?url=https%3A%2F%2Fexample.com%3Fa%3Db%26c%3Dd and had the user end up on https://example.com/?a=b&c=d
1,840,116
16,468,508
**Steps to reproduce** 1. Navigate to `data:text/html,<meta charset=utf8><h1>Hello</h1><script>const s = new CSSStyleSheet();s.replaceSync("body {h1 { color: red }}");document.adoptedStyleSheets.push(s);</script>` 1. Inspect the `Hello` element 1. There should be a `h1` selector above the rule, modify it to `h2` **Expected results** The selector updates to `h2` **Actual results** The selector does not update and stays `h1` ---
1,840,207
16,469,008
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0 Steps to reproduce: 1. Bookmark a page. 2. Move it to a different folder. 3. Observe its name in the current window. 4. Observe its name in other windows. Actual results: At step 3, the name of the bookmark is its URL. At step 4, its name is as it should be. After a browser restart, the bookmark has its proper name, so this seems to be just visual. Expected results: This is a regression from Bug 1829579. https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=8f9703d8891ede813e3ce97435d50f0cb69a1a55&tochange=1be4cb72888eb43d48eb98b0daf847eeaf34adc1
1,840,389
16,472,113
Created attachment 9340992 image.png **Found in** * 116.0a1 **Affected versions** * 116.0a1 **Tested platforms** * Affected platforms: macOS 12, Windows 10x64, Ubuntu 22.04 * Unaffected platforms: none **Preconditions** * browser.migrate.chrome.extensions.enabled: true * installed extensions on other browsers: Opera, OperaGX, Edge, Chromium, Chrome. **Steps to reproduce** 1. Open the new migration window and switch between browsers. **Expected result** * The `Extensions` option is displayed only for the Chrome browser. **Actual result** * The `Extensions` option is displayed for Vivaldi, Brave, Opera, OperaGX, Edge, and Chromium browsers as well. **Regression range** * Will search for one to be sure. **Additional notes** * Attached a screenshot. * It seems that on macOS 12 and Ubuntu 22 the `Extensions` option appears on all browsers (even if there are no extensions installed). On Windows 10x64 the Extensions option does not appear on Brave or Vivaldi even though there are installed extensions, but does appear for Opera, OperaGX, Edge, and Chromium.
1,840,708
16,474,005
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0 Steps to reproduce: Visit https://ui.perfetto.dev and open a trace file, and load (unziped) [trace file](https://github.com/google/perfetto/files/11744513/trace_file.perfetto-trace.gz). Actual results: The error below is shown: ``` To assist with debugging please attach or link to the trace you were viewing. Viewed on: https://ui.perfetto.dev Error: RuntimeError: index out of bounds protozero::RingBufferMessageReader::Append(void const*, unsigned long)@https://ui.perfetto.dev/v34.0-5f456dbc0/engine_bundle.js line 1600 > WebAssembly.Module:wasm-function[5770]:0x3b6b1f perfetto::trace_processor::Rpc::OnRpcRequest(void const*, unsigned long)@https://ui.perfetto.dev/v34.0-5f456dbc0/engine_bundle.js line 1600 > WebAssembly.Module:wasm-function[5757]:0x3b40b6 trace_processor_on_rpc_request@https://ui.perfetto.dev/v34.0-5f456dbc0/engine_bundle.js line 1600 > WebAssembly.Module:wasm-function[290]:0x1e112 createExportWrapper/<@https://ui.perfetto.dev/v34.0-5f456dbc0/engine_bundle.js:1569:22 ccall@https://ui.perfetto.dev/v34.0-5f456dbc0/engine_bundle.js:1184:19 onMessage@https://ui.perfetto.dev/v34.0-5f456dbc0/engine_bundle.js:6972:34 ``` Expected results: No error should be shown. The same site works in Firefox 114.0. The Perfetto commented in the [GitHub issue](https://github.com/google/perfetto/issues/514): > That sounds like a bug you should file against mozilla. Maybe something in their wasm runtime is doing something different?
1,841,040
16,476,334
Steps to reproduce: Build the standalone Spidermonkey (115.0b9) with: env {C,CXX}FLAGS="-O3 -march=tigerlake -mtune=tigerlake" \ ../js/src/configure --prefix=/usr \ --with-intl-api \ --with-system-zlib \ --with-system-icu \ --disable-jemalloc \ --disable-debug-symbols \ --enable-readline make -j8 make -C js/src check-jstests JSTESTS_EXTRA_ARGS="--timeout 300 --wpt=disabled" Actual results: Many tests segfault due to unaligned 256-bit AVX stores to JSRuntime::gc. The problem is js::gc::GCRuntime should be aligned to 64 bytes (it can be proven by `static_assert(alignof(js::gc::GCRuntime) == 64);`), so JSRuntime should be aligned to at least 64 bytes as well. But in js::NewContext we have: JSRuntime* runtime = js_new<JSRuntime>(parentRuntime); js_new calls moz_arena_malloc, and moz_arena_malloc is just a wrapper of system malloc with --disable-jemalloc. Then an unaligned memory block is allocated for the new JSRuntime instance. With -mavx2 the compiler can decide to use the aligned 256-bit AVX stores for zero-initializing some parts of the nested GCRuntime object (because it knows alignof(GCRuntime) == 64), so the unaligned memory block causes a segfault. Expected results: Most tests pass. Maybe js_new should call moz_arena_memalign(sizeof(T), alignof(T)) instead of moz_arena_malloc. Or maybe the minimal alignment of js_new should be increased. Or maybe we should not use js_new for JSRuntime.
1,841,056
16,476,427
Created attachment 9341712 Screen Recording 2023-06-29 at 14.43.28.mov **Found in** * Nightly 116.0a1; **Affected versions** * Nightly 116.0a1; * Firefox 115.0; **Tested platforms** * macOS 12; * Windows 10; * Ubuntu 22; **Affected platforms** * macOS 12; * Windows 10; * Ubuntu 22; **Unaffected platforms** * N/A; **Preconditions** * browser.search.region = US * VPN connected to US region. **Steps to reproduce** 1. Launch Firefox with the profile from preconditions. 2. Open a new tab. 3. Dismiss the most-left sponsored shortcut. **Expected result** * Only the selected sponsored shortcut is dismissed. **Actual result** * Both sponsored shortcuts are dismissed. **Regression range** * last good: 2023-05-29 * first bad: 2023-05-30 * pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=220d89d838fe7c2179fb4796a43010aa9370a592&tochange=c8566090ee0846c8e26d2b6c29b5809ad4543d77 * Potentially regressed by: bug 1834795
1,841,142
16,477,031
Relevant link: <https://github.com/gpuweb/cts/issues/1930> ## Steps to reproduce 1. Build Firefox off changes from bug 1840179 or later. 1. Run `webgpu:api,operation,buffers,map:mappedAtCreation,mapState:*` test cases from WebGPU's CTS. Observe that an extra validation error is thrown when `buffer.unmap` is called in the test's source. For convenience, the above can be automated with this `mach` command: ```sh ./mach wpt webgpu:api,operation,buffers,map:mappedAtCreation,mapState:* ``` Note that while the above repro. steps are based on bug 1840179, this bug existed before then.
1,841,477
16,480,698
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Steps to reproduce: 1. Open the message filters dialog. 2. Try to tab to the new button Actual results: Cannot make the new button the focus by tabbing to it. Expected results: Being able to make the new button the focus by tabbing to it
1,845,613
16,512,841
User Agent: Mozilla/5.0 (Android 13; Mobile; rv:109.0) Gecko/116.0 Firefox/116.0 Steps to reproduce: I have previously deleted the default search engines other than Google. Actual results: I have no way to restore the list of default search engines. Expected results: I should be able to restore the list of default search engines.
1,845,715
16,513,523
Steps to reproduce: On git commit 50588a0b728b365afdd298debd35e8302efe7850 the attached sample crashes with a NULL-deref when invoked as `obj-x86_64-pc-linux-gnu/dist/bin/js --baseline-warmup-threshold=10 --ion-warmup-threshold=100 --fuzzing-safe --gc-zeal=22,76 crash.js`. The crash is quite flaky, hence reducing the testcase further failed. ``` #0 js::NativeObject::sharedShape (this=0x0) at js/src/vm/NativeObject.h:650 #1 0x00005555570e9da8 in js::NewDenseFullyAllocatedArrayWithTemplate (cx=cx@entry=0x7ffff602e100, length=2, templateObject=0x0) at js/src/builtin/Array.cpp:5278 #2 0x0000555557045d42 in js::CreateRegExpMatchResult (cx=cx@entry=0x7ffff602e100, re=re@entry=..., input=input@entry=..., matches=..., rval=...) at js/src/builtin/RegExp.cpp:142 #3 0x00005555570558fc in RegExpBuiltinExecMatchRaw<false> (cx=0x7ffff602e100, regexp=..., input=..., lastIndex=<optimized out>, maybeMatches=0x0, output=...) at js/src/builtin/RegExp.cpp:1333 #4 js::RegExpBuiltinExec (cx=cx@entry=0x7ffff602e100, regexp=regexp@entry=..., string=string@entry=..., forTest=false, rval=...) at js/src/builtin/RegExp.cpp:1850 #5 0x0000555557600420 in intrinsic_RegExpBuiltinExec<false> (cx=cx@entry=0x7ffff602e100, argc=2, vp=<optimized out>) at js/src/vm/SelfHosting.cpp:1324 #6 0x0000555557080b17 in CallJSNative (cx=cx@entry=0x7ffff602e100, native=native@entry=0x5555576001d0 <intrinsic_RegExpBuiltinExec<false>(JSContext*, unsigned int, JS::Value*)>, reason=reason@entry=js::CallReason::Call, args=...) at js/src/vm/Interpreter.cpp:486 #7 0x000055555707fdbb in js::InternalCallOrConstruct (cx=0x7ffff602e100, args=..., construct=construct@entry=js::NO_CONSTRUCT, reason=js::CallReason::Call) at js/src/vm/Interpreter.cpp:580 #8 0x0000555557081c56 in InternalCall (cx=0x555558fa9b38, args=..., reason=1460577325) at js/src/vm/Interpreter.cpp:647 #9 0x0000555557096a33 in js::CallFromStack (cx=0x555558fa9b38, args=..., reason=<optimized out>) at js/src/vm/Interpreter.cpp:652 #10 js::Interpret (cx=0x555558fa9b38, state=...) at js/src/vm/Interpreter.cpp:3395 #11 0x000055555707f32b in MaybeEnterInterpreterTrampoline (cx=0x555558fa9b38, cx@entry=0x7ffff602e100, state=...) at js/src/vm/Interpreter.cpp:400 #12 0x000055555707f01a in js::RunScript (cx=cx@entry=0x7ffff602e100, state=...) at js/src/vm/Interpreter.cpp:458 #13 0x000055555707fce8 in js::InternalCallOrConstruct (cx=0x7ffff602e100, args=..., construct=construct@entry=js::NO_CONSTRUCT, reason=<optimized out>) at js/src/vm/Interpreter.cpp:612 #14 0x0000555557081c56 in InternalCall (cx=0x555558fa9b38, cx@entry=0x7ffff602e100, args=..., reason=1460577325, reason@entry=js::CallReason::Call) at js/src/vm/Interpreter.cpp:647 #15 0x0000555557081e43 in js::Call (cx=0x7ffff602e100, fval=fval@entry=..., thisv=thisv@entry=..., args=..., rval=..., reason=reason@entry=js::CallReason::Call) at js/src/vm/Interpreter.cpp:679 #16 0x00005555572daaab in js::Call (cx=0x555558fa9b38, fval=..., thisObj=<optimized out>, rval=...) at js/src/vm/Interpreter.h:109 #17 0x00005555573ebc5c in MaybeCallMethod (cx=cx@entry=0x7ffff602e100, obj=obj@entry=..., id=id@entry=..., vp=...) at js/src/vm/JSObject.cpp:2319 #18 0x00005555573ead1f in JS::OrdinaryToPrimitive (cx=cx@entry=0x7ffff602e100, obj=obj@entry=..., hint=hint@entry=JSTYPE_NUMBER, vp=...) at js/src/vm/JSObject.cpp:2418 #19 0x00005555579165ee in date_toPrimitive (cx=cx@entry=0x7ffff602e100, argc=<optimized out>, vp=<optimized out>) at js/src/jsdate.cpp:3364 #20 0x0000555557080b17 in CallJSNative (cx=cx@entry=0x7ffff602e100, native=native@entry=0x555557916440 <date_toPrimitive(JSContext*, unsigned int, JS::Value*)>, #21 0x000055555707fdbb in js::InternalCallOrConstruct (cx=0x7ffff602e100, args=..., construct=construct@entry=js::NO_CONSTRUCT, reason=js::CallReason::Call) at js/src/vm/Interpreter.cpp:580 #22 0x0000555557081c56 in InternalCall (cx=0x555558fa9b38, cx@entry=0x7ffff602e100, args=..., reason=1460577325, reason@entry=js::CallReason::Call) at js/src/vm/Interpreter.cpp:647 #23 0x0000555557081e43 in js::Call (cx=cx@entry=0x7ffff602e100, fval=fval@entry=..., thisv=thisv@entry=..., args=..., rval=..., reason=reason@entry=js::CallReason::Call) at js/src/vm/Interpreter.cpp:679 #24 0x000055555714a28e in js::Call (cx=0x7ffff602e100, fval=..., thisv=..., arg0=..., rval=...) at js/src/vm/Interpreter.h:116 #25 0x00005555573ec56b in js::ToPrimitiveSlow (cx=0x555558fa9b38, preferredType=preferredType@entry=JSTYPE_NUMBER, vp=vp@entry=...) at js/src/vm/JSObject.cpp:2468 #26 0x0000555557926758 in js::ToPrimitive (cx=0x555558fa9b38, cx@entry=0x7ffff602e168, preferredType=JSTYPE_NUMBER, vp=..., vp@entry=...) at js/src/vm/JSObject.h:763 #27 js::ToNumberSlow (cx=0x555558fa9b38, cx@entry=0x7ffff602e100, v_=..., out=out@entry=0x7fffffdfebe0) at js/src/jsnum.cpp:2009 #28 0x0000555557606cef in js::ToInteger (cx=0x7ffff602e100, v=..., dp=0x7fffffdfebe0) at js/src/jsnum.h:350 #29 intrinsic_ToInteger (cx=0x7ffff602e100, argc=<optimized out>, vp=<optimized out>) at js/src/vm/SelfHosting.cpp:219 ```
1,846,243
16,517,935
Created attachment 9346453 2023-07-31_13h36_31.png **Affected versions** * Nightly 117.0a1 **Affected platforms** * Windows 10x64, macOS 13 and Ubuntu **Steps to reproduce** 1. Go to about:config and flip browser.tabs.firefox-view-next to true 2. Go to about:preferences#privacy and set History to "Never remeber" or Use custom settings with Always use private browsing mode checked 3. Open Firefox View Next tab with Recent Browsing page focused 4. Observe the Open tabs **Expected result** * Open Tabs has View All link when setting history to "Never remember history"/"Use custom" with Always use private browsing **Actual result** * Open Tabs View All links shouldn't be displayed when user sets history to "Never remember history"/"Use custom" with Always use private browsing **Regression range** * New feature **Additional notes** * See attached screenshot
1,846,246
16,517,966
The following testcase crashes on mozilla-central revision 20230731-91dd0dbb8e73 (debug build, run with --fuzzing-safe --ion-offthread-compile=off): a = ` Object.defineProperty; for (b in this); `; evaluate(a); evaluate(a); evaluate(` arr = [] oomTest(function () { wasmTextToBinary(JSON.stringify(arr)) } )`) Backtrace: received signal SIGSEGV, Segmentation fault. #0 0x0000555556e43878 in js::Stringify(JSContext*, JS::MutableHandle<JS::Value>, JSObject*, JS::Value const&, js::StringBuffer&, js::StringifyBehavior) () #1 0x0000555556e4736b in json_stringify(JSContext*, unsigned int, JS::Value*) () #2 0x0000555556dac325 in CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), js::CallReason, JS::CallArgs const&) () #3 0x0000555556dab901 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) () #4 0x000055555791c183 in js::jit::DoCallFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICFallbackStub*, unsigned int, JS::Value*, JS::MutableHandle<JS::Value>) () #5 0x00001982aa7a47e7 in ?? () [...] #34 0x00007fffffffb870 in ?? () #35 0x000055555742a321 in js::CheckContextLocal::check() const () Backtrace stopped: previous frame inner to this frame (corrupt stack?) rax 0x5555557b67e6 93824994732006 rbx 0x0 0 rcx 0x5555585d8578 93825043105144 rdx 0x0 0 rsi 0x7ffff7105770 140737338431344 rdi 0x7ffff7104540 140737338426688 rbp 0x7fffffffb1b0 140737488335280 rsp 0x7fffffffadd0 140737488334288 r8 0x7ffff7105770 140737338431344 r9 0x7ffff7f9a840 140737353721920 r10 0x2 2 r11 0x0 0 r12 0x7ffff3e2e100 140737285120256 r13 0x4 4 r14 0x0 0 r15 0x0 0 rip 0x555556e43878 <js::Stringify(JSContext*, JS::MutableHandle<JS::Value>, JSObject*, JS::Value const&, js::StringBuffer&, js::StringifyBehavior)+10904> => 0x555556e43878 <_ZN2js9StringifyEP9JSContextN2JS13MutableHandleINS2_5ValueEEEP8JSObjectRKS4_RNS_12StringBufferENS_17StringifyBehaviorE+10904>: movl $0x501,0x0 0x555556e43883 <_ZN2js9StringifyEP9JSContextN2JS13MutableHandleINS2_5ValueEEEP8JSObjectRKS4_RNS_12StringBufferENS_17StringifyBehaviorE+10915>: callq 0x555556ca18f3 <abort>
1,846,487
16,519,492
**Steps to reproduce** 1. Open any tab (e.g. mozilla.org) 1. Open the inspector 1. Make sure remote and chrome debugging are enabled in devtools settings panel 1. Go pack to inspector 1. Open the Browser Toolbox, select the debugger tab 1. Turn on "Multiprocess" mode if it wasn't the case 1. Open the `server/actors/page-style.js` file 1. Set a breakpoint inside the `getApplied` method 1. In the mozilla.org tab, select another node in the inspector markup view **Actual results** Tab crashes
1,846,661
16,520,600
Steps to reproduce: From Firefox Nightly 118.0a1 (2023-08-01): let adapter = navigator.gpu.requestAdapter(); let limits = adapter.getLimits(); console.log(limits.maxBufferSize); // Has the value 9223372036854776000 If you try to request a device with that required limit, it will error. Actual results: GPUSupportedLimits.maxBufferSize has the value 9223372036854776000. If you request a device with this required limit, the device request will fail with the error that the value is out of range for unsigned long long. Expected results: I would expect teh GPUSupportedLimits.maxBufferSize to have the value 2147483648.
1,847,044
16,523,153
As seen with Bug 1843604, the contexts created by browsingContext.create are sometimes returned before their content window has an actual size. Some of our wdspec tests attempt to measure the window size using `script.evaluate` and read incorrect values. We should ensure that the content window of the new contexts have a valid size so that consumers can check the window size without having to wait for some additional event or arbitrary delay.
1,847,141
16,523,841
Created attachment 9347305 Image showing successful download message in the background, the crash message on the foreground User Agent: Mozilla/5.0 (Android 10; Mobile; rv:109.0) Gecko/118.0 Firefox/118.0 Firefox for Android Steps to reproduce: Visit any website, long press on am image, save image Actual results: Image got saved, Firefox doesn't crash, but weirdly com.android.phone crashes causing a temporary loss of mobile network Expected results: No effect on Android Phone application
1,847,369
16,525,390
Steps to reproduce: The attached sample asserts in the js-shell on git commit 98ab80832fa5003245d709dd65f2b8a243eec4dd when invoked as `obj-x86_64-pc-linux-gnu/dist/bin/js --fuzzing-safe crash.js` Bisecting the issue points to commit 3fc396bcdd1f85002e4bd7bd06383f81393b5ca9 related to bug 1837410. ``` const v1 = this.representativeStringArray(); function f2() { return v1; } v1.valueOf = f2; JSON.stringify(v1); ``` ``` #0 0x55e1f2ff3dd8 in js::Stringify(JSContext*, JS::MutableHandle<JS::Value>, JSObject*, JS::Value const&, js::StringBuffer&, js::StringifyBehavior) js/src/builtin/JSON.cpp:1704:7 #1 0x55e1f2ff86e2 in json_stringify(JSContext*, unsigned int, JS::Value*) js/src/builtin/JSON.cpp:2091:8 #2 0x55e1f2eeb90d in CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), js::CallReason, JS::CallArgs const&) js/src/vm/Interpreter.cpp:486:13 #3 0x55e1f2eeb0ec in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) js/src/vm/Interpreter.cpp:580:12 #4 0x55e1f2eec4e0 in InternalCall(JSContext*, js::AnyInvokeArgs const&, js::CallReason) js/src/vm/Interpreter.cpp:647:10 #5 0x55e1f2eec2a4 in js::CallFromStack(JSContext*, JS::CallArgs const&, js::CallReason) js/src/vm/Interpreter.cpp:652:10 #6 0x55e1f2efed13 in js::Interpret(JSContext*, js::RunState&) js/src/vm/Interpreter.cpp:3395:16 #7 0x55e1f2eea82b in MaybeEnterInterpreterTrampoline(JSContext*, js::RunState&) js/src/vm/Interpreter.cpp:400:10 #8 0x55e1f2ee9d6f in js::RunScript(JSContext*, js::RunState&) js/src/vm/Interpreter.cpp:458:13 #9 0x55e1f2eee09b in js::ExecuteKernel(JSContext*, JS::Handle<JSScript*>, JS::Handle<JSObject*>, js::AbstractFramePtr, JS::MutableHandle<JS::Value>) js/src/vm/Interpreter.cpp:845:13 #10 0x55e1f2eee944 in js::Execute(JSContext*, JS::Handle<JSScript*>, JS::Handle<JSObject*>, JS::MutableHandle<JS::Value>) js/src/vm/Interpreter.cpp:877:10 #11 0x55e1f31498cf in ExecuteScript(JSContext*, JS::Handle<JSObject*>, JS::Handle<JSScript*>, JS::MutableHandle<JS::Value>) js/src/vm/CompilationAndEvaluation.cpp:493:10 #12 0x55e1f3149a1c in JS_ExecuteScript(JSContext*, JS::Handle<JSScript*>) js/src/vm/CompilationAndEvaluation.cpp:517:10 #13 0x55e1f2d3046e in RunFile(JSContext*, char const*, _IO_FILE*, CompileUtf8, bool, bool) js/src/shell/js.cpp:1099:10 #14 0x55e1f2d2fd0b in Process(JSContext*, char const*, bool, FileKind) js/src/shell/js.cpp:1679:14 #15 0x55e1f2d08e56 in ProcessArgs(JSContext*, js::cli::OptionParser*) js/src/shell/js.cpp:10736:10 #16 0x55e1f2cf7762 in Shell(JSContext*, js::cli::OptionParser*) js/src/shell/js.cpp:10960:12 #17 0x55e1f2cf2515 in main js/src/shell/js.cpp:11392:12 #18 0x7eff41e23a8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #19 0x7eff41e23b48 in __libc_start_main csu/../csu/libc-start.c:360:3 #20 0x55e1f2cbfec8 in _start (obj-x86_64-pc-linux-gnu/dist/bin/js+0x1e8cec8) ```
1,847,617
16,528,818
STR: * Open a new browser window. It only tab should be the New Tab page (about:newtab). * Close the browser window -without having typed anything in the New Tab page, or navigated it Expected: * This is considered a "empty" window with no useful state to save, so no new entry in the History > Recently Closed Windows list is created Actual * A new Recently Closed Windows menu item is created, with "New Tab" as its label In SessionStore.sys.mjs `maybeSaveClosedWindow` has the logic where we determine if there is useful state/history to save when closing a window. It evaluated each of the currently-open tabs in the window against `this._shouldSaveTabState()`, which has a [list of URLs we consider not worth keeping](https://searchfox.org/mozilla-central/rev/fb43eb3bdf5b51000bc7dfe3474cbe56ca2ab63c/browser/components/sessionstore/SessionStore.sys.mjs#6150-6154). As the window is closed, we handle a `domwindowclosed` observer notification, and call `this.onClose`, which in turn calls `maybeSaveClosedWindow`. At this point the tab's entries array is empty and we return false to not save the window data. `maybeSaveClosedWindow` is called again when the promise from `TabStateFlusher.flushWindow` resolves. The [`tabData` gets updated from data from cache](https://searchfox.org/mozilla-central/rev/e4d8451468be3a0f8a9faa3d37cadf07200821ec/browser/components/sessionstore/SessionStore.sys.mjs#2259), and now the tab.entries[0].url is `about:home`. `about:home` is not in the list in `_shouldSaveTabState`, so we return true from there and `maybeSaveClosedWindow`, so the window's state is saved into `this._closedWindows` - which is the collection used to populate the "Recently Closed Windows" lists.
1,847,746
16,529,766
### Steps to reproduce 1. Open Firefox with TalkBack enabled. 2. Open a webpage (e.g. https://en.m.wikipedia.org/wiki/Main_Page). 3. Open the 3dot menu > Share > Print. 4. Observe how TalkBack reads the "Print" option. ### Expected behavior Talkback reads the Print option as: "Print. Double Tap to Activate". ### Actual behavior Talkback reads the Print option as: "Close. Print. Double Tap to Activate". ### Device information * Firefox version: Nightly 118.0a1 from 08.08.2023. * Android device model: Motorola Moto G9 plus, Google Pixel 7 Pro. * Android OS version: Android 11, Android 14
1,848,100
16,532,463
Created attachment 9348357 AMO detail page ### Steps to reproduce 1. From AMO stage I tried to install addons from the Android collection https://addons.allizom.org/en-US/android/ 2. Some cannot be installed because of the blocklisting ### Expected behavior They should show the error that is displayed by addon manager. ### Actual behavior A continuous transition state of the button. ### Device information * Firefox version: 118.0 * Android device model: Pixel * Android OS version: 10.0
1,849,159
16,542,297
Created attachment 9349432 IconState.mp4 **Found in** * Nightly 118.0a1 (2023-08-17) **Affected versions** * Nightly 118.0a1 (2023-08-17) **Affected platforms** * ALL **Preconditions:** Set the browser.shopping.experience2023.enabled - TRUE Set the browser.shopping.experience2023.optedIn - 1 Set the toolkit.shopping.useOHTTP - TRUE **Steps to reproduce** 1. Reach the Amazon.com website and search for nintendo switch. 2. Select any product in order to reach the product details page. 3. Expand the Settings card. 4. Click the Turn off Quality check. **Expected result** * The Fakespot address bar icon is displayed as disabled. (Black) **Actual result** * The Address bar icon remains disabled without any functionality. **Regression range** Not Applicable
1,849,186
16,542,488
Tor Browser devs have received this bug report from user @honorton: > ### Summary > Tab titles are sometimes logged by GNOME to `/var/log/syslog`, effectively causing browsing habits to persist on the system, even after closing Tor Browser. As Tor Browser does not save history by default, many users will not expect this. > > ### Steps to reproduce: > 1. Open a new Tor Browser window. > 2. (optional) "Connect" to the Tor network and navigate to an arbitrary website. > 3. Press the Super key (default) to open the GNOME activities menu. > 4. Review syslog via `cat /var/log/syslog | grep -i "browser"` > > ### What is the current bug behavior? > I see results containing Tor Browser tab titles, such as the titles of opened websites. > > ### What is the expected behavior? > I expect not to see my visited website titles in any system file without my authorization. > > More strongly, I don't expect GNOME (which may log all sorts of things) to require access to my visited website titles. > > ### Environment > - OS Version: Pop! OS 22.04 > - GNOME Shell Version: 3.38.6 > - Tor Browser Version: 12.5.2 > - Tor Browser Installation Method: "Linux" binary from `https://www.torproject.org/download/` > > ### Relevant logs and/or screenshots > > ``` > [/var/log/syslog] > [snip] > Aug 9 11:23:52 pop-os gnome-shell[2864]: Couldn't find child [0x5558d69f7880 Gjs_ui_windowPreview_WindowPreview ("cute cats at DuckDuckGo — Tor Browser")] in window slots > Aug 9 11:23:53 pop-os gnome-shell[2864]: Couldn't find child [0x5558d69f7880 Gjs_ui_windowPreview_WindowPreview:first-child last-child ("cute cats at DuckDuckGo — Tor Browser")] in window slots > Aug 9 11:27:28 pop-os gnome-shell[2864]: Couldn't find child [0x5558da9ea870 Gjs_ui_windowPreview_WindowPreview:first-child last-child ("[Wayland] [3.38.3] Shell freezes/stops reacting to most input (#3706) · Issues · GNOME / gnome-shell · GitLab — Tor Browser")] in window slots > Aug 9 11:27:31 pop-os gnome-shell[2864]: Couldn't find child [0x5558da9ea870 Gjs_ui_windowPreview_WindowPreview:first-child last-child ("[Wayland] [3.38.3] Shell freezes/stops reacting to most input (#3706) · Issues · GNOME / gnome-shell · GitLab — Tor Browser")] in window slots > [snip] > ``` Our best idea so far would gate setting the window title to the webpage title behind private browsing mode.
1,849,362
16,543,831
Created attachment 9349578 2023-08-18_05h02_07.mp4 **Found in** * Nightly 118.0a1 (2023-08-18) **Affected versions** * Nightly 118.0a1 (2023-08-18) **Affected platforms** * Windows **Preconditions:** Set the browser.shopping.experience2023.enabled - TRUE Set the toolkit.shopping.useOHTTP - TRUE Enable High Contrast **Steps to reproduce** 1. Reach about:preferences and turn off feature recommendations. 2. Reach the Amazon https://www.amazon.com/dp/B09B6ZXD2V/ref=sbl_dpx_office-desks_B0B4CYW8FB_0 link 3. Click and Hold each link from the Onboarding Shopping sidebar. **Expected result** * The Text should still be visible. **Actual result** * The Text from each link disappears. **Regression range** Not Applicable
1,832,770
16,407,655
Created attachment 9333299 libwebrtc-pw-ub.patch Steps to reproduce: Patch attached. Upstream bug: https://bugs.chromium.org/p/webrtc/issues/detail?id=15174 It would be great if this could be fixed in the Firefox vendored libwebrtc tree soon and backported to stable branches, since it's an obvious and trivial bug and it's currently breaking PipeWire screencasting on at least ARM64 but probably randomly on more platforms too :) (Sigh, C was a mistake.)
1,832,784
16,407,746
Created attachment 9333313 migration_form.gif **Found in** * 114.0b3 **Affected versions** * 115.0a1 (2023-05-10) * 114.0b3 **Tested platforms** * Affected platforms: Windows 7x64 (HDD), Ubuntu 20.05 (HDD) * Unaffected platforms: macOS 12, Windows 10x64 (SSD) **Preconditions** * have some Saved Form History data **Steps to reproduce** 1. Open Firefox and import Saved Form History data. 2. Observe the importing time. **Expected result** * The action does not take very long. **Actual result** * Importing Saved Form History takes some time. **Regression range** * Not a regression, started with the implementation of bug 1827425. **Additional notes** * Attached a screen recording. * May be similar to bug 1825239. * I can reproduce this on my Ubuntu 20.04 and Windows 7x64 machine which has a hard drive. On other systems that have an SSD, the import is performed fast. * This happens with legacy migratory and with both new migration windows.
1,832,826
16,408,105
**[Affected versions]:** - Firefox Nightly 115.0a1 (Build ID: 20230511213213) - Firefox Beta 114.0b3 (Build ID: 20230511191645) **[Affected Platforms]:** - Windows 10 x64 - Linux Ubuntu 20.04 x64 - macOS 12.4 **[Prerequisites]:** - Have a VPN client connected to a US server ( make sure the `browser.search.region` pref is set accordingly). - Have the Firefox Nightly 115.0a1 or Beta 114.0b3 installed. - Set the following prefs: `browser.urlbar.weather.featureGate` = `true` (Windows only) `browser.urlbar.weather.ignoreVPN` = `true` **[Steps to reproduce]:** 1. Open the browser from the prerequisites. 2. Type the “weather” string in the Address Bar. 3. Click the Feedback button. 4. Click the “Show less frequently” option. 5. Repeat steps 3 and 4 for at least 2 more times. 6. Click the Feedback button. 7. Observe the menu options. **[Expected result]:** - The “Show less frequently” option is no longer available. **[Actual result]:** - The “Show less frequently” option remains displayed. **[Notes]:** - The “Show less frequently” option is removed if the Address Bar panel is closed and reopened after following the STR. - The `firefox-suggest-weather-command-show-less-frequently` telemetry probe value is incremented each time the “Show less frequently” option is clicked - since the frequency option should be removed from the menu after 3 clicks, the behavior from the report could lead to gathering a number of unnecessary additional probes. - Here is the [screen recording](https://drive.google.com/file/d/1H-73CYqGR8ze3Hl6dWgY_1M609qVdrNz/view?usp=sharing) of the issue.
1,832,855
16,408,265
Some recent changes to `common.css` and `global-shared.css` mean that text-links on about:welcome and in spotlights are no longer inheriting hover styles. Currently, newtab links have: -underline by default -no underline on hover -colour change on active We should add some rules to `aboutwelcome.scss` to handle that.
1,832,891
16,408,500
We frequently have issues with the WebDriverBiDi command `browsingContext.create` followed by a `script.evaluate` or `script.callFunction` command. If `browsingContext.create` fails to wait for the initial navigation because of the navigation timeout, we might start sending a command to the temporary document, which will very soon be destroyed. This usually leads to errors such as: > "AbortError: Actor 'MessageHandlerFrame' destroyed before query 'MessageHandlerFrameParent:sendCommand' was resolved" And if you have trace logs enabled, you can (most likely) confirm that this is due to a navigation timeout by looking for logs (needs Trace level) such as: > RemoteAgent TRACE [31] ProgressListener Setting unload timer (200ms) RemoteAgent TRACE [31] ProgressListener No navigation detected: about:blank RemoteAgent TRACE [31] ProgressListener Stop: has error=false We already increase the unload timer for our debug or slow platforms (see https://searchfox.org/mozilla-central/rev/815764d6f304cd69b60075e83b06320464a66223/remote/shared/Navigate.sys.mjs#24-40). This bug might be a meta, to track all the reports linked to this root cause and track improvements. Potential improvements here: - add better logging to help the investigation - make the timeout duration configurable
1,833,079
16,411,486
Steps to reproduce, with the NVDA screen reader: 1. Open data:text/html,<label for="email">Enter your email address:"</label><input id="email" type="email" required /> 2. Focus the input. * NVDA will announce that the field is required and currently invalid. 3. Type a valid email address. 4. Press NVDAKey+Tab to repeat the focused element. * Expected: The field should read required, but the invalid state should no longer be announced. * Actual: The field is still being announced as invalid. 5. Press Escape to enter browse mode, then press NVDAKey+F5 to refresh the buffer. 6. Press CTRL+Home, then f to move to the form field. * Expected: Now, the field should be announced as required, but the invalid state should not be announced. * Actual: Even after a refresh, the field is still being announced as invalid. 7. Change the URL in the address bar so that the required field is removed, and repeat steps 3 through 6. * After step 4, the field is still being announced as invalid, so the event that tells the browser the field is now valid, is not being fired. * After step 6, the field is now correctly being announced as no longer being invalid. In short, if there are two validations, through the input type and the required attribut, neither an event is fired to tell assistive technologies that the invalid state has gone away, nor the required condition has been met. Alternatively, the invalid state is being flipped twice accidentally. If there is only one condition, like the email type being satisfied with a valid email address, or a simple text input that is required, having contents, the event is still not fired, but the cache is properly updated.
1,833,138
16,412,105
**[Affected versions]:** - Firefox Release 113.0 - Build ID: 20230504192738 - Firefox Beta 114.0b4 - Build ID: 20230514175823 - Firefox Nightly 115.0a1 - Build ID: 20230514213610 **[Affected Platforms]:** - Windows 10 x64 - Windows 11 x64 **[Prerequisites]:** - Have a new Firefox Profile. - Have the nimbus.debug pref set to true. **[Steps to reproduce]:** 1. Open the browser from the prerequisites. 2. Copy and paste the following link in a new tab: `about:studies?optin_slug=prompt-fxa-creation-after-import&optin_branch=treatment-b&optin_collection=nimbus-preview` 3. Open a new tab and navigate to the `about:welcome` page. 4. Skip all slides until you get to the device migration one. 5. Observe the image. **[Expected result]:** - An image with a fox in a laptop encircled by 5 other icons (banner, lock, magnifying glass, gearwheel, and circle fox with or without a shield) is displayed. **[Actual result]:** - The image does not contain other elements outside of the fox in the laptop. **[Notes]:** - The issue is also reproducible on the `treatment-c` branch regardless of whether the user has imported data or not. - Expected result was based on [this figma document](https://www.figma.com/file/c83OEio9DhCQKuabx2tIEl/NUO-Experiments-2023?type=design&node-id=885-28223&t=nWg2hzUaPSGYjJRS-0). - Attached is a screenshot of the issue.
1,833,665
16,416,139
Created attachment 9334633 Thunderbird Daily Memory Usage.docx User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0 Steps to reproduce: Deleted a large number of emails from trash folder. Actual results: The deletion took a long time (over 4 minutes) and Thunderbird Inbox for the accounts consumed over 13 Gig of memory. Expected results: The mail deletion should have taken less time AND Thunderbird should not consume that amount of memory.
1,834,060
16,418,686
Created attachment 9334997 text shifts down.jpg **[Affected versions]:** - Firefox Nightly 115.0a1 (Build ID: 20230518213154) **[Affected Platforms]:** - Windows 10 x64 - macOS 12.6.1 - Ubuntu 20.04 x64 **[Prerequisites]:** - Have a VPN client connected to a US server ( make sure the `browser.search.region` pref is set accordingly). - Have the Firefox Nightly 115.0a1 installed. - Set the following prefs: `browser.urlbar.weather.featureGate` = `true` - (Windows only) `browser.urlbar.weather.ignoreVPN` = `true` **[Steps to reproduce]:** 1. Open the browser from the prerequisites. 2. Type the “weather” string in the Address Bar. 3. Resize the width of the browser to minimum. 4. Observe the weather result. **[Expected result]:** - The weather result text is correctly wrapped and displays a fading effect at its end. **[Actual result]:** - The text elements are shifted under the temperature box. **[Notes]:** - Based on mozregression, it seems that the bug that caused this regression is Bug 1826447. - 12:23.31 INFO: Last good revision: 27a022ccd011a0d52e64fe813bbc54d17c869597 - 12:23.32 INFO: First bad revision: cdcf9d894d0573d249e80dbf465226cd134caa68 - 12:23.32 INFO: Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=27a022ccd011a0d52e64fe813bbc54d17c869597&tochange=cdcf9d894d0573d249e80dbf465226cd134caa68 - Here is a [screen recording](https://drive.google.com/file/d/1bRa_YWhrlgfFf3_VgdfrGws7yEMS6zBK/view?usp=sharing) of the issue.
1,843,098
16,493,457
Created attachment 9343536 Screen Shot 2023-07-12 at 11.25.31 AM.png Set `browser.migrate.internal-testing.enabled` to true or have all available import options For windows build >= 15063 route to about:welcome and select import checkbox to view the embedded import flow If pinned - select import on easy setup screen For macos/linux, route to embedded import flow Notice the checkbox overflowing on the `skip this step` button with the `import-all.enabled` flow enabled (variant 2/expanded view)
1,843,303
16,494,699
Created attachment 9343720 2023-07-13_15h52_38.mp4 **Found in** * Nightly 117.0a1 (2023-07-12) **Affected versions** * Nightly 117.0a1 (2023-07-12) **Tested platforms** * Affected platforms: ALL **Steps to reproduce** 1. Open a PDF file with multiple pages in Firefox. 2. Rotate the PDF. 3. Click the Add an image button from the PDF toolbar. 4. Place the Image so that its bottom right corner is on a second page. 5. Try to resize the image. **Expected result** * The user should be able to resize the image even if the bottom right corner falls on a second page. **Actual result** * The part of the Image that spilled on the second page is not recognized by the Tool and the user cannot resize it. The user would have to move the added image up and then resize it, but if the image is larger than the pdf page he will not be able to resize the image. **Regression range** * N/A
1,843,587
16,496,270
Steps to reproduce: 1) Create a new profile with Firefox View enabled and open several tabs and close some of them. 2) Create a private window. 3) Arrange the windows so Firefox View is visible in the non-private window and the private window has focus. 4) Create a new tab in the private window and close it. 5) Look at Firefox View. Expected: 5) The recently closed tabs list should show the same view as after step 1. Actual: 5) The closed tabs from the non-private window aren't displayed, and the closed tab from the private window is shown. In other words, the private URL and private tab tile from the private window has leaked into non-private Firefox window. If you start using tabs in the non-private window Firefox View will revert to showing tabs from that window. If you then go to the private window and create and close more tabs the closed tab list from the private window return to Firefox View.
1,843,628
16,496,465
Created attachment 9343946 Bildschirmfoto vom 2023-07-14 20-59-57.png Steps to reproduce: Try to Print out HTML E-mail Actual results: When I try to print an email, most of the time the resulting print will have the "Subject", "From", Date" and "To" on one page and the body of the email on the next page.
1,843,782
16,497,211
Created attachment 9344057 poc.html User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Steps to reproduce: ## **Title** - Firefox WebGL DrawElementsInstanced Heap-Buffer-Overflow Vulnerability ## **Summary** - A Heap-Buffer-Overflow vulnerability exists in the WebGL DrawElementsInstanced - The browser process crashes when triggering this bug. ## **Test environment** - Product : Firefox Stable & Firefox ASan Build Opt - VM : Virtualbox 7.0.8 - GUEST OS : Ubuntu Desktop 23.04 ## ASan ```jsx ================================================================= ==11034==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6310051f36c8 at pc 0x5569d5ba3671 bp 0x7f3dd59f9880 sp 0x7f3dd59f9040 READ of size 84704 at 0x6310051f36c8 thread T36 #0 0x5569d5ba3670 in memcpy /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:875:5 #1 0x7f3d98459ee4 (/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so+0xa59ee4) (BuildId: 60cea14709f13d122c75908469400dbfeb094a60) #2 0x7f3d9846a4f4 (/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so+0xa6a4f4) (BuildId: 60cea14709f13d122c75908469400dbfeb094a60) #3 0x7f3d98445dfc (/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so+0xa45dfc) (BuildId: 60cea14709f13d122c75908469400dbfeb094a60) #4 0x7f3d98449fba (/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so+0xa49fba) (BuildId: 60cea14709f13d122c75908469400dbfeb094a60) #5 0x7f3d98446612 (/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so+0xa46612) (BuildId: 60cea14709f13d122c75908469400dbfeb094a60) #6 0x7f3d984466cf (/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so+0xa466cf) (BuildId: 60cea14709f13d122c75908469400dbfeb094a60) #7 0x7f3d98446733 (/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so+0xa46733) (BuildId: 60cea14709f13d122c75908469400dbfeb094a60) #8 0x7f3d9843a24c (/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so+0xa3a24c) (BuildId: 60cea14709f13d122c75908469400dbfeb094a60) #9 0x7f3d97cf20aa (/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so+0x2f20aa) (BuildId: 60cea14709f13d122c75908469400dbfeb094a60) #10 0x7f3d97cf3885 (/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so+0x2f3885) (BuildId: 60cea14709f13d122c75908469400dbfeb094a60) #11 0x7f3dfc619bfb in raw_fDrawElements /builds/worker/checkouts/gecko/gfx/gl/GLContext.h:1076:5 #12 0x7f3dfc619bfb in mozilla::gl::GLContext::fDrawElements(unsigned int, int, unsigned int, void const*) /builds/worker/checkouts/gecko/gfx/gl/GLContext.h:1090:5 #13 0x7f3dfc6193ab in mozilla::WebGLContext::DrawElementsInstanced(unsigned int, int, unsigned int, long, int) /builds/worker/checkouts/gecko/dom/canvas/WebGLContextDraw.cpp:1057:15 #14 0x7f3dfc6f17f0 in DrawElementsInstanced /builds/worker/checkouts/gecko/dom/canvas/HostWebGLContext.h:755:15 #15 0x7f3dfc6f17f0 in auto bool mozilla::MethodDispatcher<mozilla::WebGLMethodDispatcher, 101ul, void (mozilla::HostWebGLContext::*)(unsigned int, int, unsigned int, long, int) const, &mozilla::HostWebGLContext::DrawElementsInstanced(unsigned int, int, unsigned int, long, int) const>::DispatchCommand<mozilla::HostWebGLContext>(mozilla::HostWebGLContext&, unsigned long, mozilla::webgl::RangeConsumerView&)::'lambda'(auto&...)::operator()<unsigned int, int, unsigned int, long, int>(auto&...) const /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:253:13 #16 0x7f3dfc69c9c5 in __invoke_impl<bool, (lambda at /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:245:11), unsigned int &, int &, unsigned int &, long &, int &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/invoke.h:60:14 #17 0x7f3dfc69c9c5 in __invoke<(lambda at /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:245:11), unsigned int &, int &, unsigned int &, long &, int &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/invoke.h:95:14 #18 0x7f3dfc69c9c5 in __apply_impl<(lambda at /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:245:11), std::tuple<unsigned int, int, unsigned int, long, int> &, 0UL, 1UL, 2UL, 3UL, 4UL> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/tuple:1678:14 #19 0x7f3dfc69c9c5 in apply<(lambda at /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:245:11), std::tuple<unsigned int, int, unsigned int, long, int> &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/tuple:1687:14 #20 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:244:14 #21 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #22 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #23 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #24 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #25 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #26 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #27 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #28 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #29 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #30 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #31 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #32 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #33 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #34 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #35 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #36 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #37 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #38 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #39 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #40 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #41 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #42 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #43 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #44 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #45 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #46 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #47 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #48 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #49 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #50 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #51 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #52 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #53 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #54 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #55 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #56 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #57 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #58 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #59 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #60 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #61 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #62 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #63 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #64 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #65 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #66 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #67 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #68 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #69 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #70 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #71 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #72 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #73 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #74 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #75 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #76 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #77 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #78 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #79 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #80 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #81 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #82 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #83 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #84 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #85 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #86 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #87 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #88 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #89 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #90 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #91 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #92 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #93 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #94 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #95 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #96 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #97 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #98 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #99 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #100 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #101 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #102 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #103 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #104 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #105 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #106 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #107 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #108 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #109 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #110 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #111 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #112 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #113 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #114 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #115 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #116 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #117 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #118 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #119 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #120 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #121 0x7f3dfc69c9c5 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #122 0x7f3dfc69c9c5 in mozilla::dom::WebGLParent::RecvDispatchCommands(mozilla::ipc::BigBuffer&&, unsigned long) /builds/worker/checkouts/gecko/dom/canvas/WebGLParent.cpp:62:21 #123 0x7f3dfc7c811a in mozilla::dom::PWebGLParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PWebGLParent.cpp:229:79 #124 0x7f3df8f9ff94 in mozilla::gfx::PCanvasManagerParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PCanvasManagerParent.cpp:214:32 #125 0x7f3df7a6141d in mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1811:25 #126 0x7f3df7a5df13 in mozilla::ipc::MessageChannel::DispatchMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::UniquePtr<IPC::Message, mozilla::DefaultDelete<IPC::Message>>) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1736:9 #127 0x7f3df7a5f02b in mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::ipc::MessageChannel::MessageTask&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1536:3 #128 0x7f3df7a60022 in mozilla::ipc::MessageChannel::MessageTask::Run() /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1634:14 #129 0x7f3df6048aff in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1193:16 #130 0x7f3df6056464 in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:480:10 #131 0x7f3df7a69f8a in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:330:5 #132 0x7f3df78b9a0a in RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:370:10 #133 0x7f3df78b9a0a in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:363:3 #134 0x7f3df78b9a0a in MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:345:3 #135 0x7f3df603fb2f in nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:391:10 #136 0x7f3e146b4b3f in _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5 #137 0x7f3e1448f189 in start_thread nptl/pthread_create.c:444:8 #138 0x7f3e1451dbcf in clone3 misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 0x6310051f36c8 is located 0 bytes after 77512-byte region [0x6310051e0800,0x6310051f36c8) allocated by thread T36 here: #0 0x5569d5c20458 in calloc /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:77:3 #1 0x7f3d98469542 (/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so+0xa69542) (BuildId: 60cea14709f13d122c75908469400dbfeb094a60) Thread T36 created by T0 here: #0 0x5569d5c0849a in pthread_create /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_interceptors.cpp:208:3 #1 0x7f3e146a32a4 in _PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:458:14 #2 0x7f3e14690e9e in PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:533:12 #3 0x7f3df604382c in nsThread::Init(nsTSubstring<char> const&) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:634:18 #4 0x7f3df6053c0e in nsThreadManager::NewNamedThread(nsTSubstring<char> const&, nsIThreadManager::ThreadCreationOptions, nsIThread**) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:550:12 #5 0x7f3df6061afc in NS_NewNamedThread(nsTSubstring<char> const&, nsIThread**, already_AddRefed<nsIRunnable>, nsIThreadManager::ThreadCreationOptions) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:176:57 #6 0x7f3df8f5b315 in NS_NewNamedThread<15UL> /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.h:76:10 #7 0x7f3df8f5b315 in mozilla::gfx::CanvasRenderThread::Start() /builds/worker/checkouts/gecko/gfx/ipc/CanvasRenderThread.cpp:55:17 #8 0x7f3df8d862b0 in gfxPlatform::InitLayersIPC() /builds/worker/checkouts/gecko/gfx/thebes/gfxPlatform.cpp:1315:9 #9 0x7f3df8d7f290 in gfxPlatform::Init() /builds/worker/checkouts/gecko/gfx/thebes/gfxPlatform.cpp:974:3 #10 0x7f3df8d85ccf in GetPlatform /builds/worker/checkouts/gecko/gfx/thebes/gfxPlatform.cpp:464:5 #11 0x7f3df8d85ccf in gfxPlatform::InitializeCMS() /builds/worker/checkouts/gecko/gfx/thebes/gfxPlatform.cpp:2109:9 #12 0x7f3e0086198b in EnsureCMSInitialized /builds/worker/workspace/obj-build/dist/include/gfxPlatform.h:968:7 #13 0x7f3e0086198b in GetCMSMode /builds/worker/workspace/obj-build/dist/include/gfxPlatform.h:519:5 #14 0x7f3e0086198b in nsXPLookAndFeel::GetUncachedColor(mozilla::StyleSystemColor, mozilla::ColorScheme, mozilla::LookAndFeel::UseStandins) /builds/worker/checkouts/gecko/widget/nsXPLookAndFeel.cpp:1012:9 #15 0x7f3e00860d6f in nsXPLookAndFeel::GetColorValue(mozilla::StyleSystemColor, mozilla::ColorScheme, mozilla::LookAndFeel::UseStandins, unsigned int&) /builds/worker/checkouts/gecko/widget/nsXPLookAndFeel.cpp:992:17 #16 0x7f3e00866856 in mozilla::LookAndFeel::GetColor(mozilla::StyleSystemColor, mozilla::ColorScheme, mozilla::LookAndFeel::UseStandins) /builds/worker/checkouts/gecko/widget/nsXPLookAndFeel.cpp:1436:47 #17 0x7f3e0079836c in Color /builds/worker/workspace/obj-build/dist/include/mozilla/LookAndFeel.h:465:12 #18 0x7f3e0079836c in GetAccentColor /builds/worker/checkouts/gecko/widget/ThemeColors.cpp:91:7 #19 0x7f3e0079836c in mozilla::widget::ThemeColors::RecomputeAccentColors() /builds/worker/checkouts/gecko/widget/ThemeColors.cpp:195:20 #20 0x7f3e00797dfd in mozilla::widget::Theme::LookAndFeelChanged() /builds/worker/checkouts/gecko/widget/Theme.cpp:183:3 #21 0x7f3e0085e90f in nsXPLookAndFeel::GetInstance() /builds/worker/checkouts/gecko/widget/nsXPLookAndFeel.cpp:408:3 #22 0x7f3e00867325 in mozilla::LookAndFeel::GetThemeInfo(nsTSubstring<char>&) /builds/worker/checkouts/gecko/widget/nsXPLookAndFeel.cpp:1549:3 #23 0x7f3df5e5a7b7 in nsSystemInfo::Init() /builds/worker/checkouts/gecko/xpcom/base/nsSystemInfo.cpp:1081:5 #24 0x7f3df5fafc6f in mozilla::xpcom::CreateInstanceImpl(mozilla::xpcom::ModuleID, nsID const&, void**) /builds/worker/workspace/obj-build/xpcom/components/StaticComponents.cpp:10279:7 #25 0x7f3df5fdb212 in CreateInstance /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp:184:46 #26 0x7f3df5fdb212 in nsComponentManagerImpl::GetServiceLocked(mozilla::Maybe<mozilla::detail::BaseMonitorAutoLock<mozilla::Monitor>>&, (anonymous namespace)::EntryWrapper&, nsID const&, void**) /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp:971:17 #27 0x7f3df5fdc74f in nsComponentManagerImpl::GetService(mozilla::xpcom::ModuleID, nsID const&, void**) /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp:1061:10 #28 0x7f3df5fc323d in mozilla::xpcom::GetServiceHelper::operator()(nsID const&, void**) const /builds/worker/workspace/obj-build/xpcom/components/StaticComponents.cpp:13058:50 #29 0x7f3df7db11ea in assign_from_helper /builds/worker/workspace/obj-build/dist/include/nsCOMPtr.h:897:7 #30 0x7f3df7db11ea in nsCOMPtr /builds/worker/workspace/obj-build/dist/include/nsCOMPtr.h:533:5 #31 0x7f3df7db11ea in GetServiceImpl /builds/worker/checkouts/gecko/js/xpconnect/src/JSServices.cpp:83:32 #32 0x7f3df7db11ea in GetService /builds/worker/checkouts/gecko/js/xpconnect/src/JSServices.cpp:130:8 #33 0x7f3df7db11ea in xpc::Services_Resolve(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, bool*) /builds/worker/checkouts/gecko/js/xpconnect/src/JSServices.cpp:153:25 #34 0x7f3e06ae326b in CallResolveOp /builds/worker/checkouts/gecko/js/src/vm/NativeObject-inl.h:683:8 #35 0x7f3e06ae326b in NativeLookupOwnPropertyInline<(js::AllowGC)1, (js::LookupResolveMode)1> /builds/worker/checkouts/gecko/js/src/vm/NativeObject-inl.h:795:14 #36 0x7f3e06ae326b in NativeGetPropertyInline<(js::AllowGC)1> /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2239:10 #37 0x7f3e06ae326b in js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2287:10 #38 0x7f3e067703f9 in GetProperty /builds/worker/checkouts/gecko/js/src/vm/ObjectOperations-inl.h:118:10 #39 0x7f3e067703f9 in GetProperty /builds/worker/checkouts/gecko/js/src/vm/ObjectOperations-inl.h:125:10 #40 0x7f3e067703f9 in js::GetProperty(JSContext*, JS::Handle<JS::Value>, JS::Handle<js::PropertyName*>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:4787:10 #41 0x7f3e06742b2c in GetPropertyOperation /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:245:10 #42 0x7f3e06742b2c in js::Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3050:12 #43 0x7f3e0672814b in MaybeEnterInterpreterTrampoline /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:400:10 #44 0x7f3e0672814b in js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:458:13 #45 0x7f3e0672958c in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:612:13 #46 0x7f3e0672b506 in InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:647:10 #47 0x7f3e0672b506 in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:679:8 #48 0x7f3e0672d356 in js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:801:10 #49 0x7f3e06ae3bdd in CallGetter /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2080:12 #50 0x7f3e06ae3bdd in GetExistingProperty<(js::AllowGC)1> /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2108:12 #51 0x7f3e06ae3bdd in NativeGetPropertyInline<(js::AllowGC)1> /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2256:14 #52 0x7f3e06ae3bdd in js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2287:10 #53 0x7f3e067703f9 in GetProperty /builds/worker/checkouts/gecko/js/src/vm/ObjectOperations-inl.h:118:10 #54 0x7f3e067703f9 in GetProperty /builds/worker/checkouts/gecko/js/src/vm/ObjectOperations-inl.h:125:10 #55 0x7f3e067703f9 in js::GetProperty(JSContext*, JS::Handle<JS::Value>, JS::Handle<js::PropertyName*>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:4787:10 #56 0x7f3e06742b2c in GetPropertyOperation /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:245:10 #57 0x7f3e06742b2c in js::Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3050:12 #58 0x7f3e0672814b in MaybeEnterInterpreterTrampoline /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:400:10 #59 0x7f3e0672814b in js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:458:13 #60 0x7f3e0672958c in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:612:13 #61 0x7f3e0672b506 in InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:647:10 #62 0x7f3e0672b506 in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:679:8 #63 0x7f3e0687ddc2 in JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/CallAndConstruct.cpp:53:10 #64 0x7f3df7df415d in nsXPCWrappedJS::CallMethod(unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedJSClass.cpp:918:17 #65 0x7f3df60a1959 in PrepareAndDispatch /builds/worker/checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcstubs_x86_64_linux.cpp:115:37 #66 0x7f3df60a065a in SharedStub xptcstubs_x86_64_linux.cpp #67 0x7f3df5fd3f30 in NS_CreateServicesFromCategory(char const*, nsISupports*, char const*, char16_t const*) /builds/worker/checkouts/gecko/xpcom/components/nsCategoryManager.cpp:682:19 #68 0x7f3e0635e5a9 in nsXREDirProvider::DoStartup() /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:830:11 #69 0x7f3e0633a74e in XREMain::XRE_mainRun() /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5406:18 #70 0x7f3e0633d254 in XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5862:8 #71 0x7f3e0633e451 in XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5918:21 #72 0x5569d5c5dfb4 in do_main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:227:22 #73 0x5569d5c5dfb4 in main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:445:16 #74 0x7f3e14423a8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 SUMMARY: AddressSanitizer: heap-buffer-overflow /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:875:5 in memcpy Shadow bytes around the buggy address: 0x6310051f3400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x6310051f3480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x6310051f3500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x6310051f3580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x6310051f3600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x6310051f3680: 00 00 00 00 00 00 00 00 00[fa]fa fa fa fa fa fa 0x6310051f3700: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x6310051f3780: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x6310051f3800: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x6310051f3880: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x6310051f3900: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==11034==ABORTING Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. ``` ## **Proof-of-Concept** - Please check the attached file! - This has the same PoC as 1794292 I previously reported. This has been confirmed to work on Linux as well as macOS. ## **Reproduce** - open a poc.html in Firefox - Wait a few seconds. ## **CREDIT Information** - Dohyun Lee (@l33d0hyun) of PK Security
1,844,004
16,500,702
Affected versions: Beta 116.0b6 (Build #2015962691), ebbc0eaf46+ // GV: 116.0-20230716180334 // AS: 116.0 Description: Attempting to install a blocked add-on will not show the notification in the UI for the failed installation. Steps to reproduce: 1. With network enabled, attempt to install a blocked add-on 2. Notice the add-on will not be installed, as expected, however the UI notification for the failed action will not be displayed Actual: The notification in the UI for failing to install a blocked add-on is not shown. Expected: The notification in the UI for failing to install a blocked add-on should be shown.
1,844,293
16,502,304
Created attachment 9344570 ScreenMAC.mp4 **Found in** * Nightly 117.0a1 (2023-07-18) **Affected versions** * Nightly 117.0a1 (2023-07-18) **Affected platforms** * MacOS **Steps to reproduce** 1. Open a PDF File in firefox. 2. Add an image to the PDF. 3. Hit Cmd+Z on the Keyboard in order to undo adding an image. 4. Hit Cmd+Shift+Z on the keyboard in order to Redo and add the image back to the PDF file. **Expected result** The image should be added back to the PDF file. **Actual result** The image is not added back to the PDF file. **Regression range** N/A
1,844,344
16,502,788
Created attachment 9344636 context_menu.gif **Found in** * 117.0a1 (2023-07-19) **Affected versions** * 117.0a1 (2023-07-19) **Tested platforms** * Affected platforms: Windows 10x64 * Unaffected platforms: macOS 12, Ubuntu 22.04 **Steps to reproduce** 1. R-click on a Toolbar or Bookmarks toolbar. 2. Observe the options. **Expected result** * All options are correctly aligned. **Actual result** * Some options are not correctly aligned like `Menu Bar`. I believe that those that have a checkmark and they are unchecked. **Regression range** * Last good revision: 1b8a2d934ea28f1bd4e58ff6dd153e76fd305a2c First bad revision: 2a02dfbea569f31a46429d24fee67b7f672c7f18 Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=1b8a2d934ea28f1bd4e58ff6dd153e76fd305a2c&tochange=2a02dfbea569f31a46429d24fee67b7f672c7f18 Unfortunately I don’t know which bug is the regressor. **Additional notes** * Attached a screen recording. * Note `Show other bookmarks` context menu option is not aligned correctly if unchecked as well.
1,844,572
16,504,213
Created attachment 9344818 EDV-Bestellung_2010.pdf User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0 Steps to reproduce: This is a regression since at least Firefox 115.0. It also does *not* work with Nightly 117.0a1 (20230715213801). Open the attached PDF, make annotation and add text, and save it. Actual results: The annotations and added text are not saved. Expected results: It should be saved. We only found this one PDF, that worked in the past. It works with other PDF files. Re-rendering the PDF file by plainly printing it, it works again.
1,844,576
16,504,235
Created attachment 9344822 Bewertungsraster_ModerneFremdsprache.pdf Steps to reproduce: (1) open attached pdf-form (2) scroll to last page (3) activate one of the checkboxes Actual results: Some of the textfields get rendered twice. One rendering process seems to be normal, the second one displays additional characters. Since the results of the two rendering processes overlap, the text is no longer readable. Expected results: Text shoud be rendered only once, without additional characters added
1,844,583
16,504,283
Steps to reproduce: (1) open attached pdf-form (2) scroll to bottom on page 2 Actual results: Textfield below "Textgestaltung" contains some garbage. Expected results: Textfield should contain "Textaufbau wurde nicht bewertet; Angemessenheit wurde nicht bewertet"
1,844,625
16,504,621
Attach (recommended) or Link to PDF file here: Steps to reproduce the problem: 1. Add an image to a PDF 2. Ensure the image is selected 3. Press the Delete key on your keyboard What is the expected behaviour? (add screenshot) - The image should be deleted What went wrong? (add screenshot) - The image is not deleted, can only be deleted via the context menu
1,844,684
16,505,049
null
1,844,791
16,505,728
I am in a situation where Firefox is unable to restore the most recently closed tab, even after opening and closing tabs. Instead of restoring the tab, it restores the most recently closed window. Upon investigation, I believe that the issue is related to the logic at [SessionStoreInternal._addClosedAction](https://searchfox.org/mozilla-central/rev/ea65de7c7b01ce5e7b2c0d2b6684ce0219cc2914/browser/components/sessionstore/SessionStore.sys.mjs#868-876): - It adds a close action to the list of recently closed items. - Upon exceeding some maximum limit, it truncates the list - dropping the most recently added item. - A fix could be to use `.slice(-maxLength)` instead of `.splice(maxLength, this._lastClosedActions.length);` - to drop the least recently used action instead of the most recently used action. Steps to reproduce (minimal, based on the observed code): 1. Visit about:config to set the following preferences (to make reproduction easier, otherwise you would have to open and close many more tabs, 75 of them in fact...): - Set `browser.sessionstore.max_tabs_undo` to 2 (instead of 25). - Set `browser.sessionstore.max_windows_undo` to 2 (instead of 3). 2. Open new window, navigate to example.com 3. Open new tab in window from step 2, navigate to example.com/1 and close it (closed #1) 4. Open new tab in window from step 2, navigate to example.com/2 and close it (closed #2) 5. Open new window, navigate to example.com/3 and close the window (=closed #3). 6. Open new window, navigate to example.com/4 and close the window (=closed #4). 7. Go back to the initial window from step 1 or step 2, and open a tab (example.com/5), then close the tab (=closed #5). 8. Press Ctrl-Shift-T (or Cmd-Shift-T on macOS). Expected: - Tab from step 7 should be re-opened. Actual: - window from step 6 is re-opened.
1,834,868
16,426,415
This is affecting revisions like: - https://phabricator.services.mozilla.com/D176695 - https://phabricator.services.mozilla.com/D178473 **Steps to reproduce:** 1. Create a revision and submit with moz-phab. 2. Land revision in Lando (release-38). 3. Wait for Phabricator and lando to sync. 4. Upgrade Lando (release-39). 5. Back out the revision landed in step 2. 6. Wait for Phabricator and Lando to sync. 7. Go to Lando page for that particular revision. 8. KeyError will be triggered. Lando should show the revision page without an error, and allow new revision/diff combination to be landable without issue.
1,834,885
16,426,546
**Steps to reproduce:** 1. Create a revision and submit with moz-phab. 2. Land revision with Lando. 3. Backout the revision. 4. Update the revision with a new diff. 5. Land revision again with Lando. **Expected behaviour:** Each landing job should show the correct (and different) diff ID. **Actual behaviour:** Each landing job is showing the most recent diff ID.
1,835,790
16,433,402
Steps to reproduce: My extension uses native messaging. After installing the extension and native messaging application on Windows 10 (https://keeform.org/keepass2/keeform-for-firefox), the configuration looks like this in file org.keeform.host.firefox.json: { "allowed_extensions": [ "[email protected]" ], "description": "KeeForm native messaging host", "name": "org.keeform.host", "path": "C:\\Users\\keeform\\AppData\\Local\\KeeForm\\keeform_host.exe", "type": "stdio" } with registry key [HKEY_CURRENT_USER\SOFTWARE\Mozilla\NativeMessagingHosts\org.keeform.host] @="C:\\Users\\keeform\\AppData\\Local\\KeeForm\\org.keeform.host.firefox.json" This works fine on Firefox 113 (or lower). It also works fine on Chromium based browsers. Actual results: But after installing Firefox 114 (beta/rc), native messaging does not work anymore. It is not clear why. This seems to be a regression in 114. I also tested a different path "path": keeform_host.exe", But that did not work either. Expected results: Native messaging should have worked fine in 114 as well. Did native messaging change in the Firefox 114? But I could not find any info about that. Or is this just a regression?
1,836,705
16,441,047
Created attachment 9337404 poc.html Steps to reproduce: An Attacker must open a arbitrary generated HTML file to exploit this vulnerability 0. open vmware fusion ubuntu Desktop 1. and open poc server python3 -m http.server 9292 2. ./firefox 3. open http://localhost:9292/poc.html Actual results: 3. Exact product that was found to be vulnerable including complete version information a. Product : Vmware Fusion Prefessional 13.0.2 / Ubuntu 22.04.2 LTS / Linux Kernel 5.19.0-43-generic b. HOST : macOS 13.3.1 (a) 4. Crash log - firefox ```log Crash Annotation GraphicsCriticalError: |[0][GFX1-]: vaapitest: ERROR (t=2.60144) [GFX1-]: vaapitest: ERROR Crash Annotation GraphicsCriticalError: |[0][GFX1-]: vaapitest: ERROR (t=2.60144) |[1][GFX1-]: vaapitest: VA-API test failed: failed to initialise VAAPI connection. (t=2.60195) [GFX1-]: vaapitest: VA-API test failed: failed to initialise VAAPI connection. console.error: ({}) JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory. console.warn: TopSitesFeed: Failed to fetch data from Contile server: can't access property "match", cacheHeader is null JavaScript error: resource://gre/modules/PromiseWorker.sys.mjs, line 102: Error: Could not get children of file(/home/xixon0531/.mozilla/firefox/lo5wnkso.default-default-1/thumbnails) because it does not exist AddressSanitizer:DEADLYSIGNAL ================================================================= ==9925==ERROR: AddressSanitizer: SEGV on unknown address 0x7f0c43e00000 (pc 0x7f0c6d4d9606 bp 0x616000728180 sp 0x7f0c717fa068 T34) ==9925==The signal is caused by a WRITE memory access. #0 0x7f0c6d4d9606 (/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so+0xad9606) (BuildId: 293fc30af36a77064beef6344631fdf788ebaacb) #1 0x7f0c6d3c7daa (/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so+0x9c7daa) (BuildId: 293fc30af36a77064beef6344631fdf788ebaacb) #2 0x7f0c6d3933ab (/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so+0x9933ab) (BuildId: 293fc30af36a77064beef6344631fdf788ebaacb) #3 0x7f0c6cc76034 (/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so+0x276034) (BuildId: 293fc30af36a77064beef6344631fdf788ebaacb) #4 0x7f0d17b2f6eb in raw_fDrawArraysInstanced /builds/worker/checkouts/gecko/gfx/gl/GLContext.h:2506:5 #5 0x7f0d17b2f6eb in mozilla::gl::GLContext::fDrawArraysInstanced(unsigned int, int, int, int) /builds/worker/checkouts/gecko/gfx/gl/GLContext.h:2490:5 #6 0x7f0d17b2c3de in mozilla::WebGLContext::DrawArraysInstanced(unsigned int, int, int, int) /builds/worker/checkouts/gecko/dom/canvas/WebGLContextDraw.cpp:815:13 #7 0x7f0d17c08616 in DrawArraysInstanced /builds/worker/checkouts/gecko/dom/canvas/HostWebGLContext.h:750:15 #8 0x7f0d17c08616 in auto bool mozilla::MethodDispatcher<mozilla::WebGLMethodDispatcher, 100ul, void (mozilla::HostWebGLContext::*)(unsigned int, int, int, int) const, &mozilla::HostWebGLContext::DrawArraysInstanced(unsigned int, int, int, int) const>::DispatchCommand<mozilla::HostWebGLContext>(mozilla::HostWebGLContext&, unsigned long, mozilla::webgl::RangeConsumerView&)::'lambda'(auto&...)::operator()<unsigned int, int, int, int>(auto&...) const /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:253:13 #9 0x7f0d17bb7406 in __invoke_impl<bool, (lambda at /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:245:11), unsigned int &, int &, int &, int &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/invoke.h:60:14 #10 0x7f0d17bb7406 in __invoke<(lambda at /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:245:11), unsigned int &, int &, int &, int &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/invoke.h:95:14 #11 0x7f0d17bb7406 in __apply_impl<(lambda at /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:245:11), std::tuple<unsigned int, int, int, int> &, 0UL, 1UL, 2UL, 3UL> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/tuple:1678:14 #12 0x7f0d17bb7406 in apply<(lambda at /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:245:11), std::tuple<unsigned int, int, int, int> &> /builds/worker/fetches/sysroot-x86_64-linux-gnu/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/tuple:1687:14 #13 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:244:14 #14 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #15 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #16 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #17 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #18 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #19 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #20 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #21 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #22 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #23 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #24 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #25 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #26 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #27 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #28 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #29 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #30 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #31 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #32 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #33 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #34 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #35 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #36 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #37 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #38 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #39 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #40 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #41 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #42 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #43 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #44 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #45 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #46 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #47 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #48 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #49 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #50 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #51 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #52 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #53 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #54 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #55 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #56 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #57 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #58 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #59 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #60 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #61 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #62 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #63 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #64 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #65 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #66 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #67 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #68 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #69 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #70 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #71 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #72 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #73 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #74 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #75 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #76 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #77 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #78 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #79 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #80 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #81 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #82 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #83 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #84 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #85 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #86 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #87 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #88 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #89 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #90 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #91 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #92 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #93 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #94 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #95 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #96 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #97 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #98 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #99 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #100 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #101 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #102 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #103 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #104 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #105 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #106 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #107 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #108 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #109 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #110 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #111 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #112 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #113 0x7f0d17bb7406 in DispatchCommand<mozilla::HostWebGLContext> /builds/worker/checkouts/gecko/dom/canvas/WebGLCommandQueue.h:258:12 #114 0x7f0d17bb7406 in mozilla::dom::WebGLParent::RecvDispatchCommands(mozilla::ipc::BigBuffer&&, unsigned long) /builds/worker/checkouts/gecko/dom/canvas/WebGLParent.cpp:62:21 #115 0x7f0d17cd95b6 in mozilla::dom::PWebGLParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PWebGLParent.cpp:229:79 #116 0x7f0d1428490e in mozilla::gfx::PCanvasManagerParent::OnMessageReceived(IPC::Message const&) /builds/worker/workspace/obj-build/ipc/ipdl/PCanvasManagerParent.cpp:214:32 #117 0x7f0d12dc14ad in mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1811:25 #118 0x7f0d12dbdfa3 in mozilla::ipc::MessageChannel::DispatchMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::UniquePtr<IPC::Message, mozilla::DefaultDelete<IPC::Message>>) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1736:9 #119 0x7f0d12dbf0bb in mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::ActorLifecycleProxy*, mozilla::ipc::MessageChannel::MessageTask&) /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1536:3 #120 0x7f0d12dc00b2 in mozilla::ipc::MessageChannel::MessageTask::Run() /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1634:14 #121 0x7f0d113725dd in nsThread::ProcessNextEvent(bool, bool*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:1234:16 #122 0x7f0d1137fc54 in NS_ProcessNextEvent(nsIThread*, bool) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:479:10 #123 0x7f0d12dca30a in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) /builds/worker/checkouts/gecko/ipc/glue/MessagePump.cpp:330:5 #124 0x7f0d12c1b22a in RunInternal /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:368:10 #125 0x7f0d12c1b22a in RunHandler /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:361:3 #126 0x7f0d12c1b22a in MessageLoop::Run() /builds/worker/checkouts/gecko/ipc/chromium/src/base/message_loop.cc:343:3 #127 0x7f0d11368cff in nsThread::ThreadFunc(void*) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:391:10 #128 0x7f0d2f6eab3f in _pt_root /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:201:5 #129 0x7f0d2f494b42 in start_thread nptl/pthread_create.c:442:8 #130 0x7f0d2f5269ff misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so+0xad9606) (BuildId: 293fc30af36a77064beef6344631fdf788ebaacb) Thread T34 created by T0 here: #0 0x55dc073d55ca in pthread_create /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_interceptors.cpp:208:3 #1 0x7f0d2f6d92a4 in _PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:458:14 #2 0x7f0d2f6c6e9e in PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:533:12 #3 0x7f0d1136cabc in nsThread::Init(nsTSubstring<char> const&) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:634:18 #4 0x7f0d1137d4fe in nsThreadManager::NewNamedThread(nsTSubstring<char> const&, nsIThreadManager::ThreadCreationOptions, nsIThread**) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:548:12 #5 0x7f0d1138b04c in NS_NewNamedThread(nsTSubstring<char> const&, nsIThread**, already_AddRefed<nsIRunnable>, nsIThreadManager::ThreadCreationOptions) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:175:57 #6 0x7f0d14240965 in NS_NewNamedThread<15UL> /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.h:76:10 #7 0x7f0d14240965 in mozilla::gfx::CanvasRenderThread::Start() /builds/worker/checkouts/gecko/gfx/ipc/CanvasRenderThread.cpp:55:17 #8 0x7f0d1406f440 in gfxPlatform::InitLayersIPC() /builds/worker/checkouts/gecko/gfx/thebes/gfxPlatform.cpp:1315:9 #9 0x7f0d1406843b in gfxPlatform::Init() /builds/worker/checkouts/gecko/gfx/thebes/gfxPlatform.cpp:974:3 #10 0x7f0d1406ee5f in GetPlatform /builds/worker/checkouts/gecko/gfx/thebes/gfxPlatform.cpp:464:5 #11 0x7f0d1406ee5f in gfxPlatform::InitializeCMS() /builds/worker/checkouts/gecko/gfx/thebes/gfxPlatform.cpp:2109:9 #12 0x7f0d1bb525eb in EnsureCMSInitialized /builds/worker/workspace/obj-build/dist/include/gfxPlatform.h:968:7 #13 0x7f0d1bb525eb in GetCMSMode /builds/worker/workspace/obj-build/dist/include/gfxPlatform.h:519:5 #14 0x7f0d1bb525eb in nsXPLookAndFeel::GetUncachedColor(mozilla::StyleSystemColor, mozilla::ColorScheme, mozilla::LookAndFeel::UseStandins) /builds/worker/checkouts/gecko/widget/nsXPLookAndFeel.cpp:1013:9 #15 0x7f0d1bb519cf in nsXPLookAndFeel::GetColorValue(mozilla::StyleSystemColor, mozilla::ColorScheme, mozilla::LookAndFeel::UseStandins, unsigned int&) /builds/worker/checkouts/gecko/widget/nsXPLookAndFeel.cpp:993:17 #16 0x7f0d1bb57926 in mozilla::LookAndFeel::GetColor(mozilla::StyleSystemColor, mozilla::ColorScheme, mozilla::LookAndFeel::UseStandins) /builds/worker/checkouts/gecko/widget/nsXPLookAndFeel.cpp:1437:47 #17 0x7f0d1ba8c08c in Color /builds/worker/workspace/obj-build/dist/include/mozilla/LookAndFeel.h:465:12 #18 0x7f0d1ba8c08c in GetAccentColor /builds/worker/checkouts/gecko/widget/ThemeColors.cpp:91:7 #19 0x7f0d1ba8c08c in mozilla::widget::ThemeColors::RecomputeAccentColors() /builds/worker/checkouts/gecko/widget/ThemeColors.cpp:195:20 #20 0x7f0d1ba8bb1d in mozilla::widget::Theme::LookAndFeelChanged() /builds/worker/checkouts/gecko/widget/Theme.cpp:182:3 #21 0x7f0d1bb4f5af in nsXPLookAndFeel::GetInstance() /builds/worker/checkouts/gecko/widget/nsXPLookAndFeel.cpp:409:3 #22 0x7f0d1bb583e5 in mozilla::LookAndFeel::GetThemeInfo(nsTSubstring<char>&) /builds/worker/checkouts/gecko/widget/nsXPLookAndFeel.cpp:1550:3 #23 0x7f0d1118d6c7 in nsSystemInfo::Init() /builds/worker/checkouts/gecko/xpcom/base/nsSystemInfo.cpp:1081:5 #24 0x7f0d112e30ad in mozilla::xpcom::CreateInstanceImpl(mozilla::xpcom::ModuleID, nsID const&, void**) /builds/worker/workspace/obj-build/xpcom/components/StaticComponents.cpp:11930:7 #25 0x7f0d1130c022 in CreateInstance /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp:184:46 #26 0x7f0d1130c022 in nsComponentManagerImpl::GetServiceLocked(mozilla::Maybe<mozilla::detail::BaseMonitorAutoLock<mozilla::Monitor>>&, (anonymous namespace)::EntryWrapper&, nsID const&, void**) /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp:971:17 #27 0x7f0d1130d55f in nsComponentManagerImpl::GetService(mozilla::xpcom::ModuleID, nsID const&, void**) /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp:1061:10 #28 0x7f0d112f448d in mozilla::xpcom::GetServiceHelper::operator()(nsID const&, void**) const /builds/worker/workspace/obj-build/xpcom/components/StaticComponents.cpp:13134:50 #29 0x7f0d130ee86c in assign_from_helper /builds/worker/workspace/obj-build/dist/include/nsCOMPtr.h:897:7 #30 0x7f0d130ee86c in nsCOMPtr /builds/worker/workspace/obj-build/dist/include/nsCOMPtr.h:533:5 #31 0x7f0d130ee86c in GetServiceImpl /builds/worker/checkouts/gecko/js/xpconnect/src/JSServices.cpp:83:32 #32 0x7f0d130ee86c in GetService /builds/worker/checkouts/gecko/js/xpconnect/src/JSServices.cpp:130:8 #33 0x7f0d130ee86c in xpc::Services_Resolve(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::PropertyKey>, bool*) /builds/worker/checkouts/gecko/js/xpconnect/src/JSServices.cpp:153:25 #34 0x7f0d21e64d3b in CallResolveOp /builds/worker/checkouts/gecko/js/src/vm/NativeObject-inl.h:666:8 #35 0x7f0d21e64d3b in NativeLookupOwnPropertyInline<(js::AllowGC)1, (js::LookupResolveMode)1> /builds/worker/checkouts/gecko/js/src/vm/NativeObject-inl.h:778:14 #36 0x7f0d21e64d3b in NativeGetPropertyInline<(js::AllowGC)1> /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2239:10 #37 0x7f0d21e64d3b in js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2287:10 #38 0x7f0d21ada4f9 in GetProperty /builds/worker/checkouts/gecko/js/src/vm/ObjectOperations-inl.h:118:10 #39 0x7f0d21ada4f9 in GetProperty /builds/worker/checkouts/gecko/js/src/vm/ObjectOperations-inl.h:125:10 #40 0x7f0d21ada4f9 in js::GetProperty(JSContext*, JS::Handle<JS::Value>, JS::Handle<js::PropertyName*>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:4787:10 #41 0x7f0d21aacc2c in GetPropertyOperation /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:245:10 #42 0x7f0d21aacc2c in js::Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3050:12 #43 0x7f0d21a9224b in MaybeEnterInterpreterTrampoline /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:400:10 #44 0x7f0d21a9224b in js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:458:13 #45 0x7f0d21a9368c in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:612:13 #46 0x7f0d21a95606 in InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:647:10 #47 0x7f0d21a95606 in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:679:8 #48 0x7f0d21a97456 in js::CallGetter(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:801:10 #49 0x7f0d21e656ad in CallGetter /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2080:12 #50 0x7f0d21e656ad in GetExistingProperty<(js::AllowGC)1> /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2108:12 #51 0x7f0d21e656ad in NativeGetPropertyInline<(js::AllowGC)1> /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2256:14 #52 0x7f0d21e656ad in js::NativeGetProperty(JSContext*, JS::Handle<js::NativeObject*>, JS::Handle<JS::Value>, JS::Handle<JS::PropertyKey>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/NativeObject.cpp:2287:10 #53 0x7f0d21ada4f9 in GetProperty /builds/worker/checkouts/gecko/js/src/vm/ObjectOperations-inl.h:118:10 #54 0x7f0d21ada4f9 in GetProperty /builds/worker/checkouts/gecko/js/src/vm/ObjectOperations-inl.h:125:10 #55 0x7f0d21ada4f9 in js::GetProperty(JSContext*, JS::Handle<JS::Value>, JS::Handle<js::PropertyName*>, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:4787:10 #56 0x7f0d21aacc2c in GetPropertyOperation /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:245:10 #57 0x7f0d21aacc2c in js::Interpret(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:3050:12 #58 0x7f0d21a9224b in MaybeEnterInterpreterTrampoline /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:400:10 #59 0x7f0d21a9224b in js::RunScript(JSContext*, js::RunState&) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:458:13 #60 0x7f0d21a9368c in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:612:13 #61 0x7f0d21a95606 in InternalCall /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:647:10 #62 0x7f0d21a95606 in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) /builds/worker/checkouts/gecko/js/src/vm/Interpreter.cpp:679:8 #63 0x7f0d21bfc902 in JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) /builds/worker/checkouts/gecko/js/src/vm/CallAndConstruct.cpp:53:10 #64 0x7f0d1313092d in nsXPCWrappedJS::CallMethod(unsigned short, nsXPTMethodInfo const*, nsXPTCMiniVariant*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCWrappedJSClass.cpp:918:17 #65 0x7f0d113d16f9 in PrepareAndDispatch /builds/worker/checkouts/gecko/xpcom/reflect/xptcall/md/unix/xptcstubs_x86_64_linux.cpp:115:37 #66 0x7f0d113d03fa in SharedStub xptcstubs_x86_64_linux.cpp #67 0x7f0d1130509b in NS_CreateServicesFromCategory(char const*, nsISupports*, char const*, char16_t const*) /builds/worker/checkouts/gecko/xpcom/components/nsCategoryManager.cpp:682:19 #68 0x7f0d216bde29 in nsXREDirProvider::DoStartup() /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:811:11 #69 0x7f0d2169a35e in XREMain::XRE_mainRun() /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5404:18 #70 0x7f0d2169cced in XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5859:8 #71 0x7f0d2169de41 in XRE_main(int, char**, mozilla::BootstrapConfig const&) /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5915:21 #72 0x55dc0742b0e4 in do_main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:227:22 #73 0x55dc0742b0e4 in main /builds/worker/checkouts/gecko/browser/app/nsBrowserApp.cpp:445:16 #74 0x7f0d2f429d8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 ==9925==ABORTING Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. Exiting due to channel error. ``` 4. Root Cause Analysis (recommended but not required) a. /source/dom/canvas/WebGLContextDraw.cpp ```c++ void WebGLContext::DrawArraysInstanced(const GLenum mode, const GLint first, const GLsizei vertCount, const GLsizei instanceCount) { const FuncScope funcScope(*this, "drawArraysInstanced"); // AUTO_PROFILER_LABEL("WebGLContext::DrawArraysInstanced", GRAPHICS); if (IsContextLost()) return; const gl::GLContext::TlsScope inTls(gl); // - if (!ValidateNonNegative("first", first) || !ValidateNonNegative("vertCount", vertCount) || !ValidateNonNegative("instanceCount", instanceCount)) { return; } if (IsWebGL2() && !gl->IsSupported(gl::GLFeature::prim_restart_fixed)) { MOZ_ASSERT(gl->IsSupported(gl::GLFeature::prim_restart)); if (mPrimRestartTypeBytes != 0) { mPrimRestartTypeBytes = 0; // OSX appears to have severe perf issues with leaving this enabled. gl->fDisable(LOCAL_GL_PRIMITIVE_RESTART); } } // - const auto fetchLimits = ValidateDraw(this, mode, instanceCount); if (!fetchLimits) return; // - const auto totalVertCount_safe = CheckedInt<uint32_t>(first) + vertCount; if (!totalVertCount_safe.isValid()) { ErrorOutOfMemory("`first+vertCount` out of range."); return; } auto totalVertCount = totalVertCount_safe.value(); if (vertCount && instanceCount && totalVertCount > fetchLimits->maxVerts) { //[1] <--don't check it properly ErrorInvalidOperation( "Vertex fetch requires %u, but attribs only supply %u.", totalVertCount, uint32_t(fetchLimits->maxVerts)); return; } ``` /gfx/gl/GLContext.h ```C++ void raw_fDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei primcount) { BEFORE_GL_CALL; ASSERT_SYMBOL_PRESENT(fDrawArraysInstanced); mSymbols.fDrawArraysInstanced(mode, first, count, primcount); AFTER_GL_CALL; } ``` /usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so+0xad9606 ```c++ __int64 __fastcall sub_AD95F0(int a1, int a2, _DWORD *a3) { unsigned int v3; // esi int v4; // ecx __int64 v5; // rax __int64 v6; // r8 __int64 v7; // rax _DWORD *v8; // rsi __int64 result; // rax v3 = a2 - 2; if ( v3 ) { v4 = a1; LODWORD(v5) = 0; do { v6 = v5; v5 = (v5 + 2); a3[v6] = v4++; // <-- Crash here! a3[v6 + 1] = v4; } while ( v5 < v3 ); v7 = v5; v8 = &a3[v7]; result = v7 * 4 + 4; *v8 = v4; *(a3 + result) = a1; } else { result = 4LL; *a3 = a1; a3[1] = a1; } return result; } ``` Does not properly check the vertCount value. The vercount value causes container overflow on vmwgfx_dri.so+0xad9606. 5. Proof-of-Concept a. Please check the attachment file. 6. This bug may enable sandboxescape. Expected results: Webgl had to work normally
1,837,333
16,445,203
We shouldn't clear the stats history on the child process.
1,837,599
16,447,078
### Preconditions 1. Perform some searches with the Wikipedia and YouTube topic-specific search engines. (To add YouTube to the search engine list go to Settings > Search > + Add search engine > select YouTube and tap on the check mark in the right upper corner). 2. Go to Settings > Search engine. Make sure that the "Search browsing history" option is enabled. ### Steps to reproduce 1. Tap on the dropdown menu from the Google search engine icon. 2. Select the Wikipedia topic-specific search engine. 3. Type in a valid search term (related to the previous searches with Wikipedia as search engine). 4. Observe if search suggestions are displayed. 5. Repeat Steps 2-4 with the YouTube topic-specific search engine selected. ### Expected behavior Temporary selected Topic-specific search engines (amazon.com, eBay, Wikipedia, Reddit, YouTube) should display history visit suggestions from searches made with the same search engine. ### Actual behavior Temporary selected Wikipedia and YouTube topic-specific search engines do not display history visit suggestions. ### Device information * Firefox version: Nightly 116 * Android device model: Google Pixel 7 * Android OS version: Android 13
1,837,830
16,448,725
I do not use this site myself, but according to the announcement, it stopped working since Firefox 114 for Windows: https://myna.go.jp/html/info/index.html#Login (Japanese)
1,838,350
16,454,514
Because bug 1828587 needed uplift to Release, we need to try to add tests to prevent it in the future, so we're making this S2+gfx-triage.
1,838,584
16,456,218
When trying to build FF115, I encountered the following problem, though the same issue seems to still be present in trunk: Gecko Profiler is [not enabled](https://searchfox.org/mozilla-central/source/toolkit/moz.configure#95) for ppc64, but it still implements [a stub](https://searchfox.org/mozilla-central/source/tools/profiler/public/ProfilerParent.h#32) of `ProfilerParent`, which [declares a destructor](https://searchfox.org/mozilla-central/source/tools/profiler/public/ProfilerParent.h#114), but only has [an implementation](https://searchfox.org/mozilla-central/source/tools/profiler/gecko/ProfilerParent.cpp#728) behind `#ifdef MOZ_GECKO_PROFILER`. Thus leading to `undefined reference to mozilla::ProfilerParent::~ProfilerParent()`, when trying to build. We had this problem at SUSE, but Fedora currently disabled ppc64 because of [the same problem](https://bugzilla.redhat.com/show_bug.cgi?id=2212748). I'll be submitting a potential fix shortly.
1,838,691
16,457,050
### Steps to reproduce 1. Go to Search settings screen. Add a custom engine. 2. Go to default search engine screen and edit the engine. 3. On the edit screen edit or leave everything as is – and click the save button. ### Expected behavior The engine gets edited. ### Actual behavior A new (edited) engine is created ### Device information * Firefox version: * Android device model: * Android OS version: ### Any additional information?
1,839,182
16,462,177
**Steps to reproduce** 1. Navigate to `data:text/html,<meta charset=utf8><style>div { & span { color: blouge; background: cyan; }}</style><div><span>hello</span></div><span>world</span>` 1. Open the console 1. Enable the `CSS` filter if it wasn't the case 1. Expand the CSS warning tgo display impacted element **Expected results** In the displayed NodeList, there's only 1 impacted element (the span inside the div) **Actual results** There are 2 impacted elements (including the span outside the div) ---
1,839,454
16,463,716
JS reftests logs are full of errors like: ```[task 2023-06-19T23:42:19.107Z] 23:42:19 INFO - JavaScript error: file:///builds/worker/workspace/build/tests/jsreftest/tests/js/src/tests/shell.js, line 582: ReferenceError: gcparam is not defined``` It looks like I broke this in bug 1827621 because I didn't realise that `shell.js` was also run in the browser.
1,839,638
16,465,022
**Steps to reproduce** 1. Pull https://phabricator.services.mozilla.com/D181645 1. Run `./mach test layout/inspector/tests/browser/browser_parseStyleSheet_nested.js` **Expected results** The test passes **Actual results** The test fails --- The test basically opens a tab with a simple stylesheet containing nested rules: ``` <style> h1 { .mySpan { background: gold; &.mySpan { color: red; } } } </style> <h1>Hello<span class="mySpan">world</span> ``` then calls `parseStyleSheet` on the stylesheet, changing the `red` color to `black` ```js InspectorUtils.parseStyleSheet( sheet, `h1 { .mySpan { background: gold; &.mySpan { color: black; } } }` ); ``` and run some assertions. The rule `cssText` is updated as expected, but the new color isn't applied to the element Furthermore, `InspectorUtils.getCSSStyleRules` on said element now returns no rules, while it used to returned the expected 2 rules. For some reason, I wasn't able to reproduce with a plain mochitest (which are widely used for the `InspectorUtils` tests, but I was seeing the odd behavior in DevTools Hopefully I'm not missing something important
1,852,224
16,567,891
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0 Steps to reproduce: 1. Enable the "Video Background Play Fix" add-on. 2. Play a YouTube video. 3. Go to home screen without closing FireFox. (YouTube plays in the background.) 4. Open the "Google" app, and set it to open articles with the default browser. 5. Click an article on "Discover" tab of the Google app. 6. FireFox opens with the article. 7. Execute the "back" gesture to close the article and go back to the Google app. Actual results: YouTube background playback stops with FireFox 117. It did not use to stop the playback in the previous versions. I think this is because of this new change in 117: https://bugzilla.mozilla.org/show_bug.cgi?id=1837158 Expected results: YouTube background playback doesn't stop. In my opinion, FireFox needs to distinguish whether the user explicitly started FireFox or it was started by another app to handle a web link, and in the later case, when the user executes the "back" gesture to go back to the previous app, it should not stop the background audio playback that had been going on before that launch from the other app.
1,852,300
16,568,560
Created attachment 9352258 repro **Notes** * Screencast of the issue attached; **Found in** * Nightly 119.0a1; **Affected versions** * Nightly 119.0a1; **Tested platforms** * macOS 12; * Windows 10; * Ubuntu 22; **Affected platforms** * macOS 12; * Windows 10; * Ubuntu 22; **Unaffected platforms** * N/A; **Preconditions** * browser.urlbar.quicksuggest.enabled set to true * browser.urlbar.addons.featureGate set to true * browser.search.region set to US **Steps to reproduce** 1. Launch Firefox with the profile from the preconditions. 2. In the Address Bar type a keyword that would trigger an add-on recommendation, such as ‘tts’ , ‘adblock’ , ‘videos’. 3. Once the Add-on recommendation is shown, click on the ‘Feedback’ button. 4. Choose Don’t show this -> Not relevant. 5. Open a new tab. 6. Navigate back to the tab from step 2( The one where the add-on recommendation was dismissed from earlier). **Expected result** * No glitches. **Actual result** * There’s a split second glitch of the dismissed add-on after switching tabs. **Regression range** Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=360d86fdb97bfa02c4fb847059da51c90db14014&tochange=c8b40099127c273a58ba6defbe045c55752f0f64 Potentially regressed by: bug 1851942
1,852,622
16,573,165
Created attachment 9352559 recent-browsing.mp4 When you are browsing through tabs on multiple windows the Open tabs list in Recent browsing does not update as expected. Each window appears to take a specific row number to update instead of moving to the top of the Open tabs section. Window 1 seems to always update the first row Window 2 updates the second row Current window updates the 3rd row See attached video. Expected: For the last active tab to move to the first position in the open tabs list Also, I noticed a tab isn't moved to the top of the Open tabs card when the user selects the tab and scrolls the page. Only after a new page navigation or reload does it become active and move to the top of the list. Is it possible to consider selecting a tab/scrolling the contents as an interaction with a tab? Let me know if you have any questions. Thanks
1,852,918
16,575,201
Created attachment 9352854 image.png **Found in** * 119.0a1 (2023-09-12) **Affected versions** * 119.0a1 (2023-09-12) **Tested platforms** * Affected platforms: Ubuntu 20, Ubuntu 22 * Unaffected platforms: macOS 12, Windows 10x64 **Steps to reproduce** 1. Open the browser console. **Expected result** * Title bar alongside minimize, maximize, and close buttons are displayed. **Actual result** * Title bar is not displayed. **Regression** * Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=8848a488540ba7bee842078775b60fe2f3171556&tochange=a28fc8d4ff32a17df441bb783437f7385fafc62a **Additional notes** * Attached a screenshot.
1,852,984
16,575,992
Created attachment 9352925 dialog_dark_mode.png ### Steps to reproduce 1. Open Fenix Nightly 2. Make sure the "dark" theme is selected in the settings 3. Make sure the extensions process is enabled by checking `about:processes` (which should list an "Extensions" process) 4. Open `about:crashextensions` in a tab and reload multiple times (6 times, in fact) 5. A "crash dialog" should appear ### Expected behavior We can read the content of the dialog. ### Actual behavior We cannot read the content of the dialog, see attached screenshot.
1,853,316
16,578,792
Created attachment 9353361 Screenshot 2023-09-15 at 13.31.13.png **Found in** * 119.0a1 (2023-09-14) **Affected versions** * 119.0a1 (2023-09-14) **Tested platforms** * Affected platforms: All **Preconditions** * browser.shopping.experience2023.enabled: **true** * browser.shopping.experience2023.optedIn: **1** **Steps to reproduce** 1. Open a [random amazon product page](https://www.amazon.com/LG-55-inch-OLED55C2PUA-3-1-3ch-Up-Firing/dp/B09WJX4BVY/ref=sr_1_1?crid=2IV4FJUUHAQ1D&keywords=lg%2Bc2&qid=1694774042&sprefix=lg%2Bc2%2Caps%2C178&sr=8-1&th=1). 2. Check the review checker sidebar. **Expected result** * The border of the review checker sidebar goes all the way to the bottom. **Actual result** * The border is cut off at the bottom. **Regression** * This is a very recent regression. I'm going to run mozregression and add the result ASAP.
1,853,442
16,579,542
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0 Steps to reproduce: Opened an email to read it. Then tried to zoom in using CTRL++. Font size does not change. If I use View + Zoom + In, the font size changes. After that I can successfully use CTRL++ or CTRL+- to zoom in/out (i.e., change the font sizes). Actual results: Font size does not change. Expected results: Font size should change without having to do extra menu steps (View/Zoom/In).
1,853,797
16,583,855
User Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Mobile Safari/537.36 Steps to reproduce: Load https://demo.lukewarlow.dev/showPicker/ Click "date showPicker", "month showPicker" and "week showPicker". Actual results: Only the date input picker opened. Expected results: All the pickers should have opened like happens when you click on the input itself.
1,853,896
16,584,443
Created attachment 9353878 Screenshot_20230919_141631.png User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0 Steps to reproduce: 1. Open a Youtube video. 2. Play it and switch to fullscreen mode (press F or an icon in the UI). Actual results: The video opens fullscreen, but the status bar at the bottom of the screen (saying that it's performing a TLS handshake) stays above the video and visible. In my case, this status bar stays visible for a very long time (minutes?) and may even last to the end of the video. This is distracting. This doesn't always happen and obviously depends on whether the status bar disappears naturally (e.g. when the relevant network activity finishes quick enough). I think, it may even not reproduce reliably (meaning that sometimes, even when the status bar is visible in non-fullscreen mode, switching to fullscreen will hide the status bar), but I'm not sure whether this happens because the status bar disappears naturally or because the fullscreen video covers it. Expected results: Fullscreen video should hide the status bar.
1,856,357
16,603,629
Created attachment 9356167 Screenshot_2.jpg ### Prerequisites 1. Make sure you have VPN connected to US. 2. Make sure you have developer's option enabled, and the "Shopping experience" toggle is ON. 3. Make sure you have a clean profile. ### Steps to reproduce 1. Go to a product detailed page from amazon.com, walmart.com, or bestbuy.com. 2. Dismiss the first CFR, and tap on the shopping icon in the address bar. 3. When the contextual opt-in screen is displayed, tap on the "Not now" option. 4. Go to the homepage of Fenix. 5. Close Fenix, go to the device's Settings -> System -> Date & Time and set the time with 24h ahead. 6. Reopen the app and repeat step 1. Observe the first CFR displayed again after 24 hours. ### Expected behavior The first CFR is displayed again, after 24 hours, when the user taps on "Not now" from the Review checker opt-in screen - as in the screenshot from [Figma](https://www.figma.com/file/7LjqzoEKj0xujsexb6Jc2U/Mobile-Shopping-Experience-MVP-Onboarding-flows?type=whiteboard&node-id=0-1&t=eg57TBH44IO5Wy69-0). ### Actual behavior The first CFR is NOT displayed again, after 24 hours. ### Device information * Firefox version: Nightly 120.0a1 * Android devices: Samsung Galaxy S8 Ultra (Android 12), Google Pixel 6 (Android 14) * NOT reproducible on: Google Pixel 7 Pro (Android 14), and OnePlus A3000 (Android 6) ### Any additional information? * the same actual behavior if the user dismisses the CFR and skips step 3.
1,856,572
16,604,874
Created attachment 9356344 Import2.png **Affected versions** * Firefox 119.0b4 **Affected platforms** * Windows 10x63, Ubuntu 22, macOS 13 **Steps to reproduce** 1. Launch Firefox with Firefox View next tab selected 2. Open a new Firefox window with a few sites loaded in tabs 3. Go to Firefox Hamburger menu ->More Tools -> Customize toolbar and enable the Title Bar 4. Return to Firefox View Next card and check the Open Tabs sub-menu for an link 5. Go to History card and click the Choose Browser button on the import banner 6. Observe the sub-menu elements for Open tabs menu and the Import data panel **Expected result** * All of the elements should be visible in the Firefox View Next tab cards after accessing the Customize tools **Actual result** * Elements are not visible for the Open tabs sub-menu and History Import data panel after accessing the Customize tools **Regression range** * New implementation **Additional notes** * See the attached screenshots * Issue corrects after refreshing the page
1,856,695
16,605,577
Testcase found while fuzzing mozilla-central rev 53af11a26cb6 (built with: --enable-address-sanitizer --enable-fuzzing). Testcase can be reproduced using the following commands: ``` $ pip install fuzzfetch grizzly-framework $ python -m fuzzfetch --build 53af11a26cb6 --asan --fuzzing -n firefox $ python -m grizzly.replay ./firefox/firefox testcase.html ``` ``` AddressSanitizer: heap-use-after-free [@ Hdr] with READ of size 8 ================================================================= ==1101636==ERROR: AddressSanitizer: heap-use-after-free on address 0x51000003e3d8 at pc 0x7fd45c8f1e8e bp 0x7ffcd6c68da0 sp 0x7ffcd6c68d98 READ of size 8 at 0x51000003e3d8 thread T0 (Isolated Web Co) #0 0x7fd45c8f1e8d in Hdr /builds/worker/workspace/obj-build/dist/include/nsTArray.h:587:51 #1 0x7fd45c8f1e8d in Elements /builds/worker/workspace/obj-build/dist/include/nsTArray.h:1197:48 #2 0x7fd45c8f1e8d in unsigned long nsTArray_Impl<mozilla::Observer<mozilla::void_t>*, nsTArrayInfallibleAllocator>::IndexOf<mozilla::Observer<mozilla::void_t>*, nsDefaultComparator<mozilla::Observer<mozilla::void_t>*, mozilla::Observer<mozilla::void_t>*>>(mozilla::Observer<mozilla::void_t>* const&, unsigned long, nsDefaultComparator<mozilla::Observer<mozilla::void_t>*, mozilla::Observer<mozilla::void_t>*> const&) const /builds/worker/workspace/obj-build/dist/include/nsTArray.h:1354:30 #3 0x7fd45c8f235b in IndexOf<mozilla::Observer<mozilla::void_t> *> /builds/worker/workspace/obj-build/dist/include/nsTArray.h:1373:12 #4 0x7fd45c8f235b in bool nsAutoTObserverArray<mozilla::Observer<mozilla::void_t>*, 0ul>::RemoveElement<mozilla::Observer<mozilla::void_t>*>(mozilla::Observer<mozilla::void_t>* const&) /builds/worker/workspace/obj-build/dist/include/nsTObserverArray.h:221:31 #5 0x7fd45c8ef1d7 in RemoveObserver /builds/worker/workspace/obj-build/dist/include/mozilla/Observer.h:56:23 #6 0x7fd45c8ef1d7 in RemovePortListener /dom/midi/MIDIAccess.cpp:240:25 #7 0x7fd45c8ef1d7 in mozilla::dom::MIDIPort::~MIDIPort() /dom/midi/MIDIPort.cpp:54:24 #8 0x7fd45c8eef1d in mozilla::dom::MIDIInput::~MIDIInput() /builds/worker/workspace/obj-build/dist/include/mozilla/dom/MIDIInput.h:28:24 #9 0x7fd453373b66 in SnowWhiteKiller::~SnowWhiteKiller() /xpcom/base/nsCycleCollector.cpp:2473:7 #10 0x7fd453372915 in nsCycleCollector::FreeSnowWhite(bool) /xpcom/base/nsCycleCollector.cpp:2663:3 #11 0x7fd45337e6b7 in nsCycleCollector::BeginCollection(mozilla::CCReason, ccIsManual, nsICycleCollectorListener*) /xpcom/base/nsCycleCollector.cpp:3660:3 #12 0x7fd45337d3d1 in nsCycleCollector::Collect(mozilla::CCReason, ccIsManual, js::SliceBudget&, nsICycleCollectorListener*, bool) /xpcom/base/nsCycleCollector.cpp:3484:9 #13 0x7fd45337ccba in nsCycleCollector::ShutdownCollect() /xpcom/base/nsCycleCollector.cpp:3418:20 #14 0x7fd453380066 in nsCycleCollector::Shutdown(bool) /xpcom/base/nsCycleCollector.cpp:3722:5 #15 0x7fd453382760 in nsCycleCollector_shutdown(bool) /xpcom/base/nsCycleCollector.cpp:4046:18 #16 0x7fd45362a9e2 in mozilla::ShutdownXPCOM(nsIServiceManager*) /xpcom/build/XPCOMInit.cpp:702:3 #17 0x7fd464123f62 in XRE_InitChildProcess(int, char**, XREChildData const*) /toolkit/xre/nsEmbedFunctions.cpp:660:16 #18 0x558f7481c16c in content_process_main /browser/app/../../ipc/contentproc/plugin-container.cpp:57:28 #19 0x558f7481c16c in main /browser/app/nsBrowserApp.cpp:375:18 #20 0x7fd47ab33d8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #21 0x7fd47ab33e3f in __libc_start_main csu/../csu/libc-start.c:392:3 #22 0x558f74740388 in _start (/home/jkratzer/builds/m-c-20231003093318-fuzzing-asan-opt/firefox+0xdc388) (BuildId: b7cff8be13666bb78088f1ee0fcebf9908f4c257) 0x51000003e3d8 is located 152 bytes inside of 184-byte region [0x51000003e340,0x51000003e3f8) freed by thread T0 (Isolated Web Co) here: #0 0x558f747dbf46 in free /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:52:3 #1 0x7fd453373b66 in SnowWhiteKiller::~SnowWhiteKiller() /xpcom/base/nsCycleCollector.cpp:2473:7 #2 0x7fd453372915 in nsCycleCollector::FreeSnowWhite(bool) /xpcom/base/nsCycleCollector.cpp:2663:3 #3 0x7fd453380059 in nsCycleCollector::Shutdown(bool) /xpcom/base/nsCycleCollector.cpp:3719:3 #4 0x7fd453382760 in nsCycleCollector_shutdown(bool) /xpcom/base/nsCycleCollector.cpp:4046:18 #5 0x7fd45362a9e2 in mozilla::ShutdownXPCOM(nsIServiceManager*) /xpcom/build/XPCOMInit.cpp:702:3 #6 0x7fd464123f62 in XRE_InitChildProcess(int, char**, XREChildData const*) /toolkit/xre/nsEmbedFunctions.cpp:660:16 #7 0x558f7481c16c in content_process_main /browser/app/../../ipc/contentproc/plugin-container.cpp:57:28 #8 0x558f7481c16c in main /browser/app/nsBrowserApp.cpp:375:18 #9 0x7fd47ab33d8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 previously allocated by thread T0 (Isolated Web Co) here: #0 0x558f747dc1ee in malloc /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:69:3 #1 0x558f748213f5 in moz_xmalloc /memory/mozalloc/mozalloc.cpp:52:15 #2 0x7fd45c8ddfc7 in operator new /builds/worker/workspace/obj-build/dist/include/mozilla/cxxalloc.h:33:10 #3 0x7fd45c8ddfc7 in mozilla::dom::MIDIAccessManager::CreateMIDIAccess(nsPIDOMWindowInner*, bool, mozilla::dom::Promise*) /dom/midi/MIDIAccessManager.cpp:149:24 #4 0x7fd45c8e825e in Allow /dom/midi/MIDIPermissionRequest.cpp:90:8 #5 0x7fd45c8e825e in mozilla::dom::MIDIPermissionRequest::Run() /dom/midi/MIDIPermissionRequest.cpp:101:7 #6 0x7fd4535784ba in mozilla::RunnableTask::Run() /xpcom/threads/TaskController.cpp:559:16 #7 0x7fd453562ab8 in mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /xpcom/threads/TaskController.cpp:886:26 #8 0x7fd45355f4c7 in mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) /xpcom/threads/TaskController.cpp:709:15 #9 0x7fd45355fda9 in mozilla::TaskController::ProcessPendingMTTask(bool) /xpcom/threads/TaskController.cpp:495:36 #10 0x7fd45357ff91 in operator() /xpcom/threads/TaskController.cpp:218:37 #11 0x7fd45357ff91 in mozilla::detail::RunnableFunction<mozilla::TaskController::TaskController()::$_0>::Run() /xpcom/threads/nsThreadUtils.h:548:5 #12 0x7fd4535a9f93 in nsThread::ProcessNextEvent(bool, bool*) /xpcom/threads/nsThread.cpp:1198:16 #13 0x7fd4535b7bfa in NS_ProcessNextEvent(nsIThread*, bool) /xpcom/threads/nsThreadUtils.cpp:480:10 #14 0x7fd4551bfd9e in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /ipc/glue/MessagePump.cpp:85:21 #15 0x7fd454fea80a in RunInternal /ipc/chromium/src/base/message_loop.cc:370:10 #16 0x7fd454fea80a in RunHandler /ipc/chromium/src/base/message_loop.cc:363:3 #17 0x7fd454fea80a in MessageLoop::Run() /ipc/chromium/src/base/message_loop.cc:345:3 #18 0x7fd45e6774f9 in nsBaseAppShell::Run() /widget/nsBaseAppShell.cpp:148:27 #19 0x7fd46412498e in XRE_RunAppShell() /toolkit/xre/nsEmbedFunctions.cpp:721:20 #20 0x7fd454fea80a in RunInternal /ipc/chromium/src/base/message_loop.cc:370:10 #21 0x7fd454fea80a in RunHandler /ipc/chromium/src/base/message_loop.cc:363:3 #22 0x7fd454fea80a in MessageLoop::Run() /ipc/chromium/src/base/message_loop.cc:345:3 #23 0x7fd464123f33 in XRE_InitChildProcess(int, char**, XREChildData const*) /toolkit/xre/nsEmbedFunctions.cpp:656:34 #24 0x558f7481c16c in content_process_main /browser/app/../../ipc/contentproc/plugin-container.cpp:57:28 #25 0x558f7481c16c in main /browser/app/nsBrowserApp.cpp:375:18 #26 0x7fd47ab33d8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 SUMMARY: AddressSanitizer: heap-use-after-free /builds/worker/workspace/obj-build/dist/include/nsTArray.h:587:51 in Hdr Shadow bytes around the buggy address: 0x51000003e100: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x51000003e180: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x51000003e200: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x51000003e280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fa 0x51000003e300: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd =>0x51000003e380: fd fd fd fd fd fd fd fd fd fd fd[fd]fd fd fd fa 0x51000003e400: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x51000003e480: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa 0x51000003e500: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x51000003e580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fa 0x51000003e600: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==1101636==ABORTING ```
1,856,733
16,605,759
Steps to reproduce: I have a Web assembly program that contains global definitions that refers to previous global definitions. Actual results: I get this error message in the console: CompileError: wasm validation error: at offset 21410: global.get in initializer expression must reference a global immutable import Expected results: This should be allowed. (It works in Chrome 119.) The GC proposal states the following: "global.get is a constant instruction and can access preceding (immutable) global definitions, not just imports as in the MVP" (https://github.com/WebAssembly/gc/blob/main/proposals/gc/MVP.md)
1,856,894
16,606,303
### Steps to reproduce 0. Have fenix as default browser and shopping experience turned on (in secret settings). 1. Open a [supported product page](https://www.amazon.com/Garmin-Sapphire-Multisport-features-Grade-Adjusted/dp/B07W59LRL9?th=1). 2. Open the review checker bottom sheet by clicking on the shopping tag icon in the url bar. 3. Keep the bottom sheet open and minimize the app. 4. Click any link on a 3rd party app and enter Fenix (not custom tabs). 5. Observe new tab is opened. 6. Go back to the supported product page tab. ### Expected behavior The bottom sheet is collapsed and the shopping tag icon is not tinted. ### Actual behavior The bottom sheet is collapsed and the shopping tag icon is tinted. ### Device information * Firefox version: 120.a * Android device model: Pixel 7 * Android OS version: 13 ### Any additional information?
1,856,903
16,606,376
Created attachment 9356543 FF-Startup-Bug-mozregression.txt User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0 Steps to reproduce: Start Firefox normally from shortcut or Start Firefox with a clean profile using profile manager or Start Firefox in safe mode by holding Shift i.e. bug is present however FF is started and even with a clean profile and in safe mode. Actual results: Firefox opens and there is a 1 to 2 second delay before the bookmarks toolbar appears and the omnibox becomes active. No other menu items or icons are funtional until the bookmarks toolbar has loaded. There is no delay if simply opening a new window when FF is already open. Expected results: The bookmarks toolbar should load near-instantly and all menus/icons should be active.
1,857,173
16,608,305
### Prerequisites Make sure the Shopping Experience is enabled in Secret Settings. ### Steps to reproduce 1. Have Accessibility Scanner installed. 2. Go to a PDP on amazon.com. 3. Scan the PDP page. ### Expected behavior No suggestions are made. ### Actual behavior This item's height is 40dp x 40 dp. Consider making the height of this items target 48 dp wide and 48 dp high or larger. ### Device information Firefox version: Nightly 120.0a1 from 05.10.2023 Android device model: Motorola Moto G9 plus, OnePlus A3000 Android OS version: Android 11, Android 6 ### Any additional information?
1,857,287
16,609,036
Created attachment 9356905 MissingShoppingIcon.mp4 ### Preconditions Make sure you have VPN connected to US. Make sure you have developer's option enabled, and the "Shopping experience" toggle is ON. Make sure Firefox Nightly is set as default browser. Enroll in the Fakespot shopping experience. ### Steps to reproduce 1. Open a link to a PDP from amazon.com, bestbuy.com or walmart.com from a 3rd party app (we used gmail). 2. When the PDP in opened in the custom tab, tap the 3-dot menu > Open in Firefox Nightly. 3. Observe the toolbar. ### Expected behavior The shopping icon (price tag icon) is displayed when the PDP page is opened in Firefox Nightly. ### Actual behavior The shopping icon (price tag icon) is displayed when the PDP page is opened in Firefox Nightly, a manual restart or refresh is needed in order for the shopping icon to be displayed. Additionality, after refreshing the page, the shopping icon blinks for a split second while the page loads. ### Device information * Firefox version: Nightly 120.0a1 from 10/05 * Android device: Samsung Galaxy A53 5G (Android 13) or any device ### Any additional information? - The issue occurs regardless of the bottom sheet or another PDP being opened in app before opening the PDP from the custom tab. - The issue occurs regardless of the app state (opened in background or closed); - Please note that this issue is not encountered if only sharing the PDP link from a 3rd party app to Firefox Nightly.
1,857,511
16,610,492
Created attachment 9357059 Gif showing the issue This bug is an addition to the fix from bug 1855827. **Affected versions** * Firefox Beta 119.0b5 * Latest Nightly 120.0a1 **Tested platforms** * Affected platforms: Windows 10 (probably Windows 11 as well) * Unaffected platforms: MacOS 13 and Ubuntu 22.04 **Preconditions** * None **Steps to reproduce** 1. Open Firefox and make it wide enough (1878px for example) 2. Visit 1 or 2 websites 3. Open Firefox View 4. Click on ... button next to a URL 5. Go to "Move Tab" with the cursor of the mouse **Expected result** * Submenu if fully visible on the left side or the left side. **Actual result** * Submenu is cut off by the scrollbar at the edge of the window. **Regression range** * Not a regression, is an addition to bug 1855827. **Additional notes** * Gif showing the issue is attached.
1,857,545
16,610,704
### Steps to reproduce 1. Opt into shopping experiment 2. Open a PDP on best buy, amazon, or Walmart 3. Observe first CFR 4. Open review checker and opt in. 5. Close Firefox 6. Reopen Firefox. Observe appearance of first CFR again, although user is opted in already. ### Expected behavior First CFR should only display a second time if the following conditions are met: 1. User has not opted into review checker 2. 24 hours has passed since seeing the first instance of this CFR ### Actual behavior First CFR is showing again to users who have opted in to review checker. It is also showing less than 24 hours later, with a new session. ### Device information * Firefox version: Firefox Nightly 120.0a1 * Android device model: OnePlus NE2215 * Android OS version: 13.1 ### Any additional information?
1,857,695
16,611,456
Created attachment 9357219 example Open the following test case in Nightly: ``` data:text/html,<html><body><select><option disabled selected="true">My color is incorrect.</option><option disabled>My color is correct.</option></select></body></html> ``` After bug 1851689, the selected disabled option has the text color of a non-disabled hovered option. This is incorrect and difficult to read. Attached is an example of how this appears on macOS. Both options should have the same text color. The specific patch that regressed this per mozregression: ``` Bug 1851689 - Move some shared rules to menu-shared.css. r=dao,desktop-theme-reviewers Linux and windows could get even more sharing. I suspect a bunch of the macOS-specific CSS can go away now that we use native menus for the menubar and context menus, but I don't have the time to test macOS extensively right now so leaving it there for the moment... Depends on D188801 Differential Revision: https://phabricator.services.mozilla.com/D188802 ```
1,857,838
16,612,406
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/120.0 Steps to reproduce: Enable the feature that auto clicks cookie banners. Surf to https://www.comedycentral.tv/ Actual results: It keeps on reloading the page. Everytime it finishes loading, the page get's reloaded (probably due to the cookie related action being repeated over and over again) Expected results: The cookie settings should only be set once. The page permanently shows a button in the bottom left corner that doesn't go away. Which causes the new feature to think that there are further cookies to disable I assume. (even though there aren't) See webcompat: https://github.com/webcompat/web-bugs/issues/128165
1,857,946
16,615,197
Created attachment 9357439 screenshotsPreviewState.png STR: 1. set `screenshots.browser.component.enabled` to true 2. open the new tab page or any scrolling page 3. open screenshots and scroll down ER: The preview state remains in the viewport AR: The preview state stays at the top of the page
1,858,377
16,617,873
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0 Steps to reproduce: Proceeded to the update of latest Google app. Setup a PROXY IP/3128 on my WIFI connection on my S21 latest Android 13. Note that we've seen it too on latest android 12 and on beta Android 14 Actual results: Firefox tries to reach PROXY on TCP 80 instead of 3128 TCP i.e. logs from my proxy with used PORT at the end of line (Note I opened 80 too on squid so that I can show it to you) 192.168.90.49 [20231011.073333] "CONNECT push.prod.netflix.com:443 HTTP/1.1" 200 - 4693 900533 TCP_TUNNEL:HIER_DIRECT "okhttp/4.7.2" 3128 192.168.90.49 [20231011.082432] "CONNECT safebrowsing.googleapis.com:443 HTTP/1.1" 200 - 12595 147 TCP_TUNNEL:HIER_DIRECT "Mozilla/5.0 (Android 13; Mobile; rv:109.0) Gecko/118.0 Firefox/118.0" 80 Expected results: Firefox should have tried to connect PROXY on 3128 as configured in settings. NB : might have something to do with this https://github.com/mozilla/gecko-dev/blob/master/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java#L1305 given https://cs.android.com/android/_/android/platform/libcore/+/220684b95b96946c6a24b0fe4bb528b401666781
1,858,405
16,618,317
Created attachment 9357823 Screen Recording 2023-10-11 at 3.26.56 PM.mov **Found in** * Nightly 120.0a1 **Affected versions** * Nightly 120.0a1 **Tested platforms** * Affected platforms: Windows 11, macOS 12, Ubuntu 22.04 x64 **Preconditions** * In about:config - set "browser.privatebrowsing.felt-privacy-v1" to true **Steps to reproduce** 1. Open a new private window. 2. Visit any website and pay attention to the tab's background during the page loading process. **Expected result** * The tab's background color should align with the new theme while the site is loading. **Actual result** * The tab's background color displays the old background during site loading. Please see the screencast for more details. **Regression range** * Not a regression.
1,858,678
16,619,833
The following testcase crashes on mozilla-central revision 20231009-d5fd5e481ff2 (debug build, run with --fuzzing-safe --ion-offthread-compile=off): function foo(glob, imp, b) { "use asm"; var arr=new glob.Int8Array(b); return {}; } a = new ArrayBuffer(64 * 1024); foo(this, null, a); function f(h, g) { ensureNonInline(g); } f(Float64Array, a); Backtrace: received signal SIGSEGV, Segmentation fault. #0 0x00005555576d1c68 in js::ArrayBufferObject::ensureNonInline(JSContext*, JS::Handle<js::ArrayBufferObject*>) () #1 0x000055555717747c in JS::EnsureNonInlineArrayBufferOrView(JSContext*, JSObject*) () #2 0x00005555575c13dc in EnsureNonInline(JSContext*, unsigned int, JS::Value*) () #3 0x0000555557068575 in CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), js::CallReason, JS::CallArgs const&) () [...] #14 0x0000555556e90bd9 in main () rax 0x5555558ca337 93824995861303 rbx 0x7fffffffcfa8 140737488342952 rcx 0x55555897a5b8 93825046914488 rdx 0x0 0 rsi 0x7ffff7105770 140737338431344 rdi 0x7ffff7104540 140737338426688 rbp 0x7fffffffcf80 140737488342912 rsp 0x7fffffffced0 140737488342736 r8 0x7ffff7105770 140737338431344 r9 0x7ffff7f92840 140737353689152 r10 0x2 2 r11 0x0 0 r12 0xfff8800000000000 -2111062325329920 r13 0xfff8800000000000 -2111062325329920 r14 0xe0588067040 15416919748672 r15 0x7ffff3d35600 140737284101632 rip 0x5555576d1c68 <js::ArrayBufferObject::ensureNonInline(JSContext*, JS::Handle<js::ArrayBufferObject*>)+1176> => 0x5555576d1c68 <_ZN2js17ArrayBufferObject15ensureNonInlineEP9JSContextN2JS6HandleIPS0_EE+1176>: movl $0x7a8,0x0 0x5555576d1c73 <_ZN2js17ArrayBufferObject15ensureNonInlineEP9JSContextN2JS6HandleIPS0_EE+1187>: callq 0x555556f31cc0 <abort> Marking s-s until triaged since I can't tell if this is an issue with the helper function or not.
1,854,144
16,586,153
Created attachment 9354136 Screenshot 2023-09-21 at 15.53.46.png **Found in** * 119.0a1 (2023-09-20) **Affected versions** * 119.0a1 (2023-09-20) **Affected platforms** * All **Preconditions** * browser.shopping.experience2023.enabled- **true** **Steps to reproduce** 1. Open Firefox and reach [this](https://www.amazon.com/PlayStation-5-Console/dp/B09DFCB66S) link. 2. Click on the ```Yes, try it``` button inside the review checker sidebar. 3. Close the sidebar using the *Address bar icon* or the ```X``` close button. 4. Close Firefox. 5. Advance the date of your system by 1 day. 6. Re-open Firefox using the same profile and reach an amazon product page. **Expected result** * The "*Are these reviews reliable? Find out fast.*" call-out pops out from the Address bar icon. The focus is not on the ```X``` close button. **Actual result** * The "*Are these reviews reliable? Find out fast.*" call-out pop out from the Address bar icon is shown with focus set on the ```X``` close button. **Regression range** * Not a regression. The callouts were only recently added. **Additional note** * This does not occur on the other two callout types.
1,854,385
16,587,610
Created attachment 9354342 az_recorder_20230921_160923.mp4 # Steps to reproduce 1. Open Fenix Nightly 2. Go to thinkbroadband.com/downloads and download one of the zip files. 3. Go to 3Dot menu > Downloads and tap on the downloaded file. # Actual behavior Nothing happens. # Expected behavior An error message is displayed, informing the user that there is no app to open the file with. # Device information Firefox version: Fenix Nightly 119.0a1 from 2023-09-21. Android device model: Oppo Find X5 Android OS version: 13 # Any additional information? - On a Samsung Galaxy S23 Ultra (Android 13), tapping on the downloaded file takes the user to the files where a "Couldn't extract file" error message is displayed (taken over by the OS). - When downloading files that can be opened, tapping on the file displays the apps to choose what it should be opened with.
1,854,486
16,588,207
**Affected versions** * 119.0a1 (2023-09-21) **Affected platforms** * macOS 13 **Steps to reproduce** **Preconditions:** - Have the dark theme set at the os level 1. Open several pages 2. Enter fullscreen 3. Place the cursor at the top of the screen to trigger the Menu bar appearance **Expected result** * All tabs shift their position without any visual issue. **Actual result** * The active Tab keeps its height, while the rest of the unfocused ones have an unnecessary space displayed under (see notes). **Regression range** * Last good revision: 751ce10ffa95f4706e709666d45db519e48786c7 * First bad revision: 85ed967e285f304f7709461aec0d33ca72805791 * Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=751ce10ffa95f4706e709666d45db519e48786c7&tochange=85ed967e285f304f7709461aec0d33ca72805791 * Potential regressor: 1843044 *Notes* * See the [screencast issue](https://drive.google.com/file/d/1Ymiar7UMMHoroAxiTe3m-Xiz57tLzbiA/view?usp=sharing) * Not reproducible if any about page is in focus
1,854,641
16,589,018
### Steps to reproduce 1.Enter private browsing; 2.Go to a site from where you can download a file like https://www.thinkbroadband.com/download; 3.Open tabs tray. 4.Dismiss the tab with the download in progress. 5."Cancel private downloads?" popup appears. 6. Tap on "Cancel downloads" ### Expected behavior When the user presses "Cancel downloads" , the tab closes and the download stops. ### Actual behavior The download still continues. If the download tab is the only tab, the download notification gets dismissed and the tab gets closed, but in the background, the download is still running. When you enter again on https://www.thinkbroadband.com/download and you try to dismiss the tab, the "Cancel private downloads?" popup still appears even if you didn't download anything. ### Device information All devices * Firefox version: 119 * Android device model: all devices * Android OS version: All ### Any additional information?
1,854,644
16,589,031
Created attachment 9354597 screen-20230922-172111.mp4 ### Steps to reproduce 1. Open two tabs in private or normal doesn't matter. 2. Dismiss one tab with a swipe and press the undo button from the snack bar. ### Expected behavior The tab should be added again in list. ### Actual behavior The tab is not added in tabs tray. ### Device information * Firefox version: 119 * Android device model:Pixel 3XL * Android OS version:Android 12 ### Any additional information?
1,854,900
16,591,949
Crash report: https://crash-stats.mozilla.org/report/index/36a6b3eb-e7c3-4cf4-a2af-2f7050230925 Reason: ```EXCEPTION_ACCESS_VIOLATION_READ``` Top 10 frames of crashing thread: ``` 0 xul.dll mozilla::net::Http2Session::ReadTimeoutTick netwerk/protocol/http/Http2Session.cpp:371 1 xul.dll mozilla::net::nsHttpConnection::ReadTimeoutTick netwerk/protocol/http/nsHttpConnection.cpp:1221 1 xul.dll mozilla::net::ConnectionEntry::TimeoutTick netwerk/protocol/http/ConnectionEntry.cpp:739 1 xul.dll mozilla::net::nsHttpConnectionMgr::TimeoutTick netwerk/protocol/http/nsHttpConnectionMgr.cpp:3402 1 xul.dll mozilla::net::nsHttpConnectionMgr::Observe netwerk/protocol/http/nsHttpConnectionMgr.cpp:313 2 xul.dll nsTimerImpl::Fire::<lambda_13>::operator const xpcom/threads/nsTimerImpl.cpp:678 2 xul.dll mozilla::detail::VariantImplementation<unsigned char, 2, nsCOMPtr<nsIObserver>, nsTimerImpl::FuncCallback, nsTimerImpl::ClosureCallback>::matchN mfbt/Variant.h:309 2 xul.dll mozilla::detail::VariantImplementation<unsigned char, 1, nsCOMPtr<nsITimerCallback>, nsCOMPtr<nsIObserver>, nsTimerImpl::FuncCallback, nsTimerImpl::ClosureCallback>::matchN mfbt/Variant.h:318 2 xul.dll mozilla::detail::VariantImplementation<unsigned char, 0, nsTimerImpl::UnknownCallback, nsCOMPtr<nsITimerCallback>, nsCOMPtr<nsIObserver>, nsTimerImpl::FuncCallback, nsTimerImpl::ClosureCallback>::matchN mfbt/Variant.h:318 2 xul.dll mozilla::Variant<nsTimerImpl::UnknownCallback, nsCOMPtr<nsITimerCallback>, nsCOMPtr<nsIObserver>, nsTimerImpl::FuncCallback, nsTimerImpl::ClosureCallback>::matchN mfbt/Variant.h:902 ``` This crash seems to have been introduced by bug 1784261. A very quick glance at the code suggests that `mConnection` might be NULL.
1,855,493
16,596,050
STR: 1. Open any product page 2. Ensure you can see loading state (easier to see with slow connectivity) Expected: - loading state should have animations for different placeholder boxes Actual: - there are no animations Notes: - only exception is offline connectivity - there should be no animations for that state - I suspect this is due to https://searchfox.org/mozilla-central/rev/fd2325f5b2a5be8f8f2acf9307285f2b7de06582/browser/components/shopping/content/shopping-container.mjs#257. When running the VSCode lit-plugin, a message appears for this line: `Type '"" | "class='animate'"' is not a Lit 2 directive'lit-plugin(no-incompatible-type-binding)(2304)`. The animations seemed to work before despite this; regardless, re-writing to `class=${animate ? "animate : ""}` fixes the issue.
1,855,532
16,596,265
The page background in about:firefoxview-next has a hard-coded color value so in HCM you can get yellow text on a white background. We have some high-contrast overrides in https://searchfox.org/mozilla-central/source/browser/components/firefoxview/firefoxview-next.css#46-54, I think we need to add at least `--newtab-background-color` in there.
1,855,636
16,596,866
Steps to reproduce: This is a regression (good: 7e011293b43, bad: 70417eb0e3b). The first public Firefox release with this regression is 118. To repro, using a bad release of Firefox, do the following: 1. Go to the URL <redacted> 2. Click "View in 3D" button. Wait a few seconds for the page to load. Actual results: After the repro steps, the following unexpected results occur with a bad release of firefox (e.g. 118 or 70417eb0e3b): 1. You will probably see only a black page. (expected: A video stream of a simple 3D object (teapot) should be shown). 2. LMB dragging in the window will have no effect. (expected: Should cause the video stream to show the 3D object being moved with respect to your mouse movement) 3. Pressing Alt+L (just once) will also have no effect, or will show a frame or two and then freeze (expected: Should cause the video stream to show the 3D object spinning in place) 4. After pressing Alt+L (which ensures that frames are continuously sent from the server), you should notice that about:webrtc shows an increasing number of dropped frames, and very few decoded frames - probably none at all. Expected results: With a good release of Firefox (e.g. 117 or 7e011293b43), 1. A video stream of a simple 3D object (teapot) will be shown. 2. LMB dragging will cause the video stream to show the 3D object being moved with respect to your mouse movement. 3. Pressing Alt+L (just once) will cause the video stream to show the 3D object spinning in place. 4. After pressing Alt+L (which ensures that frames are continuously sent from the server), you should notice that about:webrtc shows an increasing number of decoded frames, and very few dropped frames.
1,855,641
16,596,943
STR: - Open a non-tagged pdf; - add an image with an alt text; - save it; - open the saved pdf; - add an image with an alt text; - save it. The alt text of the second image hasn't been saved. When we save the second time we check that's possible to add some information in the structure tree but we want to make sure that every page has a `StructParents` entry: https://github.com/mozilla/pdf.js/blob/00c8fbe7e00cb7a89f8e6e7888bd24649308abc1/src/core/struct_tree.js#L185-L196 which is wrong: a `StructParents` is required when they're some tagged data in the content stream of the page, but an annotation doesn't belong to the content stream.
1,855,744
16,597,696
Created attachment 9355609 Screen Shot 2023-09-28 at 10.17.53 AM.png There's a small mismatch between the wording of the dynamic string on the onboarding card and the string that was handed off. We'll update it here.
1,855,827
16,598,152
Created attachment 9355683 Screen Shot 2023-09-28 at 4.08.16 PM.png Steps to reproduce: 1. Go to "Open tabs" in "Recent Browsing" in Firefox View (Nightly) 2. Click on … next to a URL 3. Go to "Move Tab" Expected: Menu is fully visible Actual: Menu is cut off when the window is not wide enough
1,855,977
16,599,613
The `ExtensionProcessCrashObserver`'s `appInForeground` boolean flag is currently initially set to `true` by default and then updated when Gecko notifies the "application-background" / "application-foreground" topics. "application-background" / "application-foreground" topics [are being notified from the GeckoThreadSupport class defined in widget/android/nsAppShell.cpp](https://searchfox.org/mozilla-central/rev/2f5b657343ce18e4b8a56417f707022550f4b742/widget/android/nsAppShell.cpp#159,187), in response to the calls of the [GeckoThread.onPause and GeckoThread.onResume methods originated from GeckoView's GeckoRuntime java class here](https://searchfox.org/mozilla-central/rev/2f5b657343ce18e4b8a56417f707022550f4b742/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoRuntime.java#168,190). Under the scenario "Android system starts up Fenix in the background after Android system startup" described in more details below, the appInForeground flag would not be in sync with the actuall application state. This bug is tracking investigating the issue further, consider tracking how often this is actually happening in practice and determining how to followup to fix it. #### Scenario: user starts up Fenix => appInForeground in sync with application state When the app is started by the user, then moved in the background and foreground by the user, the values set on the `ExtensionProcessCrashObserver`'s `appInForeground` boolean flag are going to be consistent with the application state as we would expect, because the app going to be intially in the foreground when the user starts it (and so Gecko will also be in the foreground when being started as part of the android app starting up and appIsForeground set initially to true is going to match the initial application state), and then when the user move the app in the background and foreground the android lifecycle methods defined in GeckoRuntime.java linked above will be called and will be notifying the "application-background" / "application-foreground" topics and the appIsForeground will be set to false and true consistently with the application state. STR: - start Fenix app from applications drawer - make sure to enable remote debugging through USB - open a tab (e.g. to an http url or even just one to about:processes) - connect to the Fenix app through about:debugging page, connect to the main process, make sure the devtools toolbox is connected to a geckoview.xhtml frame (because that is going to have access to ChromeUtils and other privilged internals), then check that `ChromeUtils.importESModule("resource://gre/modules/Extension.sys.mjs").ExtensionProcessCrashObserver._appInForeground` is true - move Fenix in the background and confirm that `ExtensionProcessCrashObserver._appInForeground` is set to false - move Fenix back in the foreground and confirm that `ExtensionProcessCrashObserver._appInForeground` is set to false #### Scenario: Android system starts up Fenix in the background after Android system startup => appInForeground NOT in sync set with actual the application state On the contrary, if then the android system is restarted, while Fenix was previously still technically open (either in the background or in the foreground), then the Android system will be starting Fenix in the background, and GeckoView will be starting Gecko runtime as well, and under this scenario the `ExtensionProcessCrashObserver`'s `appInForeground` will still be initially set to `true` even if the application is actually in the background and was never moved in the foreground yet. If the user at some point move the app in the foreground, then starting from that point the `appInForeground` flag will then be kept in sync with the application state as in the other scenario, but until that happen, we will not be notifying the "application-background" topic and the `appInForeground` flag will stay set to `true` and not in sync with the actual app state. If under certain conditions the extension process gets started (usually it would not be started just yet) before the user has ever moved the app in the foreground, then the `appInForeground` flag will not be set to false and because of that: - the telemetry related to the extension process creation or crashes will be collected as if the app was in the foreground even if it was actually in the background - extension process crash recovery behaviors tied to the application being in the foreground or in the background are going to not be consistent with the actual application state (e.g. persistent background pages are restarted right away if the app is in the foreground, and because the flag is not in sync with the application state then persistent background page may be restarted right away while the application was still in the background). Looking through adb logcat into which actual calls to the `GeckoRuntime`'s `LifecycleListener` methods we get under this scenario, it seems Android system will be trigger a call to `onCreate` (but no calls to `onPause`, which in turns means we will not be notifying "application-background" under this scenario as also mentioned above). STR: - build a custom Fenix apk with additional logging to print out which is the state of appIsForeground flag when ExtensionProcessCrashObserver init method is called and when the appIsForeground flag is being set when the application-foreground/application-background topics are emitted - start Fenix app from applications drawer - make sure to enable remote debugging through USB - move the app in the background - reboot the emulator (e.g. connect to the emulator `adb shell` and the execute `reboot` from the root user, eventually after running `su` if the user is not already root, which happens on the emulator after rebooting it from adb) - after the emulator complete the reboot, and check in adb logcat logs which of the additional logging added in the first step has been emitted in the logcat logs and which was the last value set on appIsForeground based on those logs - then move the app in foreground and check in adb logcat logs if any of the additional logs have been emitted in logcat - then move the app in background and check in adb logcat logs if any of the additional logs have been emitted in logcat
1,856,045
16,599,893
### Steps to reproduce 1. Be sure you have Fenix's dark theme enabled (Settings | Customize | Theme: "Dark", or "Follow Device Theme" if you've got the dark android theme). 2. Enable the Fenix debug menu (Settings | About Firefox, and tap the Firefox icon a bunch until it says "Debug menu enabled" 3. Tap the debug-menu "Start Profiler" menu item (Settings | Start Profiler, at the very bottom) 4. Look at the "Start Profiler" popup that appears. ### Expected behavior Dark popup, with radio buttons visible to chose a profiler-settings preset. ### Actual behavior Light popup, with only the currently-selected radio button visible. (The unselected radio buttons are nearly invisible -- they're drawn in a nearly-white color, since we have a dark theme and they're designed to show up over a dark background. So they don't show up, since this popup unexpectedly has a white background). ### Device information * Firefox version: 120.0a1 (also reproduced in 119.0b2) * Android device model: Pixel 6a * Android OS version: 13 ### Any additional information? If you change Fenix to use a light theme, then things are fine -- the popup still has a white background, and the radio buttons become visible (they get a dark border, due to the light theme, so they show up.)