Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: added ff cheat sheet

Pavel Feldmana69c85f5f8fb
diff --git a/browser_patches/firefox/cheatsheet.md b/browser_patches/firefox/cheatsheet.md
new file mode 100644
index 0000000000..02321e3a6d
--- /dev/null
+++ b/browser_patches/firefox/cheatsheet.md
@@ -0,0 +1,15 @@
+### Debugging
+
+#### Stack trace
+
+It `mozglue/misc/StackWalk.cpp` add
+
+```c++
+#define MOZ_DEMANGLE_SYMBOLS 1
+```
+
+In native code use
+
+```c++
+nsTraceRefcnt::WalkTheStack(stderr);
+```