Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5958239
skip-web2017-polyfills.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
746 B
Referenced Files
None
Subscribers
None
skip-web2017-polyfills.js
View Options
return
'IntersectionObserver'
in
window
&&
typeof
fetch
===
'function'
&&
// Ensure:
// - standards compliant URL
// - standards compliant URLSearchParams
// - URL#toJSON method (came later)
//
// Facts:
// - All browsers with URL also have URLSearchParams, don't need to check.
// - Safari <= 7 and Chrome <= 31 had a buggy URL implementations.
// - Firefox 29-43 had an incomplete URLSearchParams implementation. https://caniuse.com/urlsearchparams
// - URL#toJSON was released in Firefox 54, Safari 11, and Chrome 71. https://caniuse.com/mdn-api_url_tojson
// Thus we don't need to check for buggy URL or incomplete URLSearchParams.
typeof
URL
===
'function'
&&
'toJSON'
in
URL
.
prototype
;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 05:39 (2 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
14/9e/d986cf0d34931f2c041338af04c4
Default Alt Text
skip-web2017-polyfills.js (746 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment