Lines Matching refs:global_scope
7 (function (global_scope)
519 if ('document' in global_scope) {
522 if ('DedicatedWorkerGlobalScope' in global_scope &&
523 global_scope instanceof DedicatedWorkerGlobalScope) {
526 if ('SharedWorkerGlobalScope' in global_scope &&
527 global_scope instanceof SharedWorkerGlobalScope) {
530 if ('ServiceWorkerGlobalScope' in global_scope &&
531 global_scope instanceof ServiceWorkerGlobalScope) {
534 if ('WorkerGlobalScope' in global_scope &&
535 global_scope instanceof WorkerGlobalScope) {
544 if (global_scope.GLOBAL && global_scope.GLOBAL.isShadowRealm()) {
554 return 'SharedWorker' in global_scope && worker instanceof SharedWorker;
560 return 'ServiceWorker' in global_scope &&
2914 if (global_scope.clearTimeout) {
3411 this.output = settings.output && 'document' in global_scope;
3499 if (global_scope.clearTimeout) {
4679 var target = global_scope;
4701 if (!('document' in global_scope)) {
4726 if ('document' in global_scope) {
4733 if ('META_TITLE' in global_scope && META_TITLE) {
4736 if ('location' in global_scope) {
4748 if (global_scope.addEventListener) {