|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734 |
- Protocol.Accessibility = {};
-
-
- /**
- * @constructor
- */
- Protocol.AccessibilityAgent = function(){};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.AccessibilityAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.AccessibilityAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.AccessibilityAgent.DisableResponse;
- /**
- * @param {!Protocol.AccessibilityAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.AccessibilityAgent.DisableResponse>} */
- Protocol.AccessibilityAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.AccessibilityAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.AccessibilityAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.AccessibilityAgent.EnableResponse;
- /**
- * @param {!Protocol.AccessibilityAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.AccessibilityAgent.EnableResponse>} */
- Protocol.AccessibilityAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId=} opt_nodeId
- * @param {Protocol.DOM.BackendNodeId=} opt_backendNodeId
- * @param {Protocol.Runtime.RemoteObjectId=} opt_objectId
- * @param {boolean=} opt_fetchRelatives
- * @return {!Promise<?Array<Protocol.Accessibility.AXNode>>}
- */
- Protocol.AccessibilityAgent.prototype.getPartialAXTree = function(opt_nodeId, opt_backendNodeId, opt_objectId, opt_fetchRelatives) {};
- /** @typedef {!{objectId: (Protocol.Runtime.RemoteObjectId|undefined), nodeId: (Protocol.DOM.NodeId|undefined), backendNodeId: (Protocol.DOM.BackendNodeId|undefined), fetchRelatives: (boolean|undefined)}} */
- Protocol.AccessibilityAgent.GetPartialAXTreeRequest;
- /** @typedef {!{nodes: !Array<Protocol.Accessibility.AXNode>}} */
- Protocol.AccessibilityAgent.GetPartialAXTreeResponse;
- /**
- * @param {!Protocol.AccessibilityAgent.GetPartialAXTreeRequest} obj
- * @return {!Promise<!Protocol.AccessibilityAgent.GetPartialAXTreeResponse>} */
- Protocol.AccessibilityAgent.prototype.invoke_getPartialAXTree = function(obj) {};
-
- /**
- * @return {!Promise<?Array<Protocol.Accessibility.AXNode>>}
- */
- Protocol.AccessibilityAgent.prototype.getFullAXTree = function() {};
- /** @typedef {Object|undefined} */
- Protocol.AccessibilityAgent.GetFullAXTreeRequest;
- /** @typedef {!{nodes: !Array<Protocol.Accessibility.AXNode>}} */
- Protocol.AccessibilityAgent.GetFullAXTreeResponse;
- /**
- * @param {!Protocol.AccessibilityAgent.GetFullAXTreeRequest} obj
- * @return {!Promise<!Protocol.AccessibilityAgent.GetFullAXTreeResponse>} */
- Protocol.AccessibilityAgent.prototype.invoke_getFullAXTree = function(obj) {};
-
- /** @typedef {string} */
- Protocol.Accessibility.AXNodeId;
-
- /** @enum {string} */
- Protocol.Accessibility.AXValueType = {
- Boolean: "boolean",
- Tristate: "tristate",
- BooleanOrUndefined: "booleanOrUndefined",
- Idref: "idref",
- IdrefList: "idrefList",
- Integer: "integer",
- Node: "node",
- NodeList: "nodeList",
- Number: "number",
- String: "string",
- ComputedString: "computedString",
- Token: "token",
- TokenList: "tokenList",
- DomRelation: "domRelation",
- Role: "role",
- InternalRole: "internalRole",
- ValueUndefined: "valueUndefined"
- };
-
- /** @enum {string} */
- Protocol.Accessibility.AXValueSourceType = {
- Attribute: "attribute",
- Implicit: "implicit",
- Style: "style",
- Contents: "contents",
- Placeholder: "placeholder",
- RelatedElement: "relatedElement"
- };
-
- /** @enum {string} */
- Protocol.Accessibility.AXValueNativeSourceType = {
- Figcaption: "figcaption",
- Label: "label",
- Labelfor: "labelfor",
- Labelwrapped: "labelwrapped",
- Legend: "legend",
- Tablecaption: "tablecaption",
- Title: "title",
- Other: "other"
- };
-
- /** @typedef {!{type:(Protocol.Accessibility.AXValueSourceType), value:(Protocol.Accessibility.AXValue|undefined), attribute:(string|undefined), attributeValue:(Protocol.Accessibility.AXValue|undefined), superseded:(boolean|undefined), nativeSource:(Protocol.Accessibility.AXValueNativeSourceType|undefined), nativeSourceValue:(Protocol.Accessibility.AXValue|undefined), invalid:(boolean|undefined), invalidReason:(string|undefined)}} */
- Protocol.Accessibility.AXValueSource;
-
- /** @typedef {!{backendDOMNodeId:(Protocol.DOM.BackendNodeId), idref:(string|undefined), text:(string|undefined)}} */
- Protocol.Accessibility.AXRelatedNode;
-
- /** @typedef {!{name:(Protocol.Accessibility.AXPropertyName), value:(Protocol.Accessibility.AXValue)}} */
- Protocol.Accessibility.AXProperty;
-
- /** @typedef {!{type:(Protocol.Accessibility.AXValueType), value:(*|undefined), relatedNodes:(!Array<Protocol.Accessibility.AXRelatedNode>|undefined), sources:(!Array<Protocol.Accessibility.AXValueSource>|undefined)}} */
- Protocol.Accessibility.AXValue;
-
- /** @enum {string} */
- Protocol.Accessibility.AXPropertyName = {
- Busy: "busy",
- Disabled: "disabled",
- Editable: "editable",
- Focusable: "focusable",
- Focused: "focused",
- Hidden: "hidden",
- HiddenRoot: "hiddenRoot",
- Invalid: "invalid",
- Keyshortcuts: "keyshortcuts",
- Settable: "settable",
- Roledescription: "roledescription",
- Live: "live",
- Atomic: "atomic",
- Relevant: "relevant",
- Root: "root",
- Autocomplete: "autocomplete",
- HasPopup: "hasPopup",
- Level: "level",
- Multiselectable: "multiselectable",
- Orientation: "orientation",
- Multiline: "multiline",
- Readonly: "readonly",
- Required: "required",
- Valuemin: "valuemin",
- Valuemax: "valuemax",
- Valuetext: "valuetext",
- Checked: "checked",
- Expanded: "expanded",
- Modal: "modal",
- Pressed: "pressed",
- Selected: "selected",
- Activedescendant: "activedescendant",
- Controls: "controls",
- Describedby: "describedby",
- Details: "details",
- Errormessage: "errormessage",
- Flowto: "flowto",
- Labelledby: "labelledby",
- Owns: "owns"
- };
-
- /** @typedef {!{nodeId:(Protocol.Accessibility.AXNodeId), ignored:(boolean), ignoredReasons:(!Array<Protocol.Accessibility.AXProperty>|undefined), role:(Protocol.Accessibility.AXValue|undefined), name:(Protocol.Accessibility.AXValue|undefined), description:(Protocol.Accessibility.AXValue|undefined), value:(Protocol.Accessibility.AXValue|undefined), properties:(!Array<Protocol.Accessibility.AXProperty>|undefined), childIds:(!Array<Protocol.Accessibility.AXNodeId>|undefined), backendDOMNodeId:(Protocol.DOM.BackendNodeId|undefined)}} */
- Protocol.Accessibility.AXNode;
- /** @interface */
- Protocol.AccessibilityDispatcher = function() {};
- Protocol.Animation = {};
-
-
- /**
- * @constructor
- */
- Protocol.AnimationAgent = function(){};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.AnimationAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.AnimationAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.AnimationAgent.DisableResponse;
- /**
- * @param {!Protocol.AnimationAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.AnimationAgent.DisableResponse>} */
- Protocol.AnimationAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.AnimationAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.AnimationAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.AnimationAgent.EnableResponse;
- /**
- * @param {!Protocol.AnimationAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.AnimationAgent.EnableResponse>} */
- Protocol.AnimationAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @param {string} id
- * @return {!Promise<?number>}
- */
- Protocol.AnimationAgent.prototype.getCurrentTime = function(id) {};
- /** @typedef {!{id: string}} */
- Protocol.AnimationAgent.GetCurrentTimeRequest;
- /** @typedef {!{currentTime: number}} */
- Protocol.AnimationAgent.GetCurrentTimeResponse;
- /**
- * @param {!Protocol.AnimationAgent.GetCurrentTimeRequest} obj
- * @return {!Promise<!Protocol.AnimationAgent.GetCurrentTimeResponse>} */
- Protocol.AnimationAgent.prototype.invoke_getCurrentTime = function(obj) {};
-
- /**
- * @return {!Promise<?number>}
- */
- Protocol.AnimationAgent.prototype.getPlaybackRate = function() {};
- /** @typedef {Object|undefined} */
- Protocol.AnimationAgent.GetPlaybackRateRequest;
- /** @typedef {!{playbackRate: number}} */
- Protocol.AnimationAgent.GetPlaybackRateResponse;
- /**
- * @param {!Protocol.AnimationAgent.GetPlaybackRateRequest} obj
- * @return {!Promise<!Protocol.AnimationAgent.GetPlaybackRateResponse>} */
- Protocol.AnimationAgent.prototype.invoke_getPlaybackRate = function(obj) {};
-
- /**
- * @param {!Array<string>} animations
- * @return {!Promise<undefined>}
- */
- Protocol.AnimationAgent.prototype.releaseAnimations = function(animations) {};
- /** @typedef {!{animations: !Array<string>}} */
- Protocol.AnimationAgent.ReleaseAnimationsRequest;
- /** @typedef {Object|undefined} */
- Protocol.AnimationAgent.ReleaseAnimationsResponse;
- /**
- * @param {!Protocol.AnimationAgent.ReleaseAnimationsRequest} obj
- * @return {!Promise<!Protocol.AnimationAgent.ReleaseAnimationsResponse>} */
- Protocol.AnimationAgent.prototype.invoke_releaseAnimations = function(obj) {};
-
- /**
- * @param {string} animationId
- * @return {!Promise<?Protocol.Runtime.RemoteObject>}
- */
- Protocol.AnimationAgent.prototype.resolveAnimation = function(animationId) {};
- /** @typedef {!{animationId: string}} */
- Protocol.AnimationAgent.ResolveAnimationRequest;
- /** @typedef {!{remoteObject: Protocol.Runtime.RemoteObject}} */
- Protocol.AnimationAgent.ResolveAnimationResponse;
- /**
- * @param {!Protocol.AnimationAgent.ResolveAnimationRequest} obj
- * @return {!Promise<!Protocol.AnimationAgent.ResolveAnimationResponse>} */
- Protocol.AnimationAgent.prototype.invoke_resolveAnimation = function(obj) {};
-
- /**
- * @param {!Array<string>} animations
- * @param {number} currentTime
- * @return {!Promise<undefined>}
- */
- Protocol.AnimationAgent.prototype.seekAnimations = function(animations, currentTime) {};
- /** @typedef {!{currentTime: number, animations: !Array<string>}} */
- Protocol.AnimationAgent.SeekAnimationsRequest;
- /** @typedef {Object|undefined} */
- Protocol.AnimationAgent.SeekAnimationsResponse;
- /**
- * @param {!Protocol.AnimationAgent.SeekAnimationsRequest} obj
- * @return {!Promise<!Protocol.AnimationAgent.SeekAnimationsResponse>} */
- Protocol.AnimationAgent.prototype.invoke_seekAnimations = function(obj) {};
-
- /**
- * @param {!Array<string>} animations
- * @param {boolean} paused
- * @return {!Promise<undefined>}
- */
- Protocol.AnimationAgent.prototype.setPaused = function(animations, paused) {};
- /** @typedef {!{paused: boolean, animations: !Array<string>}} */
- Protocol.AnimationAgent.SetPausedRequest;
- /** @typedef {Object|undefined} */
- Protocol.AnimationAgent.SetPausedResponse;
- /**
- * @param {!Protocol.AnimationAgent.SetPausedRequest} obj
- * @return {!Promise<!Protocol.AnimationAgent.SetPausedResponse>} */
- Protocol.AnimationAgent.prototype.invoke_setPaused = function(obj) {};
-
- /**
- * @param {number} playbackRate
- * @return {!Promise<undefined>}
- */
- Protocol.AnimationAgent.prototype.setPlaybackRate = function(playbackRate) {};
- /** @typedef {!{playbackRate: number}} */
- Protocol.AnimationAgent.SetPlaybackRateRequest;
- /** @typedef {Object|undefined} */
- Protocol.AnimationAgent.SetPlaybackRateResponse;
- /**
- * @param {!Protocol.AnimationAgent.SetPlaybackRateRequest} obj
- * @return {!Promise<!Protocol.AnimationAgent.SetPlaybackRateResponse>} */
- Protocol.AnimationAgent.prototype.invoke_setPlaybackRate = function(obj) {};
-
- /**
- * @param {string} animationId
- * @param {number} duration
- * @param {number} delay
- * @return {!Promise<undefined>}
- */
- Protocol.AnimationAgent.prototype.setTiming = function(animationId, duration, delay) {};
- /** @typedef {!{duration: number, delay: number, animationId: string}} */
- Protocol.AnimationAgent.SetTimingRequest;
- /** @typedef {Object|undefined} */
- Protocol.AnimationAgent.SetTimingResponse;
- /**
- * @param {!Protocol.AnimationAgent.SetTimingRequest} obj
- * @return {!Promise<!Protocol.AnimationAgent.SetTimingResponse>} */
- Protocol.AnimationAgent.prototype.invoke_setTiming = function(obj) {};
-
- /** @enum {string} */
- Protocol.Animation.AnimationType = {
- CSSTransition: "CSSTransition",
- CSSAnimation: "CSSAnimation",
- WebAnimation: "WebAnimation"
- };
-
- /** @typedef {!{id:(string), name:(string), pausedState:(boolean), playState:(string), playbackRate:(number), startTime:(number), currentTime:(number), type:(Protocol.Animation.AnimationType), source:(Protocol.Animation.AnimationEffect|undefined), cssId:(string|undefined)}} */
- Protocol.Animation.Animation;
-
- /** @typedef {!{delay:(number), endDelay:(number), iterationStart:(number), iterations:(number), duration:(number), direction:(string), fill:(string), backendNodeId:(Protocol.DOM.BackendNodeId|undefined), keyframesRule:(Protocol.Animation.KeyframesRule|undefined), easing:(string)}} */
- Protocol.Animation.AnimationEffect;
-
- /** @typedef {!{name:(string|undefined), keyframes:(!Array<Protocol.Animation.KeyframeStyle>)}} */
- Protocol.Animation.KeyframesRule;
-
- /** @typedef {!{offset:(string), easing:(string)}} */
- Protocol.Animation.KeyframeStyle;
- /** @interface */
- Protocol.AnimationDispatcher = function() {};
- /**
- * @param {string} id
- */
- Protocol.AnimationDispatcher.prototype.animationCanceled = function(id) {};
- /**
- * @param {string} id
- */
- Protocol.AnimationDispatcher.prototype.animationCreated = function(id) {};
- /**
- * @param {Protocol.Animation.Animation} animation
- */
- Protocol.AnimationDispatcher.prototype.animationStarted = function(animation) {};
- Protocol.ApplicationCache = {};
-
-
- /**
- * @constructor
- */
- Protocol.ApplicationCacheAgent = function(){};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.ApplicationCacheAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.ApplicationCacheAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.ApplicationCacheAgent.EnableResponse;
- /**
- * @param {!Protocol.ApplicationCacheAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.ApplicationCacheAgent.EnableResponse>} */
- Protocol.ApplicationCacheAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @param {Protocol.Page.FrameId} frameId
- * @return {!Promise<?Protocol.ApplicationCache.ApplicationCache>}
- */
- Protocol.ApplicationCacheAgent.prototype.getApplicationCacheForFrame = function(frameId) {};
- /** @typedef {!{frameId: Protocol.Page.FrameId}} */
- Protocol.ApplicationCacheAgent.GetApplicationCacheForFrameRequest;
- /** @typedef {!{applicationCache: Protocol.ApplicationCache.ApplicationCache}} */
- Protocol.ApplicationCacheAgent.GetApplicationCacheForFrameResponse;
- /**
- * @param {!Protocol.ApplicationCacheAgent.GetApplicationCacheForFrameRequest} obj
- * @return {!Promise<!Protocol.ApplicationCacheAgent.GetApplicationCacheForFrameResponse>} */
- Protocol.ApplicationCacheAgent.prototype.invoke_getApplicationCacheForFrame = function(obj) {};
-
- /**
- * @return {!Promise<?Array<Protocol.ApplicationCache.FrameWithManifest>>}
- */
- Protocol.ApplicationCacheAgent.prototype.getFramesWithManifests = function() {};
- /** @typedef {Object|undefined} */
- Protocol.ApplicationCacheAgent.GetFramesWithManifestsRequest;
- /** @typedef {!{frameIds: !Array<Protocol.ApplicationCache.FrameWithManifest>}} */
- Protocol.ApplicationCacheAgent.GetFramesWithManifestsResponse;
- /**
- * @param {!Protocol.ApplicationCacheAgent.GetFramesWithManifestsRequest} obj
- * @return {!Promise<!Protocol.ApplicationCacheAgent.GetFramesWithManifestsResponse>} */
- Protocol.ApplicationCacheAgent.prototype.invoke_getFramesWithManifests = function(obj) {};
-
- /**
- * @param {Protocol.Page.FrameId} frameId
- * @return {!Promise<?string>}
- */
- Protocol.ApplicationCacheAgent.prototype.getManifestForFrame = function(frameId) {};
- /** @typedef {!{frameId: Protocol.Page.FrameId}} */
- Protocol.ApplicationCacheAgent.GetManifestForFrameRequest;
- /** @typedef {!{manifestURL: string}} */
- Protocol.ApplicationCacheAgent.GetManifestForFrameResponse;
- /**
- * @param {!Protocol.ApplicationCacheAgent.GetManifestForFrameRequest} obj
- * @return {!Promise<!Protocol.ApplicationCacheAgent.GetManifestForFrameResponse>} */
- Protocol.ApplicationCacheAgent.prototype.invoke_getManifestForFrame = function(obj) {};
-
- /** @typedef {!{url:(string), size:(number), type:(string)}} */
- Protocol.ApplicationCache.ApplicationCacheResource;
-
- /** @typedef {!{manifestURL:(string), size:(number), creationTime:(number), updateTime:(number), resources:(!Array<Protocol.ApplicationCache.ApplicationCacheResource>)}} */
- Protocol.ApplicationCache.ApplicationCache;
-
- /** @typedef {!{frameId:(Protocol.Page.FrameId), manifestURL:(string), status:(number)}} */
- Protocol.ApplicationCache.FrameWithManifest;
- /** @interface */
- Protocol.ApplicationCacheDispatcher = function() {};
- /**
- * @param {Protocol.Page.FrameId} frameId
- * @param {string} manifestURL
- * @param {number} status
- */
- Protocol.ApplicationCacheDispatcher.prototype.applicationCacheStatusUpdated = function(frameId, manifestURL, status) {};
- /**
- * @param {boolean} isNowOnline
- */
- Protocol.ApplicationCacheDispatcher.prototype.networkStateUpdated = function(isNowOnline) {};
- Protocol.Audits = {};
-
-
- /**
- * @constructor
- */
- Protocol.AuditsAgent = function(){};
-
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @param {string} encoding
- * @param {number=} opt_quality
- * @param {boolean=} opt_sizeOnly
- * @return {!Promise<?string>}
- */
- Protocol.AuditsAgent.prototype.getEncodedResponse = function(requestId, encoding, opt_quality, opt_sizeOnly) {};
- /** @typedef {!{sizeOnly: (boolean|undefined), quality: (number|undefined), requestId: Protocol.Network.RequestId, encoding: string}} */
- Protocol.AuditsAgent.GetEncodedResponseRequest;
- /** @typedef {!{body: string, encodedSize: number, originalSize: number}} */
- Protocol.AuditsAgent.GetEncodedResponseResponse;
- /**
- * @param {!Protocol.AuditsAgent.GetEncodedResponseRequest} obj
- * @return {!Promise<!Protocol.AuditsAgent.GetEncodedResponseResponse>} */
- Protocol.AuditsAgent.prototype.invoke_getEncodedResponse = function(obj) {};
- /** @interface */
- Protocol.AuditsDispatcher = function() {};
- Protocol.BackgroundService = {};
-
-
- /**
- * @constructor
- */
- Protocol.BackgroundServiceAgent = function(){};
-
- /**
- * @param {Protocol.BackgroundService.ServiceName} service
- * @return {!Promise<undefined>}
- */
- Protocol.BackgroundServiceAgent.prototype.startObserving = function(service) {};
- /** @typedef {!{service: Protocol.BackgroundService.ServiceName}} */
- Protocol.BackgroundServiceAgent.StartObservingRequest;
- /** @typedef {Object|undefined} */
- Protocol.BackgroundServiceAgent.StartObservingResponse;
- /**
- * @param {!Protocol.BackgroundServiceAgent.StartObservingRequest} obj
- * @return {!Promise<!Protocol.BackgroundServiceAgent.StartObservingResponse>} */
- Protocol.BackgroundServiceAgent.prototype.invoke_startObserving = function(obj) {};
-
- /**
- * @param {Protocol.BackgroundService.ServiceName} service
- * @return {!Promise<undefined>}
- */
- Protocol.BackgroundServiceAgent.prototype.stopObserving = function(service) {};
- /** @typedef {!{service: Protocol.BackgroundService.ServiceName}} */
- Protocol.BackgroundServiceAgent.StopObservingRequest;
- /** @typedef {Object|undefined} */
- Protocol.BackgroundServiceAgent.StopObservingResponse;
- /**
- * @param {!Protocol.BackgroundServiceAgent.StopObservingRequest} obj
- * @return {!Promise<!Protocol.BackgroundServiceAgent.StopObservingResponse>} */
- Protocol.BackgroundServiceAgent.prototype.invoke_stopObserving = function(obj) {};
-
- /**
- * @param {boolean} shouldRecord
- * @param {Protocol.BackgroundService.ServiceName} service
- * @return {!Promise<undefined>}
- */
- Protocol.BackgroundServiceAgent.prototype.setRecording = function(shouldRecord, service) {};
- /** @typedef {!{shouldRecord: boolean, service: Protocol.BackgroundService.ServiceName}} */
- Protocol.BackgroundServiceAgent.SetRecordingRequest;
- /** @typedef {Object|undefined} */
- Protocol.BackgroundServiceAgent.SetRecordingResponse;
- /**
- * @param {!Protocol.BackgroundServiceAgent.SetRecordingRequest} obj
- * @return {!Promise<!Protocol.BackgroundServiceAgent.SetRecordingResponse>} */
- Protocol.BackgroundServiceAgent.prototype.invoke_setRecording = function(obj) {};
-
- /**
- * @param {Protocol.BackgroundService.ServiceName} service
- * @return {!Promise<undefined>}
- */
- Protocol.BackgroundServiceAgent.prototype.clearEvents = function(service) {};
- /** @typedef {!{service: Protocol.BackgroundService.ServiceName}} */
- Protocol.BackgroundServiceAgent.ClearEventsRequest;
- /** @typedef {Object|undefined} */
- Protocol.BackgroundServiceAgent.ClearEventsResponse;
- /**
- * @param {!Protocol.BackgroundServiceAgent.ClearEventsRequest} obj
- * @return {!Promise<!Protocol.BackgroundServiceAgent.ClearEventsResponse>} */
- Protocol.BackgroundServiceAgent.prototype.invoke_clearEvents = function(obj) {};
-
- /** @enum {string} */
- Protocol.BackgroundService.ServiceName = {
- BackgroundFetch: "backgroundFetch",
- BackgroundSync: "backgroundSync",
- PushMessaging: "pushMessaging",
- Notifications: "notifications",
- PaymentHandler: "paymentHandler",
- PeriodicBackgroundSync: "periodicBackgroundSync"
- };
-
- /** @typedef {!{key:(string), value:(string)}} */
- Protocol.BackgroundService.EventMetadata;
-
- /** @typedef {!{timestamp:(Protocol.Network.TimeSinceEpoch), origin:(string), serviceWorkerRegistrationId:(Protocol.ServiceWorker.RegistrationID), service:(Protocol.BackgroundService.ServiceName), eventName:(string), instanceId:(string), eventMetadata:(!Array<Protocol.BackgroundService.EventMetadata>)}} */
- Protocol.BackgroundService.BackgroundServiceEvent;
- /** @interface */
- Protocol.BackgroundServiceDispatcher = function() {};
- /**
- * @param {boolean} isRecording
- * @param {Protocol.BackgroundService.ServiceName} service
- */
- Protocol.BackgroundServiceDispatcher.prototype.recordingStateChanged = function(isRecording, service) {};
- /**
- * @param {Protocol.BackgroundService.BackgroundServiceEvent} backgroundServiceEvent
- */
- Protocol.BackgroundServiceDispatcher.prototype.backgroundServiceEventReceived = function(backgroundServiceEvent) {};
- Protocol.Browser = {};
-
-
- /**
- * @constructor
- */
- Protocol.BrowserAgent = function(){};
-
- /**
- * @param {string} origin
- * @param {Protocol.Browser.PermissionDescriptor} permission
- * @param {Protocol.Browser.PermissionSetting} setting
- * @param {Protocol.Target.TargetID=} opt_browserContextId
- * @return {!Promise<undefined>}
- */
- Protocol.BrowserAgent.prototype.setPermission = function(origin, permission, setting, opt_browserContextId) {};
- /** @typedef {!{origin: string, browserContextId: (Protocol.Target.TargetID|undefined), setting: Protocol.Browser.PermissionSetting, permission: Protocol.Browser.PermissionDescriptor}} */
- Protocol.BrowserAgent.SetPermissionRequest;
- /** @typedef {Object|undefined} */
- Protocol.BrowserAgent.SetPermissionResponse;
- /**
- * @param {!Protocol.BrowserAgent.SetPermissionRequest} obj
- * @return {!Promise<!Protocol.BrowserAgent.SetPermissionResponse>} */
- Protocol.BrowserAgent.prototype.invoke_setPermission = function(obj) {};
-
- /**
- * @param {string} origin
- * @param {!Array<Protocol.Browser.PermissionType>} permissions
- * @param {Protocol.Target.BrowserContextID=} opt_browserContextId
- * @return {!Promise<undefined>}
- */
- Protocol.BrowserAgent.prototype.grantPermissions = function(origin, permissions, opt_browserContextId) {};
- /** @typedef {!{origin: string, browserContextId: (Protocol.Target.BrowserContextID|undefined), permissions: !Array<Protocol.Browser.PermissionType>}} */
- Protocol.BrowserAgent.GrantPermissionsRequest;
- /** @typedef {Object|undefined} */
- Protocol.BrowserAgent.GrantPermissionsResponse;
- /**
- * @param {!Protocol.BrowserAgent.GrantPermissionsRequest} obj
- * @return {!Promise<!Protocol.BrowserAgent.GrantPermissionsResponse>} */
- Protocol.BrowserAgent.prototype.invoke_grantPermissions = function(obj) {};
-
- /**
- * @param {Protocol.Target.BrowserContextID=} opt_browserContextId
- * @return {!Promise<undefined>}
- */
- Protocol.BrowserAgent.prototype.resetPermissions = function(opt_browserContextId) {};
- /** @typedef {!{browserContextId: (Protocol.Target.BrowserContextID|undefined)}} */
- Protocol.BrowserAgent.ResetPermissionsRequest;
- /** @typedef {Object|undefined} */
- Protocol.BrowserAgent.ResetPermissionsResponse;
- /**
- * @param {!Protocol.BrowserAgent.ResetPermissionsRequest} obj
- * @return {!Promise<!Protocol.BrowserAgent.ResetPermissionsResponse>} */
- Protocol.BrowserAgent.prototype.invoke_resetPermissions = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.BrowserAgent.prototype.close = function() {};
- /** @typedef {Object|undefined} */
- Protocol.BrowserAgent.CloseRequest;
- /** @typedef {Object|undefined} */
- Protocol.BrowserAgent.CloseResponse;
- /**
- * @param {!Protocol.BrowserAgent.CloseRequest} obj
- * @return {!Promise<!Protocol.BrowserAgent.CloseResponse>} */
- Protocol.BrowserAgent.prototype.invoke_close = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.BrowserAgent.prototype.crash = function() {};
- /** @typedef {Object|undefined} */
- Protocol.BrowserAgent.CrashRequest;
- /** @typedef {Object|undefined} */
- Protocol.BrowserAgent.CrashResponse;
- /**
- * @param {!Protocol.BrowserAgent.CrashRequest} obj
- * @return {!Promise<!Protocol.BrowserAgent.CrashResponse>} */
- Protocol.BrowserAgent.prototype.invoke_crash = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.BrowserAgent.prototype.crashGpuProcess = function() {};
- /** @typedef {Object|undefined} */
- Protocol.BrowserAgent.CrashGpuProcessRequest;
- /** @typedef {Object|undefined} */
- Protocol.BrowserAgent.CrashGpuProcessResponse;
- /**
- * @param {!Protocol.BrowserAgent.CrashGpuProcessRequest} obj
- * @return {!Promise<!Protocol.BrowserAgent.CrashGpuProcessResponse>} */
- Protocol.BrowserAgent.prototype.invoke_crashGpuProcess = function(obj) {};
-
- /**
- * @return {!Promise<?string>}
- */
- Protocol.BrowserAgent.prototype.getVersion = function() {};
- /** @typedef {Object|undefined} */
- Protocol.BrowserAgent.GetVersionRequest;
- /** @typedef {!{userAgent: string, product: string, revision: string, jsVersion: string, protocolVersion: string}} */
- Protocol.BrowserAgent.GetVersionResponse;
- /**
- * @param {!Protocol.BrowserAgent.GetVersionRequest} obj
- * @return {!Promise<!Protocol.BrowserAgent.GetVersionResponse>} */
- Protocol.BrowserAgent.prototype.invoke_getVersion = function(obj) {};
-
- /**
- * @return {!Promise<?Array<string>>}
- */
- Protocol.BrowserAgent.prototype.getBrowserCommandLine = function() {};
- /** @typedef {Object|undefined} */
- Protocol.BrowserAgent.GetBrowserCommandLineRequest;
- /** @typedef {!{arguments: !Array<string>}} */
- Protocol.BrowserAgent.GetBrowserCommandLineResponse;
- /**
- * @param {!Protocol.BrowserAgent.GetBrowserCommandLineRequest} obj
- * @return {!Promise<!Protocol.BrowserAgent.GetBrowserCommandLineResponse>} */
- Protocol.BrowserAgent.prototype.invoke_getBrowserCommandLine = function(obj) {};
-
- /**
- * @param {string=} opt_query
- * @param {boolean=} opt_delta
- * @return {!Promise<?Array<Protocol.Browser.Histogram>>}
- */
- Protocol.BrowserAgent.prototype.getHistograms = function(opt_query, opt_delta) {};
- /** @typedef {!{query: (string|undefined), delta: (boolean|undefined)}} */
- Protocol.BrowserAgent.GetHistogramsRequest;
- /** @typedef {!{histograms: !Array<Protocol.Browser.Histogram>}} */
- Protocol.BrowserAgent.GetHistogramsResponse;
- /**
- * @param {!Protocol.BrowserAgent.GetHistogramsRequest} obj
- * @return {!Promise<!Protocol.BrowserAgent.GetHistogramsResponse>} */
- Protocol.BrowserAgent.prototype.invoke_getHistograms = function(obj) {};
-
- /**
- * @param {string} name
- * @param {boolean=} opt_delta
- * @return {!Promise<?Protocol.Browser.Histogram>}
- */
- Protocol.BrowserAgent.prototype.getHistogram = function(name, opt_delta) {};
- /** @typedef {!{name: string, delta: (boolean|undefined)}} */
- Protocol.BrowserAgent.GetHistogramRequest;
- /** @typedef {!{histogram: Protocol.Browser.Histogram}} */
- Protocol.BrowserAgent.GetHistogramResponse;
- /**
- * @param {!Protocol.BrowserAgent.GetHistogramRequest} obj
- * @return {!Promise<!Protocol.BrowserAgent.GetHistogramResponse>} */
- Protocol.BrowserAgent.prototype.invoke_getHistogram = function(obj) {};
-
- /**
- * @param {Protocol.Browser.WindowID} windowId
- * @return {!Promise<?Protocol.Browser.Bounds>}
- */
- Protocol.BrowserAgent.prototype.getWindowBounds = function(windowId) {};
- /** @typedef {!{windowId: Protocol.Browser.WindowID}} */
- Protocol.BrowserAgent.GetWindowBoundsRequest;
- /** @typedef {!{bounds: Protocol.Browser.Bounds}} */
- Protocol.BrowserAgent.GetWindowBoundsResponse;
- /**
- * @param {!Protocol.BrowserAgent.GetWindowBoundsRequest} obj
- * @return {!Promise<!Protocol.BrowserAgent.GetWindowBoundsResponse>} */
- Protocol.BrowserAgent.prototype.invoke_getWindowBounds = function(obj) {};
-
- /**
- * @param {Protocol.Target.TargetID=} opt_targetId
- * @return {!Promise<?Protocol.Browser.WindowID>}
- */
- Protocol.BrowserAgent.prototype.getWindowForTarget = function(opt_targetId) {};
- /** @typedef {!{targetId: (Protocol.Target.TargetID|undefined)}} */
- Protocol.BrowserAgent.GetWindowForTargetRequest;
- /** @typedef {!{windowId: Protocol.Browser.WindowID, bounds: Protocol.Browser.Bounds}} */
- Protocol.BrowserAgent.GetWindowForTargetResponse;
- /**
- * @param {!Protocol.BrowserAgent.GetWindowForTargetRequest} obj
- * @return {!Promise<!Protocol.BrowserAgent.GetWindowForTargetResponse>} */
- Protocol.BrowserAgent.prototype.invoke_getWindowForTarget = function(obj) {};
-
- /**
- * @param {Protocol.Browser.WindowID} windowId
- * @param {Protocol.Browser.Bounds} bounds
- * @return {!Promise<undefined>}
- */
- Protocol.BrowserAgent.prototype.setWindowBounds = function(windowId, bounds) {};
- /** @typedef {!{windowId: Protocol.Browser.WindowID, bounds: Protocol.Browser.Bounds}} */
- Protocol.BrowserAgent.SetWindowBoundsRequest;
- /** @typedef {Object|undefined} */
- Protocol.BrowserAgent.SetWindowBoundsResponse;
- /**
- * @param {!Protocol.BrowserAgent.SetWindowBoundsRequest} obj
- * @return {!Promise<!Protocol.BrowserAgent.SetWindowBoundsResponse>} */
- Protocol.BrowserAgent.prototype.invoke_setWindowBounds = function(obj) {};
-
- /**
- * @param {string=} opt_badgeLabel
- * @param {string=} opt_image
- * @return {!Promise<undefined>}
- */
- Protocol.BrowserAgent.prototype.setDockTile = function(opt_badgeLabel, opt_image) {};
- /** @typedef {!{image: (string|undefined), badgeLabel: (string|undefined)}} */
- Protocol.BrowserAgent.SetDockTileRequest;
- /** @typedef {Object|undefined} */
- Protocol.BrowserAgent.SetDockTileResponse;
- /**
- * @param {!Protocol.BrowserAgent.SetDockTileRequest} obj
- * @return {!Promise<!Protocol.BrowserAgent.SetDockTileResponse>} */
- Protocol.BrowserAgent.prototype.invoke_setDockTile = function(obj) {};
-
- /** @typedef {number} */
- Protocol.Browser.WindowID;
-
- /** @enum {string} */
- Protocol.Browser.WindowState = {
- Normal: "normal",
- Minimized: "minimized",
- Maximized: "maximized",
- Fullscreen: "fullscreen"
- };
-
- /** @typedef {!{left:(number|undefined), top:(number|undefined), width:(number|undefined), height:(number|undefined), windowState:(Protocol.Browser.WindowState|undefined)}} */
- Protocol.Browser.Bounds;
-
- /** @enum {string} */
- Protocol.Browser.PermissionType = {
- AccessibilityEvents: "accessibilityEvents",
- AudioCapture: "audioCapture",
- BackgroundSync: "backgroundSync",
- BackgroundFetch: "backgroundFetch",
- ClipboardRead: "clipboardRead",
- ClipboardWrite: "clipboardWrite",
- DurableStorage: "durableStorage",
- Flash: "flash",
- Geolocation: "geolocation",
- Midi: "midi",
- MidiSysex: "midiSysex",
- Notifications: "notifications",
- PaymentHandler: "paymentHandler",
- PeriodicBackgroundSync: "periodicBackgroundSync",
- ProtectedMediaIdentifier: "protectedMediaIdentifier",
- Sensors: "sensors",
- VideoCapture: "videoCapture",
- IdleDetection: "idleDetection",
- WakeLockScreen: "wakeLockScreen",
- WakeLockSystem: "wakeLockSystem"
- };
-
- /** @enum {string} */
- Protocol.Browser.PermissionSetting = {
- Granted: "granted",
- Denied: "denied",
- Prompt: "prompt"
- };
-
- /** @typedef {!{name:(string), sysex:(boolean|undefined), userVisibleOnly:(boolean|undefined), type:(string|undefined)}} */
- Protocol.Browser.PermissionDescriptor;
-
- /** @typedef {!{low:(number), high:(number), count:(number)}} */
- Protocol.Browser.Bucket;
-
- /** @typedef {!{name:(string), sum:(number), count:(number), buckets:(!Array<Protocol.Browser.Bucket>)}} */
- Protocol.Browser.Histogram;
- /** @interface */
- Protocol.BrowserDispatcher = function() {};
- Protocol.CSS = {};
-
-
- /**
- * @constructor
- */
- Protocol.CSSAgent = function(){};
-
- /**
- * @param {Protocol.CSS.StyleSheetId} styleSheetId
- * @param {string} ruleText
- * @param {Protocol.CSS.SourceRange} location
- * @return {!Promise<?Protocol.CSS.CSSRule>}
- */
- Protocol.CSSAgent.prototype.addRule = function(styleSheetId, ruleText, location) {};
- /** @typedef {!{styleSheetId: Protocol.CSS.StyleSheetId, location: Protocol.CSS.SourceRange, ruleText: string}} */
- Protocol.CSSAgent.AddRuleRequest;
- /** @typedef {!{rule: Protocol.CSS.CSSRule}} */
- Protocol.CSSAgent.AddRuleResponse;
- /**
- * @param {!Protocol.CSSAgent.AddRuleRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.AddRuleResponse>} */
- Protocol.CSSAgent.prototype.invoke_addRule = function(obj) {};
-
- /**
- * @param {Protocol.CSS.StyleSheetId} styleSheetId
- * @return {!Promise<?Array<string>>}
- */
- Protocol.CSSAgent.prototype.collectClassNames = function(styleSheetId) {};
- /** @typedef {!{styleSheetId: Protocol.CSS.StyleSheetId}} */
- Protocol.CSSAgent.CollectClassNamesRequest;
- /** @typedef {!{classNames: !Array<string>}} */
- Protocol.CSSAgent.CollectClassNamesResponse;
- /**
- * @param {!Protocol.CSSAgent.CollectClassNamesRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.CollectClassNamesResponse>} */
- Protocol.CSSAgent.prototype.invoke_collectClassNames = function(obj) {};
-
- /**
- * @param {Protocol.Page.FrameId} frameId
- * @return {!Promise<?Protocol.CSS.StyleSheetId>}
- */
- Protocol.CSSAgent.prototype.createStyleSheet = function(frameId) {};
- /** @typedef {!{frameId: Protocol.Page.FrameId}} */
- Protocol.CSSAgent.CreateStyleSheetRequest;
- /** @typedef {!{styleSheetId: Protocol.CSS.StyleSheetId}} */
- Protocol.CSSAgent.CreateStyleSheetResponse;
- /**
- * @param {!Protocol.CSSAgent.CreateStyleSheetRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.CreateStyleSheetResponse>} */
- Protocol.CSSAgent.prototype.invoke_createStyleSheet = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.CSSAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.CSSAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.CSSAgent.DisableResponse;
- /**
- * @param {!Protocol.CSSAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.DisableResponse>} */
- Protocol.CSSAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.CSSAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.CSSAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.CSSAgent.EnableResponse;
- /**
- * @param {!Protocol.CSSAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.EnableResponse>} */
- Protocol.CSSAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {!Array<string>} forcedPseudoClasses
- * @return {!Promise<undefined>}
- */
- Protocol.CSSAgent.prototype.forcePseudoState = function(nodeId, forcedPseudoClasses) {};
- /** @typedef {!{forcedPseudoClasses: !Array<string>, nodeId: Protocol.DOM.NodeId}} */
- Protocol.CSSAgent.ForcePseudoStateRequest;
- /** @typedef {Object|undefined} */
- Protocol.CSSAgent.ForcePseudoStateResponse;
- /**
- * @param {!Protocol.CSSAgent.ForcePseudoStateRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.ForcePseudoStateResponse>} */
- Protocol.CSSAgent.prototype.invoke_forcePseudoState = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @return {!Promise<?Array<string>>}
- */
- Protocol.CSSAgent.prototype.getBackgroundColors = function(nodeId) {};
- /** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
- Protocol.CSSAgent.GetBackgroundColorsRequest;
- /** @typedef {!{backgroundColors: !Array<string>, computedFontWeight: string, computedFontSize: string}} */
- Protocol.CSSAgent.GetBackgroundColorsResponse;
- /**
- * @param {!Protocol.CSSAgent.GetBackgroundColorsRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.GetBackgroundColorsResponse>} */
- Protocol.CSSAgent.prototype.invoke_getBackgroundColors = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @return {!Promise<?Array<Protocol.CSS.CSSComputedStyleProperty>>}
- */
- Protocol.CSSAgent.prototype.getComputedStyleForNode = function(nodeId) {};
- /** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
- Protocol.CSSAgent.GetComputedStyleForNodeRequest;
- /** @typedef {!{computedStyle: !Array<Protocol.CSS.CSSComputedStyleProperty>}} */
- Protocol.CSSAgent.GetComputedStyleForNodeResponse;
- /**
- * @param {!Protocol.CSSAgent.GetComputedStyleForNodeRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.GetComputedStyleForNodeResponse>} */
- Protocol.CSSAgent.prototype.invoke_getComputedStyleForNode = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @return {!Promise<?Protocol.CSS.CSSStyle>}
- */
- Protocol.CSSAgent.prototype.getInlineStylesForNode = function(nodeId) {};
- /** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
- Protocol.CSSAgent.GetInlineStylesForNodeRequest;
- /** @typedef {!{inlineStyle: Protocol.CSS.CSSStyle, attributesStyle: Protocol.CSS.CSSStyle}} */
- Protocol.CSSAgent.GetInlineStylesForNodeResponse;
- /**
- * @param {!Protocol.CSSAgent.GetInlineStylesForNodeRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.GetInlineStylesForNodeResponse>} */
- Protocol.CSSAgent.prototype.invoke_getInlineStylesForNode = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @return {!Promise<?Protocol.CSS.CSSStyle>}
- */
- Protocol.CSSAgent.prototype.getMatchedStylesForNode = function(nodeId) {};
- /** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
- Protocol.CSSAgent.GetMatchedStylesForNodeRequest;
- /** @typedef {!{inlineStyle: Protocol.CSS.CSSStyle, attributesStyle: Protocol.CSS.CSSStyle, cssKeyframesRules: !Array<Protocol.CSS.CSSKeyframesRule>, matchedCSSRules: !Array<Protocol.CSS.RuleMatch>, inherited: !Array<Protocol.CSS.InheritedStyleEntry>, pseudoElements: !Array<Protocol.CSS.PseudoElementMatches>}} */
- Protocol.CSSAgent.GetMatchedStylesForNodeResponse;
- /**
- * @param {!Protocol.CSSAgent.GetMatchedStylesForNodeRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.GetMatchedStylesForNodeResponse>} */
- Protocol.CSSAgent.prototype.invoke_getMatchedStylesForNode = function(obj) {};
-
- /**
- * @return {!Promise<?Array<Protocol.CSS.CSSMedia>>}
- */
- Protocol.CSSAgent.prototype.getMediaQueries = function() {};
- /** @typedef {Object|undefined} */
- Protocol.CSSAgent.GetMediaQueriesRequest;
- /** @typedef {!{medias: !Array<Protocol.CSS.CSSMedia>}} */
- Protocol.CSSAgent.GetMediaQueriesResponse;
- /**
- * @param {!Protocol.CSSAgent.GetMediaQueriesRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.GetMediaQueriesResponse>} */
- Protocol.CSSAgent.prototype.invoke_getMediaQueries = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @return {!Promise<?Array<Protocol.CSS.PlatformFontUsage>>}
- */
- Protocol.CSSAgent.prototype.getPlatformFontsForNode = function(nodeId) {};
- /** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
- Protocol.CSSAgent.GetPlatformFontsForNodeRequest;
- /** @typedef {!{fonts: !Array<Protocol.CSS.PlatformFontUsage>}} */
- Protocol.CSSAgent.GetPlatformFontsForNodeResponse;
- /**
- * @param {!Protocol.CSSAgent.GetPlatformFontsForNodeRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.GetPlatformFontsForNodeResponse>} */
- Protocol.CSSAgent.prototype.invoke_getPlatformFontsForNode = function(obj) {};
-
- /**
- * @param {Protocol.CSS.StyleSheetId} styleSheetId
- * @return {!Promise<?string>}
- */
- Protocol.CSSAgent.prototype.getStyleSheetText = function(styleSheetId) {};
- /** @typedef {!{styleSheetId: Protocol.CSS.StyleSheetId}} */
- Protocol.CSSAgent.GetStyleSheetTextRequest;
- /** @typedef {!{text: string}} */
- Protocol.CSSAgent.GetStyleSheetTextResponse;
- /**
- * @param {!Protocol.CSSAgent.GetStyleSheetTextRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.GetStyleSheetTextResponse>} */
- Protocol.CSSAgent.prototype.invoke_getStyleSheetText = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {string} propertyName
- * @param {string} value
- * @return {!Promise<undefined>}
- */
- Protocol.CSSAgent.prototype.setEffectivePropertyValueForNode = function(nodeId, propertyName, value) {};
- /** @typedef {!{propertyName: string, nodeId: Protocol.DOM.NodeId, value: string}} */
- Protocol.CSSAgent.SetEffectivePropertyValueForNodeRequest;
- /** @typedef {Object|undefined} */
- Protocol.CSSAgent.SetEffectivePropertyValueForNodeResponse;
- /**
- * @param {!Protocol.CSSAgent.SetEffectivePropertyValueForNodeRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.SetEffectivePropertyValueForNodeResponse>} */
- Protocol.CSSAgent.prototype.invoke_setEffectivePropertyValueForNode = function(obj) {};
-
- /**
- * @param {Protocol.CSS.StyleSheetId} styleSheetId
- * @param {Protocol.CSS.SourceRange} range
- * @param {string} keyText
- * @return {!Promise<?Protocol.CSS.Value>}
- */
- Protocol.CSSAgent.prototype.setKeyframeKey = function(styleSheetId, range, keyText) {};
- /** @typedef {!{range: Protocol.CSS.SourceRange, styleSheetId: Protocol.CSS.StyleSheetId, keyText: string}} */
- Protocol.CSSAgent.SetKeyframeKeyRequest;
- /** @typedef {!{keyText: Protocol.CSS.Value}} */
- Protocol.CSSAgent.SetKeyframeKeyResponse;
- /**
- * @param {!Protocol.CSSAgent.SetKeyframeKeyRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.SetKeyframeKeyResponse>} */
- Protocol.CSSAgent.prototype.invoke_setKeyframeKey = function(obj) {};
-
- /**
- * @param {Protocol.CSS.StyleSheetId} styleSheetId
- * @param {Protocol.CSS.SourceRange} range
- * @param {string} text
- * @return {!Promise<?Protocol.CSS.CSSMedia>}
- */
- Protocol.CSSAgent.prototype.setMediaText = function(styleSheetId, range, text) {};
- /** @typedef {!{text: string, range: Protocol.CSS.SourceRange, styleSheetId: Protocol.CSS.StyleSheetId}} */
- Protocol.CSSAgent.SetMediaTextRequest;
- /** @typedef {!{media: Protocol.CSS.CSSMedia}} */
- Protocol.CSSAgent.SetMediaTextResponse;
- /**
- * @param {!Protocol.CSSAgent.SetMediaTextRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.SetMediaTextResponse>} */
- Protocol.CSSAgent.prototype.invoke_setMediaText = function(obj) {};
-
- /**
- * @param {Protocol.CSS.StyleSheetId} styleSheetId
- * @param {Protocol.CSS.SourceRange} range
- * @param {string} selector
- * @return {!Promise<?Protocol.CSS.SelectorList>}
- */
- Protocol.CSSAgent.prototype.setRuleSelector = function(styleSheetId, range, selector) {};
- /** @typedef {!{range: Protocol.CSS.SourceRange, styleSheetId: Protocol.CSS.StyleSheetId, selector: string}} */
- Protocol.CSSAgent.SetRuleSelectorRequest;
- /** @typedef {!{selectorList: Protocol.CSS.SelectorList}} */
- Protocol.CSSAgent.SetRuleSelectorResponse;
- /**
- * @param {!Protocol.CSSAgent.SetRuleSelectorRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.SetRuleSelectorResponse>} */
- Protocol.CSSAgent.prototype.invoke_setRuleSelector = function(obj) {};
-
- /**
- * @param {Protocol.CSS.StyleSheetId} styleSheetId
- * @param {string} text
- * @return {!Promise<?string>}
- */
- Protocol.CSSAgent.prototype.setStyleSheetText = function(styleSheetId, text) {};
- /** @typedef {!{text: string, styleSheetId: Protocol.CSS.StyleSheetId}} */
- Protocol.CSSAgent.SetStyleSheetTextRequest;
- /** @typedef {!{sourceMapURL: string}} */
- Protocol.CSSAgent.SetStyleSheetTextResponse;
- /**
- * @param {!Protocol.CSSAgent.SetStyleSheetTextRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.SetStyleSheetTextResponse>} */
- Protocol.CSSAgent.prototype.invoke_setStyleSheetText = function(obj) {};
-
- /**
- * @param {!Array<Protocol.CSS.StyleDeclarationEdit>} edits
- * @return {!Promise<?Array<Protocol.CSS.CSSStyle>>}
- */
- Protocol.CSSAgent.prototype.setStyleTexts = function(edits) {};
- /** @typedef {!{edits: !Array<Protocol.CSS.StyleDeclarationEdit>}} */
- Protocol.CSSAgent.SetStyleTextsRequest;
- /** @typedef {!{styles: !Array<Protocol.CSS.CSSStyle>}} */
- Protocol.CSSAgent.SetStyleTextsResponse;
- /**
- * @param {!Protocol.CSSAgent.SetStyleTextsRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.SetStyleTextsResponse>} */
- Protocol.CSSAgent.prototype.invoke_setStyleTexts = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.CSSAgent.prototype.startRuleUsageTracking = function() {};
- /** @typedef {Object|undefined} */
- Protocol.CSSAgent.StartRuleUsageTrackingRequest;
- /** @typedef {Object|undefined} */
- Protocol.CSSAgent.StartRuleUsageTrackingResponse;
- /**
- * @param {!Protocol.CSSAgent.StartRuleUsageTrackingRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.StartRuleUsageTrackingResponse>} */
- Protocol.CSSAgent.prototype.invoke_startRuleUsageTracking = function(obj) {};
-
- /**
- * @return {!Promise<?Array<Protocol.CSS.RuleUsage>>}
- */
- Protocol.CSSAgent.prototype.stopRuleUsageTracking = function() {};
- /** @typedef {Object|undefined} */
- Protocol.CSSAgent.StopRuleUsageTrackingRequest;
- /** @typedef {!{ruleUsage: !Array<Protocol.CSS.RuleUsage>}} */
- Protocol.CSSAgent.StopRuleUsageTrackingResponse;
- /**
- * @param {!Protocol.CSSAgent.StopRuleUsageTrackingRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.StopRuleUsageTrackingResponse>} */
- Protocol.CSSAgent.prototype.invoke_stopRuleUsageTracking = function(obj) {};
-
- /**
- * @return {!Promise<?Array<Protocol.CSS.RuleUsage>>}
- */
- Protocol.CSSAgent.prototype.takeCoverageDelta = function() {};
- /** @typedef {Object|undefined} */
- Protocol.CSSAgent.TakeCoverageDeltaRequest;
- /** @typedef {!{coverage: !Array<Protocol.CSS.RuleUsage>}} */
- Protocol.CSSAgent.TakeCoverageDeltaResponse;
- /**
- * @param {!Protocol.CSSAgent.TakeCoverageDeltaRequest} obj
- * @return {!Promise<!Protocol.CSSAgent.TakeCoverageDeltaResponse>} */
- Protocol.CSSAgent.prototype.invoke_takeCoverageDelta = function(obj) {};
-
- /** @typedef {string} */
- Protocol.CSS.StyleSheetId;
-
- /** @enum {string} */
- Protocol.CSS.StyleSheetOrigin = {
- Injected: "injected",
- UserAgent: "user-agent",
- Inspector: "inspector",
- Regular: "regular"
- };
-
- /** @typedef {!{pseudoType:(Protocol.DOM.PseudoType), matches:(!Array<Protocol.CSS.RuleMatch>)}} */
- Protocol.CSS.PseudoElementMatches;
-
- /** @typedef {!{inlineStyle:(Protocol.CSS.CSSStyle|undefined), matchedCSSRules:(!Array<Protocol.CSS.RuleMatch>)}} */
- Protocol.CSS.InheritedStyleEntry;
-
- /** @typedef {!{rule:(Protocol.CSS.CSSRule), matchingSelectors:(!Array<number>)}} */
- Protocol.CSS.RuleMatch;
-
- /** @typedef {!{text:(string), range:(Protocol.CSS.SourceRange|undefined)}} */
- Protocol.CSS.Value;
-
- /** @typedef {!{selectors:(!Array<Protocol.CSS.Value>), text:(string)}} */
- Protocol.CSS.SelectorList;
-
- /** @typedef {!{styleSheetId:(Protocol.CSS.StyleSheetId), frameId:(Protocol.Page.FrameId), sourceURL:(string), sourceMapURL:(string|undefined), origin:(Protocol.CSS.StyleSheetOrigin), title:(string), ownerNode:(Protocol.DOM.BackendNodeId|undefined), disabled:(boolean), hasSourceURL:(boolean|undefined), isInline:(boolean), startLine:(number), startColumn:(number), length:(number), endLine:(number), endColumn:(number)}} */
- Protocol.CSS.CSSStyleSheetHeader;
-
- /** @typedef {!{styleSheetId:(Protocol.CSS.StyleSheetId|undefined), selectorList:(Protocol.CSS.SelectorList), origin:(Protocol.CSS.StyleSheetOrigin), style:(Protocol.CSS.CSSStyle), media:(!Array<Protocol.CSS.CSSMedia>|undefined)}} */
- Protocol.CSS.CSSRule;
-
- /** @typedef {!{styleSheetId:(Protocol.CSS.StyleSheetId), startOffset:(number), endOffset:(number), used:(boolean)}} */
- Protocol.CSS.RuleUsage;
-
- /** @typedef {!{startLine:(number), startColumn:(number), endLine:(number), endColumn:(number)}} */
- Protocol.CSS.SourceRange;
-
- /** @typedef {!{name:(string), value:(string), important:(boolean|undefined)}} */
- Protocol.CSS.ShorthandEntry;
-
- /** @typedef {!{name:(string), value:(string)}} */
- Protocol.CSS.CSSComputedStyleProperty;
-
- /** @typedef {!{styleSheetId:(Protocol.CSS.StyleSheetId|undefined), cssProperties:(!Array<Protocol.CSS.CSSProperty>), shorthandEntries:(!Array<Protocol.CSS.ShorthandEntry>), cssText:(string|undefined), range:(Protocol.CSS.SourceRange|undefined)}} */
- Protocol.CSS.CSSStyle;
-
- /** @typedef {!{name:(string), value:(string), important:(boolean|undefined), implicit:(boolean|undefined), text:(string|undefined), parsedOk:(boolean|undefined), disabled:(boolean|undefined), range:(Protocol.CSS.SourceRange|undefined)}} */
- Protocol.CSS.CSSProperty;
-
- /** @enum {string} */
- Protocol.CSS.CSSMediaSource = {
- MediaRule: "mediaRule",
- ImportRule: "importRule",
- LinkedSheet: "linkedSheet",
- InlineSheet: "inlineSheet"
- };
-
- /** @typedef {!{text:(string), source:(Protocol.CSS.CSSMediaSource), sourceURL:(string|undefined), range:(Protocol.CSS.SourceRange|undefined), styleSheetId:(Protocol.CSS.StyleSheetId|undefined), mediaList:(!Array<Protocol.CSS.MediaQuery>|undefined)}} */
- Protocol.CSS.CSSMedia;
-
- /** @typedef {!{expressions:(!Array<Protocol.CSS.MediaQueryExpression>), active:(boolean)}} */
- Protocol.CSS.MediaQuery;
-
- /** @typedef {!{value:(number), unit:(string), feature:(string), valueRange:(Protocol.CSS.SourceRange|undefined), computedLength:(number|undefined)}} */
- Protocol.CSS.MediaQueryExpression;
-
- /** @typedef {!{familyName:(string), isCustomFont:(boolean), glyphCount:(number)}} */
- Protocol.CSS.PlatformFontUsage;
-
- /** @typedef {!{fontFamily:(string), fontStyle:(string), fontVariant:(string), fontWeight:(string), fontStretch:(string), unicodeRange:(string), src:(string), platformFontFamily:(string)}} */
- Protocol.CSS.FontFace;
-
- /** @typedef {!{animationName:(Protocol.CSS.Value), keyframes:(!Array<Protocol.CSS.CSSKeyframeRule>)}} */
- Protocol.CSS.CSSKeyframesRule;
-
- /** @typedef {!{styleSheetId:(Protocol.CSS.StyleSheetId|undefined), origin:(Protocol.CSS.StyleSheetOrigin), keyText:(Protocol.CSS.Value), style:(Protocol.CSS.CSSStyle)}} */
- Protocol.CSS.CSSKeyframeRule;
-
- /** @typedef {!{styleSheetId:(Protocol.CSS.StyleSheetId), range:(Protocol.CSS.SourceRange), text:(string)}} */
- Protocol.CSS.StyleDeclarationEdit;
- /** @interface */
- Protocol.CSSDispatcher = function() {};
- /**
- * @param {Protocol.CSS.FontFace=} opt_font
- */
- Protocol.CSSDispatcher.prototype.fontsUpdated = function(opt_font) {};
- Protocol.CSSDispatcher.prototype.mediaQueryResultChanged = function() {};
- /**
- * @param {Protocol.CSS.CSSStyleSheetHeader} header
- */
- Protocol.CSSDispatcher.prototype.styleSheetAdded = function(header) {};
- /**
- * @param {Protocol.CSS.StyleSheetId} styleSheetId
- */
- Protocol.CSSDispatcher.prototype.styleSheetChanged = function(styleSheetId) {};
- /**
- * @param {Protocol.CSS.StyleSheetId} styleSheetId
- */
- Protocol.CSSDispatcher.prototype.styleSheetRemoved = function(styleSheetId) {};
- Protocol.CacheStorage = {};
-
-
- /**
- * @constructor
- */
- Protocol.CacheStorageAgent = function(){};
-
- /**
- * @param {Protocol.CacheStorage.CacheId} cacheId
- * @return {!Promise<undefined>}
- */
- Protocol.CacheStorageAgent.prototype.deleteCache = function(cacheId) {};
- /** @typedef {!{cacheId: Protocol.CacheStorage.CacheId}} */
- Protocol.CacheStorageAgent.DeleteCacheRequest;
- /** @typedef {Object|undefined} */
- Protocol.CacheStorageAgent.DeleteCacheResponse;
- /**
- * @param {!Protocol.CacheStorageAgent.DeleteCacheRequest} obj
- * @return {!Promise<!Protocol.CacheStorageAgent.DeleteCacheResponse>} */
- Protocol.CacheStorageAgent.prototype.invoke_deleteCache = function(obj) {};
-
- /**
- * @param {Protocol.CacheStorage.CacheId} cacheId
- * @param {string} request
- * @return {!Promise<undefined>}
- */
- Protocol.CacheStorageAgent.prototype.deleteEntry = function(cacheId, request) {};
- /** @typedef {!{cacheId: Protocol.CacheStorage.CacheId, request: string}} */
- Protocol.CacheStorageAgent.DeleteEntryRequest;
- /** @typedef {Object|undefined} */
- Protocol.CacheStorageAgent.DeleteEntryResponse;
- /**
- * @param {!Protocol.CacheStorageAgent.DeleteEntryRequest} obj
- * @return {!Promise<!Protocol.CacheStorageAgent.DeleteEntryResponse>} */
- Protocol.CacheStorageAgent.prototype.invoke_deleteEntry = function(obj) {};
-
- /**
- * @param {string} securityOrigin
- * @return {!Promise<?Array<Protocol.CacheStorage.Cache>>}
- */
- Protocol.CacheStorageAgent.prototype.requestCacheNames = function(securityOrigin) {};
- /** @typedef {!{securityOrigin: string}} */
- Protocol.CacheStorageAgent.RequestCacheNamesRequest;
- /** @typedef {!{caches: !Array<Protocol.CacheStorage.Cache>}} */
- Protocol.CacheStorageAgent.RequestCacheNamesResponse;
- /**
- * @param {!Protocol.CacheStorageAgent.RequestCacheNamesRequest} obj
- * @return {!Promise<!Protocol.CacheStorageAgent.RequestCacheNamesResponse>} */
- Protocol.CacheStorageAgent.prototype.invoke_requestCacheNames = function(obj) {};
-
- /**
- * @param {Protocol.CacheStorage.CacheId} cacheId
- * @param {string} requestURL
- * @param {!Array<Protocol.CacheStorage.Header>} requestHeaders
- * @return {!Promise<?Protocol.CacheStorage.CachedResponse>}
- */
- Protocol.CacheStorageAgent.prototype.requestCachedResponse = function(cacheId, requestURL, requestHeaders) {};
- /** @typedef {!{requestHeaders: !Array<Protocol.CacheStorage.Header>, cacheId: Protocol.CacheStorage.CacheId, requestURL: string}} */
- Protocol.CacheStorageAgent.RequestCachedResponseRequest;
- /** @typedef {!{response: Protocol.CacheStorage.CachedResponse}} */
- Protocol.CacheStorageAgent.RequestCachedResponseResponse;
- /**
- * @param {!Protocol.CacheStorageAgent.RequestCachedResponseRequest} obj
- * @return {!Promise<!Protocol.CacheStorageAgent.RequestCachedResponseResponse>} */
- Protocol.CacheStorageAgent.prototype.invoke_requestCachedResponse = function(obj) {};
-
- /**
- * @param {Protocol.CacheStorage.CacheId} cacheId
- * @param {number=} opt_skipCount
- * @param {number=} opt_pageSize
- * @param {string=} opt_pathFilter
- * @return {!Promise<?Array<Protocol.CacheStorage.DataEntry>>}
- */
- Protocol.CacheStorageAgent.prototype.requestEntries = function(cacheId, opt_skipCount, opt_pageSize, opt_pathFilter) {};
- /** @typedef {!{pathFilter: (string|undefined), cacheId: Protocol.CacheStorage.CacheId, skipCount: (number|undefined), pageSize: (number|undefined)}} */
- Protocol.CacheStorageAgent.RequestEntriesRequest;
- /** @typedef {!{returnCount: number, cacheDataEntries: !Array<Protocol.CacheStorage.DataEntry>}} */
- Protocol.CacheStorageAgent.RequestEntriesResponse;
- /**
- * @param {!Protocol.CacheStorageAgent.RequestEntriesRequest} obj
- * @return {!Promise<!Protocol.CacheStorageAgent.RequestEntriesResponse>} */
- Protocol.CacheStorageAgent.prototype.invoke_requestEntries = function(obj) {};
-
- /** @typedef {string} */
- Protocol.CacheStorage.CacheId;
-
- /** @enum {string} */
- Protocol.CacheStorage.CachedResponseType = {
- Basic: "basic",
- Cors: "cors",
- Default: "default",
- Error: "error",
- OpaqueResponse: "opaqueResponse",
- OpaqueRedirect: "opaqueRedirect"
- };
-
- /** @typedef {!{requestURL:(string), requestMethod:(string), requestHeaders:(!Array<Protocol.CacheStorage.Header>), responseTime:(number), responseStatus:(number), responseStatusText:(string), responseType:(Protocol.CacheStorage.CachedResponseType), responseHeaders:(!Array<Protocol.CacheStorage.Header>)}} */
- Protocol.CacheStorage.DataEntry;
-
- /** @typedef {!{cacheId:(Protocol.CacheStorage.CacheId), securityOrigin:(string), cacheName:(string)}} */
- Protocol.CacheStorage.Cache;
-
- /** @typedef {!{name:(string), value:(string)}} */
- Protocol.CacheStorage.Header;
-
- /** @typedef {!{body:(string)}} */
- Protocol.CacheStorage.CachedResponse;
- /** @interface */
- Protocol.CacheStorageDispatcher = function() {};
- Protocol.Cast = {};
-
-
- /**
- * @constructor
- */
- Protocol.CastAgent = function(){};
-
- /**
- * @param {string=} opt_presentationUrl
- * @return {!Promise<undefined>}
- */
- Protocol.CastAgent.prototype.enable = function(opt_presentationUrl) {};
- /** @typedef {!{presentationUrl: (string|undefined)}} */
- Protocol.CastAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.CastAgent.EnableResponse;
- /**
- * @param {!Protocol.CastAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.CastAgent.EnableResponse>} */
- Protocol.CastAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.CastAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.CastAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.CastAgent.DisableResponse;
- /**
- * @param {!Protocol.CastAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.CastAgent.DisableResponse>} */
- Protocol.CastAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @param {string} sinkName
- * @return {!Promise<undefined>}
- */
- Protocol.CastAgent.prototype.setSinkToUse = function(sinkName) {};
- /** @typedef {!{sinkName: string}} */
- Protocol.CastAgent.SetSinkToUseRequest;
- /** @typedef {Object|undefined} */
- Protocol.CastAgent.SetSinkToUseResponse;
- /**
- * @param {!Protocol.CastAgent.SetSinkToUseRequest} obj
- * @return {!Promise<!Protocol.CastAgent.SetSinkToUseResponse>} */
- Protocol.CastAgent.prototype.invoke_setSinkToUse = function(obj) {};
-
- /**
- * @param {string} sinkName
- * @return {!Promise<undefined>}
- */
- Protocol.CastAgent.prototype.startTabMirroring = function(sinkName) {};
- /** @typedef {!{sinkName: string}} */
- Protocol.CastAgent.StartTabMirroringRequest;
- /** @typedef {Object|undefined} */
- Protocol.CastAgent.StartTabMirroringResponse;
- /**
- * @param {!Protocol.CastAgent.StartTabMirroringRequest} obj
- * @return {!Promise<!Protocol.CastAgent.StartTabMirroringResponse>} */
- Protocol.CastAgent.prototype.invoke_startTabMirroring = function(obj) {};
-
- /**
- * @param {string} sinkName
- * @return {!Promise<undefined>}
- */
- Protocol.CastAgent.prototype.stopCasting = function(sinkName) {};
- /** @typedef {!{sinkName: string}} */
- Protocol.CastAgent.StopCastingRequest;
- /** @typedef {Object|undefined} */
- Protocol.CastAgent.StopCastingResponse;
- /**
- * @param {!Protocol.CastAgent.StopCastingRequest} obj
- * @return {!Promise<!Protocol.CastAgent.StopCastingResponse>} */
- Protocol.CastAgent.prototype.invoke_stopCasting = function(obj) {};
-
- /** @typedef {!{name:(string), id:(string), session:(string|undefined)}} */
- Protocol.Cast.Sink;
- /** @interface */
- Protocol.CastDispatcher = function() {};
- /**
- * @param {!Array<Protocol.Cast.Sink>} sinks
- */
- Protocol.CastDispatcher.prototype.sinksUpdated = function(sinks) {};
- /**
- * @param {string} issueMessage
- */
- Protocol.CastDispatcher.prototype.issueUpdated = function(issueMessage) {};
- Protocol.DOM = {};
-
-
- /**
- * @constructor
- */
- Protocol.DOMAgent = function(){};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @return {!Promise<?Array<string>>}
- */
- Protocol.DOMAgent.prototype.collectClassNamesFromSubtree = function(nodeId) {};
- /** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
- Protocol.DOMAgent.CollectClassNamesFromSubtreeRequest;
- /** @typedef {!{classNames: !Array<string>}} */
- Protocol.DOMAgent.CollectClassNamesFromSubtreeResponse;
- /**
- * @param {!Protocol.DOMAgent.CollectClassNamesFromSubtreeRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.CollectClassNamesFromSubtreeResponse>} */
- Protocol.DOMAgent.prototype.invoke_collectClassNamesFromSubtree = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {Protocol.DOM.NodeId} targetNodeId
- * @param {Protocol.DOM.NodeId=} opt_insertBeforeNodeId
- * @return {!Promise<?Protocol.DOM.NodeId>}
- */
- Protocol.DOMAgent.prototype.copyTo = function(nodeId, targetNodeId, opt_insertBeforeNodeId) {};
- /** @typedef {!{targetNodeId: Protocol.DOM.NodeId, nodeId: Protocol.DOM.NodeId, insertBeforeNodeId: (Protocol.DOM.NodeId|undefined)}} */
- Protocol.DOMAgent.CopyToRequest;
- /** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
- Protocol.DOMAgent.CopyToResponse;
- /**
- * @param {!Protocol.DOMAgent.CopyToRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.CopyToResponse>} */
- Protocol.DOMAgent.prototype.invoke_copyTo = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId=} opt_nodeId
- * @param {Protocol.DOM.BackendNodeId=} opt_backendNodeId
- * @param {Protocol.Runtime.RemoteObjectId=} opt_objectId
- * @param {number=} opt_depth
- * @param {boolean=} opt_pierce
- * @return {!Promise<?Protocol.DOM.Node>}
- */
- Protocol.DOMAgent.prototype.describeNode = function(opt_nodeId, opt_backendNodeId, opt_objectId, opt_depth, opt_pierce) {};
- /** @typedef {!{depth: (number|undefined), objectId: (Protocol.Runtime.RemoteObjectId|undefined), nodeId: (Protocol.DOM.NodeId|undefined), backendNodeId: (Protocol.DOM.BackendNodeId|undefined), pierce: (boolean|undefined)}} */
- Protocol.DOMAgent.DescribeNodeRequest;
- /** @typedef {!{node: Protocol.DOM.Node}} */
- Protocol.DOMAgent.DescribeNodeResponse;
- /**
- * @param {!Protocol.DOMAgent.DescribeNodeRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.DescribeNodeResponse>} */
- Protocol.DOMAgent.prototype.invoke_describeNode = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.DisableResponse;
- /**
- * @param {!Protocol.DOMAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.DisableResponse>} */
- Protocol.DOMAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @param {string} searchId
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.discardSearchResults = function(searchId) {};
- /** @typedef {!{searchId: string}} */
- Protocol.DOMAgent.DiscardSearchResultsRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.DiscardSearchResultsResponse;
- /**
- * @param {!Protocol.DOMAgent.DiscardSearchResultsRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.DiscardSearchResultsResponse>} */
- Protocol.DOMAgent.prototype.invoke_discardSearchResults = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.EnableResponse;
- /**
- * @param {!Protocol.DOMAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.EnableResponse>} */
- Protocol.DOMAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId=} opt_nodeId
- * @param {Protocol.DOM.BackendNodeId=} opt_backendNodeId
- * @param {Protocol.Runtime.RemoteObjectId=} opt_objectId
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.focus = function(opt_nodeId, opt_backendNodeId, opt_objectId) {};
- /** @typedef {!{objectId: (Protocol.Runtime.RemoteObjectId|undefined), nodeId: (Protocol.DOM.NodeId|undefined), backendNodeId: (Protocol.DOM.BackendNodeId|undefined)}} */
- Protocol.DOMAgent.FocusRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.FocusResponse;
- /**
- * @param {!Protocol.DOMAgent.FocusRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.FocusResponse>} */
- Protocol.DOMAgent.prototype.invoke_focus = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @return {!Promise<?Array<string>>}
- */
- Protocol.DOMAgent.prototype.getAttributes = function(nodeId) {};
- /** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
- Protocol.DOMAgent.GetAttributesRequest;
- /** @typedef {!{attributes: !Array<string>}} */
- Protocol.DOMAgent.GetAttributesResponse;
- /**
- * @param {!Protocol.DOMAgent.GetAttributesRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.GetAttributesResponse>} */
- Protocol.DOMAgent.prototype.invoke_getAttributes = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId=} opt_nodeId
- * @param {Protocol.DOM.BackendNodeId=} opt_backendNodeId
- * @param {Protocol.Runtime.RemoteObjectId=} opt_objectId
- * @return {!Promise<?Protocol.DOM.BoxModel>}
- */
- Protocol.DOMAgent.prototype.getBoxModel = function(opt_nodeId, opt_backendNodeId, opt_objectId) {};
- /** @typedef {!{objectId: (Protocol.Runtime.RemoteObjectId|undefined), nodeId: (Protocol.DOM.NodeId|undefined), backendNodeId: (Protocol.DOM.BackendNodeId|undefined)}} */
- Protocol.DOMAgent.GetBoxModelRequest;
- /** @typedef {!{model: Protocol.DOM.BoxModel}} */
- Protocol.DOMAgent.GetBoxModelResponse;
- /**
- * @param {!Protocol.DOMAgent.GetBoxModelRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.GetBoxModelResponse>} */
- Protocol.DOMAgent.prototype.invoke_getBoxModel = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId=} opt_nodeId
- * @param {Protocol.DOM.BackendNodeId=} opt_backendNodeId
- * @param {Protocol.Runtime.RemoteObjectId=} opt_objectId
- * @return {!Promise<?Array<Protocol.DOM.Quad>>}
- */
- Protocol.DOMAgent.prototype.getContentQuads = function(opt_nodeId, opt_backendNodeId, opt_objectId) {};
- /** @typedef {!{objectId: (Protocol.Runtime.RemoteObjectId|undefined), nodeId: (Protocol.DOM.NodeId|undefined), backendNodeId: (Protocol.DOM.BackendNodeId|undefined)}} */
- Protocol.DOMAgent.GetContentQuadsRequest;
- /** @typedef {!{quads: !Array<Protocol.DOM.Quad>}} */
- Protocol.DOMAgent.GetContentQuadsResponse;
- /**
- * @param {!Protocol.DOMAgent.GetContentQuadsRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.GetContentQuadsResponse>} */
- Protocol.DOMAgent.prototype.invoke_getContentQuads = function(obj) {};
-
- /**
- * @param {number=} opt_depth
- * @param {boolean=} opt_pierce
- * @return {!Promise<?Protocol.DOM.Node>}
- */
- Protocol.DOMAgent.prototype.getDocument = function(opt_depth, opt_pierce) {};
- /** @typedef {!{depth: (number|undefined), pierce: (boolean|undefined)}} */
- Protocol.DOMAgent.GetDocumentRequest;
- /** @typedef {!{root: Protocol.DOM.Node}} */
- Protocol.DOMAgent.GetDocumentResponse;
- /**
- * @param {!Protocol.DOMAgent.GetDocumentRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.GetDocumentResponse>} */
- Protocol.DOMAgent.prototype.invoke_getDocument = function(obj) {};
-
- /**
- * @param {number=} opt_depth
- * @param {boolean=} opt_pierce
- * @return {!Promise<?Array<Protocol.DOM.Node>>}
- */
- Protocol.DOMAgent.prototype.getFlattenedDocument = function(opt_depth, opt_pierce) {};
- /** @typedef {!{depth: (number|undefined), pierce: (boolean|undefined)}} */
- Protocol.DOMAgent.GetFlattenedDocumentRequest;
- /** @typedef {!{nodes: !Array<Protocol.DOM.Node>}} */
- Protocol.DOMAgent.GetFlattenedDocumentResponse;
- /**
- * @param {!Protocol.DOMAgent.GetFlattenedDocumentRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.GetFlattenedDocumentResponse>} */
- Protocol.DOMAgent.prototype.invoke_getFlattenedDocument = function(obj) {};
-
- /**
- * @param {number} x
- * @param {number} y
- * @param {boolean=} opt_includeUserAgentShadowDOM
- * @param {boolean=} opt_ignorePointerEventsNone
- * @return {!Promise<?Protocol.DOM.BackendNodeId>}
- */
- Protocol.DOMAgent.prototype.getNodeForLocation = function(x, y, opt_includeUserAgentShadowDOM, opt_ignorePointerEventsNone) {};
- /** @typedef {!{y: number, x: number, ignorePointerEventsNone: (boolean|undefined), includeUserAgentShadowDOM: (boolean|undefined)}} */
- Protocol.DOMAgent.GetNodeForLocationRequest;
- /** @typedef {!{nodeId: Protocol.DOM.NodeId, backendNodeId: Protocol.DOM.BackendNodeId, frameId: Protocol.Page.FrameId}} */
- Protocol.DOMAgent.GetNodeForLocationResponse;
- /**
- * @param {!Protocol.DOMAgent.GetNodeForLocationRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.GetNodeForLocationResponse>} */
- Protocol.DOMAgent.prototype.invoke_getNodeForLocation = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId=} opt_nodeId
- * @param {Protocol.DOM.BackendNodeId=} opt_backendNodeId
- * @param {Protocol.Runtime.RemoteObjectId=} opt_objectId
- * @return {!Promise<?string>}
- */
- Protocol.DOMAgent.prototype.getOuterHTML = function(opt_nodeId, opt_backendNodeId, opt_objectId) {};
- /** @typedef {!{objectId: (Protocol.Runtime.RemoteObjectId|undefined), nodeId: (Protocol.DOM.NodeId|undefined), backendNodeId: (Protocol.DOM.BackendNodeId|undefined)}} */
- Protocol.DOMAgent.GetOuterHTMLRequest;
- /** @typedef {!{outerHTML: string}} */
- Protocol.DOMAgent.GetOuterHTMLResponse;
- /**
- * @param {!Protocol.DOMAgent.GetOuterHTMLRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.GetOuterHTMLResponse>} */
- Protocol.DOMAgent.prototype.invoke_getOuterHTML = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @return {!Promise<?Protocol.DOM.NodeId>}
- */
- Protocol.DOMAgent.prototype.getRelayoutBoundary = function(nodeId) {};
- /** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
- Protocol.DOMAgent.GetRelayoutBoundaryRequest;
- /** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
- Protocol.DOMAgent.GetRelayoutBoundaryResponse;
- /**
- * @param {!Protocol.DOMAgent.GetRelayoutBoundaryRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.GetRelayoutBoundaryResponse>} */
- Protocol.DOMAgent.prototype.invoke_getRelayoutBoundary = function(obj) {};
-
- /**
- * @param {string} searchId
- * @param {number} fromIndex
- * @param {number} toIndex
- * @return {!Promise<?Array<Protocol.DOM.NodeId>>}
- */
- Protocol.DOMAgent.prototype.getSearchResults = function(searchId, fromIndex, toIndex) {};
- /** @typedef {!{toIndex: number, searchId: string, fromIndex: number}} */
- Protocol.DOMAgent.GetSearchResultsRequest;
- /** @typedef {!{nodeIds: !Array<Protocol.DOM.NodeId>}} */
- Protocol.DOMAgent.GetSearchResultsResponse;
- /**
- * @param {!Protocol.DOMAgent.GetSearchResultsRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.GetSearchResultsResponse>} */
- Protocol.DOMAgent.prototype.invoke_getSearchResults = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.hideHighlight = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.HideHighlightRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.HideHighlightResponse;
- /**
- * @param {!Protocol.DOMAgent.HideHighlightRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.HideHighlightResponse>} */
- Protocol.DOMAgent.prototype.invoke_hideHighlight = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.highlightNode = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.HighlightNodeRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.HighlightNodeResponse;
- /**
- * @param {!Protocol.DOMAgent.HighlightNodeRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.HighlightNodeResponse>} */
- Protocol.DOMAgent.prototype.invoke_highlightNode = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.highlightRect = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.HighlightRectRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.HighlightRectResponse;
- /**
- * @param {!Protocol.DOMAgent.HighlightRectRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.HighlightRectResponse>} */
- Protocol.DOMAgent.prototype.invoke_highlightRect = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.markUndoableState = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.MarkUndoableStateRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.MarkUndoableStateResponse;
- /**
- * @param {!Protocol.DOMAgent.MarkUndoableStateRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.MarkUndoableStateResponse>} */
- Protocol.DOMAgent.prototype.invoke_markUndoableState = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {Protocol.DOM.NodeId} targetNodeId
- * @param {Protocol.DOM.NodeId=} opt_insertBeforeNodeId
- * @return {!Promise<?Protocol.DOM.NodeId>}
- */
- Protocol.DOMAgent.prototype.moveTo = function(nodeId, targetNodeId, opt_insertBeforeNodeId) {};
- /** @typedef {!{targetNodeId: Protocol.DOM.NodeId, nodeId: Protocol.DOM.NodeId, insertBeforeNodeId: (Protocol.DOM.NodeId|undefined)}} */
- Protocol.DOMAgent.MoveToRequest;
- /** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
- Protocol.DOMAgent.MoveToResponse;
- /**
- * @param {!Protocol.DOMAgent.MoveToRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.MoveToResponse>} */
- Protocol.DOMAgent.prototype.invoke_moveTo = function(obj) {};
-
- /**
- * @param {string} query
- * @param {boolean=} opt_includeUserAgentShadowDOM
- * @return {!Promise<?string>}
- */
- Protocol.DOMAgent.prototype.performSearch = function(query, opt_includeUserAgentShadowDOM) {};
- /** @typedef {!{query: string, includeUserAgentShadowDOM: (boolean|undefined)}} */
- Protocol.DOMAgent.PerformSearchRequest;
- /** @typedef {!{searchId: string, resultCount: number}} */
- Protocol.DOMAgent.PerformSearchResponse;
- /**
- * @param {!Protocol.DOMAgent.PerformSearchRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.PerformSearchResponse>} */
- Protocol.DOMAgent.prototype.invoke_performSearch = function(obj) {};
-
- /**
- * @param {string} path
- * @return {!Promise<?Protocol.DOM.NodeId>}
- */
- Protocol.DOMAgent.prototype.pushNodeByPathToFrontend = function(path) {};
- /** @typedef {!{path: string}} */
- Protocol.DOMAgent.PushNodeByPathToFrontendRequest;
- /** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
- Protocol.DOMAgent.PushNodeByPathToFrontendResponse;
- /**
- * @param {!Protocol.DOMAgent.PushNodeByPathToFrontendRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.PushNodeByPathToFrontendResponse>} */
- Protocol.DOMAgent.prototype.invoke_pushNodeByPathToFrontend = function(obj) {};
-
- /**
- * @param {!Array<Protocol.DOM.BackendNodeId>} backendNodeIds
- * @return {!Promise<?Array<Protocol.DOM.NodeId>>}
- */
- Protocol.DOMAgent.prototype.pushNodesByBackendIdsToFrontend = function(backendNodeIds) {};
- /** @typedef {!{backendNodeIds: !Array<Protocol.DOM.BackendNodeId>}} */
- Protocol.DOMAgent.PushNodesByBackendIdsToFrontendRequest;
- /** @typedef {!{nodeIds: !Array<Protocol.DOM.NodeId>}} */
- Protocol.DOMAgent.PushNodesByBackendIdsToFrontendResponse;
- /**
- * @param {!Protocol.DOMAgent.PushNodesByBackendIdsToFrontendRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.PushNodesByBackendIdsToFrontendResponse>} */
- Protocol.DOMAgent.prototype.invoke_pushNodesByBackendIdsToFrontend = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {string} selector
- * @return {!Promise<?Protocol.DOM.NodeId>}
- */
- Protocol.DOMAgent.prototype.querySelector = function(nodeId, selector) {};
- /** @typedef {!{nodeId: Protocol.DOM.NodeId, selector: string}} */
- Protocol.DOMAgent.QuerySelectorRequest;
- /** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
- Protocol.DOMAgent.QuerySelectorResponse;
- /**
- * @param {!Protocol.DOMAgent.QuerySelectorRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.QuerySelectorResponse>} */
- Protocol.DOMAgent.prototype.invoke_querySelector = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {string} selector
- * @return {!Promise<?Array<Protocol.DOM.NodeId>>}
- */
- Protocol.DOMAgent.prototype.querySelectorAll = function(nodeId, selector) {};
- /** @typedef {!{nodeId: Protocol.DOM.NodeId, selector: string}} */
- Protocol.DOMAgent.QuerySelectorAllRequest;
- /** @typedef {!{nodeIds: !Array<Protocol.DOM.NodeId>}} */
- Protocol.DOMAgent.QuerySelectorAllResponse;
- /**
- * @param {!Protocol.DOMAgent.QuerySelectorAllRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.QuerySelectorAllResponse>} */
- Protocol.DOMAgent.prototype.invoke_querySelectorAll = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.redo = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.RedoRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.RedoResponse;
- /**
- * @param {!Protocol.DOMAgent.RedoRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.RedoResponse>} */
- Protocol.DOMAgent.prototype.invoke_redo = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {string} name
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.removeAttribute = function(nodeId, name) {};
- /** @typedef {!{nodeId: Protocol.DOM.NodeId, name: string}} */
- Protocol.DOMAgent.RemoveAttributeRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.RemoveAttributeResponse;
- /**
- * @param {!Protocol.DOMAgent.RemoveAttributeRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.RemoveAttributeResponse>} */
- Protocol.DOMAgent.prototype.invoke_removeAttribute = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.removeNode = function(nodeId) {};
- /** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
- Protocol.DOMAgent.RemoveNodeRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.RemoveNodeResponse;
- /**
- * @param {!Protocol.DOMAgent.RemoveNodeRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.RemoveNodeResponse>} */
- Protocol.DOMAgent.prototype.invoke_removeNode = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {number=} opt_depth
- * @param {boolean=} opt_pierce
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.requestChildNodes = function(nodeId, opt_depth, opt_pierce) {};
- /** @typedef {!{depth: (number|undefined), nodeId: Protocol.DOM.NodeId, pierce: (boolean|undefined)}} */
- Protocol.DOMAgent.RequestChildNodesRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.RequestChildNodesResponse;
- /**
- * @param {!Protocol.DOMAgent.RequestChildNodesRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.RequestChildNodesResponse>} */
- Protocol.DOMAgent.prototype.invoke_requestChildNodes = function(obj) {};
-
- /**
- * @param {Protocol.Runtime.RemoteObjectId} objectId
- * @return {!Promise<?Protocol.DOM.NodeId>}
- */
- Protocol.DOMAgent.prototype.requestNode = function(objectId) {};
- /** @typedef {!{objectId: Protocol.Runtime.RemoteObjectId}} */
- Protocol.DOMAgent.RequestNodeRequest;
- /** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
- Protocol.DOMAgent.RequestNodeResponse;
- /**
- * @param {!Protocol.DOMAgent.RequestNodeRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.RequestNodeResponse>} */
- Protocol.DOMAgent.prototype.invoke_requestNode = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId=} opt_nodeId
- * @param {Protocol.DOM.BackendNodeId=} opt_backendNodeId
- * @param {string=} opt_objectGroup
- * @param {Protocol.Runtime.ExecutionContextId=} opt_executionContextId
- * @return {!Promise<?Protocol.Runtime.RemoteObject>}
- */
- Protocol.DOMAgent.prototype.resolveNode = function(opt_nodeId, opt_backendNodeId, opt_objectGroup, opt_executionContextId) {};
- /** @typedef {!{objectGroup: (string|undefined), executionContextId: (Protocol.Runtime.ExecutionContextId|undefined), nodeId: (Protocol.DOM.NodeId|undefined), backendNodeId: (Protocol.DOM.BackendNodeId|undefined)}} */
- Protocol.DOMAgent.ResolveNodeRequest;
- /** @typedef {!{object: Protocol.Runtime.RemoteObject}} */
- Protocol.DOMAgent.ResolveNodeResponse;
- /**
- * @param {!Protocol.DOMAgent.ResolveNodeRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.ResolveNodeResponse>} */
- Protocol.DOMAgent.prototype.invoke_resolveNode = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {string} name
- * @param {string} value
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.setAttributeValue = function(nodeId, name, value) {};
- /** @typedef {!{nodeId: Protocol.DOM.NodeId, value: string, name: string}} */
- Protocol.DOMAgent.SetAttributeValueRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.SetAttributeValueResponse;
- /**
- * @param {!Protocol.DOMAgent.SetAttributeValueRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.SetAttributeValueResponse>} */
- Protocol.DOMAgent.prototype.invoke_setAttributeValue = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {string} text
- * @param {string=} opt_name
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.setAttributesAsText = function(nodeId, text, opt_name) {};
- /** @typedef {!{text: string, nodeId: Protocol.DOM.NodeId, name: (string|undefined)}} */
- Protocol.DOMAgent.SetAttributesAsTextRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.SetAttributesAsTextResponse;
- /**
- * @param {!Protocol.DOMAgent.SetAttributesAsTextRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.SetAttributesAsTextResponse>} */
- Protocol.DOMAgent.prototype.invoke_setAttributesAsText = function(obj) {};
-
- /**
- * @param {!Array<string>} files
- * @param {Protocol.DOM.NodeId=} opt_nodeId
- * @param {Protocol.DOM.BackendNodeId=} opt_backendNodeId
- * @param {Protocol.Runtime.RemoteObjectId=} opt_objectId
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.setFileInputFiles = function(files, opt_nodeId, opt_backendNodeId, opt_objectId) {};
- /** @typedef {!{files: !Array<string>, objectId: (Protocol.Runtime.RemoteObjectId|undefined), nodeId: (Protocol.DOM.NodeId|undefined), backendNodeId: (Protocol.DOM.BackendNodeId|undefined)}} */
- Protocol.DOMAgent.SetFileInputFilesRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.SetFileInputFilesResponse;
- /**
- * @param {!Protocol.DOMAgent.SetFileInputFilesRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.SetFileInputFilesResponse>} */
- Protocol.DOMAgent.prototype.invoke_setFileInputFiles = function(obj) {};
-
- /**
- * @param {boolean} enable
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.setNodeStackTracesEnabled = function(enable) {};
- /** @typedef {!{enable: boolean}} */
- Protocol.DOMAgent.SetNodeStackTracesEnabledRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.SetNodeStackTracesEnabledResponse;
- /**
- * @param {!Protocol.DOMAgent.SetNodeStackTracesEnabledRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.SetNodeStackTracesEnabledResponse>} */
- Protocol.DOMAgent.prototype.invoke_setNodeStackTracesEnabled = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @return {!Promise<?Protocol.Runtime.StackTrace>}
- */
- Protocol.DOMAgent.prototype.getNodeStackTraces = function(nodeId) {};
- /** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
- Protocol.DOMAgent.GetNodeStackTracesRequest;
- /** @typedef {!{creation: Protocol.Runtime.StackTrace}} */
- Protocol.DOMAgent.GetNodeStackTracesResponse;
- /**
- * @param {!Protocol.DOMAgent.GetNodeStackTracesRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.GetNodeStackTracesResponse>} */
- Protocol.DOMAgent.prototype.invoke_getNodeStackTraces = function(obj) {};
-
- /**
- * @param {Protocol.Runtime.RemoteObjectId} objectId
- * @return {!Promise<?string>}
- */
- Protocol.DOMAgent.prototype.getFileInfo = function(objectId) {};
- /** @typedef {!{objectId: Protocol.Runtime.RemoteObjectId}} */
- Protocol.DOMAgent.GetFileInfoRequest;
- /** @typedef {!{path: string}} */
- Protocol.DOMAgent.GetFileInfoResponse;
- /**
- * @param {!Protocol.DOMAgent.GetFileInfoRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.GetFileInfoResponse>} */
- Protocol.DOMAgent.prototype.invoke_getFileInfo = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.setInspectedNode = function(nodeId) {};
- /** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
- Protocol.DOMAgent.SetInspectedNodeRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.SetInspectedNodeResponse;
- /**
- * @param {!Protocol.DOMAgent.SetInspectedNodeRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.SetInspectedNodeResponse>} */
- Protocol.DOMAgent.prototype.invoke_setInspectedNode = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {string} name
- * @return {!Promise<?Protocol.DOM.NodeId>}
- */
- Protocol.DOMAgent.prototype.setNodeName = function(nodeId, name) {};
- /** @typedef {!{nodeId: Protocol.DOM.NodeId, name: string}} */
- Protocol.DOMAgent.SetNodeNameRequest;
- /** @typedef {!{nodeId: Protocol.DOM.NodeId}} */
- Protocol.DOMAgent.SetNodeNameResponse;
- /**
- * @param {!Protocol.DOMAgent.SetNodeNameRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.SetNodeNameResponse>} */
- Protocol.DOMAgent.prototype.invoke_setNodeName = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {string} value
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.setNodeValue = function(nodeId, value) {};
- /** @typedef {!{nodeId: Protocol.DOM.NodeId, value: string}} */
- Protocol.DOMAgent.SetNodeValueRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.SetNodeValueResponse;
- /**
- * @param {!Protocol.DOMAgent.SetNodeValueRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.SetNodeValueResponse>} */
- Protocol.DOMAgent.prototype.invoke_setNodeValue = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {string} outerHTML
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.setOuterHTML = function(nodeId, outerHTML) {};
- /** @typedef {!{outerHTML: string, nodeId: Protocol.DOM.NodeId}} */
- Protocol.DOMAgent.SetOuterHTMLRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.SetOuterHTMLResponse;
- /**
- * @param {!Protocol.DOMAgent.SetOuterHTMLRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.SetOuterHTMLResponse>} */
- Protocol.DOMAgent.prototype.invoke_setOuterHTML = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DOMAgent.prototype.undo = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.UndoRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMAgent.UndoResponse;
- /**
- * @param {!Protocol.DOMAgent.UndoRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.UndoResponse>} */
- Protocol.DOMAgent.prototype.invoke_undo = function(obj) {};
-
- /**
- * @param {Protocol.Page.FrameId} frameId
- * @return {!Promise<?Protocol.DOM.BackendNodeId>}
- */
- Protocol.DOMAgent.prototype.getFrameOwner = function(frameId) {};
- /** @typedef {!{frameId: Protocol.Page.FrameId}} */
- Protocol.DOMAgent.GetFrameOwnerRequest;
- /** @typedef {!{nodeId: Protocol.DOM.NodeId, backendNodeId: Protocol.DOM.BackendNodeId}} */
- Protocol.DOMAgent.GetFrameOwnerResponse;
- /**
- * @param {!Protocol.DOMAgent.GetFrameOwnerRequest} obj
- * @return {!Promise<!Protocol.DOMAgent.GetFrameOwnerResponse>} */
- Protocol.DOMAgent.prototype.invoke_getFrameOwner = function(obj) {};
-
- /** @typedef {number} */
- Protocol.DOM.NodeId;
-
- /** @typedef {number} */
- Protocol.DOM.BackendNodeId;
-
- /** @typedef {!{nodeType:(number), nodeName:(string), backendNodeId:(Protocol.DOM.BackendNodeId)}} */
- Protocol.DOM.BackendNode;
-
- /** @enum {string} */
- Protocol.DOM.PseudoType = {
- FirstLine: "first-line",
- FirstLetter: "first-letter",
- Before: "before",
- After: "after",
- Backdrop: "backdrop",
- Selection: "selection",
- FirstLineInherited: "first-line-inherited",
- Scrollbar: "scrollbar",
- ScrollbarThumb: "scrollbar-thumb",
- ScrollbarButton: "scrollbar-button",
- ScrollbarTrack: "scrollbar-track",
- ScrollbarTrackPiece: "scrollbar-track-piece",
- ScrollbarCorner: "scrollbar-corner",
- Resizer: "resizer",
- InputListButton: "input-list-button"
- };
-
- /** @enum {string} */
- Protocol.DOM.ShadowRootType = {
- UserAgent: "user-agent",
- Open: "open",
- Closed: "closed"
- };
-
- /** @typedef {!{nodeId:(Protocol.DOM.NodeId), parentId:(Protocol.DOM.NodeId|undefined), backendNodeId:(Protocol.DOM.BackendNodeId), nodeType:(number), nodeName:(string), localName:(string), nodeValue:(string), childNodeCount:(number|undefined), children:(!Array<Protocol.DOM.Node>|undefined), attributes:(!Array<string>|undefined), documentURL:(string|undefined), baseURL:(string|undefined), publicId:(string|undefined), systemId:(string|undefined), internalSubset:(string|undefined), xmlVersion:(string|undefined), name:(string|undefined), value:(string|undefined), pseudoType:(Protocol.DOM.PseudoType|undefined), shadowRootType:(Protocol.DOM.ShadowRootType|undefined), frameId:(Protocol.Page.FrameId|undefined), contentDocument:(Protocol.DOM.Node|undefined), shadowRoots:(!Array<Protocol.DOM.Node>|undefined), templateContent:(Protocol.DOM.Node|undefined), pseudoElements:(!Array<Protocol.DOM.Node>|undefined), importedDocument:(Protocol.DOM.Node|undefined), distributedNodes:(!Array<Protocol.DOM.BackendNode>|undefined), isSVG:(boolean|undefined)}} */
- Protocol.DOM.Node;
-
- /** @typedef {!{r:(number), g:(number), b:(number), a:(number|undefined)}} */
- Protocol.DOM.RGBA;
-
- /** @typedef {!Array<!number>} */
- Protocol.DOM.Quad;
-
- /** @typedef {!{content:(Protocol.DOM.Quad), padding:(Protocol.DOM.Quad), border:(Protocol.DOM.Quad), margin:(Protocol.DOM.Quad), width:(number), height:(number), shapeOutside:(Protocol.DOM.ShapeOutsideInfo|undefined)}} */
- Protocol.DOM.BoxModel;
-
- /** @typedef {!{bounds:(Protocol.DOM.Quad), shape:(!Array<*>), marginShape:(!Array<*>)}} */
- Protocol.DOM.ShapeOutsideInfo;
-
- /** @typedef {!{x:(number), y:(number), width:(number), height:(number)}} */
- Protocol.DOM.Rect;
- /** @interface */
- Protocol.DOMDispatcher = function() {};
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {string} name
- * @param {string} value
- */
- Protocol.DOMDispatcher.prototype.attributeModified = function(nodeId, name, value) {};
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {string} name
- */
- Protocol.DOMDispatcher.prototype.attributeRemoved = function(nodeId, name) {};
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {string} characterData
- */
- Protocol.DOMDispatcher.prototype.characterDataModified = function(nodeId, characterData) {};
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {number} childNodeCount
- */
- Protocol.DOMDispatcher.prototype.childNodeCountUpdated = function(nodeId, childNodeCount) {};
- /**
- * @param {Protocol.DOM.NodeId} parentNodeId
- * @param {Protocol.DOM.NodeId} previousNodeId
- * @param {Protocol.DOM.Node} node
- */
- Protocol.DOMDispatcher.prototype.childNodeInserted = function(parentNodeId, previousNodeId, node) {};
- /**
- * @param {Protocol.DOM.NodeId} parentNodeId
- * @param {Protocol.DOM.NodeId} nodeId
- */
- Protocol.DOMDispatcher.prototype.childNodeRemoved = function(parentNodeId, nodeId) {};
- /**
- * @param {Protocol.DOM.NodeId} insertionPointId
- * @param {!Array<Protocol.DOM.BackendNode>} distributedNodes
- */
- Protocol.DOMDispatcher.prototype.distributedNodesUpdated = function(insertionPointId, distributedNodes) {};
- Protocol.DOMDispatcher.prototype.documentUpdated = function() {};
- /**
- * @param {!Array<Protocol.DOM.NodeId>} nodeIds
- */
- Protocol.DOMDispatcher.prototype.inlineStyleInvalidated = function(nodeIds) {};
- /**
- * @param {Protocol.DOM.NodeId} parentId
- * @param {Protocol.DOM.Node} pseudoElement
- */
- Protocol.DOMDispatcher.prototype.pseudoElementAdded = function(parentId, pseudoElement) {};
- /**
- * @param {Protocol.DOM.NodeId} parentId
- * @param {Protocol.DOM.NodeId} pseudoElementId
- */
- Protocol.DOMDispatcher.prototype.pseudoElementRemoved = function(parentId, pseudoElementId) {};
- /**
- * @param {Protocol.DOM.NodeId} parentId
- * @param {!Array<Protocol.DOM.Node>} nodes
- */
- Protocol.DOMDispatcher.prototype.setChildNodes = function(parentId, nodes) {};
- /**
- * @param {Protocol.DOM.NodeId} hostId
- * @param {Protocol.DOM.NodeId} rootId
- */
- Protocol.DOMDispatcher.prototype.shadowRootPopped = function(hostId, rootId) {};
- /**
- * @param {Protocol.DOM.NodeId} hostId
- * @param {Protocol.DOM.Node} root
- */
- Protocol.DOMDispatcher.prototype.shadowRootPushed = function(hostId, root) {};
- Protocol.DOMDebugger = {};
-
-
- /**
- * @constructor
- */
- Protocol.DOMDebuggerAgent = function(){};
-
- /**
- * @param {Protocol.Runtime.RemoteObjectId} objectId
- * @param {number=} opt_depth
- * @param {boolean=} opt_pierce
- * @return {!Promise<?Array<Protocol.DOMDebugger.EventListener>>}
- */
- Protocol.DOMDebuggerAgent.prototype.getEventListeners = function(objectId, opt_depth, opt_pierce) {};
- /** @typedef {!{depth: (number|undefined), pierce: (boolean|undefined), objectId: Protocol.Runtime.RemoteObjectId}} */
- Protocol.DOMDebuggerAgent.GetEventListenersRequest;
- /** @typedef {!{listeners: !Array<Protocol.DOMDebugger.EventListener>}} */
- Protocol.DOMDebuggerAgent.GetEventListenersResponse;
- /**
- * @param {!Protocol.DOMDebuggerAgent.GetEventListenersRequest} obj
- * @return {!Promise<!Protocol.DOMDebuggerAgent.GetEventListenersResponse>} */
- Protocol.DOMDebuggerAgent.prototype.invoke_getEventListeners = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {Protocol.DOMDebugger.DOMBreakpointType} type
- * @return {!Promise<undefined>}
- */
- Protocol.DOMDebuggerAgent.prototype.removeDOMBreakpoint = function(nodeId, type) {};
- /** @typedef {!{type: Protocol.DOMDebugger.DOMBreakpointType, nodeId: Protocol.DOM.NodeId}} */
- Protocol.DOMDebuggerAgent.RemoveDOMBreakpointRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMDebuggerAgent.RemoveDOMBreakpointResponse;
- /**
- * @param {!Protocol.DOMDebuggerAgent.RemoveDOMBreakpointRequest} obj
- * @return {!Promise<!Protocol.DOMDebuggerAgent.RemoveDOMBreakpointResponse>} */
- Protocol.DOMDebuggerAgent.prototype.invoke_removeDOMBreakpoint = function(obj) {};
-
- /**
- * @param {string} eventName
- * @param {string=} opt_targetName
- * @return {!Promise<undefined>}
- */
- Protocol.DOMDebuggerAgent.prototype.removeEventListenerBreakpoint = function(eventName, opt_targetName) {};
- /** @typedef {!{eventName: string, targetName: (string|undefined)}} */
- Protocol.DOMDebuggerAgent.RemoveEventListenerBreakpointRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMDebuggerAgent.RemoveEventListenerBreakpointResponse;
- /**
- * @param {!Protocol.DOMDebuggerAgent.RemoveEventListenerBreakpointRequest} obj
- * @return {!Promise<!Protocol.DOMDebuggerAgent.RemoveEventListenerBreakpointResponse>} */
- Protocol.DOMDebuggerAgent.prototype.invoke_removeEventListenerBreakpoint = function(obj) {};
-
- /**
- * @param {string} eventName
- * @return {!Promise<undefined>}
- */
- Protocol.DOMDebuggerAgent.prototype.removeInstrumentationBreakpoint = function(eventName) {};
- /** @typedef {!{eventName: string}} */
- Protocol.DOMDebuggerAgent.RemoveInstrumentationBreakpointRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMDebuggerAgent.RemoveInstrumentationBreakpointResponse;
- /**
- * @param {!Protocol.DOMDebuggerAgent.RemoveInstrumentationBreakpointRequest} obj
- * @return {!Promise<!Protocol.DOMDebuggerAgent.RemoveInstrumentationBreakpointResponse>} */
- Protocol.DOMDebuggerAgent.prototype.invoke_removeInstrumentationBreakpoint = function(obj) {};
-
- /**
- * @param {string} url
- * @return {!Promise<undefined>}
- */
- Protocol.DOMDebuggerAgent.prototype.removeXHRBreakpoint = function(url) {};
- /** @typedef {!{url: string}} */
- Protocol.DOMDebuggerAgent.RemoveXHRBreakpointRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMDebuggerAgent.RemoveXHRBreakpointResponse;
- /**
- * @param {!Protocol.DOMDebuggerAgent.RemoveXHRBreakpointRequest} obj
- * @return {!Promise<!Protocol.DOMDebuggerAgent.RemoveXHRBreakpointResponse>} */
- Protocol.DOMDebuggerAgent.prototype.invoke_removeXHRBreakpoint = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {Protocol.DOMDebugger.DOMBreakpointType} type
- * @return {!Promise<undefined>}
- */
- Protocol.DOMDebuggerAgent.prototype.setDOMBreakpoint = function(nodeId, type) {};
- /** @typedef {!{type: Protocol.DOMDebugger.DOMBreakpointType, nodeId: Protocol.DOM.NodeId}} */
- Protocol.DOMDebuggerAgent.SetDOMBreakpointRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMDebuggerAgent.SetDOMBreakpointResponse;
- /**
- * @param {!Protocol.DOMDebuggerAgent.SetDOMBreakpointRequest} obj
- * @return {!Promise<!Protocol.DOMDebuggerAgent.SetDOMBreakpointResponse>} */
- Protocol.DOMDebuggerAgent.prototype.invoke_setDOMBreakpoint = function(obj) {};
-
- /**
- * @param {string} eventName
- * @param {string=} opt_targetName
- * @return {!Promise<undefined>}
- */
- Protocol.DOMDebuggerAgent.prototype.setEventListenerBreakpoint = function(eventName, opt_targetName) {};
- /** @typedef {!{eventName: string, targetName: (string|undefined)}} */
- Protocol.DOMDebuggerAgent.SetEventListenerBreakpointRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMDebuggerAgent.SetEventListenerBreakpointResponse;
- /**
- * @param {!Protocol.DOMDebuggerAgent.SetEventListenerBreakpointRequest} obj
- * @return {!Promise<!Protocol.DOMDebuggerAgent.SetEventListenerBreakpointResponse>} */
- Protocol.DOMDebuggerAgent.prototype.invoke_setEventListenerBreakpoint = function(obj) {};
-
- /**
- * @param {string} eventName
- * @return {!Promise<undefined>}
- */
- Protocol.DOMDebuggerAgent.prototype.setInstrumentationBreakpoint = function(eventName) {};
- /** @typedef {!{eventName: string}} */
- Protocol.DOMDebuggerAgent.SetInstrumentationBreakpointRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMDebuggerAgent.SetInstrumentationBreakpointResponse;
- /**
- * @param {!Protocol.DOMDebuggerAgent.SetInstrumentationBreakpointRequest} obj
- * @return {!Promise<!Protocol.DOMDebuggerAgent.SetInstrumentationBreakpointResponse>} */
- Protocol.DOMDebuggerAgent.prototype.invoke_setInstrumentationBreakpoint = function(obj) {};
-
- /**
- * @param {string} url
- * @return {!Promise<undefined>}
- */
- Protocol.DOMDebuggerAgent.prototype.setXHRBreakpoint = function(url) {};
- /** @typedef {!{url: string}} */
- Protocol.DOMDebuggerAgent.SetXHRBreakpointRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMDebuggerAgent.SetXHRBreakpointResponse;
- /**
- * @param {!Protocol.DOMDebuggerAgent.SetXHRBreakpointRequest} obj
- * @return {!Promise<!Protocol.DOMDebuggerAgent.SetXHRBreakpointResponse>} */
- Protocol.DOMDebuggerAgent.prototype.invoke_setXHRBreakpoint = function(obj) {};
-
- /** @enum {string} */
- Protocol.DOMDebugger.DOMBreakpointType = {
- SubtreeModified: "subtree-modified",
- AttributeModified: "attribute-modified",
- NodeRemoved: "node-removed"
- };
-
- /** @typedef {!{type:(string), useCapture:(boolean), passive:(boolean), once:(boolean), scriptId:(Protocol.Runtime.ScriptId), lineNumber:(number), columnNumber:(number), handler:(Protocol.Runtime.RemoteObject|undefined), originalHandler:(Protocol.Runtime.RemoteObject|undefined), backendNodeId:(Protocol.DOM.BackendNodeId|undefined)}} */
- Protocol.DOMDebugger.EventListener;
- /** @interface */
- Protocol.DOMDebuggerDispatcher = function() {};
- Protocol.DOMSnapshot = {};
-
-
- /**
- * @constructor
- */
- Protocol.DOMSnapshotAgent = function(){};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DOMSnapshotAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DOMSnapshotAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMSnapshotAgent.DisableResponse;
- /**
- * @param {!Protocol.DOMSnapshotAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.DOMSnapshotAgent.DisableResponse>} */
- Protocol.DOMSnapshotAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DOMSnapshotAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DOMSnapshotAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMSnapshotAgent.EnableResponse;
- /**
- * @param {!Protocol.DOMSnapshotAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.DOMSnapshotAgent.EnableResponse>} */
- Protocol.DOMSnapshotAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @param {!Array<string>} computedStyleWhitelist
- * @param {boolean=} opt_includeEventListeners
- * @param {boolean=} opt_includePaintOrder
- * @param {boolean=} opt_includeUserAgentShadowTree
- * @return {!Promise<?Array<Protocol.DOMSnapshot.DOMNode>>}
- */
- Protocol.DOMSnapshotAgent.prototype.getSnapshot = function(computedStyleWhitelist, opt_includeEventListeners, opt_includePaintOrder, opt_includeUserAgentShadowTree) {};
- /** @typedef {!{includePaintOrder: (boolean|undefined), includeEventListeners: (boolean|undefined), computedStyleWhitelist: !Array<string>, includeUserAgentShadowTree: (boolean|undefined)}} */
- Protocol.DOMSnapshotAgent.GetSnapshotRequest;
- /** @typedef {!{layoutTreeNodes: !Array<Protocol.DOMSnapshot.LayoutTreeNode>, domNodes: !Array<Protocol.DOMSnapshot.DOMNode>, computedStyles: !Array<Protocol.DOMSnapshot.ComputedStyle>}} */
- Protocol.DOMSnapshotAgent.GetSnapshotResponse;
- /**
- * @param {!Protocol.DOMSnapshotAgent.GetSnapshotRequest} obj
- * @return {!Promise<!Protocol.DOMSnapshotAgent.GetSnapshotResponse>} */
- Protocol.DOMSnapshotAgent.prototype.invoke_getSnapshot = function(obj) {};
-
- /**
- * @param {!Array<string>} computedStyles
- * @param {boolean=} opt_includePaintOrder
- * @param {boolean=} opt_includeDOMRects
- * @return {!Promise<?Array<Protocol.DOMSnapshot.DocumentSnapshot>>}
- */
- Protocol.DOMSnapshotAgent.prototype.captureSnapshot = function(computedStyles, opt_includePaintOrder, opt_includeDOMRects) {};
- /** @typedef {!{includePaintOrder: (boolean|undefined), includeDOMRects: (boolean|undefined), computedStyles: !Array<string>}} */
- Protocol.DOMSnapshotAgent.CaptureSnapshotRequest;
- /** @typedef {!{documents: !Array<Protocol.DOMSnapshot.DocumentSnapshot>, strings: !Array<string>}} */
- Protocol.DOMSnapshotAgent.CaptureSnapshotResponse;
- /**
- * @param {!Protocol.DOMSnapshotAgent.CaptureSnapshotRequest} obj
- * @return {!Promise<!Protocol.DOMSnapshotAgent.CaptureSnapshotResponse>} */
- Protocol.DOMSnapshotAgent.prototype.invoke_captureSnapshot = function(obj) {};
-
- /** @typedef {!{nodeType:(number), nodeName:(string), nodeValue:(string), textValue:(string|undefined), inputValue:(string|undefined), inputChecked:(boolean|undefined), optionSelected:(boolean|undefined), backendNodeId:(Protocol.DOM.BackendNodeId), childNodeIndexes:(!Array<number>|undefined), attributes:(!Array<Protocol.DOMSnapshot.NameValue>|undefined), pseudoElementIndexes:(!Array<number>|undefined), layoutNodeIndex:(number|undefined), documentURL:(string|undefined), baseURL:(string|undefined), contentLanguage:(string|undefined), documentEncoding:(string|undefined), publicId:(string|undefined), systemId:(string|undefined), frameId:(Protocol.Page.FrameId|undefined), contentDocumentIndex:(number|undefined), pseudoType:(Protocol.DOM.PseudoType|undefined), shadowRootType:(Protocol.DOM.ShadowRootType|undefined), isClickable:(boolean|undefined), eventListeners:(!Array<Protocol.DOMDebugger.EventListener>|undefined), currentSourceURL:(string|undefined), originURL:(string|undefined), scrollOffsetX:(number|undefined), scrollOffsetY:(number|undefined)}} */
- Protocol.DOMSnapshot.DOMNode;
-
- /** @typedef {!{boundingBox:(Protocol.DOM.Rect), startCharacterIndex:(number), numCharacters:(number)}} */
- Protocol.DOMSnapshot.InlineTextBox;
-
- /** @typedef {!{domNodeIndex:(number), boundingBox:(Protocol.DOM.Rect), layoutText:(string|undefined), inlineTextNodes:(!Array<Protocol.DOMSnapshot.InlineTextBox>|undefined), styleIndex:(number|undefined), paintOrder:(number|undefined), isStackingContext:(boolean|undefined)}} */
- Protocol.DOMSnapshot.LayoutTreeNode;
-
- /** @typedef {!{properties:(!Array<Protocol.DOMSnapshot.NameValue>)}} */
- Protocol.DOMSnapshot.ComputedStyle;
-
- /** @typedef {!{name:(string), value:(string)}} */
- Protocol.DOMSnapshot.NameValue;
-
- /** @typedef {number} */
- Protocol.DOMSnapshot.StringIndex;
-
- /** @typedef {!Array<!Protocol.DOMSnapshot.StringIndex>} */
- Protocol.DOMSnapshot.ArrayOfStrings;
-
- /** @typedef {!{index:(!Array<number>), value:(!Array<Protocol.DOMSnapshot.StringIndex>)}} */
- Protocol.DOMSnapshot.RareStringData;
-
- /** @typedef {!{index:(!Array<number>)}} */
- Protocol.DOMSnapshot.RareBooleanData;
-
- /** @typedef {!{index:(!Array<number>), value:(!Array<number>)}} */
- Protocol.DOMSnapshot.RareIntegerData;
-
- /** @typedef {!Array<!number>} */
- Protocol.DOMSnapshot.Rectangle;
-
- /** @typedef {!{documentURL:(Protocol.DOMSnapshot.StringIndex), title:(Protocol.DOMSnapshot.StringIndex), baseURL:(Protocol.DOMSnapshot.StringIndex), contentLanguage:(Protocol.DOMSnapshot.StringIndex), encodingName:(Protocol.DOMSnapshot.StringIndex), publicId:(Protocol.DOMSnapshot.StringIndex), systemId:(Protocol.DOMSnapshot.StringIndex), frameId:(Protocol.DOMSnapshot.StringIndex), nodes:(Protocol.DOMSnapshot.NodeTreeSnapshot), layout:(Protocol.DOMSnapshot.LayoutTreeSnapshot), textBoxes:(Protocol.DOMSnapshot.TextBoxSnapshot), scrollOffsetX:(number|undefined), scrollOffsetY:(number|undefined), contentWidth:(number|undefined), contentHeight:(number|undefined)}} */
- Protocol.DOMSnapshot.DocumentSnapshot;
-
- /** @typedef {!{parentIndex:(!Array<number>|undefined), nodeType:(!Array<number>|undefined), nodeName:(!Array<Protocol.DOMSnapshot.StringIndex>|undefined), nodeValue:(!Array<Protocol.DOMSnapshot.StringIndex>|undefined), backendNodeId:(!Array<Protocol.DOM.BackendNodeId>|undefined), attributes:(!Array<Protocol.DOMSnapshot.ArrayOfStrings>|undefined), textValue:(Protocol.DOMSnapshot.RareStringData|undefined), inputValue:(Protocol.DOMSnapshot.RareStringData|undefined), inputChecked:(Protocol.DOMSnapshot.RareBooleanData|undefined), optionSelected:(Protocol.DOMSnapshot.RareBooleanData|undefined), contentDocumentIndex:(Protocol.DOMSnapshot.RareIntegerData|undefined), pseudoType:(Protocol.DOMSnapshot.RareStringData|undefined), isClickable:(Protocol.DOMSnapshot.RareBooleanData|undefined), currentSourceURL:(Protocol.DOMSnapshot.RareStringData|undefined), originURL:(Protocol.DOMSnapshot.RareStringData|undefined)}} */
- Protocol.DOMSnapshot.NodeTreeSnapshot;
-
- /** @typedef {!{nodeIndex:(!Array<number>), styles:(!Array<Protocol.DOMSnapshot.ArrayOfStrings>), bounds:(!Array<Protocol.DOMSnapshot.Rectangle>), text:(!Array<Protocol.DOMSnapshot.StringIndex>), stackingContexts:(Protocol.DOMSnapshot.RareBooleanData), paintOrders:(!Array<number>|undefined), offsetRects:(!Array<Protocol.DOMSnapshot.Rectangle>|undefined), scrollRects:(!Array<Protocol.DOMSnapshot.Rectangle>|undefined), clientRects:(!Array<Protocol.DOMSnapshot.Rectangle>|undefined)}} */
- Protocol.DOMSnapshot.LayoutTreeSnapshot;
-
- /** @typedef {!{layoutIndex:(!Array<number>), bounds:(!Array<Protocol.DOMSnapshot.Rectangle>), start:(!Array<number>), length:(!Array<number>)}} */
- Protocol.DOMSnapshot.TextBoxSnapshot;
- /** @interface */
- Protocol.DOMSnapshotDispatcher = function() {};
- Protocol.DOMStorage = {};
-
-
- /**
- * @constructor
- */
- Protocol.DOMStorageAgent = function(){};
-
- /**
- * @param {Protocol.DOMStorage.StorageId} storageId
- * @return {!Promise<undefined>}
- */
- Protocol.DOMStorageAgent.prototype.clear = function(storageId) {};
- /** @typedef {!{storageId: Protocol.DOMStorage.StorageId}} */
- Protocol.DOMStorageAgent.ClearRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMStorageAgent.ClearResponse;
- /**
- * @param {!Protocol.DOMStorageAgent.ClearRequest} obj
- * @return {!Promise<!Protocol.DOMStorageAgent.ClearResponse>} */
- Protocol.DOMStorageAgent.prototype.invoke_clear = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DOMStorageAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DOMStorageAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMStorageAgent.DisableResponse;
- /**
- * @param {!Protocol.DOMStorageAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.DOMStorageAgent.DisableResponse>} */
- Protocol.DOMStorageAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DOMStorageAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DOMStorageAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMStorageAgent.EnableResponse;
- /**
- * @param {!Protocol.DOMStorageAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.DOMStorageAgent.EnableResponse>} */
- Protocol.DOMStorageAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @param {Protocol.DOMStorage.StorageId} storageId
- * @return {!Promise<?Array<Protocol.DOMStorage.Item>>}
- */
- Protocol.DOMStorageAgent.prototype.getDOMStorageItems = function(storageId) {};
- /** @typedef {!{storageId: Protocol.DOMStorage.StorageId}} */
- Protocol.DOMStorageAgent.GetDOMStorageItemsRequest;
- /** @typedef {!{entries: !Array<Protocol.DOMStorage.Item>}} */
- Protocol.DOMStorageAgent.GetDOMStorageItemsResponse;
- /**
- * @param {!Protocol.DOMStorageAgent.GetDOMStorageItemsRequest} obj
- * @return {!Promise<!Protocol.DOMStorageAgent.GetDOMStorageItemsResponse>} */
- Protocol.DOMStorageAgent.prototype.invoke_getDOMStorageItems = function(obj) {};
-
- /**
- * @param {Protocol.DOMStorage.StorageId} storageId
- * @param {string} key
- * @return {!Promise<undefined>}
- */
- Protocol.DOMStorageAgent.prototype.removeDOMStorageItem = function(storageId, key) {};
- /** @typedef {!{storageId: Protocol.DOMStorage.StorageId, key: string}} */
- Protocol.DOMStorageAgent.RemoveDOMStorageItemRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMStorageAgent.RemoveDOMStorageItemResponse;
- /**
- * @param {!Protocol.DOMStorageAgent.RemoveDOMStorageItemRequest} obj
- * @return {!Promise<!Protocol.DOMStorageAgent.RemoveDOMStorageItemResponse>} */
- Protocol.DOMStorageAgent.prototype.invoke_removeDOMStorageItem = function(obj) {};
-
- /**
- * @param {Protocol.DOMStorage.StorageId} storageId
- * @param {string} key
- * @param {string} value
- * @return {!Promise<undefined>}
- */
- Protocol.DOMStorageAgent.prototype.setDOMStorageItem = function(storageId, key, value) {};
- /** @typedef {!{value: string, storageId: Protocol.DOMStorage.StorageId, key: string}} */
- Protocol.DOMStorageAgent.SetDOMStorageItemRequest;
- /** @typedef {Object|undefined} */
- Protocol.DOMStorageAgent.SetDOMStorageItemResponse;
- /**
- * @param {!Protocol.DOMStorageAgent.SetDOMStorageItemRequest} obj
- * @return {!Promise<!Protocol.DOMStorageAgent.SetDOMStorageItemResponse>} */
- Protocol.DOMStorageAgent.prototype.invoke_setDOMStorageItem = function(obj) {};
-
- /** @typedef {!{securityOrigin:(string), isLocalStorage:(boolean)}} */
- Protocol.DOMStorage.StorageId;
-
- /** @typedef {!Array<!string>} */
- Protocol.DOMStorage.Item;
- /** @interface */
- Protocol.DOMStorageDispatcher = function() {};
- /**
- * @param {Protocol.DOMStorage.StorageId} storageId
- * @param {string} key
- * @param {string} newValue
- */
- Protocol.DOMStorageDispatcher.prototype.domStorageItemAdded = function(storageId, key, newValue) {};
- /**
- * @param {Protocol.DOMStorage.StorageId} storageId
- * @param {string} key
- */
- Protocol.DOMStorageDispatcher.prototype.domStorageItemRemoved = function(storageId, key) {};
- /**
- * @param {Protocol.DOMStorage.StorageId} storageId
- * @param {string} key
- * @param {string} oldValue
- * @param {string} newValue
- */
- Protocol.DOMStorageDispatcher.prototype.domStorageItemUpdated = function(storageId, key, oldValue, newValue) {};
- /**
- * @param {Protocol.DOMStorage.StorageId} storageId
- */
- Protocol.DOMStorageDispatcher.prototype.domStorageItemsCleared = function(storageId) {};
- Protocol.Database = {};
-
-
- /**
- * @constructor
- */
- Protocol.DatabaseAgent = function(){};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DatabaseAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DatabaseAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.DatabaseAgent.DisableResponse;
- /**
- * @param {!Protocol.DatabaseAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.DatabaseAgent.DisableResponse>} */
- Protocol.DatabaseAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DatabaseAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DatabaseAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.DatabaseAgent.EnableResponse;
- /**
- * @param {!Protocol.DatabaseAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.DatabaseAgent.EnableResponse>} */
- Protocol.DatabaseAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @param {Protocol.Database.DatabaseId} databaseId
- * @param {string} query
- * @return {!Promise<?Array<string>>}
- */
- Protocol.DatabaseAgent.prototype.executeSQL = function(databaseId, query) {};
- /** @typedef {!{query: string, databaseId: Protocol.Database.DatabaseId}} */
- Protocol.DatabaseAgent.ExecuteSQLRequest;
- /** @typedef {!{columnNames: !Array<string>, values: !Array<*>, sqlError: Protocol.Database.Error}} */
- Protocol.DatabaseAgent.ExecuteSQLResponse;
- /**
- * @param {!Protocol.DatabaseAgent.ExecuteSQLRequest} obj
- * @return {!Promise<!Protocol.DatabaseAgent.ExecuteSQLResponse>} */
- Protocol.DatabaseAgent.prototype.invoke_executeSQL = function(obj) {};
-
- /**
- * @param {Protocol.Database.DatabaseId} databaseId
- * @return {!Promise<?Array<string>>}
- */
- Protocol.DatabaseAgent.prototype.getDatabaseTableNames = function(databaseId) {};
- /** @typedef {!{databaseId: Protocol.Database.DatabaseId}} */
- Protocol.DatabaseAgent.GetDatabaseTableNamesRequest;
- /** @typedef {!{tableNames: !Array<string>}} */
- Protocol.DatabaseAgent.GetDatabaseTableNamesResponse;
- /**
- * @param {!Protocol.DatabaseAgent.GetDatabaseTableNamesRequest} obj
- * @return {!Promise<!Protocol.DatabaseAgent.GetDatabaseTableNamesResponse>} */
- Protocol.DatabaseAgent.prototype.invoke_getDatabaseTableNames = function(obj) {};
-
- /** @typedef {string} */
- Protocol.Database.DatabaseId;
-
- /** @typedef {!{id:(Protocol.Database.DatabaseId), domain:(string), name:(string), version:(string)}} */
- Protocol.Database.Database;
-
- /** @typedef {!{message:(string), code:(number)}} */
- Protocol.Database.Error;
- /** @interface */
- Protocol.DatabaseDispatcher = function() {};
- /**
- * @param {Protocol.Database.Database} database
- */
- Protocol.DatabaseDispatcher.prototype.addDatabase = function(database) {};
- Protocol.DeviceOrientation = {};
-
-
- /**
- * @constructor
- */
- Protocol.DeviceOrientationAgent = function(){};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DeviceOrientationAgent.prototype.clearDeviceOrientationOverride = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DeviceOrientationAgent.ClearDeviceOrientationOverrideRequest;
- /** @typedef {Object|undefined} */
- Protocol.DeviceOrientationAgent.ClearDeviceOrientationOverrideResponse;
- /**
- * @param {!Protocol.DeviceOrientationAgent.ClearDeviceOrientationOverrideRequest} obj
- * @return {!Promise<!Protocol.DeviceOrientationAgent.ClearDeviceOrientationOverrideResponse>} */
- Protocol.DeviceOrientationAgent.prototype.invoke_clearDeviceOrientationOverride = function(obj) {};
-
- /**
- * @param {number} alpha
- * @param {number} beta
- * @param {number} gamma
- * @return {!Promise<undefined>}
- */
- Protocol.DeviceOrientationAgent.prototype.setDeviceOrientationOverride = function(alpha, beta, gamma) {};
- /** @typedef {!{alpha: number, beta: number, gamma: number}} */
- Protocol.DeviceOrientationAgent.SetDeviceOrientationOverrideRequest;
- /** @typedef {Object|undefined} */
- Protocol.DeviceOrientationAgent.SetDeviceOrientationOverrideResponse;
- /**
- * @param {!Protocol.DeviceOrientationAgent.SetDeviceOrientationOverrideRequest} obj
- * @return {!Promise<!Protocol.DeviceOrientationAgent.SetDeviceOrientationOverrideResponse>} */
- Protocol.DeviceOrientationAgent.prototype.invoke_setDeviceOrientationOverride = function(obj) {};
- /** @interface */
- Protocol.DeviceOrientationDispatcher = function() {};
- Protocol.Emulation = {};
-
-
- /**
- * @constructor
- */
- Protocol.EmulationAgent = function(){};
-
- /**
- * @return {!Promise<?boolean>}
- */
- Protocol.EmulationAgent.prototype.canEmulate = function() {};
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.CanEmulateRequest;
- /** @typedef {!{result: boolean}} */
- Protocol.EmulationAgent.CanEmulateResponse;
- /**
- * @param {!Protocol.EmulationAgent.CanEmulateRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.CanEmulateResponse>} */
- Protocol.EmulationAgent.prototype.invoke_canEmulate = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.EmulationAgent.prototype.clearDeviceMetricsOverride = function() {};
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.ClearDeviceMetricsOverrideRequest;
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.ClearDeviceMetricsOverrideResponse;
- /**
- * @param {!Protocol.EmulationAgent.ClearDeviceMetricsOverrideRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.ClearDeviceMetricsOverrideResponse>} */
- Protocol.EmulationAgent.prototype.invoke_clearDeviceMetricsOverride = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.EmulationAgent.prototype.clearGeolocationOverride = function() {};
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.ClearGeolocationOverrideRequest;
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.ClearGeolocationOverrideResponse;
- /**
- * @param {!Protocol.EmulationAgent.ClearGeolocationOverrideRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.ClearGeolocationOverrideResponse>} */
- Protocol.EmulationAgent.prototype.invoke_clearGeolocationOverride = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.EmulationAgent.prototype.resetPageScaleFactor = function() {};
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.ResetPageScaleFactorRequest;
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.ResetPageScaleFactorResponse;
- /**
- * @param {!Protocol.EmulationAgent.ResetPageScaleFactorRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.ResetPageScaleFactorResponse>} */
- Protocol.EmulationAgent.prototype.invoke_resetPageScaleFactor = function(obj) {};
-
- /**
- * @param {boolean} enabled
- * @return {!Promise<undefined>}
- */
- Protocol.EmulationAgent.prototype.setFocusEmulationEnabled = function(enabled) {};
- /** @typedef {!{enabled: boolean}} */
- Protocol.EmulationAgent.SetFocusEmulationEnabledRequest;
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.SetFocusEmulationEnabledResponse;
- /**
- * @param {!Protocol.EmulationAgent.SetFocusEmulationEnabledRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.SetFocusEmulationEnabledResponse>} */
- Protocol.EmulationAgent.prototype.invoke_setFocusEmulationEnabled = function(obj) {};
-
- /**
- * @param {number} rate
- * @return {!Promise<undefined>}
- */
- Protocol.EmulationAgent.prototype.setCPUThrottlingRate = function(rate) {};
- /** @typedef {!{rate: number}} */
- Protocol.EmulationAgent.SetCPUThrottlingRateRequest;
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.SetCPUThrottlingRateResponse;
- /**
- * @param {!Protocol.EmulationAgent.SetCPUThrottlingRateRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.SetCPUThrottlingRateResponse>} */
- Protocol.EmulationAgent.prototype.invoke_setCPUThrottlingRate = function(obj) {};
-
- /**
- * @param {Protocol.DOM.RGBA=} opt_color
- * @return {!Promise<undefined>}
- */
- Protocol.EmulationAgent.prototype.setDefaultBackgroundColorOverride = function(opt_color) {};
- /** @typedef {!{color: (Protocol.DOM.RGBA|undefined)}} */
- Protocol.EmulationAgent.SetDefaultBackgroundColorOverrideRequest;
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.SetDefaultBackgroundColorOverrideResponse;
- /**
- * @param {!Protocol.EmulationAgent.SetDefaultBackgroundColorOverrideRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.SetDefaultBackgroundColorOverrideResponse>} */
- Protocol.EmulationAgent.prototype.invoke_setDefaultBackgroundColorOverride = function(obj) {};
-
- /**
- * @param {number} width
- * @param {number} height
- * @param {number} deviceScaleFactor
- * @param {boolean} mobile
- * @param {number=} opt_scale
- * @param {number=} opt_screenWidth
- * @param {number=} opt_screenHeight
- * @param {number=} opt_positionX
- * @param {number=} opt_positionY
- * @param {boolean=} opt_dontSetVisibleSize
- * @param {Protocol.Emulation.ScreenOrientation=} opt_screenOrientation
- * @param {Protocol.Page.Viewport=} opt_viewport
- * @return {!Promise<undefined>}
- */
- Protocol.EmulationAgent.prototype.setDeviceMetricsOverride = function(width, height, deviceScaleFactor, mobile, opt_scale, opt_screenWidth, opt_screenHeight, opt_positionX, opt_positionY, opt_dontSetVisibleSize, opt_screenOrientation, opt_viewport) {};
- /** @typedef {!{deviceScaleFactor: number, positionX: (number|undefined), scale: (number|undefined), screenHeight: (number|undefined), mobile: boolean, screenOrientation: (Protocol.Emulation.ScreenOrientation|undefined), dontSetVisibleSize: (boolean|undefined), height: number, width: number, positionY: (number|undefined), screenWidth: (number|undefined), viewport: (Protocol.Page.Viewport|undefined)}} */
- Protocol.EmulationAgent.SetDeviceMetricsOverrideRequest;
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.SetDeviceMetricsOverrideResponse;
- /**
- * @param {!Protocol.EmulationAgent.SetDeviceMetricsOverrideRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.SetDeviceMetricsOverrideResponse>} */
- Protocol.EmulationAgent.prototype.invoke_setDeviceMetricsOverride = function(obj) {};
-
- /**
- * @param {boolean} hidden
- * @return {!Promise<undefined>}
- */
- Protocol.EmulationAgent.prototype.setScrollbarsHidden = function(hidden) {};
- /** @typedef {!{hidden: boolean}} */
- Protocol.EmulationAgent.SetScrollbarsHiddenRequest;
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.SetScrollbarsHiddenResponse;
- /**
- * @param {!Protocol.EmulationAgent.SetScrollbarsHiddenRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.SetScrollbarsHiddenResponse>} */
- Protocol.EmulationAgent.prototype.invoke_setScrollbarsHidden = function(obj) {};
-
- /**
- * @param {boolean} disabled
- * @return {!Promise<undefined>}
- */
- Protocol.EmulationAgent.prototype.setDocumentCookieDisabled = function(disabled) {};
- /** @typedef {!{disabled: boolean}} */
- Protocol.EmulationAgent.SetDocumentCookieDisabledRequest;
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.SetDocumentCookieDisabledResponse;
- /**
- * @param {!Protocol.EmulationAgent.SetDocumentCookieDisabledRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.SetDocumentCookieDisabledResponse>} */
- Protocol.EmulationAgent.prototype.invoke_setDocumentCookieDisabled = function(obj) {};
-
- /**
- * @param {boolean} enabled
- * @param {string=} opt_configuration
- * @return {!Promise<undefined>}
- */
- Protocol.EmulationAgent.prototype.setEmitTouchEventsForMouse = function(enabled, opt_configuration) {};
- /** @typedef {!{configuration: (string|undefined), enabled: boolean}} */
- Protocol.EmulationAgent.SetEmitTouchEventsForMouseRequest;
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.SetEmitTouchEventsForMouseResponse;
- /**
- * @param {!Protocol.EmulationAgent.SetEmitTouchEventsForMouseRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.SetEmitTouchEventsForMouseResponse>} */
- Protocol.EmulationAgent.prototype.invoke_setEmitTouchEventsForMouse = function(obj) {};
-
- /**
- * @param {string=} opt_media
- * @param {!Array<Protocol.Emulation.MediaFeature>=} opt_features
- * @return {!Promise<undefined>}
- */
- Protocol.EmulationAgent.prototype.setEmulatedMedia = function(opt_media, opt_features) {};
- /** @typedef {!{media: (string|undefined), features: (!Array<Protocol.Emulation.MediaFeature>|undefined)}} */
- Protocol.EmulationAgent.SetEmulatedMediaRequest;
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.SetEmulatedMediaResponse;
- /**
- * @param {!Protocol.EmulationAgent.SetEmulatedMediaRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.SetEmulatedMediaResponse>} */
- Protocol.EmulationAgent.prototype.invoke_setEmulatedMedia = function(obj) {};
-
- /**
- * @param {number=} opt_latitude
- * @param {number=} opt_longitude
- * @param {number=} opt_accuracy
- * @return {!Promise<undefined>}
- */
- Protocol.EmulationAgent.prototype.setGeolocationOverride = function(opt_latitude, opt_longitude, opt_accuracy) {};
- /** @typedef {!{latitude: (number|undefined), longitude: (number|undefined), accuracy: (number|undefined)}} */
- Protocol.EmulationAgent.SetGeolocationOverrideRequest;
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.SetGeolocationOverrideResponse;
- /**
- * @param {!Protocol.EmulationAgent.SetGeolocationOverrideRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.SetGeolocationOverrideResponse>} */
- Protocol.EmulationAgent.prototype.invoke_setGeolocationOverride = function(obj) {};
-
- /**
- * @param {string} platform
- * @return {!Promise<undefined>}
- */
- Protocol.EmulationAgent.prototype.setNavigatorOverrides = function(platform) {};
- /** @typedef {!{platform: string}} */
- Protocol.EmulationAgent.SetNavigatorOverridesRequest;
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.SetNavigatorOverridesResponse;
- /**
- * @param {!Protocol.EmulationAgent.SetNavigatorOverridesRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.SetNavigatorOverridesResponse>} */
- Protocol.EmulationAgent.prototype.invoke_setNavigatorOverrides = function(obj) {};
-
- /**
- * @param {number} pageScaleFactor
- * @return {!Promise<undefined>}
- */
- Protocol.EmulationAgent.prototype.setPageScaleFactor = function(pageScaleFactor) {};
- /** @typedef {!{pageScaleFactor: number}} */
- Protocol.EmulationAgent.SetPageScaleFactorRequest;
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.SetPageScaleFactorResponse;
- /**
- * @param {!Protocol.EmulationAgent.SetPageScaleFactorRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.SetPageScaleFactorResponse>} */
- Protocol.EmulationAgent.prototype.invoke_setPageScaleFactor = function(obj) {};
-
- /**
- * @param {boolean} value
- * @return {!Promise<undefined>}
- */
- Protocol.EmulationAgent.prototype.setScriptExecutionDisabled = function(value) {};
- /** @typedef {!{value: boolean}} */
- Protocol.EmulationAgent.SetScriptExecutionDisabledRequest;
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.SetScriptExecutionDisabledResponse;
- /**
- * @param {!Protocol.EmulationAgent.SetScriptExecutionDisabledRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.SetScriptExecutionDisabledResponse>} */
- Protocol.EmulationAgent.prototype.invoke_setScriptExecutionDisabled = function(obj) {};
-
- /**
- * @param {boolean} enabled
- * @param {number=} opt_maxTouchPoints
- * @return {!Promise<undefined>}
- */
- Protocol.EmulationAgent.prototype.setTouchEmulationEnabled = function(enabled, opt_maxTouchPoints) {};
- /** @typedef {!{maxTouchPoints: (number|undefined), enabled: boolean}} */
- Protocol.EmulationAgent.SetTouchEmulationEnabledRequest;
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.SetTouchEmulationEnabledResponse;
- /**
- * @param {!Protocol.EmulationAgent.SetTouchEmulationEnabledRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.SetTouchEmulationEnabledResponse>} */
- Protocol.EmulationAgent.prototype.invoke_setTouchEmulationEnabled = function(obj) {};
-
- /**
- * @param {Protocol.Emulation.VirtualTimePolicy} policy
- * @param {number=} opt_budget
- * @param {number=} opt_maxVirtualTimeTaskStarvationCount
- * @param {boolean=} opt_waitForNavigation
- * @param {Protocol.Network.TimeSinceEpoch=} opt_initialVirtualTime
- * @return {!Promise<?number>}
- */
- Protocol.EmulationAgent.prototype.setVirtualTimePolicy = function(policy, opt_budget, opt_maxVirtualTimeTaskStarvationCount, opt_waitForNavigation, opt_initialVirtualTime) {};
- /** @typedef {!{policy: Protocol.Emulation.VirtualTimePolicy, initialVirtualTime: (Protocol.Network.TimeSinceEpoch|undefined), maxVirtualTimeTaskStarvationCount: (number|undefined), waitForNavigation: (boolean|undefined), budget: (number|undefined)}} */
- Protocol.EmulationAgent.SetVirtualTimePolicyRequest;
- /** @typedef {!{virtualTimeTicksBase: number}} */
- Protocol.EmulationAgent.SetVirtualTimePolicyResponse;
- /**
- * @param {!Protocol.EmulationAgent.SetVirtualTimePolicyRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.SetVirtualTimePolicyResponse>} */
- Protocol.EmulationAgent.prototype.invoke_setVirtualTimePolicy = function(obj) {};
-
- /**
- * @param {string} timezoneId
- * @return {!Promise<undefined>}
- */
- Protocol.EmulationAgent.prototype.setTimezoneOverride = function(timezoneId) {};
- /** @typedef {!{timezoneId: string}} */
- Protocol.EmulationAgent.SetTimezoneOverrideRequest;
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.SetTimezoneOverrideResponse;
- /**
- * @param {!Protocol.EmulationAgent.SetTimezoneOverrideRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.SetTimezoneOverrideResponse>} */
- Protocol.EmulationAgent.prototype.invoke_setTimezoneOverride = function(obj) {};
-
- /**
- * @param {number} width
- * @param {number} height
- * @return {!Promise<undefined>}
- */
- Protocol.EmulationAgent.prototype.setVisibleSize = function(width, height) {};
- /** @typedef {!{width: number, height: number}} */
- Protocol.EmulationAgent.SetVisibleSizeRequest;
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.SetVisibleSizeResponse;
- /**
- * @param {!Protocol.EmulationAgent.SetVisibleSizeRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.SetVisibleSizeResponse>} */
- Protocol.EmulationAgent.prototype.invoke_setVisibleSize = function(obj) {};
-
- /**
- * @param {string} userAgent
- * @param {string=} opt_acceptLanguage
- * @param {string=} opt_platform
- * @return {!Promise<undefined>}
- */
- Protocol.EmulationAgent.prototype.setUserAgentOverride = function(userAgent, opt_acceptLanguage, opt_platform) {};
- /** @typedef {!{acceptLanguage: (string|undefined), userAgent: string, platform: (string|undefined)}} */
- Protocol.EmulationAgent.SetUserAgentOverrideRequest;
- /** @typedef {Object|undefined} */
- Protocol.EmulationAgent.SetUserAgentOverrideResponse;
- /**
- * @param {!Protocol.EmulationAgent.SetUserAgentOverrideRequest} obj
- * @return {!Promise<!Protocol.EmulationAgent.SetUserAgentOverrideResponse>} */
- Protocol.EmulationAgent.prototype.invoke_setUserAgentOverride = function(obj) {};
-
- /** @enum {string} */
- Protocol.Emulation.ScreenOrientationType = {
- PortraitPrimary: "portraitPrimary",
- PortraitSecondary: "portraitSecondary",
- LandscapePrimary: "landscapePrimary",
- LandscapeSecondary: "landscapeSecondary"
- };
-
- /** @typedef {!{type:(Protocol.Emulation.ScreenOrientationType), angle:(number)}} */
- Protocol.Emulation.ScreenOrientation;
-
- /** @typedef {!{name:(string), value:(string)}} */
- Protocol.Emulation.MediaFeature;
-
- /** @enum {string} */
- Protocol.Emulation.VirtualTimePolicy = {
- Advance: "advance",
- Pause: "pause",
- PauseIfNetworkFetchesPending: "pauseIfNetworkFetchesPending"
- };
- /** @interface */
- Protocol.EmulationDispatcher = function() {};
- Protocol.EmulationDispatcher.prototype.virtualTimeBudgetExpired = function() {};
- Protocol.HeadlessExperimental = {};
-
-
- /**
- * @constructor
- */
- Protocol.HeadlessExperimentalAgent = function(){};
-
- /**
- * @param {number=} opt_frameTimeTicks
- * @param {number=} opt_interval
- * @param {boolean=} opt_noDisplayUpdates
- * @param {Protocol.HeadlessExperimental.ScreenshotParams=} opt_screenshot
- * @return {!Promise<?boolean>}
- */
- Protocol.HeadlessExperimentalAgent.prototype.beginFrame = function(opt_frameTimeTicks, opt_interval, opt_noDisplayUpdates, opt_screenshot) {};
- /** @typedef {!{interval: (number|undefined), frameTimeTicks: (number|undefined), noDisplayUpdates: (boolean|undefined), screenshot: (Protocol.HeadlessExperimental.ScreenshotParams|undefined)}} */
- Protocol.HeadlessExperimentalAgent.BeginFrameRequest;
- /** @typedef {!{hasDamage: boolean, screenshotData: string}} */
- Protocol.HeadlessExperimentalAgent.BeginFrameResponse;
- /**
- * @param {!Protocol.HeadlessExperimentalAgent.BeginFrameRequest} obj
- * @return {!Promise<!Protocol.HeadlessExperimentalAgent.BeginFrameResponse>} */
- Protocol.HeadlessExperimentalAgent.prototype.invoke_beginFrame = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.HeadlessExperimentalAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.HeadlessExperimentalAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.HeadlessExperimentalAgent.DisableResponse;
- /**
- * @param {!Protocol.HeadlessExperimentalAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.HeadlessExperimentalAgent.DisableResponse>} */
- Protocol.HeadlessExperimentalAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.HeadlessExperimentalAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.HeadlessExperimentalAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.HeadlessExperimentalAgent.EnableResponse;
- /**
- * @param {!Protocol.HeadlessExperimentalAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.HeadlessExperimentalAgent.EnableResponse>} */
- Protocol.HeadlessExperimentalAgent.prototype.invoke_enable = function(obj) {};
-
- /** @enum {string} */
- Protocol.HeadlessExperimental.ScreenshotParamsFormat = {
- Jpeg: "jpeg",
- Png: "png"
- };
-
- /** @typedef {!{format:(Protocol.HeadlessExperimental.ScreenshotParamsFormat|undefined), quality:(number|undefined)}} */
- Protocol.HeadlessExperimental.ScreenshotParams;
- /** @interface */
- Protocol.HeadlessExperimentalDispatcher = function() {};
- /**
- * @param {boolean} needsBeginFrames
- */
- Protocol.HeadlessExperimentalDispatcher.prototype.needsBeginFramesChanged = function(needsBeginFrames) {};
- Protocol.IO = {};
-
-
- /**
- * @constructor
- */
- Protocol.IOAgent = function(){};
-
- /**
- * @param {Protocol.IO.StreamHandle} handle
- * @return {!Promise<undefined>}
- */
- Protocol.IOAgent.prototype.close = function(handle) {};
- /** @typedef {!{handle: Protocol.IO.StreamHandle}} */
- Protocol.IOAgent.CloseRequest;
- /** @typedef {Object|undefined} */
- Protocol.IOAgent.CloseResponse;
- /**
- * @param {!Protocol.IOAgent.CloseRequest} obj
- * @return {!Promise<!Protocol.IOAgent.CloseResponse>} */
- Protocol.IOAgent.prototype.invoke_close = function(obj) {};
-
- /**
- * @param {Protocol.IO.StreamHandle} handle
- * @param {number=} opt_offset
- * @param {number=} opt_size
- * @return {!Promise<?boolean>}
- */
- Protocol.IOAgent.prototype.read = function(handle, opt_offset, opt_size) {};
- /** @typedef {!{size: (number|undefined), handle: Protocol.IO.StreamHandle, offset: (number|undefined)}} */
- Protocol.IOAgent.ReadRequest;
- /** @typedef {!{data: string, base64Encoded: boolean, eof: boolean}} */
- Protocol.IOAgent.ReadResponse;
- /**
- * @param {!Protocol.IOAgent.ReadRequest} obj
- * @return {!Promise<!Protocol.IOAgent.ReadResponse>} */
- Protocol.IOAgent.prototype.invoke_read = function(obj) {};
-
- /**
- * @param {Protocol.Runtime.RemoteObjectId} objectId
- * @return {!Promise<?string>}
- */
- Protocol.IOAgent.prototype.resolveBlob = function(objectId) {};
- /** @typedef {!{objectId: Protocol.Runtime.RemoteObjectId}} */
- Protocol.IOAgent.ResolveBlobRequest;
- /** @typedef {!{uuid: string}} */
- Protocol.IOAgent.ResolveBlobResponse;
- /**
- * @param {!Protocol.IOAgent.ResolveBlobRequest} obj
- * @return {!Promise<!Protocol.IOAgent.ResolveBlobResponse>} */
- Protocol.IOAgent.prototype.invoke_resolveBlob = function(obj) {};
-
- /** @typedef {string} */
- Protocol.IO.StreamHandle;
- /** @interface */
- Protocol.IODispatcher = function() {};
- Protocol.IndexedDB = {};
-
-
- /**
- * @constructor
- */
- Protocol.IndexedDBAgent = function(){};
-
- /**
- * @param {string} securityOrigin
- * @param {string} databaseName
- * @param {string} objectStoreName
- * @return {!Promise<undefined>}
- */
- Protocol.IndexedDBAgent.prototype.clearObjectStore = function(securityOrigin, databaseName, objectStoreName) {};
- /** @typedef {!{objectStoreName: string, databaseName: string, securityOrigin: string}} */
- Protocol.IndexedDBAgent.ClearObjectStoreRequest;
- /** @typedef {Object|undefined} */
- Protocol.IndexedDBAgent.ClearObjectStoreResponse;
- /**
- * @param {!Protocol.IndexedDBAgent.ClearObjectStoreRequest} obj
- * @return {!Promise<!Protocol.IndexedDBAgent.ClearObjectStoreResponse>} */
- Protocol.IndexedDBAgent.prototype.invoke_clearObjectStore = function(obj) {};
-
- /**
- * @param {string} securityOrigin
- * @param {string} databaseName
- * @return {!Promise<undefined>}
- */
- Protocol.IndexedDBAgent.prototype.deleteDatabase = function(securityOrigin, databaseName) {};
- /** @typedef {!{databaseName: string, securityOrigin: string}} */
- Protocol.IndexedDBAgent.DeleteDatabaseRequest;
- /** @typedef {Object|undefined} */
- Protocol.IndexedDBAgent.DeleteDatabaseResponse;
- /**
- * @param {!Protocol.IndexedDBAgent.DeleteDatabaseRequest} obj
- * @return {!Promise<!Protocol.IndexedDBAgent.DeleteDatabaseResponse>} */
- Protocol.IndexedDBAgent.prototype.invoke_deleteDatabase = function(obj) {};
-
- /**
- * @param {string} securityOrigin
- * @param {string} databaseName
- * @param {string} objectStoreName
- * @param {Protocol.IndexedDB.KeyRange} keyRange
- * @return {!Promise<undefined>}
- */
- Protocol.IndexedDBAgent.prototype.deleteObjectStoreEntries = function(securityOrigin, databaseName, objectStoreName, keyRange) {};
- /** @typedef {!{objectStoreName: string, keyRange: Protocol.IndexedDB.KeyRange, databaseName: string, securityOrigin: string}} */
- Protocol.IndexedDBAgent.DeleteObjectStoreEntriesRequest;
- /** @typedef {Object|undefined} */
- Protocol.IndexedDBAgent.DeleteObjectStoreEntriesResponse;
- /**
- * @param {!Protocol.IndexedDBAgent.DeleteObjectStoreEntriesRequest} obj
- * @return {!Promise<!Protocol.IndexedDBAgent.DeleteObjectStoreEntriesResponse>} */
- Protocol.IndexedDBAgent.prototype.invoke_deleteObjectStoreEntries = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.IndexedDBAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.IndexedDBAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.IndexedDBAgent.DisableResponse;
- /**
- * @param {!Protocol.IndexedDBAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.IndexedDBAgent.DisableResponse>} */
- Protocol.IndexedDBAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.IndexedDBAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.IndexedDBAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.IndexedDBAgent.EnableResponse;
- /**
- * @param {!Protocol.IndexedDBAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.IndexedDBAgent.EnableResponse>} */
- Protocol.IndexedDBAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @param {string} securityOrigin
- * @param {string} databaseName
- * @param {string} objectStoreName
- * @param {string} indexName
- * @param {number} skipCount
- * @param {number} pageSize
- * @param {Protocol.IndexedDB.KeyRange=} opt_keyRange
- * @return {!Promise<?Array<Protocol.IndexedDB.DataEntry>>}
- */
- Protocol.IndexedDBAgent.prototype.requestData = function(securityOrigin, databaseName, objectStoreName, indexName, skipCount, pageSize, opt_keyRange) {};
- /** @typedef {!{indexName: string, pageSize: number, objectStoreName: string, skipCount: number, keyRange: (Protocol.IndexedDB.KeyRange|undefined), databaseName: string, securityOrigin: string}} */
- Protocol.IndexedDBAgent.RequestDataRequest;
- /** @typedef {!{hasMore: boolean, objectStoreDataEntries: !Array<Protocol.IndexedDB.DataEntry>}} */
- Protocol.IndexedDBAgent.RequestDataResponse;
- /**
- * @param {!Protocol.IndexedDBAgent.RequestDataRequest} obj
- * @return {!Promise<!Protocol.IndexedDBAgent.RequestDataResponse>} */
- Protocol.IndexedDBAgent.prototype.invoke_requestData = function(obj) {};
-
- /**
- * @param {string} securityOrigin
- * @param {string} databaseName
- * @param {string} objectStoreName
- * @return {!Promise<?number>}
- */
- Protocol.IndexedDBAgent.prototype.getMetadata = function(securityOrigin, databaseName, objectStoreName) {};
- /** @typedef {!{objectStoreName: string, databaseName: string, securityOrigin: string}} */
- Protocol.IndexedDBAgent.GetMetadataRequest;
- /** @typedef {!{entriesCount: number, keyGeneratorValue: number}} */
- Protocol.IndexedDBAgent.GetMetadataResponse;
- /**
- * @param {!Protocol.IndexedDBAgent.GetMetadataRequest} obj
- * @return {!Promise<!Protocol.IndexedDBAgent.GetMetadataResponse>} */
- Protocol.IndexedDBAgent.prototype.invoke_getMetadata = function(obj) {};
-
- /**
- * @param {string} securityOrigin
- * @param {string} databaseName
- * @return {!Promise<?Protocol.IndexedDB.DatabaseWithObjectStores>}
- */
- Protocol.IndexedDBAgent.prototype.requestDatabase = function(securityOrigin, databaseName) {};
- /** @typedef {!{databaseName: string, securityOrigin: string}} */
- Protocol.IndexedDBAgent.RequestDatabaseRequest;
- /** @typedef {!{databaseWithObjectStores: Protocol.IndexedDB.DatabaseWithObjectStores}} */
- Protocol.IndexedDBAgent.RequestDatabaseResponse;
- /**
- * @param {!Protocol.IndexedDBAgent.RequestDatabaseRequest} obj
- * @return {!Promise<!Protocol.IndexedDBAgent.RequestDatabaseResponse>} */
- Protocol.IndexedDBAgent.prototype.invoke_requestDatabase = function(obj) {};
-
- /**
- * @param {string} securityOrigin
- * @return {!Promise<?Array<string>>}
- */
- Protocol.IndexedDBAgent.prototype.requestDatabaseNames = function(securityOrigin) {};
- /** @typedef {!{securityOrigin: string}} */
- Protocol.IndexedDBAgent.RequestDatabaseNamesRequest;
- /** @typedef {!{databaseNames: !Array<string>}} */
- Protocol.IndexedDBAgent.RequestDatabaseNamesResponse;
- /**
- * @param {!Protocol.IndexedDBAgent.RequestDatabaseNamesRequest} obj
- * @return {!Promise<!Protocol.IndexedDBAgent.RequestDatabaseNamesResponse>} */
- Protocol.IndexedDBAgent.prototype.invoke_requestDatabaseNames = function(obj) {};
-
- /** @typedef {!{name:(string), version:(number), objectStores:(!Array<Protocol.IndexedDB.ObjectStore>)}} */
- Protocol.IndexedDB.DatabaseWithObjectStores;
-
- /** @typedef {!{name:(string), keyPath:(Protocol.IndexedDB.KeyPath), autoIncrement:(boolean), indexes:(!Array<Protocol.IndexedDB.ObjectStoreIndex>)}} */
- Protocol.IndexedDB.ObjectStore;
-
- /** @typedef {!{name:(string), keyPath:(Protocol.IndexedDB.KeyPath), unique:(boolean), multiEntry:(boolean)}} */
- Protocol.IndexedDB.ObjectStoreIndex;
-
- /** @enum {string} */
- Protocol.IndexedDB.KeyType = {
- Number: "number",
- String: "string",
- Date: "date",
- Array: "array"
- };
-
- /** @typedef {!{type:(Protocol.IndexedDB.KeyType), number:(number|undefined), string:(string|undefined), date:(number|undefined), array:(!Array<Protocol.IndexedDB.Key>|undefined)}} */
- Protocol.IndexedDB.Key;
-
- /** @typedef {!{lower:(Protocol.IndexedDB.Key|undefined), upper:(Protocol.IndexedDB.Key|undefined), lowerOpen:(boolean), upperOpen:(boolean)}} */
- Protocol.IndexedDB.KeyRange;
-
- /** @typedef {!{key:(Protocol.Runtime.RemoteObject), primaryKey:(Protocol.Runtime.RemoteObject), value:(Protocol.Runtime.RemoteObject)}} */
- Protocol.IndexedDB.DataEntry;
-
- /** @enum {string} */
- Protocol.IndexedDB.KeyPathType = {
- Null: "null",
- String: "string",
- Array: "array"
- };
-
- /** @typedef {!{type:(Protocol.IndexedDB.KeyPathType), string:(string|undefined), array:(!Array<string>|undefined)}} */
- Protocol.IndexedDB.KeyPath;
- /** @interface */
- Protocol.IndexedDBDispatcher = function() {};
- Protocol.Input = {};
-
-
- /**
- * @constructor
- */
- Protocol.InputAgent = function(){};
-
- /**
- * @param {string} type
- * @param {number=} opt_modifiers
- * @param {Protocol.Input.TimeSinceEpoch=} opt_timestamp
- * @param {string=} opt_text
- * @param {string=} opt_unmodifiedText
- * @param {string=} opt_keyIdentifier
- * @param {string=} opt_code
- * @param {string=} opt_key
- * @param {number=} opt_windowsVirtualKeyCode
- * @param {number=} opt_nativeVirtualKeyCode
- * @param {boolean=} opt_autoRepeat
- * @param {boolean=} opt_isKeypad
- * @param {boolean=} opt_isSystemKey
- * @param {number=} opt_location
- * @return {!Promise<undefined>}
- */
- Protocol.InputAgent.prototype.dispatchKeyEvent = function(type, opt_modifiers, opt_timestamp, opt_text, opt_unmodifiedText, opt_keyIdentifier, opt_code, opt_key, opt_windowsVirtualKeyCode, opt_nativeVirtualKeyCode, opt_autoRepeat, opt_isKeypad, opt_isSystemKey, opt_location) {};
- /** @typedef {!{code: (string|undefined), keyIdentifier: (string|undefined), modifiers: (number|undefined), timestamp: (Protocol.Input.TimeSinceEpoch|undefined), autoRepeat: (boolean|undefined), isSystemKey: (boolean|undefined), unmodifiedText: (string|undefined), location: (number|undefined), key: (string|undefined), text: (string|undefined), nativeVirtualKeyCode: (number|undefined), windowsVirtualKeyCode: (number|undefined), type: string, isKeypad: (boolean|undefined)}} */
- Protocol.InputAgent.DispatchKeyEventRequest;
- /** @typedef {Object|undefined} */
- Protocol.InputAgent.DispatchKeyEventResponse;
- /**
- * @param {!Protocol.InputAgent.DispatchKeyEventRequest} obj
- * @return {!Promise<!Protocol.InputAgent.DispatchKeyEventResponse>} */
- Protocol.InputAgent.prototype.invoke_dispatchKeyEvent = function(obj) {};
-
- /**
- * @param {string} text
- * @return {!Promise<undefined>}
- */
- Protocol.InputAgent.prototype.insertText = function(text) {};
- /** @typedef {!{text: string}} */
- Protocol.InputAgent.InsertTextRequest;
- /** @typedef {Object|undefined} */
- Protocol.InputAgent.InsertTextResponse;
- /**
- * @param {!Protocol.InputAgent.InsertTextRequest} obj
- * @return {!Promise<!Protocol.InputAgent.InsertTextResponse>} */
- Protocol.InputAgent.prototype.invoke_insertText = function(obj) {};
-
- /**
- * @param {string} type
- * @param {number} x
- * @param {number} y
- * @param {number=} opt_modifiers
- * @param {Protocol.Input.TimeSinceEpoch=} opt_timestamp
- * @param {string=} opt_button
- * @param {number=} opt_buttons
- * @param {number=} opt_clickCount
- * @param {number=} opt_deltaX
- * @param {number=} opt_deltaY
- * @param {string=} opt_pointerType
- * @return {!Promise<undefined>}
- */
- Protocol.InputAgent.prototype.dispatchMouseEvent = function(type, x, y, opt_modifiers, opt_timestamp, opt_button, opt_buttons, opt_clickCount, opt_deltaX, opt_deltaY, opt_pointerType) {};
- /** @typedef {!{modifiers: (number|undefined), clickCount: (number|undefined), deltaX: (number|undefined), timestamp: (Protocol.Input.TimeSinceEpoch|undefined), button: (string|undefined), buttons: (number|undefined), pointerType: (string|undefined), deltaY: (number|undefined), y: number, x: number, type: string}} */
- Protocol.InputAgent.DispatchMouseEventRequest;
- /** @typedef {Object|undefined} */
- Protocol.InputAgent.DispatchMouseEventResponse;
- /**
- * @param {!Protocol.InputAgent.DispatchMouseEventRequest} obj
- * @return {!Promise<!Protocol.InputAgent.DispatchMouseEventResponse>} */
- Protocol.InputAgent.prototype.invoke_dispatchMouseEvent = function(obj) {};
-
- /**
- * @param {string} type
- * @param {!Array<Protocol.Input.TouchPoint>} touchPoints
- * @param {number=} opt_modifiers
- * @param {Protocol.Input.TimeSinceEpoch=} opt_timestamp
- * @return {!Promise<undefined>}
- */
- Protocol.InputAgent.prototype.dispatchTouchEvent = function(type, touchPoints, opt_modifiers, opt_timestamp) {};
- /** @typedef {!{timestamp: (Protocol.Input.TimeSinceEpoch|undefined), modifiers: (number|undefined), type: string, touchPoints: !Array<Protocol.Input.TouchPoint>}} */
- Protocol.InputAgent.DispatchTouchEventRequest;
- /** @typedef {Object|undefined} */
- Protocol.InputAgent.DispatchTouchEventResponse;
- /**
- * @param {!Protocol.InputAgent.DispatchTouchEventRequest} obj
- * @return {!Promise<!Protocol.InputAgent.DispatchTouchEventResponse>} */
- Protocol.InputAgent.prototype.invoke_dispatchTouchEvent = function(obj) {};
-
- /**
- * @param {string} type
- * @param {number} x
- * @param {number} y
- * @param {string} button
- * @param {Protocol.Input.TimeSinceEpoch=} opt_timestamp
- * @param {number=} opt_deltaX
- * @param {number=} opt_deltaY
- * @param {number=} opt_modifiers
- * @param {number=} opt_clickCount
- * @return {!Promise<undefined>}
- */
- Protocol.InputAgent.prototype.emulateTouchFromMouseEvent = function(type, x, y, button, opt_timestamp, opt_deltaX, opt_deltaY, opt_modifiers, opt_clickCount) {};
- /** @typedef {!{modifiers: (number|undefined), clickCount: (number|undefined), deltaX: (number|undefined), timestamp: (Protocol.Input.TimeSinceEpoch|undefined), button: string, deltaY: (number|undefined), y: number, x: number, type: string}} */
- Protocol.InputAgent.EmulateTouchFromMouseEventRequest;
- /** @typedef {Object|undefined} */
- Protocol.InputAgent.EmulateTouchFromMouseEventResponse;
- /**
- * @param {!Protocol.InputAgent.EmulateTouchFromMouseEventRequest} obj
- * @return {!Promise<!Protocol.InputAgent.EmulateTouchFromMouseEventResponse>} */
- Protocol.InputAgent.prototype.invoke_emulateTouchFromMouseEvent = function(obj) {};
-
- /**
- * @param {boolean} ignore
- * @return {!Promise<undefined>}
- */
- Protocol.InputAgent.prototype.setIgnoreInputEvents = function(ignore) {};
- /** @typedef {!{ignore: boolean}} */
- Protocol.InputAgent.SetIgnoreInputEventsRequest;
- /** @typedef {Object|undefined} */
- Protocol.InputAgent.SetIgnoreInputEventsResponse;
- /**
- * @param {!Protocol.InputAgent.SetIgnoreInputEventsRequest} obj
- * @return {!Promise<!Protocol.InputAgent.SetIgnoreInputEventsResponse>} */
- Protocol.InputAgent.prototype.invoke_setIgnoreInputEvents = function(obj) {};
-
- /**
- * @param {number} x
- * @param {number} y
- * @param {number} scaleFactor
- * @param {number=} opt_relativeSpeed
- * @param {Protocol.Input.GestureSourceType=} opt_gestureSourceType
- * @return {!Promise<undefined>}
- */
- Protocol.InputAgent.prototype.synthesizePinchGesture = function(x, y, scaleFactor, opt_relativeSpeed, opt_gestureSourceType) {};
- /** @typedef {!{y: number, x: number, gestureSourceType: (Protocol.Input.GestureSourceType|undefined), relativeSpeed: (number|undefined), scaleFactor: number}} */
- Protocol.InputAgent.SynthesizePinchGestureRequest;
- /** @typedef {Object|undefined} */
- Protocol.InputAgent.SynthesizePinchGestureResponse;
- /**
- * @param {!Protocol.InputAgent.SynthesizePinchGestureRequest} obj
- * @return {!Promise<!Protocol.InputAgent.SynthesizePinchGestureResponse>} */
- Protocol.InputAgent.prototype.invoke_synthesizePinchGesture = function(obj) {};
-
- /**
- * @param {number} x
- * @param {number} y
- * @param {number=} opt_xDistance
- * @param {number=} opt_yDistance
- * @param {number=} opt_xOverscroll
- * @param {number=} opt_yOverscroll
- * @param {boolean=} opt_preventFling
- * @param {number=} opt_speed
- * @param {Protocol.Input.GestureSourceType=} opt_gestureSourceType
- * @param {number=} opt_repeatCount
- * @param {number=} opt_repeatDelayMs
- * @param {string=} opt_interactionMarkerName
- * @return {!Promise<undefined>}
- */
- Protocol.InputAgent.prototype.synthesizeScrollGesture = function(x, y, opt_xDistance, opt_yDistance, opt_xOverscroll, opt_yOverscroll, opt_preventFling, opt_speed, opt_gestureSourceType, opt_repeatCount, opt_repeatDelayMs, opt_interactionMarkerName) {};
- /** @typedef {!{xOverscroll: (number|undefined), yOverscroll: (number|undefined), preventFling: (boolean|undefined), yDistance: (number|undefined), interactionMarkerName: (string|undefined), xDistance: (number|undefined), repeatCount: (number|undefined), gestureSourceType: (Protocol.Input.GestureSourceType|undefined), repeatDelayMs: (number|undefined), y: number, x: number, speed: (number|undefined)}} */
- Protocol.InputAgent.SynthesizeScrollGestureRequest;
- /** @typedef {Object|undefined} */
- Protocol.InputAgent.SynthesizeScrollGestureResponse;
- /**
- * @param {!Protocol.InputAgent.SynthesizeScrollGestureRequest} obj
- * @return {!Promise<!Protocol.InputAgent.SynthesizeScrollGestureResponse>} */
- Protocol.InputAgent.prototype.invoke_synthesizeScrollGesture = function(obj) {};
-
- /**
- * @param {number} x
- * @param {number} y
- * @param {number=} opt_duration
- * @param {number=} opt_tapCount
- * @param {Protocol.Input.GestureSourceType=} opt_gestureSourceType
- * @return {!Promise<undefined>}
- */
- Protocol.InputAgent.prototype.synthesizeTapGesture = function(x, y, opt_duration, opt_tapCount, opt_gestureSourceType) {};
- /** @typedef {!{y: number, x: number, duration: (number|undefined), gestureSourceType: (Protocol.Input.GestureSourceType|undefined), tapCount: (number|undefined)}} */
- Protocol.InputAgent.SynthesizeTapGestureRequest;
- /** @typedef {Object|undefined} */
- Protocol.InputAgent.SynthesizeTapGestureResponse;
- /**
- * @param {!Protocol.InputAgent.SynthesizeTapGestureRequest} obj
- * @return {!Promise<!Protocol.InputAgent.SynthesizeTapGestureResponse>} */
- Protocol.InputAgent.prototype.invoke_synthesizeTapGesture = function(obj) {};
-
- /** @typedef {!{x:(number), y:(number), radiusX:(number|undefined), radiusY:(number|undefined), rotationAngle:(number|undefined), force:(number|undefined), id:(number|undefined)}} */
- Protocol.Input.TouchPoint;
-
- /** @enum {string} */
- Protocol.Input.GestureSourceType = {
- Default: "default",
- Touch: "touch",
- Mouse: "mouse"
- };
-
- /** @typedef {number} */
- Protocol.Input.TimeSinceEpoch;
- /** @interface */
- Protocol.InputDispatcher = function() {};
- Protocol.Inspector = {};
-
-
- /**
- * @constructor
- */
- Protocol.InspectorAgent = function(){};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.InspectorAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.InspectorAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.InspectorAgent.DisableResponse;
- /**
- * @param {!Protocol.InspectorAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.InspectorAgent.DisableResponse>} */
- Protocol.InspectorAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.InspectorAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.InspectorAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.InspectorAgent.EnableResponse;
- /**
- * @param {!Protocol.InspectorAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.InspectorAgent.EnableResponse>} */
- Protocol.InspectorAgent.prototype.invoke_enable = function(obj) {};
- /** @interface */
- Protocol.InspectorDispatcher = function() {};
- /**
- * @param {string} reason
- */
- Protocol.InspectorDispatcher.prototype.detached = function(reason) {};
- Protocol.InspectorDispatcher.prototype.targetCrashed = function() {};
- Protocol.InspectorDispatcher.prototype.targetReloadedAfterCrash = function() {};
- Protocol.LayerTree = {};
-
-
- /**
- * @constructor
- */
- Protocol.LayerTreeAgent = function(){};
-
- /**
- * @param {Protocol.LayerTree.LayerId} layerId
- * @return {!Promise<?Array<string>>}
- */
- Protocol.LayerTreeAgent.prototype.compositingReasons = function(layerId) {};
- /** @typedef {!{layerId: Protocol.LayerTree.LayerId}} */
- Protocol.LayerTreeAgent.CompositingReasonsRequest;
- /** @typedef {!{compositingReasons: !Array<string>}} */
- Protocol.LayerTreeAgent.CompositingReasonsResponse;
- /**
- * @param {!Protocol.LayerTreeAgent.CompositingReasonsRequest} obj
- * @return {!Promise<!Protocol.LayerTreeAgent.CompositingReasonsResponse>} */
- Protocol.LayerTreeAgent.prototype.invoke_compositingReasons = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.LayerTreeAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.LayerTreeAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.LayerTreeAgent.DisableResponse;
- /**
- * @param {!Protocol.LayerTreeAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.LayerTreeAgent.DisableResponse>} */
- Protocol.LayerTreeAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.LayerTreeAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.LayerTreeAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.LayerTreeAgent.EnableResponse;
- /**
- * @param {!Protocol.LayerTreeAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.LayerTreeAgent.EnableResponse>} */
- Protocol.LayerTreeAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @param {!Array<Protocol.LayerTree.PictureTile>} tiles
- * @return {!Promise<?Protocol.LayerTree.SnapshotId>}
- */
- Protocol.LayerTreeAgent.prototype.loadSnapshot = function(tiles) {};
- /** @typedef {!{tiles: !Array<Protocol.LayerTree.PictureTile>}} */
- Protocol.LayerTreeAgent.LoadSnapshotRequest;
- /** @typedef {!{snapshotId: Protocol.LayerTree.SnapshotId}} */
- Protocol.LayerTreeAgent.LoadSnapshotResponse;
- /**
- * @param {!Protocol.LayerTreeAgent.LoadSnapshotRequest} obj
- * @return {!Promise<!Protocol.LayerTreeAgent.LoadSnapshotResponse>} */
- Protocol.LayerTreeAgent.prototype.invoke_loadSnapshot = function(obj) {};
-
- /**
- * @param {Protocol.LayerTree.LayerId} layerId
- * @return {!Promise<?Protocol.LayerTree.SnapshotId>}
- */
- Protocol.LayerTreeAgent.prototype.makeSnapshot = function(layerId) {};
- /** @typedef {!{layerId: Protocol.LayerTree.LayerId}} */
- Protocol.LayerTreeAgent.MakeSnapshotRequest;
- /** @typedef {!{snapshotId: Protocol.LayerTree.SnapshotId}} */
- Protocol.LayerTreeAgent.MakeSnapshotResponse;
- /**
- * @param {!Protocol.LayerTreeAgent.MakeSnapshotRequest} obj
- * @return {!Promise<!Protocol.LayerTreeAgent.MakeSnapshotResponse>} */
- Protocol.LayerTreeAgent.prototype.invoke_makeSnapshot = function(obj) {};
-
- /**
- * @param {Protocol.LayerTree.SnapshotId} snapshotId
- * @param {number=} opt_minRepeatCount
- * @param {number=} opt_minDuration
- * @param {Protocol.DOM.Rect=} opt_clipRect
- * @return {!Promise<?Array<Protocol.LayerTree.PaintProfile>>}
- */
- Protocol.LayerTreeAgent.prototype.profileSnapshot = function(snapshotId, opt_minRepeatCount, opt_minDuration, opt_clipRect) {};
- /** @typedef {!{minRepeatCount: (number|undefined), snapshotId: Protocol.LayerTree.SnapshotId, clipRect: (Protocol.DOM.Rect|undefined), minDuration: (number|undefined)}} */
- Protocol.LayerTreeAgent.ProfileSnapshotRequest;
- /** @typedef {!{timings: !Array<Protocol.LayerTree.PaintProfile>}} */
- Protocol.LayerTreeAgent.ProfileSnapshotResponse;
- /**
- * @param {!Protocol.LayerTreeAgent.ProfileSnapshotRequest} obj
- * @return {!Promise<!Protocol.LayerTreeAgent.ProfileSnapshotResponse>} */
- Protocol.LayerTreeAgent.prototype.invoke_profileSnapshot = function(obj) {};
-
- /**
- * @param {Protocol.LayerTree.SnapshotId} snapshotId
- * @return {!Promise<undefined>}
- */
- Protocol.LayerTreeAgent.prototype.releaseSnapshot = function(snapshotId) {};
- /** @typedef {!{snapshotId: Protocol.LayerTree.SnapshotId}} */
- Protocol.LayerTreeAgent.ReleaseSnapshotRequest;
- /** @typedef {Object|undefined} */
- Protocol.LayerTreeAgent.ReleaseSnapshotResponse;
- /**
- * @param {!Protocol.LayerTreeAgent.ReleaseSnapshotRequest} obj
- * @return {!Promise<!Protocol.LayerTreeAgent.ReleaseSnapshotResponse>} */
- Protocol.LayerTreeAgent.prototype.invoke_releaseSnapshot = function(obj) {};
-
- /**
- * @param {Protocol.LayerTree.SnapshotId} snapshotId
- * @param {number=} opt_fromStep
- * @param {number=} opt_toStep
- * @param {number=} opt_scale
- * @return {!Promise<?string>}
- */
- Protocol.LayerTreeAgent.prototype.replaySnapshot = function(snapshotId, opt_fromStep, opt_toStep, opt_scale) {};
- /** @typedef {!{snapshotId: Protocol.LayerTree.SnapshotId, scale: (number|undefined), fromStep: (number|undefined), toStep: (number|undefined)}} */
- Protocol.LayerTreeAgent.ReplaySnapshotRequest;
- /** @typedef {!{dataURL: string}} */
- Protocol.LayerTreeAgent.ReplaySnapshotResponse;
- /**
- * @param {!Protocol.LayerTreeAgent.ReplaySnapshotRequest} obj
- * @return {!Promise<!Protocol.LayerTreeAgent.ReplaySnapshotResponse>} */
- Protocol.LayerTreeAgent.prototype.invoke_replaySnapshot = function(obj) {};
-
- /**
- * @param {Protocol.LayerTree.SnapshotId} snapshotId
- * @return {!Promise<?Array<!Object>>}
- */
- Protocol.LayerTreeAgent.prototype.snapshotCommandLog = function(snapshotId) {};
- /** @typedef {!{snapshotId: Protocol.LayerTree.SnapshotId}} */
- Protocol.LayerTreeAgent.SnapshotCommandLogRequest;
- /** @typedef {!{commandLog: !Array<!Object>}} */
- Protocol.LayerTreeAgent.SnapshotCommandLogResponse;
- /**
- * @param {!Protocol.LayerTreeAgent.SnapshotCommandLogRequest} obj
- * @return {!Promise<!Protocol.LayerTreeAgent.SnapshotCommandLogResponse>} */
- Protocol.LayerTreeAgent.prototype.invoke_snapshotCommandLog = function(obj) {};
-
- /** @typedef {string} */
- Protocol.LayerTree.LayerId;
-
- /** @typedef {string} */
- Protocol.LayerTree.SnapshotId;
-
- /** @enum {string} */
- Protocol.LayerTree.ScrollRectType = {
- RepaintsOnScroll: "RepaintsOnScroll",
- TouchEventHandler: "TouchEventHandler",
- WheelEventHandler: "WheelEventHandler"
- };
-
- /** @typedef {!{rect:(Protocol.DOM.Rect), type:(Protocol.LayerTree.ScrollRectType)}} */
- Protocol.LayerTree.ScrollRect;
-
- /** @typedef {!{stickyBoxRect:(Protocol.DOM.Rect), containingBlockRect:(Protocol.DOM.Rect), nearestLayerShiftingStickyBox:(Protocol.LayerTree.LayerId|undefined), nearestLayerShiftingContainingBlock:(Protocol.LayerTree.LayerId|undefined)}} */
- Protocol.LayerTree.StickyPositionConstraint;
-
- /** @typedef {!{x:(number), y:(number), picture:(string)}} */
- Protocol.LayerTree.PictureTile;
-
- /** @typedef {!{layerId:(Protocol.LayerTree.LayerId), parentLayerId:(Protocol.LayerTree.LayerId|undefined), backendNodeId:(Protocol.DOM.BackendNodeId|undefined), offsetX:(number), offsetY:(number), width:(number), height:(number), transform:(!Array<number>|undefined), anchorX:(number|undefined), anchorY:(number|undefined), anchorZ:(number|undefined), paintCount:(number), drawsContent:(boolean), invisible:(boolean|undefined), scrollRects:(!Array<Protocol.LayerTree.ScrollRect>|undefined), stickyPositionConstraint:(Protocol.LayerTree.StickyPositionConstraint|undefined)}} */
- Protocol.LayerTree.Layer;
-
- /** @typedef {!Array<!number>} */
- Protocol.LayerTree.PaintProfile;
- /** @interface */
- Protocol.LayerTreeDispatcher = function() {};
- /**
- * @param {Protocol.LayerTree.LayerId} layerId
- * @param {Protocol.DOM.Rect} clip
- */
- Protocol.LayerTreeDispatcher.prototype.layerPainted = function(layerId, clip) {};
- /**
- * @param {!Array<Protocol.LayerTree.Layer>=} opt_layers
- */
- Protocol.LayerTreeDispatcher.prototype.layerTreeDidChange = function(opt_layers) {};
- Protocol.Log = {};
-
-
- /**
- * @constructor
- */
- Protocol.LogAgent = function(){};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.LogAgent.prototype.clear = function() {};
- /** @typedef {Object|undefined} */
- Protocol.LogAgent.ClearRequest;
- /** @typedef {Object|undefined} */
- Protocol.LogAgent.ClearResponse;
- /**
- * @param {!Protocol.LogAgent.ClearRequest} obj
- * @return {!Promise<!Protocol.LogAgent.ClearResponse>} */
- Protocol.LogAgent.prototype.invoke_clear = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.LogAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.LogAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.LogAgent.DisableResponse;
- /**
- * @param {!Protocol.LogAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.LogAgent.DisableResponse>} */
- Protocol.LogAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.LogAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.LogAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.LogAgent.EnableResponse;
- /**
- * @param {!Protocol.LogAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.LogAgent.EnableResponse>} */
- Protocol.LogAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @param {!Array<Protocol.Log.ViolationSetting>} config
- * @return {!Promise<undefined>}
- */
- Protocol.LogAgent.prototype.startViolationsReport = function(config) {};
- /** @typedef {!{config: !Array<Protocol.Log.ViolationSetting>}} */
- Protocol.LogAgent.StartViolationsReportRequest;
- /** @typedef {Object|undefined} */
- Protocol.LogAgent.StartViolationsReportResponse;
- /**
- * @param {!Protocol.LogAgent.StartViolationsReportRequest} obj
- * @return {!Promise<!Protocol.LogAgent.StartViolationsReportResponse>} */
- Protocol.LogAgent.prototype.invoke_startViolationsReport = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.LogAgent.prototype.stopViolationsReport = function() {};
- /** @typedef {Object|undefined} */
- Protocol.LogAgent.StopViolationsReportRequest;
- /** @typedef {Object|undefined} */
- Protocol.LogAgent.StopViolationsReportResponse;
- /**
- * @param {!Protocol.LogAgent.StopViolationsReportRequest} obj
- * @return {!Promise<!Protocol.LogAgent.StopViolationsReportResponse>} */
- Protocol.LogAgent.prototype.invoke_stopViolationsReport = function(obj) {};
-
- /** @enum {string} */
- Protocol.Log.LogEntrySource = {
- XML: "xml",
- Javascript: "javascript",
- Network: "network",
- Storage: "storage",
- Appcache: "appcache",
- Rendering: "rendering",
- Security: "security",
- Deprecation: "deprecation",
- Worker: "worker",
- Violation: "violation",
- Intervention: "intervention",
- Recommendation: "recommendation",
- Other: "other"
- };
-
- /** @enum {string} */
- Protocol.Log.LogEntryLevel = {
- Verbose: "verbose",
- Info: "info",
- Warning: "warning",
- Error: "error"
- };
-
- /** @typedef {!{source:(Protocol.Log.LogEntrySource), level:(Protocol.Log.LogEntryLevel), text:(string), timestamp:(Protocol.Runtime.Timestamp), url:(string|undefined), lineNumber:(number|undefined), stackTrace:(Protocol.Runtime.StackTrace|undefined), networkRequestId:(Protocol.Network.RequestId|undefined), workerId:(string|undefined), args:(!Array<Protocol.Runtime.RemoteObject>|undefined)}} */
- Protocol.Log.LogEntry;
-
- /** @enum {string} */
- Protocol.Log.ViolationSettingName = {
- LongTask: "longTask",
- LongLayout: "longLayout",
- BlockedEvent: "blockedEvent",
- BlockedParser: "blockedParser",
- DiscouragedAPIUse: "discouragedAPIUse",
- Handler: "handler",
- RecurringHandler: "recurringHandler"
- };
-
- /** @typedef {!{name:(Protocol.Log.ViolationSettingName), threshold:(number)}} */
- Protocol.Log.ViolationSetting;
- /** @interface */
- Protocol.LogDispatcher = function() {};
- /**
- * @param {Protocol.Log.LogEntry} entry
- */
- Protocol.LogDispatcher.prototype.entryAdded = function(entry) {};
- Protocol.Memory = {};
-
-
- /**
- * @constructor
- */
- Protocol.MemoryAgent = function(){};
-
- /**
- * @return {!Promise<?number>}
- */
- Protocol.MemoryAgent.prototype.getDOMCounters = function() {};
- /** @typedef {Object|undefined} */
- Protocol.MemoryAgent.GetDOMCountersRequest;
- /** @typedef {!{nodes: number, documents: number, jsEventListeners: number}} */
- Protocol.MemoryAgent.GetDOMCountersResponse;
- /**
- * @param {!Protocol.MemoryAgent.GetDOMCountersRequest} obj
- * @return {!Promise<!Protocol.MemoryAgent.GetDOMCountersResponse>} */
- Protocol.MemoryAgent.prototype.invoke_getDOMCounters = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.MemoryAgent.prototype.prepareForLeakDetection = function() {};
- /** @typedef {Object|undefined} */
- Protocol.MemoryAgent.PrepareForLeakDetectionRequest;
- /** @typedef {Object|undefined} */
- Protocol.MemoryAgent.PrepareForLeakDetectionResponse;
- /**
- * @param {!Protocol.MemoryAgent.PrepareForLeakDetectionRequest} obj
- * @return {!Promise<!Protocol.MemoryAgent.PrepareForLeakDetectionResponse>} */
- Protocol.MemoryAgent.prototype.invoke_prepareForLeakDetection = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.MemoryAgent.prototype.forciblyPurgeJavaScriptMemory = function() {};
- /** @typedef {Object|undefined} */
- Protocol.MemoryAgent.ForciblyPurgeJavaScriptMemoryRequest;
- /** @typedef {Object|undefined} */
- Protocol.MemoryAgent.ForciblyPurgeJavaScriptMemoryResponse;
- /**
- * @param {!Protocol.MemoryAgent.ForciblyPurgeJavaScriptMemoryRequest} obj
- * @return {!Promise<!Protocol.MemoryAgent.ForciblyPurgeJavaScriptMemoryResponse>} */
- Protocol.MemoryAgent.prototype.invoke_forciblyPurgeJavaScriptMemory = function(obj) {};
-
- /**
- * @param {boolean} suppressed
- * @return {!Promise<undefined>}
- */
- Protocol.MemoryAgent.prototype.setPressureNotificationsSuppressed = function(suppressed) {};
- /** @typedef {!{suppressed: boolean}} */
- Protocol.MemoryAgent.SetPressureNotificationsSuppressedRequest;
- /** @typedef {Object|undefined} */
- Protocol.MemoryAgent.SetPressureNotificationsSuppressedResponse;
- /**
- * @param {!Protocol.MemoryAgent.SetPressureNotificationsSuppressedRequest} obj
- * @return {!Promise<!Protocol.MemoryAgent.SetPressureNotificationsSuppressedResponse>} */
- Protocol.MemoryAgent.prototype.invoke_setPressureNotificationsSuppressed = function(obj) {};
-
- /**
- * @param {Protocol.Memory.PressureLevel} level
- * @return {!Promise<undefined>}
- */
- Protocol.MemoryAgent.prototype.simulatePressureNotification = function(level) {};
- /** @typedef {!{level: Protocol.Memory.PressureLevel}} */
- Protocol.MemoryAgent.SimulatePressureNotificationRequest;
- /** @typedef {Object|undefined} */
- Protocol.MemoryAgent.SimulatePressureNotificationResponse;
- /**
- * @param {!Protocol.MemoryAgent.SimulatePressureNotificationRequest} obj
- * @return {!Promise<!Protocol.MemoryAgent.SimulatePressureNotificationResponse>} */
- Protocol.MemoryAgent.prototype.invoke_simulatePressureNotification = function(obj) {};
-
- /**
- * @param {number=} opt_samplingInterval
- * @param {boolean=} opt_suppressRandomness
- * @return {!Promise<undefined>}
- */
- Protocol.MemoryAgent.prototype.startSampling = function(opt_samplingInterval, opt_suppressRandomness) {};
- /** @typedef {!{samplingInterval: (number|undefined), suppressRandomness: (boolean|undefined)}} */
- Protocol.MemoryAgent.StartSamplingRequest;
- /** @typedef {Object|undefined} */
- Protocol.MemoryAgent.StartSamplingResponse;
- /**
- * @param {!Protocol.MemoryAgent.StartSamplingRequest} obj
- * @return {!Promise<!Protocol.MemoryAgent.StartSamplingResponse>} */
- Protocol.MemoryAgent.prototype.invoke_startSampling = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.MemoryAgent.prototype.stopSampling = function() {};
- /** @typedef {Object|undefined} */
- Protocol.MemoryAgent.StopSamplingRequest;
- /** @typedef {Object|undefined} */
- Protocol.MemoryAgent.StopSamplingResponse;
- /**
- * @param {!Protocol.MemoryAgent.StopSamplingRequest} obj
- * @return {!Promise<!Protocol.MemoryAgent.StopSamplingResponse>} */
- Protocol.MemoryAgent.prototype.invoke_stopSampling = function(obj) {};
-
- /**
- * @return {!Promise<?Protocol.Memory.SamplingProfile>}
- */
- Protocol.MemoryAgent.prototype.getAllTimeSamplingProfile = function() {};
- /** @typedef {Object|undefined} */
- Protocol.MemoryAgent.GetAllTimeSamplingProfileRequest;
- /** @typedef {!{profile: Protocol.Memory.SamplingProfile}} */
- Protocol.MemoryAgent.GetAllTimeSamplingProfileResponse;
- /**
- * @param {!Protocol.MemoryAgent.GetAllTimeSamplingProfileRequest} obj
- * @return {!Promise<!Protocol.MemoryAgent.GetAllTimeSamplingProfileResponse>} */
- Protocol.MemoryAgent.prototype.invoke_getAllTimeSamplingProfile = function(obj) {};
-
- /**
- * @return {!Promise<?Protocol.Memory.SamplingProfile>}
- */
- Protocol.MemoryAgent.prototype.getBrowserSamplingProfile = function() {};
- /** @typedef {Object|undefined} */
- Protocol.MemoryAgent.GetBrowserSamplingProfileRequest;
- /** @typedef {!{profile: Protocol.Memory.SamplingProfile}} */
- Protocol.MemoryAgent.GetBrowserSamplingProfileResponse;
- /**
- * @param {!Protocol.MemoryAgent.GetBrowserSamplingProfileRequest} obj
- * @return {!Promise<!Protocol.MemoryAgent.GetBrowserSamplingProfileResponse>} */
- Protocol.MemoryAgent.prototype.invoke_getBrowserSamplingProfile = function(obj) {};
-
- /**
- * @return {!Promise<?Protocol.Memory.SamplingProfile>}
- */
- Protocol.MemoryAgent.prototype.getSamplingProfile = function() {};
- /** @typedef {Object|undefined} */
- Protocol.MemoryAgent.GetSamplingProfileRequest;
- /** @typedef {!{profile: Protocol.Memory.SamplingProfile}} */
- Protocol.MemoryAgent.GetSamplingProfileResponse;
- /**
- * @param {!Protocol.MemoryAgent.GetSamplingProfileRequest} obj
- * @return {!Promise<!Protocol.MemoryAgent.GetSamplingProfileResponse>} */
- Protocol.MemoryAgent.prototype.invoke_getSamplingProfile = function(obj) {};
-
- /** @enum {string} */
- Protocol.Memory.PressureLevel = {
- Moderate: "moderate",
- Critical: "critical"
- };
-
- /** @typedef {!{size:(number), total:(number), stack:(!Array<string>)}} */
- Protocol.Memory.SamplingProfileNode;
-
- /** @typedef {!{samples:(!Array<Protocol.Memory.SamplingProfileNode>), modules:(!Array<Protocol.Memory.Module>)}} */
- Protocol.Memory.SamplingProfile;
-
- /** @typedef {!{name:(string), uuid:(string), baseAddress:(string), size:(number)}} */
- Protocol.Memory.Module;
- /** @interface */
- Protocol.MemoryDispatcher = function() {};
- Protocol.Network = {};
-
-
- /**
- * @constructor
- */
- Protocol.NetworkAgent = function(){};
-
- /**
- * @return {!Promise<?boolean>}
- */
- Protocol.NetworkAgent.prototype.canClearBrowserCache = function() {};
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.CanClearBrowserCacheRequest;
- /** @typedef {!{result: boolean}} */
- Protocol.NetworkAgent.CanClearBrowserCacheResponse;
- /**
- * @param {!Protocol.NetworkAgent.CanClearBrowserCacheRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.CanClearBrowserCacheResponse>} */
- Protocol.NetworkAgent.prototype.invoke_canClearBrowserCache = function(obj) {};
-
- /**
- * @return {!Promise<?boolean>}
- */
- Protocol.NetworkAgent.prototype.canClearBrowserCookies = function() {};
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.CanClearBrowserCookiesRequest;
- /** @typedef {!{result: boolean}} */
- Protocol.NetworkAgent.CanClearBrowserCookiesResponse;
- /**
- * @param {!Protocol.NetworkAgent.CanClearBrowserCookiesRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.CanClearBrowserCookiesResponse>} */
- Protocol.NetworkAgent.prototype.invoke_canClearBrowserCookies = function(obj) {};
-
- /**
- * @return {!Promise<?boolean>}
- */
- Protocol.NetworkAgent.prototype.canEmulateNetworkConditions = function() {};
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.CanEmulateNetworkConditionsRequest;
- /** @typedef {!{result: boolean}} */
- Protocol.NetworkAgent.CanEmulateNetworkConditionsResponse;
- /**
- * @param {!Protocol.NetworkAgent.CanEmulateNetworkConditionsRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.CanEmulateNetworkConditionsResponse>} */
- Protocol.NetworkAgent.prototype.invoke_canEmulateNetworkConditions = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.NetworkAgent.prototype.clearBrowserCache = function() {};
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.ClearBrowserCacheRequest;
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.ClearBrowserCacheResponse;
- /**
- * @param {!Protocol.NetworkAgent.ClearBrowserCacheRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.ClearBrowserCacheResponse>} */
- Protocol.NetworkAgent.prototype.invoke_clearBrowserCache = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.NetworkAgent.prototype.clearBrowserCookies = function() {};
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.ClearBrowserCookiesRequest;
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.ClearBrowserCookiesResponse;
- /**
- * @param {!Protocol.NetworkAgent.ClearBrowserCookiesRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.ClearBrowserCookiesResponse>} */
- Protocol.NetworkAgent.prototype.invoke_clearBrowserCookies = function(obj) {};
-
- /**
- * @param {Protocol.Network.InterceptionId} interceptionId
- * @param {Protocol.Network.ErrorReason=} opt_errorReason
- * @param {string=} opt_rawResponse
- * @param {string=} opt_url
- * @param {string=} opt_method
- * @param {string=} opt_postData
- * @param {Protocol.Network.Headers=} opt_headers
- * @param {Protocol.Network.AuthChallengeResponse=} opt_authChallengeResponse
- * @return {!Promise<undefined>}
- */
- Protocol.NetworkAgent.prototype.continueInterceptedRequest = function(interceptionId, opt_errorReason, opt_rawResponse, opt_url, opt_method, opt_postData, opt_headers, opt_authChallengeResponse) {};
- /** @typedef {!{postData: (string|undefined), headers: (Protocol.Network.Headers|undefined), url: (string|undefined), authChallengeResponse: (Protocol.Network.AuthChallengeResponse|undefined), errorReason: (Protocol.Network.ErrorReason|undefined), interceptionId: Protocol.Network.InterceptionId, rawResponse: (string|undefined), method: (string|undefined)}} */
- Protocol.NetworkAgent.ContinueInterceptedRequestRequest;
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.ContinueInterceptedRequestResponse;
- /**
- * @param {!Protocol.NetworkAgent.ContinueInterceptedRequestRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.ContinueInterceptedRequestResponse>} */
- Protocol.NetworkAgent.prototype.invoke_continueInterceptedRequest = function(obj) {};
-
- /**
- * @param {string} name
- * @param {string=} opt_url
- * @param {string=} opt_domain
- * @param {string=} opt_path
- * @return {!Promise<undefined>}
- */
- Protocol.NetworkAgent.prototype.deleteCookies = function(name, opt_url, opt_domain, opt_path) {};
- /** @typedef {!{url: (string|undefined), path: (string|undefined), domain: (string|undefined), name: string}} */
- Protocol.NetworkAgent.DeleteCookiesRequest;
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.DeleteCookiesResponse;
- /**
- * @param {!Protocol.NetworkAgent.DeleteCookiesRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.DeleteCookiesResponse>} */
- Protocol.NetworkAgent.prototype.invoke_deleteCookies = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.NetworkAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.DisableResponse;
- /**
- * @param {!Protocol.NetworkAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.DisableResponse>} */
- Protocol.NetworkAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @param {boolean} offline
- * @param {number} latency
- * @param {number} downloadThroughput
- * @param {number} uploadThroughput
- * @param {Protocol.Network.ConnectionType=} opt_connectionType
- * @return {!Promise<undefined>}
- */
- Protocol.NetworkAgent.prototype.emulateNetworkConditions = function(offline, latency, downloadThroughput, uploadThroughput, opt_connectionType) {};
- /** @typedef {!{latency: number, offline: boolean, downloadThroughput: number, connectionType: (Protocol.Network.ConnectionType|undefined), uploadThroughput: number}} */
- Protocol.NetworkAgent.EmulateNetworkConditionsRequest;
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.EmulateNetworkConditionsResponse;
- /**
- * @param {!Protocol.NetworkAgent.EmulateNetworkConditionsRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.EmulateNetworkConditionsResponse>} */
- Protocol.NetworkAgent.prototype.invoke_emulateNetworkConditions = function(obj) {};
-
- /**
- * @param {number=} opt_maxTotalBufferSize
- * @param {number=} opt_maxResourceBufferSize
- * @param {number=} opt_maxPostDataSize
- * @return {!Promise<undefined>}
- */
- Protocol.NetworkAgent.prototype.enable = function(opt_maxTotalBufferSize, opt_maxResourceBufferSize, opt_maxPostDataSize) {};
- /** @typedef {!{maxTotalBufferSize: (number|undefined), maxPostDataSize: (number|undefined), maxResourceBufferSize: (number|undefined)}} */
- Protocol.NetworkAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.EnableResponse;
- /**
- * @param {!Protocol.NetworkAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.EnableResponse>} */
- Protocol.NetworkAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @return {!Promise<?Array<Protocol.Network.Cookie>>}
- */
- Protocol.NetworkAgent.prototype.getAllCookies = function() {};
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.GetAllCookiesRequest;
- /** @typedef {!{cookies: !Array<Protocol.Network.Cookie>}} */
- Protocol.NetworkAgent.GetAllCookiesResponse;
- /**
- * @param {!Protocol.NetworkAgent.GetAllCookiesRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.GetAllCookiesResponse>} */
- Protocol.NetworkAgent.prototype.invoke_getAllCookies = function(obj) {};
-
- /**
- * @param {string} origin
- * @return {!Promise<?Array<string>>}
- */
- Protocol.NetworkAgent.prototype.getCertificate = function(origin) {};
- /** @typedef {!{origin: string}} */
- Protocol.NetworkAgent.GetCertificateRequest;
- /** @typedef {!{tableNames: !Array<string>}} */
- Protocol.NetworkAgent.GetCertificateResponse;
- /**
- * @param {!Protocol.NetworkAgent.GetCertificateRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.GetCertificateResponse>} */
- Protocol.NetworkAgent.prototype.invoke_getCertificate = function(obj) {};
-
- /**
- * @param {!Array<string>=} opt_urls
- * @return {!Promise<?Array<Protocol.Network.Cookie>>}
- */
- Protocol.NetworkAgent.prototype.getCookies = function(opt_urls) {};
- /** @typedef {!{urls: (!Array<string>|undefined)}} */
- Protocol.NetworkAgent.GetCookiesRequest;
- /** @typedef {!{cookies: !Array<Protocol.Network.Cookie>}} */
- Protocol.NetworkAgent.GetCookiesResponse;
- /**
- * @param {!Protocol.NetworkAgent.GetCookiesRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.GetCookiesResponse>} */
- Protocol.NetworkAgent.prototype.invoke_getCookies = function(obj) {};
-
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @return {!Promise<?string>}
- */
- Protocol.NetworkAgent.prototype.getResponseBody = function(requestId) {};
- /** @typedef {!{requestId: Protocol.Network.RequestId}} */
- Protocol.NetworkAgent.GetResponseBodyRequest;
- /** @typedef {!{body: string, base64Encoded: boolean}} */
- Protocol.NetworkAgent.GetResponseBodyResponse;
- /**
- * @param {!Protocol.NetworkAgent.GetResponseBodyRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.GetResponseBodyResponse>} */
- Protocol.NetworkAgent.prototype.invoke_getResponseBody = function(obj) {};
-
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @return {!Promise<?string>}
- */
- Protocol.NetworkAgent.prototype.getRequestPostData = function(requestId) {};
- /** @typedef {!{requestId: Protocol.Network.RequestId}} */
- Protocol.NetworkAgent.GetRequestPostDataRequest;
- /** @typedef {!{postData: string}} */
- Protocol.NetworkAgent.GetRequestPostDataResponse;
- /**
- * @param {!Protocol.NetworkAgent.GetRequestPostDataRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.GetRequestPostDataResponse>} */
- Protocol.NetworkAgent.prototype.invoke_getRequestPostData = function(obj) {};
-
- /**
- * @param {Protocol.Network.InterceptionId} interceptionId
- * @return {!Promise<?string>}
- */
- Protocol.NetworkAgent.prototype.getResponseBodyForInterception = function(interceptionId) {};
- /** @typedef {!{interceptionId: Protocol.Network.InterceptionId}} */
- Protocol.NetworkAgent.GetResponseBodyForInterceptionRequest;
- /** @typedef {!{body: string, base64Encoded: boolean}} */
- Protocol.NetworkAgent.GetResponseBodyForInterceptionResponse;
- /**
- * @param {!Protocol.NetworkAgent.GetResponseBodyForInterceptionRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.GetResponseBodyForInterceptionResponse>} */
- Protocol.NetworkAgent.prototype.invoke_getResponseBodyForInterception = function(obj) {};
-
- /**
- * @param {Protocol.Network.InterceptionId} interceptionId
- * @return {!Promise<?Protocol.IO.StreamHandle>}
- */
- Protocol.NetworkAgent.prototype.takeResponseBodyForInterceptionAsStream = function(interceptionId) {};
- /** @typedef {!{interceptionId: Protocol.Network.InterceptionId}} */
- Protocol.NetworkAgent.TakeResponseBodyForInterceptionAsStreamRequest;
- /** @typedef {!{stream: Protocol.IO.StreamHandle}} */
- Protocol.NetworkAgent.TakeResponseBodyForInterceptionAsStreamResponse;
- /**
- * @param {!Protocol.NetworkAgent.TakeResponseBodyForInterceptionAsStreamRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.TakeResponseBodyForInterceptionAsStreamResponse>} */
- Protocol.NetworkAgent.prototype.invoke_takeResponseBodyForInterceptionAsStream = function(obj) {};
-
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @return {!Promise<undefined>}
- */
- Protocol.NetworkAgent.prototype.replayXHR = function(requestId) {};
- /** @typedef {!{requestId: Protocol.Network.RequestId}} */
- Protocol.NetworkAgent.ReplayXHRRequest;
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.ReplayXHRResponse;
- /**
- * @param {!Protocol.NetworkAgent.ReplayXHRRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.ReplayXHRResponse>} */
- Protocol.NetworkAgent.prototype.invoke_replayXHR = function(obj) {};
-
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @param {string} query
- * @param {boolean=} opt_caseSensitive
- * @param {boolean=} opt_isRegex
- * @return {!Promise<?Array<Protocol.Debugger.SearchMatch>>}
- */
- Protocol.NetworkAgent.prototype.searchInResponseBody = function(requestId, query, opt_caseSensitive, opt_isRegex) {};
- /** @typedef {!{query: string, isRegex: (boolean|undefined), requestId: Protocol.Network.RequestId, caseSensitive: (boolean|undefined)}} */
- Protocol.NetworkAgent.SearchInResponseBodyRequest;
- /** @typedef {!{result: !Array<Protocol.Debugger.SearchMatch>}} */
- Protocol.NetworkAgent.SearchInResponseBodyResponse;
- /**
- * @param {!Protocol.NetworkAgent.SearchInResponseBodyRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.SearchInResponseBodyResponse>} */
- Protocol.NetworkAgent.prototype.invoke_searchInResponseBody = function(obj) {};
-
- /**
- * @param {!Array<string>} urls
- * @return {!Promise<undefined>}
- */
- Protocol.NetworkAgent.prototype.setBlockedURLs = function(urls) {};
- /** @typedef {!{urls: !Array<string>}} */
- Protocol.NetworkAgent.SetBlockedURLsRequest;
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.SetBlockedURLsResponse;
- /**
- * @param {!Protocol.NetworkAgent.SetBlockedURLsRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.SetBlockedURLsResponse>} */
- Protocol.NetworkAgent.prototype.invoke_setBlockedURLs = function(obj) {};
-
- /**
- * @param {boolean} bypass
- * @return {!Promise<undefined>}
- */
- Protocol.NetworkAgent.prototype.setBypassServiceWorker = function(bypass) {};
- /** @typedef {!{bypass: boolean}} */
- Protocol.NetworkAgent.SetBypassServiceWorkerRequest;
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.SetBypassServiceWorkerResponse;
- /**
- * @param {!Protocol.NetworkAgent.SetBypassServiceWorkerRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.SetBypassServiceWorkerResponse>} */
- Protocol.NetworkAgent.prototype.invoke_setBypassServiceWorker = function(obj) {};
-
- /**
- * @param {boolean} cacheDisabled
- * @return {!Promise<undefined>}
- */
- Protocol.NetworkAgent.prototype.setCacheDisabled = function(cacheDisabled) {};
- /** @typedef {!{cacheDisabled: boolean}} */
- Protocol.NetworkAgent.SetCacheDisabledRequest;
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.SetCacheDisabledResponse;
- /**
- * @param {!Protocol.NetworkAgent.SetCacheDisabledRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.SetCacheDisabledResponse>} */
- Protocol.NetworkAgent.prototype.invoke_setCacheDisabled = function(obj) {};
-
- /**
- * @param {string} name
- * @param {string} value
- * @param {string=} opt_url
- * @param {string=} opt_domain
- * @param {string=} opt_path
- * @param {boolean=} opt_secure
- * @param {boolean=} opt_httpOnly
- * @param {Protocol.Network.CookieSameSite=} opt_sameSite
- * @param {Protocol.Network.TimeSinceEpoch=} opt_expires
- * @return {!Promise<?boolean>}
- */
- Protocol.NetworkAgent.prototype.setCookie = function(name, value, opt_url, opt_domain, opt_path, opt_secure, opt_httpOnly, opt_sameSite, opt_expires) {};
- /** @typedef {!{domain: (string|undefined), name: string, url: (string|undefined), expires: (Protocol.Network.TimeSinceEpoch|undefined), value: string, sameSite: (Protocol.Network.CookieSameSite|undefined), path: (string|undefined), httpOnly: (boolean|undefined), secure: (boolean|undefined)}} */
- Protocol.NetworkAgent.SetCookieRequest;
- /** @typedef {!{success: boolean}} */
- Protocol.NetworkAgent.SetCookieResponse;
- /**
- * @param {!Protocol.NetworkAgent.SetCookieRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.SetCookieResponse>} */
- Protocol.NetworkAgent.prototype.invoke_setCookie = function(obj) {};
-
- /**
- * @param {!Array<Protocol.Network.CookieParam>} cookies
- * @return {!Promise<undefined>}
- */
- Protocol.NetworkAgent.prototype.setCookies = function(cookies) {};
- /** @typedef {!{cookies: !Array<Protocol.Network.CookieParam>}} */
- Protocol.NetworkAgent.SetCookiesRequest;
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.SetCookiesResponse;
- /**
- * @param {!Protocol.NetworkAgent.SetCookiesRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.SetCookiesResponse>} */
- Protocol.NetworkAgent.prototype.invoke_setCookies = function(obj) {};
-
- /**
- * @param {number} maxTotalSize
- * @param {number} maxResourceSize
- * @return {!Promise<undefined>}
- */
- Protocol.NetworkAgent.prototype.setDataSizeLimitsForTest = function(maxTotalSize, maxResourceSize) {};
- /** @typedef {!{maxResourceSize: number, maxTotalSize: number}} */
- Protocol.NetworkAgent.SetDataSizeLimitsForTestRequest;
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.SetDataSizeLimitsForTestResponse;
- /**
- * @param {!Protocol.NetworkAgent.SetDataSizeLimitsForTestRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.SetDataSizeLimitsForTestResponse>} */
- Protocol.NetworkAgent.prototype.invoke_setDataSizeLimitsForTest = function(obj) {};
-
- /**
- * @param {Protocol.Network.Headers} headers
- * @return {!Promise<undefined>}
- */
- Protocol.NetworkAgent.prototype.setExtraHTTPHeaders = function(headers) {};
- /** @typedef {!{headers: Protocol.Network.Headers}} */
- Protocol.NetworkAgent.SetExtraHTTPHeadersRequest;
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.SetExtraHTTPHeadersResponse;
- /**
- * @param {!Protocol.NetworkAgent.SetExtraHTTPHeadersRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.SetExtraHTTPHeadersResponse>} */
- Protocol.NetworkAgent.prototype.invoke_setExtraHTTPHeaders = function(obj) {};
-
- /**
- * @param {!Array<Protocol.Network.RequestPattern>} patterns
- * @return {!Promise<undefined>}
- */
- Protocol.NetworkAgent.prototype.setRequestInterception = function(patterns) {};
- /** @typedef {!{patterns: !Array<Protocol.Network.RequestPattern>}} */
- Protocol.NetworkAgent.SetRequestInterceptionRequest;
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.SetRequestInterceptionResponse;
- /**
- * @param {!Protocol.NetworkAgent.SetRequestInterceptionRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.SetRequestInterceptionResponse>} */
- Protocol.NetworkAgent.prototype.invoke_setRequestInterception = function(obj) {};
-
- /**
- * @param {string} userAgent
- * @param {string=} opt_acceptLanguage
- * @param {string=} opt_platform
- * @return {!Promise<undefined>}
- */
- Protocol.NetworkAgent.prototype.setUserAgentOverride = function(userAgent, opt_acceptLanguage, opt_platform) {};
- /** @typedef {!{acceptLanguage: (string|undefined), userAgent: string, platform: (string|undefined)}} */
- Protocol.NetworkAgent.SetUserAgentOverrideRequest;
- /** @typedef {Object|undefined} */
- Protocol.NetworkAgent.SetUserAgentOverrideResponse;
- /**
- * @param {!Protocol.NetworkAgent.SetUserAgentOverrideRequest} obj
- * @return {!Promise<!Protocol.NetworkAgent.SetUserAgentOverrideResponse>} */
- Protocol.NetworkAgent.prototype.invoke_setUserAgentOverride = function(obj) {};
-
- /** @enum {string} */
- Protocol.Network.ResourceType = {
- Document: "Document",
- Stylesheet: "Stylesheet",
- Image: "Image",
- Media: "Media",
- Font: "Font",
- Script: "Script",
- TextTrack: "TextTrack",
- XHR: "XHR",
- Fetch: "Fetch",
- EventSource: "EventSource",
- WebSocket: "WebSocket",
- Manifest: "Manifest",
- SignedExchange: "SignedExchange",
- Ping: "Ping",
- CSPViolationReport: "CSPViolationReport",
- Other: "Other"
- };
-
- /** @typedef {string} */
- Protocol.Network.LoaderId;
-
- /** @typedef {string} */
- Protocol.Network.RequestId;
-
- /** @typedef {string} */
- Protocol.Network.InterceptionId;
-
- /** @enum {string} */
- Protocol.Network.ErrorReason = {
- Failed: "Failed",
- Aborted: "Aborted",
- TimedOut: "TimedOut",
- AccessDenied: "AccessDenied",
- ConnectionClosed: "ConnectionClosed",
- ConnectionReset: "ConnectionReset",
- ConnectionRefused: "ConnectionRefused",
- ConnectionAborted: "ConnectionAborted",
- ConnectionFailed: "ConnectionFailed",
- NameNotResolved: "NameNotResolved",
- InternetDisconnected: "InternetDisconnected",
- AddressUnreachable: "AddressUnreachable",
- BlockedByClient: "BlockedByClient",
- BlockedByResponse: "BlockedByResponse"
- };
-
- /** @typedef {number} */
- Protocol.Network.TimeSinceEpoch;
-
- /** @typedef {number} */
- Protocol.Network.MonotonicTime;
-
- /** @typedef {!Object} */
- Protocol.Network.Headers;
-
- /** @enum {string} */
- Protocol.Network.ConnectionType = {
- None: "none",
- Cellular2g: "cellular2g",
- Cellular3g: "cellular3g",
- Cellular4g: "cellular4g",
- Bluetooth: "bluetooth",
- Ethernet: "ethernet",
- Wifi: "wifi",
- Wimax: "wimax",
- Other: "other"
- };
-
- /** @enum {string} */
- Protocol.Network.CookieSameSite = {
- Strict: "Strict",
- Lax: "Lax",
- None: "None"
- };
-
- /** @typedef {!{requestTime:(number), proxyStart:(number), proxyEnd:(number), dnsStart:(number), dnsEnd:(number), connectStart:(number), connectEnd:(number), sslStart:(number), sslEnd:(number), workerStart:(number), workerReady:(number), sendStart:(number), sendEnd:(number), pushStart:(number), pushEnd:(number), receiveHeadersEnd:(number)}} */
- Protocol.Network.ResourceTiming;
-
- /** @enum {string} */
- Protocol.Network.ResourcePriority = {
- VeryLow: "VeryLow",
- Low: "Low",
- Medium: "Medium",
- High: "High",
- VeryHigh: "VeryHigh"
- };
-
- /** @enum {string} */
- Protocol.Network.RequestReferrerPolicy = {
- UnsafeUrl: "unsafe-url",
- NoReferrerWhenDowngrade: "no-referrer-when-downgrade",
- NoReferrer: "no-referrer",
- Origin: "origin",
- OriginWhenCrossOrigin: "origin-when-cross-origin",
- SameOrigin: "same-origin",
- StrictOrigin: "strict-origin",
- StrictOriginWhenCrossOrigin: "strict-origin-when-cross-origin"
- };
-
- /** @typedef {!{url:(string), urlFragment:(string|undefined), method:(string), headers:(Protocol.Network.Headers), postData:(string|undefined), hasPostData:(boolean|undefined), mixedContentType:(Protocol.Security.MixedContentType|undefined), initialPriority:(Protocol.Network.ResourcePriority), referrerPolicy:(Protocol.Network.RequestReferrerPolicy), isLinkPreload:(boolean|undefined)}} */
- Protocol.Network.Request;
-
- /** @typedef {!{status:(string), origin:(string), logDescription:(string), logId:(string), timestamp:(Protocol.Network.TimeSinceEpoch), hashAlgorithm:(string), signatureAlgorithm:(string), signatureData:(string)}} */
- Protocol.Network.SignedCertificateTimestamp;
-
- /** @typedef {!{protocol:(string), keyExchange:(string), keyExchangeGroup:(string|undefined), cipher:(string), mac:(string|undefined), certificateId:(Protocol.Security.CertificateId), subjectName:(string), sanList:(!Array<string>), issuer:(string), validFrom:(Protocol.Network.TimeSinceEpoch), validTo:(Protocol.Network.TimeSinceEpoch), signedCertificateTimestampList:(!Array<Protocol.Network.SignedCertificateTimestamp>), certificateTransparencyCompliance:(Protocol.Network.CertificateTransparencyCompliance)}} */
- Protocol.Network.SecurityDetails;
-
- /** @enum {string} */
- Protocol.Network.CertificateTransparencyCompliance = {
- Unknown: "unknown",
- NotCompliant: "not-compliant",
- Compliant: "compliant"
- };
-
- /** @enum {string} */
- Protocol.Network.BlockedReason = {
- Other: "other",
- Csp: "csp",
- MixedContent: "mixed-content",
- Origin: "origin",
- Inspector: "inspector",
- SubresourceFilter: "subresource-filter",
- ContentType: "content-type",
- CollapsedByClient: "collapsed-by-client"
- };
-
- /** @typedef {!{url:(string), status:(number), statusText:(string), headers:(Protocol.Network.Headers), headersText:(string|undefined), mimeType:(string), requestHeaders:(Protocol.Network.Headers|undefined), requestHeadersText:(string|undefined), connectionReused:(boolean), connectionId:(number), remoteIPAddress:(string|undefined), remotePort:(number|undefined), fromDiskCache:(boolean|undefined), fromServiceWorker:(boolean|undefined), fromPrefetchCache:(boolean|undefined), encodedDataLength:(number), timing:(Protocol.Network.ResourceTiming|undefined), protocol:(string|undefined), securityState:(Protocol.Security.SecurityState), securityDetails:(Protocol.Network.SecurityDetails|undefined)}} */
- Protocol.Network.Response;
-
- /** @typedef {!{headers:(Protocol.Network.Headers)}} */
- Protocol.Network.WebSocketRequest;
-
- /** @typedef {!{status:(number), statusText:(string), headers:(Protocol.Network.Headers), headersText:(string|undefined), requestHeaders:(Protocol.Network.Headers|undefined), requestHeadersText:(string|undefined)}} */
- Protocol.Network.WebSocketResponse;
-
- /** @typedef {!{opcode:(number), mask:(boolean), payloadData:(string)}} */
- Protocol.Network.WebSocketFrame;
-
- /** @typedef {!{url:(string), type:(Protocol.Network.ResourceType), response:(Protocol.Network.Response|undefined), bodySize:(number)}} */
- Protocol.Network.CachedResource;
-
- /** @enum {string} */
- Protocol.Network.InitiatorType = {
- Parser: "parser",
- Script: "script",
- Preload: "preload",
- SignedExchange: "SignedExchange",
- Other: "other"
- };
-
- /** @typedef {!{type:(Protocol.Network.InitiatorType), stack:(Protocol.Runtime.StackTrace|undefined), url:(string|undefined), lineNumber:(number|undefined)}} */
- Protocol.Network.Initiator;
-
- /** @typedef {!{name:(string), value:(string), domain:(string), path:(string), expires:(number), size:(number), httpOnly:(boolean), secure:(boolean), session:(boolean), sameSite:(Protocol.Network.CookieSameSite|undefined)}} */
- Protocol.Network.Cookie;
-
- /** @enum {string} */
- Protocol.Network.SetCookieBlockedReason = {
- SecureOnly: "SecureOnly",
- SameSiteStrict: "SameSiteStrict",
- SameSiteLax: "SameSiteLax",
- SameSiteExtended: "SameSiteExtended",
- SameSiteUnspecifiedTreatedAsLax: "SameSiteUnspecifiedTreatedAsLax",
- SameSiteNoneInsecure: "SameSiteNoneInsecure",
- UserPreferences: "UserPreferences",
- SyntaxError: "SyntaxError",
- SchemeNotSupported: "SchemeNotSupported",
- OverwriteSecure: "OverwriteSecure",
- InvalidDomain: "InvalidDomain",
- InvalidPrefix: "InvalidPrefix",
- UnknownError: "UnknownError"
- };
-
- /** @enum {string} */
- Protocol.Network.CookieBlockedReason = {
- SecureOnly: "SecureOnly",
- NotOnPath: "NotOnPath",
- DomainMismatch: "DomainMismatch",
- SameSiteStrict: "SameSiteStrict",
- SameSiteLax: "SameSiteLax",
- SameSiteExtended: "SameSiteExtended",
- SameSiteUnspecifiedTreatedAsLax: "SameSiteUnspecifiedTreatedAsLax",
- SameSiteNoneInsecure: "SameSiteNoneInsecure",
- UserPreferences: "UserPreferences",
- UnknownError: "UnknownError"
- };
-
- /** @typedef {!{blockedReasons:(!Array<Protocol.Network.SetCookieBlockedReason>), cookieLine:(string), cookie:(Protocol.Network.Cookie|undefined)}} */
- Protocol.Network.BlockedSetCookieWithReason;
-
- /** @typedef {!{blockedReasons:(!Array<Protocol.Network.CookieBlockedReason>), cookie:(Protocol.Network.Cookie)}} */
- Protocol.Network.BlockedCookieWithReason;
-
- /** @typedef {!{name:(string), value:(string), url:(string|undefined), domain:(string|undefined), path:(string|undefined), secure:(boolean|undefined), httpOnly:(boolean|undefined), sameSite:(Protocol.Network.CookieSameSite|undefined), expires:(Protocol.Network.TimeSinceEpoch|undefined)}} */
- Protocol.Network.CookieParam;
-
- /** @enum {string} */
- Protocol.Network.AuthChallengeSource = {
- Server: "Server",
- Proxy: "Proxy"
- };
-
- /** @typedef {!{source:(Protocol.Network.AuthChallengeSource|undefined), origin:(string), scheme:(string), realm:(string)}} */
- Protocol.Network.AuthChallenge;
-
- /** @enum {string} */
- Protocol.Network.AuthChallengeResponseResponse = {
- Default: "Default",
- CancelAuth: "CancelAuth",
- ProvideCredentials: "ProvideCredentials"
- };
-
- /** @typedef {!{response:(Protocol.Network.AuthChallengeResponseResponse), username:(string|undefined), password:(string|undefined)}} */
- Protocol.Network.AuthChallengeResponse;
-
- /** @enum {string} */
- Protocol.Network.InterceptionStage = {
- Request: "Request",
- HeadersReceived: "HeadersReceived"
- };
-
- /** @typedef {!{urlPattern:(string|undefined), resourceType:(Protocol.Network.ResourceType|undefined), interceptionStage:(Protocol.Network.InterceptionStage|undefined)}} */
- Protocol.Network.RequestPattern;
-
- /** @typedef {!{label:(string), signature:(string), integrity:(string), certUrl:(string|undefined), certSha256:(string|undefined), validityUrl:(string), date:(number), expires:(number), certificates:(!Array<string>|undefined)}} */
- Protocol.Network.SignedExchangeSignature;
-
- /** @typedef {!{requestUrl:(string), responseCode:(number), responseHeaders:(Protocol.Network.Headers), signatures:(!Array<Protocol.Network.SignedExchangeSignature>), headerIntegrity:(string)}} */
- Protocol.Network.SignedExchangeHeader;
-
- /** @enum {string} */
- Protocol.Network.SignedExchangeErrorField = {
- SignatureSig: "signatureSig",
- SignatureIntegrity: "signatureIntegrity",
- SignatureCertUrl: "signatureCertUrl",
- SignatureCertSha256: "signatureCertSha256",
- SignatureValidityUrl: "signatureValidityUrl",
- SignatureTimestamps: "signatureTimestamps"
- };
-
- /** @typedef {!{message:(string), signatureIndex:(number|undefined), errorField:(Protocol.Network.SignedExchangeErrorField|undefined)}} */
- Protocol.Network.SignedExchangeError;
-
- /** @typedef {!{outerResponse:(Protocol.Network.Response), header:(Protocol.Network.SignedExchangeHeader|undefined), securityDetails:(Protocol.Network.SecurityDetails|undefined), errors:(!Array<Protocol.Network.SignedExchangeError>|undefined)}} */
- Protocol.Network.SignedExchangeInfo;
- /** @interface */
- Protocol.NetworkDispatcher = function() {};
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @param {Protocol.Network.MonotonicTime} timestamp
- * @param {number} dataLength
- * @param {number} encodedDataLength
- */
- Protocol.NetworkDispatcher.prototype.dataReceived = function(requestId, timestamp, dataLength, encodedDataLength) {};
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @param {Protocol.Network.MonotonicTime} timestamp
- * @param {string} eventName
- * @param {string} eventId
- * @param {string} data
- */
- Protocol.NetworkDispatcher.prototype.eventSourceMessageReceived = function(requestId, timestamp, eventName, eventId, data) {};
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @param {Protocol.Network.MonotonicTime} timestamp
- * @param {Protocol.Network.ResourceType} type
- * @param {string} errorText
- * @param {boolean=} opt_canceled
- * @param {Protocol.Network.BlockedReason=} opt_blockedReason
- */
- Protocol.NetworkDispatcher.prototype.loadingFailed = function(requestId, timestamp, type, errorText, opt_canceled, opt_blockedReason) {};
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @param {Protocol.Network.MonotonicTime} timestamp
- * @param {number} encodedDataLength
- * @param {boolean=} opt_shouldReportCorbBlocking
- */
- Protocol.NetworkDispatcher.prototype.loadingFinished = function(requestId, timestamp, encodedDataLength, opt_shouldReportCorbBlocking) {};
- /**
- * @param {Protocol.Network.InterceptionId} interceptionId
- * @param {Protocol.Network.Request} request
- * @param {Protocol.Page.FrameId} frameId
- * @param {Protocol.Network.ResourceType} resourceType
- * @param {boolean} isNavigationRequest
- * @param {boolean=} opt_isDownload
- * @param {string=} opt_redirectUrl
- * @param {Protocol.Network.AuthChallenge=} opt_authChallenge
- * @param {Protocol.Network.ErrorReason=} opt_responseErrorReason
- * @param {number=} opt_responseStatusCode
- * @param {Protocol.Network.Headers=} opt_responseHeaders
- * @param {Protocol.Network.RequestId=} opt_requestId
- */
- Protocol.NetworkDispatcher.prototype.requestIntercepted = function(interceptionId, request, frameId, resourceType, isNavigationRequest, opt_isDownload, opt_redirectUrl, opt_authChallenge, opt_responseErrorReason, opt_responseStatusCode, opt_responseHeaders, opt_requestId) {};
- /**
- * @param {Protocol.Network.RequestId} requestId
- */
- Protocol.NetworkDispatcher.prototype.requestServedFromCache = function(requestId) {};
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @param {Protocol.Network.LoaderId} loaderId
- * @param {string} documentURL
- * @param {Protocol.Network.Request} request
- * @param {Protocol.Network.MonotonicTime} timestamp
- * @param {Protocol.Network.TimeSinceEpoch} wallTime
- * @param {Protocol.Network.Initiator} initiator
- * @param {Protocol.Network.Response=} opt_redirectResponse
- * @param {Protocol.Network.ResourceType=} opt_type
- * @param {Protocol.Page.FrameId=} opt_frameId
- * @param {boolean=} opt_hasUserGesture
- */
- Protocol.NetworkDispatcher.prototype.requestWillBeSent = function(requestId, loaderId, documentURL, request, timestamp, wallTime, initiator, opt_redirectResponse, opt_type, opt_frameId, opt_hasUserGesture) {};
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @param {Protocol.Network.ResourcePriority} newPriority
- * @param {Protocol.Network.MonotonicTime} timestamp
- */
- Protocol.NetworkDispatcher.prototype.resourceChangedPriority = function(requestId, newPriority, timestamp) {};
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @param {Protocol.Network.SignedExchangeInfo} info
- */
- Protocol.NetworkDispatcher.prototype.signedExchangeReceived = function(requestId, info) {};
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @param {Protocol.Network.LoaderId} loaderId
- * @param {Protocol.Network.MonotonicTime} timestamp
- * @param {Protocol.Network.ResourceType} type
- * @param {Protocol.Network.Response} response
- * @param {Protocol.Page.FrameId=} opt_frameId
- */
- Protocol.NetworkDispatcher.prototype.responseReceived = function(requestId, loaderId, timestamp, type, response, opt_frameId) {};
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @param {Protocol.Network.MonotonicTime} timestamp
- */
- Protocol.NetworkDispatcher.prototype.webSocketClosed = function(requestId, timestamp) {};
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @param {string} url
- * @param {Protocol.Network.Initiator=} opt_initiator
- */
- Protocol.NetworkDispatcher.prototype.webSocketCreated = function(requestId, url, opt_initiator) {};
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @param {Protocol.Network.MonotonicTime} timestamp
- * @param {string} errorMessage
- */
- Protocol.NetworkDispatcher.prototype.webSocketFrameError = function(requestId, timestamp, errorMessage) {};
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @param {Protocol.Network.MonotonicTime} timestamp
- * @param {Protocol.Network.WebSocketFrame} response
- */
- Protocol.NetworkDispatcher.prototype.webSocketFrameReceived = function(requestId, timestamp, response) {};
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @param {Protocol.Network.MonotonicTime} timestamp
- * @param {Protocol.Network.WebSocketFrame} response
- */
- Protocol.NetworkDispatcher.prototype.webSocketFrameSent = function(requestId, timestamp, response) {};
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @param {Protocol.Network.MonotonicTime} timestamp
- * @param {Protocol.Network.WebSocketResponse} response
- */
- Protocol.NetworkDispatcher.prototype.webSocketHandshakeResponseReceived = function(requestId, timestamp, response) {};
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @param {Protocol.Network.MonotonicTime} timestamp
- * @param {Protocol.Network.TimeSinceEpoch} wallTime
- * @param {Protocol.Network.WebSocketRequest} request
- */
- Protocol.NetworkDispatcher.prototype.webSocketWillSendHandshakeRequest = function(requestId, timestamp, wallTime, request) {};
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @param {!Array<Protocol.Network.BlockedCookieWithReason>} blockedCookies
- * @param {Protocol.Network.Headers} headers
- */
- Protocol.NetworkDispatcher.prototype.requestWillBeSentExtraInfo = function(requestId, blockedCookies, headers) {};
- /**
- * @param {Protocol.Network.RequestId} requestId
- * @param {!Array<Protocol.Network.BlockedSetCookieWithReason>} blockedCookies
- * @param {Protocol.Network.Headers} headers
- * @param {string=} opt_headersText
- */
- Protocol.NetworkDispatcher.prototype.responseReceivedExtraInfo = function(requestId, blockedCookies, headers, opt_headersText) {};
- Protocol.Overlay = {};
-
-
- /**
- * @constructor
- */
- Protocol.OverlayAgent = function(){};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.OverlayAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.DisableResponse;
- /**
- * @param {!Protocol.OverlayAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.OverlayAgent.DisableResponse>} */
- Protocol.OverlayAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.OverlayAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.EnableResponse;
- /**
- * @param {!Protocol.OverlayAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.OverlayAgent.EnableResponse>} */
- Protocol.OverlayAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- * @param {boolean=} opt_includeDistance
- * @param {boolean=} opt_includeStyle
- * @return {!Promise<?Object>}
- */
- Protocol.OverlayAgent.prototype.getHighlightObjectForTest = function(nodeId, opt_includeDistance, opt_includeStyle) {};
- /** @typedef {!{includeDistance: (boolean|undefined), nodeId: Protocol.DOM.NodeId, includeStyle: (boolean|undefined)}} */
- Protocol.OverlayAgent.GetHighlightObjectForTestRequest;
- /** @typedef {!{highlight: !Object}} */
- Protocol.OverlayAgent.GetHighlightObjectForTestResponse;
- /**
- * @param {!Protocol.OverlayAgent.GetHighlightObjectForTestRequest} obj
- * @return {!Promise<!Protocol.OverlayAgent.GetHighlightObjectForTestResponse>} */
- Protocol.OverlayAgent.prototype.invoke_getHighlightObjectForTest = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.OverlayAgent.prototype.hideHighlight = function() {};
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.HideHighlightRequest;
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.HideHighlightResponse;
- /**
- * @param {!Protocol.OverlayAgent.HideHighlightRequest} obj
- * @return {!Promise<!Protocol.OverlayAgent.HideHighlightResponse>} */
- Protocol.OverlayAgent.prototype.invoke_hideHighlight = function(obj) {};
-
- /**
- * @param {Protocol.Page.FrameId} frameId
- * @param {Protocol.DOM.RGBA=} opt_contentColor
- * @param {Protocol.DOM.RGBA=} opt_contentOutlineColor
- * @return {!Promise<undefined>}
- */
- Protocol.OverlayAgent.prototype.highlightFrame = function(frameId, opt_contentColor, opt_contentOutlineColor) {};
- /** @typedef {!{contentOutlineColor: (Protocol.DOM.RGBA|undefined), contentColor: (Protocol.DOM.RGBA|undefined), frameId: Protocol.Page.FrameId}} */
- Protocol.OverlayAgent.HighlightFrameRequest;
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.HighlightFrameResponse;
- /**
- * @param {!Protocol.OverlayAgent.HighlightFrameRequest} obj
- * @return {!Promise<!Protocol.OverlayAgent.HighlightFrameResponse>} */
- Protocol.OverlayAgent.prototype.invoke_highlightFrame = function(obj) {};
-
- /**
- * @param {Protocol.Overlay.HighlightConfig} highlightConfig
- * @param {Protocol.DOM.NodeId=} opt_nodeId
- * @param {Protocol.DOM.BackendNodeId=} opt_backendNodeId
- * @param {Protocol.Runtime.RemoteObjectId=} opt_objectId
- * @param {string=} opt_selector
- * @return {!Promise<undefined>}
- */
- Protocol.OverlayAgent.prototype.highlightNode = function(highlightConfig, opt_nodeId, opt_backendNodeId, opt_objectId, opt_selector) {};
- /** @typedef {!{selector: (string|undefined), objectId: (Protocol.Runtime.RemoteObjectId|undefined), highlightConfig: Protocol.Overlay.HighlightConfig, backendNodeId: (Protocol.DOM.BackendNodeId|undefined), nodeId: (Protocol.DOM.NodeId|undefined)}} */
- Protocol.OverlayAgent.HighlightNodeRequest;
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.HighlightNodeResponse;
- /**
- * @param {!Protocol.OverlayAgent.HighlightNodeRequest} obj
- * @return {!Promise<!Protocol.OverlayAgent.HighlightNodeResponse>} */
- Protocol.OverlayAgent.prototype.invoke_highlightNode = function(obj) {};
-
- /**
- * @param {Protocol.DOM.Quad} quad
- * @param {Protocol.DOM.RGBA=} opt_color
- * @param {Protocol.DOM.RGBA=} opt_outlineColor
- * @return {!Promise<undefined>}
- */
- Protocol.OverlayAgent.prototype.highlightQuad = function(quad, opt_color, opt_outlineColor) {};
- /** @typedef {!{color: (Protocol.DOM.RGBA|undefined), quad: Protocol.DOM.Quad, outlineColor: (Protocol.DOM.RGBA|undefined)}} */
- Protocol.OverlayAgent.HighlightQuadRequest;
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.HighlightQuadResponse;
- /**
- * @param {!Protocol.OverlayAgent.HighlightQuadRequest} obj
- * @return {!Promise<!Protocol.OverlayAgent.HighlightQuadResponse>} */
- Protocol.OverlayAgent.prototype.invoke_highlightQuad = function(obj) {};
-
- /**
- * @param {number} x
- * @param {number} y
- * @param {number} width
- * @param {number} height
- * @param {Protocol.DOM.RGBA=} opt_color
- * @param {Protocol.DOM.RGBA=} opt_outlineColor
- * @return {!Promise<undefined>}
- */
- Protocol.OverlayAgent.prototype.highlightRect = function(x, y, width, height, opt_color, opt_outlineColor) {};
- /** @typedef {!{color: (Protocol.DOM.RGBA|undefined), height: number, width: number, y: number, x: number, outlineColor: (Protocol.DOM.RGBA|undefined)}} */
- Protocol.OverlayAgent.HighlightRectRequest;
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.HighlightRectResponse;
- /**
- * @param {!Protocol.OverlayAgent.HighlightRectRequest} obj
- * @return {!Promise<!Protocol.OverlayAgent.HighlightRectResponse>} */
- Protocol.OverlayAgent.prototype.invoke_highlightRect = function(obj) {};
-
- /**
- * @param {Protocol.Overlay.InspectMode} mode
- * @param {Protocol.Overlay.HighlightConfig=} opt_highlightConfig
- * @return {!Promise<undefined>}
- */
- Protocol.OverlayAgent.prototype.setInspectMode = function(mode, opt_highlightConfig) {};
- /** @typedef {!{mode: Protocol.Overlay.InspectMode, highlightConfig: (Protocol.Overlay.HighlightConfig|undefined)}} */
- Protocol.OverlayAgent.SetInspectModeRequest;
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.SetInspectModeResponse;
- /**
- * @param {!Protocol.OverlayAgent.SetInspectModeRequest} obj
- * @return {!Promise<!Protocol.OverlayAgent.SetInspectModeResponse>} */
- Protocol.OverlayAgent.prototype.invoke_setInspectMode = function(obj) {};
-
- /**
- * @param {boolean} show
- * @return {!Promise<undefined>}
- */
- Protocol.OverlayAgent.prototype.setShowAdHighlights = function(show) {};
- /** @typedef {!{show: boolean}} */
- Protocol.OverlayAgent.SetShowAdHighlightsRequest;
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.SetShowAdHighlightsResponse;
- /**
- * @param {!Protocol.OverlayAgent.SetShowAdHighlightsRequest} obj
- * @return {!Promise<!Protocol.OverlayAgent.SetShowAdHighlightsResponse>} */
- Protocol.OverlayAgent.prototype.invoke_setShowAdHighlights = function(obj) {};
-
- /**
- * @param {string=} opt_message
- * @return {!Promise<undefined>}
- */
- Protocol.OverlayAgent.prototype.setPausedInDebuggerMessage = function(opt_message) {};
- /** @typedef {!{message: (string|undefined)}} */
- Protocol.OverlayAgent.SetPausedInDebuggerMessageRequest;
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.SetPausedInDebuggerMessageResponse;
- /**
- * @param {!Protocol.OverlayAgent.SetPausedInDebuggerMessageRequest} obj
- * @return {!Promise<!Protocol.OverlayAgent.SetPausedInDebuggerMessageResponse>} */
- Protocol.OverlayAgent.prototype.invoke_setPausedInDebuggerMessage = function(obj) {};
-
- /**
- * @param {boolean} show
- * @return {!Promise<undefined>}
- */
- Protocol.OverlayAgent.prototype.setShowDebugBorders = function(show) {};
- /** @typedef {!{show: boolean}} */
- Protocol.OverlayAgent.SetShowDebugBordersRequest;
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.SetShowDebugBordersResponse;
- /**
- * @param {!Protocol.OverlayAgent.SetShowDebugBordersRequest} obj
- * @return {!Promise<!Protocol.OverlayAgent.SetShowDebugBordersResponse>} */
- Protocol.OverlayAgent.prototype.invoke_setShowDebugBorders = function(obj) {};
-
- /**
- * @param {boolean} show
- * @return {!Promise<undefined>}
- */
- Protocol.OverlayAgent.prototype.setShowFPSCounter = function(show) {};
- /** @typedef {!{show: boolean}} */
- Protocol.OverlayAgent.SetShowFPSCounterRequest;
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.SetShowFPSCounterResponse;
- /**
- * @param {!Protocol.OverlayAgent.SetShowFPSCounterRequest} obj
- * @return {!Promise<!Protocol.OverlayAgent.SetShowFPSCounterResponse>} */
- Protocol.OverlayAgent.prototype.invoke_setShowFPSCounter = function(obj) {};
-
- /**
- * @param {boolean} result
- * @return {!Promise<undefined>}
- */
- Protocol.OverlayAgent.prototype.setShowPaintRects = function(result) {};
- /** @typedef {!{result: boolean}} */
- Protocol.OverlayAgent.SetShowPaintRectsRequest;
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.SetShowPaintRectsResponse;
- /**
- * @param {!Protocol.OverlayAgent.SetShowPaintRectsRequest} obj
- * @return {!Promise<!Protocol.OverlayAgent.SetShowPaintRectsResponse>} */
- Protocol.OverlayAgent.prototype.invoke_setShowPaintRects = function(obj) {};
-
- /**
- * @param {boolean} result
- * @return {!Promise<undefined>}
- */
- Protocol.OverlayAgent.prototype.setShowLayoutShiftRegions = function(result) {};
- /** @typedef {!{result: boolean}} */
- Protocol.OverlayAgent.SetShowLayoutShiftRegionsRequest;
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.SetShowLayoutShiftRegionsResponse;
- /**
- * @param {!Protocol.OverlayAgent.SetShowLayoutShiftRegionsRequest} obj
- * @return {!Promise<!Protocol.OverlayAgent.SetShowLayoutShiftRegionsResponse>} */
- Protocol.OverlayAgent.prototype.invoke_setShowLayoutShiftRegions = function(obj) {};
-
- /**
- * @param {boolean} show
- * @return {!Promise<undefined>}
- */
- Protocol.OverlayAgent.prototype.setShowScrollBottleneckRects = function(show) {};
- /** @typedef {!{show: boolean}} */
- Protocol.OverlayAgent.SetShowScrollBottleneckRectsRequest;
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.SetShowScrollBottleneckRectsResponse;
- /**
- * @param {!Protocol.OverlayAgent.SetShowScrollBottleneckRectsRequest} obj
- * @return {!Promise<!Protocol.OverlayAgent.SetShowScrollBottleneckRectsResponse>} */
- Protocol.OverlayAgent.prototype.invoke_setShowScrollBottleneckRects = function(obj) {};
-
- /**
- * @param {boolean} show
- * @return {!Promise<undefined>}
- */
- Protocol.OverlayAgent.prototype.setShowHitTestBorders = function(show) {};
- /** @typedef {!{show: boolean}} */
- Protocol.OverlayAgent.SetShowHitTestBordersRequest;
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.SetShowHitTestBordersResponse;
- /**
- * @param {!Protocol.OverlayAgent.SetShowHitTestBordersRequest} obj
- * @return {!Promise<!Protocol.OverlayAgent.SetShowHitTestBordersResponse>} */
- Protocol.OverlayAgent.prototype.invoke_setShowHitTestBorders = function(obj) {};
-
- /**
- * @param {boolean} show
- * @return {!Promise<undefined>}
- */
- Protocol.OverlayAgent.prototype.setShowViewportSizeOnResize = function(show) {};
- /** @typedef {!{show: boolean}} */
- Protocol.OverlayAgent.SetShowViewportSizeOnResizeRequest;
- /** @typedef {Object|undefined} */
- Protocol.OverlayAgent.SetShowViewportSizeOnResizeResponse;
- /**
- * @param {!Protocol.OverlayAgent.SetShowViewportSizeOnResizeRequest} obj
- * @return {!Promise<!Protocol.OverlayAgent.SetShowViewportSizeOnResizeResponse>} */
- Protocol.OverlayAgent.prototype.invoke_setShowViewportSizeOnResize = function(obj) {};
-
- /** @typedef {!{showInfo:(boolean|undefined), showStyles:(boolean|undefined), showRulers:(boolean|undefined), showExtensionLines:(boolean|undefined), contentColor:(Protocol.DOM.RGBA|undefined), paddingColor:(Protocol.DOM.RGBA|undefined), borderColor:(Protocol.DOM.RGBA|undefined), marginColor:(Protocol.DOM.RGBA|undefined), eventTargetColor:(Protocol.DOM.RGBA|undefined), shapeColor:(Protocol.DOM.RGBA|undefined), shapeMarginColor:(Protocol.DOM.RGBA|undefined), cssGridColor:(Protocol.DOM.RGBA|undefined)}} */
- Protocol.Overlay.HighlightConfig;
-
- /** @enum {string} */
- Protocol.Overlay.InspectMode = {
- SearchForNode: "searchForNode",
- SearchForUAShadowDOM: "searchForUAShadowDOM",
- CaptureAreaScreenshot: "captureAreaScreenshot",
- ShowDistances: "showDistances",
- None: "none"
- };
- /** @interface */
- Protocol.OverlayDispatcher = function() {};
- /**
- * @param {Protocol.DOM.BackendNodeId} backendNodeId
- */
- Protocol.OverlayDispatcher.prototype.inspectNodeRequested = function(backendNodeId) {};
- /**
- * @param {Protocol.DOM.NodeId} nodeId
- */
- Protocol.OverlayDispatcher.prototype.nodeHighlightRequested = function(nodeId) {};
- /**
- * @param {Protocol.Page.Viewport} viewport
- */
- Protocol.OverlayDispatcher.prototype.screenshotRequested = function(viewport) {};
- Protocol.OverlayDispatcher.prototype.inspectModeCanceled = function() {};
- Protocol.Page = {};
-
-
- /**
- * @constructor
- */
- Protocol.PageAgent = function(){};
-
- /**
- * @param {string} scriptSource
- * @return {!Promise<?Protocol.Page.ScriptIdentifier>}
- */
- Protocol.PageAgent.prototype.addScriptToEvaluateOnLoad = function(scriptSource) {};
- /** @typedef {!{scriptSource: string}} */
- Protocol.PageAgent.AddScriptToEvaluateOnLoadRequest;
- /** @typedef {!{identifier: Protocol.Page.ScriptIdentifier}} */
- Protocol.PageAgent.AddScriptToEvaluateOnLoadResponse;
- /**
- * @param {!Protocol.PageAgent.AddScriptToEvaluateOnLoadRequest} obj
- * @return {!Promise<!Protocol.PageAgent.AddScriptToEvaluateOnLoadResponse>} */
- Protocol.PageAgent.prototype.invoke_addScriptToEvaluateOnLoad = function(obj) {};
-
- /**
- * @param {string} source
- * @param {string=} opt_worldName
- * @return {!Promise<?Protocol.Page.ScriptIdentifier>}
- */
- Protocol.PageAgent.prototype.addScriptToEvaluateOnNewDocument = function(source, opt_worldName) {};
- /** @typedef {!{source: string, worldName: (string|undefined)}} */
- Protocol.PageAgent.AddScriptToEvaluateOnNewDocumentRequest;
- /** @typedef {!{identifier: Protocol.Page.ScriptIdentifier}} */
- Protocol.PageAgent.AddScriptToEvaluateOnNewDocumentResponse;
- /**
- * @param {!Protocol.PageAgent.AddScriptToEvaluateOnNewDocumentRequest} obj
- * @return {!Promise<!Protocol.PageAgent.AddScriptToEvaluateOnNewDocumentResponse>} */
- Protocol.PageAgent.prototype.invoke_addScriptToEvaluateOnNewDocument = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.bringToFront = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.BringToFrontRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.BringToFrontResponse;
- /**
- * @param {!Protocol.PageAgent.BringToFrontRequest} obj
- * @return {!Promise<!Protocol.PageAgent.BringToFrontResponse>} */
- Protocol.PageAgent.prototype.invoke_bringToFront = function(obj) {};
-
- /**
- * @param {string=} opt_format
- * @param {number=} opt_quality
- * @param {Protocol.Page.Viewport=} opt_clip
- * @param {boolean=} opt_fromSurface
- * @return {!Promise<?string>}
- */
- Protocol.PageAgent.prototype.captureScreenshot = function(opt_format, opt_quality, opt_clip, opt_fromSurface) {};
- /** @typedef {!{fromSurface: (boolean|undefined), quality: (number|undefined), clip: (Protocol.Page.Viewport|undefined), format: (string|undefined)}} */
- Protocol.PageAgent.CaptureScreenshotRequest;
- /** @typedef {!{data: string}} */
- Protocol.PageAgent.CaptureScreenshotResponse;
- /**
- * @param {!Protocol.PageAgent.CaptureScreenshotRequest} obj
- * @return {!Promise<!Protocol.PageAgent.CaptureScreenshotResponse>} */
- Protocol.PageAgent.prototype.invoke_captureScreenshot = function(obj) {};
-
- /**
- * @param {string=} opt_format
- * @return {!Promise<?string>}
- */
- Protocol.PageAgent.prototype.captureSnapshot = function(opt_format) {};
- /** @typedef {!{format: (string|undefined)}} */
- Protocol.PageAgent.CaptureSnapshotRequest;
- /** @typedef {!{data: string}} */
- Protocol.PageAgent.CaptureSnapshotResponse;
- /**
- * @param {!Protocol.PageAgent.CaptureSnapshotRequest} obj
- * @return {!Promise<!Protocol.PageAgent.CaptureSnapshotResponse>} */
- Protocol.PageAgent.prototype.invoke_captureSnapshot = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.clearDeviceMetricsOverride = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.ClearDeviceMetricsOverrideRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.ClearDeviceMetricsOverrideResponse;
- /**
- * @param {!Protocol.PageAgent.ClearDeviceMetricsOverrideRequest} obj
- * @return {!Promise<!Protocol.PageAgent.ClearDeviceMetricsOverrideResponse>} */
- Protocol.PageAgent.prototype.invoke_clearDeviceMetricsOverride = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.clearDeviceOrientationOverride = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.ClearDeviceOrientationOverrideRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.ClearDeviceOrientationOverrideResponse;
- /**
- * @param {!Protocol.PageAgent.ClearDeviceOrientationOverrideRequest} obj
- * @return {!Promise<!Protocol.PageAgent.ClearDeviceOrientationOverrideResponse>} */
- Protocol.PageAgent.prototype.invoke_clearDeviceOrientationOverride = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.clearGeolocationOverride = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.ClearGeolocationOverrideRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.ClearGeolocationOverrideResponse;
- /**
- * @param {!Protocol.PageAgent.ClearGeolocationOverrideRequest} obj
- * @return {!Promise<!Protocol.PageAgent.ClearGeolocationOverrideResponse>} */
- Protocol.PageAgent.prototype.invoke_clearGeolocationOverride = function(obj) {};
-
- /**
- * @param {Protocol.Page.FrameId} frameId
- * @param {string=} opt_worldName
- * @param {boolean=} opt_grantUniveralAccess
- * @return {!Promise<?Protocol.Runtime.ExecutionContextId>}
- */
- Protocol.PageAgent.prototype.createIsolatedWorld = function(frameId, opt_worldName, opt_grantUniveralAccess) {};
- /** @typedef {!{grantUniveralAccess: (boolean|undefined), worldName: (string|undefined), frameId: Protocol.Page.FrameId}} */
- Protocol.PageAgent.CreateIsolatedWorldRequest;
- /** @typedef {!{executionContextId: Protocol.Runtime.ExecutionContextId}} */
- Protocol.PageAgent.CreateIsolatedWorldResponse;
- /**
- * @param {!Protocol.PageAgent.CreateIsolatedWorldRequest} obj
- * @return {!Promise<!Protocol.PageAgent.CreateIsolatedWorldResponse>} */
- Protocol.PageAgent.prototype.invoke_createIsolatedWorld = function(obj) {};
-
- /**
- * @param {string} cookieName
- * @param {string} url
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.deleteCookie = function(cookieName, url) {};
- /** @typedef {!{url: string, cookieName: string}} */
- Protocol.PageAgent.DeleteCookieRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.DeleteCookieResponse;
- /**
- * @param {!Protocol.PageAgent.DeleteCookieRequest} obj
- * @return {!Promise<!Protocol.PageAgent.DeleteCookieResponse>} */
- Protocol.PageAgent.prototype.invoke_deleteCookie = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.DisableResponse;
- /**
- * @param {!Protocol.PageAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.PageAgent.DisableResponse>} */
- Protocol.PageAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.EnableResponse;
- /**
- * @param {!Protocol.PageAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.PageAgent.EnableResponse>} */
- Protocol.PageAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @return {!Promise<?string>}
- */
- Protocol.PageAgent.prototype.getAppManifest = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.GetAppManifestRequest;
- /** @typedef {!{url: string, errors: !Array<Protocol.Page.AppManifestError>, data: string}} */
- Protocol.PageAgent.GetAppManifestResponse;
- /**
- * @param {!Protocol.PageAgent.GetAppManifestRequest} obj
- * @return {!Promise<!Protocol.PageAgent.GetAppManifestResponse>} */
- Protocol.PageAgent.prototype.invoke_getAppManifest = function(obj) {};
-
- /**
- * @return {!Promise<?Array<string>>}
- */
- Protocol.PageAgent.prototype.getInstallabilityErrors = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.GetInstallabilityErrorsRequest;
- /** @typedef {!{errors: !Array<string>}} */
- Protocol.PageAgent.GetInstallabilityErrorsResponse;
- /**
- * @param {!Protocol.PageAgent.GetInstallabilityErrorsRequest} obj
- * @return {!Promise<!Protocol.PageAgent.GetInstallabilityErrorsResponse>} */
- Protocol.PageAgent.prototype.invoke_getInstallabilityErrors = function(obj) {};
-
- /**
- * @return {!Promise<?Array<Protocol.Network.Cookie>>}
- */
- Protocol.PageAgent.prototype.getCookies = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.GetCookiesRequest;
- /** @typedef {!{cookies: !Array<Protocol.Network.Cookie>}} */
- Protocol.PageAgent.GetCookiesResponse;
- /**
- * @param {!Protocol.PageAgent.GetCookiesRequest} obj
- * @return {!Promise<!Protocol.PageAgent.GetCookiesResponse>} */
- Protocol.PageAgent.prototype.invoke_getCookies = function(obj) {};
-
- /**
- * @return {!Promise<?Protocol.Page.FrameTree>}
- */
- Protocol.PageAgent.prototype.getFrameTree = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.GetFrameTreeRequest;
- /** @typedef {!{frameTree: Protocol.Page.FrameTree}} */
- Protocol.PageAgent.GetFrameTreeResponse;
- /**
- * @param {!Protocol.PageAgent.GetFrameTreeRequest} obj
- * @return {!Promise<!Protocol.PageAgent.GetFrameTreeResponse>} */
- Protocol.PageAgent.prototype.invoke_getFrameTree = function(obj) {};
-
- /**
- * @return {!Promise<?Protocol.Page.LayoutViewport>}
- */
- Protocol.PageAgent.prototype.getLayoutMetrics = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.GetLayoutMetricsRequest;
- /** @typedef {!{visualViewport: Protocol.Page.VisualViewport, layoutViewport: Protocol.Page.LayoutViewport, contentSize: Protocol.DOM.Rect}} */
- Protocol.PageAgent.GetLayoutMetricsResponse;
- /**
- * @param {!Protocol.PageAgent.GetLayoutMetricsRequest} obj
- * @return {!Promise<!Protocol.PageAgent.GetLayoutMetricsResponse>} */
- Protocol.PageAgent.prototype.invoke_getLayoutMetrics = function(obj) {};
-
- /**
- * @return {!Promise<?number>}
- */
- Protocol.PageAgent.prototype.getNavigationHistory = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.GetNavigationHistoryRequest;
- /** @typedef {!{currentIndex: number, entries: !Array<Protocol.Page.NavigationEntry>}} */
- Protocol.PageAgent.GetNavigationHistoryResponse;
- /**
- * @param {!Protocol.PageAgent.GetNavigationHistoryRequest} obj
- * @return {!Promise<!Protocol.PageAgent.GetNavigationHistoryResponse>} */
- Protocol.PageAgent.prototype.invoke_getNavigationHistory = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.resetNavigationHistory = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.ResetNavigationHistoryRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.ResetNavigationHistoryResponse;
- /**
- * @param {!Protocol.PageAgent.ResetNavigationHistoryRequest} obj
- * @return {!Promise<!Protocol.PageAgent.ResetNavigationHistoryResponse>} */
- Protocol.PageAgent.prototype.invoke_resetNavigationHistory = function(obj) {};
-
- /**
- * @param {Protocol.Page.FrameId} frameId
- * @param {string} url
- * @return {!Promise<?string>}
- */
- Protocol.PageAgent.prototype.getResourceContent = function(frameId, url) {};
- /** @typedef {!{url: string, frameId: Protocol.Page.FrameId}} */
- Protocol.PageAgent.GetResourceContentRequest;
- /** @typedef {!{content: string, base64Encoded: boolean}} */
- Protocol.PageAgent.GetResourceContentResponse;
- /**
- * @param {!Protocol.PageAgent.GetResourceContentRequest} obj
- * @return {!Promise<!Protocol.PageAgent.GetResourceContentResponse>} */
- Protocol.PageAgent.prototype.invoke_getResourceContent = function(obj) {};
-
- /**
- * @return {!Promise<?Protocol.Page.FrameResourceTree>}
- */
- Protocol.PageAgent.prototype.getResourceTree = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.GetResourceTreeRequest;
- /** @typedef {!{frameTree: Protocol.Page.FrameResourceTree}} */
- Protocol.PageAgent.GetResourceTreeResponse;
- /**
- * @param {!Protocol.PageAgent.GetResourceTreeRequest} obj
- * @return {!Promise<!Protocol.PageAgent.GetResourceTreeResponse>} */
- Protocol.PageAgent.prototype.invoke_getResourceTree = function(obj) {};
-
- /**
- * @param {boolean} accept
- * @param {string=} opt_promptText
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.handleJavaScriptDialog = function(accept, opt_promptText) {};
- /** @typedef {!{promptText: (string|undefined), accept: boolean}} */
- Protocol.PageAgent.HandleJavaScriptDialogRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.HandleJavaScriptDialogResponse;
- /**
- * @param {!Protocol.PageAgent.HandleJavaScriptDialogRequest} obj
- * @return {!Promise<!Protocol.PageAgent.HandleJavaScriptDialogResponse>} */
- Protocol.PageAgent.prototype.invoke_handleJavaScriptDialog = function(obj) {};
-
- /**
- * @param {string} url
- * @param {string=} opt_referrer
- * @param {Protocol.Page.TransitionType=} opt_transitionType
- * @param {Protocol.Page.FrameId=} opt_frameId
- * @return {!Promise<?Protocol.Page.FrameId>}
- */
- Protocol.PageAgent.prototype.navigate = function(url, opt_referrer, opt_transitionType, opt_frameId) {};
- /** @typedef {!{url: string, referrer: (string|undefined), frameId: (Protocol.Page.FrameId|undefined), transitionType: (Protocol.Page.TransitionType|undefined)}} */
- Protocol.PageAgent.NavigateRequest;
- /** @typedef {!{loaderId: Protocol.Network.LoaderId, errorText: string, frameId: Protocol.Page.FrameId}} */
- Protocol.PageAgent.NavigateResponse;
- /**
- * @param {!Protocol.PageAgent.NavigateRequest} obj
- * @return {!Promise<!Protocol.PageAgent.NavigateResponse>} */
- Protocol.PageAgent.prototype.invoke_navigate = function(obj) {};
-
- /**
- * @param {number} entryId
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.navigateToHistoryEntry = function(entryId) {};
- /** @typedef {!{entryId: number}} */
- Protocol.PageAgent.NavigateToHistoryEntryRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.NavigateToHistoryEntryResponse;
- /**
- * @param {!Protocol.PageAgent.NavigateToHistoryEntryRequest} obj
- * @return {!Promise<!Protocol.PageAgent.NavigateToHistoryEntryResponse>} */
- Protocol.PageAgent.prototype.invoke_navigateToHistoryEntry = function(obj) {};
-
- /**
- * @param {boolean=} opt_landscape
- * @param {boolean=} opt_displayHeaderFooter
- * @param {boolean=} opt_printBackground
- * @param {number=} opt_scale
- * @param {number=} opt_paperWidth
- * @param {number=} opt_paperHeight
- * @param {number=} opt_marginTop
- * @param {number=} opt_marginBottom
- * @param {number=} opt_marginLeft
- * @param {number=} opt_marginRight
- * @param {string=} opt_pageRanges
- * @param {boolean=} opt_ignoreInvalidPageRanges
- * @param {string=} opt_headerTemplate
- * @param {string=} opt_footerTemplate
- * @param {boolean=} opt_preferCSSPageSize
- * @param {string=} opt_transferMode
- * @return {!Promise<?string>}
- */
- Protocol.PageAgent.prototype.printToPDF = function(opt_landscape, opt_displayHeaderFooter, opt_printBackground, opt_scale, opt_paperWidth, opt_paperHeight, opt_marginTop, opt_marginBottom, opt_marginLeft, opt_marginRight, opt_pageRanges, opt_ignoreInvalidPageRanges, opt_headerTemplate, opt_footerTemplate, opt_preferCSSPageSize, opt_transferMode) {};
- /** @typedef {!{paperHeight: (number|undefined), scale: (number|undefined), footerTemplate: (string|undefined), displayHeaderFooter: (boolean|undefined), transferMode: (string|undefined), marginBottom: (number|undefined), paperWidth: (number|undefined), headerTemplate: (string|undefined), marginLeft: (number|undefined), preferCSSPageSize: (boolean|undefined), printBackground: (boolean|undefined), marginRight: (number|undefined), ignoreInvalidPageRanges: (boolean|undefined), pageRanges: (string|undefined), marginTop: (number|undefined), landscape: (boolean|undefined)}} */
- Protocol.PageAgent.PrintToPDFRequest;
- /** @typedef {!{data: string, stream: Protocol.IO.StreamHandle}} */
- Protocol.PageAgent.PrintToPDFResponse;
- /**
- * @param {!Protocol.PageAgent.PrintToPDFRequest} obj
- * @return {!Promise<!Protocol.PageAgent.PrintToPDFResponse>} */
- Protocol.PageAgent.prototype.invoke_printToPDF = function(obj) {};
-
- /**
- * @param {boolean=} opt_ignoreCache
- * @param {string=} opt_scriptToEvaluateOnLoad
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.reload = function(opt_ignoreCache, opt_scriptToEvaluateOnLoad) {};
- /** @typedef {!{scriptToEvaluateOnLoad: (string|undefined), ignoreCache: (boolean|undefined)}} */
- Protocol.PageAgent.ReloadRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.ReloadResponse;
- /**
- * @param {!Protocol.PageAgent.ReloadRequest} obj
- * @return {!Promise<!Protocol.PageAgent.ReloadResponse>} */
- Protocol.PageAgent.prototype.invoke_reload = function(obj) {};
-
- /**
- * @param {Protocol.Page.ScriptIdentifier} identifier
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.removeScriptToEvaluateOnLoad = function(identifier) {};
- /** @typedef {!{identifier: Protocol.Page.ScriptIdentifier}} */
- Protocol.PageAgent.RemoveScriptToEvaluateOnLoadRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.RemoveScriptToEvaluateOnLoadResponse;
- /**
- * @param {!Protocol.PageAgent.RemoveScriptToEvaluateOnLoadRequest} obj
- * @return {!Promise<!Protocol.PageAgent.RemoveScriptToEvaluateOnLoadResponse>} */
- Protocol.PageAgent.prototype.invoke_removeScriptToEvaluateOnLoad = function(obj) {};
-
- /**
- * @param {Protocol.Page.ScriptIdentifier} identifier
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.removeScriptToEvaluateOnNewDocument = function(identifier) {};
- /** @typedef {!{identifier: Protocol.Page.ScriptIdentifier}} */
- Protocol.PageAgent.RemoveScriptToEvaluateOnNewDocumentRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.RemoveScriptToEvaluateOnNewDocumentResponse;
- /**
- * @param {!Protocol.PageAgent.RemoveScriptToEvaluateOnNewDocumentRequest} obj
- * @return {!Promise<!Protocol.PageAgent.RemoveScriptToEvaluateOnNewDocumentResponse>} */
- Protocol.PageAgent.prototype.invoke_removeScriptToEvaluateOnNewDocument = function(obj) {};
-
- /**
- * @param {number} sessionId
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.screencastFrameAck = function(sessionId) {};
- /** @typedef {!{sessionId: number}} */
- Protocol.PageAgent.ScreencastFrameAckRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.ScreencastFrameAckResponse;
- /**
- * @param {!Protocol.PageAgent.ScreencastFrameAckRequest} obj
- * @return {!Promise<!Protocol.PageAgent.ScreencastFrameAckResponse>} */
- Protocol.PageAgent.prototype.invoke_screencastFrameAck = function(obj) {};
-
- /**
- * @param {Protocol.Page.FrameId} frameId
- * @param {string} url
- * @param {string} query
- * @param {boolean=} opt_caseSensitive
- * @param {boolean=} opt_isRegex
- * @return {!Promise<?Array<Protocol.Debugger.SearchMatch>>}
- */
- Protocol.PageAgent.prototype.searchInResource = function(frameId, url, query, opt_caseSensitive, opt_isRegex) {};
- /** @typedef {!{url: string, query: string, caseSensitive: (boolean|undefined), isRegex: (boolean|undefined), frameId: Protocol.Page.FrameId}} */
- Protocol.PageAgent.SearchInResourceRequest;
- /** @typedef {!{result: !Array<Protocol.Debugger.SearchMatch>}} */
- Protocol.PageAgent.SearchInResourceResponse;
- /**
- * @param {!Protocol.PageAgent.SearchInResourceRequest} obj
- * @return {!Promise<!Protocol.PageAgent.SearchInResourceResponse>} */
- Protocol.PageAgent.prototype.invoke_searchInResource = function(obj) {};
-
- /**
- * @param {boolean} enabled
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.setAdBlockingEnabled = function(enabled) {};
- /** @typedef {!{enabled: boolean}} */
- Protocol.PageAgent.SetAdBlockingEnabledRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.SetAdBlockingEnabledResponse;
- /**
- * @param {!Protocol.PageAgent.SetAdBlockingEnabledRequest} obj
- * @return {!Promise<!Protocol.PageAgent.SetAdBlockingEnabledResponse>} */
- Protocol.PageAgent.prototype.invoke_setAdBlockingEnabled = function(obj) {};
-
- /**
- * @param {boolean} enabled
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.setBypassCSP = function(enabled) {};
- /** @typedef {!{enabled: boolean}} */
- Protocol.PageAgent.SetBypassCSPRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.SetBypassCSPResponse;
- /**
- * @param {!Protocol.PageAgent.SetBypassCSPRequest} obj
- * @return {!Promise<!Protocol.PageAgent.SetBypassCSPResponse>} */
- Protocol.PageAgent.prototype.invoke_setBypassCSP = function(obj) {};
-
- /**
- * @param {number} width
- * @param {number} height
- * @param {number} deviceScaleFactor
- * @param {boolean} mobile
- * @param {number=} opt_scale
- * @param {number=} opt_screenWidth
- * @param {number=} opt_screenHeight
- * @param {number=} opt_positionX
- * @param {number=} opt_positionY
- * @param {boolean=} opt_dontSetVisibleSize
- * @param {Protocol.Emulation.ScreenOrientation=} opt_screenOrientation
- * @param {Protocol.Page.Viewport=} opt_viewport
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.setDeviceMetricsOverride = function(width, height, deviceScaleFactor, mobile, opt_scale, opt_screenWidth, opt_screenHeight, opt_positionX, opt_positionY, opt_dontSetVisibleSize, opt_screenOrientation, opt_viewport) {};
- /** @typedef {!{deviceScaleFactor: number, positionX: (number|undefined), scale: (number|undefined), screenHeight: (number|undefined), mobile: boolean, screenOrientation: (Protocol.Emulation.ScreenOrientation|undefined), dontSetVisibleSize: (boolean|undefined), height: number, width: number, positionY: (number|undefined), screenWidth: (number|undefined), viewport: (Protocol.Page.Viewport|undefined)}} */
- Protocol.PageAgent.SetDeviceMetricsOverrideRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.SetDeviceMetricsOverrideResponse;
- /**
- * @param {!Protocol.PageAgent.SetDeviceMetricsOverrideRequest} obj
- * @return {!Promise<!Protocol.PageAgent.SetDeviceMetricsOverrideResponse>} */
- Protocol.PageAgent.prototype.invoke_setDeviceMetricsOverride = function(obj) {};
-
- /**
- * @param {number} alpha
- * @param {number} beta
- * @param {number} gamma
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.setDeviceOrientationOverride = function(alpha, beta, gamma) {};
- /** @typedef {!{alpha: number, beta: number, gamma: number}} */
- Protocol.PageAgent.SetDeviceOrientationOverrideRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.SetDeviceOrientationOverrideResponse;
- /**
- * @param {!Protocol.PageAgent.SetDeviceOrientationOverrideRequest} obj
- * @return {!Promise<!Protocol.PageAgent.SetDeviceOrientationOverrideResponse>} */
- Protocol.PageAgent.prototype.invoke_setDeviceOrientationOverride = function(obj) {};
-
- /**
- * @param {Protocol.Page.FontFamilies} fontFamilies
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.setFontFamilies = function(fontFamilies) {};
- /** @typedef {!{fontFamilies: Protocol.Page.FontFamilies}} */
- Protocol.PageAgent.SetFontFamiliesRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.SetFontFamiliesResponse;
- /**
- * @param {!Protocol.PageAgent.SetFontFamiliesRequest} obj
- * @return {!Promise<!Protocol.PageAgent.SetFontFamiliesResponse>} */
- Protocol.PageAgent.prototype.invoke_setFontFamilies = function(obj) {};
-
- /**
- * @param {Protocol.Page.FontSizes} fontSizes
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.setFontSizes = function(fontSizes) {};
- /** @typedef {!{fontSizes: Protocol.Page.FontSizes}} */
- Protocol.PageAgent.SetFontSizesRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.SetFontSizesResponse;
- /**
- * @param {!Protocol.PageAgent.SetFontSizesRequest} obj
- * @return {!Promise<!Protocol.PageAgent.SetFontSizesResponse>} */
- Protocol.PageAgent.prototype.invoke_setFontSizes = function(obj) {};
-
- /**
- * @param {Protocol.Page.FrameId} frameId
- * @param {string} html
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.setDocumentContent = function(frameId, html) {};
- /** @typedef {!{html: string, frameId: Protocol.Page.FrameId}} */
- Protocol.PageAgent.SetDocumentContentRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.SetDocumentContentResponse;
- /**
- * @param {!Protocol.PageAgent.SetDocumentContentRequest} obj
- * @return {!Promise<!Protocol.PageAgent.SetDocumentContentResponse>} */
- Protocol.PageAgent.prototype.invoke_setDocumentContent = function(obj) {};
-
- /**
- * @param {string} behavior
- * @param {string=} opt_downloadPath
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.setDownloadBehavior = function(behavior, opt_downloadPath) {};
- /** @typedef {!{downloadPath: (string|undefined), behavior: string}} */
- Protocol.PageAgent.SetDownloadBehaviorRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.SetDownloadBehaviorResponse;
- /**
- * @param {!Protocol.PageAgent.SetDownloadBehaviorRequest} obj
- * @return {!Promise<!Protocol.PageAgent.SetDownloadBehaviorResponse>} */
- Protocol.PageAgent.prototype.invoke_setDownloadBehavior = function(obj) {};
-
- /**
- * @param {number=} opt_latitude
- * @param {number=} opt_longitude
- * @param {number=} opt_accuracy
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.setGeolocationOverride = function(opt_latitude, opt_longitude, opt_accuracy) {};
- /** @typedef {!{latitude: (number|undefined), longitude: (number|undefined), accuracy: (number|undefined)}} */
- Protocol.PageAgent.SetGeolocationOverrideRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.SetGeolocationOverrideResponse;
- /**
- * @param {!Protocol.PageAgent.SetGeolocationOverrideRequest} obj
- * @return {!Promise<!Protocol.PageAgent.SetGeolocationOverrideResponse>} */
- Protocol.PageAgent.prototype.invoke_setGeolocationOverride = function(obj) {};
-
- /**
- * @param {boolean} enabled
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.setLifecycleEventsEnabled = function(enabled) {};
- /** @typedef {!{enabled: boolean}} */
- Protocol.PageAgent.SetLifecycleEventsEnabledRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.SetLifecycleEventsEnabledResponse;
- /**
- * @param {!Protocol.PageAgent.SetLifecycleEventsEnabledRequest} obj
- * @return {!Promise<!Protocol.PageAgent.SetLifecycleEventsEnabledResponse>} */
- Protocol.PageAgent.prototype.invoke_setLifecycleEventsEnabled = function(obj) {};
-
- /**
- * @param {boolean} enabled
- * @param {string=} opt_configuration
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.setTouchEmulationEnabled = function(enabled, opt_configuration) {};
- /** @typedef {!{configuration: (string|undefined), enabled: boolean}} */
- Protocol.PageAgent.SetTouchEmulationEnabledRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.SetTouchEmulationEnabledResponse;
- /**
- * @param {!Protocol.PageAgent.SetTouchEmulationEnabledRequest} obj
- * @return {!Promise<!Protocol.PageAgent.SetTouchEmulationEnabledResponse>} */
- Protocol.PageAgent.prototype.invoke_setTouchEmulationEnabled = function(obj) {};
-
- /**
- * @param {string=} opt_format
- * @param {number=} opt_quality
- * @param {number=} opt_maxWidth
- * @param {number=} opt_maxHeight
- * @param {number=} opt_everyNthFrame
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.startScreencast = function(opt_format, opt_quality, opt_maxWidth, opt_maxHeight, opt_everyNthFrame) {};
- /** @typedef {!{everyNthFrame: (number|undefined), quality: (number|undefined), maxHeight: (number|undefined), maxWidth: (number|undefined), format: (string|undefined)}} */
- Protocol.PageAgent.StartScreencastRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.StartScreencastResponse;
- /**
- * @param {!Protocol.PageAgent.StartScreencastRequest} obj
- * @return {!Promise<!Protocol.PageAgent.StartScreencastResponse>} */
- Protocol.PageAgent.prototype.invoke_startScreencast = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.stopLoading = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.StopLoadingRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.StopLoadingResponse;
- /**
- * @param {!Protocol.PageAgent.StopLoadingRequest} obj
- * @return {!Promise<!Protocol.PageAgent.StopLoadingResponse>} */
- Protocol.PageAgent.prototype.invoke_stopLoading = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.crash = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.CrashRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.CrashResponse;
- /**
- * @param {!Protocol.PageAgent.CrashRequest} obj
- * @return {!Promise<!Protocol.PageAgent.CrashResponse>} */
- Protocol.PageAgent.prototype.invoke_crash = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.close = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.CloseRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.CloseResponse;
- /**
- * @param {!Protocol.PageAgent.CloseRequest} obj
- * @return {!Promise<!Protocol.PageAgent.CloseResponse>} */
- Protocol.PageAgent.prototype.invoke_close = function(obj) {};
-
- /**
- * @param {string} state
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.setWebLifecycleState = function(state) {};
- /** @typedef {!{state: string}} */
- Protocol.PageAgent.SetWebLifecycleStateRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.SetWebLifecycleStateResponse;
- /**
- * @param {!Protocol.PageAgent.SetWebLifecycleStateRequest} obj
- * @return {!Promise<!Protocol.PageAgent.SetWebLifecycleStateResponse>} */
- Protocol.PageAgent.prototype.invoke_setWebLifecycleState = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.stopScreencast = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.StopScreencastRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.StopScreencastResponse;
- /**
- * @param {!Protocol.PageAgent.StopScreencastRequest} obj
- * @return {!Promise<!Protocol.PageAgent.StopScreencastResponse>} */
- Protocol.PageAgent.prototype.invoke_stopScreencast = function(obj) {};
-
- /**
- * @param {boolean} enabled
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.setProduceCompilationCache = function(enabled) {};
- /** @typedef {!{enabled: boolean}} */
- Protocol.PageAgent.SetProduceCompilationCacheRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.SetProduceCompilationCacheResponse;
- /**
- * @param {!Protocol.PageAgent.SetProduceCompilationCacheRequest} obj
- * @return {!Promise<!Protocol.PageAgent.SetProduceCompilationCacheResponse>} */
- Protocol.PageAgent.prototype.invoke_setProduceCompilationCache = function(obj) {};
-
- /**
- * @param {string} url
- * @param {string} data
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.addCompilationCache = function(url, data) {};
- /** @typedef {!{url: string, data: string}} */
- Protocol.PageAgent.AddCompilationCacheRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.AddCompilationCacheResponse;
- /**
- * @param {!Protocol.PageAgent.AddCompilationCacheRequest} obj
- * @return {!Promise<!Protocol.PageAgent.AddCompilationCacheResponse>} */
- Protocol.PageAgent.prototype.invoke_addCompilationCache = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.clearCompilationCache = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.ClearCompilationCacheRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.ClearCompilationCacheResponse;
- /**
- * @param {!Protocol.PageAgent.ClearCompilationCacheRequest} obj
- * @return {!Promise<!Protocol.PageAgent.ClearCompilationCacheResponse>} */
- Protocol.PageAgent.prototype.invoke_clearCompilationCache = function(obj) {};
-
- /**
- * @param {string} message
- * @param {string=} opt_group
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.generateTestReport = function(message, opt_group) {};
- /** @typedef {!{message: string, group: (string|undefined)}} */
- Protocol.PageAgent.GenerateTestReportRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.GenerateTestReportResponse;
- /**
- * @param {!Protocol.PageAgent.GenerateTestReportRequest} obj
- * @return {!Promise<!Protocol.PageAgent.GenerateTestReportResponse>} */
- Protocol.PageAgent.prototype.invoke_generateTestReport = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.waitForDebugger = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.WaitForDebuggerRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.WaitForDebuggerResponse;
- /**
- * @param {!Protocol.PageAgent.WaitForDebuggerRequest} obj
- * @return {!Promise<!Protocol.PageAgent.WaitForDebuggerResponse>} */
- Protocol.PageAgent.prototype.invoke_waitForDebugger = function(obj) {};
-
- /**
- * @param {boolean} enabled
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.setInterceptFileChooserDialog = function(enabled) {};
- /** @typedef {!{enabled: boolean}} */
- Protocol.PageAgent.SetInterceptFileChooserDialogRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.SetInterceptFileChooserDialogResponse;
- /**
- * @param {!Protocol.PageAgent.SetInterceptFileChooserDialogRequest} obj
- * @return {!Promise<!Protocol.PageAgent.SetInterceptFileChooserDialogResponse>} */
- Protocol.PageAgent.prototype.invoke_setInterceptFileChooserDialog = function(obj) {};
-
- /**
- * @param {string} action
- * @param {!Array<string>=} opt_files
- * @return {!Promise<undefined>}
- */
- Protocol.PageAgent.prototype.handleFileChooser = function(action, opt_files) {};
- /** @typedef {!{action: string, files: (!Array<string>|undefined)}} */
- Protocol.PageAgent.HandleFileChooserRequest;
- /** @typedef {Object|undefined} */
- Protocol.PageAgent.HandleFileChooserResponse;
- /**
- * @param {!Protocol.PageAgent.HandleFileChooserRequest} obj
- * @return {!Promise<!Protocol.PageAgent.HandleFileChooserResponse>} */
- Protocol.PageAgent.prototype.invoke_handleFileChooser = function(obj) {};
-
- /** @typedef {string} */
- Protocol.Page.FrameId;
-
- /** @typedef {!{id:(Protocol.Page.FrameId), parentId:(string|undefined), loaderId:(Protocol.Network.LoaderId), name:(string|undefined), url:(string), urlFragment:(string|undefined), securityOrigin:(string), mimeType:(string), unreachableUrl:(string|undefined)}} */
- Protocol.Page.Frame;
-
- /** @typedef {!{url:(string), type:(Protocol.Network.ResourceType), mimeType:(string), lastModified:(Protocol.Network.TimeSinceEpoch|undefined), contentSize:(number|undefined), failed:(boolean|undefined), canceled:(boolean|undefined)}} */
- Protocol.Page.FrameResource;
-
- /** @typedef {!{frame:(Protocol.Page.Frame), childFrames:(!Array<Protocol.Page.FrameResourceTree>|undefined), resources:(!Array<Protocol.Page.FrameResource>)}} */
- Protocol.Page.FrameResourceTree;
-
- /** @typedef {!{frame:(Protocol.Page.Frame), childFrames:(!Array<Protocol.Page.FrameTree>|undefined)}} */
- Protocol.Page.FrameTree;
-
- /** @typedef {string} */
- Protocol.Page.ScriptIdentifier;
-
- /** @enum {string} */
- Protocol.Page.TransitionType = {
- Link: "link",
- Typed: "typed",
- Address_bar: "address_bar",
- Auto_bookmark: "auto_bookmark",
- Auto_subframe: "auto_subframe",
- Manual_subframe: "manual_subframe",
- Generated: "generated",
- Auto_toplevel: "auto_toplevel",
- Form_submit: "form_submit",
- Reload: "reload",
- Keyword: "keyword",
- Keyword_generated: "keyword_generated",
- Other: "other"
- };
-
- /** @typedef {!{id:(number), url:(string), userTypedURL:(string), title:(string), transitionType:(Protocol.Page.TransitionType)}} */
- Protocol.Page.NavigationEntry;
-
- /** @typedef {!{offsetTop:(number), pageScaleFactor:(number), deviceWidth:(number), deviceHeight:(number), scrollOffsetX:(number), scrollOffsetY:(number), timestamp:(Protocol.Network.TimeSinceEpoch|undefined)}} */
- Protocol.Page.ScreencastFrameMetadata;
-
- /** @enum {string} */
- Protocol.Page.DialogType = {
- Alert: "alert",
- Confirm: "confirm",
- Prompt: "prompt",
- Beforeunload: "beforeunload"
- };
-
- /** @typedef {!{message:(string), critical:(number), line:(number), column:(number)}} */
- Protocol.Page.AppManifestError;
-
- /** @typedef {!{pageX:(number), pageY:(number), clientWidth:(number), clientHeight:(number)}} */
- Protocol.Page.LayoutViewport;
-
- /** @typedef {!{offsetX:(number), offsetY:(number), pageX:(number), pageY:(number), clientWidth:(number), clientHeight:(number), scale:(number), zoom:(number|undefined)}} */
- Protocol.Page.VisualViewport;
-
- /** @typedef {!{x:(number), y:(number), width:(number), height:(number), scale:(number)}} */
- Protocol.Page.Viewport;
-
- /** @typedef {!{standard:(string|undefined), fixed:(string|undefined), serif:(string|undefined), sansSerif:(string|undefined), cursive:(string|undefined), fantasy:(string|undefined), pictograph:(string|undefined)}} */
- Protocol.Page.FontFamilies;
-
- /** @typedef {!{standard:(number|undefined), fixed:(number|undefined)}} */
- Protocol.Page.FontSizes;
-
- /** @enum {string} */
- Protocol.Page.ClientNavigationReason = {
- FormSubmissionGet: "formSubmissionGet",
- FormSubmissionPost: "formSubmissionPost",
- HttpHeaderRefresh: "httpHeaderRefresh",
- ScriptInitiated: "scriptInitiated",
- MetaTagRefresh: "metaTagRefresh",
- PageBlockInterstitial: "pageBlockInterstitial",
- Reload: "reload"
- };
- /** @interface */
- Protocol.PageDispatcher = function() {};
- /**
- * @param {Protocol.Network.MonotonicTime} timestamp
- */
- Protocol.PageDispatcher.prototype.domContentEventFired = function(timestamp) {};
- /**
- * @param {string} mode
- */
- Protocol.PageDispatcher.prototype.fileChooserOpened = function(mode) {};
- /**
- * @param {Protocol.Page.FrameId} frameId
- * @param {Protocol.Page.FrameId} parentFrameId
- * @param {Protocol.Runtime.StackTrace=} opt_stack
- */
- Protocol.PageDispatcher.prototype.frameAttached = function(frameId, parentFrameId, opt_stack) {};
- /**
- * @param {Protocol.Page.FrameId} frameId
- */
- Protocol.PageDispatcher.prototype.frameClearedScheduledNavigation = function(frameId) {};
- /**
- * @param {Protocol.Page.FrameId} frameId
- */
- Protocol.PageDispatcher.prototype.frameDetached = function(frameId) {};
- /**
- * @param {Protocol.Page.Frame} frame
- */
- Protocol.PageDispatcher.prototype.frameNavigated = function(frame) {};
- Protocol.PageDispatcher.prototype.frameResized = function() {};
- /**
- * @param {Protocol.Page.FrameId} frameId
- * @param {Protocol.Page.ClientNavigationReason} reason
- * @param {string} url
- */
- Protocol.PageDispatcher.prototype.frameRequestedNavigation = function(frameId, reason, url) {};
- /**
- * @param {Protocol.Page.FrameId} frameId
- * @param {number} delay
- * @param {string} reason
- * @param {string} url
- */
- Protocol.PageDispatcher.prototype.frameScheduledNavigation = function(frameId, delay, reason, url) {};
- /**
- * @param {Protocol.Page.FrameId} frameId
- */
- Protocol.PageDispatcher.prototype.frameStartedLoading = function(frameId) {};
- /**
- * @param {Protocol.Page.FrameId} frameId
- */
- Protocol.PageDispatcher.prototype.frameStoppedLoading = function(frameId) {};
- /**
- * @param {Protocol.Page.FrameId} frameId
- * @param {string} url
- */
- Protocol.PageDispatcher.prototype.downloadWillBegin = function(frameId, url) {};
- Protocol.PageDispatcher.prototype.interstitialHidden = function() {};
- Protocol.PageDispatcher.prototype.interstitialShown = function() {};
- /**
- * @param {boolean} result
- * @param {string} userInput
- */
- Protocol.PageDispatcher.prototype.javascriptDialogClosed = function(result, userInput) {};
- /**
- * @param {string} url
- * @param {string} message
- * @param {Protocol.Page.DialogType} type
- * @param {boolean} hasBrowserHandler
- * @param {string=} opt_defaultPrompt
- */
- Protocol.PageDispatcher.prototype.javascriptDialogOpening = function(url, message, type, hasBrowserHandler, opt_defaultPrompt) {};
- /**
- * @param {Protocol.Page.FrameId} frameId
- * @param {Protocol.Network.LoaderId} loaderId
- * @param {string} name
- * @param {Protocol.Network.MonotonicTime} timestamp
- */
- Protocol.PageDispatcher.prototype.lifecycleEvent = function(frameId, loaderId, name, timestamp) {};
- /**
- * @param {Protocol.Network.MonotonicTime} timestamp
- */
- Protocol.PageDispatcher.prototype.loadEventFired = function(timestamp) {};
- /**
- * @param {Protocol.Page.FrameId} frameId
- * @param {string} url
- */
- Protocol.PageDispatcher.prototype.navigatedWithinDocument = function(frameId, url) {};
- /**
- * @param {string} data
- * @param {Protocol.Page.ScreencastFrameMetadata} metadata
- * @param {number} sessionId
- */
- Protocol.PageDispatcher.prototype.screencastFrame = function(data, metadata, sessionId) {};
- /**
- * @param {boolean} visible
- */
- Protocol.PageDispatcher.prototype.screencastVisibilityChanged = function(visible) {};
- /**
- * @param {string} url
- * @param {string} windowName
- * @param {!Array<string>} windowFeatures
- * @param {boolean} userGesture
- */
- Protocol.PageDispatcher.prototype.windowOpen = function(url, windowName, windowFeatures, userGesture) {};
- /**
- * @param {string} url
- * @param {string} data
- */
- Protocol.PageDispatcher.prototype.compilationCacheProduced = function(url, data) {};
- Protocol.Performance = {};
-
-
- /**
- * @constructor
- */
- Protocol.PerformanceAgent = function(){};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.PerformanceAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PerformanceAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.PerformanceAgent.DisableResponse;
- /**
- * @param {!Protocol.PerformanceAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.PerformanceAgent.DisableResponse>} */
- Protocol.PerformanceAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.PerformanceAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PerformanceAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.PerformanceAgent.EnableResponse;
- /**
- * @param {!Protocol.PerformanceAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.PerformanceAgent.EnableResponse>} */
- Protocol.PerformanceAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @param {string} timeDomain
- * @return {!Promise<undefined>}
- */
- Protocol.PerformanceAgent.prototype.setTimeDomain = function(timeDomain) {};
- /** @typedef {!{timeDomain: string}} */
- Protocol.PerformanceAgent.SetTimeDomainRequest;
- /** @typedef {Object|undefined} */
- Protocol.PerformanceAgent.SetTimeDomainResponse;
- /**
- * @param {!Protocol.PerformanceAgent.SetTimeDomainRequest} obj
- * @return {!Promise<!Protocol.PerformanceAgent.SetTimeDomainResponse>} */
- Protocol.PerformanceAgent.prototype.invoke_setTimeDomain = function(obj) {};
-
- /**
- * @return {!Promise<?Array<Protocol.Performance.Metric>>}
- */
- Protocol.PerformanceAgent.prototype.getMetrics = function() {};
- /** @typedef {Object|undefined} */
- Protocol.PerformanceAgent.GetMetricsRequest;
- /** @typedef {!{metrics: !Array<Protocol.Performance.Metric>}} */
- Protocol.PerformanceAgent.GetMetricsResponse;
- /**
- * @param {!Protocol.PerformanceAgent.GetMetricsRequest} obj
- * @return {!Promise<!Protocol.PerformanceAgent.GetMetricsResponse>} */
- Protocol.PerformanceAgent.prototype.invoke_getMetrics = function(obj) {};
-
- /** @typedef {!{name:(string), value:(number)}} */
- Protocol.Performance.Metric;
- /** @interface */
- Protocol.PerformanceDispatcher = function() {};
- /**
- * @param {!Array<Protocol.Performance.Metric>} metrics
- * @param {string} title
- */
- Protocol.PerformanceDispatcher.prototype.metrics = function(metrics, title) {};
- Protocol.Security = {};
-
-
- /**
- * @constructor
- */
- Protocol.SecurityAgent = function(){};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.SecurityAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.SecurityAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.SecurityAgent.DisableResponse;
- /**
- * @param {!Protocol.SecurityAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.SecurityAgent.DisableResponse>} */
- Protocol.SecurityAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.SecurityAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.SecurityAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.SecurityAgent.EnableResponse;
- /**
- * @param {!Protocol.SecurityAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.SecurityAgent.EnableResponse>} */
- Protocol.SecurityAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @param {boolean} ignore
- * @return {!Promise<undefined>}
- */
- Protocol.SecurityAgent.prototype.setIgnoreCertificateErrors = function(ignore) {};
- /** @typedef {!{ignore: boolean}} */
- Protocol.SecurityAgent.SetIgnoreCertificateErrorsRequest;
- /** @typedef {Object|undefined} */
- Protocol.SecurityAgent.SetIgnoreCertificateErrorsResponse;
- /**
- * @param {!Protocol.SecurityAgent.SetIgnoreCertificateErrorsRequest} obj
- * @return {!Promise<!Protocol.SecurityAgent.SetIgnoreCertificateErrorsResponse>} */
- Protocol.SecurityAgent.prototype.invoke_setIgnoreCertificateErrors = function(obj) {};
-
- /**
- * @param {number} eventId
- * @param {Protocol.Security.CertificateErrorAction} action
- * @return {!Promise<undefined>}
- */
- Protocol.SecurityAgent.prototype.handleCertificateError = function(eventId, action) {};
- /** @typedef {!{eventId: number, action: Protocol.Security.CertificateErrorAction}} */
- Protocol.SecurityAgent.HandleCertificateErrorRequest;
- /** @typedef {Object|undefined} */
- Protocol.SecurityAgent.HandleCertificateErrorResponse;
- /**
- * @param {!Protocol.SecurityAgent.HandleCertificateErrorRequest} obj
- * @return {!Promise<!Protocol.SecurityAgent.HandleCertificateErrorResponse>} */
- Protocol.SecurityAgent.prototype.invoke_handleCertificateError = function(obj) {};
-
- /**
- * @param {boolean} override
- * @return {!Promise<undefined>}
- */
- Protocol.SecurityAgent.prototype.setOverrideCertificateErrors = function(override) {};
- /** @typedef {!{override: boolean}} */
- Protocol.SecurityAgent.SetOverrideCertificateErrorsRequest;
- /** @typedef {Object|undefined} */
- Protocol.SecurityAgent.SetOverrideCertificateErrorsResponse;
- /**
- * @param {!Protocol.SecurityAgent.SetOverrideCertificateErrorsRequest} obj
- * @return {!Promise<!Protocol.SecurityAgent.SetOverrideCertificateErrorsResponse>} */
- Protocol.SecurityAgent.prototype.invoke_setOverrideCertificateErrors = function(obj) {};
-
- /** @typedef {number} */
- Protocol.Security.CertificateId;
-
- /** @enum {string} */
- Protocol.Security.MixedContentType = {
- Blockable: "blockable",
- OptionallyBlockable: "optionally-blockable",
- None: "none"
- };
-
- /** @enum {string} */
- Protocol.Security.SecurityState = {
- Unknown: "unknown",
- Neutral: "neutral",
- Insecure: "insecure",
- Secure: "secure",
- Info: "info",
- InsecureBroken: "insecure-broken"
- };
-
- /** @typedef {!{protocol:(string), keyExchange:(string), keyExchangeGroup:(string|undefined), cipher:(string), mac:(string|undefined), certificate:(!Array<string>), subjectName:(string), issuer:(string), validFrom:(Protocol.Network.TimeSinceEpoch), validTo:(Protocol.Network.TimeSinceEpoch), certifcateHasWeakSignature:(boolean), modernSSL:(boolean), obsoleteSslProtocol:(boolean), obsoleteSslKeyExchange:(boolean), obsoleteSslCipher:(boolean), obsoleteSslSignature:(boolean)}} */
- Protocol.Security.CertificateSecurityState;
-
- /** @typedef {!{securityState:(Protocol.Security.SecurityState), certificateSecurityState:(Protocol.Security.CertificateSecurityState|undefined), securityStateIssueIds:(!Array<string>)}} */
- Protocol.Security.VisibleSecurityState;
-
- /** @typedef {!{securityState:(Protocol.Security.SecurityState), title:(string), summary:(string), description:(string), mixedContentType:(Protocol.Security.MixedContentType), certificate:(!Array<string>), recommendations:(!Array<string>|undefined)}} */
- Protocol.Security.SecurityStateExplanation;
-
- /** @typedef {!{ranMixedContent:(boolean), displayedMixedContent:(boolean), containedMixedForm:(boolean), ranContentWithCertErrors:(boolean), displayedContentWithCertErrors:(boolean), ranInsecureContentStyle:(Protocol.Security.SecurityState), displayedInsecureContentStyle:(Protocol.Security.SecurityState)}} */
- Protocol.Security.InsecureContentStatus;
-
- /** @enum {string} */
- Protocol.Security.CertificateErrorAction = {
- Continue: "continue",
- Cancel: "cancel"
- };
- /** @interface */
- Protocol.SecurityDispatcher = function() {};
- /**
- * @param {number} eventId
- * @param {string} errorType
- * @param {string} requestURL
- */
- Protocol.SecurityDispatcher.prototype.certificateError = function(eventId, errorType, requestURL) {};
- /**
- * @param {Protocol.Security.VisibleSecurityState} visibleSecurityState
- */
- Protocol.SecurityDispatcher.prototype.visibleSecurityStateChanged = function(visibleSecurityState) {};
- /**
- * @param {Protocol.Security.SecurityState} securityState
- * @param {boolean} schemeIsCryptographic
- * @param {!Array<Protocol.Security.SecurityStateExplanation>} explanations
- * @param {Protocol.Security.InsecureContentStatus} insecureContentStatus
- * @param {string=} opt_summary
- */
- Protocol.SecurityDispatcher.prototype.securityStateChanged = function(securityState, schemeIsCryptographic, explanations, insecureContentStatus, opt_summary) {};
- Protocol.ServiceWorker = {};
-
-
- /**
- * @constructor
- */
- Protocol.ServiceWorkerAgent = function(){};
-
- /**
- * @param {string} origin
- * @param {Protocol.ServiceWorker.RegistrationID} registrationId
- * @param {string} data
- * @return {!Promise<undefined>}
- */
- Protocol.ServiceWorkerAgent.prototype.deliverPushMessage = function(origin, registrationId, data) {};
- /** @typedef {!{origin: string, registrationId: Protocol.ServiceWorker.RegistrationID, data: string}} */
- Protocol.ServiceWorkerAgent.DeliverPushMessageRequest;
- /** @typedef {Object|undefined} */
- Protocol.ServiceWorkerAgent.DeliverPushMessageResponse;
- /**
- * @param {!Protocol.ServiceWorkerAgent.DeliverPushMessageRequest} obj
- * @return {!Promise<!Protocol.ServiceWorkerAgent.DeliverPushMessageResponse>} */
- Protocol.ServiceWorkerAgent.prototype.invoke_deliverPushMessage = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.ServiceWorkerAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.ServiceWorkerAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.ServiceWorkerAgent.DisableResponse;
- /**
- * @param {!Protocol.ServiceWorkerAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.ServiceWorkerAgent.DisableResponse>} */
- Protocol.ServiceWorkerAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @param {string} origin
- * @param {Protocol.ServiceWorker.RegistrationID} registrationId
- * @param {string} tag
- * @param {boolean} lastChance
- * @return {!Promise<undefined>}
- */
- Protocol.ServiceWorkerAgent.prototype.dispatchSyncEvent = function(origin, registrationId, tag, lastChance) {};
- /** @typedef {!{origin: string, registrationId: Protocol.ServiceWorker.RegistrationID, tag: string, lastChance: boolean}} */
- Protocol.ServiceWorkerAgent.DispatchSyncEventRequest;
- /** @typedef {Object|undefined} */
- Protocol.ServiceWorkerAgent.DispatchSyncEventResponse;
- /**
- * @param {!Protocol.ServiceWorkerAgent.DispatchSyncEventRequest} obj
- * @return {!Promise<!Protocol.ServiceWorkerAgent.DispatchSyncEventResponse>} */
- Protocol.ServiceWorkerAgent.prototype.invoke_dispatchSyncEvent = function(obj) {};
-
- /**
- * @param {string} origin
- * @param {Protocol.ServiceWorker.RegistrationID} registrationId
- * @param {string} tag
- * @return {!Promise<undefined>}
- */
- Protocol.ServiceWorkerAgent.prototype.dispatchPeriodicSyncEvent = function(origin, registrationId, tag) {};
- /** @typedef {!{origin: string, registrationId: Protocol.ServiceWorker.RegistrationID, tag: string}} */
- Protocol.ServiceWorkerAgent.DispatchPeriodicSyncEventRequest;
- /** @typedef {Object|undefined} */
- Protocol.ServiceWorkerAgent.DispatchPeriodicSyncEventResponse;
- /**
- * @param {!Protocol.ServiceWorkerAgent.DispatchPeriodicSyncEventRequest} obj
- * @return {!Promise<!Protocol.ServiceWorkerAgent.DispatchPeriodicSyncEventResponse>} */
- Protocol.ServiceWorkerAgent.prototype.invoke_dispatchPeriodicSyncEvent = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.ServiceWorkerAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.ServiceWorkerAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.ServiceWorkerAgent.EnableResponse;
- /**
- * @param {!Protocol.ServiceWorkerAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.ServiceWorkerAgent.EnableResponse>} */
- Protocol.ServiceWorkerAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @param {string} versionId
- * @return {!Promise<undefined>}
- */
- Protocol.ServiceWorkerAgent.prototype.inspectWorker = function(versionId) {};
- /** @typedef {!{versionId: string}} */
- Protocol.ServiceWorkerAgent.InspectWorkerRequest;
- /** @typedef {Object|undefined} */
- Protocol.ServiceWorkerAgent.InspectWorkerResponse;
- /**
- * @param {!Protocol.ServiceWorkerAgent.InspectWorkerRequest} obj
- * @return {!Promise<!Protocol.ServiceWorkerAgent.InspectWorkerResponse>} */
- Protocol.ServiceWorkerAgent.prototype.invoke_inspectWorker = function(obj) {};
-
- /**
- * @param {boolean} forceUpdateOnPageLoad
- * @return {!Promise<undefined>}
- */
- Protocol.ServiceWorkerAgent.prototype.setForceUpdateOnPageLoad = function(forceUpdateOnPageLoad) {};
- /** @typedef {!{forceUpdateOnPageLoad: boolean}} */
- Protocol.ServiceWorkerAgent.SetForceUpdateOnPageLoadRequest;
- /** @typedef {Object|undefined} */
- Protocol.ServiceWorkerAgent.SetForceUpdateOnPageLoadResponse;
- /**
- * @param {!Protocol.ServiceWorkerAgent.SetForceUpdateOnPageLoadRequest} obj
- * @return {!Promise<!Protocol.ServiceWorkerAgent.SetForceUpdateOnPageLoadResponse>} */
- Protocol.ServiceWorkerAgent.prototype.invoke_setForceUpdateOnPageLoad = function(obj) {};
-
- /**
- * @param {string} scopeURL
- * @return {!Promise<undefined>}
- */
- Protocol.ServiceWorkerAgent.prototype.skipWaiting = function(scopeURL) {};
- /** @typedef {!{scopeURL: string}} */
- Protocol.ServiceWorkerAgent.SkipWaitingRequest;
- /** @typedef {Object|undefined} */
- Protocol.ServiceWorkerAgent.SkipWaitingResponse;
- /**
- * @param {!Protocol.ServiceWorkerAgent.SkipWaitingRequest} obj
- * @return {!Promise<!Protocol.ServiceWorkerAgent.SkipWaitingResponse>} */
- Protocol.ServiceWorkerAgent.prototype.invoke_skipWaiting = function(obj) {};
-
- /**
- * @param {string} scopeURL
- * @return {!Promise<undefined>}
- */
- Protocol.ServiceWorkerAgent.prototype.startWorker = function(scopeURL) {};
- /** @typedef {!{scopeURL: string}} */
- Protocol.ServiceWorkerAgent.StartWorkerRequest;
- /** @typedef {Object|undefined} */
- Protocol.ServiceWorkerAgent.StartWorkerResponse;
- /**
- * @param {!Protocol.ServiceWorkerAgent.StartWorkerRequest} obj
- * @return {!Promise<!Protocol.ServiceWorkerAgent.StartWorkerResponse>} */
- Protocol.ServiceWorkerAgent.prototype.invoke_startWorker = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.ServiceWorkerAgent.prototype.stopAllWorkers = function() {};
- /** @typedef {Object|undefined} */
- Protocol.ServiceWorkerAgent.StopAllWorkersRequest;
- /** @typedef {Object|undefined} */
- Protocol.ServiceWorkerAgent.StopAllWorkersResponse;
- /**
- * @param {!Protocol.ServiceWorkerAgent.StopAllWorkersRequest} obj
- * @return {!Promise<!Protocol.ServiceWorkerAgent.StopAllWorkersResponse>} */
- Protocol.ServiceWorkerAgent.prototype.invoke_stopAllWorkers = function(obj) {};
-
- /**
- * @param {string} versionId
- * @return {!Promise<undefined>}
- */
- Protocol.ServiceWorkerAgent.prototype.stopWorker = function(versionId) {};
- /** @typedef {!{versionId: string}} */
- Protocol.ServiceWorkerAgent.StopWorkerRequest;
- /** @typedef {Object|undefined} */
- Protocol.ServiceWorkerAgent.StopWorkerResponse;
- /**
- * @param {!Protocol.ServiceWorkerAgent.StopWorkerRequest} obj
- * @return {!Promise<!Protocol.ServiceWorkerAgent.StopWorkerResponse>} */
- Protocol.ServiceWorkerAgent.prototype.invoke_stopWorker = function(obj) {};
-
- /**
- * @param {string} scopeURL
- * @return {!Promise<undefined>}
- */
- Protocol.ServiceWorkerAgent.prototype.unregister = function(scopeURL) {};
- /** @typedef {!{scopeURL: string}} */
- Protocol.ServiceWorkerAgent.UnregisterRequest;
- /** @typedef {Object|undefined} */
- Protocol.ServiceWorkerAgent.UnregisterResponse;
- /**
- * @param {!Protocol.ServiceWorkerAgent.UnregisterRequest} obj
- * @return {!Promise<!Protocol.ServiceWorkerAgent.UnregisterResponse>} */
- Protocol.ServiceWorkerAgent.prototype.invoke_unregister = function(obj) {};
-
- /**
- * @param {string} scopeURL
- * @return {!Promise<undefined>}
- */
- Protocol.ServiceWorkerAgent.prototype.updateRegistration = function(scopeURL) {};
- /** @typedef {!{scopeURL: string}} */
- Protocol.ServiceWorkerAgent.UpdateRegistrationRequest;
- /** @typedef {Object|undefined} */
- Protocol.ServiceWorkerAgent.UpdateRegistrationResponse;
- /**
- * @param {!Protocol.ServiceWorkerAgent.UpdateRegistrationRequest} obj
- * @return {!Promise<!Protocol.ServiceWorkerAgent.UpdateRegistrationResponse>} */
- Protocol.ServiceWorkerAgent.prototype.invoke_updateRegistration = function(obj) {};
-
- /** @typedef {string} */
- Protocol.ServiceWorker.RegistrationID;
-
- /** @typedef {!{registrationId:(Protocol.ServiceWorker.RegistrationID), scopeURL:(string), isDeleted:(boolean)}} */
- Protocol.ServiceWorker.ServiceWorkerRegistration;
-
- /** @enum {string} */
- Protocol.ServiceWorker.ServiceWorkerVersionRunningStatus = {
- Stopped: "stopped",
- Starting: "starting",
- Running: "running",
- Stopping: "stopping"
- };
-
- /** @enum {string} */
- Protocol.ServiceWorker.ServiceWorkerVersionStatus = {
- New: "new",
- Installing: "installing",
- Installed: "installed",
- Activating: "activating",
- Activated: "activated",
- Redundant: "redundant"
- };
-
- /** @typedef {!{versionId:(string), registrationId:(Protocol.ServiceWorker.RegistrationID), scriptURL:(string), runningStatus:(Protocol.ServiceWorker.ServiceWorkerVersionRunningStatus), status:(Protocol.ServiceWorker.ServiceWorkerVersionStatus), scriptLastModified:(number|undefined), scriptResponseTime:(number|undefined), controlledClients:(!Array<Protocol.Target.TargetID>|undefined), targetId:(Protocol.Target.TargetID|undefined)}} */
- Protocol.ServiceWorker.ServiceWorkerVersion;
-
- /** @typedef {!{errorMessage:(string), registrationId:(Protocol.ServiceWorker.RegistrationID), versionId:(string), sourceURL:(string), lineNumber:(number), columnNumber:(number)}} */
- Protocol.ServiceWorker.ServiceWorkerErrorMessage;
- /** @interface */
- Protocol.ServiceWorkerDispatcher = function() {};
- /**
- * @param {Protocol.ServiceWorker.ServiceWorkerErrorMessage} errorMessage
- */
- Protocol.ServiceWorkerDispatcher.prototype.workerErrorReported = function(errorMessage) {};
- /**
- * @param {!Array<Protocol.ServiceWorker.ServiceWorkerRegistration>} registrations
- */
- Protocol.ServiceWorkerDispatcher.prototype.workerRegistrationUpdated = function(registrations) {};
- /**
- * @param {!Array<Protocol.ServiceWorker.ServiceWorkerVersion>} versions
- */
- Protocol.ServiceWorkerDispatcher.prototype.workerVersionUpdated = function(versions) {};
- Protocol.Storage = {};
-
-
- /**
- * @constructor
- */
- Protocol.StorageAgent = function(){};
-
- /**
- * @param {string} origin
- * @param {string} storageTypes
- * @return {!Promise<undefined>}
- */
- Protocol.StorageAgent.prototype.clearDataForOrigin = function(origin, storageTypes) {};
- /** @typedef {!{origin: string, storageTypes: string}} */
- Protocol.StorageAgent.ClearDataForOriginRequest;
- /** @typedef {Object|undefined} */
- Protocol.StorageAgent.ClearDataForOriginResponse;
- /**
- * @param {!Protocol.StorageAgent.ClearDataForOriginRequest} obj
- * @return {!Promise<!Protocol.StorageAgent.ClearDataForOriginResponse>} */
- Protocol.StorageAgent.prototype.invoke_clearDataForOrigin = function(obj) {};
-
- /**
- * @param {string} origin
- * @return {!Promise<?number>}
- */
- Protocol.StorageAgent.prototype.getUsageAndQuota = function(origin) {};
- /** @typedef {!{origin: string}} */
- Protocol.StorageAgent.GetUsageAndQuotaRequest;
- /** @typedef {!{usage: number, usageBreakdown: !Array<Protocol.Storage.UsageForType>, quota: number}} */
- Protocol.StorageAgent.GetUsageAndQuotaResponse;
- /**
- * @param {!Protocol.StorageAgent.GetUsageAndQuotaRequest} obj
- * @return {!Promise<!Protocol.StorageAgent.GetUsageAndQuotaResponse>} */
- Protocol.StorageAgent.prototype.invoke_getUsageAndQuota = function(obj) {};
-
- /**
- * @param {string} origin
- * @return {!Promise<undefined>}
- */
- Protocol.StorageAgent.prototype.trackCacheStorageForOrigin = function(origin) {};
- /** @typedef {!{origin: string}} */
- Protocol.StorageAgent.TrackCacheStorageForOriginRequest;
- /** @typedef {Object|undefined} */
- Protocol.StorageAgent.TrackCacheStorageForOriginResponse;
- /**
- * @param {!Protocol.StorageAgent.TrackCacheStorageForOriginRequest} obj
- * @return {!Promise<!Protocol.StorageAgent.TrackCacheStorageForOriginResponse>} */
- Protocol.StorageAgent.prototype.invoke_trackCacheStorageForOrigin = function(obj) {};
-
- /**
- * @param {string} origin
- * @return {!Promise<undefined>}
- */
- Protocol.StorageAgent.prototype.trackIndexedDBForOrigin = function(origin) {};
- /** @typedef {!{origin: string}} */
- Protocol.StorageAgent.TrackIndexedDBForOriginRequest;
- /** @typedef {Object|undefined} */
- Protocol.StorageAgent.TrackIndexedDBForOriginResponse;
- /**
- * @param {!Protocol.StorageAgent.TrackIndexedDBForOriginRequest} obj
- * @return {!Promise<!Protocol.StorageAgent.TrackIndexedDBForOriginResponse>} */
- Protocol.StorageAgent.prototype.invoke_trackIndexedDBForOrigin = function(obj) {};
-
- /**
- * @param {string} origin
- * @return {!Promise<undefined>}
- */
- Protocol.StorageAgent.prototype.untrackCacheStorageForOrigin = function(origin) {};
- /** @typedef {!{origin: string}} */
- Protocol.StorageAgent.UntrackCacheStorageForOriginRequest;
- /** @typedef {Object|undefined} */
- Protocol.StorageAgent.UntrackCacheStorageForOriginResponse;
- /**
- * @param {!Protocol.StorageAgent.UntrackCacheStorageForOriginRequest} obj
- * @return {!Promise<!Protocol.StorageAgent.UntrackCacheStorageForOriginResponse>} */
- Protocol.StorageAgent.prototype.invoke_untrackCacheStorageForOrigin = function(obj) {};
-
- /**
- * @param {string} origin
- * @return {!Promise<undefined>}
- */
- Protocol.StorageAgent.prototype.untrackIndexedDBForOrigin = function(origin) {};
- /** @typedef {!{origin: string}} */
- Protocol.StorageAgent.UntrackIndexedDBForOriginRequest;
- /** @typedef {Object|undefined} */
- Protocol.StorageAgent.UntrackIndexedDBForOriginResponse;
- /**
- * @param {!Protocol.StorageAgent.UntrackIndexedDBForOriginRequest} obj
- * @return {!Promise<!Protocol.StorageAgent.UntrackIndexedDBForOriginResponse>} */
- Protocol.StorageAgent.prototype.invoke_untrackIndexedDBForOrigin = function(obj) {};
-
- /** @enum {string} */
- Protocol.Storage.StorageType = {
- Appcache: "appcache",
- Cookies: "cookies",
- File_systems: "file_systems",
- Indexeddb: "indexeddb",
- Local_storage: "local_storage",
- Shader_cache: "shader_cache",
- Websql: "websql",
- Service_workers: "service_workers",
- Cache_storage: "cache_storage",
- All: "all",
- Other: "other"
- };
-
- /** @typedef {!{storageType:(Protocol.Storage.StorageType), usage:(number)}} */
- Protocol.Storage.UsageForType;
- /** @interface */
- Protocol.StorageDispatcher = function() {};
- /**
- * @param {string} origin
- * @param {string} cacheName
- */
- Protocol.StorageDispatcher.prototype.cacheStorageContentUpdated = function(origin, cacheName) {};
- /**
- * @param {string} origin
- */
- Protocol.StorageDispatcher.prototype.cacheStorageListUpdated = function(origin) {};
- /**
- * @param {string} origin
- * @param {string} databaseName
- * @param {string} objectStoreName
- */
- Protocol.StorageDispatcher.prototype.indexedDBContentUpdated = function(origin, databaseName, objectStoreName) {};
- /**
- * @param {string} origin
- */
- Protocol.StorageDispatcher.prototype.indexedDBListUpdated = function(origin) {};
- Protocol.SystemInfo = {};
-
-
- /**
- * @constructor
- */
- Protocol.SystemInfoAgent = function(){};
-
- /**
- * @return {!Promise<?Protocol.SystemInfo.GPUInfo>}
- */
- Protocol.SystemInfoAgent.prototype.getInfo = function() {};
- /** @typedef {Object|undefined} */
- Protocol.SystemInfoAgent.GetInfoRequest;
- /** @typedef {!{gpu: Protocol.SystemInfo.GPUInfo, commandLine: string, modelName: string, modelVersion: string}} */
- Protocol.SystemInfoAgent.GetInfoResponse;
- /**
- * @param {!Protocol.SystemInfoAgent.GetInfoRequest} obj
- * @return {!Promise<!Protocol.SystemInfoAgent.GetInfoResponse>} */
- Protocol.SystemInfoAgent.prototype.invoke_getInfo = function(obj) {};
-
- /**
- * @return {!Promise<?Array<Protocol.SystemInfo.ProcessInfo>>}
- */
- Protocol.SystemInfoAgent.prototype.getProcessInfo = function() {};
- /** @typedef {Object|undefined} */
- Protocol.SystemInfoAgent.GetProcessInfoRequest;
- /** @typedef {!{processInfo: !Array<Protocol.SystemInfo.ProcessInfo>}} */
- Protocol.SystemInfoAgent.GetProcessInfoResponse;
- /**
- * @param {!Protocol.SystemInfoAgent.GetProcessInfoRequest} obj
- * @return {!Promise<!Protocol.SystemInfoAgent.GetProcessInfoResponse>} */
- Protocol.SystemInfoAgent.prototype.invoke_getProcessInfo = function(obj) {};
-
- /** @typedef {!{vendorId:(number), deviceId:(number), subSysId:(number|undefined), revision:(number|undefined), vendorString:(string), deviceString:(string), driverVendor:(string), driverVersion:(string)}} */
- Protocol.SystemInfo.GPUDevice;
-
- /** @typedef {!{width:(number), height:(number)}} */
- Protocol.SystemInfo.Size;
-
- /** @typedef {!{profile:(string), maxResolution:(Protocol.SystemInfo.Size), minResolution:(Protocol.SystemInfo.Size)}} */
- Protocol.SystemInfo.VideoDecodeAcceleratorCapability;
-
- /** @typedef {!{profile:(string), maxResolution:(Protocol.SystemInfo.Size), maxFramerateNumerator:(number), maxFramerateDenominator:(number)}} */
- Protocol.SystemInfo.VideoEncodeAcceleratorCapability;
-
- /** @enum {string} */
- Protocol.SystemInfo.SubsamplingFormat = {
- Yuv420: "yuv420",
- Yuv422: "yuv422",
- Yuv444: "yuv444"
- };
-
- /** @enum {string} */
- Protocol.SystemInfo.ImageType = {
- Jpeg: "jpeg",
- Webp: "webp",
- Unknown: "unknown"
- };
-
- /** @typedef {!{imageType:(Protocol.SystemInfo.ImageType), maxDimensions:(Protocol.SystemInfo.Size), minDimensions:(Protocol.SystemInfo.Size), subsamplings:(!Array<Protocol.SystemInfo.SubsamplingFormat>)}} */
- Protocol.SystemInfo.ImageDecodeAcceleratorCapability;
-
- /** @typedef {!{devices:(!Array<Protocol.SystemInfo.GPUDevice>), auxAttributes:(!Object|undefined), featureStatus:(!Object|undefined), driverBugWorkarounds:(!Array<string>), videoDecoding:(!Array<Protocol.SystemInfo.VideoDecodeAcceleratorCapability>), videoEncoding:(!Array<Protocol.SystemInfo.VideoEncodeAcceleratorCapability>), imageDecoding:(!Array<Protocol.SystemInfo.ImageDecodeAcceleratorCapability>)}} */
- Protocol.SystemInfo.GPUInfo;
-
- /** @typedef {!{type:(string), id:(number), cpuTime:(number)}} */
- Protocol.SystemInfo.ProcessInfo;
- /** @interface */
- Protocol.SystemInfoDispatcher = function() {};
- Protocol.Target = {};
-
-
- /**
- * @constructor
- */
- Protocol.TargetAgent = function(){};
-
- /**
- * @param {Protocol.Target.TargetID} targetId
- * @return {!Promise<undefined>}
- */
- Protocol.TargetAgent.prototype.activateTarget = function(targetId) {};
- /** @typedef {!{targetId: Protocol.Target.TargetID}} */
- Protocol.TargetAgent.ActivateTargetRequest;
- /** @typedef {Object|undefined} */
- Protocol.TargetAgent.ActivateTargetResponse;
- /**
- * @param {!Protocol.TargetAgent.ActivateTargetRequest} obj
- * @return {!Promise<!Protocol.TargetAgent.ActivateTargetResponse>} */
- Protocol.TargetAgent.prototype.invoke_activateTarget = function(obj) {};
-
- /**
- * @param {Protocol.Target.TargetID} targetId
- * @param {boolean=} opt_flatten
- * @return {!Promise<?Protocol.Target.SessionID>}
- */
- Protocol.TargetAgent.prototype.attachToTarget = function(targetId, opt_flatten) {};
- /** @typedef {!{targetId: Protocol.Target.TargetID, flatten: (boolean|undefined)}} */
- Protocol.TargetAgent.AttachToTargetRequest;
- /** @typedef {!{sessionId: Protocol.Target.SessionID}} */
- Protocol.TargetAgent.AttachToTargetResponse;
- /**
- * @param {!Protocol.TargetAgent.AttachToTargetRequest} obj
- * @return {!Promise<!Protocol.TargetAgent.AttachToTargetResponse>} */
- Protocol.TargetAgent.prototype.invoke_attachToTarget = function(obj) {};
-
- /**
- * @return {!Promise<?Protocol.Target.SessionID>}
- */
- Protocol.TargetAgent.prototype.attachToBrowserTarget = function() {};
- /** @typedef {Object|undefined} */
- Protocol.TargetAgent.AttachToBrowserTargetRequest;
- /** @typedef {!{sessionId: Protocol.Target.SessionID}} */
- Protocol.TargetAgent.AttachToBrowserTargetResponse;
- /**
- * @param {!Protocol.TargetAgent.AttachToBrowserTargetRequest} obj
- * @return {!Promise<!Protocol.TargetAgent.AttachToBrowserTargetResponse>} */
- Protocol.TargetAgent.prototype.invoke_attachToBrowserTarget = function(obj) {};
-
- /**
- * @param {Protocol.Target.TargetID} targetId
- * @return {!Promise<?boolean>}
- */
- Protocol.TargetAgent.prototype.closeTarget = function(targetId) {};
- /** @typedef {!{targetId: Protocol.Target.TargetID}} */
- Protocol.TargetAgent.CloseTargetRequest;
- /** @typedef {!{success: boolean}} */
- Protocol.TargetAgent.CloseTargetResponse;
- /**
- * @param {!Protocol.TargetAgent.CloseTargetRequest} obj
- * @return {!Promise<!Protocol.TargetAgent.CloseTargetResponse>} */
- Protocol.TargetAgent.prototype.invoke_closeTarget = function(obj) {};
-
- /**
- * @param {Protocol.Target.TargetID} targetId
- * @param {string=} opt_bindingName
- * @return {!Promise<undefined>}
- */
- Protocol.TargetAgent.prototype.exposeDevToolsProtocol = function(targetId, opt_bindingName) {};
- /** @typedef {!{targetId: Protocol.Target.TargetID, bindingName: (string|undefined)}} */
- Protocol.TargetAgent.ExposeDevToolsProtocolRequest;
- /** @typedef {Object|undefined} */
- Protocol.TargetAgent.ExposeDevToolsProtocolResponse;
- /**
- * @param {!Protocol.TargetAgent.ExposeDevToolsProtocolRequest} obj
- * @return {!Promise<!Protocol.TargetAgent.ExposeDevToolsProtocolResponse>} */
- Protocol.TargetAgent.prototype.invoke_exposeDevToolsProtocol = function(obj) {};
-
- /**
- * @return {!Promise<?Protocol.Target.BrowserContextID>}
- */
- Protocol.TargetAgent.prototype.createBrowserContext = function() {};
- /** @typedef {Object|undefined} */
- Protocol.TargetAgent.CreateBrowserContextRequest;
- /** @typedef {!{browserContextId: Protocol.Target.BrowserContextID}} */
- Protocol.TargetAgent.CreateBrowserContextResponse;
- /**
- * @param {!Protocol.TargetAgent.CreateBrowserContextRequest} obj
- * @return {!Promise<!Protocol.TargetAgent.CreateBrowserContextResponse>} */
- Protocol.TargetAgent.prototype.invoke_createBrowserContext = function(obj) {};
-
- /**
- * @return {!Promise<?Array<Protocol.Target.BrowserContextID>>}
- */
- Protocol.TargetAgent.prototype.getBrowserContexts = function() {};
- /** @typedef {Object|undefined} */
- Protocol.TargetAgent.GetBrowserContextsRequest;
- /** @typedef {!{browserContextIds: !Array<Protocol.Target.BrowserContextID>}} */
- Protocol.TargetAgent.GetBrowserContextsResponse;
- /**
- * @param {!Protocol.TargetAgent.GetBrowserContextsRequest} obj
- * @return {!Promise<!Protocol.TargetAgent.GetBrowserContextsResponse>} */
- Protocol.TargetAgent.prototype.invoke_getBrowserContexts = function(obj) {};
-
- /**
- * @param {string} url
- * @param {number=} opt_width
- * @param {number=} opt_height
- * @param {Protocol.Target.BrowserContextID=} opt_browserContextId
- * @param {boolean=} opt_enableBeginFrameControl
- * @param {boolean=} opt_newWindow
- * @param {boolean=} opt_background
- * @return {!Promise<?Protocol.Target.TargetID>}
- */
- Protocol.TargetAgent.prototype.createTarget = function(url, opt_width, opt_height, opt_browserContextId, opt_enableBeginFrameControl, opt_newWindow, opt_background) {};
- /** @typedef {!{browserContextId: (Protocol.Target.BrowserContextID|undefined), url: string, newWindow: (boolean|undefined), width: (number|undefined), enableBeginFrameControl: (boolean|undefined), background: (boolean|undefined), height: (number|undefined)}} */
- Protocol.TargetAgent.CreateTargetRequest;
- /** @typedef {!{targetId: Protocol.Target.TargetID}} */
- Protocol.TargetAgent.CreateTargetResponse;
- /**
- * @param {!Protocol.TargetAgent.CreateTargetRequest} obj
- * @return {!Promise<!Protocol.TargetAgent.CreateTargetResponse>} */
- Protocol.TargetAgent.prototype.invoke_createTarget = function(obj) {};
-
- /**
- * @param {Protocol.Target.SessionID=} opt_sessionId
- * @param {Protocol.Target.TargetID=} opt_targetId
- * @return {!Promise<undefined>}
- */
- Protocol.TargetAgent.prototype.detachFromTarget = function(opt_sessionId, opt_targetId) {};
- /** @typedef {!{sessionId: (Protocol.Target.SessionID|undefined), targetId: (Protocol.Target.TargetID|undefined)}} */
- Protocol.TargetAgent.DetachFromTargetRequest;
- /** @typedef {Object|undefined} */
- Protocol.TargetAgent.DetachFromTargetResponse;
- /**
- * @param {!Protocol.TargetAgent.DetachFromTargetRequest} obj
- * @return {!Promise<!Protocol.TargetAgent.DetachFromTargetResponse>} */
- Protocol.TargetAgent.prototype.invoke_detachFromTarget = function(obj) {};
-
- /**
- * @param {Protocol.Target.BrowserContextID} browserContextId
- * @return {!Promise<undefined>}
- */
- Protocol.TargetAgent.prototype.disposeBrowserContext = function(browserContextId) {};
- /** @typedef {!{browserContextId: Protocol.Target.BrowserContextID}} */
- Protocol.TargetAgent.DisposeBrowserContextRequest;
- /** @typedef {Object|undefined} */
- Protocol.TargetAgent.DisposeBrowserContextResponse;
- /**
- * @param {!Protocol.TargetAgent.DisposeBrowserContextRequest} obj
- * @return {!Promise<!Protocol.TargetAgent.DisposeBrowserContextResponse>} */
- Protocol.TargetAgent.prototype.invoke_disposeBrowserContext = function(obj) {};
-
- /**
- * @param {Protocol.Target.TargetID=} opt_targetId
- * @return {!Promise<?Protocol.Target.TargetInfo>}
- */
- Protocol.TargetAgent.prototype.getTargetInfo = function(opt_targetId) {};
- /** @typedef {!{targetId: (Protocol.Target.TargetID|undefined)}} */
- Protocol.TargetAgent.GetTargetInfoRequest;
- /** @typedef {!{targetInfo: Protocol.Target.TargetInfo}} */
- Protocol.TargetAgent.GetTargetInfoResponse;
- /**
- * @param {!Protocol.TargetAgent.GetTargetInfoRequest} obj
- * @return {!Promise<!Protocol.TargetAgent.GetTargetInfoResponse>} */
- Protocol.TargetAgent.prototype.invoke_getTargetInfo = function(obj) {};
-
- /**
- * @return {!Promise<?Array<Protocol.Target.TargetInfo>>}
- */
- Protocol.TargetAgent.prototype.getTargets = function() {};
- /** @typedef {Object|undefined} */
- Protocol.TargetAgent.GetTargetsRequest;
- /** @typedef {!{targetInfos: !Array<Protocol.Target.TargetInfo>}} */
- Protocol.TargetAgent.GetTargetsResponse;
- /**
- * @param {!Protocol.TargetAgent.GetTargetsRequest} obj
- * @return {!Promise<!Protocol.TargetAgent.GetTargetsResponse>} */
- Protocol.TargetAgent.prototype.invoke_getTargets = function(obj) {};
-
- /**
- * @param {string} message
- * @param {Protocol.Target.SessionID=} opt_sessionId
- * @param {Protocol.Target.TargetID=} opt_targetId
- * @return {!Promise<undefined>}
- */
- Protocol.TargetAgent.prototype.sendMessageToTarget = function(message, opt_sessionId, opt_targetId) {};
- /** @typedef {!{message: string, targetId: (Protocol.Target.TargetID|undefined), sessionId: (Protocol.Target.SessionID|undefined)}} */
- Protocol.TargetAgent.SendMessageToTargetRequest;
- /** @typedef {Object|undefined} */
- Protocol.TargetAgent.SendMessageToTargetResponse;
- /**
- * @param {!Protocol.TargetAgent.SendMessageToTargetRequest} obj
- * @return {!Promise<!Protocol.TargetAgent.SendMessageToTargetResponse>} */
- Protocol.TargetAgent.prototype.invoke_sendMessageToTarget = function(obj) {};
-
- /**
- * @param {boolean} autoAttach
- * @param {boolean} waitForDebuggerOnStart
- * @param {boolean=} opt_flatten
- * @param {boolean=} opt_windowOpen
- * @return {!Promise<undefined>}
- */
- Protocol.TargetAgent.prototype.setAutoAttach = function(autoAttach, waitForDebuggerOnStart, opt_flatten, opt_windowOpen) {};
- /** @typedef {!{waitForDebuggerOnStart: boolean, autoAttach: boolean, flatten: (boolean|undefined), windowOpen: (boolean|undefined)}} */
- Protocol.TargetAgent.SetAutoAttachRequest;
- /** @typedef {Object|undefined} */
- Protocol.TargetAgent.SetAutoAttachResponse;
- /**
- * @param {!Protocol.TargetAgent.SetAutoAttachRequest} obj
- * @return {!Promise<!Protocol.TargetAgent.SetAutoAttachResponse>} */
- Protocol.TargetAgent.prototype.invoke_setAutoAttach = function(obj) {};
-
- /**
- * @param {boolean} discover
- * @return {!Promise<undefined>}
- */
- Protocol.TargetAgent.prototype.setDiscoverTargets = function(discover) {};
- /** @typedef {!{discover: boolean}} */
- Protocol.TargetAgent.SetDiscoverTargetsRequest;
- /** @typedef {Object|undefined} */
- Protocol.TargetAgent.SetDiscoverTargetsResponse;
- /**
- * @param {!Protocol.TargetAgent.SetDiscoverTargetsRequest} obj
- * @return {!Promise<!Protocol.TargetAgent.SetDiscoverTargetsResponse>} */
- Protocol.TargetAgent.prototype.invoke_setDiscoverTargets = function(obj) {};
-
- /**
- * @param {!Array<Protocol.Target.RemoteLocation>} locations
- * @return {!Promise<undefined>}
- */
- Protocol.TargetAgent.prototype.setRemoteLocations = function(locations) {};
- /** @typedef {!{locations: !Array<Protocol.Target.RemoteLocation>}} */
- Protocol.TargetAgent.SetRemoteLocationsRequest;
- /** @typedef {Object|undefined} */
- Protocol.TargetAgent.SetRemoteLocationsResponse;
- /**
- * @param {!Protocol.TargetAgent.SetRemoteLocationsRequest} obj
- * @return {!Promise<!Protocol.TargetAgent.SetRemoteLocationsResponse>} */
- Protocol.TargetAgent.prototype.invoke_setRemoteLocations = function(obj) {};
-
- /** @typedef {string} */
- Protocol.Target.TargetID;
-
- /** @typedef {string} */
- Protocol.Target.SessionID;
-
- /** @typedef {string} */
- Protocol.Target.BrowserContextID;
-
- /** @typedef {!{targetId:(Protocol.Target.TargetID), type:(string), title:(string), url:(string), attached:(boolean), openerId:(Protocol.Target.TargetID|undefined), browserContextId:(Protocol.Target.BrowserContextID|undefined)}} */
- Protocol.Target.TargetInfo;
-
- /** @typedef {!{host:(string), port:(number)}} */
- Protocol.Target.RemoteLocation;
- /** @interface */
- Protocol.TargetDispatcher = function() {};
- /**
- * @param {Protocol.Target.SessionID} sessionId
- * @param {Protocol.Target.TargetInfo} targetInfo
- * @param {boolean} waitingForDebugger
- */
- Protocol.TargetDispatcher.prototype.attachedToTarget = function(sessionId, targetInfo, waitingForDebugger) {};
- /**
- * @param {Protocol.Target.SessionID} sessionId
- * @param {Protocol.Target.TargetID=} opt_targetId
- */
- Protocol.TargetDispatcher.prototype.detachedFromTarget = function(sessionId, opt_targetId) {};
- /**
- * @param {Protocol.Target.SessionID} sessionId
- * @param {string} message
- * @param {Protocol.Target.TargetID=} opt_targetId
- */
- Protocol.TargetDispatcher.prototype.receivedMessageFromTarget = function(sessionId, message, opt_targetId) {};
- /**
- * @param {Protocol.Target.TargetInfo} targetInfo
- */
- Protocol.TargetDispatcher.prototype.targetCreated = function(targetInfo) {};
- /**
- * @param {Protocol.Target.TargetID} targetId
- */
- Protocol.TargetDispatcher.prototype.targetDestroyed = function(targetId) {};
- /**
- * @param {Protocol.Target.TargetID} targetId
- * @param {string} status
- * @param {number} errorCode
- */
- Protocol.TargetDispatcher.prototype.targetCrashed = function(targetId, status, errorCode) {};
- /**
- * @param {Protocol.Target.TargetInfo} targetInfo
- */
- Protocol.TargetDispatcher.prototype.targetInfoChanged = function(targetInfo) {};
- Protocol.Tethering = {};
-
-
- /**
- * @constructor
- */
- Protocol.TetheringAgent = function(){};
-
- /**
- * @param {number} port
- * @return {!Promise<undefined>}
- */
- Protocol.TetheringAgent.prototype.bind = function(port) {};
- /** @typedef {!{port: number}} */
- Protocol.TetheringAgent.BindRequest;
- /** @typedef {Object|undefined} */
- Protocol.TetheringAgent.BindResponse;
- /**
- * @param {!Protocol.TetheringAgent.BindRequest} obj
- * @return {!Promise<!Protocol.TetheringAgent.BindResponse>} */
- Protocol.TetheringAgent.prototype.invoke_bind = function(obj) {};
-
- /**
- * @param {number} port
- * @return {!Promise<undefined>}
- */
- Protocol.TetheringAgent.prototype.unbind = function(port) {};
- /** @typedef {!{port: number}} */
- Protocol.TetheringAgent.UnbindRequest;
- /** @typedef {Object|undefined} */
- Protocol.TetheringAgent.UnbindResponse;
- /**
- * @param {!Protocol.TetheringAgent.UnbindRequest} obj
- * @return {!Promise<!Protocol.TetheringAgent.UnbindResponse>} */
- Protocol.TetheringAgent.prototype.invoke_unbind = function(obj) {};
- /** @interface */
- Protocol.TetheringDispatcher = function() {};
- /**
- * @param {number} port
- * @param {string} connectionId
- */
- Protocol.TetheringDispatcher.prototype.accepted = function(port, connectionId) {};
- Protocol.Tracing = {};
-
-
- /**
- * @constructor
- */
- Protocol.TracingAgent = function(){};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.TracingAgent.prototype.end = function() {};
- /** @typedef {Object|undefined} */
- Protocol.TracingAgent.EndRequest;
- /** @typedef {Object|undefined} */
- Protocol.TracingAgent.EndResponse;
- /**
- * @param {!Protocol.TracingAgent.EndRequest} obj
- * @return {!Promise<!Protocol.TracingAgent.EndResponse>} */
- Protocol.TracingAgent.prototype.invoke_end = function(obj) {};
-
- /**
- * @return {!Promise<?Array<string>>}
- */
- Protocol.TracingAgent.prototype.getCategories = function() {};
- /** @typedef {Object|undefined} */
- Protocol.TracingAgent.GetCategoriesRequest;
- /** @typedef {!{categories: !Array<string>}} */
- Protocol.TracingAgent.GetCategoriesResponse;
- /**
- * @param {!Protocol.TracingAgent.GetCategoriesRequest} obj
- * @return {!Promise<!Protocol.TracingAgent.GetCategoriesResponse>} */
- Protocol.TracingAgent.prototype.invoke_getCategories = function(obj) {};
-
- /**
- * @param {string} syncId
- * @return {!Promise<undefined>}
- */
- Protocol.TracingAgent.prototype.recordClockSyncMarker = function(syncId) {};
- /** @typedef {!{syncId: string}} */
- Protocol.TracingAgent.RecordClockSyncMarkerRequest;
- /** @typedef {Object|undefined} */
- Protocol.TracingAgent.RecordClockSyncMarkerResponse;
- /**
- * @param {!Protocol.TracingAgent.RecordClockSyncMarkerRequest} obj
- * @return {!Promise<!Protocol.TracingAgent.RecordClockSyncMarkerResponse>} */
- Protocol.TracingAgent.prototype.invoke_recordClockSyncMarker = function(obj) {};
-
- /**
- * @param {boolean=} opt_deterministic
- * @return {!Promise<?string>}
- */
- Protocol.TracingAgent.prototype.requestMemoryDump = function(opt_deterministic) {};
- /** @typedef {!{deterministic: (boolean|undefined)}} */
- Protocol.TracingAgent.RequestMemoryDumpRequest;
- /** @typedef {!{dumpGuid: string, success: boolean}} */
- Protocol.TracingAgent.RequestMemoryDumpResponse;
- /**
- * @param {!Protocol.TracingAgent.RequestMemoryDumpRequest} obj
- * @return {!Promise<!Protocol.TracingAgent.RequestMemoryDumpResponse>} */
- Protocol.TracingAgent.prototype.invoke_requestMemoryDump = function(obj) {};
-
- /**
- * @param {string=} opt_categories
- * @param {string=} opt_options
- * @param {number=} opt_bufferUsageReportingInterval
- * @param {string=} opt_transferMode
- * @param {Protocol.Tracing.StreamFormat=} opt_streamFormat
- * @param {Protocol.Tracing.StreamCompression=} opt_streamCompression
- * @param {Protocol.Tracing.TraceConfig=} opt_traceConfig
- * @return {!Promise<undefined>}
- */
- Protocol.TracingAgent.prototype.start = function(opt_categories, opt_options, opt_bufferUsageReportingInterval, opt_transferMode, opt_streamFormat, opt_streamCompression, opt_traceConfig) {};
- /** @typedef {!{traceConfig: (Protocol.Tracing.TraceConfig|undefined), transferMode: (string|undefined), bufferUsageReportingInterval: (number|undefined), streamFormat: (Protocol.Tracing.StreamFormat|undefined), options: (string|undefined), categories: (string|undefined), streamCompression: (Protocol.Tracing.StreamCompression|undefined)}} */
- Protocol.TracingAgent.StartRequest;
- /** @typedef {Object|undefined} */
- Protocol.TracingAgent.StartResponse;
- /**
- * @param {!Protocol.TracingAgent.StartRequest} obj
- * @return {!Promise<!Protocol.TracingAgent.StartResponse>} */
- Protocol.TracingAgent.prototype.invoke_start = function(obj) {};
-
- /** @typedef {!Object} */
- Protocol.Tracing.MemoryDumpConfig;
-
- /** @enum {string} */
- Protocol.Tracing.TraceConfigRecordMode = {
- RecordUntilFull: "recordUntilFull",
- RecordContinuously: "recordContinuously",
- RecordAsMuchAsPossible: "recordAsMuchAsPossible",
- EchoToConsole: "echoToConsole"
- };
-
- /** @typedef {!{recordMode:(Protocol.Tracing.TraceConfigRecordMode|undefined), enableSampling:(boolean|undefined), enableSystrace:(boolean|undefined), enableArgumentFilter:(boolean|undefined), includedCategories:(!Array<string>|undefined), excludedCategories:(!Array<string>|undefined), syntheticDelays:(!Array<string>|undefined), memoryDumpConfig:(Protocol.Tracing.MemoryDumpConfig|undefined)}} */
- Protocol.Tracing.TraceConfig;
-
- /** @enum {string} */
- Protocol.Tracing.StreamFormat = {
- Json: "json",
- Proto: "proto"
- };
-
- /** @enum {string} */
- Protocol.Tracing.StreamCompression = {
- None: "none",
- Gzip: "gzip"
- };
- /** @interface */
- Protocol.TracingDispatcher = function() {};
- /**
- * @param {number=} opt_percentFull
- * @param {number=} opt_eventCount
- * @param {number=} opt_value
- */
- Protocol.TracingDispatcher.prototype.bufferUsage = function(opt_percentFull, opt_eventCount, opt_value) {};
- /**
- * @param {!Array<!Object>} value
- */
- Protocol.TracingDispatcher.prototype.dataCollected = function(value) {};
- /**
- * @param {boolean} dataLossOccurred
- * @param {Protocol.IO.StreamHandle=} opt_stream
- * @param {Protocol.Tracing.StreamFormat=} opt_traceFormat
- * @param {Protocol.Tracing.StreamCompression=} opt_streamCompression
- */
- Protocol.TracingDispatcher.prototype.tracingComplete = function(dataLossOccurred, opt_stream, opt_traceFormat, opt_streamCompression) {};
- Protocol.Fetch = {};
-
-
- /**
- * @constructor
- */
- Protocol.FetchAgent = function(){};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.FetchAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.FetchAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.FetchAgent.DisableResponse;
- /**
- * @param {!Protocol.FetchAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.FetchAgent.DisableResponse>} */
- Protocol.FetchAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @param {!Array<Protocol.Fetch.RequestPattern>=} opt_patterns
- * @param {boolean=} opt_handleAuthRequests
- * @return {!Promise<undefined>}
- */
- Protocol.FetchAgent.prototype.enable = function(opt_patterns, opt_handleAuthRequests) {};
- /** @typedef {!{patterns: (!Array<Protocol.Fetch.RequestPattern>|undefined), handleAuthRequests: (boolean|undefined)}} */
- Protocol.FetchAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.FetchAgent.EnableResponse;
- /**
- * @param {!Protocol.FetchAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.FetchAgent.EnableResponse>} */
- Protocol.FetchAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @param {Protocol.Fetch.RequestId} requestId
- * @param {Protocol.Network.ErrorReason} errorReason
- * @return {!Promise<undefined>}
- */
- Protocol.FetchAgent.prototype.failRequest = function(requestId, errorReason) {};
- /** @typedef {!{requestId: Protocol.Fetch.RequestId, errorReason: Protocol.Network.ErrorReason}} */
- Protocol.FetchAgent.FailRequestRequest;
- /** @typedef {Object|undefined} */
- Protocol.FetchAgent.FailRequestResponse;
- /**
- * @param {!Protocol.FetchAgent.FailRequestRequest} obj
- * @return {!Promise<!Protocol.FetchAgent.FailRequestResponse>} */
- Protocol.FetchAgent.prototype.invoke_failRequest = function(obj) {};
-
- /**
- * @param {Protocol.Fetch.RequestId} requestId
- * @param {number} responseCode
- * @param {!Array<Protocol.Fetch.HeaderEntry>=} opt_responseHeaders
- * @param {string=} opt_binaryResponseHeaders
- * @param {string=} opt_body
- * @param {string=} opt_responsePhrase
- * @return {!Promise<undefined>}
- */
- Protocol.FetchAgent.prototype.fulfillRequest = function(requestId, responseCode, opt_responseHeaders, opt_binaryResponseHeaders, opt_body, opt_responsePhrase) {};
- /** @typedef {!{body: (string|undefined), binaryResponseHeaders: (string|undefined), requestId: Protocol.Fetch.RequestId, responseCode: number, responsePhrase: (string|undefined), responseHeaders: (!Array<Protocol.Fetch.HeaderEntry>|undefined)}} */
- Protocol.FetchAgent.FulfillRequestRequest;
- /** @typedef {Object|undefined} */
- Protocol.FetchAgent.FulfillRequestResponse;
- /**
- * @param {!Protocol.FetchAgent.FulfillRequestRequest} obj
- * @return {!Promise<!Protocol.FetchAgent.FulfillRequestResponse>} */
- Protocol.FetchAgent.prototype.invoke_fulfillRequest = function(obj) {};
-
- /**
- * @param {Protocol.Fetch.RequestId} requestId
- * @param {string=} opt_url
- * @param {string=} opt_method
- * @param {string=} opt_postData
- * @param {!Array<Protocol.Fetch.HeaderEntry>=} opt_headers
- * @return {!Promise<undefined>}
- */
- Protocol.FetchAgent.prototype.continueRequest = function(requestId, opt_url, opt_method, opt_postData, opt_headers) {};
- /** @typedef {!{url: (string|undefined), headers: (!Array<Protocol.Fetch.HeaderEntry>|undefined), requestId: Protocol.Fetch.RequestId, postData: (string|undefined), method: (string|undefined)}} */
- Protocol.FetchAgent.ContinueRequestRequest;
- /** @typedef {Object|undefined} */
- Protocol.FetchAgent.ContinueRequestResponse;
- /**
- * @param {!Protocol.FetchAgent.ContinueRequestRequest} obj
- * @return {!Promise<!Protocol.FetchAgent.ContinueRequestResponse>} */
- Protocol.FetchAgent.prototype.invoke_continueRequest = function(obj) {};
-
- /**
- * @param {Protocol.Fetch.RequestId} requestId
- * @param {Protocol.Fetch.AuthChallengeResponse} authChallengeResponse
- * @return {!Promise<undefined>}
- */
- Protocol.FetchAgent.prototype.continueWithAuth = function(requestId, authChallengeResponse) {};
- /** @typedef {!{authChallengeResponse: Protocol.Fetch.AuthChallengeResponse, requestId: Protocol.Fetch.RequestId}} */
- Protocol.FetchAgent.ContinueWithAuthRequest;
- /** @typedef {Object|undefined} */
- Protocol.FetchAgent.ContinueWithAuthResponse;
- /**
- * @param {!Protocol.FetchAgent.ContinueWithAuthRequest} obj
- * @return {!Promise<!Protocol.FetchAgent.ContinueWithAuthResponse>} */
- Protocol.FetchAgent.prototype.invoke_continueWithAuth = function(obj) {};
-
- /**
- * @param {Protocol.Fetch.RequestId} requestId
- * @return {!Promise<?string>}
- */
- Protocol.FetchAgent.prototype.getResponseBody = function(requestId) {};
- /** @typedef {!{requestId: Protocol.Fetch.RequestId}} */
- Protocol.FetchAgent.GetResponseBodyRequest;
- /** @typedef {!{body: string, base64Encoded: boolean}} */
- Protocol.FetchAgent.GetResponseBodyResponse;
- /**
- * @param {!Protocol.FetchAgent.GetResponseBodyRequest} obj
- * @return {!Promise<!Protocol.FetchAgent.GetResponseBodyResponse>} */
- Protocol.FetchAgent.prototype.invoke_getResponseBody = function(obj) {};
-
- /**
- * @param {Protocol.Fetch.RequestId} requestId
- * @return {!Promise<?Protocol.IO.StreamHandle>}
- */
- Protocol.FetchAgent.prototype.takeResponseBodyAsStream = function(requestId) {};
- /** @typedef {!{requestId: Protocol.Fetch.RequestId}} */
- Protocol.FetchAgent.TakeResponseBodyAsStreamRequest;
- /** @typedef {!{stream: Protocol.IO.StreamHandle}} */
- Protocol.FetchAgent.TakeResponseBodyAsStreamResponse;
- /**
- * @param {!Protocol.FetchAgent.TakeResponseBodyAsStreamRequest} obj
- * @return {!Promise<!Protocol.FetchAgent.TakeResponseBodyAsStreamResponse>} */
- Protocol.FetchAgent.prototype.invoke_takeResponseBodyAsStream = function(obj) {};
-
- /** @typedef {string} */
- Protocol.Fetch.RequestId;
-
- /** @enum {string} */
- Protocol.Fetch.RequestStage = {
- Request: "Request",
- Response: "Response"
- };
-
- /** @typedef {!{urlPattern:(string|undefined), resourceType:(Protocol.Network.ResourceType|undefined), requestStage:(Protocol.Fetch.RequestStage|undefined)}} */
- Protocol.Fetch.RequestPattern;
-
- /** @typedef {!{name:(string), value:(string)}} */
- Protocol.Fetch.HeaderEntry;
-
- /** @enum {string} */
- Protocol.Fetch.AuthChallengeSource = {
- Server: "Server",
- Proxy: "Proxy"
- };
-
- /** @typedef {!{source:(Protocol.Fetch.AuthChallengeSource|undefined), origin:(string), scheme:(string), realm:(string)}} */
- Protocol.Fetch.AuthChallenge;
-
- /** @enum {string} */
- Protocol.Fetch.AuthChallengeResponseResponse = {
- Default: "Default",
- CancelAuth: "CancelAuth",
- ProvideCredentials: "ProvideCredentials"
- };
-
- /** @typedef {!{response:(Protocol.Fetch.AuthChallengeResponseResponse), username:(string|undefined), password:(string|undefined)}} */
- Protocol.Fetch.AuthChallengeResponse;
- /** @interface */
- Protocol.FetchDispatcher = function() {};
- /**
- * @param {Protocol.Fetch.RequestId} requestId
- * @param {Protocol.Network.Request} request
- * @param {Protocol.Page.FrameId} frameId
- * @param {Protocol.Network.ResourceType} resourceType
- * @param {Protocol.Network.ErrorReason=} opt_responseErrorReason
- * @param {number=} opt_responseStatusCode
- * @param {!Array<Protocol.Fetch.HeaderEntry>=} opt_responseHeaders
- * @param {Protocol.Fetch.RequestId=} opt_networkId
- */
- Protocol.FetchDispatcher.prototype.requestPaused = function(requestId, request, frameId, resourceType, opt_responseErrorReason, opt_responseStatusCode, opt_responseHeaders, opt_networkId) {};
- /**
- * @param {Protocol.Fetch.RequestId} requestId
- * @param {Protocol.Network.Request} request
- * @param {Protocol.Page.FrameId} frameId
- * @param {Protocol.Network.ResourceType} resourceType
- * @param {Protocol.Fetch.AuthChallenge} authChallenge
- */
- Protocol.FetchDispatcher.prototype.authRequired = function(requestId, request, frameId, resourceType, authChallenge) {};
- Protocol.WebAudio = {};
-
-
- /**
- * @constructor
- */
- Protocol.WebAudioAgent = function(){};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.WebAudioAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.WebAudioAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.WebAudioAgent.EnableResponse;
- /**
- * @param {!Protocol.WebAudioAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.WebAudioAgent.EnableResponse>} */
- Protocol.WebAudioAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.WebAudioAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.WebAudioAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.WebAudioAgent.DisableResponse;
- /**
- * @param {!Protocol.WebAudioAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.WebAudioAgent.DisableResponse>} */
- Protocol.WebAudioAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @param {Protocol.WebAudio.GraphObjectId} contextId
- * @return {!Promise<?Protocol.WebAudio.ContextRealtimeData>}
- */
- Protocol.WebAudioAgent.prototype.getRealtimeData = function(contextId) {};
- /** @typedef {!{contextId: Protocol.WebAudio.GraphObjectId}} */
- Protocol.WebAudioAgent.GetRealtimeDataRequest;
- /** @typedef {!{realtimeData: Protocol.WebAudio.ContextRealtimeData}} */
- Protocol.WebAudioAgent.GetRealtimeDataResponse;
- /**
- * @param {!Protocol.WebAudioAgent.GetRealtimeDataRequest} obj
- * @return {!Promise<!Protocol.WebAudioAgent.GetRealtimeDataResponse>} */
- Protocol.WebAudioAgent.prototype.invoke_getRealtimeData = function(obj) {};
-
- /** @typedef {string} */
- Protocol.WebAudio.GraphObjectId;
-
- /** @enum {string} */
- Protocol.WebAudio.ContextType = {
- Realtime: "realtime",
- Offline: "offline"
- };
-
- /** @enum {string} */
- Protocol.WebAudio.ContextState = {
- Suspended: "suspended",
- Running: "running",
- Closed: "closed"
- };
-
- /** @typedef {string} */
- Protocol.WebAudio.NodeType;
-
- /** @enum {string} */
- Protocol.WebAudio.ChannelCountMode = {
- ClampedMax: "clamped-max",
- Explicit: "explicit",
- Max: "max"
- };
-
- /** @enum {string} */
- Protocol.WebAudio.ChannelInterpretation = {
- Discrete: "discrete",
- Speakers: "speakers"
- };
-
- /** @typedef {string} */
- Protocol.WebAudio.ParamType;
-
- /** @enum {string} */
- Protocol.WebAudio.AutomationRate = {
- ARate: "a-rate",
- KRate: "k-rate"
- };
-
- /** @typedef {!{currentTime:(number), renderCapacity:(number), callbackIntervalMean:(number), callbackIntervalVariance:(number)}} */
- Protocol.WebAudio.ContextRealtimeData;
-
- /** @typedef {!{contextId:(Protocol.WebAudio.GraphObjectId), contextType:(Protocol.WebAudio.ContextType), contextState:(Protocol.WebAudio.ContextState), realtimeData:(Protocol.WebAudio.ContextRealtimeData|undefined), callbackBufferSize:(number), maxOutputChannelCount:(number), sampleRate:(number)}} */
- Protocol.WebAudio.BaseAudioContext;
-
- /** @typedef {!{listenerId:(Protocol.WebAudio.GraphObjectId), contextId:(Protocol.WebAudio.GraphObjectId)}} */
- Protocol.WebAudio.AudioListener;
-
- /** @typedef {!{nodeId:(Protocol.WebAudio.GraphObjectId), contextId:(Protocol.WebAudio.GraphObjectId), nodeType:(Protocol.WebAudio.NodeType), numberOfInputs:(number), numberOfOutputs:(number), channelCount:(number), channelCountMode:(Protocol.WebAudio.ChannelCountMode), channelInterpretation:(Protocol.WebAudio.ChannelInterpretation)}} */
- Protocol.WebAudio.AudioNode;
-
- /** @typedef {!{paramId:(Protocol.WebAudio.GraphObjectId), nodeId:(Protocol.WebAudio.GraphObjectId), contextId:(Protocol.WebAudio.GraphObjectId), paramType:(Protocol.WebAudio.ParamType), rate:(Protocol.WebAudio.AutomationRate), defaultValue:(number), minValue:(number), maxValue:(number)}} */
- Protocol.WebAudio.AudioParam;
- /** @interface */
- Protocol.WebAudioDispatcher = function() {};
- /**
- * @param {Protocol.WebAudio.BaseAudioContext} context
- */
- Protocol.WebAudioDispatcher.prototype.contextCreated = function(context) {};
- /**
- * @param {Protocol.WebAudio.GraphObjectId} contextId
- */
- Protocol.WebAudioDispatcher.prototype.contextWillBeDestroyed = function(contextId) {};
- /**
- * @param {Protocol.WebAudio.BaseAudioContext} context
- */
- Protocol.WebAudioDispatcher.prototype.contextChanged = function(context) {};
- /**
- * @param {Protocol.WebAudio.AudioListener} listener
- */
- Protocol.WebAudioDispatcher.prototype.audioListenerCreated = function(listener) {};
- /**
- * @param {Protocol.WebAudio.GraphObjectId} contextId
- * @param {Protocol.WebAudio.GraphObjectId} listenerId
- */
- Protocol.WebAudioDispatcher.prototype.audioListenerWillBeDestroyed = function(contextId, listenerId) {};
- /**
- * @param {Protocol.WebAudio.AudioNode} node
- */
- Protocol.WebAudioDispatcher.prototype.audioNodeCreated = function(node) {};
- /**
- * @param {Protocol.WebAudio.GraphObjectId} contextId
- * @param {Protocol.WebAudio.GraphObjectId} nodeId
- */
- Protocol.WebAudioDispatcher.prototype.audioNodeWillBeDestroyed = function(contextId, nodeId) {};
- /**
- * @param {Protocol.WebAudio.AudioParam} param
- */
- Protocol.WebAudioDispatcher.prototype.audioParamCreated = function(param) {};
- /**
- * @param {Protocol.WebAudio.GraphObjectId} contextId
- * @param {Protocol.WebAudio.GraphObjectId} nodeId
- * @param {Protocol.WebAudio.GraphObjectId} paramId
- */
- Protocol.WebAudioDispatcher.prototype.audioParamWillBeDestroyed = function(contextId, nodeId, paramId) {};
- /**
- * @param {Protocol.WebAudio.GraphObjectId} contextId
- * @param {Protocol.WebAudio.GraphObjectId} sourceId
- * @param {Protocol.WebAudio.GraphObjectId} destinationId
- * @param {number=} opt_sourceOutputIndex
- * @param {number=} opt_destinationInputIndex
- */
- Protocol.WebAudioDispatcher.prototype.nodesConnected = function(contextId, sourceId, destinationId, opt_sourceOutputIndex, opt_destinationInputIndex) {};
- /**
- * @param {Protocol.WebAudio.GraphObjectId} contextId
- * @param {Protocol.WebAudio.GraphObjectId} sourceId
- * @param {Protocol.WebAudio.GraphObjectId} destinationId
- * @param {number=} opt_sourceOutputIndex
- * @param {number=} opt_destinationInputIndex
- */
- Protocol.WebAudioDispatcher.prototype.nodesDisconnected = function(contextId, sourceId, destinationId, opt_sourceOutputIndex, opt_destinationInputIndex) {};
- /**
- * @param {Protocol.WebAudio.GraphObjectId} contextId
- * @param {Protocol.WebAudio.GraphObjectId} sourceId
- * @param {Protocol.WebAudio.GraphObjectId} destinationId
- * @param {number=} opt_sourceOutputIndex
- */
- Protocol.WebAudioDispatcher.prototype.nodeParamConnected = function(contextId, sourceId, destinationId, opt_sourceOutputIndex) {};
- /**
- * @param {Protocol.WebAudio.GraphObjectId} contextId
- * @param {Protocol.WebAudio.GraphObjectId} sourceId
- * @param {Protocol.WebAudio.GraphObjectId} destinationId
- * @param {number=} opt_sourceOutputIndex
- */
- Protocol.WebAudioDispatcher.prototype.nodeParamDisconnected = function(contextId, sourceId, destinationId, opt_sourceOutputIndex) {};
- Protocol.WebAuthn = {};
-
-
- /**
- * @constructor
- */
- Protocol.WebAuthnAgent = function(){};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.WebAuthnAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.WebAuthnAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.WebAuthnAgent.EnableResponse;
- /**
- * @param {!Protocol.WebAuthnAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.WebAuthnAgent.EnableResponse>} */
- Protocol.WebAuthnAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.WebAuthnAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.WebAuthnAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.WebAuthnAgent.DisableResponse;
- /**
- * @param {!Protocol.WebAuthnAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.WebAuthnAgent.DisableResponse>} */
- Protocol.WebAuthnAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @param {Protocol.WebAuthn.VirtualAuthenticatorOptions} options
- * @return {!Promise<?Protocol.WebAuthn.AuthenticatorId>}
- */
- Protocol.WebAuthnAgent.prototype.addVirtualAuthenticator = function(options) {};
- /** @typedef {!{options: Protocol.WebAuthn.VirtualAuthenticatorOptions}} */
- Protocol.WebAuthnAgent.AddVirtualAuthenticatorRequest;
- /** @typedef {!{authenticatorId: Protocol.WebAuthn.AuthenticatorId}} */
- Protocol.WebAuthnAgent.AddVirtualAuthenticatorResponse;
- /**
- * @param {!Protocol.WebAuthnAgent.AddVirtualAuthenticatorRequest} obj
- * @return {!Promise<!Protocol.WebAuthnAgent.AddVirtualAuthenticatorResponse>} */
- Protocol.WebAuthnAgent.prototype.invoke_addVirtualAuthenticator = function(obj) {};
-
- /**
- * @param {Protocol.WebAuthn.AuthenticatorId} authenticatorId
- * @return {!Promise<undefined>}
- */
- Protocol.WebAuthnAgent.prototype.removeVirtualAuthenticator = function(authenticatorId) {};
- /** @typedef {!{authenticatorId: Protocol.WebAuthn.AuthenticatorId}} */
- Protocol.WebAuthnAgent.RemoveVirtualAuthenticatorRequest;
- /** @typedef {Object|undefined} */
- Protocol.WebAuthnAgent.RemoveVirtualAuthenticatorResponse;
- /**
- * @param {!Protocol.WebAuthnAgent.RemoveVirtualAuthenticatorRequest} obj
- * @return {!Promise<!Protocol.WebAuthnAgent.RemoveVirtualAuthenticatorResponse>} */
- Protocol.WebAuthnAgent.prototype.invoke_removeVirtualAuthenticator = function(obj) {};
-
- /**
- * @param {Protocol.WebAuthn.AuthenticatorId} authenticatorId
- * @param {Protocol.WebAuthn.Credential} credential
- * @return {!Promise<undefined>}
- */
- Protocol.WebAuthnAgent.prototype.addCredential = function(authenticatorId, credential) {};
- /** @typedef {!{authenticatorId: Protocol.WebAuthn.AuthenticatorId, credential: Protocol.WebAuthn.Credential}} */
- Protocol.WebAuthnAgent.AddCredentialRequest;
- /** @typedef {Object|undefined} */
- Protocol.WebAuthnAgent.AddCredentialResponse;
- /**
- * @param {!Protocol.WebAuthnAgent.AddCredentialRequest} obj
- * @return {!Promise<!Protocol.WebAuthnAgent.AddCredentialResponse>} */
- Protocol.WebAuthnAgent.prototype.invoke_addCredential = function(obj) {};
-
- /**
- * @param {Protocol.WebAuthn.AuthenticatorId} authenticatorId
- * @param {string} credentialId
- * @return {!Promise<?Protocol.WebAuthn.Credential>}
- */
- Protocol.WebAuthnAgent.prototype.getCredential = function(authenticatorId, credentialId) {};
- /** @typedef {!{credentialId: string, authenticatorId: Protocol.WebAuthn.AuthenticatorId}} */
- Protocol.WebAuthnAgent.GetCredentialRequest;
- /** @typedef {!{credential: Protocol.WebAuthn.Credential}} */
- Protocol.WebAuthnAgent.GetCredentialResponse;
- /**
- * @param {!Protocol.WebAuthnAgent.GetCredentialRequest} obj
- * @return {!Promise<!Protocol.WebAuthnAgent.GetCredentialResponse>} */
- Protocol.WebAuthnAgent.prototype.invoke_getCredential = function(obj) {};
-
- /**
- * @param {Protocol.WebAuthn.AuthenticatorId} authenticatorId
- * @return {!Promise<?Array<Protocol.WebAuthn.Credential>>}
- */
- Protocol.WebAuthnAgent.prototype.getCredentials = function(authenticatorId) {};
- /** @typedef {!{authenticatorId: Protocol.WebAuthn.AuthenticatorId}} */
- Protocol.WebAuthnAgent.GetCredentialsRequest;
- /** @typedef {!{credentials: !Array<Protocol.WebAuthn.Credential>}} */
- Protocol.WebAuthnAgent.GetCredentialsResponse;
- /**
- * @param {!Protocol.WebAuthnAgent.GetCredentialsRequest} obj
- * @return {!Promise<!Protocol.WebAuthnAgent.GetCredentialsResponse>} */
- Protocol.WebAuthnAgent.prototype.invoke_getCredentials = function(obj) {};
-
- /**
- * @param {Protocol.WebAuthn.AuthenticatorId} authenticatorId
- * @param {string} credentialId
- * @return {!Promise<undefined>}
- */
- Protocol.WebAuthnAgent.prototype.removeCredential = function(authenticatorId, credentialId) {};
- /** @typedef {!{credentialId: string, authenticatorId: Protocol.WebAuthn.AuthenticatorId}} */
- Protocol.WebAuthnAgent.RemoveCredentialRequest;
- /** @typedef {Object|undefined} */
- Protocol.WebAuthnAgent.RemoveCredentialResponse;
- /**
- * @param {!Protocol.WebAuthnAgent.RemoveCredentialRequest} obj
- * @return {!Promise<!Protocol.WebAuthnAgent.RemoveCredentialResponse>} */
- Protocol.WebAuthnAgent.prototype.invoke_removeCredential = function(obj) {};
-
- /**
- * @param {Protocol.WebAuthn.AuthenticatorId} authenticatorId
- * @return {!Promise<undefined>}
- */
- Protocol.WebAuthnAgent.prototype.clearCredentials = function(authenticatorId) {};
- /** @typedef {!{authenticatorId: Protocol.WebAuthn.AuthenticatorId}} */
- Protocol.WebAuthnAgent.ClearCredentialsRequest;
- /** @typedef {Object|undefined} */
- Protocol.WebAuthnAgent.ClearCredentialsResponse;
- /**
- * @param {!Protocol.WebAuthnAgent.ClearCredentialsRequest} obj
- * @return {!Promise<!Protocol.WebAuthnAgent.ClearCredentialsResponse>} */
- Protocol.WebAuthnAgent.prototype.invoke_clearCredentials = function(obj) {};
-
- /**
- * @param {Protocol.WebAuthn.AuthenticatorId} authenticatorId
- * @param {boolean} isUserVerified
- * @return {!Promise<undefined>}
- */
- Protocol.WebAuthnAgent.prototype.setUserVerified = function(authenticatorId, isUserVerified) {};
- /** @typedef {!{authenticatorId: Protocol.WebAuthn.AuthenticatorId, isUserVerified: boolean}} */
- Protocol.WebAuthnAgent.SetUserVerifiedRequest;
- /** @typedef {Object|undefined} */
- Protocol.WebAuthnAgent.SetUserVerifiedResponse;
- /**
- * @param {!Protocol.WebAuthnAgent.SetUserVerifiedRequest} obj
- * @return {!Promise<!Protocol.WebAuthnAgent.SetUserVerifiedResponse>} */
- Protocol.WebAuthnAgent.prototype.invoke_setUserVerified = function(obj) {};
-
- /** @typedef {string} */
- Protocol.WebAuthn.AuthenticatorId;
-
- /** @enum {string} */
- Protocol.WebAuthn.AuthenticatorProtocol = {
- U2f: "u2f",
- Ctap2: "ctap2"
- };
-
- /** @enum {string} */
- Protocol.WebAuthn.AuthenticatorTransport = {
- Usb: "usb",
- Nfc: "nfc",
- Ble: "ble",
- Cable: "cable",
- Internal: "internal"
- };
-
- /** @typedef {!{protocol:(Protocol.WebAuthn.AuthenticatorProtocol), transport:(Protocol.WebAuthn.AuthenticatorTransport), hasResidentKey:(boolean|undefined), hasUserVerification:(boolean|undefined), automaticPresenceSimulation:(boolean|undefined), isUserVerified:(boolean|undefined)}} */
- Protocol.WebAuthn.VirtualAuthenticatorOptions;
-
- /** @typedef {!{credentialId:(string), isResidentCredential:(boolean), rpId:(string|undefined), privateKey:(string), userHandle:(string|undefined), signCount:(number)}} */
- Protocol.WebAuthn.Credential;
- /** @interface */
- Protocol.WebAuthnDispatcher = function() {};
- Protocol.Media = {};
-
-
- /**
- * @constructor
- */
- Protocol.MediaAgent = function(){};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.MediaAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.MediaAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.MediaAgent.EnableResponse;
- /**
- * @param {!Protocol.MediaAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.MediaAgent.EnableResponse>} */
- Protocol.MediaAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.MediaAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.MediaAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.MediaAgent.DisableResponse;
- /**
- * @param {!Protocol.MediaAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.MediaAgent.DisableResponse>} */
- Protocol.MediaAgent.prototype.invoke_disable = function(obj) {};
-
- /** @typedef {string} */
- Protocol.Media.PlayerId;
-
- /** @typedef {number} */
- Protocol.Media.Timestamp;
-
- /** @typedef {!{name:(string), value:(string|undefined)}} */
- Protocol.Media.PlayerProperty;
-
- /** @enum {string} */
- Protocol.Media.PlayerEventType = {
- PlaybackEvent: "playbackEvent",
- SystemEvent: "systemEvent",
- MessageEvent: "messageEvent"
- };
-
- /** @typedef {!{type:(Protocol.Media.PlayerEventType), timestamp:(Protocol.Media.Timestamp), name:(string), value:(string)}} */
- Protocol.Media.PlayerEvent;
- /** @interface */
- Protocol.MediaDispatcher = function() {};
- /**
- * @param {Protocol.Media.PlayerId} playerId
- * @param {!Array<Protocol.Media.PlayerProperty>} properties
- */
- Protocol.MediaDispatcher.prototype.playerPropertiesChanged = function(playerId, properties) {};
- /**
- * @param {Protocol.Media.PlayerId} playerId
- * @param {!Array<Protocol.Media.PlayerEvent>} events
- */
- Protocol.MediaDispatcher.prototype.playerEventsAdded = function(playerId, events) {};
- /**
- * @param {!Array<Protocol.Media.PlayerId>} players
- */
- Protocol.MediaDispatcher.prototype.playersCreated = function(players) {};
- Protocol.Console = {};
-
-
- /**
- * @constructor
- */
- Protocol.ConsoleAgent = function(){};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.ConsoleAgent.prototype.clearMessages = function() {};
- /** @typedef {Object|undefined} */
- Protocol.ConsoleAgent.ClearMessagesRequest;
- /** @typedef {Object|undefined} */
- Protocol.ConsoleAgent.ClearMessagesResponse;
- /**
- * @param {!Protocol.ConsoleAgent.ClearMessagesRequest} obj
- * @return {!Promise<!Protocol.ConsoleAgent.ClearMessagesResponse>} */
- Protocol.ConsoleAgent.prototype.invoke_clearMessages = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.ConsoleAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.ConsoleAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.ConsoleAgent.DisableResponse;
- /**
- * @param {!Protocol.ConsoleAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.ConsoleAgent.DisableResponse>} */
- Protocol.ConsoleAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.ConsoleAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.ConsoleAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.ConsoleAgent.EnableResponse;
- /**
- * @param {!Protocol.ConsoleAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.ConsoleAgent.EnableResponse>} */
- Protocol.ConsoleAgent.prototype.invoke_enable = function(obj) {};
-
- /** @enum {string} */
- Protocol.Console.ConsoleMessageSource = {
- XML: "xml",
- Javascript: "javascript",
- Network: "network",
- ConsoleAPI: "console-api",
- Storage: "storage",
- Appcache: "appcache",
- Rendering: "rendering",
- Security: "security",
- Other: "other",
- Deprecation: "deprecation",
- Worker: "worker"
- };
-
- /** @enum {string} */
- Protocol.Console.ConsoleMessageLevel = {
- Log: "log",
- Warning: "warning",
- Error: "error",
- Debug: "debug",
- Info: "info"
- };
-
- /** @typedef {!{source:(Protocol.Console.ConsoleMessageSource), level:(Protocol.Console.ConsoleMessageLevel), text:(string), url:(string|undefined), line:(number|undefined), column:(number|undefined)}} */
- Protocol.Console.ConsoleMessage;
- /** @interface */
- Protocol.ConsoleDispatcher = function() {};
- /**
- * @param {Protocol.Console.ConsoleMessage} message
- */
- Protocol.ConsoleDispatcher.prototype.messageAdded = function(message) {};
- Protocol.Debugger = {};
-
-
- /**
- * @constructor
- */
- Protocol.DebuggerAgent = function(){};
-
- /**
- * @param {Protocol.Debugger.Location} location
- * @param {string=} opt_targetCallFrames
- * @return {!Promise<undefined>}
- */
- Protocol.DebuggerAgent.prototype.continueToLocation = function(location, opt_targetCallFrames) {};
- /** @typedef {!{location: Protocol.Debugger.Location, targetCallFrames: (string|undefined)}} */
- Protocol.DebuggerAgent.ContinueToLocationRequest;
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.ContinueToLocationResponse;
- /**
- * @param {!Protocol.DebuggerAgent.ContinueToLocationRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.ContinueToLocationResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_continueToLocation = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DebuggerAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.DisableResponse;
- /**
- * @param {!Protocol.DebuggerAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.DisableResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @param {number=} opt_maxScriptsCacheSize
- * @return {!Promise<?Protocol.Runtime.UniqueDebuggerId>}
- */
- Protocol.DebuggerAgent.prototype.enable = function(opt_maxScriptsCacheSize) {};
- /** @typedef {!{maxScriptsCacheSize: (number|undefined)}} */
- Protocol.DebuggerAgent.EnableRequest;
- /** @typedef {!{debuggerId: Protocol.Runtime.UniqueDebuggerId}} */
- Protocol.DebuggerAgent.EnableResponse;
- /**
- * @param {!Protocol.DebuggerAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.EnableResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @param {Protocol.Debugger.CallFrameId} callFrameId
- * @param {string} expression
- * @param {string=} opt_objectGroup
- * @param {boolean=} opt_includeCommandLineAPI
- * @param {boolean=} opt_silent
- * @param {boolean=} opt_returnByValue
- * @param {boolean=} opt_generatePreview
- * @param {boolean=} opt_throwOnSideEffect
- * @param {Protocol.Runtime.TimeDelta=} opt_timeout
- * @return {!Promise<?Protocol.Runtime.RemoteObject>}
- */
- Protocol.DebuggerAgent.prototype.evaluateOnCallFrame = function(callFrameId, expression, opt_objectGroup, opt_includeCommandLineAPI, opt_silent, opt_returnByValue, opt_generatePreview, opt_throwOnSideEffect, opt_timeout) {};
- /** @typedef {!{objectGroup: (string|undefined), includeCommandLineAPI: (boolean|undefined), silent: (boolean|undefined), throwOnSideEffect: (boolean|undefined), generatePreview: (boolean|undefined), returnByValue: (boolean|undefined), callFrameId: Protocol.Debugger.CallFrameId, timeout: (Protocol.Runtime.TimeDelta|undefined), expression: string}} */
- Protocol.DebuggerAgent.EvaluateOnCallFrameRequest;
- /** @typedef {!{exceptionDetails: Protocol.Runtime.ExceptionDetails, result: Protocol.Runtime.RemoteObject}} */
- Protocol.DebuggerAgent.EvaluateOnCallFrameResponse;
- /**
- * @param {!Protocol.DebuggerAgent.EvaluateOnCallFrameRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.EvaluateOnCallFrameResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_evaluateOnCallFrame = function(obj) {};
-
- /**
- * @param {Protocol.Debugger.Location} start
- * @param {Protocol.Debugger.Location=} opt_end
- * @param {boolean=} opt_restrictToFunction
- * @return {!Promise<?Array<Protocol.Debugger.BreakLocation>>}
- */
- Protocol.DebuggerAgent.prototype.getPossibleBreakpoints = function(start, opt_end, opt_restrictToFunction) {};
- /** @typedef {!{start: Protocol.Debugger.Location, end: (Protocol.Debugger.Location|undefined), restrictToFunction: (boolean|undefined)}} */
- Protocol.DebuggerAgent.GetPossibleBreakpointsRequest;
- /** @typedef {!{locations: !Array<Protocol.Debugger.BreakLocation>}} */
- Protocol.DebuggerAgent.GetPossibleBreakpointsResponse;
- /**
- * @param {!Protocol.DebuggerAgent.GetPossibleBreakpointsRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.GetPossibleBreakpointsResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_getPossibleBreakpoints = function(obj) {};
-
- /**
- * @param {Protocol.Runtime.ScriptId} scriptId
- * @return {!Promise<?string>}
- */
- Protocol.DebuggerAgent.prototype.getScriptSource = function(scriptId) {};
- /** @typedef {!{scriptId: Protocol.Runtime.ScriptId}} */
- Protocol.DebuggerAgent.GetScriptSourceRequest;
- /** @typedef {!{scriptSource: string}} */
- Protocol.DebuggerAgent.GetScriptSourceResponse;
- /**
- * @param {!Protocol.DebuggerAgent.GetScriptSourceRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.GetScriptSourceResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_getScriptSource = function(obj) {};
-
- /**
- * @param {Protocol.Runtime.ScriptId} scriptId
- * @return {!Promise<?string>}
- */
- Protocol.DebuggerAgent.prototype.getWasmBytecode = function(scriptId) {};
- /** @typedef {!{scriptId: Protocol.Runtime.ScriptId}} */
- Protocol.DebuggerAgent.GetWasmBytecodeRequest;
- /** @typedef {!{bytecode: string}} */
- Protocol.DebuggerAgent.GetWasmBytecodeResponse;
- /**
- * @param {!Protocol.DebuggerAgent.GetWasmBytecodeRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.GetWasmBytecodeResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_getWasmBytecode = function(obj) {};
-
- /**
- * @param {Protocol.Runtime.StackTraceId} stackTraceId
- * @return {!Promise<?Protocol.Runtime.StackTrace>}
- */
- Protocol.DebuggerAgent.prototype.getStackTrace = function(stackTraceId) {};
- /** @typedef {!{stackTraceId: Protocol.Runtime.StackTraceId}} */
- Protocol.DebuggerAgent.GetStackTraceRequest;
- /** @typedef {!{stackTrace: Protocol.Runtime.StackTrace}} */
- Protocol.DebuggerAgent.GetStackTraceResponse;
- /**
- * @param {!Protocol.DebuggerAgent.GetStackTraceRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.GetStackTraceResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_getStackTrace = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DebuggerAgent.prototype.pause = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.PauseRequest;
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.PauseResponse;
- /**
- * @param {!Protocol.DebuggerAgent.PauseRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.PauseResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_pause = function(obj) {};
-
- /**
- * @param {Protocol.Runtime.StackTraceId} parentStackTraceId
- * @return {!Promise<undefined>}
- */
- Protocol.DebuggerAgent.prototype.pauseOnAsyncCall = function(parentStackTraceId) {};
- /** @typedef {!{parentStackTraceId: Protocol.Runtime.StackTraceId}} */
- Protocol.DebuggerAgent.PauseOnAsyncCallRequest;
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.PauseOnAsyncCallResponse;
- /**
- * @param {!Protocol.DebuggerAgent.PauseOnAsyncCallRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.PauseOnAsyncCallResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_pauseOnAsyncCall = function(obj) {};
-
- /**
- * @param {Protocol.Debugger.BreakpointId} breakpointId
- * @return {!Promise<undefined>}
- */
- Protocol.DebuggerAgent.prototype.removeBreakpoint = function(breakpointId) {};
- /** @typedef {!{breakpointId: Protocol.Debugger.BreakpointId}} */
- Protocol.DebuggerAgent.RemoveBreakpointRequest;
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.RemoveBreakpointResponse;
- /**
- * @param {!Protocol.DebuggerAgent.RemoveBreakpointRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.RemoveBreakpointResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_removeBreakpoint = function(obj) {};
-
- /**
- * @param {Protocol.Debugger.CallFrameId} callFrameId
- * @return {!Promise<?Array<Protocol.Debugger.CallFrame>>}
- */
- Protocol.DebuggerAgent.prototype.restartFrame = function(callFrameId) {};
- /** @typedef {!{callFrameId: Protocol.Debugger.CallFrameId}} */
- Protocol.DebuggerAgent.RestartFrameRequest;
- /** @typedef {!{asyncStackTrace: Protocol.Runtime.StackTrace, asyncStackTraceId: Protocol.Runtime.StackTraceId, callFrames: !Array<Protocol.Debugger.CallFrame>}} */
- Protocol.DebuggerAgent.RestartFrameResponse;
- /**
- * @param {!Protocol.DebuggerAgent.RestartFrameRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.RestartFrameResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_restartFrame = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DebuggerAgent.prototype.resume = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.ResumeRequest;
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.ResumeResponse;
- /**
- * @param {!Protocol.DebuggerAgent.ResumeRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.ResumeResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_resume = function(obj) {};
-
- /**
- * @param {Protocol.Runtime.ScriptId} scriptId
- * @param {string} query
- * @param {boolean=} opt_caseSensitive
- * @param {boolean=} opt_isRegex
- * @return {!Promise<?Array<Protocol.Debugger.SearchMatch>>}
- */
- Protocol.DebuggerAgent.prototype.searchInContent = function(scriptId, query, opt_caseSensitive, opt_isRegex) {};
- /** @typedef {!{query: string, scriptId: Protocol.Runtime.ScriptId, isRegex: (boolean|undefined), caseSensitive: (boolean|undefined)}} */
- Protocol.DebuggerAgent.SearchInContentRequest;
- /** @typedef {!{result: !Array<Protocol.Debugger.SearchMatch>}} */
- Protocol.DebuggerAgent.SearchInContentResponse;
- /**
- * @param {!Protocol.DebuggerAgent.SearchInContentRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.SearchInContentResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_searchInContent = function(obj) {};
-
- /**
- * @param {number} maxDepth
- * @return {!Promise<undefined>}
- */
- Protocol.DebuggerAgent.prototype.setAsyncCallStackDepth = function(maxDepth) {};
- /** @typedef {!{maxDepth: number}} */
- Protocol.DebuggerAgent.SetAsyncCallStackDepthRequest;
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.SetAsyncCallStackDepthResponse;
- /**
- * @param {!Protocol.DebuggerAgent.SetAsyncCallStackDepthRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.SetAsyncCallStackDepthResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_setAsyncCallStackDepth = function(obj) {};
-
- /**
- * @param {!Array<string>} patterns
- * @return {!Promise<undefined>}
- */
- Protocol.DebuggerAgent.prototype.setBlackboxPatterns = function(patterns) {};
- /** @typedef {!{patterns: !Array<string>}} */
- Protocol.DebuggerAgent.SetBlackboxPatternsRequest;
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.SetBlackboxPatternsResponse;
- /**
- * @param {!Protocol.DebuggerAgent.SetBlackboxPatternsRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.SetBlackboxPatternsResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_setBlackboxPatterns = function(obj) {};
-
- /**
- * @param {Protocol.Runtime.ScriptId} scriptId
- * @param {!Array<Protocol.Debugger.ScriptPosition>} positions
- * @return {!Promise<undefined>}
- */
- Protocol.DebuggerAgent.prototype.setBlackboxedRanges = function(scriptId, positions) {};
- /** @typedef {!{positions: !Array<Protocol.Debugger.ScriptPosition>, scriptId: Protocol.Runtime.ScriptId}} */
- Protocol.DebuggerAgent.SetBlackboxedRangesRequest;
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.SetBlackboxedRangesResponse;
- /**
- * @param {!Protocol.DebuggerAgent.SetBlackboxedRangesRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.SetBlackboxedRangesResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_setBlackboxedRanges = function(obj) {};
-
- /**
- * @param {Protocol.Debugger.Location} location
- * @param {string=} opt_condition
- * @return {!Promise<?Protocol.Debugger.BreakpointId>}
- */
- Protocol.DebuggerAgent.prototype.setBreakpoint = function(location, opt_condition) {};
- /** @typedef {!{location: Protocol.Debugger.Location, condition: (string|undefined)}} */
- Protocol.DebuggerAgent.SetBreakpointRequest;
- /** @typedef {!{actualLocation: Protocol.Debugger.Location, breakpointId: Protocol.Debugger.BreakpointId}} */
- Protocol.DebuggerAgent.SetBreakpointResponse;
- /**
- * @param {!Protocol.DebuggerAgent.SetBreakpointRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.SetBreakpointResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_setBreakpoint = function(obj) {};
-
- /**
- * @param {string} instrumentation
- * @return {!Promise<?Protocol.Debugger.BreakpointId>}
- */
- Protocol.DebuggerAgent.prototype.setInstrumentationBreakpoint = function(instrumentation) {};
- /** @typedef {!{instrumentation: string}} */
- Protocol.DebuggerAgent.SetInstrumentationBreakpointRequest;
- /** @typedef {!{breakpointId: Protocol.Debugger.BreakpointId}} */
- Protocol.DebuggerAgent.SetInstrumentationBreakpointResponse;
- /**
- * @param {!Protocol.DebuggerAgent.SetInstrumentationBreakpointRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.SetInstrumentationBreakpointResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_setInstrumentationBreakpoint = function(obj) {};
-
- /**
- * @param {number} lineNumber
- * @param {string=} opt_url
- * @param {string=} opt_urlRegex
- * @param {string=} opt_scriptHash
- * @param {number=} opt_columnNumber
- * @param {string=} opt_condition
- * @return {!Promise<?Protocol.Debugger.BreakpointId>}
- */
- Protocol.DebuggerAgent.prototype.setBreakpointByUrl = function(lineNumber, opt_url, opt_urlRegex, opt_scriptHash, opt_columnNumber, opt_condition) {};
- /** @typedef {!{columnNumber: (number|undefined), urlRegex: (string|undefined), url: (string|undefined), lineNumber: number, scriptHash: (string|undefined), condition: (string|undefined)}} */
- Protocol.DebuggerAgent.SetBreakpointByUrlRequest;
- /** @typedef {!{breakpointId: Protocol.Debugger.BreakpointId, locations: !Array<Protocol.Debugger.Location>}} */
- Protocol.DebuggerAgent.SetBreakpointByUrlResponse;
- /**
- * @param {!Protocol.DebuggerAgent.SetBreakpointByUrlRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.SetBreakpointByUrlResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_setBreakpointByUrl = function(obj) {};
-
- /**
- * @param {Protocol.Runtime.RemoteObjectId} objectId
- * @param {string=} opt_condition
- * @return {!Promise<?Protocol.Debugger.BreakpointId>}
- */
- Protocol.DebuggerAgent.prototype.setBreakpointOnFunctionCall = function(objectId, opt_condition) {};
- /** @typedef {!{condition: (string|undefined), objectId: Protocol.Runtime.RemoteObjectId}} */
- Protocol.DebuggerAgent.SetBreakpointOnFunctionCallRequest;
- /** @typedef {!{breakpointId: Protocol.Debugger.BreakpointId}} */
- Protocol.DebuggerAgent.SetBreakpointOnFunctionCallResponse;
- /**
- * @param {!Protocol.DebuggerAgent.SetBreakpointOnFunctionCallRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.SetBreakpointOnFunctionCallResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_setBreakpointOnFunctionCall = function(obj) {};
-
- /**
- * @param {boolean} active
- * @return {!Promise<undefined>}
- */
- Protocol.DebuggerAgent.prototype.setBreakpointsActive = function(active) {};
- /** @typedef {!{active: boolean}} */
- Protocol.DebuggerAgent.SetBreakpointsActiveRequest;
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.SetBreakpointsActiveResponse;
- /**
- * @param {!Protocol.DebuggerAgent.SetBreakpointsActiveRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.SetBreakpointsActiveResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_setBreakpointsActive = function(obj) {};
-
- /**
- * @param {string} state
- * @return {!Promise<undefined>}
- */
- Protocol.DebuggerAgent.prototype.setPauseOnExceptions = function(state) {};
- /** @typedef {!{state: string}} */
- Protocol.DebuggerAgent.SetPauseOnExceptionsRequest;
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.SetPauseOnExceptionsResponse;
- /**
- * @param {!Protocol.DebuggerAgent.SetPauseOnExceptionsRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.SetPauseOnExceptionsResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_setPauseOnExceptions = function(obj) {};
-
- /**
- * @param {Protocol.Runtime.CallArgument} newValue
- * @return {!Promise<undefined>}
- */
- Protocol.DebuggerAgent.prototype.setReturnValue = function(newValue) {};
- /** @typedef {!{newValue: Protocol.Runtime.CallArgument}} */
- Protocol.DebuggerAgent.SetReturnValueRequest;
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.SetReturnValueResponse;
- /**
- * @param {!Protocol.DebuggerAgent.SetReturnValueRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.SetReturnValueResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_setReturnValue = function(obj) {};
-
- /**
- * @param {Protocol.Runtime.ScriptId} scriptId
- * @param {string} scriptSource
- * @param {boolean=} opt_dryRun
- * @return {!Promise<?Array<Protocol.Debugger.CallFrame>>}
- */
- Protocol.DebuggerAgent.prototype.setScriptSource = function(scriptId, scriptSource, opt_dryRun) {};
- /** @typedef {!{scriptId: Protocol.Runtime.ScriptId, dryRun: (boolean|undefined), scriptSource: string}} */
- Protocol.DebuggerAgent.SetScriptSourceRequest;
- /** @typedef {!{stackChanged: boolean, asyncStackTrace: Protocol.Runtime.StackTrace, exceptionDetails: Protocol.Runtime.ExceptionDetails, callFrames: !Array<Protocol.Debugger.CallFrame>, asyncStackTraceId: Protocol.Runtime.StackTraceId}} */
- Protocol.DebuggerAgent.SetScriptSourceResponse;
- /**
- * @param {!Protocol.DebuggerAgent.SetScriptSourceRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.SetScriptSourceResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_setScriptSource = function(obj) {};
-
- /**
- * @param {boolean} skip
- * @return {!Promise<undefined>}
- */
- Protocol.DebuggerAgent.prototype.setSkipAllPauses = function(skip) {};
- /** @typedef {!{skip: boolean}} */
- Protocol.DebuggerAgent.SetSkipAllPausesRequest;
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.SetSkipAllPausesResponse;
- /**
- * @param {!Protocol.DebuggerAgent.SetSkipAllPausesRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.SetSkipAllPausesResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_setSkipAllPauses = function(obj) {};
-
- /**
- * @param {number} scopeNumber
- * @param {string} variableName
- * @param {Protocol.Runtime.CallArgument} newValue
- * @param {Protocol.Debugger.CallFrameId} callFrameId
- * @return {!Promise<undefined>}
- */
- Protocol.DebuggerAgent.prototype.setVariableValue = function(scopeNumber, variableName, newValue, callFrameId) {};
- /** @typedef {!{callFrameId: Protocol.Debugger.CallFrameId, scopeNumber: number, variableName: string, newValue: Protocol.Runtime.CallArgument}} */
- Protocol.DebuggerAgent.SetVariableValueRequest;
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.SetVariableValueResponse;
- /**
- * @param {!Protocol.DebuggerAgent.SetVariableValueRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.SetVariableValueResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_setVariableValue = function(obj) {};
-
- /**
- * @param {boolean=} opt_breakOnAsyncCall
- * @return {!Promise<undefined>}
- */
- Protocol.DebuggerAgent.prototype.stepInto = function(opt_breakOnAsyncCall) {};
- /** @typedef {!{breakOnAsyncCall: (boolean|undefined)}} */
- Protocol.DebuggerAgent.StepIntoRequest;
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.StepIntoResponse;
- /**
- * @param {!Protocol.DebuggerAgent.StepIntoRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.StepIntoResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_stepInto = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DebuggerAgent.prototype.stepOut = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.StepOutRequest;
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.StepOutResponse;
- /**
- * @param {!Protocol.DebuggerAgent.StepOutRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.StepOutResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_stepOut = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.DebuggerAgent.prototype.stepOver = function() {};
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.StepOverRequest;
- /** @typedef {Object|undefined} */
- Protocol.DebuggerAgent.StepOverResponse;
- /**
- * @param {!Protocol.DebuggerAgent.StepOverRequest} obj
- * @return {!Promise<!Protocol.DebuggerAgent.StepOverResponse>} */
- Protocol.DebuggerAgent.prototype.invoke_stepOver = function(obj) {};
-
- /** @typedef {string} */
- Protocol.Debugger.BreakpointId;
-
- /** @typedef {string} */
- Protocol.Debugger.CallFrameId;
-
- /** @typedef {!{scriptId:(Protocol.Runtime.ScriptId), lineNumber:(number), columnNumber:(number|undefined)}} */
- Protocol.Debugger.Location;
-
- /** @typedef {!{lineNumber:(number), columnNumber:(number)}} */
- Protocol.Debugger.ScriptPosition;
-
- /** @typedef {!{callFrameId:(Protocol.Debugger.CallFrameId), functionName:(string), functionLocation:(Protocol.Debugger.Location|undefined), location:(Protocol.Debugger.Location), url:(string), scopeChain:(!Array<Protocol.Debugger.Scope>), this:(Protocol.Runtime.RemoteObject), returnValue:(Protocol.Runtime.RemoteObject|undefined)}} */
- Protocol.Debugger.CallFrame;
-
- /** @enum {string} */
- Protocol.Debugger.ScopeType = {
- Global: "global",
- Local: "local",
- With: "with",
- Closure: "closure",
- Catch: "catch",
- Block: "block",
- Script: "script",
- Eval: "eval",
- Module: "module"
- };
-
- /** @typedef {!{type:(Protocol.Debugger.ScopeType), object:(Protocol.Runtime.RemoteObject), name:(string|undefined), startLocation:(Protocol.Debugger.Location|undefined), endLocation:(Protocol.Debugger.Location|undefined)}} */
- Protocol.Debugger.Scope;
-
- /** @typedef {!{lineNumber:(number), lineContent:(string)}} */
- Protocol.Debugger.SearchMatch;
-
- /** @enum {string} */
- Protocol.Debugger.BreakLocationType = {
- DebuggerStatement: "debuggerStatement",
- Call: "call",
- Return: "return"
- };
-
- /** @typedef {!{scriptId:(Protocol.Runtime.ScriptId), lineNumber:(number), columnNumber:(number|undefined), type:(Protocol.Debugger.BreakLocationType|undefined)}} */
- Protocol.Debugger.BreakLocation;
- /** @constructor */
- Protocol.DebuggerDispatcher = function() {};
- /**
- * @param {Protocol.Debugger.BreakpointId} breakpointId
- * @param {Protocol.Debugger.Location} location
- */
- Protocol.DebuggerDispatcher.prototype.breakpointResolved = function(breakpointId, location) {};
- /**
- * @param {!Array<Protocol.Debugger.CallFrame>} callFrames
- * @param {string} reason
- * @param {!Object=} opt_data
- * @param {!Array<string>=} opt_hitBreakpoints
- * @param {Protocol.Runtime.StackTrace=} opt_asyncStackTrace
- * @param {Protocol.Runtime.StackTraceId=} opt_asyncStackTraceId
- * @param {Protocol.Runtime.StackTraceId=} opt_asyncCallStackTraceId
- */
- Protocol.DebuggerDispatcher.prototype.paused = function(callFrames, reason, opt_data, opt_hitBreakpoints, opt_asyncStackTrace, opt_asyncStackTraceId, opt_asyncCallStackTraceId) {};
- Protocol.DebuggerDispatcher.prototype.resumed = function() {};
- /**
- * @param {Protocol.Runtime.ScriptId} scriptId
- * @param {string} url
- * @param {number} startLine
- * @param {number} startColumn
- * @param {number} endLine
- * @param {number} endColumn
- * @param {Protocol.Runtime.ExecutionContextId} executionContextId
- * @param {string} hash
- * @param {!Object=} opt_executionContextAuxData
- * @param {string=} opt_sourceMapURL
- * @param {boolean=} opt_hasSourceURL
- * @param {boolean=} opt_isModule
- * @param {number=} opt_length
- * @param {Protocol.Runtime.StackTrace=} opt_stackTrace
- */
- Protocol.DebuggerDispatcher.prototype.scriptFailedToParse = function(scriptId, url, startLine, startColumn, endLine, endColumn, executionContextId, hash, opt_executionContextAuxData, opt_sourceMapURL, opt_hasSourceURL, opt_isModule, opt_length, opt_stackTrace) {};
- /**
- * @param {Protocol.Runtime.ScriptId} scriptId
- * @param {string} url
- * @param {number} startLine
- * @param {number} startColumn
- * @param {number} endLine
- * @param {number} endColumn
- * @param {Protocol.Runtime.ExecutionContextId} executionContextId
- * @param {string} hash
- * @param {!Object=} opt_executionContextAuxData
- * @param {boolean=} opt_isLiveEdit
- * @param {string=} opt_sourceMapURL
- * @param {boolean=} opt_hasSourceURL
- * @param {boolean=} opt_isModule
- * @param {number=} opt_length
- * @param {Protocol.Runtime.StackTrace=} opt_stackTrace
- */
- Protocol.DebuggerDispatcher.prototype.scriptParsed = function(scriptId, url, startLine, startColumn, endLine, endColumn, executionContextId, hash, opt_executionContextAuxData, opt_isLiveEdit, opt_sourceMapURL, opt_hasSourceURL, opt_isModule, opt_length, opt_stackTrace) {};
- Protocol.HeapProfiler = {};
-
-
- /**
- * @constructor
- */
- Protocol.HeapProfilerAgent = function(){};
-
- /**
- * @param {Protocol.HeapProfiler.HeapSnapshotObjectId} heapObjectId
- * @return {!Promise<undefined>}
- */
- Protocol.HeapProfilerAgent.prototype.addInspectedHeapObject = function(heapObjectId) {};
- /** @typedef {!{heapObjectId: Protocol.HeapProfiler.HeapSnapshotObjectId}} */
- Protocol.HeapProfilerAgent.AddInspectedHeapObjectRequest;
- /** @typedef {Object|undefined} */
- Protocol.HeapProfilerAgent.AddInspectedHeapObjectResponse;
- /**
- * @param {!Protocol.HeapProfilerAgent.AddInspectedHeapObjectRequest} obj
- * @return {!Promise<!Protocol.HeapProfilerAgent.AddInspectedHeapObjectResponse>} */
- Protocol.HeapProfilerAgent.prototype.invoke_addInspectedHeapObject = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.HeapProfilerAgent.prototype.collectGarbage = function() {};
- /** @typedef {Object|undefined} */
- Protocol.HeapProfilerAgent.CollectGarbageRequest;
- /** @typedef {Object|undefined} */
- Protocol.HeapProfilerAgent.CollectGarbageResponse;
- /**
- * @param {!Protocol.HeapProfilerAgent.CollectGarbageRequest} obj
- * @return {!Promise<!Protocol.HeapProfilerAgent.CollectGarbageResponse>} */
- Protocol.HeapProfilerAgent.prototype.invoke_collectGarbage = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.HeapProfilerAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.HeapProfilerAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.HeapProfilerAgent.DisableResponse;
- /**
- * @param {!Protocol.HeapProfilerAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.HeapProfilerAgent.DisableResponse>} */
- Protocol.HeapProfilerAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.HeapProfilerAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.HeapProfilerAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.HeapProfilerAgent.EnableResponse;
- /**
- * @param {!Protocol.HeapProfilerAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.HeapProfilerAgent.EnableResponse>} */
- Protocol.HeapProfilerAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @param {Protocol.Runtime.RemoteObjectId} objectId
- * @return {!Promise<?Protocol.HeapProfiler.HeapSnapshotObjectId>}
- */
- Protocol.HeapProfilerAgent.prototype.getHeapObjectId = function(objectId) {};
- /** @typedef {!{objectId: Protocol.Runtime.RemoteObjectId}} */
- Protocol.HeapProfilerAgent.GetHeapObjectIdRequest;
- /** @typedef {!{heapSnapshotObjectId: Protocol.HeapProfiler.HeapSnapshotObjectId}} */
- Protocol.HeapProfilerAgent.GetHeapObjectIdResponse;
- /**
- * @param {!Protocol.HeapProfilerAgent.GetHeapObjectIdRequest} obj
- * @return {!Promise<!Protocol.HeapProfilerAgent.GetHeapObjectIdResponse>} */
- Protocol.HeapProfilerAgent.prototype.invoke_getHeapObjectId = function(obj) {};
-
- /**
- * @param {Protocol.HeapProfiler.HeapSnapshotObjectId} objectId
- * @param {string=} opt_objectGroup
- * @return {!Promise<?Protocol.Runtime.RemoteObject>}
- */
- Protocol.HeapProfilerAgent.prototype.getObjectByHeapObjectId = function(objectId, opt_objectGroup) {};
- /** @typedef {!{objectGroup: (string|undefined), objectId: Protocol.HeapProfiler.HeapSnapshotObjectId}} */
- Protocol.HeapProfilerAgent.GetObjectByHeapObjectIdRequest;
- /** @typedef {!{result: Protocol.Runtime.RemoteObject}} */
- Protocol.HeapProfilerAgent.GetObjectByHeapObjectIdResponse;
- /**
- * @param {!Protocol.HeapProfilerAgent.GetObjectByHeapObjectIdRequest} obj
- * @return {!Promise<!Protocol.HeapProfilerAgent.GetObjectByHeapObjectIdResponse>} */
- Protocol.HeapProfilerAgent.prototype.invoke_getObjectByHeapObjectId = function(obj) {};
-
- /**
- * @return {!Promise<?Protocol.HeapProfiler.SamplingHeapProfile>}
- */
- Protocol.HeapProfilerAgent.prototype.getSamplingProfile = function() {};
- /** @typedef {Object|undefined} */
- Protocol.HeapProfilerAgent.GetSamplingProfileRequest;
- /** @typedef {!{profile: Protocol.HeapProfiler.SamplingHeapProfile}} */
- Protocol.HeapProfilerAgent.GetSamplingProfileResponse;
- /**
- * @param {!Protocol.HeapProfilerAgent.GetSamplingProfileRequest} obj
- * @return {!Promise<!Protocol.HeapProfilerAgent.GetSamplingProfileResponse>} */
- Protocol.HeapProfilerAgent.prototype.invoke_getSamplingProfile = function(obj) {};
-
- /**
- * @param {number=} opt_samplingInterval
- * @return {!Promise<undefined>}
- */
- Protocol.HeapProfilerAgent.prototype.startSampling = function(opt_samplingInterval) {};
- /** @typedef {!{samplingInterval: (number|undefined)}} */
- Protocol.HeapProfilerAgent.StartSamplingRequest;
- /** @typedef {Object|undefined} */
- Protocol.HeapProfilerAgent.StartSamplingResponse;
- /**
- * @param {!Protocol.HeapProfilerAgent.StartSamplingRequest} obj
- * @return {!Promise<!Protocol.HeapProfilerAgent.StartSamplingResponse>} */
- Protocol.HeapProfilerAgent.prototype.invoke_startSampling = function(obj) {};
-
- /**
- * @param {boolean=} opt_trackAllocations
- * @return {!Promise<undefined>}
- */
- Protocol.HeapProfilerAgent.prototype.startTrackingHeapObjects = function(opt_trackAllocations) {};
- /** @typedef {!{trackAllocations: (boolean|undefined)}} */
- Protocol.HeapProfilerAgent.StartTrackingHeapObjectsRequest;
- /** @typedef {Object|undefined} */
- Protocol.HeapProfilerAgent.StartTrackingHeapObjectsResponse;
- /**
- * @param {!Protocol.HeapProfilerAgent.StartTrackingHeapObjectsRequest} obj
- * @return {!Promise<!Protocol.HeapProfilerAgent.StartTrackingHeapObjectsResponse>} */
- Protocol.HeapProfilerAgent.prototype.invoke_startTrackingHeapObjects = function(obj) {};
-
- /**
- * @return {!Promise<?Protocol.HeapProfiler.SamplingHeapProfile>}
- */
- Protocol.HeapProfilerAgent.prototype.stopSampling = function() {};
- /** @typedef {Object|undefined} */
- Protocol.HeapProfilerAgent.StopSamplingRequest;
- /** @typedef {!{profile: Protocol.HeapProfiler.SamplingHeapProfile}} */
- Protocol.HeapProfilerAgent.StopSamplingResponse;
- /**
- * @param {!Protocol.HeapProfilerAgent.StopSamplingRequest} obj
- * @return {!Promise<!Protocol.HeapProfilerAgent.StopSamplingResponse>} */
- Protocol.HeapProfilerAgent.prototype.invoke_stopSampling = function(obj) {};
-
- /**
- * @param {boolean=} opt_reportProgress
- * @return {!Promise<undefined>}
- */
- Protocol.HeapProfilerAgent.prototype.stopTrackingHeapObjects = function(opt_reportProgress) {};
- /** @typedef {!{reportProgress: (boolean|undefined)}} */
- Protocol.HeapProfilerAgent.StopTrackingHeapObjectsRequest;
- /** @typedef {Object|undefined} */
- Protocol.HeapProfilerAgent.StopTrackingHeapObjectsResponse;
- /**
- * @param {!Protocol.HeapProfilerAgent.StopTrackingHeapObjectsRequest} obj
- * @return {!Promise<!Protocol.HeapProfilerAgent.StopTrackingHeapObjectsResponse>} */
- Protocol.HeapProfilerAgent.prototype.invoke_stopTrackingHeapObjects = function(obj) {};
-
- /**
- * @param {boolean=} opt_reportProgress
- * @return {!Promise<undefined>}
- */
- Protocol.HeapProfilerAgent.prototype.takeHeapSnapshot = function(opt_reportProgress) {};
- /** @typedef {!{reportProgress: (boolean|undefined)}} */
- Protocol.HeapProfilerAgent.TakeHeapSnapshotRequest;
- /** @typedef {Object|undefined} */
- Protocol.HeapProfilerAgent.TakeHeapSnapshotResponse;
- /**
- * @param {!Protocol.HeapProfilerAgent.TakeHeapSnapshotRequest} obj
- * @return {!Promise<!Protocol.HeapProfilerAgent.TakeHeapSnapshotResponse>} */
- Protocol.HeapProfilerAgent.prototype.invoke_takeHeapSnapshot = function(obj) {};
-
- /** @typedef {string} */
- Protocol.HeapProfiler.HeapSnapshotObjectId;
-
- /** @typedef {!{callFrame:(Protocol.Runtime.CallFrame), selfSize:(number), id:(number), children:(!Array<Protocol.HeapProfiler.SamplingHeapProfileNode>)}} */
- Protocol.HeapProfiler.SamplingHeapProfileNode;
-
- /** @typedef {!{size:(number), nodeId:(number), ordinal:(number)}} */
- Protocol.HeapProfiler.SamplingHeapProfileSample;
-
- /** @typedef {!{head:(Protocol.HeapProfiler.SamplingHeapProfileNode), samples:(!Array<Protocol.HeapProfiler.SamplingHeapProfileSample>)}} */
- Protocol.HeapProfiler.SamplingHeapProfile;
- /** @constructor */
- Protocol.HeapProfilerDispatcher = function() {};
- /**
- * @param {string} chunk
- */
- Protocol.HeapProfilerDispatcher.prototype.addHeapSnapshotChunk = function(chunk) {};
- /**
- * @param {!Array<number>} statsUpdate
- */
- Protocol.HeapProfilerDispatcher.prototype.heapStatsUpdate = function(statsUpdate) {};
- /**
- * @param {number} lastSeenObjectId
- * @param {number} timestamp
- */
- Protocol.HeapProfilerDispatcher.prototype.lastSeenObjectId = function(lastSeenObjectId, timestamp) {};
- /**
- * @param {number} done
- * @param {number} total
- * @param {boolean=} opt_finished
- */
- Protocol.HeapProfilerDispatcher.prototype.reportHeapSnapshotProgress = function(done, total, opt_finished) {};
- Protocol.HeapProfilerDispatcher.prototype.resetProfiles = function() {};
- Protocol.Profiler = {};
-
-
- /**
- * @constructor
- */
- Protocol.ProfilerAgent = function(){};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.ProfilerAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.ProfilerAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.ProfilerAgent.DisableResponse;
- /**
- * @param {!Protocol.ProfilerAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.ProfilerAgent.DisableResponse>} */
- Protocol.ProfilerAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.ProfilerAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.ProfilerAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.ProfilerAgent.EnableResponse;
- /**
- * @param {!Protocol.ProfilerAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.ProfilerAgent.EnableResponse>} */
- Protocol.ProfilerAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @return {!Promise<?Array<Protocol.Profiler.ScriptCoverage>>}
- */
- Protocol.ProfilerAgent.prototype.getBestEffortCoverage = function() {};
- /** @typedef {Object|undefined} */
- Protocol.ProfilerAgent.GetBestEffortCoverageRequest;
- /** @typedef {!{result: !Array<Protocol.Profiler.ScriptCoverage>}} */
- Protocol.ProfilerAgent.GetBestEffortCoverageResponse;
- /**
- * @param {!Protocol.ProfilerAgent.GetBestEffortCoverageRequest} obj
- * @return {!Promise<!Protocol.ProfilerAgent.GetBestEffortCoverageResponse>} */
- Protocol.ProfilerAgent.prototype.invoke_getBestEffortCoverage = function(obj) {};
-
- /**
- * @param {number} interval
- * @return {!Promise<undefined>}
- */
- Protocol.ProfilerAgent.prototype.setSamplingInterval = function(interval) {};
- /** @typedef {!{interval: number}} */
- Protocol.ProfilerAgent.SetSamplingIntervalRequest;
- /** @typedef {Object|undefined} */
- Protocol.ProfilerAgent.SetSamplingIntervalResponse;
- /**
- * @param {!Protocol.ProfilerAgent.SetSamplingIntervalRequest} obj
- * @return {!Promise<!Protocol.ProfilerAgent.SetSamplingIntervalResponse>} */
- Protocol.ProfilerAgent.prototype.invoke_setSamplingInterval = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.ProfilerAgent.prototype.start = function() {};
- /** @typedef {Object|undefined} */
- Protocol.ProfilerAgent.StartRequest;
- /** @typedef {Object|undefined} */
- Protocol.ProfilerAgent.StartResponse;
- /**
- * @param {!Protocol.ProfilerAgent.StartRequest} obj
- * @return {!Promise<!Protocol.ProfilerAgent.StartResponse>} */
- Protocol.ProfilerAgent.prototype.invoke_start = function(obj) {};
-
- /**
- * @param {boolean=} opt_callCount
- * @param {boolean=} opt_detailed
- * @return {!Promise<undefined>}
- */
- Protocol.ProfilerAgent.prototype.startPreciseCoverage = function(opt_callCount, opt_detailed) {};
- /** @typedef {!{detailed: (boolean|undefined), callCount: (boolean|undefined)}} */
- Protocol.ProfilerAgent.StartPreciseCoverageRequest;
- /** @typedef {Object|undefined} */
- Protocol.ProfilerAgent.StartPreciseCoverageResponse;
- /**
- * @param {!Protocol.ProfilerAgent.StartPreciseCoverageRequest} obj
- * @return {!Promise<!Protocol.ProfilerAgent.StartPreciseCoverageResponse>} */
- Protocol.ProfilerAgent.prototype.invoke_startPreciseCoverage = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.ProfilerAgent.prototype.startTypeProfile = function() {};
- /** @typedef {Object|undefined} */
- Protocol.ProfilerAgent.StartTypeProfileRequest;
- /** @typedef {Object|undefined} */
- Protocol.ProfilerAgent.StartTypeProfileResponse;
- /**
- * @param {!Protocol.ProfilerAgent.StartTypeProfileRequest} obj
- * @return {!Promise<!Protocol.ProfilerAgent.StartTypeProfileResponse>} */
- Protocol.ProfilerAgent.prototype.invoke_startTypeProfile = function(obj) {};
-
- /**
- * @return {!Promise<?Protocol.Profiler.Profile>}
- */
- Protocol.ProfilerAgent.prototype.stop = function() {};
- /** @typedef {Object|undefined} */
- Protocol.ProfilerAgent.StopRequest;
- /** @typedef {!{profile: Protocol.Profiler.Profile}} */
- Protocol.ProfilerAgent.StopResponse;
- /**
- * @param {!Protocol.ProfilerAgent.StopRequest} obj
- * @return {!Promise<!Protocol.ProfilerAgent.StopResponse>} */
- Protocol.ProfilerAgent.prototype.invoke_stop = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.ProfilerAgent.prototype.stopPreciseCoverage = function() {};
- /** @typedef {Object|undefined} */
- Protocol.ProfilerAgent.StopPreciseCoverageRequest;
- /** @typedef {Object|undefined} */
- Protocol.ProfilerAgent.StopPreciseCoverageResponse;
- /**
- * @param {!Protocol.ProfilerAgent.StopPreciseCoverageRequest} obj
- * @return {!Promise<!Protocol.ProfilerAgent.StopPreciseCoverageResponse>} */
- Protocol.ProfilerAgent.prototype.invoke_stopPreciseCoverage = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.ProfilerAgent.prototype.stopTypeProfile = function() {};
- /** @typedef {Object|undefined} */
- Protocol.ProfilerAgent.StopTypeProfileRequest;
- /** @typedef {Object|undefined} */
- Protocol.ProfilerAgent.StopTypeProfileResponse;
- /**
- * @param {!Protocol.ProfilerAgent.StopTypeProfileRequest} obj
- * @return {!Promise<!Protocol.ProfilerAgent.StopTypeProfileResponse>} */
- Protocol.ProfilerAgent.prototype.invoke_stopTypeProfile = function(obj) {};
-
- /**
- * @return {!Promise<?Array<Protocol.Profiler.ScriptCoverage>>}
- */
- Protocol.ProfilerAgent.prototype.takePreciseCoverage = function() {};
- /** @typedef {Object|undefined} */
- Protocol.ProfilerAgent.TakePreciseCoverageRequest;
- /** @typedef {!{result: !Array<Protocol.Profiler.ScriptCoverage>}} */
- Protocol.ProfilerAgent.TakePreciseCoverageResponse;
- /**
- * @param {!Protocol.ProfilerAgent.TakePreciseCoverageRequest} obj
- * @return {!Promise<!Protocol.ProfilerAgent.TakePreciseCoverageResponse>} */
- Protocol.ProfilerAgent.prototype.invoke_takePreciseCoverage = function(obj) {};
-
- /**
- * @return {!Promise<?Array<Protocol.Profiler.ScriptTypeProfile>>}
- */
- Protocol.ProfilerAgent.prototype.takeTypeProfile = function() {};
- /** @typedef {Object|undefined} */
- Protocol.ProfilerAgent.TakeTypeProfileRequest;
- /** @typedef {!{result: !Array<Protocol.Profiler.ScriptTypeProfile>}} */
- Protocol.ProfilerAgent.TakeTypeProfileResponse;
- /**
- * @param {!Protocol.ProfilerAgent.TakeTypeProfileRequest} obj
- * @return {!Promise<!Protocol.ProfilerAgent.TakeTypeProfileResponse>} */
- Protocol.ProfilerAgent.prototype.invoke_takeTypeProfile = function(obj) {};
-
- /** @typedef {!{id:(number), callFrame:(Protocol.Runtime.CallFrame), hitCount:(number|undefined), children:(!Array<number>|undefined), deoptReason:(string|undefined), positionTicks:(!Array<Protocol.Profiler.PositionTickInfo>|undefined)}} */
- Protocol.Profiler.ProfileNode;
-
- /** @typedef {!{nodes:(!Array<Protocol.Profiler.ProfileNode>), startTime:(number), endTime:(number), samples:(!Array<number>|undefined), timeDeltas:(!Array<number>|undefined)}} */
- Protocol.Profiler.Profile;
-
- /** @typedef {!{line:(number), ticks:(number)}} */
- Protocol.Profiler.PositionTickInfo;
-
- /** @typedef {!{startOffset:(number), endOffset:(number), count:(number)}} */
- Protocol.Profiler.CoverageRange;
-
- /** @typedef {!{functionName:(string), ranges:(!Array<Protocol.Profiler.CoverageRange>), isBlockCoverage:(boolean)}} */
- Protocol.Profiler.FunctionCoverage;
-
- /** @typedef {!{scriptId:(Protocol.Runtime.ScriptId), url:(string), functions:(!Array<Protocol.Profiler.FunctionCoverage>)}} */
- Protocol.Profiler.ScriptCoverage;
-
- /** @typedef {!{name:(string)}} */
- Protocol.Profiler.TypeObject;
-
- /** @typedef {!{offset:(number), types:(!Array<Protocol.Profiler.TypeObject>)}} */
- Protocol.Profiler.TypeProfileEntry;
-
- /** @typedef {!{scriptId:(Protocol.Runtime.ScriptId), url:(string), entries:(!Array<Protocol.Profiler.TypeProfileEntry>)}} */
- Protocol.Profiler.ScriptTypeProfile;
- /** @interface */
- Protocol.ProfilerDispatcher = function() {};
- /**
- * @param {string} id
- * @param {Protocol.Debugger.Location} location
- * @param {Protocol.Profiler.Profile} profile
- * @param {string=} opt_title
- */
- Protocol.ProfilerDispatcher.prototype.consoleProfileFinished = function(id, location, profile, opt_title) {};
- /**
- * @param {string} id
- * @param {Protocol.Debugger.Location} location
- * @param {string=} opt_title
- */
- Protocol.ProfilerDispatcher.prototype.consoleProfileStarted = function(id, location, opt_title) {};
- Protocol.Runtime = {};
-
-
- /**
- * @constructor
- */
- Protocol.RuntimeAgent = function(){};
-
- /**
- * @param {Protocol.Runtime.RemoteObjectId} promiseObjectId
- * @param {boolean=} opt_returnByValue
- * @param {boolean=} opt_generatePreview
- * @return {!Promise<?Protocol.Runtime.RemoteObject>}
- */
- Protocol.RuntimeAgent.prototype.awaitPromise = function(promiseObjectId, opt_returnByValue, opt_generatePreview) {};
- /** @typedef {!{returnByValue: (boolean|undefined), generatePreview: (boolean|undefined), promiseObjectId: Protocol.Runtime.RemoteObjectId}} */
- Protocol.RuntimeAgent.AwaitPromiseRequest;
- /** @typedef {!{exceptionDetails: Protocol.Runtime.ExceptionDetails, result: Protocol.Runtime.RemoteObject}} */
- Protocol.RuntimeAgent.AwaitPromiseResponse;
- /**
- * @param {!Protocol.RuntimeAgent.AwaitPromiseRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.AwaitPromiseResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_awaitPromise = function(obj) {};
-
- /**
- * @param {string} functionDeclaration
- * @param {Protocol.Runtime.RemoteObjectId=} opt_objectId
- * @param {!Array<Protocol.Runtime.CallArgument>=} opt__arguments
- * @param {boolean=} opt_silent
- * @param {boolean=} opt_returnByValue
- * @param {boolean=} opt_generatePreview
- * @param {boolean=} opt_userGesture
- * @param {boolean=} opt_awaitPromise
- * @param {Protocol.Runtime.ExecutionContextId=} opt_executionContextId
- * @param {string=} opt_objectGroup
- * @return {!Promise<?Protocol.Runtime.RemoteObject>}
- */
- Protocol.RuntimeAgent.prototype.callFunctionOn = function(functionDeclaration, opt_objectId, opt__arguments, opt_silent, opt_returnByValue, opt_generatePreview, opt_userGesture, opt_awaitPromise, opt_executionContextId, opt_objectGroup) {};
- /** @typedef {!{objectGroup: (string|undefined), silent: (boolean|undefined), objectId: (Protocol.Runtime.RemoteObjectId|undefined), functionDeclaration: string, generatePreview: (boolean|undefined), executionContextId: (Protocol.Runtime.ExecutionContextId|undefined), returnByValue: (boolean|undefined), _arguments: (!Array<Protocol.Runtime.CallArgument>|undefined), userGesture: (boolean|undefined), awaitPromise: (boolean|undefined)}} */
- Protocol.RuntimeAgent.CallFunctionOnRequest;
- /** @typedef {!{exceptionDetails: Protocol.Runtime.ExceptionDetails, result: Protocol.Runtime.RemoteObject}} */
- Protocol.RuntimeAgent.CallFunctionOnResponse;
- /**
- * @param {!Protocol.RuntimeAgent.CallFunctionOnRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.CallFunctionOnResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_callFunctionOn = function(obj) {};
-
- /**
- * @param {string} expression
- * @param {string} sourceURL
- * @param {boolean} persistScript
- * @param {Protocol.Runtime.ExecutionContextId=} opt_executionContextId
- * @return {!Promise<?Protocol.Runtime.ScriptId>}
- */
- Protocol.RuntimeAgent.prototype.compileScript = function(expression, sourceURL, persistScript, opt_executionContextId) {};
- /** @typedef {!{persistScript: boolean, sourceURL: string, expression: string, executionContextId: (Protocol.Runtime.ExecutionContextId|undefined)}} */
- Protocol.RuntimeAgent.CompileScriptRequest;
- /** @typedef {!{scriptId: Protocol.Runtime.ScriptId, exceptionDetails: Protocol.Runtime.ExceptionDetails}} */
- Protocol.RuntimeAgent.CompileScriptResponse;
- /**
- * @param {!Protocol.RuntimeAgent.CompileScriptRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.CompileScriptResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_compileScript = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.RuntimeAgent.prototype.disable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.RuntimeAgent.DisableRequest;
- /** @typedef {Object|undefined} */
- Protocol.RuntimeAgent.DisableResponse;
- /**
- * @param {!Protocol.RuntimeAgent.DisableRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.DisableResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_disable = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.RuntimeAgent.prototype.discardConsoleEntries = function() {};
- /** @typedef {Object|undefined} */
- Protocol.RuntimeAgent.DiscardConsoleEntriesRequest;
- /** @typedef {Object|undefined} */
- Protocol.RuntimeAgent.DiscardConsoleEntriesResponse;
- /**
- * @param {!Protocol.RuntimeAgent.DiscardConsoleEntriesRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.DiscardConsoleEntriesResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_discardConsoleEntries = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.RuntimeAgent.prototype.enable = function() {};
- /** @typedef {Object|undefined} */
- Protocol.RuntimeAgent.EnableRequest;
- /** @typedef {Object|undefined} */
- Protocol.RuntimeAgent.EnableResponse;
- /**
- * @param {!Protocol.RuntimeAgent.EnableRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.EnableResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_enable = function(obj) {};
-
- /**
- * @param {string} expression
- * @param {string=} opt_objectGroup
- * @param {boolean=} opt_includeCommandLineAPI
- * @param {boolean=} opt_silent
- * @param {Protocol.Runtime.ExecutionContextId=} opt_contextId
- * @param {boolean=} opt_returnByValue
- * @param {boolean=} opt_generatePreview
- * @param {boolean=} opt_userGesture
- * @param {boolean=} opt_awaitPromise
- * @param {boolean=} opt_throwOnSideEffect
- * @param {Protocol.Runtime.TimeDelta=} opt_timeout
- * @param {boolean=} opt_disableBreaks
- * @param {boolean=} opt_replMode
- * @return {!Promise<?Protocol.Runtime.RemoteObject>}
- */
- Protocol.RuntimeAgent.prototype.evaluate = function(expression, opt_objectGroup, opt_includeCommandLineAPI, opt_silent, opt_contextId, opt_returnByValue, opt_generatePreview, opt_userGesture, opt_awaitPromise, opt_throwOnSideEffect, opt_timeout, opt_disableBreaks, opt_replMode) {};
- /** @typedef {!{objectGroup: (string|undefined), includeCommandLineAPI: (boolean|undefined), contextId: (Protocol.Runtime.ExecutionContextId|undefined), silent: (boolean|undefined), throwOnSideEffect: (boolean|undefined), generatePreview: (boolean|undefined), replMode: (boolean|undefined), returnByValue: (boolean|undefined), timeout: (Protocol.Runtime.TimeDelta|undefined), expression: string, userGesture: (boolean|undefined), disableBreaks: (boolean|undefined), awaitPromise: (boolean|undefined)}} */
- Protocol.RuntimeAgent.EvaluateRequest;
- /** @typedef {!{exceptionDetails: Protocol.Runtime.ExceptionDetails, result: Protocol.Runtime.RemoteObject}} */
- Protocol.RuntimeAgent.EvaluateResponse;
- /**
- * @param {!Protocol.RuntimeAgent.EvaluateRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.EvaluateResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_evaluate = function(obj) {};
-
- /**
- * @return {!Promise<?string>}
- */
- Protocol.RuntimeAgent.prototype.getIsolateId = function() {};
- /** @typedef {Object|undefined} */
- Protocol.RuntimeAgent.GetIsolateIdRequest;
- /** @typedef {!{id: string}} */
- Protocol.RuntimeAgent.GetIsolateIdResponse;
- /**
- * @param {!Protocol.RuntimeAgent.GetIsolateIdRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.GetIsolateIdResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_getIsolateId = function(obj) {};
-
- /**
- * @return {!Promise<?number>}
- */
- Protocol.RuntimeAgent.prototype.getHeapUsage = function() {};
- /** @typedef {Object|undefined} */
- Protocol.RuntimeAgent.GetHeapUsageRequest;
- /** @typedef {!{totalSize: number, usedSize: number}} */
- Protocol.RuntimeAgent.GetHeapUsageResponse;
- /**
- * @param {!Protocol.RuntimeAgent.GetHeapUsageRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.GetHeapUsageResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_getHeapUsage = function(obj) {};
-
- /**
- * @param {Protocol.Runtime.RemoteObjectId} objectId
- * @param {boolean=} opt_ownProperties
- * @param {boolean=} opt_accessorPropertiesOnly
- * @param {boolean=} opt_generatePreview
- * @return {!Promise<?Array<Protocol.Runtime.PropertyDescriptor>>}
- */
- Protocol.RuntimeAgent.prototype.getProperties = function(objectId, opt_ownProperties, opt_accessorPropertiesOnly, opt_generatePreview) {};
- /** @typedef {!{ownProperties: (boolean|undefined), generatePreview: (boolean|undefined), accessorPropertiesOnly: (boolean|undefined), objectId: Protocol.Runtime.RemoteObjectId}} */
- Protocol.RuntimeAgent.GetPropertiesRequest;
- /** @typedef {!{internalProperties: !Array<Protocol.Runtime.InternalPropertyDescriptor>, exceptionDetails: Protocol.Runtime.ExceptionDetails, result: !Array<Protocol.Runtime.PropertyDescriptor>, privateProperties: !Array<Protocol.Runtime.PrivatePropertyDescriptor>}} */
- Protocol.RuntimeAgent.GetPropertiesResponse;
- /**
- * @param {!Protocol.RuntimeAgent.GetPropertiesRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.GetPropertiesResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_getProperties = function(obj) {};
-
- /**
- * @param {Protocol.Runtime.ExecutionContextId=} opt_executionContextId
- * @return {!Promise<?Array<string>>}
- */
- Protocol.RuntimeAgent.prototype.globalLexicalScopeNames = function(opt_executionContextId) {};
- /** @typedef {!{executionContextId: (Protocol.Runtime.ExecutionContextId|undefined)}} */
- Protocol.RuntimeAgent.GlobalLexicalScopeNamesRequest;
- /** @typedef {!{names: !Array<string>}} */
- Protocol.RuntimeAgent.GlobalLexicalScopeNamesResponse;
- /**
- * @param {!Protocol.RuntimeAgent.GlobalLexicalScopeNamesRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.GlobalLexicalScopeNamesResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_globalLexicalScopeNames = function(obj) {};
-
- /**
- * @param {Protocol.Runtime.RemoteObjectId} prototypeObjectId
- * @param {string=} opt_objectGroup
- * @return {!Promise<?Protocol.Runtime.RemoteObject>}
- */
- Protocol.RuntimeAgent.prototype.queryObjects = function(prototypeObjectId, opt_objectGroup) {};
- /** @typedef {!{prototypeObjectId: Protocol.Runtime.RemoteObjectId, objectGroup: (string|undefined)}} */
- Protocol.RuntimeAgent.QueryObjectsRequest;
- /** @typedef {!{objects: Protocol.Runtime.RemoteObject}} */
- Protocol.RuntimeAgent.QueryObjectsResponse;
- /**
- * @param {!Protocol.RuntimeAgent.QueryObjectsRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.QueryObjectsResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_queryObjects = function(obj) {};
-
- /**
- * @param {Protocol.Runtime.RemoteObjectId} objectId
- * @return {!Promise<undefined>}
- */
- Protocol.RuntimeAgent.prototype.releaseObject = function(objectId) {};
- /** @typedef {!{objectId: Protocol.Runtime.RemoteObjectId}} */
- Protocol.RuntimeAgent.ReleaseObjectRequest;
- /** @typedef {Object|undefined} */
- Protocol.RuntimeAgent.ReleaseObjectResponse;
- /**
- * @param {!Protocol.RuntimeAgent.ReleaseObjectRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.ReleaseObjectResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_releaseObject = function(obj) {};
-
- /**
- * @param {string} objectGroup
- * @return {!Promise<undefined>}
- */
- Protocol.RuntimeAgent.prototype.releaseObjectGroup = function(objectGroup) {};
- /** @typedef {!{objectGroup: string}} */
- Protocol.RuntimeAgent.ReleaseObjectGroupRequest;
- /** @typedef {Object|undefined} */
- Protocol.RuntimeAgent.ReleaseObjectGroupResponse;
- /**
- * @param {!Protocol.RuntimeAgent.ReleaseObjectGroupRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.ReleaseObjectGroupResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_releaseObjectGroup = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.RuntimeAgent.prototype.runIfWaitingForDebugger = function() {};
- /** @typedef {Object|undefined} */
- Protocol.RuntimeAgent.RunIfWaitingForDebuggerRequest;
- /** @typedef {Object|undefined} */
- Protocol.RuntimeAgent.RunIfWaitingForDebuggerResponse;
- /**
- * @param {!Protocol.RuntimeAgent.RunIfWaitingForDebuggerRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.RunIfWaitingForDebuggerResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_runIfWaitingForDebugger = function(obj) {};
-
- /**
- * @param {Protocol.Runtime.ScriptId} scriptId
- * @param {Protocol.Runtime.ExecutionContextId=} opt_executionContextId
- * @param {string=} opt_objectGroup
- * @param {boolean=} opt_silent
- * @param {boolean=} opt_includeCommandLineAPI
- * @param {boolean=} opt_returnByValue
- * @param {boolean=} opt_generatePreview
- * @param {boolean=} opt_awaitPromise
- * @return {!Promise<?Protocol.Runtime.RemoteObject>}
- */
- Protocol.RuntimeAgent.prototype.runScript = function(scriptId, opt_executionContextId, opt_objectGroup, opt_silent, opt_includeCommandLineAPI, opt_returnByValue, opt_generatePreview, opt_awaitPromise) {};
- /** @typedef {!{objectGroup: (string|undefined), includeCommandLineAPI: (boolean|undefined), silent: (boolean|undefined), generatePreview: (boolean|undefined), executionContextId: (Protocol.Runtime.ExecutionContextId|undefined), returnByValue: (boolean|undefined), scriptId: Protocol.Runtime.ScriptId, awaitPromise: (boolean|undefined)}} */
- Protocol.RuntimeAgent.RunScriptRequest;
- /** @typedef {!{exceptionDetails: Protocol.Runtime.ExceptionDetails, result: Protocol.Runtime.RemoteObject}} */
- Protocol.RuntimeAgent.RunScriptResponse;
- /**
- * @param {!Protocol.RuntimeAgent.RunScriptRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.RunScriptResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_runScript = function(obj) {};
-
- /**
- * @param {number} maxDepth
- * @return {!Promise<undefined>}
- */
- Protocol.RuntimeAgent.prototype.setAsyncCallStackDepth = function(maxDepth) {};
- /** @typedef {!{maxDepth: number}} */
- Protocol.RuntimeAgent.SetAsyncCallStackDepthRequest;
- /** @typedef {Object|undefined} */
- Protocol.RuntimeAgent.SetAsyncCallStackDepthResponse;
- /**
- * @param {!Protocol.RuntimeAgent.SetAsyncCallStackDepthRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.SetAsyncCallStackDepthResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_setAsyncCallStackDepth = function(obj) {};
-
- /**
- * @param {boolean} enabled
- * @return {!Promise<undefined>}
- */
- Protocol.RuntimeAgent.prototype.setCustomObjectFormatterEnabled = function(enabled) {};
- /** @typedef {!{enabled: boolean}} */
- Protocol.RuntimeAgent.SetCustomObjectFormatterEnabledRequest;
- /** @typedef {Object|undefined} */
- Protocol.RuntimeAgent.SetCustomObjectFormatterEnabledResponse;
- /**
- * @param {!Protocol.RuntimeAgent.SetCustomObjectFormatterEnabledRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.SetCustomObjectFormatterEnabledResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_setCustomObjectFormatterEnabled = function(obj) {};
-
- /**
- * @param {number} size
- * @return {!Promise<undefined>}
- */
- Protocol.RuntimeAgent.prototype.setMaxCallStackSizeToCapture = function(size) {};
- /** @typedef {!{size: number}} */
- Protocol.RuntimeAgent.SetMaxCallStackSizeToCaptureRequest;
- /** @typedef {Object|undefined} */
- Protocol.RuntimeAgent.SetMaxCallStackSizeToCaptureResponse;
- /**
- * @param {!Protocol.RuntimeAgent.SetMaxCallStackSizeToCaptureRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.SetMaxCallStackSizeToCaptureResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_setMaxCallStackSizeToCapture = function(obj) {};
-
- /**
- * @return {!Promise<undefined>}
- */
- Protocol.RuntimeAgent.prototype.terminateExecution = function() {};
- /** @typedef {Object|undefined} */
- Protocol.RuntimeAgent.TerminateExecutionRequest;
- /** @typedef {Object|undefined} */
- Protocol.RuntimeAgent.TerminateExecutionResponse;
- /**
- * @param {!Protocol.RuntimeAgent.TerminateExecutionRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.TerminateExecutionResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_terminateExecution = function(obj) {};
-
- /**
- * @param {string} name
- * @param {Protocol.Runtime.ExecutionContextId=} opt_executionContextId
- * @return {!Promise<undefined>}
- */
- Protocol.RuntimeAgent.prototype.addBinding = function(name, opt_executionContextId) {};
- /** @typedef {!{name: string, executionContextId: (Protocol.Runtime.ExecutionContextId|undefined)}} */
- Protocol.RuntimeAgent.AddBindingRequest;
- /** @typedef {Object|undefined} */
- Protocol.RuntimeAgent.AddBindingResponse;
- /**
- * @param {!Protocol.RuntimeAgent.AddBindingRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.AddBindingResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_addBinding = function(obj) {};
-
- /**
- * @param {string} name
- * @return {!Promise<undefined>}
- */
- Protocol.RuntimeAgent.prototype.removeBinding = function(name) {};
- /** @typedef {!{name: string}} */
- Protocol.RuntimeAgent.RemoveBindingRequest;
- /** @typedef {Object|undefined} */
- Protocol.RuntimeAgent.RemoveBindingResponse;
- /**
- * @param {!Protocol.RuntimeAgent.RemoveBindingRequest} obj
- * @return {!Promise<!Protocol.RuntimeAgent.RemoveBindingResponse>} */
- Protocol.RuntimeAgent.prototype.invoke_removeBinding = function(obj) {};
-
- /** @typedef {string} */
- Protocol.Runtime.ScriptId;
-
- /** @typedef {string} */
- Protocol.Runtime.RemoteObjectId;
-
- /** @typedef {string} */
- Protocol.Runtime.UnserializableValue;
-
- /** @enum {string} */
- Protocol.Runtime.RemoteObjectType = {
- Object: "object",
- Function: "function",
- Undefined: "undefined",
- String: "string",
- Number: "number",
- Boolean: "boolean",
- Symbol: "symbol",
- Bigint: "bigint"
- };
-
- /** @enum {string} */
- Protocol.Runtime.RemoteObjectSubtype = {
- Array: "array",
- Null: "null",
- Node: "node",
- Regexp: "regexp",
- Date: "date",
- Map: "map",
- Set: "set",
- Weakmap: "weakmap",
- Weakset: "weakset",
- Iterator: "iterator",
- Generator: "generator",
- Error: "error",
- Proxy: "proxy",
- Promise: "promise",
- Typedarray: "typedarray",
- Arraybuffer: "arraybuffer",
- Dataview: "dataview"
- };
-
- /** @typedef {!{type:(Protocol.Runtime.RemoteObjectType), subtype:(Protocol.Runtime.RemoteObjectSubtype|undefined), className:(string|undefined), value:(*|undefined), unserializableValue:(Protocol.Runtime.UnserializableValue|undefined), description:(string|undefined), objectId:(Protocol.Runtime.RemoteObjectId|undefined), preview:(Protocol.Runtime.ObjectPreview|undefined), customPreview:(Protocol.Runtime.CustomPreview|undefined)}} */
- Protocol.Runtime.RemoteObject;
-
- /** @typedef {!{header:(string), bodyGetterId:(Protocol.Runtime.RemoteObjectId|undefined)}} */
- Protocol.Runtime.CustomPreview;
-
- /** @enum {string} */
- Protocol.Runtime.ObjectPreviewType = {
- Object: "object",
- Function: "function",
- Undefined: "undefined",
- String: "string",
- Number: "number",
- Boolean: "boolean",
- Symbol: "symbol",
- Bigint: "bigint"
- };
-
- /** @enum {string} */
- Protocol.Runtime.ObjectPreviewSubtype = {
- Array: "array",
- Null: "null",
- Node: "node",
- Regexp: "regexp",
- Date: "date",
- Map: "map",
- Set: "set",
- Weakmap: "weakmap",
- Weakset: "weakset",
- Iterator: "iterator",
- Generator: "generator",
- Error: "error"
- };
-
- /** @typedef {!{type:(Protocol.Runtime.ObjectPreviewType), subtype:(Protocol.Runtime.ObjectPreviewSubtype|undefined), description:(string|undefined), overflow:(boolean), properties:(!Array<Protocol.Runtime.PropertyPreview>), entries:(!Array<Protocol.Runtime.EntryPreview>|undefined)}} */
- Protocol.Runtime.ObjectPreview;
-
- /** @enum {string} */
- Protocol.Runtime.PropertyPreviewType = {
- Object: "object",
- Function: "function",
- Undefined: "undefined",
- String: "string",
- Number: "number",
- Boolean: "boolean",
- Symbol: "symbol",
- Accessor: "accessor",
- Bigint: "bigint"
- };
-
- /** @enum {string} */
- Protocol.Runtime.PropertyPreviewSubtype = {
- Array: "array",
- Null: "null",
- Node: "node",
- Regexp: "regexp",
- Date: "date",
- Map: "map",
- Set: "set",
- Weakmap: "weakmap",
- Weakset: "weakset",
- Iterator: "iterator",
- Generator: "generator",
- Error: "error"
- };
-
- /** @typedef {!{name:(string), type:(Protocol.Runtime.PropertyPreviewType), value:(string|undefined), valuePreview:(Protocol.Runtime.ObjectPreview|undefined), subtype:(Protocol.Runtime.PropertyPreviewSubtype|undefined)}} */
- Protocol.Runtime.PropertyPreview;
-
- /** @typedef {!{key:(Protocol.Runtime.ObjectPreview|undefined), value:(Protocol.Runtime.ObjectPreview)}} */
- Protocol.Runtime.EntryPreview;
-
- /** @typedef {!{name:(string), value:(Protocol.Runtime.RemoteObject|undefined), writable:(boolean|undefined), get:(Protocol.Runtime.RemoteObject|undefined), set:(Protocol.Runtime.RemoteObject|undefined), configurable:(boolean), enumerable:(boolean), wasThrown:(boolean|undefined), isOwn:(boolean|undefined), symbol:(Protocol.Runtime.RemoteObject|undefined)}} */
- Protocol.Runtime.PropertyDescriptor;
-
- /** @typedef {!{name:(string), value:(Protocol.Runtime.RemoteObject|undefined)}} */
- Protocol.Runtime.InternalPropertyDescriptor;
-
- /** @typedef {!{name:(string), value:(Protocol.Runtime.RemoteObject)}} */
- Protocol.Runtime.PrivatePropertyDescriptor;
-
- /** @typedef {!{value:(*|undefined), unserializableValue:(Protocol.Runtime.UnserializableValue|undefined), objectId:(Protocol.Runtime.RemoteObjectId|undefined)}} */
- Protocol.Runtime.CallArgument;
-
- /** @typedef {number} */
- Protocol.Runtime.ExecutionContextId;
-
- /** @typedef {!{id:(Protocol.Runtime.ExecutionContextId), origin:(string), name:(string), auxData:(!Object|undefined)}} */
- Protocol.Runtime.ExecutionContextDescription;
-
- /** @typedef {!{exceptionId:(number), text:(string), lineNumber:(number), columnNumber:(number), scriptId:(Protocol.Runtime.ScriptId|undefined), url:(string|undefined), stackTrace:(Protocol.Runtime.StackTrace|undefined), exception:(Protocol.Runtime.RemoteObject|undefined), executionContextId:(Protocol.Runtime.ExecutionContextId|undefined)}} */
- Protocol.Runtime.ExceptionDetails;
-
- /** @typedef {number} */
- Protocol.Runtime.Timestamp;
-
- /** @typedef {number} */
- Protocol.Runtime.TimeDelta;
-
- /** @typedef {!{functionName:(string), scriptId:(Protocol.Runtime.ScriptId), url:(string), lineNumber:(number), columnNumber:(number)}} */
- Protocol.Runtime.CallFrame;
-
- /** @typedef {!{description:(string|undefined), callFrames:(!Array<Protocol.Runtime.CallFrame>), parent:(Protocol.Runtime.StackTrace|undefined), parentId:(Protocol.Runtime.StackTraceId|undefined)}} */
- Protocol.Runtime.StackTrace;
-
- /** @typedef {string} */
- Protocol.Runtime.UniqueDebuggerId;
-
- /** @typedef {!{id:(string), debuggerId:(Protocol.Runtime.UniqueDebuggerId|undefined)}} */
- Protocol.Runtime.StackTraceId;
- /** @constructor */
- Protocol.RuntimeDispatcher = function() {};
- /**
- * @param {string} name
- * @param {string} payload
- * @param {Protocol.Runtime.ExecutionContextId} executionContextId
- */
- Protocol.RuntimeDispatcher.prototype.bindingCalled = function(name, payload, executionContextId) {};
- /**
- * @param {string} type
- * @param {!Array<Protocol.Runtime.RemoteObject>} args
- * @param {Protocol.Runtime.ExecutionContextId} executionContextId
- * @param {Protocol.Runtime.Timestamp} timestamp
- * @param {Protocol.Runtime.StackTrace=} opt_stackTrace
- * @param {string=} opt_context
- */
- Protocol.RuntimeDispatcher.prototype.consoleAPICalled = function(type, args, executionContextId, timestamp, opt_stackTrace, opt_context) {};
- /**
- * @param {string} reason
- * @param {number} exceptionId
- */
- Protocol.RuntimeDispatcher.prototype.exceptionRevoked = function(reason, exceptionId) {};
- /**
- * @param {Protocol.Runtime.Timestamp} timestamp
- * @param {Protocol.Runtime.ExceptionDetails} exceptionDetails
- */
- Protocol.RuntimeDispatcher.prototype.exceptionThrown = function(timestamp, exceptionDetails) {};
- /**
- * @param {Protocol.Runtime.ExecutionContextDescription} context
- */
- Protocol.RuntimeDispatcher.prototype.executionContextCreated = function(context) {};
- /**
- * @param {Protocol.Runtime.ExecutionContextId} executionContextId
- */
- Protocol.RuntimeDispatcher.prototype.executionContextDestroyed = function(executionContextId) {};
- Protocol.RuntimeDispatcher.prototype.executionContextsCleared = function() {};
- /**
- * @param {Protocol.Runtime.RemoteObject} object
- * @param {!Object} hints
- */
- Protocol.RuntimeDispatcher.prototype.inspectRequested = function(object, hints) {};
- Protocol.Schema = {};
-
-
- /**
- * @constructor
- */
- Protocol.SchemaAgent = function(){};
-
- /**
- * @return {!Promise<?Array<Protocol.Schema.Domain>>}
- */
- Protocol.SchemaAgent.prototype.getDomains = function() {};
- /** @typedef {Object|undefined} */
- Protocol.SchemaAgent.GetDomainsRequest;
- /** @typedef {!{domains: !Array<Protocol.Schema.Domain>}} */
- Protocol.SchemaAgent.GetDomainsResponse;
- /**
- * @param {!Protocol.SchemaAgent.GetDomainsRequest} obj
- * @return {!Promise<!Protocol.SchemaAgent.GetDomainsResponse>} */
- Protocol.SchemaAgent.prototype.invoke_getDomains = function(obj) {};
-
- /** @typedef {!{name:(string), version:(string)}} */
- Protocol.Schema.Domain;
- /** @interface */
- Protocol.SchemaDispatcher = function() {};
- /** @return {!Protocol.AccessibilityAgent}*/
- Protocol.TargetBase.prototype.accessibilityAgent = function(){};
- /**
- * @param {!Protocol.AccessibilityDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerAccessibilityDispatcher = function(dispatcher) {}
- /** @return {!Protocol.AnimationAgent}*/
- Protocol.TargetBase.prototype.animationAgent = function(){};
- /**
- * @param {!Protocol.AnimationDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerAnimationDispatcher = function(dispatcher) {}
- /** @return {!Protocol.ApplicationCacheAgent}*/
- Protocol.TargetBase.prototype.applicationCacheAgent = function(){};
- /**
- * @param {!Protocol.ApplicationCacheDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerApplicationCacheDispatcher = function(dispatcher) {}
- /** @return {!Protocol.AuditsAgent}*/
- Protocol.TargetBase.prototype.auditsAgent = function(){};
- /**
- * @param {!Protocol.AuditsDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerAuditsDispatcher = function(dispatcher) {}
- /** @return {!Protocol.BackgroundServiceAgent}*/
- Protocol.TargetBase.prototype.backgroundServiceAgent = function(){};
- /**
- * @param {!Protocol.BackgroundServiceDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerBackgroundServiceDispatcher = function(dispatcher) {}
- /** @return {!Protocol.BrowserAgent}*/
- Protocol.TargetBase.prototype.browserAgent = function(){};
- /**
- * @param {!Protocol.BrowserDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerBrowserDispatcher = function(dispatcher) {}
- /** @return {!Protocol.CSSAgent}*/
- Protocol.TargetBase.prototype.cssAgent = function(){};
- /**
- * @param {!Protocol.CSSDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerCSSDispatcher = function(dispatcher) {}
- /** @return {!Protocol.CacheStorageAgent}*/
- Protocol.TargetBase.prototype.cacheStorageAgent = function(){};
- /**
- * @param {!Protocol.CacheStorageDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerCacheStorageDispatcher = function(dispatcher) {}
- /** @return {!Protocol.CastAgent}*/
- Protocol.TargetBase.prototype.castAgent = function(){};
- /**
- * @param {!Protocol.CastDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerCastDispatcher = function(dispatcher) {}
- /** @return {!Protocol.DOMAgent}*/
- Protocol.TargetBase.prototype.domAgent = function(){};
- /**
- * @param {!Protocol.DOMDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerDOMDispatcher = function(dispatcher) {}
- /** @return {!Protocol.DOMDebuggerAgent}*/
- Protocol.TargetBase.prototype.domdebuggerAgent = function(){};
- /**
- * @param {!Protocol.DOMDebuggerDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerDOMDebuggerDispatcher = function(dispatcher) {}
- /** @return {!Protocol.DOMSnapshotAgent}*/
- Protocol.TargetBase.prototype.domsnapshotAgent = function(){};
- /**
- * @param {!Protocol.DOMSnapshotDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerDOMSnapshotDispatcher = function(dispatcher) {}
- /** @return {!Protocol.DOMStorageAgent}*/
- Protocol.TargetBase.prototype.domstorageAgent = function(){};
- /**
- * @param {!Protocol.DOMStorageDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerDOMStorageDispatcher = function(dispatcher) {}
- /** @return {!Protocol.DatabaseAgent}*/
- Protocol.TargetBase.prototype.databaseAgent = function(){};
- /**
- * @param {!Protocol.DatabaseDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerDatabaseDispatcher = function(dispatcher) {}
- /** @return {!Protocol.DeviceOrientationAgent}*/
- Protocol.TargetBase.prototype.deviceOrientationAgent = function(){};
- /**
- * @param {!Protocol.DeviceOrientationDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerDeviceOrientationDispatcher = function(dispatcher) {}
- /** @return {!Protocol.EmulationAgent}*/
- Protocol.TargetBase.prototype.emulationAgent = function(){};
- /**
- * @param {!Protocol.EmulationDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerEmulationDispatcher = function(dispatcher) {}
- /** @return {!Protocol.HeadlessExperimentalAgent}*/
- Protocol.TargetBase.prototype.headlessExperimentalAgent = function(){};
- /**
- * @param {!Protocol.HeadlessExperimentalDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerHeadlessExperimentalDispatcher = function(dispatcher) {}
- /** @return {!Protocol.IOAgent}*/
- Protocol.TargetBase.prototype.ioAgent = function(){};
- /**
- * @param {!Protocol.IODispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerIODispatcher = function(dispatcher) {}
- /** @return {!Protocol.IndexedDBAgent}*/
- Protocol.TargetBase.prototype.indexedDBAgent = function(){};
- /**
- * @param {!Protocol.IndexedDBDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerIndexedDBDispatcher = function(dispatcher) {}
- /** @return {!Protocol.InputAgent}*/
- Protocol.TargetBase.prototype.inputAgent = function(){};
- /**
- * @param {!Protocol.InputDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerInputDispatcher = function(dispatcher) {}
- /** @return {!Protocol.InspectorAgent}*/
- Protocol.TargetBase.prototype.inspectorAgent = function(){};
- /**
- * @param {!Protocol.InspectorDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerInspectorDispatcher = function(dispatcher) {}
- /** @return {!Protocol.LayerTreeAgent}*/
- Protocol.TargetBase.prototype.layerTreeAgent = function(){};
- /**
- * @param {!Protocol.LayerTreeDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerLayerTreeDispatcher = function(dispatcher) {}
- /** @return {!Protocol.LogAgent}*/
- Protocol.TargetBase.prototype.logAgent = function(){};
- /**
- * @param {!Protocol.LogDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerLogDispatcher = function(dispatcher) {}
- /** @return {!Protocol.MemoryAgent}*/
- Protocol.TargetBase.prototype.memoryAgent = function(){};
- /**
- * @param {!Protocol.MemoryDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerMemoryDispatcher = function(dispatcher) {}
- /** @return {!Protocol.NetworkAgent}*/
- Protocol.TargetBase.prototype.networkAgent = function(){};
- /**
- * @param {!Protocol.NetworkDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerNetworkDispatcher = function(dispatcher) {}
- /** @return {!Protocol.OverlayAgent}*/
- Protocol.TargetBase.prototype.overlayAgent = function(){};
- /**
- * @param {!Protocol.OverlayDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerOverlayDispatcher = function(dispatcher) {}
- /** @return {!Protocol.PageAgent}*/
- Protocol.TargetBase.prototype.pageAgent = function(){};
- /**
- * @param {!Protocol.PageDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerPageDispatcher = function(dispatcher) {}
- /** @return {!Protocol.PerformanceAgent}*/
- Protocol.TargetBase.prototype.performanceAgent = function(){};
- /**
- * @param {!Protocol.PerformanceDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerPerformanceDispatcher = function(dispatcher) {}
- /** @return {!Protocol.SecurityAgent}*/
- Protocol.TargetBase.prototype.securityAgent = function(){};
- /**
- * @param {!Protocol.SecurityDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerSecurityDispatcher = function(dispatcher) {}
- /** @return {!Protocol.ServiceWorkerAgent}*/
- Protocol.TargetBase.prototype.serviceWorkerAgent = function(){};
- /**
- * @param {!Protocol.ServiceWorkerDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerServiceWorkerDispatcher = function(dispatcher) {}
- /** @return {!Protocol.StorageAgent}*/
- Protocol.TargetBase.prototype.storageAgent = function(){};
- /**
- * @param {!Protocol.StorageDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerStorageDispatcher = function(dispatcher) {}
- /** @return {!Protocol.SystemInfoAgent}*/
- Protocol.TargetBase.prototype.systemInfoAgent = function(){};
- /**
- * @param {!Protocol.SystemInfoDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerSystemInfoDispatcher = function(dispatcher) {}
- /** @return {!Protocol.TargetAgent}*/
- Protocol.TargetBase.prototype.targetAgent = function(){};
- /**
- * @param {!Protocol.TargetDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerTargetDispatcher = function(dispatcher) {}
- /** @return {!Protocol.TetheringAgent}*/
- Protocol.TargetBase.prototype.tetheringAgent = function(){};
- /**
- * @param {!Protocol.TetheringDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerTetheringDispatcher = function(dispatcher) {}
- /** @return {!Protocol.TracingAgent}*/
- Protocol.TargetBase.prototype.tracingAgent = function(){};
- /**
- * @param {!Protocol.TracingDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerTracingDispatcher = function(dispatcher) {}
- /** @return {!Protocol.FetchAgent}*/
- Protocol.TargetBase.prototype.fetchAgent = function(){};
- /**
- * @param {!Protocol.FetchDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerFetchDispatcher = function(dispatcher) {}
- /** @return {!Protocol.WebAudioAgent}*/
- Protocol.TargetBase.prototype.webAudioAgent = function(){};
- /**
- * @param {!Protocol.WebAudioDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerWebAudioDispatcher = function(dispatcher) {}
- /** @return {!Protocol.WebAuthnAgent}*/
- Protocol.TargetBase.prototype.webAuthnAgent = function(){};
- /**
- * @param {!Protocol.WebAuthnDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerWebAuthnDispatcher = function(dispatcher) {}
- /** @return {!Protocol.MediaAgent}*/
- Protocol.TargetBase.prototype.mediaAgent = function(){};
- /**
- * @param {!Protocol.MediaDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerMediaDispatcher = function(dispatcher) {}
- /** @return {!Protocol.ConsoleAgent}*/
- Protocol.TargetBase.prototype.consoleAgent = function(){};
- /**
- * @param {!Protocol.ConsoleDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerConsoleDispatcher = function(dispatcher) {}
- /** @return {!Protocol.DebuggerAgent}*/
- Protocol.TargetBase.prototype.debuggerAgent = function(){};
- /**
- * @param {!Protocol.DebuggerDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerDebuggerDispatcher = function(dispatcher) {}
- /** @return {!Protocol.HeapProfilerAgent}*/
- Protocol.TargetBase.prototype.heapProfilerAgent = function(){};
- /**
- * @param {!Protocol.HeapProfilerDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerHeapProfilerDispatcher = function(dispatcher) {}
- /** @return {!Protocol.ProfilerAgent}*/
- Protocol.TargetBase.prototype.profilerAgent = function(){};
- /**
- * @param {!Protocol.ProfilerDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerProfilerDispatcher = function(dispatcher) {}
- /** @return {!Protocol.RuntimeAgent}*/
- Protocol.TargetBase.prototype.runtimeAgent = function(){};
- /**
- * @param {!Protocol.RuntimeDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerRuntimeDispatcher = function(dispatcher) {}
- /** @return {!Protocol.SchemaAgent}*/
- Protocol.TargetBase.prototype.schemaAgent = function(){};
- /**
- * @param {!Protocol.SchemaDispatcher} dispatcher
- */
- Protocol.TargetBase.prototype.registerSchemaDispatcher = function(dispatcher) {}
|