Instantly share code, notes, and snippets.

View week-1.md
Bug Cause Outcome
bz-1486494 no idea - debugging is messy, unable to find the right event handler to debug further… :( Pinged tom.
bz-1490459 fullscreen API seems to focus the on macOS, but stays at the on Windows opened bz-1502093
https://webcompat.com/issues/20347 moved to bugzilla 1502233 Google chrome ignore the padding on select elements. It seems to be a regression for the twitter case.
https://webcompat.com/issues/20344 duplicate of bugzilla 1489914 The current UA override is bogus and we get a desktop site instead of a mobile site.
https://webcompat.com/issues/20338 not sure what to do here Flash related issue.
https://webcompat.com/issues/20312 worksforme Focus + blocking cookies break the CSS but that's expected.
https://webcompat.com/issues/20306 needscontact server side sniffing. It doesn't send the mobile version.
https://webcompat.com/issues/20298 duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1498257 or https://w
View gist:a22197e331c4ea6a30c73f066b817fda
.fancyselect {
background: url(_gfx/arrow04.gif) right 4px no-repeat #fff;
color: #0098cd;
padding-right: 12px;
-webkit-appearance: none;
-moz-appearance: menulist-textfield;
-ms-appearance: none;
border: 0
}
View gist:e618f4db4ecd83b775131d73b3bf1d76
https://s3-us-west-2.amazonaws.com/support-portal-assets/static/js/main.js
.quick-actions-dropdown{-webkit-appearance:menulist-button;-moz-appearance:menulist-textfield;appearance:menulist-button}
(repeated in 3 different places)
View gist:6a443e2f4113b3ee26bf8e772ae44d4d
https://owners.hyundaiusa.com/etc/designs/ownercommon/us/clientlib-hyundai-all.min.ACSHASH38387dacd0dd8fb621fa3d02d70944c1.css
.interior-image-wrapper .slick-arrow {
-webkit-appearance: menulist-textfield;
background: url(clientlib-hyundai-site/css/clientlib-hyundai-site/images/arrows-sprite.png) #fff !important;
background-repeat: no-repeat !important;
background-size: auto !important;
background-position: 0 0;
padding-top: 3px;
padding-left: 0;
View gist:3eb6c5804b9ba7bce4cdcfd7757810f9
(function(u){var m="embeddedServiceHelpButton";var x=[".salesforce.com",".force.com",".sfdc.net"];var ad="esw_storage_iframe";var V="4.0";var F=100;var y="__snapinsLoginCallback";var t="__snapinsLogoutCallback";var Z="snapins_invite";function j(){var ae=false;this.settings={appendHelpButton:true,displayHelpButton:true,isExternalPage:true,devMode:false,targetElement:document.body,elementForOnlineDisplay:undefined,elementForOfflineDisplay:undefined,defaultMinimizedText:"",disabledMinimizedText:"",loadingText:"Loading",enabledFeatures:[],entryFeature:"FieldService",storageDomain:document.domain,language:undefined,linkAction:{feature:undefined,name:undefined,valid:false},linkActionParameters:{}};this.featureScripts={};this.eventHandlers={};this.messageHandlers={};this.storageKeys=["ESW_BODY_SCROLL_POSITION","ESW_IS_MINIMIZED","ESW_MINIMIZED_TEXT"];this.defaultSettings={};this.eswFrame=undefined;this.availableFeatures=["script","session"];this.pendingMessages={};this.iframeScriptsToLoad=[];this.domInitInProgress=f
View pixel.js
/*! 2018-06-28 */
!function (a) {
function b(d) {
if (c[d]) return c[d].exports;
var e = c[d] = {
exports: {
},
id: d,
loaded: !1
};
View one.py
#!/usr/bin/python3
import webbrowser
# starting from http://www.pythonchallenge.com/pc/def/0.html
new_path = 2 ** 38
new_url = "http://www.pythonchallenge.com/pc/def/{}.html".format(new_path)
webbrowser.open(new_url)
# takes me to http://www.pythonchallenge.com/pc/def/map.html
View 0001-Issue-2288.-Add-0.json-fixture.patch
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
View gist:8827e0b916ade6883adf71a9a7ec2c2b
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