GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: update FileAPI web-platform tests · nodejs/node@141e5aa

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/fixtures/wpt
    • FileAPI/reading-data-section
      • filereader_readAsDataURL.any.js
    • README.md
    • versions.json
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/fixtures/wpt/FileAPI/reading-data-section/filereader_readAsDataURL.any.js‎

Copy file name to clipboardExpand all lines: test/fixtures/wpt/FileAPI/reading-data-section/filereader_readAsDataURL.any.js
+13-1Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,16 @@ async_test(function(testCase) {
3939
testCase.done();
4040
});
4141
reader.readAsDataURL(blob);
42-
}, 'readAsDataURL result for Blob with unspecified MIME type');
42+
}, 'readAsDataURL result for Blob with unspecified MIME type');
43+
44+
async_test(function(testCase) {
45+
var blob = new Blob([]);
46+
var reader = new FileReader();
47+
48+
reader.onload = this.step_func(function() {
49+
assert_equals(reader.result,
50+
"data:application/octet-stream;base64,");
51+
testCase.done();
52+
});
53+
reader.readAsDataURL(blob);
54+
}, 'readAsDataURL result for empty Blob');
Collapse file

‎test/fixtures/wpt/README.md‎

Copy file name to clipboardExpand all lines: test/fixtures/wpt/README.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Last update:
1616
- dom/events: https://github.com/web-platform-tests/wpt/tree/ab8999891c/dom/events
1717
- encoding: https://github.com/web-platform-tests/wpt/tree/0c1b9d1622/encoding
1818
- fetch/data-urls/resources: https://github.com/web-platform-tests/wpt/tree/7c79d998ff/fetch/data-urls/resources
19-
- FileAPI: https://github.com/web-platform-tests/wpt/tree/1e432c4550/FileAPI
19+
- FileAPI: https://github.com/web-platform-tests/wpt/tree/e36dbb6f00/FileAPI
2020
- hr-time: https://github.com/web-platform-tests/wpt/tree/34cafd797e/hr-time
2121
- html/webappapis/atob: https://github.com/web-platform-tests/wpt/tree/f267e1dca6/html/webappapis/atob
2222
- html/webappapis/microtask-queuing: https://github.com/web-platform-tests/wpt/tree/2c5c3c4c27/html/webappapis/microtask-queuing
Collapse file

‎test/fixtures/wpt/versions.json‎

Copy file name to clipboardExpand all lines: test/fixtures/wpt/versions.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"path": "fetch/data-urls/resources"
2525
},
2626
"FileAPI": {
27-
"commit": "1e432c4550a1595888d7c9eb26d90895e9e7e022",
27+
"commit": "e36dbb6f00fb59f9fc792f509194432e9e6d0b6d",
2828
"path": "FileAPI"
2929
},
3030
"hr-time": {

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.