Closed Bug 1805049 Opened 3 years ago Closed 2 years ago

Missing Doctype Declaration in about:blank

Categories

(Core :: DOM: Core & HTML, enhancement)

Firefox 102
enhancement

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: a20001017, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0

Steps to reproduce:

Go to about:blank and open console.

Actual results:

A warning reads: This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. document.compatMode outputs "BackCompat"

Expected results:

No warnings should happen, and document.compatMode is "CSS1Compat".

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME

Works in 117

You need to log in before you can comment on or make changes to this bug.