kotlinx-browser icon indicating copy to clipboard operation
kotlinx-browser copied to clipboard

Kotlin browser API

Results 15 kotlinx-browser issues
Sort by recently updated
recently updated
newest added

https://developer.mozilla.org/en-US/docs/Web/API/Selection

This PR builds on the work in #3 - upgraded to latest kotlin version (1.4.32) - upgraded to latest dukat - added indexeddb, pointerlock, css-font-loading (fixes #4), screencapture, and storage

Lots of people (including myself) were under the impression that this repo was the source of the kotlinx.browser part of the stdlib. However, that is not the case: https://kotlinlang.slack.com/archives/C0B8L3U69/p1620183844128600 This...

Spec definition available at https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet It doesn't appear to be in kotlinx.browser

After adding geolocation IDL and trying to regenerate Kotlin JS interfaces I realised some of IDL specs were moved. - Updated location of IDLs - Adapted CSS selector for extracting...

Following methods are missing from Uint8Array (and other ArrayBufferView implementations for that matter): ```kotlin fun slice(begin: Int, end: Int): Uint8Array fun subarray(begin: Int, end: Int): Uint8Array fun reverse(): Uint8Array //...

Given the absence of updates for years, it looks like the browser APIs are in the stdlib and not brought by this module anymore. Is this the case? If yes,...

https://github.com/Kotlin/kotlinx-browser/blob/fea1b1faa065f773d6f8e3b4449996e39aa0dda9/generator/build.gradle.kts#L15 CVE-2021-37714 CVE-2022-36033 Recommended upgrade version:1.15.3

As seen in https://github.com/wasm-outbound-http-examples/kotlin/blob/main/browser/src/wasmJsMain/kotlin/Main.kt or some Spring + Kotlin/Wasm samples I have been working on, the requirement to return `null` as the latest statement of some lambdas in some APIs...

In my sample application with Kotlin/Wasm 2.1.21 , `window.fetch(url)` works as expected, but `window.fetch(url, RequestInit(method = "POST"))` throws the following error: ``` sample-wasm-js.uninstantiated.mjs:150 Uncaught (in promise) TypeError: Failed to execute...