Skip to content

Commit

Permalink
capricorn86#666@patch: Public Document._cookie.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mas0nShi committed Nov 30, 2022
1 parent 5499e59 commit fb56a0e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/happy-dom/src/nodes/document/Document.ts
Expand Up @@ -63,10 +63,12 @@ export default class Document extends Node implements IDocument {

// Used as an unique identifier which is updated whenever the DOM gets modified.
public _cacheID = 0;
// Public in order to be accessible by the fetch and xhr.
public _cookie = new CookieJar();

protected _isFirstWrite = true;
protected _isFirstWriteAfterOpen = false;
private _cookie = new CookieJar();

private _selection: Selection = null;

// Events
Expand Down

0 comments on commit fb56a0e

Please sign in to comment.