Reminder - no plan survives breakfast.
- Feel free to send pull requests to the repo!
- Here’s a contributing guide!
- Here’s the guide for creating pull requests that smurfd used and recommends!
Today
- Bridge is working again!
- Next week I cannot stream due to travel travel
- Something got lost in our commits for the HTML-ification - luckily mak caught it. Where did they go? We either need to find them or recreate them.
And, if we're lucky, we work on the privileged / non-privileged part. Maybe we can look at whether or not Download items have IDs so we can bridge them across processes? - - Currently:
- `class DownloadElementShell {} // Presentation / look and feel / privilege` - `class DownloadViewItem extends DownloadElementShell` - `class DownloadElement {} // Presentation / look and feel` - \`\`\` class DownloadViewItem extends BaseDownloadElementPrivilege {}; let element = new DownloadElement(); element.download = new DownloadViewItem(toolkitDownload); \`\`\` - DownloadElement - "Download" property, you assign to it after construction, like: \`\`\` let t = toolkitDownload; <br/>let d = new DownloadElement(); d.download = new BrowserDownload(t); \`\`\` - DownloadElement simply calls into its download property to do privileged things, "download" is where all of the privilege is. - In Storybook, we can pass in a fake download - Can I use JSDoc / TypeScript to make it easy to create a "fake" download the satisfies the type? - Gameplan for next time: - File a bug to enable require-jsdoc / valid-jsdoc for toolkit/components/downloads - Go through all of the require-jsdoc / valid-jsdoc failures for toolkit/components/downloads and fix them up - File a bug to add limited TypeScript support to toolkit/component/downloads, starting with DownloadCore.sys.mjs - Define an interface for Download so that multiple things can implement it - Implement a "dummy" Download that satisfies the interface for Storybook testing, and embed the DownloadElementShell into Storybook
Chat
- Join us in the Livehacking room on Mozilla’s Matrix instance! Here’s documentation on how to join. I’m only sorta monitoring the Twitch chat. A bot will try to bridge Matrix and Twitch (joc-bridgebot).
Links
Codetribute - Help contribute to Firefox, good mentored bugs for You.
- First, Create a Mozilla Bugzilla account.
Check if a service you are using, has been part of a breach via Firefox Monitor
MyQOnly Mikes Addon for showing how many reviews are in your review queue - Source at Github
mozconfigwrapper - A Wrapper to keep different mozconfigs
Fission - Read more about it
Alessandro Castellani has been streaming himself livehacking on Thunderbird
Compiler Compiler - watch a Mozilla engineer hack on the SpiderMonkey JavaScript engine!
Andreas Kling hacks on a custom browser engine for a hand-rolled OS called SerenityOS
The Joy of Coding: Community-Run Episode guide
- Feel free to send pull requests to the repo!
- Here’s the guide for creating pull requests that smurfd used and recommends!
Watch a developer put together a Windows game from scratch (no third-part engines) - really great explanations: https://handmadehero.org/
/r/WatchPeopleCode for more livehacking!
Glossary
- BHR - “Background Hang Reporter”, a thing that records information about when Firefox performs poorly and sends it over Telemetry
- e10s ("ee ten ESS") - short for Electrolysis, which is the multi-process Firefox project
- CPOW ("ka-POW" or sometimes "SEE-pow") = Cross-Process Object Wrapper. See this blog post.
- Deserialize - "turn a serialized object back into the complex object”
- Serialize - "turn a complex object into something that can be represented as primitives, like strings, integers, etc
- Regression - something that made behaviour worse rather than better. Regress means to “go backward”, more or less.
- l10n - localization
- a11y - accessibility
- i18n - internationalization
- k8s - kubernetes
Feedback
- https://fosstodon.org/@mconley/ on Mastodon
- You can chat with me on Matrix at @mconley:mozilla.org
- mikeconley.ca/blog
- mconley at mozilla dot com