1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
/**
* @fileoverview Defines the environment for testharness.js files. This
* is automatically included in (x)html files including
* /resources/testharness.js.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
"use strict";
// These globals are taken from dom/imptests/testharness.js, via the expose
// function.
module.exports = {
globals: {
EventWatcher: false,
test: false,
async_test: false,
promise_test: false,
promise_rejects: false,
generate_tests: false,
setup: false,
done: false,
on_event: false,
step_timeout: false,
format_value: false,
assert_true: false,
assert_false: false,
assert_equals: false,
assert_not_equals: false,
assert_in_array: false,
assert_object_equals: false,
assert_array_equals: false,
assert_approx_equals: false,
assert_less_than: false,
assert_greater_than: false,
assert_between_exclusive: false,
assert_less_than_equal: false,
assert_greater_than_equal: false,
assert_between_inclusive: false,
assert_regexp_match: false,
assert_class_string: false,
assert_exists: false,
assert_own_property: false,
assert_not_exists: false,
assert_inherits: false,
assert_idl_attribute: false,
assert_readonly: false,
assert_throws: false,
assert_unreaded: false,
assert_any: false,
fetch_tests_from_worker: false,
timeout: false,
add_start_callback: false,
add_test_state_callback: false,
add_result_callback: false,
add_completion_callback: false,
},
};
|