Sam Thorogood

Results 44 comments of Sam Thorogood

@petele is the owner of this.

To chime in as TL, I think something like "Not available" makes sense here, perhaps with a local build-time warning that something is missing (so if we end up with...

Thank you for the detailed bug report. Can you please include [this version of `pwacompat.js`](https://github.com/GoogleChromeLabs/pwacompat/blob/7e0dd8322704f73c69d28b8df5d86928f4f14594/pwacompat.min.js) in your application and let me know if the problems are fixed?

I'm sorry, I don't understand what you're trying to do. If you are trying to customize the top bar of an installed PWA on iOS, then—you don't have that much...

👍 The `undoer` code lives here canonically: https://github.com/samthor/undoer It's got challenges on e.g. Edge but you don't care about that. :)

FYI I wrote a disgusting polyfill for `.getSelection` inside a Shadow Root here: https://github.com/GoogleChromeLabs/shadow-selection-polyfill

It stopped working on the latest Safari; I wouldn't recommend trying to bring it back, sorry.

Setting `fatal=true` will cause the polyfill to fail since it's not supported. I could probably add support, it wouldn't be too hard.

The PR #29 doesn't cover all cases, i.e., it will not detect invalid UTF-8: - it only covers one failure mode of UTF-8 encoding (it doesn't check continuation bytes) for...