jupyter / jupyter/notebook

Cross Origin issue

Open
#6,063 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

**Describe the bug**
getting following error in browser console when marking down empty cell.
Access to font at 'about:blank' from origin 'http://localhost:8888' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.

GET about:blank net::ERR_FAILED

**To Reproduce**
Steps to reproduce the behavior:
1. open new jupyter notebook.
2. Mark down empty cell , (cell--> cell type--> Markdown)
3. open browser console to check CORS error.

**Expected behavior**
No error expected in console.

**Screenshots**
![CORS error](https://user-images.githubusercontent.com/77959857/118355085-8cbd7f00-b5b1-11eb-9783-6bfd0897b42e.jpg)

**Desktop (please complete the following information):**
- OS: Windows 10
- Browser chrome
- Version 6.1.1

**Additional context**
on running the marked down cell, able to get following output.

Type Markdown and LaTeX: 𝛼2

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in a new Jupyter Notebook using Chrome, convert an empty cell to Markdown, and inspect the browser console. Trace the console request associated with the empty Markdown cell; done means the CORS and about:blank errors no longer appear.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.