Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/pmb/node_modules_old/jsdom/lib/jsdom/living/nodes/ drwxrwxrwx | |
| Viewing file: Select action/file-type: "use strict";
const { nodeRoot } = require("../helpers/node");
const { mixin } = require("../../utils");
const DocumentFragment = require("./DocumentFragment-impl").implementation;
const DocumentOrShadowRootImpl = require("./DocumentOrShadowRoot-impl").implementation;
const InnerHTMLImpl = require("../domparsing/InnerHTML-impl").implementation;
class ShadowRootImpl extends DocumentFragment {
constructor(globalObject, args, privateData) {
super(globalObject, args, privateData);
const { mode } = privateData;
this._mode = mode;
}
_getTheParent(event) {
if (!event.composed && this === nodeRoot(event._path[0].item)) {
return null;
}
return this._host;
}
get mode() {
return this._mode;
}
get host() {
return this._host;
}
}
mixin(ShadowRootImpl.prototype, DocumentOrShadowRootImpl.prototype);
mixin(ShadowRootImpl.prototype, InnerHTMLImpl.prototype);
module.exports = {
implementation: ShadowRootImpl
};
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0048 ]-- |