Macro boa_engine::string::utf16
utf16!() { /* proc-macro */ }
Expand description
Construct a utf-16 array literal from a utf-8 str
literal.
Macro boa_engine::string::utf16
source · utf16!() { /* proc-macro */ }
Expand description
Construct a utf-16 array literal from a utf-8 str
literal.
Derive Macro boa_engine::value::TryFromJs
#[derive(TryFromJs)]
+TryFromJs in boa_engine::value - Rust Derive Macro boa_engine::value::TryFromJs
source · #[derive(TryFromJs)]
{
// Attributes available to this derive:
#[boa]
diff --git a/doc/boa_gc/derive.Finalize.html b/doc/boa_gc/derive.Finalize.html
index a6bccbe367b..5e7c7bf178e 100644
--- a/doc/boa_gc/derive.Finalize.html
+++ b/doc/boa_gc/derive.Finalize.html
@@ -1,2 +1,2 @@
-Finalize in boa_gc - Rust #[derive(Finalize)]
Expand description
Derive the Finalize
trait.
+Finalize in boa_gc - Rust
\ No newline at end of file
diff --git a/doc/boa_gc/derive.Trace.html b/doc/boa_gc/derive.Trace.html
index ef52d163155..cbecf978ba8 100644
--- a/doc/boa_gc/derive.Trace.html
+++ b/doc/boa_gc/derive.Trace.html
@@ -1,4 +1,4 @@
-Trace in boa_gc - Rust #[derive(Trace)]
+Trace in boa_gc - Rust #[derive(Trace)]
{
// Attributes available to this derive:
#[unsafe_ignore_trace]
diff --git a/doc/boa_runtime/console/fn.formatter.html b/doc/boa_runtime/console/fn.formatter.html
index 8480ba82eaa..6c617831613 100644
--- a/doc/boa_runtime/console/fn.formatter.html
+++ b/doc/boa_runtime/console/fn.formatter.html
@@ -1,2 +1,2 @@
-formatter in boa_runtime::console - Rust Function boa_runtime::console::formatter
source · fn formatter(data: &[JsValue], context: &mut Context<'_>) -> JsResult<String>
Expand description
This represents the console
formatter.
+formatter in boa_runtime::console - Rust Function boa_runtime::console::formatter
source · fn formatter(data: &[JsValue], context: &mut Context<'_>) -> JsResult<String>
Expand description
This represents the console
formatter.
\ No newline at end of file
diff --git a/doc/boa_runtime/console/struct.Console.html b/doc/boa_runtime/console/struct.Console.html
index 35db5207e90..14829dca612 100644
--- a/doc/boa_runtime/console/struct.Console.html
+++ b/doc/boa_runtime/console/struct.Console.html
@@ -1,16 +1,16 @@
Console in boa_runtime::console - Rust Struct boa_runtime::console::Console
source · pub struct Console {
- count_map: FxHashMap<JsString, u32>,
- timer_map: FxHashMap<JsString, u128>,
+ count_map: FxHashMap<JsString, u32>,
+ timer_map: FxHashMap<JsString, u128>,
groups: Vec<String>,
}
Expand description
This is the internal console object state.
-Fields§
§count_map: FxHashMap<JsString, u32>
§timer_map: FxHashMap<JsString, u128>
§groups: Vec<String>
Implementations§
source§impl Console
Fields§
§count_map: FxHashMap<JsString, u32>
§timer_map: FxHashMap<JsString, u128>
§groups: Vec<String>
Implementations§
source§impl Console
sourcefn assert(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.assert(condition, ...data)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.assert(condition, ...data)
Prints a JavaScript value to the standard error if first argument evaluates to false
or there
were no arguments.
More information:
@@ -19,11 +19,11 @@
WHATWG console
specification
sourcefn clear(
- _: &JsValue,
- _: &[JsValue],
+ _: &JsValue,
+ _: &[JsValue],
console: &mut Self,
- _: &mut Context<'_>
-) -> JsResult<JsValue>
console.clear()
+ _: &mut Context<'_>
+) -> JsResult<JsValue>console.clear()
Removes all groups and clears console if possible.
More information:
@@ -31,11 +31,11 @@
- WHATWG
console
specification
sourcefn debug(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.debug(...data)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.debug(...data)
Prints a JavaScript values with “debug” logLevel.
More information:
@@ -43,11 +43,11 @@
- WHATWG
console
specification
sourcefn error(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.error(...data)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.error(...data)
Prints a JavaScript values with “error” logLevel.
More information:
@@ -55,11 +55,11 @@
- WHATWG
console
specification
sourcefn info(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.info(...data)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.info(...data)
Prints a JavaScript values with “info” logLevel.
More information:
@@ -67,11 +67,11 @@
- WHATWG
console
specification
sourcefn log(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.log(...data)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.log(...data)
Prints a JavaScript values with “log” logLevel.
More information:
@@ -79,11 +79,11 @@
- WHATWG
console
specification
sourcefn trace(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.trace(...data)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.trace(...data)
Prints a stack trace with “trace” logLevel, optionally labelled by data.
More information:
@@ -91,11 +91,11 @@
- WHATWG
console
specification
sourcefn warn(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.warn(...data)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.warn(...data)
Prints a JavaScript values with “warn” logLevel.
More information:
@@ -103,11 +103,11 @@
- WHATWG
console
specification
sourcefn count(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &mut Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.count(label)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.count(label)
Prints number of times the function was called with that particular label.
More information:
@@ -115,11 +115,11 @@
- WHATWG
console
specification
sourcefn count_reset(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &mut Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.countReset(label)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.countReset(label)
Resets the counter for label.
More information:
@@ -128,11 +128,11 @@
sourcefn system_time_in_ms() -> u128
Returns current system time in ms.
sourcefn time(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &mut Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.time(label)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.time(label)
Starts the timer for given label.
More information:
@@ -140,11 +140,11 @@
- WHATWG
console
specification
sourcefn time_log(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.timeLog(label, ...data)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.timeLog(label, ...data)
Prints elapsed time for timer with given label.
More information:
@@ -152,11 +152,11 @@
- WHATWG
console
specification
sourcefn time_end(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &mut Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.timeEnd(label)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.timeEnd(label)
Removes the timer with given label.
More information:
@@ -164,11 +164,11 @@
- WHATWG
console
specification
sourcefn group(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &mut Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.group(...data)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.group(...data)
Adds new group with name from formatted data to stack.
More information:
@@ -176,11 +176,11 @@
- WHATWG
console
specification
sourcefn group_end(
- _: &JsValue,
- _: &[JsValue],
+ _: &JsValue,
+ _: &[JsValue],
console: &mut Self,
- _: &mut Context<'_>
-) -> JsResult<JsValue>
console.groupEnd(label)
+ _: &mut Context<'_>
+) -> JsResult<JsValue>console.groupEnd(label)
Removes the last group from the stack.
More information:
@@ -188,11 +188,11 @@
- WHATWG
console
specification
sourcefn dir(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &Self,
- _: &mut Context<'_>
-) -> JsResult<JsValue>
console.dir(item, options)
+ _: &mut Context<'_>
+) -> JsResult<JsValue>console.dir(item, options)
Prints info about item
More information:
§impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
diff --git a/doc/boa_runtime/struct.Console.html b/doc/boa_runtime/struct.Console.html
index 67e5066fe7e..3a9411b0ef2 100644
--- a/doc/boa_runtime/struct.Console.html
+++ b/doc/boa_runtime/struct.Console.html
@@ -1,16 +1,16 @@
Console in boa_runtime - Rust Struct boa_runtime::Console
source · pub struct Console {
- count_map: FxHashMap<JsString, u32>,
- timer_map: FxHashMap<JsString, u128>,
+ count_map: FxHashMap<JsString, u32>,
+ timer_map: FxHashMap<JsString, u128>,
groups: Vec<String>,
}
Expand description
This is the internal console object state.
-Fields§
§count_map: FxHashMap<JsString, u32>
§timer_map: FxHashMap<JsString, u128>
§groups: Vec<String>
Implementations§
source§impl Console
Fields§
§count_map: FxHashMap<JsString, u32>
§timer_map: FxHashMap<JsString, u128>
§groups: Vec<String>
Implementations§
source§impl Console
sourcefn assert(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.assert(condition, ...data)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.assert(condition, ...data)
Prints a JavaScript value to the standard error if first argument evaluates to false
or there
were no arguments.
More information:
@@ -19,11 +19,11 @@
WHATWG console
specification
sourcefn clear(
- _: &JsValue,
- _: &[JsValue],
+ _: &JsValue,
+ _: &[JsValue],
console: &mut Self,
- _: &mut Context<'_>
-) -> JsResult<JsValue>
console.clear()
+ _: &mut Context<'_>
+) -> JsResult<JsValue>console.clear()
Removes all groups and clears console if possible.
More information:
@@ -31,11 +31,11 @@
- WHATWG
console
specification
sourcefn debug(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.debug(...data)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.debug(...data)
Prints a JavaScript values with “debug” logLevel.
More information:
@@ -43,11 +43,11 @@
- WHATWG
console
specification
sourcefn error(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.error(...data)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.error(...data)
Prints a JavaScript values with “error” logLevel.
More information:
@@ -55,11 +55,11 @@
- WHATWG
console
specification
sourcefn info(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.info(...data)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.info(...data)
Prints a JavaScript values with “info” logLevel.
More information:
@@ -67,11 +67,11 @@
- WHATWG
console
specification
sourcefn log(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.log(...data)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.log(...data)
Prints a JavaScript values with “log” logLevel.
More information:
@@ -79,11 +79,11 @@
- WHATWG
console
specification
sourcefn trace(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.trace(...data)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.trace(...data)
Prints a stack trace with “trace” logLevel, optionally labelled by data.
More information:
@@ -91,11 +91,11 @@
- WHATWG
console
specification
sourcefn warn(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.warn(...data)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.warn(...data)
Prints a JavaScript values with “warn” logLevel.
More information:
@@ -103,11 +103,11 @@
- WHATWG
console
specification
sourcefn count(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &mut Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.count(label)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.count(label)
Prints number of times the function was called with that particular label.
More information:
@@ -115,11 +115,11 @@
- WHATWG
console
specification
sourcefn count_reset(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &mut Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.countReset(label)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.countReset(label)
Resets the counter for label.
More information:
@@ -128,11 +128,11 @@
sourcefn system_time_in_ms() -> u128
Returns current system time in ms.
sourcefn time(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &mut Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.time(label)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.time(label)
Starts the timer for given label.
More information:
@@ -140,11 +140,11 @@
- WHATWG
console
specification
sourcefn time_log(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.timeLog(label, ...data)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.timeLog(label, ...data)
Prints elapsed time for timer with given label.
More information:
@@ -152,11 +152,11 @@
- WHATWG
console
specification
sourcefn time_end(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &mut Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.timeEnd(label)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.timeEnd(label)
Removes the timer with given label.
More information:
@@ -164,11 +164,11 @@
- WHATWG
console
specification
sourcefn group(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &mut Self,
- context: &mut Context<'_>
-) -> JsResult<JsValue>
console.group(...data)
+ context: &mut Context<'_>
+) -> JsResult<JsValue>console.group(...data)
Adds new group with name from formatted data to stack.
More information:
@@ -176,11 +176,11 @@
- WHATWG
console
specification
sourcefn group_end(
- _: &JsValue,
- _: &[JsValue],
+ _: &JsValue,
+ _: &[JsValue],
console: &mut Self,
- _: &mut Context<'_>
-) -> JsResult<JsValue>
console.groupEnd(label)
+ _: &mut Context<'_>
+) -> JsResult<JsValue>console.groupEnd(label)
Removes the last group from the stack.
More information:
@@ -188,11 +188,11 @@
- WHATWG
console
specification
sourcefn dir(
- _: &JsValue,
- args: &[JsValue],
+ _: &JsValue,
+ args: &[JsValue],
console: &Self,
- _: &mut Context<'_>
-) -> JsResult<JsValue>
console.dir(item, options)
+ _: &mut Context<'_>
+) -> JsResult<JsValue>console.dir(item, options)
Prints info about item
More information:
§impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
diff --git a/doc/boa_tester/exec/fn.is_error_type.html b/doc/boa_tester/exec/fn.is_error_type.html
index 6494372cdd8..e5c25d8e23c 100644
--- a/doc/boa_tester/exec/fn.is_error_type.html
+++ b/doc/boa_tester/exec/fn.is_error_type.html
@@ -1,6 +1,6 @@
is_error_type in boa_tester::exec - Rust Function boa_tester::exec::is_error_type
source · fn is_error_type(
- error: &JsError,
+ error: &JsError,
target_type: ErrorType,
- context: &mut Context<'_>
+ context: &mut Context<'_>
) -> bool
Expand description
Returns true
if error
is a target_type
error.
\ No newline at end of file
diff --git a/doc/boa_tester/exec/fn.register_print_fn.html b/doc/boa_tester/exec/fn.register_print_fn.html
index adb1eff9f24..8c86c7c0b11 100644
--- a/doc/boa_tester/exec/fn.register_print_fn.html
+++ b/doc/boa_tester/exec/fn.register_print_fn.html
@@ -1,2 +1,2 @@
-register_print_fn in boa_tester::exec - Rust Function boa_tester::exec::register_print_fn
source · fn register_print_fn(context: &mut Context<'_>, async_result: AsyncResult)
Expand description
Registers the print function in the context.
+register_print_fn in boa_tester::exec - Rust Function boa_tester::exec::register_print_fn
source · fn register_print_fn(context: &mut Context<'_>, async_result: AsyncResult)
Expand description
Registers the print function in the context.
\ No newline at end of file
diff --git a/doc/boa_tester/exec/js262/fn.create_realm.html b/doc/boa_tester/exec/js262/fn.create_realm.html
index f1041b1fec3..6c5f8779bb1 100644
--- a/doc/boa_tester/exec/js262/fn.create_realm.html
+++ b/doc/boa_tester/exec/js262/fn.create_realm.html
@@ -1,8 +1,8 @@
create_realm in boa_tester::exec::js262 - Rust Function boa_tester::exec::js262::create_realm
source · fn create_realm(
- _: &JsValue,
- _: &[JsValue],
- _: &mut Context<'_>
-) -> JsResult<JsValue>
Expand description
The $262.createRealm()
function.
+ _: &JsValue,
+ _: &[JsValue],
+ _: &mut Context<'_>
+) -> JsResult<JsValue>Expand description
The $262.createRealm()
function.
Creates a new ECMAScript Realm, defines this API on the new realm’s global object, and
returns the $262
property of the new realm’s global object.
\ No newline at end of file
diff --git a/doc/boa_tester/exec/js262/fn.detach_array_buffer.html b/doc/boa_tester/exec/js262/fn.detach_array_buffer.html
index 537f4f8fb22..f64f1c70584 100644
--- a/doc/boa_tester/exec/js262/fn.detach_array_buffer.html
+++ b/doc/boa_tester/exec/js262/fn.detach_array_buffer.html
@@ -1,7 +1,7 @@
detach_array_buffer in boa_tester::exec::js262 - Rust Function boa_tester::exec::js262::detach_array_buffer
source · fn detach_array_buffer(
- _: &JsValue,
- args: &[JsValue],
- _: &mut Context<'_>
-) -> JsResult<JsValue>
Expand description
The $262.detachArrayBuffer()
function.
+ _: &JsValue,
+ args: &[JsValue],
+ _: &mut Context<'_>
+) -> JsResult<JsValue>Expand description
The $262.detachArrayBuffer()
function.
Implements the DetachArrayBuffer
abstract operation.
\ No newline at end of file
diff --git a/doc/boa_tester/exec/js262/fn.eval_script.html b/doc/boa_tester/exec/js262/fn.eval_script.html
index 6039c60bb50..e726bb842ec 100644
--- a/doc/boa_tester/exec/js262/fn.eval_script.html
+++ b/doc/boa_tester/exec/js262/fn.eval_script.html
@@ -1,7 +1,7 @@
eval_script in boa_tester::exec::js262 - Rust Function boa_tester::exec::js262::eval_script
source · fn eval_script(
- _this: &JsValue,
- args: &[JsValue],
- context: &mut Context<'_>
-) -> JsResult<JsValue>
Expand description
The $262.evalScript()
function.
+ _this: &JsValue,
+ args: &[JsValue],
+ context: &mut Context<'_>
+) -> JsResult<JsValue>Expand description
The $262.evalScript()
function.
Accepts a string value as its first argument and executes it as an ECMAScript script.
\ No newline at end of file
diff --git a/doc/boa_tester/exec/js262/fn.gc.html b/doc/boa_tester/exec/js262/fn.gc.html
index a8e1822b143..98cb3c99e91 100644
--- a/doc/boa_tester/exec/js262/fn.gc.html
+++ b/doc/boa_tester/exec/js262/fn.gc.html
@@ -1,8 +1,8 @@
gc in boa_tester::exec::js262 - Rust Function boa_tester::exec::js262::gc
source · fn gc(
- _this: &JsValue,
- _: &[JsValue],
- _context: &mut Context<'_>
-) -> JsResult<JsValue>
Expand description
The $262.gc()
function.
+ _this: &JsValue,
+ _: &[JsValue],
+ _context: &mut Context<'_>
+) -> JsResult<JsValue>Expand description
The $262.gc()
function.
Wraps the host’s garbage collection invocation mechanism, if such a capability exists.
Must throw an exception if no capability exists. This is necessary for testing the
semantics of any feature that relies on garbage collection, e.g. the WeakRef
API.
diff --git a/doc/boa_tester/exec/js262/fn.register_js262.html b/doc/boa_tester/exec/js262/fn.register_js262.html
index 7634f7ad07c..69bc1601d71 100644
--- a/doc/boa_tester/exec/js262/fn.register_js262.html
+++ b/doc/boa_tester/exec/js262/fn.register_js262.html
@@ -1,2 +1,2 @@
-register_js262 in boa_tester::exec::js262 - Rust Function boa_tester::exec::js262::register_js262
source · pub(super) fn register_js262(context: &mut Context<'_>) -> JsObject
Expand description
Creates the object $262 in the context.
+register_js262 in boa_tester::exec::js262 - Rust Function boa_tester::exec::js262::register_js262
source · pub(super) fn register_js262(context: &mut Context<'_>) -> JsObject
Expand description
Creates the object $262 in the context.
\ No newline at end of file
diff --git a/doc/boa_tester/fn.run_test_suite.html b/doc/boa_tester/fn.run_test_suite.html
index a0246d57135..8a8d46ba768 100644
--- a/doc/boa_tester/fn.run_test_suite.html
+++ b/doc/boa_tester/fn.run_test_suite.html
@@ -7,6 +7,6 @@
output: Option<&Path>,
edition: SpecEdition,
versioned: bool,
- optimizer_options: OptimizerOptions
+ optimizer_options: OptimizerOptions
) -> Result<()>Expand description
Runs the full test suite.
\ No newline at end of file
diff --git a/doc/boa_tester/struct.Test.html b/doc/boa_tester/struct.Test.html
index 77edc0ded83..dd33ccad19f 100644
--- a/doc/boa_tester/struct.Test.html
+++ b/doc/boa_tester/struct.Test.html
@@ -16,19 +16,19 @@
&self,
harness: &Harness,
verbose: u8,
- optimizer_options: OptimizerOptions
+ optimizer_options: OptimizerOptions
) -> Vec<TestResult>Runs the test.
sourcefn run_once(
&self,
harness: &Harness,
strict: bool,
verbose: u8,
- optimizer_options: OptimizerOptions
+ optimizer_options: OptimizerOptions
) -> TestResult
Runs the test once, in strict or non-strict mode
sourcefn set_up_env(
&self,
harness: &Harness,
- context: &mut Context<'_>,
+ context: &mut Context<'_>,
async_result: AsyncResult
) -> Result<(), String>
Sets the environment up to run the test.
source§impl Test
sourcepub(crate) fn new<N, C>(name: N, path: C, metadata: MetaData) -> Result<Self>where
diff --git a/doc/boa_tester/struct.TestSuite.html b/doc/boa_tester/struct.TestSuite.html
index 281421ea9f4..a6e7c86a549 100644
--- a/doc/boa_tester/struct.TestSuite.html
+++ b/doc/boa_tester/struct.TestSuite.html
@@ -10,7 +10,7 @@
verbose: u8,
parallel: bool,
max_edition: SpecEdition,
- optimizer_options: OptimizerOptions
+ optimizer_options: OptimizerOptions
) -> SuiteResult
Runs the test suite.
Trait Implementations§
Auto Trait Implementations§
§impl RefUnwindSafe for TestSuite
§impl Send for TestSuite
§impl Sync for TestSuite
§impl Unpin for TestSuite
§impl UnwindSafe for TestSuite
Blanket Implementations§