﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
34053	JS tests depend on Cloudflare CDN for every run	Hugo Herter	nobody	"Running the Javascript tests requires an internet connection to https://cdnjs.cloudflare.com .

This makes the tests dependent on an extra third party, provides that third party with the IP address of developers and test runners, and prevents developers from running the tests without a connection to Cloudflare.

The relevant line is in `js_tests/tests.html`:

  <script src='https://cdnjs.cloudflare.com/ajax/libs/ol3/4.6.5/ol.js'></script>

== How to reproduce

1. Install the dependencies using npm

  git clone https://github.com/django/django.git
  cd django/
  npm install

2. Serve the page via a web server and open in in a browser

  python3 -m http.server --bind 127.0.0.1

Open http://localhost:8000 with the network inspector open. 


"	Cleanup/optimization	closed	Testing framework	dev	Normal	needsinfo		Claude Paroz Daniel Hahler	Unreviewed	0	0	0	0	0	0
