profile
viewpoint
Mathias Bynens mathiasbynens @Google https://mathiasbynens.be/ Web standards fanatic. JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, macOS.

domchristie/turndown 5370

🛏 An HTML to Markdown converter written in JavaScript

kangax/html-minifier 4361

Javascript-based HTML compressor/minifier (with Node.js support)

addyosmani/puppeteer-webperf 1358

Automating Web Performance testing with Puppeteer 🎪

GoogleChromeLabs/jsvu 1169

JavaScript (engine) Version Updater

GoogleChromeLabs/jsbi 648

JSBI is a pure-JavaScript implementation of the official ECMAScript BigInt proposal.

bramus/mixed-content-scan 510

Scan your HTTPS-enabled website for Mixed Content

googlesamples/web-fundamentals 294

Google Web Fundamentals

konklone/shaaaaaaaaaaaaa 208

Check if a website has weak SHA-1 TLS certificates.

gf3/WAT 102

LOLWAT?

GoogleChromeLabs/json-parse-benchmark 83

Benchmark comparing JSON.parse vs. equivalent JavaScript literals across JavaScript engines.

issue commenttc39/ecma262

Editorial: don't overload [[Get]] / [[Set]] as an internal method name and internal slot name

Yeah, we should definitely at least disambiguate. I like [[Getter]] and [[Setter]].

I'd like to make them link, too (see https://github.com/tc39/ecma262/issues/2047 / https://github.com/tc39/ecmarkup/issues/116), just haven't gotten to it. I like the idea of having a table listing all of the overloads as the place to link to, though of course it would have to call out that host exotic objects can have their own definitions which would not be listed.

marjakh

comment created time in 30 minutes

startedmathiasbynens/dotfiles

started time in an hour

issue commentw3c/webdriver

Returning lone surrogates fails

So no one fixed it I guess.

gsnedders

comment created time in an hour

fork varcyan/base64

A robust base64 encoder/decoder that is fully compatible with `atob()` and btoa()`, written in JavaScript.

https://mths.be/base64

fork in 3 hours

fork andrewsheelan/small

Smallest possible syntactically valid files of different types

https://mathiasbynens.be/notes/minimal-html

fork in 3 hours

fork Mechachleopteryx/dotfiles

:wrench: .files, including ~/.macos — sensible hacker defaults for macOS

https://mths.be/dotfiles

fork in 3 hours

startedmathiasbynens/dotfiles

started time in 4 hours

issue commentpuppeteer/puppeteer

Wait for all xhr been resolved

Just some hints for future folks who will visite this page:

For initial loads, you can use:

await page.goto('http://localhost:4000/trailflow', {
  waitUntil: ['domcontentloaded', 'networkidle0']
})
b-ponomarenko

comment created time in 4 hours

push eventmathiasbynens/covid-19-vaccinations-germany

Mathias Bynens

commit sha 8d5b11f3c617e62cbc27dd65f85dd6cd1cf5d0e1

Import latest data @ 2021-01-15

view details

push time in 5 hours

issue openedtc39/ecma262

Editorial: don't overload [[Get]] / [[Set]] as an internal method name and internal slot name

[[Get]] is used as a internal method name and also an internal slot name in property descriptors.

This type of "overloading" is unfortunate: When searching for the [[Get]] method of something specific, it's unnecessary churn to go through the occurrences of [[Get]] as an internal slot name.

Suggestion 1: Rename [[Get]] and [[Set]] in property descriptors to [[Getter]] and [[Setter]].

Suggestion 2: Add a disambiguation table of things which have a [[Get]] internal method (+ links to them) and make [[Get]] everywhere link to it. (Currently [[Get]] doesn't link to anything.)

created time in 5 hours

startedmathiasbynens/esrever

started time in 5 hours

push eventtc39/agendas

yulia

commit sha ec8686697182bd4f8ee0172c6568b27dd1b8e3e4

Add lazy module initialization

view details

push time in 5 hours

startedmathiasbynens/small

started time in 5 hours

issue commentpuppeteer/puppeteer

ExecutablePath option ignored

If however, one modifies the BrowserRunner directly to hardcode the executablePath as shown above, all works as expected. So it seems to be an issue with how the option is being passed to Puppeteer, or how it's being handled.

class BrowserRunner {
    constructor(executablePath, processArguments, tempDirectory) {
        this.proc = null;
        this.connection = null;
        this._closed = true;
        this._listeners = [];
        this._executablePath = executablePath;
        this._processArguments = processArguments;
        this._tempDirectory = tempDirectory;
    }
    start(options) {
        console.log('>>>>', this._executablePath);
        this._executablePath = '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome';

This prints >>>> /usr/bin/chromium-browser and then proceeds to launch Google Chrome as expected.

You saved my day :)

nc

comment created time in 6 hours

startedmathiasbynens/small

started time in 6 hours

startedmathiasbynens/dotfiles

started time in 8 hours

fork tonyjie/dotfiles

:wrench: .files, including ~/.macos — sensible hacker defaults for macOS

https://mths.be/dotfiles

fork in 9 hours

push eventwhatwg/compat

Anne van Kesteren

commit sha dde80c68a43f866301328b09cf88656c126db542

Meta: default branch rename Helps with https://github.com/whatwg/meta/issues/174.

view details

push time in 10 hours

delete branch whatwg/compat

delete branch : annevk/main

delete time in 10 hours

PR merged whatwg/compat

Meta: default branch rename do not merge yet

Helps with https://github.com/whatwg/meta/issues/174.

+7 -9

0 comment

4 changed files

annevk

pr closed time in 10 hours

push eventwhatwg/compat

Anne van Kesteren

commit sha f2899c204ecf6ba347eaf10998be17234febcf8d

Meta: default branch rename Helps with https://github.com/whatwg/meta/issues/174.

view details

push time in 10 hours

delete branch whatwg/compat

delete branch : master

delete time in 10 hours

create barnchwhatwg/compat

branch : main

created branch time in 10 hours

pull request commenttc39/ecma262

Normative: add RegExp Match Indices

NOTE: I still need to update the specification text based on the changes in https://github.com/tc39/proposal-regexp-match-indices/pull/49

rbuckton

comment created time in 10 hours

push eventtc39/agendas

HE Shi-Jun

commit sha 05e244bcc63c18a9eeff13485fbd184ce34870c7

Update 01.md Add updates for extensions proposal

view details

push time in 10 hours

push eventtc39/agendas

HE Shi-Jun

commit sha dc387146c69a57eb0765e03aa4a05970482d668c

Update 01.md Add two stage 0 proposals

view details

push time in 10 hours

startedarduino/ArduinoCore-samd

started time in 10 hours

issue commentpuppeteer/puppeteer

Puppeteer support for aarch64

It's 2020 now. Do you have (or a plan to support) Chromium for ARM now? Apple and MS PC start using ARM chipsets now.

ossdev07

comment created time in 11 hours

more