From bd49a8ac66cad015cb83fd00bdf0c6c2aba0f5c6 Mon Sep 17 00:00:00 2001
From: Anne van Kesteren
Authors who reference resources from other origins
- that they do not trust are urged to use the typemustmatch
attribute defined below. Without that
- attribute, it is possible in certain cases for an attacker on the remote host to use the plugin
- mechanism to run arbitrary scripts, even if the author has used features such as the Flash
- "allowScriptAccess" parameter.
The type
attribute, if present, specifies the
type of the resource. If present, the attribute must be a valid MIME type string.
If the itemprop
attribute is specified on an object
element, then the data
attribute must also be specified.
The typemustmatch
attribute is a
- boolean attribute whose presence indicates that the resource specified by the data
attribute is only to be used if the value of the type
attribute and the Content-Type of the
- aforementioned resource match.
The typemustmatch
attribute must not be
- specified unless both the data
attribute and the type
attribute are present.
The If the If the The IDL attributes The IDL attributes The Optimize the linked resource so that it loads quickly or, at least, incrementally. Avoid using Use the Authors should avoid referencing untrusted resources, as such a resource can be
+ used to instantiate plugins or run scripts, even if the author has used features such as the Flash
+ "allowScriptAccess" parameter. If the Authors should avoid referencing untrusted resources, as such a resource can be
+ used to instantiate plugins or run scripts, even if the author has used features such as the Flash
+ "allowScriptAccess" parameter. The name
attribute, if present, must be a
valid browsing context name. The given value is used to name the nested
browsing context, if applicable, and if present when the nested browsing
@@ -31195,29 +31174,6 @@ interface HTMLObjectElement : HTMLElement {
- object
element has a type
- attribute and a typemustmatch
attribute, and
- the resource has associated Content-Type metadata, and the
- type specified in the resource's Content-Type metadata is
- an ASCII case-insensitive match for the value of the element's type
attribute, then let resource type
- be that type and jump to the step below labeled handler.object
element has a typemustmatch
attribute, jump to the step below
- labeled handler.data
, type
and name
each must reflect the respective
- content attributes of the same name. The typeMustMatch
IDL attribute must
- reflect the typemustmatch
content
- attribute. The useMap
IDL attribute must
- reflect the usemap
content attribute.data
, type
and name
each must reflect the respective
+ content attributes of the same name. The useMap
+ IDL attribute must reflect the usemap
+ content attribute.contentDocument
IDL attribute,
on getting, must return the object
element's standby
on object
elements
typemustmatch
on object
elementsobject
elements with untrusted resources.type
on param
elementsvaluetype
on param
elementsname
and External {
globals;
data
;
type
;
- typemustmatch
;
name
;
usemap
;
form
;
@@ -120218,11 +120177,6 @@ interface External {
script
Type of script
" module
"; a valid MIME type string that is not a JavaScript MIME type essence match
-
- typemustmatch
- object
- Whether the type
attribute and the Content-Type value need to match for the resource to be used
- Boolean attribute
usemap
img
;
From 0cc2fc48a4224956228e4b0cd8eb4c4dd42c0ed1 Mon Sep 17 00:00:00 2001
From: Anne van Kesteren itemprop
attribute is specified on an
embed
element, then the src
attribute must also
be specified.type
attribute, if present, specifies the
type of the resource. If present, the attribute must be a valid MIME type string.