[Webkit-unassigned] [Bug 187236] [GTK] /webkit/WebKitWebView/mouse-target subtest fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 2 14:34:11 PDT 2018


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

--- Comment #9 from Daniel Bates <dbates at webkit.org> ---
(In reply to Rob Buis from comment #8)
> (In reply to Daniel Bates from comment #7)
> > (In reply to Rob Buis from comment #6)
> > > (In reply to Daniel Bates from comment #2)
> > > > Comment on attachment 344057 [details]
> > > > Patch
> > > > 
> > > > View in context:
> > > > https://bugs.webkit.org/attachment.cgi?id=344057&action=review
> > > > 
> > > > > Tools/ChangeLog:9
> > > > > +        video URL is not exposed this will fail. So allow local file access for the video
> > > > 
> > > > Can you please elaborate on what you mean by "the local video URL is not
> > > > exposed"?
> > > > 
> > > > > Tools/TestWebKitAPI/Tests/WebKitGLib/TestUIClient.cpp:682
> > > > > +    WebKitSettings* settings = webkit_web_view_get_settings(test->m_webView);
> > > > > +    webkit_settings_set_allow_universal_access_from_file_urls(settings, TRUE);
> > > > 
> > > > Can you please explain why we need to universal access? I mean, this test
> > > > only loads subresources with file URLs. (The markup is substituted for the
> > > > request with URL file://// and movie.org is computed relative to it,
> > > > file:///movie.ogg).
> > > 
> > > Sorry my previous ChangeLog entry was a bit terse, I tried to phrase it
> > > better this time. Let me know if it needs even more rephrasing or you think
> > > this is the wrong approach.
> > 
> > The revised ChangeLog does not explain why a local file cannot load a local
> > file as a subresource. Can you please explain this?
> 
> "local file cannot load a local file as a subresource"? What file do you
> mean?

The unit test code is loading the markup as substitute data for a file URL (i.e. we mimic a local file). This markup contains a <video> That loads file:///movie.ogg (a local file).

-- 
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/20180702/4310ab7b/attachment-0001.html>


More information about the webkit-unassigned mailing list