This patch is more of an experiment to allow us to have code demos in our markdown docs by transforming annotated markup into `Canvas` components while we're converting our markdown to MDX. The annotation idea was taken from [mdjs](https://dev.to/open-wc/introducing-mdjs-interactive-demos-everywhere-16dh), but we're just using Storybook's own React components to achieve the same thing.
I think the next step would be to pull in an args table then I think we can go ahead and replace the built in docs.
Differential Revision: https://phabricator.services.mozilla.com/D173357
This patch amends the logic in the `markdown-story-loader` so that any markdown stories coming from `toolkit/widgets` will be nested in the correct folder with the other stories for that component. I didn't get too fancy with this because the logic will need to change again soon when we change around our Storybook structure.
I added some documentation on `moz-toggle` to demonstrate how this works. I think we could be a couple steps away from being able to hide the default Storybook docs since they're not that useful (in which case we could also maybe get rid of all things custom element manifest related).
Differential Revision: https://phabricator.services.mozilla.com/D173356
Originally proxy support was implemented such that we expected to never invoke
getOwnPropertyDescriptor for a proxy with a private field expando. However, it
turns out that when the proxy returns true for hasPrototype() this is actually
possible; implementation is relatively simple fortunately.
Differential Revision: https://phabricator.services.mozilla.com/D173563
glxtest is run later when Firefox already spawns threads. Recently glxtest runs in forked process
which doesn't work correctly in multi-thread environment, so we need to move glxtest to different binary file
and launch it as stand alone code.
Differential Revision: https://phabricator.services.mozilla.com/D173486
- Implement fire_vaapi_process() which launch VA-API test utility on given DRM device.
- Implement GfxInfo::GetDataVAAPI() which gets VA-API test results
- Run VA-API tests when FEATURE_HARDWARE_VIDEO_DECODING is probed and only if it's enabled by GfxInfo.
Differential Revision: https://phabricator.services.mozilla.com/D171995
Right now we fire glxtest on every Firefox start, even if we going to update, restart or ping running remote instance.
When we're running on system with broken/unstable gfx drivers (drivers/glx freezes or crashes) every such action is delayed or coredumps are generated on systems.
In this patch we launch glx test proces later if we know we need it.
Depends on D168650
Differential Revision: https://phabricator.services.mozilla.com/D168651
This patch adds three new shippable platforms running the nightly-as-release build. At the same time, browsertime essential tests are enabled for all three platforms on autoland.
Depends on D172029
Differential Revision: https://phabricator.services.mozilla.com/D172030
This patch adds a new nightly-as-release build for Windows, Linux, and MacOSx. These are nightly builds, but built with the following additional flag: `ac_add_options --as-milestone=release`
Three new builds are also added to CI: macosx64-nightly-as-release-shippable/opt, win64-nightly-as-release-shippable/opt, and linux64-nightly-as-release-shippable/opt
These are used to make 3 test-platforms to run browsertime tests in a following patch.
Differential Revision: https://phabricator.services.mozilla.com/D172029
It looks like `extension.iconURL` never worked. I added a `getPreferredIcon()`
that relies on `IconDetails.getPreferredIcon()` under the hood in order to
easily get icon URLs from an instance of an `Extension`. I updated a few places
where using this new method is a bit better.
Differential Revision: https://phabricator.services.mozilla.com/D173158
glxtest is run later when Firefox already spawns threads. Recently glxtest runs in forked process
which doesn't work correctly in multi-thread environment, so we need to move glxtest to different binary file
and launch it as stand alone code.
Differential Revision: https://phabricator.services.mozilla.com/D173486
- Implement fire_vaapi_process() which launch VA-API test utility on given DRM device.
- Implement GfxInfo::GetDataVAAPI() which gets VA-API test results
- Run VA-API tests when FEATURE_HARDWARE_VIDEO_DECODING is probed and only if it's enabled by GfxInfo.
Differential Revision: https://phabricator.services.mozilla.com/D171995