[Webkit-unassigned] [Bug 153852] <body> with overflow:hidden CSS is scrollable on iOS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 11 09:10:04 PDT 2021


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

Mehmet gelisin <mehmetgelisin at aol.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mehmetgelisin at aol.com

--- Comment #45 from Mehmet gelisin <mehmetgelisin at aol.com> ---
Hey guys,
http://www-look-4.com/ 
Put together a proof of concept patch for this. Verified on OSX 10.11, the demo works in MiniBrowser. Hooray! http://www.compilatori.com/

Is there any reviewer willing to look at this? I know very little about Webkit (never hacked on Webkit before), http://www.wearelondonmade.com/  so let's evaluate the approach first. If it's OK, then we move on to coding style/webkit details/reusing previous GStreamer code. http://www.jopspeech.com/

Thank you very much :D

=== TL;DR === http://joerg.li/ 

The following is implementation detail of the proof of concept patch. http://connstr.net/ 

AVAssetResourceLoader only calls its delegate when the AVURLAsset does not http://embermanchester.uk/  start with http or https. Also, it does not handle CORS check. http://www.slipstone.co.uk/

So, the situation leaves us 3 possible solutions: 

1. do not use AVFoundation APIs. Well that does not seems like the right way to go. http://www.iu-bloomington.com/

2. wait for AVFoundation to handle CORS check. I personally do not want to wait. Besides, AVFoundation API is for general purpose Internet media resource loading (not limited to web browsers), while https://www.webb-dev.co.uk/  CORS checking is a very specific use case in web browsers. For this reason, I think we should handle CORS on Webkit side instead of AVFounation side. We already have mature and well-tested code for CORS, right? https://waytowhatsnext.com/ 

3. hack into AVFoundation API, perform the CORS check somewhere in the progress.

This patch uses approach 3. Implementation is a little hacky. http://www.acpirateradio.co.uk/ 

- We replace http/https URLs with mock protocols mock-http/mock-https, so AVAssetResourceLoader will call our delegate
- In the delegate, use CachedResourceLoader to get response, perform CORS check.
- If CORS check passes, fill response data into the original AVAssetResourceLoadingRequest. http://www.logoarts.co.uk/ 

Except for the first step, the latter 2 steps look exactly like what we did for GStreamer backend

-- 
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/20210911/868e46ba/attachment-0001.htm>


More information about the webkit-unassigned mailing list