Closed Bug 1516063 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 14637 - html, xhr: Add tests for 'formdata' event

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 14637 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/14637
Details from upstream follow.

Kent Tamura <tkent@chromium.org> wrote:
>  html, xhr: Add tests for 'formdata' event
>  
>  This fixes a part of https://github.com/w3c/webcomponents/issues/187
>  
>  HTML specification PR: https://github.com/whatwg/html/pull/4239
>  XHR specification PR: https://github.com/whatwg/xhr/pull/231
>
Component: web-platform-tests → DOM
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 135 tests and 18320 subtests
OK     : 135
PASS   : 14865[linux32-debug], 14972[linux32-opt,linux64-debug,linux64-opt]
FAIL   : 3348[linux32-opt,linux64-debug,linux64-opt], 3455[linux32-debug]

Existing tests that now have a worse result (e.g. they used to PASS and now FAIL):
/payment-request/idlharness.https.window.html
    MerchantValidationEvent interface object length: FAIL[linux32-debug]
    MerchantValidationEvent interface object name: FAIL[linux32-debug]
    MerchantValidationEvent interface: attribute methodName: FAIL[linux32-debug]
    MerchantValidationEvent interface: attribute validationURL: FAIL[linux32-debug]
    MerchantValidationEvent interface: calling complete([object Object]) on new MerchantValidationEvent("merchantvalidation") with too few arguments must throw TypeError: FAIL[linux32-debug]
    MerchantValidationEvent interface: existence and properties of interface object: FAIL[linux32-debug]
    MerchantValidationEvent interface: existence and properties of interface prototype object: FAIL[linux32-debug]
    MerchantValidationEvent interface: existence and properties of interface prototype object's "constructor" property: FAIL[linux32-debug]
    MerchantValidationEvent interface: existence and properties of interface prototype object's @@unscopables property: FAIL[linux32-debug]
    MerchantValidationEvent interface: new MerchantValidationEvent("merchantvalidation") must inherit property "complete([object Object])" with the proper type: FAIL[linux32-debug]
    MerchantValidationEvent interface: new MerchantValidationEvent("merchantvalidation") must inherit property "methodName" with the proper type: FAIL[linux32-debug]
    MerchantValidationEvent interface: new MerchantValidationEvent("merchantvalidation") must inherit property "validationURL" with the proper type: FAIL[linux32-debug]
    MerchantValidationEvent interface: operation complete([object Object]): FAIL[linux32-debug]
    MerchantValidationEvent must be primary interface of new MerchantValidationEvent("merchantvalidation"): FAIL[linux32-debug]
    PaymentAddress interface object length: FAIL[linux32-debug]
    PaymentAddress interface object name: FAIL[linux32-debug]
    PaymentAddress interface: attribute addressLine: FAIL[linux32-debug]
    PaymentAddress interface: attribute city: FAIL[linux32-debug]
    PaymentAddress interface: attribute country: FAIL[linux32-debug]
    PaymentAddress interface: attribute dependentLocality: FAIL[linux32-debug]
    PaymentAddress interface: attribute organization: FAIL[linux32-debug]
    PaymentAddress interface: attribute phone: FAIL[linux32-debug]
    PaymentAddress interface: attribute postalCode: FAIL[linux32-debug]
    PaymentAddress interface: attribute recipient: FAIL[linux32-debug]
    PaymentAddress interface: attribute region: FAIL[linux32-debug]
    PaymentAddress interface: attribute regionCode: FAIL[linux32-debug]
    PaymentAddress interface: attribute sortingCode: FAIL[linux32-debug]
    PaymentAddress interface: existence and properties of interface object: FAIL[linux32-debug]
    PaymentAddress interface: existence and properties of interface prototype object: FAIL[linux32-debug]
    PaymentAddress interface: existence and properties of interface prototype object's "constructor" property: FAIL[linux32-debug]
    PaymentAddress interface: existence and properties of interface prototype object's @@unscopables property: FAIL[linux32-debug]
    PaymentAddress interface: operation toJSON(): FAIL[linux32-debug]
    PaymentMethodChangeEvent interface object length: FAIL[linux32-debug]
    PaymentMethodChangeEvent interface object name: FAIL[linux32-debug]
    PaymentMethodChangeEvent interface: attribute methodDetails: FAIL[linux32-debug]
    PaymentMethodChangeEvent interface: attribute methodName: FAIL[linux32-debug]
    PaymentMethodChangeEvent interface: existence and properties of interface object: FAIL[linux32-debug]
    PaymentMethodChangeEvent interface: existence and properties of interface prototype object: FAIL[linux32-debug]
    PaymentMethodChangeEvent interface: existence and properties of interface prototype object's "constructor" property: FAIL[linux32-debug]
    PaymentMethodChangeEvent interface: existence and properties of interface prototype object's @@unscopables property: FAIL[linux32-debug]
    PaymentMethodChangeEvent interface: new PaymentMethodChangeEvent("paymentmethodchange") must inherit property "methodDetails" with the proper type: FAIL[linux32-debug]
    PaymentMethodChangeEvent interface: new PaymentMethodChangeEvent("paymentmethodchange") must inherit property "methodName" with the proper type: FAIL[linux32-debug]
    PaymentMethodChangeEvent must be primary interface of new PaymentMethodChangeEvent("paymentmethodchange"): FAIL[linux32-debug]
    PaymentRequest interface object length: FAIL[linux32-debug]
    PaymentRequest interface object name: FAIL[linux32-debug]
    PaymentRequest interface: attribute id: FAIL[linux32-debug]
    PaymentRequest interface: attribute onmerchantvalidation: FAIL[linux32-debug]
    PaymentRequest interface: attribute onpaymentmethodchange: FAIL[linux32-debug]
    PaymentRequest interface: attribute onshippingaddresschange: FAIL[linux32-debug]
    PaymentRequest interface: attribute onshippingoptionchange: FAIL[linux32-debug]
    PaymentRequest interface: attribute shippingAddress: FAIL[linux32-debug]
    PaymentRequest interface: attribute shippingOption: FAIL[linux32-debug]
    PaymentRequest interface: attribute shippingType: FAIL[linux32-debug]
    PaymentRequest interface: calling show([object Object]) on paymentRequest with too few arguments must throw TypeError: FAIL[linux32-debug]
    PaymentRequest interface: existence and properties of interface object: FAIL[linux32-debug]
    PaymentRequest interface: existence and properties of interface prototype object: FAIL[linux32-debug]
    PaymentRequest interface: existence and properties of interface prototype object's "constructor" property: FAIL[linux32-debug]
    PaymentRequest interface: existence and properties of interface prototype object's @@unscopables property: FAIL[linux32-debug]
    PaymentRequest interface: operation abort(): FAIL[linux32-debug]
    PaymentRequest interface: operation canMakePayment(): FAIL[linux32-debug]
    PaymentRequest interface: operation show([object Object]): FAIL[linux32-debug]
    PaymentRequest interface: paymentRequest must inherit property "abort()" with the proper type: FAIL[linux32-debug]
    PaymentRequest interface: paymentRequest must inherit property "canMakePayment()" with the proper type: FAIL[linux32-debug]
    PaymentRequest interface: paymentRequest must inherit property "id" with the proper type: FAIL[linux32-debug]
    PaymentRequest interface: paymentRequest must inherit property "onmerchantvalidation" with the proper type: FAIL[linux32-debug]
    PaymentRequest interface: paymentRequest must inherit property "onpaymentmethodchange" with the proper type: FAIL[linux32-debug]
    PaymentRequest interface: paymentRequest must inherit property "onshippingaddresschange" with the proper type: FAIL[linux32-debug]
    PaymentRequest interface: paymentRequest must inherit property "onshippingoptionchange" with the proper type: FAIL[linux32-debug]
    PaymentRequest interface: paymentRequest must inherit property "shippingAddress" with the proper type: FAIL[linux32-debug]
    PaymentRequest interface: paymentRequest must inherit property "shippingOption" with the proper type: FAIL[linux32-debug]
    PaymentRequest interface: paymentRequest must inherit property "shippingType" with the proper type: FAIL[linux32-debug]
    PaymentRequest interface: paymentRequest must inherit property "show([object Object])" with the proper type: FAIL[linux32-debug]
    PaymentRequest must be primary interface of paymentRequest: FAIL[linux32-debug]
    PaymentRequestUpdateEvent interface object length: FAIL[linux32-debug]
    PaymentRequestUpdateEvent interface object name: FAIL[linux32-debug]
    PaymentRequestUpdateEvent interface: calling updateWith([object Object]) on new PaymentMethodChangeEvent("paymentmethodchange") with too few arguments must throw TypeError: FAIL[linux32-debug]
    PaymentRequestUpdateEvent interface: calling updateWith([object Object]) on new PaymentRequestUpdateEvent("paymentrequestupdate") with too few arguments must throw TypeError: FAIL[linux32-debug]
    PaymentRequestUpdateEvent interface: existence and properties of interface object: FAIL[linux32-debug]
    PaymentRequestUpdateEvent interface: existence and properties of interface prototype object: FAIL[linux32-debug]
    PaymentRequestUpdateEvent interface: existence and properties of interface prototype object's "constructor" property: FAIL[linux32-debug]
    PaymentRequestUpdateEvent interface: existence and properties of interface prototype object's @@unscopables property: FAIL[linux32-debug]
    PaymentRequestUpdateEvent interface: new PaymentMethodChangeEvent("paymentmethodchange") must inherit property "updateWith([object Object])" with the proper type: FAIL[linux32-debug]
    PaymentRequestUpdateEvent interface: new PaymentRequestUpdateEvent("paymentrequestupdate") must inherit property "updateWith([object Object])" with the proper type: FAIL[linux32-debug]
    PaymentRequestUpdateEvent interface: operation updateWith([object Object]): FAIL[linux32-debug]
    PaymentRequestUpdateEvent must be primary interface of new PaymentRequestUpdateEvent("paymentrequestupdate"): FAIL[linux32-debug]
    PaymentResponse interface object length: FAIL[linux32-debug]
    PaymentResponse interface object name: FAIL[linux32-debug]
    PaymentResponse interface: attribute details: FAIL[linux32-debug]
    PaymentResponse interface: attribute methodName: FAIL[linux32-debug]
    PaymentResponse interface: attribute onpayerdetailchange: FAIL[linux32-debug]
    PaymentResponse interface: attribute payerEmail: FAIL[linux32-debug]
    PaymentResponse interface: attribute payerName: FAIL[linux32-debug]
    PaymentResponse interface: attribute payerPhone: FAIL[linux32-debug]
    PaymentResponse interface: attribute requestId: FAIL[linux32-debug]
    PaymentResponse interface: attribute shippingAddress: FAIL[linux32-debug]
    PaymentResponse interface: attribute shippingOption: FAIL[linux32-debug]
    PaymentResponse interface: existence and properties of interface object: FAIL[linux32-debug]
    PaymentResponse interface: existence and properties of interface prototype object: FAIL[linux32-debug]
    PaymentResponse interface: existence and properties of interface prototype object's "constructor" property: FAIL[linux32-debug]
    PaymentResponse interface: existence and properties of interface prototype object's @@unscopables property: FAIL[linux32-debug]
    PaymentResponse interface: operation complete(PaymentComplete): FAIL[linux32-debug]
    PaymentResponse interface: operation retry(PaymentValidationErrors): FAIL[linux32-debug]
    PaymentResponse interface: operation toJSON(): FAIL[linux32-debug]
    Stringification of new MerchantValidationEvent("merchantvalidation"): FAIL[linux32-debug]
    Stringification of new PaymentMethodChangeEvent("paymentmethodchange"): FAIL[linux32-debug]
    Stringification of new PaymentRequestUpdateEvent("paymentrequestupdate"): FAIL[linux32-debug]
    Stringification of paymentRequest: FAIL[linux32-debug]

