mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:57:35 +00:00
LibWeb: Implement TextEncoder.prototype.encoding
This commit is contained in:
parent
f37d00c07b
commit
f8387dea26
4 changed files with 23 additions and 1 deletions
|
@ -0,0 +1,12 @@
|
|||
describe("normal behavior", () => {
|
||||
loadLocalPage("/res/html/misc/blank.html");
|
||||
|
||||
afterInitialPageLoad(page => {
|
||||
test("Basic functionality", () => {
|
||||
const textEncoder = new page.TextEncoder();
|
||||
|
||||
expect(textEncoder.encoding).toBe("utf-8");
|
||||
});
|
||||
});
|
||||
waitForPageToLoad();
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue