New struct for BiDi session
A BiDi session has a an optional response bodies configuration which is a
network.ResponseBodiesConfiguration. It is initially null.
network.ResponseBodiesConfiguration = (
Check spreadsheet: | |
- either TODO or missing category | |
- or check the scripted tab "To Add" - those are tests which failed and are not listed in the other tab |
Tips focused on quickly addressing intermittent issues in the least intrusive way. | |
1. Investigation | |
Check the platforms: OS and variants are relevant. | |
If it happens on a variety of platforms + variants, it's usually a good sign that this is an actual implementation issue or a basic race condition in the test. | |
Try to reproduce locally. If it only fails on debug, use a debug build first. | |
Run the test with --repeat 10, if it doesn't fail try with --verify (which takes more time). |
const puppeteer = require("puppeteer"); | |
(async () => { | |
const browser = await puppeteer.launch({ | |
browser: 'firefox', | |
headless: false, | |
// Path to your local build of FF with moz:browserConsole module. | |
executablePath: '/Users/juliandescottes/Development/mozilla/hg/mozilla-unified/objdir.noindex/dist/Nightly.app/Contents/MacOS/firefox' | |
}); |
# HG changeset patch | |
# User Julian Descottes <[email protected]> | |
# Date 1743094445 -3600 | |
# Thu Mar 27 17:54:05 2025 +0100 | |
# Node ID e415e9cb08dc5ca94fb3a81af07e5a22c30bf90a | |
# Parent 882dc1e20711a4d5a4c7fd55e6733086c985f973 | |
XXX Add simple browserConsole moz:module | |
diff --git a/remote/webdriver-bidi/jar.mn b/remote/webdriver-bidi/jar.mn | |
--- a/remote/webdriver-bidi/jar.mn |
- `./mach try fuzzy --rebuild 10 devtools/client/debugger/test/mochitest/browser_dbg-breakpoints-columns.js --env MOZ_RECORD_TEST=1` | |
- In Artifact and debugging tools, find artifact video_mochitest-devtools-chrome.webm | |
- (?) brew install ffmpeg | |
- ffmpeg -i path/to/webm -vcodec copy -acodec copy out.webm |
get text from: https://searchfox.org/mozilla-central/search?q=%5C%23.*%28%5C%7B%7C%28%2C%5Cn%29%29&path=devtools%2F**%2F*.css&case=false®exp=true
js: [...new Set([...str.matchAll(/\#([^ .:({\[]+).*(?:\{|(?:,\n))/g)].map(([_, id]) => id))].sort().join("\n")
then run following bash script
#!/bin/bash
function matchURLPattern(pattern, input) { | |
return pattern.test(input); | |
} | |
function parseURLPattern(patternObj) { | |
if (patternObj.type === "string") { | |
return new URLPattern(patternObj.pattern); | |
} else { |