-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PWAs do not launch after upgrading to V1.35.104 #21302
Comments
Same issue here, at first I thought it was with. my computer alone and created an issue directly from the brave crashes page with the crash ID. Guess I'll just close that issue and mention this issue for more clarification. |
Appreciate the report/information 👍 Quickly went through the following and looks like PWA regressed across the board on
|
Seems the root cause is this commit: Need to understand what went wrong here. Callstack looks like this:
|
Will require |
Verified with
Case 1 - confirming shortcut does not crash on launch - PASSEDVerified steps from #21302 (comment)
Case 2 - confirmed able to login to Twitter on shortcut - PASSEDVerified steps from #21302 (comment)
Additional tests from brave/brave-core#12418 (comment): Test Case 3 - uninstalling PWA - PASSED
Test Case 4 - "Open as window" not selected - PASSED w/ note
Note, step 3 seems to work differently for me than some others. However, step 3 is also consistent with how this works on Chrome for me. Could be specific to some configuration on my machine. Test Case 5 - Upgrade - PASSED
Verified with
Verified tests from brave/brave-core#12418 (comment): Test Case 1 - "Open as window" selected - PASSED
Test Case 2- "Open as window" not selected - PASSED
Test Case 3 - Upgrade Case - PASSED
|
Verified
|
Brave | 1.36.108 Chromium: 99.0.4844.51 (Official Build) (x86_64) |
---|---|
Revision | d537ec02474b5afe23684e7963d538896c63ac77-refs/branch-heads/4844@{#875} |
OS | macOS Version 11.6.3 (Build 20G415) |
Case 1 - confirming shortcut does not crash on launch - PASSED
Verified steps from #21302 (comment)
- Visited
brave.com
- Opened hamburger menu
- Selected
More Tools
>Create Shortcut
- Select
Open as window
>Create
- Shortcut opens and does not crash
- Close shortcut window, leave browser open
- Open from created shortcut under
/Users/stephendonner/Applications/Brave Browser Apps
- Shortcut opens and does not crash
- Close browser and shortcut window
- Open from created shortcut under
/Users/stephendonner/Applications/Brave Browser Apps
- Browser and shortcut window open and do not crash
- Close browser
- Put shortcut in dock
- Open shortcut from dock
- Browser and shortcut open and do not crash
Case 2 - confirmed able to login to Twitter on shortcut - PASSED
Verified steps from #21302 (comment)
- Visited
twitter.com)
- Opened the hamburger menu
- Selected
More Tools
>Create Shortcut
- Selected
Open as window
>Create
- Shortcut opens and does not crash
- Confirmed able to log in to Twitter and navigate around
- Closed shortcut window, leave browser open
- Opened from created shortcut under
/Users/stephendonner/Applications/Brave Browser Apps
- Shortcut opens and does not crash
- Confirm able to navigate around twitter in shortcut window
- Close browser and shortcut window
- Open from created shortcut under
/Users/stephendonner/Applications/Brave Browser Apps
- Browser and shortcut window open and do not crash
- Confirm able to navigate around twitter in shortcut window
- Close browser
- Put shortcut in dock
- Open shortcut from dock
- Browser and shortcut open and do not crash
- Confirm able to navigate around twitter in shortcut window
Additional tests from brave/brave-core#12418 (comment):
Test Case 3 - uninstalling PWA - PASSED
visited https://www.cnn.com
- created a PWA via
Hamburger Menu
->More Tools
->Create Shortcut...
(Open as window
selected) - ensured that CNN is launched in a separate window once the PWA is created
- ensured that you can uninstall the PWA via the
Hamburger Menu
(need to be within the PWA window)
Test Case 4 - "Open as window" not selected - PASSED w/ note
- visit
https://www.cnn.com
- create a PWA via
Hamburger Menu
->More Tools
->Create Shortcut...
(Open as window
not selected) - ensured that clicking on the PWA shortcut opens a
cnn.com
tab within a new window - ensured that you can move around the PWA shortcut to different locations and it still works as expected
Test Case 5 - Upgrade - PASSED
- Install
1.35.103
and create PWA (withOpen as window
selected). Confirm PWA works as expected. - Update to
1.35.104
, see PWA is broken - Update to
1.36.x
RC - click on the previously created PWA shortcut and a PWA window should launch with site created in step 1.
Verified with
Brave | 1.36.108 Chromium: 99.0.4844.51 (Official Build) (arm64) |
---|---|
Revision | d537ec02474b5afe23684e7963d538896c63ac77-refs/branch-heads/4844@{#875} |
OS | macOS Version 11.6.4 (Build 20G417) |
Case 1 - confirming shortcut does not crash on launch - PASSED
Verified steps from #21302 (comment)
- Visited
brave.com
- Opened hamburger menu
- Selected
More Tools
>Create Shortcut
- Select
Open as window
>Create
- Shortcut opens and does not crash
- Close shortcut window, leave browser open
- Open from created shortcut under
/Users/stephendonner/Applications/Brave Browser Apps
- Shortcut opens and does not crash
- Close browser and shortcut window
- Open from created shortcut under
/Users/stephendonner/Applications/Brave Browser Apps
- Browser and shortcut window open and do not crash
- Close browser
- Put shortcut in dock
- Open shortcut from dock
- Browser and shortcut open and do not crash
Case 2 - confirmed able to login to Twitter on shortcut - PASSED
Verified steps from #21302 (comment)
- Visited
twitter.com)
- Opened the hamburger menu
- Selected
More Tools
>Create Shortcut
- Selected
Open as window
>Create
- Shortcut opens and does not crash
- Confirmed able to log in to Twitter and navigate around
- Closed shortcut window, leave browser open
- Opened from created shortcut under
/Users/stephendonner/Applications/Brave Browser Apps
- Shortcut opens and does not crash
- Confirm able to navigate around twitter in shortcut window
- Close browser and shortcut window
- Open from created shortcut under
/Users/stephendonner/Applications/Brave Browser Apps
- Browser and shortcut window open and do not crash
- Confirm able to navigate around twitter in shortcut window
- Close browser
- Put shortcut in dock
- Open shortcut from dock
- Browser and shortcut open and do not crash
- Confirm able to navigate around twitter in shortcut window
Additional tests from brave/brave-core#12418 (comment):
Test Case 3 - uninstalling PWA - PASSED
visited https://www.cnn.com
- created a PWA via
Hamburger Menu
->More Tools
->Create Shortcut...
(Open as window
selected) - ensured that CNN is launched in a separate window once the PWA is created
- ensured that you can uninstall the PWA via the
Hamburger Menu
(need to be within the PWA window)
Test Case 4 - "Open as window" not selected - PASSED w/ note
- visit
https://www.cnn.com
- create a PWA via
Hamburger Menu
->More Tools
->Create Shortcut...
(Open as window
not selected) - ensured that clicking on the PWA shortcut opens a
cnn.com
tab within a new window - ensured that you can move around the PWA shortcut to different locations and it still works as expected
Test Case 5 - Upgrade - PASSED
- Install
1.35.103
and create PWA (withOpen as window
selected). Confirm PWA works as expected. - Update to
1.35.104
, see PWA is broken - Update to
1.36.x
RC - click on the previously created PWA shortcut and a PWA window should launch with site created in step 1.
Verification PASSED on
Verification PASSED on
Verification PASSED on
Verification PASSED on
STR/Cases used for the above platforms/macOS versions:
|
This issue is closed but it seems like there's still a lot of testing going on. Perhaps I just don't understand the process? I'd love to know when it might actually be released to the general public. |
You can download a pre-release build that works here: https://github.com/brave/brave-browser/releases/tag/v1.36.109 I have no idea when this will land for everyone, but if you want it fixed earlier, use that link. |
You can find the tentative release dates via https://github.com/brave/brave-browser/wiki/Brave-Release-Schedule. |
Test plan
More tools
>Create shortcut...
Open in new window
Added several other cases via brave/brave-core#12418 (comment).
Expected result
PWA should work; you can use it (sign into Twitter, etc).
Actual result
Twitter PWA will crash immediately
Description
Here is an associated community post: https://community.brave.com/t/updating-to-1-35-104-breaks-all-pwas/346680
This is from the Mac Console when opening the install dialog, installing, and trying to open the installed app:
Originally posted by @craigmdennis in #7205 (comment)
The text was updated successfully, but these errors were encountered: