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
// based on methodology developed by PPK: | |
// http://www.quirksmode.org/blog/archives/2009/08/when_to_read_ou.html | |
(function($){ | |
$.benchmark = function(times, result_selector, func){ | |
var startTime = new Date().getTime(); | |
while (times != 0){ | |
func(); | |
times--; | |
} |
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
From 817df78e5995b12908f5b758ccb68ea14f1f63b8 Mon Sep 17 00:00:00 2001 | |
From: Mike Taylor <miketaylr@gmail.com> | |
Date: Thu, 26 Apr 2018 22:58:14 -0500 | |
Subject: [PATCH] Issue #2288. Add "0.json" fixture. | |
--- | |
.gitignore | 1 - | |
tests/fixtures/api/issues/0.json | 74 ++++++++++++++++++++++++++++++++++++++++ | |
2 files changed, 74 insertions(+), 1 deletion(-) | |
create mode 100644 tests/fixtures/api/issues/0.json |
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
mitaylor at omg-5 in ~/dev/webcompat-metrics on issues/28 | |
🐓 npm run test | |
> webcompat-metrics@1.0.0 test /Users/mitaylor/dev/webcompat-metrics | |
> npm run lint && npm run test:jest | |
> webcompat-metrics@1.0.0 lint /Users/mitaylor/dev/webcompat-metrics | |
> npm run lint:JS && npm run lint:CSS |
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 cssPropToIDL(prop, lowercaseFlag = false) { | |
let output = ""; | |
let uppercaseNext; | |
if (lowercaseFlag) { | |
prop = prop.slice(1); | |
} | |
for (let char of prop) { | |
if (char === String.fromCodePoint("0x002D")) { |
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
[ | |
{ | |
"K": 0, | |
"id": null, | |
"lang": "und", | |
"contentType": "video", | |
"b": false, | |
"f": false, | |
"c": "rotated_cubemap", | |
"s": [ |
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
Process: Python [6503] | |
Path: /usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python | |
Identifier: Python | |
Version: 2.7.14 (2.7.14) | |
Code Type: X86-64 (Native) | |
Parent Process: Python [6479] | |
Responsible: Python [6503] | |
User ID: 501 | |
Date/Time: 2017-09-29 17:17:26.356 -0500 |
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
<div class="parsys pagestage section hidden-mobile"> | |
<style type="text/css"> | |
@media screen and (min-width: 960px) { | |
.inline-page-stage-contentwwwupccablecomchenteasersdefaultjcrcontentpromofullwidth1pagestage { | |
} | |
} | |
@media screen and (min-width: 640px) and (max-width: 959px) { | |
.inline-page-stage-contentwwwupccablecomchenteasersdefaultjcrcontentpromofullwidth1pagestage { | |
background: #FFFFFF; | |
background: -webkit-linear-gradient(left, #FFFFFF 0%, #FFFFFF 100%); |
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
[{"url":"https://api.github.com/repos/webcompat/webcompat-tests/milestones/2","html_url":"https://github.com/webcompat/webcompat-tests/milestone/2","labels_url":"https://api.github.com/repos/webcompat/webcompat-tests/milestones/2/labels","id":2744173,"number":2,"title":"needsdiagnosis","description":"Issues in the process of being diagnosed","creator":{"login":"karlcow","id":505230,"avatar_url":"https://avatars0.githubusercontent.com/u/505230?v=4","gravatar_id":"","url":"https://api.github.com/users/karlcow","html_url":"https://github.com/karlcow","followers_url":"https://api.github.com/users/karlcow/followers","following_url":"https://api.github.com/users/karlcow/following{/other_user}","gists_url":"https://api.github.com/users/karlcow/gists{/gist_id}","starred_url":"https://api.github.com/users/karlcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlcow/subscriptions","organizations_url":"https://api.github.com/users/karlcow/orgs","repos_url":"https://api.github.com/users/karlc |
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
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; |
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
🐓 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) |