| Summary: | Support of multiple contexts for JSON+LD content in script element (square brackets) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Karl Dubost <karlcow> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED MOVED | ||
| Severity: | Normal | CC: | ap, mark.lam, webkit-bug-importer, xidorn-webkit, ysuzuki |
| Priority: | P2 | Keywords: | BrowserCompat, CanvaBug, InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://w3c.github.io/json-ld-syntax/#advanced-context-usage | ||
|
Description
Karl Dubost
2023-04-20 20:37:35 PDT
I have moved the radar to Safari, as this is not handled on WebKit side, but Safari side. Karl, is there anywhere the progress of the issue can be tracked publicly? Oh yes I dropped the ball about that. So one side WebKit doesn't suport JSON+LD in the engine. And the other Safari just needs the data as-is, so basically not to evaluate but just load it. Let see if there's an intermediary solution here. Xidorn, Do you know about an app or a current website with a usage for this construct/syntax? Yes, Canva's logout templates page currently uses this syntax: https://www.canva.com/templates/ (If you have Canva account, you need to logout or use private mode to access). I think we are fixing it, so I can't say how long it would keep being like it. Its current content is: ``` [{"@context":"https:\u002F\u002Fschema.org","@type":"WebSite","url":"https:\u002F\u002Fwww.canva.com\u002Ftemplates\u002F","potentialAction":[{"@type":"SearchAction","target":"https:\u002F\u002Fwww.canva.com\u002Ftemplates\u002Ftemplates\u002F?query={search_term_string}","query-input":"required name=search_term_string"}]}] ``` Thanks a lot! Xidorn, this is still being discussed to find the origin of the issue and if it is something to fix on Safari side. Xidorn, this is still being discussed to find the origin of the issue and if it is something to fix on Safari side. |