Skip to content

Instantly share code, notes, and snippets.

View miketaylr's full-sized avatar
🌭

Mike Taylor miketaylr

🌭
View GitHub Profile
Index: Source/JavaScriptCore/runtime/LiteralParser.cpp
===================================================================
--- Source/JavaScriptCore/runtime/LiteralParser.cpp (revision 221395)
+++ Source/JavaScriptCore/runtime/LiteralParser.cpp (working copy)
@@ -272,7 +272,7 @@ template <ParserMode mode> TokenType Lit
if (*m_ptr == ';') {
token.type = TokSemi;
token.end = ++m_ptr;
- return TokAssign;
+ return TokSemi;
🐓 cd /Users/miket/dev/compat/webcompat.com; sleep 2; intern
The reporter ID "console" is deprecated. Use "Console" instead.
PASS: firefox on any platform - Reporting (non-auth) - Submit buttons are disabled (342ms)
PASS: firefox on any platform - Reporting (non-auth) - Wyciwyg bug workaround (200ms)
PASS: firefox on any platform - Reporting (non-auth) - Report button shows via GitHub (5196ms)
PASS: firefox on any platform - Reporting (non-auth) - URL validation (1564ms)
PASS: firefox on any platform - Reporting (non-auth) - Problem type validation (776ms)
PASS: firefox on any platform - Reporting (non-auth) - (optional) browser + os validation (691ms)
PASS: firefox on any platform - Reporting (non-auth) - Image extension validation (610ms)
PASS: firefox on any platform - Reporting (non-auth) - Submits are enabled (834ms)
function a(e, n, t) {
var o = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : {}
, a = e.url
, i = e.type
, u = o.tryForceFlash
, d = !!o.reuseElements
, l = d ? C : M
, f = s.default.parse(a);
f.protocol && f.hostname || b.trace("Received relative URL as audio source! Might not work as expected: ", a);
var m = d ? T : new Audio;
window.jwplayer = function(e) {
function t(n) {
if (i[n]) return i[n].exports;
var r = i[n] = {
exports: {},
id: n,
loaded: !1
};
return e[n].call(r.exports, r, r.exports, t), r.loaded = !0, r.exports
}
USE_COUNTER2_DEPRECATED_AppCache_PAGE
<https://telemetry.mozilla.org/new-pipeline/evo.html#!aggregates=bucket-0!bucket-1!bucket-2&cumulative=0&end_date=null&keys=&max_channel_version=release%252F52&measure=USE_COUNTER2_DEPRECATED_AppCache_PAGE&min_channel_version=release%252F44&processType=*&product=Firefox&sanitize=1&sort_keys=submissions&start_date=null&trim=1&use_submission_date=0>
Data is a bit hard to read, but it looks like usage is generally ~3%. IIRC, think this just measures if a manifest file was seen.
The number goes up quite a bit for Firefox Mobile (Android), FWIW.
We also have use counters for AppCache JS API methods and getters:
http://searchfox.org/mozilla-central/source/dom/base/UseCounters.conf#52
! function(e) {
function n(e) {
var n = [];
for (var i in e) e.hasOwnProperty(i) && n.push(i);
return n
}
function i() {
var e = window.document.getElementsByTagName(h);
for (var n in e)

Keybase proof

I hereby claim:

  • I am miketaylr on github.
  • I am miketaylr (https://keybase.io/miketaylr) on keybase.
  • I have a public key whose fingerprint is FD7D F817 F230 2E8F C1FA 1572 AA1E 0077 9EA4 B0AF

To claim this, I am signing this object:

<useragentswitcher><useragent description="Firefox OS (1.1.1)" useragent="Mozilla/5.0 (Mobile; rv:18.1) Gecko/18.1 Firefox/18.1" appcodename="Mozilla" appname="Netscape" appversion="5.0 ()" platform="" vendor="" vendorsub=""/><useragent description="Firefox OS (1.2)" useragent="Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0" appcodename="Mozilla" appname="Netscape" appversion="5.0 ()" platform="" vendor="" vendorsub=""/><useragent description="Firefox OS (1.2)" useragent="Mozilla/5.0 (Mobile; rv:28.0) Gecko/28.0 Firefox/28.0" appcodename="Mozilla" appname="Netscape" appversion="5.0 ()" platform="" vendor="" vendorsub=""/><useragent description="Firefox OS (ZTEOPEN)" useragent="Mozilla/5.0 (Mobile; ZTEOPEN; rv:18.1) Gecko/18.1 Firefox/18.1" appcodename="Mozilla" appname="Netscape" appversion="5.0" platform="" vendor="" vendorsub=""/><useragent description="Firefox OS (Fireweb)" useragent="Mozilla/5.0 (Mobile; LG-D300; rv:18.1) Gecko/18.1 Firefox/18.1" appcodename="Mozilla" appname="Netscape" appversion=
(function() {
var a = new Error("HALT"),
b = {},
c = {},
d = new Error("stack was non-empty at program completion");
var e = Function.prototype.bind,
f = Function.prototype.call,
g = f.bind(e, f),
h = g(Function.prototype.apply),
i = g(Array.prototype.push),
.lol-flexbox {
display: flex;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
}