mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-01 20:07:38 +02:00
LibWeb: Add id field to Environment
This is a unique string that identifies the environment. We just use a simple incrementing number for now.
This commit is contained in:
@@ -20,7 +20,8 @@ namespace Web::HTML {
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#environment
|
||||
struct Environment {
|
||||
// FIXME: An id https://html.spec.whatwg.org/multipage/webappapis.html#concept-environment-id
|
||||
// An id https://html.spec.whatwg.org/multipage/webappapis.html#concept-environment-id
|
||||
String id;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#concept-environment-creation-url
|
||||
AK::URL creation_url;
|
||||
|
||||
Reference in New Issue
Block a user