Re: [whatwg/streams] WPT-ify some tests (#597)

isonmad commented on this pull request.



> @@ -9,6 +9,36 @@ if (self.importScripts) {
 const error1 = new Error('error1');
 error1.name = 'error1';
 
+test(() => {
+  assert_throws(error1, () => {
+    new WritableStream({
+      get start() {
+        throw error1;
+      }
+    });
+  }, 'constructor throws same error from throwing start getter');

Thanks for the pointers and the link! Is this better?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/597

Received on Friday, 4 November 2016 21:50:17 UTC