profile
viewpoint
Chris Peterson cpeterso @Mozilla SF Bay Area https://cpeterso.com/ technical program manager on Mozilla's Firefox team 🦊

cpeterso/clickbait-blocklist 26

🙈 Clickbait Blocklist

cpeterso/clear-flash-cookies 8

🍪 Firefox extension to automaticaly delete Flash cookies after Firefox exits

cpeterso/open-page-in-private-window 4

👻 Firefox extension to open a copy of the current page in a new Private Window

cpeterso/jmodem 3

⇄ JMODEM file transfer protocol

cpeterso/arewee10syet 2

❓ arewee10syet.com website

cpeterso/a-very-brief-intro-to-rust 0

a very quick intro to rust syntax for those new to the language

cpeterso/Always-Right 0

Firefox add-on that always opens new tabs immediately to the right of the active tab.

cpeterso/android-components 0

A collection of Android libraries to build browsers or browser-like applications.

cpeterso/bugsahoy 0

A landing page to make finding relevant bugs easier for new Mozilla contributors.

issue commentwebcompat/web-bugs

www.gap.com - design is broken

I can only reproduce this problem in Firefox on macOS. The animation looks correct in Firefox on Windows 11.

cpeterso

comment created time in a day

issue commentwebcompat/web-bugs

www.dw.com - desktop site instead of mobile site

Does Chrome's UA reports "Android 12" or "Android 12.0"?

As part of its User-Agent Reduction Plan, Google plans to change Chrome's UA string to report "Android 10" regardless of the actual Android OS version (starting in Chrome 107 in September 2022):

https://www.chromium.org/updates/ua-reduction

We can consider capping Firefox's UA at "Android 10".

spacebar808

comment created time in a day

issue commentwebcompat/web-bugs

www.gap.com - design is broken

Chrome screenshot:

Gap_Chrome_screenshot

cpeterso

comment created time in 2 days

issue openedwebcompat/web-bugs

www.gap.com - design is broken

<!-- @browser: Firefox 94.0 --> <!-- @ua_header: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0 --> <!-- @reported_with: unknown -->

URL: https://www.gap.com/

Browser / Version: Firefox 94.0 Operating System: Mac OS X 10.15 Tested Another Browser: Yes Chrome

Problem type: Design is broken Description: Items are misaligned Steps to Reproduce: The Search field's animated placeholder text extends below the field's border line in Firefox but not in Chrome 96 or Safari 15.1. I've tested and can repro in Firefox versions 84, 94, 95, and 96, so this is not a recent Firefox regression. <details> <summary>View the screenshot</summary> Screenshot </details>

<details> <summary>Browser Configuration</summary> <ul> <li>None</li> </ul> </details>

From webcompat.com with ❤️

created time in 2 days

issue commentwebcompat/web-bugs

www.bayren.org - design is broken

I had to take the above screenshot using macOS's screenshot tool. Firefox's built-in screenshot tool produced an image (below) that didn't include the "Frequently Asked Questions" and "Are there rebates for HPWHS?" text:

Screenshot 2021-11-23 at 21-14-25 HPWH Contractors BayREN

cpeterso

comment created time in 7 days

issue openedwebcompat/web-bugs

www.bayren.org - design is broken

<!-- @browser: Firefox 94.0 --> <!-- @ua_header: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0 --> <!-- @reported_with: unknown -->

URL: https://www.bayren.org/hpwh

Browser / Version: Firefox 94.0 Operating System: Mac OS X 10.15 Tested Another Browser: Yes Safari

Problem type: Design is broken Description: Items are overlapped Steps to Reproduce: "Resources" rectangle overlaps "Frequently Asked Questions" and "Are there rebates for HPWHS?" text in Firefox (84, 94, and 96), but not in Chrome 95 or Safari 15.1. <details> <summary>View the screenshot</summary> Screenshot </details>

<details> <summary>Browser Configuration</summary> <ul> <li>None</li> </ul> </details>

From webcompat.com with ❤️

created time in 7 days

issue commentstoically/temporary-containers

Very slow start up with pinned tabs

Here is a Firefox bug report for a similar problem: https://bugzilla.mozilla.org/show_bug.cgi?id=1734947

The Temporary Container extension blocks all network requests until it is fully initialized. A Firefox engineer skimmed the extension's code and saw that the extension's initialization code is blocking all network requests while it is waiting to query open tabs (browser.tabs.query({})) and all other installed extensions (browser.management.getAll()).

Perhaps there is some initialization dependency between pinned tabs, blocked network requests, and session restore? And the deadlock is eventually broken when some long timeout expires?

MoscaDotTo

comment created time in a month

issue commentmozilla/standards-positions

Cryptographically secure random UUIDs

