- From: Daniel Ehrenberg <notifications@github.com>
- Date: Mon, 04 Mar 2019 11:38:04 +0000 (UTC)
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 4 March 2019 11:38:27 UTC
littledan commented on this pull request.
> + [Exposed=Window, SecureContext]
+ module "std:timezone" {
+ interface Timezone {
+ readonly attribute USVString name;
+ long long offsetMs(long long unixTime);
+ };
+ Timezone getCurrentTimezone();
+ readonly attribute Timezone initialTimezone;
+ };
+ </pre>
+
+ <blockquote>
+ The [=module evaluation steps=] of "std:timezone" are as follows:
+ 1. [=set a module attribute|Set the attribute=]
+ "initialTimezone" of "std:timezone" in the
+ [=current Realm=] to an instance of <code>Timezone</code>
I believe so, since JavaScript will set the current realm here to that of the module that was just constructed. I don't think "relevant realm" would be well-defined.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/675#discussion_r262023817
Received on Monday, 4 March 2019 11:38:27 UTC