[wp-trac] [WordPress Trac] #51446: CORS issues with QUnit while running tests

WordPress Trac noreply at wordpress.org
Mon Oct 5 17:15:17 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:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing dev-         |     Focuses:  javascript
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by iandunn):

 Those lines where introduced in r37714 and r40640. I'm guessing they
 intentionally used relative URLs, so that people could run it from any
 host. It'd be great to keep that flexibility if we can.

 `rm -f compiled.html`
 [https://wordpress.slack.com/archives/C02RQBWTW/p1601405096188300?thread_ts=1601402311.187600&cid=C02RQBWTW
 fixed a similar problem for me]. At a quick glance, grunt ''should'' do
 that, but there may be some edge cases where it gets stuck and needs to be
 done manually. If your copy is outdated, that could be the cause.

 * What URL do run Core from normally?
 * Can you share your Apache vhost config for the site?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51446#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list