@stencil/core 4.40.1 → 4.41.0-dev.1767652714.953346e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/cli/config-flags.d.ts +2 -2
  2. package/cli/index.cjs +9 -4
  3. package/cli/index.js +9 -4
  4. package/cli/package.json +1 -1
  5. package/compiler/package.json +1 -1
  6. package/compiler/stencil.js +307 -142
  7. package/dev-server/client/index.js +12 -12
  8. package/dev-server/client/package.json +1 -1
  9. package/dev-server/connector.html +3 -3
  10. package/dev-server/index.js +2 -2
  11. package/dev-server/package.json +1 -1
  12. package/dev-server/server-process.js +18 -11
  13. package/internal/app-data/package.json +1 -1
  14. package/internal/app-globals/package.json +1 -1
  15. package/internal/client/index.js +105 -25
  16. package/internal/client/package.json +1 -1
  17. package/internal/client/patch-browser.js +1 -1
  18. package/internal/hydrate/index.js +65 -26
  19. package/internal/hydrate/package.json +1 -1
  20. package/internal/hydrate/runner.js +4262 -4210
  21. package/internal/package.json +1 -1
  22. package/internal/stencil-core/jsx-dev-runtime.cjs +7 -0
  23. package/internal/stencil-core/jsx-dev-runtime.d.ts +23 -0
  24. package/internal/stencil-core/jsx-dev-runtime.js +2 -0
  25. package/internal/stencil-core/jsx-runtime.cjs +8 -0
  26. package/internal/stencil-core/jsx-runtime.d.ts +22 -0
  27. package/internal/stencil-core/jsx-runtime.js +2 -0
  28. package/internal/stencil-private.d.ts +20 -0
  29. package/internal/stencil-public-compiler.d.ts +6 -0
  30. package/internal/stencil-public-docs.d.ts +11 -0
  31. package/internal/stencil-public-runtime.d.ts +29 -0
  32. package/internal/testing/index.js +753 -638
  33. package/internal/testing/package.json +1 -1
  34. package/mock-doc/index.cjs +192 -135
  35. package/mock-doc/index.js +193 -135
  36. package/mock-doc/package.json +1 -1
  37. package/package.json +11 -1
  38. package/screenshot/index.js +29 -8
  39. package/screenshot/package.json +1 -1
  40. package/screenshot/pixel-match.js +1 -1
  41. package/sys/node/index.js +29 -29
  42. package/sys/node/package.json +1 -1
  43. package/sys/node/worker.js +1 -1
  44. package/testing/index.js +98 -70
  45. package/testing/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/internal/testing",
3
- "version": "4.40.1",
3
+ "version": "4.41.0-dev.1767652714.953346e",
4
4
  "description": "Stencil internal testing platform to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.",
5
5
  "main": "./index.js",
6
6
  "private": true
