# HG changeset patch # User RĂ©mi Cardona # Date 1411659531 -7200 # Node ID 3e7f1e9f3adc5926cafee804e98e5a4d730b1c5a # Parent cfb6e9dab902036323444cabc97735f3e80eb484 [devtools] allow cross-origin requests for qunit We have a mix of file:// html and http:// ajax calls. Which we should at some point fix to all be http, but. Related to #4294727. diff -r cfb6e9dab902 -r 3e7f1e9f3adc devtools/qunit.py --- a/devtools/qunit.py Mon Sep 15 17:24:18 2014 +0200 +++ b/devtools/qunit.py Thu Sep 25 17:38:51 2014 +0200 @@ -111,6 +111,7 @@ all_js_tests = () def setUp(self): + self.config.global_set_option('access-control-allow-origin', '*') super(QUnitTestCase, self).setUp() self.test_queue = Queue() class MyQUnitResultController(QUnitResultController):