[Webkit-unassigned] [Bug 256706] New: SyntaxError on Back Navigation: Duplicate variable 'schemaOrgTypeDomain

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 12 08:58:39 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=256706

            Bug ID: 256706
           Summary: SyntaxError on Back Navigation: Duplicate variable
                    'schemaOrgTypeDomain
           Product: WebKit
           Version: Safari 16
          Hardware: iPhone / iPad
                OS: iOS 16
            Status: NEW
          Severity: Trivial
          Priority: P2
         Component: History
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: alistair at qcode.co.uk

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230512/921bc99c/attachment.htm>


More information about the webkit-unassigned mailing list