[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
Sun Mar 26 15:38:31 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=169970
--- Comment #32 from paladox <thomasmulhall410 at yahoo.com> ---
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.
--
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/20170326/4b24c8b4/attachment.html>
More information about the webkit-unassigned
mailing list