From 9885724d7d87660e92372819a83c61fdaa1d2442 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 26 Oct 2023 12:25:20 +0000 Subject: [PATCH] Deploy to GitHub pages --- doc/boa_engine/string/macro.utf16.html | 2 +- doc/boa_engine/value/derive.TryFromJs.html | 2 +- doc/boa_gc/derive.Finalize.html | 2 +- doc/boa_gc/derive.Trace.html | 2 +- doc/boa_runtime/console/fn.formatter.html | 2 +- doc/boa_runtime/console/struct.Console.html | 140 +++++++++--------- doc/boa_runtime/struct.Console.html | 140 +++++++++--------- doc/boa_tester/exec/fn.is_error_type.html | 4 +- doc/boa_tester/exec/fn.register_print_fn.html | 2 +- .../exec/js262/fn.create_realm.html | 8 +- .../exec/js262/fn.detach_array_buffer.html | 8 +- doc/boa_tester/exec/js262/fn.eval_script.html | 8 +- doc/boa_tester/exec/js262/fn.gc.html | 8 +- .../exec/js262/fn.register_js262.html | 2 +- doc/boa_tester/fn.run_test_suite.html | 2 +- doc/boa_tester/struct.Test.html | 6 +- doc/boa_tester/struct.TestSuite.html | 2 +- 17 files changed, 170 insertions(+), 170 deletions(-) diff --git a/doc/boa_engine/string/macro.utf16.html b/doc/boa_engine/string/macro.utf16.html index 6bade2fcd41..8c6c42a8bc1 100644 --- a/doc/boa_engine/string/macro.utf16.html +++ b/doc/boa_engine/string/macro.utf16.html @@ -1,2 +1,2 @@ -utf16 in boa_engine::string - Rust

Macro boa_engine::string::utf16

utf16!() { /* proc-macro */ }
Expand description

Construct a utf-16 array literal from a utf-8 str literal.

+utf16 in boa_engine::string - Rust

Macro boa_engine::string::utf16

source ·
utf16!() { /* proc-macro */ }
Expand description

Construct a utf-16 array literal from a utf-8 str literal.

\ No newline at end of file diff --git a/doc/boa_engine/value/derive.TryFromJs.html b/doc/boa_engine/value/derive.TryFromJs.html index 998804e2a3b..c42504ede81 100644 --- a/doc/boa_engine/value/derive.TryFromJs.html +++ b/doc/boa_engine/value/derive.TryFromJs.html @@ -1,4 +1,4 @@ -TryFromJs in boa_engine::value - Rust

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 Macro boa_gc::Finalize

#[derive(Finalize)]
Expand description

Derive the Finalize trait.

+Finalize in boa_gc - Rust

Derive Macro boa_gc::Finalize

source ·
#[derive(Finalize)]
Expand description

Derive the Finalize trait.

\ 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 Macro boa_gc::Trace

#[derive(Trace)]
+Trace in boa_gc - Rust

Derive Macro boa_gc::Trace

source ·
#[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
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

source

pub const NAME: &'static str = "console"

Name of the built-in console property.

-
source

pub fn init(context: &mut Context<'_>) -> JsObject

Initializes the console built-in object.

+

Fields§

§count_map: FxHashMap<JsString, u32>§timer_map: FxHashMap<JsString, u128>§groups: Vec<String>

Implementations§

source§

impl Console

source

pub const NAME: &'static str = "console"

Name of the built-in console property.

+
source

pub fn init(context: &mut Context<'_>) -> JsObject

Initializes the console built-in object.

source

fn 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
  • source

    fn 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:

    source

    fn 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:

    source

    fn 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:

    source

    fn 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:

    source

    fn 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:

    source

    fn 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:

    source

    fn 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:

    source

    fn 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:

    source

    fn 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 @@
    source

    fn system_time_in_ms() -> u128

    Returns current system time in ms.

    source

    fn 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:

    source

    fn 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:

    source

    fn 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:

    source

    fn 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:

    source

    fn 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:

    source

    fn 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:

      @@ -212,8 +212,8 @@ U: From<T>,
      source§

      fn into(self) -> U

      Calls U::from(self).

      That is, this conversion is whatever the implementation of From<T> for U chooses to do.

      -
    source§

    impl<T> NativeObject for Twhere - T: Any + Trace,

    source§

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &dyn Any.
    source§

    fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &mut dyn Any.
    §

    impl<T> Pipe for Twhere +

    §

    impl<T> NativeObject for Twhere + T: Any + Trace,

    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &dyn Any.
    §

    fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &mut dyn Any.
    §

    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

    source

    pub const NAME: &'static str = "console"

    Name of the built-in console property.

    -
    source

    pub fn init(context: &mut Context<'_>) -> JsObject

    Initializes the console built-in object.

    +

    Fields§

    §count_map: FxHashMap<JsString, u32>§timer_map: FxHashMap<JsString, u128>§groups: Vec<String>

    Implementations§

    source§

    impl Console

    source

    pub const NAME: &'static str = "console"

    Name of the built-in console property.

    +
    source

    pub fn init(context: &mut Context<'_>) -> JsObject

    Initializes the console built-in object.

    source

    fn 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
  • source

    fn 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:

    source

    fn 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:

    source

    fn 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:

    source

    fn 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:

    source

    fn 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:

    source

    fn 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:

    source

    fn 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:

    source

    fn 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:

    source

    fn 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 @@
    source

    fn system_time_in_ms() -> u128

    Returns current system time in ms.

    source

    fn 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:

    source

    fn 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:

    source

    fn 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:

    source

    fn 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:

    source

    fn 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:

    source

    fn 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:

      @@ -212,8 +212,8 @@ U: From<T>,
      source§

      fn into(self) -> U

      Calls U::from(self).

      That is, this conversion is whatever the implementation of From<T> for U chooses to do.

      -
    source§

    impl<T> NativeObject for Twhere - T: Any + Trace,

    source§

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &dyn Any.
    source§

    fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &mut dyn Any.
    §

    impl<T> Pipe for Twhere +

    §

    impl<T> NativeObject for Twhere + T: Any + Trace,

    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &dyn Any.
    §

    fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &mut dyn Any.
    §

    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
    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
    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
    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
    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
    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
    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.

    source

    fn 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

    source

    fn 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

    source

    pub(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§

    source§

    impl Clone for TestSuite

    source§

    fn clone(&self) -> TestSuite

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TestSuite

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    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§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere