WordPress/wp-includes/js
jorgefilipecosta cf40905ada Scripts: Use core-js url as polyfill for window.URL.
URL polyfill from the polyfill-library library is not spec-conformant, in a way which negatively impacts its usability for pending revisions to the block editor. Specifically, there were revisions to the implementation of the wp-url script to detect URL validity by relying on thrown errors from the URL constructor, but this specific behavior is not implemented in this version of the polyfill.
There was another issue in r47238, which is that the test used to check whether the polyfill should be included is not accurate. This commit uses a different check and fixes the issue.

Props aduth.
Fixes: #49360.
Built from https://develop.svn.wordpress.org/trunk@47416


git-svn-id: http://core.svn.wordpress.org/trunk@47203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-03-03 16:55:07 +00:00
..
codemirror Ensure svn:eol-style is consistently set for all files. 2019-10-25 16:38:07 +00:00
crop
dist Scripts: Use core-js url as polyfill for window.URL. 2020-03-03 16:55:07 +00:00
imgareaselect Docs: Update broken source code link in imgAreaSelect jQuery plugin. 2019-11-17 16:14:03 +00:00
jcrop
jquery Build/Test: Update Grunt Uglify options 2019-10-05 22:01:04 +00:00
mediaelement I18N: Synchronize MediaElement.js translation strings with the currently bundled version. 2020-01-21 02:21:05 +00:00
plupload Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
swfupload Remove SWFUpload, 2017-09-21 16:35:48 +00:00
thickbox Administration: Thickbox: Fix conflicts with the Plugin details and native Thickbox modals. 2017-09-09 14:14:43 +00:00
tinymce Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
admin-bar.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
admin-bar.min.js Fixes in admin-bar.js: 2019-12-11 18:56:03 +00:00
api-request.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
api-request.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
autosave.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
autosave.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
backbone.js External Libraries: Update Backbone.js to 1.4.0. 2019-09-17 17:19:54 +00:00
backbone.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
clipboard.js Site Health: Improve the "Copy to clipboard" button. 2019-03-27 22:31:52 +00:00
clipboard.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
colorpicker.js
colorpicker.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
comment-reply.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
comment-reply.min.js Comments: Check if comment form element exists before adding a key handler to detect the cmd/ctrl-enter key press. 2019-11-11 11:51:03 +00:00
customize-base.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
customize-base.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
customize-loader.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
customize-loader.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
customize-models.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
customize-models.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
customize-preview-nav-menus.js Docs: Replace @returns tags in JS docs with @return. 2019-11-29 18:01:03 +00:00
customize-preview-nav-menus.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
customize-preview-widgets.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
customize-preview-widgets.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
customize-preview.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
customize-preview.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
customize-selective-refresh.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
customize-selective-refresh.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
customize-views.js Docs: Add file doc @output annotations. 2018-06-28 02:30:15 +00:00
customize-views.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
heartbeat.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
heartbeat.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
hoverintent-js.min.js Fix the admin toolbar js when jQuery is not present and replace the jQuery based hoverIntent.js with a native implementation. Introduces the "hoverintent" (no dependencies) package. 2019-12-10 01:03:02 +00:00
hoverIntent.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:05:31 +00:00
hoverIntent.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
imagesloaded.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
json2.js
json2.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
masonry.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
mce-view.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
mce-view.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
media-audiovideo.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
media-audiovideo.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
media-editor.js Coding Standards: Add missing braces to if conditions and use strict comparison in js/_enqueues/wp/media/editor.js. 2020-02-23 08:58:05 +00:00
media-editor.min.js Coding Standards: Add missing braces to if conditions and use strict comparison in js/_enqueues/wp/media/editor.js. 2020-02-23 08:58:05 +00:00
media-grid.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
media-grid.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
media-models.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
media-models.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
media-views.js Media: Fix bottom spacing on various Media Modal elements for non-webkit browsers. 2020-02-11 16:32:06 +00:00
media-views.min.js Media: Fix bottom spacing on various Media Modal elements for non-webkit browsers. 2020-02-11 16:32:06 +00:00
quicktags.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
quicktags.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
shortcode.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
shortcode.min.js Shortcodes: Make sure wp.shortcode.string() accepts the attrs array keys in any order. 2019-12-21 18:34:04 +00:00
swfobject.js
tw-sack.js
tw-sack.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
twemoji.js Emoji: Upgrade Twemoji to 12.1.3. 2019-11-05 22:04:02 +00:00
twemoji.min.js Emoji: Upgrade Twemoji to 12.1.3. 2019-11-05 22:04:02 +00:00
underscore.js External Libraries: Revert [46092] pending test failure investigation. 2019-09-12 10:19:59 +00:00
underscore.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
utils.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
utils.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-ajax-response.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
wp-ajax-response.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-api.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
wp-api.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-auth-check.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
wp-auth-check.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-backbone.js Docs: Add file doc @output annotations. 2018-06-28 02:30:15 +00:00
wp-backbone.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-custom-header.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
wp-custom-header.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-embed-template.js Docs: Add file doc @output annotations. 2018-06-28 02:30:15 +00:00
wp-embed-template.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-embed.js Embeds: After [43593], move the new check to a separate line to avoid test_js_no_ampersands_in_compiled failure caused by UglifyJS task. 2018-08-30 12:40:26 +00:00
wp-embed.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-emoji-loader.js Emoji: Upgrade Twemoji to 12.1.2. 2019-08-08 04:05:55 +00:00
wp-emoji-loader.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-emoji-release.min.js Emoji: Upgrade Twemoji to 12.1.3. 2019-11-05 22:04:02 +00:00
wp-emoji.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
wp-emoji.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-list-revisions.js Docs: Add file doc @output annotations. 2018-06-28 02:30:15 +00:00
wp-list-revisions.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-lists.js Docs: Replace @returns tags in JS docs with @return. 2019-11-29 18:01:03 +00:00
wp-lists.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-pointer.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
wp-pointer.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-sanitize.js Update wp.a11y.speak() to sanitize HTML before display. 2019-09-04 17:13:21 +00:00
wp-sanitize.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wp-util.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
wp-util.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wpdialog.js Docs: Add file doc @output annotations. 2018-06-28 02:30:15 +00:00
wpdialog.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
wplink.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
wplink.min.js I18N: Make the minimum input length to start searching posts in the "Insert/edit link" modal localizable. 2019-12-18 01:15:03 +00:00
zxcvbn-async.js Docs: Add file doc @output annotations. 2018-06-28 02:30:15 +00:00
zxcvbn-async.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00
zxcvbn.min.js Build/Test Tools: Add banner to RTL CSS and minified JS files. 2019-10-26 00:17:07 +00:00