[Webkit-unassigned] [Bug 169970] JavaScript is not correctly connecting to rest api in iOS 10.3 beta

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 27 11:27:53 PDT 2017


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

--- Comment #35 from youenn fablet <youennf at gmail.com> ---
(In reply to paladox from comment #32)
> I did 
> 
>       if (opt_opts.headers !== undefined) {
>       var fetchOptions = {
>         credentials: 'same-origin',
>         headers: opt_opts.headers,
>       };
>       } else {
>       var fetchOptions = {
>         credentials: 'same-origin',
>        // headers: opt_opts.headers,
>       };
>       }
> 
> which is the same as if(opt_opts.headers).
> 
> But still doesn't work in reloading the diff page. For example going to
> http://gerrit-new.wmflabs.org/r/c/2/62/tests/fixtures/layout-cloner.yaml and
> then reloading that downloads a json file (the fix i did for headers is not
> on that site). It should not be downloading json files when refreshing the
> page. Which i presume thats why headers: is there to fix that.

If it is still not working, there might be another underlying bug somewhere.
Can you try checking the headers purpose and see whether there is something different with the patch in network inspector?
Time permitting, I can also look at it if I got access to a web site with this patch on.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170327/cf6a209d/attachment.html>


More information about the webkit-unassigned mailing list