@@ -1,11 +1,12 @@
1
1
  /*!
2
- Stencil Mock Doc (CommonJS) v4.40.1 | MIT Licensed | https://stenciljs.com
2
+ Stencil Mock Doc (CommonJS) v4.41.0-dev.1767652714.953346e | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  "use strict";
5
5
  var __defProp = Object.defineProperty;
6
6
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
7
  var __getOwnPropNames = Object.getOwnPropertyNames;
8
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9
10
  var __export = (target, all) => {
10
11
  for (var name in all)
11
12
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -19,6 +20,7 @@ var __copyProps = (to, from, except, desc) => {
19
20
  return to;
20
21
  };
21
22
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
22
24
 
23
25
  // src/mock-doc/index.ts
24
26
  var index_exports = {};
@@ -79,8 +81,8 @@ var createAttributeProxy = (caseInsensitive) => new Proxy(new MockAttributeMap(c
79
81
  var MockAttributeMap = class {
80
82
  constructor(caseInsensitive = false) {
81
83
  this.caseInsensitive = caseInsensitive;
82
- this.__items = [];
83
84
  }
85
+ __items = [];
84
86
  get length() {
85
87
  return this.__items.length;
86
88
  }
@@ -169,6 +171,9 @@ function sortAttributes(a, b) {
169
171
  return 0;
170
172
  }
171
173
  var MockAttr = class {
174
+ _name;
175
+ _value;
176
+ _namespaceURI;
172
177
  constructor(attrName, attrValue, namespaceURI = null) {
173
178
  this._name = attrName;
174
179
  this._value = String(attrValue);
@@ -225,9 +230,7 @@ var NODE_TYPES = /* @__PURE__ */ ((NODE_TYPES2) => {
225
230
 
226
231
  // src/mock-doc/css-style-declaration.ts
227
232
  var MockCSSStyleDeclaration = class {
228
- constructor() {
229
- this._styles = /* @__PURE__ */ new Map();
230
- }
233
+ _styles = /* @__PURE__ */ new Map();
231
234
  setProperty(prop, value) {
232
235
  prop = jsCaseToCssCase(prop);
233
236
  if (value == null || value === "") {
@@ -313,6 +316,8 @@ var MockCustomElementRegistry = class {
313
316
  constructor(win) {
314
317
  this.win = win;
315
318
  }
319
+ __registry;
320
+ __whenDefined;
316
321
  define(tagName, cstr, options) {
317
322
  if (tagName.toLowerCase() !== tagName) {
318
323
  throw new Error(
@@ -547,15 +552,17 @@ function dashToPascalCase(str) {
547
552
 
548
553
  // src/mock-doc/event.ts
549
554
  var MockEvent = class {
555
+ bubbles = false;
556
+ cancelBubble = false;
557
+ cancelable = false;
558
+ composed = false;
559
+ currentTarget = null;
560
+ defaultPrevented = false;
561
+ srcElement = null;
562
+ target = null;
563
+ timeStamp;
564
+ type;
550
565
  constructor(type, eventInitDict) {
551
- this.bubbles = false;
552
- this.cancelBubble = false;
553
- this.cancelable = false;
554
- this.composed = false;
555
- this.currentTarget = null;
556
- this.defaultPrevented = false;
557
- this.srcElement = null;
558
- this.target = null;
559
566
  if (typeof type !== "string") {
560
567
  throw new Error(`Event type required`);
561
568
  }
@@ -597,69 +604,71 @@ var MockEvent = class {
597
604
  }
598
605
  };
599
606
  var MockCustomEvent = class extends MockEvent {
607
+ detail = null;
600
608
  constructor(type, customEventInitDic) {
601
609
  super(type);
602
- this.detail = null;
603
610
  if (customEventInitDic != null) {
604
611
  Object.assign(this, customEventInitDic);
605
612
  }
606
613
  }
607
614
  };
608
615
  var MockKeyboardEvent = class extends MockEvent {
616
+ code = "";
617
+ key = "";
618
+ altKey = false;
619
+ ctrlKey = false;
620
+ metaKey = false;
621
+ shiftKey = false;
622
+ location = 0;
623
+ repeat = false;
609
624
  constructor(type, keyboardEventInitDic) {
610
625
  super(type);
611
- this.code = "";
612
- this.key = "";
613
- this.altKey = false;
614
- this.ctrlKey = false;
615
- this.metaKey = false;
616
- this.shiftKey = false;
617
- this.location = 0;
618
- this.repeat = false;
619
626
  if (keyboardEventInitDic != null) {
620
627
  Object.assign(this, keyboardEventInitDic);
621
628
  }
622
629
  }
623
630
  };
624
631
  var MockMouseEvent = class extends MockEvent {
632
+ screenX = 0;
633
+ screenY = 0;
634
+ clientX = 0;
635
+ clientY = 0;
636
+ ctrlKey = false;
637
+ shiftKey = false;
638
+ altKey = false;
639
+ metaKey = false;
640
+ button = 0;
641
+ buttons = 0;
642
+ relatedTarget = null;
625
643
  constructor(type, mouseEventInitDic) {
626
644
  super(type);
627
- this.screenX = 0;
628
- this.screenY = 0;
629
- this.clientX = 0;
630
- this.clientY = 0;
631
- this.ctrlKey = false;
632
- this.shiftKey = false;
633
- this.altKey = false;
634
- this.metaKey = false;
635
- this.button = 0;
636
- this.buttons = 0;
637
- this.relatedTarget = null;
638
645
  if (mouseEventInitDic != null) {
639
646
  Object.assign(this, mouseEventInitDic);
640
647
  }
641
648
  }
642
649
  };
643
650
  var MockUIEvent = class extends MockEvent {
651
+ detail = null;
652
+ view = null;
644
653
  constructor(type, uiEventInitDic) {
645
654
  super(type);
646
- this.detail = null;
647
- this.view = null;
648
655
  if (uiEventInitDic != null) {
649
656
  Object.assign(this, uiEventInitDic);
650
657
  }
651
658
  }
652
659
  };
653
660
  var MockFocusEvent = class extends MockUIEvent {
661
+ relatedTarget = null;
654
662
  constructor(type, focusEventInitDic) {
655
663
  super(type);
656
- this.relatedTarget = null;
657
664
  if (focusEventInitDic != null) {
658
665
  Object.assign(this, focusEventInitDic);
659
666
  }
660
667
  }
661
668
  };
662
669
  var MockEventListener = class {
670
+ type;
671
+ handler;
663
672
  constructor(type, handler) {
664
673
  this.type = type;
665
674
  this.handler = handler;
@@ -6642,6 +6651,12 @@ function getItems(elm, attr) {
6642
6651
 
6643
6652
  // src/mock-doc/node.ts
6644
6653
  var MockNode2 = class {
6654
+ _nodeValue;
6655
+ nodeName;
6656
+ nodeType;
6657
+ ownerDocument;
6658
+ parentNode;
6659
+ childNodes;
6645
6660
  constructor(ownerDocument, nodeType, nodeName, nodeValue) {
6646
6661
  this.ownerDocument = ownerDocument;
6647
6662
  this.nodeType = nodeType;
@@ -6802,14 +6817,17 @@ var MockNode2 = class {
6802
6817
  return dispatchEvent(this, ev);
6803
6818
  }
6804
6819
  };
6805
- MockNode2.ELEMENT_NODE = 1;
6806
- MockNode2.TEXT_NODE = 3;
6807
- MockNode2.PROCESSING_INSTRUCTION_NODE = 7;
6808
- MockNode2.COMMENT_NODE = 8;
6809
- MockNode2.DOCUMENT_NODE = 9;
6810
- MockNode2.DOCUMENT_TYPE_NODE = 10;
6811
- MockNode2.DOCUMENT_FRAGMENT_NODE = 11;
6820
+ __publicField(MockNode2, "ELEMENT_NODE", 1);
6821
+ __publicField(MockNode2, "TEXT_NODE", 3);
6822
+ __publicField(MockNode2, "PROCESSING_INSTRUCTION_NODE", 7);
6823
+ __publicField(MockNode2, "COMMENT_NODE", 8);
6824
+ __publicField(MockNode2, "DOCUMENT_NODE", 9);
6825
+ __publicField(MockNode2, "DOCUMENT_TYPE_NODE", 10);
6826
+ __publicField(MockNode2, "DOCUMENT_FRAGMENT_NODE", 11);
6812
6827
  var MockNodeList = class {
6828
+ childNodes;
6829
+ length;
6830
+ ownerDocument;
6813
6831
  constructor(ownerDocument, childNodes, length) {
6814
6832
  this.ownerDocument = ownerDocument;
6815
6833
  this.childNodes = childNodes;
@@ -6817,6 +6835,10 @@ var MockNodeList = class {
6817
6835
  }
6818
6836
  };
6819
6837
  var MockElement = class extends MockNode2 {
6838
+ __namespaceURI;
6839
+ __attributeMap;
6840
+ __shadowRoot;
6841
+ __style;
6820
6842
  attachInternals() {
6821
6843
  return new Proxy({}, {
6822
6844
  get: function(_target, prop, _receiver) {
@@ -7517,9 +7539,9 @@ function insertBefore(parentNode, newNode, referenceNode) {
7517
7539
  return newNode;
7518
7540
  }
7519
7541
  var MockHTMLElement = class extends MockElement {
7542
+ __namespaceURI = "http://www.w3.org/1999/xhtml";
7520
7543
  constructor(ownerDocument, nodeName) {
7521
7544
  super(ownerDocument, typeof nodeName === "string" ? nodeName.toUpperCase() : null);
7522
- this.__namespaceURI = "http://www.w3.org/1999/xhtml";
7523
7545
  }
7524
7546
  get tagName() {
7525
7547
  var _a;
@@ -7685,15 +7707,16 @@ var MockDocumentTypeNode = class extends MockHTMLElement {
7685
7707
  var MockCSSRule = class {
7686
7708
  constructor(parentStyleSheet) {
7687
7709
  this.parentStyleSheet = parentStyleSheet;
7688
- this.cssText = "";
7689
- this.type = 0;
7690
7710
  }
7711
+ cssText = "";
7712
+ type = 0;
7691
7713
  };
7692
7714
  var MockCSSStyleSheet = class {
7715
+ ownerNode;
7716
+ type = "text/css";
7717
+ parentStyleSheet = null;
7718
+ cssRules = [];
7693
7719
  constructor(ownerNode) {
7694
- this.type = "text/css";
7695
- this.parentStyleSheet = null;
7696
- this.cssRules = [];
7697
7720
  this.ownerNode = ownerNode;
7698
7721
  }
7699
7722
  get rules() {
@@ -7979,6 +8002,7 @@ patchPropAttributes(MockLinkElement.prototype, {
7979
8002
  type: String
7980
8003
  });
7981
8004
  var MockMetaElement = class extends MockHTMLElement {
8005
+ content;
7982
8006
  constructor(ownerDocument) {
7983
8007
  super(ownerDocument, "meta");
7984
8008
  }
@@ -8003,35 +8027,33 @@ patchPropAttributes(MockScriptElement.prototype, {
8003
8027
  type: String
8004
8028
  });
8005
8029
  var MockDOMMatrix = class _MockDOMMatrix {
8006
- constructor() {
8007
- this.a = 1;
8008
- this.b = 0;
8009
- this.c = 0;
8010
- this.d = 1;
8011
- this.e = 0;
8012
- this.f = 0;
8013
- this.m11 = 1;
8014
- this.m12 = 0;
8015
- this.m13 = 0;
8016
- this.m14 = 0;
8017
- this.m21 = 0;
8018
- this.m22 = 1;
8019
- this.m23 = 0;
8020
- this.m24 = 0;
8021
- this.m31 = 0;
8022
- this.m32 = 0;
8023
- this.m33 = 1;
8024
- this.m34 = 0;
8025
- this.m41 = 0;
8026
- this.m42 = 0;
8027
- this.m43 = 0;
8028
- this.m44 = 1;
8029
- this.is2D = true;
8030
- this.isIdentity = true;
8031
- }
8032
8030
  static fromMatrix() {
8033
8031
  return new _MockDOMMatrix();
8034
8032
  }
8033
+ a = 1;
8034
+ b = 0;
8035
+ c = 0;
8036
+ d = 1;
8037
+ e = 0;
8038
+ f = 0;
8039
+ m11 = 1;
8040
+ m12 = 0;
8041
+ m13 = 0;
8042
+ m14 = 0;
8043
+ m21 = 0;
8044
+ m22 = 1;
8045
+ m23 = 0;
8046
+ m24 = 0;
8047
+ m31 = 0;
8048
+ m32 = 0;
8049
+ m33 = 1;
8050
+ m34 = 0;
8051
+ m41 = 0;
8052
+ m42 = 0;
8053
+ m43 = 0;
8054
+ m44 = 1;
8055
+ is2D = true;
8056
+ isIdentity = true;
8035
8057
  inverse() {
8036
8058
  return new _MockDOMMatrix();
8037
8059
  }
@@ -8077,12 +8099,10 @@ var MockDOMMatrix = class _MockDOMMatrix {
8077
8099
  }
8078
8100
  };
8079
8101
  var MockDOMPoint = class {
8080
- constructor() {
8081
- this.w = 1;
8082
- this.x = 0;
8083
- this.y = 0;
8084
- this.z = 0;
8085
- }
8102
+ w = 1;
8103
+ x = 0;
8104
+ y = 0;
8105
+ z = 0;
8086
8106
  toJSON() {
8087
8107
  }
8088
8108
  matrixTransform() {
@@ -8090,14 +8110,13 @@ var MockDOMPoint = class {
8090
8110
  }
8091
8111
  };
8092
8112
  var MockSVGRect = class {
8093
- constructor() {
8094
- this.height = 10;
8095
- this.width = 10;
8096
- this.x = 0;
8097
- this.y = 0;
8098
- }
8113
+ height = 10;
8114
+ width = 10;
8115
+ x = 0;
8116
+ y = 0;
8099
8117
  };
8100
8118
  var MockStyleElement = class extends MockHTMLElement {
8119
+ sheet;
8101
8120
  constructor(ownerDocument) {
8102
8121
  super(ownerDocument, "style");
8103
8122
  this.sheet = new MockCSSStyleSheet(this);
@@ -8122,10 +8141,7 @@ var MockStyleElement = class extends MockHTMLElement {
8122
8141
  }
8123
8142
  };
8124
8143
  var MockSVGElement = class extends MockElement {
8125
- constructor() {
8126
- super(...arguments);
8127
- this.__namespaceURI = "http://www.w3.org/2000/svg";
8128
- }
8144
+ __namespaceURI = "http://www.w3.org/2000/svg";
8129
8145
  // SVGElement properties and methods
8130
8146
  get ownerSVGElement() {
8131
8147
  return null;
@@ -8182,6 +8198,7 @@ var MockBaseElement = class extends MockHTMLElement {
8182
8198
  }
8183
8199
  };
8184
8200
  var MockTemplateElement = class _MockTemplateElement extends MockHTMLElement {
8201
+ content;
8185
8202
  constructor(ownerDocument) {
8186
8203
  super(ownerDocument, "template");
8187
8204
  this.content = new MockDocumentFragment(ownerDocument);
@@ -8288,6 +8305,8 @@ patchPropAttributes(MockSlotElement.prototype, {
8288
8305
  name: String
8289
8306
  });
8290
8307
  var CanvasRenderingContext = class {
8308
+ context;
8309
+ contextAttributes;
8291
8310
  constructor(context, contextAttributes) {
8292
8311
  this.context = context;
8293
8312
  this.contextAttributes = contextAttributes;
@@ -8485,8 +8504,8 @@ function createConsole() {
8485
8504
 
8486
8505
  // src/mock-doc/headers.ts
8487
8506
  var MockHeaders = class {
8507
+ _values = [];
8488
8508
  constructor(init) {
8489
- this._values = [];
8490
8509
  if (typeof init === "object") {
8491
8510
  if (typeof init[Symbol.iterator] === "function") {
8492
8511
  const kvs = [];
@@ -8624,18 +8643,19 @@ var MockDOMParser = class {
8624
8643
 
8625
8644
  // src/mock-doc/request-response.ts
8626
8645
  var MockRequest = class _MockRequest {
8646
+ _method = "GET";
8647
+ _url = "/";
8648
+ bodyUsed = false;
8649
+ cache = "default";
8650
+ credentials = "same-origin";
8651
+ headers;
8652
+ integrity = "";
8653
+ keepalive = false;
8654
+ mode = "cors";
8655
+ redirect = "follow";
8656
+ referrer = "about:client";
8657
+ referrerPolicy = "";
8627
8658
  constructor(input, init = {}) {
8628
- this._method = "GET";
8629
- this._url = "/";
8630
- this.bodyUsed = false;
8631
- this.cache = "default";
8632
- this.credentials = "same-origin";
8633
- this.integrity = "";
8634
- this.keepalive = false;
8635
- this.mode = "cors";
8636
- this.redirect = "follow";
8637
- this.referrer = "about:client";
8638
- this.referrerPolicy = "";
8639
8659
  if (typeof input === "string") {
8640
8660
  this.url = input;
8641
8661
  } else if (input) {
@@ -8675,12 +8695,14 @@ var MockRequest = class _MockRequest {
8675
8695
  }
8676
8696
  };
8677
8697
  var MockResponse = class _MockResponse {
8698
+ _body;
8699
+ headers;
8700
+ ok = true;
8701
+ status = 200;
8702
+ statusText = "";
8703
+ type = "default";
8704
+ url = "";
8678
8705
  constructor(body, init = {}) {
8679
- this.ok = true;
8680
- this.status = 200;
8681
- this.statusText = "";
8682
- this.type = "default";
8683
- this.url = "";
8684
8706
  this._body = body;
8685
8707
  if (init) {
8686
8708
  Object.assign(this, init);
@@ -8855,9 +8877,7 @@ var GLOBAL_CONSTRUCTORS = [
8855
8877
 
8856
8878
  // src/mock-doc/history.ts
8857
8879
  var MockHistory = class {
8858
- constructor() {
8859
- this.items = [];
8860
- }
8880
+ items = [];
8861
8881
  get length() {
8862
8882
  return this.items.length;
8863
8883
  }
@@ -8892,20 +8912,18 @@ var MockIntersectionObserver = class {
8892
8912
 
8893
8913
  // src/mock-doc/location.ts
8894
8914
  var MockLocation = class {
8895
- constructor() {
8896
- this.ancestorOrigins = null;
8897
- this.protocol = "";
8898
- this.host = "";
8899
- this.hostname = "";
8900
- this.port = "";
8901
- this.pathname = "";
8902
- this.search = "";
8903
- this.hash = "";
8904
- this.username = "";
8905
- this.password = "";
8906
- this.origin = "";
8907
- this._href = "";
8908
- }
8915
+ ancestorOrigins = null;
8916
+ protocol = "";
8917
+ host = "";
8918
+ hostname = "";
8919
+ port = "";
8920
+ pathname = "";
8921
+ search = "";
8922
+ hash = "";
8923
+ username = "";
8924
+ password = "";
8925
+ origin = "";
8926
+ _href = "";
8909
8927
  get href() {
8910
8928
  return this._href;
8911
8929
  }
@@ -8936,17 +8954,17 @@ var MockLocation = class {
8936
8954
 
8937
8955
  // src/mock-doc/navigator.ts
8938
8956
  var MockNavigator = class {
8939
- constructor() {
8940
- this.appCodeName = "MockNavigator";
8941
- this.appName = "MockNavigator";
8942
- this.appVersion = "MockNavigator";
8943
- this.platform = "MockNavigator";
8944
- this.userAgent = "MockNavigator";
8945
- }
8957
+ appCodeName = "MockNavigator";
8958
+ appName = "MockNavigator";
8959
+ appVersion = "MockNavigator";
8960
+ platform = "MockNavigator";
8961
+ userAgent = "MockNavigator";
8946
8962
  };
8947
8963
 
8948
8964
  // src/mock-doc/performance.ts
8949
8965
  var MockPerformance = class {
8966
+ timeOrigin;
8967
+ eventCounts;
8950
8968
  constructor() {
8951
8969
  this.timeOrigin = Date.now();
8952
8970
  this.eventCounts = /* @__PURE__ */ new Map();
@@ -9074,9 +9092,7 @@ var MockShadowRoot = class extends MockDocumentFragment {
9074
9092
 
9075
9093
  // src/mock-doc/storage.ts
9076
9094
  var MockStorage = class {
9077
- constructor() {
9078
- this.items = /* @__PURE__ */ new Map();
9079
- }
9095
+ items = /* @__PURE__ */ new Map();
9080
9096
  key(_value) {
9081
9097
  }
9082
9098
  getItem(key) {
@@ -9108,6 +9124,44 @@ var nativeSetTimeout = globalThis.setTimeout;
9108
9124
  var nativeURL = globalThis.URL;
9109
9125
  var nativeWindow = globalThis.window;
9110
9126
  var MockWindow = class {
9127
+ __timeouts;
9128
+ __history;
9129
+ __elementCstr;
9130
+ __htmlElementCstr;
9131
+ __charDataCstr;
9132
+ __docTypeCstr;
9133
+ __docCstr;
9134
+ __docFragCstr;
9135
+ __domTokenListCstr;
9136
+ __nodeCstr;
9137
+ __nodeListCstr;
9138
+ __localStorage;
9139
+ __sessionStorage;
9140
+ __location;
9141
+ __navigator;
9142
+ __clearInterval;
9143
+ __clearTimeout;
9144
+ __setInterval;
9145
+ __setTimeout;
9146
+ __maxTimeout;
9147
+ __allowInterval;
9148
+ URL;
9149
+ console;
9150
+ customElements;
9151
+ document;
9152
+ performance;
9153
+ devicePixelRatio;
9154
+ innerHeight;
9155
+ innerWidth;
9156
+ pageXOffset;
9157
+ pageYOffset;
9158
+ screen;
9159
+ screenLeft;
9160
+ screenTop;
9161
+ screenX;
9162
+ screenY;
9163
+ scrollX;
9164
+ scrollY;
9111
9165
  constructor(html = null) {
9112
9166
  if (html !== false) {
9113
9167
  this.document = new MockDocument(html, this);
@@ -9804,6 +9858,9 @@ function resetWindowDimensions(win) {
9804
9858
 
9805
9859
  // src/mock-doc/document.ts
9806
9860
  var MockDocument = class _MockDocument extends MockHTMLElement {
9861
+ defaultView;
9862
+ cookie;
9863
+ referrer;
9807
9864
  constructor(html = null, win = null) {
9808
9865
  super(null, null);
9809
9866
  this.nodeName = "#document" /* DOCUMENT_NODE */;