Awesome @cpeterso, I was following along in the bug, lots of excitement. Hope it lead to some worthwhile refactoring?

Yes, I plan to also update the JS code in Firefox and its tests to use crypto.randomUUID and retire Firefox's ancient (2005!) XPCOM API for generating UUIDs.

bcoe

comment created time in a month

issue commentmozilla/standards-positions

Cryptographically secure random UUIDs

The crypto.randomUUID API landed in Firefox bug 1723674 and will ship in Firefox 95 (2021-12-07). 🚀

bcoe

comment created time in a month

issue openedmozilla-mobile/focus-ios

Keyboard doesn’t open and address bar is not focusable

Steps to reproduce:

  1. If Focus build 8217 is running, force quit it in the iOS app switcher.
  2. Launch Focus.
  3. Switch to another app or the iOS Home Screen.
  4. Switch back to Focus or launch Focus again from the app icon.

Result:

The address bar is not focused. The keyboard is not open. The address bar can’t be focused. See the screenshot below.

Actually, you can Focus the address bar if you first tap “<“ button to the left of the address bar.

This bug is similar to fixed bug #2401 (but without the home screen tip text being cut off).

I think this is a new regression in Focus build 8217. I can reproduce this bug 100% of the time in build 8217, but not in the previous build (7955). I am running iOS 15.0.1 on an iPhone 12.

1626ABCC-35D4-468A-962A-7E4900633CAA

created time in a month

issue commentmozilla-mobile/focus-ios

Keyboard doesn’t open and home screen tips are cut off

@cpeterso @SimonBasca I think this is a high priority bug - but we need better steps to reproduce it to.

Is it intermittent? If so ...

This bug is intermittent, but I see it 90% of the time I launch Focus build 7071 after I have previously force-quit the app (swiped up and off the iOS app switcher's carousel).

But, is the real bug here that the keyboard doesn't open? Aren't we supposed to activate the location bar when the app is activated and you are not browsing?

I think there are three different bugs here, though they seem related:

  1. The keyboard no longer opens automatically.
  2. The home screen tips are cut off (until you tap the home screen's background or "Firefox Focus" logo).
  3. You can't focus the address bar (and thus open keyboard) unless you first tap the home screen's background or "Firefox Focus" logo.
cpeterso

comment created time in 2 months

issue openedmozilla-mobile/focus-ios

Keyboard doesn’t open and home screen tips are cut off

When I launch Focus, the keyboard usually doesn’t open and the home screen tips are cut off. See the attached screenshot.

This is a regression in Focus version 9000 build 7071. I don’t see this bug in the previous build 7003.

C3AB0164-C129-45C6-8F86-A5F59A97107F

created time in 2 months

issue commentwebcompat/web-bugs

zoom.us - Unable to join a meeting on Firefox Nighlty v.100

FWIW, Zoom works for me with Firefox on Windows using UA Mozilla/5.0 (Windows NT 10.0; rv:100.0) Gecko/20100101 Firefox/100.0. I can log into Zoom's website and host and join meetings in the browser.

webcompat-bot

comment created time in 3 months

issue commentwebcompat/web-bugs

zoom.us - Unable to join a meeting on Firefox Nighlty v.100

not the one: Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:10.0) Gecko/20100101 Firefox/100.0 showed in this bug report.

Also, the UA should be rv:100.0, not rv:10.0.

webcompat-bot

comment created time in 3 months

issue commentwebcompat/web-bugs

zoom.us - Unable to join a meeting on Firefox Nighlty v.100

The user agent string is

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0

not the one: Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:10.0) Gecko/20100101 Firefox/100.0 showed in this bug report. I hope it's not what the experiment is sending. @cpeterso

I think the tester set the UA themselves using the general.useragent.override pref. The experiment is hardcoded to report Intel Mac OS X 10.15. The experiment server can't override this.

https://searchfox.org/mozilla-central/rev/d3a34b89169363b1f91eb75d4c7bdc397efb2e0c/netwerk/protocol/http/nsHttpHandler.cpp#168-169

webcompat-bot

comment created time in 3 months

issue openedmozilla-mobile/focus-ios

Address bar of search results page shows URL, not your original search terms (like Firefox iOS)

Steps to reproduce

  1. Launch Focus. I am running Focus version 9000 (6899) on an iPhone 12 running iOS 15.0.
  2. Enter some search terms into the address bar and tap the go button.
  3. On the search results page, focus the address bar.

Expected result

Firefox for iOS shows your original search terms with spaces instead of the URL of the search results page.

Actual result

You see the URL of the search results page.

created time in 3 months

issue commentmozilla-mobile/focus-ios

Dismiss url bar focused button (<) is missing the very first time the app is launched in non English locales

Is this only happening for non-English locales?

