Post not yet marked as solved
I've built a PWA that works in standalone mode on iOS. I've run into an issue where if I search for the PWA via the native iOS app search and I click it, it launches in Safari with all the standard browser UI stuffs which I'm trying to avoid :@
Is it just me or do you see this too? Any way to resolve it?
This lack of perfecting PWA integration in iOS is really starting to grind my gears.
Post not yet marked as solved
Currently, if a page csp disallows inline scripts, but the content script attempts implant inline scripts (DOM injected scripts) - the code will fail to execute.
This is an issue with the current Safari extension model. The effect of this is that content scripts that inject dynamic (user-generated) content can not properly interact with the page context.
This is also an issue with other major browsers, however I do not believe Chrome has this restriction. The reason I say "do not believe" is because the documentation indicates that "page csp does not apply to content scripts", but I have not personally tested this.
I'd like to know is this restriction will be present with the new Safari WebExtension model, especially considering that webRequestBlocking is not supported (which would be the only workaround I am aware of).
Post not yet marked as solved
Safari has been working fine since Monday. Here we are 6 days later and Safari on my iPhone wont load any websites without crashing. The app itself doesnt crash, just the tab crash's. Says problem repeatedly happened on this webpage and page title changes to "Webpage Crashed".
I have cleared all cookies and data, rebooted phone several times, perform force reboot/reset.
I'm kind of surprised that I'm the only one reporting this issue.
Post not yet marked as solved
Greetings,
I have questions regarding ITP 2.3 and CNAME subdomains.
Our portal offers interoperability between multiple health care platforms through an iframe. In the current situation, all of the parties that integrate with our platform host their applications via a DNS CNAME record that is owned by our shared customer (let's say: customer.com). This means our applications also use CNAMEs. As we all share the same parent domain, I'd expect Safari to not use ITP as they should be handled like first-party cookies.
ITP is blocking specific subdomains though. This is a simplified version of our current situation:
portal.customer.com CNAME portal.supplierA.com
app1.customer.com CNAME app.supplierA.com ✅
app2.customer.com CNAME app.supplierB.com ❌
In the above situation, application1.customer.com can be loaded in an iframe just fine (one of our own applications). However, when loading application2.customer.com in the iframe, ITP is triggered. It fails to set a session cookie even though it's a subdomain of customer.com. After disabling "Prevent cross-site tracking" it loads fine. It also works fine in Firefox with third-party blocking fully enabled (might be relevant as ITP is inspired by and derived from Mozilla’s anti tracking policy).
I tried to get more information on why the cookie gets blocked, but unfortunately the ITP debug mode doesn't show any logs on why the cookie is blocked.
So I'd love to know if ITP is expected to kick in for the above scenario. And if so, why? And are there any good documents on exactly when Safari handles a cookie as a third-party cookie?
As well, are there any suggestions on what to do when the ITP debug mode doesn't give any informative logs? I don't receive logs in the console nor in the kernel (log stream -info | grep ITPDebug).
Thanks in advance,
Joris
P.S. I understand that implementing the Storage Access API is the offered solution. But we currently choose this approach as we think the Storage Access API is quite disruptive UX-wise as there is no "always allow" option (yet?) and our users go to a lot of different hosts.
Will Safari ever support WebXR?
Post not yet marked as solved
I was invited to the AppleSeed beta yesterday and have installed Safari Version 14.0 (15610.1.20.4, 15610) on Catalina (10.15.6) - unfortunately it seems to love CPU usage.
With only Safari open, with no websites and all extensions disabled, it consistently uses 100% of the CPU on my MacBook Pro. As you start to actually use Safari, this usage climbs.
With just two websites open (https://developer.apple.com/download/ and this page https://developer.apple.com/forums/create/question), Activity Monitor reports that Safari is using 1,196% CPU and the fans are going full speed.
Is anyone else using the Safari beta on Catalina experiencing the same?
I've just reported this via Feedback Assistant.
Post not yet marked as solved
Hey Everyone,
I’m developing PWA for one project and i found that after update (13.6) on every phone i tested (iPhone 7 plus , iphone Max Pro , PWA Application freeze.
Freeze Mode : Open App
Go to home screen wait 5-10 seconds
Reopen app
If i go to home screen second time and then again return to app it starts working , no console errors .
please help .
service worker with / without has no effect .
Post not yet marked as solved
In the video https://developer.apple.com/videos/play/wwdc2020/10670/ this refers to "user activated events" for navigator.credentials.get. Hovever, this term of "user activated events" is very hard to find online, and no example code exists. Is a more complete example of html + js available for the interaction of navigator.credentials.get available that highlights the correct method of using this api in ios?
Post not yet marked as solved
I am automating angular site using protractor and the site but default needs to have ssl and therefore I added self signed certs to the site but when i run automation on safari i am trying to auto-accept the warning saying this is a not trusted site. I found that i can use acceptInsecureCerts: true in protractor to ignore SSL but for some reason Safari is not recognizing this option. A similar behavior is seen on ios devices as well. Is there a way to bypass the ssl certs on Safari?
This is the error i got from safari webdriver for desktop:
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'L502062.local', ip: '127.0.0.1', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.5', java.version: '1.8.0_202'
Driver info: driver.version: unknown
remote stacktrace:
		at Object.checkLegacyResponse (C:\Users\x200866\Documents\emr-vv-client\node_modules\selenium-webdriver\lib\error.js:546:15)
		at parseHttpResponse (C:\Users\x200866\Documents\emr-vv-client\node_modules\selenium-webdriver\lib\http.js:509:13)
		at C:\Users\x200866\Documents\emr-vv-client\node_modules\selenium-webdriver\lib\http.js:441:30
		at processTicksAndRejections (internal/process/task_queues.js:97:5)
[13:00:42] E/launcher - Process exited with error code 100
Post not yet marked as solved
On Big Sur beta 4 my bookmarks have stopped syncing. I can import a backup and that is fine but any changes give me a sync error. I have tried the normal fixes, even did a complete reinstall.
Post not yet marked as solved
Hello,
I am in the process of converting a Web Extension to a Safari Extension. I need to use browser.downloads.onCreated.addListener in my extension but the browser.downloads API is not supported yet.
Do I have another way to do that?
Post not yet marked as solved
It's said that the safari 14 will have HTTP/3 shipped, but I have captured packets using Wireshark find that no QUIC packets were captured. How can I enable HTTP/3 on my Mac? Is it because HTTP/3 will only come alone with Big Sur?
It seems that QUIC is implemented in user space. Why apple wants to integrate HTTP/3 into the OS level.
Post not yet marked as solved
Can't save gifs, it just saves frame of it as a photo.
Post not yet marked as solved
The website (Babylon.js playground) can not open in the latest Safari browser with iOS 14.2 beta. It loads fine in released iOS14 but not in iOS 14.2 beta version.
I can load regular sites just fine, but the "A problem repeatedly occurred.. " page crash error occurs when I try to go to the WebGL rendering site.
The site uses WebGL rendering and I wonder if Safari 14.2 beta browser has issues with that? Anyone experiencing the same?
Post not yet marked as solved
I'm trying to record my screen (canvas) on iPad safari with the new experiential media recorder support.
I got the mediaRecorder object and it triggers the start event but the issue is whenever mediaRecored record blob it will not trigger the stop event.
It is working fine of MAC Safari but on iPad Safari I'm getting this issue.
Is there any ways to get the stop event so mediaRecorder fire ondataavailable method after stop on iPad Safari?
Post not yet marked as solved
There is an example on MDN with Webshare API: mdn.github.io/dom-examples/web-share/
On iOS 14 device (test with iPhone 7 / iOS 14.0 / Safari) it works fine only once. For the second time it throws permission error:
Error: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
Here are all the steps to reproduce: Go to MDN Webshare API - https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share
Find a link to Web share test in "Examples" section and open it
Click "Share MDN!" button
Choose one of suggested options or just close sharing popover
Click on "Share MDN!" button again
See the error
Do you have any suggestions how to fix that? Is it a known bug?
Recently, I came across this doc in developer documentation which explains about converting an existing App Extension to a Web Extension ( https://developer.apple.com/documentation/safariservices/safari_web_extensions/converting_a_safari_app_extension_to_a_safari_web_extension ). This is a welcome feature that will help migrating users from App Extension to Web Extension seamlessly. However, what was not clear from that document was the behavior of Permissions Popup post migration/conversion.
In the new Web Extensions, if a Content Scripts is injected into any web site, there's a permission popup that appears asking the users whether that should be allowed. For the App Extension, such a popup did not exist and permissions to inject Content Scripts were already granted at install time. For a Web Extension that is installed as a result of this migration from App Extension, will this permission popup still be shown or will it be implicitly granted the same permission as the App Extension? Can someone clarify?
Anyone else having problems to play youtube videos within Safari in the Big Sur Beta 10?
No matter what video I choose, it always states an error occured. Only happens since Beta 10.
Post not yet marked as solved
On iOS 14 you can pick another default browser than Safari. If you use another browser, that browser will ask the user to change their default browser.
I have installed quite a few browsers (Chrome, Firefox, Edge, Opera, Brave...) and have set each of them as my default one.
Problem comes when I try to open a Universal Link (which was working just fine when Safari was the default browser), which seems to just not work. With Safari as default browser, the Universal Link would work, and the corresponding native app was getting opened. However, with any other browser different from Safari set as default, the feature is broken and the Universal Link doesn't open the native app.
Has anyone experienced anything similar?
Why might this happen and how might this be solved?
Any help is very much welcomed
Post not yet marked as solved
I updated to Big Sur this morning and Safari is almost unusable due to being super slow
cleared cache, extensions. Doesn’t help
any ideas?