[wp-trac] [WordPress Trac] #51446: CORS issues with QUnit while running tests
WordPress Trac
noreply at wordpress.org
Thu Oct 8 07:38:48 UTC 2020
#51446: CORS issues with QUnit while running tests
-------------------------------------------------+-------------------------
Reporter: garrett-eclipse | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Build/Test Tools | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing dev- | Focuses: javascript
feedback has-unit-tests needs-refresh |
-------------------------------------------------+-------------------------
Comment (by azaozz):
Replying to [comment:13 garrett-eclipse]:
> Hmm, this may be due to [49101]/#50564...
Right. All the `JQMIGRATE:` warnings are things that need fixing. they
show up because jQuery Migrate 3.3.1 is loaded in debug more (same as with
`SCRIPT_DEBUG`). Most are pretty trivial, replace `jQuery( ... ).click()`
with `jQuery( ... ).on( 'click'`, etc. They are safe to ignore for now,
but ideally should be fixed :)
> Huh. I'm also getting other errors, like these...
Most likely caused by browser cache. `ui/widget.js` is now part of
`ui/core.js`. There were few timing errors in some tests, fixed here:
https://core.trac.wordpress.org/changeset/49101#file49.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51446#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list