arantius
arantius
I'm trying to do unit testing on a webextension. An example which demonstrates how to connect a testing framework, sinon-chrome (maybe?) and my source (which calls many webextension APIs) together...
Thanks @Standard8 . I'm trying to stitch too many things together at once I guess, because `npm` and the javascript ecosystem these days. Sinon and Karma and Mocha and Chai,...
I don't want to. I want to use promises, they make for more readable code. But I still want to have tests of that code.
Interesting, moving the issue here has helped me find: https://github.com/mozilla/addons-linter/blob/053bb7a515d3c1d6fd8832da21ff3c5fa77bee34/src/schema/formats.js#L12 The actual code (I think) which does this validation. Which seems oddly restrictive, but I can reverse engineer into something...
Thanks for the confirmation of that. I'm working on a PR ( https://github.com/9joneg/karma-sinon-chrome/pull/5 ) with them to get their internal dependency updated. So I've updated the originally linked example, to...
I don't know for sure if this is related or not. In our [code](https://github.com/greasemonkey/greasemonkey/blob/master/src/browser/monkey-menu.js), we have: * An object (`gTplData`), with a key (`userscripts`), which is an object with two...
Bump. ``` $ yt-dlp 'https://pluto.tv/en/on-demand/series/alone/season/1/episode/stalked-2015-1-4' --ignore-config --write-subs [PlutoTV] alone: Downloading JSON metadata ... [info] 5dcda6e18d27df210051d2a7: Downloading subtitles: en [info] 5dcda6e18d27df210051d2a7: Downloading 1 format(s): hls-2481 [info] Writing video subtitles to: Stalked...
I'm not likely to take over the whole branch, but in case anyone else ends up here in the future, I ended up downloading with `--write-info-json` and then: ``` $...
The current formula is just one line: https://github.com/arantius/persona-fusion-calculator/blob/gh-pages/app.js#L92 If you want this fixed, the best first step would be gather more data points (what do various personae at various levels...
Right-click context menu works, but toolbar dropdown menu does not? (Firefox 64.0.1 (64-bit), Linux)
Confirmed only for the first time you click the a button in the popup. Re open it and click again and it works. (And I think it works every time,...