puppeteer/assets/js/14631aa4.cc1e984f.js
2021-10-07 15:21:45 +00:00

1 line
4.3 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[17380],{3905:function(e,r,t){t.d(r,{Zo:function(){return u},kt:function(){return f}});var n=t(67294);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function p(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function s(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?p(Object(t),!0).forEach((function(r){o(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function a(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},p=Object.keys(e);for(n=0;n<p.length;n++)t=p[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(n=0;n<p.length;n++)t=p[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var i=n.createContext({}),c=function(e){var r=n.useContext(i),t=r;return e&&(t="function"==typeof e?e(r):s(s({},r),e)),t},u=function(e){var r=c(e.components);return n.createElement(i.Provider,{value:r},e.children)},l={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},m=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,p=e.originalType,i=e.parentName,u=a(e,["components","mdxType","originalType","parentName"]),m=c(t),f=o,y=m["".concat(i,".").concat(f)]||m[f]||l[f]||p;return t?n.createElement(y,s(s({ref:r},u),{},{components:t})):n.createElement(y,s({ref:r},u))}));function f(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var p=t.length,s=new Array(p);s[0]=m;var a={};for(var i in r)hasOwnProperty.call(r,i)&&(a[i]=r[i]);a.originalType=e,a.mdxType="string"==typeof e?e:o,s[1]=a;for(var c=2;c<p;c++)s[c]=t[c];return n.createElement.apply(null,s)}return n.createElement.apply(null,t)}m.displayName="MDXCreateElement"},70588:function(e,r,t){t.r(r),t.d(r,{frontMatter:function(){return a},contentTitle:function(){return i},metadata:function(){return c},toc:function(){return u},default:function(){return m}});var n=t(87462),o=t(63366),p=(t(67294),t(3905)),s=["components"],a={},i=void 0,c={unversionedId:"puppeteer.jscoverageoptions.reportanonymousscripts",id:"version-10.0.0/puppeteer.jscoverageoptions.reportanonymousscripts",isDocsHomePage:!1,title:"puppeteer.jscoverageoptions.reportanonymousscripts",description:"Home &gt; puppeteer &gt; JSCoverageOptions &gt; reportAnonymousScripts",source:"@site/versioned_docs/version-10.0.0/puppeteer.jscoverageoptions.reportanonymousscripts.md",sourceDirName:".",slug:"/puppeteer.jscoverageoptions.reportanonymousscripts",permalink:"/puppeteer/docs/10.0.0/puppeteer.jscoverageoptions.reportanonymousscripts",editUrl:"https://github.com/facebook/puppeteer/edit/main/website/versioned_docs/version-10.0.0/puppeteer.jscoverageoptions.reportanonymousscripts.md",version:"10.0.0",frontMatter:{}},u=[{value:"JSCoverageOptions.reportAnonymousScripts property",id:"jscoverageoptionsreportanonymousscripts-property",children:[]}],l={toc:u};function m(e){var r=e.components,t=(0,o.Z)(e,s);return(0,p.kt)("wrapper",(0,n.Z)({},l,t,{components:r,mdxType:"MDXLayout"}),(0,p.kt)("p",null,(0,p.kt)("a",{parentName:"p",href:"/puppeteer/docs/10.0.0/index"},"Home")," ",">"," ",(0,p.kt)("a",{parentName:"p",href:"/puppeteer/docs/10.0.0/puppeteer"},"puppeteer")," ",">"," ",(0,p.kt)("a",{parentName:"p",href:"/puppeteer/docs/10.0.0/puppeteer.jscoverageoptions"},"JSCoverageOptions")," ",">"," ",(0,p.kt)("a",{parentName:"p",href:"/puppeteer/docs/10.0.0/puppeteer.jscoverageoptions.reportanonymousscripts"},"reportAnonymousScripts")),(0,p.kt)("h2",{id:"jscoverageoptionsreportanonymousscripts-property"},"JSCoverageOptions.reportAnonymousScripts property"),(0,p.kt)("p",null,"Whether anonymous scripts generated by the page should be reported."),(0,p.kt)("b",null,"Signature:"),(0,p.kt)("pre",null,(0,p.kt)("code",{parentName:"pre",className:"language-typescript"},"reportAnonymousScripts?: boolean;\n")))}m.isMDXComponent=!0}}]);