Skip to content

News-site: adjust test steps - #178

Merged
flashdesignory merged 1 commit into
WebKit:mainfrom
flashdesignory:newssite-test
May 24, 2023
Merged

News-site: adjust test steps#178
flashdesignory merged 1 commit into
WebKit:mainfrom
flashdesignory:newssite-test

Conversation

@flashdesignory

Copy link
Copy Markdown
Contributor

To avoid to run into the safari limitation, I adjusted the test:
SecurityError: Attempt to use history.replaceState() more than 100 times per 30 seconds.

Details:
Screenshot 2023-05-23 at 4 18 54 PM

With this change we limit the amount of history api calls.

Snapshot from chrome:

before change:
Screenshot 2023-05-23 at 4 07 46 PM

after change:
Screenshot 2023-05-23 at 4 14 40 PM

@bgrins bgrins left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may want to revisit the exact numbers here but let's go ahead and get this landed

@flashdesignory
flashdesignory merged commit e52236b into WebKit:main May 24, 2023
@flashdesignory
flashdesignory deleted the newssite-test branch May 24, 2023 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants