mirror of
https://github.com/servo/servo.git
synced 2025-06-29 19:43:39 +01:00
Add a HOST_FILE env variable and fix the wdspec setup errors that it causes
This commit is contained in:
parent
5788e8c050
commit
1c4a35e22b
20 changed files with 5 additions and 230 deletions
|
@ -396,7 +396,7 @@ class MachCommands(CommandBase):
|
||||||
def _test_wpt(self, android=False, **kwargs):
|
def _test_wpt(self, android=False, **kwargs):
|
||||||
self.set_run_env(android)
|
self.set_run_env(android)
|
||||||
hosts_file_path = path.join(self.context.topdir, 'tests', 'wpt', 'hosts')
|
hosts_file_path = path.join(self.context.topdir, 'tests', 'wpt', 'hosts')
|
||||||
os.environ["hosts_file_path"] = hosts_file_path
|
os.environ["HOST_FILE"] = hosts_file_path
|
||||||
run_file = path.abspath(path.join(self.context.topdir, "tests", "wpt", "run.py"))
|
run_file = path.abspath(path.join(self.context.topdir, "tests", "wpt", "run.py"))
|
||||||
return self.wptrunner(run_file, **kwargs)
|
return self.wptrunner(run_file, **kwargs)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,2 @@
|
||||||
[delete.py]
|
[delete.py]
|
||||||
[test_null_response_value]
|
disabled: Triggers setup errors in other tests
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_dismissed_beforeunload_prompt]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
[scroll_into_view.py]
|
[scroll_into_view.py]
|
||||||
[test_element_outside_of_not_scrollable_viewport]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_option_select_container_outside_of_scrollable_viewport]
|
[test_option_select_container_outside_of_scrollable_viewport]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,28 +1,4 @@
|
||||||
[send_keys.py]
|
[send_keys.py]
|
||||||
[test_invalid_text_type[value4\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_invalid_text_type[None\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_null_response_value]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_invalid_text_type[value3\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_invalid_text_type[1\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_null_parameter_value]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_stale_element]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_no_browsing_context]
|
[test_no_browsing_context]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
|
|
||||||
[test_invalid_text_type[True\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -2,12 +2,3 @@
|
||||||
[test_idl_attribute_element]
|
[test_idl_attribute_element]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[test_script_defining_property]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_content_attribute]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_idl_attribute]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -59,12 +59,6 @@
|
||||||
[test_find_element_partial_link_text[<a href=#>PARTIAL LINK TEXT</a>-LINK\]]
|
[test_find_element_partial_link_text[<a href=#>PARTIAL LINK TEXT</a>-LINK\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[test_null_parameter_value]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_find_element[css selector-#linkText\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_find_element_partial_link_text[<a href=#>partial link text</a>-k t\]]
|
[test_find_element_partial_link_text[<a href=#>partial link text</a>-k t\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
[test_find_elements_link_text[<a href=#>LINK TEXT</a>-LINK TEXT\]]
|
[test_find_elements_link_text[<a href=#>LINK TEXT</a>-LINK TEXT\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[test_find_elements[css selector-#linkText\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_htmldocument[tag name-html\]]
|
[test_htmldocument[tag name-html\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,16 @@
|
||||||
[find.py]
|
[find.py]
|
||||||
[test_xhtml_namespace[css selector-#linkText\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_find_elements_link_text[<a href=#>LINK TEXT</a>-LINK TEXT\]]
|
[test_find_elements_link_text[<a href=#>LINK TEXT</a>-LINK TEXT\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[test_find_elements[css selector-#linkText\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_find_elements_link_text[<a href=#>link text</a>-link text\]]
|
[test_find_elements_link_text[<a href=#>link text</a>-link text\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[test_xhtml_namespace[xpath-//*[name()='a'\]\]]
|
[test_xhtml_namespace[xpath-//*[name()='a'\]\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[test_xhtml_namespace[css selector-#linkText\]]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
[test_find_elements[link text-full link text\]]
|
[test_find_elements[link text-full link text\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -50,9 +47,6 @@
|
||||||
[test_no_element[css selector-#wontExist\]]
|
[test_no_element[css selector-#wontExist\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[test_null_parameter_value]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_find_elements_partial_link_text[<a href=#>partial link&text</a>-k&t\]]
|
[test_find_elements_partial_link_text[<a href=#>partial link&text</a>-k&t\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -35,9 +35,6 @@
|
||||||
[test_boolean_attribute[audio-attrs0\]]
|
[test_boolean_attribute[audio-attrs0\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[test_element_stale]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_normal]
|
[test_normal]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,7 @@
|
||||||
[get.py]
|
[get.py]
|
||||||
[test_property_name_not_existent]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_element_not_found]
|
[test_element_not_found]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[test_element_stale]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_property_name_value]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_no_browsing_context]
|
[test_no_browsing_context]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
|
|
||||||
|
|
|
@ -2,12 +2,6 @@
|
||||||
[test_element_not_found]
|
[test_element_not_found]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[test_element_stale]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_no_browsing_context]
|
[test_no_browsing_context]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
|
|
||||||
[test_basic]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
[test_element_not_found]
|
[test_element_not_found]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[test_element_stale]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_no_browsing_context]
|
[test_no_browsing_context]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,3 @@
|
||||||
[test_no_browsing_context]
|
[test_no_browsing_context]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
|
|
||||||
[test_read_element_text]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
[test_no_browsing_context]
|
[test_no_browsing_context]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
|
|
||||||
[test_duplicated_cookie]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_get_named_cookie]
|
[test_get_named_cookie]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,106 +1,4 @@
|
||||||
[enabled.py]
|
[enabled.py]
|
||||||
[test_xhtml_form_control_enabled[input\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_fieldset_enabled_descendant[button\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_fieldset_enabled_descendant_legend[input\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_xhtml_form_control_enabled[textarea\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_form_control_disabled[textarea\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_fieldset_disabled_descendant_legend[button\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_xhtml_form_control_disabled[button\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_form_control_enabled[select\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_xhtml_form_control_disabled[textarea\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_xhtml_form_control_disabled[select\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_fieldset_disabled_descendant_legend[select\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_fieldset_disabled_descendant[input\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_xhtml_form_control_enabled[select\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_form_control_disabled[select\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_form_control_enabled[input\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_fieldset_disabled_descendant_legend[input\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_form_control_enabled[button\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_xml_always_not_enabled]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_fieldset_enabled_descendant[select\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_fieldset_disabled_descendant_legend[textarea\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_fieldset_enabled_descendant[textarea\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_element_stale]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_fieldset_enabled_descendant[input\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_form_control_enabled[textarea\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_form_control_disabled[button\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_fieldset_disabled_descendant[select\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_fieldset_disabled_descendant[button\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_xhtml_form_control_enabled[button\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_form_control_disabled[input\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_fieldset_enabled_descendant_legend[button\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_fieldset_enabled_descendant_legend[textarea\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_fieldset_disabled_descendant[textarea\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_fieldset_enabled_descendant_legend[select\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_no_browsing_context]
|
[test_no_browsing_context]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
|
|
||||||
[test_xhtml_form_control_disabled[input\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,4 @@
|
||||||
[selected.py]
|
[selected.py]
|
||||||
[test_checkbox_not_selected]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_element_stale]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_element_selected]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_element_checked]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_element_not_selected]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_no_browsing_context]
|
[test_no_browsing_context]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
|
|
||||||
|
|
|
@ -41,6 +41,3 @@
|
||||||
[test_height_width_larger_than_max]
|
[test_height_width_larger_than_max]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[test_negative_x_y]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
[cross_origin.py]
|
|
||||||
[test_nested_cross_origin_iframe]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_cross_origin_iframe]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -5,15 +5,9 @@
|
||||||
[test_frame_id_webelement_frame[1-bar\]]
|
[test_frame_id_webelement_frame[1-bar\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[test_frame_id_webelement_iframe[1-bar\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_frame_id_webelement_frame[0-foo\]]
|
[test_frame_id_webelement_frame[0-foo\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[test_frame_id_webelement_iframe[0-foo\]]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_frame_id_webelement_no_element_reference]
|
[test_frame_id_webelement_no_element_reference]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -23,9 +17,6 @@
|
||||||
[test_frame_id_number_index[0-foo\]]
|
[test_frame_id_number_index[0-foo\]]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[test_frame_id_null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_frame_id_webelement_stale_reference]
|
[test_frame_id_webelement_stale_reference]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,4 @@
|
||||||
[switch.py]
|
[switch.py]
|
||||||
[test_null_response_value]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[test_no_browsing_context]
|
[test_no_browsing_context]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
|
|
||||||
[test_stale_element_from_iframe]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue