Features (1)

import.meta.resolve()

Category: JavaScript

import.meta.resolve(specifier) returns the URL to which the given specifier would resolve in the context of the current script. That is, it returns the URL that would be imported if you did import(specifier).

JSON data
{
  "category": "JavaScript",
  "flag_name": "",
  "id": 5086507990777856,
  "milestone": 105,
  "name": "import.meta.resolve()",
  "summary": "import.meta.resolve(specifier) returns the URL to which the given specifier would resolve in the context of the current script. That is, it returns the URL that would be imported if you did import(specifier)."
}

API Changes (35)

  • Add a wasm disassembly API to cdp
  • [wasm] Assume positive stack offsets
  • [sandbox] Initialize sandbox during V8::Initialize
  • [api] Add more efficient API for accesssing ArrayBuffer raw data
  • [sandbox] Always use a constant sandbox size
  • [sandbox] Sandboxify Foreign external pointer
  • Fix target and endianness detection on PPC/s390
  • Fix Date BiDi format
  • [sandbox] Prepare ExternalPointerTable rollout
  • [wasm][csp] Add support for `SetErrorMessageForWasmCodeGeneration`
  • [fastcall] expose wasm memory to cfunction
  • [fastcall] Support EnforceRange annotation
  • [wasm] Remove WasmModuleObjectBulderStreaming
  • Allow embedder to provide source text during code cache deserialization
  • [sandbox] Turn ExternalPointerTag into a template parameter
  • [sandbox] Split ExternalPointerTag definitions for shared/non-shared
  • Move host/target detection macros to API
  • [sandbox] Store waiter queue node of JS Atomic.Mutex in shared table
  • [sandbox] Add shared external pointer table for strings
  • [sandbox] Implement ReadExternalPointerField in v8-internal.h
  • [runtime] Inline Foreign fields into AccessorInfo
  • [sandbox] Use correct define when testing for Android
  • [wasm] Deprecate WasmModuleObjectBuilderSteraming
  • [task] Expose CreateJob in v8::Platform
  • [logging] Use short "JS:" prefix for function log events
  • [wasm][api] Introduce API to let the embedder resolve wasm promises
  • [inspector] Allow Debugger.setScriptSource to edit top-most function
  • [API] Deprecate LegacyOOMErrorCallback
  • [runtime] Inline Foreign fields into CallHandlerInfo
  • [api] add v8::Module::GetStalledTopLevelAwaitMessage()
  • [api] Make CanHaveInternalField inlineable
  • [api] Remove deprecated global handle APIs
  • [inspector] Introduce status result for Debugger.setScriptSource
  • [api] Deprecate PersistentValueVector
  • [api] Deprecate CopyablePersistentTraits
