This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function retryFailedTests(retries, millisecondsBetweenRetries, setTimeout) { | |
const originalSpecConstructor = jasmine.Spec; | |
jasmine.Spec = function(attrs) { | |
const spec = new originalSpecConstructor(attrs); | |
const originalTestFn = spec.queueableFn.fn; | |
// Handles both styles of async testing (Promises and done()) and returns a | |
// Promise. Wraps synchronous tests in a Promise, too. | |
const runOriginalTest = () => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Find all contributors to date. These users will get increased odds of winning | |
# in the raffle. | |
# These repos will be checked to list all contributors. | |
REPOS="shaka-player shaka-packager shaka-streamer shaka-player-embedded" | |
API_URL="https://api.github.com/repos/" | |
# 4 pages of data covers all PRs to date in all repos. Some pages will be empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Instructions: | |
// | |
// 1. Tune in to Demuxed 2020 | |
// 2. Open your JS console | |
// 3. Move to the context of the iframe called "conf" | |
// 4. Check that document.querySelector('video') returns something, | |
// and if not, go back to step 3 | |
// 5. Copy and paste all this mess into your JS console | |
// 6. You now have playback rate and skip controls | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="mse_bug.js"></script> |