Bug 264470 - model-element fails to render
Summary: model-element fails to render
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebXR (show other bugs)
Version: WebKit Local Build
Hardware: Mac (Apple Silicon) macOS 14
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-09 00:04 PST by Oscar Harper
Modified: 2023-11-16 00:05 PST (History)
3 users (show)

See Also:


Attachments
Screenshot of the failed load (709.79 KB, image/png)
2023-11-09 00:04 PST, Oscar Harper
no flags Details
my screenshot (847.40 KB, image/png)
2023-11-09 16:01 PST, Alexey Proskuryakov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oscar Harper 2023-11-09 00:04:52 PST
Created attachment 468531 [details]
Screenshot of the failed load

Version: Safari 17.2, Safari Technology Preview 17.4, Webkit (commit a884b8e751c17ed1dd2e61b0cae011581c6110b8 )
URL: http://raw.githack.com/immersive-web/model-element/main/examples/index.html
Device: MacBook Pro M2 Max
OS: macOS 13, macOS 14, macOS 14.2 Beta

Any page with a model element it fails to render it every time and it shows a small cube with a x after waiting for a while. I made sure to have the model feature flag enabled (both just in case).

I tried different websites and even a local html, using a USDZ and GLB file both failed. No errors show in the console of the browser.

Curiously safari inside a simulator it also seems to fail at least on both iOS and VisonOS simulators. 

On a real iPhone the model element does render.
Comment 1 Alexey Proskuryakov 2023-11-09 16:01:00 PST
I'm getting a picture displayed, did the test change since the screenshot was taken? Nice picture though.

Also, could you please confirm whether this worked in prior Safari versions?
Comment 2 Alexey Proskuryakov 2023-11-09 16:01:20 PST
Created attachment 468545 [details]
my screenshot
Comment 3 Oscar Harper 2023-11-09 18:42:58 PST
Thanks for taking a look so quickly, sadly it still happening to me, since it rendered on your side I tried with a full reset of my Mac in case it was something else messing it up but it didn't work.

Not sure if this worked on previous safari version it first happened to me on Safari 17.1, and according to the release notes de <model> element was added on Safari 17.

If I don't enable the model feature flag it at least renders de .png since it ignores the model tag.

Let me know if there anything you need from my side to reproduce it, I'll provide it happily.
Comment 4 Oscar Harper 2023-11-14 21:18:31 PST
Went to Apple Store, it also happened on the m2 Macs there, I didn't have time to test on non m2 Macs.

I also tried on another laptop with linux but the default GTK build didn't include the model-element feature tag.
Comment 5 Alexey Proskuryakov 2023-11-15 15:23:17 PST
Comment on attachment 468545 [details]
my screenshot

My testing was incorrect, because I did not enable the features. I can reproduce as described when they are enabled.
Comment 6 Radar WebKit Bug Importer 2023-11-16 00:05:13 PST
<rdar://problem/118496787>