Skip to content

Commit e776fc6

Browse files
authored
Remove HostEnsureCanCompileStrings and HostGetCodeForEval (#523)
These have been upstreamed to the HTML spec
1 parent a1862e5 commit e776fc6

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

spec/index.bs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,23 +1274,6 @@ The first few steps of the [=prepare the script element=] algorithm are modified
12741274
<li>...
12751275
</ol>
12761276

1277-
### HostEnsureCanCompileStrings ### {#host-ensure-can-compile-strings}
1278-
1279-
JavaScript contains an <span>implementation-defined</span> <a href="https://tc39.es/ecma262/#sec-hostensurecancompilestrings">HostEnsureCanCompileStrings</a>(<var>realm</var>, <ins><var>parameterStrings</var>,
1280-
<var>bodyString</var>, <var>compilationType</var>, <var>parameterArgs</var>, <var>bodyArg</var></ins>)
1281-
abstract operation. User agents must use the following implementation:
1282-
1283-
1. Perform ? [[CSP3#can-compile-strings|EnsureCSPDoesNotBlockStringCompilation]](<var>realm</var>, <ins><var>parameterStrings</var>,
1284-
<var>bodyString</var>, <var>compilationType</var>, <var>parameterArgs</var>, <var>bodyArg</var></ins>).
1285-
1286-
### HostGetCodeForEval ### {#host-get-code-for-eval}
1287-
1288-
JavaScript contains an <span>implementation-defined</span> <a href="https://tc39.es/ecma262/#sec-hostgetcodeforeval">HostGetCodeForEval</a>(<var>argument</var>)
1289-
abstract operation. User agents must use the following implementation:
1290-
1291-
1. If |argument| is a {{TrustedScript}} object, return the value of its associated [=TrustedScript/data=].
1292-
1. Return ~unknown~.
1293-
12941277
## Integration with DOM ## {#integration-with-dom}
12951278

12961279
Note: See [https://github.com/whatwg/dom/pull/1258](https://github.com/whatwg/dom/pull/1258) and [https://github.com/whatwg/dom/pull/1268](https://github.com/whatwg/dom/pull/1268) which upstream this integration.

0 commit comments

Comments
 (0)