Closed Bug 1632873 Opened 4 years ago Closed 4 years ago

html/user-activation/* tests are almost all expected TIMEOUT or Fail

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: jmaher, Assigned: jmaher)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

In web-platform-tests, there are 9 of 12 tests which are expected TIMEOUT or fail. Most of these are found with origin in the filename.

https://searchfox.org/mozilla-central/source/testing/web-platform/meta/html/user-activation

locally on windows10, I verified a failure running:
./mach wpt testing/web-platform/tests//html/user-activation/consumption-sameorigin.tentative.html

and saw this in the ./mach console:
0:55.97 TEST_START: /html/user-activation/consumption-sameorigin.tentative.html
0:56.58 pid:24176 JavaScript error: http://web-platform.test:8000/html/user-activation/resources/child-one.html, line 6: TypeError: can't access property "isActive", navigator.userActivation is undefined
0:56.59 pid:24176 JavaScript error: http://web-platform.test:8000/html/user-activation/resources/consumption-sameorigin-child.html, line 7: TypeError: can't access property "isActive", navigator.userActivation is undefined
0:56.67 pid:24176 JavaScript error: http://web-platform.test:8000/html/user-activation/resources/child-two.html, line 6: TypeError: can't access property "isActive", navigator.userActivation is undefined
1:06.55 TEST_END: Test TIMEOUT. Subtests passed 0/8. Unexpected 0

I am thinking we don't support userActivation?

:hsinyi, can you find someone to look at these tests and determine if there is anything we can do to get them passing or indicate if this is not supported?

Flags: needinfo?(htsai)

Edgar can help answer the question and suggest the next step. :)

Flags: needinfo?(htsai) → needinfo?(echen)

We don't support navigator.userActivation, the API is not defined in spec yet, see bug 1591902 and https://github.com/whatwg/html/pull/4009.

Blocks: 1577516
Depends on: 1591902
Flags: needinfo?(echen)

Sounds like this should be implementation-status: backlog unless we have a standards-position that the proposal is harmful.

As Edgar mentioned, the API isn't even in the spec and the tests are tentative.

Priority: -- → P5
Assignee: nobody → jmaher
Pushed by jmaher@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4ce2f172f0d2
mark wpt html/user-activation/ tests as backlog. r=jgraham
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: