Satya Rohith
ab6b0cefd3
refactor: use primordials in extensions/fetch ( #11266 )
2021-07-06 11:32:59 +02:00
Casper Beyer
e8258e0210
feat(test): add --shuffle flag to randomize test ordering ( #11163 )
2021-07-05 21:20:33 -04:00
Luca Casonato
bdeb4f430b
perf: opt-level = 3 for deno_net ( #11283 )
2021-07-06 01:23:18 +02:00
David Sherret
ce3fbb4bd1
chore: add tests for previous assertion error when file contained only triple slash references ( #11285 )
2021-07-05 15:21:44 -04:00
Bartek Iwańczuk
334cef06e7
chore: upgrade crates ( #11284 )
2021-07-05 19:48:24 +02:00
Simon Rask
e0f67098aa
refactor: use primordials for extensions/timers ( #11256 )
2021-07-05 19:39:33 +02:00
Nayeem Rahman
060dd3ae82
fix(core): Delay deadlock detection for dynamic imports ( #11282 )
2021-07-05 18:59:49 +02:00
Casper Beyer
407de8b834
fix(runtime): ignored tests should not cause permission changes ( #11278 )
2021-07-05 18:36:43 +02:00
Yusuke Tanaka
0a33cc1951
chore: upgrade Tokio to 1.8.0 ( #11281 )
2021-07-05 15:50:56 +02:00
Jimmy Wärting
2c0b0e45b7
refactor: asynchronous blob backing store ( #10969 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-07-05 15:34:37 +02:00
Casper Beyer
ea87d860be
tests: be more liberal with expectation wildcards ( #11279 )
2021-07-05 14:30:51 +02:00
Leo K
220104f577
fix: spec conformance for performance API ( #10887 )
2021-07-05 13:17:11 +02:00
Craig Morten
a6c840d150
fix(fetch): OPTIONS should be allowed a non-null body ( #11242 )
2021-07-05 12:38:12 +02:00
Luca Casonato
3ee0c36453
refactor: introduce primordials for web/streams ( #11251 )
2021-07-05 12:18:41 +02:00
Casper Beyer
c4cc353d59
refactor(runtime): reduce duplication in test harness ( #11274 )
2021-07-05 10:26:57 +02:00
Divy Srivastava
6a4769670d
fix(webidl): use primordial for SymbolToStringTag ( #11275 )
2021-07-05 10:26:25 +02:00
Divy Srivastava
a80e34f92c
fix(webstorage): use primordial for Symbol.for ( #11276 )
2021-07-05 10:24:21 +02:00
Divy Srivastava
ffd28e7d67
refactor: use primordials for extensions/websocket ( #11240 )
2021-07-04 17:38:04 +02:00
Simon Rask
a8f9ac654d
fix: primordials in extensions/net and runtime/js ( #11270 )
2021-07-04 17:26:38 +02:00
Bartek Iwańczuk
f0fbd49a2d
refactor: use primordials in extensions/web/02_event.js ( #11264 )
2021-07-04 16:43:21 +02:00
Bartek Iwańczuk
ae526e0abb
refactor use primordials in extensions/webgpu ( #11265 )
2021-07-04 16:23:22 +02:00
Luca Casonato
3c0267dbb5
fix: align DOMException to webidl spec ( #11259 )
2021-07-04 16:08:53 +02:00
Bartek Iwańczuk
5addba2abc
refactor: use primordials in runtime/, part2 ( #11248 )
2021-07-04 00:17:52 +02:00
Andreu Botella
ffa75be480
feat: enable WebAssembly.instantiateStreaming and wasm async compilation ( #11200 )
...
The WebAssembly streaming APIs used to be enabled, but used to take
buffer sources as their first argument (see #6154 and #7259 ). This
change re-enables them, requiring a Promise<Response> instead, as well as
enabling asynchronous compilation of WebAssembly modules.
2021-07-03 23:33:36 +02:00
Luca Casonato
7ef0f43d87
fix: stream strategy size should be plain function
2021-07-03 22:20:28 +02:00
Luca Casonato
14104c4e5b
chore: update wpt submodule
2021-07-03 22:20:28 +02:00
Luca Casonato
bf39b883d6
refactor: introduce primordials for ext/web ( #11228 )
2021-07-03 21:32:28 +02:00
Bartek Iwańczuk
425b9a8228
fix: primordials in extensions/net ( #11250 )
2021-07-03 17:41:49 +02:00
Simon Rask
51de4e1f7c
refactor: use primordials for 13_buffer.js
and 30_fs.js
( #11247 )
2021-07-03 17:17:23 +02:00
Bartek Iwańczuk
bd7bb43a0e
refactor: use primordials in extensions/net/ ( #11243 )
2021-07-03 17:02:14 +02:00
Bartek Iwańczuk
6137c8046d
refactor: use primordials in runtime/, part1 ( #11241 )
2021-07-03 16:58:08 +02:00
Divy Srivastava
d4de477ef9
refactor: use primordials for extensions/broadcast_channel ( #11231 )
2021-07-03 11:51:53 +02:00
Divy Srivastava
e90b97ada2
refactor: use primordials for extensions/webstorage ( #11239 )
2021-07-03 11:49:41 +02:00
Luca Casonato
caf87694d0
chore: add TypedArray to primordials typings ( #11236 )
2021-07-03 00:49:47 +02:00
Bartek Iwańczuk
da654fddff
chore: upgrade rusty_v8 and serde_v8 ( #11233 )
2021-07-02 22:59:33 +02:00
TED@Hexaflow
a70e2249cf
doc: fix duplicated words 'use of use of' ( #11230 )
2021-07-02 20:26:20 +02:00
Luca Casonato
4ae50f5c06
refactor: use primordials for extensions/webidl ( #11227 )
2021-07-02 16:37:41 +02:00
David Sherret
68b4d60fd7
fix(diff): better handling of text with only line ending differences ( #11212 )
...
Additionally fixes:
* It not displaying a diff when one text had a trailing newline and the other didn't.
* Edge case where the line number width could be incorrect if the original text had say 99 lines and the edit text had 100 lines.
2021-07-02 10:16:09 -04:00
Bartek Iwańczuk
7dd4090c2a
Remove unstable native plugins ( #10908 )
...
This commit removes implementation of native plugins
alongside the unstable "Deno.openPlugin()" API.
2021-07-02 16:11:23 +02:00
Luca Casonato
2544ec9af4
refactor: use primordials for extensions/url ( #11225 )
2021-07-02 14:08:28 +02:00
Luca Casonato
c9204c4aee
refactor: introduce primordials ( #10939 )
...
This commit introduces primordials to deno_core. Primordials are a
frozen set of all intrinsic objects in the runtime. They are not
vulnerable to prototype pollution.
2021-07-02 12:18:30 +02:00
Andreu Botella
7b0375fae7
perf: speed up TextEncoder.prototype.encodeInto() ( #11219 )
...
The current implementation of op_encoding_encode_into UTF-8 encodes each
individual code point in the input string into the output buffer. But after the
ops binding, the input is a Rust String, so the UTF-8 bytes can simply be copied
to the output. This should improve this API's performance.
2021-07-02 12:11:20 +02:00
Andreu Botella
4bc8fe71db
fix(fetch): a consumed body with a non-stream source should result in a disturbed stream ( #11217 )
2021-07-02 11:34:12 +02:00
Bartek Iwańczuk
513f921219
feat(core): pump V8 message loop on event loop tick ( #11221 )
...
This commit adds support for Atomics and FinalizationRegistry by integrating
V8's message loop into "JsRuntime::poll_event_loop".
2021-07-02 10:46:37 +02:00
Zhangyuan Nie
5648b22fe1
docs(cli/flags): use deno instead of target/debug/deno ( #11215 )
2021-07-02 10:43:53 +02:00
Bartek Iwańczuk
bce662d5bb
chore: upgrade rusty_v8 and serde_v8 ( #11216 )
2021-07-02 09:32:48 +02:00
Luca Casonato
0385a99052
v1.11.3
...
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-07-02 00:13:40 +02:00
Bert Belder
1a5984983f
ci: don't set DENO_CANARY when releasing, attempt 2 ( #11214 )
2021-07-01 23:48:53 +02:00
David Sherret
899470addc
chore: update dprint-plugin-json to remove duplicate dprint-core dependency ( #11209 )
2021-07-01 11:22:28 -04:00
Luca Casonato
32b9aa5720
build: switch to wpt.fyi prod ( #11201 )
2021-07-01 15:44:44 +02:00