Changeset 284818 in webkit


Ignore:
Timestamp:
Oct 25, 2021, 1:15:02 PM (4 years ago)
Author:
Chris Dumez
Message:

imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/form-submission-algorithm.html is timing out
https://bugs.webkit.org/show_bug.cgi?id=232117

Reviewed by Alex Christensen.

LayoutTests/imported/w3c:

Merge https://github.com/web-platform-tests/wpt/pull/31359 from upstream WPT to address the timeout and
rebaseline the test now that it is fully passing.

  • web-platform-tests/html/semantics/forms/form-submission-0/form-submission-algorithm-expected.txt:
  • web-platform-tests/html/semantics/forms/form-submission-0/resources/targetted-form.js:

(populateForm):

LayoutTests:

Unskip test that no longer times out.

Location:
trunk/LayoutTests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r284817 r284818  
     12021-10-25  Chris Dumez  <cdumez@apple.com>
     2
     3        imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/form-submission-algorithm.html is timing out
     4        https://bugs.webkit.org/show_bug.cgi?id=232117
     5
     6        Reviewed by Alex Christensen.
     7
     8        Unskip test that no longer times out.
     9
     10        * TestExpectations:
     11
    1122021-10-25  Chris Dumez  <cdumez@apple.com>
    213
  • trunk/LayoutTests/TestExpectations

    r284817 r284818  
    609609imported/w3c/web-platform-tests/webmessaging/broadcastchannel/origin.window.html [ Skip ]
    610610imported/w3c/web-platform-tests/html/semantics/document-metadata/the-style-element/style-error-01.html [ Skip ]
    611 webkit.org/b/232117 imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/form-submission-algorithm.html [ Skip ]
    612611imported/w3c/web-platform-tests/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_access_details.sub.html [ Skip ]
    613612imported/w3c/web-platform-tests/html/browsers/sandboxing/sandbox-disallow-scripts-via-unsandboxed-popup.tentative.html [ Skip ]
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r284816 r284818  
     12021-10-25  Chris Dumez  <cdumez@apple.com>
     2
     3        imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/form-submission-algorithm.html is timing out
     4        https://bugs.webkit.org/show_bug.cgi?id=232117
     5
     6        Reviewed by Alex Christensen.
     7
     8        Merge https://github.com/web-platform-tests/wpt/pull/31359 from upstream WPT to address the timeout and
     9        rebaseline the test now that it is fully passing.
     10
     11        * web-platform-tests/html/semantics/forms/form-submission-0/form-submission-algorithm-expected.txt:
     12        * web-platform-tests/html/semantics/forms/form-submission-0/resources/targetted-form.js:
     13        (populateForm):
     14
    1152021-10-25  Alex Christensen  <achristensen@webkit.org>
    216
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/form-submission-algorithm-expected.txt

    r267646 r284818  
    77
    88
    9 Harness Error (TIMEOUT), message = null
    109
    11 FAIL If constructing entry list flag of form is true, then return assert_equals: expected 1 but got 0
     10
     11
     12PASS If constructing entry list flag of form is true, then return
    1213PASS If firing submission events flag of form is true, then return
    1314PASS If form's firing submission events is true, then return; 'invalid' event
    1415PASS If form's firing submission events is true, then return; 'submit' event
    15 TIMEOUT firing an event named submit; clicking a submit button Test timed out
    16 NOTRUN firing an event named submit; form.requestSubmit()
    17 NOTRUN firing an event named submit; form.requestSubmit(null)
    18 NOTRUN firing an event named submit; form.requestSubmit(submitter)
     16PASS firing an event named submit; clicking a submit button
     17PASS firing an event named submit; form.requestSubmit()
     18PASS firing an event named submit; form.requestSubmit(null)
     19PASS firing an event named submit; form.requestSubmit(submitter)
    1920PASS Cannot navigate (after constructing the entry list)
     21PASS Submission URL should always have a non-null query part
    2022
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/resources/targetted-form.js

    r253791 r284818  
    44  if (!optionalContentHtml)
    55    optionalContentHtml = '';
     6  const frameName = "form-test-target-" + frameCounter++;
    67  document.body.insertAdjacentHTML(
    78      'afterbegin',
    8       `<iframe name="form-test-target-${frameCounter}"></iframe>` +
     9      `<iframe name="${frameName}"></iframe>` +
    910          `<form action="/common/blank.html" target="` +
    10           `form-test-target-${frameCounter}">${optionalContentHtml}</form>`);
    11   ++frameCounter;
    12   return document.body.firstChild.nextSibling;
     11          `${frameName}">${optionalContentHtml}</form>`);
     12  return document.getElementsByName(frameName)[0].nextSibling;
    1313}
    1414
Note: See TracChangeset for help on using the changeset viewer.