Skip to content

Commit

Permalink
fix: fetch in Edge webkit is supported now. bilibili#541
Browse files Browse the repository at this point in the history
  • Loading branch information
wanggaoli committed Jun 24, 2020
2 parents ebfd5c9 + 00f8d75 commit c09801e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/fetch-stream-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class FetchStreamLoader extends BaseLoader {
// fetch + stream is broken on Microsoft Edge. Disable before build 15048.
// see https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8196907/
// Fixed in Jan 10, 2017. Build 15048+ removed from blacklist.
let isWorkWellEdge = Browser.msedge && Browser.version.minor >= 15048;
let isWorkWellEdge = Browser.msedge && Browser.version.minor >= 15048 && !Browser.webkit;
let browserNotBlacklisted = Browser.msedge ? isWorkWellEdge : true;
return (self.fetch && self.ReadableStream && browserNotBlacklisted);
} catch (e) {
Expand Down

0 comments on commit c09801e

Please sign in to comment.