Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOM: Implement async iterable conversion support for Observables #48214

Merged
merged 1 commit into from
Sep 17, 2024

DOM: Implement async iterable conversion support for Observables

269cd4a
Select commit
Loading
Failed to load commit list.
Merged

DOM: Implement async iterable conversion support for Observables #48214

DOM: Implement async iterable conversion support for Observables
269cd4a
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-firefox-nightly-results succeeded Sep 17, 2024 in 7m 59s

Community-TC (pull_request)

Collect results for all tests affected by a pull request in firefox.

Details

View task in Taskcluster
View logs in Taskcluster

WPT Command: python3 ./wpt run --channel=nightly --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected base_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --binary=/home/test/build/firefox/firefox firefox


@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:99:5
  FAIL from(): [Symbol.iterator] not callable - assert_true: expected true got false
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:151:14
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:138:5
  FAIL from(): [Symbol.iterator] is not cached - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:196:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:157:5
  FAIL from(): [Symbol.iterator] side-effects (many observables) - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:252:16
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:224:5
  FAIL from(): [Symbol.iterator] next() throws error - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:324:3
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:311:5
  FAIL from(): Converts Promise to Observable - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Converts rejected Promise to Observable. No `unhandledrejection` event when error is handled by subscription - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Rejections not handled by subscription are reported to the global, and still not sent as an unhandledrejection event - assert_not_equals: Error was reported to the global got disallowed value null
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:418:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:738:36
promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:737:20
  FAIL from(): Observable that implements @@iterator protocol gets converted as an Observable, not iterator - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:431:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:429:5
  FAIL from(): Promise that implements @@iterator protocol gets converted as an iterable, not Promise - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:474:3
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:454:5
  FAIL from(): Promise whose [Symbol.iterator] returns null converts as Promise - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Rethrows the error when Converting an object whose @@iterator method *getter* throws an error - assert_equals: expected object "Error: thrown from @@iterator getter" but got object "ReferenceError: Observable is not defined"
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:518:18
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:506:5
  FAIL from(): Throws 'callable' error when @@iterator property is a non-callable primitive - assert_true: expected true got false
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:534:16
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:523:5
  FAIL from(): Async iterable protocol null, converts as iterator - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:562:18
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:545:5
  FAIL from(): Asynchronous iterable conversion - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Asynchronous iterable multiple in-flight subscriptions competing - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Asynchronous generator conversion: can only be used once - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Promise-wrapping semantics of IteratorResult interface - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Errors thrown in Symbol.asyncIterator() are propagated synchronously - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:768:3
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:758:5
  FAIL from(): Errors thrown in async iterator's next() GETTER are propagated in a microtask - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Errors thrown in async iterator's next() are propagated in a microtask - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Aborting sync iterable midway through iteration both stops iteration and invokes `IteratorRecord#return() - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:848:3
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:827:5
  FAIL from(): Asynchronous iterable conversion, with synchronous iterable fallback - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Generator finally block runs when subscription is aborted - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:963:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:949:5
  FAIL from(): Generator finally block run when Observable completes - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:993:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:977:5
  FAIL from(): Generator finally block run when Observable errors - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:1018:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:1003:5
  FAIL from(): Async generator finally block run when subscription is aborted - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Async generator finally block runs when Observable completes - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Async generator finally block run when Observable errors - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
/dom/observable/tentative/observable-from.any.worker.html
  FAIL from(): Observable.from() is a function - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:5:17
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:4:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): Failed conversions - assert_throws_js: Number cannot convert to an Observable function "() => Observable.from(10)" threw object "ReferenceError: Observable is not defined" ("ReferenceError") expected instance of function "function TypeError() {
    [native code]
}" ("TypeError")
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:10:19
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:9:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): Given an observable, it returns that exact observable - target.when is not a function
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:26:29
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:24:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): Given an array - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:35:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:31:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): Iterable converts to Observable - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:62:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:46:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): [Symbol.iterator] side-effects (one observable) - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:120:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:99:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): [Symbol.iterator] not callable - assert_true: expected true got false
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:151:14
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:138:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): [Symbol.iterator] is not cached - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:196:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:157:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): [Symbol.iterator] side-effects (many observables) - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:252:16
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:224:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): [Symbol.iterator] next() throws error - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:324:3
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:311:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): Converts Promise to Observable - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Converts rejected Promise to Observable. No `unhandledrejection` event when error is handled by subscription - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Rejections not handled by subscription are reported to the global, and still not sent as an unhandledrejection event - assert_not_equals: Error was reported to the global got disallowed value null
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:418:20
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:738:36
promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:737:20
  FAIL from(): Observable that implements @@iterator protocol gets converted as an Observable, not iterator - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:431:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:429:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): Promise that implements @@iterator protocol gets converted as an iterable, not Promise - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:474:3
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:454:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): Promise whose [Symbol.iterator] returns null converts as Promise - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Rethrows the error when Converting an object whose @@iterator method *getter* throws an error - assert_equals: expected object "Error: thrown from @@iterator getter" but got object "ReferenceError: Observable is not defined"
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:518:18
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:506:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): Throws 'callable' error when @@iterator property is a non-callable primitive - assert_true: expected true got false
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:534:16
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:523:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): Async iterable protocol null, converts as iterator - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:562:18
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:545:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): Asynchronous iterable conversion - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Asynchronous iterable multiple in-flight subscriptions competing - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Asynchronous generator conversion: can only be used once - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Promise-wrapping semantics of IteratorResult interface - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Errors thrown in Symbol.asyncIterator() are propagated synchronously - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:768:3
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:758:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): Errors thrown in async iterator's next() GETTER are propagated in a microtask - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Errors thrown in async iterator's next() are propagated in a microtask - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Aborting sync iterable midway through iteration both stops iteration and invokes `IteratorRecord#return() - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:848:3
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:827:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): Asynchronous iterable conversion, with synchronous iterable fallback - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Generator finally block runs when subscription is aborted - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:963:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:949:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): Generator finally block run when Observable completes - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:993:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:977:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): Generator finally block run when Observable errors - Observable is not defined
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:1018:22
Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2622:25
test@http://web-platform.test:8000/resources/testharness.js:633:30
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.js:1003:5
@http://web-platform.test:8000/dom/observable/tentative/observable-from.any.worker.js:9:14
  FAIL from(): Async generator finally block run when subscription is aborted - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Async generator finally block runs when Observable completes - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
  FAIL from(): Async generator finally block run when Observable errors - promise_test: Unhandled rejection with value: object "ReferenceError: Observable is not defined"
 1:35.56 INFO Got 2 unexpected results, with 0 unexpected passes
 1:35.56 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 1:35.63 wptserve INFO Stopped http server on 127.0.0.1:8000
 1:35.73 wptserve INFO Stopped http server on 127.0.0.1:8446
 1:35.73 wptserve INFO Stopped http server on 127.0.0.1:8445
 1:35.73 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 1:35.73 wptserve INFO Stopped http server on 127.0.0.1:8002
 1:35.73 wptserve INFO Stopped http server on 127.0.0.1:8001
 1:35.73 wptserve INFO Stopped http server on 127.0.0.1:8443
 1:35.74 wptserve INFO Stopped http server on 127.0.0.1:8444
 1:35.74 wptserve INFO Stopped http server on 127.0.0.1:9000
 1:35.74 wptserve INFO Stopped http server on 127.0.0.1:8003
 1:35.74 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 1:35.86 INFO Removed font: Ahem.ttf
 1:35.89 INFO Closing logging queue
 1:35.89 INFO queue closed
 1:35.89 INFO Tolerating 2 unexpected results
[taskcluster 2024-09-17 01:29:26.600Z] === Task Finished ===
[taskcluster 2024-09-17 01:29:27.564Z] Successful task run with exit code: 0 completed in 247.877 seconds