WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED MOVED
256706
SyntaxError on Back Navigation: Duplicate variable 'schemaOrgTypeDomain'
https://bugs.webkit.org/show_bug.cgi?id=256706
Summary
SyntaxError on Back Navigation: Duplicate variable 'schemaOrgTypeDomain'
Alistair Chisholm
Reported
2023-05-12 08:58:39 PDT
Steps to reproduce: Connect the iOS device to a computer using a USB cable. Open Safari's developer tools on the computer. On the physical iOS device, open any webpage that contains a link (e.g., "
https://test-schemaorgtypedomain-js-console-error--tlc-www.netlify.app/templates/test
"). Press on the link present on the webpage. Use the back button, or use the swipe gesture to return to the original webpage. Expected Result: The original webpage should load without any errors. Actual Result: A SyntaxError is thrown in the console, indicating a duplicate variable 'schemaOrgTypeDomain'. Console Error: SyntaxError: Can't create duplicate variable 'schemaOrgTypeDomain' Notes: This error only occurs on a physical iOS device and is not reproducible on simulators or emulators. It happens every time the back button is used to return to the original page after clicking a link. The error message suggests that there might be a naming conflict or an issue with the scope of the 'schemaOrgTypeDomain' variable within Safari's JavaScript engine. Impact: The impact of this bug is currently unclear as it depends on how the variable 'schemaOrgTypeDomain' is used in the webpages. It may cause functionality issues or simply be a benign console error. Further investigation is required to understand its impact.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2023-05-14 12:11:30 PDT
Thank you for the report! This is actually a Safari issue, not a WebKit one. Would you be willing to report it to Apple via
https://feedbackassistant.apple.com
? We can import it ourselves, but you'd have better visibility into what's going on with it if you report it directly, and also Apple will have the ability to follow up with you.
Radar WebKit Bug Importer
Comment 2
2023-05-19 08:59:18 PDT
<
rdar://problem/109569094
>
Alexey Proskuryakov
Comment 3
2023-05-19 09:04:46 PDT
Will be tracked by Apple internally as <
rdar://problem/109569094
>.
Miha Valencic
Comment 4
2024-01-12 05:38:00 PST
Any idea if/when this might be fixed? The JS error reporting integration with MS ApplicationInsights is reporting that as a "Script error", which means that this error report is a false positive... Will look into filtering this out in the mean time.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug