refactor: add deno_file op crate (#10019)

Also enables WPT for FileReader.
This commit is contained in:
Luca Casonato 2021-04-06 12:55:05 +02:00 committed by GitHub
parent ff5d072702
commit 00e63306cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 470 additions and 321 deletions

View file

@ -30,10 +30,6 @@ pub fn init(isolate: &mut JsRuntime) {
"deno:op_crates/web/12_location.js",
include_str!("12_location.js"),
),
(
"deno:op_crates/web/21_filereader.js",
include_str!("21_filereader.js"),
),
];
for (url, source_code) in files {
isolate.execute(url, source_code).unwrap();