1"use strict";(self.webpackChunkelectronjs=self.webpackChunkelectronjs||[]).push([["27440"],{78400(e,t,s){s.r(t),s.d(t,{metadata:()=>r,default:()=>d,frontMatter:()=>o,contentTitle:()=>i,toc:()=>l,assets:()=>u});var r=JSON.parse('{"id":"latest/api/structures/web-source","title":"WebSource Object","description":"","source":"@site/docs/latest/api/structures/web-source.md","sourceDirName":"latest/api/structures","slug":"/latest/api/structures/web-source","permalink":"/docs/latest/api/structures/web-source","draft":false,"unlisted":false,"editUrl":"https://github.com/electron/electron/edit/main/docs/api/structures/web-source.md","tags":[],"version":"current","frontMatter":{"title":"WebSource Object","description":"","slug":"web-source","hide_title":false},"sidebar":"api","previous":{"title":"WebSocketOptions Object","permalink":"/docs/latest/api/structures/web-socket-options"},"next":{"title":"WebAuthnAccount Object","permalink":"/docs/latest/api/structures/webauthn-account"}}'),c=s(74848),n=s(28453);let o={title:"WebSource Object",description:"",slug:"web-source",hide_title:!1},i="WebSource Object",u={},l=[];function a(e){let t={code:"code",h1:"h1",header:"header",li:"li",ul:"ul",...(0,n.R)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(t.header,{children:(0,c.jsx)(t.h1,{id:"websource-object",children:"WebSource Object"})}),"\n",(0,c.jsxs)(t.ul,{children:["\n",(0,c.jsxs)(t.li,{children:[(0,c.jsx)(t.code,{children:"code"})," string"]}),"\n",(0,c.jsxs)(t.li,{children:[(0,c.jsx)(t.code,{children:"url"})," string (optional)"]}),"\n"]})]})}function d(e={}){let{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,c.jsx)(t,{...e,children:(0,c.jsx)(a,{...e})}):a(e)}},28453(e,t,s){s.d(t,{R:()=>o,x:()=>i});var r=s(96540);let c={},n=r.createContext(c);function o(e){let t=r.useContext(n);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:o(e.components),r.createElement(n.Provider,{value:t},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.