Skip to content

Changes code review tab doesn't load in Safari

Overview

(also reported on the forum)

In Safari, the "Changes" (.../merge_requests/XXXX/diffs) code review tab doesn't load and the spinner spins indefinitely.

Console logs:

[Error] Refused to load https://git.the7bridges.com/assets/webpack/tree_worker.9e6d2455.worker.js because it does not appear in the child-src directive of the Content Security Policy.
[Error] SecurityError: The operation is insecure.
	Gt (main.a92e72ff.chunk.js:108:11716)
	Vt (main.a92e72ff.chunk.js:108:11629)
	Ut (main.a92e72ff.chunk.js:108:11279)
	zt (main.a92e72ff.chunk.js:108:11481)
	nn (main.a92e72ff.chunk.js:108:25343)
	insert (main.a92e72ff.chunk.js:108:20348)
	E (main.a92e72ff.chunk.js:108:60189)
	(anonymous function) (main.a92e72ff.chunk.js:108:61542)
	(anonymous function) (main.a92e72ff.chunk.js:108:34472)
	r (main.a92e72ff.chunk.js:108:68211)
	(anonymous function) (main.a92e72ff.chunk.js:108:26776)
	mn (main.a92e72ff.chunk.js:108:26693)
	(anonymous function) (main.a92e72ff.chunk.js:108:68234)
	(anonymous function) (main.a92e72ff.chunk.js:108:32976)
	Sn (main.a92e72ff.chunk.js:108:30332)
	(anonymous function) (pages.projects.merge_requests.show.63e826ef.chunk.js:4:1228401)
	(anonymous function) (pages.projects.merge_requests.show.63e826ef.chunk.js:4:1230389)
	g7k4 (pages.projects.merge_requests.show.63e826ef.chunk.js:4:1230401)
	c (runtime.faaece56.bundle.js:1:566)
	(anonymous function) (pages.projects.merge_requests.show.63e826ef.chunk.js:1:79599)
	c (runtime.faaece56.bundle.js:1:566)
	a (runtime.faaece56.bundle.js:1:432)
	r (runtime.faaece56.bundle.js:1:295)
	Global Code (pages.projects.merge_requests.show.63e826ef.chunk.js:1)

Steps to replicate (optional)

Open gitlab in Safari (tested on 14.0.3). Find an MR. Go to the diffs tab.

Environment (optional)

  • Operating system: macOS
  • Safari versions: 14.0.3 - 14.1.1
  • Gitlab version: 13.12.0 - 13.12.1 (Community Edition)
Edited by David Park