question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

🌸 Cherry-pick request for #35639 into #2107302322000 & 2108052321000

See original GitHub issue

Issue (P0 Bug)

#35639

Pull Request(s)

#35639

Release Tracker(s)

#35504 #35622

Channels

Stable

Formats

Stories

Justification

Web stories do not load on iPad Safari and the following error is thrown: Screen Shot 2021-08-12 at 11 17 58 AM The same error is thrown on iOS and dekstop however the experience does not break. This CP will also fix the error being thrown.

Verification Steps

  1. Open any story on iPad Safari.
  2. Verify that the story loads.

Summary

A null check is added to the orientation property on the screen object. Accessing this property is the root cause of the bug.

Impact

All users viewing a web story on iPad Safari were effected.

Action Items

Safari on iPads is different than on iPhones. Because of this we recommend manual iPad testing to be part of the weekly testing routine.

Notifications

/cc @ampproject/release-on-duty @ampproject/wg-approvers @ampproject/cherry-pick-approvers

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
processprocesscommented, Aug 13, 2021

The fix is verified in prod and beta. The Illegal invocation error is still throwing in Chrome desktop but it doesn’t appear to be breaking the experience. Screen Shot 2021-08-13 at 10 27 44 AM I’ll look into fixing that in a separate PR. Filed #35659 for tracking

1reaction
processprocesscommented, Aug 12, 2021

Yes! Thank you for confirming Caleb.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cherry-pick changes - GitLab Docs
Cherry-pick all changes from a merge request · On the top bar, select Main menu > Projects and find your project. · On...
Read more >
Git Cherry Pick | Atlassian Git Tutorial
git cherry-pick is a powerful command that enables arbitrary Git commits to be picked by reference and appended to the current working HEAD....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found