- Windows 10
- Windows 8
- Windows 7
- Windows Vista (32-bit Firefox only)
- Windows Server 2003 SP1 (32-bit Firefox only)
- Windows XP SP2 (32-bit Firefox only)
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
#!/usr/bin/env python3 | |
# usage: backports.py 117 | |
import os | |
import sys | |
version = sys.argv[1] | |
# Create a list of commits not merged directly in the version +1 branch |
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
<?php | |
$results = []; | |
foreach (range(1, 100) as $x) { | |
$rule = fn($y) => is_int($x / $y); | |
$results[] = match(true) { | |
$rule(15) => 'fizzbuzz', | |
$rule(3) => 'fizz', | |
$rule(5) => 'buzz', |
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
<?php | |
declare(strict_types=1); | |
function getJson(string $url): array | |
{ | |
$data = file_get_contents($url); | |
return json_decode($data, true, 512, JSON_THROW_ON_ERROR); | |
} | |
$bugs = [ |
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
<?php | |
/* | |
Proof of concept. | |
PHP script which queries BuildHub for a date (https://buildhub.moz.tools) | |
and returns a json array with the Firefox Nightly build IDs for this day | |
as keys and the mercurial revision they were built from as values. | |
Documention and other scripts on querying buildhub: | |
- https://buildhub2.readthedocs.io/en/latest/user.html#example-is-this-an-official-build-id | |
- https://github.com/mozilla/crash-stop-addon/blob/master/crashstop/buildhub.py#L183 |
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
We are happy to announce that the Storage API feature is ready for testing in Firefox Nightly Desktop! | |
Storage API | |
The Storage API allows Web sites to find out how much space users can use (quota), how much they are already using (usage) and can also tell Firefox to store this data persistently and per origin. This feature is available only in secure contexts (HTTPS). You can also use Storage APIs via Web Workers. | |
There are plenty of APIs that can be used for storage, e.g., localStorage, IndexedDB. The data stored for a Web site managed by Storage API — which is defined by the Storage Standard specification — includes: | |
IndexedDB databases | |
Cache API data |
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
Exciting! Firefox is now providing simple and chic interfaces for representing, setting and picking a time or date on Nightly. Various content attributes defined in the HTML standard, such as @step, @min, and @max, are implemented for finer-grained control over data values. | |
Take a closer look at this feature, and come join us in making it better with better browser compatibility! | |
What’s Currently Supported | |
<input type=time> | |
The default format is shown as below. | |
Here is how it looks when you are setting a value for a time. The value provided must be in the format “hh:mm[:ss[.mmm]]”, according to the spec. |
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
<?php | |
function getBuilId(string $raw_build_id): array { | |
return [ | |
'year' => substr($raw_build_id, 0, 4), | |
'month' => substr($raw_build_id, 4, 2), | |
'day' => substr($raw_build_id, 6, 2), | |
'hour' => substr($raw_build_id, 8, 2), | |
'minute' => substr($raw_build_id, 10, 2), | |
'second' => substr($raw_build_id, 12, 2), |
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
#! /usr/bin/env bash | |
# This script uses byzanz-record to generate an animated Gif for your interactions | |
# with a window | |
# usage: | |
# Record a window for 3 seconds and save to /home/foo/yo.gif | |
# byzanz-record-window 3 /home/foo/yo.gif | |
# | |
# without parameters, it defaults to 10s and a target file in /tmp/screencast.gif | |
# |
NewerOlder