{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleChrome/workbox/issues/1732","repository_url":"https://api.github.com/repos/GoogleChrome/workbox","labels_url":"https://api.github.com/repos/GoogleChrome/workbox/issues/1732/labels{/name}","comments_url":"https://api.github.com/repos/GoogleChrome/workbox/issues/1732/comments","events_url":"https://api.github.com/repos/GoogleChrome/workbox/issues/1732/events","html_url":"https://github.com/GoogleChrome/workbox/issues/1732","id":373524108,"node_id":"MDU6SXNzdWUzNzM1MjQxMDg=","number":1732,"title":"Safari IOS error \"NotSupportedError: ReadableStream uploading is not supported\" when using register routes","user":{"login":"juliandormon","id":4808660,"node_id":"MDQ6VXNlcjQ4MDg2NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/4808660?v=4","gravatar_id":"","url":"https://api.github.com/users/juliandormon","html_url":"https://github.com/juliandormon","followers_url":"https://api.github.com/users/juliandormon/followers","following_url":"https://api.github.com/users/juliandormon/following{/other_user}","gists_url":"https://api.github.com/users/juliandormon/gists{/gist_id}","starred_url":"https://api.github.com/users/juliandormon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliandormon/subscriptions","organizations_url":"https://api.github.com/users/juliandormon/orgs","repos_url":"https://api.github.com/users/juliandormon/repos","events_url":"https://api.github.com/users/juliandormon/events{/privacy}","received_events_url":"https://api.github.com/users/juliandormon/received_events","type":"User","site_admin":false},"labels":[{"id":832843601,"node_id":"MDU6TGFiZWw4MzI4NDM2MDE=","url":"https://api.github.com/repos/GoogleChrome/workbox/labels/Browser%20Compatibility","name":"Browser Compatibility","color":"7af76c","default":false},{"id":721430917,"node_id":"MDU6TGFiZWw3MjE0MzA5MTc=","url":"https://api.github.com/repos/GoogleChrome/workbox/labels/workbox-background-sync","name":"workbox-background-sync","color":"6377e8","default":false}],"state":"closed","locked":false,"assignee":{"login":"philipwalton","id":326742,"node_id":"MDQ6VXNlcjMyNjc0Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/326742?v=4","gravatar_id":"","url":"https://api.github.com/users/philipwalton","html_url":"https://github.com/philipwalton","followers_url":"https://api.github.com/users/philipwalton/followers","following_url":"https://api.github.com/users/philipwalton/following{/other_user}","gists_url":"https://api.github.com/users/philipwalton/gists{/gist_id}","starred_url":"https://api.github.com/users/philipwalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipwalton/subscriptions","organizations_url":"https://api.github.com/users/philipwalton/orgs","repos_url":"https://api.github.com/users/philipwalton/repos","events_url":"https://api.github.com/users/philipwalton/events{/privacy}","received_events_url":"https://api.github.com/users/philipwalton/received_events","type":"User","site_admin":false},"assignees":[{"login":"philipwalton","id":326742,"node_id":"MDQ6VXNlcjMyNjc0Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/326742?v=4","gravatar_id":"","url":"https://api.github.com/users/philipwalton","html_url":"https://github.com/philipwalton","followers_url":"https://api.github.com/users/philipwalton/followers","following_url":"https://api.github.com/users/philipwalton/following{/other_user}","gists_url":"https://api.github.com/users/philipwalton/gists{/gist_id}","starred_url":"https://api.github.com/users/philipwalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipwalton/subscriptions","organizations_url":"https://api.github.com/users/philipwalton/orgs","repos_url":"https://api.github.com/users/philipwalton/repos","events_url":"https://api.github.com/users/philipwalton/events{/privacy}","received_events_url":"https://api.github.com/users/philipwalton/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-10-24T14:51:20Z","updated_at":"2018-10-24T20:16:27Z","closed_at":"2018-10-24T20:16:27Z","author_association":"NONE","body":"**Library Affected**:\r\nworkbox-sw\r\n\r\n**Browser & Platform**:\r\nSafari 12 on iOS 12\r\n\r\n**Issue or Feature Request Description**:\r\nWhen submitting a form that is registered with a route, I get the following error:\r\n\"NotSupportedError: ReadableStream uploading is not supported\"\r\n\r\nEverything works perfectly on Android and Chrome desktop on my Mac.\r\n\r\nHere is the javascript, I'm using to register the routes:\r\n\r\n`const bgSyncPlugin = new workbox.backgroundSync.Plugin('ppSortMagicQueue');\r\n\r\n    workbox.routing.registerRoute(\r\n        '/Home/_SaveGallery',\r\n        workbox.strategies.networkOnly({\r\n            plugins: [bgSyncPlugin]\r\n        }),\r\n        'POST'\r\n    );`\r\n\r\n**Here is the request info from the debugger Network tab:**\r\n\r\nSummary\r\nURL: https://sortmagic.redacted.net/Home/_SaveGallery\r\nStatus: —\r\nSource: —\r\n\r\nRequest\r\nContent-Type: application/x-www-form-urlencoded; charset=UTF-8\r\nAccept: */*\r\nReferer: https://sortmagic.redacted.net/\r\nOrigin: https://sortmagic.redacted.net\r\nUser-Agent: Mozilla/5.0 (iPad; CPU OS 12_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1\r\nX-Requested-With: XMLHttpRequest\r\n\r\nResponse\r\nNo response headers\r\n\r\nRequest Data\r\nMIME Type: application/x-www-form-urlencoded; charset=UTF-8\r\nWebsiteId: 5140\r\nEventID: 7671\r\nEventName\r\ntoken: Cl+ndF3l7owkH1+3bcO2AJQYB2gIfDtqt65uSDzoV2t8jeZZ+pf1ncOUn/1fntxv2lUS0T11AipCNgwUxiql7MGWyfDItQXY5tVsKYHWp/IByhrTJtZde1+E2t8IC+GE\r\nGalleryName: jQKJ17Ij8\r\nPassword\r\nX-Requested-With: XMLHttpRequest\r\n\r\n**And here is the console output from Workbox:**\r\n\r\n[Error] workbox – \"Network request for '/Home/_SaveGallery' threw an error.\"\r\nNotSupportedError: ReadableStream uploading is not supported\r\nfetch\r\n(anonymous function) — workbox-core.dev.js:1400\r\ngeneratorResume\r\nstep — workbox-core.dev.js:14\r\n(anonymous function) — workbox-core.dev.js:32\r\ninitializePromise\r\nPromise\r\n(anonymous function) — workbox-core.dev.js:11\r\n(anonymous function) — workbox-strategies.dev.js:822\r\ngeneratorResume\r\nstep — workbox-core.dev.js:14\r\n(anonymous function) — workbox-core.dev.js:32\r\ninitializePromise\r\nPromise\r\n(anonymous function) — workbox-core.dev.js:11\r\ngeneratorResume\r\nstep — workbox-core.dev.js:14\r\n(anonymous function) — workbox-core.dev.js:32\r\ninitializePromise\r\nPromise\r\n(anonymous function) — workbox-core.dev.js:11\r\nhandleRequest — workbox-routing.dev.js:365\r\n(anonymous function) — workbox-routing.dev.js:835\r\n\t_print (workbox-core.dev.js:132)\r\n\t(anonymous function) (workbox-core.dev.js:1407)\r\n\tgeneratorResume\r\n\tstep (workbox-core.dev.js:14)\r\n\t(anonymous function) (workbox-core.dev.js:27)\r\n\tpromiseReactionJob\r\n\r\nThanks for your help!"},"comment":{"url":"https://api.github.com/repos/GoogleChrome/workbox/issues/comments/432812150","html_url":"https://github.com/GoogleChrome/workbox/issues/1732#issuecomment-432812150","issue_url":"https://api.github.com/repos/GoogleChrome/workbox/issues/1732","id":432812150,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjgxMjE1MA==","user":{"login":"jeffposnick","id":1749548,"node_id":"MDQ6VXNlcjE3NDk1NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1749548?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffposnick","html_url":"https://github.com/jeffposnick","followers_url":"https://api.github.com/users/jeffposnick/followers","following_url":"https://api.github.com/users/jeffposnick/following{/other_user}","gists_url":"https://api.github.com/users/jeffposnick/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffposnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffposnick/subscriptions","organizations_url":"https://api.github.com/users/jeffposnick/orgs","repos_url":"https://api.github.com/users/jeffposnick/repos","events_url":"https://api.github.com/users/jeffposnick/events{/privacy}","received_events_url":"https://api.github.com/users/jeffposnick/received_events","type":"User","site_admin":false},"created_at":"2018-10-24T20:16:27Z","updated_at":"2018-10-24T20:16:27Z","author_association":"COLLABORATOR","body":"I'm happy to close in that case. We can revisit if someone else can trigger this outside of the debugging scenario you describe."}}
{"actor":{"display_login":"jeffposnick"}}