Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (285097 => 285098)
--- trunk/Source/_javascript_Core/ChangeLog 2021-10-31 20:31:14 UTC (rev 285097)
+++ trunk/Source/_javascript_Core/ChangeLog 2021-10-31 21:40:58 UTC (rev 285098)
@@ -1,3 +1,16 @@
+2021-10-31 Cameron McCormack <[email protected]>
+
+ Update Web IDL links to new URL
+ https://bugs.webkit.org/show_bug.cgi?id=232533
+ <rdar://problem/84842937>
+
+ Reviewed by Sam Weinig.
+
+ * wasm/js/WebAssemblyMemoryConstructor.cpp:
+ (JSC::JSC_DEFINE_HOST_FUNCTION):
+ * wasm/js/WebAssemblyTableConstructor.cpp:
+ (JSC::JSC_DEFINE_HOST_FUNCTION):
+
2021-10-29 Yusuke Suzuki <[email protected]>
[JSC] Having StructureStubInfo and CallLinkInfo via FixedVector for Baseline JIT
Modified: trunk/Source/_javascript_Core/wasm/js/WebAssemblyMemoryConstructor.cpp (285097 => 285098)
--- trunk/Source/_javascript_Core/wasm/js/WebAssemblyMemoryConstructor.cpp 2021-10-31 20:31:14 UTC (rev 285097)
+++ trunk/Source/_javascript_Core/wasm/js/WebAssemblyMemoryConstructor.cpp 2021-10-31 21:40:58 UTC (rev 285098)
@@ -96,7 +96,7 @@
Wasm::PageCount maximumPageCount;
{
// In WebIDL, "present" means that [[Get]] result is undefined, not [[HasProperty]] result.
- // https://heycam.github.io/webidl/#idl-dictionaries
+ // https://webidl.spec.whatwg.org/#idl-dictionaries
Identifier maximum = Identifier::fromString(vm, "maximum");
JSValue maxSizeValue = memoryDescriptor->get(globalObject, maximum);
RETURN_IF_EXCEPTION(throwScope, encodedJSValue());
Modified: trunk/Source/_javascript_Core/wasm/js/WebAssemblyTableConstructor.cpp (285097 => 285098)
--- trunk/Source/_javascript_Core/wasm/js/WebAssemblyTableConstructor.cpp 2021-10-31 20:31:14 UTC (rev 285097)
+++ trunk/Source/_javascript_Core/wasm/js/WebAssemblyTableConstructor.cpp 2021-10-31 21:40:58 UTC (rev 285098)
@@ -98,7 +98,7 @@
RETURN_IF_EXCEPTION(throwScope, encodedJSValue());
// In WebIDL, "present" means that [[Get]] result is undefined, not [[HasProperty]] result.
- // https://heycam.github.io/webidl/#idl-dictionaries
+ // https://webidl.spec.whatwg.org/#idl-dictionaries
std::optional<uint32_t> maximum;
Identifier maximumIdent = Identifier::fromString(vm, "maximum");
JSValue maxSizeValue = memoryDescriptor->get(globalObject, maximumIdent);
Modified: trunk/Source/WebCore/ChangeLog (285097 => 285098)
--- trunk/Source/WebCore/ChangeLog 2021-10-31 20:31:14 UTC (rev 285097)
+++ trunk/Source/WebCore/ChangeLog 2021-10-31 21:40:58 UTC (rev 285098)
@@ -1,3 +1,37 @@
+2021-10-31 Cameron McCormack <[email protected]>
+
+ Update Web IDL links to new URL
+ https://bugs.webkit.org/show_bug.cgi?id=232533
+ <rdar://problem/84842937>
+
+ Reviewed by Sam Weinig.
+
+ * Modules/mediastream/OverconstrainedError.idl:
+ * bindings/js/JSCallbackData.cpp:
+ * bindings/js/JSDOMAbstractOperations.h:
+ * bindings/js/JSDOMConvertPromise.h:
+ * bindings/scripts/CodeGenerator.pm:
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (AddMapLikeAttributesAndOperationIfNeeded):
+ (AddSetLikeAttributesAndOperationIfNeeded):
+ (GenerateGetOwnPropertySlot):
+ (GenerateGetOwnPropertySlotByIndex):
+ (GenerateDeletePropertyCommon):
+ (GenerateDeleteProperty):
+ (GenerateDeletePropertyByIndex):
+ (GenerateNamedDeleterDefinition):
+ (AttributeShouldBeOnInstance):
+ (OperationShouldBeOnInstance):
+ (GenerateDictionaryImplementationContent):
+ (GenerateAttributeSetterBodyDefinition):
+ (GenerateOperationBodyDefinition):
+ (GenerateDefaultToJSONOperationDefinition):
+ (GenerateConstructorHelperMethods):
+ * bindings/scripts/IDLAttributes.json:
+ * bindings/scripts/IDLParser.pm:
+ * bindings/scripts/preprocess-idls.pl:
+ * dom/ExceptionCode.h:
+
2021-10-31 Myles C. Maxfield <[email protected]>
Remove some straggling files after r280467
Modified: trunk/Source/WebCore/Modules/mediastream/OverconstrainedError.idl (285097 => 285098)
--- trunk/Source/WebCore/Modules/mediastream/OverconstrainedError.idl 2021-10-31 20:31:14 UTC (rev 285097)
+++ trunk/Source/WebCore/Modules/mediastream/OverconstrainedError.idl 2021-10-31 21:40:58 UTC (rev 285098)
@@ -30,7 +30,7 @@
// a bit odd to be using it here. The Exception extended attribute
// is really only intended to be used for interfaces that want exactly
// the same custom bindings as DOMException as defined in WebIDL
-// (see https://heycam.github.io/webidl/#es-DOMException-specialness)
+// (see https://webidl.spec.whatwg.org/#es-DOMException-specialness)
// and it is not clear if OverconstrainedError wants the same semantics.
// [https://w3c.github.io/mediacapture-main/#dfn-overconstrainederror]
Modified: trunk/Source/WebCore/bindings/js/JSCallbackData.cpp (285097 => 285098)
--- trunk/Source/WebCore/bindings/js/JSCallbackData.cpp 2021-10-31 20:31:14 UTC (rev 285097)
+++ trunk/Source/WebCore/bindings/js/JSCallbackData.cpp 2021-10-31 21:40:58 UTC (rev 285098)
@@ -38,7 +38,7 @@
namespace WebCore {
using namespace JSC;
-// https://heycam.github.io/webidl/#call-a-user-objects-operation
+// https://webidl.spec.whatwg.org/#call-a-user-objects-operation
JSValue JSCallbackData::invokeCallback(JSDOMGlobalObject& globalObject, JSObject* callback, JSValue thisValue, MarkedArgumentBuffer& args, CallbackType method, PropertyName functionName, NakedPtr<JSC::Exception>& returnedException)
{
ASSERT(callback);
Modified: trunk/Source/WebCore/bindings/js/JSDOMAbstractOperations.h (285097 => 285098)
--- trunk/Source/WebCore/bindings/js/JSDOMAbstractOperations.h 2021-10-31 20:31:14 UTC (rev 285097)
+++ trunk/Source/WebCore/bindings/js/JSDOMAbstractOperations.h 2021-10-31 21:40:58 UTC (rev 285098)
@@ -31,12 +31,12 @@
namespace WebCore {
// Implementations of the abstract operations defined at
-// https://heycam.github.io/webidl/#legacy-platform-object-abstract-ops
+// https://webidl.spec.whatwg.org/#legacy-platform-object-abstract-ops
enum class LegacyOverrideBuiltIns { No, Yes };
// An implementation of the 'named property visibility algorithm'
-// https://heycam.github.io/webidl/#dfn-named-property-visibility
+// https://webidl.spec.whatwg.org/#dfn-named-property-visibility
template<LegacyOverrideBuiltIns overrideBuiltins, class JSClass>
static bool isVisibleNamedProperty(JSC::JSGlobalObject& lexicalGlobalObject, JSClass& thisObject, JSC::PropertyName propertyName)
{
@@ -151,7 +151,7 @@
return result;
}
-// This implements steps 2.2 through 2.5 of https://heycam.github.io/webidl/#legacy-platform-object-delete.
+// This implements steps 2.2 through 2.5 of https://webidl.spec.whatwg.org/#legacy-platform-object-delete.
template<typename Functor> bool performLegacyPlatformObjectDeleteOperation(JSC::JSGlobalObject& lexicalGlobalObject, Functor&& functor)
{
using ReturnType = std::invoke_result_t<Functor>;
Modified: trunk/Source/WebCore/bindings/js/JSDOMConvertPromise.h (285097 => 285098)
--- trunk/Source/WebCore/bindings/js/JSDOMConvertPromise.h 2021-10-31 20:31:14 UTC (rev 285097)
+++ trunk/Source/WebCore/bindings/js/JSDOMConvertPromise.h 2021-10-31 21:40:58 UTC (rev 285098)
@@ -34,7 +34,7 @@
template<typename T> struct Converter<IDLPromise<T>> : DefaultConverter<IDLPromise<T>> {
using ReturnType = RefPtr<DOMPromise>;
- // https://heycam.github.io/webidl/#es-promise
+ // https://webidl.spec.whatwg.org/#es-promise
template<typename ExceptionThrower = DefaultExceptionThrower>
static ReturnType convert(JSC::JSGlobalObject& lexicalGlobalObject, JSC::JSValue value, ExceptionThrower&& exceptionThrower = ExceptionThrower())
{
Modified: trunk/Source/WebCore/bindings/scripts/CodeGenerator.pm (285097 => 285098)
--- trunk/Source/WebCore/bindings/scripts/CodeGenerator.pm 2021-10-31 20:31:14 UTC (rev 285097)
+++ trunk/Source/WebCore/bindings/scripts/CodeGenerator.pm 2021-10-31 21:40:58 UTC (rev 285098)
@@ -1210,7 +1210,7 @@
return 0;
}
-# https://heycam.github.io/webidl/#dfn-json-types
+# https://webidl.spec.whatwg.org/#dfn-json-types
sub IsJSONType
{
my ($object, $interface, $type) = @_;
Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (285097 => 285098)
--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm 2021-10-31 20:31:14 UTC (rev 285097)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm 2021-10-31 21:40:58 UTC (rev 285098)
@@ -229,7 +229,7 @@
$interface->mapLike->extendedAttributes->{ForwardToMapLike} = 1;
- # https://heycam.github.io/webidl/#es-map-size
+ # https://webidl.spec.whatwg.org/#es-map-size
my $sizeAttribute = IDLAttribute->new();
$sizeAttribute->name("size");
$sizeAttribute->isReadOnly(1);
@@ -238,7 +238,7 @@
$sizeAttribute->extendedAttributes->{NotEnumerable} = 1;
push(@{$interface->attributes}, $sizeAttribute);
- # https://heycam.github.io/webidl/#es-map-get-has
+ # https://webidl.spec.whatwg.org/#es-map-get-has
my $getOperation = IDLOperation->new();
$getOperation->name("get");
my $getArgument = IDLArgument->new();
@@ -261,7 +261,7 @@
$hasOperation->extendedAttributes->{NotEnumerable} = 1;
push(@{$interface->operations}, $hasOperation);
- # https://heycam.github.io/webidl/#es-map-entries
+ # https://webidl.spec.whatwg.org/#es-map-entries
my $entriesOperation = IDLOperation->new();
$entriesOperation->name("entries");
$entriesOperation->type(IDLParser::makeSimpleType("any"));
@@ -269,7 +269,7 @@
$entriesOperation->extendedAttributes->{NotEnumerable} = 1;
push(@{$interface->operations}, $entriesOperation);
- # https://heycam.github.io/webidl/#es-map-keys-values
+ # https://webidl.spec.whatwg.org/#es-map-keys-values
my $keysOperation = IDLOperation->new();
$keysOperation->name("keys");
$keysOperation->type(IDLParser::makeSimpleType("any"));
@@ -284,7 +284,7 @@
$valuesOperation->extendedAttributes->{NotEnumerable} = 1;
push(@{$interface->operations}, $valuesOperation);
- # https://heycam.github.io/webidl/#es-forEach
+ # https://webidl.spec.whatwg.org/#es-forEach
my $forEachOperation = IDLOperation->new();
$forEachOperation->name("forEach");
$forEachOperation->type(IDLParser::makeSimpleType("any"));
@@ -297,7 +297,7 @@
return if $interface->mapLike->isReadOnly;
- # https://heycam.github.io/webidl/#es-map-set
+ # https://webidl.spec.whatwg.org/#es-map-set
unless (grep { $_->name eq "set" } (@{$interface->attributes}, @{$interface->operations}, @{$interface->constants})) {
my $setOperation = IDLOperation->new();
$setOperation->name("set");
@@ -315,7 +315,7 @@
push(@{$interface->operations}, $setOperation);
}
- # https://heycam.github.io/webidl/#es-map-clear
+ # https://webidl.spec.whatwg.org/#es-map-clear
unless (grep { $_->name eq "clear" } (@{$interface->attributes}, @{$interface->operations}, @{$interface->constants})) {
my $clearOperation = IDLOperation->new();
$clearOperation->name("clear");
@@ -325,7 +325,7 @@
push(@{$interface->operations}, $clearOperation);
}
- # https://heycam.github.io/webidl/#es-map-delete
+ # https://webidl.spec.whatwg.org/#es-map-delete
unless (grep { $_->name eq "delete" } (@{$interface->attributes}, @{$interface->operations}, @{$interface->constants})) {
my $deleteOperation = IDLOperation->new();
$deleteOperation->name("delete");
@@ -348,7 +348,7 @@
$interface->setLike->extendedAttributes->{ForwardToSetLike} = 1;
- # https://heycam.github.io/webidl/#es-set-size
+ # https://webidl.spec.whatwg.org/#es-set-size
my $sizeAttribute = IDLAttribute->new();
$sizeAttribute->name("size");
$sizeAttribute->isReadOnly(1);
@@ -357,7 +357,7 @@
$sizeAttribute->extendedAttributes->{NotEnumerable} = 1;
push(@{$interface->attributes}, $sizeAttribute);
- # https://heycam.github.io/webidl/#es-set-has
+ # https://webidl.spec.whatwg.org/#es-set-has
my $hasOperation = IDLOperation->new();
$hasOperation->name("has");
my $hasArgument = IDLArgument->new();
@@ -369,7 +369,7 @@
$hasOperation->extendedAttributes->{NotEnumerable} = 1;
push(@{$interface->operations}, $hasOperation);
- # https://heycam.github.io/webidl/#es-set-entries-keys
+ # https://webidl.spec.whatwg.org/#es-set-entries-keys
my $entriesOperation = IDLOperation->new();
$entriesOperation->name("entries");
$entriesOperation->type(IDLParser::makeSimpleType("any"));
@@ -384,7 +384,7 @@
$keysOperation->extendedAttributes->{NotEnumerable} = 1;
push(@{$interface->operations}, $keysOperation);
- # https://heycam.github.io/webidl/#es-set-values
+ # https://webidl.spec.whatwg.org/#es-set-values
my $valuesOperation = IDLOperation->new();
$valuesOperation->name("values");
$valuesOperation->type(IDLParser::makeSimpleType("any"));
@@ -392,7 +392,7 @@
$valuesOperation->extendedAttributes->{NotEnumerable} = 1;
push(@{$interface->operations}, $valuesOperation);
- # https://heycam.github.io/webidl/#es-forEach
+ # https://webidl.spec.whatwg.org/#es-forEach
my $forEachOperation = IDLOperation->new();
$forEachOperation->name("forEach");
my $forEachArgument = IDLArgument->new();
@@ -407,7 +407,7 @@
return if $interface->setLike->isReadOnly;
- # https://heycam.github.io/webidl/#es-add-delete
+ # https://webidl.spec.whatwg.org/#es-add-delete
unless (grep { $_->name eq "add" } (@{$interface->attributes}, @{$interface->operations}, @{$interface->constants})) {
my $addOperation = IDLOperation->new();
$addOperation->name("add");
@@ -421,7 +421,7 @@
push(@{$interface->operations}, $addOperation);
}
- # https://heycam.github.io/webidl/#es-set-clear
+ # https://webidl.spec.whatwg.org/#es-set-clear
unless (grep { $_->name eq "clear" } (@{$interface->attributes}, @{$interface->operations}, @{$interface->constants})) {
my $clearOperation = IDLOperation->new();
$clearOperation->name("clear");
@@ -856,7 +856,7 @@
push(@$outputArray, " });\n");
}
-# https://heycam.github.io/webidl/#legacy-platform-object-getownproperty
+# https://webidl.spec.whatwg.org/#legacy-platform-object-getownproperty
sub GenerateGetOwnPropertySlot
{
my ($outputArray, $interface, $className) = @_;
@@ -880,7 +880,7 @@
# 1. Return LegacyPlatformObjectGetOwnProperty(O, P, false).
# Therefore, the following steps are from the LegacyPlatformObjectGetOwnProperty algorithm
- # https://heycam.github.io/webidl/#LegacyPlatformObjectGetOwnProperty
+ # https://webidl.spec.whatwg.org/#LegacyPlatformObjectGetOwnProperty
# 1. If O supports indexed properties and P is an array index property name, then:
if ($indexedGetterOperation) {
@@ -956,7 +956,7 @@
push(@$outputArray, "}\n\n");
}
-# https://heycam.github.io/webidl/#legacy-platform-object-getownproperty
+# https://webidl.spec.whatwg.org/#legacy-platform-object-getownproperty
sub GenerateGetOwnPropertySlotByIndex
{
my ($outputArray, $interface, $className) = @_;
@@ -991,7 +991,7 @@
# 1. Return LegacyPlatformObjectGetOwnProperty(O, P, false).
# Therefore, the following steps are from the LegacyPlatformObjectGetOwnProperty algorithm
- # https://heycam.github.io/webidl/#LegacyPlatformObjectGetOwnProperty
+ # https://webidl.spec.whatwg.org/#LegacyPlatformObjectGetOwnProperty
# 1. If O supports indexed properties and P is an array index property name, then:
if ($indexedGetterOperation) {
@@ -1071,7 +1071,7 @@
push(@$outputArray, "}\n\n");
}
-# https://heycam.github.io/webidl/#legacy-platform-object-property-enumeration
+# https://webidl.spec.whatwg.org/#legacy-platform-object-property-enumeration
sub GenerateGetOwnPropertyNames
{
my ($outputArray, $interface, $className) = @_;
@@ -1120,7 +1120,7 @@
push(@$outputArray, "}\n\n");
}
-# https://heycam.github.io/webidl/#invoke-indexed-setter
+# https://webidl.spec.whatwg.org/#invoke-indexed-setter
sub GenerateInvokeIndexedPropertySetter
{
my ($outputArray, $indent, $interface, $indexedSetterOperation, $indexExpression, $value) = @_;
@@ -1138,7 +1138,7 @@
push(@$outputArray, $indent . "invokeFunctorPropagatingExceptionIfNecessary(*lexicalGlobalObject, throwScope, [&] { return ${functionString}; });\n");
}
-# https://heycam.github.io/webidl/#invoke-named-setter
+# https://webidl.spec.whatwg.org/#invoke-named-setter
sub GenerateInvokeNamedPropertySetter
{
my ($outputArray, $indent, $interface, $namedSetterOperation, $value) = @_;
@@ -1339,7 +1339,7 @@
return 1;
}
-# https://heycam.github.io/webidl/#legacy-platform-object-defineownproperty
+# https://webidl.spec.whatwg.org/#legacy-platform-object-defineownproperty
sub GenerateDefineOwnProperty
{
my ($outputArray, $interface, $className) = @_;
@@ -1471,7 +1471,7 @@
{
my ($outputArray, $interface, $className, $operation, $conditional) = @_;
- # This implements step 2 of https://heycam.github.io/webidl/#legacy-platform-object-delete
+ # This implements step 2 of https://webidl.spec.whatwg.org/#legacy-platform-object-delete
# so it can be shared between the generation of deleteProperty and deletePropertyByIndex.
# 2. If O supports named properties, O does not implement an interface with the
@@ -1518,7 +1518,7 @@
{
my ($outputArray, $interface, $className, $operation, $conditional) = @_;
- # This implements https://heycam.github.io/webidl/#legacy-platform-object-delete for the
+ # This implements https://webidl.spec.whatwg.org/#legacy-platform-object-delete for the
# for the deleteProperty override hook.
push(@$outputArray, "bool ${className}::deleteProperty(JSCell* cell, JSGlobalObject* lexicalGlobalObject, PropertyName propertyName, DeletePropertySlot& slot)\n");
@@ -1549,7 +1549,7 @@
{
my ($outputArray, $interface, $className, $operation, $conditional) = @_;
- # This implements https://heycam.github.io/webidl/#legacy-platform-object-delete for the
+ # This implements https://webidl.spec.whatwg.org/#legacy-platform-object-delete for the
# for the deletePropertyByIndex override hook.
push(@$outputArray, "bool ${className}::deletePropertyByIndex(JSCell* cell, JSGlobalObject* lexicalGlobalObject, unsigned index)\n");
@@ -1598,7 +1598,7 @@
my $namedDeleterOperation = GetNamedDeleterOperation($interface);
- # This implements https://heycam.github.io/webidl/#legacy-platform-object-delete using
+ # This implements https://webidl.spec.whatwg.org/#legacy-platform-object-delete using
# the deleteProperty and deletePropertyByIndex override hooks.
assert("Named property deleters are not allowed without a corresponding named property getter.") if !GetNamedGetterOperation($interface);
@@ -1923,7 +1923,7 @@
return 1 if $codeGenerator->IsConstructorType($attribute->type);
# [LegacyUnforgeable] attributes should be on the instance.
- # https://heycam.github.io/webidl/#LegacyUnforgeable
+ # https://webidl.spec.whatwg.org/#LegacyUnforgeable
return 1 if IsLegacyUnforgeable($interface, $attribute);
if ($interface->extendedAttributes->{CheckSecurity}) {
@@ -1986,7 +1986,7 @@
|| $context->extendedAttributes->{SettingsConditionallyReadWrite}
}
-# https://heycam.github.io/webidl/#es-operations
+# https://webidl.spec.whatwg.org/#es-operations
sub OperationShouldBeOnInstance
{
my ($interface, $operation) = @_;
@@ -1993,7 +1993,7 @@
return 1 if IsGlobalInterface($interface);
- # [LegacyUnforgeable] operations should be on the instance. https://heycam.github.io/webidl/#LegacyUnforgeable
+ # [LegacyUnforgeable] operations should be on the instance. https://webidl.spec.whatwg.org/#LegacyUnforgeable
if (IsLegacyUnforgeable($interface, $operation)) {
assert("The bindings generator does not support putting runtime-enabled operations on the instance yet (except for global objects):[" . $interface->type->name . "::" . $operation->name . "]") if NeedsRuntimeCheck($interface, $operation);
return 1;
@@ -2568,7 +2568,7 @@
AddToImplIncludes("<_javascript_Core/JSCInlines.h>");
AddToImplIncludes("JSDOMConvertDictionary.h");
- # https://heycam.github.io/webidl/#es-dictionary
+ # https://webidl.spec.whatwg.org/#es-dictionary
$result .= "template<> $className convertDictionary<$className>(JSGlobalObject& lexicalGlobalObject, JSValue value)\n";
$result .= "{\n";
$result .= " VM& vm = JSC::getVM(&lexicalGlobalObject);\n";
@@ -4162,7 +4162,7 @@
}
}
-# https://heycam.github.io/webidl/#es-iterator
+# https://webidl.spec.whatwg.org/#es-iterator
sub InterfaceNeedsIterator
{
my ($interface) = @_;
@@ -5451,7 +5451,7 @@
push(@$outputArray, " auto& impl = thisObject.wrapped();\n") if !$attribute->isStatic;
if ($codeGenerator->IsEnumType($attribute->type)) {
- # As per section 3.5.6 of https://heycam.github.io/webidl/#dfn-attribute-setter, enumerations do not use
+ # As per section 3.5.6 of https://webidl.spec.whatwg.org/#dfn-attribute-setter, enumerations do not use
# the standard conversion, but rather silently fail on invalid enumeration values.
push(@$outputArray, " auto optionalNativeValue = parseEnumeration<" . GetEnumerationClassName($attribute->type, $interface) . ">(lexicalGlobalObject, value);\n");
push(@$outputArray, " RETURN_IF_EXCEPTION(throwScope, false);\n");
@@ -5589,7 +5589,7 @@
GenerateCustomElementReactionsStackIfNeeded($outputArray, $operation, "*lexicalGlobalObject") unless $generatingOverloadDispatcher;
# For overloads, we generate the security check in the overload dispatcher, instead of the body of each overload, as per specification:
- # https://heycam.github.io/webidl/#dfn-create-operation-function
+ # https://webidl.spec.whatwg.org/#dfn-create-operation-function
if (!$isOverloaded || $generatingOverloadDispatcher) {
if ($interface->extendedAttributes->{CheckSecurity} and !$operation->extendedAttributes->{DoNotCheckSecurity}) {
assert("Security checks are not supported for static operations.") if $operation->isStatic;
@@ -5783,7 +5783,7 @@
{
my ($outputArray, $interface, $className, $operation) = @_;
- # https://heycam.github.io/webidl/#es-default-tojson
+ # https://webidl.spec.whatwg.org/#es-default-tojson
my @inheritenceStack = ();
push(@inheritenceStack, $interface);
@@ -7823,7 +7823,7 @@
# There must exist an interface prototype object for every non-callback interface defined, regardless
# of whether the interface was declared with the [LegacyNoInterfaceObject] extended attribute.
- # https://heycam.github.io/webidl/#interface-prototype-object
+ # https://webidl.spec.whatwg.org/#interface-prototype-object
if ($interface->isCallback) {
push(@$outputArray, " UNUSED_PARAM(globalObject);\n");
} else {
Modified: trunk/Source/WebCore/bindings/scripts/IDLAttributes.json (285097 => 285098)
--- trunk/Source/WebCore/bindings/scripts/IDLAttributes.json 2021-10-31 20:31:14 UTC (rev 285097)
+++ trunk/Source/WebCore/bindings/scripts/IDLAttributes.json 2021-10-31 21:40:58 UTC (rev 285098)
@@ -24,7 +24,7 @@
"AllowShared": {
"contextsAllowed": ["type"],
"standard": {
- "url": "https://heycam.github.io/webidl/#AllowShared"
+ "url": "https://webidl.spec.whatwg.org/#AllowShared"
}
},
"AppleCopyright": {
@@ -63,7 +63,7 @@
"Clamp": {
"contextsAllowed": ["type"],
"standard": {
- "url": "https://heycam.github.io/webidl/#Clamp"
+ "url": "https://webidl.spec.whatwg.org/#Clamp"
}
},
"Conditional": {
@@ -196,7 +196,7 @@
"EnforceRange": {
"contextsAllowed": ["type"],
"standard": {
- "url": "https://heycam.github.io/webidl/#EnforceRange"
+ "url": "https://webidl.spec.whatwg.org/#EnforceRange"
}
},
"Exception": {
@@ -216,7 +216,7 @@
"contextsAllowed": ["interface", "namespace", "attribute", "operation", "constant"],
"values": ["*"],
"standard": {
- "url": "https://heycam.github.io/webidl/#Exposed"
+ "url": "https://webidl.spec.whatwg.org/#Exposed"
}
},
"GenerateIsReachable": {
@@ -231,7 +231,7 @@
"contextsAllowed": ["interface"],
"values": ["*"],
"standard": {
- "url": "https://heycam.github.io/webidl/#Global"
+ "url": "https://webidl.spec.whatwg.org/#Global"
}
},
"HTMLConstructor": {
@@ -294,7 +294,7 @@
"contextsAllowed": ["interface"],
"values": ["*"],
"standard": {
- "url": "https://heycam.github.io/webidl/#LegacyFactoryFunction"
+ "url": "https://webidl.spec.whatwg.org/#LegacyFactoryFunction"
}
},
"LegacyFactoryFunctionCallWith": {
@@ -310,7 +310,7 @@
"LegacyLenientSetter": {
"contextsAllowed": ["attribute"],
"standard": {
- "url": "https://heycam.github.io/webidl/#LegacyLenientSetter"
+ "url": "https://webidl.spec.whatwg.org/#LegacyLenientSetter"
},
"unsupported": true
},
@@ -317,13 +317,13 @@
"LegacyLenientThis": {
"contextsAllowed": ["attribute"],
"standard": {
- "url": "https://heycam.github.io/webidl/#LegacyLenientThis"
+ "url": "https://webidl.spec.whatwg.org/#LegacyLenientThis"
}
},
"LegacyNamespace": {
"contextsAllowed": ["interface"],
"standard": {
- "url": "https://heycam.github.io/webidl/#LegacyNamespace"
+ "url": "https://webidl.spec.whatwg.org/#LegacyNamespace"
},
"unsupported": true
},
@@ -330,25 +330,25 @@
"LegacyNoInterfaceObject": {
"contextsAllowed": ["interface"],
"standard": {
- "url": "https://heycam.github.io/webidl/#LegacyNoInterfaceObject"
+ "url": "https://webidl.spec.whatwg.org/#LegacyNoInterfaceObject"
}
},
"LegacyNullToEmptyString": {
"contextsAllowed": ["type"],
"standard": {
- "url": "https://heycam.github.io/webidl/#LegacyNullToEmptyString"
+ "url": "https://webidl.spec.whatwg.org/#LegacyNullToEmptyString"
}
},
"LegacyOverrideBuiltIns": {
"contextsAllowed": ["interface"],
"standard": {
- "url": "https://heycam.github.io/webidl/#LegacyOverrideBuiltIns"
+ "url": "https://webidl.spec.whatwg.org/#LegacyOverrideBuiltIns"
}
},
"LegacyTreatNonObjectAsNull": {
"contextsAllowed": ["callback-function"],
"standard": {
- "url": "https://heycam.github.io/webidl/#LegacyTreatNonObjectAsNull"
+ "url": "https://webidl.spec.whatwg.org/#LegacyTreatNonObjectAsNull"
},
"unsupported": true
},
@@ -355,13 +355,13 @@
"LegacyUnenumerableNamedProperties": {
"contextsAllowed": ["interface"],
"standard": {
- "url": "https://heycam.github.io/webidl/#LegacyUnenumerableNamedProperties"
+ "url": "https://webidl.spec.whatwg.org/#LegacyUnenumerableNamedProperties"
}
},
"LegacyUnforgeable": {
"contextsAllowed": ["attribute", "operation", "interface"],
"standard": {
- "url": "https://heycam.github.io/webidl/#LegacyUnforgeable"
+ "url": "https://webidl.spec.whatwg.org/#LegacyUnforgeable"
}
},
"LegacyWindowAlias": {
@@ -368,7 +368,7 @@
"contextsAllowed": ["interface"],
"values": ["*"],
"standard": {
- "url": "https://heycam.github.io/webidl/#LegacyWindowAlias"
+ "url": "https://webidl.spec.whatwg.org/#LegacyWindowAlias"
}
},
"MasqueradesAsUndefined": {
@@ -380,7 +380,7 @@
"NewObject": {
"contextsAllowed": ["operation", "attribute"],
"standard": {
- "url": "https://heycam.github.io/webidl/#NewObject"
+ "url": "https://webidl.spec.whatwg.org/#NewObject"
}
},
"NotEnumerable": {
@@ -411,7 +411,7 @@
"contextsAllowed": ["attribute"],
"values": ["*"],
"standard": {
- "url": "https://heycam.github.io/webidl/#PutForwards"
+ "url": "https://webidl.spec.whatwg.org/#PutForwards"
}
},
"Reflect": {
@@ -421,7 +421,7 @@
"Replaceable": {
"contextsAllowed": ["attribute"],
"standard": {
- "url": "https://heycam.github.io/webidl/#Replaceable"
+ "url": "https://webidl.spec.whatwg.org/#Replaceable"
}
},
"ReportExtraMemoryCost": {
@@ -450,7 +450,7 @@
"SameObject": {
"contextsAllowed": ["attribute"],
"standard": {
- "url": "https://heycam.github.io/webidl/#SameObject"
+ "url": "https://webidl.spec.whatwg.org/#SameObject"
},
"unsupported": true
},
@@ -457,7 +457,7 @@
"SecureContext": {
"contextsAllowed": ["interface", "dictionary", "enum", "attribute", "operation", "constant"],
"standard": {
- "url": "https://heycam.github.io/webidl/#SecureContext"
+ "url": "https://webidl.spec.whatwg.org/#SecureContext"
}
},
"Serializable": {
@@ -499,7 +499,7 @@
"Unscopable": {
"contextsAllowed": ["attribute", "operation"],
"standard": {
- "url": "https://heycam.github.io/webidl/#Unscopable"
+ "url": "https://webidl.spec.whatwg.org/#Unscopable"
}
},
"WindowEventHandler": {
Modified: trunk/Source/WebCore/bindings/scripts/IDLParser.pm (285097 => 285098)
--- trunk/Source/WebCore/bindings/scripts/IDLParser.pm 2021-10-31 20:31:14 UTC (rev 285097)
+++ trunk/Source/WebCore/bindings/scripts/IDLParser.pm 2021-10-31 21:40:58 UTC (rev 285098)
@@ -47,7 +47,7 @@
fileName => '$',
});
-# https://heycam.github.io/webidl/#idl-types
+# https://webidl.spec.whatwg.org/#idl-types
struct( IDLType => {
name => '$', # Type identifier
isNullable => '$', # Is the type Nullable (T?)
@@ -86,7 +86,7 @@
extendedAttributes => '%',
});
-# https://heycam.github.io/webidl/#idl-operations
+# https://webidl.spec.whatwg.org/#idl-operations
struct( IDLOperation => {
name => '$',
type => 'IDLType', # Return type
@@ -98,7 +98,7 @@
extendedAttributes => '%',
});
-# https://heycam.github.io/webidl/#idl-attributes
+# https://webidl.spec.whatwg.org/#idl-attributes
struct( IDLAttribute => {
name => '$',
type => 'IDLType',
@@ -110,7 +110,7 @@
extendedAttributes => '%',
});
-# https://heycam.github.io/webidl/#idl-iterable
+# https://webidl.spec.whatwg.org/#idl-iterable
struct( IDLIterable => {
isKeyValue => '$',
keyType => 'IDLType',
@@ -119,7 +119,7 @@
extendedAttributes => '%',
});
-# https://heycam.github.io/webidl/#idl-async-iterable
+# https://webidl.spec.whatwg.org/#idl-async-iterable
struct( IDLAsyncIterable => {
isKeyValue => '$',
keyType => 'IDLType',
@@ -128,7 +128,7 @@
extendedAttributes => '%',
});
-# https://heycam.github.io/webidl/#es-maplike
+# https://webidl.spec.whatwg.org/#es-maplike
struct( IDLMapLike => {
isReadOnly => '$',
keyType => 'IDLType',
@@ -136,7 +136,7 @@
extendedAttributes => '%',
});
-# https://heycam.github.io/webidl/#es-setlike
+# https://webidl.spec.whatwg.org/#es-setlike
struct( IDLSetLike => {
isReadOnly => '$',
itemType => 'IDLType',
@@ -143,7 +143,7 @@
extendedAttributes => '%',
});
-# https://heycam.github.io/webidl/#idl-constants
+# https://webidl.spec.whatwg.org/#idl-constants
struct( IDLConstant => {
name => '$',
type => 'IDLType',
@@ -151,7 +151,7 @@
extendedAttributes => '%',
});
-# https://heycam.github.io/webidl/#idl-enums
+# https://webidl.spec.whatwg.org/#idl-enums
struct( IDLEnum => {
name => '$',
type => 'IDLType',
@@ -159,7 +159,7 @@
extendedAttributes => '%',
});
-# https://heycam.github.io/webidl/#dfn-dictionary-member
+# https://webidl.spec.whatwg.org/#dfn-dictionary-member
struct( IDLDictionaryMember => {
name => '$',
type => 'IDLType',
@@ -168,7 +168,7 @@
extendedAttributes => '%',
});
-# https://heycam.github.io/webidl/#idl-dictionaries
+# https://webidl.spec.whatwg.org/#idl-dictionaries
struct( IDLDictionary => {
type => 'IDLType',
parentType => 'IDLType',
@@ -177,7 +177,7 @@
extendedAttributes => '%',
});
-# https://heycam.github.io/webidl/#idl-callback-functions
+# https://webidl.spec.whatwg.org/#idl-callback-functions
struct( IDLCallbackFunction => {
type => '$',
operation => 'IDLOperation',
@@ -184,7 +184,7 @@
extendedAttributes => '%',
});
-# https://heycam.github.io/webidl/#idl-namespaces
+# https://webidl.spec.whatwg.org/#idl-namespaces
struct( IDLNamespace => {
name => '$',
operations => '@', # List of 'IDLOperation'
@@ -193,7 +193,7 @@
extendedAttributes => '%',
});
-# https://heycam.github.io/webidl/#includes-statement
+# https://webidl.spec.whatwg.org/#includes-statement
struct( IDLIncludesStatement => {
interfaceIdentifier => '$',
mixinIdentifier => '$',
@@ -200,7 +200,7 @@
extendedAttributes => '%',
});
-# https://heycam.github.io/webidl/#idl-typedefs
+# https://webidl.spec.whatwg.org/#idl-typedefs
struct( IDLTypedef => {
type => 'IDLType',
});
Modified: trunk/Source/WebCore/bindings/scripts/preprocess-idls.pl (285097 => 285098)
--- trunk/Source/WebCore/bindings/scripts/preprocess-idls.pl 2021-10-31 20:31:14 UTC (rev 285097)
+++ trunk/Source/WebCore/bindings/scripts/preprocess-idls.pl 2021-10-31 21:40:58 UTC (rev 285098)
@@ -239,7 +239,7 @@
# - is a callback interface that has constants declared on it, or
# - is a non-callback interface that is not declared with the [LegacyNoInterfaceObject] extended attribute, a corresponding
# property must exist on the ECMAScript environment's global object.
- # See https://heycam.github.io/webidl/#es-interfaces
+ # See https://webidl.spec.whatwg.org/#es-interfaces
my $extendedAttributes = getInterfaceExtendedAttributesFromIDL($idlFile);
if (!$extendedAttributes->{"LegacyNoInterfaceObject"} && (!$isCallbackInterface || containsInterfaceWithConstantsFromIDL($idlFile))) {
my $exposedAttribute = $extendedAttributes->{"Exposed"};
@@ -594,7 +594,7 @@
}
# identifier-A includes identifier-B;
-# https://heycam.github.io/webidl/#includes-statement
+# https://webidl.spec.whatwg.org/#includes-statement
sub getIncludedInterfacesFromIDL
{
my $idlFile = shift;
Modified: trunk/Source/WebCore/dom/ExceptionCode.h (285097 => 285098)
--- trunk/Source/WebCore/dom/ExceptionCode.h 2021-10-31 20:31:14 UTC (rev 285097)
+++ trunk/Source/WebCore/dom/ExceptionCode.h 2021-10-31 21:40:58 UTC (rev 285098)
@@ -23,7 +23,7 @@
namespace WebCore {
enum ExceptionCode {
- // DOMException error names (https://heycam.github.io/webidl/#idl-DOMException-error-names).
+ // DOMException error names (https://webidl.spec.whatwg.org/#idl-DOMException-error-names).
// Those need to be kept in sync with the array in DOMException.cpp.
IndexSizeError, // Deprecated. Use RangeError instead.
HierarchyRequestError,
@@ -58,7 +58,7 @@
OperationError,
NotAllowedError,
- // Simple exceptions (https://heycam.github.io/webidl/#idl-exceptions).
+ // Simple exceptions (https://webidl.spec.whatwg.org/#idl-exceptions).
RangeError,
TypeError,
JSSyntaxError, // Different from DOM SYNTAX_ERR.