From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../contents/Forms/Not_Use/input_autocomplete.html | 47 +++ .../Forms/contents/Forms/Not_Use/input_list.html | 47 +++ .../contents/Forms/Not_Use/input_valueasdate.html | 52 +++ .../Forms/Not_Use/input_valueasnumber.html | 44 +++ .../contents/Forms/Not_Use/select_length.html | 56 +++ .../Forms/Not_Use/select_selectedindex.html | 50 +++ .../Forms/contents/Forms/button_checkvalidity.html | 44 +++ .../Forms/contents/Forms/button_labels.html | 48 +++ .../contents/Forms/button_setcustomvalidity.html | 43 +++ .../contents/Forms/button_validationmessage.html | 40 +++ .../Forms/contents/Forms/button_validity.html | 40 +++ .../Forms/contents/Forms/button_willvalidate.html | 40 +++ .../contents/Forms/fieldset_checkvalidity.html | 45 +++ .../contents/Forms/fieldset_setcustomvalidity.html | 44 +++ .../contents/Forms/fieldset_validationmessage.html | 41 +++ .../Forms/contents/Forms/fieldset_validity.html | 41 +++ .../contents/Forms/fieldset_willvalidate.html | 41 +++ .../Forms/contents/Forms/form_action.html | 43 +++ .../Forms/contents/Forms/form_checkvalidity.html | 47 +++ .../Forms/contents/Forms/form_length.html | 38 ++ .../Forms/contents/Forms/form_submit.html | 51 +++ .../Forms/contents/Forms/input_checkvalidity.html | 44 +++ .../Forms/contents/Forms/input_height.html | 42 +++ .../Forms/contents/Forms/input_labels.html | 49 +++ .../contents/Forms/input_setcustomvalidity.html | 43 +++ .../Forms/contents/Forms/input_stepdown.html | 44 +++ .../Forms/contents/Forms/input_stepup.html | 45 +++ .../contents/Forms/input_validationmessage.html | 40 +++ .../Forms/contents/Forms/input_validity.html | 40 +++ .../Forms/input_value_invalidstateerr.html | 41 +++ .../Forms/input_valueasdate_invalidstateerr.html | 41 +++ .../Forms/input_valueasnumber_invalidstateerr.html | 39 ++ .../Forms/contents/Forms/input_width.html | 42 +++ .../Forms/contents/Forms/input_willvalidate.html | 40 +++ .../Forms/contents/Forms/keygen_checkvalidity.html | 44 +++ .../Forms/contents/Forms/keygen_labels.html | 48 +++ .../contents/Session_History/css/result.css | 12 + .../contents/Session_History/index.html | 63 ++++ .../Microsoft/dragdrop/dragdrop_000-manual.htm | 62 ++++ .../Microsoft/dragdrop/dragdrop_001-manual.htm | 62 ++++ .../Microsoft/dragdrop/dragdrop_002-manual.htm | 64 ++++ .../Microsoft/dragdrop/dragdrop_003-manual.htm | 67 ++++ .../Microsoft/dragdrop/dragdrop_004-manual.htm | 19 + .../Microsoft/dragdrop/dragdrop_005-manual.htm | 19 + .../Microsoft/dragdrop/dragdrop_006-manual.htm | 19 + .../Microsoft/dragdrop/dragdrop_007-manual.htm | 19 + .../Microsoft/dragdrop/dragdrop_008-manual.htm | 19 + .../Microsoft/dragdrop/dragdrop_009-manual.htm | 66 ++++ .../Microsoft/dragdrop/dragdrop_010-manual.htm | 64 ++++ .../Microsoft/dragdrop/dragdrop_011-manual.htm | 62 ++++ .../Microsoft/dragdrop/dragdrop_012-manual.htm | 64 ++++ .../Microsoft/dragdrop/dragdrop_013-manual.htm | 76 ++++ .../Microsoft/dragdrop/dragdrop_014-manual.htm | 81 +++++ .../Microsoft/dragdrop/dragdrop_015-manual.htm | 78 ++++ .../Microsoft/dragdrop/dragdrop_016-manual.htm | 72 ++++ .../Microsoft/dragdrop/dragdrop_support.js | 9 + .../foreigncontent/foreign_content_002.html | 47 +++ .../foreigncontent/foreign_content_007.html | 8 + .../foreigncontent/foreign_content_012.html | 33 ++ .../foreigncontent/foreign_content_014.html | 98 +++++ .../foreigncontent/foreign_content_015.html | 53 +++ .../submission/Microsoft/history/404.html | 1 + .../submission/Microsoft/history/history_000.htm | 329 +++++++++++++++++ .../submission/Microsoft/images/blue-area.png | Bin 0 -> 1469 bytes .../submission/Microsoft/images/blue-border.png | Bin 0 -> 1823 bytes .../old-tests/submission/Microsoft/images/blue.png | Bin 0 -> 485 bytes .../old-tests/submission/Microsoft/images/fail.gif | Bin 0 -> 24480 bytes .../Microsoft/images/movie_300_frame_0.png | Bin 0 -> 11493 bytes .../submission/Microsoft/images/poster.png | Bin 0 -> 83058 bytes .../submission/Microsoft/images/poster_blue.png | Bin 0 -> 5316 bytes .../submission/Microsoft/images/poster_green.png | Bin 0 -> 5130 bytes .../submission/Microsoft/images/poster_red.png | Bin 0 -> 4605 bytes .../old-tests/submission/Microsoft/images/rect.svg | 4 + .../Microsoft/sandbox/iframe_sandbox_001.htm | 11 + .../Microsoft/sandbox/iframe_sandbox_002.htm | 21 ++ .../Microsoft/sandbox/iframe_sandbox_003.htm | 12 + .../Microsoft/sandbox/iframe_sandbox_004.htm | 10 + .../Microsoft/sandbox/iframe_sandbox_006.htm | 12 + .../Microsoft/sandbox/iframe_sandbox_007.htm | 12 + .../Microsoft/sandbox/iframe_sandbox_008.htm | 9 + .../Microsoft/sandbox/iframe_sandbox_009.htm | 9 + .../Microsoft/sandbox/iframe_sandbox_010.htm | 9 + .../Microsoft/sandbox/iframe_sandbox_012.htm | 13 + .../Microsoft/sandbox/iframe_sandbox_020.htm | 28 ++ .../Microsoft/sandbox/iframe_sandbox_020a.htm | 13 + .../Microsoft/sandbox/iframe_sandbox_021.htm | 28 ++ .../Microsoft/sandbox/iframe_sandbox_021a.htm | 13 + .../Microsoft/sandbox/iframe_sandbox_022.htm | 11 + .../Microsoft/sandbox/iframe_sandbox_023.htm | 15 + .../Microsoft/sandbox/iframe_sandbox_024.htm | 13 + .../Microsoft/sandbox/iframe_sandbox_026.htm | 12 + .../Microsoft/sandbox/iframe_sandbox_027.htm | 21 ++ .../Microsoft/sandbox/iframe_sandbox_028.htm | 20 ++ .../Microsoft/sandbox/iframe_sandbox_029.htm | 19 + .../Microsoft/sandbox/iframe_sandbox_031.htm | 19 + .../Microsoft/sandbox/iframe_sandbox_032.htm | 27 ++ .../submission/Microsoft/sandbox/sandbox.pdf | Bin 0 -> 80990 bytes .../submission/Microsoft/sandbox/sandbox_001.htm | 33 ++ .../submission/Microsoft/sandbox/sandbox_002.htm | 25 ++ .../Microsoft/sandbox/sandbox_003-manual.htm | 32 ++ .../Microsoft/sandbox/sandbox_004-manual.htm | 33 ++ .../submission/Microsoft/sandbox/sandbox_005.htm | 33 ++ .../Microsoft/sandbox/sandbox_006-manual.htm | 37 ++ .../Microsoft/sandbox/sandbox_007-manual.htm | 37 ++ .../Microsoft/sandbox/sandbox_008-manual.htm | 37 ++ .../Microsoft/sandbox/sandbox_009-manual.htm | 37 ++ .../Microsoft/sandbox/sandbox_010-manual.htm | 37 ++ .../submission/Microsoft/sandbox/sandbox_011.htm | 65 ++++ .../submission/Microsoft/sandbox/sandbox_012.htm | 36 ++ .../submission/Microsoft/sandbox/sandbox_013.htm | 38 ++ .../submission/Microsoft/sandbox/sandbox_014.htm | 36 ++ .../submission/Microsoft/sandbox/sandbox_015.htm | 36 ++ .../submission/Microsoft/sandbox/sandbox_016.htm | 35 ++ .../submission/Microsoft/sandbox/sandbox_017.htm | 36 ++ .../submission/Microsoft/sandbox/sandbox_018.htm | 36 ++ .../submission/Microsoft/sandbox/sandbox_019.htm | 36 ++ .../Microsoft/sandbox/sandbox_020-manual.htm | 34 ++ .../Microsoft/sandbox/sandbox_021-manual.htm | 44 +++ .../Microsoft/sandbox/sandbox_022-manual.htm | 38 ++ .../submission/Microsoft/sandbox/sandbox_023.htm | 34 ++ .../submission/Microsoft/sandbox/sandbox_024.htm | 33 ++ .../submission/Microsoft/sandbox/sandbox_025.htm | 32 ++ .../submission/Microsoft/sandbox/sandbox_026.htm | 33 ++ .../submission/Microsoft/sandbox/sandbox_027.htm | 33 ++ .../submission/Microsoft/sandbox/sandbox_028.htm | 34 ++ .../submission/Microsoft/sandbox/sandbox_029.htm | 33 ++ .../submission/Microsoft/sandbox/sandbox_030.htm | 33 ++ .../submission/Microsoft/sandbox/sandbox_031.htm | 33 ++ .../submission/Microsoft/sandbox/sandbox_032.htm | 33 ++ .../submission/Microsoft/sandbox/sandbox_helper.js | 14 + .../Microsoft/sandbox/standalone-fail.htm | 9 + .../sandbox/standalone-iframe-content.htm | 9 + .../Microsoft/sandbox/standalone-pass.htm | 9 + .../selection/RemoveElementContainingSelection.htm | 40 +++ .../submission/Microsoft/selection/addRange.htm | 72 ++++ .../submission/Microsoft/selection/collapse.htm | 73 ++++ .../Microsoft/selection/collapseToEnd.htm | 75 ++++ .../Microsoft/selection/collapseToStart.htm | 75 ++++ .../Microsoft/selection/deleteFromDocument.htm | 80 +++++ .../submission/Microsoft/selection/getRangeAt.htm | 59 +++ .../selection/insertNodeIntoSelection.htm | 41 +++ .../Microsoft/selection/removeAllRanges.htm | 73 ++++ .../submission/Microsoft/selection/removeRange.htm | 72 ++++ .../submission/Microsoft/selection/select.htm | 72 ++++ .../Microsoft/selection/selectAllChildren.htm | 32 ++ .../Microsoft/selection/selectionStartEnd.htm | 74 ++++ .../Microsoft/selection/setSelectionRange.htm | 73 ++++ .../submission/Microsoft/structuredclone/echo.js | 1 + .../structuredclone/structuredclone_0.html | 400 +++++++++++++++++++++ .../Microsoft/xhtml5/colgroup_valign_bottom.xhtml | Bin 0 -> 1246 bytes .../Microsoft/xhtml5/colgroup_valign_top.xhtml | Bin 0 -> 1202 bytes .../submission/Opera/script_scheduling/001.html | 27 ++ .../submission/Opera/script_scheduling/002.html | 27 ++ .../submission/Opera/script_scheduling/003.html | 27 ++ .../submission/Opera/script_scheduling/004.html | 25 ++ .../submission/Opera/script_scheduling/005.html | 27 ++ .../submission/Opera/script_scheduling/006.html | 30 ++ .../submission/Opera/script_scheduling/007.html | 27 ++ .../submission/Opera/script_scheduling/008.html | 28 ++ .../submission/Opera/script_scheduling/009.html | 29 ++ .../submission/Opera/script_scheduling/010.html | 29 ++ .../submission/Opera/script_scheduling/011.html | 30 ++ .../submission/Opera/script_scheduling/012.html | 30 ++ .../submission/Opera/script_scheduling/013.html | 28 ++ .../submission/Opera/script_scheduling/014.html | 28 ++ .../submission/Opera/script_scheduling/015.html | 34 ++ .../submission/Opera/script_scheduling/015a.html | 30 ++ .../submission/Opera/script_scheduling/016.html | 28 ++ .../submission/Opera/script_scheduling/017.html | 33 ++ .../submission/Opera/script_scheduling/018.html | 35 ++ .../submission/Opera/script_scheduling/019.html | 31 ++ .../submission/Opera/script_scheduling/020.html | 28 ++ .../submission/Opera/script_scheduling/021.html | 29 ++ .../submission/Opera/script_scheduling/022.html | 30 ++ .../submission/Opera/script_scheduling/023.html | 30 ++ .../submission/Opera/script_scheduling/024.html | 32 ++ .../submission/Opera/script_scheduling/025.html | 30 ++ .../submission/Opera/script_scheduling/026.html | 33 ++ .../submission/Opera/script_scheduling/027.html | 30 ++ .../submission/Opera/script_scheduling/028.html | 29 ++ .../submission/Opera/script_scheduling/029.html | 37 ++ .../submission/Opera/script_scheduling/030.html | 39 ++ .../submission/Opera/script_scheduling/031.html | 30 ++ .../submission/Opera/script_scheduling/032.html | 29 ++ .../submission/Opera/script_scheduling/033.html | 35 ++ .../submission/Opera/script_scheduling/034.html | 28 ++ .../submission/Opera/script_scheduling/035.html | 35 ++ .../submission/Opera/script_scheduling/036.html | 34 ++ .../submission/Opera/script_scheduling/037.html | 33 ++ .../submission/Opera/script_scheduling/038.html | 34 ++ .../submission/Opera/script_scheduling/039.html | 36 ++ .../submission/Opera/script_scheduling/040.html | 34 ++ .../submission/Opera/script_scheduling/041.html | 29 ++ .../submission/Opera/script_scheduling/042.html | 29 ++ .../submission/Opera/script_scheduling/043.html | 31 ++ .../submission/Opera/script_scheduling/044.html | 28 ++ .../submission/Opera/script_scheduling/045.html | 28 ++ .../submission/Opera/script_scheduling/046.html | 27 ++ .../submission/Opera/script_scheduling/047.html | 28 ++ .../submission/Opera/script_scheduling/048.html | 28 ++ .../submission/Opera/script_scheduling/049.html | 28 ++ .../submission/Opera/script_scheduling/050.html | 29 ++ .../submission/Opera/script_scheduling/051.html | 29 ++ .../submission/Opera/script_scheduling/052.html | 26 ++ .../submission/Opera/script_scheduling/053.html | 31 ++ .../submission/Opera/script_scheduling/054.html | 33 ++ .../submission/Opera/script_scheduling/055.html | 32 ++ .../submission/Opera/script_scheduling/056.html | 30 ++ .../submission/Opera/script_scheduling/057.html | 31 ++ .../submission/Opera/script_scheduling/058.html | 29 ++ .../submission/Opera/script_scheduling/059.html | 30 ++ .../submission/Opera/script_scheduling/060.html | 32 ++ .../submission/Opera/script_scheduling/061.html | 29 ++ .../submission/Opera/script_scheduling/062.html | 29 ++ .../submission/Opera/script_scheduling/063.html | 30 ++ .../submission/Opera/script_scheduling/064.html | 29 ++ .../submission/Opera/script_scheduling/065.html | 30 ++ .../submission/Opera/script_scheduling/066.html | 31 ++ .../submission/Opera/script_scheduling/067.html | 38 ++ .../submission/Opera/script_scheduling/068.html | 31 ++ .../submission/Opera/script_scheduling/069.html | 33 ++ .../submission/Opera/script_scheduling/070.html | 48 +++ .../submission/Opera/script_scheduling/071.html | 55 +++ .../submission/Opera/script_scheduling/072.html | 50 +++ .../submission/Opera/script_scheduling/073.html | 52 +++ .../submission/Opera/script_scheduling/074.html | 49 +++ .../submission/Opera/script_scheduling/075.html | 42 +++ .../submission/Opera/script_scheduling/076.html | 32 ++ .../submission/Opera/script_scheduling/077.html | 41 +++ .../submission/Opera/script_scheduling/078.html | 43 +++ .../submission/Opera/script_scheduling/079.html | 28 ++ .../submission/Opera/script_scheduling/080.html | 30 ++ .../submission/Opera/script_scheduling/081.html | 31 ++ .../submission/Opera/script_scheduling/082.html | 34 ++ .../submission/Opera/script_scheduling/083.html | 48 +++ .../submission/Opera/script_scheduling/084.html | 47 +++ .../submission/Opera/script_scheduling/085.html | 24 ++ .../submission/Opera/script_scheduling/086.html | 24 ++ .../submission/Opera/script_scheduling/087.html | 24 ++ .../submission/Opera/script_scheduling/088.html | 24 ++ .../submission/Opera/script_scheduling/089.html | 34 ++ .../submission/Opera/script_scheduling/090.html | 34 ++ .../submission/Opera/script_scheduling/091.html | 31 ++ .../submission/Opera/script_scheduling/092.html | 26 ++ .../submission/Opera/script_scheduling/094.html | 23 ++ .../submission/Opera/script_scheduling/095.html | 24 ++ .../submission/Opera/script_scheduling/096.html | 24 ++ .../submission/Opera/script_scheduling/097.html | 29 ++ .../submission/Opera/script_scheduling/098.html | 25 ++ .../submission/Opera/script_scheduling/099.html | 19 + .../submission/Opera/script_scheduling/100.html | 19 + .../submission/Opera/script_scheduling/101.html | 35 ++ .../submission/Opera/script_scheduling/102.html | 24 ++ .../submission/Opera/script_scheduling/103.html | 39 ++ .../submission/Opera/script_scheduling/104.html | 39 ++ .../submission/Opera/script_scheduling/105.html | 31 ++ .../Opera/script_scheduling/106-import.html | 20 ++ .../Opera/script_scheduling/106-noimport.html | 20 ++ .../Opera/script_scheduling/107-import.html | 21 ++ .../Opera/script_scheduling/107-noimport.html | 21 ++ .../submission/Opera/script_scheduling/108.html | 25 ++ .../submission/Opera/script_scheduling/109.html | 29 ++ .../submission/Opera/script_scheduling/110.html | 30 ++ .../submission/Opera/script_scheduling/111.html | 32 ++ .../submission/Opera/script_scheduling/112.html | 29 ++ .../submission/Opera/script_scheduling/113.html | 31 ++ .../submission/Opera/script_scheduling/114.html | 26 ++ .../submission/Opera/script_scheduling/115.html | 26 ++ .../submission/Opera/script_scheduling/116.html | 24 ++ .../submission/Opera/script_scheduling/117.html | 26 ++ .../submission/Opera/script_scheduling/118.html | 26 ++ .../submission/Opera/script_scheduling/119.html | 32 ++ .../submission/Opera/script_scheduling/120.html | 17 + .../submission/Opera/script_scheduling/121.html | 17 + .../submission/Opera/script_scheduling/122.html | 28 ++ .../submission/Opera/script_scheduling/123.html | 28 ++ .../submission/Opera/script_scheduling/124.html | 25 ++ .../submission/Opera/script_scheduling/125.html | 28 ++ .../submission/Opera/script_scheduling/126.html | 29 ++ .../submission/Opera/script_scheduling/127.html | 34 ++ .../submission/Opera/script_scheduling/128.html | 34 ++ .../submission/Opera/script_scheduling/129.html | 40 +++ .../submission/Opera/script_scheduling/130.html | 34 ++ .../submission/Opera/script_scheduling/131.html | 22 ++ .../submission/Opera/script_scheduling/132.html | 22 ++ .../submission/Opera/script_scheduling/133.html | 29 ++ .../submission/Opera/script_scheduling/134.html | 28 ++ .../submission/Opera/script_scheduling/135.html | 28 ++ .../submission/Opera/script_scheduling/136.html | 33 ++ .../submission/Opera/script_scheduling/137.html | 21 ++ .../submission/Opera/script_scheduling/138.html | 30 ++ .../submission/Opera/script_scheduling/139.html | 30 ++ .../submission/Opera/script_scheduling/140.html | 24 ++ .../submission/Opera/script_scheduling/141.html | 26 ++ .../submission/Opera/script_scheduling/142.html | 27 ++ .../submission/Opera/script_scheduling/143.html | 31 ++ .../submission/Opera/script_scheduling/144.html | 28 ++ .../submission/Opera/script_scheduling/145.html | 24 ++ .../submission/Opera/script_scheduling/146.html | 22 ++ .../submission/Opera/script_scheduling/147.html | 40 +++ .../submission/Opera/script_scheduling/148.html | 40 +++ .../submission/Opera/script_scheduling/149.html | 59 +++ .../Opera/script_scheduling/css/background.css | 1 + .../Opera/script_scheduling/css/import.css | 1 + .../pages/helloworld-postMessage.html | 19 + .../Opera/script_scheduling/pages/helloworld.html | 15 + .../script_scheduling/scripts/count-script-tags.js | 1 + .../Opera/script_scheduling/scripts/find-body.js | 2 + .../Opera/script_scheduling/scripts/find-foo.js | 2 + .../Opera/script_scheduling/scripts/include-1.js | 1 + .../Opera/script_scheduling/scripts/include-10.js | 1 + .../Opera/script_scheduling/scripts/include-11.js | 4 + .../Opera/script_scheduling/scripts/include-12.js | 4 + .../Opera/script_scheduling/scripts/include-2.js | 1 + .../Opera/script_scheduling/scripts/include-3.js | 3 + .../Opera/script_scheduling/scripts/include-4.js | 3 + .../Opera/script_scheduling/scripts/include-5.js | 7 + .../Opera/script_scheduling/scripts/include-6.js | 6 + .../Opera/script_scheduling/scripts/include-7.js | 1 + .../Opera/script_scheduling/scripts/include-8.js | 4 + .../Opera/script_scheduling/scripts/include-9.js | 2 + .../Opera/script_scheduling/testlib/testlib.js | 43 +++ .../tests/old-tests/submission/migration.txt | 26 ++ .../tests/old-tests/webdriver/README.md | 38 ++ .../tests/old-tests/webdriver/base_test.py | 60 ++++ .../webdriver/command_contexts/__init__.py | 0 .../command_contexts/open_and_close_window_test.py | 64 ++++ .../webdriver/command_contexts/res/first-page.html | 11 + .../webdriver/command_contexts/res/other-page.html | 11 + .../command_contexts/window_handle_test.py | 33 ++ .../webdriver/command_contexts/window_size_test.py | 35 ++ .../tests/old-tests/webdriver/cookie/__init__.py | 0 .../old-tests/webdriver/cookie/cookie_test.py | 57 +++ .../webdriver/cookie/res/cookie_container.html | 5 + .../webdriver/ecmascript/ecmascript_test.py | 17 + .../webdriver/ecmascript/res/ecmascript_test.html | 2 + .../webdriver/element_location/__init__.py | 0 .../element_location/element_location_test.py | 60 ++++ .../webdriver/element_location/res/elements.html | 10 + .../old-tests/webdriver/element_state/__init__.py | 0 .../webdriver/element_state/method_test.py | 107 ++++++ .../webdriver/element_state/properties.py | 17 + .../webdriver/element_state/res/0x0-pixels.html | 12 + .../webdriver/element_state/res/1x1-pixels.html | 12 + .../element_state/res/a-with-href-attribute.html | 5 + ...absolute-children-ancestor-hidden-overflow.html | 16 + .../webdriver/element_state/res/body_empty.html | 4 + .../webdriver/element_state/res/body_implicit.html | 3 + .../element_state/res/body_overflow_hidden.html | 4 + .../element_state/res/body_visibility_hidden.html | 4 + .../webdriver/element_state/res/display-block.html | 5 + .../element_state/res/display-none-child-link.html | 11 + .../res/display-none-child-paragraph.html | 11 + .../element_state/res/display-none-child.html | 11 + .../element_state/res/display-none-dynamic.html | 10 + .../display-none-parent-presedence-visibility.html | 15 + .../res/display-none-parent-presedence.html | 14 + .../webdriver/element_state/res/display-none.html | 11 + ...element-dynamically-moved-outside-viewport.html | 15 + .../res/element-hidden-by-other-element.html | 20 ++ .../res/element-hidden-by-z-index.html | 29 ++ ...nt-moved-behind-other-element-by-transform.html | 31 ++ ...lement-moved-outside-viewport-by-transform.html | 15 + .../res/element-outside-viewport.html | 13 + .../element-partially-hidden-by-other-element.html | 23 ++ .../element_state/res/element-selected.html | 89 +++++ .../res/element-with-color-style-attribute.html | 5 + .../res/element-with-custom-attribute.html | 5 + .../res/element-with-id-attribute.html | 5 + .../res/element-with-same-color-as-background.html | 10 + ...ement-with-same-color-as-parent-background.html | 18 + .../res/element-with-style-attribute.html | 5 + .../res/element-without-attribute.html | 5 + .../webdriver/element_state/res/elements_text.html | 10 + .../res/get-element-attribute-extended.html | 72 ++++ .../hidden-input-type-checkbox-untogglable.html | 9 + .../res/hidden-input-type-text-writing.html | 9 + .../webdriver/element_state/res/hidden.html | 5 + .../element_state/res/img-with-src-attribute.html | 5 + .../res/input-morphs-into-hidden.html | 10 + .../res/input-type-hidden-unclickable.html | 5 + .../element_state/res/input-type-hidden.html | 5 + .../res/input-with-checked-attribute.html | 5 + .../res/input-without-checked-attribute.html | 5 + .../res/option-with-value-attribute.html | 7 + .../res/option-without-value-attribute.html | 7 + .../text-with-matching-color-and-background.html | 14 + .../res/text-with-same-color-as-background.html | 12 + .../text-with-same-color-as-parent-background.html | 14 + .../element_state/res/visibility-child-link.html | 11 + .../res/visibility-child-paragraph.html | 11 + .../res/visibility-child-presedence.html | 12 + .../element_state/res/visibility-child.html | 11 + .../element_state/res/visibility-hidden.html | 11 + .../element_state/res/visibility-visible.html | 5 + .../element_state/res/x-auto-y-hidden.html | 30 ++ .../element_state/res/x-hidden-y-auto.html | 30 ++ .../element_state/res/x-hidden-y-hidden.html | 30 ++ .../element_state/res/x-hidden-y-scroll.html | 30 ++ .../element_state/res/x-scroll-y-hidden.html | 30 ++ .../zero-sized-element-with-sizable-decendant.html | 14 + .../webdriver/element_state/selected_test.py | 210 +++++++++++ .../webdriver/element_state/visibility_test.py | 324 +++++++++++++++++ .../old-tests/webdriver/javascript/__init__.py | 0 .../webdriver/javascript/execute_script_test.py | 129 +++++++ .../javascript/res/execute_script_test.html | 2 + .../res/return_array_of_dom_elements.html | 3 + .../javascript/res/return_document_body.html | 2 + .../webdriver/javascript/res/return_node_list.html | 3 + .../tests/old-tests/webdriver/modal/__init__.py | 0 .../old-tests/webdriver/modal/alerts_quit_test.py | 26 ++ .../tests/old-tests/webdriver/modal/alerts_test.py | 148 ++++++++ .../old-tests/webdriver/modal/res/alerts.html | 53 +++ .../old-tests/webdriver/navigation/__init__.py | 0 .../old-tests/webdriver/navigation/auth_tests.py | 42 +++ .../old-tests/webdriver/navigation/forward.py | 24 ++ .../webdriver/navigation/forwardToNothing.py | 20 ++ .../webdriver/navigation/get_from_http_test.py | 60 ++++ .../webdriver/navigation/invalid_cert_test.py | 28 ++ .../old-tests/webdriver/navigation/refresh-page.py | 27 ++ .../old-tests/webdriver/navigation/refresh_page.py | 27 ++ .../webdriver/navigation/res/1s-meta-redirect.html | 4 + .../navigation/res/60s-meta-redirect.html | 4 + .../webdriver/navigation/res/authenticated.html | 5 + .../old-tests/webdriver/navigation/res/empty.html | 4 + .../webdriver/navigation/res/forwardNext.html | 6 + .../webdriver/navigation/res/forwardStart.html | 6 + .../webdriver/navigation/res/fragment.html | 9 + .../navigation/res/instant-meta-redirect.html | 4 + .../navigation/res/refreshPageDynamic.html | 10 + .../navigation/res/refreshPageStatic.html | 6 + .../webdriver/navigation/res/self-signed.key | 28 ++ .../tests/old-tests/webdriver/network.py | 30 ++ .../tests/old-tests/webdriver/runtests.py | 14 + .../tests/old-tests/webdriver/runtests_p0.py | 42 +++ .../old-tests/webdriver/screenshot/__init__.py | 1 + .../webdriver/screenshot/res/screenshot.html | 5 + .../webdriver/screenshot/take_screenshot.py | 15 + .../tests/old-tests/webdriver/timeouts/__init__.py | 0 .../webdriver/timeouts/implicit_waits_tests.py | 64 ++++ .../webdriver/timeouts/page_load_timeouts_tests.py | 26 ++ .../timeouts/res/implicit_waits_tests.html | 38 ++ .../timeouts/res/page_load_timeouts_tests.html | 12 + .../old-tests/webdriver/user_input/__init__.py | 0 .../old-tests/webdriver/user_input/clear_test.py | 53 +++ .../old-tests/webdriver/user_input/click_test.py | 349 ++++++++++++++++++ .../old-tests/webdriver/user_input/res/click.html | 45 +++ .../res/element_clear_contenteditable_page.html | 13 + .../res/element_clear_disabled_input_page.html | 11 + .../res/element_clear_disabled_textarea_page.html | 13 + .../res/element_clear_readonly_input_page.html | 11 + .../res/element_clear_readonly_textarea_page.html | 13 + .../res/element_clear_writable_input_page.html | 11 + .../res/element_clear_writable_textarea_page.html | 13 + .../user_input/res/text-form-landing.html | 8 + .../webdriver/user_input/res/text-form.html | 25 ++ .../webdriver/user_input/sendkeys_test.py | 96 +++++ .../tests/old-tests/webdriver/webdriver.cfg | 35 ++ .../tests/old-tests/webdriver/windows/__init__.py | 1 + .../old-tests/webdriver/windows/res/win1.html | 5 + .../old-tests/webdriver/windows/res/win2.html | 5 + .../old-tests/webdriver/windows/res/win3.html | 5 + .../old-tests/webdriver/windows/res/win4.html | 5 + .../old-tests/webdriver/windows/res/win5.html | 5 + .../tests/old-tests/webdriver/windows/tabbing.py | 30 ++ .../webdriver/windows/window_manipulation.py | 43 +++ 466 files changed, 14395 insertions(+) create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_autocomplete.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_list.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasdate.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasnumber.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_length.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_selectedindex.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_checkvalidity.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_labels.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_setcustomvalidity.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_validationmessage.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_validity.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_willvalidate.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_checkvalidity.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_setcustomvalidity.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_validationmessage.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_validity.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_willvalidate.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/form_action.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/form_checkvalidity.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/form_length.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/form_submit.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_checkvalidity.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_height.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_labels.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_setcustomvalidity.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_stepdown.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_stepup.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_validationmessage.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_validity.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_value_invalidstateerr.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_valueasdate_invalidstateerr.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_valueasnumber_invalidstateerr.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_width.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_willvalidate.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/keygen_checkvalidity.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/keygen_labels.html create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Session_History/contents/Session_History/css/result.css create mode 100644 testing/web-platform/tests/old-tests/submission/Infraware/Session_History/contents/Session_History/index.html create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_000-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_001-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_002-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_003-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_004-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_005-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_006-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_007-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_008-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_009-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_010-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_011-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_012-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_013-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_014-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_015-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_016-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_support.js create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_002.html create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_007.html create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_012.html create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_014.html create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_015.html create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/history/404.html create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/history/history_000.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/images/blue-area.png create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/images/blue-border.png create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/images/blue.png create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/images/fail.gif create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/images/movie_300_frame_0.png create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/images/poster.png create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/images/poster_blue.png create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/images/poster_green.png create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/images/poster_red.png create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/images/rect.svg create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_001.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_002.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_003.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_004.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_006.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_007.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_008.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_009.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_010.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_012.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_020.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_020a.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_021.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_021a.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_022.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_023.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_024.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_026.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_027.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_028.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_029.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_031.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_032.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox.pdf create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_001.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_002.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_003-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_004-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_005.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_006-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_007-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_008-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_009-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_010-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_011.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_012.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_013.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_014.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_015.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_016.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_017.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_018.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_019.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_020-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_021-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_022-manual.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_023.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_024.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_025.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_026.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_027.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_028.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_029.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_030.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_031.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_032.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_helper.js create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/standalone-fail.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/standalone-iframe-content.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/standalone-pass.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/RemoveElementContainingSelection.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/addRange.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapse.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapseToEnd.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapseToStart.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/deleteFromDocument.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/getRangeAt.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/insertNodeIntoSelection.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/removeAllRanges.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/removeRange.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/select.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/selectAllChildren.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/selectionStartEnd.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/setSelectionRange.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/structuredclone/echo.js create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/structuredclone/structuredclone_0.html create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/xhtml5/colgroup_valign_bottom.xhtml create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/xhtml5/colgroup_valign_top.xhtml create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/001.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/002.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/003.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/004.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/005.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/006.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/007.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/008.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/009.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/010.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/011.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/012.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/013.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/014.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/015.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/015a.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/016.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/017.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/018.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/019.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/020.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/021.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/022.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/023.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/024.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/025.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/026.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/027.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/028.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/029.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/030.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/031.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/032.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/033.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/034.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/035.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/036.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/037.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/038.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/039.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/040.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/041.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/042.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/043.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/044.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/045.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/046.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/047.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/048.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/049.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/050.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/051.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/052.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/053.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/054.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/055.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/056.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/057.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/058.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/059.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/060.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/061.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/062.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/063.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/064.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/065.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/066.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/067.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/068.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/069.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/070.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/071.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/072.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/073.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/074.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/075.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/076.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/077.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/078.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/079.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/080.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/081.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/082.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/083.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/084.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/085.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/086.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/087.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/088.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/089.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/090.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/091.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/092.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/094.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/095.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/096.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/097.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/098.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/099.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/100.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/101.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/102.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/103.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/104.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/105.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/106-import.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/106-noimport.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/107-import.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/107-noimport.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/108.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/109.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/110.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/111.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/112.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/113.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/114.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/115.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/116.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/117.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/118.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/119.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/120.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/121.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/122.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/123.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/124.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/125.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/126.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/127.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/128.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/129.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/130.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/131.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/132.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/133.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/134.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/135.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/136.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/137.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/138.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/139.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/140.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/141.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/142.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/143.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/144.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/145.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/146.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/147.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/148.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/149.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/css/background.css create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/css/import.css create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/pages/helloworld-postMessage.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/pages/helloworld.html create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/count-script-tags.js create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/find-body.js create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/find-foo.js create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-1.js create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-10.js create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-11.js create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-12.js create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-2.js create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-3.js create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-4.js create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-5.js create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-6.js create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-7.js create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-8.js create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-9.js create mode 100644 testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/testlib/testlib.js create mode 100644 testing/web-platform/tests/old-tests/submission/migration.txt create mode 100644 testing/web-platform/tests/old-tests/webdriver/README.md create mode 100644 testing/web-platform/tests/old-tests/webdriver/base_test.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/command_contexts/__init__.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/command_contexts/open_and_close_window_test.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/command_contexts/res/first-page.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/command_contexts/res/other-page.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/command_contexts/window_handle_test.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/command_contexts/window_size_test.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/cookie/__init__.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/cookie/cookie_test.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/cookie/res/cookie_container.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/ecmascript/ecmascript_test.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/ecmascript/res/ecmascript_test.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_location/__init__.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_location/element_location_test.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_location/res/elements.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/__init__.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/method_test.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/properties.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/0x0-pixels.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/1x1-pixels.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/a-with-href-attribute.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/absolute-children-ancestor-hidden-overflow.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/body_empty.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/body_implicit.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/body_overflow_hidden.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/body_visibility_hidden.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/display-block.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-child-link.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-child-paragraph.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-child.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-dynamic.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-parent-presedence-visibility.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-parent-presedence.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/element-dynamically-moved-outside-viewport.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/element-hidden-by-other-element.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/element-hidden-by-z-index.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/element-moved-behind-other-element-by-transform.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/element-moved-outside-viewport-by-transform.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/element-outside-viewport.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/element-partially-hidden-by-other-element.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/element-selected.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-color-style-attribute.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-custom-attribute.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-id-attribute.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-same-color-as-background.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-same-color-as-parent-background.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-style-attribute.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/element-without-attribute.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/elements_text.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/get-element-attribute-extended.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/hidden-input-type-checkbox-untogglable.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/hidden-input-type-text-writing.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/hidden.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/img-with-src-attribute.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/input-morphs-into-hidden.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/input-type-hidden-unclickable.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/input-type-hidden.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/input-with-checked-attribute.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/input-without-checked-attribute.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/option-with-value-attribute.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/option-without-value-attribute.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/text-with-matching-color-and-background.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/text-with-same-color-as-background.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/text-with-same-color-as-parent-background.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-child-link.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-child-paragraph.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-child-presedence.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-child.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-hidden.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-visible.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/x-auto-y-hidden.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/x-hidden-y-auto.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/x-hidden-y-hidden.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/x-hidden-y-scroll.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/x-scroll-y-hidden.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/res/zero-sized-element-with-sizable-decendant.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/selected_test.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/element_state/visibility_test.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/javascript/__init__.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/javascript/execute_script_test.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/javascript/res/execute_script_test.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/javascript/res/return_array_of_dom_elements.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/javascript/res/return_document_body.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/javascript/res/return_node_list.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/modal/__init__.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/modal/alerts_quit_test.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/modal/alerts_test.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/modal/res/alerts.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/navigation/__init__.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/navigation/auth_tests.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/navigation/forward.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/navigation/forwardToNothing.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/navigation/get_from_http_test.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/navigation/invalid_cert_test.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/navigation/refresh-page.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/navigation/refresh_page.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/navigation/res/1s-meta-redirect.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/navigation/res/60s-meta-redirect.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/navigation/res/authenticated.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/navigation/res/empty.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/navigation/res/forwardNext.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/navigation/res/forwardStart.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/navigation/res/fragment.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/navigation/res/instant-meta-redirect.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/navigation/res/refreshPageDynamic.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/navigation/res/refreshPageStatic.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/navigation/res/self-signed.key create mode 100644 testing/web-platform/tests/old-tests/webdriver/network.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/runtests.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/runtests_p0.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/screenshot/__init__.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/screenshot/res/screenshot.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/screenshot/take_screenshot.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/timeouts/__init__.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/timeouts/implicit_waits_tests.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/timeouts/page_load_timeouts_tests.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/timeouts/res/implicit_waits_tests.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/timeouts/res/page_load_timeouts_tests.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/user_input/__init__.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/user_input/clear_test.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/user_input/click_test.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/user_input/res/click.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_contenteditable_page.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_disabled_input_page.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_disabled_textarea_page.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_readonly_input_page.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_readonly_textarea_page.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_writable_input_page.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_writable_textarea_page.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/user_input/res/text-form-landing.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/user_input/res/text-form.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/user_input/sendkeys_test.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/webdriver.cfg create mode 100644 testing/web-platform/tests/old-tests/webdriver/windows/__init__.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/windows/res/win1.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/windows/res/win2.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/windows/res/win3.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/windows/res/win4.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/windows/res/win5.html create mode 100644 testing/web-platform/tests/old-tests/webdriver/windows/tabbing.py create mode 100644 testing/web-platform/tests/old-tests/webdriver/windows/window_manipulation.py (limited to 'testing/web-platform/tests/old-tests') diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_autocomplete.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_autocomplete.html new file mode 100644 index 000000000..531cb374f --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_autocomplete.html @@ -0,0 +1,47 @@ + + + + Forms + + + + +