New tests that have failures or other problems:
/html/dom/interfaces.https.html?exclude=(Document|Window|HTML.*)
    FormDataEvent interface object length: FAIL
    FormDataEvent interface object name: FAIL
    FormDataEvent interface: attribute formData: FAIL
    FormDataEvent interface: existence and properties of interface object: FAIL
    FormDataEvent interface: existence and properties of interface prototype object: FAIL
    FormDataEvent interface: existence and properties of interface prototype object's "constructor" property: FAIL
    FormDataEvent interface: existence and properties of interface prototype object's @@unscopables property: FAIL
    FormDataEvent interface: new FormDataEvent("formdata", { formData: new FormData() }) must inherit property "formData" with the proper type: FAIL
    FormDataEvent must be primary interface of new FormDataEvent("formdata", { formData: new FormData() }): FAIL
    Stringification of new FormDataEvent("formdata", { formData: new FormData() }): FAIL
/html/dom/interfaces.https.html?include=(Document|Window)
    Document interface: attribute onformdata: FAIL
    Document interface: iframe.contentDocument must inherit property "onformdata" with the proper type: FAIL
    Document interface: new Document() must inherit property "onformdata" with the proper type: FAIL
    Window interface: attribute onformdata: FAIL
    Window interface: window must inherit property "onformdata" with the proper type: FAIL
