docs: function applyPassive(globalObj = window, forceRefresh = false) {
    if (supportsPassive_ === undefined || forceRefresh) {
      let isSupported = false;
      try {
        /* eslint-disable getter-return */
        globalObj.document.addEventListener('test', null, {
          get passive() {
            isSupported = true;
          },
        });
      } catch (e) {
        /* 不支持 */
      }
  
      supportsPassive_ = isSupported;
    }
  
    return supportsPassive_ ? { passive: true } : false;
  }