+

input_autocomplete

+

+ +
  • input text in textbox and press enter key.
  • +
  • When you input same text, you can see hint text.
  • + +
    + +
    + +
    +

    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_list.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_list.html new file mode 100644 index 000000000..0056839db --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_list.html @@ -0,0 +1,47 @@ + + + + Forms + + + + +

    +

    input_list

    +

    +
  • List is showed list when click the input control.
  • +
    + +
    + +
    +

    + + +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasdate.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasdate.html new file mode 100644 index 000000000..c9002f042 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasdate.html @@ -0,0 +1,52 @@ + + + + Forms + + + + +

    +

    input_valueAsDate

    +

    +
  • Date is showed in input when window is loaded.
  • +
    + +
    + +
    +

    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasnumber.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasnumber.html new file mode 100644 index 000000000..6c24f1e4a --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasnumber.html @@ -0,0 +1,44 @@ + + + + Forms + + + + +

    +

    input_valueAsNumber

    +

    +
  • Number 5 is showed in input when window is loaded.
  • +
    + +
    + +
    +

    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_length.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_length.html new file mode 100644 index 000000000..6c0864a08 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_length.html @@ -0,0 +1,56 @@ + + + + Forms + + + + +

    +

    select_length

    +

    + +
  • In select control there is only 3 items.
  • + +
    + +
    + +
    +

    + + +

    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_selectedindex.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_selectedindex.html new file mode 100644 index 000000000..99fb65a3c --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_selectedindex.html @@ -0,0 +1,50 @@ + + + + Forms + + + + +

    +

    select_selectedIndex

    +

    + +
  • In select control second item is selected.
  • + +
    + +
    + +
    +

    + + +

    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_checkvalidity.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_checkvalidity.html new file mode 100644 index 000000000..0d15e1083 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_checkvalidity.html @@ -0,0 +1,44 @@ + + + + Forms + + + + +

    +

    button_checkValidity

    +

    + +
    + +
    + +
    +

    +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_labels.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_labels.html new file mode 100644 index 000000000..312fb7e81 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_labels.html @@ -0,0 +1,48 @@ + + + + Forms + + + + +

    +

    button_labels

    +

    + +
    + +
    + +
    +

    +

    +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_setcustomvalidity.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_setcustomvalidity.html new file mode 100644 index 000000000..6f012335f --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_setcustomvalidity.html @@ -0,0 +1,43 @@ + + + + Forms + + + + +

    +

    button_setCustomValidity

    +

    + +
    + +
    + +
    +

    +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_validationmessage.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_validationmessage.html new file mode 100644 index 000000000..44364aec5 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_validationmessage.html @@ -0,0 +1,40 @@ + + + + Forms + + + + +

    +

    button_validationMessage

    +

    + +
    + +
    + +
    +

    +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_validity.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_validity.html new file mode 100644 index 000000000..00d022119 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_validity.html @@ -0,0 +1,40 @@ + + + + Forms + + + + +

    +

    button_validity

    +

    + +
    + +
    + +
    +

    +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_willvalidate.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_willvalidate.html new file mode 100644 index 000000000..067b38f89 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/button_willvalidate.html @@ -0,0 +1,40 @@ + + + + Forms + + + + +

    +

    button_willValidate

    +

    + +
    + +
    + +
    +

    +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_checkvalidity.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_checkvalidity.html new file mode 100644 index 000000000..ab4d9601f --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_checkvalidity.html @@ -0,0 +1,45 @@ + + + + Forms + + + + +

    +

    FieldSet_checkValidity

    +

    + +
    + +
    + +
    +
    +
    +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_setcustomvalidity.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_setcustomvalidity.html new file mode 100644 index 000000000..bca7d6f97 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_setcustomvalidity.html @@ -0,0 +1,44 @@ + + + + Forms + + + + +

    +

    FieldSet_setCustomValidity

    +

    + +
    + +
    + +
    +
    +
    +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_validationmessage.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_validationmessage.html new file mode 100644 index 000000000..8c3457d42 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_validationmessage.html @@ -0,0 +1,41 @@ + + + + Forms + + + + +

    +

    FieldSet_validationMessage

    +

    + +
    + +
    + +
    +
    +
    +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_validity.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_validity.html new file mode 100644 index 000000000..e0622bf38 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_validity.html @@ -0,0 +1,41 @@ + + + + Forms + + + + +

    +

    FieldSet_validity

    +

    + +
    + +
    + +
    +
    +
    +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_willvalidate.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_willvalidate.html new file mode 100644 index 000000000..802968cd7 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/fieldset_willvalidate.html @@ -0,0 +1,41 @@ + + + + Forms + + + + +

    +

    FieldSet_willValidate

    +

    + +
    + +
    + +
    +
    +
    +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/form_action.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/form_action.html new file mode 100644 index 000000000..f925a62ff --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/form_action.html @@ -0,0 +1,43 @@ + + + + Forms + + + + +

    +

    Form_action

    +

    + +
    + +
    + +
    +

    +

    +

    + +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/form_checkvalidity.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/form_checkvalidity.html new file mode 100644 index 000000000..83d53da0d --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/form_checkvalidity.html @@ -0,0 +1,47 @@ + + + + Forms + + + + +

    +

    Form_checkValidity

    +

    + +
    + +
    + +
    +

    +

    +

    + +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/form_length.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/form_length.html new file mode 100644 index 000000000..2fae73be1 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/form_length.html @@ -0,0 +1,38 @@ + + + + Forms + + + + +

    +

    Form_length

    +

    + +
    + +
    + +
    +

    +

    +

    + +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/form_submit.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/form_submit.html new file mode 100644 index 000000000..788769049 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/form_submit.html @@ -0,0 +1,51 @@ + + + + Forms + + + + +

    +

    Form_submit

    +

    + +
    + +
    + +
    +

    +

    +

    + +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_checkvalidity.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_checkvalidity.html new file mode 100644 index 000000000..c46499638 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_checkvalidity.html @@ -0,0 +1,44 @@ + + + + Forms + + + + +

    +

    input_checkValidity

    +

    + +
    + +
    + +
    +

    +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_height.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_height.html new file mode 100644 index 000000000..edf362490 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_height.html @@ -0,0 +1,42 @@ + + + + Forms + + + + +

    +

    input_height

    +

    + +
    + +
    + +
    +

    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_labels.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_labels.html new file mode 100644 index 000000000..b37b719e1 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_labels.html @@ -0,0 +1,49 @@ + + + + Forms + + + + +

    +

    input_labels

    +

    + +
    + +
    + +
    +

    +

    +

    +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_setcustomvalidity.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_setcustomvalidity.html new file mode 100644 index 000000000..455dce2f0 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_setcustomvalidity.html @@ -0,0 +1,43 @@ + + + + Forms + + + + +

    +

    input_setCustomValidity

    +

    + +
    + +
    + +
    +

    +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_stepdown.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_stepdown.html new file mode 100644 index 000000000..abe31f595 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_stepdown.html @@ -0,0 +1,44 @@ + + + + Forms + + + + +

    +

    input_stepDown

    +

    + +
    + +
    + +
    +

    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_stepup.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_stepup.html new file mode 100644 index 000000000..39474b93d --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_stepup.html @@ -0,0 +1,45 @@ + + + + Forms + + + + +

    +

    input_stepUp

    +

    + +
    + +
    + +
    +

    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_validationmessage.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_validationmessage.html new file mode 100644 index 000000000..785b4e79b --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_validationmessage.html @@ -0,0 +1,40 @@ + + + + Forms + + + + +

    +

    input_validationMessage

    +

    + +
    + +
    + +
    +

    +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_validity.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_validity.html new file mode 100644 index 000000000..f46bd0b4c --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_validity.html @@ -0,0 +1,40 @@ + + + + Forms + + + + +

    +

    input_validity

    +

    + +
    + +
    + +
    +

    +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_value_invalidstateerr.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_value_invalidstateerr.html new file mode 100644 index 000000000..9ddf62acf --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_value_invalidstateerr.html @@ -0,0 +1,41 @@ + + + + Forms + + + + +

    +

    input_value_INVALID_STATE_ERR

    +

    + +
    + +
    + +
    +

    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_valueasdate_invalidstateerr.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_valueasdate_invalidstateerr.html new file mode 100644 index 000000000..6df4f74c5 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_valueasdate_invalidstateerr.html @@ -0,0 +1,41 @@ + + + + Forms + + + + +

    +

    input_valueAsDate_INVALID_STATE_ERR

    +

    + +
    + +
    + +
    +

    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_valueasnumber_invalidstateerr.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_valueasnumber_invalidstateerr.html new file mode 100644 index 000000000..8444d3fdc --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_valueasnumber_invalidstateerr.html @@ -0,0 +1,39 @@ + + + + Forms + + + + +

    +

    input_valueAsNumber_INVALID_STATE_ERR

    +

    + +
    + +
    + +
    +

    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_width.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_width.html new file mode 100644 index 000000000..7cbda113a --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_width.html @@ -0,0 +1,42 @@ + + + + Forms + + + + +

    +

    input_width

    +

    + +
    + +
    + +
    +

    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_willvalidate.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_willvalidate.html new file mode 100644 index 000000000..612fd004a --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/input_willvalidate.html @@ -0,0 +1,40 @@ + + + + Forms + + + + +

    +

    input_willValidate

    +

    + +
    + +
    + +
    +

    +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/keygen_checkvalidity.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/keygen_checkvalidity.html new file mode 100644 index 000000000..d7dcd13b3 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/keygen_checkvalidity.html @@ -0,0 +1,44 @@ + + + + Forms + + + + +

    +

    keygen_checkValidity

    +

    + +
    + +
    + +
    + +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/keygen_labels.html b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/keygen_labels.html new file mode 100644 index 000000000..ca9600933 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/keygen_labels.html @@ -0,0 +1,48 @@ + + + + Forms + + + + +

    +

    keygen_labels

    +

    + +
    + +
    + +
    +

    +

    +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Session_History/contents/Session_History/css/result.css b/testing/web-platform/tests/old-tests/submission/Infraware/Session_History/contents/Session_History/css/result.css new file mode 100644 index 000000000..7bbc51730 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Session_History/contents/Session_History/css/result.css @@ -0,0 +1,12 @@ +.pass { + color: green; +} +.fail { + color: red; +} +.manualpass { + color: green; +} +.manualfail { + color: red; +} \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Infraware/Session_History/contents/Session_History/index.html b/testing/web-platform/tests/old-tests/submission/Infraware/Session_History/contents/Session_History/index.html new file mode 100644 index 000000000..7c5564102 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Infraware/Session_History/contents/Session_History/index.html @@ -0,0 +1,63 @@ + + + + + + Session History + + + + + +

    + Session History 
    +


    +
      + + +
    1. history_state
    2. + +
    3. history_pushState
    4. +
    5. history_pushState_NoOptionalParam
    6. +
    7. history_pushState SECURITY_ERR
    8. +
    9. history_replaceState
    10. +
    11. history_replaceStateNoOptionalParam
    12. +
    13. history_replaceState SECURITY_ERR
    14. + +
    15. history_back
    16. +
    17. history_forward
    18. + +
    19. history_go_minus
    20. +
    21. history_go_plus
    22. + + + + + +
    23. location_href
    24. +
    25. location_assign
    26. +
    27. location_replace
    28. + +
    29. location_protocol
    30. +
    31. location_host
    32. +
    33. location_hostname
    34. +
    35. location_port
    36. +
    37. location_pathname
    38. +
    39. location_search
    40. +
    41. location_hash
    42. + +
    43. combination_history_001
    44. +
    45. combination_history_002
    46. +
    47. combination_history_003
    48. +
    49. combination_history_004
    50. +
    51. combination_history_005
    52. +
    53. combination_history_006
    54. +
    55. combination_history_007
    56. + +
      +
    +
    +

    + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_000-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_000-manual.htm new file mode 100644 index 000000000..278157644 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_000-manual.htm @@ -0,0 +1,62 @@ + + + + HTML5 Drag and Drop: Fire drag event during the drag and drop processing + + + + + + + + +

    Description: Fire drag event during the drag and drop processing
    + + + + + + + + + +
    Test ResultTest Assertion
    ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
    + Steps: +
      +
    1. Click and drag the blue image +
    +
    +
    +

    + http://dev.w3.org/html5/spec/dnd.html#drag-and-drop-processing-model +

    +

    + If the user agent is still performing the previous iteration of the sequence (if any) when the next iteration becomes due, abort these steps for this iteration (effectively "skipping missed frames" of the drag-and-drop operation). + Fire a DND event named drag event at the source node. If this event is canceled, the user agent must set the current drag operation to "none" (no drag operation). +

    + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_001-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_001-manual.htm new file mode 100644 index 000000000..3514f2193 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_001-manual.htm @@ -0,0 +1,62 @@ + + + + HTML5 Drag and Drop: Fire drag event when dragging a div element + + + + + + + + +
    Description: Fire drag event when dragging a div element
    + + + + + + + + + +
    Test ResultTest Assertion
    ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
    + Steps: +
      +
    1. Click and drag the red box +
    +
    +
    +

    + http://dev.w3.org/html5/spec/dnd.html#drag-and-drop-processing-model +

    +

    + If the user agent is still performing the previous iteration of the sequence (if any) when the next iteration becomes due, abort these steps for this iteration (effectively "skipping missed frames" of the drag-and-drop operation). + Fire a DND event named drag event at the source node. If this event is canceled, the user agent must set the current drag operation to "none" (no drag operation). +

    +
    + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_002-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_002-manual.htm new file mode 100644 index 000000000..fdd40b577 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_002-manual.htm @@ -0,0 +1,64 @@ + + + + HTML5 Drag and Drop: Fire dragend event during the drag and drop processing + + + + + + + + +
    Description: Fire dragend event during the drag and drop processing
    + + + + + + + + + +
    Test ResultTest Assertion
    ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
    + Steps: +
      +
    1. Drag the blue image +
    2. Drop it on the green box +
    +
    +
    +

    + http://dev.w3.org/html5/spec/dnd.html#drag-and-drop-processing-model +

    +

    + If the drag operation failed or succeeded, fire a DND event named dragend at the source node. +

    + +

    + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_003-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_003-manual.htm new file mode 100644 index 000000000..bde48b9cc --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_003-manual.htm @@ -0,0 +1,67 @@ + + + + HTML5 Drag and Drop: Fire dragenter event during the drag and drop processing + + + + + + + + +
    Description: Fire dragenter event during the drag and drop processing
    + + + + + + + + + +
    Test ResultTest Assertion
    ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
    + Steps: +
      +
    1. Select the text inside the red box +
    2. Drag it and enter the green box +
    +
    +
    +

    + http://dev.w3.org/html5/spec/dnd.html#drag-and-drop-processing-model +

    +

    + If the user is indicating a different immediate user selection than during the last iteration (or if this is the first iteration), and if this immediate user selection is not the same as the current target element, then update the current target element as follows: + - If the new immediate user selection is null, Set the current target element to null also. + - If the new immediate user selection is in a non-DOM document or application, Set the current target element to the immediate user selection. + - Otherwise, Fire a DND event named dragenter at the immediate user selection. +

    +
    SampleText
    +

    + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_004-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_004-manual.htm new file mode 100644 index 000000000..c97cc7dbf --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_004-manual.htm @@ -0,0 +1,19 @@ + + + + HTML5 Drag and Drop: Auto state of draggable attribute for 'a' element + + + + + + + + +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_005-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_005-manual.htm new file mode 100644 index 000000000..28305cd26 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_005-manual.htm @@ -0,0 +1,19 @@ + + + + HTML5 Drag and Drop: Auto state of draggable attribute for div element + + + + + + + + +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_006-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_006-manual.htm new file mode 100644 index 000000000..4d8432b07 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_006-manual.htm @@ -0,0 +1,19 @@ + + + + HTML5 Drag and Drop: Auto state of draggable attribute for img element + + + + + + + + +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_007-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_007-manual.htm new file mode 100644 index 000000000..f14c70b39 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_007-manual.htm @@ -0,0 +1,19 @@ + + + + HTML5 Drag and Drop: False state of draggable attribute + + + + + + + + +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_008-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_008-manual.htm new file mode 100644 index 000000000..4716e5188 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_008-manual.htm @@ -0,0 +1,19 @@ + + + + HTML5 Drag and Drop: True state of draggable attribute + + + + + + + + +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_009-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_009-manual.htm new file mode 100644 index 000000000..781a58476 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_009-manual.htm @@ -0,0 +1,66 @@ + + + + HTML5 Drag and Drop: Fire dragleave event during the drag and drop processing + + + + + + + + +
    Description: Fire dragleave event during the drag and drop processing
    + + + + + + + + + +
    Test ResultTest Assertion
    ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
    + Steps: +
      +
    1. Select the text inside the red box +
    2. Drag it over the blue box and drop it on the green box +
    +
    +
    +

    + http://dev.w3.org/html5/spec/dnd.html#drag-and-drop-processing-model +

    +

    + If there is a change in the current target element, and if the previous target element was not null or a part of a non-DOM document, then fire a DND event named dragleave at the previous target element. +

    +
    SampleText
    +
    +
    +
    + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_010-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_010-manual.htm new file mode 100644 index 000000000..08e0a071e --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_010-manual.htm @@ -0,0 +1,64 @@ + + + + HTML5 Drag and Drop: Fire dragover event during the drag and drop processing + + + + + + + + +
    Description: Fire dragover event during the drag and drop processing
    + + + + + + + + + +
    Test ResultTest Assertion
    ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
    + Steps: +
      +
    1. Select the text inside the red box. +
    2. Drag it, hover over the green box and then release the mouse +
    +
    +
    +

    + http://dev.w3.org/html5/spec/dnd.html#drag-and-drop-processing-model +

    +

    + If the current target element is a DOM element, then fire a DND event named dragover at this current target element +

    +
    SampleText
    +

    +
    + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_011-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_011-manual.htm new file mode 100644 index 000000000..dcd7c9c9d --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_011-manual.htm @@ -0,0 +1,62 @@ + + + + HTML5 Drag and Drop: Fire dragstart event during the drag and drop processing + + + + + + + + +
    Description: Fire dragstart event during the drag and drop processing
    + + + + + + + + + +
    Test ResultTest Assertion
    ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
    + Steps: +
      +
    1. Click and drag the red box +
    +
    +
    +

    + http://dev.w3.org/html5/spec/dnd.html#drag-and-drop-processing-model +

    +

    + If it is an element that is being dragged, then set the drag data store elements list to contain just the source node. + Fire a DND event named dragstart at the source node. +

    +
    + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_012-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_012-manual.htm new file mode 100644 index 000000000..b1df40a70 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_012-manual.htm @@ -0,0 +1,64 @@ + + + + HTML5 Drag and Drop: Fire drop event during the drag and drop processing + + + + + + + + +
    Description: Fire drop event during the drag and drop processing
    + + + + + + + + + +
    Test ResultTest Assertion
    ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
    + Steps: +
      +
    1. Select the text inside the red box +
    2. Drag it and drop it on the green box +
    +
    +
    +

    + http://dev.w3.org/html5/spec/dnd.html#drag-and-drop-processing-model +

    +

    + If the drag operation was a success, if the current target element is a DOM element, fire a DND event named drop at it. +

    +
    SampleText
    +

    + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_013-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_013-manual.htm new file mode 100644 index 000000000..6c2c88afc --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_013-manual.htm @@ -0,0 +1,76 @@ + + + + HTML5 Drag and Drop: Set a value to effectAllowed attribute + + + + + + + + +
    Description: Set a value to effectAllowed attribute
    + + + + + + + + + +
    Test ResultTest Assertion
    ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
    + Steps: +
      +
    1. Drag the blue image and enter the green box +
    +
    +
    +

    + http://dev.w3.org/html5/spec/dnd.html#datatransfer +

    +

    + On setting, if the new value is one of "none", "copy", "copyLink", "copyMove", "link", "linkMove", "move", "all", or "uninitialized", then the attribute's current value must be set to the new value. +

    + +

    + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_014-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_014-manual.htm new file mode 100644 index 000000000..3959cd2ee --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_014-manual.htm @@ -0,0 +1,81 @@ + + + + HTML5 Drag and Drop: files attribute returns a FileList + + + + + + + + +
    Description: files attribute returns a FileList
    + + + + + + + + + +
    Test ResultTest Assertion
    ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
    + Steps: +
      +
    1. Drag a file and drop it in the green box +
    +
    +
    +

    + http://dev.w3.org/html5/spec/dnd.html#datatransfer +

    +

    + The files attribute must return a live FileList sequence consisting of File objects representing the files. +

    + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_015-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_015-manual.htm new file mode 100644 index 000000000..1cd64d945 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_015-manual.htm @@ -0,0 +1,78 @@ + + + + HTML5 Drag and Drop: Add an item to the drag data store item list whose data is the string given by setData method's second argument + + + + + + + + +
    Description: Add an item to the drag data store item list whose data is the string given by setData method's second argument
    + + + + + + + + + +
    Test ResultTest Assertion
    ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
    + Steps: +
      +
    1. Drag the blue image and drop it in the green box +
    +
    +
    +

    + http://dev.w3.org/html5/spec/dnd.html#datatransfer +

    +

    + If format equals "text", change it to "text/plain". + Remove the item in the drag data store item list whose kind is Plain Unicode string and whose type string is equal to format, if there is one. + Add an item to the drag data store item list whose kind is Plain Unicode string, whose type string is equal to format, and whose data is the string given by the method's second argument. +

    + +

    + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_016-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_016-manual.htm new file mode 100644 index 000000000..26b3317c3 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_016-manual.htm @@ -0,0 +1,72 @@ + + + + HTML5 Drag and Drop: types attribute returns a DOMStringList + + + + + + + + +
    Description: types attribute returns a DOMStringList
    + + + + + + + + + +
    Test ResultTest Assertion
    ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
    + Steps: +
      +
    1. Select the text inside the red box +
    2. Drag and drop it in the green box +
    +
    +
    +

    + http://dev.w3.org/html5/spec/dnd.html#datatransfer +

    +

    + The types attribute must return a live DOMStringList. +

    +
    SampleText
    +

    + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_support.js b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_support.js new file mode 100644 index 000000000..f5a1d6417 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/dragdrop/dragdrop_support.js @@ -0,0 +1,9 @@ +function AddEventListenersForElement(evt, callback, capture, element) +{ + element.addEventListener(evt, callback, capture); +} + +function LogTestResult(result) +{ + document.getElementById("test_result").firstChild.data = result; +} diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_002.html b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_002.html new file mode 100644 index 000000000..47acacfe7 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_002.html @@ -0,0 +1,47 @@ + + + + HTML 5 Foreign Content SVG in HTML + + + + + + + +
    +

    Test passes if 'FillerText' is rendered as italic.

    +
    +
    + + + + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_007.html b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_007.html new file mode 100644 index 000000000..f1ba496bb --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_007.html @@ -0,0 +1,8 @@ + + + + + +
    +

    Test passes if a green rectangle is visible on the page above this line.

    +
    diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_012.html b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_012.html new file mode 100644 index 000000000..09e99e41a --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_012.html @@ -0,0 +1,33 @@ + + + + HTML 5 Foreign Content SVG in HTML + + + + + + + + + +
    +

    Test passes if a green square appears above a black square.

    +
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_014.html b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_014.html new file mode 100644 index 000000000..d92c14dfa --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_014.html @@ -0,0 +1,98 @@ + + + + HTML 5 Foreign Content SVG in HTML + + + + + + + + +
    +

    Test passes if the word "PASS" appears below

    +

    Test Result :

    +

    RUNNING

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_015.html b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_015.html new file mode 100644 index 000000000..a4d27873a --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_015.html @@ -0,0 +1,53 @@ + + + + HTML 5 Foreign Content SVG in HTML + + + + + + + + +
    + +
    +

    Test passes if the word "PASS" appears below

    +

    Test Result :

    +
    RUNNING
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/history/404.html b/testing/web-platform/tests/old-tests/submission/Microsoft/history/404.html new file mode 100644 index 000000000..e28f5c575 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/history/404.html @@ -0,0 +1 @@ +Page Not Found \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/history/history_000.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/history/history_000.htm new file mode 100644 index 000000000..03a36bd5f --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/history/history_000.htm @@ -0,0 +1,329 @@ + + + + + + + HTML5 History Test Cases + + + + +
    + + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/images/blue-area.png b/testing/web-platform/tests/old-tests/submission/Microsoft/images/blue-area.png new file mode 100644 index 000000000..570ae0f2b Binary files /dev/null and b/testing/web-platform/tests/old-tests/submission/Microsoft/images/blue-area.png differ diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/images/blue-border.png b/testing/web-platform/tests/old-tests/submission/Microsoft/images/blue-border.png new file mode 100644 index 000000000..8f8e41c3d Binary files /dev/null and b/testing/web-platform/tests/old-tests/submission/Microsoft/images/blue-border.png differ diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/images/blue.png b/testing/web-platform/tests/old-tests/submission/Microsoft/images/blue.png new file mode 100644 index 000000000..4498dd258 Binary files /dev/null and b/testing/web-platform/tests/old-tests/submission/Microsoft/images/blue.png differ diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/images/fail.gif b/testing/web-platform/tests/old-tests/submission/Microsoft/images/fail.gif new file mode 100644 index 000000000..c4addcf00 Binary files /dev/null and b/testing/web-platform/tests/old-tests/submission/Microsoft/images/fail.gif differ diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/images/movie_300_frame_0.png b/testing/web-platform/tests/old-tests/submission/Microsoft/images/movie_300_frame_0.png new file mode 100644 index 000000000..b71282509 Binary files /dev/null and b/testing/web-platform/tests/old-tests/submission/Microsoft/images/movie_300_frame_0.png differ diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/images/poster.png b/testing/web-platform/tests/old-tests/submission/Microsoft/images/poster.png new file mode 100644 index 000000000..8873ed678 Binary files /dev/null and b/testing/web-platform/tests/old-tests/submission/Microsoft/images/poster.png differ diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/images/poster_blue.png b/testing/web-platform/tests/old-tests/submission/Microsoft/images/poster_blue.png new file mode 100644 index 000000000..69d5a39dc Binary files /dev/null and b/testing/web-platform/tests/old-tests/submission/Microsoft/images/poster_blue.png differ diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/images/poster_green.png b/testing/web-platform/tests/old-tests/submission/Microsoft/images/poster_green.png new file mode 100644 index 000000000..cac16ede7 Binary files /dev/null and b/testing/web-platform/tests/old-tests/submission/Microsoft/images/poster_green.png differ diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/images/poster_red.png b/testing/web-platform/tests/old-tests/submission/Microsoft/images/poster_red.png new file mode 100644 index 000000000..0fb1f252c Binary files /dev/null and b/testing/web-platform/tests/old-tests/submission/Microsoft/images/poster_red.png differ diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/images/rect.svg b/testing/web-platform/tests/old-tests/submission/Microsoft/images/rect.svg new file mode 100644 index 000000000..bb0cf97d9 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/images/rect.svg @@ -0,0 +1,4 @@ + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_001.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_001.htm new file mode 100644 index 000000000..24d16cfcc --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_001.htm @@ -0,0 +1,11 @@ + + + + Page with script + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_002.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_002.htm new file mode 100644 index 000000000..e63784771 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_002.htm @@ -0,0 +1,21 @@ + + + + HTML5 video with autoplay attribute. + + + + + Your browser does not support HTML5 video. + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_003.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_003.htm new file mode 100644 index 000000000..621ece79a --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_003.htm @@ -0,0 +1,12 @@ + + + + autofocus on form control + + +
    Below form control has autofocus attribute set.

    +
    + Textbox: +
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_004.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_004.htm new file mode 100644 index 000000000..02960d078 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_004.htm @@ -0,0 +1,10 @@ + + + + object tag + + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_006.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_006.htm new file mode 100644 index 000000000..42542ae14 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_006.htm @@ -0,0 +1,12 @@ + + + +Form submission + + +
    + Name:
    + +
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_007.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_007.htm new file mode 100644 index 000000000..fc01557c7 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_007.htm @@ -0,0 +1,12 @@ + + + +Form submission + + +
    + Name:
    + +
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_008.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_008.htm new file mode 100644 index 000000000..115b97293 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_008.htm @@ -0,0 +1,9 @@ + + + + Page with hyperlink and target set to self + + + Click here to perform self navigation + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_009.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_009.htm new file mode 100644 index 000000000..f232dcb7c --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_009.htm @@ -0,0 +1,9 @@ + + + + Page with showModalDialog() API + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_010.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_010.htm new file mode 100644 index 000000000..d4e81bb96 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_010.htm @@ -0,0 +1,9 @@ + + + + Page with window.open() + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_012.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_012.htm new file mode 100644 index 000000000..b1e8f92fb --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_012.htm @@ -0,0 +1,13 @@ + + + + Page with access to document.cookie + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_020.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_020.htm new file mode 100644 index 000000000..3304ea84b --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_020.htm @@ -0,0 +1,28 @@ + + + + Page with iframes + + + + + + + + + + + + +
    + child iframe with sandbox="allow-scripts" attribute
    + +
    + child iframe with sandbox="" attribute
    + +
    + child iframe without sandbox attribute
    + +
    + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_020a.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_020a.htm new file mode 100644 index 000000000..a419c9413 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_020a.htm @@ -0,0 +1,13 @@ + + + + Page with script + + +
    Script Execution: Blocked
    + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_021.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_021.htm new file mode 100644 index 000000000..e3041ccef --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_021.htm @@ -0,0 +1,28 @@ + + + + Page with iframes + + + + + + + + + + + + +
    + child iframe with sandbox="allow-scripts" attribute
    + +
    + child iframe with sandbox="" attribute
    + +
    + child iframe without sandbox attribute
    + +
    + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_021a.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_021a.htm new file mode 100644 index 000000000..4e22a363c --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_021a.htm @@ -0,0 +1,13 @@ + + + + Page with script + + +
    Script Execution: Blocked
    + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_022.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_022.htm new file mode 100644 index 000000000..11382d1d7 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_022.htm @@ -0,0 +1,11 @@ + + + + target=_top + + +
    hyperlink with target=_top
    +
    + Open the link in top window + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_023.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_023.htm new file mode 100644 index 000000000..a65db539b --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_023.htm @@ -0,0 +1,15 @@ + + +Access parent dom + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_024.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_024.htm new file mode 100644 index 000000000..1b0996e58 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_024.htm @@ -0,0 +1,13 @@ + + +Page with access to document.cookie + + +
    Cookie Read:
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_026.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_026.htm new file mode 100644 index 000000000..5f1a973e1 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_026.htm @@ -0,0 +1,12 @@ + + +Page with access to localStorage and sessionStorage + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_027.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_027.htm new file mode 100644 index 000000000..366bff6f9 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_027.htm @@ -0,0 +1,21 @@ + + +XMLHttpRequest + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_028.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_028.htm new file mode 100644 index 000000000..d7ca76144 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_028.htm @@ -0,0 +1,20 @@ + + +Access parent dom + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_029.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_029.htm new file mode 100644 index 000000000..5d5c720bd --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_029.htm @@ -0,0 +1,19 @@ + + +Page with access to document.cookie + + +
    Cookie Read:
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_031.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_031.htm new file mode 100644 index 000000000..7ec7d7a4e --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_031.htm @@ -0,0 +1,19 @@ + + +Page with access to localStorage and sessionStorage + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_032.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_032.htm new file mode 100644 index 000000000..abc0370c2 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/iframe_sandbox_032.htm @@ -0,0 +1,27 @@ + + +XMLHttpRequest + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox.pdf b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox.pdf new file mode 100644 index 000000000..0e16bc8d9 Binary files /dev/null and b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox.pdf differ diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_001.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_001.htm new file mode 100644 index 000000000..53e2172bc --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_001.htm @@ -0,0 +1,33 @@ + + + + HTML5 Sandbox: Allow script execution inside iframe with sandbox attribute when sandbox="allow-scripts". + + + + + + + + + + +
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_002.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_002.htm new file mode 100644 index 000000000..767518456 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_002.htm @@ -0,0 +1,25 @@ + + + + HTML5 Sandbox: Allow autoplay for HTML5 Video inside iframe with sandbox attribute if sandbox='allow-scripts'. + + + + + + + + + +
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_003-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_003-manual.htm new file mode 100644 index 000000000..21078322b --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_003-manual.htm @@ -0,0 +1,32 @@ + + + + HTML5 Sandbox: Block autofocus on form control inside iframe with sandbox attribute. + + + + + + + +
    Description: Block autofocus on form controls inside iframe with sandbox attribute.
    + + + + + + + + + +
    Test ResultTest Assertion
    ManualTest passes if caret (text cursor) is not on the textbox in the below iframe.
    +
    +
    +
    iframe with sandbox
    + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_004-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_004-manual.htm new file mode 100644 index 000000000..21b063aed --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_004-manual.htm @@ -0,0 +1,33 @@ + + + + HTML5 Sandbox: Block plugins inside iframe with sandbox attribute. + + + + + + + +
    Description: Block plugins inside iframe with sandbox attribute.
    + + + + + + + + + +
    Test ResultTest Assertion
    ManualTest passes if you DO NOT see the 'Sample PDF For Testing' pdf below or 'FAIL'.
    + Test requires that a pdf plugin has been installed!
    +
    +
    +
    iframe with sandbox
    + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_005.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_005.htm new file mode 100644 index 000000000..cc5f815c9 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_005.htm @@ -0,0 +1,33 @@ + + + + HTML5 Sandbox: Block script execution inside iframe with sandbox attribute. + + + + + + + + + + +
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_006-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_006-manual.htm new file mode 100644 index 000000000..487e8d4cf --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_006-manual.htm @@ -0,0 +1,37 @@ + + + + HTML5 Sandbox: Allow form submission inside sandbox iframe when sandbox='allow-forms' + + + + + + + +
    Description: Allow form submission inside iframe with sandbox attribute if sandbox='allow-forms'.
    + + + + + + + + + +
    Test ResultTest Assertion
    Manual +
    Steps:
    +
    1. Click button "Submit Form".
    +
    +
    Test passes if there is no red on the page and if the word "PASS" appears in the below iframe after following the above steps.
    +
    +
    +
    +
    iframe with sandbox="allow-forms"
    + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_007-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_007-manual.htm new file mode 100644 index 000000000..5caa12a07 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_007-manual.htm @@ -0,0 +1,37 @@ + + + + HTML5 Sandbox: Block form submission inside sandbox iframe + + + + + + + +
    Description: Block form submission inside iframe with sandbox attribute.
    + + + + + + + + + +
    Test ResultTest Assertion
    Manual +
    Steps:
    +
    1. Click button "Submit Form".
    +
    +
    Test passes if there is no red on the page and there is no navigation in the below iframe after following the above steps.
    +
    +
    +
    +
    iframe with sandbox="allow-scripts allow-same-origin allow-top-navigation"
    + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_008-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_008-manual.htm new file mode 100644 index 000000000..dde12ef1d --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_008-manual.htm @@ -0,0 +1,37 @@ + + + + HTML5 Sandbox: Allow sandboxed iframe content to navigate the sandboxed browsing context itself. + + + + + + + +
    Description: Allow sandboxed iframe content to navigate the sandboxed browsing context itself.
    + + + + + + + + + +
    Test ResultTest Assertion
    Manual +
    Steps:
    +
    1. Click link "Click here to perform self navigation".
    +
    +
    Test passes if there is no red on the page and the word "PASS" appears in the below iframe after following the above steps.
    +
    +
    +
    +
    iframe with sandbox=""
    + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_009-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_009-manual.htm new file mode 100644 index 000000000..5cb0d9030 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_009-manual.htm @@ -0,0 +1,37 @@ + + + + HTML5 Sandbox: Block popup created via showModalDialog() inside iframe with sandbox attribute. + + + + + + + +
    Description: Block popup created via showModalDialog() inside iframe with sandbox attribute.
    + + + + + + + + + +
    Test ResultTest Assertion
    Manual +
    Steps:
    +
    1. Click button "Click here to call showModalDialog() API".
    +
    +
    Test passes if there is no red on the page and no new window opens. The user agent may offer the user the option of allowing a new window to open.
    +
    +
    +
    +
    iframe with sandbox="allow-scripts allow-same-origin allow-forms allow-top-navigation"
    + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_010-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_010-manual.htm new file mode 100644 index 000000000..4341066e1 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_010-manual.htm @@ -0,0 +1,37 @@ + + + + HTML5 Sandbox: Block window.open() API inside iframe with sandbox attribute. + + + + + + + +
    Description: Block window.open() API inside iframe with sandbox attribute.
    + + + + + + + + + +
    Test ResultTest Assertion
    Manual +
    Steps:
    +
    1. Click button "Click here to call window.open() API".
    +
    +
    Test passes if there is no red on the page and no new window opens. The user agent may offer the user the option of allowing a new window to open.
    +
    +
    +
    +
    iframe with sandbox="allow-scripts allow-same-origin allow-forms allow-top-navigation"
    + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_011.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_011.htm new file mode 100644 index 000000000..ce3ee1a7d --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_011.htm @@ -0,0 +1,65 @@ + + + + HTML5 Sandbox: iframe sandbox attribute value support DOMTokenList interface. + + + + + + + + +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_012.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_012.htm new file mode 100644 index 000000000..cf99378cd --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_012.htm @@ -0,0 +1,36 @@ + + + + HTML5 Sandbox: value of sandbox attribute must be an unordered set of unique space-separated tokens. + + + + + + + + + +
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_013.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_013.htm new file mode 100644 index 000000000..ab0aea079 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_013.htm @@ -0,0 +1,38 @@ + + + + HTML5 Sandbox: value of sandbox attribute must be an unordered set of unique space-separated tokens. + + + + + + + + + +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_014.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_014.htm new file mode 100644 index 000000000..774720929 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_014.htm @@ -0,0 +1,36 @@ + + + + HTML5 Sandbox: value of sandbox attribute must be an unordered set of unique space-separated tokens. + + + + + + + + + +
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_015.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_015.htm new file mode 100644 index 000000000..a34ede4b3 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_015.htm @@ -0,0 +1,36 @@ + + + + HTML5 Sandbox: value of sandbox attribute must be an unordered set of unique space-separated tokens. + + + + + + + + + +
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_016.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_016.htm new file mode 100644 index 000000000..c84e223e1 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_016.htm @@ -0,0 +1,35 @@ + + + + HTML5 Sandbox: value of sandbox attribute must be an unordered set of unique space-separated tokens. + + + + + + + + + +
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_017.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_017.htm new file mode 100644 index 000000000..ade4c8092 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_017.htm @@ -0,0 +1,36 @@ + + + + HTML5 Sandbox: value of sandbox attribute must be an unordered set of unique space-separated tokens. + + + + + + + + + +
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_018.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_018.htm new file mode 100644 index 000000000..77f10d274 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_018.htm @@ -0,0 +1,36 @@ + + + + HTML5 Sandbox: value of sandbox attribute must be an unordered set of unique space-separated tokens. + + + + + + + + + +
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_019.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_019.htm new file mode 100644 index 000000000..d91280a60 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_019.htm @@ -0,0 +1,36 @@ + + + + HTML5 Sandbox: value of sandbox attribute must be an unordered set of unique space-separated tokens. + + + + + + + + + +
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_020-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_020-manual.htm new file mode 100644 index 000000000..751f85863 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_020-manual.htm @@ -0,0 +1,34 @@ + + + + HTML5 Sandbox: Nested iframes cannot have less sandbox restrictions than their most restrictive ancestor iframe. + + + + + + + +
    Description: Nested iframes cannot have less sandbox restrictions than their most restrictive ancestor iframe.
    +
    This test is to verify script is blocked inside nested iframes if the top-most sandbox iframe has no 'allow-scripts' token.
    +
    + + + + + + + + + +
    Test ResultTest Assertion
    ManualTest passes if there is no red on the page.
    +
    +
    +
    Top-most iframe with sandbox=""
    + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_021-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_021-manual.htm new file mode 100644 index 000000000..bbdc21f93 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_021-manual.htm @@ -0,0 +1,44 @@ + + + + HTML5 Sandbox: Nested iframes cannot have less sandbox restrictions than their most restrictive ancestor iframe. + + + + + + + +
    Description: Nested iframes cannot have less sandbox restrictions than their most restrictive ancestor iframe.
    +
    This test is to verify script is allowed inside nested iframes if any of the conditions below are true
    +
    1. both parent sandbox and child sandbox have 'allow-scripts' token.
    +
    2. parent sandbox has 'allow-scripts' token and nested child iframe has no sandbox attribute.
    +
    3. parent iframe has no sandbox attribute and child iframe has sandbox='allow-scripts' token.
    +
    4. both parent and child iframes have no sandbox attribute.
    +
    + + + + + + + + + +
    Test ResultTest Assertion
    ManualTest passes if there is no red on the page.
    +
    +
    +
    +
    Top-most iframe with sandbox="allow-scripts"
    + +
    +
    +
    Top-most iframe without sandbox attribute
    + +
    +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_022-manual.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_022-manual.htm new file mode 100644 index 000000000..aa08de512 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_022-manual.htm @@ -0,0 +1,38 @@ + + + + HTML5 Sandbox: allow sandbox iframe to navigate their top-level browsing context if sandbox="allow-top-navigation". + + + + + + + +
    Description: Allow sandbox iframe to navigate its top-level browsing context if sandbox='allow-top-navigation'.
    + + + + + + + + + +
    Test ResultTest Assertion
    Manual +
    Steps:
    +
    1. Click link "Open the link in top window".
    +
    +
    Test passes if there is no red on the page and no top-level navigation after following the above steps.
    +
    +
    +
    +
    iframe with sandbox="allow-top-navigation"
    + +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_023.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_023.htm new file mode 100644 index 000000000..7f8a436b4 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_023.htm @@ -0,0 +1,34 @@ + + + + HTML5 Sandbox: Allow sandbox iframe to access other content from the same origin if sandbox="allow-same-origin". + + + + + + + + + + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_024.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_024.htm new file mode 100644 index 000000000..935543707 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_024.htm @@ -0,0 +1,33 @@ + + + + HTML5 Sandbox: document.cookie access is allowed inside iframe with sandbox="allow-same-origin". + + + + + + + + + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_025.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_025.htm new file mode 100644 index 000000000..ab291e5ce --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_025.htm @@ -0,0 +1,32 @@ + + + + HTML5 Sandbox: Allow parent content to access sandbox child iframe content when sandbox='allow-same-origin + + + + + + + + + +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_026.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_026.htm new file mode 100644 index 000000000..49243899e --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_026.htm @@ -0,0 +1,33 @@ + + + + HTML5 Sandbox: Allow localStorage and sessionStorage access inside iframe with sandbox='allow-same-origin allow-scripts'. + + + + + + + + + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_027.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_027.htm new file mode 100644 index 000000000..2b9cba5d2 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_027.htm @@ -0,0 +1,33 @@ + + + + HTML5 Sandbox: Allow XMLHttpRequest inside iframe with the sandbox attribute if sandbox='allow-same-origin'. + + + + + + + + + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_028.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_028.htm new file mode 100644 index 000000000..56dfb6810 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_028.htm @@ -0,0 +1,34 @@ + + + + HTML5 Sandbox: Block sandbox iframe from accessing other content from the same origin. + + + + + + + + + + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_029.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_029.htm new file mode 100644 index 000000000..b88b74a22 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_029.htm @@ -0,0 +1,33 @@ + + + + HTML5 Sandbox: Block document.cookie inside iframe with the sandbox attribute. + + + + + + + + + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_030.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_030.htm new file mode 100644 index 000000000..1c3b54cb0 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_030.htm @@ -0,0 +1,33 @@ + + + + HTML5 Sandbox: Block parent content to access sandbox child iframe content when sandbox attribute exists + + + + + + + + + +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_031.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_031.htm new file mode 100644 index 000000000..2582fac35 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_031.htm @@ -0,0 +1,33 @@ + + + + HTML5 Sandbox: Block localStorage and sessionStorage inside iframe with the sandbox attribute. + + + + + + + + + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_032.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_032.htm new file mode 100644 index 000000000..1c234fcc9 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_032.htm @@ -0,0 +1,33 @@ + + + + HTML5 Sandbox: Block XMLHttpRequest in an iframe with the sandbox attribute. + + + + + + + + + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_helper.js b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_helper.js new file mode 100644 index 000000000..1472cbf22 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/sandbox_helper.js @@ -0,0 +1,14 @@ +function IsSandboxSupported() { + if ('sandbox' in document.createElement('iframe')) { + return true; + } + return false; +} + +function DisableTestForNonSupportingBrowsers() { + //check if sandbox is supported by the browser + if (!IsSandboxSupported()) { + document.getElementById('testframe').innerHTML = "FAIL: Your browser does not support the sandbox attribute on the iframe element."; + document.getElementById('testframe').style.color = "Red"; + } +} \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/standalone-fail.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/standalone-fail.htm new file mode 100644 index 000000000..1725ef060 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/standalone-fail.htm @@ -0,0 +1,9 @@ + + + + Page with FAIL message + + +
    FAIL!!!
    + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/standalone-iframe-content.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/standalone-iframe-content.htm new file mode 100644 index 000000000..e543c21d6 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/standalone-iframe-content.htm @@ -0,0 +1,9 @@ + + + + Page with a message + + +
    Hello World.
    + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/standalone-pass.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/standalone-pass.htm new file mode 100644 index 000000000..0ca822f8d --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/sandbox/standalone-pass.htm @@ -0,0 +1,9 @@ + + + + Page with PASS message + + +
    PASS!!!
    + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/RemoveElementContainingSelection.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/RemoveElementContainingSelection.htm new file mode 100644 index 000000000..69150236e --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/RemoveElementContainingSelection.htm @@ -0,0 +1,40 @@ + + + + HTML5 Selection: Remove the element containing the selection + + + +
    some text + aaaaaaaa +
    +
    Remove the element containing the selection
    +

    Test passes if the word "PASS" appears below.

    +
    Test result:
    +
    FAIL
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/addRange.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/addRange.htm new file mode 100644 index 000000000..c4b5e9944 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/addRange.htm @@ -0,0 +1,72 @@ + + + + HTML5 Selection: Add a range to the selection + + + +

    Add a range to the selection

    +

    Test passes if the word "PASS" appears below.

    +
    Test result:
    +
    FAIL
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapse.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapse.htm new file mode 100644 index 000000000..7c2423021 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapse.htm @@ -0,0 +1,73 @@ + + + + HTML5 Selection: Collapse the selection using collapse() + + + +

    Collapse the selection using collapse()

    +

    Test passes if the word "PASS" appears below.

    +
    Test result:
    +
    FAIL
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapseToEnd.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapseToEnd.htm new file mode 100644 index 000000000..2f68ec655 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapseToEnd.htm @@ -0,0 +1,75 @@ + + + + HTML5 Selection: Collapse the selection with collapseToEnd() + + + +

    Collapse the selection with collapseToEnd()

    +

    Test passes if the word "PASS" appears below.

    +
    Test result:
    +
    FAIL
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapseToStart.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapseToStart.htm new file mode 100644 index 000000000..da9676d57 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapseToStart.htm @@ -0,0 +1,75 @@ + + + + HTML5 Selection: Collapse the selection with collapseToStart() + + + +

    Collapse the selection with collapseToStart()

    +

    Test passes if the word "PASS" appears below.

    +
    Test result:
    +
    FAIL
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/deleteFromDocument.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/deleteFromDocument.htm new file mode 100644 index 000000000..2373939cc --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/deleteFromDocument.htm @@ -0,0 +1,80 @@ + + + + HTML5 Selection: Delete some text from the document while it is part of a selection + + + +

    Delete some text from the document while it is part of a selection

    +

    abcdefghijklmnopqrstuvwxyz

    +

    Test passes if the word "PASS" appears below.

    +
    Test result:
    +
    FAIL
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/getRangeAt.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/getRangeAt.htm new file mode 100644 index 000000000..a3911e6cd --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/getRangeAt.htm @@ -0,0 +1,59 @@ + + + + HTML5 Selection: Get the range from the selection + + + +

    Get the range from the selection

    +

    Test passes if the word "PASS" appears below.

    +
    Test result:
    +
    FAIL
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/insertNodeIntoSelection.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/insertNodeIntoSelection.htm new file mode 100644 index 000000000..4ec0d80f3 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/insertNodeIntoSelection.htm @@ -0,0 +1,41 @@ + + + + HTML5 Selection: Insert a new element and text node into an element that is currently selected + + + +

    This test inserts a new element with a text node child into the current selection.

    +
    some text
    +

    Test passes if the word "PASS" appears below.

    +
    Test result:
    +
    FAIL
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/removeAllRanges.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/removeAllRanges.htm new file mode 100644 index 000000000..869e5391d --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/removeAllRanges.htm @@ -0,0 +1,73 @@ + + + + HTML5 Selection: Call removeAllRanges() to clear the selection + + + +

    Call removeAllRanges() to clear the selection

    +

    Test passes if the word "PASS" appears below.

    +
    Test result:
    +
    FAIL
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/removeRange.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/removeRange.htm new file mode 100644 index 000000000..e35047b47 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/removeRange.htm @@ -0,0 +1,72 @@ + + + + HTML5 Selection: Remove the range from the selection + + + +

    Remove the range from the selection by calling removeRange()

    +

    Test passes if the word "PASS" appears below.

    +
    Test result:
    +
    FAIL
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/select.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/select.htm new file mode 100644 index 000000000..f6a31f249 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/select.htm @@ -0,0 +1,72 @@ + + + + HTML5 Selection: Call select() on a text field + + + + +

    Select the text in the input element by calling select()

    +

    Test passes if the word "PASS" appears below.

    +
    Test result:
    +
    FAIL
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/selectAllChildren.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/selectAllChildren.htm new file mode 100644 index 000000000..a3ab4f57d --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/selectAllChildren.htm @@ -0,0 +1,32 @@ + + + + HTML5 Selection: Call selectAllChildren() where the parameter is a text node + + + +
    Call selectAllChildren() where the parameter is a text node
    +

    Test passes if the word "PASS" appears below.

    +
    Test result:
    +
    FAIL
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/selectionStartEnd.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/selectionStartEnd.htm new file mode 100644 index 000000000..c5b69d570 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/selectionStartEnd.htm @@ -0,0 +1,74 @@ + + + + HTML5 Selection: Set selectionStart and selectionEnd on a text field + + + + +

    Select some text in the input element by setting selectionStart and selectionEnd

    +

    Test passes if the word "PASS" appears below.

    +
    Test result:
    +
    FAIL
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/setSelectionRange.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/setSelectionRange.htm new file mode 100644 index 000000000..a6d7a0f2b --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/setSelectionRange.htm @@ -0,0 +1,73 @@ + + + + HTML5 Selection: Call setSelectionRange() on a text field + + + + +

    Call setSelectionRange() on the input element to select some of the text

    +

    Test passes if the word "PASS" appears below.

    +
    Test result:
    +
    FAIL
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/structuredclone/echo.js b/testing/web-platform/tests/old-tests/submission/Microsoft/structuredclone/echo.js new file mode 100644 index 000000000..02184921c --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/structuredclone/echo.js @@ -0,0 +1 @@ +onmessage = function (ev) { postMessage(ev.data); } \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/structuredclone/structuredclone_0.html b/testing/web-platform/tests/old-tests/submission/Microsoft/structuredclone/structuredclone_0.html new file mode 100644 index 000000000..ed0e35d9a --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/structuredclone/structuredclone_0.html @@ -0,0 +1,400 @@ + + + + + 2.8 Common DOM interfaces - Structured Clone Algorithm + + + + + +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/xhtml5/colgroup_valign_bottom.xhtml b/testing/web-platform/tests/old-tests/submission/Microsoft/xhtml5/colgroup_valign_bottom.xhtml new file mode 100644 index 000000000..84da6dbf6 Binary files /dev/null and b/testing/web-platform/tests/old-tests/submission/Microsoft/xhtml5/colgroup_valign_bottom.xhtml differ diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/xhtml5/colgroup_valign_top.xhtml b/testing/web-platform/tests/old-tests/submission/Microsoft/xhtml5/colgroup_valign_top.xhtml new file mode 100644 index 000000000..83b8c62e5 Binary files /dev/null and b/testing/web-platform/tests/old-tests/submission/Microsoft/xhtml5/colgroup_valign_top.xhtml differ diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/001.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/001.html new file mode 100644 index 000000000..665019ed0 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/001.html @@ -0,0 +1,27 @@ + + + scheduler: inline in markup + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/002.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/002.html new file mode 100644 index 000000000..dcaa163ea --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/002.html @@ -0,0 +1,27 @@ + + + scheduler: external in markup + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/003.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/003.html new file mode 100644 index 000000000..053dd6aca --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/003.html @@ -0,0 +1,27 @@ + + + scheduler: inline+external in markup + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/004.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/004.html new file mode 100644 index 000000000..838c2feb7 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/004.html @@ -0,0 +1,25 @@ + + + scheduler: external+inline in markup + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/005.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/005.html new file mode 100644 index 000000000..b0411284a --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/005.html @@ -0,0 +1,27 @@ + + + scheduler: document.write inline in markup + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/006.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/006.html new file mode 100644 index 000000000..3f40ef1c1 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/006.html @@ -0,0 +1,30 @@ + + + scheduler: document.write inline - multiple + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/007.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/007.html new file mode 100644 index 000000000..ee99bc36e --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/007.html @@ -0,0 +1,27 @@ + + + scheduler: document.write external + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/008.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/008.html new file mode 100644 index 000000000..9f6b3876e --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/008.html @@ -0,0 +1,28 @@ + + + scheduler: document.write external - multiple + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/009.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/009.html new file mode 100644 index 000000000..fc62b9d2b --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/009.html @@ -0,0 +1,29 @@ + + + scheduler: document.write external - multiple with doc.write + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/010.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/010.html new file mode 100644 index 000000000..9c5fd849b --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/010.html @@ -0,0 +1,29 @@ + + + scheduler: document.write external + inline - multiple with doc.write + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/011.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/011.html new file mode 100644 index 000000000..7bc10995d --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/011.html @@ -0,0 +1,30 @@ + + + scheduler: document.write external + inline - multiple with doc.write + subsequent markup + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/012.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/012.html new file mode 100644 index 000000000..41c3d066d --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/012.html @@ -0,0 +1,30 @@ + + + scheduler: document.write external and onload events + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/013.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/013.html new file mode 100644 index 000000000..a3a9b8255 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/013.html @@ -0,0 +1,28 @@ + + + scheduler: DOM added inline script earlier in document + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/014.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/014.html new file mode 100644 index 000000000..eae7076ac --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/014.html @@ -0,0 +1,28 @@ + + + scheduler: SCRIPT elements that move themselves in DOM + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/015.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/015.html new file mode 100644 index 000000000..88c28a8bc --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/015.html @@ -0,0 +1,34 @@ + + + scheduler: DOM added inline+external+inline script earlier in document + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/015a.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/015a.html new file mode 100644 index 000000000..05113feb7 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/015a.html @@ -0,0 +1,30 @@ + + + scheduler: DOM added inline+external+inline script earlier in document + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/016.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/016.html new file mode 100644 index 000000000..739560021 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/016.html @@ -0,0 +1,28 @@ + + + scheduler: DOM added inline script later in document + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/017.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/017.html new file mode 100644 index 000000000..78a0f7b1a --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/017.html @@ -0,0 +1,33 @@ + + + scheduler: multiple DOM added scripts later in document + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/018.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/018.html new file mode 100644 index 000000000..793343c43 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/018.html @@ -0,0 +1,35 @@ + + + scheduler: DOM added scripts and doc.write + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/019.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/019.html new file mode 100644 index 000000000..30fa63432 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/019.html @@ -0,0 +1,31 @@ + + + scheduler: DOM added scripts and event handling + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/020.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/020.html new file mode 100644 index 000000000..abbfbf7db --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/020.html @@ -0,0 +1,28 @@ + + + scheduler: DOM added script with data: URL + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/021.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/021.html new file mode 100644 index 000000000..92b5f0641 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/021.html @@ -0,0 +1,29 @@ + + + scheduler: DOM added script with javascript: URL + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/022.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/022.html new file mode 100644 index 000000000..f56b43171 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/022.html @@ -0,0 +1,30 @@ + + + scheduler: DOM added script, late .src + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/023.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/023.html new file mode 100644 index 000000000..dc687ffe4 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/023.html @@ -0,0 +1,30 @@ + + + scheduler: DOM added script, even later .src + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/024.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/024.html new file mode 100644 index 000000000..37146f846 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/024.html @@ -0,0 +1,32 @@ + + + scheduler: DOM added script, .src set twice + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/025.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/025.html new file mode 100644 index 000000000..182be3aef --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/025.html @@ -0,0 +1,30 @@ + + + scheduler: DOM added script, .src set on script with content + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/026.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/026.html new file mode 100644 index 000000000..70fac7c7f --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/026.html @@ -0,0 +1,33 @@ + + + scheduler: doc write added script, .src set later + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/027.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/027.html new file mode 100644 index 000000000..d3181d587 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/027.html @@ -0,0 +1,30 @@ + + + scheduler: doc write added script with content, .src set later + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/028.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/028.html new file mode 100644 index 000000000..5d0207d85 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/028.html @@ -0,0 +1,29 @@ + + + scheduler: javascript: URL + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/029.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/029.html new file mode 100644 index 000000000..b3beeaef3 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/029.html @@ -0,0 +1,37 @@ + + + scheduler: javascript: URL in HREF + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +

    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/030.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/030.html new file mode 100644 index 000000000..9c83b9a26 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/030.html @@ -0,0 +1,39 @@ + + + scheduler: javascript: URL in HREF, onclick handler + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +

    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/031.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/031.html new file mode 100644 index 000000000..166dda475 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/031.html @@ -0,0 +1,30 @@ + + + scheduler: focus and blur events + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/032.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/032.html new file mode 100644 index 000000000..a012ab29e --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/032.html @@ -0,0 +1,29 @@ + + + scheduler: innerHTML and scripts + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/033.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/033.html new file mode 100644 index 000000000..035bf0a23 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/033.html @@ -0,0 +1,35 @@ + + + scheduler: innerHTML and scripts moved in DOM + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +
    + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/034.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/034.html new file mode 100644 index 000000000..8dcb4294d --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/034.html @@ -0,0 +1,28 @@ + + + scheduler: innerHTML adding frames with JS in + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/035.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/035.html new file mode 100644 index 000000000..540439e7e --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/035.html @@ -0,0 +1,35 @@ + + + scheduler: innerHTML adding frames with JS in and moving scripts + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/036.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/036.html new file mode 100644 index 000000000..0eb4a6eb3 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/036.html @@ -0,0 +1,34 @@ + + + scheduler: DOM cloning + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/037.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/037.html new file mode 100644 index 000000000..aff995b47 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/037.html @@ -0,0 +1,33 @@ + + + scheduler: DOM movement with appendChild, inline + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/038.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/038.html new file mode 100644 index 000000000..3bbfe4604 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/038.html @@ -0,0 +1,34 @@ + + + scheduler: DOM movement with appendChild, external + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/039.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/039.html new file mode 100644 index 000000000..a0abdf161 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/039.html @@ -0,0 +1,36 @@ + + + scheduler: IFRAMEs added with DOM + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/040.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/040.html new file mode 100644 index 000000000..984bc6689 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/040.html @@ -0,0 +1,34 @@ + + + scheduler: IFRAMEs added with DOM (innerHTML), javascript: URL + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/041.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/041.html new file mode 100644 index 000000000..c2a0b9bc4 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/041.html @@ -0,0 +1,29 @@ + + + scheduler: document.write scripts that write scripts + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/042.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/042.html new file mode 100644 index 000000000..e91ea116c --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/042.html @@ -0,0 +1,29 @@ + + + scheduler: DOM mutation events when adding scripts: DOMNodeInserted + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/043.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/043.html new file mode 100644 index 000000000..082ca618b --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/043.html @@ -0,0 +1,31 @@ + + + scheduler: DOM mutation events when adding external scripts: DOMNodeInserted + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/044.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/044.html new file mode 100644 index 000000000..a0e1c03b0 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/044.html @@ -0,0 +1,28 @@ + + + scheduler: DOM mutation events when adding scripts: DOMNodeInsertedIntoDocument + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/045.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/045.html new file mode 100644 index 000000000..70520d06c --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/045.html @@ -0,0 +1,28 @@ + + + scheduler: DOM mutation events when adding external scripts: DOMNodeInsertedIntoDocument + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/046.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/046.html new file mode 100644 index 000000000..1598234e1 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/046.html @@ -0,0 +1,27 @@ + + + scheduler: no readystatechange events when adding external scripts + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/047.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/047.html new file mode 100644 index 000000000..ab758d2f5 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/047.html @@ -0,0 +1,28 @@ + + + scheduler: adding and removing external script + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/048.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/048.html new file mode 100644 index 000000000..ceb18cae5 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/048.html @@ -0,0 +1,28 @@ + + + scheduler: adding inline script which sets its own .src + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/049.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/049.html new file mode 100644 index 000000000..65705bc1f --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/049.html @@ -0,0 +1,28 @@ + + + scheduler: adding external script but removeAttribute( src ) before it runs + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/050.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/050.html new file mode 100644 index 000000000..c9e990206 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/050.html @@ -0,0 +1,29 @@ + + + scheduler: adding external script that removes all scripts from document + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/051.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/051.html new file mode 100644 index 000000000..e97c153b1 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/051.html @@ -0,0 +1,29 @@ + + + scheduler: interaction of parsing and script execution - script added through DOM + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/052.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/052.html new file mode 100644 index 000000000..1147be247 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/052.html @@ -0,0 +1,26 @@ + + + scheduler: interaction of parsing and script execution - external script + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/053.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/053.html new file mode 100644 index 000000000..12ac6101a --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/053.html @@ -0,0 +1,31 @@ + + + scheduler: adding external script that removes itself from document when loading + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/054.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/054.html new file mode 100644 index 000000000..3dc466435 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/054.html @@ -0,0 +1,33 @@ + + + scheduler: removing newly inserted script from DOMNodeInserted handler - external script + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/055.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/055.html new file mode 100644 index 000000000..8916d1a8b --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/055.html @@ -0,0 +1,32 @@ + + + scheduler: removing newly inserted script from DOMNodeInserted handler - inline script + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/056.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/056.html new file mode 100644 index 000000000..873fb34d3 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/056.html @@ -0,0 +1,30 @@ + + + scheduler: appending code to initially empty SCRIPT tag in DOM + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/057.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/057.html new file mode 100644 index 000000000..dbec8895f --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/057.html @@ -0,0 +1,31 @@ + + + scheduler: appending code to initially non-empty SCRIPT tag in DOM (whitespace only) + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/058.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/058.html new file mode 100644 index 000000000..730ba456f --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/058.html @@ -0,0 +1,29 @@ + + + scheduler: appending code to initially non-empty SCRIPT tag in DOM (comment only) + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/059.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/059.html new file mode 100644 index 000000000..a3ea560c4 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/059.html @@ -0,0 +1,30 @@ + + + scheduler: appending code to initially non-empty SCRIPT tag in DOM after removing its initial child + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/060.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/060.html new file mode 100644 index 000000000..669dd2a74 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/060.html @@ -0,0 +1,32 @@ + + + scheduler: appending code to initially non-empty SCRIPT tag in DOM after setting textContent/innerHTML + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/061.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/061.html new file mode 100644 index 000000000..df708b7bf --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/061.html @@ -0,0 +1,29 @@ + + + scheduler: cloneNode and script execution + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/062.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/062.html new file mode 100644 index 000000000..8eda26b71 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/062.html @@ -0,0 +1,29 @@ + + + scheduler: cloneNode (shallow) and script execution + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/063.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/063.html new file mode 100644 index 000000000..9b939c4d4 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/063.html @@ -0,0 +1,30 @@ + + + scheduler: cloneNode (deep) of the currently executing script + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/064.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/064.html new file mode 100644 index 000000000..814e62545 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/064.html @@ -0,0 +1,29 @@ + + + scheduler: cloneNode with external script + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/065.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/065.html new file mode 100644 index 000000000..92078df04 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/065.html @@ -0,0 +1,30 @@ + + + scheduler: cloneNode with external script, changed .src + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/066.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/066.html new file mode 100644 index 000000000..58560aee0 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/066.html @@ -0,0 +1,31 @@ + + + scheduler: cloneNode with external script, removing .src and adding content + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/067.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/067.html new file mode 100644 index 000000000..7be0fd0ab --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/067.html @@ -0,0 +1,38 @@ + + + scheduler: is a script with syntax error marked as "has run"? + + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/068.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/068.html new file mode 100644 index 000000000..c584653c8 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/068.html @@ -0,0 +1,31 @@ + + + scheduler: external script and parsing of markup added with document.write + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/069.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/069.html new file mode 100644 index 000000000..4d4aed265 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/069.html @@ -0,0 +1,33 @@ + + + scheduler: external files added through DOM should not block further parsing while loading + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +

    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/070.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/070.html new file mode 100644 index 000000000..45928b873 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/070.html @@ -0,0 +1,48 @@ + + + scheduler: document.write into IFRAME a script that adds a SCRIPT through DOM + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/071.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/071.html new file mode 100644 index 000000000..304297494 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/071.html @@ -0,0 +1,55 @@ + + + scheduler: document.write several scripts into IFRAME + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/072.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/072.html new file mode 100644 index 000000000..348381df2 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/072.html @@ -0,0 +1,50 @@ + + + scheduler: document.write into IFRAME a script that creates new inline script in parent + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/073.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/073.html new file mode 100644 index 000000000..56dc9180b --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/073.html @@ -0,0 +1,52 @@ + + + scheduler: document.write into IFRAME a script that creates new external script in parent + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/074.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/074.html new file mode 100644 index 000000000..6f1baef6b --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/074.html @@ -0,0 +1,49 @@ + + + scheduler: document.write into IFRAME a script that creates new inline script in parent that again adds script to IFRAME + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/075.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/075.html new file mode 100644 index 000000000..40ec9bbb6 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/075.html @@ -0,0 +1,42 @@ + + + + dispatchEvent from child frame during document.write :-o + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/076.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/076.html new file mode 100644 index 000000000..ad2359019 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/076.html @@ -0,0 +1,32 @@ + + + scheduler: adding and removing external and inline scripts + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/077.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/077.html new file mode 100644 index 000000000..a7a594212 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/077.html @@ -0,0 +1,41 @@ + + + + adding several types of scripts through the DOM and removing some of them confuses scheduler + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/078.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/078.html new file mode 100644 index 000000000..556006a24 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/078.html @@ -0,0 +1,43 @@ + + + + adding several types of scripts through the DOM and removing some of them confuses scheduler (slow-loading scripts) + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/079.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/079.html new file mode 100644 index 000000000..8d684cebf --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/079.html @@ -0,0 +1,28 @@ + + + + setting location to javascript URL from event handler + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/080.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/080.html new file mode 100644 index 000000000..a55bc24d0 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/080.html @@ -0,0 +1,30 @@ + + + scheduler: IFRAMEs added with DOM (appendChild), javascript: URL + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/081.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/081.html new file mode 100644 index 000000000..94f2be6dd --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/081.html @@ -0,0 +1,31 @@ + + + scheduler: slow loading external script added with DOM (appendChild) + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/082.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/082.html new file mode 100644 index 000000000..89f86d4d4 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/082.html @@ -0,0 +1,34 @@ + + + scheduler: multiple slow loading external scripts added with DOM (appendChild) + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/083.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/083.html new file mode 100644 index 000000000..b307041f8 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/083.html @@ -0,0 +1,48 @@ + + + scheduler: event listener defined by script in a document in history + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/084.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/084.html new file mode 100644 index 000000000..5e9adb07d --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/084.html @@ -0,0 +1,47 @@ + + + scheduler: event listener defined by script in a removed IFRAME + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/085.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/085.html new file mode 100644 index 000000000..e0d165ffc --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/085.html @@ -0,0 +1,24 @@ + + + scheduler: async script and slow-loading defer script + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/086.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/086.html new file mode 100644 index 000000000..86db3aea5 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/086.html @@ -0,0 +1,24 @@ + + + scheduler: async script and slow-loading async script + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/087.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/087.html new file mode 100644 index 000000000..759335474 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/087.html @@ -0,0 +1,24 @@ + + + scheduler: multiple defer scripts, one slow loading + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/088.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/088.html new file mode 100644 index 000000000..f7e7366e1 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/088.html @@ -0,0 +1,24 @@ + + + scheduler: multiple scripts with defer and async attributes + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/089.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/089.html new file mode 100644 index 000000000..1b888ea3d --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/089.html @@ -0,0 +1,34 @@ + + + scheduler: async attribute on inline script + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/090.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/090.html new file mode 100644 index 000000000..224e79763 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/090.html @@ -0,0 +1,34 @@ + + + scheduler: defer attribute on inline script + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/091.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/091.html new file mode 100644 index 000000000..946cf8333 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/091.html @@ -0,0 +1,31 @@ + + + scheduler: force-async off on non-parser-inserted script + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/092.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/092.html new file mode 100644 index 000000000..d42caa7c0 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/092.html @@ -0,0 +1,26 @@ + + + scheduler: defer script and slow-loading non-async external script + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/094.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/094.html new file mode 100644 index 000000000..44fd7b559 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/094.html @@ -0,0 +1,23 @@ + + + scheduler: parser-created defer script after document load + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/095.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/095.html new file mode 100644 index 000000000..13142ef6c --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/095.html @@ -0,0 +1,24 @@ + + + scheduler: slow-loading script added from defer blocking load event + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/096.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/096.html new file mode 100644 index 000000000..d5e1e8b46 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/096.html @@ -0,0 +1,24 @@ + + + scheduler: defer script added from document.write relative to DOMContentLoaded + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/097.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/097.html new file mode 100644 index 000000000..083fd390a --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/097.html @@ -0,0 +1,29 @@ + + + scheduler: slow-loading async script added from document.write + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/098.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/098.html new file mode 100644 index 000000000..2d421a8a3 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/098.html @@ -0,0 +1,25 @@ + + + scheduler: defer script added from document.write + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/099.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/099.html new file mode 100644 index 000000000..5c6df576e --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/099.html @@ -0,0 +1,19 @@ + + + scheduler: defer adding iframe containing script + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/100.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/100.html new file mode 100644 index 000000000..d24828c99 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/100.html @@ -0,0 +1,19 @@ + + + scheduler: defer adding iframe containing script + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/101.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/101.html new file mode 100644 index 000000000..b868f9a44 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/101.html @@ -0,0 +1,35 @@ + + + scheduler: defer script after initial onload event + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/102.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/102.html new file mode 100644 index 000000000..67edbc659 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/102.html @@ -0,0 +1,24 @@ + + + scheduler: defer script after initial onload event + + +
    FAILED (This TC requires JavaScript enabled)
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/103.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/103.html new file mode 100644 index 000000000..198c394de --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/103.html @@ -0,0 +1,39 @@ + + + scheduler: removing defer attribute at runtime + + + + + + +
    +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/104.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/104.html new file mode 100644 index 000000000..b5cdb75e3 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/104.html @@ -0,0 +1,39 @@ + + + scheduler: adding defer attribute at runtime + + + + + + +
    +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/105.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/105.html new file mode 100644 index 000000000..abf2c8c21 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/105.html @@ -0,0 +1,31 @@ + + + scheduler: adding async attribute at runtime + + + + + +
    FAILED (This TC requires JavaScript enabled)
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/106-import.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/106-import.html new file mode 100644 index 000000000..db7abcc88 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/106-import.html @@ -0,0 +1,20 @@ + + + scheduler: stylesheets blocking scripts + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +
    Test
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/106-noimport.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/106-noimport.html new file mode 100644 index 000000000..8e099c580 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/106-noimport.html @@ -0,0 +1,20 @@ + + + scheduler: stylesheets blocking scripts + + + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +
    Test
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/107-import.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/107-import.html new file mode 100644 index 000000000..0b572b072 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/107-import.html @@ -0,0 +1,21 @@ + + + scheduler: stylesheets blocking scripts document.write + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +
    Test
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/107-noimport.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/107-noimport.html new file mode 100644 index 000000000..ce57d1f1c --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/107-noimport.html @@ -0,0 +1,21 @@ + + + scheduler: stylesheets blocking scripts document.write + + + + + +
    FAILED (This TC requires JavaScript enabled)
    +
    Test
    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/108.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/108.html new file mode 100644 index 000000000..732fcfa9c --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/108.html @@ -0,0 +1,25 @@ + + + scheduler: javascript URL in iframe + + + + + +
    Not tested
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/109.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/109.html new file mode 100644 index 000000000..c6815b4dc --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/109.html @@ -0,0 +1,29 @@ + + + scheduler: javascript URL in iframe, src set via DOM + + + + + +
    Not tested
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/110.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/110.html new file mode 100644 index 000000000..de0c5050c --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/110.html @@ -0,0 +1,30 @@ + + + scheduler: removing defer script at runtime + + + + + + +
    +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/111.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/111.html new file mode 100644 index 000000000..144633c57 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/111.html @@ -0,0 +1,32 @@ + + + scheduler: removing async attribute at runtime + + + + + + +
    +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/112.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/112.html new file mode 100644 index 000000000..76c0a1550 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/112.html @@ -0,0 +1,29 @@ + + + scheduler: removing async attribute at runtime, script also has defer attribute + + + + + + +
    +
    FAILED (This TC requires JavaScript enabled)
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/113.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/113.html new file mode 100644 index 000000000..c857c6a97 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/113.html @@ -0,0 +1,31 @@ + + + scheduler: Altering DOM using innerHTML during parse + + + + + + +
    +
    FAILED (This TC requires JavaScript enabled)
    + + +
    + + +
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/114.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/114.html new file mode 100644 index 000000000..784a69f51 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/114.html @@ -0,0 +1,26 @@ + + + scheduler: Changing src of defer script before it runs + + + + + + +
    +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/115.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/115.html new file mode 100644 index 000000000..78790c2ef --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/115.html @@ -0,0 +1,26 @@ + + + scheduler: Removing src of defer script before it runs + + + + + + +
    +
    FAILED (This TC requires JavaScript enabled)
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/116.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/116.html new file mode 100644 index 000000000..fef7b8938 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/116.html @@ -0,0 +1,24 @@ + + + scheduler: adding script to head of frameset document + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/117.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/117.html new file mode 100644 index 000000000..3868a292a --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/117.html @@ -0,0 +1,26 @@ + + + scheduler: inline script created with createContextualFragment + + + + +
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/118.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/118.html new file mode 100644 index 000000000..f018001db --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/118.html @@ -0,0 +1,26 @@ + + + scheduler: external script created with createContextualFragment + + + + +
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/119.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/119.html new file mode 100644 index 000000000..af74c3d40 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/119.html @@ -0,0 +1,32 @@ + + + scheduler: external defer script created with createContextualFragment + + + + +
    + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/120.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/120.html new file mode 100644 index 000000000..d6af5d02e --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/120.html @@ -0,0 +1,17 @@ + + + scheduler: script created without a window + + + +
    + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/121.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/121.html new file mode 100644 index 000000000..534532ad1 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/121.html @@ -0,0 +1,17 @@ + + + scheduler: altering the type attribute + + + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/122.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/122.html new file mode 100644 index 000000000..888681d2a --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/122.html @@ -0,0 +1,28 @@ + + + scheduler: altering the type attribute and adding/removing external script + + + + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/123.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/123.html new file mode 100644 index 000000000..375ae1316 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/123.html @@ -0,0 +1,28 @@ + + + scheduler: altering the type attribute and adding/removing external script with async=false + + + + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/124.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/124.html new file mode 100644 index 000000000..86eef3f78 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/124.html @@ -0,0 +1,25 @@ + + + scheduler: altering the type attribute and changing script data inline script + + + + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/125.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/125.html new file mode 100644 index 000000000..6b50ca097 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/125.html @@ -0,0 +1,28 @@ + + + scheduler: altering the type attribute and changing script data external script + + + + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/126.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/126.html new file mode 100644 index 000000000..5d258b59d --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/126.html @@ -0,0 +1,29 @@ + + + scheduler: altering the type attribute and changing script data external script async=false + + + + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/127.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/127.html new file mode 100644 index 000000000..efb0fe377 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/127.html @@ -0,0 +1,34 @@ + + + scheduler: appending non-text children to script + + + + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/128.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/128.html new file mode 100644 index 000000000..a21fd8b4b --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/128.html @@ -0,0 +1,34 @@ + + + scheduler: appending script element to script + + + + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/129.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/129.html new file mode 100644 index 000000000..1148d9fae --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/129.html @@ -0,0 +1,40 @@ + + + scheduler: appending multiple script elements + + + + +
    + +
    + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/130.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/130.html new file mode 100644 index 000000000..af60e3cf4 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/130.html @@ -0,0 +1,34 @@ + + + scheduler: appending external script element to script + + + + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/131.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/131.html new file mode 100644 index 000000000..f7f14178b --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/131.html @@ -0,0 +1,22 @@ + + + scheduler: inline svg script + + + + +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/132.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/132.html new file mode 100644 index 000000000..9a675be55 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/132.html @@ -0,0 +1,22 @@ + + + scheduler: external svg script + + + + +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/133.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/133.html new file mode 100644 index 000000000..daecb3628 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/133.html @@ -0,0 +1,29 @@ + + + scheduler: inline HTML script added by SVG script + + + + +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/134.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/134.html new file mode 100644 index 000000000..14cd5d0d3 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/134.html @@ -0,0 +1,28 @@ + + + scheduler: external HTML script added by SVG script + + + + +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/135.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/135.html new file mode 100644 index 000000000..15ee85982 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/135.html @@ -0,0 +1,28 @@ + + + scheduler: external SVG script added by SVG script + + + + +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/136.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/136.html new file mode 100644 index 000000000..4a47e8527 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/136.html @@ -0,0 +1,33 @@ + + + scheduler: DOM added external SVG script, force-async? + + + + +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/137.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/137.html new file mode 100644 index 000000000..c0e695462 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/137.html @@ -0,0 +1,21 @@ + + + scheduler: SVG script empty xlink:href + + + + +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/138.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/138.html new file mode 100644 index 000000000..0eaad0765 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/138.html @@ -0,0 +1,30 @@ + + + scheduler: SVG script nested inlines + + + + +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/139.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/139.html new file mode 100644 index 000000000..f1cbc158c --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/139.html @@ -0,0 +1,30 @@ + + + scheduler: SVG script nested external in inline + + + + +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/140.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/140.html new file mode 100644 index 000000000..fbdd1c76e --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/140.html @@ -0,0 +1,24 @@ + + + scheduler: SVG script nested inline in external + + + + +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/141.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/141.html new file mode 100644 index 000000000..a237373bb --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/141.html @@ -0,0 +1,26 @@ + + + scheduler: SVG inline script that document.writes inline script + + + + +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/142.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/142.html new file mode 100644 index 000000000..91f19f757 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/142.html @@ -0,0 +1,27 @@ + + + scheduler: SVG inline script that document.writes external script + + + + +
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/143.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/143.html new file mode 100644 index 000000000..9c0230d89 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/143.html @@ -0,0 +1,31 @@ + + + scheduler: SVG nested inline script that document.writes inline script + + + + +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/144.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/144.html new file mode 100644 index 000000000..96a1f4777 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/144.html @@ -0,0 +1,28 @@ + + + scheduler: SVG inline script changing the type attribute + + + + +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/145.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/145.html new file mode 100644 index 000000000..655a2132b --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/145.html @@ -0,0 +1,24 @@ + + + scheduler: SVG inline script adding text to empty script + + + + +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/146.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/146.html new file mode 100644 index 000000000..c666a51a3 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/146.html @@ -0,0 +1,22 @@ + + + scheduler: SVG script adding src attribute + + + + +
    + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/147.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/147.html new file mode 100644 index 000000000..0542380ff --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/147.html @@ -0,0 +1,40 @@ + + + scheduler: insert multiple inline scripts; first script moves subsequent scripts + + + + + +
    + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/148.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/148.html new file mode 100644 index 000000000..72a914380 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/148.html @@ -0,0 +1,40 @@ + + + scheduler: insert multiple inline scripts; first script deletes subsequent script + + + + + +
    + +
    + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/149.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/149.html new file mode 100644 index 000000000..6fe9b68ba --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/149.html @@ -0,0 +1,59 @@ + + + scheduler: event/for attribute on script + + + + + +
    + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/css/background.css b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/css/background.css new file mode 100644 index 000000000..86a155b81 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/css/background.css @@ -0,0 +1 @@ +#test {position:fixed} \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/css/import.css b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/css/import.css new file mode 100644 index 000000000..d1664c29a --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/css/import.css @@ -0,0 +1 @@ +@import url("background.css") \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/pages/helloworld-postMessage.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/pages/helloworld-postMessage.html new file mode 100644 index 000000000..cae2797a4 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/pages/helloworld-postMessage.html @@ -0,0 +1,19 @@ + + + TC component + + + +

    This page should appear in popup or frame

    + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/pages/helloworld.html b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/pages/helloworld.html new file mode 100644 index 000000000..30d5c5fda --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/pages/helloworld.html @@ -0,0 +1,15 @@ + + + TC component + + + +

    This page should appear in popup or frame

    + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/count-script-tags.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/count-script-tags.js new file mode 100644 index 000000000..8fba4ecb3 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/count-script-tags.js @@ -0,0 +1 @@ +log('script tags in DOM: '+document.getElementsByTagName('script').length); \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/find-body.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/find-body.js new file mode 100644 index 000000000..22e1050ff --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/find-body.js @@ -0,0 +1,2 @@ +log('document.body: '+(document.body?'':null)); +var findBodyLoaded=true; \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/find-foo.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/find-foo.js new file mode 100644 index 000000000..52d0ec91c --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/find-foo.js @@ -0,0 +1,2 @@ +log('found #foo element: ' + ( document.getElementById('foo') ? 'YES' : 'NO' )); +var findFooLoaded=true; \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-1.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-1.js new file mode 100644 index 000000000..8ff291ad5 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-1.js @@ -0,0 +1 @@ +log('external script #1'); \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-10.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-10.js new file mode 100644 index 000000000..8dc770ddc --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-10.js @@ -0,0 +1 @@ +document.write(""); diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-11.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-11.js new file mode 100644 index 000000000..a822dd8ba --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-11.js @@ -0,0 +1,4 @@ +log("external script before adding iframe"); +var iframe = document.createElement("iframe"); +iframe.src = "data:text/html," +document.body.appendChild(iframe); \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-12.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-12.js new file mode 100644 index 000000000..7ced0fb42 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-12.js @@ -0,0 +1,4 @@ +log("external script before adding object"); +var object = document.createElement("object"); +object.data = "data:text/html," +document.body.appendChild(object); \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-2.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-2.js new file mode 100644 index 000000000..31319423a --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-2.js @@ -0,0 +1 @@ +log('external script #2'); \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-3.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-3.js new file mode 100644 index 000000000..53352e0f8 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-3.js @@ -0,0 +1,3 @@ +log('external script before doc write'); +document.write( ''); +log('external script after doc write'); \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-4.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-4.js new file mode 100644 index 000000000..0597a2262 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-4.js @@ -0,0 +1,3 @@ +log('include-4 before doc write'); +document.write( ''); +log('include-4 after doc write'); \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-5.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-5.js new file mode 100644 index 000000000..52952d737 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-5.js @@ -0,0 +1,7 @@ +log('include-5 before removing scripts'); +var scripts=[].slice.call(document.getElementsByTagName('script'), 3); +for(var i = 0; i < scripts.length; i++) { + var s = scripts[i]; + s.parentNode.removeChild(s); +} +log('include-5 after removing scripts'); diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-6.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-6.js new file mode 100644 index 000000000..77da2af23 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-6.js @@ -0,0 +1,6 @@ +top.log( + 'external script (#foo found? ' + + (document.getElementById('foo') ? 'YES' : 'NO' ) + + ')' +); +top.include6Loaded=true; \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-7.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-7.js new file mode 100644 index 000000000..57c550801 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-7.js @@ -0,0 +1 @@ +log('external script #7'); \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-8.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-8.js new file mode 100644 index 000000000..960f2129f --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-8.js @@ -0,0 +1,4 @@ +log("external script #8"); +var s = document.createElement("script") +s.src='scripts/include-9.js?pipe=trickle(d2)' +document.body.appendChild(s); diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-9.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-9.js new file mode 100644 index 000000000..904288202 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-9.js @@ -0,0 +1,2 @@ +log("external script #9"); +test(); \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/testlib/testlib.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/testlib/testlib.js new file mode 100644 index 000000000..7b556b150 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/testlib/testlib.js @@ -0,0 +1,43 @@ +/* +* Utility functions for script scheduler test +*/ +(function(){ /* namespace hiding local variables like arOrderOfAllEvents from global scope */ + window.testlib = {}; + window.eventOrder = []; + var arNumberOfScriptsParsedPerEvent=[]; + window.log = function (str){ + eventOrder.push(str); + arNumberOfScriptsParsedPerEvent.push(document.getElementsByTagName('script').length); + } + + window.testlib.addScript = function(source, attributes, parent, firstInParent,funcPrepare) { + try{ + parent = parent||document.body; + var script = document.createElement('script'); + if(funcPrepare) { + funcPrepare(script); + } + if(source)script.appendChild( document.createTextNode(source) ); + for( var name in attributes){ + if(/^on/i.test(name)) { + script[name] = attributes[name]; + } else { + script.setAttribute(name, attributes[name]); + } + } + if (firstInParent && parent.firstChild) { + parent.insertBefore(script, parent.firstChild); + } else { + parent.appendChild(script); + } + } catch(e) { + log('ERROR when adding script to DOM!'); + alert(e); + } + return script; + } + + window.testlib.urlParam = function(relativeURL) { + return location.href.replace( /\d*\.html$/, relativeURL); + } +})(); \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/migration.txt b/testing/web-platform/tests/old-tests/submission/migration.txt new file mode 100644 index 000000000..9480d754a --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/migration.txt @@ -0,0 +1,26 @@ + +TODO: + + Google (not sure how much of that is what's already in) + Infraware (these come bundled with resources and require lots of rewriting) + Intel (need to check how much overlap there is with existing stuff) + Microsoft (lots of things, need to check overlap) + Ms2ger (Ms2ger is doing those) + Opera (split into multiple PRs) + TestTWF_Paris + W3C + +DONE: + + Apple + AryehGregor + Baidu + Comcast + DavidCarlisle + html5bidi + MathiasBynens + PhilipTaylor + MOSQUITO + Mozilla + WebKit + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/README.md b/testing/web-platform/tests/old-tests/webdriver/README.md new file mode 100644 index 000000000..7a89fb78a --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/README.md @@ -0,0 +1,38 @@ +# W3C Browser Automation Specification Tests + +This repository defines a set of conformance tests for the W3C web +browser automation specification known as WebDriver. The purpose is +for the different driver implementations to be tested to determine +whether they meet the recognized standard. + +## How to run the tests + +1. Go to the WebDriver tests: `cd _WEBDRIVER_TEST_ROOT_` +2. Run the tests: `python runtests.py` +3. Run the test against a different config specified in webdriver.cfg: + `WD_BROWSER=chrome python runtests.py` + +To be run a specific test file you can just run `python test_file.py` + +Similarly you can specify a different browser to run against if in webdriver.cfg: + `WD_BROWSER=chrome python ecmascript/ecmascript_test.py` + +Note: that you will need likely need to start the driver's server before running. + +## Updating configuration + +The _webdriver.cfg_ file holds any configuration that the tests might +require. Change the value of browser to your needs. This will then +be picked up by WebDriverBaseTest when tests are run. + +Be sure not to commit your _webdriver.cfg_ changes when your create or modify tests. + +## How to write tests + +1. Create a test file per section from the specification. +2. For each test there needs to be one or more corresponding HTML + files that will be used for testing. HTML files are not to be + reused between tests. HTML files and other support files + should be stored in a folder named 'res'. +3. Test name should explain the intention of the test e.g. `def + test_navigate_and_return_title(self):` diff --git a/testing/web-platform/tests/old-tests/webdriver/base_test.py b/testing/web-platform/tests/old-tests/webdriver/base_test.py new file mode 100644 index 000000000..851099936 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/base_test.py @@ -0,0 +1,60 @@ +import ConfigParser +import json +import os +import sys +import unittest + +from network import get_lan_ip + +repo_root = os.path.abspath(os.path.join(__file__, "../..")) +sys.path.insert(1, os.path.join(repo_root, "tools", "webdriver")) +sys.path.insert(1, os.path.join(repo_root, "tools", "wptserve")) +from wptserve import server +from selenium import webdriver + + +class WebDriverBaseTest(unittest.TestCase): + @classmethod + def setUpClass(cls): + cls.driver = create_driver() + + cls.webserver = server.WebTestHttpd(host=get_lan_ip()) + cls.webserver.start() + cls.webserver.where_is = cls.webserver.get_url + + @classmethod + def tearDownClass(cls): + cls.webserver.stop() + if cls.driver: + cls.driver.quit() + + +def create_driver(): + config = ConfigParser.ConfigParser() + config.read('webdriver.cfg') + section = os.environ.get("WD_BROWSER", 'firefox') + if config.has_option(section, 'url'): + url = config.get(section, "url") + else: + url = 'http://127.0.0.1:4444/wd/hub' + capabilities = None + if config.has_option(section, 'capabilities'): + try: + capabilities = json.loads(config.get(section, "capabilities")) + except: + pass + mode = 'compatibility' + if config.has_option(section, 'mode'): + mode = config.get(section, 'mode') + if section == 'firefox': + driver = webdriver.Firefox() + elif section == 'chrome': + driver = webdriver.Chrome() + elif section == 'edge': + driver = webdriver.Remote() + elif section == 'ie': + driver = webdriver.Ie() + elif section == 'selendroid': + driver = webdriver.Android() + + return driver diff --git a/testing/web-platform/tests/old-tests/webdriver/command_contexts/__init__.py b/testing/web-platform/tests/old-tests/webdriver/command_contexts/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/testing/web-platform/tests/old-tests/webdriver/command_contexts/open_and_close_window_test.py b/testing/web-platform/tests/old-tests/webdriver/command_contexts/open_and_close_window_test.py new file mode 100644 index 000000000..61d04d93d --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/command_contexts/open_and_close_window_test.py @@ -0,0 +1,64 @@ +import os +import sys +import random +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test + +repo_root = os.path.abspath(os.path.join(__file__, "../../..")) +sys.path.insert(1, os.path.join(repo_root, "tools", "webdriver")) +from webdriver import exceptions + + +class OpenAndCloseWindowTest(base_test.WebDriverBaseTest): + def setUp(self): + self.driver.get(self.webserver.where_is("command_contexts/res/first-page.html")) + + def tearDown(self): + handles = self.driver.get_window_handles() + + for i in range(len(handles) - 1): + self.driver.switch_to_window(handles[i]) + self.driver.close() + + self.driver.switch_to_window(self.driver.get_window_handles()[0]) + + def test_open_new_window(self): + handles = self.driver.get_window_handles() + self.driver.find_element_by_id("open_new_window").click() + self.assertEquals(len(handles) + 1, len(self.driver.get_window_handles())) + + def test_get_window_handles_returns_the_windows_that_have_been_opened(self): + self.driver.find_element_by_id("open_new_window").click() + handles = self.driver.get_window_handles() + self.driver.switch_to_window(handles[0]) + url1 = self.driver.get_current_url() + self.driver.switch_to_window(handles[1]) + url2 = self.driver.get_current_url() + + if url1 == self.webserver.where_is("controlling_windows/res/other-page.html"): + self.assertEquals(url2, self.webserver.where_is("controlling_windows/res/first-page.html")) + elif url1 == self.webserver.where_is("controlling_windows/res/first-page.html"): + self.assertEquals(url2, self.webserver.where_is("controlling_windows/res/other-page.html")) + else: + self.fail("The wrong set of URLs were returned") + + def test_close_window(self): + open_windows = len(self.driver.get_window_handles()) + + self.driver.find_element_by_id("open_new_window").click() + self.assertEquals(1 + open_windows, len(self.driver.get_window_handles())) + + self.driver.close() + self.assertEquals(open_windows, len(self.driver.get_window_handles())) + + def test_command_sent_to_closed_window_returns_no_such_window_exception(self): + self.driver.find_element_by_id("open_new_window").click() + self.driver.close() + + with self.assertRaises(exceptions.NoSuchWindowException): + self.driver.get_window_handle() + +if __name__ == "__main__": + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/command_contexts/res/first-page.html b/testing/web-platform/tests/old-tests/webdriver/command_contexts/res/first-page.html new file mode 100644 index 000000000..e4aa13ebd --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/command_contexts/res/first-page.html @@ -0,0 +1,11 @@ + + + + + + First Page + + + Open new window + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/command_contexts/res/other-page.html b/testing/web-platform/tests/old-tests/webdriver/command_contexts/res/other-page.html new file mode 100644 index 000000000..4bb487452 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/command_contexts/res/other-page.html @@ -0,0 +1,11 @@ + + + + + + Other Page + + + Open new window + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/command_contexts/window_handle_test.py b/testing/web-platform/tests/old-tests/webdriver/command_contexts/window_handle_test.py new file mode 100644 index 000000000..6d8e569f0 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/command_contexts/window_handle_test.py @@ -0,0 +1,33 @@ +import os +import sys +import random +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test + +repo_root = os.path.abspath(os.path.join(__file__, "../../..")) +sys.path.insert(1, os.path.join(repo_root, "tools", "webdriver")) +from webdriver import exceptions + + +class WindowHandleTest(base_test.WebDriverBaseTest): + def setUp(self): + self.driver.get(self.webserver.where_is("command_contexts/res/first-page.html")) + + def test_window_handle_is_not_current(self): + handle = self.driver.get_window_handle() + self.assertNotEquals(handle, "current") + + def test_window_handles_are_unique(self): + number_of_windows = 20 + new_window_button = self.driver.find_element_by_id("open_new_window") + for i in range(0, number_of_windows): + new_window_button.click() + + handles = self.driver.get_window_handles() + if len(handles) > len(set(handles)): + self.fail('At least one window handle was repeated') + +if __name__ == "__main__": + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/command_contexts/window_size_test.py b/testing/web-platform/tests/old-tests/webdriver/command_contexts/window_size_test.py new file mode 100644 index 000000000..955e9fea0 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/command_contexts/window_size_test.py @@ -0,0 +1,35 @@ +import os +import sys +import random +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test + +repo_root = os.path.abspath(os.path.join(__file__, "../../..")) +sys.path.insert(1, os.path.join(repo_root, "tools", "webdriver")) +from webdriver import exceptions + +class WindowSizeTest(base_test.WebDriverBaseTest): + + def test_set_and_get_window_size(self): + self.driver.get(self.webserver.where_is("command_contexts/res/first-page.html")) + + initial_dimensions = self.driver.get_window_size() + + new_dimensions = { + "height": initial_dimensions["height"] - 100, + "width": initial_dimensions["width"] - 100} + + try: + self.driver.set_window_size(new_dimensions["height"], new_dimensions["width"]) + + actual_dimensions = self.driver.get_window_size() + + self.assertDictEqual(new_dimensions, actual_dimensions) + except exceptions.UnsupportedOperationException: + pass + + +if __name__ == "__main__": + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/cookie/__init__.py b/testing/web-platform/tests/old-tests/webdriver/cookie/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/testing/web-platform/tests/old-tests/webdriver/cookie/cookie_test.py b/testing/web-platform/tests/old-tests/webdriver/cookie/cookie_test.py new file mode 100644 index 000000000..e57d46713 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/cookie/cookie_test.py @@ -0,0 +1,57 @@ +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test +from selenium.common import exceptions + + +class CookieTest(base_test.WebDriverBaseTest): + def setUp(self): + self.driver.get(self.webserver.where_is("cookie/res/cookie_container.html")) + + def test_can_create_a_well_formed_cookie( self ): + self.driver.add_cookie({'name': 'foo', 'value': 'bar'}) + + def test_cookies_should_allow_secure_to_be_set( self ): + name = 'foo' + self.driver.add_cookie({'name': name, + 'value': 'bar', + 'path': '/', + 'secure': (True)}) + self.assertTrue(self.driver.get_cookie(name)[0]['secure']) + + def test_secure_defaults_to_false( self ): + name = 'foo' + value = 'bar' + + self.driver.add_cookie({ 'name': name, + 'value': value}) + + self.assertFalse(self.driver.get_cookie(name)[0]['secure']) + + def test_should_throw_an_exception_when_semicolon_exists_in_the_cookie_attribute(self): + invalid_name = 'foo;bar' + try: + self.driver.add_cookie({'name': invalid_name, 'value': 'foobar'}) + self.fail( 'should have thrown exceptions.' ) + + except exceptions.UnableToSetCookieException: + pass + except exceptions.InvalidCookieDomainException: + pass + + def test_should_throw_an_exception_the_name_is_null(self): + try: + self.driver.add_cookie({'name': None, 'value': 'foobar'}) + self.fail( 'should have thrown exceptions.' ) + + except exceptions.UnableToSetCookieException: + pass + except exceptions.InvalidCookieDomainException: + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/cookie/res/cookie_container.html b/testing/web-platform/tests/old-tests/webdriver/cookie/res/cookie_container.html new file mode 100644 index 000000000..bb6b209bb --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/cookie/res/cookie_container.html @@ -0,0 +1,5 @@ + + +Cookie Container + + diff --git a/testing/web-platform/tests/old-tests/webdriver/ecmascript/ecmascript_test.py b/testing/web-platform/tests/old-tests/webdriver/ecmascript/ecmascript_test.py new file mode 100644 index 000000000..89764bf68 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/ecmascript/ecmascript_test.py @@ -0,0 +1,17 @@ +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test + + +class EcmasScriptTest(base_test.WebDriverBaseTest): + def test_that_ecmascript_returns_document_title(self): + self.driver.get(self.webserver.where_is("ecmascript/res/ecmascript_test.html")) + result = self.driver.execute_script("return document.title;"); + self.assertEquals("ecmascript test", result); + + +if __name__ == "__main__": + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/ecmascript/res/ecmascript_test.html b/testing/web-platform/tests/old-tests/webdriver/ecmascript/res/ecmascript_test.html new file mode 100644 index 000000000..346e2ef75 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/ecmascript/res/ecmascript_test.html @@ -0,0 +1,2 @@ + +ecmascript test \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/element_location/__init__.py b/testing/web-platform/tests/old-tests/webdriver/element_location/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/testing/web-platform/tests/old-tests/webdriver/element_location/element_location_test.py b/testing/web-platform/tests/old-tests/webdriver/element_location/element_location_test.py new file mode 100644 index 000000000..aff548ea5 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_location/element_location_test.py @@ -0,0 +1,60 @@ +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test + +class ElementLocationTest(base_test.WebDriverBaseTest): + def test_find_element_by_name(self): + self.driver.get(self.webserver.where_is("element_location/res/elements.html")) + e = self.driver.find_element_by_name("name") + self.assertEquals("name", e.text) + + def test_find_element_by_css_selector(self): + self.driver.get(self.webserver.where_is("element_location/res/elements.html")) + e = self.driver.find_element_by_css_selector("#id") + self.assertEquals("id", e.text) + + def test_find_element_by_link_text(self): + self.driver.get(self.webserver.where_is("element_location/res/elements.html")) + e = self.driver.find_element_by_link_text("link text") + self.assertEquals("link text", e.text) + + def test_find_element_by_partial_link_text(self): + self.driver.get(self.webserver.where_is("element_location/res/elements.html")) + e = self.driver.find_element_by_partial_link_text("link tex") + self.assertEquals("link text", e.text) + + def test_find_element_by_xpath(self): + self.driver.get(self.webserver.where_is("element_location/res/elements.html")) + e = self.driver.find_element_by_xpath("//*[@id='id']") + self.assertEquals("id", e.text) + + def test_find_elements_by_name(self): + self.driver.get(self.webserver.where_is("element_location/res/elements.html")) + e = self.driver.find_elements_by_name("name") + self.assertEquals("name", e[0].text) + + def test_find_elements_by_css_selector(self): + self.driver.get(self.webserver.where_is("element_location/res/elements.html")) + e = self.driver.find_elements_by_css_selector("#id") + self.assertEquals("id", e[0].text) + + def test_find_elements_by_link_text(self): + self.driver.get(self.webserver.where_is("element_location/res/elements.html")) + e = self.driver.find_elements_by_link_text("link text") + self.assertEquals("link text", e[0].text) + + def test_find_elements_by_partial_link_text(self): + self.driver.get(self.webserver.where_is("element_location/res/elements.html")) + e = self.driver.find_elements_by_partial_link_text("link tex") + self.assertEquals("link text", e[0].text) + + def test_find_elements_by_xpath(self): + self.driver.get(self.webserver.where_is("element_location/res/elements.html")) + e = self.driver.find_elements_by_xpath("//*[@id='id']") + self.assertEquals("id", e[0].text) + +if __name__ == "__main__": + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/element_location/res/elements.html b/testing/web-platform/tests/old-tests/webdriver/element_location/res/elements.html new file mode 100644 index 000000000..45b7c2370 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_location/res/elements.html @@ -0,0 +1,10 @@ + + + +Element location + + +
    id
    +
    name
    + link text + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/__init__.py b/testing/web-platform/tests/old-tests/webdriver/element_state/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/method_test.py b/testing/web-platform/tests/old-tests/webdriver/element_state/method_test.py new file mode 100644 index 000000000..85b240c7a --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/method_test.py @@ -0,0 +1,107 @@ +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test + + +class GetElementAttributeTest(base_test.WebDriverBaseTest): + def test_get_element_attribute(self): + self.driver.get(self.webserver.where_is("element_state/res/element-with-id-attribute.html")) + el = self.driver.find_element_by_css_selector("div") + self.assertEqual("myId", el.get_attribute("id")) + + def test_style_attribute(self): + self.driver.get(self.webserver.where_is("element_state/res/element-with-style-attribute.html")) + el = self.driver.find_element_by_css_selector("div") + expected_style = """ + font-family: \"Gill Sans Extrabold\",Helvetica,sans-serif; + line-height: 1.2; font-weight: bold; + """ + self.assertEqual(expected_style, el.get_attribute("style")) + + def test_color_serialization_of_style_attribute(self): + self.driver.get(self.webserver.where_is("element_state/res/element-with-color-style-attribute.html")) + el = self.driver.find_element_by_css_selector("div") + self.assertEqual("color: rgba(255, 0, 0, 1.0);", el.get_attribute("style")) + + def test_true_if_boolean_attribute_present(self): + self.driver.get(self.webserver.where_is("element_state/res/input-with-checked-attribute.html")) + el = self.driver.find_element_by_css_selector("input") + self.assertEqual("true", el.get_attribute("checked")) + + def test_none_if_boolean_attribute_absent(self): + self.driver.get(self.webserver.where_is("element_state/res/input-without-checked-attribute.html")) + el = self.driver.find_element_by_css_selector("input") + self.assertIsNone(el.get_attribute("checked")) + + def test_option_with_attribute_value(self): + self.driver.get(self.webserver.where_is("element_state/res/option-with-value-attribute.html")) + el = self.driver.find_element_by_css_selector("option") + self.assertEqual("value1", el.get_attribute("value")) + + def test_option_without_value_attribute(self): + self.driver.get(self.webserver.where_is("element_state/res/option-without-value-attribute.html")) + el = self.driver.find_element_by_css_selector("option") + self.assertEqual("Value 1", el.get_attribute("value")) + + def test_a_href_attribute(self): + self.driver.get(self.webserver.where_is("element_state/res/a-with-href-attribute.html")) + el = self.driver.find_element_by_css_selector("a") + self.assertEqual("http://web-platform.test:8000/path#fragment", el.get_attribute("href")) + + def test_img_src_attribute(self): + self.driver.get(self.webserver.where_is("element_state/res/img-with-src-attribute.html")) + el = self.driver.find_element_by_css_selector("img") + self.assertEqual("http://web-platform.test:8000/images/blue.png", el.get_attribute("src")) + + def test_custom_attribute(self): + self.driver.get(self.webserver.where_is("element_state/res/element-with-custom-attribute.html")) + el = self.driver.find_element_by_css_selector("div") + self.assertEqual("attribute value", el.get_attribute("webdriver-custom-attribute")) + + def test_attribute_not_present(self): + self.driver.get(self.webserver.where_is("element_state/res/element-without-attribute.html")) + el = self.driver.find_element_by_css_selector("div") + self.assertIsNone(el.get_attribute("class")) + + def test_find_attribute_with_special_characters(self): + self.driver.get(self.webserver.where_is("element_state/res/get-element-attribute-extended.html")) + element = self.driver.find_element_by_id("id_special_char_attribute_name") + attribute = element.get_attribute("*") + self.assertEquals("special_char_attribute_name", attribute) + + def test_find_attribute_with_special_char_name_and_value(self): + self.driver.get(self.webserver.where_is("element_state/res/get-element-attribute-extended.html")) + element = self.driver.find_element_by_id("id_special_char_attribute_name_and_value") + attribute = element.get_attribute("@") + self.assertEquals("(", attribute) + + def test_find_attribute_with_numeric_name(self): + self.driver.get(self.webserver.where_is("element_state/res/get-element-attribute-extended.html")) + element = self.driver.find_element_by_id("id_attribute_name_numeric") + attribute = element.get_attribute("1") + self.assertEquals("numeric attribute name", attribute) + + def test_find_attribute_with_numeric_value(self): + self.driver.get(self.webserver.where_is("element_state/res/get-element-attribute-extended.html")) + element = self.driver.find_element_by_id("id_attribute_value_numeric") + attribute = element.get_attribute("one") + self.assertEquals("2", attribute) + + def test_find_attribute_with_negative_numeric_name(self): + self.driver.get(self.webserver.where_is("element_state/res/get-element-attribute-extended.html")) + element = self.driver.find_element_by_id("id_attribute_negative_numeric_name") + attribute = element.get_attribute("-5") + self.assertEquals("attribute name is -5", attribute) + + def test_find_attribute_with_negative_numeric_value(self): + self.driver.get(self.webserver.where_is("element_state/res/get-element-attribute-extended.html")) + element = self.driver.find_element_by_id("id_attribute_negative_numeric_value") + attribute = element.get_attribute("negative_numeric_value") + self.assertEquals("-9", attribute) + + +if __name__ == "__main__": + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/properties.py b/testing/web-platform/tests/old-tests/webdriver/element_state/properties.py new file mode 100644 index 000000000..a76770085 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/properties.py @@ -0,0 +1,17 @@ +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test + + +class GetElementPropertiesTest(base_test.WebDriverBaseTest): + def test_get_element_text(self): + self.driver.get(self.webserver.where_is("element_state/res/elements_text.html")) + e = self.driver.find_element_by_name("name") + self.assertEquals("name", e.text) + + +if __name__ == "__main__": + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/0x0-pixels.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/0x0-pixels.html new file mode 100644 index 000000000..3b081ca09 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/0x0-pixels.html @@ -0,0 +1,12 @@ + + +0x0 pixel element + + + +
    This element is not visible.
    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/1x1-pixels.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/1x1-pixels.html new file mode 100644 index 000000000..f9b2cbc3c --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/1x1-pixels.html @@ -0,0 +1,12 @@ + + +1x1 pixel element + + + +

    This element is visible.

    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/a-with-href-attribute.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/a-with-href-attribute.html new file mode 100644 index 000000000..7722426a3 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/a-with-href-attribute.html @@ -0,0 +1,5 @@ + + +"a" element with not fully qualified url + +  \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/absolute-children-ancestor-hidden-overflow.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/absolute-children-ancestor-hidden-overflow.html new file mode 100644 index 000000000..fcf104414 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/absolute-children-ancestor-hidden-overflow.html @@ -0,0 +1,16 @@ + + +Parent node visible with absolutely positioned children, where ancestor overflow is hidden + + + +
    +
    grated
    +
    cheese
    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/body_empty.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/body_empty.html new file mode 100644 index 000000000..0f4dff691 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/body_empty.html @@ -0,0 +1,4 @@ + + +BODY element has no children. MUST be reported displayed + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/body_implicit.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/body_implicit.html new file mode 100644 index 000000000..f45815380 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/body_implicit.html @@ -0,0 +1,3 @@ + + +BODY tag is omitted; BODY element MUST be reported displayed diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/body_overflow_hidden.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/body_overflow_hidden.html new file mode 100644 index 000000000..1411ef37b --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/body_overflow_hidden.html @@ -0,0 +1,4 @@ + + +BODY element with style=overflow:hidden. MUST be reported displayed + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/body_visibility_hidden.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/body_visibility_hidden.html new file mode 100644 index 000000000..ce4d41036 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/body_visibility_hidden.html @@ -0,0 +1,4 @@ + + +BODY element with style=visibility:hidden. MUST be reported displayed + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-block.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-block.html new file mode 100644 index 000000000..0f31557e6 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-block.html @@ -0,0 +1,5 @@ + + +display: block; + +

    This element is visible.

    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-child-link.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-child-link.html new file mode 100644 index 000000000..88bdef6b5 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-child-link.html @@ -0,0 +1,11 @@ + + +display: none applies to child node links + + + +
    + hidden +
    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-child-paragraph.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-child-paragraph.html new file mode 100644 index 000000000..31ab16da4 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-child-paragraph.html @@ -0,0 +1,11 @@ + + +display: none applies to child node paragraphs + + + +
    +

    hidden

    +
    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-child.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-child.html new file mode 100644 index 000000000..b45ea0e5a --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-child.html @@ -0,0 +1,11 @@ + + +display: none applies to child nodes + + + +
    +
    Brie is good
    +
    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-dynamic.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-dynamic.html new file mode 100644 index 000000000..074f0b3c1 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-dynamic.html @@ -0,0 +1,10 @@ + + +display: none set dynamically + +

    Should not be visible + + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-parent-presedence-visibility.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-parent-presedence-visibility.html new file mode 100644 index 000000000..37ca02391 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-parent-presedence-visibility.html @@ -0,0 +1,15 @@ + + +display: none on parent takes presedence over visibility: visible on child node + + + +

    +
    + hidden +
    +
    +in \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-parent-presedence.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-parent-presedence.html new file mode 100644 index 000000000..0f166d1e5 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none-parent-presedence.html @@ -0,0 +1,14 @@ + + +display: none on parent takes presedence + + + +
    +
    + hidden +
    +
    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none.html new file mode 100644 index 000000000..469fc934b --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/display-none.html @@ -0,0 +1,11 @@ + + +display: none; + + + +

    This element is not visible.

    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-dynamically-moved-outside-viewport.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-dynamically-moved-outside-viewport.html new file mode 100644 index 000000000..e31912bfd --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-dynamically-moved-outside-viewport.html @@ -0,0 +1,15 @@ + + +Element outside viewport + + + +
    hidden
    + + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-hidden-by-other-element.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-hidden-by-other-element.html new file mode 100644 index 000000000..a2cf645a3 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-hidden-by-other-element.html @@ -0,0 +1,20 @@ + + +Element hidden by other element + + + +
    +
    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-hidden-by-z-index.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-hidden-by-z-index.html new file mode 100644 index 000000000..05e8eebeb --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-hidden-by-z-index.html @@ -0,0 +1,29 @@ + + +Element hidden by z-index + + + +
    +
    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-moved-behind-other-element-by-transform.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-moved-behind-other-element-by-transform.html new file mode 100644 index 000000000..f91e729de --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-moved-behind-other-element-by-transform.html @@ -0,0 +1,31 @@ + + +Element moved behind other element by transform + + + +
    +
    + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-moved-outside-viewport-by-transform.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-moved-outside-viewport-by-transform.html new file mode 100644 index 000000000..51f6ee89f --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-moved-outside-viewport-by-transform.html @@ -0,0 +1,15 @@ + + +Element moved outside viewpor by transform + + + +
    Cheddar!
    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-outside-viewport.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-outside-viewport.html new file mode 100644 index 000000000..e3382ad09 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-outside-viewport.html @@ -0,0 +1,13 @@ + + +Element outside viewport + + + +
    hidden
    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-partially-hidden-by-other-element.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-partially-hidden-by-other-element.html new file mode 100644 index 000000000..3d0325928 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-partially-hidden-by-other-element.html @@ -0,0 +1,23 @@ + + +Element partially hidden by other element + + + +
    +
    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-selected.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-selected.html new file mode 100644 index 000000000..c2ad98924 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-selected.html @@ -0,0 +1,89 @@ + + + + + + + + + + + + +

    Input Checkbox Elements

    +selected-8 + +selected-9 + +unselected-10 +unselected-11 + +unselected-12 + +unselected-13 +selected-10 + +

    Input Radio Elements

    +
    Group 1:
    +selected-11 +
    Group 2:
    +selected-12 + +
    Group 3:
    +unselected-14 +selected-13 +
    Group 4:
    +unselected-15 +selected-14 +
    Group 5:
    +unselected-16 +unselected-17 + +
    Group 6
    +selected-15 +unselected-18 + + + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-color-style-attribute.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-color-style-attribute.html new file mode 100644 index 000000000..acf2fc095 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-color-style-attribute.html @@ -0,0 +1,5 @@ + + +Element with color style attribute + +
     
    \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-custom-attribute.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-custom-attribute.html new file mode 100644 index 000000000..8f84b97ff --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-custom-attribute.html @@ -0,0 +1,5 @@ + + +Element with custom attribute + +
     
    \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-id-attribute.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-id-attribute.html new file mode 100644 index 000000000..7512344f5 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-id-attribute.html @@ -0,0 +1,5 @@ + + +Element with id attribute + +
     
    \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-same-color-as-background.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-same-color-as-background.html new file mode 100644 index 000000000..aaea9a935 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-same-color-as-background.html @@ -0,0 +1,10 @@ + + +Element with same color as background + + + +
     
    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-same-color-as-parent-background.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-same-color-as-parent-background.html new file mode 100644 index 000000000..80a4118df --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-same-color-as-parent-background.html @@ -0,0 +1,18 @@ + + +Element with same color as background + + + +
    +
    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-style-attribute.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-style-attribute.html new file mode 100644 index 000000000..b163a751a --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-with-style-attribute.html @@ -0,0 +1,5 @@ + + +Element with style attribute + +
     
    \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-without-attribute.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-without-attribute.html new file mode 100644 index 000000000..b03d4545b --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-without-attribute.html @@ -0,0 +1,5 @@ + + +Element without attribute + +
     
    \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/elements_text.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/elements_text.html new file mode 100644 index 000000000..45b7c2370 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/elements_text.html @@ -0,0 +1,10 @@ + + + +Element location + + +
    id
    +
    name
    + link text + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/get-element-attribute-extended.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/get-element-attribute-extended.html new file mode 100644 index 000000000..1fff60f03 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/get-element-attribute-extended.html @@ -0,0 +1,72 @@ + + +Get Element Attribute Extended + +Span +Span + +
    +
    +
    +

    h1 element, id:h1_div1.1_div1

    +
    +
    + +
    +
    +
    + Span +
    +
    +
    + +
    + anchor text 123 + anchor text 123 + + +
    + +
    +
    +
    + + Span + Span +
    + +
    + + + +
    +
    +
    +
    +
    +
    + + +
    + + +
    + + +
    + + +
    + + +
    + + +
    + + +
    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/hidden-input-type-checkbox-untogglable.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/hidden-input-type-checkbox-untogglable.html new file mode 100644 index 000000000..7e7c2e238 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/hidden-input-type-checkbox-untogglable.html @@ -0,0 +1,9 @@ + + +Hidden INPUT @type="checkbox" is untogglable + + + + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/hidden-input-type-text-writing.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/hidden-input-type-text-writing.html new file mode 100644 index 000000000..a1db85009 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/hidden-input-type-text-writing.html @@ -0,0 +1,9 @@ + + +Typing in hidden input is impossible + + + + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/hidden.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/hidden.html new file mode 100644 index 000000000..0e8097e97 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/hidden.html @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/img-with-src-attribute.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/img-with-src-attribute.html new file mode 100644 index 000000000..057bb9bf5 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/img-with-src-attribute.html @@ -0,0 +1,5 @@ + + +"img" element with not fully qualified url + +  \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/input-morphs-into-hidden.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/input-morphs-into-hidden.html new file mode 100644 index 000000000..98b954855 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/input-morphs-into-hidden.html @@ -0,0 +1,10 @@ + + +INPUT motphs into @type="hidden" + + + + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/input-type-hidden-unclickable.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/input-type-hidden-unclickable.html new file mode 100644 index 000000000..b06822b10 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/input-type-hidden-unclickable.html @@ -0,0 +1,5 @@ + + +INPUT @type="hidden" is unclickable + + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/input-type-hidden.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/input-type-hidden.html new file mode 100644 index 000000000..b7195709d --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/input-type-hidden.html @@ -0,0 +1,5 @@ + + +INPUT @type="hidden" are always hidden + + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/input-with-checked-attribute.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/input-with-checked-attribute.html new file mode 100644 index 000000000..d7aad5ea5 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/input-with-checked-attribute.html @@ -0,0 +1,5 @@ + + +Input with checked attribute + +  \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/input-without-checked-attribute.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/input-without-checked-attribute.html new file mode 100644 index 000000000..9f1d5ad35 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/input-without-checked-attribute.html @@ -0,0 +1,5 @@ + + +Input without checked attribute + +  \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/option-with-value-attribute.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/option-with-value-attribute.html new file mode 100644 index 000000000..5ef08c405 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/option-with-value-attribute.html @@ -0,0 +1,7 @@ + + +Option with value attribute + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/option-without-value-attribute.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/option-without-value-attribute.html new file mode 100644 index 000000000..5f6087ddd --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/option-without-value-attribute.html @@ -0,0 +1,7 @@ + + +Option without value attribute + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/text-with-matching-color-and-background.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/text-with-matching-color-and-background.html new file mode 100644 index 000000000..d6591ef04 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/text-with-matching-color-and-background.html @@ -0,0 +1,14 @@ + + +Text with matching color and background + + + +

    + This on the other hand, should be visible +

    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/text-with-same-color-as-background.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/text-with-same-color-as-background.html new file mode 100644 index 000000000..e6290d576 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/text-with-same-color-as-background.html @@ -0,0 +1,12 @@ + + +Text with same color as background + + + +

    + Shouldn't be visible. +

    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/text-with-same-color-as-parent-background.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/text-with-same-color-as-parent-background.html new file mode 100644 index 000000000..f7480f509 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/text-with-same-color-as-parent-background.html @@ -0,0 +1,14 @@ + + +Text with same color as parent background + + + +
    +

    + Should not be visible +

    +
    g diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-child-link.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-child-link.html new file mode 100644 index 000000000..638c3c9ee --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-child-link.html @@ -0,0 +1,11 @@ + + +visibility: hidden applies to child node of type A + + + + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-child-paragraph.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-child-paragraph.html new file mode 100644 index 000000000..8f703ba54 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-child-paragraph.html @@ -0,0 +1,11 @@ + + +visibility: hidden applies to child nodes of type P + + + +
    +

    Brie is good

    +
    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-child-presedence.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-child-presedence.html new file mode 100644 index 000000000..adf679c8a --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-child-presedence.html @@ -0,0 +1,12 @@ + + +visibility: visible on child node takes presedence + + + +
    +
    Brie is good
    +
    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-child.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-child.html new file mode 100644 index 000000000..5464025fa --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-child.html @@ -0,0 +1,11 @@ + + +visibility: hidden applies to child nodes + + + +
    +
    Brie is good
    +
    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-hidden.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-hidden.html new file mode 100644 index 000000000..24e89499f --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-hidden.html @@ -0,0 +1,11 @@ + + +visibility: hidden; + + + +

    This element is not visible.

    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-visible.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-visible.html new file mode 100644 index 000000000..e0c090217 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/visibility-visible.html @@ -0,0 +1,5 @@ + + +visibility: visible; + +

    This element is visible.

    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/x-auto-y-hidden.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/x-auto-y-hidden.html new file mode 100644 index 000000000..e9ce24c73 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/x-auto-y-hidden.html @@ -0,0 +1,30 @@ + + + + Page with overflow + + + +
    +
    +
    Click right
    +
    +
    + Right clicked:
    + Bottom clicked:
    + Bottom-right clicked:
    +
    +
    +
    Click bottom-right
    +
    + Click bottom +
    + + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/x-hidden-y-auto.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/x-hidden-y-auto.html new file mode 100644 index 000000000..22b5049ff --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/x-hidden-y-auto.html @@ -0,0 +1,30 @@ + + + + Page with overflow + + + +
    +
    +
    Click right
    +
    +
    + Right clicked:
    + Bottom clicked:
    + Bottom-right clicked:
    +
    +
    +
    Click bottom-right
    +
    + Click bottom +
    + + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/x-hidden-y-hidden.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/x-hidden-y-hidden.html new file mode 100644 index 000000000..c26b48aea --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/x-hidden-y-hidden.html @@ -0,0 +1,30 @@ + + + + Page with overflow + + + +
    +
    +
    Click right
    +
    +
    + Right clicked:
    + Bottom clicked:
    + Bottom-right clicked:
    +
    +
    +
    Click bottom-right
    +
    + Click bottom +
    + + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/x-hidden-y-scroll.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/x-hidden-y-scroll.html new file mode 100644 index 000000000..b98b79a7e --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/x-hidden-y-scroll.html @@ -0,0 +1,30 @@ + + + + Page with overflow + + + +
    +
    +
    Click right
    +
    +
    + Right clicked:
    + Bottom clicked:
    + Bottom-right clicked:
    +
    +
    +
    Click bottom-right
    +
    + Click bottom +
    + + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/x-scroll-y-hidden.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/x-scroll-y-hidden.html new file mode 100644 index 000000000..9348681ac --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/x-scroll-y-hidden.html @@ -0,0 +1,30 @@ + + + + Page with overflow + + + +
    +
    +
    Click right
    +
    +
    + Right clicked:
    + Bottom clicked:
    + Bottom-right clicked:
    +
    +
    +
    Click bottom-right
    +
    + Click bottom +
    + + diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/res/zero-sized-element-with-sizable-decendant.html b/testing/web-platform/tests/old-tests/webdriver/element_state/res/zero-sized-element-with-sizable-decendant.html new file mode 100644 index 000000000..f7e37f855 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/res/zero-sized-element-with-sizable-decendant.html @@ -0,0 +1,14 @@ + + +Zero sized element with sizable decendant + + + +
    +
    +   +
    +
    diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/selected_test.py b/testing/web-platform/tests/old-tests/webdriver/element_state/selected_test.py new file mode 100644 index 000000000..9c80f29f6 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/selected_test.py @@ -0,0 +1,210 @@ +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test + + +class GetElementSelectedTest(base_test.WebDriverBaseTest): + def test_selected_1(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("selected-1") + + self.assertEquals(element.is_selected(), True) + + def test_selected_2(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("selected-2") + + self.assertEquals(element.is_selected(), True) + + def test_selected_3(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("selected-3") + + self.assertEquals(element.is_selected(), True) + + def test_selected_4(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("selected-4") + + self.assertEquals(element.is_selected(), True) + + def test_selected_5(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("selected-5") + + self.assertEquals(element.is_selected(), True) + + def test_selected_6(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("selected-6") + + self.assertEquals(element.is_selected(), True) + + def test_selected_7(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("selected-7") + + self.assertEquals(element.is_selected(), True) + + def test_selected_8(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("selected-8") + + self.assertEquals(element.is_selected(), True) + + def test_selected_9(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("selected-9") + + self.assertEquals(element.is_selected(), True) + + def test_selected_10(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("selected-10") + + self.assertEquals(element.is_selected(), True) + + def test_selected_11(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("selected-11") + + self.assertEquals(element.is_selected(), True) + + def test_selected_12(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("selected-12") + + self.assertEquals(element.is_selected(), True) + + def test_selected_13(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("selected-13") + + self.assertEquals(element.is_selected(), True) + + def test_selected_14(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("selected-14") + + self.assertEquals(element.is_selected(), True) + + def test_selected_15(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("selected-15") + + self.assertEquals(element.is_selected(), True) + + def test_unselected_1(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("unselected-1") + + self.assertEquals(element.is_selected(), False) + + def test_unselected_2(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("unselected-2") + + self.assertEquals(element.is_selected(), False) + + def test_unselected_3(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("unselected-3") + + self.assertEquals(element.is_selected(), False) + + def test_unselected_4(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("unselected-4") + + self.assertEquals(element.is_selected(), False) + + def test_unselected_5(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("unselected-5") + + self.assertEquals(element.is_selected(), False) + + def test_unselected_6(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("unselected-6") + + self.assertEquals(element.is_selected(), False) + + def test_unselected_7(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("unselected-7") + + self.assertEquals(element.is_selected(), False) + + def test_unselected_8(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("unselected-8") + + self.assertEquals(element.is_selected(), False) + + def test_unselected_9(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("unselected-9") + + self.assertEquals(element.is_selected(), False) + + def test_unselected_10(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("unselected-10") + + self.assertEquals(element.is_selected(), False) + + def test_unselected_11(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("unselected-11") + + self.assertEquals(element.is_selected(), False) + + def test_unselected_12(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("unselected-12") + + self.assertEquals(element.is_selected(), False) + + def test_unselected_13(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("unselected-13") + + self.assertEquals(element.is_selected(), False) + + def test_unselected_14(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("unselected-14") + + self.assertEquals(element.is_selected(), False) + + def test_unselected_15(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("unselected-15") + + self.assertEquals(element.is_selected(), False) + + def test_unselected_16(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("unselected-16") + + self.assertEquals(element.is_selected(), False) + + def test_unselected_17(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("unselected-17") + + self.assertEquals(element.is_selected(), False) + + def test_unselected_18(self): + self.driver.get(self.webserver.where_is("element_state/res/element-selected.html")) + element = self.driver.find_element_by_id("unselected-18") + + self.assertEquals(element.is_selected(), False) + + +if __name__ == "__main__": + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/element_state/visibility_test.py b/testing/web-platform/tests/old-tests/webdriver/element_state/visibility_test.py new file mode 100644 index 000000000..58218a7ff --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/element_state/visibility_test.py @@ -0,0 +1,324 @@ +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test +from selenium.common import exceptions + + +class NaturalNonVisibleElementsTest(base_test.WebDriverBaseTest): + def test_0x0_pixel_element_is_not_visible(self): + self.driver.get(self.webserver.where_is("element_state/res/0x0-pixels.html")) + el = self.driver.find_element_by_css_selector("div") + self.assertFalse(el.is_displayed()) + + def test_0x0_pixel_text_node_is_visible(self): + self.driver.get(self.webserver.where_is("element_state/res/0x0-pixels-text-node.html")) + el = self.driver.find_element_by_css_selector("p") + self.assertTrue(el.is_displayed()) + + def test_1x1_pixel_element(self): + self.driver.get(self.webserver.where_is("element_state/res/1x1-pixels.html")) + el = self.driver.find_element_by_css_selector("p") + self.assertTrue(el.is_displayed()) + + def test_zero_sized_element_is_shown_if_decendant_has_size(self): + self.driver.get(self.webserver.where_is("element_state/res/zero-sized-element-with-sizable-decendant.html")) + parent = self.driver.find_element_by_css_selector("#parent") + child = self.driver.find_element_by_css_selector("#child") + + self.assertTrue(parent.is_displayed()) + self.assertTrue(child.is_displayed()) + + def test_input_type_hidden_is_never_visible(self): + self.driver.get(self.webserver.where_is("element_state/res/input-type-hidden.html")) + input = self.driver.find_element_by_css_selector("input") + self.assertFalse(input.is_displayed()) + + def test_input_morphs_into_hidden(self): + self.driver.get(self.webserver.where_is("element_state/res/input-morphs-into-hidden.html")) + input = self.driver.find_element_by_css_selector("input") + self.assertFalse(input.is_displayed()) + + def test_parent_node_visible_when_all_children_are_absolutely_positioned_and_overflow_is_hidden(self): + pass + + def test_parent_of_absolutely_positioned_elements_visible_where_ancestor_overflow_is_hidden(self): + """When a parent's ancestor hides any overflow, absolutely positioned child elements are + still visible. The parent container is also considered visible by webdriver for this + reason because it is interactable.""" + + self.driver.get(self.webserver.where_is("element_state/res/absolute-children-ancestor-hidden-overflow.html")) + + children = self.driver.find_elements_by_css_selector(".child") + assert all(child.is_displayed() for child in children) + + parent = self.driver.find_element_by_css_selector("#parent") + assert parent.is_displayed() + + def test_element_hidden_by_overflow_x_is_not_visible(self): + # TODO(andreastt): This test should probably be split in three. Also it's making two + # assertions. + pages = ["element_state/res/x-hidden-y-hidden.html", + "element_state/res/x-hidden-y-scroll.html", + "element_state/res/x-hidden-y-auto.html"] + + for page in pages: + self.driver.get(self.webserver.where_is(page)) + right = self.driver.find_element_by_css_selector("#right") + bottom_right = self.driver.find_element_by_css_selector("#bottom-right") + + self.assertFalse(right.is_displayed()) + self.assertFalse(bottom_right.is_displayed()) + + def test_element_hidden_by_overflow_y_is_not_visible(self): + # TODO(andreastt): This test should probably be split in three. Also it's making two + # assertions. + pages = ["element_state/res/x-hidden-y-hidden.html", + "element_state/res/x-scroll-y-hidden.html", + "element_state/res/x-auto-y-hidden.html"] + + for page in pages: + self.driver.get(self.webserver.where_is(page)) + bottom = self.driver.find_element_by_css_selector("#bottom") + bottom_right = self.driver.find_element_by_css_selector("#bottom-right") + + self.assertFalse(bottom.is_displayed()) + self.assertFalse(bottom_right.is_displayed()) + + def test_parent_node_visible_when_all_children_are_absolutely_position_and_overflow_is_hidden(self): + pass + + def test_element_scrollable_by_overflow_x_is_visible(self): + pass + + def test_element_scrollable_by_overflow_y_is_visible(self): + pass + + def test_element_scrollable_by_overflow_x_and_y_is_visible(self): + pass + + def test_element_scrollable_by_overflow_y_is_visible(self): + pass + + def test_element_outside_viewport(self): + self.driver.get(self.webserver.where_is("element_state/res/element-outside-viewport.html")) + hidden = self.driver.find_element_by_css_selector("div") + self.assertFalse(hidden.is_displayed()) + + def test_element_dynamically_moved_outside_viewport(self): + self.driver.get(self.webserver.where_is("element_state/res/element-dynamically-moved-outside-viewport.html")) + hidden = self.driver.find_element_by_css_selector("div") + self.assertFalse(hidden.is_displayed()) + + def test_element_hidden_by_other_element(self): + self.driver.get(self.webserver.where_is("element_state/res/element-hidden-by-other-element.html")) + overlay = self.driver.find_element_by_css_selector("#overlay") + hidden = self.driver.find_element_by_css_selector("#hidden") + + self.assertTrue(overlay.is_displayed()) + self.assertFalse(hidden.is_displayed()) + + def test_element_partially_hidden_by_other_element(self): + self.driver.get(self.webserver.where_is("element_state/res/element-partially-hidden-by-other-element.html")) + partial = self.driver.find_element_by_css_selector("#partial") + self.assertTrue(partial.is_displayed()) + + def test_element_hidden_by_z_index(self): + self.driver.get(self.webserver.where_is("element_state/res/element-hidden-by-z-index.html")) + overlay = self.driver.find_element_by_css_selector("#overlay") + hidden = self.driver.find_element_by_css_selector("#hidden") + + self.assertTrue(overlay.is_displayed()) + self.assertFalse(hidden.is_displayed()) + + def test_element_moved_outside_viewport_by_transform(self): + self.driver.get(self.webserver.where_is("element_state/res/element-moved-outside-viewport-by-transform.html")) + el = self.driver.find_element_by_css_selector("div") + self.assertFalse(el.is_displayed()) + + def test_element_moved_behind_other_element_by_transform(self): + self.driver.get(self.webserver.where_is("element_state/res/element-moved-behind-other-element-by-transform.html")) + overlay = self.driver.find_element_by_css_selector("#overlay") + hidden = self.driver.find_element_by_css_selector("#hidden") + + self.assertTrue(overlay.is_displayed()) + self.assertFalse(hidden.is_displayed()) + + def test_text_with_same_color_as_background(self): + self.driver.get(self.webserver.where_is("element_state/res/text-with-same-color-as-background.html")) + p = self.driver.find_element_by_css_selector("p") + self.assertFalse(p.is_displayed()) + + def test_text_with_same_color_as_parent_background(self): + self.driver.get(self.webserver.where_is("element_state/res/text-with-same-color-as-parent-background.html")) + p = self.driver.find_element_by_css_selector("p") + self.assertFalse(p.is_displayed()) + + def test_text_with_matching_color_and_background(self): + self.driver.get(self.webserver.where_is("element_state/res/text-with-matching-color-and-background.html")) + p = self.driver.find_element_by_css_selector("p") + self.assertTrue(p.is_displayed()) + + def test_element_with_same_color_as_background(self): + self.driver.get(self.webserver.where_is("element_state/res/element-with-same-color-as-background.html")) + el = self.driver.find_element_by_css_selector("div") + self.assertFalse(el.is_displayed()) + + def test_element_with_same_color_as_parent_background(self): + self.driver.get(self.webserver.where_is("element_state/res/element-with-same-color-as-parent-background.html")) + hidden = self.driver.find_element_by_css_selector("#hidden") + self.assertFalse(hidden.is_displayed()) + + +class BodyElementIsAlwaysDisplayedTest(base_test.WebDriverBaseTest): + def assert_body_is_displayed_on(self, page): + self.driver.get(self.webserver.where_is(page)) + body = self.driver.find_element_by_css_selector("body") + assert body.is_displayed() + + def test_implicit(self): + self.assert_body_is_displayed_on("element_state/res/body_implicit.html") + + def test_empty(self): + self.assert_body_is_displayed_on("element_state/res/body_empty.html") + + def test_visibility_hidden(self): + self.assert_body_is_displayed_on("element_state/res/body_visibility_hidden.html") + + def test_overflow_hidden(self): + self.assert_body_is_displayed_on("element_state/res/body_overflow_hidden.html") + + +class DisplayTest(base_test.WebDriverBaseTest): + def test_display_block(self): + self.driver.get(self.webserver.where_is("element_state/res/display-block.html")) + el = self.driver.find_element_by_css_selector("p") + self.assertTrue(el.is_displayed()) + + def test_display_none(self): + self.driver.get(self.webserver.where_is("element_state/res/display-none.html")) + el = self.driver.find_element_by_css_selector("p") + self.assertFalse(el.is_displayed()) + + def test_display_none_hides_child_node(self): + self.driver.get(self.webserver.where_is("element_state/res/display-none-child.html")) + parent = self.driver.find_element_by_css_selector("#parent") + child = self.driver.find_element_by_css_selector("#child") + + self.assertFalse(parent.is_displayed()) + self.assertFalse(child.is_displayed()) + + def test_display_none_hides_child_node_link(self): + self.driver.get(self.webserver.where_is("element_state/res/display-none-child-link.html")) + child = self.driver.find_element_by_css_selector("#child") + self.assertFalse(child.is_displayed()) + + def test_display_none_hides_child_node_paragraph(self): + self.driver.get(self.webserver.where_is("element_state/res/display-none-child-paragraph.html")) + child = self.driver.find_element_by_css_selector("#child") + self.assertFalse(child.is_displayed()) + + def test_display_none_on_parent_takes_presedence(self): + self.driver.get(self.webserver.where_is("element_state/res/display-none-parent-presedence.html")) + child = self.driver.find_element_by_css_selector("#child") + self.assertFalse(child.is_displayed()) + + def test_display_none_on_parent_takes_presedence_over_visibility_visible(self): + self.driver.get(self.webserver.where_is("element_state/res/display-none-parent-presedence-visibility.html")) + child = self.driver.find_element_by_css_selector("#child") + self.assertFalse(child.is_displayed()) + + def test_display_none_hidden_dynamically(self): + self.driver.get(self.webserver.where_is("element_state/res/display-none-dynamic.html")) + hidden = self.driver.find_element_by_css_selector("#hidden") + self.assertFalse(hidden.is_displayed()) + + +class VisibilityTest(base_test.WebDriverBaseTest): + def test_element_state_hidden(self): + self.driver.get(self.webserver.where_is("element_state/res/visibility-hidden.html")) + el = self.driver.find_element_by_css_selector("p") + self.assertFalse(el.is_displayed()) + + def test_element_state_visible(self): + self.driver.get(self.webserver.where_is("element_state/res/visibility-visible.html")) + el = self.driver.find_element_by_css_selector("p") + self.assertTrue(el.is_displayed()) + + def test_visibility_hidden_hides_child_node(self): + self.driver.get(self.webserver.where_is("element_state/res/visibility-child.html")) + parent = self.driver.find_element_by_css_selector("#parent") + child = self.driver.find_element_by_css_selector("#child") + + self.assertFalse(parent.is_displayed()) + self.assertFalse(child.is_displayed()) + + def test_visibility_hidden_hides_child_node_link(self): + self.driver.get(self.webserver.where_is("element_state/res/visibility-child-link.html")) + parent = self.driver.find_element_by_css_selector("#parent") + child = self.driver.find_element_by_css_selector("#child") + + self.assertFalse(parent.is_displayed()) + self.assertFalse(child.is_displayed()) + + def test_visibility_hidden_hides_child_node_paragraph(self): + self.driver.get(self.webserver.where_is("element_state/res/visibility-child-paragraph.html")) + parent = self.driver.find_element_by_css_selector("#parent") + child = self.driver.find_element_by_css_selector("#child") + + self.assertFalse(parent.is_displayed()) + self.assertFalse(child.is_displayed()) + + def test_visibility_hidden_on_child_takes_precedence(self): + self.driver.get(self.webserver.where_is("element_state/res/visibility-child-presedence.html")) + child = self.driver.find_element_by_css_selector("#child") + self.assertTrue(child.is_displayed()) + + def test_visibility_hidden_on_parent_takes_precedence_over_display_block(self): + pass + + def test_visibility_hidden_set_dynamically(self): + pass + + def test_should_show_element_not_visible_with_hidden_attribute(self): + self.driver.get(self.webserver.where_is("element_state/res/hidden.html")) + singleHidden = self.driver.find_element_by_css_selector('#singleHidden') + self.assertFalse(singleHidden.is_displayed()) + + def test_should_show_element_not_visible_when_parent_element_has_hidden_attribute(self): + self.driver.get(self.webserver.where_is("element_state/res/hidden.html")) + child = self.driver.find_element_by_css_selector('#child') + self.assertFalse(child.is_displayed()) + + +class VisibilityInteractionTest(base_test.WebDriverBaseTest): + def test_input_hidden_is_unclickable(self): + self.driver.get(self.webserver.where_is("element_state/res/input-type-hidden-unclickable.html")) + input = self.driver.find_element_by_css_selector("input") + + with self.assertRaises(exceptions.ElementNotVisibleException): + input.click() + + def test_hidden_input_checkbox_is_untogglable(self): + self.driver.get(self.webserver.where_is("element_state/res/hidden-input-type-checkbox-untogglable.html")) + checkbox = self.driver.find_element_by_css_selector("input") + + with self.assertRaises(exceptions.ElementNotVisibleException): + checkbox.click() + + def test_typing_in_hidden_input_is_impossible(self): + self.driver.get(self.webserver.where_is("element_state/res/hidden-input-type-text-writing.html")) + textfield = self.driver.find_element_by_css_selector("input") + + with self.assertRaises(exceptions.ElementNotVisibleException): + textfield.send_keys("Koha is a popular Indian cheese") + + +class OpacityTest(base_test.WebDriverBaseTest): + pass + + +if __name__ == "__main__": + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/javascript/__init__.py b/testing/web-platform/tests/old-tests/webdriver/javascript/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/testing/web-platform/tests/old-tests/webdriver/javascript/execute_script_test.py b/testing/web-platform/tests/old-tests/webdriver/javascript/execute_script_test.py new file mode 100644 index 000000000..dd7cfca94 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/javascript/execute_script_test.py @@ -0,0 +1,129 @@ +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test +from selenium.webdriver.remote.webelement import WebElement + + +class ExecuteScriptTest(base_test.WebDriverBaseTest): + def test_ecmascript_translates_null_return_to_none(self): + self.driver.get(self.webserver.where_is("javascript/res/execute_script_test.html")) + result = self.driver.execute_script("return null;") + self.assertIsNone(result) + + def test_ecmascript_translates_undefined_return_to_none(self): + self.driver.get(self.webserver.where_is("javascript/res/execute_script_test.html")) + result = self.driver.execute_script("var undef; return undef;") + self.assertIsNone(result) + + def test_can_return_numbers_from_scripts(self): + self.driver.get(self.webserver.where_is("javascript/res/execute_script_test.html")) + self.assertEquals(1, self.driver.execute_script("return 1;")) + self.assertEquals(3.14, self.driver.execute_script("return 3.14;")) + + def test_can_return_strings_from_scripts(self): + self.driver.get(self.webserver.where_is("javascript/res/execute_script_test.html")) + self.assertEquals("hello, world!", + self.driver.execute_script("return 'hello, world!'")) + + def test_can_return_booleans_from_scripts(self): + self.driver.get(self.webserver.where_is("javascript/res/execute_script_test.html")) + self.assertTrue(self.driver.execute_script("return true;")) + self.assertFalse(self.driver.execute_script("return false;")) + + def test_can_return_an_array_of_primitives(self): + self.driver.get(self.webserver.where_is("javascript/res/execute_script_test.html")) + + result = self.driver.execute_script("return [1, false, null, 3.14]") + self.assertListEqual([1, False, None, 3.14], result) + + def test_can_return_nested_arrays(self): + self.driver.get(self.webserver.where_is("javascript/res/execute_script_test.html")) + result = self.driver.execute_script("return [[1, 2, [3]]]") + + self.assertIsInstance(result, list) + self.assertEquals(1, len(result)) + + result = result[0] + self.assertListEqual([1, 2], result[:2]) + self.assertListEqual([3], result[2]) + + def test_can_return_object_literals(self): + self.driver.get(self.webserver.where_is("javascript/res/execute_script_test.html")) + + result = self.driver.execute_script("return {}") + self.assertDictEqual({}, result) + + result = self.driver.execute_script("return {a: 1, b: false, c: null}") + self.assertDictEqual({ + "a": 1, + "b": False, + "c": None + }, result) + + def test_can_return_complex_object_literals(self): + self.driver.get(self.webserver.where_is("javascript/res/execute_script_test.html")) + result = self.driver.execute_script("return {a:{b: 'hello'}}") + self.assertIsInstance(result, dict) + self.assertIsInstance(result['a'], dict) + self.assertDictEqual({"b": "hello"}, result["a"]) + + def test_dom_element_return_value_is_translated_to_a_web_element(self): + self.driver.get(self.webserver.where_is( + "javascript/res/return_document_body.html")) + + result = self.driver.execute_script("return document.body") + self.assertEquals(result.text, "Hello, world!") + + def test_return_an_array_of_dom_elements(self): + self.driver.get(self.webserver.where_is( + "javascript/res/return_array_of_dom_elements.html")) + + result = self.driver.execute_script( + "var nodes = document.getElementsByTagName('div');" + "return [nodes[0], nodes[1]]") + + self.assertIsInstance(result, list) + self.assertEquals(2, len(result)) + self.assertEquals("a", result[0].text) + self.assertEquals("b", result[1].text) + + def test_node_list_return_value_is_translated_to_list_of_web_elements(self): + self.driver.get(self.webserver.where_is( + "javascript/res/return_array_of_dom_elements.html")) + + result = self.driver.execute_script( + "return document.getElementsByTagName('div');") + + self.assertIsInstance(result, list) + self.assertEquals(2, len(result)) + self.assertEquals("a", result[0].text) + self.assertEquals("b", result[1].text) + + def test_return_object_literal_with_dom_element_property(self): + self.driver.get(self.webserver.where_is("javascript/res/execute_script_test.html")) + result = self.driver.execute_script("return {a: document.body}") + self.assertIsInstance(result, dict) + self.assertEquals("body", result["a"].tag_name) + + def test_scripts_execute_in_anonymous_function_and_do_not_pollute_global_scope(self): + self.driver.get(self.webserver.where_is("javascript/res/execute_script_test.html")) + self.driver.execute_script("var x = 1;") + self.assertEquals("undefined", self.driver.execute_script("return typeof x;")); + + def test_scripts_can_modify_context_window_object(self): + self.driver.get(self.webserver.where_is("javascript/res/execute_script_test.html")) + self.driver.execute_script("window.x = 1;") + self.assertEquals("number", self.driver.execute_script("return typeof x;")); + self.assertEquals(1, self.driver.execute_script("return x;")); + + def test_that_ecmascript_returns_document_title(self): + self.driver.get(self.webserver.where_is("javascript/res/execute_script_test.html")) + result = self.driver.execute_script("return document.title;") + self.assertEquals("executeScript test", result) + + +if __name__ == "__main__": + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/javascript/res/execute_script_test.html b/testing/web-platform/tests/old-tests/webdriver/javascript/res/execute_script_test.html new file mode 100644 index 000000000..9491b441a --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/javascript/res/execute_script_test.html @@ -0,0 +1,2 @@ + +executeScript test \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/javascript/res/return_array_of_dom_elements.html b/testing/web-platform/tests/old-tests/webdriver/javascript/res/return_array_of_dom_elements.html new file mode 100644 index 000000000..32827f950 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/javascript/res/return_array_of_dom_elements.html @@ -0,0 +1,3 @@ + +
    a
    +
    b
    diff --git a/testing/web-platform/tests/old-tests/webdriver/javascript/res/return_document_body.html b/testing/web-platform/tests/old-tests/webdriver/javascript/res/return_document_body.html new file mode 100644 index 000000000..ba1eab446 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/javascript/res/return_document_body.html @@ -0,0 +1,2 @@ + +
    Hello, world!
    diff --git a/testing/web-platform/tests/old-tests/webdriver/javascript/res/return_node_list.html b/testing/web-platform/tests/old-tests/webdriver/javascript/res/return_node_list.html new file mode 100644 index 000000000..32827f950 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/javascript/res/return_node_list.html @@ -0,0 +1,3 @@ + +
    a
    +
    b
    diff --git a/testing/web-platform/tests/old-tests/webdriver/modal/__init__.py b/testing/web-platform/tests/old-tests/webdriver/modal/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/testing/web-platform/tests/old-tests/webdriver/modal/alerts_quit_test.py b/testing/web-platform/tests/old-tests/webdriver/modal/alerts_quit_test.py new file mode 100644 index 000000000..83f7d1450 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/modal/alerts_quit_test.py @@ -0,0 +1,26 @@ +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test +from selenium.common import exceptions +from selenium.webdriver.support import wait + + +class AlertsQuitTest(base_test.WebDriverBaseTest): + def setUp(self): + self.wait = wait.WebDriverWait(self.driver, 5, ignored_exceptions=[exceptions.NoAlertPresentException]) + self.driver.get(self.webserver.where_is('modal/res/alerts.html')) + + def test_can_quit_when_an_alert_is_present(self): + self.driver.find_element_by_css_selector('#alert').click() + alert = self.wait.until(lambda x: x.switch_to_alert()) + self.driver.quit() + with self.assertRaises(Exception): + alert.accept() + AlertsQuitTest.driver = None + + +if __name__ == '__main__': + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/modal/alerts_test.py b/testing/web-platform/tests/old-tests/webdriver/modal/alerts_test.py new file mode 100644 index 000000000..5f6f8a9f5 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/modal/alerts_test.py @@ -0,0 +1,148 @@ +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test +from selenium.common import exceptions +from selenium.webdriver.support import wait + +class AlertsTest(base_test.WebDriverBaseTest): + def setUp(self): + self.wait = wait.WebDriverWait(self.driver, 5, ignored_exceptions = [exceptions.NoAlertPresentException]) + self.driver.get(self.webserver.where_is('modal/res/alerts.html')) + + def tearDown(self): + try: + self.driver.switch_to_alert().dismiss() + except exceptions.NoAlertPresentException: + pass + + # Alerts + def test_should_allow_user_to_accept_an_alert(self): + self.driver.find_element_by_css_selector('#alert').click() + alert = self.wait.until(lambda x: x.switch_to_alert()) + alert.accept() + self.driver.current_url + + def test_should_allow_user_to_accept_an_alert_with_no_text(self): + self.driver.find_element_by_css_selector('#empty-alert').click() + alert = self.wait.until(lambda x: x.switch_to_alert()) + alert.accept() + self.driver.current_url + + def test_should_allow_user_to_dismiss_an_alert(self): + self.driver.find_element_by_css_selector('#alert').click() + alert = self.wait.until(lambda x: x.switch_to_alert()) + alert.dismiss() + self.driver.current_url + + def test_should_allow_user_to_get_text_of_an_alert(self): + self.driver.find_element_by_css_selector('#alert').click() + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.text + alert.accept() + self.assertEquals('cheese', value) + + def test_setting_the_value_of_an_alert_throws(self): + self.driver.find_element_by_css_selector('#alert').click() + alert = self.wait.until(lambda x: x.switch_to_alert()) + with self.assertRaises(exceptions.ElementNotVisibleException): + alert.send_keys('cheese') + alert.accept() + + def test_alert_should_not_allow_additional_commands_if_dismissed(self): + self.driver.find_element_by_css_selector('#alert').click() + alert = self.wait.until(lambda x: x.switch_to_alert()) + alert.accept() + with self.assertRaises(exceptions.NoAlertPresentException): + alert.text + + # Prompts + def test_should_allow_user_to_accept_a_prompt(self): + self.driver.find_element_by_css_selector('#prompt').click() + alert = self.wait.until(lambda x: x.switch_to_alert()) + alert.accept() + self.wait.until(lambda x: x.find_element_by_css_selector('#text').text == '') + + def test_should_allow_user_to_dismiss_a_prompt(self): + self.driver.find_element_by_css_selector('#prompt').click() + alert = self.wait.until(lambda x: x.switch_to_alert()) + alert.dismiss() + self.wait.until(lambda x: x.find_element_by_css_selector('#text').text == 'null') + + def test_should_allow_user_to_set_the_value_of_a_prompt(self): + self.driver.find_element_by_css_selector('#prompt').click() + alert = self.wait.until(lambda x: x.switch_to_alert()) + alert.send_keys('cheese') + alert.accept() + self.wait.until(lambda x: x.find_element_by_css_selector('#text').text == 'cheese') + + def test_should_allow_user_to_get_text_of_a_prompt(self): + self.driver.find_element_by_css_selector('#prompt').click() + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.text + alert.accept() + self.assertEquals('Enter something', value) + + def test_prompt_should_not_allow_additional_commands_if_dismissed(self): + self.driver.find_element_by_css_selector('#prompt').click() + alert = self.wait.until(lambda x: x.switch_to_alert()) + alert.accept() + with self.assertRaises(exceptions.NoAlertPresentException): + alert.text + + def test_prompt_should_use_default_value_if_no_keys_sent(self): + self.driver.find_element_by_css_selector('#prompt-with-default').click() + alert = self.wait.until(lambda x: x.switch_to_alert()) + alert.accept() + self.wait.until(lambda x: x.find_element_by_css_selector('#text').text == 'This is a default value') + + def test_prompt_should_have_null_value_if_dismissed(self): + self.driver.find_element_by_css_selector('#prompt-with-default').click() + alert = self.wait.until(lambda x: x.switch_to_alert()) + alert.dismiss() + self.wait.until(lambda x: x.find_element_by_css_selector('#text').text == 'null') + + # Confirmations + def test_should_allow_user_to_accept_a_confirm(self): + self.driver.find_element_by_css_selector('#confirm').click() + alert = self.wait.until(lambda x: x.switch_to_alert()) + alert.accept() + self.wait.until(lambda x: x.find_element_by_css_selector('#text').text == 'true') + + def test_should_allow_user_to_dismiss_a_confirm(self): + self.driver.find_element_by_css_selector('#confirm').click() + alert = self.wait.until(lambda x: x.switch_to_alert()) + alert.dismiss() + self.wait.until(lambda x: x.find_element_by_css_selector('#text').text == 'false') + + def test_setting_the_value_of_a_confirm_throws(self): + self.driver.find_element_by_css_selector('#confirm').click() + alert = self.wait.until(lambda x: x.switch_to_alert()) + with self.assertRaises(exceptions.ElementNotVisibleException): + alert.send_keys('cheese') + alert.accept() + + def test_should_allow_user_to_get_text_of_a_confirm(self): + self.driver.find_element_by_css_selector('#confirm').click() + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.text + alert.accept() + self.assertEquals('cheese', value) + + def test_confirm_should_not_allow_additional_commands_if_dismissed(self): + self.driver.find_element_by_css_selector('#confirm').click() + alert = self.wait.until(lambda x: x.switch_to_alert()) + alert.accept() + with self.assertRaises(exceptions.NoAlertPresentException): + alert.text + +""" + def test_switch_to_missing_alert_fails(self): + with self.assertRaises(exceptions.NoAlertPresentException): + self.driver.switch_to_alert() +""" + +if __name__ == '__main__': + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/modal/res/alerts.html b/testing/web-platform/tests/old-tests/webdriver/modal/res/alerts.html new file mode 100644 index 000000000..36c5dc139 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/modal/res/alerts.html @@ -0,0 +1,53 @@ + + + + + Testing Alerts + + + + + +

    Testing Alerts and Stuff

    + +

    This tests alerts: click me

    + +

    This tests alerts: click me

    + +

    Let's make the prompt happen

    + +

    Let's make the prompt with default happen

    + +

    Let's make TWO prompts happen

    + +

    This tests confirm: test confirm

    + +
    +
    +
    + + + diff --git a/testing/web-platform/tests/old-tests/webdriver/navigation/__init__.py b/testing/web-platform/tests/old-tests/webdriver/navigation/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/testing/web-platform/tests/old-tests/webdriver/navigation/auth_tests.py b/testing/web-platform/tests/old-tests/webdriver/navigation/auth_tests.py new file mode 100644 index 000000000..52a18cdb8 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/navigation/auth_tests.py @@ -0,0 +1,42 @@ +import os +import sys +import unittest +import ConfigParser + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test +from selenium.common import exceptions +from wptserve import server +from wptserve.router import any_method +from wptserve.handlers import basic_auth_handler + +class WebDriverAuthTest(unittest.TestCase): + + # Set up class to start HTTP Server that responds to + # test URLs with various 401 responses + @classmethod + def setUpClass(cls): + cls.driver = base_test.create_driver() + cls.webserver = server.WebTestHttpd(routes=[(any_method, "*", basic_auth_handler)]) + cls.webserver.start() + + @classmethod + def tearDownClass(cls): + cls.driver.quit() + cls.webserver.stop() + + # Test that when 401 is seen by browser, a WebDriver response is still sent + def test_response_401_auth_basic(self): + page = self.webserver.get_url('navigation/res/authenticated.html') + self.driver.set_page_load_timeout(5) + try: + self.driver.get( page ) + # if we got a responses instead of timeout, that's success + self.assertTrue(True) + except exceptions.TimeoutException: + self.fail("Did not get response from browser.") + except: + self.fail("Unexpected failure. Please investigate.") + +if __name__ == "__main__": + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/navigation/forward.py b/testing/web-platform/tests/old-tests/webdriver/navigation/forward.py new file mode 100644 index 000000000..67ca83227 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/navigation/forward.py @@ -0,0 +1,24 @@ +import unittest +import sys +import os + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test + + +class ForwardTest(base_test.WebDriverBaseTest): + # Get a static page that must be the same upon refresh + def test_forward(self): + self.driver.get(self.webserver.where_is('navigation/res/forwardStart.html')) + self.driver.get(self.webserver.where_is('navigation/res/forwardNext.html')) + nextbody = self.driver.find_element_by_css_selector("body").text + self.driver.back() + currbody = self.driver.find_element_by_css_selector("body").text + self.assertNotEqual(nextbody, currbody) + self.driver.forward() + currbody = self.driver.find_element_by_css_selector("body").text + self.assertEqual(nextbody, currbody) + + +if __name__ == '__main__': + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/navigation/forwardToNothing.py b/testing/web-platform/tests/old-tests/webdriver/navigation/forwardToNothing.py new file mode 100644 index 000000000..99759681a --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/navigation/forwardToNothing.py @@ -0,0 +1,20 @@ +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test + + +class ForwardToNothingTest(base_test.WebDriverBaseTest): + # Get a static page that must be the same upon refresh + def test_forwardToNothing(self): + self.driver.get(self.webserver.where_is('navigation/forwardStart.html')) + body = self.driver.find_element_by_css_selector("body").text + self.driver.forward() + currbody = self.driver.find_element_by_css_selector("body").text + self.assertEqual(body, currbody) + + +if __name__ == '__main__': + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/navigation/get_from_http_test.py b/testing/web-platform/tests/old-tests/webdriver/navigation/get_from_http_test.py new file mode 100644 index 000000000..d28a0d0b1 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/navigation/get_from_http_test.py @@ -0,0 +1,60 @@ +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test + + +class GetFromHttpTest(base_test.WebDriverBaseTest): + def testGetUrlWithNoRedirectionOverHttp(self): + page = self.webserver.where_is('navigation/res/empty.html') + self.driver.get(page) + url = self.driver.current_url + self.assertEquals(page, url) + + + def testGetWillFollowTheLocationHeader(self): + page = self.webserver.where_is('navigation/redirect') + self.driver.get(page) + expected = self.webserver.where_is('navigation/res/empty.html') + url = self.driver.current_url + self.assertEquals(expected, url) + + + def testGetWillFollowMetaRefreshThatRefreshesInstantly(self): + page = self.webserver.where_is('navigation/res/instant-meta-redirect.html') + self.driver.get(page) + expected = self.webserver.where_is('navigation/res/empty.html') + url = self.driver.current_url + self.assertEquals(expected, url) + + + def testGetWillFollowMetaRefreshThatRefreshesAfterOneSecond(self): + page = self.webserver.where_is('navigation/res/1s-meta-redirect.html') + self.driver.get(page) + expected = self.webserver.where_is('navigation/res/empty.html') + url = self.driver.current_url + self.assertEquals(expected, url) + + + def testGetWillNotFollowMetaRefreshThatRefreshesAfterMoreThanOneSecond(self): + page = self.webserver.where_is('navigation/res/60s-meta-redirect.html') + self.driver.get(page) + url = self.driver.current_url + self.assertEquals(page, url) + + + def testGetFragmentInCurrentDocumentDoesNotReloadPage(self): + page = self.webserver.where_is("navigation/res/fragment.html") + fragment_page = "%s#%s" % (page, "fragment") + + self.driver.get(page) + self.driver.execute_script("state = true") + + self.driver.get(fragment_page) + self.assertEquals(True, self.driver.execute_script("return state")) + + +if __name__ == '__main__': + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/navigation/invalid_cert_test.py b/testing/web-platform/tests/old-tests/webdriver/navigation/invalid_cert_test.py new file mode 100644 index 000000000..b980146ee --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/navigation/invalid_cert_test.py @@ -0,0 +1,28 @@ +import BaseHTTPServer +import os +import ssl +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test + + +here = os.path.dirname(os.path.abspath(__file__)) + + +class InvalidCertTest(base_test.WebDriverBaseTest): + def testCanNavigateToSiteWithSelfSignedCert(self): + self.webserver.httpd.socket = ssl.wrap_socket( + self.webserver.httpd.socket, + certfile=os.path.join(here, 'res/self-signed.key'), + server_side=True) + expected = self.webserver.where_is( + 'navigation/res/empty.html').replace('http:', 'https:', 1) + + self.driver.get(expected) + self.assertEquals(expected, self.driver.current_url) + + +if __name__ == '__main__': + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/navigation/refresh-page.py b/testing/web-platform/tests/old-tests/webdriver/navigation/refresh-page.py new file mode 100644 index 000000000..b0638e568 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/navigation/refresh-page.py @@ -0,0 +1,27 @@ +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test + + +class RefreshPageTest(base_test.WebDriverBaseTest): + # Get a static page that must be the same upon refresh + def test_refreshPage(self): + self.driver.get(self.webserver.where_is('navigation/res/refreshPageStatic.html')) + body = self.driver.find_element_by_css("body").text + self.driver.execute_script("document.getElementById('body').innerHTML=''") + self.driver.refresh() + newbody = self.driver.find_element_by_css("body").text + self.assertEqual(body, newbody) + + self.driver.get(self.webserver.where_is('navigation/res/refreshPageDynamic.html')) + body = self.driver.find_element_by_css("body").text + self.driver.refresh() + newbody = self.driver.find_element_by_css("body").text + self.assertNotEqual(body, newbody) + + +if __name__ == '__main__': + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/navigation/refresh_page.py b/testing/web-platform/tests/old-tests/webdriver/navigation/refresh_page.py new file mode 100644 index 000000000..1e1899008 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/navigation/refresh_page.py @@ -0,0 +1,27 @@ +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test + + +class RefreshPageTest(base_test.WebDriverBaseTest): + # Get a static page that must be the same upon refresh + def test_refreshPage(self): + self.driver.get(self.webserver.where_is('navigation/res/refreshPageStatic.html')) + body = self.driver.find_element_by_css_selector("body").text + self.driver.execute_script("document.getElementById('body').innerHTML=''") + self.driver.refresh() + newbody = self.driver.find_element_by_css_selector("body").text + self.assertEqual(body, newbody) + + self.driver.get(self.webserver.where_is('navigation/res/refreshPageDynamic.html')) + body = self.driver.find_element_by_css_selector("body").text + self.driver.refresh() + newbody = self.driver.find_element_by_css_selector("body").text + self.assertNotEqual(body, newbody) + + +if __name__ == '__main__': + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/navigation/res/1s-meta-redirect.html b/testing/web-platform/tests/old-tests/webdriver/navigation/res/1s-meta-redirect.html new file mode 100644 index 000000000..44fd332bd --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/navigation/res/1s-meta-redirect.html @@ -0,0 +1,4 @@ + + + +meta-redirect diff --git a/testing/web-platform/tests/old-tests/webdriver/navigation/res/60s-meta-redirect.html b/testing/web-platform/tests/old-tests/webdriver/navigation/res/60s-meta-redirect.html new file mode 100644 index 000000000..9e56bc96a --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/navigation/res/60s-meta-redirect.html @@ -0,0 +1,4 @@ + + + +meta-redirect diff --git a/testing/web-platform/tests/old-tests/webdriver/navigation/res/authenticated.html b/testing/web-platform/tests/old-tests/webdriver/navigation/res/authenticated.html new file mode 100644 index 000000000..c77449344 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/navigation/res/authenticated.html @@ -0,0 +1,5 @@ + + + +authentication successful +

    You're in!

    \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/navigation/res/empty.html b/testing/web-platform/tests/old-tests/webdriver/navigation/res/empty.html new file mode 100644 index 000000000..da58ac21d --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/navigation/res/empty.html @@ -0,0 +1,4 @@ + + + +Cheese diff --git a/testing/web-platform/tests/old-tests/webdriver/navigation/res/forwardNext.html b/testing/web-platform/tests/old-tests/webdriver/navigation/res/forwardNext.html new file mode 100644 index 000000000..edd77f866 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/navigation/res/forwardNext.html @@ -0,0 +1,6 @@ + + + +This is the next page. + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/navigation/res/forwardStart.html b/testing/web-platform/tests/old-tests/webdriver/navigation/res/forwardStart.html new file mode 100644 index 000000000..3ab4f3cdd --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/navigation/res/forwardStart.html @@ -0,0 +1,6 @@ + + + +This is the start page. + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/navigation/res/fragment.html b/testing/web-platform/tests/old-tests/webdriver/navigation/res/fragment.html new file mode 100644 index 000000000..bd09434a6 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/navigation/res/fragment.html @@ -0,0 +1,9 @@ + + +Fragment + + + +

    I wish I were a pea, alas I am only a fragment.

    \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/navigation/res/instant-meta-redirect.html b/testing/web-platform/tests/old-tests/webdriver/navigation/res/instant-meta-redirect.html new file mode 100644 index 000000000..c6ad7c9f2 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/navigation/res/instant-meta-redirect.html @@ -0,0 +1,4 @@ + + + +meta-redirect diff --git a/testing/web-platform/tests/old-tests/webdriver/navigation/res/refreshPageDynamic.html b/testing/web-platform/tests/old-tests/webdriver/navigation/res/refreshPageDynamic.html new file mode 100644 index 000000000..bedd20c35 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/navigation/res/refreshPageDynamic.html @@ -0,0 +1,10 @@ + + + +This is a dynamic page. It will always have different content if refreshed. +
    + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/navigation/res/refreshPageStatic.html b/testing/web-platform/tests/old-tests/webdriver/navigation/res/refreshPageStatic.html new file mode 100644 index 000000000..7d339aa9d --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/navigation/res/refreshPageStatic.html @@ -0,0 +1,6 @@ + + + +This is a static page. It will always have the same content if refreshed. + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/navigation/res/self-signed.key b/testing/web-platform/tests/old-tests/webdriver/navigation/res/self-signed.key new file mode 100644 index 000000000..bca61cdf7 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/navigation/res/self-signed.key @@ -0,0 +1,28 @@ +-----BEGIN RSA PRIVATE KEY----- +MIICXAIBAAKBgQDoww50sF8aKYNe1owbtsEilK2KOZx2F1Iv+EElpO7N2hDarIBu +9f87H+03b5RpI9oCSFCo67wTdCJ0A4B8SLwV2SUZY78CGJB1A8kXqP04tz0S0SYD +2TQRliwTxx1r7pDv1VmLc7XZRE6n6FFKTEjKmdUhCwHuQfC1sOkCXqSzFQIDAQAB +AoGAS5XcAeSsXXCRqqB9SxqjyTkCydo/htG37L/vV+whaFOiGYDfDClyQp7xh4kC +Zsovp4IYP2Kd5qtV7NqeRL3R5Z/Dxf6+6G4HdbI7np5m7A7cU32hMIzxi5M55Lo6 +gveNgHb3uy+R+tZTyab6saUxFy1DqbMh/2ga4lbatRm7JdkCQQD9C8+Q3nN8FkH4 +sKbOnHsKEV27459EYz7WnENiwhcYByBt7vw9BPM/LrO4UzWtgNjtRtxBpFeVT/V+ +dF7OZuH/AkEA63qhJcs6Ru3G29R3kJ82ttyHU1INawB/7od3bKp3rE+jUwNG7ZbQ +mtRdPTI02/OOeqZKeo46JX3D57gfMRDC6wJABZk/TGs/jt1HNGNkLWoU5tIfisqs +eWzgtQrcCtFUhXmS5BvHhOoZH6q+2zMsGtyg8A8DTIiAT5NnURbuCg8IrQJAd3kh +d85zw/byFSjofPz6wq6DDngsDKUVQ42BvyWCUG+bewvHmdYSAuxKXjkx7oLVQE9M +rH+q6sizc8bMNJW/fwJBAPcobQ59ZGAEWrnDdtbWnNS1ieSV8p6u7sg20HvrUIPS +TIQXeems9IKu0xs0dnLXNucm4ur8MnE7snkvWZnx2C8= +-----END RSA PRIVATE KEY----- +-----BEGIN CERTIFICATE----- +MIICAzCCAWwCCQCc6Lx6zkc0BDANBgkqhkiG9w0BAQUFADBFMQswCQYDVQQGEwJV +UzETMBEGA1UECAwKQ2FsaWZvcm5pYTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0 +cyBQdHkgTHRkMCAXDTEzMDcxMjIyMzMxNVoYDzIyODcwNDI2MjIzMzE1WjBFMQsw +CQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEhMB8GA1UECgwYSW50ZXJu +ZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDo +ww50sF8aKYNe1owbtsEilK2KOZx2F1Iv+EElpO7N2hDarIBu9f87H+03b5RpI9oC +SFCo67wTdCJ0A4B8SLwV2SUZY78CGJB1A8kXqP04tz0S0SYD2TQRliwTxx1r7pDv +1VmLc7XZRE6n6FFKTEjKmdUhCwHuQfC1sOkCXqSzFQIDAQABMA0GCSqGSIb3DQEB +BQUAA4GBAD6atn+xbACigA9+EmcZo2bpAzxLAuXOAVEBM6J7Nrd8pk1D3PRP0QPg +UxjIDQ7ZqEWwLAcKb6AIfWwJ2Wj7q5LSX5nEFnUXggpywfUNTuZaR/fquUVnhMaO +tF8fQB9AYSa1WjqUbIKlns3Z2RhUv2DSEifi6UNjsf2UpmDTxtkN +-----END CERTIFICATE----- diff --git a/testing/web-platform/tests/old-tests/webdriver/network.py b/testing/web-platform/tests/old-tests/webdriver/network.py new file mode 100644 index 000000000..0674b989d --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/network.py @@ -0,0 +1,30 @@ +# this comes from this stack overflow post: +# http://stackoverflow.com/a/1947766/725944 + +# module for getting the lan ip address of the computer + +import os +import socket + +if os.name != "nt": + import fcntl + import struct + def get_interface_ip(ifname): + sckt = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) + return socket.inet_ntoa(fcntl.ioctl( + sckt.fileno(), + 0x8915, # SIOCGIFADDR + struct.pack('256s', ifname[:15]) + )[20:24]) + +def get_lan_ip(): + ip = socket.gethostbyname(socket.gethostname()) + if ip.startswith("127.") and os.name != "nt": + interfaces = ["eth0","eth1","eth2","wlan0","wlan1","wifi0","ath0","ath1","ppp0"] + for ifname in interfaces: + try: + ip = get_interface_ip(ifname) + break + except IOError: + pass + return ip diff --git a/testing/web-platform/tests/old-tests/webdriver/runtests.py b/testing/web-platform/tests/old-tests/webdriver/runtests.py new file mode 100644 index 000000000..1cd9a3836 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/runtests.py @@ -0,0 +1,14 @@ +import unittest + +from unittest import TestLoader, TextTestRunner, TestSuite + +if __name__ == "__main__": + + loader = TestLoader() + suite = TestSuite(( + loader.discover(".", pattern="*.py") + )) + + runner = TextTestRunner(verbosity=2) + runner.run(suite) + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/runtests_p0.py b/testing/web-platform/tests/old-tests/webdriver/runtests_p0.py new file mode 100644 index 000000000..dc52c14be --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/runtests_p0.py @@ -0,0 +1,42 @@ +import unittest + +from unittest import TestLoader, TextTestRunner, TestSuite + +from cookie import cookie_test +from navigation import forward +from navigation import forwardToNothing +from navigation import get_from_http_test +from navigation import refresh_page +from element_location import element_location_test +from element_state import visibility_test +from element_state import method_test +from element_state import properties +from javascript import execute_script_test +from user_input import clear_test +from windows import window_manipulation +from windows import tabbing + + + +if __name__ == "__main__": + + loader = TestLoader() + suite = TestSuite(( + loader.loadTestsFromModule(cookie_test), + loader.loadTestsFromModule(forward), + loader.loadTestsFromModule(forwardToNothing), + loader.loadTestsFromModule(element_location_test), + loader.loadTestsFromModule(visibility_test), + loader.loadTestsFromModule(execute_script_test), + loader.loadTestsFromModule(clear_test), + loader.loadTestsFromModule(method_test), + loader.loadTestsFromModule(properties), + loader.loadTestsFromModule(refresh_page), + loader.loadTestsFromModule(get_from_http_test), + loader.loadTestsFromModule(window_manipulation), + loader.loadTestsFromModule(tabbing) + )) + + runner = TextTestRunner(verbosity=2) + runner.run(suite) + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/screenshot/__init__.py b/testing/web-platform/tests/old-tests/webdriver/screenshot/__init__.py new file mode 100644 index 000000000..0c8107beb --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/screenshot/__init__.py @@ -0,0 +1 @@ +__author__ = 'b-redeg' diff --git a/testing/web-platform/tests/old-tests/webdriver/screenshot/res/screenshot.html b/testing/web-platform/tests/old-tests/webdriver/screenshot/res/screenshot.html new file mode 100644 index 000000000..057bb9bf5 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/screenshot/res/screenshot.html @@ -0,0 +1,5 @@ + + +"img" element with not fully qualified url + +  \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/screenshot/take_screenshot.py b/testing/web-platform/tests/old-tests/webdriver/screenshot/take_screenshot.py new file mode 100644 index 000000000..20ff2bff2 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/screenshot/take_screenshot.py @@ -0,0 +1,15 @@ +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test + + +class ScreenShotTest(base_test.WebDriverBaseTest): + # Get a static page that must be the same upon refresh + def test_screenShot(self): + self.driver.get(self.webserver.where_is('screenshot/res/screen.html')) + +if __name__ == '__main__': + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/timeouts/__init__.py b/testing/web-platform/tests/old-tests/webdriver/timeouts/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/testing/web-platform/tests/old-tests/webdriver/timeouts/implicit_waits_tests.py b/testing/web-platform/tests/old-tests/webdriver/timeouts/implicit_waits_tests.py new file mode 100644 index 000000000..5faa0ad12 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/timeouts/implicit_waits_tests.py @@ -0,0 +1,64 @@ +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test +from selenium.common import exceptions + + +class ImplicitWaitsTests(base_test.WebDriverBaseTest): + def setUp(self): + self.driver.get(self.webserver.where_is('timeouts/res/implicit_waits_tests.html')) + + def test_find_element_by_id(self): + add = self.driver.find_element_by_css_selector("#adder") + self.driver.implicitly_wait(3) + add.click() + self.driver.find_element_by_css_selector("#box0") # All is well if this doesn't throw. + + def test_should_still_fail_to_find_an_element_when_implicit_waits_are_enabled(self): + self.driver.implicitly_wait(0.5) + try: + self.driver.find_element_by_css_selector("#box0") + self.fail("Expected NoSuchElementException to have been thrown") + except exceptions.NoSuchElementException as e: + pass + except Exception as e: + self.fail("Expected NoSuchElementException but got " + str(e)) + + def test_should_return_after_first_attempt_to_find_one_after_disabling_implicit_waits(self): + self.driver.implicitly_wait(3) + self.driver.implicitly_wait(0) + try: + self.driver.find_element_by_css_selector("#box0") + self.fail("Expected NoSuchElementException to have been thrown") + except exceptions.NoSuchElementException as e: + pass + except Exception as e: + self.fail("Expected NoSuchElementException but got " + str(e)) + + def test_should_implicitly_wait_until_at_least_one_element_is_found_when_searching_for_many(self): + add = self.driver.find_element_by_css_selector("#adder") + self.driver.implicitly_wait(2) + add.click() + add.click() + elements = self.driver.find_elements_by_css_selector(".redbox") + self.assertTrue(len(elements) >= 1) + + def test_should_still_fail_to_find_an_element_by_class_when_implicit_waits_are_enabled(self): + self.driver.implicitly_wait(0.5) + elements = self.driver.find_elements_by_css_selector(".redbox") + self.assertEqual(0, len(elements)) + + def test_should_return_after_first_attempt_to_find_many_after_disabling_implicit_waits(self): + add = self.driver.find_element_by_css_selector("#adder") + self.driver.implicitly_wait(1.1) + self.driver.implicitly_wait(0) + add.click() + elements = self.driver.find_elements_by_css_selector(".redbox") + self.assertEqual(0, len(elements)) + + +if __name__ == "__main__": + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/timeouts/page_load_timeouts_tests.py b/testing/web-platform/tests/old-tests/webdriver/timeouts/page_load_timeouts_tests.py new file mode 100644 index 000000000..2f0d3beeb --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/timeouts/page_load_timeouts_tests.py @@ -0,0 +1,26 @@ +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test +from selenium.common import exceptions + + +class PageLoadTimeoutTest(base_test.WebDriverBaseTest): + def test_should_timeout_on_page_load_taking_too_long(self): + self.driver.set_page_load_timeout(0.01) + with self.assertRaises(exceptions.TimeoutException): + self.load_page() + + def test_should_not_timeout_on_page_load(self): + self.driver.set_page_load_timeout(30) + self.load_page() + pass + + def load_page(self): + self.driver.get(self.webserver.where_is('timeouts/res/page_load_timeouts_tests.html')) + + +if __name__ == "__main__": + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/timeouts/res/implicit_waits_tests.html b/testing/web-platform/tests/old-tests/webdriver/timeouts/res/implicit_waits_tests.html new file mode 100644 index 000000000..ce39877fa --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/timeouts/res/implicit_waits_tests.html @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/timeouts/res/page_load_timeouts_tests.html b/testing/web-platform/tests/old-tests/webdriver/timeouts/res/page_load_timeouts_tests.html new file mode 100644 index 000000000..555e19b70 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/timeouts/res/page_load_timeouts_tests.html @@ -0,0 +1,12 @@ + + + + Hello WebDriver + + +

    Page Load Timeouts Test

    +
    + Say Cheese +
    + + diff --git a/testing/web-platform/tests/old-tests/webdriver/user_input/__init__.py b/testing/web-platform/tests/old-tests/webdriver/user_input/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/testing/web-platform/tests/old-tests/webdriver/user_input/clear_test.py b/testing/web-platform/tests/old-tests/webdriver/user_input/clear_test.py new file mode 100644 index 000000000..34e82e159 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/user_input/clear_test.py @@ -0,0 +1,53 @@ +# -*- mode: python; fill-column: 100; comment-column: 100; -*- + +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test +from selenium.common import exceptions + + +class ElementClearTest(base_test.WebDriverBaseTest): + def test_writable_text_input_element_should_clear(self): + self.driver.get(self.webserver.where_is("user_input/res/element_clear_writable_input_page.html")) + e = self.driver.find_element_by_css_selector("#writableTextInput") + e.clear() + self.assertEquals("", e.get_attribute("value")) + + def test_disabled_text_input_element_should_not_clear(self): + self.driver.get(self.webserver.where_is("user_input/res/element_clear_disabled_input_page.html")) + e = self.driver.find_element_by_css_selector("#disabledTextInput") + self.assertRaises(exceptions.InvalidElementStateException, lambda: e.clear()) + + def test_read_only_text_input_element_should_not_clear(self): + self.driver.get(self.webserver.where_is("user_input/res/element_clear_readonly_input_page.html")) + e = self.driver.find_element_by_css_selector("#readOnlyTextInput") + self.assertRaises(exceptions.InvalidElementStateException, lambda: e.clear()) + + def test_writable_text_area_element_should_clear(self): + self.driver.get(self.webserver.where_is("user_input/res/element_clear_writable_textarea_page.html")) + e = self.driver.find_element_by_css_selector("#writableTextArea") + e.clear() + self.assertEquals("", e.get_attribute("value")) + + def test_disabled_text_area_element_should_not_clear(self): + self.driver.get(self.webserver.where_is("user_input/res/element_clear_disabled_textarea_page.html")) + e = self.driver.find_element_by_css_selector("#disabledTextArea") + self.assertRaises(exceptions.InvalidElementStateException, lambda: e.clear()) + + def test_read_only_text_input_element_should_not_clear(self): + self.driver.get(self.webserver.where_is("user_input/res/element_clear_readonly_textarea_page.html")) + e = self.driver.find_element_by_css_selector("#readOnlyTextArea") + self.assertRaises(exceptions.InvalidElementStateException, lambda: e.clear()) + + def test_content_editable_area_should_clear(self): + self.driver.get(self.webserver.where_is("user_input/res/element_clear_contenteditable_page.html")) + e = self.driver.find_element_by_css_selector("#contentEditableElement") + e.clear() + self.assertEquals("", e.text) + + +if __name__ == "__main__": + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/user_input/click_test.py b/testing/web-platform/tests/old-tests/webdriver/user_input/click_test.py new file mode 100644 index 000000000..c151f9bcd --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/user_input/click_test.py @@ -0,0 +1,349 @@ +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test + +repo_root = os.path.abspath(os.path.join(__file__, "../../..")) +sys.path.insert(1, os.path.join(repo_root, "tools", "webdriver")) +from webdriver import exceptions, wait + + +class ClickTest(base_test.WebDriverBaseTest): + def setUp(self): + self.wait = wait.WebDriverWait(self.driver, 5, ignored_exceptions = [exceptions.NoSuchAlertException]) + self.driver.get(self.webserver.where_is('modal/res/alerts.html')) + + def tearDown(self): + try: + self.driver.switch_to_alert().dismiss() + except exceptions.NoSuchAlertException: + pass + + def test_click_div(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("div") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "div") + + def test_click_p(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("p") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "p") + + def test_click_h1(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("h1") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "h1") + + def test_click_pre(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("pre") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "pre") + + def test_click_ol(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("ol") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "ol") + + def test_click_ul(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("ul") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "ul") + + def test_click_a(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("a") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "a") + + def test_click_img(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("img") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "img") + + def test_click_video(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("video") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "video") + + def test_click_canvas(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("canvas") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "canvas") + + def test_click_progress(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("progress") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "progress") + + def test_click_textarea(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("textarea") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "textarea") + + def test_click_button(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("button") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "button") + + def test_click_svg(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("svg") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "svg") + + def test_click_input_range(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("input_range") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "input_range") + + def test_click_input_button(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("input_button") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "input_button") + + def test_click_input_submit(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("input_submit") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "input_submit") + + def test_click_input_reset(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("input_reset") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "input_reset") + + def test_click_input_checkbox(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("input_checkbox") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "input_checkbox") + + def test_click_input_radio(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("input_radio") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "input_radio") + + def test_click_input_text(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("input_text") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "input_text") + + def test_click_input_number(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("input_number") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "input_number") + + def test_click_input_tel(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("input_tel") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "input_tel") + + def test_click_input_url(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("input_url") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "input_url") + + def test_click_input_email(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("input_email") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "input_email") + + def test_click_input_search(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("input_search") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "input_search") + + def test_click_input_image(self): + self.driver.get(self.webserver.where_is("user_input/res/click.html")) + + element = self.driver.find_element_by_id("input_image") + element.click() + + alert = self.wait.until(lambda x: x.switch_to_alert()) + value = alert.get_text() + alert.accept() + + self.assertEquals(value, "input_image") + +if __name__ == "__main__": + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/user_input/res/click.html b/testing/web-platform/tests/old-tests/webdriver/user_input/res/click.html new file mode 100644 index 000000000..3517bfca8 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/user_input/res/click.html @@ -0,0 +1,45 @@ + + + + + + + + + +
    div
    +

    p

    +

    h1

    +
    pre
    +
      ol
    + + a + + + canvas + progress + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_contenteditable_page.html b/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_contenteditable_page.html new file mode 100644 index 000000000..2d65d3880 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_contenteditable_page.html @@ -0,0 +1,13 @@ + + + +Clear Elements Test + + + +
    +This is a contentEditable area +
    + + + diff --git a/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_disabled_input_page.html b/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_disabled_input_page.html new file mode 100644 index 000000000..b0f21235f --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_disabled_input_page.html @@ -0,0 +1,11 @@ + + + +Clear Elements Test + + + + + + + diff --git a/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_disabled_textarea_page.html b/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_disabled_textarea_page.html new file mode 100644 index 000000000..e274a0582 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_disabled_textarea_page.html @@ -0,0 +1,13 @@ + + + +Clear Elements Test + + + + + + + diff --git a/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_readonly_input_page.html b/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_readonly_input_page.html new file mode 100644 index 000000000..5d3a7ac67 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_readonly_input_page.html @@ -0,0 +1,11 @@ + + + +Clear Elements Test + + + + + + + diff --git a/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_readonly_textarea_page.html b/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_readonly_textarea_page.html new file mode 100644 index 000000000..d11241e86 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_readonly_textarea_page.html @@ -0,0 +1,13 @@ + + + +Clear Elements Test + + + + + + + diff --git a/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_writable_input_page.html b/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_writable_input_page.html new file mode 100644 index 000000000..448cd37df --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_writable_input_page.html @@ -0,0 +1,11 @@ + + + +Clear Elements Test + + + + + + + diff --git a/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_writable_textarea_page.html b/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_writable_textarea_page.html new file mode 100644 index 000000000..d16657aa5 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/user_input/res/element_clear_writable_textarea_page.html @@ -0,0 +1,13 @@ + + + +Clear Elements Test + + + + + + + diff --git a/testing/web-platform/tests/old-tests/webdriver/user_input/res/text-form-landing.html b/testing/web-platform/tests/old-tests/webdriver/user_input/res/text-form-landing.html new file mode 100644 index 000000000..345e60e04 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/user_input/res/text-form-landing.html @@ -0,0 +1,8 @@ + + + + Text Form Landing + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/user_input/res/text-form.html b/testing/web-platform/tests/old-tests/webdriver/user_input/res/text-form.html new file mode 100644 index 000000000..d99ec899d --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/user_input/res/text-form.html @@ -0,0 +1,25 @@ + + + Text Form + + + + +

    +
    + + + + +
    + + \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/user_input/sendkeys_test.py b/testing/web-platform/tests/old-tests/webdriver/user_input/sendkeys_test.py new file mode 100644 index 000000000..d2edcbabd --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/user_input/sendkeys_test.py @@ -0,0 +1,96 @@ +import os +import sys +import random +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test + +repo_root = os.path.abspath(os.path.join(__file__, "../../..")) +sys.path.insert(1, os.path.join(repo_root, "tools", "webdriver")) +from webdriver import exceptions + + +class SendKeysTest(base_test.WebDriverBaseTest): + def setUp(self): + self.driver.get(self.webserver.where_is("user_input/res/text-form.html")) + + def test_send_simple_string(self): + element = self.driver.find_element_by_id("Text1") + element.send_keys("lorem ipsum") + + self.assertEquals(self.driver.find_element_by_id("text").get_text(), u"lorem ipsum") + + def test_send_return(self): + element = self.driver.find_element_by_id("Text1") + returnkey = unichr(int("E006", 16)) + element.send_keys([returnkey]) + + self.assertEquals(u"" + self.driver.get_current_url(), u"" + self.webserver.where_is("user_input/res/text-form-landing.html?e=mc2")) + + def test_send_backspace(self): + element = self.driver.find_element_by_id("Text1") + element.send_keys("world ") + element.send_keys("wide ") + element.send_keys("web ") + element.send_keys("consortium") + + backspace= unichr(int("E003", 16)) + for i in range(0, 11): + element.send_keys([backspace]) + + self.assertEquals(self.driver.find_element_by_id("text").get_text(), u"world wide web") + + def test_send_tab(self): + element1 = self.driver.find_element_by_id("Text1") + element2 = self.driver.find_element_by_id("Text2") + element1.send_keys("typing here") + + tab= unichr(int("E004", 16)) + element1.send_keys([tab]) + + output = self.driver.find_element_by_id("output") + tab_pressed = output.get_attribute("checked") + self.assertEquals(tab_pressed, u"true") + + def test_send_shift(self): + element = self.driver.find_element_by_id("Text1") + element.send_keys("low ") + + shift= unichr(int("E008", 16)) + element.send_keys([shift , "u", "p", shift]) + + self.assertEquals(self.driver.find_element_by_id("text").get_text(), u"low UP") + + def test_send_arrow_keys(self): + element = self.driver.find_element_by_id("Text1") + + element.send_keys("internet") + + backspace= unichr(int("E003", 16)) + left= unichr(int("E012", 16)) + right= unichr(int("E014", 16)) + for i in range(0, 4): + element.send_keys([left]) + + element.send_keys([backspace]) + element.send_keys([right]) + element.send_keys("a") + + self.assertEquals(self.driver.find_element_by_id("text").get_text(), u"intranet") + + def test_select_text_with_shift(self): + element = self.driver.find_element_by_id("Text1") + + element.send_keys("WebDriver") + backspace= unichr(int("E003", 16)) + shift= unichr(int("E008", 16)) + left= unichr(int("E012", 16)) + + element.send_keys([shift, left, left, left, left, left, left, backspace]) + + self.assertEquals(self.driver.find_element_by_id("text").get_text(), u"Web") + + +if __name__ == "__main__": + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/webdriver.cfg b/testing/web-platform/tests/old-tests/webdriver/webdriver.cfg new file mode 100644 index 000000000..cb74f56ce --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/webdriver.cfg @@ -0,0 +1,35 @@ +# to add more browsers specify a [section header] with the name +# the 'browser' is currently required +# url and capabilities are optional +# url is the 'command_executor' argument passed in to the 'browser' class +# capabilities is the 'desired_capabilities' argument. + +[firefox] +capabilities: {"browserName": "firefox"} +mode: compatibility + +[selendroid] +capabilities: {"platform": "ANDROID", "browserName": "android"} +mode: compatibility + +[chrome] +url: http://localhost:9515 +capabilities: {"browserName": "chrome"} +mode: compatibility + +[ie] +capabilities: {"browserName": "ie"} +mode: compatibility + +[edge] +capabilities: {"browserName": "edge"} +mode: compatibility + +[ios-driver] +capabilities: {"browserName": "iphone"} +mode: compatibility + +[blackberry] +url: http://169.254.0.1:1338 +capabilities: {"browserName": "blackberry"} +mode: compatibility diff --git a/testing/web-platform/tests/old-tests/webdriver/windows/__init__.py b/testing/web-platform/tests/old-tests/webdriver/windows/__init__.py new file mode 100644 index 000000000..0c8107beb --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/windows/__init__.py @@ -0,0 +1 @@ +__author__ = 'b-redeg' diff --git a/testing/web-platform/tests/old-tests/webdriver/windows/res/win1.html b/testing/web-platform/tests/old-tests/webdriver/windows/res/win1.html new file mode 100644 index 000000000..b8bf7e80b --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/windows/res/win1.html @@ -0,0 +1,5 @@ + + +window one + +
    win2
    \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/windows/res/win2.html b/testing/web-platform/tests/old-tests/webdriver/windows/res/win2.html new file mode 100644 index 000000000..81a068fa8 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/windows/res/win2.html @@ -0,0 +1,5 @@ + + +window two + +  \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/windows/res/win3.html b/testing/web-platform/tests/old-tests/webdriver/windows/res/win3.html new file mode 100644 index 000000000..d3ee6944b --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/windows/res/win3.html @@ -0,0 +1,5 @@ + + +window three + +  \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/windows/res/win4.html b/testing/web-platform/tests/old-tests/webdriver/windows/res/win4.html new file mode 100644 index 000000000..ef35f7617 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/windows/res/win4.html @@ -0,0 +1,5 @@ + + +window four + +  \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/windows/res/win5.html b/testing/web-platform/tests/old-tests/webdriver/windows/res/win5.html new file mode 100644 index 000000000..673d2a19a --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/windows/res/win5.html @@ -0,0 +1,5 @@ + + +window five + +  \ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/webdriver/windows/tabbing.py b/testing/web-platform/tests/old-tests/webdriver/windows/tabbing.py new file mode 100644 index 000000000..a6b5f99bf --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/windows/tabbing.py @@ -0,0 +1,30 @@ +# -*- mode: python; fill-column: 100; comment-column: 100; -*- + +import os +import sys +import unittest +import time + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test +from selenium.common import exceptions +from selenium.webdriver.common.keys import Keys +from selenium.webdriver.common.action_chains import ActionChains + + +class tabbingTest(base_test.WebDriverBaseTest): + def test_open_close_tab(self): + self.driver.get(self.webserver.where_is("windows/res/win1.html")) + self.driver.find_element_by_tag_name("div").click() + h = self.driver.window_handles + self.assertEquals(2, len(h)) + self.driver.switch_to.window(h[1]) + try: + self.driver.switch_to.window("does not exist") + self.fail("NoSuchWindowException expected") + except exceptions.NoSuchWindowException: + pass + self.driver.close() + +if __name__ == "__main__": + unittest.main() diff --git a/testing/web-platform/tests/old-tests/webdriver/windows/window_manipulation.py b/testing/web-platform/tests/old-tests/webdriver/windows/window_manipulation.py new file mode 100644 index 000000000..027716727 --- /dev/null +++ b/testing/web-platform/tests/old-tests/webdriver/windows/window_manipulation.py @@ -0,0 +1,43 @@ +# -*- mode: python; fill-column: 100; comment-column: 100; -*- + +import os +import sys +import unittest + +sys.path.insert(1, os.path.abspath(os.path.join(__file__, "../.."))) +import base_test +from selenium.common import exceptions + + +class WindowingTest(base_test.WebDriverBaseTest): + def test_maximize(self): + #self.driver.get(self.webserver.where_is("windows/res/win1.html")) + self.driver.maximize_window() + + def test_window_size_manipulation(self): + #self.driver.get(self.webserver.where_is("windows/res/win1.html")) + self.driver.set_window_size(400, 400) + window_size = self.driver.get_window_size() + self.assertTrue("width" in window_size) + self.assertTrue("height" in window_size) + self.assertEquals({"width": 400, "height":400}, window_size) + + """ + todo: make that work + see: https://w3c.github.io/webdriver/webdriver-spec.html#setwindowsize + result = self.driver.set_window_size(100, 100) + self.assertTrue("status" in result) + self.assertEquals(result["status"], 500) + """ + + def test_window_position_manipulation(self): + #self.driver.get(self.webserver.where_is("windows/res/win1.html")) + self.driver.set_window_position(400, 400) + window_position = self.driver.get_window_position() + self.assertTrue("x" in window_position) + self.assertTrue("y" in window_position) + self.assertEquals({"x": 400, "y": 400}, window_position) + + +if __name__ == "__main__": + unittest.main() -- cgit v1.2.3