/html/dom/interfaces.https.html?include=HTML.*
    HTMLElement interface: attribute onformdata: FAIL
    HTMLElement interface: document.createElement("noscript") must inherit property "onformdata" with the proper type: FAIL
/html/semantics/forms/form-submission-0/FormDataEvent.window.html
    Failing FormDataEvent constructor: FAIL
    Successful FormDataEvent constructor: FAIL
/html/semantics/forms/form-submission-0/constructing-form-data-set.html
    "formData" IDL attribute should have entries for form-associated elements in the first event handler, and the second handler can read entries set by the first handler.: FAIL
    "formdata" event bubbles in an orphan tree.: FAIL
    "formdata" event bubbles, and is not cancelable.: FAIL
    Entries added to "formData" IDL attribute should be submitted.: FAIL
/html/semantics/forms/form-submission-0/form-submission-algorithm.html
    Cannot navigate (after constructing the entry list): FAIL
    If constructing entry list flag of form is true, then return: FAIL
/html/webappapis/scripting/events/event-handler-all-global-events.html
    onformdata: must be on the appropriate locations for GlobalEventHandlers: FAIL
    onformdata: the content attribute must be compiled into a function as the corresponding property: FAIL
    onformdata: the content attribute must execute when an event is dispatched: FAIL
    onformdata: the default value must be null: FAIL
/xhr/formdata.htm
    Newly created FormData contains entries added to "formData" IDL attribute of FormDataEvent.: FAIL
    |new FormData()| in formdata event handler should throw: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c71f7d3fa10b
[wpt PR 14637] - html, xhr: Add tests for 'formdata' event, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/c59d59116511
[wpt PR 14637] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c0fe813241a5
[wpt PR 14637] - html, xhr: Add tests for 'formdata' event, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/626647d4f6ee
[wpt PR 14637] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.