JSON data
[
  {
    "author": {
      "name": "Philip Pfaffe",
      "email": "pfaffe@chromium.org",
      "time": "Tue Jul 19 13:08:47 2022"
    },
    "commit": "bc0ca547b9e6976dff5d1d00d5e3120b697e96bc",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Tue Jul 19 13:20:36 2022"
    },
    "subject": "Add a wasm disassembly API to cdp",
    "milestone": 105
  },
  {
    "author": {
      "name": "Clemens Backes",
      "email": "clemensb@chromium.org",
      "time": "Thu Jul 14 14:59:44 2022"
    },
    "commit": "6b2dc157d44722df58e679310d09122af995071f",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Mon Jul 18 13:24:53 2022"
    },
    "subject": "[wasm] Assume positive stack offsets",
    "milestone": 105
  },
  {
    "author": {
      "name": "Samuel Groß",
      "email": "saelo@chromium.org",
      "time": "Thu Jul 14 15:47:12 2022"
    },
    "commit": "f3737bbb12351042cf81198202ba07288b99f597",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Fri Jul 15 09:29:32 2022"
    },
    "subject": "[sandbox] Initialize sandbox during V8::Initialize",
    "milestone": 105
  },
  {
    "author": {
      "name": "Marja Hölttä",
      "email": "marja@chromium.org",
      "time": "Fri Jul 15 07:54:16 2022"
    },
    "commit": "00704f5a03d9db02c14c4f4c35188effc46e82ab",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Fri Jul 15 09:03:11 2022"
    },
    "subject": "[api] Add more efficient API for accesssing ArrayBuffer raw data",
    "milestone": 105
  },
  {
    "author": {
      "name": "Samuel Groß",
      "email": "saelo@chromium.org",
      "time": "Tue Jul 12 12:03:49 2022"
    },
    "commit": "df2fc0725e5456159e42e1aaab71ccca8464f2c5",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Thu Jul 14 13:21:04 2022"
    },
    "subject": "[sandbox] Always use a constant sandbox size",
    "milestone": 105
  },
  {
    "author": {
      "name": "Samuel Groß",
      "email": "saelo@chromium.org",
      "time": "Tue Jul 12 09:45:24 2022"
    },
    "commit": "543b54da6607d7016adaabe2fdac2bef844fc0c4",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Wed Jul 13 21:04:14 2022"
    },
    "subject": "[sandbox] Sandboxify Foreign external pointer",
    "milestone": 105
  },
  {
    "author": {
      "name": "Milad Fa",
      "email": "mfarazma@redhat.com",
      "time": "Tue Jul 12 13:13:47 2022"
    },
    "commit": "192d8c172a354cf1421fbf813838b3b7af5a82ef",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Tue Jul 12 15:14:19 2022"
    },
    "subject": "Fix target and endianness detection on PPC/s390",
    "milestone": 105
  },
  {
    "author": {
      "name": "Maksim Sadym",
      "email": "sadym@chromium.org",
      "time": "Mon Jul 11 12:14:46 2022"
    },
    "commit": "126d4779256509a492671bba8bdc440916a9f89a",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Mon Jul 11 17:19:43 2022"
    },
    "subject": "Fix Date BiDi format",
    "milestone": 105
  },
  {
    "author": {
      "name": "Samuel Groß",
      "email": "saelo@chromium.org",
      "time": "Mon Jul 11 12:21:59 2022"
    },
    "commit": "8a59678b8335ae8c3fa237317aa8ae6cb281efa2",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Mon Jul 11 13:34:54 2022"
    },
    "subject": "[sandbox] Prepare ExternalPointerTable rollout",
    "milestone": 105
  },
  {
    "author": {
      "name": "Paul Semel",
      "email": "paulsemel@chromium.org",
      "time": "Wed Jul 06 08:38:24 2022"
    },
    "commit": "9318e064bfc230106b243837cb3be4c0cede2470",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Thu Jul 07 08:38:31 2022"
    },
    "subject": "[wasm][csp] Add support for `SetErrorMessageForWasmCodeGeneration`",
    "milestone": 105
  },
  {
    "author": {
      "name": "snek",
      "email": "snek@chromium.org",
      "time": "Mon Jul 04 17:57:14 2022"
    },
    "commit": "d89d185fad8e7015989f9f5032100398156dbc17",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Tue Jul 05 16:24:01 2022"
    },
    "subject": "[fastcall] expose wasm memory to cfunction",
    "milestone": 105
  },
  {
    "author": {
      "name": "Maya Lekova",
      "email": "mslekova@chromium.org",
      "time": "Mon Jul 04 13:10:18 2022"
    },
    "commit": "84e078c6cfdf330d1d3bb909d810a262138445cb",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Mon Jul 04 14:34:10 2022"
    },
    "subject": "[fastcall] Support EnforceRange annotation",
    "milestone": 105
  },
  {
    "author": {
      "name": "Andreas Haas",
      "email": "ahaas@chromium.org",
      "time": "Mon Jun 20 15:54:34 2022"
    },
    "commit": "5e55121e3a4b6ca17039ab69ff43edc08b187b89",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Tue Jun 28 18:17:37 2022"
    },
    "subject": "[wasm] Remove WasmModuleObjectBulderStreaming",
    "milestone": 105
  },
  {
    "author": {
      "name": "Seth Brenith",
      "email": "seth.brenith@microsoft.com",
      "time": "Tue Jun 28 15:18:05 2022"
    },
    "commit": "80575e2816036567c2c8a52ea11f236f946ea940",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Tue Jun 28 16:18:20 2022"
    },
    "subject": "Allow embedder to provide source text during code cache deserialization",
    "milestone": 105
  },
  {
    "author": {
      "name": "Samuel Groß",
      "email": "saelo@chromium.org",
      "time": "Mon Jun 27 12:00:24 2022"
    },
    "commit": "8ca93205cc1c3b8f9e4c1b01e25e2cbfc0182701",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Mon Jun 27 13:45:20 2022"
    },
    "subject": "[sandbox] Turn ExternalPointerTag into a template parameter",
    "milestone": 105
  },
  {
    "author": {
      "name": "Patrick Thier",
      "email": "pthier@chromium.org",
      "time": "Mon Jun 27 12:15:33 2022"
    },
    "commit": "ece27af6932790856a96472a67081e7c5036faaf",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Mon Jun 27 13:05:00 2022"
    },
    "subject": "[sandbox] Split ExternalPointerTag definitions for shared/non-shared",
    "milestone": 105
  },
  {
    "author": {
      "name": "Anton Bikineev",
      "email": "bikineev@chromium.org",
      "time": "Mon Jun 27 11:37:04 2022"
    },
    "commit": "28b5d299845f6ca289647241badd08844b51bb7c",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Mon Jun 27 12:26:21 2022"
    },
    "subject": "Move host/target detection macros to API",
    "milestone": 105
  },
  {
    "author": {
      "name": "Patrick Thier",
      "email": "pthier@chromium.org",
      "time": "Fri Jun 24 08:14:34 2022"
    },
    "commit": "8933f9fe8e532142331db41a00f39e5d03eea309",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Mon Jun 27 08:56:57 2022"
    },
    "subject": "[sandbox] Store waiter queue node of JS Atomic.Mutex in shared table",
    "milestone": 105
  },
  {
    "author": {
      "name": "Patrick Thier",
      "email": "pthier@chromium.org",
      "time": "Tue Jun 21 15:13:01 2022"
    },
    "commit": "6b4850484f1364731b2a8c7c1169ce5027f315a5",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Thu Jun 23 11:30:39 2022"
    },
    "subject": "[sandbox] Add shared external pointer table for strings",
    "milestone": 105
  },
  {
    "author": {
      "name": "Samuel Groß",
      "email": "saelo@chromium.org",
      "time": "Mon Jun 20 18:50:10 2022"
    },
    "commit": "0d94a5144c5c2ef1b0fcc8d54c348b63c47a20cf",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Tue Jun 21 10:51:05 2022"
    },
    "subject": "[sandbox] Implement ReadExternalPointerField in v8-internal.h",
    "milestone": 105
  },
  {
    "author": {
      "name": "Igor Sheludko",
      "email": "ishell@chromium.org",
      "time": "Wed Jun 15 16:11:08 2022"
    },
    "commit": "8487e66d755569d004d9b6a8e73d842e868a69a4",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Mon Jun 20 09:25:03 2022"
    },
    "subject": "[runtime] Inline Foreign fields into AccessorInfo",
    "milestone": 105
  },
  {
    "author": {
      "name": "Samuel Groß",
      "email": "saelo@chromium.org",
      "time": "Wed Jun 15 10:26:40 2022"
    },
    "commit": "f789c6a02058022b69eba665d8a92f2495e8ab72",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Wed Jun 15 11:14:43 2022"
    },
    "subject": "[sandbox] Use correct define when testing for Android",
    "milestone": 105
  },
  {
    "author": {
      "name": "Andreas Haas",
      "email": "ahaas@chromium.org",
      "time": "Wed Jun 08 06:25:51 2022"
    },
    "commit": "be41754f9f790ee541e03099d653d01b20afbfd9",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Wed Jun 15 06:40:52 2022"
    },
    "subject": "[wasm] Deprecate WasmModuleObjectBuilderSteraming",
    "milestone": 105
  },
  {
    "author": {
      "name": "Etienne Pierre-doray",
      "email": "etiennep@chromium.org",
      "time": "Thu May 26 20:34:54 2022"
    },
    "commit": "1e0d18dc0b50a9221fe9955a734905eb918c232c",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Wed Jun 15 00:13:31 2022"
    },
    "subject": "[task] Expose CreateJob in v8::Platform",
    "milestone": 105
  },
  {
    "author": {
      "name": "Camillo",
      "email": "cbruni@chromium.org",
      "time": "Tue Jun 07 17:51:13 2022"
    },
    "commit": "ed6be498130b3827acafa7f6c47ecbda9db5db85",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Tue Jun 14 16:11:21 2022"
    },
    "subject": "[logging] Use short \"JS:\" prefix for function log events",
    "milestone": 105
  },
  {
    "author": {
      "name": "Andreas Haas",
      "email": "ahaas@chromium.org",
      "time": "Fri Jun 10 10:17:42 2022"
    },
    "commit": "7e0294dcfaecbcfd3a7370654de32cde8de0cbfc",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Tue Jun 14 11:41:22 2022"
    },
    "subject": "[wasm][api] Introduce API to let the embedder resolve wasm promises",
    "milestone": 105
  },
  {
    "author": {
      "name": "Simon Zünd",
      "email": "szuend@chromium.org",
      "time": "Tue Jun 14 05:16:27 2022"
    },
    "commit": "dac61556497c6268db0f2960e67e26116300b314",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Tue Jun 14 09:29:31 2022"
    },
    "subject": "[inspector] Allow Debugger.setScriptSource to edit top-most function",
    "milestone": 105
  },
  {
    "author": {
      "name": "Clemens Backes",
      "email": "clemensb@chromium.org",
      "time": "Tue May 17 14:31:33 2022"
    },
    "commit": "6723438813475898c20f98a1cc2701f78f433a69",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Mon Jun 13 07:58:36 2022"
    },
    "subject": "[API] Deprecate LegacyOOMErrorCallback",
    "milestone": 105
  },
  {
    "author": {
      "name": "Igor Sheludko",
      "email": "ishell@chromium.org",
      "time": "Fri Jun 10 16:37:17 2022"
    },
    "commit": "7445a4fd2ab9ea65cb2b89ed9ecc814d0ab1da80",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Fri Jun 10 18:26:57 2022"
    },
    "subject": "[runtime] Inline Foreign fields into CallHandlerInfo",
    "milestone": 105
  },
  {
    "author": {
      "name": "Joyee Cheung",
      "email": "joyee@igalia.com",
      "time": "Fri Jun 10 15:00:40 2022"
    },
    "commit": "dd6d96c8cd560c1b17e32005ee0218bd8917f9bb",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Fri Jun 10 16:46:57 2022"
    },
    "subject": "[api] add v8::Module::GetStalledTopLevelAwaitMessage()",
    "milestone": 105
  },
  {
    "author": {
      "name": "Camillo",
      "email": "cbruni@chromium.org",
      "time": "Thu Jun 09 16:24:52 2022"
    },
    "commit": "6a0889817d9761a4cae55b5a6c53b3941bfdcdd2",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Thu Jun 09 18:42:25 2022"
    },
    "subject": "[api] Make CanHaveInternalField inlineable",
    "milestone": 105
  },
  {
    "author": {
      "name": "Michael Lippautz",
      "email": "mlippautz@chromium.org",
      "time": "Thu Jun 09 13:41:10 2022"
    },
    "commit": "4cf204da0a7c59f476bc2ea6622d897f660e22d0",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Thu Jun 09 15:39:03 2022"
    },
    "subject": "[api] Remove deprecated global handle APIs",
    "milestone": 105
  },
  {
    "author": {
      "name": "Simon Zünd",
      "email": "szuend@chromium.org",
      "time": "Wed Jun 08 07:59:46 2022"
    },
    "commit": "31850be1c265468cf6b1f5739ec816be41ee0d2b",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Thu Jun 09 12:18:32 2022"
    },
    "subject": "[inspector] Introduce status result for Debugger.setScriptSource",
    "milestone": 105
  },
  {
    "author": {
      "name": "Michael Lippautz",
      "email": "mlippautz@chromium.org",
      "time": "Thu Jun 09 07:45:35 2022"
    },
    "commit": "50683aa68d3649ac27c6931fe4a95cfb24325805",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Thu Jun 09 08:44:13 2022"
    },
    "subject": "[api] Deprecate PersistentValueVector",
    "milestone": 105
  },
  {
    "author": {
      "name": "Leszek Swirski",
      "email": "leszeks@chromium.org",
      "time": "Wed Jun 08 13:10:13 2022"
    },
    "commit": "c51a81e705d2e407052c6c281214d9d7e209cbab",
    "committer": {
      "name": "V8 LUCI CQ",
      "email": "v8-scoped@luci-project-accounts.iam.gserviceaccount.com",
      "time": "Wed Jun 08 14:15:12 2022"
    },
    "subject": "[api] Deprecate CopyablePersistentTraits",
    "milestone": 105
  }
]