I see this problem intermittently with en-US locale. About half the time I see the < button, half the time there is empty padding instead of the < button.

isabelrios

comment created time in 3 months

issue openedmozilla-mobile/focus-ios

Neither "Share" button nor hamburger menu respond to taps when keyboard is open.

When I launch Focus, the address bar is focused and the keyboard is open. If I try to click the "Share" or the hamburger menu button, the keyboard is dismissed but the Share button doesn't get click and the hamburger menu doesn't open.

I am running Focus version 9000 (6899) on an iPhone 12 running iOS 15.0.

created time in 3 months

issue openedmozilla-mobile/focus-ios

"About Firefox Focus" screen shows Focus version but not the build number

I am running Focus version 9000 (6899) on an iPhone 12 running iOS 15.0, but the "About Firefox Focus" screen shows version 9000 but not build number 6899. Showing both the version and build number would be helpful for testers.

Showing the iOS version and device model in the About screen would also be handy when filing bugs so I don't have to check for my current iOS version in the iOS Settings > General > About every time.

created time in 3 months

issue openedmozilla-mobile/focus-ios

Address bar is too narrow

This is a new regression in Focus version 9000 (build 6861). This bug was not in Focus version 9000 (build 6827). I running iOS 15.0 on an iPhone 12.

  1. When I launch Focus in portrait orientation, the "Search or enter address" bar is doesn't use the full width of the screen and is right-justified instead of centered. Here is a screenshot:

1199F35D-27BD-4550-991F-AA800A3F77F4

  1. When I browse to any site, the address bar is so narrow that it only shows the first few letters of the site name. Here is a screenshot with https://www.mozilla.org/en-US/ loaded:

12C2D072-D553-49CF-AD53-316A0F4E5415

created time in 3 months

issue commentwebcompat/web-bugs

netflix.com - Videos don't play on Firefox version 100

I take back what I wrote. I think the error I was seeing was caused by trying to play Netflix in a Private Window. I can play Netflix just fine in a non-private window even when spoofing a "Firefox 100" UA.

webcompat-bot

comment created time in 3 months

issue commentmozilla-mobile/firefox-ios

FXIOS-1749 ⁃ Firefox no longer offers to open copied links

@kcome - Thanks for fixing this bug! I'm glad this feature will be returning. It's very handy.

cpeterso

comment created time in 3 months

issue openedmozilla-mobile/focus-ios

Focus app icon in the dock remains the old icon after upgrading to Focus Testflight

I had the pre-Testflight version of Focus installed and the app icon in my iOS home screen's dock. I upgraded to the Focus Testflight version 9000 (6631).

When I'm running Focus Testflight and I swipe up to exit the app, I see the Focus app icon in my dock revert from the new icon to the old icon. The dock must have cached the old icon image.

I dragged the old icon out of the dock and it immediately changed to the new icon and behaved as expected when exiting the app. I dragged the new icon back into the dock and it remained the new icon. So this bug only seems to apply to users who had the pre-Testflight version installed in the dock.

created time in 3 months

issue commentmozilla-mobile/focus-ios

The blocked trackers text overlap with the shortcuts in landscape mode

I see the onboarding text overlapping the “trackers blocked so far” text in portrait mode:

image

I'm using Focus Testflight 9000 (6631) on an iPhone 12 running iOS 15.0.

SimonBasca

comment created time in 3 months

pull request commentmozilla-mobile/firefox-ios

Fix FXIOS-1749: Firefox no longer offers to open copied links

@athomasmoz @nbhasin2 This looks good to me, but this seems to be less a bug and more a feature. Is this something we specifically removed; is it a feature we want?

This PR fixes a regression: issue #8395. Firefox versions <= 32.1 for iOS used to offer to open copied links.

kcome

comment created time in 3 months

issue commentwebcompat/web-bugs

hbogo.bg - Firefox 100 is an unsupported browser

Is hbomax.com video also broken if you spoof Chrome UA version 100?

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.0.0 Safari/537.36

AmeliorateEverything

comment created time in 3 months

issue commentwebcompat/web-bugs

netflix.com - Videos don't play on Firefox version 100

That's an issue with Netflix having errors if you override the user agent, changing it to any value (or at least any FF version, which is what I tested) gives this same error.

I see this, too. So this is not a "Firefox 100" webcompat problem. I expect this behavior is intentional because Netflix is probably trying to block bots or modified clients.

I am testing with Firefox 91 on macOS. If I spoof Firefox version 100 with macOS UA Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0, Netflix video still works. But if I spoof a Windows UA Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0 or a Linux UA Mozilla/5.0 (X11; Linux i686; rv:91.0) Gecko/20100101 Firefox/91.0, even with current version 91 instead of 100, I get the same Netflix error when I try to play a video.

webcompat-bot

comment created time in 3 months

more