1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:58:11 +00: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:
Andreas Kling 2022-09-21 10:57:32 +02:00
parent 1f95943274
commit 62fed2a31d
2 changed files with 7 additions and 2 deletions

View file

@ -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;