ChangeLog-2011-02-16 1.3 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780
  1. 2011-02-16 Anders Carlsson <andersca@apple.com>
  2. Reviewed by Adam Roben.
  3. Assertion failure in DrawingAreaImpl::display when calling WKPageForceRepaint on a page that uses accelerated compositing
  4. https://bugs.webkit.org/show_bug.cgi?id=54575
  5. <rdar://problem/8979594>
  6. Add test.
  7. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  8. * TestWebKitAPI/Tests/WebKit2/ForceRepaint.cpp: Added.
  9. (TestWebKitAPI::didForceRepaint):
  10. (TestWebKitAPI::didFinishLoadForFrame):
  11. (TestWebKitAPI::TEST):
  12. * TestWebKitAPI/Tests/WebKit2/simple-accelerated-compositing.html: Added.
  13. * TestWebKitAPI/win/TestWebKitAPI.vcproj:
  14. * TestWebKitAPI/win/copy-resources.cmd:
  15. 2011-02-16 Sergio Villar Senin <svillar@igalia.com>
  16. Reviewed by Martin Robinson.
  17. [Gtk] Add support for layoutTestController.setWillSendRequestClearHeader
  18. https://bugs.webkit.org/show_bug.cgi?id=54537
  19. Added handler for resource-request-starting emitted in
  20. FrameLoader's willSendRequest(). The current implementation
  21. removes the headers set in setWillSendRequestClearHeader.
  22. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  23. (willSendRequestCallback):
  24. (createWebView):
  25. 2011-02-16 Csaba Osztrogonác <ossy@webkit.org>
  26. Reviewed by Andreas Kling.
  27. [Qt] Qt build system can't handle removing headers from tree
  28. https://bugs.webkit.org/show_bug.cgi?id=54466
  29. * Scripts/build-webkit: Remove Qt makefiles from productDir before build.
  30. 2011-02-16 Ilya Tikhonovsky <loislo@chromium.org>
  31. Reviewed by Yury Semikhatsky.
  32. Web Inspector: chromium: DRT is crashing on the tests in inspector-enabled folder.
  33. https://bugs.webkit.org/show_bug.cgi?id=54548
  34. * DumpRenderTree/chromium/TestShell.cpp:
  35. (TestShell::runFileTest):
  36. 2011-02-16 Sheriff Bot <webkit.review.bot@gmail.com>
  37. Unreviewed, rolling out r77898.
  38. http://trac.webkit.org/changeset/77898
  39. https://bugs.webkit.org/show_bug.cgi?id=54541
  40. Leopard Debug hasn't compiled for a long time (Requested by
  41. abarth on #webkit).
  42. * Scripts/webkitpy/common/net/buildbot/buildbot.py:
  43. * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
  44. 2011-02-15 Xianzhu Wang <wangxianzhu@google.com>
  45. Reviewed by Kent Tamura.
  46. Fixed a small bug about --no-timeout option.
  47. https://bugs.webkit.org/show_bug.cgi?id=52873
  48. * DumpRenderTree/chromium/DumpRenderTree.cpp:
  49. (main):
  50. 2011-02-15 Kenneth Russell <kbr@google.com>
  51. Reviewed by Darin Fisher.
  52. Allow controlling minimum DOMTimer interval on a per-page basis
  53. https://bugs.webkit.org/show_bug.cgi?id=54312
  54. Implemented new method setMinimumTimerInterval in
  55. LayoutTestController for all ports.
  56. * DumpRenderTree/LayoutTestController.cpp:
  57. (setMinimumTimerIntervalCallback):
  58. (LayoutTestController::staticFunctions):
  59. * DumpRenderTree/LayoutTestController.h:
  60. * DumpRenderTree/chromium/LayoutTestController.cpp:
  61. (LayoutTestController::LayoutTestController):
  62. (LayoutTestController::setMinimumTimerInterval):
  63. * DumpRenderTree/chromium/LayoutTestController.h:
  64. * DumpRenderTree/chromium/WebViewHost.cpp:
  65. (WebViewHost::reset):
  66. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  67. (resetDefaultsToConsistentValues):
  68. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  69. (LayoutTestController::setMinimumTimerInterval):
  70. * DumpRenderTree/mac/DumpRenderTree.mm:
  71. (resetWebViewToConsistentStateBeforeTesting):
  72. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  73. (LayoutTestController::setMinimumTimerInterval):
  74. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  75. (WebCore::WebPage::resetSettings):
  76. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  77. (LayoutTestController::setMinimumTimerInterval):
  78. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  79. * DumpRenderTree/win/DumpRenderTree.cpp:
  80. (resetWebViewToConsistentStateBeforeTesting):
  81. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  82. (LayoutTestController::setMinimumTimerInterval):
  83. 2011-02-15 Martin Robinson <mrobinson@igalia.com>
  84. Reviewed by Xan Lopez.
  85. [Freetype] Better map CSS font weight to Fontconfig font weight
  86. https://bugs.webkit.org/show_bug.cgi?id=54323
  87. Add the WeightWatcher fonts to the list of sourced fonts when intializing
  88. DRT. This will allow us to pass tests that use WeightWatcher.
  89. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  90. (initializeFonts): Source the WebkitWeightWatcher fonts.
  91. 2011-02-15 Dirk Pranke <dpranke@chromium.org>
  92. Reviewed by Tony Chang.
  93. Make new-run-webkit-tests --processes work under Windows' weird
  94. multiprocessing model. This requires us to be running a Python
  95. file that can be imported as a module, so I've modified the
  96. new-run-webkit-tests script to spawn a subprocess runing
  97. webkitpy.layout_tests.run_webkit_tests.py. I've also modified
  98. the manager_worker_broker tests because you can't pickle a
  99. nested class. This requires us to use globals to pass queues
  100. back and forth for testing, but the alternative is to pass extra
  101. arguments to start_worker() and that feels like a bad tradeoff
  102. just for testing.
  103. https://bugs.webkit.org/show_bug.cgi?id=54431
  104. * Scripts/new-run-webkit-tests:
  105. * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py:
  106. 2011-02-15 Brady Eidson <beidson@apple.com>
  107. Reviewed by Darin Adler.
  108. <rdar://problem/9002047> and https://bugs.webkit.org/show_bug.cgi?id=54426
  109. WebFrameLoaderClient::shouldGoToHistoryItem needs implementation
  110. Add dummy implementations to keep our tools building.
  111. * MiniBrowser/mac/BrowserWindowController.m:
  112. (-[BrowserWindowController awakeFromNib]):
  113. * WebKitTestRunner/TestController.cpp:
  114. (WTR::TestController::initialize):
  115. 2011-02-15 David Levin <levin@chromium.org>
  116. Reviewed by Shinichiro Hamaji.
  117. check-webkit-style should do some detection for valid uses of WEBKIT_API (in chromium public api).
  118. https://bugs.webkit.org/show_bug.cgi?id=52271
  119. * Scripts/webkitpy/style/checkers/cpp.py: Added the check for WEBKIT_API usage.
  120. * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added tests.
  121. 2011-02-14 Dirk Pranke <dpranke@chromium.org>
  122. Unreviewed, build fix.
  123. Fix minor regression introduced in r78522. For some reason, Python
  124. provides a platform.mac_ver() routine on Linux, so we need to
  125. check to make sure it's returning something in addition to
  126. checking for its existence.
  127. * Scripts/webkitpy/layout_tests/port/mac.py:
  128. 2011-02-14 Dirk Pranke <dpranke@chromium.org>
  129. Reviewed by Mihai Parparita.
  130. Clean up the way we handle platform names in
  131. new-run-webkit-tests. Previously, if you specified
  132. '--platform mac' or '--platform chromium-mac' on the command
  133. line, it would use that platform name to determine baseline search
  134. paths, etc. This is almost never the right thing to do, because
  135. it ignores the existence of version-specific baselines.
  136. So, I changed this so that ports that support versions must
  137. always use a version, and the version should default to the
  138. version of the operating system that the port is being run on
  139. (e.g., if you're running on Leopard, then passing '--platform
  140. mac' will default to the 'mac-leopard' port). This means that
  141. port.name() should always include a version-specific suffix if
  142. the port supports versions.
  143. However, we still support things like '--platform mac' as input
  144. so that the user doesn't have to explicitly specify a version,
  145. both for convenience and so we don't have to make buildbot
  146. configs more complicated than they already are.
  147. Also, I cleaned up how the baselines were being searched
  148. on the chromium-mac port (this is one of the two bugs that
  149. prompted this refactoring), and made the logic easier to follow
  150. and more consistent across the mac and chromium ports
  151. Lastly, I added a port.get_all_names() method that could be used
  152. to get the names of all of the ports to search, rather than having
  153. to guess (incorrectly) from the list of directories under
  154. LayoutTests/platform (this last thing was necessary because the
  155. deduplicate_tests unittest broke as the fallback dirs changed).
  156. https://bugs.webkit.org/show_bug.cgi?id=54248
  157. * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
  158. * Scripts/webkitpy/layout_tests/port/factory.py:
  159. * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
  160. * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
  161. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  162. * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
  163. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  164. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  165. * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
  166. * Scripts/webkitpy/layout_tests/port/mac.py:
  167. * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
  168. * Scripts/webkitpy/layout_tests/port/port_testcase.py:
  169. 2011-02-14 Dirk Pranke <dpranke@chromium.org>
  170. Reviewed by Adam Barth.
  171. update-webkit hangs in a git-only checkout
  172. Previously it would hang forever trying to do a 'git svn
  173. rebase'. Now, it will default to a 'git pull' if the
  174. svn-remote.svn.fetch variable isn't set, and bail out if it
  175. doesn't know where to pull from.
  176. https://bugs.webkit.org/show_bug.cgi?id=54265
  177. * Scripts/update-webkit:
  178. * Scripts/VCSUtils.pm:
  179. 2011-02-14 Dirk Pranke <dpranke@chromium.org>
  180. Reviewed by Mihai Parparita.
  181. This patch modifies NRWT's Worker clas to use the new
  182. WorkerMixin class to actually run tests. With this patch, the
  183. multiprocess version of NRWT is fully functional and just needs
  184. the values for --worker-model and --child-processes to be corrected
  185. in the port/* classes to start using the new code by default.
  186. https://bugs.webkit.org/show_bug.cgi?id=54082
  187. * Scripts/webkitpy/layout_tests/layout_package/worker.py:
  188. 2011-02-14 Dirk Pranke <dpranke@chromium.org>
  189. Reviewed by Mihai Parparita.
  190. This patch shuffles code out of dump_render_tree_thread and
  191. single_test_runner and into a new worker_mixin class that will
  192. be shared by both TestShellThread and Worker. This change
  193. restores single_test_runner to its state as of r77606 - it is
  194. stateless again. It also prunes TestShellThread to pretty much
  195. just the logic used for the original shared-memory access.
  196. https://bugs.webkit.org/show_bug.cgi?id=54079
  197. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  198. * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
  199. * Scripts/webkitpy/layout_tests/layout_package/worker_mixin.py: Added.
  200. 2011-02-14 Dirk Pranke <dpranke@chromium.org>
  201. Reviewed by Ojan Vafai.
  202. This patch updates NRWT to add per-worker and per-shard test stats
  203. into TestRunner2, bringing it to parity with TestRunner.
  204. https://bugs.webkit.org/show_bug.cgi?id=54074
  205. * Scripts/webkitpy/layout_tests/layout_package/test_runner2.py:
  206. 2011-02-14 Dirk Pranke <dpranke@chromium.org>
  207. Reviewed by Tony Chang.
  208. nrwt multiprocessing: add code to handle interrupts and wedged
  209. threads.
  210. https://bugs.webkit.org/show_bug.cgi?id=54072
  211. * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker.py:
  212. Adds the cancel(), is_alive(), join(), and log_wedged_worker()
  213. methods to the WorkerConnection class
  214. * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py:
  215. * Scripts/webkitpy/layout_tests/layout_package/test_runner2.py:
  216. * Scripts/webkitpy/layout_tests/layout_package/worker.py:
  217. Adds the cancel() method to the Worker class
  218. 2011-02-14 Dirk Pranke <dpranke@chromium.org>
  219. Reviewed by Tony Chang.
  220. update the NRWT multiprocessing code to spawn multiple workers
  221. instead of just using one.
  222. https://bugs.webkit.org/show_bug.cgi?id=54071
  223. * Scripts/webkitpy/layout_tests/layout_package/test_runner2.py:
  224. 2011-02-12 Chang Shu <cshu@webkit.org>
  225. Unreviewed.
  226. Update my own email addresses and IRC nickname.
  227. * Scripts/webkitpy/common/config/committers.py:
  228. 2011-02-11 Dirk Pranke <dpranke@chromium.org>
  229. Reviewed by Tony Chang.
  230. This patch adds to NRWT most of the support needed to run the new
  231. message-based workers in separate threads or processes. The code
  232. isn't fully complete yet because we don't support cancel() or
  233. is_alive().
  234. https://bugs.webkit.org/show_bug.cgi?id=54070
  235. * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker.py:
  236. * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py:
  237. * Scripts/webkitpy/layout_tests/layout_package/test_runner2.py:
  238. * Scripts/webkitpy/layout_tests/port/base.py:
  239. * Scripts/webkitpy/layout_tests/port/mock_drt.py:
  240. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  241. 2011-02-11 Sailesh Agrawal <sail@chromium.org>
  242. Reviewed by Kenneth Russell.
  243. plugins/invalidate_rect.html fails on chromium-mac
  244. https://bugs.webkit.org/show_bug.cgi?id=54051
  245. This change fixes the invalidate_rect.html test failure on Windows.
  246. There were two problems. First, the test specified that the plugin was window less by doing <embed ... windowedPlugin="false"></embed>. The windowedPlugin parameter was never being read by the plugin. Fix was to simply set the NPPVpluginWindowBool variable based on the parameter.
  247. The second problem was that the plugin never handled paint events on Windows. Fix was to simply copy the Mac code to handle paint events.
  248. This change also updates the build path in chromium_win.py to use the new Source directory.
  249. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
  250. (invalidateRect):
  251. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  252. (NPP_New):
  253. (handleEventWin):
  254. (NPP_HandleEvent):
  255. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  256. 2011-02-11 Csaba Osztrogonác <ossy@webkit.org>
  257. Reviewed by Andreas Kling.
  258. [Qt] Increase the timeout of Qt API tests to 120 seconds.
  259. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  260. 2011-02-10 Zhenyao Mo <zmo@google.com>
  261. Unreviewed, build fix.
  262. * DumpRenderTree/DumpRenderTree.gypi:
  263. 2011-02-10 Dirk Pranke <dpranke@chromium.org>
  264. Reviewed by Tony Chang.
  265. This patch adds the bulk of the remaining functionality for
  266. the NRWT message-passing implementation. The patch adds a new
  267. Worker class that will eventually replace the TestShellThread
  268. class in dump_render_tree_thread.py, and implements enough of
  269. TestRunner2 and the inline version of the manager_worker_broker
  270. to actually be able to send a full set of messages back and
  271. forth. The Worker stubs do not actually run tests, and there's
  272. lots of error handling and stats needed, but this is the core
  273. logic.
  274. https://bugs.webkit.org/show_bug.cgi?id=54068
  275. * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker.py:
  276. * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py:
  277. * Scripts/webkitpy/layout_tests/layout_package/test_runner2.py:
  278. * Scripts/webkitpy/layout_tests/layout_package/worker.py: Added.
  279. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  280. 2011-02-10 Zhenyao Mo <zmo@google.com>
  281. Unreviewed, build fix.
  282. * DumpRenderTree/DumpRenderTree.gypi:
  283. 2011-02-10 Zhenyao Mo <zmo@google.com>
  284. Unreviewed, build fix.
  285. * DumpRenderTree/DumpRenderTree.gypi:
  286. 2011-02-10 Zhenyao Mo <zmo@google.com>
  287. Unreviewed, attempt to fix crashing plugin tests.
  288. * DumpRenderTree/DumpRenderTree.gypi:
  289. 2011-02-10 Zhenyao Mo <zmo@google.com>
  290. Unreviewed, build fix.
  291. * DumpRenderTree/DumpRenderTree.gypi:
  292. 2011-02-10 Sam Weinig <sam@webkit.org>
  293. Try and fix some crashing tests on the chromium build bot.
  294. * DumpRenderTree/DumpRenderTree.gypi:
  295. 2011-02-10 Anders Carlsson <andersca@apple.com>
  296. Reviewed by Sam Weinig.
  297. Log an error if a plug-in test can't be found
  298. https://bugs.webkit.org/show_bug.cgi?id=54252
  299. * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
  300. (PluginTest::create):
  301. Return null if the test wasn't found.
  302. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  303. (NPP_New):
  304. Report an error if PluginTest::create returns null.
  305. 2011-02-10 Robert Hogan <robert@webkit.org>
  306. Reviewed by Laszlo Gombos.
  307. [Qt] Return menu items from eventSender.contextMenu()
  308. https://bugs.webkit.org/show_bug.cgi?id=53039
  309. * DumpRenderTree/qt/EventSenderQt.cpp:
  310. (EventSender::contextClick):
  311. * DumpRenderTree/qt/EventSenderQt.h:
  312. 2011-02-10 Adam Roben <aroben@apple.com>
  313. Test showing and hiding the find indicator on Windows
  314. Test for <http://webkit.org/b/54213> <rdar://problem/8983261> REGRESSION (r78198): Crash in
  315. FindIndicator::contentImage when scrolling page
  316. Reviewed by Steve Falkenburg.
  317. * TestWebKitAPI/Tests/WebKit2/win/HideFindIndicator.cpp: Added.
  318. (TestWebKitAPI::didFinishLoadForFrame): Record that the load finished.
  319. (TestWebKitAPI::findIndicatorCallback): Record that the callback was called, and save the
  320. bitmap.
  321. (TestWebKitAPI::initialize): Hook up our callbacks.
  322. (TestWebKitAPI::TEST): Test showing then hiding the find indicator to see if we crash.
  323. * TestWebKitAPI/PlatformWebView.h:
  324. * TestWebKitAPI/mac/PlatformWebViewMac.mm:
  325. (TestWebKitAPI::PlatformWebView::page):
  326. * TestWebKitAPI/win/PlatformWebViewWin.cpp:
  327. (TestWebKitAPI::PlatformWebView::page):
  328. Made page a const member function.
  329. * TestWebKitAPI/win/TestWebKitAPI.vcproj: Added the new test.
  330. 2011-02-10 Mario Sanchez Prada <msanchez@igalia.com>
  331. Reviewed by Martin Robinson.
  332. [GTK] Log signals from AtkDocument interface also in AccessibilityController
  333. https://bugs.webkit.org/show_bug.cgi?id=54198
  334. Trace AtkDocument's signals emission through AccessibilityController.
  335. Also, taken the code related to adding and removing global
  336. listeners for ATK signals out to a separate file, for the sake of
  337. clarity and to ease future additions.
  338. * DumpRenderTree/gtk/AccessibilityCallbacks.h: Added.
  339. * DumpRenderTree/gtk/AccessibilityCallbacks.cpp: Added
  340. (printAccessibilityEvent): Print information about an event.
  341. (axObjectEventListener): Global listener for AtkObject's signals.
  342. (axDocumentEventListener): Global listener for AtkDocument's signals.
  343. (connectAccessibilityCallbacks): Connect all global listeners.
  344. (disconnectAccessibilityCallbacks): Disconnect all global listeners.
  345. * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
  346. (AccessibilityController::setLogAccessibilityEvents): Call to
  347. connectAccessibilityCallbacks and disconnectAccessibilityCallbacks.
  348. * GNUmakefile.am: Added new files.
  349. 2011-02-09 Martin Robinson <mrobinson@igalia.com>
  350. Reviewed by Gustavo Noronha Silva.
  351. [GTK] Default error page is interfering with tests which require failed loads
  352. https://bugs.webkit.org/show_bug.cgi?id=54157
  353. Disable the default error page during DRT runs. This prevents unexpected loads
  354. from interfering with tests that have planned failed loads.
  355. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  356. (webViewLoadError): Added, disable default handler.
  357. (createWebView): Connect the new load-error handler.
  358. 2011-02-10 Zoltan Horvath <zoltan@webkit.org>
  359. Reviewed by Andreas Kling.
  360. [Qt] Add UrlLoader and command line argument handling to MiniBrowser
  361. https://bugs.webkit.org/show_bug.cgi?id=54192
  362. Copy and modify files from QtTestBrowser's implementation.
  363. * MiniBrowser/qt/BrowserWindow.cpp:
  364. (BrowserWindow::BrowserWindow):
  365. (BrowserWindow::newWindow):
  366. * MiniBrowser/qt/BrowserWindow.h:
  367. * MiniBrowser/qt/MiniBrowser.pro:
  368. * MiniBrowser/qt/MiniBrowserApplication.cpp: Copied from QtTestBrowser/launcherwindow.cpp
  369. (MiniBrowserApplication::MiniBrowserApplication):
  370. (MiniBrowserApplication::handleUserOptions):
  371. * MiniBrowser/qt/MiniBrowserApplication.h: Copied from QtTestBrowser/launcherwindow.h
  372. (WindowOptions::WindowOptions):
  373. (MiniBrowserApplication::urls):
  374. (MiniBrowserApplication::isRobotized):
  375. (MiniBrowserApplication::robotTimeout):
  376. (MiniBrowserApplication::robotExtraTime):
  377. * MiniBrowser/qt/UrlLoader.cpp: Copied from QtTestBrowser/urlloader.cpp
  378. (UrlLoader::UrlLoader):
  379. (UrlLoader::loadNext):
  380. (UrlLoader::checkIfFinished):
  381. (UrlLoader::frameLoadStarted):
  382. (UrlLoader::frameLoadFinished):
  383. (UrlLoader::loadUrlList):
  384. (UrlLoader::getUrl):
  385. * MiniBrowser/qt/UrlLoader.h: Copied from QtTestBrowser/urlloader.h
  386. * MiniBrowser/qt/main.cpp:
  387. (main):
  388. * MiniBrowser/qt/utils.cpp: Copied from QtTestBrowser/utils.cpp
  389. (takeOptionValue):
  390. (formatKeys):
  391. (enumToKeys):
  392. (appQuit):
  393. (urlFromUserInput):
  394. * MiniBrowser/qt/utils.h: Copied from QtTestBrowser/utils.h
  395. 2011-02-10 Zoltan Horvath <zoltan@webkit.org>
  396. Reviewed by Andreas Kling.
  397. check-webkit-style: Add -build/include exemption for Tools/MiniBrowser/qt
  398. https://bugs.webkit.org/show_bug.cgi?id=54200
  399. * Scripts/webkitpy/style/checker.py:
  400. * Scripts/webkitpy/style/checker_unittest.py:
  401. 2011-02-10 Peter Varga <pvarga@webkit.org>
  402. Reviewed by Csaba Osztrogonác.
  403. Remove PCRE source from trunk
  404. https://bugs.webkit.org/show_bug.cgi?id=54188
  405. * wx/build/settings.py:
  406. 2011-02-10 David Levin <levin@chromium.org>
  407. Reviewed by Shinichiro Hamaji.
  408. check-webkit-style should be able to figure out function modifiers and return type.
  409. https://bugs.webkit.org/show_bug.cgi?id=54124
  410. * Scripts/webkitpy/style/checkers/cpp.py:
  411. (_rfind_in_lines): A way to search backwards in lines.
  412. (_FunctionState.modifiers_and_return_type):
  413. * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added tests for the new functionality.
  414. 2011-02-09 Adam Roben <aroben@apple.com>
  415. Test that WM_PRINT doesn't trigger an assertion
  416. Test for <http://webkit.org/b/54145> <rdar://problem/8979559> WM_PRINT doesn't work with new
  417. drawing area (assertion failure in DrawingAreaProxyImpl in Debug builds)
  418. Reviewed by Darin Adler.
  419. * TestWebKitAPI/Tests/WebKit2/win/WMPrint.cpp: Added.
  420. (TestWebKitAPI::TEST): Send a WM_PRINT message to a WKView.
  421. 2011-02-09 Adam Roben <aroben@apple.com>
  422. Test that having a WKView paint after being resized while hidden doesn't cause a crash
  423. Test for <http://webkit.org/b/54142> <rdar://problem/8979365> Crash in
  424. DrawingAreaProxyImpl::paint when WKView paints after being resized while hidden
  425. Reviewed by Darin Adler.
  426. * TestWebKitAPI/Tests/WebKit2/win/ResizeViewWhileHidden.cpp:
  427. (TestWebKitAPI::TEST): Force the WKView to paint after resizing it while hidden.
  428. 2011-02-09 Adam Roben <aroben@apple.com>
  429. Add a test that resizes a WKView while it's hidden
  430. Test for <http://webkit.org/b/54141> <rdar://problem/8979195> WKView draws at wrong size,
  431. performs badly if is resized while hidden (assertion fails in
  432. BackingStore::incorporateUpdate in Debug builds)
  433. Reviewed by Darin Adler.
  434. * TestWebKitAPI/Tests/WebKit2/win/ResizeViewWhileHidden.cpp: Added.
  435. (TestWebKitAPI::didFinishLoadForFrame): Record that the load finished.
  436. (TestWebKitAPI::setPageLoaderClient): Hook up our didFinishLoadForFrame callback.
  437. (TestWebKitAPI::flushMessages): Load a URL and wait for the load to complete. This ensures
  438. that all pending messages have been handled by the UI and web process.
  439. (TestWebKitAPI::timerCallback): Kill the timer and record that it fired.
  440. (TestWebKitAPI::runForDuration): Set a timer and run the run loop until it fires.
  441. (TestWebKitAPI::waitForBackingStoreUpdate): Wait for half a second to give the web process a
  442. chance to display, then flush all pending messages.
  443. (TestWebKitAPI::TEST): Resize the WKView while it's hidden, then show it again and wait for
  444. the backing store to update. This triggers the assertion from bug 54141.
  445. * TestWebKitAPI/win/PlatformWebViewWin.cpp:
  446. (TestWebKitAPI::PlatformWebView::resizeTo): Implemented.
  447. * TestWebKitAPI/win/TestWebKitAPI.vcproj: Added new test.
  448. 2011-02-10 Philippe Normand <pnormand@igalia.com>
  449. Unreviewed, GTK build fix after roll out of r78157...
  450. * GNUmakefile.am:
  451. 2011-02-10 Eric Seidel <eric@webkit.org>
  452. Unreviewed, rolling out r78157.
  453. http://trac.webkit.org/changeset/78157
  454. https://bugs.webkit.org/show_bug.cgi?id=54150
  455. Fails on a bunch of bots
  456. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  457. * DumpRenderTree/TestNetscapePlugIn/Tests/EvaluateJSDestroyingPluginFromDestroyStream.cpp: Removed.
  458. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  459. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  460. 2011-02-10 Mario Sanchez Prada <msanchez@igalia.com>
  461. Reviewed by Xan Lopez.
  462. [GTK] Reset GTK' DRT's AccessibilityController to consistent value before every test
  463. https://bugs.webkit.org/show_bug.cgi?id=54185
  464. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  465. (resetDefaultsToConsistentValues):
  466. 2011-02-10 Philippe Normand <pnormand@igalia.com>
  467. Unreviewed GTK build fix.
  468. Adding
  469. Tools/DumpRenderTree/TestNetscapePlugIn/Tests/EvaluateJSDestroyingPluginFromDestroyStream.cpp
  470. in the build, fixing the
  471. plugins/npruntime/evaluate-js-destroying-plugin-from-destroy-stream.html
  472. test.
  473. * GNUmakefile.am:
  474. 2011-02-10 Mario Sanchez Prada <msanchez@igalia.com>
  475. Reviewed by Chris Fleizach.
  476. [GTK] Add support in DRT to log "accessibility events"
  477. https://bugs.webkit.org/show_bug.cgi?id=54116
  478. Added a way to log accessibility related events, in a
  479. platform-dependant way.
  480. Add new function to AccessibilityController.
  481. * DumpRenderTree/AccessibilityController.h:
  482. * DumpRenderTree/AccessibilityController.cpp:
  483. (logAccessibilityEventsCallback): New callback.
  484. (AccessibilityController::getJSClass): Added new function.
  485. (AccessibilityController::resetToConsistentState): Initialized
  486. calling setLogAccessibilityEvents(false).
  487. Provided implementation for the GTK port.
  488. * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
  489. (accessibility_event_listener): Common listener for logging
  490. information about all the signals emitted by any AtkObject.
  491. (AccessibilityController::setLogAccessibilityEvents): Add or
  492. remove listeners for signals, as specified by the parameter.
  493. Provide dummy implementations for mac and win ports.
  494. * DumpRenderTree/mac/AccessibilityControllerMac.mm:
  495. (AccessibilityController::setLogAccessibilityEvents):
  496. * DumpRenderTree/win/AccessibilityControllerWin.cpp:
  497. (AccessibilityController::setLogAccessibilityEvents):
  498. 2011-02-09 Hayato Ito <hayato@chromium.org>
  499. Reviewed by Tony Chang.
  500. [NRWT] Remove encoding parameters where we can assume data can be
  501. written in binary mode.
  502. https://bugs.webkit.org/show_bug.cgi?id=54066
  503. * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
  504. * Scripts/webkitpy/layout_tests/port/base.py:
  505. 2011-02-09 Dirk Pranke <dpranke@chromium.org>
  506. Reviewed by Tony Chang.
  507. nrwt multiprocessing: minor cleanup prior to implementing the new worker
  508. This patch renames AbstractManager to ManagerConnection and
  509. changes some argument names to be more consistent between
  510. manager_worker_broker and message_broker. It also fixes a couple
  511. of typos in message_broker. These changes will be tested by code
  512. introduced in the next patch.
  513. https://bugs.webkit.org/show_bug.cgi?id=54067
  514. * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker.py:
  515. * Scripts/webkitpy/layout_tests/layout_package/message_broker2.py:
  516. 2011-02-09 Anders Carlsson <andersca@apple.com>
  517. Reviewed by Sam Weinig.
  518. Repro crash with Sony Google TV ad at Gizmodo
  519. https://bugs.webkit.org/show_bug.cgi?id=54150
  520. <rdar://problem/8782346>
  521. Add a new plug-in test that runs JavaScript that destroys the plug-in from within its NPN_DestroyStream callback.
  522. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  523. * DumpRenderTree/TestNetscapePlugIn/Tests/EvaluateJSDestroyingPluginFromDestroyStream.cpp: Added.
  524. (EvaluateJSDestroyingPluginFromDestroyStream::EvaluateJSDestroyingPluginFromDestroyStream):
  525. (EvaluateJSDestroyingPluginFromDestroyStream::NPP_Destroy):
  526. (EvaluateJSDestroyingPluginFromDestroyStream::NPP_DestroyStream):
  527. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  528. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  529. 2011-02-09 David Levin <levin@chromium.org>
  530. Reviewed by Eric Seidel.
  531. check-webkit-style: The error message about NULL should be more clear for comments.
  532. https://bugs.webkit.org/show_bug.cgi?id=53786
  533. * Scripts/webkitpy/style/checkers/cpp.py: Clarified the error message.
  534. * Scripts/webkitpy/style/checkers/cpp_unittest.py: Fixed the corresponding test.
  535. 2011-02-09 Nebojsa Ciric <cira@chromium.org>
  536. Reviewed by Darin Fisher.
  537. Implements Locale object of JavaScript internationalization API proposal, as an
  538. v8 extension. Extension code is hosted in v8 project (src/extensions/experimental/i18n-extension.{cc,h})
  539. and in this patch we just provide flags, tests and build rules for chromium port.
  540. https://bugs.webkit.org/show_bug.cgi?id=49414
  541. * DumpRenderTree/chromium/TestShell.cpp:
  542. (TestShell::TestShell):
  543. 2011-02-09 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  544. Reviewed by Kenneth Rohde Christiansen.
  545. [Qt] Remove UiTools dependency from MiniBrowser
  546. https://bugs.webkit.org/show_bug.cgi?id=54096
  547. * MiniBrowser/qt/MiniBrowser.pro:
  548. 2011-02-08 Hayato Ito <hayato@chromium.org>
  549. Reviewed by Tony Chang.
  550. [NRWT] Pull up rebaseline code from compare_output() function defined
  551. in text_diff.py and image_diff.py into a SingleTestRunner.
  552. This patch is a first step for eliminating test_type/* classes.
  553. https://bugs.webkit.org/show_bug.cgi?id=53071
  554. * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
  555. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  556. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  557. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  558. 2011-02-07 Ojan Vafai <ojan@chromium.org>
  559. Reviewed by Mihai Parparita.
  560. stop generating results.json files
  561. https://bugs.webkit.org/show_bug.cgi?id=53977
  562. We've only used incremental_results.json for a while now
  563. and there are plans to start generating a results.json file that matches
  564. the format of unexpected_results.json.
  565. * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
  566. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  567. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
  568. * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
  569. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  570. 2011-02-08 Sailesh Agrawal <sail@chromium.org>
  571. Reviewed by Kenneth Russell.
  572. Invalidate rect doesn't work for windowless plugins on Chromium
  573. https://bugs.webkit.org/show_bug.cgi?id=53117
  574. Added two new utility methods.
  575. - layoutTestController.displayInvalidatedRegion() does a paint of any area that has been invalidated. This is different from layoutTestController.display() which explicitly invalidates the entire page then paints.
  576. - plugin.invalidateRect(left, top, right, bottom) - invalidates the given rect
  577. This is used to test that invalidating a rect correctly causes a repaint of the plugin.
  578. * DumpRenderTree/LayoutTestController.cpp:
  579. (displayInvalidatedRegionCallback):
  580. (LayoutTestController::staticFunctions):
  581. * DumpRenderTree/LayoutTestController.h:
  582. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
  583. (invalidateRect):
  584. (pluginInvoke):
  585. * DumpRenderTree/chromium/LayoutTestController.cpp:
  586. (LayoutTestController::LayoutTestController):
  587. (LayoutTestController::displayInvalidatedRegion):
  588. * DumpRenderTree/chromium/LayoutTestController.h:
  589. * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
  590. 2011-02-08 Dirk Pranke <dpranke@chromium.org>
  591. Reviewed by Tony Chang.
  592. new-run-webkit-tests: move the logic that starts and stops the
  593. servers from dump_render_tree_thread into single_test_runner
  594. so that we can reuse it in the new multiprocessing worker class
  595. as well.
  596. https://bugs.webkit.org/show_bug.cgi?id=53840
  597. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  598. * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
  599. 2011-02-08 Dirk Pranke <dpranke@chromium.org>
  600. Reviewed by Mihai Parparita.
  601. new-run-webkit-tests: split out thread stack logging code into a sharable module
  602. This patch splits out the code used to find and log thread
  603. stacks from NRWT-specific packages to something generic and
  604. shareable by other python modules. It will be shared in the near
  605. future by the manager_worker_broker module, for example.
  606. https://bugs.webkit.org/show_bug.cgi?id=53656
  607. * Scripts/webkitpy/common/system/stack_utils.py: Added.
  608. * Scripts/webkitpy/common/system/stack_utils_unittest.py: Added.
  609. * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
  610. * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
  611. 2011-02-08 Dirk Pranke <dpranke@chromium.org>
  612. Reviewed by Tony Chang.
  613. new-run-webkit-tests: move a bunch of testing logic out of
  614. dump_render_tree_thread and into single_test_runner so that we
  615. will be able to reuse it in the new multiprocessing worker class as well.
  616. https://bugs.webkit.org/show_bug.cgi?id=53838
  617. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  618. * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
  619. 2011-02-08 Dirk Pranke <dpranke@chromium.org>
  620. Reviewed by Ojan Vafai.
  621. new-run-webkit-tests: remove no longer needed WatchableThread
  622. class.
  623. https://bugs.webkit.org/show_bug.cgi?id=53839
  624. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  625. 2011-02-08 Dirk Pranke <dpranke@chromium.org>
  626. Reviewed by Tony Chang.
  627. new-run-webkit-tests: add stubs for the Manager objects that
  628. will abstract the concurrency implementation (inline / threads /
  629. processes). These classes do nothing yet and are not wired up to
  630. anything.
  631. https://bugs.webkit.org/show_bug.cgi?id=53477
  632. * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker.py: Added.
  633. * Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py: Added.
  634. 2011-02-08 Dirk Pranke <dpranke@chromium.org>
  635. Reviewed by Tony Chang.
  636. new-run-webkit-tests: add simplified message broker for new-style
  637. messaging. This change adds a very simple message broker that
  638. will be used to shuttle messages between the TestRunner2 manager
  639. thread and the Worker threads. For now the class is not used by
  640. anything, but the eventual usage can be seen in the patches
  641. attached to bug 49566.
  642. https://bugs.webkit.org/show_bug.cgi?id=53158
  643. * Scripts/webkitpy/layout_tests/layout_package/message_broker2.py: Added.
  644. * Scripts/webkitpy/layout_tests/layout_package/message_broker2_unittest.py: Added.
  645. 2011-02-08 Adam Barth <abarth@webkit.org>
  646. Reviewed by Dimitri Glazkov.
  647. chromium-win builder shouldn't run python or perl tests
  648. https://bugs.webkit.org/show_bug.cgi?id=54032
  649. These tests don't pass on this builder because the builder isn't
  650. running in cygwin. There isn't really any point in running them and
  651. making the bot red forever.
  652. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  653. 2011-02-08 Brady Eidson <beidson@apple.com>
  654. Reviewed by Darin Adler.
  655. <rdar://problem/8972913> and https://bugs.webkit.org/show_bug.cgi?id=54036
  656. didChangeBackForwardList should include some context about what changed
  657. * MiniBrowser/mac/BrowserWindowController.m:
  658. (didChangeBackForwardList):
  659. 2011-02-08 Sam Weinig <sam@webkit.org>
  660. Reviewed by Anders Carlsson.
  661. WK2: Add ability to pass context to policy delegate methods
  662. https://bugs.webkit.org/show_bug.cgi?id=54031
  663. * MiniBrowser/mac/BrowserWindowController.m:
  664. (decidePolicyForNavigationAction):
  665. (decidePolicyForNewWindowAction):
  666. (decidePolicyForMIMEType):
  667. * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
  668. (TestWebKitAPI::decidePolicyForNavigationAction):
  669. (TestWebKitAPI::decidePolicyForNewWindowAction):
  670. (TestWebKitAPI::decidePolicyForMIMEType):
  671. Update policy client for new API.
  672. 2011-02-08 Martin Robinson <mrobinson@igalia.com>
  673. Reviewed by Xan Lopez.
  674. [GTK] DRT needs an implementation of LayoutTestController.setIconDatabaseEnabled
  675. https://bugs.webkit.org/show_bug.cgi?id=54033
  676. Add an implementation of LayoutTestController.setIconDatabaseEnabled that just
  677. call DumpRenderTreeSupportGtk. Turn off the icon database between tests.
  678. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  679. (resetDefaultsToConsistentValues): Turn off the icon database.
  680. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  681. (LayoutTestController::setIconDatabaseEnabled): Call the appropriate DumpRenderTreeSupportGtk
  682. method.
  683. 2011-02-08 Kundu Suchismita <suchi.kundu@nokia.com>
  684. Reviewed by Laszlo Gombos.
  685. Local Storage settings can be enable/disable from "Develop" menu
  686. https://bugs.webkit.org/show_bug.cgi?id=52296
  687. * QtTestBrowser/launcherwindow.cpp:
  688. (LauncherWindow::createChrome):
  689. (LauncherWindow::toggleLocalStorage):
  690. (LauncherWindow::toggleOfflineStorageDatabase):
  691. (LauncherWindow::toggleOfflineWebApplicationCache):
  692. (LauncherWindow::setOfflineStorageDefaultQuota):
  693. * QtTestBrowser/launcherwindow.h:
  694. (WindowOptions::WindowOptions):
  695. * QtTestBrowser/main.cpp:
  696. (LauncherApplication::handleUserOptions):
  697. 2011-02-08 Martin Robinson <mrobinson@igalia.com>
  698. Reviewed by Eric Seidel.
  699. [GTK] EventSender.keyDown does not support non-array modifier arguments
  700. https://bugs.webkit.org/show_bug.cgi?id=53962
  701. Support handling either an array or a string for the modifier argument
  702. to EventSender.keyDown.
  703. * DumpRenderTree/gtk/EventSender.cpp:
  704. (gdkModifierFromJSValue): Added this helper which factors out the
  705. string comparison bits.
  706. (gdkModifersFromJSValue): Test up front whether the value is a string,
  707. to handle it specially.
  708. 2011-02-08 Benjamin Poulain <ikipou@gmail.com>
  709. Reviewed by Csaba Osztrogonác.
  710. openDatabaseSync() stop responding after too many call
  711. https://bugs.webkit.org/show_bug.cgi?id=53945
  712. Reset the database quota to a known state between each test.
  713. Define a quota for the known origins at each test run and delete
  714. all the databases.
  715. This way, the database related test do not depend on previous
  716. allocations.
  717. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  718. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
  719. (WebCore::DumpRenderTree::dumpDatabaseQuota):
  720. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  721. (LayoutTestController::reset):
  722. 2011-02-08 Carlos Garcia Campos <cgarcia@igalia.com>
  723. Reviewed by Martin Robinson.
  724. [GTK] DRT's TextInputController is unimplemented on GTK
  725. https://bugs.webkit.org/show_bug.cgi?id=52997
  726. Initial implementation of TextInputController for GTK port.
  727. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  728. (webViewWindowObjectCleared):
  729. * DumpRenderTree/gtk/TextInputController.cpp: Added.
  730. (setMarkedTextCallback):
  731. (insertTextCallback):
  732. (unmarkTextCallback):
  733. (firstRectForCharacterRangeCallback):
  734. (selectedRangeCallback):
  735. (getClass):
  736. (makeTextInputController):
  737. * DumpRenderTree/gtk/TextInputController.h: Added.
  738. * GNUmakefile.am:
  739. 2011-02-07 Tony Chang <tony@chromium.org>
  740. Reviewed by Adam Barth.
  741. clean up python imports
  742. https://bugs.webkit.org/show_bug.cgi?id=53966
  743. Convert "import A.B.C.D as D" to "from A.B.C import D" and
  744. make some imports absolute as required by PEP-8
  745. * Scripts/webkitpy/common/checkout/scm.py:
  746. * Scripts/webkitpy/common/net/irc/ircbot.py:
  747. * Scripts/webkitpy/common/system/logutils.py:
  748. * Scripts/webkitpy/common/system/logutils_unittest.py:
  749. * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
  750. * Scripts/webkitpy/layout_tests/port/chromium.py:
  751. * Scripts/webkitpy/layout_tests/port/mac.py: Remove some unused imports
  752. * Scripts/webkitpy/layout_tests/port/webkit.py:
  753. * Scripts/webkitpy/layout_tests/update_webgl_conformance_tests.py:
  754. * Scripts/webkitpy/tool/bot/irc_command.py:
  755. * Scripts/webkitpy/tool/bot/sheriffircbot.py:
  756. * Scripts/webkitpy/tool/commands/download.py:
  757. * Scripts/webkitpy/tool/commands/prettydiff.py:
  758. * Scripts/webkitpy/tool/commands/queries.py:
  759. * Scripts/webkitpy/tool/commands/roll.py:
  760. * Scripts/webkitpy/tool/commands/stepsequence.py:
  761. * Scripts/webkitpy/tool/commands/upload.py:
  762. * Scripts/webkitpy/tool/main.py:
  763. 2011-02-07 James Robinson <jamesr@chromium.org>
  764. Reviewed by Adam Barth.
  765. Teach do-webcore-rename about the WebKit move to Source/
  766. https://bugs.webkit.org/show_bug.cgi?id=53967
  767. * Scripts/do-webcore-rename:
  768. 2011-02-07 Maciej Stachowiak <mjs@apple.com>
  769. Reviewed by Dan Bernstein.
  770. Add resource load client for injected bundle and move willSendRequest there
  771. https://bugs.webkit.org/show_bug.cgi?id=53972
  772. * MiniBrowser/mac/WebBundle/WebBundleMain.m:
  773. (didCreatePage):
  774. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  775. (WTR::InjectedBundlePage::InjectedBundlePage):
  776. (WTR::InjectedBundlePage::didInitiateLoadForResource):
  777. (WTR::InjectedBundlePage::didReceiveResponseForResource):
  778. (WTR::InjectedBundlePage::didReceiveContentLengthForResource):
  779. (WTR::InjectedBundlePage::didFinishLoadForResource):
  780. (WTR::InjectedBundlePage::didFailLoadForResource):
  781. (WTR::InjectedBundlePage::willSendRequestForFrame):
  782. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  783. 2011-02-07 Adam Barth <abarth@webkit.org>
  784. Add Leopard Debug back to the core builders.
  785. * Scripts/webkitpy/common/net/buildbot/buildbot.py:
  786. * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
  787. 2011-02-07 Adam Klein <adamk@chromium.org>
  788. Reviewed by Jian Li.
  789. [chromium] Remove deprecated method WebNotification::dir
  790. https://bugs.webkit.org/show_bug.cgi?id=53735
  791. * DumpRenderTree/chromium/NotificationPresenter.cpp:
  792. (NotificationPresenter::show):
  793. 2011-02-07 Adam Barth <abarth@webkit.org>
  794. Reviewed by Eric Seidel.
  795. Remove Leopard Debug as a core builder
  796. https://bugs.webkit.org/show_bug.cgi?id=53971
  797. The Leopard Debug builder has been failing to compile for several days.
  798. My understanding is that folks are working on fixing the build, but for
  799. the time being we should probably remove it from the list of core
  800. builders so that the core waterfall can be green. We can certainly add
  801. it back once the build is fixed.
  802. Also, I've removed the Tiger builders because those no longer appear to
  803. be attached to the buildbot master.
  804. * Scripts/webkitpy/common/net/buildbot/buildbot.py:
  805. * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
  806. 2011-02-01 Ojan Vafai <ojan@chromium.org>
  807. Reviewed by Adam Roben.
  808. include svn revisions in git diffs for the code review tool to use
  809. https://bugs.webkit.org/show_bug.cgi?id=53569
  810. * Scripts/webkitpy/common/checkout/scm.py:
  811. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  812. 2011-02-03 MORITA Hajime <morrita@google.com>
  813. Reviewed by Darin Fisher.
  814. [Chromium] Should implement EditorClientImpl::requestCheckingOfString()
  815. https://bugs.webkit.org/show_bug.cgi?id=51013
  816. Gave DRT implementation for requestTextCheck().
  817. * DumpRenderTree/chromium/LayoutTestController.cpp:
  818. (LayoutTestController::setAsynchronousSpellCheckingEnabled): Implemented.
  819. * DumpRenderTree/chromium/WebViewHost.cpp:
  820. (invokeFinishLastTextCheck): Added.
  821. (WebViewHost::requestTextCheck): Added.
  822. (WebViewHost::finishLastTextCheck): Added.
  823. * DumpRenderTree/chromium/WebViewHost.h:
  824. 2011-02-07 Joone Hur <joone.hur@collabora.co.uk>
  825. Reviewed by Martin Robinson.
  826. [Gtk] Implement layoutTestController.findString
  827. https://bugs.webkit.org/show_bug.cgi?id=50237
  828. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  829. (LayoutTestController::findString):
  830. 2011-02-07 Chang Shu <chang.shu@nokia.com>
  831. Reviewed by Darin Adler.
  832. We should disable spatial navigation explicitly during the initialization
  833. of DumpRenderTree.
  834. https://bugs.webkit.org/show_bug.cgi?id=53928
  835. * DumpRenderTree/mac/DumpRenderTree.mm:
  836. (resetDefaultsToConsistentValues):
  837. 2011-02-07 Maciej Stachowiak <mjs@apple.com>
  838. Not reviewed.
  839. Fix WebKitTestRunner build on the SL bot.
  840. * WebKitTestRunner/Configurations/Base.xcconfig: Look for the JSC copy
  841. of ICU headers.
  842. 2011-02-07 Csaba Osztrogonác <ossy@webkit.org>
  843. Unreviewed.
  844. [Qt][WK2] Buildfix after r77794.
  845. WebKitTestRunner does not block remote resources or complain about them
  846. https://bugs.webkit.org/show_bug.cgi?id=42139
  847. <rdar://problem/8183942>
  848. * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro: Add missing includepaths.
  849. 2011-02-07 Maciej Stachowiak <mjs@apple.com>
  850. Not reviewed.
  851. More bot appeasement.
  852. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
  853. 2011-02-07 Maciej Stachowiak <mjs@apple.com>
  854. Not reviewed.
  855. Remove accidental references to directories on my laptop.
  856. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
  857. 2011-02-07 Maciej Stachowiak <mjs@apple.com>
  858. Reviewed by Antti Koivisto.
  859. WebKitTestRunner does not block remote resources or complain about them
  860. https://bugs.webkit.org/show_bug.cgi?id=42139
  861. <rdar://problem/8183942>
  862. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  863. (WTR::InjectedBundlePage::willSendRequestForFrame): Implement the required
  864. checks (using KURL, to avoid need to invent a whole URL API).
  865. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Link WebCore
  866. directly to get at KURL symbols.
  867. 2011-02-06 Maciej Stachowiak <mjs@apple.com>
  868. Reviewed by Daniel Bates.
  869. Add WebKit2 bot to list of expected builders in Python regression test results.
  870. https://bugs.webkit.org/show_bug.cgi?id=53905
  871. * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
  872. 2011-02-06 Maciej Stachowiak <mjs@apple.com>
  873. Reviewed by Ryosuke Niwa.
  874. Update test expectations for new core builder
  875. https://bugs.webkit.org/show_bug.cgi?id=53904
  876. * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
  877. 2011-02-06 Maciej Stachowiak <mjs@apple.com>
  878. Reviewed by David Levin.
  879. Add WebKit2 test bot to core builders
  880. https://bugs.webkit.org/show_bug.cgi?id=53901
  881. * Scripts/webkitpy/common/net/buildbot/buildbot.py:
  882. 2011-02-06 Ryosuke Niwa <rniwa@webkit.org>
  883. Another unreviewed Chromium build fix.
  884. * DumpRenderTree/chromium/LayoutTestController.cpp:
  885. (LayoutTestController::pathToLocalResource):
  886. 2011-02-06 Ryosuke Niwa <rniwa@webkit.org>
  887. Unreviewed Chromium build fix.
  888. * DumpRenderTree/chromium/LayoutTestController.cpp:
  889. (LayoutTestController::pathToLocalResource):
  890. 2011-02-06 Ryosuke Niwa <rniwa@webkit.org>
  891. Reviewed by Darin Adler.
  892. OwnArraryPtr.h uses deleteOwnedPtr but doesn’t include OwnPtrCommon.h
  893. https://bugs.webkit.org/show_bug.cgi?id=52867
  894. * DumpRenderTree/chromium/ImageDiff.cpp:
  895. (Image::craeteFromStdin): Call adoptArrayPtr.
  896. 2011-02-06 James Kozianski <koz@chromium.org>
  897. Reviewed by Ojan Vafai.
  898. Add classes for representing test outputs.
  899. https://bugs.webkit.org/show_bug.cgi?id=52136
  900. These classes will make it easier to write scripts that deal with test
  901. outputs such as rebaselining and deduping scripts. The intent is that
  902. eventually we will be have buildbot return TestOutputs for a
  903. particular build which can be compared with TestOutputs derived from a
  904. local LayoutTests directory.
  905. * Scripts/webkitpy/common/net/testoutput.py: Added.
  906. * Scripts/webkitpy/common/net/testoutput_unittest.py: Added.
  907. * Scripts/webkitpy/common/net/testoutputset.py: Added.
  908. * Scripts/webkitpy/common/net/testoutputset_unittest.py: Added.
  909. * Scripts/webkitpy/common/system/zip_mock.py: Added.
  910. 2011-02-06 Robert Hogan <robert@webkit.org>
  911. Reviewed by Andreas Kling.
  912. [Qt] Clear page's groupName even when not in DRT
  913. https://bugs.webkit.org/show_bug.cgi?id=53874
  914. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  915. (WebCore::DumpRenderTree::windowCloseRequested):
  916. 2011-02-06 Patrick Gansterer <paroga@webkit.org>
  917. Reviewed by Andreas Kling.
  918. [CMake] Add dependencies for Visual Studio projects
  919. https://bugs.webkit.org/show_bug.cgi?id=53773
  920. Add a WebKit dependecy to WinCELauncher, so CMake can
  921. generate the correct build order for the solution.
  922. * CMakeListsWinCE.txt:
  923. 2011-02-06 Andreas Kling <kling@webkit.org>
  924. Reviewed by Antonio Gomes.
  925. [Qt] MiniBrowser: Clean up handling of titleChanged() signal
  926. https://bugs.webkit.org/show_bug.cgi?id=53869
  927. * MiniBrowser/qt/BrowserView.cpp:
  928. (BrowserView::BrowserView): Remove unnecessary titleChanged() handling.
  929. * MiniBrowser/qt/BrowserWindow.cpp:
  930. (BrowserWindow::BrowserWindow): Connect titleChanged() directly to setWindowTitle().
  931. * MiniBrowser/qt/BrowserWindow.h:
  932. 2011-02-06 Maciej Stachowiak <mjs@apple.com>
  933. Reviewed by Dan Bernstein.
  934. WebKitTestRunner needs layoutTestController.setWillSendRequestReturnsNull
  935. https://bugs.webkit.org/show_bug.cgi?id=42690
  936. <rdar://problem/8213851>
  937. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  938. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  939. (WTR::InjectedBundlePage::willSendRequestForFrame):
  940. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  941. (WTR::LayoutTestController::LayoutTestController):
  942. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  943. (WTR::LayoutTestController::willSendRequestReturnsNull):
  944. (WTR::LayoutTestController::setWillSendRequestReturnsNull):
  945. 2011-02-05 Sheriff Bot <webkit.review.bot@gmail.com>
  946. Unreviewed, rolling out r77720.
  947. http://trac.webkit.org/changeset/77720
  948. https://bugs.webkit.org/show_bug.cgi?id=53854
  949. "Broke nrwt on Chromium win." (Requested by dglazkov|away on
  950. #webkit).
  951. * Scripts/webkitpy/common/system/executive.py:
  952. 2011-02-05 Sheriff Bot <webkit.review.bot@gmail.com>
  953. Unreviewed, rolling out r77725.
  954. http://trac.webkit.org/changeset/77725
  955. https://bugs.webkit.org/show_bug.cgi?id=53844
  956. It broke Qt minimal build (Requested by Ossy_ on #webkit).
  957. * QtTestBrowser/launcherwindow.cpp:
  958. (LauncherWindow::createChrome):
  959. * QtTestBrowser/launcherwindow.h:
  960. (WindowOptions::WindowOptions):
  961. * QtTestBrowser/main.cpp:
  962. (LauncherApplication::handleUserOptions):
  963. 2011-02-04 Martin Robinson <mrobinson@igalia.com>
  964. Reviewed by Adam Barth.
  965. [GTK] plugins/plugin-document-back-forward.html fails
  966. https://bugs.webkit.org/show_bug.cgi?id=53833
  967. Add the new "alert on load" functionality for the Unix version of the
  968. test plugin. This functionality was originally introduced in r77706.
  969. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  970. (webkit_test_plugin_new_instance): Add new plugin fuctionality.
  971. 2011-02-04 Kundu Suchismita <suchi.kundu@nokia.com>
  972. Reviewed by Andreas Kling.
  973. Local Storage settings can be enable/disable from "Develop" menu
  974. https://bugs.webkit.org/show_bug.cgi?id=52296
  975. * QtTestBrowser/launcherwindow.cpp:
  976. (LauncherWindow::createChrome):
  977. (LauncherWindow::toggleLocalStorage):
  978. (LauncherWindow::toggleOfflineStorageDatabase):
  979. (LauncherWindow::toggleOfflineWebApplicationCache):
  980. (LauncherWindow::setOfflineStorageDefaultQuota):
  981. * QtTestBrowser/launcherwindow.h:
  982. (WindowOptions::WindowOptions):
  983. * QtTestBrowser/main.cpp:
  984. (LauncherApplication::handleUserOptions):
  985. 2011-02-04 Tony Chang <tony@chromium.org>
  986. Reviewed by Eric Seidel.
  987. get test-webkitpy running on win32 python
  988. https://bugs.webkit.org/show_bug.cgi?id=53822
  989. The test harness crashes with a WindowsError because it can't find
  990. 'svn' when using subprocess.Popen. This gets us past the error
  991. so we can see the failing tests on the Chromium Win Release Tests
  992. bot.
  993. * Scripts/webkitpy/common/system/executive.py:
  994. 2011-02-04 Martin Robinson <mrobinson@igalia.com>
  995. Reviewed by Gustavo Noronha Silva.
  996. [GTK] fast/events/pagehide-timeout.html fails
  997. https://bugs.webkit.org/show_bug.cgi?id=53771
  998. Add knowledge of the document browser cache model the DRT. When resetting
  999. WebKit settings to consistent values between tests, default to the document
  1000. browser cache model.
  1001. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  1002. (resetDefaultsToConsistentValues): Reset the cache model to the document browser
  1003. cache model between tests.
  1004. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  1005. (LayoutTestController::setCacheModel): An int value of 2 here corresponds to the
  1006. document browser cache model.
  1007. 2011-02-04 Adam Barth <abarth@webkit.org>
  1008. Reviewed by Eric Seidel.
  1009. PluginDocuments don't create widgets for plugins on back/forward
  1010. https://bugs.webkit.org/show_bug.cgi?id=53474
  1011. Teach the test plugin how to call alert on load.
  1012. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  1013. (NPP_New):
  1014. 2011-02-04 Adam Roben <aroben@apple.com>
  1015. Add a test case for encode/decode of FormData/FormDataElement
  1016. If the fix made in r77401 is broken, this new test will crash.
  1017. Fixes <http://webkit.org/b/53616> <rdar://problem/8949883>.
  1018. Reviewed by Sam Weinig.
  1019. * TestWebKitAPI/Test.h: Moved the bulk of TEST_ASSERT into a new _TEST_ASSERT_HELPER macro.
  1020. Added a new TEST_ASSERT_RETURN macro that can be used in functions with a return value.
  1021. * TestWebKitAPI/Tests/WebKit2/RestoreSessionStateContainingFormData.cpp: Added.
  1022. (TestWebKitAPI::didFinishLoadForFrame): Record that the load is finished.
  1023. (TestWebKitAPI::setPageLoaderClient): Hook up the loader client.
  1024. (TestWebKitAPI::createSessionStateContainingFormData): Load simple-form.html, submit the
  1025. form, an return the session state data.
  1026. (TestWebKitAPI::TEST): Create some session state that contains form data from one WKPage,
  1027. and restore it into another WKPage.
  1028. * TestWebKitAPI/Tests/WebKit2/simple-form.html: Added.
  1029. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  1030. * TestWebKitAPI/win/TestWebKitAPI.vcproj:
  1031. * TestWebKitAPI/win/copy-resources.cmd:
  1032. Added new files.
  1033. 2011-02-04 Adam Roben <aroben@apple.com>
  1034. Move code to run JavaScript tests into its own files
  1035. This will allow other tests to use this mechanism.
  1036. Fixes <http://webkit.org/b/53806> SpacebarScrolling should share its JavaScript-fu with the
  1037. world
  1038. Reviewed by Sam Weinig.
  1039. * TestWebKitAPI/JavaScriptTest.cpp: Added.
  1040. * TestWebKitAPI/JavaScriptTest.h: Added.
  1041. Moved code here...
  1042. * TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp: ...from here.
  1043. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  1044. * TestWebKitAPI/win/TestWebKitAPI.vcproj:
  1045. Added the new files.
  1046. 2011-02-04 Dirk Pranke <dpranke@chromium.org>
  1047. Reviewed by Mihai Parparita.
  1048. merge test expectations for chromium, chromium-gpu. The
  1049. chromium-gpu port will no longer maintain its own
  1050. test expectations file.
  1051. Also add in a graphics_type() call on the port object to
  1052. determine what graphics type to use in the test configuration,
  1053. and log the configuration as a config setting.
  1054. https://bugs.webkit.org/show_bug.cgi?id=53562
  1055. * Scripts/webkitpy/layout_tests/port/base.py:
  1056. * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
  1057. * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
  1058. * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
  1059. 2011-02-04 Mikhail Naganov <mnaganov@chromium.org>
  1060. Reviewed by Pavel Feldman.
  1061. Web Inspector: fix processing Unicode literals from .js sources in check-inspector-strings.
  1062. https://bugs.webkit.org/show_bug.cgi?id=53781
  1063. * Scripts/check-inspector-strings:
  1064. 2011-02-04 Adam Roben <aroben@apple.com>
  1065. Include the crashing function in the link to a crash log on Mac
  1066. Fixes <http://webkit.org/b/53780> Crash log links in results.html should include the
  1067. function that crashed on Mac
  1068. Reviewed by David Kilzer.
  1069. * Scripts/old-run-webkit-tests:
  1070. (crashLocation): Moved all the Windows code inside an if instead of using an early return,
  1071. but didn't otherwise change it. Added an if for Mac that parses the crashing function out of
  1072. the crash log.
  1073. 2011-02-04 Adam Roben <aroben@apple.com>
  1074. Link to Mac crash logs from results.html
  1075. Fixes <http://webkit.org/b/14861> run-webkit-tests should link to Mac crash logs in
  1076. results.html
  1077. Reviewed by David Kilzer.
  1078. * Scripts/old-run-webkit-tests:
  1079. (captureSavedCrashLog): Added a case for Apple's Mac port. We get the crash log out of
  1080. ~/Library/Logs/CrashReporter, and wait for ReportCrash to exit before trying to get the log.
  1081. 2011-02-03 Maciej Stachowiak <mjs@apple.com>
  1082. Reviewed by Dan Bernstein.
  1083. WebKit2: Need WebKit2 equivalent of WebResourceLoadDelegate::willSendRequest in the Bundle
  1084. https://bugs.webkit.org/show_bug.cgi?id=52897
  1085. <rdar://problem/8898294>
  1086. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  1087. (WTR::InjectedBundlePage::InjectedBundlePage):
  1088. (WTR::InjectedBundlePage::willSendRequestForFrame):
  1089. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  1090. 2011-02-03 Ivan Krstić <ike@apple.com>
  1091. Unreviewed.
  1092. Adding myself to committers.py.
  1093. * Scripts/webkitpy/common/config/committers.py:
  1094. 2011-02-03 James Kozianski <koz@chromium.org>
  1095. Reviewed by Dimitri Glazkov.
  1096. Add navigator.registerProtocolHandler behind a flag.
  1097. https://bugs.webkit.org/show_bug.cgi?id=52609
  1098. * Scripts/build-webkit:
  1099. 2011-02-03 Hayato Ito <hayato@chromium.org>
  1100. Reviewed by Eric Seidel.
  1101. [NRWT] Remove TestArgs class, which is wrongly used.
  1102. https://bugs.webkit.org/show_bug.cgi?id=53063
  1103. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  1104. * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py:
  1105. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  1106. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  1107. * Scripts/webkitpy/layout_tests/test_types/test_type_base_unittest.py:
  1108. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  1109. 2011-02-03 Andrew Wason <rectalogic@rectalogic.com>
  1110. Reviewed by Kenneth Russell.
  1111. Change ENABLE_3D_CANVAS to ENABLE_WEBGL
  1112. https://bugs.webkit.org/show_bug.cgi?id=53714
  1113. * Scripts/build-webkit: change --3d-canvas build option
  1114. to set ENABLE_WEBGL
  1115. 2011-02-03 Hayato Ito <hayato@chromium.org>
  1116. Reviewed by Tony Chang.
  1117. [NRWT] Introduces Input/Output class used by base.Driver into port/base.py and
  1118. move _run_single_test() and _process_output() functions from
  1119. dump_render_tree_thread.py to a single_test_runner.py as an individual module.
  1120. This is clean up and acts as a preparation for elimination of test_types/*
  1121. classes. These classes will move to the single_test_runner module introduced
  1122. in this patch.
  1123. https://bugs.webkit.org/show_bug.cgi?id=53004
  1124. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  1125. * Scripts/webkitpy/layout_tests/layout_package/single_test_runner.py: Added.
  1126. * Scripts/webkitpy/layout_tests/layout_package/test_input.py:
  1127. * Scripts/webkitpy/layout_tests/layout_package/test_output.py: Removed.
  1128. * Scripts/webkitpy/layout_tests/port/base.py:
  1129. * Scripts/webkitpy/layout_tests/port/chromium.py:
  1130. * Scripts/webkitpy/layout_tests/port/dryrun.py:
  1131. * Scripts/webkitpy/layout_tests/port/test.py:
  1132. * Scripts/webkitpy/layout_tests/port/webkit.py:
  1133. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  1134. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  1135. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  1136. 2011-02-03 Dirk Pranke <dpranke@chromium.org>
  1137. Unreviewed, build fix.
  1138. Delete a line that was accidentally missed in r77586; without it
  1139. there is still a race between the two threads.
  1140. https://bugs.webkit.org/show_bug.cgi?id=51572
  1141. * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
  1142. 2011-02-03 Dirk Pranke <dpranke@chromium.org>
  1143. Reviewed by Tony Chang.
  1144. nrwt: handle "broken pipe" notifications from DRT more cleanly.
  1145. https://bugs.webkit.org/show_bug.cgi?id=52927
  1146. * Scripts/webkitpy/layout_tests/port/server_process.py:
  1147. * Scripts/webkitpy/layout_tests/port/server_process_unittest.py:
  1148. 2011-02-03 Dirk Pranke <dpranke@chromium.org>
  1149. Reviewed by Kenneth Russell.
  1150. Update, resubmit change to bug 51572. I think the race that was
  1151. fixed in r76703 caused the hang that caused us to roll this
  1152. patch out before, so I'd like to try again.
  1153. https://bugs.webkit.org/show_bug.cgi?id=51572
  1154. * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
  1155. * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
  1156. 2011-02-03 Daniel Cheng <dcheng@chromium.org>
  1157. Unreviewed.
  1158. Adding myself to committers.py.
  1159. * Scripts/webkitpy/common/config/committers.py:
  1160. 2011-02-03 Adam Roben <aroben@apple.com>
  1161. Include the crashing function in the link to a crash log
  1162. Fixes <http://webkit.org/b/53739> Crash log links in results.html should include the
  1163. function that crashed
  1164. Reviewed by David Kilzer.
  1165. * Scripts/old-run-webkit-tests:
  1166. (crashLocation): Added. Returns the location of the crash.
  1167. (linksForErrorTest): Include the crash location in the link text for the crash log, if one
  1168. could be determined.
  1169. 2011-02-03 Dirk Pranke <dpranke@chromium.org>
  1170. Unreviewed, build fix.
  1171. Actually make the changes suggested by Mihai in his review
  1172. of bug 53720 :(
  1173. https://bugs.webkit.org/show_bug.cgi?id=53720
  1174. * Scripts/webkitpy/layout_tests/port/test_files.py:
  1175. * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
  1176. 2011-02-03 Dirk Pranke <dpranke@chromium.org>
  1177. Reviewed by Mihai Parparita.
  1178. new-run-webkit-tests: Fix bug introduced in r77434 that was
  1179. causing us to run the canvas GPU tests on the Mac GPU port. This
  1180. bug revealed that we were not setting the port.name() field
  1181. properly in many cases, so I've cleaned up all of that code, and
  1182. removed a few comments about "version-specific" GPU ports that
  1183. don't exist and just confused things.
  1184. Testing also revealed that port.abspath_for_test() wasn't
  1185. normalizing paths on Windows properly, so I fixed that as well.
  1186. https://bugs.webkit.org/show_bug.cgi?id=53719
  1187. * Scripts/webkitpy/layout_tests/port/base.py:
  1188. * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
  1189. * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
  1190. 2011-02-03 Dirk Pranke <dpranke@chromium.org>
  1191. Reviewed by Mihai Parparita.
  1192. new-run-webkit-tests: fix normalization of paths on windows when gathering files
  1193. r77434 introduced a bug that was causing the test expectations
  1194. for the GPU ports to not be treated properly. It turns out that
  1195. when we gathered the list of test files on Windows, we would
  1196. return paths of the form "c:\LayoutTests/fast/canvas", and the
  1197. mixture of backslashes and forward slashes was confusing things.
  1198. This patch normalizes all of the filenames returned from
  1199. test_files.find(), and adds better tests for this (fixing a
  1200. couple of other bugs found in the meantime).
  1201. https://bugs.webkit.org/show_bug.cgi?id=53720
  1202. * Scripts/webkitpy/layout_tests/port/test.py:
  1203. * Scripts/webkitpy/layout_tests/port/test_files.py:
  1204. * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
  1205. 2011-02-03 Adam Roben <aroben@apple.com>
  1206. Add links to Windows crash logs in results.html
  1207. Fixes <http://webkit.org/b/53718> run-webkit-tests should link to Windows crash logs in
  1208. results.html
  1209. Reviewed by David Kilzer.
  1210. * Scripts/old-run-webkit-tests:
  1211. (top level): Added $crashLogTag and $windowsCrashLogFilePrefix (which came from
  1212. createDebuggerCommandFile).
  1213. (testCrashedOrTimedOut): If the test crashed, capture any saved crash log after the dump
  1214. tool has exited.
  1215. (captureSavedCrashLog): Added. Finds the crash log for the test that just crashed and moves
  1216. it into the test results directory tree. Only implemented for Cygwin currently.
  1217. (findNewestFileMatchingGlob): Added. Does what it says.
  1218. (htmlForResultsSection): Only link to files that exist.
  1219. (linksForErrorTest): Add a link to the crash log.
  1220. (deleteExpectedAndActualResults): Delete any old crash log for this test.
  1221. (createDebuggerCommandFile): Use the new $windowsCrashLogFilePrefix constant instead of
  1222. hardcoding it here.
  1223. 2011-02-03 Adam Roben <aroben@apple.com>
  1224. Tell the debugger the path to the WebKit source tree when saving a crash log
  1225. This allows the debugger to include the crashing line of code in the log.
  1226. Fixes <http://webkit.org/b/53678> Crash logs from buildslaves don't show the crashing line
  1227. of code
  1228. Reviewed by Sam Weinig.
  1229. * Scripts/old-run-webkit-tests:
  1230. (createDebuggerCommandFile): Added. Saves commands that we'd like the debugger to run to a
  1231. file and returns the path to that file. The commands we pass came from
  1232. setUpWindowsCrashLogSaving, but I've added a .srcpath command to tell the debugger where the
  1233. WebKit source code lives.
  1234. (setUpWindowsCrashLogSaving): Instead of specifying the commands directly on the command
  1235. line using -c, save them to a file and specify the path to that file using -cf. This works
  1236. around what is presumably a bug in Windows's command line parsing, where having multiple
  1237. quoted paths in the debugger commands causes the post-mortem debugger not to be invoked at
  1238. all. Also pulled the options we pass to the debugger out into a list that is then join()ed
  1239. together to make them easier to modify in the future.
  1240. 2011-02-02 Sam Weinig <sam@webkit.org>
  1241. Reviewed by Anders Carlsson.
  1242. Add notification of the end of a rubber band.
  1243. <rdar://problem/8940648>
  1244. * MiniBrowser/mac/BrowserWindowController.m:
  1245. (-[BrowserWindowController awakeFromNib]):
  1246. * WebKitTestRunner/TestController.cpp:
  1247. (WTR::TestController::createOtherPage):
  1248. (WTR::TestController::initialize):
  1249. Stub out the new WKUIClient function.
  1250. 2011-02-03 Gabor Rapcsanyi <rgabor@webkit.org>
  1251. Unreviewed.
  1252. Adding myself to committers.py.
  1253. * Scripts/webkitpy/common/config/committers.py:
  1254. 2011-02-03 Balazs Kelemen <kbalazs@webkit.org>
  1255. Reviewed by Csaba Osztrogonác.
  1256. [Qt][WK2] MiniBrowser's window size should be 800x600
  1257. https://bugs.webkit.org/show_bug.cgi?id=53670
  1258. Make layout test failure debugging easier.
  1259. * MiniBrowser/qt/BrowserWindow.cpp:
  1260. (BrowserWindow::BrowserWindow):
  1261. 2011-02-02 Andy Estes <aestes@apple.com>
  1262. Reviewed by Mark Rowe.
  1263. 'update-webkit' should handle OpenSource and Internal using different
  1264. VCSs.
  1265. * Scripts/update-webkit: Re-check the VCS type when updating Apple's
  1266. Internal directory.
  1267. 2011-02-02 Dirk Pranke <dpranke@chromium.org>
  1268. Reviewed by Mihai Parparita.
  1269. new-run-webkit-tests: hardcode the directories to scan for tests
  1270. for GPU bots instead of SKIPping them. See bug 53562 for some
  1271. context, but we will now hard-code the list of directories to
  1272. use by default instead of skipping over directories in the
  1273. expectations file. We do this so that we will be able to merge
  1274. the expectations files without getting conflicting SKIP
  1275. directives. Note that this change will reduce the # of tests
  1276. being run on the Mac GPU bots, because we're accidentally
  1277. including some today.
  1278. https://bugs.webkit.org/show_bug.cgi?id=53631
  1279. * Scripts/webkitpy/layout_tests/port/base.py:
  1280. * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
  1281. * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
  1282. 2011-02-02 Sam Weinig <sam@webkit.org>
  1283. Reviewed by Beth Dakin.
  1284. Add ChromeClient function to paint custom overhang areas.
  1285. https://bugs.webkit.org/show_bug.cgi?id=53639
  1286. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  1287. (WTR::InjectedBundlePage::InjectedBundlePage):
  1288. Stub out new callback.
  1289. 2011-02-02 Dirk Pranke <dpranke@chromium.org>
  1290. Reviewed by Tony Chang.
  1291. new-run-webkit-tests: support chromium code paths in mock_drt
  1292. https://bugs.webkit.org/show_bug.cgi?id=53471
  1293. * Scripts/webkitpy/layout_tests/port/mock_drt.py:
  1294. * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
  1295. 2011-02-02 Adam Klein <adamk@chromium.org>
  1296. Reviewed by Tony Chang.
  1297. Update new-run-webkit-tests --chromium to put output under Source/...
  1298. https://bugs.webkit.org/show_bug.cgi?id=53612
  1299. * BuildSlaveSupport/test-result-archive:
  1300. * Scripts/webkitpy/layout_tests/port/chromium.py:
  1301. 2011-01-28 Tony Chang <tony@chromium.org>
  1302. Reviewed by Eric Seidel.
  1303. [chromium] remove --use-test-shell from NRWT
  1304. https://bugs.webkit.org/show_bug.cgi?id=53346
  1305. I've already started removing some of the bindings like eventSender so
  1306. this already doesn't work isn't useful. Also updated some comments to
  1307. refer to DRT instead of test_shell.
  1308. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  1309. * Scripts/webkitpy/layout_tests/port/chromium.py:
  1310. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  1311. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  1312. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  1313. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  1314. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  1315. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  1316. 2011-02-02 Steve Lacey <sjl@chromium.org>
  1317. Reviewed by Eric Carlson.
  1318. Implement basic media statistics on media elements.
  1319. https://bugs.webkit.org/show_bug.cgi?id=53322
  1320. * Scripts/build-webkit:
  1321. 2011-02-02 Kevin Ollivier <kevino@theolliviers.com>
  1322. [wx] Build fixes for wxWebKit.
  1323. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  1324. (LayoutTestController::setSerializeHTTPLoads):
  1325. * wx/browser/wscript:
  1326. * wx/build/build_utils.py:
  1327. * wx/build/settings.py:
  1328. 2011-02-01 Dirk Pranke <dpranke@chromium.org>
  1329. Reviewed by Mihai Parparita.
  1330. new-run-webkit-tests: stop skipping so many tests
  1331. r77163 introduced a regression where we weren't resetting test
  1332. expectations properly and were skipping too many tests as a
  1333. result. This patch fixes that and adds a test for it.
  1334. https://bugs.webkit.org/show_bug.cgi?id=53551
  1335. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  1336. * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
  1337. 2011-02-01 Dirk Pranke <dpranke@chromium.org>
  1338. Reviewed by Tony Chang.
  1339. new-run-webkit-tests: add first stub of test_runner2. This
  1340. will add support for the 'inline', 'threads', and 'processes'
  1341. flags to --worker-model, but for now the implementatios just
  1342. fall back on the old ones.
  1343. https://bugs.webkit.org/show_bug.cgi?id=53157
  1344. * Scripts/webkitpy/layout_tests/layout_package/test_runner2.py:
  1345. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  1346. 2011-02-01 Mihai Parparita <mihaip@chromium.org>
  1347. Reviewed by James Robinson.
  1348. [Chromium] run-chromium-webkit-unit-tests looks for binaries in the wrong place
  1349. https://bugs.webkit.org/show_bug.cgi?id=53522
  1350. * Scripts/run-chromium-webkit-unit-tests:
  1351. 2011-02-01 Adam Barth <abarth@webkit.org>
  1352. Reviewed by Mihai Parparita.
  1353. Using Control-C to cancel webkit-patch or other python tools causes
  1354. unpleasant traceback console spew
  1355. https://bugs.webkit.org/show_bug.cgi?id=53462
  1356. Catch the exception and don't print the stack trace.
  1357. * Scripts/webkit-patch:
  1358. 2011-02-01 Scott Cameron <sccameron@rim.com>
  1359. Reviewed by Daniel Bates.
  1360. Use Windows format for MinGW HTTPD path.
  1361. https://bugs.webkit.org/show_bug.cgi?id=53503
  1362. * Scripts/webkitperl/httpd.pm:
  1363. - Use single-quotes around MySys value for $httpdPath in getHTTPDPath()
  1364. so that we don't have to escape the space characters in the path. Also,
  1365. changed path to Windows-style path and removed FIXME comment.
  1366. 2011-02-01 Balazs Kelemen <kbalazs@webkit.org>
  1367. Reviewed by Andreas Kling.
  1368. [Qt][WK2] Add a way to use shared process model in MiniBrowser
  1369. https://bugs.webkit.org/show_bug.cgi?id=53090
  1370. * MiniBrowser/qt/BrowserView.cpp:
  1371. (BrowserView::BrowserView): Removed the m_context member.
  1372. From now the context is guaranteed to be non-null and we
  1373. don't need to store that in the object.
  1374. * MiniBrowser/qt/BrowserView.h:
  1375. * MiniBrowser/qt/BrowserWindow.cpp:
  1376. Added static bool to determine that new windows need to be
  1377. created with their own context or not. Use the same context
  1378. and web process by default to be inilne with the other ports.
  1379. (BrowserWindow::BrowserWindow):
  1380. (BrowserWindow::newWindow):
  1381. * MiniBrowser/qt/BrowserWindow.h:
  1382. * MiniBrowser/qt/main.cpp:
  1383. (main): Added command line switch to be able to use the
  1384. non-shared process model. Simplify the handling of the command line
  1385. switches a little bit.
  1386. 2011-02-01 Zoltan Horvath <zoltan@webkit.org>
  1387. Reviewed by Andreas Kling.
  1388. [Qt] Add Window menu and Toggle FullScreen action to MiniBrowser.
  1389. https://bugs.webkit.org/show_bug.cgi?id=53491
  1390. * MiniBrowser/qt/BrowserWindow.cpp:
  1391. (BrowserWindow::BrowserWindow):
  1392. (BrowserWindow::toggleFullScreenMode):
  1393. * MiniBrowser/qt/BrowserWindow.h:
  1394. 2011-02-01 Zoltan Horvath <zoltan@webkit.org>
  1395. Reviewed by Andreas Kling.
  1396. [Qt] Add Toggle Frame Flattening, Auto Load Images and Disable JavaScript actions to MiniBrowser.
  1397. https://bugs.webkit.org/show_bug.cgi?id=53489
  1398. Add Toggle Frame Flattening action to Develop menu. Add Auto Load Images and Disable JavaScript actions
  1399. to Settings menu.
  1400. * MiniBrowser/qt/BrowserWindow.cpp:
  1401. (BrowserWindow::BrowserWindow):
  1402. (BrowserWindow::toggleFrameFlattening):
  1403. (BrowserWindow::toggleDisableJavaScript):
  1404. (BrowserWindow::toggleAutoLoadImages):
  1405. * MiniBrowser/qt/BrowserWindow.h:
  1406. 2011-01-31 Mihai Parparita <mihaip@chromium.org>
  1407. Reviewed by Tony Chang.
  1408. [Chromium] Switch chromium-mac to use ChromiumDriver
  1409. https://bugs.webkit.org/show_bug.cgi?id=53461
  1410. For the sake of consistency with the other Chromium platforms (and so
  1411. that chromium-mac picks up special flags like --enable-hardware-gpu),
  1412. switch chromium-mac from the WebKitDriver to ChromiumDriver.
  1413. * Scripts/webkitpy/layout_tests/port/chromium.py:
  1414. 2011-01-31 Dirk Pranke <dpranke@chromium.org>
  1415. Reviewed by Mihai Parparita.
  1416. The current modifier parsing code in test_expectations is
  1417. fragile and hard-coded, so it's not easy to understand the logic
  1418. or easily add new types of modifiers (like GPU vs. CPU testing
  1419. for graphics tests, or 32-bit vs. 64-bit differences).
  1420. This is the first of two patches that will add in more generic
  1421. support and then eliminate the GPU-specific test expectations
  1422. files for Chromium.
  1423. This patch adds two standalone objects for handling modifiers. The
  1424. rules for interpreting modifiers, precedence, and conflicts are
  1425. given in the docstring to the ModifierMatcher class, which
  1426. returns ModifierMatchResult objects.
  1427. This patch also adds routines to the Port interface and a
  1428. default set of values in the base object, in order to obtain the
  1429. values needed on a given test run. These values are then passed
  1430. to the expectation parser. This also allows us to clean up the
  1431. logic used to lint all of the different configurations in a
  1432. single test_expectations.txt file.
  1433. The next patch will merge in the separate GPU expectations file.
  1434. https://bugs.webkit.org/show_bug.cgi?id=51222
  1435. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  1436. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  1437. * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
  1438. * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
  1439. * Scripts/webkitpy/layout_tests/port/base.py:
  1440. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  1441. * Scripts/webkitpy/layout_tests/port/chromium.py:
  1442. * Scripts/webkitpy/layout_tests/port/port_testcase.py:
  1443. * Scripts/webkitpy/layout_tests/port/test.py:
  1444. * Scripts/webkitpy/layout_tests/port/webkit.py:
  1445. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  1446. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
  1447. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  1448. * Tools/Scripts/webkitpy/style/checkers/test_expectations.py:
  1449. * Tools/Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
  1450. 2011-01-31 Scott Cameron <sccameron@rim.com>
  1451. Reviewed by Daniel Bates.
  1452. update run-webkit-httpd to be able to launch Apache2.2 in a MSYS environment
  1453. https://bugs.webkit.org/show_bug.cgi?id=50036
  1454. This will add an Apache2.2 configuration file and modifies scripts to allow
  1455. running an httpd server in an MSYS environment.
  1456. The default Apache2.2 installation path has been preserved and PHP5 modules disabled
  1457. in order to allow for simple installation/execution. Simply install the latest
  1458. Apache2.2 version with OpenSSL from http://httpd.apache.org/download.cgi#apache22 to
  1459. be able to execute run-webkit-httpd.
  1460. * Scripts/run-webkit-httpd:
  1461. * Scripts/webkitperl/httpd.pm:
  1462. 2011-01-31 Tony Chang <tony@chromium.org>
  1463. Reviewed by Eric Seidel.
  1464. mac DRT should report RTL scroll offset relative to top right corner
  1465. https://bugs.webkit.org/show_bug.cgi?id=53324
  1466. * DumpRenderTree/mac/DumpRenderTree.mm:
  1467. (dumpFrameScrollPosition):
  1468. 2011-01-31 Zoltan Horvath <zoltan@webkit.org>
  1469. Reviewed by Andreas Kling.
  1470. [Qt] Add Take Screen Shot action to MiniBrowser
  1471. https://bugs.webkit.org/show_bug.cgi?id=53422
  1472. Add Take Screen Shot action to MiniBrowser's view menu.
  1473. * MiniBrowser/qt/BrowserWindow.cpp:
  1474. (BrowserWindow::BrowserWindow):
  1475. (BrowserWindow::screenshot):
  1476. * MiniBrowser/qt/BrowserWindow.h:
  1477. 2011-01-31 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  1478. Reviewed by Xan Lopez.
  1479. [GTK] REGRESSION: http/tests/media/video-{cookie,referer}.html failing
  1480. https://bugs.webkit.org/show_bug.cgi?id=53379
  1481. Remove left over #ifdef's. I thought all of the conditional code
  1482. had been freed from the condition, but I forgot to check DRT.
  1483. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  1484. (resetDefaultsToConsistentValues):
  1485. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  1486. (LayoutTestController::setAlwaysAcceptCookies):
  1487. 2011-01-30 Dirk Pranke <dpranke@chromium.org>
  1488. Unreviewed, build fix.
  1489. Fix regression introduced in r77093 - path.rsplit() doesn't
  1490. take keyword arguments.
  1491. https://bugs.webkit.org/show_bug.cgi?id=53326
  1492. * Scripts/webkitpy/common/system/filesystem_mock.py:
  1493. 2011-01-30 Dirk Pranke <dpranke@chromium.org>
  1494. Reviewed by Mihai Parparita.
  1495. Add more unit tests for rebaseline-chromium-webkit-tests. This
  1496. change involves restructuring a bunch of r-c-w-t code to make it
  1497. more testable as well. We also add wrapper classes for handling
  1498. testing zip files and fetching URLs.
  1499. https://bugs.webkit.org/show_bug.cgi?id=53040
  1500. * Scripts/webkitpy/common/system/urlfetcher.py:
  1501. * Scripts/webkitpy/common/system/urlfetcher_mock.py:
  1502. * Scripts/webkitpy/common/system/zipfileset_mock.py:
  1503. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  1504. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
  1505. * Scripts/webkitpy/tool/mocktool.py:
  1506. 2011-01-30 Dirk Pranke <dpranke@chromium.org>
  1507. Reviewed by Eric Seidel.
  1508. Clean up of the filesystem-related modules used in webkitpy.
  1509. I've added relpath() to the filesystem interface, modified
  1510. ospath.relpath() so that it could work with the filesystem
  1511. interface, and modified the fileset* routines to use the
  1512. filesystem interface consistently.
  1513. This patch also adds a close() routine to the fileset routines
  1514. to indicate that the caller is done with the fileset. This
  1515. allows zipfileset to clean up after itself when it creates
  1516. tempfiles to store downloads.
  1517. https://bugs.webkit.org/show_bug.cgi?id=53326
  1518. * Scripts/webkitpy/common/system/directoryfileset.py:
  1519. * Scripts/webkitpy/common/system/fileset.py:
  1520. * Scripts/webkitpy/common/system/filesystem.py:
  1521. * Scripts/webkitpy/common/system/filesystem_mock.py:
  1522. * Scripts/webkitpy/common/system/filesystem_unittest.py:
  1523. * Scripts/webkitpy/common/system/ospath.py:
  1524. * Scripts/webkitpy/common/system/zipfileset.py:
  1525. * Scripts/webkitpy/common/system/zipfileset_unittest.py:
  1526. 2011-01-30 Balazs Kelemen <kbalazs@webkit.org>
  1527. Reviewed by Csaba Osztrogonác.
  1528. [Qt][WK2]REGRESSION (r76991): Fix build errors
  1529. https://bugs.webkit.org/show_bug.cgi?id=53400
  1530. Revert the temporary build fix (http://trac.webkit.org/changeset/77088)
  1531. and remove WebKit2Prefix.h from the build.
  1532. * MiniBrowser/qt/MiniBrowser.pro:
  1533. 2011-01-30 Csaba Osztrogonác <ossy@webkit.org>
  1534. Unreviewed.
  1535. [Qt][WK2] Buildfix.
  1536. * MiniBrowser/qt/MiniBrowser.pro:
  1537. 2011-01-28 Simon Fraser <simon.fraser@apple.com>
  1538. Reviewed by Adam Roben.
  1539. define NOMINMAX when building ImageDiff, as we do elsewhere.
  1540. Add various clampToInt() methods to MathExtras.h
  1541. https://bugs.webkit.org/show_bug.cgi?id=52910
  1542. * DumpRenderTree/win/ImageDiffCommon.vsprops:
  1543. 2011-01-28 Maciej Stachowiak <mjs@apple.com>
  1544. Reviewed by Darin Adler.
  1545. WebKitTestRunner needs layoutTestController.setPOSIXLocale
  1546. https://bugs.webkit.org/show_bug.cgi?id=42682
  1547. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  1548. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  1549. (WTR::InjectedBundle::resetLocalSettings):
  1550. (WTR::InjectedBundle::didReceiveMessage):
  1551. * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
  1552. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  1553. (WTR::LayoutTestController::setPOSIXLocale):
  1554. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  1555. 2011-01-28 Dirk Pranke <dpranke@chromium.org>
  1556. Reviewed by Mihai Parparita.
  1557. test-webkitpy: fix webkitpy.layout_tests.port.mac_unittest.MacTest.test_skipped_file_paths
  1558. This patch re-enables this test and changes it to
  1559. handle all of the mac platform versions, not just the one
  1560. it is running on.
  1561. https://bugs.webkit.org/show_bug.cgi?id=53356
  1562. * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
  1563. 2011-01-28 Dirk Pranke <dpranke@chromium.org>
  1564. Unreviewed, build fix.
  1565. Take two. The fix in 77023 didn't work, because we were
  1566. still calling path.abspath_to_uri, which calls _cygpath under
  1567. the covers, and it appears the cygpath on the bots does
  1568. something different than it does on my machine. This patch
  1569. removes the calls to path.abspath_to_uri, so it should be safe.
  1570. If it doesn't work, I'll roll it out along with r76982 and 77023.
  1571. https://bugs.webkit.org/show_bug.cgi?id=53126
  1572. * Scripts/webkitpy/layout_tests/port/test.py:
  1573. 2011-01-28 David Kilzer <ddkilzer@apple.com>
  1574. <rdar://problem/8930699> build-webkit gives a bogus warning with newer versions of Xcode
  1575. <http://webkit.org/b/53353>
  1576. Reviewed by Mark Rowe.
  1577. * Scripts/webkitdirs.pm:
  1578. (checkRequiredSystemConfig): Check the Xcode marketing version
  1579. in addition to the DevCoreTools build version before complaining
  1580. about an old version of Xcode. Also make the Mac OS X version
  1581. check use Perl's built-in version string comparitor.
  1582. 2011-01-28 Dirk Pranke <dpranke@chromium.org>
  1583. Unreviewed, build fix.
  1584. Work around breakage on Win 7 Release bot caused by r76982
  1585. and the fact that windows ports use "file:////" instead of
  1586. "file:///". Ideally the test code should be isolated from
  1587. this, but it isn't yet. Will fix properly in a bit.
  1588. * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
  1589. 2011-01-28 Dirk Pranke <dpranke@chromium.org>
  1590. Reviewed by Tony Chang.
  1591. new-run-webkit-tests: change worker model values to
  1592. "old-inline", "old-threads" in preparation for test_runner2 /
  1593. multiprocessing changes.
  1594. https://bugs.webkit.org/show_bug.cgi?id=53156
  1595. * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
  1596. * Scripts/webkitpy/layout_tests/port/base.py:
  1597. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  1598. * Scripts/webkitpy/layout_tests/port/mac.py:
  1599. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  1600. 2011-01-28 Dirk Pranke <dpranke@chromium.org>
  1601. Reviewed by Tony Chang.
  1602. committers.py - add an IRC nickname for dpranke
  1603. https://bugs.webkit.org/show_bug.cgi?id=53335
  1604. * Scripts/webkitpy/common/config/committers.py:
  1605. 2011-01-28 Dirk Pranke <dpranke@chromium.org>
  1606. Reviewed by Tony Chang.
  1607. new-run-webkit-tests: add a "mock DRT" port implementation
  1608. and a separate class that emulates what we expect the
  1609. DumpRenderTree behavior to be.
  1610. This will eventually replace port/dryrun.py and allow us to get
  1611. better test coverage of the new-run-webkit-tests code as well as
  1612. a reference for what new-run-webkit-tests expects from DRT.
  1613. This is the first attempt at this, and it is pretty bare-boned. It
  1614. really only has been tested on the 'mac' port (and a little on
  1615. the 'chromium-mac' port.
  1616. https://bugs.webkit.org/show_bug.cgi?id=53126
  1617. * Scripts/webkitpy/common/system/filesystem_mock.py:
  1618. * Scripts/webkitpy/layout_tests/port/dryrun.py:
  1619. * Scripts/webkitpy/layout_tests/port/factory.py:
  1620. * Scripts/webkitpy/layout_tests/port/mock_drt.py: Added.
  1621. * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py: Added.
  1622. * Scripts/webkitpy/layout_tests/port/test.py:
  1623. 2011-01-28 Pratik Solanki <psolanki@apple.com>
  1624. Unreviewed. Removing .swp file checked in by mistake.
  1625. * Scripts/.webkitdirs.pm.swp: Removed.
  1626. 2011-01-28 Pratik Solanki <psolanki@apple.com>
  1627. Reviewed by David Kilzer.
  1628. Space not necessary for undefined feature
  1629. https://bugs.webkit.org/show_bug.cgi?id=53317
  1630. * Scripts/build-webkit:
  1631. 2011-01-28 Chang Shu <chang.shu@nokia.com>
  1632. Reviewed by Andreas Kling.
  1633. Reset NetworkAccessManager to clean up credentials from previous tests.
  1634. This change causes no performance overhead either.
  1635. https://bugs.webkit.org/show_bug.cgi?id=36688
  1636. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  1637. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
  1638. (WebCore::DumpRenderTree::open):
  1639. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  1640. 2011-01-28 Zoltan Horvath <zoltan@webkit.org>
  1641. Reviewed by Andreas Kling.
  1642. [Qt] Add Zoom Text Only action to MiniBrowser
  1643. https://bugs.webkit.org/show_bug.cgi?id=53297
  1644. Add Zoom Text Only action to MiniBrowser's view menu, change zoom levels to avoid unnecessary divides.
  1645. * MiniBrowser/qt/BrowserWindow.cpp:
  1646. (BrowserWindow::BrowserWindow):
  1647. (BrowserWindow::zoomIn):
  1648. (BrowserWindow::zoomOut):
  1649. (BrowserWindow::resetZoom):
  1650. (BrowserWindow::toggleZoomTextOnly):
  1651. (BrowserWindow::applyZoom):
  1652. * MiniBrowser/qt/BrowserWindow.h:
  1653. 2011-01-28 Adam Barth <abarth@webkit.org>
  1654. Reviewed by Eric Seidel.
  1655. Add webkit-patch roll-chromium-deps
  1656. https://bugs.webkit.org/show_bug.cgi?id=53288
  1657. This command updates the Source/WebKit/chromium/DEPS file with the
  1658. last-known good revision of Chromium (or a revision specified on the
  1659. command line). I'd eventually like to turn this into a SheriffBot
  1660. command, but this is the first step.
  1661. This patch somewhat sprawled because I needed to move a bunch of code
  1662. out of ChangeLog that should never have been there in the first place.
  1663. Also, I had to fix a bug in MockUser in order to test the new command.
  1664. * Scripts/webkitpy/common/checkout/api.py:
  1665. * Scripts/webkitpy/common/checkout/changelog.py:
  1666. * Scripts/webkitpy/common/checkout/changelog_unittest.py:
  1667. * Scripts/webkitpy/common/checkout/deps.py: Added.
  1668. * Scripts/webkitpy/common/config/urls.py:
  1669. * Scripts/webkitpy/tool/commands/__init__.py:
  1670. * Scripts/webkitpy/tool/commands/download_unittest.py:
  1671. * Scripts/webkitpy/tool/commands/roll.py: Added.
  1672. * Scripts/webkitpy/tool/commands/roll_unittest.py: Added.
  1673. * Scripts/webkitpy/tool/commands/upload_unittest.py:
  1674. * Scripts/webkitpy/tool/mocktool.py:
  1675. * Scripts/webkitpy/tool/steps/__init__.py:
  1676. * Scripts/webkitpy/tool/steps/preparechangelogfordepsroll.py: Added.
  1677. * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
  1678. * Scripts/webkitpy/tool/steps/preparechangelogforrevert_unittest.py: Added.
  1679. * Scripts/webkitpy/tool/steps/suggestreviewers_unittest.py:
  1680. * Scripts/webkitpy/tool/steps/updatechromiumdeps.py: Added.
  1681. * Scripts/webkitpy/tool/steps/validatechangelogs_unittest.py:
  1682. 2011-01-27 Greg Coletta <greg.coletta@nokia.com>
  1683. Reviewed by Laszlo Gombos.
  1684. Get rid of prefix header dependency for WebKit2 build system
  1685. https://bugs.webkit.org/show_bug.cgi?id=50174
  1686. Change the style checker so that it enforces config.h include for
  1687. WebKit2.
  1688. * Scripts/webkitpy/style/checker.py:
  1689. 2011-01-27 Maciej Stachowiak <mjs@apple.com>
  1690. Reviewed by Darin Adler.
  1691. execCommand("Paste") doesn't work in WebKitTestRunner
  1692. https://bugs.webkit.org/show_bug.cgi?id=52785
  1693. Enable both of the settings needed to allow paste.
  1694. * WebKitTestRunner/TestController.cpp:
  1695. (WTR::TestController::resetStateToConsistentValues):
  1696. 2011-01-27 Jacob Dinu <dinu.jacob@nokia.com>
  1697. Reviewed by Andreas Kling.
  1698. [Qt] QtTestBrowser: User input lost when toggling use of QGraphicsView
  1699. https://bugs.webkit.org/show_bug.cgi?id=48440
  1700. Preserve user input when toggling use of QGraphicsView
  1701. * QtTestBrowser/launcherwindow.cpp:
  1702. (LauncherWindow::initializeView):
  1703. (LauncherWindow::loadFinished):
  1704. * QtTestBrowser/launcherwindow.h:
  1705. * QtTestBrowser/mainwindow.cpp:
  1706. (MainWindow::addressUrl):
  1707. * QtTestBrowser/mainwindow.h:
  1708. 2011-01-27 Dirk Pranke <dpranke@chromium.org>
  1709. Reviewed by Mihai Parparita.
  1710. new-run-webkit-tests: turn off pixel tests correctly by default
  1711. for webkit-based ports. r70013 (bug 47510) used
  1712. port.set_option_default() to attempt to set default values, but
  1713. that didn't work correctly. I have removed set_option_default
  1714. for now since it was only being used in two places and in three
  1715. useless unit tests. There is a separate bug open to fix the
  1716. option parsing (48095), so this workaround is fine for now.
  1717. https://bugs.webkit.org/show_bug.cgi?id=53217
  1718. * Scripts/webkitpy/layout_tests/port/webkit.py:
  1719. * Scripts/webkitpy/layout_tests/port/base.py:
  1720. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  1721. 2011-01-27 Balazs Kelemen <kbalazs@webkit.org>
  1722. Rubber-stamped by Ariya Hidayat.
  1723. Trivial crash fix in WTR.
  1724. * WebKitTestRunner/TestController.cpp:
  1725. (WTR::TestController::initialize): Increase the size
  1726. of the vector by one to be able to store the null character.
  1727. 2011-01-27 Balazs Kelemen <kbalazs@webkit.org>
  1728. Reviewed by Csaba Osztrogonác.
  1729. [Qt][WK2] WTR should be initialized in the same way as DRT
  1730. https://bugs.webkit.org/show_bug.cgi?id=53240
  1731. * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
  1732. (WTR::activateFonts): Added missing initialization steps.
  1733. 2011-01-27 Joone Hur <joone.hur@collabora.co.uk>
  1734. Unreviewed.
  1735. Adding myself to committers.py.
  1736. * Scripts/webkitpy/common/config/committers.py:
  1737. 2011-01-27 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  1738. Reviewed by Csaba Osztrogonác.
  1739. [Qt] [Symbian] Move project files into Source
  1740. https://bugs.webkit.org/show_bug.cgi?id=52891
  1741. Fix the Symbian build after the project files
  1742. are moved to Source directory. On Symbian qmake
  1743. needs to run in the same directory where the main
  1744. pro files (WebKit.pro, Tools.pro) are located.
  1745. * Scripts/webkitdirs.pm: Change to the directory where the pro file
  1746. is located before running qmake for Symbian. Qmake on Symbian
  1747. does not properly honor the "-o" option, work it around by setting
  1748. the name of the Makefile to bld.inf.
  1749. 2011-01-27 Zoltan Horvath <zoltan@webkit.org>
  1750. Reviewed by Andreas Kling.
  1751. [Qt] Add simple zooming features to MiniBrowser
  1752. https://bugs.webkit.org/show_bug.cgi?id=53231
  1753. Add View menu and Zoom In, Zoom Out, Zoom Reset actions to MiniBrowser.
  1754. * MiniBrowser/qt/BrowserWindow.cpp:
  1755. (BrowserWindow::BrowserWindow):
  1756. (BrowserWindow::zoomIn):
  1757. (BrowserWindow::zoomOut):
  1758. (BrowserWindow::resetZoom):
  1759. (BrowserWindow::updateUserAgentList):
  1760. (BrowserWindow::applyZoom):
  1761. * MiniBrowser/qt/BrowserWindow.h:
  1762. 2011-01-26 Maciej Stachowiak <mjs@apple.com>
  1763. Reviewed by Dan Bernstein.
  1764. WebKitTestRunner needs to support layoutTestController.evaluateInWebInspector
  1765. https://bugs.webkit.org/show_bug.cgi?id=42319
  1766. Add evaluateInWebInspector and other APIs needed for inspector tests to run.
  1767. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  1768. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  1769. (WTR::LayoutTestController::showWebInspector):
  1770. (WTR::LayoutTestController::closeWebInspector):
  1771. (WTR::LayoutTestController::evaluateInWebInspector):
  1772. (WTR::LayoutTestController::setTimelineProfilingEnabled):
  1773. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  1774. * WebKitTestRunner/TestInvocation.cpp:
  1775. (WTR::shouldOpenWebInspector):
  1776. (WTR::TestInvocation::invoke):
  1777. * WebKitTestRunner/WebKitTestRunnerPrefix.h:
  1778. 2011-01-26 Martin Robinson <mrobinson@igalia.com>
  1779. Reviewed by Xan Lopez.
  1780. [GTK] Pixel dumps do not include scrollbars in output images
  1781. https://bugs.webkit.org/show_bug.cgi?id=53216
  1782. Show scrollbars in pixel dumps. This will fix pixel dumps for tests
  1783. that have scrollbars.
  1784. * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp:
  1785. (createBitmapContextFromWebView): Take the snapshot of the containing GtkScrolledWindow
  1786. instead of the web view itself.
  1787. 2011-01-26 Dirk Pranke <dpranke@chromium.org>
  1788. Reviewed by Mihai Parparita.
  1789. Fix regression introduced in r76322 ... new-run-webkit-tests
  1790. was attempting to save the image diff output as a UTF-8-encoded
  1791. file.
  1792. https://bugs.webkit.org/show_bug.cgi?id=53210
  1793. * Scripts/webkitpy/layout_tests/port/webkit.py:
  1794. 2011-01-26 Sheriff Bot <webkit.review.bot@gmail.com>
  1795. Unreviewed, rolling out r76709.
  1796. http://trac.webkit.org/changeset/76709
  1797. https://bugs.webkit.org/show_bug.cgi?id=53194
  1798. "broke python tests on non-snowleopard platforms" (Requested
  1799. by dpranke on #webkit).
  1800. * Scripts/webkitpy/layout_tests/port/factory.py:
  1801. * Scripts/webkitpy/layout_tests/port/mock_drt.py: Removed.
  1802. * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py: Removed.
  1803. 2011-01-26 Dirk Pranke <dpranke@chromium.org>
  1804. Reviewed by Tony Chang.
  1805. new-run-webkit-tests: add a "mock DRT" port implementation
  1806. and a separate class that emulates what we expect the
  1807. DumpRenderTree behavior to be.
  1808. This will eventually replace port/dryrun.py and allow us to get
  1809. better test coverage of the new-run-webkit-tests code as well as
  1810. a reference for what new-run-webkit-tests expects from DRT.
  1811. This is the first attempt at this, and it is pretty bare-boned. It
  1812. really only has been tested on the 'mac' port (and a little on
  1813. the 'chromium-mac' port.
  1814. https://bugs.webkit.org/show_bug.cgi?id=53126
  1815. * Scripts/webkitpy/layout_tests/port/mock_drt.py: Added.
  1816. * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py: Added.
  1817. * Scripts/webkitpy/layout_tests/port/factory.py:
  1818. 2011-01-26 Xianzhu Wang <wangxianzhu@google.com>
  1819. Reviewed by Tony Chang.
  1820. Add '--no-timeout' option to Chromium DRT to ease debugging.
  1821. https://bugs.webkit.org/show_bug.cgi?id=52873
  1822. * DumpRenderTree/chromium/DumpRenderTree.cpp:
  1823. (main):
  1824. 2011-01-26 Csaba Osztrogonác <ossy@webkit.org>
  1825. Reviewed by Andreas Kling.
  1826. [Qt] Fix qt_minimal build
  1827. https://bugs.webkit.org/show_bug.cgi?id=53172
  1828. * QtTestBrowser/locationedit.h:
  1829. 2011-01-26 Mansi Mithal <mansi.mithal@nokia.com>
  1830. Reviewed by Antonio Gomes.
  1831. QtTestBrowser should have a UI Setting to disable plugins
  1832. https://bugs.webkit.org/show_bug.cgi?id=52408
  1833. Added a new action item named "Disable Plugins"
  1834. under the "Settings" menu.
  1835. * QtTestBrowser/launcherwindow.cpp:
  1836. (LauncherWindow::createChrome):
  1837. (LauncherWindow::togglePlugins):
  1838. * QtTestBrowser/launcherwindow.h:
  1839. 2011-01-25 Patrick Gansterer <paroga@webkit.org>
  1840. Reviewed by Adam Barth.
  1841. Move main CMakeLists.txt into Source directory
  1842. https://bugs.webkit.org/show_bug.cgi?id=52888
  1843. * Scripts/webkitdirs.pm:
  1844. 2011-01-25 Patrick Gansterer <paroga@webkit.org>
  1845. Reviewed by Eric Seidel.
  1846. Improve label text in submit-to-ews
  1847. https://bugs.webkit.org/show_bug.cgi?id=53130
  1848. * QueueStatusServer/templates/submittoews.html:
  1849. 2011-01-25 Mansi Mithal <mansi.mithal@nokia.com>
  1850. Reviewed by Antonio Gomes.
  1851. QtTestBrowser should have a UI Settings to prevent loading images
  1852. https://bugs.webkit.org/show_bug.cgi?id=52409
  1853. Added a new action item named "DisableAutoLoadImages"
  1854. under the "Settings" menu
  1855. * QtTestBrowser/launcherwindow.cpp:
  1856. (LauncherWindow::createChrome):
  1857. (LauncherWindow::toggleAutoLoadImages):
  1858. * QtTestBrowser/launcherwindow.h:
  1859. 2011-01-25 Dirk Pranke <dpranke@chromium.org>
  1860. Reviewed by Tony Chang.
  1861. Minor bug fixes and cleanup for filesystem wrappers, port/* test
  1862. classes, test_expectations.py. This change adds "test-win" and
  1863. "test-mac" variants to the test port so that we can better test
  1864. rebaselining, and adds a MockUser() object for reuse in testing.
  1865. https://bugs.webkit.org/show_bug.cgi?id=53036
  1866. * Scripts/webkitpy/common/system/filesystem.py:
  1867. * Scripts/webkitpy/common/system/filesystem_mock.py:
  1868. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  1869. * Scripts/webkitpy/layout_tests/port/factory.py:
  1870. * Scripts/webkitpy/layout_tests/port/base.py:
  1871. * Scripts/webkitpy/layout_tests/port/test.py:
  1872. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  1873. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
  1874. * Scripts/webkitpy/tool/mocktool.py:
  1875. 2011-01-25 Tony Chang <tony@chromium.org>
  1876. Reviewed by Dimitri Glazkov.
  1877. [chromium] remove unused layoutTestController callback
  1878. https://bugs.webkit.org/show_bug.cgi?id=53103
  1879. This method is used by a test_shell_test, but not needed by DRT.
  1880. * DumpRenderTree/chromium/LayoutTestController.cpp:
  1881. (LayoutTestController::LayoutTestController):
  1882. * DumpRenderTree/chromium/LayoutTestController.h:
  1883. 2011-01-25 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  1884. Reviewed by Andreas Kling.
  1885. [GTK] Remove 64 bits release bot from the buildbot master
  1886. https://bugs.webkit.org/show_bug.cgi?id=52899
  1887. Removes the 64 bits release slave from the buildbot configuration,
  1888. so that we can use it as an EWS.
  1889. * BuildSlaveSupport/build.webkit.org-config/config.json:
  1890. 2011-01-24 Maciej Stachowiak <mjs@apple.com>
  1891. Reviewed by Dan Bernstein.
  1892. Implement database quota callback to fix storage tests on WebKit2 bot
  1893. https://bugs.webkit.org/show_bug.cgi?id=53064
  1894. * WebKitTestRunner/TestController.cpp:
  1895. (WTR::exceededDatabaseQuota):
  1896. (WTR::TestController::createOtherPage):
  1897. (WTR::TestController::initialize):
  1898. 2011-01-24 Maciej Stachowiak <mjs@apple.com>
  1899. Reviewed by Anders Carlsson.
  1900. Use designated temp directory for the database for WebKit2
  1901. https://bugs.webkit.org/show_bug.cgi?id=53052
  1902. Adopt the new WK2 API for this.
  1903. * WebKitTestRunner/TestController.cpp:
  1904. (WTR::TestController::libraryPathForTesting):
  1905. (WTR::TestController::initialize):
  1906. * WebKitTestRunner/TestController.h:
  1907. * WebKitTestRunner/mac/TestControllerMac.mm:
  1908. (WTR::TestController::platformLibraryPathForTesting):
  1909. * WebKitTestRunner/qt/TestControllerQt.cpp:
  1910. (WTR::TestController::platformLibraryPathForTesting):
  1911. * WebKitTestRunner/win/TestControllerWin.cpp:
  1912. (WTR::TestController::platformLibraryPathForTesting):
  1913. 2011-01-24 Lucas Forschler <lforschler@apple.com>
  1914. Reviewed by Stephanie Lewis.
  1915. Add a new Leopard test bot.
  1916. * BuildSlaveSupport/build.webkit.org-config/config.json:
  1917. 2011-01-24 Gyuyoung Kim <gyuyoung.kim@samsung.com>
  1918. Reviewed by Adam Barth.
  1919. Add EFL Builder to core waterfall
  1920. https://bugs.webkit.org/show_bug.cgi?id=52704
  1921. Add EFL Builder to the core waterfall again.
  1922. * Scripts/webkitpy/common/net/buildbot/buildbot.py:
  1923. * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
  1924. 2011-01-24 Xianzhu Wang <wangxianzhu@google.com>
  1925. Reviewed by Tony Chang.
  1926. new-run-webkit-tests fails to start HTTP server if there are proxy settings
  1927. https://bugs.webkit.org/show_bug.cgi?id=52872
  1928. Force disabling proxy to resolve the problem.
  1929. * Scripts/webkitpy/layout_tests/port/http_server_base.py:
  1930. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  1931. 2011-01-24 Andreas Kling <kling@webkit.org>
  1932. Reviewed by Darin Adler.
  1933. check-webkit-style: Update exemptions following Source/ move.
  1934. https://bugs.webkit.org/show_bug.cgi?id=53017
  1935. * Scripts/webkitpy/style/checker.py:
  1936. * Scripts/webkitpy/style/checker_unittest.py:
  1937. 2011-01-24 Andras Becsi <abecsi@webkit.org>
  1938. Rubber-stamped by Csaba Osztrogonác.
  1939. [Qt] Move project files into Source
  1940. https://bugs.webkit.org/show_bug.cgi?id=52891
  1941. * DumpRenderTree/qt/ImageDiff.pro: Add missing "Source" to WebKit.pri path
  1942. 2011-01-24 Mikhail Naganov <mnaganov@chromium.org>
  1943. Reviewed by Yury Semikhatsky.
  1944. Web Inspector: Find duplicate strings in localizedStrings.js
  1945. https://bugs.webkit.org/show_bug.cgi?id=53005
  1946. * Scripts/check-inspector-strings:
  1947. 2011-01-24 Zoltan Horvath <zoltan@webkit.org>
  1948. Reviewed by Andreas Kling.
  1949. [Qt] Regroup MiniBrowser's menubar and add open file action
  1950. https://bugs.webkit.org/show_bug.cgi?id=53000
  1951. Add File and Develop menu to MiniBrowser's menubar and add open file action to File menu.
  1952. * MiniBrowser/qt/BrowserWindow.cpp:
  1953. (BrowserWindow::BrowserWindow):
  1954. (BrowserWindow::openFile):
  1955. (BrowserWindow::~BrowserWindow):
  1956. * MiniBrowser/qt/BrowserWindow.h:
  1957. 2011-01-24 Csaba Osztrogonác <ossy@webkit.org>
  1958. Unreviewed fix after r76496
  1959. [Qt] Move project files into Source
  1960. https://bugs.webkit.org/show_bug.cgi?id=52891
  1961. * BuildSlaveSupport/build.webkit.org-config/master.cfg: Remove unnecessary "Source" from the path.
  1962. * BuildSlaveSupport/built-product-archive: Remove unnecessary "Source" from the path.
  1963. * Scripts/webkitdirs.pm: Add the accidentally removed slash to the path.
  1964. 2011-01-24 Andras Becsi <abecsi@webkit.org>
  1965. Reviewed by Csaba Osztrogonác.
  1966. [Qt] Move project files into Source
  1967. https://bugs.webkit.org/show_bug.cgi?id=52891
  1968. * DerivedSources.pro: Renamed from DerivedSources.pro.
  1969. * DumpRenderTree/qt/DumpRenderTree.pro:
  1970. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  1971. * MiniBrowser/DerivedSources.pro:
  1972. * MiniBrowser/qt/MiniBrowser.pro:
  1973. * QtTestBrowser/QtTestBrowser.pro:
  1974. * Scripts/webkitdirs.pm:
  1975. * Tools.pro: Added.
  1976. * WebKitTestRunner/DerivedSources.pro:
  1977. * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
  1978. * WebKitTestRunner/qt/WebKitTestRunner.pro:
  1979. 2011-01-22 Geoffrey Garen <ggaren@apple.com>
  1980. Reviewed by Dan Bernstein.
  1981. Beefed up --threaded mode to catch even more kinds of errors.
  1982. https://bugs.webkit.org/show_bug.cgi?id=52971
  1983. * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Use a shared
  1984. context group to force JSC to mark multiple threads. (This used to be
  1985. the default, but it changed in SnowLeopard.)
  1986. (runJavaScriptThread): Do more locking and unlocking, and more allocation,
  1987. to give threading mistakes more chances to show themselves.
  1988. (startJavaScriptThreads):
  1989. (stopJavaScriptThreads):
  1990. 2011-01-22 Robert Hogan <robert@webkit.org>
  1991. Reviewed by Andreas Kling.
  1992. [Qt] Support layoutTestController.addURLToRedirect()
  1993. https://bugs.webkit.org/show_bug.cgi?id=52956
  1994. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  1995. (LayoutTestController::addURLToRedirect):
  1996. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  1997. 2011-01-22 Robert Hogan <robert@webkit.org>
  1998. Reviewed by Kenneth Rohde Christiansen.
  1999. [Qt] REGRESSION (r72360): http/tests/security/aboutBlank/xss-DENIED-* tests fail
  2000. https://bugs.webkit.org/show_bug.cgi?id=49802
  2001. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  2002. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
  2003. (WebCore::DumpRenderTree::open):
  2004. 2011-01-21 Adam Barth <abarth@webkit.org>
  2005. Reviewed by Maciej Stachowiak.
  2006. Disable mac_unittest.py that fails on some of the Mac bots
  2007. https://bugs.webkit.org/show_bug.cgi?id=52947
  2008. As noted in the comment, this test does not appear to be correct
  2009. because the function this test is testing returns different results
  2010. depending on which flavor of Mac the test is run on. This patch
  2011. disable the test. Hopefully we can re-enable the test once we've
  2012. probably insulated the test from its environment.
  2013. * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
  2014. 2011-01-21 Dirk Pranke <dpranke@chromium.org>
  2015. Reviewed by Mihai Parparita.
  2016. Fix bug introduced in r76322 that caused NRWT to not actually
  2017. read the Skipped files properly.
  2018. https://bugs.webkit.org/show_bug.cgi?id=52771
  2019. * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
  2020. * Scripts/webkitpy/layout_tests/port/webkit.py:
  2021. * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
  2022. 2011-01-21 Sam Weinig <sam@webkit.org>
  2023. Reviewed by Geoffrey Sean Garen and Mark Rowe.
  2024. WebKitTestRunner needs the HOME environment variable to be set.
  2025. <rdar://problem/8896573>
  2026. * Scripts/old-run-webkit-tests: Set the HOME environment variable if
  2027. it exists.
  2028. 2011-01-21 Dirk Pranke <dpranke@chromium.org>
  2029. Reviewed by Eric Seidel.
  2030. Suppress a few remaining integration tests so that none of the
  2031. layout_test unit tests ever read from the filesystem or launch
  2032. subprocesses that aren't part of the unit tests.
  2033. Also fix a minor bug in the printing unit tests that was
  2034. incorrectly relying on sys.argv.
  2035. https://bugs.webkit.org/show_bug.cgi?id=52863
  2036. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  2037. * Scripts/webkitpy/layout_tests/port/port_testcase.py:
  2038. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  2039. 2011-01-21 Darin Adler <darin@apple.com>
  2040. Fix Mac build.
  2041. * MiniBrowser/mac/BrowserWindowController.m:
  2042. (-[BrowserWindowController awakeFromNib]): Pass 0 for runModal function.
  2043. 2011-01-20 Darin Adler <darin@apple.com>
  2044. Reviewed by Dan Bernstein.
  2045. WebKit2: Implement showModalDialog
  2046. https://bugs.webkit.org/show_bug.cgi?id=52855
  2047. This fixes WebKitTestRunner to compile, but more work is probably
  2048. needed to get it to pass the tests.
  2049. * WebKitTestRunner/TestController.cpp:
  2050. (WTR::TestController::runModal): Added. Calls through to the
  2051. platform-specific version of runModal.
  2052. (WTR::TestController::createOtherPage): Changed to be a private
  2053. static member function so it can refer to runModal, which is
  2054. a private static member function.
  2055. (WTR::TestController::initialize): Pass 0 for the runModal
  2056. function since we don't need to run the main window modal.
  2057. I suspect this is wrong and will need to change.
  2058. * WebKitTestRunner/TestController.h: Added declarations for
  2059. the functions added above.
  2060. * WebKitTestRunner/mac/TestControllerMac.mm:
  2061. (WTR::TestController::runModal): Added. Untested implementation.
  2062. * WebKitTestRunner/qt/TestControllerQt.cpp:
  2063. (WTR::TestController::runModal): Added.
  2064. * WebKitTestRunner/win/TestControllerWin.cpp:
  2065. (WTR::TestController::runModal): Added.
  2066. 2011-01-21 Eric Seidel <eric@webkit.org>
  2067. Reviewed by Adam Barth.
  2068. Split Host object off from WebKitPatch for easier re-use
  2069. https://bugs.webkit.org/show_bug.cgi?id=52284
  2070. new-run-webkit-tests and other tools are eventually going to want one of these.
  2071. Basically you need to inherit from this class if you want to pretend to be a
  2072. self.tool object for Steps/Commands.
  2073. * Scripts/webkitpy/common/host.py: Added.
  2074. * Scripts/webkitpy/tool/main.py:
  2075. 2011-01-20 Dirk Pranke <dpranke@chromium.org>
  2076. Reviewed by Adam Barth.
  2077. Disable the tests that start and stop the http server and web
  2078. server, so that we don't have to worry about port collisions on
  2079. the bots.
  2080. https://bugs.webkit.org/show_bug.cgi?id=52861
  2081. * Scripts/webkitpy/layout_tests/port/port_testcase.py:
  2082. 2011-01-20 Dirk Pranke <dpranke@chromium.org>
  2083. Reviewed by Eric Seidel.
  2084. nrwt: rewrite google_chrome_unittest to use mock filesystem.
  2085. https://bugs.webkit.org/show_bug.cgi?id=52772
  2086. * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
  2087. 2011-01-20 Dirk Pranke <dpranke@chromium.org>
  2088. Reviewed by Eric Siedel.
  2089. nrwt: clean up almost all remaining port references, remove
  2090. unnecessary import clauses. The only remaining references are
  2091. in places where a mock filesystem makes no sense or can't be
  2092. used, and in one routine in port/google_chrome_unittest that
  2093. I'll rewrite in a separate patch.
  2094. https://bugs.webkit.org/show_bug.cgi?id=52771
  2095. * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
  2096. * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
  2097. * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
  2098. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  2099. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  2100. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  2101. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  2102. * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
  2103. * Scripts/webkitpy/layout_tests/port/google_chrome.py:
  2104. * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
  2105. * Scripts/webkitpy/layout_tests/port/gtk.py:
  2106. * Scripts/webkitpy/layout_tests/port/mac.py:
  2107. * Scripts/webkitpy/layout_tests/port/port_testcase.py:
  2108. * Scripts/webkitpy/layout_tests/port/qt.py:
  2109. * Scripts/webkitpy/layout_tests/port/webkit.py:
  2110. * Scripts/webkitpy/layout_tests/port/win.py:
  2111. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  2112. 2011-01-20 Dirk Pranke <dpranke@chromium.org>
  2113. Reviewed by Mihai Parparita.
  2114. remove fs refs from run_webkit_tests, rebaseline_chromium_webkit_tests
  2115. https://bugs.webkit.org/show_bug.cgi?id=52762
  2116. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  2117. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  2118. 2011-01-20 Tony Chang <tony@chromium.org>
  2119. Reviewed by Ojan Vafai.
  2120. [chromium] fix the paths used for the rebaseline tool
  2121. https://bugs.webkit.org/show_bug.cgi?id=52857
  2122. Some of the bots were renamed so the path to grab the results zip
  2123. file has changed.
  2124. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  2125. 2011-01-20 Dirk Pranke <dpranke@chromium.org>
  2126. Reviewed by Tony Chang.
  2127. Fix bug introduced in r72688 / bug 52768 that broke the
  2128. generation of the output filename links in the results.html
  2129. output. Apparently none of the unit tests actually checked to
  2130. make sure the generated links were correct :(
  2131. https://bugs.webkit.org/show_bug.cgi?id=52854
  2132. * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
  2133. * Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py:
  2134. 2011-01-20 Alexey Proskuryakov <ap@apple.com>
  2135. Reviewed by Darin Adler.
  2136. https://bugs.webkit.org/show_bug.cgi?id=52849
  2137. Make window.print work with WebKit2
  2138. * MiniBrowser/mac/BrowserWindowController.m:
  2139. (-[BrowserWindowController awakeFromNib]):
  2140. * WebKitTestRunner/TestController.cpp:
  2141. (WTR::createOtherPage):
  2142. (WTR::TestController::initialize):
  2143. Added zeroes to WKPageUIClient structures to avoid build failures.
  2144. 2011-01-20 Dirk Pranke <dpranke@chromium.org>
  2145. Reviewed by Eric Seidel.
  2146. nrwt: remove fs refs from printing, test_failures, test_expectations, text_diff
  2147. https://bugs.webkit.org/show_bug.cgi?id=52756
  2148. * Scripts/webkitpy/layout_tests/layout_package/printing.py:
  2149. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  2150. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  2151. * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
  2152. * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
  2153. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  2154. 2011-01-20 Mansi Mithal <mansi.mithal@nokia.com>
  2155. Reviewed by Antonio Gomes.
  2156. QtTestBrowser should have a seperate menu for Settings
  2157. https://bugs.webkit.org/show_bug.cgi?id=52817
  2158. Added a new menu item named "Settings"
  2159. and moved the "Enable interrupting js scripts" and "Enable js pop up windows" under the "Settings" menu
  2160. * QtTestBrowser/launcherwindow.cpp:
  2161. (LauncherWindow::createChrome):
  2162. 2011-01-20 Sam Weinig <sam@webkit.org>
  2163. Reviewed by John Sullivan.
  2164. Update update-webkit-localizable-strings with new path to WebKit.
  2165. * Scripts/update-webkit-localizable-strings:
  2166. 2011-01-20 James Robinson <jamesr@chromium.org>
  2167. Reviewed by Darin Fisher.
  2168. Implement mozilla's requestAnimationFrame API
  2169. https://bugs.webkit.org/show_bug.cgi?id=51218
  2170. Chromium DumpRenderTree support for window.webkitRequestAnimationFrame.
  2171. * DumpRenderTree/chromium/WebViewHost.cpp:
  2172. (invokeScheduleComposite):
  2173. (WebViewHost::scheduleAnimation):
  2174. (WebViewHost::paintInvalidatedRegion):
  2175. * DumpRenderTree/chromium/WebViewHost.h:
  2176. 2011-01-20 Maciej Stachowiak <mjs@apple.com>
  2177. Reviewed by Adam Roben.
  2178. WebKitTestRunner needs to support layoutTestController.evaluateScriptInIsolatedWorld
  2179. https://bugs.webkit.org/show_bug.cgi?id=42327
  2180. * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm: Add support
  2181. for methods that take their normal arguments but also a JSContextRef.
  2182. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: IDL definition
  2183. for evaluateScriptInIsolatedWorld.
  2184. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  2185. (WTR::InjectedBundlePage::didClearWindowForFrame): Set a magic variable only if
  2186. this call is for an isolated world.
  2187. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  2188. (WTR::worldMap): Helper to create a world map.
  2189. (WTR::LayoutTestController::worldIDForWorld): Map from an ID to a world.
  2190. (WTR::LayoutTestController::evaluateScriptInIsolatedWorld): The newly
  2191. added LayoutTestController API.
  2192. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  2193. 2011-01-19 Adam Roben <aroben@apple.com>
  2194. Convert paths in environment variables back to msys-style inside commit-log-editor
  2195. When this script gets run from inside git commit, msys-style paths in the environment will
  2196. have been turned into Windows-style paths with forward slashes. This screws up functions
  2197. like File::Spec->rel2abs, which seem to rely on $PWD having an msys-style path. We convert
  2198. the paths back to msys-style before doing anything else.
  2199. Fixes <http://webkit.org/b/48527> commit-log-editor uses full paths for section headers when
  2200. using msysgit's Perl and multiple ChangeLogs have been edited
  2201. Reviewed by David Kilzer.
  2202. * Scripts/commit-log-editor: Call fixEnvironment before doing anything else.
  2203. (fixEnvironment): Added. When run in msys in conjunction with git (i.e., when invoked from
  2204. inside git commit), convert Windows-style paths in the environment back to msys-style paths.
  2205. 2011-01-20 Zoltan Horvath <zoltan@webkit.org>
  2206. [Win] Unreviewed build fix after r76248.
  2207. * DumpRenderTree/ForwardingHeaders/wtf/FastAllocBase.h: Added.
  2208. 2011-01-20 Zoltan Horvath <zoltan@webkit.org>
  2209. Reviewed by Csaba Osztrogonác.
  2210. Refactoring of the custom allocation framework
  2211. https://bugs.webkit.org/show_bug.cgi?id=49897
  2212. Inheriting from FastAllocBase can result in objects getting larger (bug #33896, #46589).
  2213. The modification replaces Noncopyable and FastAllocBase classes and these inherits with their
  2214. equivalent macro implementation at the necessary places.
  2215. 2011-01-20 Yi Shen <yi.4.shen@nokia.com>
  2216. Unreviewed.
  2217. Adding myself to committers.py.
  2218. * Scripts/webkitpy/common/config/committers.py:
  2219. 2011-01-20 Adam Barth <abarth@webkit.org>
  2220. Reviewed by Tony Chang.
  2221. Chromium builders don't delete unversioned directories when DEPS change
  2222. https://bugs.webkit.org/show_bug.cgi?id=52745
  2223. If we pass this option to gclient sync, gclient will delete directories
  2224. that are no longer part of DEPS instead of leaving them around to
  2225. confuse us later. Apparently, the downstream buildbots use this option
  2226. already.
  2227. * Scripts/update-webkit-chromium:
  2228. 2011-01-19 Dirk Pranke <dpranke@chromium.org>
  2229. Unreviewed, build fix - I pulled this patch in to fix an issue
  2230. revealed by r76195 running on some new bots). Also fix a couple
  2231. of other issues revealed in testing.
  2232. nrwt: remove fs refs from layout_package/json*
  2233. https://bugs.webkit.org/show_bug.cgi?id=52754
  2234. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  2235. * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
  2236. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
  2237. * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
  2238. * Scripts/webkitpy/layout_tests/port/base.py:
  2239. 2011-01-19 Dirk Pranke <dpranke@chromium.org>
  2240. Unreviewed, build fix.
  2241. Fix a couple of minor bugs discovered while bringing up new bots
  2242. for testing.
  2243. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  2244. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  2245. 2011-01-19 James Robinson <jamesr@chromium.org>
  2246. Unreviewed, rolling out r76194.
  2247. http://trac.webkit.org/changeset/76194
  2248. https://bugs.webkit.org/show_bug.cgi?id=51218
  2249. Caused mysterious compile failure on the chromium win
  2250. build.webkit.org bots
  2251. * DumpRenderTree/chromium/WebViewHost.cpp:
  2252. (WebViewHost::paintInvalidatedRegion):
  2253. * DumpRenderTree/chromium/WebViewHost.h:
  2254. 2011-01-19 Dirk Pranke <dpranke@chromium.org>
  2255. Reviewed by Mihai Parparita.
  2256. remove fs refs from test_runner, dump_render_tree_thread
  2257. https://bugs.webkit.org/show_bug.cgi?id=52753
  2258. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  2259. * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
  2260. * Scripts/webkitpy/layout_tests/layout_package/test_runner_unittest.py:
  2261. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  2262. 2011-01-19 James Robinson <jamesr@chromium.org>
  2263. Reviewed by Darin Fisher.
  2264. Implement mozilla's requestAnimationFrame API
  2265. https://bugs.webkit.org/show_bug.cgi?id=51218
  2266. Chromium DumpRenderTree support for window.webkitRequestAnimationFrame.
  2267. * DumpRenderTree/chromium/WebViewHost.cpp:
  2268. (invokeScheduleComposite):
  2269. (WebViewHost::scheduleAnimation):
  2270. (WebViewHost::paintInvalidatedRegion):
  2271. * DumpRenderTree/chromium/WebViewHost.h:
  2272. 2011-01-19 Dirk Pranke <dpranke@chromium.org>
  2273. Unreviewed, build fix.
  2274. Fix a few incorrect "self._filesystem" references introduced in
  2275. r76184.
  2276. * Scripts/webkitpy/layout_tests/port/chromium.py:
  2277. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  2278. 2011-01-19 Dirk Pranke <dpranke@chromium.org>
  2279. Reviewed by Mihai Parparita.
  2280. add a .sep property, abspath(), isabs(), mtime(), and
  2281. open_text_file_for_writing() to filesystem modules. Some of
  2282. these properties are not needed in this patch but will be needed
  2283. in subsequent patches (I'm doing this to avoid having to track
  2284. multiple versions of a single file).
  2285. Also, change most of the port/* modules to use the filesystem
  2286. objects instead of referencing the filesystem directly.
  2287. https://bugs.webkit.org/show_bug.cgi?id=52748
  2288. * Scripts/webkitpy/common/system/filesystem.py:
  2289. * Scripts/webkitpy/common/system/filesystem_mock.py:
  2290. * Scripts/webkitpy/layout_tests/port/__init__.py:
  2291. * Scripts/webkitpy/layout_tests/port/base.py:
  2292. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  2293. * Scripts/webkitpy/layout_tests/port/chromium.py:
  2294. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  2295. * Scripts/webkitpy/layout_tests/port/config.py:
  2296. * Scripts/webkitpy/layout_tests/port/test.py:
  2297. * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
  2298. 2011-01-19 Maciej Stachowiak <mjs@apple.com>
  2299. Reviewed by Anders Carlsson.
  2300. If resetting between tests times out, treat it as a WebProcess crash
  2301. https://bugs.webkit.org/show_bug.cgi?id=52757
  2302. * WebKitTestRunner/TestController.cpp:
  2303. (WTR::TestController::runTest):
  2304. 2011-01-19 Alexey Proskuryakov <ap@apple.com>
  2305. Reviewed by Darin Adler.
  2306. https://bugs.webkit.org/show_bug.cgi?id=52739
  2307. Make it possible for a WebKit2 client to print headers and footers
  2308. Added dummy implementations for new printing UIClient calls.
  2309. * MiniBrowser/mac/BrowserWindowController.m:
  2310. (-[BrowserWindowController awakeFromNib]):
  2311. * WebKitTestRunner/TestController.cpp:
  2312. (WTR::createOtherPage):
  2313. (WTR::TestController::initialize):
  2314. 2011-01-19 Dirk Pranke <dpranke@chromium.org>
  2315. Reviewed by Ojan Vafai.
  2316. Change webkitpy/layout_tests/port/test.py to use the
  2317. in-memory filesystem for cleaner unit testing. This
  2318. change allows us to kill a lot of code that was
  2319. specific to the test port, at the cost of being a
  2320. little less clear about how things would work if
  2321. you didn't have a filesystem.
  2322. https://bugs.webkit.org/show_bug.cgi?id=52605
  2323. * Scripts/webkitpy/layout_tests/port/test.py:
  2324. 2011-01-19 Dirk Pranke <dpranke@chromium.org>
  2325. Unreviewed, build fix.
  2326. Fix test failure caused by committing attachment 79368 instead
  2327. of attachment 79461 on bug 52604.
  2328. * Scripts/webkitpy/common/system/filesystem_mock.py:
  2329. 2011-01-19 Dirk Pranke <dpranke@chromium.org>
  2330. Reviewed by Mihai Parparita.
  2331. new-run-webkit-tests: remove use of os.walk, use mock filesystem for better
  2332. unit testing. os.walk() is too much of a hassle to implement on
  2333. top of the in-memory mock filesystem and adding the necessary
  2334. interface to files_under() gives clients a cleaner API anyway
  2335. (for this particular usage model).
  2336. https://bugs.webkit.org/show_bug.cgi?id=52691
  2337. * Scripts/webkitpy/common/system/filesystem.py:
  2338. * Scripts/webkitpy/common/system/filesystem_mock.py:
  2339. * Scripts/webkitpy/layout_tests/port/test_files.py:
  2340. * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
  2341. 2011-01-19 Dirk Pranke <dpranke@chromium.org>
  2342. Reviewed by Tony Chang.
  2343. Change more modules in the layout-tests code to use the
  2344. filesystem wrapper for cleaner unit testing.
  2345. This patch also adds the glob() wrapper to the filesystem
  2346. abstraction.
  2347. https://bugs.webkit.org/show_bug.cgi?id=52604
  2348. * Scripts/webkitpy/layout_tests/port/test_files.py:
  2349. * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
  2350. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  2351. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  2352. * Scripts/webkitpy/common/system/filesystem.py:
  2353. * Scripts/webkitpy/common/system/filesystem_mock.py:
  2354. 2011-01-19 Levi Weintraub <leviw@chromium.org>
  2355. Unreviewed.
  2356. Updating my email addresses and irc nick.
  2357. * Scripts/webkitpy/common/config/committers.py:
  2358. 2011-01-19 Tony Chang <tony@chromium.org>
  2359. Reviewed by Mihai Parparita.
  2360. [chromium] [linux] if check-sys-deps fails, output the failure reason
  2361. https://bugs.webkit.org/show_bug.cgi?id=52671
  2362. * Scripts/webkitpy/common/system/executive_mock.py: Add support for
  2363. error handler functions.
  2364. * Scripts/webkitpy/layout_tests/port/chromium.py:
  2365. output the error text from --check-sys-deps
  2366. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  2367. 2011-01-19 Aparna Nandyal <aparna.nand@wipro.com>
  2368. Reviewed by Andreas Kling.
  2369. [Qt] QtTestBrowser crashes when closing if Facebook is opened
  2370. https://bugs.webkit.org/show_bug.cgi?id=52554
  2371. QtNetworkAccessManager is created in a thread and set as
  2372. member variable in QWebPage. When the thread is destroyed
  2373. the object is still used. So fix will set the object to
  2374. NULL once the thread is destroyed.
  2375. * QtTestBrowser/launcherwindow.cpp:
  2376. (LauncherWindow::~LauncherWindow):
  2377. 2011-01-18 Maciej Stachowiak <mjs@apple.com>
  2378. Rubber stamped by Csaba Osztrogonac
  2379. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: Removed unncessary inculde of WKStringCF.h
  2380. 2011-01-18 Dirk Pranke <dpranke@chromium.org>
  2381. Reviewed by Tony Chang.
  2382. new-run-webkit-tests: add a --build-directory command line argument
  2383. Official Google Chrome builds use a non-standard build directory
  2384. location. This patch adds a --build-directory argument that
  2385. allows that location to be specified on the command line. Only
  2386. Chromium-based builds will use this flag for now, but anyone can
  2387. in the future.
  2388. There are no unit tests for this since it's difficult to test
  2389. until mock filesystems are fully supported in the code. This was
  2390. tested by hand for now.
  2391. https://bugs.webkit.org/show_bug.cgi?id=52694
  2392. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  2393. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  2394. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  2395. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  2396. 2011-01-18 Maciej Stachowiak <mjs@apple.com>
  2397. Not reviewed. Bot fix.
  2398. Remove an inadvertently committed debugging print.
  2399. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  2400. (LayoutTestController::notifyDone):
  2401. 2011-01-18 Maciej Stachowiak <mjs@apple.com>
  2402. Reviewed by Sam Weinig.
  2403. WebKitTestRunner should track loading more like DumpRenderTree
  2404. https://bugs.webkit.org/show_bug.cgi?id=52692
  2405. Change load tracking to track the current top loading frame, in the manner of DumpRenderTree.
  2406. This makes some tests that call notifyDone multiple times pass.
  2407. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  2408. (WTR::InjectedBundle::InjectedBundle):
  2409. (WTR::InjectedBundle::done):
  2410. * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
  2411. (WTR::InjectedBundle::topLoadingFrame):
  2412. (WTR::InjectedBundle::setTopLoadingFrame):
  2413. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  2414. (WTR::InjectedBundlePage::InjectedBundlePage):
  2415. (WTR::InjectedBundlePage::stopLoading):
  2416. (WTR::InjectedBundlePage::didStartProvisionalLoadForFrame):
  2417. (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame):
  2418. (WTR::InjectedBundlePage::didFinishLoadForFrame):
  2419. (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame):
  2420. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  2421. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  2422. (WTR::LayoutTestController::notifyDone):
  2423. * WebKitTestRunner/TestController.cpp:
  2424. (WTR::TestController::didReceiveMessageFromInjectedBundle):
  2425. 2011-01-18 Mihai Parparita <mihaip@chromium.org>
  2426. Reviewed by Kent Tamura.
  2427. [Chromium] NRWT looking for DRT binary in the wrong path on Mac
  2428. https://bugs.webkit.org/show_bug.cgi?id=52678
  2429. Update path now that WebKit is inside Source.
  2430. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  2431. 2011-01-18 Robert Hogan <robert@webkit.org>
  2432. Reviewed by Simon Hausmann.
  2433. [Qt] http/tests/incremental/slow-utf8-text.pl fails
  2434. https://bugs.webkit.org/show_bug.cgi?id=44282
  2435. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  2436. (WebCore::DumpRenderTree::dump):
  2437. 2011-01-18 Dirk Pranke <dpranke@chromium.org>
  2438. Reviewed by Mihai Parparita.
  2439. Fix a small race condition that could cause the unit tests for
  2440. new-run-webkit-tests to fail in a multithreaded environment.
  2441. There was a small window in the code where one thread would
  2442. check to see if a thread had raised an exception, do something,
  2443. and then check to see if the thread was alive. If the other
  2444. thread raised an exception and exited in between these two
  2445. steps, the exception would be lost. Flipping the order of the
  2446. two checks fixes the race, since we will now always check for an
  2447. exception on the thread before exiting.
  2448. https://bugs.webkit.org/show_bug.cgi?id=51579
  2449. * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
  2450. 2011-01-18 Eric Seidel <eric@webkit.org>
  2451. Reviewed by Adam Barth.
  2452. commit-queue dies when test archiving fails
  2453. https://bugs.webkit.org/show_bug.cgi?id=52617
  2454. I looked at the machine and it had 10 archives already
  2455. thus find_unused_name was returning None. I've upped
  2456. the limit to 100 (per bug) and tested the case where
  2457. find_unused_name returns None (making archive return None).
  2458. * Scripts/webkitpy/common/system/workspace.py:
  2459. * Scripts/webkitpy/common/system/workspace_unittest.py:
  2460. * Scripts/webkitpy/tool/bot/commitqueuetask.py:
  2461. * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
  2462. * Scripts/webkitpy/tool/commands/queues.py:
  2463. 2011-01-18 Dirk Pranke <dpranke@chromium.org>
  2464. Reviewed by Ojan Vafai.
  2465. Update rebaseline-chromium-webkit-tests unit tests to use a mock
  2466. filesystem. Also fix a couple of "with" statements missed by
  2467. r76050.
  2468. https://bugs.webkit.org/show_bug.cgi?id=52487
  2469. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
  2470. 2011-01-18 Sergio Villar Senin <svillar@igalia.com>
  2471. Reviewed by Martin Robinson.
  2472. [Gtk] Build fixes for gtk3 build
  2473. https://bugs.webkit.org/show_bug.cgi?id=52648
  2474. * DumpRenderTree/gtk/EventSender.cpp:
  2475. (beginDragWithFilesCallback):
  2476. 2011-01-18 Dirk Pranke <dpranke@chromium.org>
  2477. Reviewed by Mihai Parparita.
  2478. Update rebaseline-chromium-webkit-tests to use filesystem objects
  2479. instead of direct references to os.path, shutil, tempfile, etc.
  2480. This patch doesn't change anything, but will allow subsequent
  2481. patches to change the unit tests to no longer use the real
  2482. filesystem.
  2483. This patch adds a bunch more methods to the filesystem object as
  2484. well.
  2485. https://bugs.webkit.org/show_bug.cgi?id=52482
  2486. * Scripts/webkitpy/common/system/filesystem.py:
  2487. * Scripts/webkitpy/common/system/filesystem_mock.py:
  2488. * Scripts/webkitpy/tool/commands/queues.py:
  2489. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  2490. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
  2491. 2011-01-18 Dirk Pranke <dpranke@chromium.org>
  2492. Reviewed by Mihai Parparita.
  2493. new-run-webkit-tests shouldn't crash when you try to run a
  2494. directory containing only skipped files.
  2495. https://bugs.webkit.org/show_bug.cgi?id=52478
  2496. * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
  2497. * Scripts/webkitpy/layout_tests/port/test.py:
  2498. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  2499. 2011-01-18 Adam Bergkvist <adam.bergkvist@ericsson.com> and Martin Robinson <mrobinson@igalia.com>
  2500. Reviewed by Gustavo Noronha Silva.
  2501. [GTK] The GTK+ EventSender needs support for beginDragWithFiles
  2502. https://bugs.webkit.org/show_bug.cgi?id=40833
  2503. * DumpRenderTree/gtk/EventSender.cpp: Add a beginDragWithFiles implementation for the
  2504. GTK+ event sender.
  2505. (dragWithFilesDragDataGetCallback): Added.
  2506. (dragWithFilesDragEndCallback): Added.
  2507. (beginDragWithFilesCallback): Added.
  2508. 2011-01-18 Gyuyoung Kim <gyuyoung.kim@samsung.com>
  2509. Reviewed by Adam Barth.
  2510. ews: Add additional watcher to efl ews
  2511. https://bugs.webkit.org/show_bug.cgi?id=52613
  2512. Add gyuyoung.kim@samsung.com to watcher list of efl-ews.
  2513. * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  2514. 2011-01-17 Tony Gentilcore <tonyg@chromium.org>
  2515. Reviewed by Alexey Proskuryakov.
  2516. Fix some headers with missing or misspelled #ifndef guards
  2517. https://bugs.webkit.org/show_bug.cgi?id=52545
  2518. * DumpRenderTree/chromium/TestEventPrinter.h:
  2519. * DumpRenderTree/chromium/WebPreferences.h:
  2520. 2011-01-17 Jessie Berlin <jberlin@apple.com>
  2521. Reviewed by Anders Carlsson.
  2522. REGRESSION: Assertion failure in FrameLoader::continueLoadAfterWillSubmitForm() when
  2523. navigating back to an unreachable URL
  2524. https://bugs.webkit.org/show_bug.cgi?id=52388
  2525. Add a third parameter (unreachableURL) to queueLoadHTMLString.
  2526. * DumpRenderTree/LayoutTestController.cpp:
  2527. (queueLoadHTMLStringCallback):
  2528. (LayoutTestController::queueLoadHTMLString):
  2529. (LayoutTestController::queueLoadAlternateHTMLString):
  2530. * DumpRenderTree/LayoutTestController.h:
  2531. * DumpRenderTree/WorkQueueItem.h:
  2532. (LoadHTMLStringItem::LoadHTMLStringItem):
  2533. * DumpRenderTree/chromium/LayoutTestController.cpp:
  2534. (WorkItemLoadHTMLString::WorkItemLoadHTMLString):
  2535. (WorkItemLoadHTMLString::run):
  2536. (LayoutTestController::queueLoadHTMLString):
  2537. * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
  2538. (LoadHTMLStringItem::invoke):
  2539. * DumpRenderTree/mac/WorkQueueItemMac.mm:
  2540. (LoadHTMLStringItem::invoke):
  2541. * DumpRenderTree/win/WorkQueueItemWin.cpp:
  2542. (LoadHTMLStringItem::invoke):
  2543. 2011-01-17 Dan Bernstein <mitz@apple.com>
  2544. Rubber-stamped by Mark Rowe.
  2545. Update xcodeproj svn:ignore to include xcuserdata.
  2546. * DumpRenderTree/DumpRenderTree.xcodeproj: Modified property svn:ignore.
  2547. * MiniBrowser/MiniBrowser.xcodeproj: Modified property svn:ignore.
  2548. * TestWebKitAPI/TestWebKitAPI.xcodeproj: Modified property svn:ignore.
  2549. * WebKitLauncher/WebKitLauncher.xcodeproj: Modified property svn:ignore.
  2550. * WebKitTestRunner/WebKitTestRunner.xcodeproj: Modified property svn:ignore.
  2551. 2011-01-17 Csaba Osztrogonác <ossy@webkit.org>
  2552. Unreviewed fix after r75908.
  2553. Move WebKit into Source
  2554. https://bugs.webkit.org/show_bug.cgi?id=52530
  2555. * BuildSlaveSupport/build.webkit.org-config/master.cfg: Add Source to the path for Qt API tests.
  2556. 2011-01-17 Csaba Osztrogonác <ossy@webkit.org>
  2557. Unreviewed.
  2558. Remove accidentally committed debug printing after r75908.
  2559. * Scripts/webkitdirs.pm:
  2560. 2011-01-17 John Knottenbelt <jknotten@chromium.org>
  2561. Unreviewed.
  2562. Add myself to committers list
  2563. https://bugs.webkit.org/show_bug.cgi?id=52566
  2564. * Scripts/webkitpy/common/config/committers.py:
  2565. 2011-01-17 John Knottenbelt <jknotten@chromium.org>
  2566. Reviewed by Jeremy Orlow.
  2567. GeolocationController should call stopUpdating on destruction
  2568. https://bugs.webkit.org/show_bug.cgi?id=52216
  2569. fast/dom/Geolocation/window-close-crash.html requires that a
  2570. Geolocation watch be started in a secondary window. Consequently,
  2571. we need to allow geolocation permission and provide a mock
  2572. geolocation position for the secondary window's
  2573. GeolocationClientMock.
  2574. * DumpRenderTree/chromium/LayoutTestController.cpp:
  2575. (LayoutTestController::setGeolocationPermission):
  2576. (LayoutTestController::setMockGeolocationPosition):
  2577. (LayoutTestController::setMockGeolocationError):
  2578. * DumpRenderTree/chromium/TestShell.h:
  2579. (TestShell::windowList):
  2580. 2011-01-16 Adam Barth <abarth@webkit.org>
  2581. Update more include paths to reflect WebKit move.
  2582. * DumpRenderTree/chromium/EventSender.cpp:
  2583. (EventSender::keyDown):
  2584. (EventSender::needsShiftModifier):
  2585. * DumpRenderTree/chromium/WebThemeEngineDRTMac.h:
  2586. * DumpRenderTree/chromium/WebThemeEngineDRTMac.mm:
  2587. 2011-01-16 Kent Tamura <tkent@chromium.org>
  2588. Unreviewed, Chromium build fix.
  2589. * Scripts/update-webkit-chromium: Webkit/chromium -> Source/WebKit/chromium
  2590. 2011-01-16 Martin Robinson <mrobinson@igalia.com>
  2591. Build fix for GTK+ after source directory movement.
  2592. * GNUmakefile.am: Correct include paths.
  2593. 2011-01-16 Adam Barth <abarth@webkit.org>
  2594. Teach svn-apply about WebKit move.
  2595. * Scripts/VCSUtils.pm:
  2596. 2011-01-16 Adam Barth <abarth@webkit.org>
  2597. Rubber-stamped by Eric Seidel.
  2598. Move WebKit into Source
  2599. https://bugs.webkit.org/show_bug.cgi?id=52530
  2600. * DumpRenderTree/mac/InternalHeaders/WebKit/WebTypesInternal.h:
  2601. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  2602. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  2603. * DumpRenderTree/qt/GCControllerQt.cpp:
  2604. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  2605. * DumpRenderTree/qt/PlainTextControllerQt.cpp:
  2606. * DumpRenderTree/qt/TextInputControllerQt.cpp:
  2607. * DumpRenderTree/wscript:
  2608. * QtTestBrowser/launcherwindow.h:
  2609. * Scripts/build-webkit:
  2610. * Scripts/webkitdirs.pm:
  2611. 2011-01-15 Adam Barth <abarth@webkit.org>
  2612. Teach svn-apply about WebKit2 move.
  2613. * Scripts/VCSUtils.pm:
  2614. 2011-01-15 Adam Barth <abarth@webkit.org>
  2615. Rubber-stamped by Eric Seidel.
  2616. Move WebKit2 into Source
  2617. https://bugs.webkit.org/show_bug.cgi?id=52438
  2618. * MiniBrowser/qt/MiniBrowser.pro:
  2619. * Scripts/build-webkit:
  2620. * Scripts/do-file-rename:
  2621. * Scripts/do-webcore-rename:
  2622. * Scripts/test-webkitpy:
  2623. * Scripts/webkitdirs.pm:
  2624. * Scripts/webkitpy/style/checker.py:
  2625. * WebKitTestRunner/DerivedSources.pro:
  2626. * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
  2627. * WebKitTestRunner/qt/WebKitTestRunner.pro:
  2628. 2011-01-15 Jochen Eisinger <jochen@chromium.org>
  2629. Reviewed by David Levin.
  2630. [chromium] remove obsolete createView method
  2631. https://bugs.webkit.org/show_bug.cgi?id=52437
  2632. * DumpRenderTree/chromium/WebViewHost.cpp:
  2633. (WebViewHost::createView):
  2634. * DumpRenderTree/chromium/WebViewHost.h:
  2635. 2011-01-14 Brian Weinstein <bweinstein@apple.com>
  2636. Reviewed by Geoff Garen.
  2637. ShouldLoadResourceForFrame should use strings, not URLs.
  2638. https://bugs.webkit.org/show_bug.cgi?id=52476
  2639. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  2640. (WTR::InjectedBundlePage::shouldLoadResourceForFrame): Update to use a WKStringRef.
  2641. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  2642. 2011-01-14 Tony Gentilcore <tonyg@chromium.org>
  2643. Reviewed by David Levin.
  2644. Add Tony Gentilcore as a reviewer
  2645. https://bugs.webkit.org/show_bug.cgi?id=52480
  2646. * Scripts/webkitpy/common/config/committers.py:
  2647. 2011-01-14 David Levin <levin@chromium.org>
  2648. Reviewed by Eric Seidel.
  2649. check-webkit-style: _FunctionState should keep track of where the function name starts.
  2650. https://bugs.webkit.org/show_bug.cgi?id=52454
  2651. * Scripts/webkitpy/style/checkers/cpp.py: Added function_name_start_position to
  2652. _FunctionState and logic for setting it correctly.
  2653. * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added tests.
  2654. 2011-01-14 Vincent Scheib <scheib@chromium.org>
  2655. Reviewed by David Levin.
  2656. Add support to DumpRenderTree to use the GPU rather than software renderer
  2657. https://bugs.webkit.org/show_bug.cgi?id=52333
  2658. * DumpRenderTree/chromium/DumpRenderTree.cpp:
  2659. (main):
  2660. * Scripts/webkitpy/layout_tests/port/chromium.py:
  2661. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  2662. 2011-01-14 Tony Chang <tony@chromium.org>
  2663. Reviewed by Kent Tamura.
  2664. [chromium] update fonts.conf to fix 6 linux tests in drt
  2665. https://bugs.webkit.org/show_bug.cgi?id=52411
  2666. * DumpRenderTree/chromium/fonts.conf: Update to match the copy in
  2667. chromium's src/webkit/tools/test_shell/resources/fonts.conf
  2668. 2011-01-14 Eric Seidel <eric@webkit.org>
  2669. Original patch from Peter Gal <galpater@inf.u-szeged.hu>
  2670. Reviewed by Adam Barth.
  2671. Fix when running Tools/Scripts/check-webkit-style without arguments.
  2672. https://bugs.webkit.org/show_bug.cgi?id=52261#c16
  2673. * Scripts/webkitpy/common/checkout/scm.py: Handle None for changed_files argument better in Git.create_patch method.
  2674. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  2675. 2011-01-04 Jochen Eisinger <jochen@chromium.org>
  2676. Reviewed by David Levin.
  2677. Store the tempdir object in a variable so it doesn't get deleted too early.
  2678. https://bugs.webkit.org/show_bug.cgi?id=51875
  2679. * Scripts/update-webkit-auxiliary-libs:
  2680. * Scripts/update-webkit-support-libs:
  2681. 2011-01-14 Eric Seidel <eric@webkit.org>
  2682. Unreviewed. Make it work in python 2.5.
  2683. webkit-patch suggest-reviewers dies when ChangeLogs are missing
  2684. https://bugs.webkit.org/show_bug.cgi?id=49158
  2685. * Scripts/webkitpy/common/checkout/api_unittest.py:
  2686. 2011-01-14 Sheriff Bot <webkit.review.bot@gmail.com>
  2687. Unreviewed, rolling out r75774.
  2688. http://trac.webkit.org/changeset/75774
  2689. https://bugs.webkit.org/show_bug.cgi?id=52431
  2690. gtk builds were broken (Requested by loislo2 on #webkit).
  2691. * Scripts/webkitpy/common/checkout/scm.py:
  2692. 2011-01-14 David Levin <levin@chromium.org>
  2693. Reviewed by Shinichiro Hamaji.
  2694. check-webkit-style: _FunctionState should detect pure functions.
  2695. https://bugs.webkit.org/show_bug.cgi?id=52428
  2696. * Scripts/webkitpy/style/checkers/cpp.py: Added detection for if a function declaration
  2697. is a pure virtual function.
  2698. * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added tests for verifying that pure
  2699. virtual functions are correctly detected.
  2700. 2011-01-13 Ilya Tikhonovsky <loislo@chromium.org>
  2701. Reviewed by Yury Semikhatsky.
  2702. Just small fix for problem with check-webkit-style.
  2703. It just didn't work for this patch.
  2704. Old code can't concatenate a list of strings with None.
  2705. * Scripts/webkitpy/common/checkout/scm.py:
  2706. 2011-01-13 David Levin <levin@chromium.org>
  2707. Reviewed by Shinichiro Hamaji.
  2708. check-webkit-style: _FunctionState should use Position to know where items are.
  2709. https://bugs.webkit.org/show_bug.cgi?id=52424
  2710. * Scripts/webkitpy/style/checkers/cpp.py:
  2711. (_FunctionState.*): Changed _FunctionState to use Position instead of line numbers.
  2712. (detect_functions): Changed to pass Position's to _FunctionState.begin and
  2713. did some minor clean-up.
  2714. (*): Other changes are simply about converting to use the Position's in_FunctionState
  2715. instead of line numbers.
  2716. * Scripts/webkitpy/style/checkers/cpp_unittest.py: Changed the test code
  2717. to verify the positions stored in _FunctionState.
  2718. 2011-01-13 Eric Seidel <eric@webkit.org>
  2719. Reviewed by David Levin.
  2720. webkit-patch suggest-reviewers dies when ChangeLogs are missing
  2721. https://bugs.webkit.org/show_bug.cgi?id=49158
  2722. This is not the most elegant, but it is a very safe fix to this bug.
  2723. One advantage of catching ScriptError like this instead of adding a
  2724. new added_or_modified_files or fixing all changed_files callers
  2725. to use a more specific change_files variant, is that we catch
  2726. all kinds of ScriptErrors which might cause our (non-essential)
  2727. suggest-reviewers code to fail out. This should make passing
  2728. --suggest-reviewers to webkit-patch upload much more robust
  2729. and may even make it possible for us to make it default.
  2730. The root of the problem here is that SCM.changed_files includes
  2731. deleted ChangeLog paths (from moves, etc) which then when we ask
  2732. SVN/Git for the contents of the file at that revision, the command
  2733. errors out and Executive.run_command raises a ScriptError.
  2734. In the future we might fix this differently by making all current
  2735. callers of chagned_files use a more specific method for requesting
  2736. what types of changes they're interested in (adds, modifies, deletes, etc.)
  2737. * Scripts/webkitpy/common/checkout/api.py:
  2738. * Scripts/webkitpy/common/checkout/api_unittest.py:
  2739. 2011-01-13 Dan Bernstein <mitz@apple.com>
  2740. Reviewed by Alexey Proskuryakov.
  2741. <rdar://problem/8827065> REGRESSION (r71884): Cross-origin XHR fails if willSendRequest changes the URL
  2742. https://bugs.webkit.org/show_bug.cgi?id=52419
  2743. Allow to further control the behavior of the willSendRequest delegate callback by making it
  2744. set a different URL in the new request.
  2745. * DumpRenderTree/LayoutTestController.cpp:
  2746. (addURLToRedirectCallback): Added.
  2747. (LayoutTestController::staticFunctions): Added addURLToRedirect.
  2748. (LayoutTestController::addURLToRedirect): Added. Adds the redirection to the map.
  2749. (LayoutTestController::redirectionDestinationForURL): Added this getter.
  2750. * DumpRenderTree/LayoutTestController.h:
  2751. * DumpRenderTree/mac/ResourceLoadDelegate.mm:
  2752. (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]): Check
  2753. if there is a redirection for the request’s URL, established by addURLToRedirect(), and if so,
  2754. change the URL in the new request to the redirect destination.
  2755. 2011-01-13 Eric Seidel <eric@webkit.org>
  2756. Reviewed by Mihai Parparita.
  2757. webkit-patch suggest-reviewers fails due to invalid utf8 in ChangeLog files
  2758. https://bugs.webkit.org/show_bug.cgi?id=52416
  2759. Example: webkit-patch suggest-reviewers -g ca3890fe74d94d85d6bfa48f9ea497b094d8e717
  2760. UnicodeDecodeError: 'utf8' codec can't decode bytes in position 536-538: invalid data
  2761. I also added FIXMEs about the changed_files returning deleted files problem
  2762. which is causing the other most common exception for suggest-reviewers
  2763. (and is probably breaking sheriff-bots blame detection).
  2764. * Scripts/webkitpy/common/checkout/api.py:
  2765. * Scripts/webkitpy/common/checkout/api_unittest.py:
  2766. * Scripts/webkitpy/common/checkout/scm.py:
  2767. 2011-01-13 Eric Seidel <eric@webkit.org>
  2768. Reviewed by Adam Barth.
  2769. results archives from commit-queue are too large to upload
  2770. https://bugs.webkit.org/show_bug.cgi?id=52405
  2771. * Scripts/webkitpy/common/system/filesystem.py:
  2772. * Scripts/webkitpy/common/system/filesystem_mock.py:
  2773. * Scripts/webkitpy/tool/commands/queues.py:
  2774. 2011-01-13 Alejandro G. Castro <alex@igalia.com>
  2775. Reviewed by Martin Robinson.
  2776. [gtk] Zero-sized font does not yet work
  2777. https://bugs.webkit.org/show_bug.cgi?id=49793
  2778. Set minimum-font-size to 0 for the DRT.
  2779. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  2780. (resetDefaultsToConsistentValues):
  2781. 2011-01-13 Csaba Osztrogonác <ossy@webkit.org>
  2782. Reviewed by Darin Adler.
  2783. Make old-run-webkit-tests more robust on buildbots
  2784. https://bugs.webkit.org/show_bug.cgi?id=52364
  2785. * BuildSlaveSupport/build.webkit.org-config/master.cfg: Pass --exit-after-n-failures 500 to old-run-webkit-tests script.
  2786. 2011-01-13 Csaba Osztrogonác <ossy@webkit.org>
  2787. Reviewed by Darin Adler.
  2788. Make old-run-webkit-tests more robust on buildbots
  2789. https://bugs.webkit.org/show_bug.cgi?id=52364
  2790. * Scripts/old-run-webkit-tests: Ensure that testResultsDirectory is empty.
  2791. 2011-01-13 Tony Chang <tony@chromium.org>
  2792. Reviewed by Kent Tamura.
  2793. [chromium] fix plugins/plugin-javascript-access.html on Linux and Mac
  2794. https://bugs.webkit.org/show_bug.cgi?id=52332
  2795. Forked Info.plist is not longer needed.
  2796. * DumpRenderTree/chromium/TestNetscapePlugIn/Info.plist: Removed.
  2797. 2011-01-13 Mikhail Naganov <mnaganov@chromium.org>
  2798. Reviewed by Timothy Hatcher.
  2799. Web Inspector: Cleanup after r75613 -- make all UI-facing strings
  2800. to be passed directly to WebInspector.UIString
  2801. https://bugs.webkit.org/show_bug.cgi?id=52365
  2802. * Scripts/check-inspector-strings:
  2803. 2011-01-13 Sheriff Bot <webkit.review.bot@gmail.com>
  2804. Unreviewed, rolling out r74881.
  2805. http://trac.webkit.org/changeset/74881
  2806. https://bugs.webkit.org/show_bug.cgi?id=52357
  2807. The EFL builder has been red for days (Requested by abarth on
  2808. #webkit).
  2809. * Scripts/webkitpy/common/net/buildbot/buildbot.py:
  2810. * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
  2811. 2011-01-12 Maciej Stachowiak <mjs@apple.com>
  2812. Reviewed by David Levin.
  2813. Add beforeunload support to WebKitTestRunner
  2814. https://bugs.webkit.org/show_bug.cgi?id=52353
  2815. This makes a number of currently failing tests pass.
  2816. * WebKitTestRunner/TestController.cpp:
  2817. (WTR::runBeforeUnloadConfirmPanel):
  2818. (WTR::createOtherPage):
  2819. (WTR::TestController::initialize):
  2820. 2011-01-12 Maciej Stachowiak <mjs@apple.com>
  2821. Reviewed by Sam Weinig.
  2822. Detect, identify and recover from WebProcess crashes in run-webkit-tests
  2823. https://bugs.webkit.org/show_bug.cgi?id=52330
  2824. * Scripts/old-run-webkit-tests: Detect when the regression test tool reports
  2825. a web process crash.
  2826. * WebKitTestRunner/TestController.cpp:
  2827. (WTR::TestController::initialize): Set up a processDidCrash
  2828. callback.
  2829. (WTR::TestController::processDidCrash): Report that the Web process
  2830. crashed.
  2831. * WebKitTestRunner/TestController.h:
  2832. 2011-01-12 David Levin <levin@chromium.org>
  2833. Reviewed by Shinichiro Hamaji.
  2834. check-webkit-style -- close_expression function doesn't work correctly.
  2835. https://bugs.webkit.org/show_bug.cgi?id=52272
  2836. * Scripts/webkitpy/style/checkers/cpp.py:
  2837. (Position.__str__): Added a way to convert it to a string which is useful in tests.
  2838. (Position.__cmp__): Added a way to compare Position which is useful in tests and
  2839. generally useful (for upcoming code changes).
  2840. (close_expression): Changed to use Position for input and output.
  2841. Also, fixed many bugs such as only working correctly for parenthesis,
  2842. not working correctly if given an offset in a line and not finding
  2843. the real closing element if there were multiple closing elements in
  2844. the same line.
  2845. (detect_functions): Adjusted due to the change in arguments for
  2846. close_expression.
  2847. * Scripts/webkitpy/style/checkers/cpp_unittest.py:
  2848. (CppStyleTestBase.assert_positions_equal): Added a way to verify that
  2849. two positions are the same.
  2850. (CppStyleTest.test_position): Added tests for the __str_ and __cmp__ methods.
  2851. (CppStyleTest.test_close_expression): Added tests to catch the issues
  2852. that were fixed.
  2853. 2011-01-12 Sheriff Bot <webkit.review.bot@gmail.com>
  2854. Unreviewed, rolling out r75576.
  2855. http://trac.webkit.org/changeset/75576
  2856. https://bugs.webkit.org/show_bug.cgi?id=52304
  2857. broke rebaseline-chromium-webkit-test (Requested by thakis on
  2858. #webkit).
  2859. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  2860. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  2861. * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
  2862. * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
  2863. * Scripts/webkitpy/layout_tests/port/base.py:
  2864. * Scripts/webkitpy/layout_tests/port/chromium.py:
  2865. * Scripts/webkitpy/layout_tests/port/port_testcase.py:
  2866. * Scripts/webkitpy/layout_tests/port/test.py:
  2867. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  2868. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  2869. * Scripts/webkitpy/style/checkers/test_expectations.py:
  2870. * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
  2871. 2011-01-12 Maciej Stachowiak <mjs@apple.com>
  2872. Reviewed by Darin Adler.
  2873. Add a no-build option to run-webkit-tests, to avoid building DRT/WKTR
  2874. https://bugs.webkit.org/show_bug.cgi?id=52307
  2875. * Scripts/old-run-webkit-tests:
  2876. 2011-01-12 Koan-Sin Tan <koansin.tan@gmail.com>
  2877. Reviewed by Martin Robinson.
  2878. [Gtk] WebKitGtk+ doesn't build on Mac OS X 10.6
  2879. https://bugs.webkit.org/show_bug.cgi?id=50867
  2880. Fixed library extention for Mac in webkitdirs.pm and type conflict in
  2881. TestNetscapePlugin.cpp
  2882. * GNUmakefile.am: Don't use AppKit when compiling TestNetscapePlugin for GTK+
  2883. * Scripts/webkitdirs.pm:
  2884. 2011-01-12 Mikhail Naganov <mnaganov@chromium.org>
  2885. Reviewed by Pavel Feldman.
  2886. Add check-inspector-strings script.
  2887. https://bugs.webkit.org/show_bug.cgi?id=52295
  2888. * Scripts/check-inspector-strings: Added.
  2889. 2011-01-12 Adam Roben <aroben@apple.com>
  2890. Advertise the .testnetscape file extension on Windows
  2891. Fixes <http://webkit.org/b/52298>
  2892. plugins/no-mime-with-valid-extension.html fails on Windows
  2893. Reviewed by Dan Bernstein.
  2894. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.rc: Added a
  2895. FileExtents field to map the .testnetscape file extension to the
  2896. application/x-webkit-test-netscape MIME type, just as we do on Mac.
  2897. 2011-01-12 Adam Barth <abarth@webkit.org>
  2898. Reviewed by Eric Seidel.
  2899. Make webkit-patch support subdirectories for SVN checkouts
  2900. https://bugs.webkit.org/show_bug.cgi?id=52261
  2901. os.relpath does not exist on Python 2.5, so we need to call our version
  2902. of the API.
  2903. * Scripts/webkitpy/common/checkout/scm.py:
  2904. 2011-01-11 Maciej Stachowiak <mjs@apple.com>
  2905. Reviewed by Eric Seidel.
  2906. Close additional pages opened during a test once the test completes.
  2907. https://bugs.webkit.org/show_bug.cgi?id=52276
  2908. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  2909. (WTR::InjectedBundle::done):
  2910. 2011-01-11 David Levin <levin@chromium.org>
  2911. Reviewed by Eric Seidel.
  2912. Errors should be separated from the command line in bot messages.
  2913. https://bugs.webkit.org/show_bug.cgi?id=52275
  2914. * Scripts/webkitpy/common/system/executive.py:
  2915. (ScriptError.message_with_output): Added a newline to separate the command
  2916. line from the errors.
  2917. * Scripts/webkitpy/common/system/executive_unittest.py:
  2918. (ScriptErrorTest.test_message_with_output): Added tests for the various code
  2919. paths in message_with_output.
  2920. 2011-01-11 Eric Seidel <eric@webkit.org>
  2921. Unreviewed.
  2922. commit-queue should know how to upload archived results (for test flakes or general failures)
  2923. https://bugs.webkit.org/show_bug.cgi?id=52048
  2924. The zips are mostly empty due to forgetting -r.
  2925. Expected diffs were not being pulled from the archive due
  2926. to the archive having longer paths than I realized.
  2927. * Scripts/webkitpy/common/system/workspace.py:
  2928. * Scripts/webkitpy/common/system/workspace_unittest.py:
  2929. * Scripts/webkitpy/tool/bot/flakytestreporter.py:
  2930. * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
  2931. 2011-01-11 Dirk Pranke <dpranke@chromium.org>
  2932. Reviewed by Ojan Vafai.
  2933. The current modifier parsing code in test_expectations is
  2934. fragile and hard-coded, so it's not easy to understand the logic
  2935. or easily add new types of modifiers (like GPU vs. CPU testing
  2936. for graphics tests, or 32-bit vs. 64-bit differences).
  2937. This is the first of two patches that will add in more generic
  2938. support and then eliminate the GPU-specific test expectations
  2939. files for Chromium.
  2940. This patch adds two standalone objects for handling modifiers. The
  2941. rules for interpreting modifiers, precedence, and conflicts are
  2942. given in the docstring to the ModifierMatcher class, which
  2943. returns ModifierMatchResult objects.
  2944. This patch also adds routines to the Port interface and a
  2945. default set of values in the base object, in order to obtain the
  2946. values needed on a given test run. These values are then passed
  2947. to the expectation parser. This also allows us to clean up the
  2948. logic used to lint all of the different configurations in a
  2949. single test_expectations.txt file.
  2950. The next patch will merge in the separate GPU expectations file.
  2951. https://bugs.webkit.org/show_bug.cgi?id=51222
  2952. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  2953. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  2954. * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
  2955. * Scripts/webkitpy/layout_tests/port/base.py:
  2956. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  2957. * Scripts/webkitpy/layout_tests/port/chromium.py:
  2958. * Scripts/webkitpy/layout_tests/port/port_testcase.py:
  2959. * Scripts/webkitpy/layout_tests/port/test.py:
  2960. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  2961. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  2962. 2011-01-11 Maciej Stachowiak <mjs@apple.com>
  2963. Reviewed by Adam Barth.
  2964. Make webkit-patch support subdirectories for SVN checkouts
  2965. https://bugs.webkit.org/show_bug.cgi?id=52261
  2966. * Scripts/webkitpy/common/checkout/scm.py:
  2967. * Scripts/webkitpy/style_references.py:
  2968. * Scripts/webkitpy/tool/main.py:
  2969. * Scripts/webkitpy/tool/steps/preparechangelog.py:
  2970. 2011-01-11 Eric Seidel <eric@webkit.org>
  2971. Unreviewed.
  2972. commit-queue should know how to upload archived results (for test flakes or general failures)
  2973. https://bugs.webkit.org/show_bug.cgi?id=52048
  2974. I changed the API for archive_last_layout_test_results w/o updating the implementation. Oops.
  2975. This fixes an exception seen on the commit-queue when attempting to report flaky tests.
  2976. * Scripts/webkitpy/common/system/workspace.py:
  2977. * Scripts/webkitpy/common/system/workspace_unittest.py:
  2978. * Scripts/webkitpy/tool/commands/queues.py:
  2979. 2011-01-11 Sam Weinig <sam@webkit.org>
  2980. Roll r75474 back in.
  2981. 2011-01-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  2982. Reviewed by Kenneth Rohde Christiansen.
  2983. [Qt] Remove uses of QFuture since it isn't supported on all platforms.
  2984. https://bugs.webkit.org/show_bug.cgi?id=51204
  2985. * QtTestBrowser/webpage.h:
  2986. (QtNAMThread::QtNAMThread):
  2987. (QtNAMThread::networkAccessManager):
  2988. (QtNAMThread::run):
  2989. 2011-01-11 Peter Varga <pvarga@webkit.org>
  2990. Unreviewed.
  2991. Add myself to committers' list.
  2992. * Scripts/webkitpy/common/config/committers.py:
  2993. 2011-01-11 Eric Seidel <eric@webkit.org>
  2994. Reviewed by Adam Barth.
  2995. commit-queue should know how to upload archived results (for test flakes or general failures)
  2996. https://bugs.webkit.org/show_bug.cgi?id=52048
  2997. Now the queue will always upload results. Either the entire zip, or just
  2998. the diffs.txt in the case of text failures.
  2999. This should make understanding flakes much easier, and paves the way
  3000. for having the EWS run layout tests (and upload failures).
  3001. In order to upload .zip files I had to teach bugzilla.py to autodetect
  3002. mime types from the filename. Since mimetypes.py doesn't include a mapping
  3003. for .patch files, I have it add one before calling guess_type.
  3004. We may find that always uploading the whole zip instead of just the -diffs.txt
  3005. file is preferable, but for now I'm keeping the old behavior because it makes
  3006. quickly understanding text failures easy.
  3007. * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
  3008. * Scripts/webkitpy/common/system/workspace.py: Added.
  3009. * Scripts/webkitpy/common/system/workspace_unittest.py: Added.
  3010. * Scripts/webkitpy/tool/bot/commitqueuetask.py:
  3011. * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
  3012. * Scripts/webkitpy/tool/bot/flakytestreporter.py:
  3013. * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
  3014. * Scripts/webkitpy/tool/commands/queues.py:
  3015. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  3016. 2011-01-10 Sheriff Bot <webkit.review.bot@gmail.com>
  3017. Unreviewed, rolling out r75464.
  3018. http://trac.webkit.org/changeset/75464
  3019. https://bugs.webkit.org/show_bug.cgi?id=52193
  3020. Followup rollout for 75474 (Requested by Ossy on #webkit).
  3021. * MiniBrowser/mac/BrowserWindowController.m:
  3022. (-[BrowserWindowController awakeFromNib]):
  3023. * MiniBrowser/win/BrowserView.cpp:
  3024. (BrowserView::create):
  3025. * WebKitTestRunner/TestController.cpp:
  3026. (WTR::createOtherPage):
  3027. (WTR::TestController::initialize):
  3028. 2011-01-10 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  3029. Reviewed by Csaba Osztrogonác.
  3030. [Qt] Baseline qt_minimal configuration
  3031. https://bugs.webkit.org/show_bug.cgi?id=51313
  3032. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  3033. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): Add
  3034. QT_NO_UNDOSTACK guard.
  3035. * QtTestBrowser/launcherwindow.cpp:
  3036. (LauncherWindow::createChrome): Add QT_NO_SHORTCUT and QT_NO_PRINTER
  3037. guards.
  3038. (LauncherWindow::applyZoom): Add QT_NO_ANIMATION guard.
  3039. (LauncherWindow::screenshot): Add QT_NO_FILEDIALOG guard.
  3040. (LauncherWindow::selectElements): Add QT_NO_INPUTDIALOG guard.
  3041. (LauncherWindow::showUserAgentDialog): Add QT_NO_COMBOBOX guard.
  3042. * QtTestBrowser/launcherwindow.h:
  3043. * QtTestBrowser/locationedit.cpp: Add QT_NO_INPUTDIALOG guard.
  3044. * QtTestBrowser/locationedit.h: Ditto.
  3045. * QtTestBrowser/mainwindow.cpp:
  3046. (MainWindow::buildUI): Add QT_NO_INPUTDIALOG, QT_NO_SHORTCUT and
  3047. QT_NO_UNDOSTACK guards.
  3048. (MainWindow::setAddressUrl): Add QT_NO_INPUTDIALOG guard.
  3049. (MainWindow::changeLocation): Ditto.
  3050. (MainWindow::openFile): Add QT_NO_FILEDIALOG guard.
  3051. (MainWindow::openLocation): Add QT_NO_INPUTDIALOG guard.
  3052. * QtTestBrowser/webpage.cpp:
  3053. (WebPage::openUrlInDefaultBrowser): Add QT_NO_DESKTOPSERVICES guard.
  3054. (WebPage::authenticationRequired): Add QT_NO_LINEEDIT guard.
  3055. * QtTestBrowser/webview.cpp:
  3056. (WebViewGraphicsBased::animatedFlip): Add QT_NO_ANIMATION guard.
  3057. (WebViewGraphicsBased::animatedYFlip): Ditto.
  3058. 2011-01-10 Sam Weinig <sam@webkit.org>
  3059. Fix build.
  3060. * MiniBrowser/mac/BrowserWindowController.m:
  3061. (-[BrowserWindowController awakeFromNib]):
  3062. * MiniBrowser/win/BrowserView.cpp:
  3063. (BrowserView::create):
  3064. * WebKitTestRunner/TestController.cpp:
  3065. (WTR::createOtherPage):
  3066. (WTR::TestController::initialize):
  3067. 2011-01-10 Eric Seidel <eric@webkit.org>
  3068. Reviewed by Ojan Vafai.
  3069. style-queue messages are way too long for big patches
  3070. https://bugs.webkit.org/show_bug.cgi?id=52161
  3071. We definitely could build much fancier list-to-string-with-limit functions
  3072. but this should be sufficient for our needs at the moment.
  3073. * Scripts/webkitpy/common/system/executive.py:
  3074. * Scripts/webkitpy/common/system/executive_unittest.py:
  3075. 2011-01-10 Tony Chang <tony@chromium.org>
  3076. Unreviewed, rolling out r75398.
  3077. http://trac.webkit.org/changeset/75398
  3078. https://bugs.webkit.org/show_bug.cgi?id=52008
  3079. Some layout tests are crashing on Chromium Win.
  3080. * DumpRenderTree/chromium/WebViewHost.cpp:
  3081. (WebViewHost::updatePaintRect):
  3082. * DumpRenderTree/chromium/WebViewHost.h:
  3083. 2011-01-10 Adam Roben <aroben@apple.com>
  3084. Roll out r75392
  3085. It isn't needed now that r75289 has been rolled out.
  3086. * Scripts/run-javascriptcore-tests:
  3087. 2011-01-10 Maciej Stachowiak <mjs@apple.com>
  3088. Reviewed by Anders Carlsson.
  3089. WebKitTestRunner uses crazy amounts of CPU, making layout tests slow and flaky
  3090. https://bugs.webkit.org/show_bug.cgi?id=52160
  3091. * WebKitTestRunner/mac/TestControllerMac.mm:
  3092. (WTR::TestController::platformRunUntil): Instead of busy-looping, wait for the timeout.
  3093. Anything that can make runUntil() conditions turn true will happen on a run loop cycle
  3094. anyway.
  3095. 2011-01-10 Tony Chang <tony@chromium.org>
  3096. Reviewed by Mihai Parparita.
  3097. [chromium] fix for animated gif layout tests
  3098. https://bugs.webkit.org/show_bug.cgi?id=52008
  3099. * DumpRenderTree/chromium/WebViewHost.cpp: Schedule a paint when we update the paint rect
  3100. to trigger gif animations.
  3101. (WebViewHostPaintTask::WebViewHostPaintTask):
  3102. (WebViewHostPaintTask::runIfValid):
  3103. (WebViewHost::updatePaintRect):
  3104. * DumpRenderTree/chromium/WebViewHost.h:
  3105. (WebViewHost::taskList):
  3106. 2011-01-10 Alejandro G. Castro <alex@igalia.com>
  3107. Reviewed by Xan Lopez.
  3108. [GTK] Fix gtk2 compilation for master
  3109. https://bugs.webkit.org/show_bug.cgi?id=51885
  3110. * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp:
  3111. (createBitmapContextFromWebView): Replaced the old
  3112. gdk_drawable_get_size with gdk_pixmap_get_size.
  3113. 2011-01-10 Patrick Gansterer <paroga@webkit.org>
  3114. Reviewed by Laszlo Gombos.
  3115. [WINCE] Reenable NPAPI after r75203
  3116. https://bugs.webkit.org/show_bug.cgi?id=52109
  3117. Remove the !isWinCE() check for ENABLE_NETSCAPE_PLUGIN_API and replace
  3118. it with !isEfl(), because EFL port does not support NPAPI (yet).
  3119. * Scripts/build-webkit:
  3120. 2011-01-10 Adam Roben <aroben@apple.com>
  3121. Skip some asserting JS tests
  3122. See <http://webkit.org/b/52156>.
  3123. * Scripts/run-javascriptcore-tests:
  3124. 2011-01-10 Martin Robinson <mrobinson@igalia.com>
  3125. Reviewed by Xan Lopez.
  3126. [GTK] build-webkit disable Blob support via arguments passed to automake
  3127. https://bugs.webkit.org/show_bug.cgi?id=52097
  3128. * Scripts/build-webkit: Enable Blob support when building WebKitGTK+ via
  3129. build-webkit.
  3130. 2011-01-10 Adam Roben <aroben@apple.com>
  3131. Use the same name and description for TestNetscapePlugin on Windows and
  3132. Mac
  3133. Fixes <http://webkit.org/b/52151>
  3134. fast/frames/iframe-reparenting-plugins.html fails on Windows
  3135. Reviewed by Steve Falkenburg.
  3136. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.rc: Copied
  3137. the name and description from Mac's Info.plist.
  3138. 2011-01-10 Siddharth Mathur <siddharth.mathur@nokia.com>
  3139. Reviewed by Laszlo Gombos.
  3140. [Qt][WK2] Guard gcc-specific syntax
  3141. Non-gcc based compliers choke on the "-include"
  3142. syntax for preinclude, place guard around it.
  3143. * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
  3144. * WebKitTestRunner/qt/WebKitTestRunner.pro:
  3145. 2011-01-10 Andreas Kling <kling@webkit.org>
  3146. Reviewed by Simon Hausmann.
  3147. [Qt] [WK2] MiniBrowser does not load pages opened in new windows
  3148. https://bugs.webkit.org/show_bug.cgi?id=52111
  3149. When getting a createNewPage() callback from QWKPage, create the
  3150. new page with the same QWKContext as the page that is passed to
  3151. the callback.
  3152. * MiniBrowser/qt/BrowserView.h:
  3153. * MiniBrowser/qt/BrowserWindow.cpp:
  3154. (newPageFunction):
  3155. (BrowserWindow::BrowserWindow):
  3156. * MiniBrowser/qt/BrowserWindow.h:
  3157. 2011-01-10 Andreas Kling <kling@webkit.org>
  3158. Reviewed by Kenneth Rohde Christiansen.
  3159. [Qt] MiniBrowser: Remove superfluous createNewPage() callback
  3160. BrowserView set its own useless createNewPage() callback on QWKPage.
  3161. This was immediately overridden by BrowserWindow anyway, so remove
  3162. the BrowserView one.
  3163. * MiniBrowser/qt/BrowserView.cpp:
  3164. (BrowserView::BrowserView):
  3165. 2011-01-10 John Knottenbelt <jknotten@chromium.org>
  3166. Reviewed by Jeremy Orlow.
  3167. [Chromium] Remove non-client-based Geolocation code
  3168. https://bugs.webkit.org/show_bug.cgi?id=50921
  3169. * DumpRenderTree/chromium/LayoutTestController.cpp:
  3170. (LayoutTestController::setGeolocationPermission):
  3171. (LayoutTestController::setMockGeolocationPosition):
  3172. (LayoutTestController::setMockGeolocationError):
  3173. * DumpRenderTree/chromium/WebViewHost.cpp:
  3174. (WebViewHost::geolocationClientMock):
  3175. (WebViewHost::reset):
  3176. * DumpRenderTree/chromium/WebViewHost.h:
  3177. 2011-01-10 Eric Seidel <eric@webkit.org>
  3178. Reviewed by Adam Barth.
  3179. Commit bot tried to land r? cq+ patch
  3180. https://bugs.webkit.org/show_bug.cgi?id=36638
  3181. It should now be possible to post a patch with r? and cq+ and the
  3182. commit-queue will correctly wait for the r+ before attempting to land the patch.
  3183. (This was a feature requested by several users.)
  3184. One caveat: We don't actually reject r-, cq+ patches from the queue
  3185. (we just ignore them), but I think that's OK for now.
  3186. I also noticed that setting r- once a commit-queue node had grabbed
  3187. a patch would not properly cancel the landing. That's fixed and
  3188. tested in this patch.
  3189. * Scripts/webkitpy/tool/bot/commitqueuetask.py:
  3190. * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
  3191. * Scripts/webkitpy/tool/bot/feeders.py:
  3192. * Scripts/webkitpy/tool/bot/feeders_unittest.py:
  3193. 2011-01-08 Benjamin Poulain <benjamin.poulain@nokia.com>
  3194. Reviewed by Kenneth Rohde Christiansen.
  3195. [Qt] QtWebKit crashes when using XMLHttpRequest from the unload event
  3196. https://bugs.webkit.org/show_bug.cgi?id=51934
  3197. When accessing the network from the destructor of QWebPage, the network access manager
  3198. was already deleted because the object WebPage was already destructed.
  3199. This solve the problem by linking the lifetime of the network access manager to WebPage's QObject.
  3200. The object is now destructed in the destructor of QObject.
  3201. * QtTestBrowser/webpage.cpp:
  3202. (WebPage::WebPage):
  3203. (WebPage::setQnamThreaded):
  3204. * QtTestBrowser/webpage.h:
  3205. (QtNAMThread::QtNAMThread):
  3206. 2011-01-08 Eric Seidel <eric@webkit.org>
  3207. Reviewed by Ojan Vafai.
  3208. test_failures.py should not mention TestShell (long live DumpRenderTree!)
  3209. https://bugs.webkit.org/show_bug.cgi?id=52067
  3210. I ran test-webkitpy, but didn't bother adding a unit test for this string change.
  3211. https://bugs.webkit.org/show_bug.cgi?id=51138#c3 is an example of why this is needed.
  3212. * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
  3213. 2011-01-08 Eric Seidel <eric@webkit.org>
  3214. Reviewed by Mihai Parparita.
  3215. commit-queue hangs when the ChangeLog diff is bad
  3216. https://bugs.webkit.org/show_bug.cgi?id=52072
  3217. * Scripts/webkitpy/tool/steps/validatechangelogs.py:
  3218. * Scripts/webkitpy/tool/steps/validatechangelogs_unittest.py:
  3219. 2011-01-08 Adam Barth <abarth@webkit.org>
  3220. Teach svn-apply how to re-write WebCore to Source/WebCore.
  3221. * Scripts/VCSUtils.pm:
  3222. 2011-01-07 Adam Barth <abarth@webkit.org>
  3223. Rubber-stamped by Eric Seidel.
  3224. Move WebCore to Source
  3225. https://bugs.webkit.org/show_bug.cgi?id=52050
  3226. Update the tools to understand WebCore's new location.
  3227. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  3228. * DumpRenderTree/wscript:
  3229. * GNUmakefile.am:
  3230. * Scripts/build-webkit:
  3231. * Scripts/do-file-rename:
  3232. * Scripts/do-webcore-rename:
  3233. * Scripts/generate-qt-inspector-resource:
  3234. * Scripts/prepare-ChangeLog:
  3235. * Scripts/run-bindings-tests:
  3236. * Scripts/update-iexploder-cssproperties:
  3237. * Scripts/update-sources-list.py:
  3238. * Scripts/update-webkit-localizable-strings:
  3239. * Scripts/webkitdirs.pm:
  3240. * Scripts/webkitpy/common/config/build.py:
  3241. * Scripts/webkitpy/common/config/build_unittest.py:
  3242. * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
  3243. * Scripts/webkitpy/style/checker.py:
  3244. * Scripts/webkitpy/style/checker_unittest.py:
  3245. * WebKitTestRunner/DerivedSources.pro:
  3246. * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
  3247. * iExploder/iexploder-1.7.2/tools/update_html_tags_from_sources.sh:
  3248. * wx/browser/wscript:
  3249. * wx/build/settings.py:
  3250. 2011-01-07 Maciej Stachowiak <mjs@apple.com>
  3251. Reviewed by Sam Weinig.
  3252. Make WebKitTestRunner rest between loads more robust to avoid test crashes
  3253. https://bugs.webkit.org/show_bug.cgi?id=52086
  3254. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  3255. (WTR::InjectedBundle::didReceiveMessage):
  3256. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  3257. (WTR::LayoutTestController::notifyDone):
  3258. * WebKitTestRunner/TestController.cpp:
  3259. (WTR::TestController::resetStateToConsistentValues):
  3260. (WTR::TestController::run):
  3261. 2011-01-07 James Robinson <jamesr@chromium.org>
  3262. Revert "Implement mozilla's animationTime property"
  3263. https://bugs.webkit.org/show_bug.cgi?id=51952
  3264. This approach isn't quite right.
  3265. * DumpRenderTree/chromium/WebViewHost.cpp:
  3266. (WebViewHost::paintInvalidatedRegion):
  3267. 2011-01-07 Adam Roben <aroben@apple.com>
  3268. Build master fix
  3269. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  3270. (RunWebKitTests.start): Don't try to concatenate a list and a string.
  3271. 2011-01-07 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
  3272. Reviewed by Csaba Osztrogonác.
  3273. run-qtwebkit-tests should be able to kill a testsuite.
  3274. Add new option in the script that can setup a timeout for a test.
  3275. If the test execution takes more then specified time then the test
  3276. would be terminated.
  3277. [Qt] run-qtwebkit-tests needs timeout
  3278. https://bugs.webkit.org/show_bug.cgi?id=51894
  3279. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  3280. * Scripts/run-qtwebkit-tests:
  3281. 2011-01-07 Csaba Osztrogonác <ossy@webkit.org>
  3282. Unreviewed fix after r75233.
  3283. Based on idea from Eric Seidel.
  3284. Add remote zip file handling to webkitpy.
  3285. https://bugs.webkit.org/show_bug.cgi?id=50901
  3286. * Scripts/webkitpy/common/system/fileset.py: Make python 2.5 happy.
  3287. 2011-01-07 Shane Stephens <shanestephens@google.com>
  3288. Reviewed by Eric Seidel.
  3289. svn-apply: should support git binary delta diffs
  3290. https://bugs.webkit.org/show_bug.cgi?id=38864
  3291. * Scripts/VCSUtils.pm:
  3292. * Scripts/svn-apply:
  3293. 2011-01-06 Julie Parent <jparent@chromium.org>
  3294. Reviewed by Eric Seidel.
  3295. Test Result Server not removing old results.
  3296. https://bugs.webkit.org/show_bug.cgi?id=52012
  3297. * TestResultServer/model/jsonresults.py:
  3298. Fix off-by-one: Truncate if >= num_runs, not just >.
  3299. * TestResultServer/model/jsonresults_unittest.py:
  3300. Add unit test to test that merging in a new result with the same value
  3301. as the last result causes previous result to fall off.
  3302. 2011-01-06 James Kozianski <koz@chromium.org>
  3303. Reviewed by Mihai Parparita.
  3304. Add classes to provide a consistent interface to a set of files.
  3305. https://bugs.webkit.org/show_bug.cgi?id=50901
  3306. These classes allow us to write code that is agnostic to whether a
  3307. particular set of files resides in a local directory or in a zip file
  3308. on a remote machine.
  3309. * Scripts/webkitpy/common/system/directoryfileset.py: Added.
  3310. * Scripts/webkitpy/common/system/directoryfileset_unittest.py: Added.
  3311. * Scripts/webkitpy/common/system/fileset.py: Added.
  3312. * Scripts/webkitpy/common/system/filesystem.py:
  3313. * Scripts/webkitpy/common/system/filesystem_mock.py:
  3314. * Scripts/webkitpy/common/system/zipfileset.py: Added.
  3315. * Scripts/webkitpy/common/system/zipfileset_unittest.py: Added.
  3316. 2011-01-06 Eric Seidel <eric@webkit.org>
  3317. Reviewed by Adam Barth.
  3318. NetworkTransaction should log the url it is retrying
  3319. https://bugs.webkit.org/show_bug.cgi?id=52043
  3320. * Scripts/webkitpy/common/net/networktransaction.py:
  3321. * Scripts/webkitpy/common/net/networktransaction_unittest.py:
  3322. 2011-01-06 Steve Falkenburg <sfalken@apple.com>
  3323. Windows build fix.
  3324. Import os before using it.
  3325. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  3326. 2011-01-06 Eric Seidel <eric@webkit.org>
  3327. Reviewed by Adam Barth.
  3328. StyleQueue fails to report errors when patches have many files
  3329. https://bugs.webkit.org/show_bug.cgi?id=52042
  3330. This is one of at least two errors preventing style error reporting at the moment.
  3331. When we moved to passing the list of files to check explicitly,
  3332. we started to exceed the 500 character TEXT field limit for our AppEngine model object.
  3333. We could change the type of the QueueStatus.message type, or we could
  3334. just teach statusserver.py how to clamp values (and warn when it does).
  3335. I chose the latter path.
  3336. * Scripts/webkitpy/common/net/statusserver.py:
  3337. 2011-01-06 Steve Falkenburg <sfalken@apple.com>
  3338. Reviewed by Stephanie Lewis.
  3339. Fix syntax error in script.
  3340. Windows bots need to archive/unarchive builds to/from configuration-specific directories
  3341. https://bugs.webkit.org/show_bug.cgi?id=51996
  3342. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  3343. 2011-01-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  3344. Unreviewed, fixing WinCE build after r75196.
  3345. WinCE port does not (yet) support NPAPI.
  3346. * Scripts/build-webkit:
  3347. 2011-01-06 Xan Lopez <xlopez@igalia.com>
  3348. Reviewed by Darin Adler.
  3349. File::Spec->rel2abs in sunspider-compare-results mangles parameters
  3350. https://bugs.webkit.org/show_bug.cgi?id=52015
  3351. * Scripts/sunspider-compare-results: call rel2abs on our arguments
  3352. after the platform has been detected, otherwise the script will
  3353. mangle things like '--gtk' into '/a/path/--gtk', breaking the
  3354. detection.
  3355. 2011-01-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  3356. Reviewed by Eric Seidel.
  3357. Add ENABLE_NETSCAPE_PLUGIN_API, ENABLE_ORIENTATION_EVENTS and ENABLE_TOUCH_EVENTS flags to build-webkit
  3358. https://bugs.webkit.org/show_bug.cgi?id=51346
  3359. * Scripts/build-webkit:
  3360. 2011-01-06 Steve Falkenburg <sfalken@apple.com>
  3361. Reviewed by Adam Roben.
  3362. Windows bots need to archive/unarchive builds to/from configuration-specific directories
  3363. https://bugs.webkit.org/show_bug.cgi?id=51996
  3364. After the configuration directory change, we were archiving the incorrect directory for
  3365. build product, so we were running tests on the wrong binaries.
  3366. This change archives the correct directory, and also unarchives it into a configuration-
  3367. specific directory.
  3368. * BuildSlaveSupport/build.webkit.org-config/master.cfg: Use a configuration-specific directory on Windows.
  3369. * BuildSlaveSupport/built-product-archive: Unarchive/archive to/from proper directory.
  3370. 2011-01-06 Eric Seidel <eric@webkit.org>
  3371. Reviewed by Mihai Parparita.
  3372. commit-queue mentions "Text diff mismatch" 4 times instead of once per failure
  3373. https://bugs.webkit.org/show_bug.cgi?id=52002
  3374. See an example of this here:
  3375. https://bugs.webkit.org/show_bug.cgi?id=51314#c2
  3376. It's due to the fact that we pass around TestFailure() instance
  3377. objects and yet expect them to all compare to be the same.
  3378. This is bad. We should either have shared instances of these values
  3379. or we should just pass around the class names. There are already hacks
  3380. in place to make TestFailure objects pass equality tests, I just added
  3381. a __hash__ implementation so they can be used in sets as expected.
  3382. * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
  3383. * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
  3384. 2011-01-06 Evan Martin <evan@chromium.org>
  3385. Reviewed by Tony Chang.
  3386. [gdb] handle inaccessible memory and UChar*
  3387. https://bugs.webkit.org/show_bug.cgi?id=52003
  3388. To pretty-print a UChar*, we just grope around in the memory
  3389. looking for a terminating NUL. We need to handle the exception
  3390. that can occur when we poke into an invalid location.
  3391. Additionally, the logic for choosing which pretty-printer would
  3392. early return before hitting the point where we'd use the UChar*
  3393. printer. (Did this ever work? How did it regress?)
  3394. * gdb/webkit.py:
  3395. 2011-01-05 Brian Weinstein <bweinstein@apple.com>
  3396. Reviewed by Ada Chan.
  3397. WebKit2: Should be able to call into injected bundle to ask if we should allow resource loads
  3398. https://bugs.webkit.org/show_bug.cgi?id=51969
  3399. Add shouldLoadResourceForFrame to WTR::InjectedBundlePage.
  3400. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  3401. (WTR::InjectedBundlePage::InjectedBundlePage):
  3402. (WTR::InjectedBundlePage::shouldLoadResourceForFrame): Stub implementation.
  3403. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  3404. 2011-01-06 James Robinson <jamesr@chromium.org>
  3405. Reviewed by Simon Fraser.
  3406. Implement mozilla's animationTime property
  3407. https://bugs.webkit.org/show_bug.cgi?id=51952
  3408. Chromium DRT support for webkitAnimationTime.
  3409. * DumpRenderTree/chromium/WebViewHost.cpp:
  3410. (WebViewHost::paintInvalidatedRegion):
  3411. 2011-01-06 Julie Parent <jparent@chromium.org>
  3412. Reviewed by Tony Chang.
  3413. Test Result Server always truncates number of results to JSON_RESULTS_MAX_BUILDS
  3414. https://bugs.webkit.org/show_bug.cgi?id=51217
  3415. * TestResultServer/model/jsonresults.py:
  3416. Pass num_runs through to _remove_items_over_max_number_of_builds, and use the value.
  3417. Adds missing documentation.
  3418. * TestResultServer/model/jsonresults_unittest.py:
  3419. Add unit test to test that truncation happens at smaller value than JSON_RESULTS_MAX_BUILDS.
  3420. Update test_merge to take a number of builds to truncate at.
  3421. 2011-01-06 Adam Barth <abarth@webkit.org>
  3422. Reviewed by Eric Seidel.
  3423. The EWS should log outside of the working directory
  3424. https://bugs.webkit.org/show_bug.cgi?id=51986
  3425. This patch prepare us for using git clean -x -d -f in the EWS wrapper
  3426. script, which will actually clean the working copy back to a pristine
  3427. state instead of leaving untracked directories and ignored files.
  3428. * Scripts/webkitpy/tool/commands/queues.py:
  3429. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  3430. 2011-01-05 Steve Falkenburg <sfalken@apple.com>
  3431. Windows build fix.
  3432. Back out attempted change to built-product-archive.
  3433. * BuildSlaveSupport/built-product-archive:
  3434. 2011-01-05 Steve Falkenburg <sfalken@apple.com>
  3435. Windows build fix.
  3436. Include configuration name when unpacking a build archive.
  3437. Needed, since we split Windows build results into configuration-specific directories
  3438. under WebKitOutputDir.
  3439. * BuildSlaveSupport/built-product-archive:
  3440. 2011-01-05 Steve Falkenburg <sfalken@apple.com>
  3441. Reviewed by Darin Adler.
  3442. Debug and Release builds on Windows clobber each other
  3443. https://bugs.webkit.org/show_bug.cgi?id=49185
  3444. Changes the structure of WebKitBuild build products directory so we
  3445. completely separate each build configuration into independent directories.
  3446. Although we previously had per-configuration directories for obj, this change adds
  3447. per-configuration directories for bin, lib, obj, and include. Each configuration's
  3448. build products are stored within a directory inside of WebKitBuild.
  3449. Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
  3450. defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).
  3451. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginCommon.vsprops:
  3452. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginPostBuild.cmd:
  3453. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginPreBuild.cmd:
  3454. * DumpRenderTree/win/DumpRenderTreeCommon.vsprops:
  3455. * DumpRenderTree/win/DumpRenderTreePostBuild.cmd:
  3456. * DumpRenderTree/win/DumpRenderTreePreBuild.cmd:
  3457. * DumpRenderTree/win/ImageDiffCommon.vsprops:
  3458. * DumpRenderTree/win/ImageDiffPostBuild.cmd:
  3459. * DumpRenderTree/win/ImageDiffPreBuild.cmd:
  3460. * FindSafari/FindSafari.vcproj:
  3461. * MiniBrowser/Configurations/MiniBrowserCommon.vsprops:
  3462. * MiniBrowser/MiniBrowserPostBuild.cmd:
  3463. * MiniBrowser/MiniBrowserPreBuild.cmd:
  3464. * Scripts/webkitdirs.pm:
  3465. * TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops:
  3466. * TestWebKitAPI/win/TestWebKitAPIGeneratedCommon.vsprops:
  3467. * TestWebKitAPI/win/TestWebKitAPIPostBuild.cmd:
  3468. * TestWebKitAPI/win/TestWebKitAPIPreBuild.cmd:
  3469. * TestWebKitAPI/win/copy-resources.cmd:
  3470. * WebKitAPITest/WebKitAPITestCommon.vsprops:
  3471. * WebKitAPITest/WebKitAPITestPostBuild.cmd:
  3472. * WebKitAPITest/WebKitAPITestPreBuild.cmd:
  3473. * WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops:
  3474. * WebKitTestRunner/Configurations/WebKitTestRunnerCommon.vsprops:
  3475. * WebKitTestRunner/win/InjectedBundle.vcproj:
  3476. * WebKitTestRunner/win/InjectedBundleGeneratedCommon.vsprops:
  3477. * WebKitTestRunner/win/InjectedBundlePostBuild.cmd:
  3478. * WebKitTestRunner/win/InjectedBundlePreBuild.cmd:
  3479. * WebKitTestRunner/win/WebKitTestRunnerPostBuild.cmd:
  3480. * WebKitTestRunner/win/WebKitTestRunnerPreBuild.cmd:
  3481. * WinLauncher/WinLauncherCommon.vsprops:
  3482. * WinLauncher/WinLauncherPostBuild.cmd:
  3483. * WinLauncher/WinLauncherPreBuild.cmd:
  3484. 2011-01-05 Jan Erik Hanssen <jhanssen@sencha.com>
  3485. Reviewed by Ariya Hidayat.
  3486. [Qt] TestNetscapePlugin doesn't link on OS X
  3487. https://bugs.webkit.org/show_bug.cgi?id=51948
  3488. Only add a dependency on libX11 on X11 systems
  3489. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  3490. 2011-01-05 Jeff Miller <jeffm@apple.com>
  3491. Reviewed by Adam Roben.
  3492. check-webkit-style should allow unnecessary parameter names in WebKit2 APIs because we're matching CF's header style
  3493. https://bugs.webkit.org/show_bug.cgi?id=51970
  3494. * Scripts/webkitpy/style/checker.py:
  3495. Add -readability/naming for WebKit2 C API directories.
  3496. 2011-01-05 Eric Seidel <eric@webkit.org>
  3497. Unreviewed, just fixing one more log error from my previous python patch.
  3498. Move LayoutTestResults over to new-run-webkit-tests TestResult architecture
  3499. https://bugs.webkit.org/show_bug.cgi?id=51802
  3500. webkit-patch failure-reason was logging about parsing errors
  3501. due to my misunderstanding of how BeautifulSoup.findAll worked.
  3502. Fixed, and added a unit test.
  3503. * Scripts/webkitpy/common/net/layouttestresults.py:
  3504. * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
  3505. 2011-01-05 Benjamin Poulain <benjamin.poulain@nokia.com>
  3506. Reviewed by Kenneth Rohde Christiansen.
  3507. [Qt] [WK2] Add the possibility to open window from the WebProcess in Minibrowser
  3508. https://bugs.webkit.org/show_bug.cgi?id=51951
  3509. Set a function to QWKPage::setCreateNewPageFunction() in Minibrowser so there is a way
  3510. to create new window from WebKit.
  3511. * MiniBrowser/qt/BrowserWindow.cpp:
  3512. (newPageFunction):
  3513. (BrowserWindow::BrowserWindow):
  3514. (BrowserWindow::page): Added to avoid the indirect access to QWKPage spread in the class
  3515. (BrowserWindow::newWindow):
  3516. (BrowserWindow::updateUserAgentList):
  3517. (BrowserWindow::showUserAgentDialog):
  3518. * MiniBrowser/qt/BrowserWindow.h: Add the global variable backingStoreTypeForNewWindow to
  3519. define the type of the backing store used for new windows.
  3520. * MiniBrowser/qt/main.cpp:
  3521. (main):
  3522. 2011-01-05 Eric Seidel <eric@webkit.org>
  3523. Reviewed by Ojan Vafai.
  3524. commit-queue should report failure type when reporting flaky tests
  3525. https://bugs.webkit.org/show_bug.cgi?id=51900
  3526. This patch was a ridiculous amount of plumbing. In the end I like
  3527. the NRWT-style TestResult class even less. But now we're passing
  3528. a list of TestResult objects from the queue to the FlakyTestReporter.
  3529. Thus the FlakyTestReporter can more easily report what type of failure
  3530. occurred.
  3531. In the process, I found that I was not alone in finding TestResult
  3532. cumbersome to use. A bunch of code was trying to create a TestResult
  3533. object with default values. However since the constructor didn't make
  3534. this easy, some places were getting it wrong (including the TestResult unit test)!
  3535. I've fixed the TestResult constructor to have default values for non-essential
  3536. arguments.
  3537. * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
  3538. * Scripts/webkitpy/common/net/layouttestresults.py:
  3539. * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
  3540. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  3541. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  3542. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  3543. * Scripts/webkitpy/layout_tests/layout_package/test_results.py:
  3544. * Scripts/webkitpy/layout_tests/layout_package/test_results_unittest.py:
  3545. * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
  3546. * Scripts/webkitpy/tool/bot/commitqueuetask.py:
  3547. * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
  3548. * Scripts/webkitpy/tool/bot/flakytestreporter.py:
  3549. * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
  3550. * Scripts/webkitpy/tool/commands/queues.py:
  3551. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  3552. 2011-01-05 Eric Seidel <eric@webkit.org>
  3553. Unreviewed.
  3554. Move LayoutTestResults over to new-run-webkit-tests TestResult architecture
  3555. https://bugs.webkit.org/show_bug.cgi?id=51802
  3556. Add another unit test to cover a previously missing import.
  3557. * Scripts/webkitpy/common/net/layouttestresults.py:
  3558. * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
  3559. 2011-01-05 Mihai Parparita <mihaip@chromium.org>
  3560. Reviewed by David Levin.
  3561. Add mihaip@chromium.org as a reviewer
  3562. https://bugs.webkit.org/show_bug.cgi?id=51966
  3563. Add myself as a reviewer.
  3564. * Scripts/webkitpy/common/config/committers.py:
  3565. 2011-01-05 James Simonsen <simonjam@chromium.org>
  3566. Unreviewed. Adding myself to the list of committers.
  3567. * Scripts/webkitpy/common/config/committers.py:
  3568. 2011-01-05 Eric Seidel <eric@webkit.org>
  3569. Unreviewed.
  3570. Move LayoutTestResults over to new-run-webkit-tests TestResult architecture
  3571. https://bugs.webkit.org/show_bug.cgi?id=51802
  3572. Fix two exceptions seen on the bots after my original commit.
  3573. * Scripts/webkitpy/common/net/layouttestresults.py:
  3574. * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
  3575. 2011-01-05 Kundu Suchismita <suchi.kundu@nokia.com>
  3576. Reviewed by Andreas Kling.
  3577. [Qt]Add local storage settings to QtTestBrowser command line arguments
  3578. https://bugs.webkit.org/show_bug.cgi?id=51750
  3579. * QtTestBrowser/main.cpp:
  3580. (LauncherApplication::handleUserOptions):
  3581. Local storage settings can be enable form command line arguments for
  3582. QtTestBrowser.
  3583. 2011-01-05 Chris Fleizach <cfleizach@apple.com>
  3584. Reviewed by Martin Robinson.
  3585. GTK: AX: DRT needs to use correct root object method.
  3586. https://bugs.webkit.org/show_bug.cgi?id=51911
  3587. * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
  3588. (AccessibilityController::rootElement):
  3589. 2011-01-05 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  3590. Rubber-stamped by Csaba Osztrogonác.
  3591. Based on idea from Péter Gál.
  3592. * Scripts/webkitpy/tool/bot/sheriff.py: Remove unnecessary apostrophes around revision numbers.
  3593. 2011-01-05 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  3594. Reviewed by Adam Barth.
  3595. sheriff-bot should be able to do multi-revision rollouts
  3596. https://bugs.webkit.org/show_bug.cgi?id=51176
  3597. * Scripts/webkitpy/tool/bot/irc_command.py:
  3598. * Scripts/webkitpy/tool/bot/sheriff.py:
  3599. * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
  3600. 2011-01-05 Eric Seidel <eric@webkit.org>
  3601. Reviewed by Adam Barth.
  3602. queues.webkit.org should have per-bot status pages
  3603. https://bugs.webkit.org/show_bug.cgi?id=51906
  3604. Just adds a /queue-status/QUEUE_NAME/bots/BOT_ID page to show
  3605. statuses from a single queue. Now that we have many bots servicing
  3606. some queues (commit-queue, win-ews, etc.) its easy to have the messages
  3607. you care about scroll off the end of the 15-message limit on the main page.
  3608. Eventually we should probably rename /queue-status to /queue or /queues,
  3609. but that's fodder for another patch.
  3610. * QueueStatusServer/handlers/queuestatus.py:
  3611. * QueueStatusServer/index.yaml:
  3612. * QueueStatusServer/main.py:
  3613. * QueueStatusServer/templates/includes/singlequeuestatus.html:
  3614. - This probably should use a custom filter instead of hard-coding
  3615. the URL scheme here, but I couldn't figure out how to easily
  3616. create such a filter. Most filters work with "strings" so we can't
  3617. pass the status object. We could add a method to the status
  3618. object and call that, but that seemed a bit strange too.
  3619. * QueueStatusServer/templates/queuestatus.html:
  3620. 2011-01-05 Carlos Garcia Campos <cgarcia@igalia.com>
  3621. Unreviewed. Adding myself to the list of committers.
  3622. * Scripts/webkitpy/common/config/committers.py:
  3623. 2011-01-04 Koan-Sin Tan <koansin.tan@gmail.com>
  3624. Reviewed by David Levin.
  3625. check-webkit-style treated some macros with parentheses after #elif as function calls
  3626. https://bugs.webkit.org/show_bug.cgi?id=51695
  3627. Ingore function call space checking in any preprocessor directives
  3628. (things starting with #). Change search() to match() because
  3629. preprocessor directives are supposed to be in the beginning of lines.
  3630. * Scripts/webkitpy/style/checkers/cpp.py:
  3631. * Scripts/webkitpy/style/checkers/cpp_unittest.py: make sure there is no false positives for #elif cases
  3632. 2011-01-04 Søren Gjesse <sgjesse@chromium.org>
  3633. Reviewed by Tony Chang.
  3634. Change the --multi-load test option to --stress-opt
  3635. https://bugs.webkit.org/show_bug.cgi?id=50751
  3636. * DumpRenderTree/chromium/DumpRenderTree.cpp:
  3637. (runTest):
  3638. (main):
  3639. * DumpRenderTree/chromium/TestShell.cpp:
  3640. (TestShell::TestShell):
  3641. * DumpRenderTree/chromium/TestShell.h:
  3642. (TestShell::stressOpt):
  3643. (TestShell::setStressOpt):
  3644. (TestShell::stressDeopt):
  3645. (TestShell::setStressDeopt):
  3646. (TestShell::javaScriptFlags):
  3647. (TestShell::setJavaScriptFlags):
  3648. * Scripts/webkitpy/layout_tests/port/chromium.py:
  3649. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  3650. 2011-01-04 Chris Fleizach <cfleizach@apple.com>
  3651. Reviewed by Sam Weinig.
  3652. WK2: Support Accessibility
  3653. https://bugs.webkit.org/show_bug.cgi?id=51859
  3654. Use rootObject() method to get top of accessibility tree.
  3655. * DumpRenderTree/mac/AccessibilityControllerMac.mm:
  3656. (AccessibilityController::focusedElement):
  3657. (AccessibilityController::rootElement):
  3658. 2011-01-03 Martin Robinson <mrobinson@igalia.com>
  3659. Reviewed by Darin Adler.
  3660. Remove the last non-GObject usage of PlatformRefPtr and move the code to GRefPtr
  3661. https://bugs.webkit.org/show_bug.cgi?id=51846
  3662. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: Change usage of PlatformRefPtr
  3663. back to GRefPtr.
  3664. 2011-01-04 Zhe Su <suzhe@chromium.org>
  3665. Reviewed by Kenneth Russell.
  3666. Fix insertText, setMarkedText and unmarkText methods of
  3667. TextInputController to call corresponding methods of WebKit::WebView
  3668. rather than WebKit::WebFrame. This change matches the behavior of
  3669. chromium browser.
  3670. insertText corresponds to WebView::confirmComposition(text)
  3671. setMarkedText corresponds to WebView::setComposition(...)
  3672. unmarkText corresponds to WebView::confirmComposition()
  3673. https://bugs.webkit.org/show_bug.cgi?id=51693
  3674. * DumpRenderTree/chromium/TextInputController.cpp:
  3675. (TextInputController::insertText):
  3676. (TextInputController::setMarkedText):
  3677. (TextInputController::unmarkText):
  3678. 2011-01-04 Dihan Wickremasuriya <dihan.wickremasuriya@nokia.com>
  3679. Reviewed by Laszlo Gombos.
  3680. [Qt] [Symbian] Do not remove 0 byte sized files from productDir
  3681. On Symbian productDir points to the source directory. Removing all the
  3682. empty files from the productDir directory corrupts the svn repository.
  3683. * Scripts/build-webkit:
  3684. 2011-01-03 Yi Shen <yi.4.shen@nokia.com>
  3685. Reviewed by Adam Barth.
  3686. [Qt] Add SelectAll option to the context menu for the editor
  3687. https://bugs.webkit.org/show_bug.cgi?id=50049
  3688. Set shortcut for the SelectAll action.
  3689. * QtTestBrowser/mainwindow.cpp:
  3690. (MainWindow::buildUI):
  3691. 2011-01-03 David Levin <levin@chromium.org>
  3692. Reviewed by Eric Seidel.
  3693. check-webkit-style shouldn't consider "value" automatically to be a meaningless name.
  3694. https://bugs.webkit.org/show_bug.cgi?id=51842
  3695. * Scripts/webkitpy/style/checkers/cpp.py: Remove the check for value.
  3696. * Scripts/webkitpy/style/checkers/cpp_unittest.py: Remove the test for value.
  3697. 2011-01-03 Patrick Gansterer <paroga@webkit.org>
  3698. Reviewed by David Kilzer.
  3699. [WINCE] Adds a build slave.
  3700. https://bugs.webkit.org/show_bug.cgi?id=50523
  3701. * BuildSlaveSupport/build.webkit.org-config/config.json: Add an
  3702. entry for a release build of the WinCE port.
  3703. * BuildSlaveSupport/build.webkit.org-config/master.cfg: Add platform
  3704. flag to build the WinCE port.
  3705. 2011-01-03 Patrick Gansterer <paroga@webkit.org>
  3706. Reviewed by David Kilzer.
  3707. Add WinCE support to build-webkit
  3708. https://bugs.webkit.org/show_bug.cgi?id=51642
  3709. * Scripts/build-webkit:
  3710. * Scripts/webkitdirs.pm:
  3711. 2011-01-03 Eric Seidel <eric@webkit.org>
  3712. Reviewed by Adam Barth.
  3713. Move LayoutTestResults over to new-run-webkit-tests TestResult architecture
  3714. https://bugs.webkit.org/show_bug.cgi?id=51802
  3715. I'm not the biggest fan of the test_failures or test_results classes,
  3716. but it's better to have one shared set of classes, than separate ones
  3717. for new vs. old run-webkit-test result handling.
  3718. This moves the ORWT results class "LayoutTestResults" over to using
  3719. TestResult and TestFailure classes, making it easy for us to
  3720. make all our sheriff-bot and other webkitpy code NRWT ready.
  3721. This also makes it a trivial patch to generate results.json information
  3722. from ORWT results.html files (for flaky test analysis, etc.) as well
  3723. as making it a one-liner to report test failure types when the
  3724. commit-queue sees flaky tests.
  3725. This patch tried not to add new functionality, but only to replace
  3726. the guts of LayoutTestResults, while adding unit tests and hoping
  3727. not to break anything.
  3728. I also moved callers which assumed User.prompt* were static/class methods
  3729. to using them as instance methods (since we'll eventually want to make them such).
  3730. In the process of re-writing things, I broke the rebaseline command, so I wrote
  3731. a unit test to catch my breakage were I do do so again in the future.
  3732. * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
  3733. * Scripts/webkitpy/common/net/layouttestresults.py:
  3734. * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
  3735. * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
  3736. * Scripts/webkitpy/layout_tests/layout_package/test_results.py:
  3737. * Scripts/webkitpy/tool/commands/queries.py:
  3738. * Scripts/webkitpy/tool/commands/rebaseline.py:
  3739. * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
  3740. * Scripts/webkitpy/tool/mocktool.py:
  3741. 2011-01-03 Adam Barth <abarth@webkit.org>
  3742. Reviewed by Simon Fraser.
  3743. webkit-patch shouldn't waste time cleaning a working directory that's already clean
  3744. https://bugs.webkit.org/show_bug.cgi?id=51840
  3745. * Scripts/webkitpy/common/checkout/scm.py:
  3746. 2011-01-03 Adam Barth <abarth@webkit.org>
  3747. Reviewed by Simon Fraser.
  3748. webkit-patch should only hide update output if --quiet
  3749. https://bugs.webkit.org/show_bug.cgi?id=51838
  3750. As requested by smfr.
  3751. * Scripts/webkitpy/tool/steps/update.py:
  3752. 2011-01-03 Adam Barth <abarth@webkit.org>
  3753. Reviewed by David Levin.
  3754. commit-queue shouldn't reject patches twice if two bots process the same patch
  3755. https://bugs.webkit.org/show_bug.cgi?id=51805
  3756. Before raising an error, we first check whether the patch is still in
  3757. the commit-queue. This check is still racy, of course, but the time
  3758. window is much smaller.
  3759. * Scripts/webkitpy/tool/bot/commitqueuetask.py:
  3760. 2011-01-03 Sam Weinig <sam@webkit.org>
  3761. Reviewed by Anders Carlsson.
  3762. Make run-api-tests less chatty.
  3763. https://bugs.webkit.org/show_bug.cgi?id=51831
  3764. - Make script quiet by default and add --verbose option (replacing --quiet).
  3765. - When not verbose, pipe stdout and stderr to devnull.
  3766. * Scripts/run-api-tests:
  3767. 2011-01-03 Pratik Solanki <psolanki@apple.com>
  3768. Unreviewed. Adding myself to committers.py.
  3769. * Scripts/webkitpy/common/config/committers.py:
  3770. 2011-01-03 Koan-Sin Tan <koansin.tan@gmail.com>
  3771. Reviewed by Xan Lopez.
  3772. "Tool/Scripts/run-launcher --gtk" stopped working after 74855
  3773. https://bugs.webkit.org/show_bug.cgi?id=51806
  3774. Originally, the $libraryName is 'JavaScriptCore'. When building release
  3775. one, the $libraryDir was 'WebKitBuild/Release/JavaScriptCore/../.libs/'
  3776. which doesn't exist anymore ('WebKitBuild/Release/JavaScriptCore'
  3777. is 'WebKitBuild/Release/Source/JavaScriptCore' now), and
  3778. 'WebKitBuild/Release/Source/JavaScriptCore/../../.libs' looks weird,
  3779. so make it 'WebKitBuild/Release/.libs'
  3780. * Scripts/webkitdirs.pm:
  3781. 2011-01-02 Patrick Gansterer <paroga@webkit.org>
  3782. Reviewed by Adam Barth.
  3783. Make EFL a core builder
  3784. https://bugs.webkit.org/show_bug.cgi?id=51804
  3785. * Scripts/webkitpy/common/net/buildbot/buildbot.py:
  3786. * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py:
  3787. 2011-01-02 Csaba Osztrogonác <ossy@webkit.org>
  3788. [Qt] Unreviewed fix after r74855 and r74875.
  3789. * BuildSlaveSupport/built-product-archive:
  3790. - Create directories explicitly.
  3791. - Pass shell=True to subprocess.call().
  3792. 2011-01-02 Csaba Osztrogonác <ossy@webkit.org>
  3793. [Qt] Unreviewed fix after r74855.
  3794. Move JavaScriptCore to Source
  3795. https://bugs.webkit.org/show_bug.cgi?id=51604
  3796. * BuildSlaveSupport/built-product-archive: JavaScriptCore -> Source/JavaScriptCore
  3797. 2011-01-02 Csaba Osztrogonác <ossy@webkit.org>
  3798. [Qt] Unreviewed run-javasriptcore-tests fix after r74855.
  3799. Move JavaScriptCore to Source
  3800. https://bugs.webkit.org/show_bug.cgi?id=51604
  3801. * Scripts/webkitdirs.pm:
  3802. 2011-01-02 Robert Hogan <robert@webkit.org>
  3803. Unreviewed, build fix.
  3804. [Qt] Fix DRT build after 74855
  3805. * DumpRenderTree/qt/DumpRenderTree.pro:
  3806. 2011-01-01 Adam Barth <abarth@webkit.org>
  3807. Remove the assumption from the Qt and Gtk builds that every project is
  3808. in the root directory.
  3809. * Scripts/build-webkit:
  3810. 2011-01-01 Adam Barth <abarth@webkit.org>
  3811. Reviewed by Eric Seidel.
  3812. Teach svn-apply how to apply patches even though JavaScriptCore has moved
  3813. https://bugs.webkit.org/show_bug.cgi?id=51796
  3814. After this change, svn-apply will magically apply patches to
  3815. JavaScriptCore/foo to Source/JavaScriptCore/foo.
  3816. * Scripts/VCSUtils.pm:
  3817. 2011-01-01 Adam Barth <abarth@webkit.org>
  3818. Reviewed by Eric Seidel.
  3819. Move JavaScriptCore to Source
  3820. https://bugs.webkit.org/show_bug.cgi?id=51604
  3821. Update references to JavaScriptCore to point to the new location.
  3822. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  3823. * DumpRenderTree/qt/DumpRenderTree.pro:
  3824. * DumpRenderTree/qt/ImageDiff.pro:
  3825. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  3826. * DumpRenderTree/wscript:
  3827. * Scripts/build-jsc:
  3828. * Scripts/build-webkit:
  3829. * Scripts/do-file-rename:
  3830. * Scripts/do-webcore-rename:
  3831. * Scripts/run-javascriptcore-tests:
  3832. * Scripts/update-javascriptcore-test-results:
  3833. * Scripts/webkitdirs.pm:
  3834. * Scripts/webkitpy/common/config/build_unittest.py:
  3835. * Scripts/webkitpy/style/checker.py:
  3836. * Scripts/webkitpy/style/checker_unittest.py:
  3837. * Scripts/webkitpy/style/checkers/cpp_unittest.py:
  3838. * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
  3839. * WebKitTestRunner/qt/WebKitTestRunner.pro:
  3840. * wx/build/settings.py:
  3841. 2011-01-01 Adam Barth <abarth@webkit.org>
  3842. Reviewed by Eric Seidel.
  3843. Move Sources to Source
  3844. https://bugs.webkit.org/show_bug.cgi?id=51794
  3845. Update scripts to point to the new location.
  3846. * Scripts/build-webkit:
  3847. * Scripts/do-file-rename:
  3848. * Scripts/do-webcore-rename:
  3849. * Scripts/webkitpy/common/config/build.py:
  3850. * Scripts/webkitpy/common/config/build_unittest.py:
  3851. 2010-12-31 Kent Tamura <tkent@chromium.org>
  3852. Reviewed by Eric Seidel.
  3853. [DRT/Chromium] Enable mock spell checker on non-OSX
  3854. https://bugs.webkit.org/show_bug.cgi?id=51401
  3855. * DumpRenderTree/chromium/WebViewHost.cpp:
  3856. (WebViewHost::spellCheck):
  3857. 2010-12-31 Adam Barth <abarth@webkit.org>
  3858. Reviewed by Ariya Hidayat.
  3859. Remove Tools/Scripts/wkstyle
  3860. https://bugs.webkit.org/show_bug.cgi?id=51774
  3861. This script appears to not have been touched in a while and seems to
  3862. have been replaced by check-webkit-style.
  3863. * Scripts/wkstyle: Removed.
  3864. 2010-12-31 Ilya Tikhonovsky <loislo@chromium.org>
  3865. Unreviewed. Coding style fix.
  3866. * DumpRenderTree/chromium/TestShell.h:
  3867. 2010-12-31 Ilya Tikhonovsky <loislo@chromium.org>
  3868. Reviewed by Pavel Feldman.
  3869. Web Inspector: [Chromium] Inspector's tests are very slow on Win(Dbg).
  3870. It was a problem with Chromium DRT. DevToolsAgent object instance was
  3871. attached not only to the inspected page but to the DevTools window too.
  3872. As result all the inspector files were interpreted as a content of inspected page
  3873. and were transfered to the DevTools scripts panel for debugging etc.
  3874. https://bugs.webkit.org/show_bug.cgi?id=51735
  3875. * DumpRenderTree/chromium/TestShell.cpp:
  3876. (TestShell::TestShell):
  3877. (TestShell::bindJSObjectsToWindow):
  3878. (TestShell::createNewWindow):
  3879. * DumpRenderTree/chromium/TestShell.h:
  3880. 2010-12-31 Adam Barth <abarth@webkit.org>
  3881. Rubber-stamped by Eric Seidel.
  3882. Move PageLoadTests to PerformanceTests/PageLoad
  3883. https://bugs.webkit.org/show_bug.cgi?id=51771
  3884. Update references to PageLoadTests to point to the new location.
  3885. * Scripts/run-pageloadtest:
  3886. * Scripts/webkitpy/common/config/build.py:
  3887. 2010-12-31 Adam Barth <abarth@webkit.org>
  3888. Rubber-stamped by Eric Seidel.
  3889. Move SunSpider into PerformanceTests
  3890. https://bugs.webkit.org/show_bug.cgi?id=51769
  3891. Update these scripts to point to the new location.
  3892. * Scripts/run-sunspider:
  3893. * Scripts/sunspider-compare-results:
  3894. 2010-12-30 Mihai Parparita <mihaip@chromium.org>
  3895. Reviewed by Kent Tamura.
  3896. [Chromium] Add WebThemeEngineDRTMac so that Chromium DRT scrollbar rendering can match the Mac port's
  3897. https://bugs.webkit.org/show_bug.cgi?id=51728
  3898. Add implementation of the Mac WebThemeEngine that uses an NSScroller
  3899. to render top-level scrollbars. This makes them match the Mac port's
  3900. use of an NSScrollView, which means that we'll be able to share more
  3901. pixel baselines.
  3902. The new rendering code will not be activated until the
  3903. USE_WEB_THEME_ENGINE_TO_PAINT_THUMB #define is fliped in
  3904. ScrollbarThemeChromiumMac.
  3905. * DumpRenderTree/DumpRenderTree.gypi:
  3906. * DumpRenderTree/chromium/TestShellMac.mm:
  3907. (platformInit):
  3908. * DumpRenderTree/chromium/WebThemeEngineDRTMac.h: Added.
  3909. * DumpRenderTree/chromium/WebThemeEngineDRTMac.mm: Added.
  3910. (+[FakeActiveWindow alwaysActiveWindow]):
  3911. (+[FakeActiveWindow alwaysInactiveWindow]):
  3912. (-[FakeActiveWindow initWithActiveControls:]):
  3913. (-[FakeActiveWindow _hasActiveControls]):
  3914. (WebThemeEngineDRTMac::paintScrollbarThumb):
  3915. (stateToHIEnableState):
  3916. (WebThemeEngineDRTMac::paintHIThemeScrollbarThumb):
  3917. (WebThemeEngineDRTMac::paintNSScrollerScrollbarThumb):
  3918. 2010-12-30 Konstantin Tokarev <annulen@yandex.ru>
  3919. Reviewed by David Kilzer.
  3920. [Qt] Don't build wtf/TCSystemAlloc.cpp if --system-malloc option is
  3921. used
  3922. https://bugs.webkit.org/show_bug.cgi?id=51672
  3923. * DumpRenderTree/qt/DumpRenderTree.pro: Replaced USE_SYSTEM_MALLOC
  3924. with USE_SYSTEM_MALLOC=1
  3925. * WebKitTestRunner/qt/WebKitTestRunner.pro: Replaced USE_SYSTEM_MALLOC
  3926. with USE_SYSTEM_MALLOC=1
  3927. 2010-12-30 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  3928. Reviewed by David Kilzer.
  3929. [Qt] [Symbian] Fix build-webkit script for Symbian
  3930. https://bugs.webkit.org/show_bug.cgi?id=51509
  3931. Set the OUTPUT_DIR for Symbian to be the same as the source
  3932. directory.
  3933. * Scripts/webkitdirs.pm:
  3934. 2010-12-30 Martin Robinson <mrobinson@igalia.com>
  3935. Reviewed by Darin Adler.
  3936. check-webkit-style should ignore NULL usage in calls to gtk_widget_style_get
  3937. https://bugs.webkit.org/show_bug.cgi?id=51758
  3938. Add a check-webkit-style exception for gtk_widget_style_get and NULL usage.
  3939. * Scripts/webkitpy/style/checkers/cpp.py: Add the exception.
  3940. * Scripts/webkitpy/style/checkers/cpp_unittest.py: Add some tests for this.
  3941. 2010-12-29 Patrick Gansterer <paroga@webkit.org>
  3942. Unreviewed WinCE buildfix.
  3943. * WinCELauncher/main.cpp: Add missing include.
  3944. 2010-12-29 Daniel Bates <dbates@rim.com>
  3945. Reviewed by Darin Adler.
  3946. svn-apply updates date of wrong change log entry for a change log diff that
  3947. contains two consecutive entries with the same author and date
  3948. https://bugs.webkit.org/show_bug.cgi?id=46061
  3949. Fixes an issue where the date of the wrong change log entry may be modified.
  3950. Moreover, changes fixChangeLogPatch() to move entries inserted earlier
  3951. in a ChangeLog file to the top of the file.
  3952. Currently, fixChangeLogPatch() explicitly bails out and returns an unchanged
  3953. diff when it detects that the diff inserts a change log entry earlier in a
  3954. ChangeLog. It is unusual to land a patch that has such a deliberate ChangeLog
  3955. change. With the advent of the commit-queue this functionality of bailing out
  3956. and hence landing the patch as-is is harmful to the accuracy of the ChangeLog.
  3957. Instead, we should always move the change log entry to the top of the ChangeLog file.
  3958. A side-effect of this change is that setChangeLogDateAndReviewer() now updates
  3959. the date line of the correct change log entry in a ChangeLog diff.
  3960. * Scripts/VCSUtils.pm: Modified fixChangeLogPatch() to move entries inserted earlier to the top.
  3961. * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl:
  3962. Updated the following unit tests now that we move entries inserted earlier to the top:
  3963. - "fixChangeLogPatch: New entry inserted in middle."
  3964. (formerly named "fixChangeLogPatch: [no change] New entry inserted in middle.")
  3965. - "fixChangeLogPatch: New entry inserted earlier in the file, but after an entry with the same author and date."
  3966. (formerly named "fixChangeLogPatch: [no change] New entry inserted earlier in the file, but after an entry with the same author and date.")
  3967. * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatchThenSetChangeLogDateAndReviewer.pl: Added.
  3968. 2010-12-29 Konstantin Tokarev <annulen@yandex.ru>
  3969. Reviewed by Eric Seidel.
  3970. [Qt] Fixed compatibility with gold linker on X11 platforms
  3971. https://bugs.webkit.org/show_bug.cgi?id=51700
  3972. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  3973. Linked TestNetscapePlugin with libX11 on Unix platforms
  3974. 2010-12-29 Ademar de Souza Reis Jr <ademar.reis@openbossa.org>
  3975. Reviewed by Darin Adler.
  3976. Circular dependency in webkitpy.common.checkout.changelog module
  3977. https://bugs.webkit.org/show_bug.cgi?id=50475
  3978. Remove automatic import of api.Checkout module when any checkout/
  3979. submodule is imported (e.g.: when checkout.scm.Git is imported).
  3980. * Scripts/webkitpy/common/checkout/__init__.py:
  3981. 2010-12-29 Martin Robinson <mrobinson@igalia.com>
  3982. Reviewed by Ojan Vafai.
  3983. prepare-ChangeLog should support the -g option for specifying the git-commit
  3984. https://bugs.webkit.org/show_bug.cgi?id=51708
  3985. Add a -g shortcut for the --git-commit prepare-ChangeLog option. This matches
  3986. webkit-patch, though the exact meaning of the two options remain different.
  3987. * Scripts/prepare-ChangeLog: Add -g.
  3988. 2010-12-29 Kent Hansen <kent.hansen@nokia.com>
  3989. Reviewed by Simon Hausmann.
  3990. [Qt] Fix compilation with Qt in namespace
  3991. https://bugs.webkit.org/show_bug.cgi?id=51701
  3992. * QtTestBrowser/webview.h:
  3993. 2010-12-28 Daniel Bates <dbates@rim.com>
  3994. Reviewed by Sam Weinig.
  3995. Substitute // MARK: for compiler-specific #pragma mark
  3996. https://bugs.webkit.org/show_bug.cgi?id=51657
  3997. Fix future compilation warnings about "#pragma mark" on GTK+ bots by
  3998. substituting "// MARK:" for "#pragma mark", which provides
  3999. analogous code-bookmarking functionality under Xcode.
  4000. Also, for consistency, we should substitute "// MARK:" for compiler-
  4001. specific "#pragma mark" in the source files for the Mac port.
  4002. * DumpRenderTree/AccessibilityTextMarker.cpp:
  4003. * DumpRenderTree/cf/WebArchiveDumpSupport.h:
  4004. * DumpRenderTree/mac/AccessibilityTextMarkerMac.mm:
  4005. * DumpRenderTree/mac/ObjCController.m:
  4006. * MiniBrowser/mac/AppDelegate.m:
  4007. * MiniBrowser/mac/BrowserWindowController.m:
  4008. 2010-12-28 Xan Lopez <xlopez@igalia.com>
  4009. Reviewed by Eric Seidel.
  4010. Add --no-build option to run-sunspider
  4011. https://bugs.webkit.org/show_bug.cgi?id=51658
  4012. * Scripts/run-sunspider: add --no-build flag to skip building
  4013. phase.
  4014. 2010-12-27 Daniel Bates <dbates@rim.com>
  4015. Rubber-stamped by Martin Robinson.
  4016. Append the directory Tools/DumpRenderTree to the list of directories that
  4017. do-webcore-rename should search so that it can rename DRT files and
  4018. source code.
  4019. * Scripts/do-webcore-rename:
  4020. 2010-12-27 Eric Seidel <eric@webkit.org>
  4021. Reviewed by Adam Barth.
  4022. build-webkit should detect missing Java SDK and explain how to install it
  4023. https://bugs.webkit.org/show_bug.cgi?id=51651
  4024. * Scripts/build-webkit:
  4025. 2010-12-26 Martin Robinson <mrobinson@igalia.com>
  4026. Reviewed by Daniel Bates.
  4027. [GTK] Add support for build-jsc
  4028. https://bugs.webkit.org/show_bug.cgi?id=51625
  4029. Add GTK+ support to build-jsc now that building the jsc executable as
  4030. a standalone target is easy.
  4031. * Scripts/build-jsc: Call buildGtkProject for the GTK+ case now.
  4032. * Scripts/build-webkit: Pass in the proper target name to buildGtkProject.
  4033. * Scripts/webkitdirs.pm: Actually process the project parameter in buildGtkProject
  4034. and pass it along to buildAutotoolsProject.
  4035. 2010-12-27 David Levin <levin@chromium.org>
  4036. Reviewed by Eric Seidel.
  4037. check-webkit-style check for meaningless variable names in function declarations.
  4038. https://bugs.webkit.org/show_bug.cgi?id=51523
  4039. * Scripts/webkitpy/style/checker.py: Exempted JavaScriptCore/jit/JITStubs.cpp
  4040. from the new check and whitespace/parens because the syntax is unusual and
  4041. produced a fair number of positives for these checks.
  4042. * Scripts/webkitpy/style/checkers/cpp.py:
  4043. (_convert_to_lower_with_underscores): Used as a canonical form for type names
  4044. and parameter names when determining if the parameter name is useless.
  4045. (_create_acronym): Used to check for redundant variable names in cases like "ExceptionCode ec"
  4046. (Parameter.lower_with_underscores_name): Gives back the parameter name in a lower_with_underscore
  4047. format.
  4048. (_check_parameter_name_against_text): Checks to see if the parameter name is in the
  4049. text or an acronym of it.
  4050. (check_function_definition): Checks function definitions for meaningless variable names.
  4051. (process_line): Added call to check_function_definition.
  4052. * Scripts/webkitpy/style/checkers/cpp_unittest.py:
  4053. (CppFunctionsTest.test_convert_to_lower_with_underscores): Test for _convert_to_lower_with_underscores.
  4054. (CppFunctionsTest.test_create_acronym): Test for _create_acronym.
  4055. (CppFunctionsTest.test_check_parameter_against_text): Test for _check_parameter_against_text.
  4056. (CppStyleTestBase.perform_single_line_lint): Removed the parameter name check
  4057. because when only checking a snippet, there are a lot of bogus functions.
  4058. (CppStyleTestBase.perform_multi_line_lint): Ditto and removed a bogus filter
  4059. that I put there previously and just noticed.
  4060. (WebKitStyleTest.test_parameter_names): Tests for the functionality -- both
  4061. check_function_definition and process_line.
  4062. 2010-12-27 Carlos Garcia Campos <cgarcia@igalia.com>
  4063. Reviewed by Martin Robinson.
  4064. [GTK] Disable flash plugin in GtkLauncher when using gtk3
  4065. https://bugs.webkit.org/show_bug.cgi?id=51591
  4066. Flash plugin uses gtk2 that is incompatible with gtk3 making
  4067. webkit crash when it's built with gtk3.
  4068. * GtkLauncher/main.c:
  4069. (main):
  4070. 2010-12-25 Adam Barth <abarth@webkit.org>
  4071. Reviewed by Eric Seidel.
  4072. Move ANGLE to Sources/ThirdParty
  4073. https://bugs.webkit.org/show_bug.cgi?id=51605
  4074. * Scripts/build-webkit:
  4075. - Point to the new ANGLE location.
  4076. 2010-12-26 David Levin <levin@chromium.org>
  4077. Reviewed by Eric Seidel.
  4078. check-webkit-style should be able to parse function declaration parameters.
  4079. https://bugs.webkit.org/show_bug.cgi?id=51451
  4080. * Scripts/webkitpy/style/checkers/cpp.py:
  4081. (Position.__init__): Holds simple position information (row, column).
  4082. (Parameter.__init__): Holds information about a parameter.
  4083. (SingleLineView.__init): Converts multiple lines into a single line for simpler searches.
  4084. (SingleLineView.convert_column_to_row): Returns the original row given a column.
  4085. (create_skeleton_parameters): Simplifies a parameter list for easier searching.
  4086. (find_parameter_name_index): Finds where the parameter name is.
  4087. (parameter_list): Generates the list of parameters for a function.
  4088. (_FunctionState.begin): Added information to allow determining the parameters
  4089. on demand.
  4090. (_FunctionState.get_parameter_list): Returns a tuple of function parameters.
  4091. (detect_functions): Improve function detection for operator functions and
  4092. determine where the parameters end and pass that to _FunctionState.begin.
  4093. * Scripts/webkitpy/style/checkers/cpp_unittest.py:
  4094. (CppFunctionsTest.test_parameter): Verifies Parameter functionality.
  4095. (CppFunctionsTest.test_single_line_view): Verifies SingleLineView functionality.
  4096. (CppFunctionsTest.test_create_skeleton_parameters): Verifies create_skeleton_parameters.
  4097. (CppFunctionsTest.test_find_parameter_name_index): Verifies find_parameter_name_index.
  4098. (CppFunctionsTest.test_parameter_list): Does some minimal verification for parameter list.
  4099. Much more thorough verification is done as part of FunctionDetectionTest.test_parameter_list.
  4100. (FunctionDetectionTest.perform_function_detection): Added support for verifying
  4101. the parameters found.
  4102. (FunctionDetectionTest.test_function_declaration_detection): Added more function
  4103. detection test to verify that we catch the operator functions.
  4104. (FunctionDetectionTest.test_ignore_macros): Verify that function detection ignores macros.
  4105. (FunctionDetectionTest.test_parameter_list): Added tests to verify the parameter parsing.
  4106. (CheckForFunctionLengthsTest.test_function_length_check_definition_severity1_for_bad_test_doesnt_break): Removed
  4107. because the error. The test is about the bad function name. Fixing the name makes the test exactly like
  4108. test_function_length_check_definition_severity1_for_test.
  4109. 2010-12-25 Patrick Gansterer <paroga@webkit.org>
  4110. Unreviewed WinCE buildfix after r74334.
  4111. * CMakeListsWinCE.txt:
  4112. 2010-12-24 Sheriff Bot <webkit.review.bot@gmail.com>
  4113. Unreviewed, rolling out r74632.
  4114. http://trac.webkit.org/changeset/74632
  4115. https://bugs.webkit.org/show_bug.cgi?id=51600
  4116. makes test-webkitpy hang forever on GTK (Requested by philn-tp
  4117. on #webkit).
  4118. * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
  4119. * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
  4120. 2010-12-24 Ryuan Choi <ryuan.choi@samsung.com>
  4121. Reviewed by Kenneth Rohde Christiansen.
  4122. [EFL] Screen doesn't be rendered when changing size of EWebLauncher
  4123. https://bugs.webkit.org/show_bug.cgi?id=43528
  4124. Remove on_resize because ewk_view_fixed_layout_size_set should not be
  4125. called on callback of EVAS_CALLBACK_RESIZE. As it change size of
  4126. FrameView, rendering was ignored when _ewk_view_smart_calculate was
  4127. called.
  4128. * EWebLauncher/main.c:
  4129. (browserCreate):
  4130. 2010-12-24 Eric Seidel <eric@webkit.org>
  4131. Reviewed by Adam Barth.
  4132. webkit-patch (or a pre-commit hook) needs to prevent bad ChangeLog changes
  4133. https://bugs.webkit.org/show_bug.cgi?id=28291
  4134. This is a start. At least now webkit-patch will prompt when your ChangeLog looks questionable.
  4135. We could do more advanced things, like parsing the ChangeLog (with changelog.py) and comparing that
  4136. to strings with find in the diff.
  4137. Since non-interactive always returns the default, this should cause patches with bad changelogs to fail on the commit-queue.
  4138. * Scripts/webkitpy/common/checkout/api.py:
  4139. * Scripts/webkitpy/common/checkout/diff_parser.py:
  4140. * Scripts/webkitpy/tool/steps/abstractstep.py:
  4141. * Scripts/webkitpy/tool/steps/cleanworkingdirectory.py:
  4142. * Scripts/webkitpy/tool/steps/validatechangelogs.py: Copied from Tools/Scripts/webkitpy/tool/steps/validatereviewer.py.
  4143. * Scripts/webkitpy/tool/steps/validatechangelogs_unittest.py: Copied from Tools/Scripts/webkitpy/tool/steps/cleanworkingdirectory.py.
  4144. * Scripts/webkitpy/tool/steps/validatereviewer.py:
  4145. 2010-12-24 Dirk Pranke <dpranke@chromium.org>
  4146. Reviewed by Kenneth Russell.
  4147. Modify new-run-webkit-tests to shut up and exit when all the threads
  4148. are wedged so that test runs complete faster and we don't end up
  4149. w/ enormous log files.
  4150. https://bugs.webkit.org/show_bug.cgi?id=51572
  4151. * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
  4152. * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
  4153. 2010-12-24 Eric Seidel <eric@webkit.org>
  4154. Reviewed by David Levin.
  4155. commit-queue should better explain how it will re-open bugs and follow duplicate chains
  4156. https://bugs.webkit.org/show_bug.cgi?id=51549
  4157. I've had multiple people ask me about the commit-queue's behavior
  4158. regarding reporting flaky tests. I figured it would be best to just
  4159. have the queue explain itself in the bugs it files.
  4160. * Scripts/webkitpy/tool/bot/flakytestreporter.py:
  4161. * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
  4162. 2010-12-24 Shinichiro Hamaji <hamaji@chromium.org>
  4163. Reviewed by Eric Seidel.
  4164. check-webkit-style: should ignore "wrong" namings in JavaScriptCore/qt
  4165. https://bugs.webkit.org/show_bug.cgi?id=51467
  4166. * Scripts/webkitpy/style/checker.py:
  4167. * Scripts/webkitpy/style/checker_unittest.py:
  4168. 2010-12-23 Adam Barth <abarth@webkit.org>
  4169. Rubber-stamped by Eric Seidel.
  4170. Move JavaScriptGlue into Sources
  4171. https://bugs.webkit.org/show_bug.cgi?id=51583
  4172. These tools refer to JavaScriptGlue and need to be updated to its new
  4173. location.
  4174. * Scripts/build-webkit:
  4175. * Scripts/do-file-rename:
  4176. * Scripts/do-webcore-rename:
  4177. * Scripts/webkitpy/common/config/build.py:
  4178. * Scripts/webkitpy/common/config/build_unittest.py:
  4179. 2010-12-23 Lucas Forschler <lforschler@apple.com>
  4180. Reviewed by Eric Seidel.
  4181. Bug 51539 - update iexploder scripts to point to new location
  4182. * Scripts/run-iexploder-tests:
  4183. * Scripts/update-iexploder-cssproperties:
  4184. 2010-12-23 Evan Martin <evan@chromium.org>
  4185. Reviewed by Ryosuke Niwa.
  4186. [chromium] LayoutTestController warning in float->int conversion
  4187. https://bugs.webkit.org/show_bug.cgi?id=51553
  4188. Rather than reading an int, converting to a float, then getting a compiler
  4189. warning on passing the float to something that expects an int, instead
  4190. just pass around ints.
  4191. No tests, fixes a compiler warning.
  4192. * DumpRenderTree/chromium/LayoutTestController.cpp:
  4193. (parsePageSizeParameters):
  4194. (LayoutTestController::pageNumberForElementById):
  4195. (LayoutTestController::numberOfPages):
  4196. 2010-12-23 Lucas Forschler <lforschler@apple.com>
  4197. Reviewed by Darin Adler.
  4198. Bug 51537 - iexploder needs cleanup
  4199. * iExploder/htdocs: Removed.
  4200. * iExploder/htdocs/config.rb: Removed.
  4201. * iExploder/htdocs/cssproperties.in: Removed.
  4202. * iExploder/htdocs/cssvalues.in: Removed.
  4203. * iExploder/htdocs/htmlattrs.in: Removed.
  4204. * iExploder/htdocs/htmltags.in: Removed.
  4205. * iExploder/htdocs/htmlvalues.in: Removed.
  4206. * iExploder/htdocs/iexploder.cgi: Removed.
  4207. * iExploder/htdocs/iexploder.rb: Removed.
  4208. * iExploder/htdocs/index.html: Removed.
  4209. * iExploder/htdocs/webserver.rb: Removed.
  4210. * iExploder/iexploder-1.7.2/output: Removed.
  4211. * iExploder/tools: Removed.
  4212. * iExploder/tools/lasthit.rb: Removed.
  4213. * iExploder/tools/osx_last_crash.rb: Removed.
  4214. * iExploder/tools/showtest.rb: Removed.
  4215. 2010-12-23 Lucas De Marchi <lucas.demarchi@profusion.mobi>
  4216. Reviewed by Kenneth Rohde Christiansen.
  4217. [EFL] Make 'single' the default backing store in EWebLauncher
  4218. https://bugs.webkit.org/show_bug.cgi?id=51534
  4219. 'single' is the simplest backing store and the one intended to be the
  4220. default in the test browser. By mistake the tiled backing store was
  4221. left as default in r72617.
  4222. * EWebLauncher/main.c:
  4223. (browserCreate): ditto.
  4224. 2010-12-23 Lucas De Marchi <lucas.demarchi@profusion.mobi>
  4225. Reviewed by Kenneth Rohde Christiansen.
  4226. [EFL] Subject: [webkit 4/4] [EFL] Remove non-sense workaround
  4227. https://bugs.webkit.org/show_bug.cgi?id=51533
  4228. There's no point in concatenating env("HOME") with "blah", so remove
  4229. option from EWebLauncher.
  4230. * EWebLauncher/main.c:
  4231. (main): ditto.
  4232. 2010-12-23 Ilya Tikhonovsky <loislo@chromium.org>
  4233. Reviewed by Eric Seidel.
  4234. Web Inspector: chromium: inspector's tests are quite slow especially at windows(Debug).
  4235. Almost all inspector's tests become flaky on chromium Win(dbg) after switching to DRT.
  4236. I just discovered that we have two additional GC runs per each WebViewHost.
  4237. Test_shell had no such calls.
  4238. These gc runs eat 15% of cpu time.
  4239. https://bugs.webkit.org/show_bug.cgi?id=51479
  4240. * DumpRenderTree/chromium/WebViewHost.cpp:
  4241. (WebViewHost::~WebViewHost):
  4242. 2010-12-22 Dirk Pranke <dpranke@chromium.org>
  4243. Reviewed by Ojan Vafai.
  4244. This change splits out the TestRunner class into its own file.
  4245. When we fork the code for message passing, we will create a new
  4246. TestRunner, and this change will allow that to be more modular.
  4247. While we're at it, split out TestInput and ResultSummary into
  4248. their own files, to reduce the size of run_webkit_tests to
  4249. something more managable.
  4250. https://bugs.webkit.org/show_bug.cgi?id=51092
  4251. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  4252. * Scripts/webkitpy/layout_tests/layout_package/result_summary.py:
  4253. * Scripts/webkitpy/layout_tests/layout_package/test_runner.py:
  4254. * Scripts/webkitpy/layout_tests/layout_package/test_runner_unittest.py:
  4255. * Scripts/webkitpy/layout_tests/layout_package/test_input.py:
  4256. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  4257. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  4258. 2010-12-22 Dirk Pranke <dpranke@chromium.org>
  4259. Reviewed by Ojan Vafai.
  4260. nrwt multiprocessing - start over, prepare to fork the code
  4261. This code cleans up the signatures and implementation of the
  4262. TestRunner class so we can easily fork it to run either the
  4263. stable implementation or the new, unstable message-passing
  4264. implementation. The two variants will have different
  4265. implementations of the run_tests() method. We will switch
  4266. between the two based on the setting for the '--worker-model'
  4267. switch. We rename the two currently valid values to 'old-inline'
  4268. and 'old-threads'.
  4269. https://bugs.webkit.org/show_bug.cgi?id=51081
  4270. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  4271. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  4272. 2010-12-22 Victor Wang <victorw@chromium.org>
  4273. Reviewed by Darin Fisher.
  4274. [Chromium] Update chromium archive test result url in rebaseline script.
  4275. https://bugs.webkit.org/show_bug.cgi?id=51503
  4276. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  4277. 2010-12-22 Lucas Forschler <lforschler@apple.com>
  4278. Reviewed by Alice Liu.
  4279. <rdar://problem/8633222> record-memory-win needs to record memory used by the webprocess.
  4280. Verified on Chrome, Safari, and IE.
  4281. With this change, we will record memory from a parent browser window and all child processes.
  4282. * record-memory-win/main.cpp:
  4283. (ProcessArgs):
  4284. (PrintUsage):
  4285. (getMemoryInfo):
  4286. (printProcessInfo):
  4287. (evalProcesses):
  4288. (UseImage):
  4289. (QueryContinuously):
  4290. (ElapsedTime):
  4291. 2010-12-22 Lucas Forschler <lforschler@apple.com>
  4292. Unreviewed rollout r74489, because it was missing changelog.
  4293. * record-memory-win/main.cpp:
  4294. 2010-12-22 Ryosuke Niwa <rniwa@webkit.org>
  4295. Adding myself as a reviewer.
  4296. * Scripts/webkitpy/common/config/committers.py:
  4297. 2010-12-22 Andrew Scherkus <scherkus@chromium.org>
  4298. Unreviewed. Adding myself to committers.py.
  4299. * Scripts/webkitpy/common/config/committers.py:
  4300. 2010-12-22 Ariya Hidayat <ariya@sencha.com>
  4301. Reviewed by Kenneth Rohde Christiansen.
  4302. TestNetscapePlugIn should use #if defined
  4303. https://bugs.webkit.org/show_bug.cgi?id=51471
  4304. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  4305. (NP_Initialize):
  4306. (NPP_New):
  4307. 2010-12-22 Ilya Tikhonovsky <loislo@chromium.org>
  4308. Reviewed by Yury Semikhatsky.
  4309. Web Inspector: [chromium] DRT inspector layout tests are flaky in debug.
  4310. DevTools window should be closed explicitly because it has custom deinitialization code.
  4311. https://bugs.webkit.org/show_bug.cgi?id=50722
  4312. * DumpRenderTree/chromium/TestShell.cpp:
  4313. (TestShell::closeRemainingWindows):
  4314. 2010-12-22 David Levin <levin@chromium.org>
  4315. Reviewed by Shinichiro Hamaji.
  4316. check-webkit-style shouldn't complaint about underscores in variables in objective C files.
  4317. https://bugs.webkit.org/show_bug.cgi?id=51452
  4318. * Scripts/webkitpy/style/checkers/cpp.py:
  4319. (_FileState.__init__): Added the information to determine if a file is C or Objective C.
  4320. Using the file extension if possible but falling back to the file contents if we have a header file.
  4321. (_FileState.is_objective_c): Determine if we have an Objective C by examining the file contents if needed.
  4322. (_FileState.is_c_or_objective_c):
  4323. (check_using_std): Changed to using _FileState to determine the file type.
  4324. (check_max_min_macros): Ditto.
  4325. (check_for_null): Ditto.
  4326. (check_style): Changed the parameters to various calls since they now need _FileState
  4327. to determine the file type.
  4328. (check_language): Added the file_state parameter so it could be passed
  4329. to check_identifier_name_in_declaration.
  4330. (check_identifier_name_in_declaration): Don't warn about underscores in variables if
  4331. this is an Objective C file.
  4332. (_process_lines): Added information for the _FileState constructor (and moved the
  4333. call to a place that had the information).
  4334. * Scripts/webkitpy/style/checkers/cpp_unittest.py:
  4335. (CppFunctionsTest.test_is_c_or_objective_c): Changed the tests to use FileState and exercise
  4336. its functionality.
  4337. (WebKitStyleTest.test_names): Add tests for underscores in Objective C files.
  4338. 2010-12-21 Andy Estes <aestes@apple.com>
  4339. Reviewed by Mark Rowe.
  4340. Do not build non-Intel architectures for WebKit2-related projects.
  4341. https://bugs.webkit.org/show_bug.cgi?id=51440
  4342. * MiniBrowser/Configurations/Base.xcconfig: Only build for i386 and x86_64.
  4343. * TestWebKitAPI/Configurations/Base.xcconfig: Ditto.
  4344. * WebKitTestRunner/Configurations/Base.xcconfig: Ditto.
  4345. 2010-12-21 Mihai Parparita <mihaip@chromium.org>
  4346. Reviewed by Darin Fisher.
  4347. [Chromium] Rename WebThemeEngine/ControlDRT to WebThemeEngine/ControlDRTWin
  4348. https://bugs.webkit.org/show_bug.cgi?id=51406
  4349. Rename WebThemeControlDRT to WebThemeControlDRTWin and WebThemeEngineDRT
  4350. to WebThemeEngineDRTWin and update references everywhere.
  4351. * DumpRenderTree/DumpRenderTree.gypi:
  4352. * DumpRenderTree/chromium/TestShellWin.cpp:
  4353. * DumpRenderTree/chromium/WebThemeControlDRTWin.cpp: Renamed from Tools/DumpRenderTree/chromium/WebThemeControlDRT.cpp.
  4354. * DumpRenderTree/chromium/WebThemeControlDRTWin.h: Renamed from Tools/DumpRenderTree/chromium/WebThemeControlDRT.h.
  4355. * DumpRenderTree/chromium/WebThemeEngineDRTWin.cpp: Renamed from Tools/DumpRenderTree/chromium/WebThemeEngineDRT.cpp.
  4356. * DumpRenderTree/chromium/WebThemeEngineDRTWin.h: Renamed from Tools/DumpRenderTree/chromium/WebThemeEngineDRT.h.
  4357. 2010-12-21 Anders Carlsson <andersca@apple.com>
  4358. Reviewed by John Sullivan.
  4359. Clicking missing plug-in text does not show a sheet
  4360. https://bugs.webkit.org/show_bug.cgi?id=51403
  4361. Update for changes to the WebPageUIClient.
  4362. * MiniBrowser/mac/BrowserWindowController.m:
  4363. (-[BrowserWindowController awakeFromNib]):
  4364. * WebKitTestRunner/TestController.cpp:
  4365. (WTR::createOtherPage):
  4366. (WTR::TestController::initialize):
  4367. 2010-12-21 Eric Seidel <eric@webkit.org>
  4368. Reviewed by Adam Barth.
  4369. commit-queue will report constant failures as flaky if other tests flake
  4370. https://bugs.webkit.org/show_bug.cgi?id=51272
  4371. This patch just removes functionality and adds testing.
  4372. Previously we attempted to report flaky tests when we had
  4373. two different tests fail in a row. However, since we stop
  4374. running the tests at the first failure, our code was wrong in
  4375. trying to determine flakiness from the incomplete runs.
  4376. Originally I posted an alternate patch:
  4377. https://bug-51272-attachments.webkit.org/attachment.cgi?id=77078
  4378. which fixed our flaky logic in this case, however it was decided
  4379. that that patch would be too difficult to maintain, so now
  4380. I'm just removing the broken logic.
  4381. This will dramatically cut-down on our flaky-test false positives
  4382. at the (small) cost of the queues being unable to report
  4383. any flakiness if the tree is very flaky. (With at least one test
  4384. flaking on every run, we'll never report failures anymore.) I think
  4385. this is a tradeoff worth making.
  4386. * Scripts/webkitpy/tool/bot/commitqueuetask.py:
  4387. * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
  4388. 2010-12-20 Eric Seidel <eric@webkit.org>
  4389. Reviewed by Adam Barth.
  4390. commit-queue wrongly rejects patches when it can't update itself
  4391. https://bugs.webkit.org/show_bug.cgi?id=46636
  4392. * Scripts/webkitpy/tool/bot/commitqueuetask.py:
  4393. * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
  4394. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  4395. 2010-12-20 Adam Barth <abarth@webkit.org>
  4396. Move web sites to Websites directory
  4397. https://bugs.webkit.org/show_bug.cgi?id=51323
  4398. Update references to BugsSite to point to the new location.
  4399. This patch was never officially reviewed (because it was too large to
  4400. upload to bugs.webkit.org), but it was discussed on webkit-dev and Mark
  4401. Rowe gave me the green light.
  4402. * Scripts/old-run-webkit-tests:
  4403. * Scripts/webkitpy/common/config/build.py:
  4404. * Scripts/webkitpy/common/config/build_unittest.py:
  4405. * Scripts/webkitpy/common/prettypatch.py:
  4406. * Scripts/webkitpy/layout_tests/port/base.py:
  4407. * Scripts/webkitpy/style/main.py:
  4408. 2010-12-20 Adrienne Walker <enne@google.com>
  4409. Unreviewed. Adding myself to the list of committers.
  4410. * webkitpy/common/config/committers.py:
  4411. 2010-12-20 Mark Rowe <mrowe@apple.com>
  4412. Reviewed by Dan Bernstein.
  4413. <rdar://problem/8757601> Don't install header files in to the Resources directory.
  4414. * Scripts/check-for-inappropriate-files-in-framework: Don't allow .h files in the
  4415. Resources directory.
  4416. 2010-12-20 Eric Seidel <eric@webkit.org>
  4417. Reviewed by Adam Barth.
  4418. commit-queue should include bot id when attaching failure diffs
  4419. https://bugs.webkit.org/show_bug.cgi?id=51280
  4420. This is a tiny change to include the bot id in the name of the attachment.
  4421. Most of this diff is just changing the unit test expectations
  4422. now that I hid the comment printing when the comment is None.
  4423. * Scripts/webkitpy/tool/bot/flakytestreporter.py:
  4424. * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
  4425. * Scripts/webkitpy/tool/commands/upload_unittest.py:
  4426. * Scripts/webkitpy/tool/mocktool.py:
  4427. 2010-12-20 Jeff Miller <jeffm@apple.com>
  4428. Reviewed by Dan Bernstein.
  4429. Tools/vcbin/midl.exe needs to be rebuilt
  4430. https://bugs.webkit.org/show_bug.cgi?id=51347
  4431. * vcbin/midl.exe: Rebuilt.
  4432. 2010-12-20 David Levin <levin@chromium.org>
  4433. Reviewed by Ariya Hidayat.
  4434. .gitignore and webkit-tools-completion.sh have references to WebKitTools that should be Tools.
  4435. https://bugs.webkit.org/show_bug.cgi?id=51343
  4436. Follow up from the WebKitTools -> Tools rename.
  4437. * Scripts/webkit-tools-completion.sh:
  4438. 2010-12-20 Cosmin Truta <ctruta@chromium.org>
  4439. Reviewed by James Robinson.
  4440. new-run-webkit-tests ignores trailing EOL differences in text tests
  4441. https://bugs.webkit.org/show_bug.cgi?id=36983
  4442. Changed the handling of new-line characters within new-run-webkit-tests
  4443. to match old-run-webkit-tests. Differences in leading and trailing empty
  4444. lines in text expectation files are no longer ignored.
  4445. * Scripts/webkitpy/layout_tests/port/base.py:
  4446. * Scripts/webkitpy/layout_tests/port/test.py:
  4447. Added unit tests. Removed old duplicate unit test entries.
  4448. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  4449. 2010-12-20 David Levin <levin@chromium.org>
  4450. Reviewed by Shinichiro Hamaji.
  4451. check-webkit-style should detect function declarations (and trivial functions).
  4452. https://bugs.webkit.org/show_bug.cgi?id=51303
  4453. * Scripts/webkitpy/style/checkers/cpp.py:
  4454. (_FunctionState.begin): Add is_declaration and changed the line count
  4455. start to begin at -1 (which will keep the results consistent, since
  4456. the starting line number passed in is one less in this change).
  4457. (detect_functions): changed function detection to now catch trivial
  4458. functions and declarations.
  4459. (check_pass_ptr_usage): Don't check for Pass*Ptr on the first line
  4460. of the function as this may look at return values (when processing
  4461. a declaration).
  4462. * Scripts/webkitpy/style/checkers/cpp_unittest.py:
  4463. (FunctionDetectionTest.perform_function_detection): Basic mechanics
  4464. of testing the function detection.
  4465. (FunctionDetectionTest.test_basic_function_detection): Test a simple
  4466. function.
  4467. (FunctionDetectionTest.test_function_declaration_detection): Test a
  4468. declaration.
  4469. (FunctionDetectionTest.test_non_functions): A test case for a case
  4470. that caused the code to fail due to the { being in quotes.
  4471. (PassPtrTest.test_pass_ref_ptr_return_value): Added some more test
  4472. cases to help catch false alarms for return values.
  4473. (PassPtrTest.test_pass_ref_ptr_member_variable): Ensure that
  4474. we don't get false alarms for member variables either.
  4475. 2010-12-20 Ryuan Choi <ryuan.choi@samsung.com>
  4476. Reviewed by Antonio Gomes.
  4477. [CMAKE] Rename WEBKITTOOLS_DIR to TOOLS_DIR
  4478. https://bugs.webkit.org/show_bug.cgi?id=51319
  4479. * CMakeListsEfl.txt:
  4480. 2010-12-18 Adam Barth <abarth@webkit.org>
  4481. Reviewed by Sam Weinig.
  4482. Move WebKitExamplePlugins to Examples
  4483. https://bugs.webkit.org/show_bug.cgi?id=51291
  4484. * Scripts/webkitpy/common/config/build.py:
  4485. 2010-12-17 Csaba Osztrogonác <ossy@webkit.org>
  4486. Unreviewed Qt buildfix after r74301.
  4487. Rename WebKitTools to Tools
  4488. https://bugs.webkit.org/show_bug.cgi?id=49861
  4489. * MiniBrowser/DerivedSources.pro:
  4490. * MiniBrowser/qt/MiniBrowser.pro:
  4491. 2010-12-17 Dan Bernstein <mitz@apple.com>
  4492. Reviewed by Simon Fraser.
  4493. Rename WebKitTools to Tools
  4494. https://bugs.webkit.org/show_bug.cgi?id=49861
  4495. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  4496. * CodeCoverage/README:
  4497. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  4498. (WebCore::DumpRenderTree::initializeFonts):
  4499. * EWSTools/start-commit-queue.sh:
  4500. * EWSTools/start-queue.sh:
  4501. * GNUmakefile.am:
  4502. * MIDLWrapper/MIDLWrapper.cpp:
  4503. (wmain):
  4504. * MiniBrowser/qt/MiniBrowser.pro:
  4505. * Scripts/build-api-tests:
  4506. * Scripts/build-dumprendertree:
  4507. * Scripts/build-webkit:
  4508. * Scripts/build-webkittestrunner:
  4509. * Scripts/generate-coverage-data:
  4510. * Scripts/old-run-webkit-tests:
  4511. * Scripts/run-api-tests:
  4512. * Scripts/run-iexploder-tests:
  4513. * Scripts/run-javascriptcore-tests:
  4514. * Scripts/run-mangleme-tests:
  4515. * Scripts/run-sunspider:
  4516. * Scripts/run-webkit-websocketserver:
  4517. * Scripts/sunspider-compare-results:
  4518. * Scripts/test-webkitperl:
  4519. * Scripts/test-webkitpy:
  4520. * Scripts/update-iexploder-cssproperties:
  4521. * Scripts/update-webkit:
  4522. * Scripts/update-webkit-localizable-strings:
  4523. * Scripts/webkitdirs.pm:
  4524. * Scripts/webkitpy/common/checkout/scm.py:
  4525. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  4526. * Scripts/webkitpy/common/config/committervalidator.py:
  4527. * Scripts/webkitpy/common/config/committervalidator_unittest.py:
  4528. * Scripts/webkitpy/common/config/ports.py:
  4529. * Scripts/webkitpy/common/config/ports_unittest.py:
  4530. * Scripts/webkitpy/common/system/logutils_unittest.py:
  4531. * Scripts/webkitpy/common/system/ospath_unittest.py:
  4532. * Scripts/webkitpy/layout_tests/port/chromium.py:
  4533. * Scripts/webkitpy/layout_tests/port/config.py:
  4534. * Scripts/webkitpy/layout_tests/port/config_unittest.py:
  4535. * Scripts/webkitpy/layout_tests/port/http_server.py:
  4536. * Scripts/webkitpy/layout_tests/port/test.py:
  4537. * Scripts/webkitpy/style/checker.py:
  4538. * Scripts/webkitpy/style/checker_unittest.py:
  4539. * Scripts/webkitpy/tool/bot/feeders_unittest.py:
  4540. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  4541. * Scripts/webkitpy/tool/steps/steps_unittest.py:
  4542. * WebKitTestRunner/DerivedSources.pro:
  4543. * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
  4544. (WTR::activateFonts):
  4545. * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
  4546. * wx/build/build_utils.py:
  4547. 2010-12-16 Antonio Gomes <agomes@rim.com>
  4548. Reviewed by Martin Robinson.
  4549. Settings::editingBehaviorType() incorrectly returns mac for the gtk build when running tests
  4550. https://bugs.webkit.org/show_bug.cgi?id=51163
  4551. Since GTK+'s default editing behavior was changed to UNIX in r70975 (see webkitwebsettings.cpp),
  4552. GTK+'s DRT should also reset to UNIX after each test execution.
  4553. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  4554. (resetDefaultsToConsistentValues):
  4555. 2010-12-17 David Levin <levin@chromium.org>
  4556. Reviewed by Eric Seidel.
  4557. check-webkit-style should understand WTF #include guards
  4558. https://bugs.webkit.org/show_bug.cgi?id=44911
  4559. * Scripts/webkitpy/style/checkers/cpp.py:
  4560. (get_header_guard_cpp_variable): modify to suggest the WTF style
  4561. of header guard when appropriate.
  4562. (check_for_header_guard): handle multiple return values from
  4563. get_header_guard_cpp_variable
  4564. * Scripts/webkitpy/style/checkers/cpp_unittest.py:
  4565. (CppStyleTest.test_build_header_guard): Added tests for the WTF
  4566. header style.
  4567. 2010-12-16 David Levin <levin@chromium.org>
  4568. Reviewed by Eric Seidel.
  4569. test-webkitpy: unittest for the xml.py checker displays a decprecation warning.
  4570. https://bugs.webkit.org/show_bug.cgi?id=51210
  4571. The error only shows up when using python 2.6 or later.
  4572. * Scripts/webkitpy/style/checkers/xml.py: Replace the usage of
  4573. the decprecated field error,message with something equivalent.
  4574. 2010-12-16 Mihai Parparita <mihaip@chromium.org>
  4575. Reviewed by Eric Seidel.
  4576. Add --exit-after-n-failures/crashes to NRWT
  4577. https://bugs.webkit.org/show_bug.cgi?id=51160
  4578. Abort test run (in a similar way to how control-C is handled) when
  4579. --exit-after-n-failures/crashes-or-timeouts are passed and we've reached
  4580. that number of unexpected failures/crashes/timeouts.
  4581. * Scripts/webkitpy/layout_tests/port/test.py:
  4582. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  4583. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  4584. 2010-12-16 David Levin <levin@chromium.org>
  4585. Reviewed by Shinichiro Hamaji.
  4586. check-webkit-style unit tests has some duplicate boilerplate code.
  4587. https://bugs.webkit.org/show_bug.cgi?id=49519
  4588. * Scripts/webkitpy/style/checkers/cpp.py:
  4589. (update_include_state): Replaced the "io" parameter with the global
  4590. configuration _unit_test_config. This allowed not calling into
  4591. functions at a low level and also not plumbing through the injection
  4592. information through many levels of code.
  4593. (check_for_include_what_you_use): Ditto.
  4594. (process_file_data): Added the ability to set up the unit test config
  4595. to allow for injection.
  4596. * Scripts/webkitpy/style/checkers/cpp_unittest.py:
  4597. (ErrorCollector.__init__): Added support for having a filter for errors.
  4598. (ErrorCollector.__call__): Ditto.
  4599. (CppStyleTestBase.process_file_data): Added the ability to set unit_test_config.
  4600. (CppStyleTestBase.perform_lint): Consolidated logic for the perform functions.
  4601. (CppStyleTestBase.perform_single_line_lint): Replace specific calls to
  4602. functions in the cpp.py with generic processing and a filter that
  4603. indicates what errors should be kept.
  4604. (CppStyleTestBase.perform_multi_line_lint): Ditto.
  4605. (CppStyleTestBase.perform_language_rules_check): Ditto.
  4606. (CppStyleTestBase.perform_function_lengths_check): Ditto.
  4607. (CppStyleTestBase.perform_pass_ptr_check): Ditto.
  4608. (CppStyleTestBase.perform_include_what_you_use): Ditto.
  4609. (CppStyleTest.test_multi_line_comments): Added another
  4610. error message which applies to the test case.
  4611. (CppStyleTest.test_spacing_for_binary_ops): Fixed test
  4612. to not have config.h, since it is processed as a header file.
  4613. (CppStyleTest.test_static_or_global_stlstrings): Fixed variable name
  4614. style and indentation in checked code.
  4615. (OrderOfIncludesTest.test_check_preprocessor_in_include_section):
  4616. Fixed line number.
  4617. (NoNonVirtualDestructorsTest.test_multi_line_declaration_with_error):
  4618. Ditto.
  4619. 2010-12-15 Sheriff Bot <webkit.review.bot@gmail.com>
  4620. Unreviewed, rolling out r74136.
  4621. http://trac.webkit.org/changeset/74136
  4622. https://bugs.webkit.org/show_bug.cgi?id=51135
  4623. r74136 breaks chromium canary bots because some tests are not
  4624. rebaselined correctly to resolve EOL differences (Requested by
  4625. jianli on #webkit).
  4626. * Scripts/webkitpy/layout_tests/port/base.py:
  4627. * Scripts/webkitpy/layout_tests/port/test.py:
  4628. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  4629. 2010-12-15 Adam Roben <aroben@apple.com>
  4630. Teach check-webkit-style to check .vcproj and .vsprops files for XML
  4631. syntax errors
  4632. Fixes <http://webkit.org/b/51103> check-webkit-style should check for
  4633. XML syntax errors in .vcproj/.vsprops files
  4634. Reviewed by Dave Levin.
  4635. * Scripts/webkitpy/style/checker.py: Added lists of file extensions
  4636. that should be treated as XML and that should be allowed to contain
  4637. carriage returns. (These lists happen to be identical currently.)
  4638. (FileType): Added a new XML type.
  4639. (CheckerDispatcher.should_check_and_strip_carriage_returns): Added.
  4640. Just does a simple file extension check.
  4641. (CheckerDispatcher._file_type): Added a case for XML files.
  4642. (CheckerDispatcher._create_checker): Ditto. We use XMLChecker for XML
  4643. files (surprise!).
  4644. (StyleProcessor.process): Ask the dispatcher whether we should pass the
  4645. lines through the carriage checker.
  4646. * Scripts/webkitpy/style/checker_unittest.py:
  4647. (CheckerDispatcherCarriageReturnTest.test_should_check_and_strip_carriage_returns):
  4648. Added. Checks a few file names to see if carriage returns are allowed
  4649. or not.
  4650. (CheckerDispatcherDispatchTest.assert_checker_xml): Added. Similar to
  4651. other assert_checker_* functions.
  4652. (CheckerDispatcherDispatchTest.test_xml_paths): Added. Similar to other
  4653. test_*_paths functions.
  4654. (CheckerDispatcherDispatchTest.test_xml_paths): Added. Similar to other
  4655. test_*_paths functions.
  4656. (CheckerDispatcherDispatchTest.test_none_paths): Removed the vcproj
  4657. file from this test case, as vcproj files now have a type.
  4658. (StyleProcessor_CodeCoverageTest.MockDispatcher.should_check_and_strip_carriage_returns):
  4659. Added. Similar to the other should_* functions.
  4660. (StyleProcessor_CodeCoverageTest.test_process__carriage_returns_not_stripped):
  4661. Added. Checks that carriage returns aren't checked for or stripped for
  4662. allowed files.
  4663. * Scripts/webkitpy/style/checkers/xml.py: Added.
  4664. (XMLChecker.__init__): Simple init method.
  4665. (XMLChecker.check): Pass each line through the expat parser, and record
  4666. a style error for any errors thrown by the parser.
  4667. * Scripts/webkitpy/style/checkers/xml_unittest.py: Added.
  4668. (XMLCheckerTest.assert_no_error): Checks that the given XML does not
  4669. produce a style error.
  4670. (XMLCheckerTest.assert_error): Checks that the given XML produces an
  4671. error of the given category on the given line.
  4672. (XMLCheckerTest.mock_handle_style_error): Does nothing. Used for
  4673. checking that the XMLChecker constructor works properly.
  4674. (XMLCheckerTest.test_conflict_marker): Tests that conflict markers
  4675. cause a style error (see, e.g., r73887).
  4676. (XMLCheckerTest.test_extra_closing_tag): Tests that extra closing tags
  4677. cause a style error (see, e.g., r73773).
  4678. (XMLCheckerTest.test_init): Tests that the XMLChecker constructor works
  4679. properly.
  4680. (XMLCheckerTest.test_missing_closing_tag): Tests that missing closing
  4681. tags cause a style error (see, e.g., r72795).
  4682. (XMLCheckerTest.test_no_error): Tests that valid XML does not cause a
  4683. style error.
  4684. 2010-12-15 Lucas Forschler <lforschler@apple.com>
  4685. Reviewed by Stephanie Lewis.
  4686. https://bugs.webkit.org/show_bug.cgi?id=51117
  4687. Add a new leopard test bot
  4688. really really commit to trunk this time.
  4689. * BuildSlaveSupport/build.webkit.org-config/config.json:
  4690. 2010-12-15 Sam Weinig <sam@webkit.org>
  4691. Reviewed by Anders Carlsson.
  4692. WebKit2: Can't add files to an <input type=file>
  4693. https://bugs.webkit.org/show_bug.cgi?id=51087
  4694. * MiniBrowser/mac/BrowserWindowController.m:
  4695. (runOpenPanel):
  4696. (-[BrowserWindowController awakeFromNib]):
  4697. Add simple implementation of runOpenPanel callback.
  4698. * MiniBrowser/win/BrowserView.cpp:
  4699. (BrowserView::create):
  4700. * WebKitTestRunner/TestController.cpp:
  4701. (WTR::createOtherPage):
  4702. (WTR::TestController::initialize):
  4703. Stub out runOpenPanel callback.
  4704. 2010-12-14 Eric Seidel <eric@webkit.org>
  4705. Reviewed by Adam Barth.
  4706. commit-queue should upload failure diffs when tests flake
  4707. https://bugs.webkit.org/show_bug.cgi?id=51051
  4708. To make this testable I needed to pipe FileSystem down onto tool.
  4709. We've wanted it there for a long time anyway.
  4710. This patch is kinda a big hack. But we don't have a nice
  4711. way to read results.html files. I think this will need further
  4712. revision before this code actually feels clean.
  4713. As part of testing this change, I had to make MockBugzilla.create_bug
  4714. actually return an id (like it should) which required updating
  4715. a few other unit test results (for the better).
  4716. The results_matching_keys change in layouttestresults/rebasline
  4717. was an alternate path which I decided not to use in the end, but
  4718. I left the change as it seemed an improvement.
  4719. * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
  4720. * Scripts/webkitpy/common/net/layouttestresults.py:
  4721. * Scripts/webkitpy/tool/bot/flakytestreporter.py:
  4722. * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
  4723. * Scripts/webkitpy/tool/commands/queues.py:
  4724. * Scripts/webkitpy/tool/commands/rebaseline.py:
  4725. * Scripts/webkitpy/tool/main.py:
  4726. * Scripts/webkitpy/tool/mocktool.py:
  4727. 2010-12-15 Cosmin Truta <ctruta@chromium.org>
  4728. Reviewed by James Robinson.
  4729. new-run-webkit-tests ignores trailing EOL differences in text tests
  4730. https://bugs.webkit.org/show_bug.cgi?id=36983
  4731. Changed the handling of new-line characters within new-run-webkit-tests
  4732. to match old-run-webkit-tests. Differences in leading and trailing empty
  4733. lines in text expectation files are no longer ignored.
  4734. * Scripts/webkitpy/layout_tests/port/base.py:
  4735. * Scripts/webkitpy/layout_tests/port/test.py:
  4736. Added unit tests. Removed old duplicate unit test entries.
  4737. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  4738. 2010-12-15 Ojan Vafai <ojan@chromium.org>
  4739. Reviewed by Adam Barth.
  4740. make status-bubble white-space:nowrap so we can measure it's width without wrapping
  4741. https://bugs.webkit.org/show_bug.cgi?id=51149
  4742. * QueueStatusServer/templates/statusbubble.html:
  4743. 2010-12-15 Ojan Vafai <ojan@chromium.org>
  4744. Reviewed by Adam Barth.
  4745. have the statusbubble postMessage it's metrics so that embedders can properly size the iframe
  4746. https://bugs.webkit.org/show_bug.cgi?id=51125
  4747. * QueueStatusServer/templates/statusbubble.html:
  4748. 2010-12-15 Darin Adler <darin@apple.com>
  4749. * Scripts/webkitpy/common/net/buildbot: Added property svn:ignore.
  4750. 2010-12-15 Sheriff Bot <webkit.review.bot@gmail.com>
  4751. Unreviewed, rolling out r74117.
  4752. http://trac.webkit.org/changeset/74117
  4753. https://bugs.webkit.org/show_bug.cgi?id=51113
  4754. This broke the GTK1 build. (Requested by mrobinson on
  4755. #webkit).
  4756. * Scripts/webkitdirs.pm:
  4757. 2010-12-15 Amruth Raj <amruthraj@motorola.com> and Ravi Kasibhatla <ravi.kasibhatla@motorola.com>
  4758. Reviewed by Martin Robinson.
  4759. Change generate-forwarding-headers.pl for GTK port usage
  4760. (https://bugs.webkit.org/show_bug.cgi?id=37369)
  4761. * Scripts/webkitdirs.pm: Added changes to build webkit2 for GTK port using build-webkit script.
  4762. 2010-12-14 Kent Tamura <tkent@chromium.org>
  4763. Reviewed by Jian Li.
  4764. [DRT/Chromium] Remove another unnecessary error message
  4765. https://bugs.webkit.org/show_bug.cgi?id=51083
  4766. * DumpRenderTree/chromium/WebViewHost.cpp:
  4767. (WebViewHost::didInvalidateRect):
  4768. 2010-12-14 Lucas Forschler <lforschler@apple.com>
  4769. Reviewed by Stephanie Lewis.
  4770. Add a new Leopard Debug Test WK2 Bot
  4771. * BuildSlaveSupport/build.webkit.org-config/config.json:
  4772. 2010-12-14 Ojan Vafai <ojan@chromium.org>
  4773. Fix python unittests after http://trac.webkit.org/changeset/74070.
  4774. * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
  4775. 2010-12-14 Kent Tamura <tkent@chromium.org>
  4776. Reviewed by Jian Li.
  4777. [DRT/Chromium] Remove a unnecessary error message
  4778. https://bugs.webkit.org/show_bug.cgi?id=51069
  4779. * DumpRenderTree/chromium/WebViewHost.cpp:
  4780. (WebViewHost::paintInvalidatedRegion):
  4781. 2010-12-14 Benjamin Kalman <kalman@chromium.org>
  4782. Reviewed by Ojan Vafai.
  4783. Using BUG/BUGWK in test_expectations is error prone, should use BUGCR/BUGWK
  4784. https://bugs.webkit.org/show_bug.cgi?id=48926
  4785. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  4786. Add presubmit check that BUG isn't used, either BUGCR/BUGWK/BUGV8_.
  4787. 2010-12-14 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  4788. Reviewed by Eric Seidel.
  4789. [Qt] [Symbian] Do not use pkg-config on Symbian as it is not supported
  4790. https://bugs.webkit.org/show_bug.cgi?id=50231
  4791. Guard CONFIG+=link_pkgconfig with !symbian.
  4792. * DumpRenderTree/qt/DumpRenderTree.pro:
  4793. * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
  4794. * WebKitTestRunner/qt/WebKitTestRunner.pro:
  4795. 2010-12-14 Philippe Normand <pnormand@igalia.com>
  4796. Reviewed by Ojan Vafai.
  4797. [new-run-webkit-tests] expectations parsing is slow
  4798. https://bugs.webkit.org/show_bug.cgi?id=50635
  4799. Avoid expensive iteration of all the tests when checking if a test
  4800. file is to be skipped or not.
  4801. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  4802. * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
  4803. * Scripts/webkitpy/layout_tests/port/test.py:
  4804. 2010-12-14 Mario Sanchez Prada <msanchez@igalia.com>
  4805. Reviewed by Xan Lopez.
  4806. [Gtk] Implement STATE_FOCUSED, STATE_FOCUSABLE, and corresponding events for text objects
  4807. https://bugs.webkit.org/show_bug.cgi?id=27048
  4808. Add support in DRT for checking whether an accessibility UI
  4809. element is focusable and/or focused. Implemented for GTK.
  4810. * DumpRenderTree/AccessibilityUIElement.cpp:
  4811. (getIsFocusedCallback): New.
  4812. (getIsFocusableCallback): New.
  4813. (AccessibilityUIElement::getJSClass): Add the new available
  4814. callbacks for isFocused and isFocusable.
  4815. * DumpRenderTree/AccessibilityUIElement.h:
  4816. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  4817. (AccessibilityUIElement::isFocused): New, implemented by checking
  4818. whether the related AtkState value is in the object's state set.
  4819. (AccessibilityUIElement::isFocusable): Ditto.
  4820. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  4821. (AccessibilityUIElement::isFocused): New, dummy implementation.
  4822. (AccessibilityUIElement::isFocusable): Ditto.
  4823. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  4824. (AccessibilityUIElement::isFocused): Ditto.
  4825. (AccessibilityUIElement::isFocusable): Ditto.
  4826. 2010-12-14 Eric Seidel <eric@webkit.org>
  4827. Reviewed by Ojan Vafai.
  4828. webkit-patch should warn users when they're using a 32-bit git on a 64-bit system
  4829. https://bugs.webkit.org/show_bug.cgi?id=50715
  4830. This patch makes webkit-patch print the following:
  4831. Warning: This machine is 64-bit, but the git binary (/usr/local/git/bin/git) does not support 64-bit.
  4832. Install a 64-bit git for better performance, see:
  4833. https://lists.webkit.org/pipermail/webkit-dev/2010-December/015249.html
  4834. I wrote this mostly because I have approximately 8 machines that I use
  4835. and making sure each one is using a good Git install seemed folly.
  4836. webkit-patch makes a lot of git calls, so using a fast git can shave
  4837. several seconds in every invocation. See the webkit-dev thread for more info.
  4838. This message will print twice during 'webkit-patch upload',
  4839. once from webkit-patch and once from check-webkit-style.
  4840. Unfortunately there is no good way to test this due to how machine-dependent
  4841. the code is. I considered writing a test for the log message, but it seemed not worth it.
  4842. * Scripts/webkitpy/common/checkout/scm.py:
  4843. 2010-12-13 Eric Seidel <eric@webkit.org>
  4844. Reviewed by Adam Barth.
  4845. FlakyTestReporter doesn't understand bots running from multiple email addresses
  4846. https://bugs.webkit.org/show_bug.cgi?id=50960
  4847. This explains at least one of the dupes of:
  4848. https://bugs.webkit.org/show_bug.cgi?id=50863
  4849. that we saw filed by the commit-queue this morning.
  4850. I think the other one was explained by my previous fix to result counting code.
  4851. Since this is really hard to test with a unit test, instead I
  4852. create a new (possibly useful in the future) command
  4853. which given a layout test path will return you
  4854. the one bug which our tools would assume it the flaky test bug.
  4855. If some other script wants to use bug-for-test we'll
  4856. need to extend it with some options like --create-if-missing or similar.
  4857. * Scripts/webkitpy/common/net/bugzilla/bug.py:
  4858. * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
  4859. * Scripts/webkitpy/tool/bot/flakytestreporter.py:
  4860. * Scripts/webkitpy/tool/commands/__init__.py:
  4861. * Scripts/webkitpy/tool/commands/bugfortest.py: Added.
  4862. 2010-12-13 Mihai Parparita <mihaip@chromium.org>
  4863. Reviewed by James Robinson.
  4864. Add option to build-webkit to not build WebKit2
  4865. https://bugs.webkit.org/show_bug.cgi?id=50988
  4866. Add support for a --no-webkit2 option to build-webkit. It seems to save
  4867. ~1 minute from clean builds and ~10 seconds from no-op builds.
  4868. * Scripts/build-webkit:
  4869. 2010-12-13 Lucas Forschler <lforschler@apple.com>
  4870. Reviewed by Dave Kilzer.
  4871. Update iexploder from 1.3.2 to 1.7.2
  4872. Move 1.3.2 into its own subdir
  4873. Add 1.7.2 into its own subdir
  4874. update scripts to point to new 1.3.2 location (avoid breaking existing scripts)
  4875. * Scripts/run-iexploder-tests:
  4876. * Scripts/update-iexploder-cssproperties:
  4877. * iExploder/CHANGELOG.txt: Removed.
  4878. * iExploder/LICENSE.txt: Removed.
  4879. * iExploder/README.txt: Removed.
  4880. * iExploder/htdocs: Removed.
  4881. * iExploder/iexploder-1.3.2: Added.
  4882. * iExploder/iexploder-1.3.2/CHANGELOG.txt: Copied from iExploder/CHANGELOG.txt.
  4883. * iExploder/iexploder-1.3.2/LICENSE.txt: Copied from iExploder/LICENSE.txt.
  4884. * iExploder/iexploder-1.3.2/README.txt: Copied from iExploder/README.txt.
  4885. * iExploder/iexploder-1.3.2/htdocs: Added.
  4886. * iExploder/iexploder-1.3.2/htdocs/config.rb: Copied from iExploder/htdocs/config.rb.
  4887. * iExploder/iexploder-1.3.2/htdocs/cssproperties.in: Copied from iExploder/htdocs/cssproperties.in.
  4888. * iExploder/iexploder-1.3.2/htdocs/cssvalues.in: Copied from iExploder/htdocs/cssvalues.in.
  4889. * iExploder/iexploder-1.3.2/htdocs/htmlattrs.in: Copied from iExploder/htdocs/htmlattrs.in.
  4890. * iExploder/iexploder-1.3.2/htdocs/htmltags.in: Copied from iExploder/htdocs/htmltags.in.
  4891. * iExploder/iexploder-1.3.2/htdocs/htmlvalues.in: Copied from iExploder/htdocs/htmlvalues.in.
  4892. * iExploder/iexploder-1.3.2/htdocs/iexploder.cgi: Copied from iExploder/htdocs/iexploder.cgi.
  4893. * iExploder/iexploder-1.3.2/htdocs/iexploder.rb: Copied from iExploder/htdocs/iexploder.rb.
  4894. * iExploder/iexploder-1.3.2/htdocs/index.html: Copied from iExploder/htdocs/index.html.
  4895. * iExploder/iexploder-1.3.2/htdocs/webserver.rb: Copied from iExploder/htdocs/webserver.rb.
  4896. * iExploder/iexploder-1.3.2/tools: Added.
  4897. * iExploder/iexploder-1.3.2/tools/lasthit.rb: Copied from iExploder/tools/lasthit.rb.
  4898. * iExploder/iexploder-1.3.2/tools/osx_last_crash.rb: Copied from iExploder/tools/osx_last_crash.rb.
  4899. * iExploder/iexploder-1.3.2/tools/showtest.rb: Copied from iExploder/tools/showtest.rb.
  4900. * iExploder/iexploder-1.7.2: Added.
  4901. * iExploder/iexploder-1.7.2/ChangeLog.txt: Added.
  4902. * iExploder/iexploder-1.7.2/LICENSE.txt: Added.
  4903. * iExploder/iexploder-1.7.2/README.txt: Added.
  4904. * iExploder/iexploder-1.7.2/output: Added.
  4905. * iExploder/iexploder-1.7.2/src: Added.
  4906. * iExploder/iexploder-1.7.2/src/browser_harness.rb: Added.
  4907. * iExploder/iexploder-1.7.2/src/config.yaml: Added.
  4908. * iExploder/iexploder-1.7.2/src/css-atrules: Added.
  4909. * iExploder/iexploder-1.7.2/src/css-atrules/mozilla: Added.
  4910. * iExploder/iexploder-1.7.2/src/css-atrules/webkit: Added.
  4911. * iExploder/iexploder-1.7.2/src/css-properties: Added.
  4912. * iExploder/iexploder-1.7.2/src/css-properties/dillo: Added.
  4913. * iExploder/iexploder-1.7.2/src/css-properties/gtkhtml: Added.
  4914. * iExploder/iexploder-1.7.2/src/css-properties/internet_explorer6: Added.
  4915. * iExploder/iexploder-1.7.2/src/css-properties/mozilla: Added.
  4916. * iExploder/iexploder-1.7.2/src/css-properties/webkit: Added.
  4917. * iExploder/iexploder-1.7.2/src/css-pseudo: Added.
  4918. * iExploder/iexploder-1.7.2/src/css-pseudo/mozilla: Added.
  4919. * iExploder/iexploder-1.7.2/src/css-pseudo/webkit: Added.
  4920. * iExploder/iexploder-1.7.2/src/css-values: Added.
  4921. * iExploder/iexploder-1.7.2/src/css-values/dillo: Added.
  4922. * iExploder/iexploder-1.7.2/src/css-values/gtkhtml: Added.
  4923. * iExploder/iexploder-1.7.2/src/css-values/mozilla: Added.
  4924. * iExploder/iexploder-1.7.2/src/css-values/other: Added.
  4925. * iExploder/iexploder-1.7.2/src/css-values/webkit: Added.
  4926. * iExploder/iexploder-1.7.2/src/headers: Added.
  4927. * iExploder/iexploder-1.7.2/src/headers/dillo: Added.
  4928. * iExploder/iexploder-1.7.2/src/headers/gtkhtml: Added.
  4929. * iExploder/iexploder-1.7.2/src/headers/mozilla: Added.
  4930. * iExploder/iexploder-1.7.2/src/headers/webkit: Added.
  4931. * iExploder/iexploder-1.7.2/src/html-attrs: Added.
  4932. * iExploder/iexploder-1.7.2/src/html-attrs/dillo: Added.
  4933. * iExploder/iexploder-1.7.2/src/html-attrs/gtkhtml: Added.
  4934. * iExploder/iexploder-1.7.2/src/html-attrs/internet_explorer6: Added.
  4935. * iExploder/iexploder-1.7.2/src/html-attrs/mozilla: Added.
  4936. * iExploder/iexploder-1.7.2/src/html-attrs/other: Added.
  4937. * iExploder/iexploder-1.7.2/src/html-attrs/webkit: Added.
  4938. * iExploder/iexploder-1.7.2/src/html-tags: Added.
  4939. * iExploder/iexploder-1.7.2/src/html-tags/dillo: Added.
  4940. * iExploder/iexploder-1.7.2/src/html-tags/gtkhtml: Added.
  4941. * iExploder/iexploder-1.7.2/src/html-tags/mozilla: Added.
  4942. * iExploder/iexploder-1.7.2/src/html-tags/other: Added.
  4943. * iExploder/iexploder-1.7.2/src/html-tags/webkit: Added.
  4944. * iExploder/iexploder-1.7.2/src/html-values: Added.
  4945. * iExploder/iexploder-1.7.2/src/html-values/dillo: Added.
  4946. * iExploder/iexploder-1.7.2/src/html-values/gtkhtml: Added.
  4947. * iExploder/iexploder-1.7.2/src/html-values/mozilla: Added.
  4948. * iExploder/iexploder-1.7.2/src/html-values/other: Added.
  4949. * iExploder/iexploder-1.7.2/src/html-values/webkit: Added.
  4950. * iExploder/iexploder-1.7.2/src/iexploder.cgi: Added.
  4951. * iExploder/iexploder-1.7.2/src/iexploder.rb: Added.
  4952. * iExploder/iexploder-1.7.2/src/index.html: Added.
  4953. * iExploder/iexploder-1.7.2/src/media: Added.
  4954. * iExploder/iexploder-1.7.2/src/media/blank.ogg: Added.
  4955. * iExploder/iexploder-1.7.2/src/media/blank.snd: Added.
  4956. * iExploder/iexploder-1.7.2/src/media/blank.wav: Added.
  4957. * iExploder/iexploder-1.7.2/src/media/bug.bmp: Added.
  4958. * iExploder/iexploder-1.7.2/src/media/bug.gif: Added.
  4959. * iExploder/iexploder-1.7.2/src/media/bug.ico: Added.
  4960. * iExploder/iexploder-1.7.2/src/media/bug.jng: Added.
  4961. * iExploder/iexploder-1.7.2/src/media/bug.jpg: Added.
  4962. * iExploder/iexploder-1.7.2/src/media/bug.png: Added.
  4963. * iExploder/iexploder-1.7.2/src/media/bug.svg: Added.
  4964. * iExploder/iexploder-1.7.2/src/media/bug.tiff: Added.
  4965. * iExploder/iexploder-1.7.2/src/media/bug.xbm: Added.
  4966. * iExploder/iexploder-1.7.2/src/media/bug.xpm: Added.
  4967. * iExploder/iexploder-1.7.2/src/mime-types: Added.
  4968. * iExploder/iexploder-1.7.2/src/mime-types/dillo: Added.
  4969. * iExploder/iexploder-1.7.2/src/mime-types/mozilla: Added.
  4970. * iExploder/iexploder-1.7.2/src/mime-types/webkit: Added.
  4971. * iExploder/iexploder-1.7.2/src/protocols: Added.
  4972. * iExploder/iexploder-1.7.2/src/protocols/dillo: Added.
  4973. * iExploder/iexploder-1.7.2/src/protocols/gtkhtml: Added.
  4974. * iExploder/iexploder-1.7.2/src/protocols/mozilla: Added.
  4975. * iExploder/iexploder-1.7.2/src/protocols/webkit: Added.
  4976. * iExploder/iexploder-1.7.2/src/scanner.rb: Added.
  4977. * iExploder/iexploder-1.7.2/src/version.rb: Added.
  4978. * iExploder/iexploder-1.7.2/src/webserver.rb: Added.
  4979. * iExploder/iexploder-1.7.2/testcases: Added.
  4980. * iExploder/iexploder-1.7.2/testcases/testcase-Linux_x86_64_rv2.0b6pre_Gecko-20100904_Firefox-4.0b6pre-TEST-8375-1_59.html: Added.
  4981. * iExploder/iexploder-1.7.2/testcases/testcase-Opera-9.80_Linux_x86_64_en_Presto-2.6.30_Version-10.61-16704-3_108,3.html: Added.
  4982. * iExploder/iexploder-1.7.2/testcases/testcase-U_Intel_Mac_OS_X_10_6_4_en-US_AppleWebKit-534.8_Chrome-7.0.529.0-TEST-611-3_36,9.html: Added.
  4983. * iExploder/iexploder-1.7.2/testcases/testcase-U_Intel_Mac_OS_X_10_6_4_en-US_AppleWebKit-534.8_hrome-7.0.529.0-TEST-55313622206-3_6,0.html: Added.
  4984. * iExploder/iexploder-1.7.2/testcases/testcase-U_Linux_x86_64_en-US_AppleWebKit-534.6_Chrome-7.0.503.1-TEST-120813-8_72,56,24,8,0.html: Added.
  4985. * iExploder/iexploder-1.7.2/testcases/testcase-U_Linux_x86_64_en-US_AppleWebKit-534.6_Chrome-7.0.503.1-TEST-121240-3_81,3.html: Added.
  4986. * iExploder/iexploder-1.7.2/testcases/testcase-U_Linux_x86_64_en-US_AppleWebKit-534.7_Chrome-7.0.513.0-4800-5_80,65,15.html: Added.
  4987. * iExploder/iexploder-1.7.2/testcases/testcase-U_Linux_x86_64_en-US_AppleWebKit-534.7_Chrome-7.0.513.0-TEST-23583190347-3_15,12.html: Added.
  4988. * iExploder/iexploder-1.7.2/tools: Added.
  4989. * iExploder/iexploder-1.7.2/tools/lasthit.rb: Added.
  4990. * iExploder/iexploder-1.7.2/tools/osx_last_crash.rb: Added.
  4991. * iExploder/iexploder-1.7.2/tools/release_src.sh: Added.
  4992. * iExploder/iexploder-1.7.2/tools/update_html_tags_from_sources.sh: Added.
  4993. * iExploder/tools: Removed.
  4994. 2010-12-13 Sam Weinig <sam@webkit.org>
  4995. Reviewed by Anders Carlsson.
  4996. Remove associated page concept from WKView constructor
  4997. https://bugs.webkit.org/show_bug.cgi?id=50983
  4998. Step 1: Remove associate page constructors from WKView and make
  4999. all views use the shared namespace for the context.
  5000. * TestWebKitAPI/PlatformWebView.h:
  5001. * TestWebKitAPI/mac/PlatformWebViewMac.mm:
  5002. * TestWebKitAPI/win/PlatformWebViewWin.cpp:
  5003. * WebKitTestRunner/PlatformWebView.h:
  5004. * WebKitTestRunner/TestController.cpp:
  5005. (WTR::createOtherPage):
  5006. * WebKitTestRunner/mac/PlatformWebViewMac.mm:
  5007. * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
  5008. * WebKitTestRunner/win/PlatformWebViewWin.cpp:
  5009. 2010-12-13 Sam Weinig <sam@webkit.org>
  5010. Reviewed by Anders Carlsson.
  5011. Change the WebKit2 public API so there is no explicit WKPageNamespace object
  5012. https://bugs.webkit.org/show_bug.cgi?id=50898
  5013. * MiniBrowser/mac/AppDelegate.h:
  5014. * MiniBrowser/mac/AppDelegate.m:
  5015. * MiniBrowser/mac/BrowserWindowController.h:
  5016. * MiniBrowser/mac/BrowserWindowController.m:
  5017. * MiniBrowser/win/BrowserView.cpp:
  5018. Convert MiniBrowser to not use PageNamespaces.
  5019. * TestWebKitAPI/PlatformWebView.h:
  5020. * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp:
  5021. * TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp:
  5022. * TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp:
  5023. * TestWebKitAPI/Tests/WebKit2/Find.cpp:
  5024. * TestWebKitAPI/Tests/WebKit2/FrameMIMETypeHTML.cpp:
  5025. * TestWebKitAPI/Tests/WebKit2/FrameMIMETypePNG.cpp:
  5026. * TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic.cpp:
  5027. * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
  5028. * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
  5029. * TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp:
  5030. * TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp:
  5031. * TestWebKitAPI/Tests/WebKit2/win/AltKeyGeneratesWMSysCommand.cpp:
  5032. * TestWebKitAPI/Tests/WebKit2/win/WMCloseCallsUIClientClose.cpp:
  5033. * TestWebKitAPI/mac/PlatformWebViewMac.mm:
  5034. * TestWebKitAPI/win/PlatformWebViewWin.cpp:
  5035. Convert TestWebKitAPI to not use PageNamespaces.
  5036. * WebKitTestRunner/PlatformWebView.h:
  5037. * WebKitTestRunner/TestController.cpp:
  5038. * WebKitTestRunner/TestController.h:
  5039. * WebKitTestRunner/mac/PlatformWebViewMac.mm:
  5040. * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
  5041. * WebKitTestRunner/win/PlatformWebViewWin.cpp:
  5042. Convert WebKitTestRunner to not use PageNamespaces.
  5043. 2010-12-13 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  5044. Reviewed by Eric Seidel.
  5045. webkit-patch rollout should be able to do multi-revision rollouts
  5046. https://bugs.webkit.org/show_bug.cgi?id=33336
  5047. Make it possible to pass more than one revision to webkit-patch.
  5048. * Scripts/webkitpy/common/checkout/api.py:
  5049. * Scripts/webkitpy/common/checkout/changelog.py:
  5050. * Scripts/webkitpy/common/checkout/changelog_unittest.py:
  5051. * Scripts/webkitpy/tool/commands/abstractsequencedcommand.py:
  5052. * Scripts/webkitpy/tool/commands/download.py:
  5053. * Scripts/webkitpy/tool/commands/download_unittest.py:
  5054. * Scripts/webkitpy/tool/mocktool.py:
  5055. * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
  5056. * Scripts/webkitpy/tool/steps/revertrevision.py:
  5057. 2010-12-13 Eric Seidel <eric@webkit.org>
  5058. Unreviewed.
  5059. Teach webkit-patch how to search bugzilla
  5060. https://bugs.webkit.org/show_bug.cgi?id=50500
  5061. webkit-patch bug-search fails when there is only one result.
  5062. Turns out we needed a bit more logic in our result count parsing code.
  5063. * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
  5064. * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
  5065. 2010-12-13 Antti Koivisto <antti@apple.com>
  5066. Reviewed by Alexey Proskuryakov.
  5067. Add setSerializeHTTPLoads function to allow testing resource load order on OS X.
  5068. https://bugs.webkit.org/show_bug.cgi?id=50758
  5069. * DumpRenderTree/LayoutTestController.cpp:
  5070. (setSerializeHTTPLoadsCallback):
  5071. (LayoutTestController::staticFunctions):
  5072. * DumpRenderTree/LayoutTestController.h:
  5073. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  5074. (LayoutTestController::setSerializeHTTPLoads):
  5075. * DumpRenderTree/mac/DumpRenderTree.mm:
  5076. (resetDefaultsToConsistentValues):
  5077. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  5078. (LayoutTestController::setSerializeHTTPLoads):
  5079. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  5080. (LayoutTestController::setSerializeHTTPLoads):
  5081. 2010-12-13 Dimitri Glazkov <dglazkov@chromium.org>
  5082. Reviewed by Ojan Vafai.
  5083. Remove "use-drt" option from test step command line, since the option was removed in r73748.
  5084. https://bugs.webkit.org/show_bug.cgi?id=50936
  5085. * BuildSlaveSupport/build.webkit.org-config/master.cfg: Removed the option.
  5086. 2010-12-13 Patrick Gansterer <paroga@webkit.org>
  5087. Reviewed by Csaba Osztrogonác.
  5088. Add revlink to BuildBot status
  5089. https://bugs.webkit.org/show_bug.cgi?id=50914
  5090. This adds a hyperlink to trac changeset on the revision numbers.
  5091. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  5092. 2010-12-13 Andras Becsi <abecsi@webkit.org>
  5093. Reviewed by Csaba Osztrogonác.
  5094. [Qt][WK2] Fix build if WebKitTools are not available
  5095. https://bugs.webkit.org/show_bug.cgi?id=50242
  5096. * MiniBrowser/qt/MiniBrowser.pro: Correct the comment.
  5097. * Scripts/webkitdirs.pm: Added WebKitTools/MiniBrowser to $subdirs.
  5098. * MiniBrowser/DerivedSources.pro: Added.
  5099. 2010-12-13 Eric Seidel <eric@webkit.org>
  5100. Reviewed by Adam Barth.
  5101. EWS Queues should remove orpahned pyc files before starting
  5102. https://bugs.webkit.org/show_bug.cgi?id=50904
  5103. A previous check added a platform.py which caused
  5104. EWS bots on some platforms to hit an import exception.
  5105. The platform.py file was removed in a subsequent commit, but
  5106. the EWS bots in question stayed stuck. This change will
  5107. fix those bots once restarted (and prevent this in the future).
  5108. I also went ahead and unified start-queue and start-commit-queue
  5109. since they were nearly identical. I also added bot_id support
  5110. to both force all EWSes to have bot ids as well as get rid of the one
  5111. remaining reason why I had my own copies of these scripts.
  5112. Hopefully this will be enough to get all the other bot admins
  5113. (ahem, Adam, ahem) to move to using these checked in copies as well.
  5114. * EWSTools/start-commit-queue.sh: Removed.
  5115. * EWSTools/start-queue.sh:
  5116. 2010-10-28 MORITA Hajime <morrita@google.com>
  5117. Reviewed by Ojan Vafai.
  5118. spellcheck does not check pasted text
  5119. https://bugs.webkit.org/show_bug.cgi?id=40092
  5120. Added LayoutTestController::setAsynchronousSpellCheckingEnabled()
  5121. to control the setting.
  5122. * DumpRenderTree/LayoutTestController.cpp:
  5123. (setAsynchronousSpellCheckingEnabledCallback):
  5124. (LayoutTestController::staticFunctions):
  5125. * DumpRenderTree/LayoutTestController.h:
  5126. * DumpRenderTree/chromium/LayoutTestController.h:
  5127. * DumpRenderTree/chromium/LayoutTestController.cpp:
  5128. (LayoutTestController::LayoutTestController):
  5129. (LayoutTestController::setAsynchronousSpellCheckingEnabled):
  5130. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  5131. (LayoutTestController::setAsynchronousSpellCheckingEnabled):
  5132. * DumpRenderTree/mac/DumpRenderTree.mm:
  5133. (resetDefaultsToConsistentValues):
  5134. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  5135. (LayoutTestController::setAsynchronousSpellCheckingEnabled):
  5136. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  5137. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  5138. (LayoutTestController::setAsynchronousSpellCheckingEnabled):
  5139. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  5140. (LayoutTestController::setAsynchronousSpellCheckingEnabled):
  5141. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  5142. (LayoutTestController::setAsynchronousSpellCheckingEnabled):
  5143. 2010-12-12 Sam Weinig <sam@webkit.org>
  5144. Reviewed by Anders Carlsson.
  5145. Fix failing API test. It turns out that a pop-state event
  5146. is sent before every fragment navigation, so we have to test
  5147. for it in addition in PageLoadDidChangeLocationWithinPageForFrame.
  5148. * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
  5149. (TestWebKitAPI::didSameDocumentNavigationForFrame):
  5150. 2010-12-12 Alejandro G. Castro <alex@igalia.com>
  5151. Reviewed by Eric Seidel.
  5152. [GTK] Add new-run-webkit-tests support to gtk
  5153. https://bugs.webkit.org/show_bug.cgi?id=50681
  5154. Adding the basic support to run the new-run-webkit-tests.
  5155. * Scripts/webkitpy/layout_tests/port/gtk.py:
  5156. 2010-10-11 Diego Gonzalez <diegohcg@webkit.org>
  5157. Reviewed by Kenneth Rohde Christiansen.
  5158. [Qt] Mock DeviceOrientation client for DRT
  5159. https://bugs.webkit.org/show_bug.cgi?id=47490
  5160. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  5161. (WebCore::DumpRenderTree::DumpRenderTree):
  5162. (WebCore::DumpRenderTree::~DumpRenderTree):
  5163. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  5164. (LayoutTestController::setMockDeviceOrientation):
  5165. 2010-12-11 Philippe Normand <pnormand@igalia.com>
  5166. Reviewed by Gustavo Noronha Silva.
  5167. [GTK] launcher: disable the Mozilla-style fullscreen API
  5168. https://bugs.webkit.org/show_bug.cgi?id=50874
  5169. Disabling the fullscreen API until its implementation for GTK is
  5170. mature enough. The webview setting for it is already FALSE by
  5171. default.
  5172. * GtkLauncher/main.c:
  5173. (createWindow):
  5174. 2010-12-10 Eric Seidel <eric@webkit.org>
  5175. Reviewed by Adam Barth.
  5176. commit-queue flaky test messages show cryptic version information for mac os x
  5177. https://bugs.webkit.org/show_bug.cgi?id=50864
  5178. Turns out platform.platform() returns kernel version information
  5179. which isn't helpful, and just plain confusing on Mac
  5180. (OS X 10.6.5 uses Darwin Kernel 10.5.0).
  5181. So I've updated PlatformInfo.display_name() to special case
  5182. mac. I also found a bad use of sys.platform in the process
  5183. and fixed that. (sys.platform always returns 'darwin' on mac).
  5184. * Scripts/webkitpy/common/system/platforminfo.py:
  5185. * Scripts/webkitpy/common/system/user.py:
  5186. * Scripts/webkitpy/tool/bot/flakytestreporter.py:
  5187. * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
  5188. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  5189. 2010-12-10 Eric Seidel <eric@webkit.org>
  5190. Unreviewed.
  5191. Exception seen while reporting flaky test with commit-queue.
  5192. Just a missing include.
  5193. * Scripts/webkitpy/tool/bot/flakytestreporter.py:
  5194. * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
  5195. 2010-12-10 Kinuko Yasuda <kinuko@chromium.org>
  5196. Reviewed by Eric Seidel.
  5197. [Chromium] Remove old JSONResultsGenerator script that existed for backward-compatibility
  5198. https://bugs.webkit.org/show_bug.cgi?id=50796
  5199. Also updating the test code to use JSONResultsGeneratorBase and
  5200. to improve test coverage for incremental cases.
  5201. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  5202. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
  5203. 2010-12-10 Joseph Pecoraro <joepeck@webkit.org>
  5204. Reviewed by Darin Adler.
  5205. prepare-ChangeLog --help doesn't mention --bug shorthand -b
  5206. https://bugs.webkit.org/show_bug.cgi?id=50835
  5207. * Scripts/prepare-ChangeLog: be more explicit about -b and match file style.
  5208. 2010-12-10 Eric Seidel <eric@webkit.org>
  5209. Reviewed by Adam Barth.
  5210. Bugs created by the commit-queue should all block on a master bug
  5211. https://bugs.webkit.org/show_bug.cgi?id=50857
  5212. This makes all bugs created by the commit-queue block on:
  5213. https://bugs.webkit.org/show_bug.cgi?id=50856
  5214. In the process of testing this, I found that the existing
  5215. create_bug code was wrong. I also found that existing
  5216. unit tests for create-rollout used invalid values
  5217. for options.blocks. I fixed both issues and tested.
  5218. * Scripts/webkitpy/tool/bot/flakytestreporter.py:
  5219. * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
  5220. * Scripts/webkitpy/tool/commands/commandtest.py:
  5221. * Scripts/webkitpy/tool/commands/download_unittest.py:
  5222. * Scripts/webkitpy/tool/commands/upload_unittest.py:
  5223. * Scripts/webkitpy/tool/mocktool.py:
  5224. * Scripts/webkitpy/tool/steps/options.py:
  5225. 2010-12-10 Eric Seidel <eric@webkit.org>
  5226. Reviewed by Adam Barth.
  5227. Teach webkitpy how to follow duplicate chains when posting comments on flake bugs
  5228. https://bugs.webkit.org/show_bug.cgi?id=50853
  5229. I also discovered when doing this that the code was posting
  5230. the comment on the wrong bug, but that's fixed here too.
  5231. * Scripts/webkitpy/common/net/bugzilla/bug.py:
  5232. * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
  5233. * Scripts/webkitpy/tool/bot/flakytestreporter.py:
  5234. * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
  5235. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  5236. * Scripts/webkitpy/tool/mocktool.py:
  5237. 2010-12-10 Anders Carlsson <andersca@apple.com>
  5238. Reviewed by John Sullivan.
  5239. Make WKContextGetStatistics gather global statistics
  5240. https://bugs.webkit.org/show_bug.cgi?id=50850
  5241. Remove the code that gets the statistics and fills in the per context
  5242. statistics information for now.
  5243. * MiniBrowser/mac/BrowserStatisticsWindowController.m:
  5244. (-[BrowserStatisticsWindowController refreshStatistics:]):
  5245. 2010-12-10 Eric Seidel <eric@webkit.org>
  5246. Unreviewed.
  5247. commit-queue should report port/platform information when commenting on flaky test bugs
  5248. https://bugs.webkit.org/show_bug.cgi?id=50839
  5249. Renamed platform.py to platforminfo.py. This broke import platform in executive.py
  5250. which was only used by new run webkit tests (and clearly not unit tested).
  5251. * Scripts/webkitpy/common/system/platforminfo.py: Renamed from WebKitTools/Scripts/webkitpy/common/system/platform.py.
  5252. * Scripts/webkitpy/tool/main.py:
  5253. * Scripts/webkitpy/tool/mocktool.py:
  5254. 2010-12-10 Eric Seidel <eric@webkit.org>
  5255. Reviewed by Tony Chang.
  5256. commit-queue should report port/platform information when commenting on flaky test bugs
  5257. https://bugs.webkit.org/show_bug.cgi?id=50839
  5258. This was a suggestion from Tony Chang this morning.
  5259. I added a platform.py class so I could easily mock the platform call,
  5260. but that may not be the final solution for this mocking.
  5261. We'll try it and see.
  5262. * Scripts/webkitpy/common/system/platform.py: Added.
  5263. * Scripts/webkitpy/tool/bot/flakytestreporter.py:
  5264. * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
  5265. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  5266. * Scripts/webkitpy/tool/main.py:
  5267. * Scripts/webkitpy/tool/mocktool.py:
  5268. 2010-12-10 Krithigassree Sambamurthy <krithigassree.sambamurthy@nokia.com>
  5269. Reviewed by Joseph Pecoraro.
  5270. Bug 43455 - [Qt]: Implement Application Cache Quotas
  5271. https://bugs.webkit.org/show_bug.cgi?id=43455
  5272. Introduce functions to allow new appcache layout test origin-quota.html
  5273. to work correctly under Qt.
  5274. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  5275. (WebCore::DumpRenderTree::DumpRenderTree):
  5276. (WebCore::DumpRenderTree::dumpApplicationCacheQuota):
  5277. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  5278. Introduce functions to allow new appcache layout test origin-quota.html
  5279. to be successful under qt. Changes required because LayoutTestControllerQt
  5280. does not inherit from LayoutController.
  5281. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  5282. (LayoutTestController::reset):
  5283. (LayoutTestController::clearAllApplicationCaches):
  5284. (LayoutTestController::setApplicationCacheOriginQuota):
  5285. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  5286. (LayoutTestController::shouldDumpApplicationCacheDelegateCallbacks):
  5287. (LayoutTestController::dumpApplicationCacheDelegateCallbacks):
  5288. 2010-12-10 Eric Seidel <eric@webkit.org>
  5289. Reviewed by Adam Barth.
  5290. Move buildbot.py into its own module so we can split it out into one-file-per-class
  5291. https://bugs.webkit.org/show_bug.cgi?id=50806
  5292. We're adding more buildbot logic these days, so it makes sense
  5293. to give buildbot its own module.
  5294. * Scripts/webkitpy/common/net/buildbot/__init__.py: Added.
  5295. * Scripts/webkitpy/common/net/buildbot/buildbot.py: Renamed from WebKitTools/Scripts/webkitpy/common/net/buildbot.py.
  5296. * Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py: Renamed from WebKitTools/Scripts/webkitpy/common/net/buildbot_unittest.py.
  5297. * Scripts/webkitpy/common/net/failuremap.py:
  5298. * Scripts/webkitpy/common/net/regressionwindow.py:
  5299. * Scripts/webkitpy/tool/commands/rebaseline.py:
  5300. 2010-12-10 Tony Chang <tony@chromium.org>
  5301. Reviewed by Eric Seidel.
  5302. Use FileSystem::remove when cleaning up http lock files
  5303. https://bugs.webkit.org/show_bug.cgi?id=50830
  5304. * Scripts/webkitpy/layout_tests/port/http_lock.py:
  5305. 2010-12-10 Joone Hur <joone@kldp.org>
  5306. Reviewed by Martin Robinson.
  5307. [GTK] DRT needs layoutTestController.setCacheModel
  5308. https://bugs.webkit.org/show_bug.cgi?id=50705
  5309. webkit_set_cache_mode() is called to set the cache model.
  5310. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  5311. (LayoutTestController::setCacheModel): Set the cache model.
  5312. 2010-12-10 Tony Chang <tony@chromium.org>
  5313. Reviewed by Ojan Vafai.
  5314. [chromium] remove --use-drt and add --use-test-shell
  5315. https://bugs.webkit.org/show_bug.cgi?id=50701
  5316. * Scripts/webkitpy/common/config/ports.py:
  5317. * Scripts/webkitpy/common/config/ports_unittest.py:
  5318. * Scripts/webkitpy/layout_tests/port/chromium.py:
  5319. * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
  5320. * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
  5321. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  5322. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  5323. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  5324. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  5325. * Scripts/webkitpy/layout_tests/port/webkit.py:
  5326. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  5327. * Scripts/webkitpy/style/checkers/test_expectations.py:
  5328. * Scripts/webkitpy/tool/commands/queries.py:
  5329. 2010-12-10 John Knottenbelt <jknotten@chromium.org>
  5330. Reviewed by Steve Block.
  5331. [Chromium] Implement mocks for client-based geolocation
  5332. https://bugs.webkit.org/show_bug.cgi?id=46895
  5333. * DumpRenderTree/chromium/LayoutTestController.cpp:
  5334. (LayoutTestController::setGeolocationPermission):
  5335. (LayoutTestController::setMockGeolocationPosition):
  5336. (LayoutTestController::setMockGeolocationError):
  5337. * DumpRenderTree/chromium/LayoutTestController.h:
  5338. * DumpRenderTree/chromium/WebViewHost.cpp:
  5339. (WebViewHost::geolocationClient):
  5340. (WebViewHost::geolocationClientMock):
  5341. (WebViewHost::reset):
  5342. * DumpRenderTree/chromium/WebViewHost.h:
  5343. 2010-12-10 Alejandro G. Castro <alex@igalia.com>
  5344. Reviewed by Martin Robinson.
  5345. [GTK] Add hasSpellingMarker support to the DRT
  5346. https://bugs.webkit.org/show_bug.cgi?id=50739
  5347. Implemented the hasSpellingMarker to support spelling tests.
  5348. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  5349. (LayoutTestController::hasSpellingMarker):
  5350. 2010-12-10 Eric Seidel <eric@webkit.org>
  5351. Reviewed by Ojan Vafai.
  5352. webkit-patch: not possible to use build-and-test with local commits
  5353. https://bugs.webkit.org/show_bug.cgi?id=33378
  5354. Make --no-clean not even check if we have local commits.
  5355. It's unclear to me why the code was originally written this way.
  5356. I was unable to dig up a reason from svn history.
  5357. * Scripts/webkitpy/tool/steps/cleanworkingdirectory.py:
  5358. * Scripts/webkitpy/tool/steps/cleanworkingdirectory_unittest.py: Copied from WebKitTools/Scripts/webkitpy/tool/steps/cleanworkingdirectory.py.
  5359. 2010-12-10 Mario Sanchez Prada <msanchez@igalia.com>
  5360. Reviewed by Martin Robinson.
  5361. [GTK] AX: implement isEnabled in DRT
  5362. https://bugs.webkit.org/show_bug.cgi?id=50814
  5363. Implement AccessibilityUIElement::isEnabled() for GTK.
  5364. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  5365. (checkElementState): New function to refactor common code.
  5366. (AccessibilityUIElement::isEnabled): Implement this by checking
  5367. the current state of the AtkObject.
  5368. (AccessibilityUIElement::isSelected): Use the new
  5369. checkElementState function.
  5370. 2010-12-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  5371. Reviewed by Kenneth Rohde Christiansen.
  5372. [Qt][WK2] Add the QWKContext API class to wrap the WebContext.
  5373. https://bugs.webkit.org/show_bug.cgi?id=50750
  5374. * MiniBrowser/qt/BrowserView.cpp:
  5375. (BrowserView::BrowserView):
  5376. * MiniBrowser/qt/BrowserView.h:
  5377. * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
  5378. (WTR::WebView::WebView):
  5379. 2010-12-10 Joone Hur <joone@kldp.org>
  5380. Reviewed by Xan Lopez.
  5381. [GTK] Unskipping some test cases in userscripts dependent on addUserStyleSheet
  5382. https://bugs.webkit.org/show_bug.cgi?id=50808
  5383. Unskipping the following test cases:
  5384. userscripts/mixed-case-stylesheet.html
  5385. userscripts/simple-stylesheet.html
  5386. userscripts/user-style-all-frames.html
  5387. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  5388. (LayoutTestController::addUserStyleSheet):
  5389. 2010-12-10 Joone Hur <joone@kldp.org>
  5390. Reviewed by Eric Seidel.
  5391. [GTK] Add DRT support for pageProperty, isPageBoxVisible, pageSizeAndMarginsInPixels, and addUserStyleSheet
  5392. https://bugs.webkit.org/show_bug.cgi?id=50783
  5393. This patch allows to unskip the following test cases:
  5394. printing/page-rule-selection.html
  5395. printing/page-format-data.html
  5396. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  5397. (LayoutTestController::pageProperty): Added.
  5398. (LayoutTestController::isPageBoxVisible): Ditto.
  5399. (LayoutTestController::pageSizeAndMarginsInPixels): Ditto.
  5400. (LayoutTestController::addUserStyleSheet): Ditto.
  5401. 2010-12-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  5402. Reviewed by Kenneth Rohde Christiansen.
  5403. [Qt] Make QtTestBrowser spawn QNAM in a secondary thread.
  5404. A menu allows to switch QNAM back to the same thread.
  5405. * QtTestBrowser/launcherwindow.cpp:
  5406. (LauncherWindow::initializeView):
  5407. (LauncherWindow::createChrome):
  5408. (LauncherWindow::toggleThreadedQnam):
  5409. * QtTestBrowser/launcherwindow.h:
  5410. (WindowOptions::WindowOptions):
  5411. * QtTestBrowser/webpage.cpp:
  5412. (WebPage::WebPage):
  5413. (WebPage::setQnamThreaded):
  5414. * QtTestBrowser/webpage.h:
  5415. (QnamThread::QnamThread):
  5416. (QnamThread::~QnamThread):
  5417. (QnamThread::networkAccessManager):
  5418. (QnamThread::run):
  5419. 2010-12-10 Martin Robinson <mrobinson@igalia.com>
  5420. Reviewed by Xan Lopez.
  5421. [Gtk] style="font-family: courier" makes text disappear
  5422. https://bugs.webkit.org/show_bug.cgi?id=47452
  5423. Add a test that verifies that fonts without valid charmaps are
  5424. never selected.
  5425. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  5426. (initializeFonts): Initialize DRT with our font (derived from Ahem)
  5427. that has no valid charmap.
  5428. * DumpRenderTree/gtk/fonts/FontWithNoValidEncoding.fon: Added.
  5429. * DumpRenderTree/gtk/fonts/fonts.conf: Updated settings to override users'
  5430. settings which may disable selection of bitmap fonts.
  5431. 2010-12-10 Eric Seidel <eric@webkit.org>
  5432. Unreviewed.
  5433. The commit-queue should file bugs about flaky tests it encounters
  5434. https://bugs.webkit.org/show_bug.cgi?id=50803
  5435. create_bug_for_flaky_test was insufficiently tested, thus buggy.
  5436. Now it's tested.
  5437. * Scripts/webkitpy/tool/bot/flakytestreporter.py:
  5438. * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
  5439. 2010-12-10 Eric Seidel <eric@webkit.org>
  5440. Unreviewed. Somehow this last-minute edit didn't quite get committed.
  5441. The commit-queue should file bugs about flaky tests it encounters
  5442. https://bugs.webkit.org/show_bug.cgi?id=50803
  5443. * Scripts/webkitpy/tool/bot/flakytestreporter.py:
  5444. 2010-12-09 Eric Seidel <eric@webkit.org>
  5445. Reviewed by Adam Barth.
  5446. The commit-queue should file bugs about flaky tests it encounters
  5447. https://bugs.webkit.org/show_bug.cgi?id=50803
  5448. This change got a bit big. I also added a new config.urls file
  5449. because I needed to share the view_source_url code with committervalidator.py.
  5450. This adds a new class FlakyTestReporter which holds all the logic about
  5451. reporting flaky tests to bugzilla.
  5452. Right now this code knows how to look up bugs for flaky tests.
  5453. If it can't find a bug filed from the commit-queue, it will open a new
  5454. one, ccing the relevant people and adding information about the failure.
  5455. It is not yet smart enough to chase down duplicate chains, or to include
  5456. the actual failure diff. But those can be added in later iterations.
  5457. * Scripts/webkitpy/common/checkout/api.py:
  5458. * Scripts/webkitpy/common/checkout/changelog.py:
  5459. * Scripts/webkitpy/common/checkout/commitinfo.py:
  5460. * Scripts/webkitpy/common/config/committervalidator.py:
  5461. * Scripts/webkitpy/common/config/urls.py: Copied from WebKitTools/Scripts/webkitpy/tool/comments.py.
  5462. * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
  5463. * Scripts/webkitpy/tool/bot/flakytestreporter.py: Added.
  5464. * Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py: Copied from WebKitTools/Scripts/webkitpy/tool/comments.py.
  5465. * Scripts/webkitpy/tool/bot/irc_command.py:
  5466. * Scripts/webkitpy/tool/bot/sheriff.py:
  5467. * Scripts/webkitpy/tool/commands/download.py:
  5468. * Scripts/webkitpy/tool/commands/queues.py:
  5469. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  5470. * Scripts/webkitpy/tool/comments.py:
  5471. * Scripts/webkitpy/tool/mocktool.py:
  5472. * Scripts/webkitpy/tool/steps/commit.py:
  5473. 2010-12-09 Eric Seidel <eric@webkit.org>
  5474. Reviewed by Adam Barth.
  5475. Teach webkit-patch how to search bugzilla
  5476. https://bugs.webkit.org/show_bug.cgi?id=50500
  5477. This is a step towards teaching webkitpy how to file
  5478. new bugs for flaky tests and update them when new flakes occur.
  5479. * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
  5480. * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
  5481. * Scripts/webkitpy/tool/commands/__init__.py:
  5482. * Scripts/webkitpy/tool/commands/bugsearch.py: Added.
  5483. 2010-12-09 Adam Barth <abarth@webkit.org>
  5484. Reviewed by Ojan Vafai.
  5485. commit-queue errors out due to local commits
  5486. https://bugs.webkit.org/show_bug.cgi?id=50766
  5487. We seem to be tripping over having local commits in the working copy a
  5488. lot recently. I don't quite fully understand what the issue is, but
  5489. this patch attempts to solve the problem by adding an explicit clean
  5490. step before processing a patch. Previously, we did the cleaning as
  5491. part of the apply-attachment step, so this might not actually fix the
  5492. problem.
  5493. * Scripts/webkitpy/tool/bot/commitqueuetask.py:
  5494. * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
  5495. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  5496. 2010-12-09 Dirk Pranke <dpranke@chromium.org>
  5497. Reviewed by Ojan Vafai.
  5498. Make new-run-webkit-tests --lint-test-files log slightly better
  5499. messages and return -1 if lint fails. Remove the
  5500. 'suppress_errors' keyword param to the TestExpectationsFile
  5501. class, and clean up logging and exception raising for error
  5502. handling. Also add more unit tests and clean up the unit test code a bit.
  5503. https://bugs.webkit.org/show_bug.cgi?id=50205
  5504. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  5505. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  5506. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py
  5507. * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py
  5508. * Scripts/webkitpy/layout_tests/port/chromium.py:
  5509. * Scripts/webkitpy/style/checkers/test_expectations.py:
  5510. * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
  5511. 2010-12-09 Tony Chang <tony@chromium.org>
  5512. Unreviewed, fix for windows code. We were catching the wrong
  5513. exception in Windows.
  5514. * Scripts/webkitpy/common/system/filesystem.py:
  5515. 2010-12-09 Antonio Gomes <agomes@rim.com>
  5516. Reviewed by Martin Robinson.
  5517. [Gtk] Populate DumpRenderTreeSupportGtk (part IV)
  5518. https://bugs.webkit.org/show_bug.cgi?id=48429
  5519. Adjust call sites of webkit_thread_count to use the DumpRenderTreeSupportGtk version now.
  5520. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  5521. (LayoutTestController::workerThreadCount):
  5522. 2010-12-06 Philippe Normand <pnormand@igalia.com>
  5523. Reviewed by Martin Robinson.
  5524. [GTK] Support the Mozilla-style Fullscreen Javascript API
  5525. https://bugs.webkit.org/show_bug.cgi?id=50572
  5526. Enable the Javascript Fullscreen support in the GtkLauncher. Also
  5527. make DRT update the Chrome when the WebView settings have been
  5528. reset to consistent values.
  5529. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  5530. (resetDefaultsToConsistentValues):
  5531. * GtkLauncher/main.c:
  5532. (create_window):
  5533. * Scripts/build-webkit:
  5534. 2010-12-09 Koan-Sin Tan <koansin.tan@gmail.com>
  5535. Reviewed by Tor Arne Vestbø
  5536. [Qt] run-launcher doesn't start the browser on Mac OS X 10.6
  5537. https://bugs.webkit.org/show_bug.cgi?id=50742
  5538. check not only QtWebKit.framework/QtWebKit but also libQtWebKit.dylib
  5539. * Scripts/webkitdirs.pm:
  5540. 2010-12-09 Joone Hur <joone@kldp.org>
  5541. Reviewed by Martin Robinson.
  5542. [GTK] Support for viewport meta tag
  5543. https://bugs.webkit.org/show_bug.cgi?id=45443
  5544. Add support for testing the viewport properties for WebKitGtk.
  5545. * DumpRenderTree/LayoutTestController.cpp:
  5546. (dumpConfigurationForViewportCallback): Added this JS callback to set the size of the visible viewport.
  5547. (LayoutTestController::staticFunctions):
  5548. * DumpRenderTree/LayoutTestController.h:
  5549. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  5550. (LayoutTestController::dumpConfigurationForViewport): Added this function to test the viewport properties.
  5551. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  5552. (LayoutTestController::dumpConfigurationForViewport): Ditto.
  5553. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  5554. (LayoutTestController::dumpConfigurationForViewport): Ditto.
  5555. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  5556. (LayoutTestController::dumpConfigurationForViewport): Ditto.
  5557. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  5558. (LayoutTestController::dumpConfigurationForViewport): Ditto.
  5559. 2010-12-08 William Siegrist <wsiegrist@apple.com>
  5560. Reviewed by Eric Seidel.
  5561. Migrate buildbot.py from xmlrpc to json.
  5562. https://bugs.webkit.org/show_bug.cgi?id=50647
  5563. * Scripts/webkitpy/common/net/buildbot.py:
  5564. 2010-12-08 Tony Chang <tony@chromium.org>
  5565. Reviewed by Eric Seidel.
  5566. make starting the websocket server more reliable on windows
  5567. https://bugs.webkit.org/show_bug.cgi?id=50712
  5568. * Scripts/webkitpy/common/system/filesystem.py:
  5569. (remove): Substitute method for os.remove to retry on error on Windows
  5570. * Scripts/webkitpy/common/system/filesystem_unittest.py:
  5571. * Scripts/webkitpy/layout_tests/port/http_server_base.py: Use FileSystem.remove
  5572. 2010-12-08 Jessie Berlin <jberlin@apple.com>
  5573. Reviewed by Adam Roben.
  5574. WebKit2: Implement WebChromeClient::exceededDatabaseQuota
  5575. https://bugs.webkit.org/show_bug.cgi?id=50656
  5576. * MiniBrowser/mac/BrowserWindowController.m:
  5577. (-[BrowserWindowController awakeFromNib]):
  5578. Indicate that exceededDatabaseQuota is not implemented.
  5579. * MiniBrowser/win/BrowserView.cpp:
  5580. (BrowserView::create):
  5581. Ditto.
  5582. * WebKitTestRunner/TestController.cpp:
  5583. (WTR::createOtherPage):
  5584. Ditto.
  5585. (WTR::TestController::initialize):
  5586. Ditto.
  5587. 2010-12-08 Antonio Gomes <agomes@rim.com>
  5588. Reviewed by Martin Robinson.
  5589. [Gtk] Populate DumpRenderTreeSupportGtk (part III)
  5590. https://bugs.webkit.org/show_bug.cgi?id=48429
  5591. Moved the following methods from webkitprivate.h to DumpRenderTreeSupportGtk.cpp|h:
  5592. * webkit_gc_collect_javascript_objects;
  5593. * webkit_gc_collect_javascript_objects_on_alternate_thread;
  5594. * webkit_gc_count_javascript_objects;
  5595. * webkit_web_frame_layout.
  5596. These were all only used by GTK+ DRT.
  5597. * DumpRenderTree/gtk/EventSender.cpp:
  5598. (dispatchEvent):
  5599. * DumpRenderTree/gtk/GCControllerGtk.cpp:
  5600. (GCController::collect):
  5601. (GCController::collectOnAlternateThread):
  5602. (GCController::getJSObjectCount):
  5603. 2010-12-07 Tony Chang <tony@chromium.org>
  5604. Reviewed by Ojan Vafai.
  5605. [chromium] force NRWT to use DRT
  5606. https://bugs.webkit.org/show_bug.cgi?id=50359
  5607. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  5608. 2010-12-06 Sam Weinig <sam@webkit.org>
  5609. Reviewed by Anders Carlsson.
  5610. Generalize didChangeLocationWithinPageForFrame for all same document navigations
  5611. https://bugs.webkit.org/show_bug.cgi?id=50584
  5612. * MiniBrowser/mac/BrowserWindowController.m:
  5613. (didSameDocumentNavigationForFrame):
  5614. (-[BrowserWindowController awakeFromNib]):
  5615. (-[BrowserWindowController didSameDocumentNavigationForFrame:]):
  5616. * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
  5617. (TestWebKitAPI::didSameDocumentNavigationForFrame):
  5618. (TestWebKitAPI::TEST):
  5619. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  5620. (WTR::InjectedBundlePage::InjectedBundlePage):
  5621. (WTR::InjectedBundlePage::didSameDocumentNavigationForFrame):
  5622. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  5623. * WebKitTestRunner/TestController.cpp:
  5624. (WTR::TestController::initialize):
  5625. 2010-12-06 Kinuko Yasuda <kinuko@chromium.org>
  5626. Reviewed by Ojan Vafai.
  5627. Make TestResultsServer return 404 for non-existing results files.
  5628. https://bugs.webkit.org/show_bug.cgi?id=50581
  5629. * TestResultServer/handlers/testfilehandler.py:
  5630. 2010-12-06 Tony Chang <tony@chromium.org>
  5631. Reviewed by Ojan Vafai.
  5632. [chromium] fix an assert hit in DRT
  5633. https://bugs.webkit.org/show_bug.cgi?id=50575
  5634. This class uses WTF's RefPtr, but expects chrome's base::RefPtr
  5635. semantics.
  5636. Otherwise, we hit ASSERTION FAILED: !m_adoptionIsRequired
  5637. (third_party/WebKit/JavaScriptCore/wtf/RefCounted.h:37 void
  5638. WTF::RefCountedBase::ref()).
  5639. * DumpRenderTree/chromium/TestWebWorker.h:
  5640. (TestWebWorker::TestWebWorker):
  5641. 2010-12-02 Ojan Vafai <ojan@chromium.org>
  5642. Reviewed by Eric Seidel.
  5643. make webkit-patch command work when the git branch is not synced to the remote svn branch
  5644. https://bugs.webkit.org/show_bug.cgi?id=50424
  5645. * Scripts/webkitpy/common/checkout/scm.py:
  5646. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  5647. 2010-12-06 Patrick Gansterer <paroga@webkit.org>
  5648. Reviewed by Andreas Kling.
  5649. [WINCE] Add build system
  5650. https://bugs.webkit.org/show_bug.cgi?id=50522
  5651. * CMakeListsWinCE.txt: Added.
  5652. 2010-12-03 Mihai Parparita <mihaip@chromium.org>
  5653. Reviewed by Tony Chang.
  5654. Allow the Chromium port to have Leopard-specific baselines
  5655. https://bugs.webkit.org/show_bug.cgi?id=50506
  5656. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  5657. 2010-12-03 Tony Chang <tony@chromium.org>
  5658. Reviewed by Kent Tamura.
  5659. [chromium] fix 2 bugs with inspector tests in DRT
  5660. https://bugs.webkit.org/show_bug.cgi?id=50492
  5661. Tasks can outlive the tasklist (even when canceled) so this was
  5662. causing a crash when ~WebTask() ran. Avoid this by unregistering
  5663. when a task is canceled.
  5664. Also fix an assert when closing devtool windows by copying some
  5665. logic from test_shell.
  5666. * DumpRenderTree/chromium/Task.cpp:
  5667. (WebTask::~WebTask):
  5668. (TaskList::revokeAll):
  5669. * DumpRenderTree/chromium/Task.h: Canceling a task now removes it from
  5670. the tasklist (since the task can outlive the tasklist).
  5671. * DumpRenderTree/chromium/TestShell.h:
  5672. (TestShell::devToolsWebView):
  5673. * DumpRenderTree/chromium/WebViewHost.cpp:
  5674. (WebViewHost::~WebViewHost): Don't load about:blank when closing
  5675. a window if the window has devtools loaded. This avoids an
  5676. ASSERT and matches test_shell.
  5677. 2010-12-06 Alejandro G. Castro <alex@igalia.com>
  5678. Reviewed by Martin Robinson.
  5679. [GTK] Fix GtkLauncher.c style, use webkit style
  5680. https://bugs.webkit.org/show_bug.cgi?id=50542
  5681. * GtkLauncher/main.c:
  5682. (activateUriEntryCb):
  5683. (updateTitle):
  5684. (linkHoverCb):
  5685. (notifyTitleCb):
  5686. (notifyLoadStatusCb):
  5687. (notifyProgressCb):
  5688. (destroyCb):
  5689. (goBackCb):
  5690. (goForwardCb):
  5691. (create_webViewCb):
  5692. (webViewReadyCb):
  5693. (closeWebViewCb):
  5694. (createBrowser):
  5695. (createStatusbar):
  5696. (createToolbar):
  5697. (createWindow):
  5698. (main):
  5699. 2010-12-04 Antonio Gomes <agomes@rim.com>
  5700. Reviewed by Martin Robinson.
  5701. [Gtk] Populate DumpRenderTreeSupportGtk (Part II)
  5702. https://bugs.webkit.org/show_bug.cgi?id=48429
  5703. Moved more private method declared with WEBKIT_API to
  5704. DumpRenderTreeSupportGtk, since they were only being used by DRT.
  5705. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  5706. (resetDefaultsToConsistentValues):
  5707. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  5708. (LayoutTestController::addOriginAccessWhitelistEntry):
  5709. (LayoutTestController::execCommand):
  5710. (LayoutTestController::isCommandEnabled):
  5711. 2010-12-04 Antonio Gomes <agomes@rim.com>
  5712. Reviewed by Andreas Kling.
  5713. Removed extern webkit_web_view_set_group_name from gtk/DumpRenderTree.cpp
  5714. Method was removed by http://trac.webkit.org/changeset/71604
  5715. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  5716. 2010-12-05 Alejandro G. Castro <alex@igalia.com>
  5717. Reviewed by Xan Lopez.
  5718. [GTK] Fix compilation warnings reported by clang
  5719. https://bugs.webkit.org/show_bug.cgi?id=50252
  5720. * GtkLauncher/main.c:
  5721. (create_window): The create_statusbar function does not have
  5722. parameters.
  5723. 2010-12-05 Robert Hogan <robert@webkit.org>
  5724. Reviewed by Andreas Kling.
  5725. [Qt] Zero-sized font does not yet work
  5726. Fix fast/text/font-size-zero.html
  5727. Copy other ports by setting minimumFontSize to 0 for DRT runs.
  5728. https://bugs.webkit.org/show_bug.cgi?id=49759
  5729. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  5730. (WebCore::WebPage::WebPage):
  5731. 2010-12-04 Sam Weinig <sam@webkit.org>
  5732. Reviewed by Jon Honeycutt.
  5733. WebKit2: Need client functions to notify app when the url changes due to a fragment navigation
  5734. https://bugs.webkit.org/show_bug.cgi?id=50511
  5735. Update tools for new didChangeLocationWithinPageForFrame client function (and changed bundle
  5736. signature) and added a test for the functionality (PageLoadDidChangeLocationWithinPageForFrame.cpp)
  5737. * MiniBrowser/mac/BrowserWindowController.m:
  5738. (didChangeLocationWithinPageForFrame):
  5739. (-[BrowserWindowController awakeFromNib]):
  5740. (-[BrowserWindowController didChangeLocationWithinPageForFrame:]):
  5741. * TestWebKitAPI/PlatformUtilities.cpp:
  5742. (TestWebKitAPI::Util::toWK):
  5743. * TestWebKitAPI/PlatformUtilities.h:
  5744. (TestWebKitAPI::Util::adoptWK):
  5745. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  5746. * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp: Added.
  5747. (TestWebKitAPI::nullJavaScriptCallback):
  5748. (TestWebKitAPI::didFinishLoadForFrame):
  5749. (TestWebKitAPI::didChangeLocationWithinPageForFrame):
  5750. (TestWebKitAPI::TEST):
  5751. * TestWebKitAPI/Tests/WebKit2/file-with-anchor.html: Added.
  5752. * TestWebKitAPI/win/TestWebKitAPI.vcproj:
  5753. * TestWebKitAPI/win/copy-resources.cmd:
  5754. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  5755. (WTR::InjectedBundlePage::InjectedBundlePage):
  5756. (WTR::InjectedBundlePage::didChangeLocationWithinPageForFrame):
  5757. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  5758. * WebKitTestRunner/TestController.cpp:
  5759. (WTR::TestController::initialize):
  5760. 2010-11-08 Antonio Gomes <agomes@rim.com>
  5761. Reviewed by Martin Robinson.
  5762. [Gtk] Populate DumpRenderTreeSupportGtk
  5763. https://bugs.webkit.org/show_bug.cgi?id=48429
  5764. Made the previous calls to webkit_web_frame* functions defined as private
  5765. APIs in webkitprivate.h go through DRTSupportGtk.
  5766. * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
  5767. (AccessibilityController::focusedElement):
  5768. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  5769. (dumpFramesAsText):
  5770. (resetDefaultsToConsistentValues):
  5771. (dump):
  5772. (webViewDocumentLoadFinished):
  5773. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  5774. (LayoutTestController::counterValueForElementById):
  5775. (LayoutTestController::pageNumberForElementById):
  5776. (LayoutTestController::numberOfPages):
  5777. (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
  5778. (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
  5779. (LayoutTestController::sampleSVGAnimationForElementAtTime):
  5780. (LayoutTestController::numberOfActiveAnimations):
  5781. (LayoutTestController::suspendAnimations):
  5782. (LayoutTestController::resumeAnimations):
  5783. (LayoutTestController::markerTextForListItem):
  5784. 2010-12-03 Mihai Parparita <mihaip@chromium.org>
  5785. Reviewed by Tony Chang.
  5786. Rebaseline server: use pretty text diff output
  5787. https://bugs.webkit.org/show_bug.cgi?id=50484
  5788. Serve *-pretty-diff.html for text diff output.
  5789. * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html:
  5790. * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css:
  5791. * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
  5792. * Scripts/webkitpy/tool/commands/rebaselineserver.py:
  5793. 2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>
  5794. Unreviewed, rolling out r73302.
  5795. http://trac.webkit.org/changeset/73302
  5796. https://bugs.webkit.org/show_bug.cgi?id=50499
  5797. Causes crashes in debug LayoutTests (Requested by xan_ on
  5798. #webkit).
  5799. * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
  5800. (AccessibilityUIElement::AccessibilityUIElement):
  5801. (AccessibilityUIElement::parentElementCallback):
  5802. * DumpRenderTree/chromium/AccessibilityUIElement.h:
  5803. * DumpRenderTree/chromium/CppBoundClass.cpp:
  5804. * DumpRenderTree/chromium/CppBoundClass.h:
  5805. 2010-12-03 Sam Weinig <sam@webkit.org>
  5806. Reviewed by Maciej Stachowiak.
  5807. Enable <a ping> for Mac/Windows/WebKit2 builds
  5808. <rdar://problem/8504473>
  5809. https://bugs.webkit.org/show_bug.cgi?id=50488
  5810. * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
  5811. (TestWebKitAPI::TEST): Test that the default value of
  5812. WKPreferencesGetHyperlinkAuditingEnabled is true.
  5813. 2010-12-03 Chris Guillory <chris.guillory@google.com>
  5814. Reviewed by Chris Fleizach.
  5815. Include the FrameView widget of a RenderWidget in the accessibility tree.
  5816. https://bugs.webkit.org/show_bug.cgi?id=49106
  5817. * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
  5818. (AccessibilityUIElement::AccessibilityUIElement):
  5819. (AccessibilityUIElement::parentElementCallback):
  5820. (AccessibilityUIElement::isEqualCallback):
  5821. * DumpRenderTree/chromium/AccessibilityUIElement.h:
  5822. * DumpRenderTree/chromium/CppBoundClass.cpp:
  5823. (CppBoundClass::getFromCppVariant):
  5824. * DumpRenderTree/chromium/CppBoundClass.h:
  5825. 2010-12-03 Mihai Parparita <mihaip@chromium.org>
  5826. Reviewed by Tony Chang.
  5827. Rebaseline server: organize tests by state, add dry run mode
  5828. https://bugs.webkit.org/show_bug.cgi?id=50473
  5829. Group tests in the menu by state, so that it's easier to see after
  5830. processing the queue which failed.
  5831. Add support for the --dry-run flag so that it's easier to test changes
  5832. such as this (stubs out filesystem and SCM operations).
  5833. * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
  5834. * Scripts/webkitpy/tool/commands/data/rebaselineserver/queue.js:
  5835. * Scripts/webkitpy/tool/commands/rebaselineserver.py:
  5836. 2010-12-03 Brady Eidson <beidson@apple.com>
  5837. Reviewed by Anders Carlsson.
  5838. Groundwork for <rdar://problem/7660733> and https://bugs.webkit.org/show_bug.cgi?id=50191
  5839. WebKit2 Authentication Support
  5840. Keep these builds working:
  5841. * MiniBrowser/mac/BrowserWindowController.m:
  5842. (-[BrowserWindowController awakeFromNib]):
  5843. * WebKitTestRunner/TestController.cpp:
  5844. (WTR::TestController::initialize):
  5845. 2010-12-02 Mihai Parparita <mihaip@chromium.org>
  5846. Reviewed by Tony Chang.
  5847. Rebaseline server: move existing baselines
  5848. https://bugs.webkit.org/show_bug.cgi?id=50421
  5849. Implement moving of existing baselines: move all files that are about
  5850. to be overwriten by update baselines.
  5851. Also fix a typo in the UI JS.
  5852. * Scripts/webkitpy/tool/commands/data/rebaselineserver/queue.js:
  5853. * Scripts/webkitpy/tool/commands/rebaselineserver.py:
  5854. * Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py:
  5855. 2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>
  5856. Unreviewed, rolling out r73211.
  5857. http://trac.webkit.org/changeset/73211
  5858. https://bugs.webkit.org/show_bug.cgi?id=50450
  5859. Broke Chromium's "Webkit Win (dbg)(2)" bot. (Requested by
  5860. yutak on #webkit).
  5861. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  5862. 2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>
  5863. Unreviewed, rolling out r73222.
  5864. http://trac.webkit.org/changeset/73222
  5865. https://bugs.webkit.org/show_bug.cgi?id=50449
  5866. r73211 seemed to break Chromium's "Webkit Win (dbg)(2)" bot.
  5867. (Requested by yutak on #webkit).
  5868. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  5869. * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
  5870. * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
  5871. * Scripts/webkitpy/layout_tests/port/base.py:
  5872. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  5873. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  5874. 2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>
  5875. Unreviewed, rolling out r73228.
  5876. http://trac.webkit.org/changeset/73228
  5877. https://bugs.webkit.org/show_bug.cgi?id=50448
  5878. r73211 seemed to break Chromium's "Webkit Win (dbg)(2)" bot.
  5879. (Requested by yutak on #webkit).
  5880. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  5881. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  5882. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  5883. * Scripts/webkitpy/layout_tests/test_types/test_type_base_unittest.py:
  5884. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  5885. 2010-12-03 Sheriff Bot <webkit.review.bot@gmail.com>
  5886. Unreviewed, rolling out r73231.
  5887. http://trac.webkit.org/changeset/73231
  5888. https://bugs.webkit.org/show_bug.cgi?id=50443
  5889. r73211 seemed to broke Chromium's "Webkit Win (dbg)(2)" bot.
  5890. (Requested by yutak on #webkit).
  5891. * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
  5892. * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
  5893. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  5894. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  5895. 2010-12-03 David Levin <levin@chromium.org>
  5896. Reviewed by Shinichiro Hamaji.
  5897. check-webkit-style: false positive reported for #if macro
  5898. https://bugs.webkit.org/show_bug.cgi?id=48242
  5899. * Scripts/webkitpy/style/checkers/cpp.py: Adjusted check to avoid
  5900. all preprocessor commands.
  5901. * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added test.
  5902. 2010-12-02 Eric Seidel <eric@webkit.org>
  5903. Reviewed by Adam Barth.
  5904. Update the EWSTools scripts to use modern-style git repos
  5905. https://bugs.webkit.org/show_bug.cgi?id=50402
  5906. * EWSTools/create-webkit-git:
  5907. * EWSTools/start-commit-queue.sh:
  5908. * EWSTools/start-queue.sh:
  5909. 2010-12-02 Simon Fraser <simon.fraser@apple.com>
  5910. Fix Chromium Linux plugin tests by not logging
  5911. unconditionally from the event handling code.
  5912. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  5913. (handleEventX11):
  5914. 2010-12-02 Dirk Pranke <dpranke@chromium.org>
  5915. Reviewed by Tony Chang.
  5916. nrwt multiprocessing - move logic back into run_webkit_tests
  5917. This change moves a bunch of logic that I had put into
  5918. message_broker back into run_webkit_tests, in a slightly
  5919. different format. WorkerMessageBroker needed to become less aware of
  5920. the logic the TestRunner class uses, and more generic.
  5921. Eventually the MessageBroker will only do generic messaging and
  5922. thread/process-pooling, and (almost) all of the
  5923. run-webkit-tests-specific logic will be moved to
  5924. run_webkit_tests.py and dump_render_tree_thread.py.
  5925. The biggest changes are that the Broker can now start a single
  5926. worker, but the responsibility for starting all of them is pushed
  5927. back to the TestRunner (Manager), and the logic for checking if
  5928. the threads are done or wedged is moved back to TestRunner. We
  5929. also remove WorkerMessageBroker.cleanup (not needed) and
  5930. cancel_workers (they have to be cancelled individually).
  5931. The message_broker is now encapsulated inside
  5932. TestRunner._run_tests(); it only needs to exist while actually
  5933. running the tests.
  5934. Also, delete a bunch of tests in message_broker_unittest that no
  5935. longer make much sense.
  5936. This patch depends on bug 50372.
  5937. https://bugs.webkit.org/show_bug.cgi?id=50374
  5938. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  5939. * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
  5940. * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
  5941. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  5942. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  5943. 2010-12-02 Hayato Ito <hayato@chromium.org>
  5944. Reviewed by Eric Seidel.
  5945. Refactor test_types's compare_output() method so that it takes a
  5946. TestInput object.
  5947. compare_output() will need additional information included in a TestInput
  5948. object to support reftests. This change is a pre-requirement of that.
  5949. https://bugs.webkit.org/show_bug.cgi?id=50362
  5950. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  5951. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  5952. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  5953. * Scripts/webkitpy/layout_tests/test_types/test_type_base_unittest.py:
  5954. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  5955. 2010-12-02 Simon Fraser <simon.fraser@apple.com>
  5956. Reviewed by Anders Carlsson.
  5957. Add the ability to run script on 'new' and 'paint' in the test plugin
  5958. https://bugs.webkit.org/show_bug.cgi?id=50425
  5959. Add "onnew" and "onpaintevent" attributes to the test plugin,
  5960. so that tests can run JS at these times.
  5961. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
  5962. (pluginAllocate):
  5963. * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
  5964. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  5965. (NPP_New):
  5966. (NPP_Destroy):
  5967. (handleEventCarbon):
  5968. (handleEventCocoa):
  5969. (NPP_HandleEvent):
  5970. 2010-12-02 Sam Weinig <sam@webkit.org>
  5971. Fix Qt build.
  5972. * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
  5973. (WTR::PlatformWebView::PlatformWebView):
  5974. 2010-12-02 Sam Weinig <sam@webkit.org>
  5975. Reviewed by Anders Carlsson.
  5976. WebKit2 Preferences should be held off the PageGroup, not the Context
  5977. https://bugs.webkit.org/show_bug.cgi?id=50414
  5978. Update for API changes.
  5979. * WebKitTestRunner/PlatformWebView.h:
  5980. * WebKitTestRunner/TestController.cpp:
  5981. (WTR::createOtherPage):
  5982. (WTR::TestController::initialize):
  5983. (WTR::TestController::resetStateToConsistentValues):
  5984. * WebKitTestRunner/TestController.h:
  5985. * WebKitTestRunner/mac/PlatformWebViewMac.mm:
  5986. (WTR::PlatformWebView::PlatformWebView):
  5987. * WebKitTestRunner/win/PlatformWebViewWin.cpp:
  5988. (WTR::PlatformWebView::PlatformWebView):
  5989. 2010-12-02 Dirk Pranke <dpranke@chromium.org>
  5990. Reviewed by Tony Chang.
  5991. new-run-webkit-tests: minor cleanup for multiprocessing work
  5992. This change:
  5993. * moves worker naming into TestShellThread, eliminating a
  5994. parameter to the constructor and putting the responsibility in
  5995. the correct place.
  5996. * eliminates the _WorkerState() class in message_broker, because
  5997. it turns out that state really needs to be in run_webkit_tests
  5998. * renames the Broker classes to be module-private.
  5999. * fixes a bunch of minor commenting and whitespace issues to
  6000. make subsequent patches a bit clearer.
  6001. * Adds a Port hook for default_worker_model() so that we can
  6002. accomodate the potential for different worker models on
  6003. different ports.
  6004. * merge in the fix from 50420 for the brokenness introduced in
  6005. bug 50367.
  6006. This patch depends on bug 50367.
  6007. https://bugs.webkit.org/show_bug.cgi?id=50372
  6008. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  6009. * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
  6010. * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
  6011. * Scripts/webkitpy/layout_tests/port/base.py:
  6012. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  6013. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  6014. 2010-12-02 Dirk Pranke <dpranke@chromium.org>
  6015. Reviewed by Tony Chang.
  6016. This change is a bunch of cleanup / refactoring of the file
  6017. below. It moves a bunch of free functions to methods on the
  6018. TestShellThread class, and restructures other methods to be
  6019. closer to the structure we'll need for the multiprocessing
  6020. rewrite.
  6021. It also makes the logic of --run-singly a *lot* easier to follow
  6022. by nestling all of the separate-thread logic into a single
  6023. routine.
  6024. There should be no semantic changes in this patch, just cleanup.
  6025. https://bugs.webkit.org/show_bug.cgi?id=50367
  6026. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  6027. 2010-12-02 Tony Chang <tony@chromium.org>
  6028. Unreviewed, rolling out r73164.
  6029. http://trac.webkit.org/changeset/73164
  6030. https://bugs.webkit.org/show_bug.cgi?id=50359
  6031. broke debugger tests on win
  6032. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  6033. 2010-11-30 Mihai Parparita <mihaip@chromium.org>
  6034. Reviewed by Tony Chang.
  6035. Rebaseline server: add updating of baselines
  6036. https://bugs.webkit.org/show_bug.cgi?id=50305
  6037. Implements updating of baselines, where we copy -actual.* files over
  6038. the current -expected.* files. To do this, we need a
  6039. _get_actual_result_files method to get test results files and a
  6040. _rebaseline_test method to actually do the file copy and SCM operation.
  6041. _rebaseline_test logs output into a buffer, this is useful for both
  6042. showing result in the UI and for unit tests.
  6043. To make passing around of the various test environment properties
  6044. (results directory, filesystem, SCM, etc) easier, add a TestConfig
  6045. class for them.
  6046. Moving of existing baselines is not implemented yet, this patch is big
  6047. enough as it is.
  6048. * Scripts/webkitpy/common/system/filesystem.py:
  6049. * Scripts/webkitpy/common/system/filesystem_mock.py:
  6050. * Scripts/webkitpy/tool/commands/data/rebaselineserver/queue.js:
  6051. * Scripts/webkitpy/tool/commands/rebaselineserver.py:
  6052. * Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py:
  6053. * Scripts/webkitpy/tool/mocktool.py:
  6054. 2010-12-02 Brent Fulgham <bfulgham@webkit.org>
  6055. Unreviewed build fix after vcproj updates.
  6056. * DumpRenderTree/win/DumpRenderTreeCairo.vsprops: Make sure
  6057. that WIN_CAIRO is defined for this build.
  6058. * DumpRenderTree/win/DumpRenderTreePreBuild.cmd: Update file
  6059. to reflect new 'Debug_Cairo_CFLite' and 'Release_Cairo_CFLite'
  6060. (these were previously 'Debug_Cairo' and 'Release_Cairo'
  6061. 2010-12-02 Sam Weinig <sam@webkit.org>
  6062. Reviewed by Anders Carlsson.
  6063. WebKit2 needs API to turn on popup blocking
  6064. https://bugs.webkit.org/show_bug.cgi?id=50407
  6065. * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
  6066. (TestWebKitAPI::TEST):
  6067. * WebKitTestRunner/TestController.cpp:
  6068. (WTR::TestController::resetStateToConsistentValues):
  6069. 2010-12-01 Tony Chang <tony@chromium.org>
  6070. Reviewed by Ojan Vafai.
  6071. [chromium] force NRWT to use DRT
  6072. https://bugs.webkit.org/show_bug.cgi?id=50359
  6073. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  6074. 2010-12-02 Martin Robinson <mrobinson@igalia.com>
  6075. Reviewed by Xan Lopez.
  6076. [GTK] DumpRenderTree has two copies of JavaScriptCore
  6077. https://bugs.webkit.org/show_bug.cgi?id=49877
  6078. * GNUmakefile.am: Remove the second copy of JavaScriptCore from the
  6079. LDADD list for DumpRenderTree.
  6080. 2010-12-02 Sergio Villar Senin <svillar@igalia.com>
  6081. Unreviewed: Added myself to list of Committers.
  6082. * Scripts/webkitpy/common/config/committers.py:
  6083. 2010-12-01 Mihai Parparita <mihaip@chromium.org>
  6084. Reviewed by Adam Barth.
  6085. build-webkit --chromium always updates DEPS and re-generates project files
  6086. https://bugs.webkit.org/show_bug.cgi?id=50340
  6087. Make build-webkit --chromium invoke update-webkit-chromium only when
  6088. --update-chromium is passed in, so that we don't add 20 seconds to all
  6089. builds.
  6090. Making all invocations update was added with r61883, with the goal of
  6091. making EWS bots always update. The bots will switch to using this flag
  6092. (as will all other webkit-patch build steps) so nothing should change
  6093. for them.
  6094. * Scripts/webkitdirs.pm:
  6095. * Scripts/webkitpy/common/config/ports.py:
  6096. * Scripts/webkitpy/common/config/ports_unittest.py:
  6097. 2010-12-01 Dirk Pranke <dpranke@chromium.org>
  6098. Reviewed by Tony Chang.
  6099. new-run-webkit-tests: add a --dry-run / -n flag
  6100. https://bugs.webkit.org/show_bug.cgi?id=50045
  6101. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  6102. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  6103. 2010-12-01 Steve Falkenburg <sfalken@apple.com>
  6104. Reviewed by Adam Roben.
  6105. WinCairo build should not use link-time code generation (LTCG)
  6106. https://bugs.webkit.org/show_bug.cgi?id=50353
  6107. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  6108. * DumpRenderTree/win/DumpRenderTree.vcproj:
  6109. * DumpRenderTree/win/ImageDiff.vcproj:
  6110. * FindSafari/FindSafari.vcproj:
  6111. * MiniBrowser/MiniBrowser.vcproj:
  6112. * TestWebKitAPI/win/TestWebKitAPI.vcproj:
  6113. * WebKitAPITest/WebKitAPITest.vcproj:
  6114. * WebKitLauncherWin/WebKitLauncherWin.vcproj:
  6115. * WebKitTestRunner/win/InjectedBundle.vcproj:
  6116. * WebKitTestRunner/win/WebKitTestRunner.vcproj:
  6117. * WinLauncher/WinLauncher.vcproj:
  6118. * record-memory-win/record-memory-win.vcproj:
  6119. 2010-12-01 Martin Robinson <mrobinson@igalia.com>
  6120. Touch GetUserAgentWithNullNPPFromNPPNew.cpp in an effort to force
  6121. a rebuild of TestNetscapePlugin.la on GTK+. It seems that simply
  6122. adding the file to the sources list was not enough to force the rebuild.
  6123. * DumpRenderTree/TestNetscapePlugIn/Tests/GetUserAgentWithNullNPPFromNPPNew.cpp:
  6124. Remove an empty line at the end of this file to force a rebuild.
  6125. 2010-12-01 Sam Weinig <sam@webkit.org>
  6126. Fix windows build.
  6127. * MiniBrowser/win/BrowserView.cpp:
  6128. (BrowserView::create):
  6129. 2010-12-01 Martin Robinson <mrobinson@igalia.com>
  6130. Add missing file to the TestNetscapePlugin sources list after r73057.
  6131. * GNUmakefile.am: Add missing file.
  6132. 2010-12-01 Sam Weinig <sam@webkit.org>
  6133. Reviewed by Anders Carlsson.
  6134. Add PageGrouping to WebKit2 API
  6135. https://bugs.webkit.org/show_bug.cgi?id=50332
  6136. - Update testing harnesses to deal with new PageGroup API.
  6137. * MiniBrowser/mac/WebBundle/WebBundleMain.m:
  6138. (WKBundleInitialize):
  6139. * TestWebKitAPI/InjectedBundleController.cpp:
  6140. (TestWebKitAPI::InjectedBundleController::initialize):
  6141. (TestWebKitAPI::InjectedBundleController::didInitializePageGroup):
  6142. (TestWebKitAPI::InjectedBundleController::initializeTestNamed):
  6143. * TestWebKitAPI/InjectedBundleController.h:
  6144. * TestWebKitAPI/InjectedBundleTest.h:
  6145. (TestWebKitAPI::InjectedBundleTest::initialize):
  6146. (TestWebKitAPI::InjectedBundleTest::didInitializePageGroup):
  6147. * TestWebKitAPI/PlatformUtilities.cpp:
  6148. (TestWebKitAPI::Util::createContextForInjectedBundleTest):
  6149. * TestWebKitAPI/PlatformUtilities.h:
  6150. * TestWebKitAPI/PlatformWebView.h:
  6151. * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp:
  6152. (TestWebKitAPI::TEST):
  6153. * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp:
  6154. (TestWebKitAPI::DocumentStartUserScriptAlertCrashTest::initialize):
  6155. * TestWebKitAPI/mac/PlatformWebViewMac.mm:
  6156. (TestWebKitAPI::PlatformWebView::PlatformWebView):
  6157. * TestWebKitAPI/win/PlatformWebViewWin.cpp:
  6158. (TestWebKitAPI::PlatformWebView::PlatformWebView):
  6159. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  6160. (WTR::InjectedBundle::didInitializePageGroup):
  6161. (WTR::InjectedBundle::initialize):
  6162. (WTR::InjectedBundle::beginTesting):
  6163. * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
  6164. (WTR::InjectedBundle::pageGroup):
  6165. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  6166. (WTR::LayoutTestController::addUserScript):
  6167. (WTR::LayoutTestController::addUserStyleSheet):
  6168. (WTR::LayoutTestController::setXSSAuditorEnabled):
  6169. * WebKitTestRunner/TestController.cpp:
  6170. * WebKitTestRunner/win/PlatformWebViewWin.cpp:
  6171. (WTR::PlatformWebView::PlatformWebView):
  6172. 2010-12-01 Steve Falkenburg <sfalken@apple.com>
  6173. Reviewed by Adam Roben.
  6174. vcproj changes can't be applied cleanly by the Windows EWS bot
  6175. https://bugs.webkit.org/show_bug.cgi?id=50328
  6176. * CLWrapper/CLWrapper.sln: Modified property svn:eol-style.
  6177. * CLWrapper/CLWrapper.vcproj: Modified property svn:eol-style.
  6178. * DumpRenderTree/DumpRenderTree.sln: Modified property svn:eol-style.
  6179. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginCommon.vsprops: Added property svn:eol-style.
  6180. * DumpRenderTree/win/DumpRenderTree.vcproj: Modified property svn:eol-style.
  6181. * DumpRenderTree/win/DumpRenderTreeApple.vsprops: Added property svn:eol-style.
  6182. * DumpRenderTree/win/DumpRenderTreeCFLite.vsprops: Added property svn:eol-style.
  6183. * DumpRenderTree/win/DumpRenderTreeCairo.vsprops: Added property svn:eol-style.
  6184. * DumpRenderTree/win/DumpRenderTreeCommon.vsprops: Added property svn:eol-style.
  6185. * DumpRenderTree/win/ImageDiff.vcproj: Modified property svn:eol-style.
  6186. * DumpRenderTree/win/ImageDiffCommon.vsprops: Added property svn:eol-style.
  6187. * FindSafari/FindSafari.vcproj: Modified property svn:eol-style.
  6188. * FindSafari/FindSafariCommon.vsprops: Added property svn:eol-style.
  6189. * MIDLWrapper/MIDLWrapper.sln: Modified property svn:eol-style.
  6190. * MIDLWrapper/MIDLWrapper.vcproj: Modified property svn:eol-style.
  6191. * MiniBrowser/Configurations/MiniBrowserCFLite.vsprops: Added property svn:eol-style.
  6192. * MiniBrowser/Configurations/MiniBrowserCommon.vsprops: Added property svn:eol-style.
  6193. * MiniBrowser/Configurations/MiniBrowserCoreFoundation.vsprops: Added property svn:eol-style.
  6194. * MiniBrowser/MiniBrowser.vcproj: Added property svn:eol-style.
  6195. * TestWebKitAPI/Configurations/TestWebKitAPICFLite.vsprops: Added property svn:eol-style.
  6196. * TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops: Added property svn:eol-style.
  6197. * TestWebKitAPI/Configurations/TestWebKitAPICoreFoundation.vsprops: Added property svn:eol-style.
  6198. * TestWebKitAPI/win/TestWebKitAPI.sln: Added property svn:eol-style.
  6199. * TestWebKitAPI/win/TestWebKitAPI.vcproj: Added property svn:eol-style.
  6200. * TestWebKitAPI/win/TestWebKitAPIGenerated.vcproj: Added property svn:eol-style.
  6201. * TestWebKitAPI/win/TestWebKitAPIGeneratedCommon.vsprops: Added property svn:eol-style.
  6202. * WebKitAPITest/WebKitAPITest.vcproj: Added property svn:eol-style.
  6203. * WebKitAPITest/WebKitAPITestCommon.vsprops: Added property svn:eol-style.
  6204. * WebKitLauncherWin/WebKitLauncherWin.vcproj: Modified property svn:eol-style.
  6205. * WebKitLauncherWin/WebKitLauncherWinCommon.vsprops: Added property svn:eol-style.
  6206. * WebKitTestRunner/Configurations/InjectedBundleCFLite.vsprops: Added property svn:eol-style.
  6207. * WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops: Added property svn:eol-style.
  6208. * WebKitTestRunner/Configurations/InjectedBundleCoreFoundation.vsprops: Added property svn:eol-style.
  6209. * WebKitTestRunner/Configurations/WebKitTestRunnerCFLite.vsprops: Added property svn:eol-style.
  6210. * WebKitTestRunner/Configurations/WebKitTestRunnerCommon.vsprops: Added property svn:eol-style.
  6211. * WebKitTestRunner/Configurations/WebKitTestRunnerCoreFoundation.vsprops: Added property svn:eol-style.
  6212. * WebKitTestRunner/WebKitTestRunner.sln: Added property svn:eol-style.
  6213. * WebKitTestRunner/win/InjectedBundle.vcproj: Added property svn:eol-style.
  6214. * WebKitTestRunner/win/InjectedBundleGenerated.vcproj: Added property svn:eol-style.
  6215. * WebKitTestRunner/win/InjectedBundleGeneratedCommon.vsprops: Added property svn:eol-style.
  6216. * WebKitTestRunner/win/WebKitTestRunner.vcproj: Added property svn:eol-style.
  6217. * WinLauncher/WinLauncher.vcproj: Modified property svn:eol-style.
  6218. * WinLauncher/WinLauncherCommon.vsprops: Added property svn:eol-style.
  6219. * record-memory-win/record-memory-win-common.vsprops: Added property svn:eol-style.
  6220. * record-memory-win/record-memory-win.vcproj: Modified property svn:eol-style.
  6221. 2010-12-01 Anders Carlsson <andersca@apple.com>
  6222. Reviewed by Darin Adler.
  6223. Return a correct user agent if NPN_UserAgent is called with a null NPP from NPP_New.
  6224. https://bugs.webkit.org/show_bug.cgi?id=50336
  6225. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  6226. Add new test.
  6227. * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
  6228. (PluginTest::NPP_New):
  6229. Add default implementation/
  6230. * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
  6231. * DumpRenderTree/TestNetscapePlugIn/Tests/GetUserAgentWithNullNPPFromNPPNew.cpp: Added.
  6232. (GetUserAgentWithNullNPPFromNPPNew::GetUserAgentWithNullNPPFromNPPNew):
  6233. (GetUserAgentWithNullNPPFromNPPNew::NPP_New):
  6234. Get the user agent.
  6235. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  6236. (NPP_New):
  6237. Call PluginTest::NPP_New.
  6238. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  6239. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  6240. Add new files.
  6241. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  6242. (webkit_test_plugin_new_instance):
  6243. Call PluginTest::NPP_New.
  6244. 2010-12-01 Kevin Ollivier <kevino@theolliviers.com>
  6245. [wx] Build fixes after recent trunk changes.
  6246. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  6247. (LayoutTestController::findString):
  6248. * wx/build/settings.py:
  6249. 2010-12-01 Dan Bernstein <mitz@apple.com>
  6250. Reviewed by Darin Adler.
  6251. WebKitTestRunner needs layoutTestController.findString
  6252. https://bugs.webkit.org/show_bug.cgi?id=50238
  6253. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: Added findString().
  6254. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  6255. (WTR::LayoutTestController::findString): Updated signature for autogenerated bindings.
  6256. * WebKitTestRunner/InjectedBundle/LayoutTestController.h: Ditto.
  6257. 2010-12-01 Steve Falkenburg <sfalken@apple.com>
  6258. Try using svn:eol-style native on a vcproj file.
  6259. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj: Modified property svn:eol-style.
  6260. 2010-12-01 Patrick Gansterer <paroga@webkit.org>
  6261. Reviewed by Adam Roben.
  6262. [WINCE] Add WinCELauncher
  6263. https://bugs.webkit.org/show_bug.cgi?id=50217
  6264. * WinCELauncher/main.cpp: Added.
  6265. 2010-11-30 Benjamin Poulain <benjamin.poulain@nokia.com>
  6266. Reviewed by Kenneth Rohde Christiansen.
  6267. [Qt] Implement layoutTestController.findString
  6268. https://bugs.webkit.org/show_bug.cgi?id=50236
  6269. Add the missing function to the LayoutTestController.
  6270. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  6271. (LayoutTestController::findString):
  6272. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  6273. 2010-11-30 Tony Chang <tony@chromium.org>
  6274. Reviewed by Adam Barth.
  6275. [chromium] fix get-int-identifier-special-values.html using TestNetscapePlugIn
  6276. https://bugs.webkit.org/show_bug.cgi?id=49036
  6277. * DumpRenderTree/chromium/LayoutTestController.cpp: Use IsNumber instead of IsInt32
  6278. for CppVariants.
  6279. (LayoutTestController::cppVariantToBool):
  6280. (LayoutTestController::cppVariantToInt32):
  6281. (LayoutTestController::setDatabaseQuota):
  6282. (LayoutTestController::evaluateInWebInspector):
  6283. (LayoutTestController::setMockGeolocationError):
  6284. 2010-11-30 Eric Seidel <eric@webkit.org>
  6285. Reviewed by Tony Chang.
  6286. update-webkit should call git fetch before git svn rebase
  6287. https://bugs.webkit.org/show_bug.cgi?id=50273
  6288. After discussion on webkit-dev, we've decided to move the "default"
  6289. git setup to pulling updates from git.webkit.org in preference
  6290. to rebuilding the local svn index using git svn fetch every time.
  6291. This change should have no effect on people using the "old" git setup
  6292. and should dramatically increase the speed of updates for those using
  6293. the "new" git setup along with update-webkit. I'm about to move the
  6294. EWS and other queues over to this setup once this lands.
  6295. * Scripts/update-webkit:
  6296. 2010-11-30 Mario Sanchez Prada <msanchez@igalia.com>
  6297. Reviewed by Xan Lopez.
  6298. GTK: AX: implement press in DRT
  6299. https://bugs.webkit.org/show_bug.cgi?id=36146
  6300. Implement AccessibilityUIElement::press() for GTK.
  6301. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  6302. (AccessibilityUIElement::press): Implemented.
  6303. 2010-11-29 Mihai Parparita <mihaip@chromium.org>
  6304. Reviewed by Tony Chang.
  6305. config.webkit_base_dir returns a path with a trailing slash
  6306. https://bugs.webkit.org/show_bug.cgi?id=50197
  6307. config.webkit_base_dir() should return a path without a trailing slash,
  6308. like all the other methods that return paths.
  6309. Undoes MockFileSytem changes by r72640, since they're no longer
  6310. necessary for GetBaselinesTest to pass.
  6311. * Scripts/webkitpy/common/system/filesystem_mock.py:
  6312. * Scripts/webkitpy/layout_tests/port/base.py:
  6313. * Scripts/webkitpy/layout_tests/port/config.py:
  6314. * Scripts/webkitpy/layout_tests/port/config_unittest.py:
  6315. 2010-11-30 Mihai Parparita <mihaip@chromium.org>
  6316. Reviewed by Tony Chang.
  6317. Rebaseline server: baseline display tweaks
  6318. https://bugs.webkit.org/show_bug.cgi?id=50207
  6319. Determine which baselines were used when running the tests and highlight
  6320. them in the UI. Sort platform names alphabetically.
  6321. Also makes the server URL be launched in the user's browser
  6322. automatically.
  6323. * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css:
  6324. * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
  6325. * Scripts/webkitpy/tool/commands/data/rebaselineserver/util.js:
  6326. * Scripts/webkitpy/tool/commands/rebaselineserver.py:
  6327. * Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py:
  6328. 2010-11-30 Dan Bernstein <mitz@apple.com>
  6329. Reviewed by Anders Carlsson.
  6330. <rdar://problem/8710645> WebKitTestRunner needs layoutTestController.findString
  6331. https://bugs.webkit.org/show_bug.cgi?id=50238
  6332. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  6333. (WTR::LayoutTestController::findString): Added.
  6334. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  6335. 2010-11-30 Steve Falkenburg <sfalken@apple.com>
  6336. Reviewed by Adam Roben.
  6337. All projects on Windows should use cmd files for build events
  6338. https://bugs.webkit.org/show_bug.cgi?id=50213
  6339. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginCommon.vsprops:
  6340. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginPostBuild.cmd: Added.
  6341. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginPreBuild.cmd: Added.
  6342. * DumpRenderTree/win/DumpRenderTreeCommon.vsprops:
  6343. * DumpRenderTree/win/DumpRenderTreePostBuild.cmd: Added.
  6344. * DumpRenderTree/win/DumpRenderTreePreBuild.cmd: Added.
  6345. * DumpRenderTree/win/ImageDiffCommon.vsprops:
  6346. * DumpRenderTree/win/ImageDiffPostBuild.cmd: Added.
  6347. * DumpRenderTree/win/ImageDiffPreBuild.cmd: Added.
  6348. * MiniBrowser/Configurations/MiniBrowserCFLite.vsprops:
  6349. * MiniBrowser/Configurations/MiniBrowserCommon.vsprops:
  6350. * MiniBrowser/Configurations/MiniBrowserCoreFoundation.vsprops:
  6351. * MiniBrowser/MiniBrowserPostBuild.cmd: Added.
  6352. * MiniBrowser/MiniBrowserPreBuild.cmd: Added.
  6353. * TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops:
  6354. * TestWebKitAPI/win/TestWebKitAPIPostBuild.cmd: Added.
  6355. * TestWebKitAPI/win/TestWebKitAPIPreBuild.cmd: Added.
  6356. * WebKitAPITest/WebKitAPITestCommon.vsprops:
  6357. * WebKitAPITest/WebKitAPITestPostBuild.cmd: Added.
  6358. * WebKitAPITest/WebKitAPITestPreBuild.cmd: Added.
  6359. * WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops:
  6360. * WebKitTestRunner/Configurations/WebKitTestRunnerCommon.vsprops:
  6361. * WebKitTestRunner/win/InjectedBundlePostBuild.cmd: Added.
  6362. * WebKitTestRunner/win/InjectedBundlePreBuild.cmd: Added.
  6363. * WebKitTestRunner/win/WebKitTestRunnerPostBuild.cmd: Added.
  6364. * WebKitTestRunner/win/WebKitTestRunnerPreBuild.cmd: Added.
  6365. * WinLauncher/WinLauncherCommon.vsprops:
  6366. * WinLauncher/WinLauncherPostBuild.cmd: Added.
  6367. * WinLauncher/WinLauncherPreBuild.cmd: Added.
  6368. 2010-11-29 Dan Bernstein <mitz@apple.com>
  6369. GTK DumpRenderTree build fix after r72887.
  6370. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  6371. (LayoutTestController::findString):
  6372. 2010-11-29 Dan Bernstein <mitz@apple.com>
  6373. Windows DumpRenderTree build fix after r72887.
  6374. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  6375. (LayoutTestController::findString): Added empty implementation.
  6376. 2010-11-29 Dan Bernstein <mitz@apple.com>
  6377. Reviewed by Darin Adler.
  6378. DumpRenderTree changes for testing the text search API.
  6379. https://bugs.webkit.org/show_bug.cgi?id=50038
  6380. * DumpRenderTree/LayoutTestController.cpp:
  6381. (findStringCallback):
  6382. (LayoutTestController::staticFunctions):
  6383. * DumpRenderTree/LayoutTestController.h:
  6384. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  6385. (LayoutTestController::findString):
  6386. * MiniBrowser/mac/BrowserWindowController.m:
  6387. (-[BrowserWindowController find:]):
  6388. 2010-11-29 Johnny Ding <jnd@chromium.org>
  6389. Unreviewed: Add myself to the list of Committers.
  6390. * Scripts/webkitpy/common/config/committers.py:
  6391. 2010-11-29 Mark Rowe <mrowe@apple.com>
  6392. Reviewed by Adele Peterson.
  6393. <rdar://problem/8694997> DumpRenderTree fails to build.
  6394. * DumpRenderTree/mac/PerlSupport/Makefile: Skip generating wrappers.
  6395. 2010-11-29 Mark Rowe <mrowe@apple.com>
  6396. Reviewed by Adele Peterson.
  6397. <rdar://problem/8694997> DumpRenderTree fails to build.
  6398. * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupportPregenerated.pm: Renamed from WebKitTools/DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupportTiger.pm.
  6399. * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupport_wrapPregenerated.c: Renamed from WebKitTools/DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupport_wrapTiger.c.
  6400. * DumpRenderTree/mac/PerlSupport/Makefile:
  6401. 2010-11-29 Mario Sanchez Prada <msanchez@igalia.com>
  6402. Reviewed by Martin Robinson.
  6403. [GTK] Null-check needed in DRT's AccessibilityUIElement::allAtributes()
  6404. https://bugs.webkit.org/show_bug.cgi?id=50154
  6405. Added missing checks to allAttributes().
  6406. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  6407. (AccessibilityUIElement::allAttributes): Added missing checks.
  6408. 2010-11-29 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  6409. Reviewed by Kenneth Rohde Christiansen.
  6410. [Qt] Allow pre-generation for package builds for WebKit2
  6411. https://bugs.webkit.org/show_bug.cgi?id=50139
  6412. Use a build variable for the generated directory path and set the
  6413. value based on CONFIG just like for WebKit1.
  6414. For non-package builds use a relative base path for the
  6415. genrated directory just like for WebKit1.
  6416. * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
  6417. * WebKitTestRunner/qt/WebKitTestRunner.pro:
  6418. 2010-11-28 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  6419. Reviewed by Kenneth Rohde Christiansen.
  6420. [Qt] Move some build logic from Qt to platform independent code
  6421. https://bugs.webkit.org/show_bug.cgi?id=50134
  6422. Create target directories inside generate-forwarding-headers.pl.
  6423. * Scripts/generate-forwarding-headers.pl:
  6424. 2010-11-24 Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
  6425. Reviewed by Martin Robinson.
  6426. [GTK] Windowless plugins gets broken key input
  6427. https://bugs.webkit.org/show_bug.cgi?id=49927
  6428. Convert the XEvent::keycode to ASCII before printing it. Not
  6429. doing this was causing false positive in
  6430. plugins/keyboard-events.html.
  6431. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  6432. (keycode_to_char):
  6433. (webkit_test_plugin_handle_event):
  6434. 2010-11-24 Jan Erik Hanssen <jhanssen@sencha.com>
  6435. Reviewed by Antonio Gomes.
  6436. [Qt] Html autofocus not working with QGraphicsWebView
  6437. https://bugs.webkit.org/show_bug.cgi?id=43169
  6438. Tell the scene to set the webview item as the currently
  6439. focused item. This makes the input field with autofocus get
  6440. focus as it should.
  6441. * QtTestBrowser/webview.cpp:
  6442. (WebViewGraphicsBased::WebViewGraphicsBased):
  6443. 2010-11-24 Dirk Pranke <dpranke@chromium.org>
  6444. Reviewed by Tony Chang.
  6445. nrwt - clean up create_driver interface and print out the
  6446. command line used for DumpRenderTree/TestShell.
  6447. This patch adds a driver_cmd_line() call to the Port class in
  6448. order to retrive the command line to print it out (as part of
  6449. --print config).
  6450. In addition, this patch cleans up the Port.create_driver()
  6451. signature and the Driver constructor interface to take a worker
  6452. number and no longer require the image_path argument (Chromium's
  6453. drivers now synthesize the image_path from the worker number
  6454. internally).
  6455. https://bugs.webkit.org/show_bug.cgi?id=49934
  6456. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  6457. * Scripts/webkitpy/layout_tests/layout_package/printing.py:
  6458. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  6459. * Scripts/webkitpy/layout_tests/port/base.py:
  6460. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  6461. * Scripts/webkitpy/layout_tests/port/chromium.py:
  6462. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  6463. * Scripts/webkitpy/layout_tests/port/dryrun.py:
  6464. * Scripts/webkitpy/layout_tests/port/port_testcase.py:
  6465. * Scripts/webkitpy/layout_tests/port/test.py:
  6466. * Scripts/webkitpy/layout_tests/port/webkit.py:
  6467. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  6468. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  6469. 2010-11-24 Ojan Vafai <ojan@chromium.org>
  6470. Reviewed by Tony Chang.
  6471. [chromium] improve memory usage for test results server and store fewer runs
  6472. https://bugs.webkit.org/show_bug.cgi?id=50035
  6473. Store fewer runs and don't pass full files around when we only need bools.
  6474. Greatly improves error rates on test-results.appspot.com.
  6475. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  6476. * TestResultServer/handlers/testfilehandler.py:
  6477. * TestResultServer/model/dashboardfile.py:
  6478. * TestResultServer/model/jsonresults.py:
  6479. 2010-11-24 Dirk Pranke <dpranke@chromium.org>
  6480. Reviewed by Tony Chang.
  6481. This patch implements the first part of the manager side of the
  6482. Broker objects - it handles creating threads, waiting for them
  6483. to complete, and running a single-threaded loop as well.
  6484. https://bugs.webkit.org/show_bug.cgi?id=49779
  6485. * Scripts/webkitpy/layout_tests/layout_package/message_broker.py:
  6486. * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py:
  6487. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  6488. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  6489. 2010-11-24 Mihai Parparita <mihaip@chromium.org>
  6490. Reviewed by David Levin.
  6491. DRT should not generate pixel output for text/plain tests
  6492. https://bugs.webkit.org/show_bug.cgi?id=50002
  6493. Modify Mac, Windows and GTK DRT implementations to disable pixel output
  6494. when encountering a text/plain response (the Chromium one already does
  6495. this, and none of the other ports special-case text/plain output in
  6496. the first place).
  6497. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  6498. (dump):
  6499. * DumpRenderTree/mac/DumpRenderTree.mm:
  6500. (dump):
  6501. * DumpRenderTree/win/DumpRenderTree.cpp:
  6502. (dump):
  6503. 2010-11-24 Andras Becsi <abecsi@inf.u-szeged.hu>
  6504. Unreviewed.
  6505. Add my other email address to committers.py.
  6506. * Scripts/webkitpy/common/config/committers.py:
  6507. 2010-11-24 Andras Becsi <abecsi@inf.u-szeged.hu>
  6508. Reviewed by Csaba Osztrogonác.
  6509. Make build-webkit --minimal build with ENABLE_INSPECTOR=0
  6510. https://bugs.webkit.org/show_bug.cgi?id=49975
  6511. * Scripts/build-webkit: Add ENABLE_INSPECTOR define to features,
  6512. to enable the script to define it 0 in case of a minimal build.
  6513. 2010-11-24 Martin Robinson <mrobinson@igalia.com>
  6514. Reviewed by Xan Lopez.
  6515. [GTK] The WebKitWebView should expose a set of signals encapsulating the behavior of the EditorClient
  6516. https://bugs.webkit.org/show_bug.cgi?id=49143
  6517. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  6518. (createWebView): Call the new connectEditingCallbacks function.
  6519. * DumpRenderTree/gtk/EditingCallbacks.cpp: Added.
  6520. (dumpNodePath):
  6521. (dumpRange):
  6522. (insertActionString):
  6523. (selectionAffinityString):
  6524. (shouldBeginEditing):
  6525. (shouldEndEditing):
  6526. (shouldInsertNode):
  6527. (shouldInsertText):
  6528. (shouldDeleteRange):
  6529. (shouldShowDeleteInterfaceForElement):
  6530. (shouldChangeSelectedRange):
  6531. (shouldApplyStyle):
  6532. (editingBegan):
  6533. (userChangedContents):
  6534. (editingEnded):
  6535. (selectionChanged):
  6536. (connectEditingCallbacks):
  6537. * DumpRenderTree/gtk/EditingCallbacks.h: Added.
  6538. * GNUmakefile.am: Added EditingCallbacks.{h,cpp} to the source list.
  6539. 2010-11-24 Yi Shen <yi.4.shen@nokia.com>
  6540. Reviewed by Andreas Kling.
  6541. [Qt] Make QtTestBrowser remember the selected user agent
  6542. https://bugs.webkit.org/show_bug.cgi?id=50021
  6543. Set user agent for a new page by using the old page's
  6544. * QtTestBrowser/mainwindow.cpp:
  6545. (MainWindow::setPage):
  6546. 2010-11-24 Patrick Gansterer <paroga@webkit.org>
  6547. Reviewed by Csaba Osztrogonác.
  6548. Remove Bakefile build system files
  6549. https://bugs.webkit.org/show_bug.cgi?id=49983
  6550. r53757 only removed the content, but not the files.
  6551. This patch removes that empty files.
  6552. * DumpRenderTree/wx/DumpRenderTree.bkl: Removed.
  6553. * wx/browser/browser.bkl: Removed.
  6554. * wx/build-wxwebkit: Removed.
  6555. 2010-11-23 Dirk Pranke <dpranke@chromium.org>
  6556. Reviewed by Tony Chang.
  6557. This patch cleans up the logic used to shard tests into groups a
  6558. bit and adds the --worker-model flag to NRWT. The flag is only
  6559. used at the moment to control whether to run single-threaded or
  6560. not, but eventually will also allow toggling between threads and
  6561. processes.
  6562. Also add a minor cleanup with _test_is_slow(), which just
  6563. eliminates some repetition and gives slightly better encapsulation.
  6564. https://bugs.webkit.org/show_bug.cgi?id=49773
  6565. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  6566. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  6567. 2010-11-23 Mihai Parparita <mihaip@chromium.org>
  6568. Reviewed by Tony Chang.
  6569. Rebaseline server: list current baselines and platforms
  6570. https://bugs.webkit.org/show_bug.cgi?id=49991
  6571. List existing baselines (with Trac links) for tests.
  6572. Add dropdowns for choosing with platform baselines to target (and what
  6573. to do with existing ones).
  6574. Also fix MockFileSystem.join to behave more like os.path.join (unit
  6575. test was ending up with two consecutive slashes in a layout test
  6576. path).
  6577. * Scripts/webkitpy/common/system/filesystem_mock.py:
  6578. * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html:
  6579. * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css:
  6580. * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
  6581. * Scripts/webkitpy/tool/commands/data/rebaselineserver/queue.js:
  6582. * Scripts/webkitpy/tool/commands/data/rebaselineserver/util.js:
  6583. * Scripts/webkitpy/tool/commands/rebaselineserver.py:
  6584. * Scripts/webkitpy/tool/commands/rebaselineserver_unittest.py: Added.
  6585. 2010-11-23 Ojan Vafai <ojan@chromium.org>
  6586. Reviewed by Tony Chang.
  6587. remove timeout argument to urlopen
  6588. https://bugs.webkit.org/show_bug.cgi?id=49995
  6589. Apparently the version of python we have on the bots doesn't accept a timeout argument.
  6590. * Scripts/webkitpy/layout_tests/layout_package/test_results_uploader.py:
  6591. 2010-11-23 Sheriff Bot <webkit.review.bot@gmail.com>
  6592. Unreviewed, rolling out r72628.
  6593. http://trac.webkit.org/changeset/72628
  6594. https://bugs.webkit.org/show_bug.cgi?id=49994
  6595. This patch is causing layout-test failtures on GTK Linux
  6596. 64-bit Debug (Requested by ctguil on #webkit).
  6597. * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
  6598. (AccessibilityUIElement::AccessibilityUIElement):
  6599. (AccessibilityUIElement::parentElementCallback):
  6600. * DumpRenderTree/chromium/AccessibilityUIElement.h:
  6601. * DumpRenderTree/chromium/CppBoundClass.cpp:
  6602. * DumpRenderTree/chromium/CppBoundClass.h:
  6603. 2010-11-22 Ojan Vafai <ojan@chromium.org>
  6604. Reviewed by Tony Chang.
  6605. speculative fix for upload errors: stop using mechanize to upload to test-results.appspot.com
  6606. https://bugs.webkit.org/show_bug.cgi?id=49944
  6607. * Scripts/webkitpy/layout_tests/layout_package/test_results_uploader.py:
  6608. 2010-11-23 Chris Guillory <chris.guillory@google.com>
  6609. Reviewed by Dimitri Glazkov.
  6610. Include the FrameView widget of a RenderWidget in the accessibility tree.
  6611. https://bugs.webkit.org/show_bug.cgi?id=49106
  6612. * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
  6613. (AccessibilityUIElement::AccessibilityUIElement):
  6614. (AccessibilityUIElement::parentElementCallback):
  6615. (AccessibilityUIElement::isEqualCallback):
  6616. * DumpRenderTree/chromium/AccessibilityUIElement.h:
  6617. * DumpRenderTree/chromium/CppBoundClass.cpp:
  6618. (CppBoundClass::getFromCppVariant):
  6619. * DumpRenderTree/chromium/CppBoundClass.h:
  6620. 2010-11-23 Alex Grilo <abgrilo@profusion.mobi>
  6621. Reviewed by Kenneth Rohde Christiansen.
  6622. [EFL] Add tiled backing store to EWebLauncher
  6623. https://bugs.webkit.org/show_bug.cgi?id=45777
  6624. Allow EWebLauncher to choose between single and tiled backing store
  6625. * EWebLauncher/main.c:
  6626. (on_key_down):
  6627. (browserCreate):
  6628. (main):
  6629. 2010-11-23 Simon Hausmann <simon.hausmann@nokia.com>
  6630. Reviewed by Tor Arne Vestbø.
  6631. [Qt] Review the setUserPermission & friends API
  6632. https://bugs.webkit.org/show_bug.cgi?id=46810
  6633. Renamed requestPermissionFromUser to featurePermissionRequested
  6634. and cancelRequestsForPermission to featurePermissionRequestCanceled.
  6635. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  6636. (WebCore::WebPage::WebPage):
  6637. * QtTestBrowser/webpage.cpp:
  6638. (WebPage::WebPage):
  6639. (WebPage::featurePermissionRequestCanceled):
  6640. * QtTestBrowser/webpage.h:
  6641. 2010-11-23 Simon Hausmann <simon.hausmann@nokia.com>
  6642. Reviewed by Tor Arne Vestbø.
  6643. [Qt] Review the setUserPermission & friends API
  6644. https://bugs.webkit.org/show_bug.cgi?id=46810
  6645. Rename setUserPermission to setFeaturePermission
  6646. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  6647. (WebCore::WebPage::requestPermission):
  6648. (WebCore::WebPage::permissionSet):
  6649. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  6650. (LayoutTestController::grantDesktopNotificationPermission):
  6651. * QtTestBrowser/webpage.cpp:
  6652. (WebPage::requestPermission):
  6653. 2010-11-23 Simon Hausmann <simon.hausmann@nokia.com>
  6654. Reviewed by Tor Arne Vestbø.
  6655. [Qt] Review the setUserPermission & friends API
  6656. https://bugs.webkit.org/show_bug.cgi?id=46810
  6657. Rename PermissionDomain to Feature, NotificationsPermissionDomain to Notifications
  6658. and GeolocationPermissionDomain to Geolocation.
  6659. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  6660. (WebCore::WebPage::WebPage):
  6661. (WebCore::WebPage::requestPermission):
  6662. (WebCore::WebPage::cancelPermission):
  6663. (WebCore::WebPage::permissionSet):
  6664. (WebCore::DumpRenderTree::geolocationPermissionSet):
  6665. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  6666. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  6667. (LayoutTestController::grantDesktopNotificationPermission):
  6668. * QtTestBrowser/webpage.cpp:
  6669. (WebPage::WebPage):
  6670. (WebPage::requestPermission):
  6671. (WebPage::cancelRequestsForPermission):
  6672. * QtTestBrowser/webpage.h:
  6673. 2010-11-23 Simon Hausmann <simon.hausmann@nokia.com>
  6674. Reviewed by Tor Arne Vestbø.
  6675. [Qt] Review the setUserPermission & friends API
  6676. https://bugs.webkit.org/show_bug.cgi?id=46810
  6677. Add a ByUser suffix to PermissionGranted/Denied. In the future
  6678. we can add PermissionGrantedByDefault.
  6679. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  6680. (WebCore::WebPage::requestPermission):
  6681. (WebCore::WebPage::permissionSet):
  6682. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  6683. (LayoutTestController::grantDesktopNotificationPermission):
  6684. * QtTestBrowser/webpage.cpp:
  6685. (WebPage::requestPermission):
  6686. 2010-11-18 Satish Sampath <satish@chromium.org>
  6687. Reviewed by Jeremy Orlow.
  6688. For speech input event, send an event object containing all the recognition results and metadata.
  6689. https://bugs.webkit.org/show_bug.cgi?id=49736
  6690. Updated DRT by renaming the mock result method on all platforms to the new signature.
  6691. * DumpRenderTree/LayoutTestController.cpp:
  6692. (addMockSpeechInputResultCallback):
  6693. (LayoutTestController::staticFunctions):
  6694. * DumpRenderTree/LayoutTestController.h:
  6695. * DumpRenderTree/chromium/LayoutTestController.cpp:
  6696. (LayoutTestController::LayoutTestController):
  6697. (LayoutTestController::addMockSpeechInputResult):
  6698. * DumpRenderTree/chromium/LayoutTestController.h:
  6699. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  6700. (LayoutTestController::addMockSpeechInputResult):
  6701. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  6702. (LayoutTestController::addMockSpeechInputResult):
  6703. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  6704. (LayoutTestController::addMockSpeechInputResult):
  6705. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  6706. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  6707. (LayoutTestController::addMockSpeechInputResult):
  6708. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  6709. (LayoutTestController::addMockSpeechInputResult):
  6710. 2010-11-22 Dirk Pranke <dpranke@chromium.org>
  6711. Reviewed by Tony Chang.
  6712. Fix some spacing issues with log messages with
  6713. new-run-webkit-tests --verbose.
  6714. https://bugs.webkit.org/show_bug.cgi?id=49936
  6715. * Scripts/webkitpy/layout_tests/layout_package/printing.py:
  6716. 2010-11-22 Ojan Vafai <ojan@chromium.org>
  6717. Reviewed by Adam Barth.
  6718. update scm to work with different remote branches
  6719. https://bugs.webkit.org/show_bug.cgi?id=49949
  6720. This works if there are multiple svn tracking branches
  6721. and/or if the tracking branch is refs/remots/origin/master
  6722. instead of refs/remotes/trunk which is the direction we're trying
  6723. to head since that makes fetches faster.
  6724. * Scripts/webkitpy/common/checkout/scm.py:
  6725. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  6726. 2010-11-22 Hayato Ito <hayato@chromium.org>
  6727. Reviewed by Shinichiro Hamaji.
  6728. Ignore reference files which will be used by reftests when collecting
  6729. test cases.
  6730. https://bugs.webkit.org/show_bug.cgi?id=49835
  6731. * Scripts/webkitpy/layout_tests/port/test_files.py:
  6732. * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
  6733. 2010-11-22 Adam Roben <aroben@apple.com>
  6734. Use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops files
  6735. Apple's Windows build allows placing header files and import libraries for WebKit's
  6736. dependencies (CoreGraphics, CFNetwork, SQLite, etc.) outside the source tree via the
  6737. $WebKitLibrariesDir environment variable. This is both required for production builds and
  6738. convenient for Apple-internal developer builds. Apple's production builds also require that
  6739. WebKit's shared .vsprops files be accessed relative to $WebKitLibrariesDir. In production
  6740. builds, the files are copied into that directory tree by the
  6741. WebKitLibraries/win/tools/WinTools.make file. In Apple-internal developer builds, the
  6742. copying is done by
  6743. JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make.
  6744. This .vsprops copying is problematic in one very important case: when a developer updates
  6745. their source tree and then tries to build. Visual Studio only reads .vsprops files when a
  6746. project is first loaded. So, when Visual Studio is first opened after the .vsprops files are
  6747. updated, it reads in the old files that were already residing in $WebKitLibrariesDir. When a
  6748. build is started, JavaScriptCoreGenerated.make copies the new .vsprops files into
  6749. $WebKitLibrariesDir, but Visual Studio will not pick up the changes. The rest of the build
  6750. will proceed with out-of-date .vsprops files, which will likely result in a build failure.
  6751. To fix this, we now use normal relative paths to access the .vsprops files in the source
  6752. tree rather than in $WebKitLibrariesDir, but prefix those paths with a new environment
  6753. variable, $WebKitVSPropsRedirectionDir. In developer builds, this environment variable is
  6754. unset, so the normal relative paths are used to read the .vsprops files out of the source
  6755. tree directly. In production builds, this environment variable is set to a fake directory
  6756. that will cause the .vsprops files in $WebKitLibrariesDir to be found when the relative path
  6757. is resolved.
  6758. For example, JavaScriptCore.vcproj uses this path for FeatureDefines.vsprops:
  6759. $(WebKitVSPropsRedirectionDir)..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
  6760. In developer builds, where $WebKitVSPropsRedirectionDir is unset, this will point to the
  6761. files in WebKitLibraries\win\tools\vsprops in the source tree. In production builds,
  6762. JavaScriptCore.make sets $WebKitVSPropsRedirectionDir to
  6763. "$(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\", so the full path for
  6764. FeatureDefines.vsprops becomes:
  6765. $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
  6766. which resolves to:
  6767. $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
  6768. (We rely on the fact that Windows doesn't care whether the directories "1", "2", and "3"
  6769. actually exist since they are matched by an equal number of ".." path components.)
  6770. Note that Visual Studio still won't pick up changes made to .vsprops files while Visual
  6771. Studio is open, but that problem hasn't seemed to cause developers many headaches so far.
  6772. Fixes <http://webkit.org/b/49181> Windows build fails mysteriously when .vsprops files are
  6773. updated
  6774. Reviewed by Dave Hyatt.
  6775. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  6776. * DumpRenderTree/win/DumpRenderTree.vcproj:
  6777. * DumpRenderTree/win/ImageDiff.vcproj:
  6778. * FindSafari/FindSafari.vcproj:
  6779. * MiniBrowser/MiniBrowser.vcproj:
  6780. * TestWebKitAPI/win/TestWebKitAPI.vcproj:
  6781. * TestWebKitAPI/win/TestWebKitAPIGenerated.vcproj:
  6782. * WebKitAPITest/WebKitAPITest.vcproj:
  6783. * WebKitLauncherWin/WebKitLauncherWin.vcproj:
  6784. * WebKitTestRunner/win/InjectedBundle.vcproj:
  6785. * WebKitTestRunner/win/WebKitTestRunner.vcproj:
  6786. * WinLauncher/WinLauncher.vcproj:
  6787. * record-memory-win/record-memory-win.vcproj:
  6788. Changed to use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops
  6789. files.
  6790. 2010-11-22 Adam Roben <aroben@apple.com>
  6791. Make it possible to run tests on Windows without Visual Studio or VC++
  6792. Express installed
  6793. webkitdir.pm::setupCygwinEnv dies when Visual Studio and VC++ Express
  6794. are not installed. But this function doesn't need to be called when we
  6795. already have a build available and are just trying to run the tests.
  6796. Fixes <http://webkit.org/b/49932> New Windows 7 bot can't run tests
  6797. because Visual Studio/VC++ Express aren't installed
  6798. Reviewed by Dave Hyatt.
  6799. * Scripts/webkitdirs.pm:
  6800. (determineConfigurationForVisualStudio): Don't call setupCygwinEnv, as
  6801. it is not needed by this function. Also added a FIXME.
  6802. (usingVisualStudioExpress): Call setupCygwinEnv directly rather than
  6803. relying on determineConfigurationForVisualStudio doing it.
  6804. 2010-11-19 Hayato Ito <hayato@chromium.org>
  6805. Reviewed by Shinichiro Hamaji.
  6806. Simplify Driver.run_test() so that it takes only one parameter, TestInput.
  6807. https://bugs.webkit.org/show_bug.cgi?id=49812
  6808. * Scripts/webkitpy/layout_tests/driver_test.py:
  6809. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  6810. * Scripts/webkitpy/layout_tests/port/base.py:
  6811. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  6812. * Scripts/webkitpy/layout_tests/port/chromium.py:
  6813. * Scripts/webkitpy/layout_tests/port/dryrun.py:
  6814. * Scripts/webkitpy/layout_tests/port/test.py:
  6815. * Scripts/webkitpy/layout_tests/port/webkit.py:
  6816. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  6817. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  6818. 2010-11-22 Hayato Ito <hayato@chromium.org>
  6819. Reviewed by Tony Chang.
  6820. [NRWT] Retry a few times in reading a png image to avoid a race condition.
  6821. https://bugs.webkit.org/show_bug.cgi?id=49924
  6822. * Scripts/webkitpy/layout_tests/port/chromium.py:
  6823. 2010-11-22 João Paulo Rechi Vita <jprvita@profusion.mobi>
  6824. Reviewed by Kenneth Rohde Christiansen.
  6825. Fix EWebLauncher zoom discretization
  6826. https://bugs.webkit.org/show_bug.cgi?id=49810
  6827. * EWebLauncher/main.c:
  6828. (nearest_zoom_level_get):
  6829. (zoom_level_set):
  6830. (on_load_finished):
  6831. (on_key_down):
  6832. 2010-11-21 Sam Weinig <sam@webkit.org>
  6833. Rubber-stamped by Dan Bernstein.
  6834. Fix ~300 WebKit2 tests by enabling developer extras preference.
  6835. * WebKitTestRunner/TestController.cpp:
  6836. (WTR::TestController::resetStateToConsistentValues):
  6837. 2010-11-21 Sam Weinig <sam@webkit.org>
  6838. Reviewed by Dan Bernstein.
  6839. Textareas should be resizable by default
  6840. https://bugs.webkit.org/show_bug.cgi?id=49892
  6841. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  6842. * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp: Added.
  6843. * TestWebKitAPI/win/TestWebKitAPI.vcproj:
  6844. Add preferences test.
  6845. 2010-11-19 Mihai Parparita <mihaip@chromium.org>
  6846. Reviewed by Tony Chang.
  6847. Rebaseline server: checksum-only differences and prefetching
  6848. https://bugs.webkit.org/show_bug.cgi?id=49841
  6849. Add support for image test results where the only difference is in the
  6850. checksum.
  6851. Add prefetching of the image results from the next test.
  6852. * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html:
  6853. * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css:
  6854. * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
  6855. 2010-11-19 Dirk Pranke <dpranke@chromium.org>
  6856. Reviewed by Tony Chang.
  6857. nrwt multiprocessing - add 'worker number' concept, move stuff to worker thread
  6858. Add the 'worker number' and 'worker name' concepts to the
  6859. TestShellThread objects, and move test_types and test_args from
  6860. the TestRunner to the TestShellThread.
  6861. https://bugs.webkit.org/show_bug.cgi?id=49768
  6862. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  6863. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  6864. 2010-11-19 Dirk Pranke <dpranke@chromium.org>
  6865. Reviewed by Ojan Vafai.
  6866. Do some minor cleanup and bug fixing.
  6867. https://bugs.webkit.org/show_bug.cgi?id=49777
  6868. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  6869. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  6870. 2010-11-19 Dirk Pranke <dpranke@chromium.org>
  6871. Reviewed by Ojan Vafai.
  6872. nrwt - config.build_directory() is busted
  6873. Fixes a typo that was causing us to usually return the top level
  6874. directory WebKitBuild instead of WebKitBuild/{Debug,Release}. The
  6875. bug was hidden by test stubs that were too simplistic :(.
  6876. https://bugs.webkit.org/show_bug.cgi?id=49815
  6877. * Scripts/webkitpy/common/system/executive_mock.py:
  6878. * Scripts/webkitpy/layout_tests/port/config.py:
  6879. * Scripts/webkitpy/layout_tests/port/config_unittest.py:
  6880. 2010-11-19 Steve Falkenburg <sfalken@apple.com>
  6881. Reviewed by Adam Roben.
  6882. Add Debug_Cairo_CFLite and Release_Cairo_CFLite configurations for all vcproj files
  6883. https://bugs.webkit.org/show_bug.cgi?id=49819
  6884. * DumpRenderTree/DumpRenderTree.sln:
  6885. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  6886. * DumpRenderTree/win/DumpRenderTree.vcproj:
  6887. * DumpRenderTree/win/ImageDiff.vcproj:
  6888. * FindSafari/FindSafari.vcproj:
  6889. * MiniBrowser/MiniBrowser.vcproj:
  6890. * TestWebKitAPI/win/TestWebKitAPI.sln:
  6891. * TestWebKitAPI/win/TestWebKitAPI.vcproj:
  6892. * TestWebKitAPI/win/TestWebKitAPIGenerated.vcproj:
  6893. * WebKitAPITest/WebKitAPITest.vcproj:
  6894. * WebKitLauncherWin/WebKitLauncherWin.vcproj:
  6895. * WebKitTestRunner/win/InjectedBundle.vcproj:
  6896. * WebKitTestRunner/win/InjectedBundleGenerated.vcproj:
  6897. * WebKitTestRunner/win/WebKitTestRunner.vcproj:
  6898. * WinLauncher/WinLauncher.vcproj:
  6899. * record-memory-win/record-memory-win.vcproj:
  6900. 2010-11-19 Adam Roben <aroben@apple.com>
  6901. Add some more Windows slaves
  6902. This is probably more than we will be using in the immediate future,
  6903. but having some extra slave names makes experimenting with different
  6904. configurations easier.
  6905. Reviewed by Jon Honeycutt.
  6906. * BuildSlaveSupport/build.webkit.org-config/config.json: Added 5 more
  6907. Windows slaves and distributed them among the three different Test
  6908. builders.
  6909. 2010-11-19 Kinuko Yasuda <kinuko@chromium.org>
  6910. Reviewed by Ojan Vafai.
  6911. [Chromium] REGRESSION: Record actual test results in the JSON result summary for non-layout tests
  6912. https://bugs.webkit.org/show_bug.cgi?id=49702
  6913. Re-landing r72357 with a test fix.
  6914. * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
  6915. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  6916. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
  6917. 2010-11-19 Avi Drissman <avi@google.com>
  6918. Reviewed by Antonio Gomes.
  6919. Complete support for Unix editing mode
  6920. https://bugs.webkit.org/show_bug.cgi?id=49757
  6921. * DumpRenderTree/LayoutTestController.cpp:
  6922. (setEditingBehaviorCallback):
  6923. * DumpRenderTree/chromium/LayoutTestController.cpp:
  6924. (LayoutTestController::setEditingBehavior):
  6925. 2010-11-19 Adam Roben <aroben@apple.com>
  6926. Fix run-javascriptcore-tests when there's a space in the path to
  6927. testapi
  6928. Reviewed by Sam Weinig.
  6929. * Scripts/run-javascriptcore-tests: Use an indirect object when calling
  6930. system() to force it to interpret spaces in the path correctly.
  6931. 2010-11-19 Adam Roben <aroben@apple.com>
  6932. Update scripts for .exe name changes after r72327
  6933. As of r72327, the "_debug" suffix is only used in Debug_All builds.
  6934. Reviewed by Sam Weinig.
  6935. * Scripts/run-javascriptcore-tests:
  6936. (testapiPath):
  6937. * Scripts/sunspider-compare-results:
  6938. (pathToBuiltJSC):
  6939. * Scripts/webkitdirs.pm:
  6940. (jscPath):
  6941. (safariPath):
  6942. 2010-11-19 Steve Falkenburg <sfalken@apple.com>
  6943. Reviewed by Darin Adler.
  6944. Normalize Cairo/CFLite project/solution configuration names
  6945. https://bugs.webkit.org/show_bug.cgi?id=49818
  6946. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  6947. * DumpRenderTree/win/DumpRenderTree.vcproj:
  6948. * DumpRenderTree/win/ImageDiff.vcproj:
  6949. * MiniBrowser/MiniBrowser.vcproj:
  6950. * TestWebKitAPI/win/TestWebKitAPI.sln:
  6951. * TestWebKitAPI/win/TestWebKitAPI.vcproj:
  6952. * WebKitAPITest/WebKitAPITest.vcproj:
  6953. * WebKitTestRunner/win/InjectedBundle.vcproj:
  6954. * WebKitTestRunner/win/WebKitTestRunner.vcproj:
  6955. * WinLauncher/WinLauncher.vcproj:
  6956. * Scripts/webkitdirs.pm: Updated cairo build configs.
  6957. 2010-11-18 Steve Falkenburg <sfalken@apple.com>
  6958. Reviewed by Adam Roben.
  6959. Windows vcproj configuration names should be normalized across projects
  6960. https://bugs.webkit.org/show_bug.cgi?id=49776
  6961. * DumpRenderTree/DumpRenderTree.sln:
  6962. * FindSafari/FindSafari.vcproj:
  6963. * TestWebKitAPI/win/TestWebKitAPI.sln:
  6964. * TestWebKitAPI/win/TestWebKitAPIGenerated.vcproj:
  6965. * TestWebKitAPI/win/TestWebKitAPIGeneratedCommon.vsprops: Added.
  6966. * WebKitAPITest/WebKitAPITest.vcproj:
  6967. * WebKitAPITest/WebKitAPITestCommon.vsprops:
  6968. * WebKitLauncherWin/WebKitLauncherWin.vcproj:
  6969. * WebKitTestRunner/WebKitTestRunner.sln:
  6970. * WebKitTestRunner/win/InjectedBundleGenerated.vcproj:
  6971. * WebKitTestRunner/win/InjectedBundleGeneratedCommon.vsprops: Added.
  6972. * record-memory-win/record-memory-win.vcproj:
  6973. 2010-11-18 Gavin Barraclough <barraclough@apple.com>
  6974. Build fix - as per DRT-mac, always enabled developer extras,
  6975. in win/qt/gtk DRT.
  6976. This is necessary to enable rich exception messages to be generated
  6977. following https://bugs.webkit.org/show_bug.cgi?id=49708.
  6978. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  6979. (shouldEnableDeveloperExtras):
  6980. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  6981. (WebCore::shouldEnableDeveloperExtras):
  6982. * DumpRenderTree/win/DumpRenderTree.cpp:
  6983. (shouldEnableDeveloperExtras):
  6984. 2010-11-18 Sheriff Bot <webkit.review.bot@gmail.com>
  6985. Unreviewed, rolling out r72357.
  6986. http://trac.webkit.org/changeset/72357
  6987. https://bugs.webkit.org/show_bug.cgi?id=49784
  6988. It broke test-webkitpy tests since the patch didn't have the
  6989. corresponding test update (Requested by kinuko on #webkit).
  6990. * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
  6991. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  6992. 2010-11-18 Mihai Parparita <mihaip@chromium.org>
  6993. Reviewed by Tony Chang.
  6994. Rebaseline server: add rebaseline queue
  6995. https://bugs.webkit.org/show_bug.cgi?id=49763
  6996. Add a UI queue (a multi-item <select>) where tests to be baselined
  6997. can be enqueued (also supports basic removal). A queue is used instead
  6998. of immediately doing rebaselines since SCM operations can take a while.
  6999. It's better to go through lots of tests quickly to mark them as
  7000. needing rebaselining and then batch the SCM operations.
  7001. Also adds a simple log where results can be displayed.
  7002. * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html:
  7003. * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css:
  7004. * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
  7005. * Scripts/webkitpy/tool/commands/data/rebaselineserver/queue.js: Added.
  7006. * Scripts/webkitpy/tool/commands/data/rebaselineserver/util.js:
  7007. * Scripts/webkitpy/tool/commands/rebaselineserver.py:
  7008. 2010-11-18 Gavin Barraclough <barraclough@apple.com>
  7009. Reviewed by Oliver Hunt.
  7010. Bug 49708 - Stop recompiling functions to regenerate exception info.
  7011. Instead only hold info as necessary – keep divot info is the inspector
  7012. is enabled, line number info is debugging or profiling, and handler
  7013. info for functions with try/catch.
  7014. * DumpRenderTree/mac/DumpRenderTree.mm:
  7015. (shouldEnableDeveloperExtras):
  7016. - always enable the developer tools from DRT, to ensure we
  7017. produce rich error messages on JavaScript exceptions.
  7018. 2010-11-18 Kinuko Yasuda <kinuko@chromium.org>
  7019. Reviewed by Ojan Vafai.
  7020. [Chromium] REGRESSION: Record actual test results in the JSON result summary for non-layout tests
  7021. https://bugs.webkit.org/show_bug.cgi?id=49702
  7022. * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
  7023. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  7024. 2010-11-18 Dirk Pranke <dpranke@chromium.org>
  7025. Reviewed by Tony Chang.
  7026. new-run-webkit-tests: create first part of 'message_broker' class for multiprocessing fixes
  7027. Create the first version of the 'message_broker' package. This
  7028. class will encapsulate all of the threading/multiprocessing and
  7029. message-sending details for the communication between the
  7030. 'manager' object and the 'worker' objects. For the moment, it
  7031. just holds some routines and tests for logging thread stacks.
  7032. There should be no functional changes in this patch, just moving stuff
  7033. around.
  7034. https://bugs.webkit.org/show_bug.cgi?id=49707
  7035. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  7036. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread_unittest.py: Removed.
  7037. * Scripts/webkitpy/layout_tests/layout_package/message_broker.py: Added.
  7038. * Scripts/webkitpy/layout_tests/layout_package/message_broker_unittest.py: Added.
  7039. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  7040. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  7041. 2010-11-18 Steve Falkenburg <sfalken@apple.com>
  7042. Reviewed by Adam Roben.
  7043. Remove leftover Windows Debug_Internal configurations
  7044. https://bugs.webkit.org/show_bug.cgi?id=49758
  7045. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  7046. * DumpRenderTree/win/DumpRenderTree.vcproj:
  7047. * DumpRenderTree/win/ImageDiff.vcproj:
  7048. * MiniBrowser/MiniBrowser.vcproj:
  7049. * TestWebKitAPI/win/TestWebKitAPI.vcproj:
  7050. * WebKitAPITest/WebKitAPITest.vcproj:
  7051. * WebKitTestRunner/win/InjectedBundle.vcproj:
  7052. * WebKitTestRunner/win/WebKitTestRunner.vcproj:
  7053. * WinLauncher/WinLauncher.vcproj:
  7054. 2010-11-18 Adam Roben <aroben@apple.com>
  7055. Add three new Windows XP build slaves
  7056. Reviewed by Steve Falkenburg.
  7057. * BuildSlaveSupport/build.webkit.org-config/config.json: Added three
  7058. new slaves, and added them to the Windows XP Debug (Tests) builder.
  7059. 2010-11-18 Daniel Bates <dbates@rim.com>
  7060. Reviewed by Adam Roben.
  7061. update-webkit-support-libs should fall back to existing
  7062. WebKitSupportLibrary version if there is no internet connectivity
  7063. https://bugs.webkit.org/show_bug.cgi?id=49503
  7064. Fall back to existing support libraries (if present) when there is
  7065. no internet connection.
  7066. Currently, update-webkit-support-libs dies with an "out-of-date"
  7067. error when there is no internet connection because it cannot
  7068. retrieve versioning information from developer.apple.com. Because
  7069. update-webkit-support-libs fails, build-webkit fails. Instead,
  7070. if there is no internet connection and the support libraries are
  7071. present then we should warn the user and exit() with success so
  7072. that build-webkit can work without an internet connection.
  7073. * Scripts/update-webkit-support-libs:
  7074. 2010-11-18 Steve Falkenburg <sfalken@apple.com>
  7075. Reviewed by Adam Roben.
  7076. Debug_Internal Windows configuration is unnecessary, should be removed
  7077. https://bugs.webkit.org/show_bug.cgi?id=49753
  7078. * DumpRenderTree/win/DumpRenderTree.cpp:
  7079. * MiniBrowser/win/stdafx.h:
  7080. * TestWebKitAPI/win/PlatformUtilitiesWin.cpp:
  7081. * WebKitTestRunner/win/TestControllerWin.cpp:
  7082. 2010-11-18 Steve Falkenburg <sfalken@apple.com>
  7083. Reviewed by Adam Roben.
  7084. Clean up vcproj errors
  7085. https://bugs.webkit.org/show_bug.cgi?id=49741
  7086. * MiniBrowser/MiniBrowser.vcproj:
  7087. * WebKitAPITest/WebKitAPITest.vcproj:
  7088. * WebKitTestRunner/win/InjectedBundle.vcproj:
  7089. * WebKitTestRunner/win/WebKitTestRunner.vcproj:
  7090. 2010-11-18 Hayato Ito <hayato@chromium.org>
  7091. Reviewed by Shinichiro Hamaji.
  7092. [NRWT] Fix a break of '--new-baseline' feature in pixel_test
  7093. which is caused by r72249.
  7094. https://bugs.webkit.org/show_bug.cgi?id=49751
  7095. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  7096. 2010-11-18 Adam Roben <aroben@apple.com>
  7097. Implement layoutTestController.waitForPolicyDelegate on Windows
  7098. Fixes <http://webkit.org/b/25038> <rdar://problem/6790213>.
  7099. Reviewed by Simon Fraser.
  7100. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  7101. (LayoutTestController::waitForPolicyDelegate): Implemented by porting
  7102. code from LayoutTestControllerMac.mm.
  7103. 2010-11-18 Hayato Ito <hayato@chromium.org>
  7104. Reviewed by Shinichiro Hamaji.
  7105. [NRWT] Fix a break of '--new-baseline' feature which is caused by r72249.
  7106. https://bugs.webkit.org/show_bug.cgi?id=49740
  7107. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  7108. 2010-11-18 Tony Chang <tony@chromium.org>
  7109. Reviewed by Adam Barth.
  7110. run platform/chromium/plugins/refcount-leaks.html on all platforms
  7111. https://bugs.webkit.org/show_bug.cgi?id=49485
  7112. Add PluginObject.testObjectCount which returns the number of allocated
  7113. TestObjects. Add PluginObject.testCreateTestObject which allocates
  7114. and returns a TestObject.
  7115. Add TestObject.refCount which returns the number of refs on the
  7116. TestObject.
  7117. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
  7118. (pluginGetProperty):
  7119. (pluginInvoke):
  7120. * DumpRenderTree/TestNetscapePlugIn/TestObject.cpp:
  7121. (getTestObjectCount):
  7122. (testAllocate):
  7123. (testDeallocate):
  7124. (testGetProperty):
  7125. (testScriptObjectInvoke): Release a ref to a plugin object that was
  7126. previously leaked.
  7127. * DumpRenderTree/TestNetscapePlugIn/TestObject.h:
  7128. 2010-11-17 Steve Falkenburg <sfalken@apple.com>
  7129. Reviewed by Adam Roben.
  7130. WebKitTools projects (WebKitTestRunner, record-memory-win) should use vsprops for common build settings
  7131. https://bugs.webkit.org/show_bug.cgi?id=49711
  7132. * WebKitTestRunner/Configurations/WebKitTestRunnerCFLite.vsprops: Added.
  7133. * WebKitTestRunner/Configurations/WebKitTestRunnerCommon.vsprops: Added.
  7134. * WebKitTestRunner/Configurations/WebKitTestRunnerCoreFoundation.vsprops: Added.
  7135. * WebKitTestRunner/win/WebKitTestRunner.vcproj:
  7136. * record-memory-win/record-memory-win-common.vsprops: Added.
  7137. * record-memory-win/record-memory-win.vcproj:
  7138. 2010-11-18 Andras Becsi <abecsi@inf.u-szeged.hu>
  7139. Reviewed by Csaba Osztrogonác.
  7140. [Qt][WK2] Only add user agent strings to the list which aren't listed yet.
  7141. * MiniBrowser/qt/BrowserWindow.cpp:
  7142. (BrowserWindow::updateUserAgentList):
  7143. 2010-11-17 Adam Roben <aroben@apple.com>
  7144. Don't trigger Windows builds when chromium-win test results change
  7145. Reviewed by Mark Rowe.
  7146. * Scripts/webkitpy/common/config/build.py:
  7147. (_should_file_trigger_build): Changed the regular expression used to
  7148. search for directory names to only consider full directory names,
  7149. rather than matching directory names where the string we care about is
  7150. a suffix of the name.
  7151. * Scripts/webkitpy/common/config/build_unittest.py:
  7152. (ShouldBuildTest): Added a test.
  7153. 2010-11-17 Hayato Ito <hayato@chromium.org>
  7154. Reviewed by Shinichiro Hamaji.
  7155. Remove a uri member from TestInput class.
  7156. https://bugs.webkit.org/show_bug.cgi?id=49691
  7157. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  7158. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  7159. 2010-11-17 Adam Roben <aroben@apple.com>
  7160. Move FindSafari's settings into a vsprops file
  7161. Fixes <http://webkit.org/b/49699> FindSafari should use a vsprops file
  7162. Reviewed by Steve Falkenburg.
  7163. * FindSafari/FindSafari.vcproj:
  7164. * FindSafari/FindSafariCommon.vsprops: Added.
  7165. 2010-11-17 Adam Roben <aroben@apple.com>
  7166. Use a minimum font size of 0 in DRT on Windows
  7167. This is the Windows equivalent of r72164.
  7168. Rubber-stamped by Dave Hyatt.
  7169. * DumpRenderTree/win/DumpRenderTree.cpp:
  7170. (resetDefaultsToConsistentValues):
  7171. 2010-11-17 Dirk Pranke <dpranke@chromium.org>
  7172. Reviewed by Andreas Kling.
  7173. webkit-patch pretty-diff shouldn't need to be run from a checkout root in git
  7174. https://bugs.webkit.org/show_bug.cgi?id=49639
  7175. * Scripts/webkitpy/common/checkout/scm.py:
  7176. 2010-11-17 Mihai Parparita <mihaip@chromium.org>
  7177. Reviewed by Tony Chang.
  7178. Rebaseline server: add loupe for image diffs
  7179. https://bugs.webkit.org/show_bug.cgi?id=49692
  7180. Add a loupe (magnifiying glass) for inspecting image diffs. Shows an
  7181. enlarged area of the expected, actual and diff images side by side.
  7182. * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html:
  7183. * Scripts/webkitpy/tool/commands/data/rebaselineserver/loupe.js: Added.
  7184. * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
  7185. * Scripts/webkitpy/tool/commands/rebaselineserver.py:
  7186. 2010-11-17 Steve Falkenburg <sfalken@apple.com>
  7187. Reviewed by Adam Roben.
  7188. WebKitLauncherWin should use vsprops for shared build settings
  7189. https://bugs.webkit.org/show_bug.cgi?id=49696
  7190. * WebKitLauncherWin/WebKitLauncherWin.vcproj:
  7191. * WebKitLauncherWin/WebKitLauncherWinCommon.vsprops: Added.
  7192. 2010-11-17 Steve Falkenburg <sfalken@apple.com>
  7193. Reviewed by Adam Roben.
  7194. WinLauncher should use vsprops for shared build settings
  7195. https://bugs.webkit.org/show_bug.cgi?id=49695
  7196. * WinLauncher/WinLauncher.cpp:
  7197. (_tWinMain):
  7198. (PrintView):
  7199. (WndProc):
  7200. (MyEditProc):
  7201. * WinLauncher/WinLauncher.vcproj:
  7202. * WinLauncher/WinLauncherCommon.vsprops: Added.
  7203. 2010-11-17 Steve Falkenburg <sfalken@apple.com>
  7204. Delete unused file unintentionally added in last change.
  7205. * DumpRenderTree/win/DumpRenderTreeCURL.vsprops: Removed.
  7206. 2010-11-17 Steve Falkenburg <sfalken@apple.com>
  7207. Reviewed by Adam Roben.
  7208. DumpRenderTree on Windows should use a vsprops file for shared project settings
  7209. https://bugs.webkit.org/show_bug.cgi?id=49690
  7210. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  7211. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePluginCommon.vsprops: Added.
  7212. * DumpRenderTree/win/DumpRenderTree.vcproj:
  7213. * DumpRenderTree/win/DumpRenderTreeApple.vsprops: Added.
  7214. * DumpRenderTree/win/DumpRenderTreeCFLite.vsprops: Added.
  7215. * DumpRenderTree/win/DumpRenderTreeCURL.vsprops: Added.
  7216. * DumpRenderTree/win/DumpRenderTreeCairo.vsprops: Added.
  7217. * DumpRenderTree/win/DumpRenderTreeCommon.vsprops: Added.
  7218. * DumpRenderTree/win/ImageDiff.vcproj:
  7219. * DumpRenderTree/win/ImageDiffCommon.vsprops: Added.
  7220. 2010-11-17 Hayato Ito <hayato@chromium.org>
  7221. Refactor TestTypeBase.compare_output().
  7222. Introduce a TestOutput class and update compare_output() of each test
  7223. types so that they can take both actual and expected TestOutput objects.
  7224. https://bugs.webkit.org/show_bug.cgi?id=49431
  7225. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  7226. * Scripts/webkitpy/layout_tests/layout_package/test_output.py: Added.
  7227. * Scripts/webkitpy/layout_tests/port/base.py:
  7228. * Scripts/webkitpy/layout_tests/port/chromium.py:
  7229. * Scripts/webkitpy/layout_tests/port/dryrun.py:
  7230. * Scripts/webkitpy/layout_tests/port/test.py:
  7231. * Scripts/webkitpy/layout_tests/port/webkit.py:
  7232. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  7233. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  7234. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  7235. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  7236. 2010-11-17 Adam Roben <aroben@apple.com>
  7237. Make each Windows Test builder use the same OS for all its slaves
  7238. Currently each WebKit1 Windows Test builder has one Windows XP slave
  7239. and one Windows 7 slave. Having different OSes in a single builder
  7240. meant that the builders would alternate between red and green when
  7241. there were OS-specific failures.
  7242. Fixes <http://webkit.org/b/49688> Windows Test builders alternate
  7243. between red and green because of multiple OS versions
  7244. Reviewed by Mark Rowe.
  7245. * BuildSlaveSupport/build.webkit.org-config/config.json: Renamed
  7246. "Windows Release (Tests)" to "Windows 7 Release (Tests)", "Windows
  7247. Debug (Tests)" to "Windows XP Debug (Tests)", and "Windows Release
  7248. (WebKit2 Tests)" to "Windows 7 Release (WebKit2 Tests)". Updated the
  7249. builders for the two WebKit1 builders so that they would all use the
  7250. appropriate OS.
  7251. 2010-11-17 James Robinson <jamesr@chromium.org>
  7252. Reviewed by Dan Bernstein.
  7253. [chromium] Set minimum font size to 0 for DRT
  7254. https://bugs.webkit.org/show_bug.cgi?id=49677
  7255. Followup for http://trac.webkit.org/changeset/72141.
  7256. Test: http/tests/misc/acid3.html
  7257. * DumpRenderTree/chromium/WebPreferences.cpp:
  7258. (WebPreferences::reset):
  7259. 2010-11-17 Andras Becsi <abecsi@webkit.org>
  7260. Unreviewed build fix.
  7261. [Qt] Add missing file I forgot in r72220.
  7262. * MiniBrowser/MiniBrowser.qrc: Added.
  7263. 2010-11-17 Andras Becsi <abecsi@webkit.org>
  7264. Reviewed by Andreas Kling.
  7265. [Qt][WK2] Make it possible to set custom user agent strings in MiniBrowser.
  7266. https://bugs.webkit.org/show_bug.cgi?id=49627
  7267. Add a user agent dialog and a resource file for useragentlist.txt to MiniBrowser.
  7268. * MiniBrowser/MiniBrowser.qrc: Added.
  7269. Add it here to prevent qmake from detecting it
  7270. since it needs to be copied to the build directory.
  7271. * MiniBrowser/qt/BrowserWindow.cpp:
  7272. (BrowserWindow::BrowserWindow):
  7273. (BrowserWindow::updateUserAgentList):
  7274. (BrowserWindow::showUserAgentDialog):
  7275. * MiniBrowser/qt/BrowserWindow.h:
  7276. * MiniBrowser/qt/MiniBrowser.pro:
  7277. 2010-11-17 Adam Roben <aroben@apple.com>
  7278. Make changes to the Mac WebKit2 Skipped file trigger Windows builds
  7279. We use that file on Windows!
  7280. Fixes <http://webkit.org/b/49643> Changes to
  7281. LayoutTests/platform/mac-wk2 should trigger a Windows build, but don't
  7282. Reviewed by Steve Falkenburg.
  7283. * Scripts/webkitpy/common/config/build.py:
  7284. (_should_file_trigger_build): Added the mac-wk2 directory and make it
  7285. trigger builds on SnowLeopard and Windows.
  7286. * Scripts/webkitpy/common/config/build_unittest.py:
  7287. (ShouldBuildTest.test_should_build): Added a test.
  7288. 2010-11-17 Satish Sampath <satish@chromium.org>
  7289. Reviewed by Jeremy Orlow.
  7290. Clear the speech input mock explicitly before each test.
  7291. https://bugs.webkit.org/show_bug.cgi?id=49660
  7292. * DumpRenderTree/chromium/LayoutTestController.cpp:
  7293. (LayoutTestController::setMockSpeechInputResult):
  7294. * DumpRenderTree/chromium/LayoutTestController.h:
  7295. * DumpRenderTree/chromium/WebViewHost.cpp:
  7296. (WebViewHost::speechInputController):
  7297. (WebViewHost::reset): Invoke speech input mock's clearResults method.
  7298. * DumpRenderTree/chromium/WebViewHost.h:
  7299. (WebViewHost::speechInputControllerMock): Moved mock from LayoutTestController.
  7300. 2010-11-17 Alexander Pavlov <apavlov@chromium.org>
  7301. Unreviewed, specify IRC nickname in committers.py.
  7302. * Scripts/webkitpy/common/config/committers.py:
  7303. 2010-11-17 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  7304. Reviewed by Tony Chang.
  7305. [NRWT] Make http locking similar to perl implementation
  7306. https://bugs.webkit.org/show_bug.cgi?id=49187
  7307. * Scripts/webkitpy/common/system/file_lock.py: Added.
  7308. * Scripts/webkitpy/common/system/file_lock_unittest.py: Added.
  7309. * Scripts/webkitpy/layout_tests/port/http_lock.py:
  7310. 2010-11-17 MORITA Hajime <morrita@google.com>
  7311. Reviewed by Kent Tamura.
  7312. [Chromium][DRT] EventSender.contextClick() should aware spellchecking
  7313. https://bugs.webkit.org/show_bug.cgi?id=49366
  7314. - EvenSender: Checked WebContextMenuData.misspelledWord and added extra context menu entries
  7315. according to the spellchecker suggestion
  7316. - MockSpellCheck: add fillSuggestionList to provide fake suggestions.
  7317. test_expectations.txt will be changed after this change is ported to test_shell.
  7318. * DumpRenderTree/chromium/EventSender.cpp:
  7319. (makeMenuItemStringsFor):
  7320. (EventSender::contextClick):
  7321. * DumpRenderTree/chromium/MockSpellCheck.cpp:
  7322. (MockSpellCheck::fillSuggestionList):
  7323. (MockSpellCheck::initializeIfNeeded):
  7324. * DumpRenderTree/chromium/MockSpellCheck.h:
  7325. * DumpRenderTree/chromium/WebViewHost.cpp:
  7326. (WebViewHost::mockSpellCheck):
  7327. * DumpRenderTree/chromium/WebViewHost.h:
  7328. 2010-11-16 Dave Hyatt <hyatt@apple.com>
  7329. Reviewed by Sam Weinig.
  7330. Make sure the pref for minimum font size is just explicitly set to 0 every time,
  7331. since the bots have 1 stuck in their plist otherwise.
  7332. * DumpRenderTree/mac/DumpRenderTree.mm:
  7333. (resetDefaultsToConsistentValues):
  7334. 2010-11-16 Mihai Parparita <mihaip@chromium.org>
  7335. Reviewed by Tony Chang.
  7336. Rebaseline server: compute diffs client-side
  7337. https://bugs.webkit.org/show_bug.cgi?id=49640
  7338. The image diff output from the DRT is pretty bad on some ports (at
  7339. least the Mac one), so it's better to compute diffs on the client by
  7340. using <canvas>.
  7341. * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html:
  7342. * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css:
  7343. * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
  7344. 2010-11-16 Mihai Parparita <mihaip@chromium.org>
  7345. Reviewed by Tony Chang.
  7346. Rebaseline server: display test results
  7347. https://bugs.webkit.org/show_bug.cgi?id=49626
  7348. Adds basic result display to the rebaseline server. On the Python side
  7349. this involves:
  7350. - Parsing the unexpected_results.json into a dictionary.
  7351. - Serving it as JSON under /results.json.
  7352. (the JSON -> dict -> JSON transform isn't strictly necessary right now,
  7353. but I'll need to have access to the parsed results on the Python side
  7354. for follow-up changes).
  7355. On the web UI side this adds:
  7356. - Markup for display image and text results (expected, actual, diff),
  7357. and JS for populating it.
  7358. - Markup for breaking down test results by failure type and directory,
  7359. and JS for populating it.
  7360. * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html:
  7361. * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css:
  7362. * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
  7363. * Scripts/webkitpy/tool/commands/data/rebaselineserver/util.js: Added.
  7364. * Scripts/webkitpy/tool/commands/rebaselineserver.py:
  7365. 2010-11-16 Dirk Pranke <dpranke@chromium.org>
  7366. Reviewed by Ojan Vafai.
  7367. See Chromium issue http://codereview.chromium.org/5133001/ - we
  7368. are modifying the build bots to pass in the builder name with
  7369. the "GPU" string appended instead of appending it in the code.
  7370. https://bugs.webkit.org/show_bug.cgi?id=49636
  7371. * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
  7372. 2010-11-16 Steve Falkenburg <sfalken@apple.com>
  7373. Reviewed by Adam Roben.
  7374. Disable LTCG for Windows Release builds. Add new Release_LTCG configuration.
  7375. https://bugs.webkit.org/show_bug.cgi?id=49632
  7376. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  7377. * DumpRenderTree/win/DumpRenderTree.vcproj:
  7378. * DumpRenderTree/win/ImageDiff.vcproj:
  7379. * MiniBrowser/MiniBrowser.vcproj:
  7380. * TestWebKitAPI/win/TestWebKitAPI.vcproj:
  7381. * WebKitLauncherWin/WebKitLauncherWin.vcproj:
  7382. * WebKitTestRunner/win/InjectedBundle.vcproj:
  7383. * WebKitTestRunner/win/WebKitTestRunner.vcproj:
  7384. * WinLauncher/WinLauncher.vcproj:
  7385. * record-memory-win/record-memory-win.vcproj:
  7386. 2010-11-16 Dirk Pranke <dpranke@chromium.org>
  7387. Reviewed by Ojan Vafai.
  7388. new-run-webkit-tests: rename TestInfo to TestInput, move image hash to work thread
  7389. Rename the TestInfo class to TestInput to be clearer about its
  7390. function, and move the checksum-reading code into dump_render_tree_thread
  7391. to avoid cross-thread access.
  7392. https://bugs.webkit.org/show_bug.cgi?id=49573
  7393. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  7394. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  7395. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  7396. 2010-11-16 Dave Hyatt <hyatt@apple.com>
  7397. Fix bustage. Remove the minimum font size pref setting in DumpRenderTree.
  7398. * DumpRenderTree/mac/DumpRenderTree.mm:
  7399. (resetDefaultsToConsistentValues):
  7400. 2010-11-16 Stephanie Lewis <slewis@apple.com>
  7401. Reviewed by Geoff Garen.
  7402. <rdar://problem/8624267> Leak creating offscreen webview running fast/dom tests
  7403. Use shared DeviceOrientationProviderMock. The old allocation method created a new WebDeviceOrientationProviderMock
  7404. for every WebView, and the WebKit API doesn't support that ownership model.
  7405. I also fixed a leak in setMockDeviceOrientation by adding a missing release.
  7406. * DumpRenderTree/mac/DumpRenderTree.mm:
  7407. (createWebViewAndOffscreenWindow):
  7408. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  7409. (LayoutTestController::setMockDeviceOrientation):
  7410. 2010-11-16 Dirk Pranke <dpranke@chromium.org>
  7411. Reviewed by Ojan Vafai.
  7412. new-run-webkit-tests: log the process id in --verbose mode
  7413. As part of the switch to multi-process mode, we should log the
  7414. process id when running w/ --verbose.
  7415. https://bugs.webkit.org/show_bug.cgi?id=49571
  7416. * Scripts/webkitpy/layout_tests/layout_package/printing.py:
  7417. 2010-11-16 Adam Roben <aroben@apple.com>
  7418. Only trigger Windows builds when files that we actually use on Windows
  7419. are changed
  7420. A new Scheduler subclass, PlatformSpecificScheduler, has been added.
  7421. It uses the new webkitpy.common.config.build module to determine
  7422. whether a particular change should trigger a build on a particular
  7423. platform. The Windows builders have been switched to use a
  7424. PlatformSpecificScheduler.
  7425. The logic to determine whether or not a particular change should
  7426. trigger a build on a given platform has only been implemented/tested
  7427. for Windows. I tried to make it easy to add more platforms in the
  7428. future, but I don't have enough familiarity with all platforms to be
  7429. able to implement it for them.
  7430. Fixes <http://webkit.org/b/49407> Windows builders kick off builds for
  7431. lots irrelevant changes (e.g., rebaselining Chromium test results)
  7432. Reviewed by Eric Seidel.
  7433. * BuildSlaveSupport/build.webkit.org-config/config.json: Use a
  7434. PlatformSpecificScheduler for the Windows builders.
  7435. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  7436. (PlatformSpecificScheduler.__init__): Added. Stores our platform, sets
  7437. up a ChangeFilter that filters to our branch and will call through to
  7438. our filter method, and calls up to our base class.
  7439. (PlatformSpecificScheduler.filter): Calls through to
  7440. build.should_build to find out whether we should trigger a build for
  7441. this change.
  7442. * Scripts/webkitpy/common/net/build.py: Added.
  7443. (_should_file_trigger_build): Uses a set of directories and regexp
  7444. patterns to determine whether the given file should trigger a build on
  7445. the given platform. As mentioned earlier, this has only been
  7446. implemented for Windows, though I did try to make some guesses about
  7447. other platforms.
  7448. (should_build): Returns true if any of the files should trigger a
  7449. build on the given platform.
  7450. * Scripts/webkitpy/common/net/build_unittest.py: Added.
  7451. (ShouldBuildTest.test_should_build): Does some basic testing to make
  7452. sure we're triggering builds for the right files. It only tests
  7453. Windows for now, though I tried to make some guesses about other
  7454. platforms.
  7455. 2010-11-16 Simon Hausmann <simon.hausmann@nokia.com>
  7456. Reviewed by Andreas Kling.
  7457. [Qt] Remove synchronous QWebPage::checkPermissions signal
  7458. https://bugs.webkit.org/show_bug.cgi?id=46810
  7459. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  7460. (WebCore::WebPage::WebPage):
  7461. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  7462. (LayoutTestController::grantDesktopNotificationPermission): When granting
  7463. permission, grant it directly on the QWebPage/Frame, that will remember it.
  7464. * QtTestBrowser/webpage.cpp:
  7465. (WebPage::WebPage):
  7466. * QtTestBrowser/webpage.h:
  7467. 2010-11-16 Andras Becsi <abecsi@inf.u-szeged.hu>
  7468. Reviewed by Csaba Osztrogonác.
  7469. [Qt] Add isPrinting and setPrinting methods to DRT's LayoutTestController.
  7470. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  7471. (LayoutTestController::reset):
  7472. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  7473. (LayoutTestController::isPrinting):
  7474. (LayoutTestController::setPrinting):
  7475. 2010-11-16 Balazs Kelemen <kbalazs@webkit.org>
  7476. Reviewed by Andreas Kling.
  7477. [Qt][WK2] Add a way to turn on tiled backing store in MiniBrowser
  7478. https://bugs.webkit.org/show_bug.cgi?id=49587
  7479. * MiniBrowser/qt/BrowserView.cpp:
  7480. (BrowserView::BrowserView): Added BackingStoreType
  7481. argument to ctor. Propagating it to the QGraphicsWKView.
  7482. * MiniBrowser/qt/BrowserView.h:
  7483. * MiniBrowser/qt/BrowserWindow.cpp:
  7484. (BrowserWindow::BrowserWindow):
  7485. (BrowserWindow::newWindow): Create the new BrowserWindow
  7486. with the same BackingStoreType that this instance has.
  7487. * MiniBrowser/qt/BrowserWindow.h: Added BackingStoreType member.
  7488. * MiniBrowser/qt/main.cpp:
  7489. (main): Use tiled backing store if got -tiled command line argument.
  7490. Avoid redundant copy of command line args.
  7491. 2010-11-16 John Knottenbelt <jknotten@chromium.org>
  7492. Reviewed by Jeremy Orlow.
  7493. Move DeviceOrientationClientMock from LayoutTestController to WebViewHost.
  7494. https://bugs.webkit.org/show_bug.cgi?id=48506
  7495. This ensures that there is one mock per page WebView / WebViewHost. This is a
  7496. design constraint of the DeviceOrientationClientMock because the m_controller
  7497. field can only store a pointer to a single instance of the corresponding
  7498. DeviceOrientationController.
  7499. Test: fast/dom/DeviceOrientation/no-page-cache.html
  7500. * DumpRenderTree/chromium/LayoutTestController.cpp:
  7501. (LayoutTestController::setMockDeviceOrientation):
  7502. (LayoutTestController::deviceOrientationClientMock):
  7503. * DumpRenderTree/chromium/LayoutTestController.h:
  7504. * DumpRenderTree/chromium/WebViewHost.cpp:
  7505. (WebViewHost::deviceOrientationClientMock):
  7506. (WebViewHost::deviceOrientationClient):
  7507. (WebViewHost::reset):
  7508. * DumpRenderTree/chromium/WebViewHost.h:
  7509. 2010-11-15 Andras Becsi <abecsi@webkit.org>
  7510. Reviewed by Andreas Kling.
  7511. [Qt][WK2] Avoid polling in WebKitTestRunner.
  7512. https://bugs.webkit.org/show_bug.cgi?id=49542
  7513. Make the WK2 testing session about 10-15% faster and decrease random flakiness
  7514. resulting from timing skew by removing the millisecond polling from TestControllerQt.
  7515. * WebKitTestRunner/TestController.cpp:
  7516. (WTR::TestController::didFinishLoadForFrame):
  7517. * WebKitTestRunner/TestController.h:
  7518. * WebKitTestRunner/TestInvocation.cpp:
  7519. (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
  7520. * WebKitTestRunner/mac/TestControllerMac.mm:
  7521. (WTR::TestController::notifyDone): Add method stub.
  7522. * WebKitTestRunner/qt/TestControllerQt.cpp:
  7523. (WTR::TestControllerRunLoop::instance):
  7524. (WTR::TestControllerRunLoop::start):
  7525. (WTR::TestControllerRunLoop::stop):
  7526. (WTR::TestControllerRunLoop::TestControllerRunLoop):
  7527. (WTR::TestControllerRunLoop::timerEvent):
  7528. (WTR::TestController::notifyDone):
  7529. (WTR::TestController::platformRunUntil):
  7530. * WebKitTestRunner/win/TestControllerWin.cpp:
  7531. (WTR::TestController::notifyDone): Add method stub.
  7532. 2010-11-15 Darin Adler <darin@apple.com>
  7533. * Scripts/webkitpy/common/net/bugzilla: Added property svn:ignore.
  7534. 2010-11-15 Benjamin Poulain <benjamin.poulain@nokia.com>
  7535. Reviewed by Andreas Kling.
  7536. [Qt] [WK2] Add Ctrl+L shortcut to Qt Minibrowser
  7537. https://bugs.webkit.org/show_bug.cgi?id=49544
  7538. Add the shortcut to BrowserWindow.
  7539. * MiniBrowser/qt/BrowserWindow.cpp:
  7540. (BrowserWindow::BrowserWindow):
  7541. (BrowserWindow::openLocation):
  7542. * MiniBrowser/qt/BrowserWindow.h:
  7543. 2010-11-14 David Levin <levin@chromium.org>
  7544. Reviewed by Daniel Bates.
  7545. check-webkit-style should detect PassRefPtr usage in functions.
  7546. https://bugs.webkit.org/show_bug.cgi?id=49513
  7547. * Scripts/webkitpy/style/checkers/cpp.py:
  7548. (check_for_function_lengths): Revert a comment change that I
  7549. accidentally made in r71986.
  7550. (check_pass_ptr_usage): Added the code to do the check.
  7551. (process_line): Added the call to check_pass_ptr_usage.
  7552. (CppChecker): Added the new error category.
  7553. * Scripts/webkitpy/style/checkers/cpp_unittest.py:
  7554. (CppStyleTestBase::perform_pass_ptr_check): Runs the new check for
  7555. testing purposes.
  7556. (PassPtrTest::*): The class/functions to unit test the new
  7557. functionality.
  7558. 2010-11-14 David Levin <levin@chromium.org>
  7559. Reviewed by Shinichiro Hamaji.
  7560. check-webkit-style function detection and the line count style checks should be separate.
  7561. https://bugs.webkit.org/show_bug.cgi?id=49512
  7562. * Scripts/webkitpy/style/checkers/cpp.py: Do the separation.
  7563. * Scripts/webkitpy/style/checkers/cpp_unittest.py: Adjust the test to
  7564. call the detection function and fix line counts in two places now that
  7565. the code really only counts the lines in the body of the function.
  7566. 2010-11-14 Andreas Kling <kling@webkit.org>
  7567. Reviewed by Antonio Gomes.
  7568. http/tests/plugins tests print "Unhandled variable" to stderr under Qt
  7569. https://bugs.webkit.org/show_bug.cgi?id=33438
  7570. Stifle "Unhandled variable" warning to match what the other
  7571. TestNetscapePlugin does (NPP_GetValue in TestNetscapePlugIn/main.cpp
  7572. simply returns NPERR_GENERIC_ERROR for unhandled variables.)
  7573. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  7574. (webkit_test_plugin_get_value):
  7575. 2010-11-13 David Levin <levin@chromium.org>
  7576. Reviewed by Eric Seidel.
  7577. check-webkit-style function detection crashes on functions in templates.
  7578. https://bugs.webkit.org/show_bug.cgi?id=49504
  7579. For example "template <bool shouldClose(const Element*)>".
  7580. * Scripts/webkitpy/style/checkers/cpp.py: If not function is detected, bail out.
  7581. * Scripts/webkitpy/style/checkers/cpp_unittest.py: Modified the complex
  7582. function detection test to expose this issue.
  7583. 2010-11-12 David Levin <levin@chromium.org>
  7584. Reviewed by Shinichiro Hamaji.
  7585. check-webkit-style function detection doesn't detect indented functions declaractions.
  7586. https://bugs.webkit.org/show_bug.cgi?id=49446
  7587. Indented function declarations occur inside class definitions, so
  7588. they are a pretty common (and worth detecting).
  7589. * Scripts/webkitpy/style/checkers/cpp.py:
  7590. Changed regex to allow indentation.
  7591. Changed the function start detection to only happen when not in a
  7592. function.
  7593. Changed function end detection to work based on matching braces
  7594. instead of finding a close brace at the beginning of the line.
  7595. Fixed close_expression to do what it says when it doesn't find
  7596. the close.
  7597. * Scripts/webkitpy/style/checkers/cpp_unittest.py: Indented function test.
  7598. 2010-11-12 Daniel Bates <dbates@rim.com>
  7599. Rubber-stamped by Nikolas Zimmermann.
  7600. Make do-file-rename rename files in the directory WebKit2.
  7601. This also makes the list of searched directories in do-file-rename
  7602. consistent with the list of searched directories in the script do-webcore-rename.
  7603. * Scripts/do-file-rename:
  7604. 2010-11-12 Dirk Pranke <dpranke@chromium.org>
  7605. Reviewed by James Robinson.
  7606. Attempt yet again to land the fix for bug 49360 (respecting
  7607. set-webkit-configuration). We need to handle the cases where
  7608. trying to run webkit-build-directory to find out where the
  7609. default configuration might be fails (that shows up on some
  7610. Chromium bots that apparently don't have perl installed).
  7611. https://bugs.webkit.org/show_bug.cgi?id=49360
  7612. * Scripts/webkitpy/layout_tests/port/config.py:
  7613. * Scripts/webkitpy/layout_tests/port/config_standalone.py: Added.
  7614. * Scripts/webkitpy/layout_tests/port/config_unittest.py:
  7615. 2010-11-12 Mihai Parparita <mihaip@chromium.org>
  7616. Reviewed by Adam Barth.
  7617. webkit-patch land logs commit message twice
  7618. https://bugs.webkit.org/show_bug.cgi?id=49482
  7619. Don't log the comment that's used by bugzilla.close_bug_as_fixed, since
  7620. that's just the commit message, which we now output following the
  7621. actual commit.
  7622. * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
  7623. 2010-11-12 Tony Chang <tony@chromium.org>
  7624. Reviewed by Adam Barth.
  7625. run platform/chromium/plugins/script-object-invoke.html on all platforms
  7626. https://bugs.webkit.org/show_bug.cgi?id=49280
  7627. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
  7628. (testScriptObjectInvoke):
  7629. (pluginInvoke):
  7630. 2010-11-12 Mihai Parparita <mihaip@chromium.org>
  7631. Reviewed by Adam Barth.
  7632. webkit-patch land-cowboy (and other commands) should display the committed SVN revision after landing a patch
  7633. https://bugs.webkit.org/show_bug.cgi?id=49471
  7634. Right now there's no indication of a successful commit.
  7635. * Scripts/webkitpy/tool/commands/download_unittest.py:
  7636. * Scripts/webkitpy/tool/steps/commit.py:
  7637. 2010-11-12 Kinuko Yasuda <kinuko@chromium.org>
  7638. Reviewed by Ojan Vafai.
  7639. Include detailed test modifiers in results.json and enable incremental uploading for non-layout tests
  7640. https://bugs.webkit.org/show_bug.cgi?id=49354
  7641. Also moved/integrated the upload method from run_webkit_tests.py to json_results_generator.py.
  7642. * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
  7643. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  7644. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
  7645. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  7646. 2010-11-12 Tony Chang <tony@chromium.org>
  7647. Reviewed by Kent Tamura.
  7648. [chromium] Load a blank page when closing DRT WebViewHosts
  7649. https://bugs.webkit.org/show_bug.cgi?id=49417
  7650. In test_shell, when we close a window, we first load about:blank
  7651. and run GC to fire the destruction logic of the page. In test_shell,
  7652. this happens in ~TestShell. In DRT, we manage virtual windows as
  7653. WebViewHosts, so we need to replicate this logic in ~WebViewHost.
  7654. Managing focus is a bit trickier, since normally you would get window
  7655. events to reset the focus to the right window. We do it manually
  7656. instead.
  7657. This fixes 2 plugin tests on DRT.
  7658. * DumpRenderTree/chromium/TestShell.cpp:
  7659. (TestShell::~TestShell): Move window close logic to ~WebViewHost.
  7660. (TestShell::closeWindow): Move widget close() to WVH destructor and
  7661. manage focus manually.
  7662. (TestShell::closeRemainingWindows): Comment typo.
  7663. * DumpRenderTree/chromium/WebViewHost.cpp:
  7664. (WebViewHost::closeWidget):
  7665. (invokeCloseWidget):
  7666. (WebViewHost::closeWidgetSoon): Close the window asynchronously (matches
  7667. test_shell).
  7668. (WebViewHost::~WebViewHost):
  7669. * DumpRenderTree/chromium/WebViewHost.h:
  7670. 2010-11-12 David Levin <levin@chromium.org>
  7671. Reviewed by Adam Barth.
  7672. cpp.py needs some tidying.
  7673. https://bugs.webkit.org/show_bug.cgi?id=49443
  7674. * Scripts/webkitpy/style/checkers/cpp.py:
  7675. Fix parameter ordering for iteratively_replace_matches_with_char
  7676. to mirror other similar functions (and improved comments, etc.)
  7677. Also, use a python-ism (for/else) to get rid of a variable that
  7678. was there to determine if something had been found in the loop.
  7679. 2010-11-12 Robert Kroeger <rjkroege@chromium.org>
  7680. Reviewed by James Robinson.
  7681. [Chromium/DRT] Make EventSendingController send complete touch events.
  7682. https://bugs.webkit.org/show_bug.cgi?id=49285
  7683. * DumpRenderTree/chromium/EventSender.cpp:
  7684. (EventSender::addTouchPoint):
  7685. (EventSender::updateTouchPoint):
  7686. (EventSender::sendCurrentTouchEvent):
  7687. 2010-11-12 Mihai Parparita <mihaip@chromium.org>
  7688. Unreviewed rollout of r71858.
  7689. Rollout out r71858 since it breaks new-run-webkit-httpd as used by the
  7690. NaCl tests.
  7691. * Scripts/webkitpy/layout_tests/port/config.py:
  7692. * Scripts/webkitpy/layout_tests/port/config_standalone.py: Removed.
  7693. * Scripts/webkitpy/layout_tests/port/config_unittest.py:
  7694. 2010-11-12 Benjamin Poulain <benjamin.poulain@nokia.com>
  7695. Reviewed by Kenneth Rohde Christiansen.
  7696. [Qt] TestController::runUntil doesn't honor the timeout parameter
  7697. https://bugs.webkit.org/show_bug.cgi?id=48941
  7698. Implement the missing timeout of WebKitTestRunner for Qt.
  7699. A QElapsedTimer has been added to RunUntilConditionLoop in order
  7700. to measure how long the loop has been running. When the timer
  7701. is bigger or equal than the timeout, the loop ends even if the
  7702. condition is not met.
  7703. * WebKitTestRunner/qt/TestControllerQt.cpp:
  7704. (WTR::RunUntilConditionLoop::start):
  7705. (WTR::RunUntilConditionLoop::run):
  7706. (WTR::RunUntilConditionLoop::timerEvent):
  7707. (WTR::TestController::platformRunUntil):
  7708. 2010-11-11 David Levin <levin@chromium.org>
  7709. Reviewed by Shinichiro Hamaji.
  7710. check-webkit-style function detection doesn't handle templates with spaces.
  7711. https://bugs.webkit.org/show_bug.cgi?id=49427
  7712. * Scripts/webkitpy/style/checkers/cpp.py: Stripped out templates when
  7713. finding the function name.
  7714. * Scripts/webkitpy/style/checkers/cpp_unittest.py: Made the test have a
  7715. template with a space.
  7716. 2010-11-11 Ademar de Souza Reis Jr <ademar.reis@openbossa.org>
  7717. Reviewed by Shinichiro Hamaji.
  7718. Enable check-webkit-style on Qt files
  7719. https://bugs.webkit.org/show_bug.cgi?id=48322
  7720. Adding exception for _q_... private slots and
  7721. ..._data() methods in tests
  7722. * Scripts/webkitpy/style/checker.py: enable Qt dirs, add exceptions
  7723. * Scripts/webkitpy/style/checker_unittest.py: improve unittests
  7724. 2010-11-11 David Levin <levin@chromium.org>
  7725. Reviewed by Shinichiro Hamaji.
  7726. check-webkit-style function detection doesn't work for templates and destructors.
  7727. https://bugs.webkit.org/show_bug.cgi?id=49425
  7728. * Scripts/webkitpy/style/checkers/cpp.py: Changed regex for templates and destructors.
  7729. * Scripts/webkitpy/style/checkers/cpp_unittest.py: Made the test hit this issue.
  7730. 2010-11-11 Joone Hur <joone@kldp.org>
  7731. Reviewed by Antonio Gomes.
  7732. [GTK][DRT] Implement LayoutTestController::nodesFromRect
  7733. https://bugs.webkit.org/show_bug.cgi?id=46598
  7734. Support nodesFromRect in DRT
  7735. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  7736. (LayoutTestController::nodesFromRect):
  7737. 2010-11-11 MORITA Hajime <morrita@google.com>
  7738. Reviewed by Kent Tamura.
  7739. editing/selection/context-menu-on-text.html fails on chromium
  7740. https://bugs.webkit.org/show_bug.cgi?id=45898
  7741. Enhance Chromium's EventSender::contextClick() to return
  7742. array of menu strings. The implementation incomplete because
  7743. Although actual context menu is implemented by the browser,
  7744. it reflects editability of underlying context thus makes
  7745. context-menu-on-text.html passed.
  7746. * DumpRenderTree/chromium/EventSender.cpp:
  7747. (makeMenuItemStringsFor): Added.
  7748. (EventSender::contextClick): Now returns array of menu strings.
  7749. * DumpRenderTree/chromium/WebViewHost.cpp:
  7750. (WebViewHost::showContextMenu): Now storing given WebContextMenuData object.
  7751. (WebViewHost::clearContextMenuData): Added.
  7752. (WebViewHost::lastContextMenuData): Added.
  7753. * DumpRenderTree/chromium/WebViewHost.h:
  7754. 2010-11-11 Dirk Pranke <dpranke@chromium.org>
  7755. Unreviewed, build fix.
  7756. fix build breakage caused by fix for bug 49380 (r71858).
  7757. config_standalone needs to ensure that the packages it needs are
  7758. in sys.path.
  7759. https://bugs.webkit.org/show_bug.cgi?id=49419
  7760. * Scripts/webkitpy/layout_tests/port/config_standalone.py:
  7761. 2010-11-11 Dirk Pranke <dpranke@chromium.org>
  7762. Reviewed by Adam Roben.
  7763. Fix NRWT to respect set-webkit-configuration again :(
  7764. This change fixes a typo in config.py that was causing the wrong
  7765. value to be read initially and us never actually looking into
  7766. the filesystem to get the default configuration.
  7767. * Scripts/webkitpy/layout_tests/port/config.py:
  7768. * Scripts/webkitpy/layout_tests/port/config_standalone.py:
  7769. * Scripts/webkitpy/layout_tests/port/config_unittest.py:
  7770. 2010-11-11 Eric Seidel <eric@webkit.org>
  7771. Reviewed by Adam Barth.
  7772. Split out Bug, Attachment and CommitterValidator from bugzilla.py
  7773. https://bugs.webkit.org/show_bug.cgi?id=49403
  7774. CommitterValidator really had nothing to do with bugzilla.py.
  7775. I've put it next to committers.py for now since its rather tied to that file.
  7776. * Scripts/webkitpy/common/config/committervalidator.py: Added.
  7777. * Scripts/webkitpy/common/config/committervalidator_unittest.py: Added.
  7778. * Scripts/webkitpy/common/net/bugzilla/__init__.py:
  7779. * Scripts/webkitpy/common/net/bugzilla/attachment.py: Added.
  7780. * Scripts/webkitpy/common/net/bugzilla/bug.py: Added.
  7781. * Scripts/webkitpy/common/net/bugzilla/bug_unittest.py: Added.
  7782. * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
  7783. * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
  7784. * Scripts/webkitpy/tool/bot/feeders.py:
  7785. * Scripts/webkitpy/tool/commands/queues.py:
  7786. 2010-11-11 Dirk Pranke <dpranke@chromium.org>
  7787. Reviewed by Eric Seidel.
  7788. fix missing 'pid' argument for http lockfile checking on win32
  7789. https://bugs.webkit.org/show_bug.cgi?id=49363
  7790. * Scripts/webkitpy/common/system/executive.py:
  7791. 2010-11-11 Eric Seidel <eric@webkit.org>
  7792. Rubber-stamped by Adam Barth.
  7793. Move bugzilla.py into its own module in preparation for splitting one-file-per-class
  7794. https://bugs.webkit.org/show_bug.cgi?id=49402
  7795. * Scripts/webkitpy/common/net/bugzilla/__init__.py: Added.
  7796. * Scripts/webkitpy/common/net/bugzilla/bugzilla.py: Renamed from WebKitTools/Scripts/webkitpy/common/net/bugzilla.py.
  7797. * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py: Renamed from WebKitTools/Scripts/webkitpy/common/net/bugzilla_unittest.py.
  7798. 2010-11-10 Chris Guillory <chris.guillory@google.com>
  7799. Reviewed by Chris Fleizach.
  7800. Use IAccessibleComparable to compare accessibility objects.
  7801. https://bugs.webkit.org/show_bug.cgi?id=49118
  7802. * DumpRenderTree/AccessibilityUIElement.cpp:
  7803. (AccessibilityUIElement::isEqual):
  7804. * DumpRenderTree/AccessibilityUIElement.h:
  7805. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  7806. (comparableObject):
  7807. (AccessibilityUIElement::isEqual):
  7808. 2010-11-10 Csaba Osztrogonác <ossy@webkit.org>
  7809. Reviewed by David Hyatt.
  7810. HTML5 Ruby support should be mandatory feature
  7811. https://bugs.webkit.org/show_bug.cgi?id=49272
  7812. Remove Ruby as optional feature.
  7813. * Scripts/build-webkit:
  7814. 2010-11-10 Adam Roben <aroben@apple.com>
  7815. Print VC++ Express build logs in the same order that the projects are
  7816. built
  7817. Fixes <http://webkit.org/b/49326> print-vse-failure-logs prints logs
  7818. in an unhelpful order
  7819. Reviewed by Eric Seidel.
  7820. * Scripts/print-vse-failure-logs:
  7821. (PrintVisualStudioExpressLogs._build_order): Added. Uses
  7822. print-msvc-project-dependencies to figure out the order in which
  7823. projects are built.
  7824. (PrintVisualStudioExpressLogs._sort_buildlogs): Added. Sorts the logs
  7825. based on their build order and project name.
  7826. (PrintVisualStudioExpressLogs._obj_directory): Moved code to find the
  7827. scripts directory from here...
  7828. (PrintVisualStudioExpressLogs._scripts_directory): ...to here.
  7829. (PrintVisualStudioExpressLogs.main): Sort the logs before printing
  7830. them.
  7831. 2010-11-10 Adam Roben <aroben@apple.com>
  7832. Only print the interesting text from VC++ Express build logs
  7833. Fixes <http://webkit.org/b/49325> It's hard to find the interesting
  7834. output from print-vse-failure-logs
  7835. Reviewed by Eric Seidel.
  7836. * Scripts/print-vse-failure-logs: Removed unnecessary os.path import,
  7837. added newly-required imports. Removed a comment that was essentially a
  7838. FIXME, and is now fixed.
  7839. (PrintVisualStudioExpressLogs._relevant_text): Added. Uses
  7840. BeautifulSoup to extract the relevant text from the build log.
  7841. (PrintVisualStudioExpressLogs.main): Only print the relevant text.
  7842. 2010-11-09 Mihai Parparita <mihaip@chromium.org>
  7843. Reviewed by Tony Chang.
  7844. [Chromium] http/tests/security/XFrameOptions fail with Chromium DRT
  7845. https://bugs.webkit.org/show_bug.cgi?id=49286
  7846. The tests in http/tests/security/XFrameOptions started to fail after
  7847. r71297, since it changed the WebViewHost::assignIdentifierToRequest
  7848. logic to always assign identifiers to requests, even if we're not going
  7849. to be dumping resource load callbacks at that point. These tests
  7850. only call LayoutTestController.dumpResourceLoadCallbacks after the
  7851. request is started, thus their expectations have "<unknown>" as the
  7852. identifier. Change WebViewHost to the previous behavior, which also
  7853. match the other ports'.
  7854. * DumpRenderTree/chromium/WebViewHost.cpp:
  7855. (WebViewHost::assignIdentifierToRequest):
  7856. (WebViewHost::removeIdentifierForRequest):
  7857. 2010-11-08 Tony Chang <tony@chromium.org>
  7858. Reviewed by Adam Barth.
  7859. run platform/chromium/plugins/return-npobject.html on all platforms
  7860. https://bugs.webkit.org/show_bug.cgi?id=49103
  7861. This tests that we can get an NPObject returned through a method on
  7862. an NPAPI Object.
  7863. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
  7864. (testCallbackReturn):
  7865. (pluginInvoke):
  7866. 2010-11-09 Sheriff Bot <webkit.review.bot@gmail.com>
  7867. Unreviewed, rolling out r71672.
  7868. http://trac.webkit.org/changeset/71672
  7869. https://bugs.webkit.org/show_bug.cgi?id=49276
  7870. It doesn't work on Chromium Windows bot (Requested by Ossy on
  7871. #webkit).
  7872. * Scripts/webkitpy/common/system/file_lock.py: Removed.
  7873. * Scripts/webkitpy/common/system/file_lock_unittest.py: Removed.
  7874. * Scripts/webkitpy/layout_tests/port/http_lock.py:
  7875. 2010-11-09 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  7876. Reviewed by Tony Chang.
  7877. [NRWT] Make http locking similar to perl implementation
  7878. https://bugs.webkit.org/show_bug.cgi?id=49187
  7879. * Scripts/webkitpy/common/system/file_lock.py: Added.
  7880. * Scripts/webkitpy/common/system/file_lock_unittest.py: Added.
  7881. * Scripts/webkitpy/layout_tests/port/http_lock.py:
  7882. 2010-11-09 James Kozianski <koz@chromium.org>
  7883. Reviewed by Eric Seidel.
  7884. Clean up imports for webkit-patch.
  7885. https://bugs.webkit.org/show_bug.cgi?id=49083
  7886. Move some imports from commands into main.py where they are used.
  7887. Move command imports into the __init__ of the commands module.
  7888. * Scripts/webkitpy/tool/commands/__init__.py:
  7889. * Scripts/webkitpy/tool/commands/download.py:
  7890. * Scripts/webkitpy/tool/commands/queues.py:
  7891. * Scripts/webkitpy/tool/main.py:
  7892. 2010-11-09 Yi Shen <yi.4.shen@nokia.com>
  7893. Reviewed by Andreas Kling.
  7894. [Qt][QtTestBrowser] Don't erase incorrect url in the Url Bar
  7895. https://bugs.webkit.org/show_bug.cgi?id=49047
  7896. * QtTestBrowser/mainwindow.cpp:
  7897. (MainWindow::setAddressUrl):
  7898. 2010-11-09 Andras Becsi <abecsi@webkit.org>
  7899. Reviewed by Csaba Osztrogonác.
  7900. Improve old-run-webkit-tests --verbose to show DumpTool opening/closing
  7901. https://bugs.webkit.org/show_bug.cgi?id=49252
  7902. * Scripts/old-run-webkit-tests:
  7903. 2010-11-09 Csaba Osztrogonác <ossy@webkit.org>
  7904. Reviewed by Tor Arne Vestbø.
  7905. Output of old-run-webkit-tests is buggy in verbose mode
  7906. https://bugs.webkit.org/show_bug.cgi?id=49249
  7907. * Scripts/old-run-webkit-tests: Redundant outputs removed.
  7908. 2010-11-08 Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
  7909. Reviewed by Martin Robinson.
  7910. [GTK] Link with target name set does not work
  7911. https://bugs.webkit.org/show_bug.cgi?id=48865
  7912. When a new page is created with a name (target=myFrame), the new
  7913. mainFrame could not be found because they where not stored in the
  7914. same PageGroup. As PageGroup are not exposed externally so the
  7915. simpliest solution is to use a global page group name. This also fixes
  7916. issue with visited link coloration across pages. After this change the
  7917. private function webkit_web_view_set_group_name() was no longer used
  7918. so it was removed completly.
  7919. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  7920. (createWebView):
  7921. 2010-11-08 John Knottenbelt <jknotten@chromium.org>
  7922. Reviewed by Kent Tamura.
  7923. WebViewHost::reset() uses placement new.
  7924. https://bugs.webkit.org/show_bug.cgi?id=49069
  7925. WebViewHost is using placement destruction / new to simulate a fresh
  7926. WebViewHost object at the same address. This is because the WebView remains
  7927. open across tests and maintains a pointer to the WebViewHost.
  7928. This change resets member variables explictly instead of the placement new dance.
  7929. * DumpRenderTree/chromium/WebViewHost.cpp:
  7930. (WebViewHost::WebViewHost):
  7931. (WebViewHost::reset):
  7932. 2010-11-08 Dirk Pranke <dpranke@chromium.org>
  7933. Reviewed by Eric Seidel.
  7934. Fix the webkit_base_dir logic in webkitpy/layout_tests/port/config.py.
  7935. It turns out that NRWT can't use the code in scm.find_checkout_root()
  7936. because the Chromium bots don't do full checkouts of the WebKit
  7937. tree; they only check out subdirectories like WebKitTools/Scripts.
  7938. Until we can figure out a better approach for this, I've
  7939. restored the base_dir-detecting code from NRWT, which works in
  7940. any directory tree, scm or no.
  7941. This also restores the files modified in r71475 and r71474.
  7942. https://bugs.webkit.org/show_bug.cgi?id=49151
  7943. * WebKitTools/Scripts/webkitpy/layout_tests/port/config.py
  7944. * WebKitTools/Scripts/webkitpy/layout_tests/port/config_unittest.py
  7945. 2010-11-08 Eric Seidel <eric@webkit.org>
  7946. Reviewed by Adam Barth.
  7947. webkit-patch failure-reason explodes if a build is missing
  7948. https://bugs.webkit.org/show_bug.cgi?id=49195
  7949. This is likely a recent regression. Adding a unit test for this case.
  7950. * Scripts/webkitpy/common/net/buildbot.py:
  7951. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  7952. 2010-11-08 Dan Bernstein <mitz@apple.com>
  7953. Reviewed by Darin Adler.
  7954. Ignore the system scrollbar setting.
  7955. * DumpRenderTree/mac/DumpRenderTree.mm:
  7956. (resetDefaultsToConsistentValues): Set the scrollbar default.
  7957. 2010-11-05 Adam Roben <aroben@apple.com>
  7958. Make webkitpy.common.system.executive_unittest pass when running under
  7959. Win32 Python
  7960. Fixes <http://webkit.org/b/49033>.
  7961. Reviewed by Dave Levin and Eric Seidel.
  7962. * Scripts/webkitpy/common/system/executive.py:
  7963. (Executive._run_command_with_teed_output): Pass the arguments through
  7964. encode_argument_if_needed rather than using Cygwin-specific code here.
  7965. (Executive.run_and_throw_if_fail): Use child_process_encoding to decode
  7966. the output.
  7967. (Executive.run_command): Use encode_argument_if_needed to encode the
  7968. arguments and child_process_encoding to decode the output.
  7969. (Executive._child_process_encoding): Returns the encoding that should be
  7970. used when communicating with child processes. On Windows we use mbcs,
  7971. which maps to the current code page. On all other platforms we use
  7972. UTF-8.
  7973. (Executive._should_encode_child_process_arguments): Returns True if
  7974. arguments to child processes need to be encoded. This is currently
  7975. only needed on Cygwin and Win32 Python 2.x.
  7976. (Executive._encode_argument_if_needed): Encode the argument using
  7977. child_process_encoding if we need to encode arguments to child
  7978. processes on this platform.
  7979. * Scripts/webkitpy/common/system/executive_unittest.py:
  7980. (never_ending_command): Added. Returns arguments to run a command that
  7981. will not quit until we kill it. On Windows we use wmic, on other
  7982. platforms we use yes.
  7983. (ExecutiveTest.test_run_command_with_unicode): Changed to expect the
  7984. mbcs encoding to be used and for output from the child processes to
  7985. have been roundtripped through encode/decode on Win32 Python. When
  7986. UTF-8 is the encoding the roundtripping is undetectable, but with mbcs
  7987. it's possible that some characters will not be able to be converted
  7988. and will be replaced by question marks; the round-tripping allows us
  7989. to expect this result.
  7990. (ExecutiveTest.test_kill_process):
  7991. (ExecutiveTest.test_kill_all):
  7992. Use never_ending_command instead of invoking "yes" directly. Expect an
  7993. exit code of 1 when using Win32 Python, as that's what seems to happen.
  7994. 2010-11-08 Adam Roben <aroben@apple.com>
  7995. Roll out r71532
  7996. It broke the build for Cygwin 1.7 installs. Cygwin 1.7's default
  7997. .bashrc unsets %TEMP%, which broke copy-tools.cmd.
  7998. * Scripts/webkitdirs.pm:
  7999. 2010-11-08 Tony Chang <tony@chromium.org>
  8000. Reviewed by Adam Barth.
  8001. run platform/chromium/plugins/nested-plugin-objects.html on all platforms
  8002. https://bugs.webkit.org/show_bug.cgi?id=49094
  8003. This tests that objects created by plugins are proplery cleaned up.
  8004. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
  8005. (testPassTestObject):
  8006. (pluginInvoke):
  8007. * DumpRenderTree/TestNetscapePlugIn/TestObject.cpp:
  8008. (testAllocate):
  8009. (testDeallocate):
  8010. (testGetProperty):
  8011. (testConstruct):
  8012. 2010-11-08 Adam Roben <aroben@apple.com>
  8013. Mark Windows builds triggered from Perl as being non-interactive
  8014. This affects whether some of our scripts will show alerts vs. printing
  8015. to the build log.
  8016. Fixes <http://webkit.org/b/49181> Windows build fail mysteriously when
  8017. .vsprops files are updated
  8018. Reviewed by Steve Falkenburg.
  8019. * Scripts/webkitdirs.pm:
  8020. (buildVisualStudioProject): Set WEBKIT_NONINTERACTIVE_BUILD to 1.
  8021. 2010-11-08 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  8022. Reviewed by Ojan Vafai.
  8023. Make http locking default in NRWT.
  8024. https://bugs.webkit.org/show_bug.cgi?id=48053
  8025. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  8026. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  8027. 2010-11-08 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  8028. Reviewed by Csaba Osztrogonác.
  8029. [NRWT] If the http lock fails we shouldn't do any locking
  8030. https://bugs.webkit.org/show_bug.cgi?id=49164
  8031. If something goes wrong with the locking, the test should keep going.
  8032. * Scripts/webkitpy/layout_tests/port/http_lock.py:
  8033. 2010-11-08 Adam Roben <aroben@apple.com>
  8034. Switch back to using kCGImageAlphaPremultipliedFirst when generating
  8035. pixel dumps on Windows
  8036. I changed this behavior in r71418 thinking that it was required for
  8037. getting plugins to show up in pixel dumps. But it doesn't seem to be
  8038. necessary, and was making it impossible to compare new Windows pixel
  8039. dumps with existing Windows or Mac pixel dumps (because ImageDiff won't
  8040. compare an image with alpha to an image without alpha).
  8041. Fixes <http://webkit.org/b/49172> REGRESION (r71418): Can't compare
  8042. new Windows pixel results to existing Windows or Mac results
  8043. Reviewed by Antti Koivisto.
  8044. * DumpRenderTree/win/PixelDumpSupportWin.cpp:
  8045. (createBitmapContextFromWebView): Replaced kCGImageAlphaNoneSkipFirst
  8046. with kCGImageAlphaPremultipliedFirst.
  8047. 2010-11-08 Csaba Osztrogonac <ossy@webkit.org>
  8048. Unreviewed, rolling out r71466.
  8049. http://trac.webkit.org/changeset/71466
  8050. https://bugs.webkit.org/show_bug.cgi?id=48865
  8051. It broke layout tests on GTK bots.
  8052. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  8053. (createWebView):
  8054. 2010-11-08 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  8055. Reviewed by Csaba Osztrogonác.
  8056. Enable running of Qt API tests on BuildBot
  8057. https://bugs.webkit.org/show_bug.cgi?id=49004
  8058. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  8059. 2010-11-08 Eric Seidel <eric@webkit.org>
  8060. Reviewed by Adam Barth.
  8061. Add clean-review-queue command to remove closed bugs from the webkit.org/pending-review
  8062. https://bugs.webkit.org/show_bug.cgi?id=49160
  8063. Bugzilla doesn't automatically remove r? when a bug gets closed.
  8064. This script takes care of that for webkit.org.
  8065. * Scripts/webkitpy/common/net/bugzilla.py:
  8066. * Scripts/webkitpy/tool/commands/upload.py:
  8067. 2010-11-07 Fumitoshi Ukai <ukai@chromium.org>
  8068. Unreviewed, rolling out r71474.
  8069. http://trac.webkit.org/changeset/71474
  8070. https://bugs.webkit.org/show_bug.cgi?id=48280
  8071. breaks chromium webkit tests
  8072. https://bugs.webkit.org/show_bug.cgi?id=49151
  8073. * Scripts/webkitpy/layout_tests/port/base.py:
  8074. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  8075. * Scripts/webkitpy/layout_tests/port/config.py:
  8076. * Scripts/webkitpy/layout_tests/port/config_unittest.py:
  8077. * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
  8078. * Scripts/webkitpy/layout_tests/port/webkit.py:
  8079. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  8080. * Scripts/webkitpy/tool/mocktool.py:
  8081. 2010-11-07 Fumitoshi Ukai <ukai@chromium.org>
  8082. Unreviewed, rolling out r71475.
  8083. http://trac.webkit.org/changeset/71475
  8084. breaks chromium webkit tests
  8085. https://bugs.webkit.org/show_bug.cgi?id=49151
  8086. * Scripts/webkitpy/common/newstringio.py: Removed.
  8087. * Scripts/webkitpy/common/newstringio_unittest.py: Removed.
  8088. * Scripts/webkitpy/common/system/executive_mock.py: Removed.
  8089. * Scripts/webkitpy/common/system/filesystem_mock.py: Removed.
  8090. * Scripts/webkitpy/layout_tests/port/config_mock.py: Removed.
  8091. 2010-11-06 Dirk Pranke <dpranke@chromium.org>
  8092. Unreviewed, build fix.
  8093. Add files inexplicably not committed in r71474 as part of the
  8094. fix for bug 48280.
  8095. * Scripts/webkitpy/common/newstringio.py: Added.
  8096. * Scripts/webkitpy/common/newstringio_unittest.py: Added.
  8097. * Scripts/webkitpy/common/system/executive_mock.py: Added.
  8098. * Scripts/webkitpy/common/system/filesystem_mock.py: Added.
  8099. * Scripts/webkitpy/layout_tests/port/config_mock.py: Added.
  8100. 2010-11-06 Dirk Pranke <dpranke@chromium.org>
  8101. Reviewed by Eric Siedel.
  8102. new-run-webkit-tests: update port/base and port/webkit to use the
  8103. new FileSystem and Config abstractions, pulling more logic out of
  8104. the base Port classes into separate, mockable objects.
  8105. Also create a MockFileSystem object, a MockConfig object, move
  8106. MockExecutive into common/system to be next to executive, and
  8107. update the config object to use a FileSystem.
  8108. https://bugs.webkit.org/show_bug.cgi?id=48280
  8109. * Scripts/webkitpy/common/newstringio.py: Added.
  8110. * Scripts/webkitpy/common/newstringio_unittest.py: Added.
  8111. * Scripts/webkitpy/common/system/executive_mock.py: Added.
  8112. * Scripts/webkitpy/common/system/filesystem_mock.py: Added.
  8113. * Scripts/webkitpy/layout_tests/port/base.py:
  8114. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  8115. * Scripts/webkitpy/layout_tests/port/config.py:
  8116. * Scripts/webkitpy/layout_tests/port/config_mock.py:
  8117. * Scripts/webkitpy/layout_tests/port/config_unittest.py:
  8118. * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
  8119. * Scripts/webkitpy/layout_tests/port/webkit.py:
  8120. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  8121. * Scripts/webkitpy/tool/mocktool.py:
  8122. 2010-11-06 Dirk Pranke <dpranke@chromium.org>
  8123. Unreviewed, build breakage.
  8124. Apparently I uploaded the wrong version of the file to fix 49122
  8125. and neither Eric or I noticed - it was missing a dirname() call.
  8126. Fixing ...
  8127. https://bugs.webkit.org/show_bug.cgi?id=49122
  8128. * Scripts/webkitpy/common/checkout/scm.py:
  8129. 2010-11-06 Dirk Pranke <dpranke@chromium.org>
  8130. Reviewed by Eric Seidel.
  8131. webkitpy/tool/* unittests change cwd and don't clean up properly
  8132. https://bugs.webkit.org/show_bug.cgi?id=49122
  8133. * Scripts/webkitpy/common/checkout/scm.py:
  8134. 2010-11-05 Chris Marrin <cmarrin@apple.com>
  8135. Reviewed by Simon Fraser.
  8136. suspendAnimations/resumeAnimations not present in WebKit2
  8137. https://bugs.webkit.org/show_bug.cgi?id=49109
  8138. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  8139. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  8140. (WTR::LayoutTestController::suspendAnimations):
  8141. (WTR::LayoutTestController::resumeAnimations):
  8142. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  8143. 2010-11-05 Tony Chang <tony@chromium.org>
  8144. Reviewed by David Levin.
  8145. cleanup style in TestNetscapePlugIn/PluginObject.cpp
  8146. https://bugs.webkit.org/show_bug.cgi?id=49044
  8147. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
  8148. (getPluginClass):
  8149. (pluginGetProperty):
  8150. (pluginSetProperty):
  8151. (variantToIdentifier):
  8152. (testCallback):
  8153. (getURL):
  8154. (getURLNotify):
  8155. (testInvokeDefault):
  8156. (testGetProperty):
  8157. (testDocumentOpen):
  8158. (testWindowOpen):
  8159. (pluginInvoke):
  8160. (handleCallback):
  8161. (notifyStream):
  8162. * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
  8163. 2010-11-05 Eric Seidel <eric@webkit.org>
  8164. Reviewed by David Levin.
  8165. Add QueueStatusServer/__init__.py so others can run the QueueStatusServer tests
  8166. https://bugs.webkit.org/show_bug.cgi?id=49032
  8167. I wrote this file as part of bug 47847, but I forgot to commit it.
  8168. No one else noticed it missing because test-webkitpy knows how
  8169. to recover in the case where it can't import QueueStatusServer
  8170. (which generally occurs due to not having installed the AppEngine SDK).
  8171. * QueueStatusServer/__init__.py: Added.
  8172. * QueueStatusServer/model/workitems_unittest.py:
  8173. - Remove a test which fails. This was probably landed (by me)
  8174. from my other machine, which since this __init__.py was missing
  8175. I never noticed the failure and landed this invalid test.
  8176. Sadly we can't really test remove_work_item as it depends
  8177. on .key() working. .key() will throw unless the object
  8178. has already been saved it seems.
  8179. This may be a mis-design in our remove_work_item implementation,
  8180. but for now, just removing the test.
  8181. 2010-11-04 Adam Roben <aroben@apple.com>
  8182. Teach check-webkit-style about TestNetscapePlugIn
  8183. Fixes <http://webkit.org/b/49030> check-webkit-style is ignorant of
  8184. TestNetscapePlugIn's coding conventions
  8185. Reviewed by John Sullivan.
  8186. * Scripts/webkitpy/style/checker.py: Lump TestNetscapePlugIn in with
  8187. WebKitAPITest and TestWebKitAPI in having different include order and
  8188. naming conventions than WebCore. Added some comments about why the
  8189. exceptions exist.
  8190. 2010-11-04 Adam Roben <aroben@apple.com>
  8191. Add a test that shows that windowed plugins are able to paint
  8192. Somehow we never had a test for this before.
  8193. Fixes <http://webkit.org/b/49029> Should add a test that shows
  8194. windowed plugins can paint
  8195. Reviewed by Jon Honeycutt.
  8196. * DumpRenderTree/TestNetscapePlugIn/Tests/win/DrawsGradient.cpp: Added.
  8197. (DrawsGradient::DrawsGradient):
  8198. (DrawsGradient::wndProc): We handle the WM_PAINT and WM_PRINTCLIENT messages.
  8199. (DrawsGradient::onPaint):
  8200. (DrawsGradient::onPrintClient):
  8201. These both just call through to paint.
  8202. (DrawsGradient::paint): Fills our client area with some gradients.
  8203. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj: Link
  8204. against Msimg32.lib for ::GradientFill and added DrawsGradient.
  8205. * DumpRenderTree/win/PixelDumpSupportWin.cpp:
  8206. (createBitmapContextFromWebView): Use WM_PRINT instead of
  8207. WM_PRINTCLIENT so that ::DefWindowProc will send
  8208. WM_PRINT/WM_PRINTCLIENT messages to the WebView's child windows.
  8209. Replaced kCGImageAlphaPremultipledFirst with kCGImageAlphaNoneSkipFirst
  8210. because GDI doesn't support alpha and kCGImageBitmapOrder32Little with
  8211. kCGImageBitmapOrder32Host because, who knows, maybe someday Windows
  8212. will run on a big-endian platform.
  8213. 2010-11-04 Adam Roben <aroben@apple.com>
  8214. Extract much of NPNInvalidateRectInvalidatesWindow's code into a
  8215. WindowedPluginTest base class
  8216. The base class takes care of subclassing the plugin's window so that a
  8217. custom WNDPROC is called. This will make it easier to write tests that
  8218. need to handle window messages.
  8219. Fixes <http://webkit.org/b/49028> It's hard to write a PluginTest with
  8220. a custom WNDPROC
  8221. Reviewed by Jon Honeycutt.
  8222. * DumpRenderTree/TestNetscapePlugIn/Tests/win/NPNInvalidateRectInvalidatesWindow.cpp:
  8223. (NPNInvalidateRectInvalidatesWindow::NPNInvalidateRectInvalidatesWindow):
  8224. (NPNInvalidateRectInvalidatesWindow::NPP_SetWindow):
  8225. (NPNInvalidateRectInvalidatesWindow::wndProc):
  8226. (NPNInvalidateRectInvalidatesWindow::testInvalidateRect):
  8227. Moved code from here to WindowedPluginTest. Changed to use window()
  8228. instead of m_window.
  8229. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  8230. Added WindowedPluginTest and added TestNetscapePlugIn/win to the
  8231. include path. Also reordered the include path to make a little more
  8232. sense and simplified the entry that added TestNetscapePlugIn itself to
  8233. the include path.
  8234. * DumpRenderTree/TestNetscapePlugIn/win/WindowedPluginTest.cpp: Added.
  8235. (WindowedPluginTest::WindowedPluginTest):
  8236. (WindowedPluginTest::NPP_SetWindow):
  8237. (WindowedPluginTest::staticWndProc):
  8238. * DumpRenderTree/TestNetscapePlugIn/win/WindowedPluginTest.h: Added.
  8239. (WindowedPluginTest::window):
  8240. Code came from NPNInvalidateRectInvalidatesWindow.
  8241. 2010-11-04 Adam Roben <aroben@apple.com>
  8242. Add a plugin test to show that windowed plugins are clipped correctly
  8243. Fixes <http://webkit.org/b/49024> <rdar://problem/8487847> Windowed
  8244. plugins aren't clipped in WebKit2 on Windows
  8245. Reviewed by Jon Honeycutt.
  8246. * DumpRenderTree/TestNetscapePlugIn/Tests/win/WindowRegionIsSetToClipRect.cpp: Added.
  8247. (WindowRegionIsSetToClipRect::WindowRegionIsSetToClipRect): Initialize members.
  8248. (WindowRegionIsSetToClipRect::NPP_SetWindow): Check that our window
  8249. region matches the clip rect we know we should have based on
  8250. window-region-is-set-to-clip-rect.html, and check that our window class
  8251. doesn't have the CS_PARENTDC style.
  8252. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  8253. Added WindowRegionIsSetToClipRect.
  8254. 2010-11-05 Alejandro G. Castro <alex@igalia.com>
  8255. Reviewed by Martin Robinson.
  8256. [GTK] Avoid font hinting in the DRT
  8257. https://bugs.webkit.org/show_bug.cgi?id=48548
  8258. Change the settings to avoid font hinting, it was causing
  8259. different results depending on the distribution.
  8260. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  8261. (initializeGtkFontSettings):
  8262. * DumpRenderTree/gtk/fonts/fonts.conf:
  8263. 2010-11-05 Eric Seidel <eric@webkit.org>
  8264. Reviewed by Adam Barth.
  8265. build-webkit spams system.log by repeatedly checking for PBXProductDirectory in com.apple.Xcode
  8266. https://bugs.webkit.org/show_bug.cgi?id=49051
  8267. This is a speculative fix. The unit tests cover these methods, however
  8268. I don't know if this will fully stop the system.log spam.
  8269. * Scripts/webkitpy/layout_tests/port/base.py:
  8270. * Scripts/webkitpy/layout_tests/port/webkit.py:
  8271. 2010-11-05 Eric Seidel <eric@webkit.org>
  8272. Reviewed by Adam Barth.
  8273. Add basic support for showing bot id on /queue-status/ pages
  8274. https://bugs.webkit.org/show_bug.cgi?id=49037
  8275. This support is really simple. Eventually we'll want to
  8276. show the bot id in the lock table too, but we don't have
  8277. that information stored in the server yet.
  8278. * QueueStatusServer/handlers/queuestatus.py:
  8279. * QueueStatusServer/handlers/queuestatus_unittest.py: Added.
  8280. * QueueStatusServer/templates/includes/singlequeuestatus.html:
  8281. 2010-11-04 Dirk Pranke <dpranke@chromium.org>
  8282. Reviewed by Adam Barth.
  8283. Create a filesystem wrapper that we can use to enforce
  8284. particular conventions and use for mocking and dependency
  8285. injection down the line.
  8286. https://bugs.webkit.org/show_bug.cgi?id=48144
  8287. * Scripts/webkitpy/common/system/filesystem.py: Added.
  8288. * Scripts/webkitpy/common/system/filesystem_unittest.py: Added.
  8289. 2010-11-04 Mihai Parparita <mihaip@chromium.org>
  8290. Reviewed by Tony Chang.
  8291. run_webkit_tests_unittest fails under Python 2.5
  8292. https://bugs.webkit.org/show_bug.cgi?id=49043
  8293. Switch from itertools.chain.from_iterable (which was added in 2.6)
  8294. to using itertools.chain directly.
  8295. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  8296. 2010-11-04 Mihai Parparita <mihaip@chromium.org>
  8297. Unreviewed fix to webkit-patch rebaseline-server so that it runs under
  8298. Python 2.5 (it needs an import to use the with statement).
  8299. * Scripts/webkitpy/tool/commands/rebaselineserver.py:
  8300. 2010-11-04 Dirk Pranke <dpranke@chromium.org>
  8301. Reviewed by Adam Barth.
  8302. new-run-webkit-tests: split out webkit-specific configuration stuff into a new module
  8303. The current NRWT code has webkit-specific configuration code (like
  8304. _script_path, default configuration, etc.) mixed in with
  8305. layout-test-specific stuff in port/base. The configuration code
  8306. should be split out into a separate module for easier mocking,
  8307. testing, and isolation.
  8308. https://bugs.webkit.org/show_bug.cgi?id=48264
  8309. * Scripts/webkitpy/layout_tests/port/config.py: Added.
  8310. * Scripts/webkitpy/layout_tests/port/config_unittest.py: Added.
  8311. 2010-11-04 Mihai Parparita <mihaip@chromium.org>
  8312. Reviewed by Tony Chang.
  8313. Rebaseline server: initial framework
  8314. https://bugs.webkit.org/show_bug.cgi?id=48892
  8315. Adds the basic framework for the rebaseline server (details at
  8316. http://webkit.org/b/47761). Includes the rebaseline-server webkit-patch
  8317. command, which starts an HTTP server that can serve static files or
  8318. invoke handler methods on a class.
  8319. * Scripts/webkitpy/tool/commands/__init__.py:
  8320. * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html: Added.
  8321. * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css: Added.
  8322. * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js: Added.
  8323. * Scripts/webkitpy/tool/commands/rebaselineserver.py: Added.
  8324. 2010-11-04 Dirk Pranke <dpranke@chromium.org>
  8325. Reviewed by James Robinson.
  8326. new-run-webkit-tests wasn't using DRT by default for
  8327. --platform chromium-gpu
  8328. The default value was set to False instead of None, which meant
  8329. that the platform specific logic wasn't firing to change the
  8330. value to True (b/c we were afraid we'd be overriding the user
  8331. preference).
  8332. https://bugs.webkit.org/show_bug.cgi?id=49038
  8333. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  8334. 2010-11-04 Tony Chang <tony@chromium.org>
  8335. Reviewed by Adam Barth.
  8336. make platform/chromium/plugins/multiple-plugins.html pass on all platforms
  8337. https://bugs.webkit.org/show_bug.cgi?id=49026
  8338. Have the testObject.bar property return the string "bar". This lets
  8339. us run and pass platform/chromium/plugins/multiple-plugins.html on all
  8340. platforms.
  8341. * DumpRenderTree/TestNetscapePlugIn/TestObject.cpp:
  8342. (testGetProperty):
  8343. 2010-11-04 Mihai Parparita <mihaip@chromium.org>
  8344. Reviewed by Tony Chang.
  8345. NRWT doesn't have good test coverage for --run-chunk, --batch-size, --run-part, etc.
  8346. https://bugs.webkit.org/show_bug.cgi?id=48878
  8347. Add get_tests_run so that it's easy to see which tests get run (and with
  8348. what batching) for a given flag combination. Flesh out the various
  8349. test cases that have FIXMEs.
  8350. Also fixes an off-by-one error (batch sizes were one larger than
  8351. expected) and makes --run-part also have wraparound behavior, like
  8352. --run-chunk.
  8353. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  8354. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  8355. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  8356. 2010-11-04 Erik Arvidsson <arv@chromium.org>
  8357. Reviewed by Dimitri Glazkov.
  8358. Support box-sizing without the vendor prefix
  8359. https://bugs.webkit.org/show_bug.cgi?id=36713
  8360. Based on patch by Peter Beverloo <peter@lvp-media.com>
  8361. * iExploder/htdocs/cssproperties.in: Change -webkit-box-sizing to box-sizing.
  8362. 2010-11-04 Csaba Osztrogonác <ossy@webkit.org>
  8363. Unreviewed rollout r71340, because it broke Chromium Windows bot.
  8364. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  8365. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  8366. 2010-11-04 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  8367. Reviewed by Ojan Vafai.
  8368. Make http locking default in NRWT.
  8369. https://bugs.webkit.org/show_bug.cgi?id=48053
  8370. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  8371. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  8372. 2010-11-04 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  8373. Reviewed by Eric Seidel.
  8374. [NRWT] Clear invalid http locks on Windows platform as well
  8375. https://bugs.webkit.org/show_bug.cgi?id=48515
  8376. * Scripts/webkitpy/common/system/executive.py:
  8377. * Scripts/webkitpy/common/system/executive_unittest.py:
  8378. * Scripts/webkitpy/layout_tests/port/http_lock.py:
  8379. 2010-11-02 Adam Roben <aroben@apple.com>
  8380. Reduce our dependence on coreutils when running Python tests
  8381. This patch introduces versions of the standard echo and cat utilities
  8382. implemented in Python. They are probably missing features of their
  8383. coreutils equivalents, but they can do what's necessary for our Python
  8384. tests. This is useful on Windows, where these utilities typically
  8385. aren't available.
  8386. Fixes <http://webkit.org/b/48883> executive_unittest relies on echo
  8387. and cat utilities from coreutils, which are not present on Windows
  8388. Reviewed by Eric Seidel.
  8389. * Scripts/webkitpy/common/system/executive_unittest.py: Changed to use
  8390. our Python-based echo and cat.
  8391. * Scripts/webkitpy/common/system/fileutils.py: Added.
  8392. (make_stdout_binary): On Windows, puts sys.stdout into binary mode so
  8393. that \n won't be translated into \r\n. I couldn't think of a good way
  8394. to test this directly without touching the filesystem, but it is tested
  8395. indirectly by echo_unittest.
  8396. * Scripts/webkitpy/test/cat.py: Added.
  8397. (command_arguments): Returns a list for invoking cat with the given arguments.
  8398. (main): Acts like a simplified version of the coreutils cat utility.
  8399. * Scripts/webkitpy/test/cat_unittest.py: Added.
  8400. (CatTest.assert_cat): Runs cat with the given input and ensures the
  8401. output matches the input.
  8402. (CatTest.test_basic): Performs a simple test of cat.
  8403. (CatTest.test_no_newline): Tests what happens when the input string
  8404. doesn't have a trailing newline.
  8405. (CatTest.test_unicode): Tests passing a unicode string to cat.
  8406. (CatTest.test_as_command): Tests running cat as a separate command.
  8407. * Scripts/webkitpy/test/echo.py: Added.
  8408. (command_arguments): Returns a list for invoking echo with the given arguments.
  8409. (main): Acts like a simplified version of the coreutils echo utility.
  8410. * Scripts/webkitpy/test/echo_unittest.py: Added.
  8411. (EchoTest.test_basic): Performs a simple test of echo.
  8412. (EchoTest.test_no_newline): Tests passing -n to echo to suppress the
  8413. trailing newline.
  8414. (EchoTest.test_unicode): Tests passing unicode and non-unicode strings
  8415. to echo.
  8416. (EchoTest.test_argument_order): Tests what happens when -n is not the
  8417. first argument.
  8418. (EchoTest.test_empty_arguments): Tests what happens when you pass [] to
  8419. echo.main.
  8420. (EchoTest.test_no_arguments): Tests what happens when you call
  8421. echo.main with no arguments.
  8422. (EchoTest.test_as_command): Tests running echo as a separate command.
  8423. 2010-11-04 Renata Hodovan <reni@inf.u-szeged.hu>
  8424. Unreviewed: Add myself to the list of Committers.
  8425. * Scripts/webkitpy/common/config/committers.py:
  8426. 2010-11-04 Andreas Kling <kling@webkit.org>
  8427. Reviewed by Kenneth Rohde Christiansen.
  8428. [Qt] Hook into QWebPage::scrollRequested for resizes-to-contents mode
  8429. In RTC mode the QGraphicsWebView item is the size of the contents,
  8430. scrolling works a bit differently (we need to react to scrollRequested.)
  8431. Normally QGraphicsView will replay the last mouse event when scrolling,
  8432. so to prevent WebKit from getting confused by this we temporarily make
  8433. the QGraphicsView non-interactive.
  8434. * QtTestBrowser/webview.cpp:
  8435. (WebViewGraphicsBased::setPage):
  8436. (WebViewGraphicsBased::scrollRequested):
  8437. * QtTestBrowser/webview.h:
  8438. 2010-11-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  8439. Reviewed by Andreas Kling.
  8440. Use OS(MAC_OS_X) rather than PLATFORM(MAC) in TestControllerQt
  8441. PLATFORM(MAC) is not defined for the Qt port, as it refers to
  8442. the Mac-port, not the Mac OS X operating system.
  8443. * WebKitTestRunner/qt/TestControllerQt.cpp:
  8444. (WTR::isExistingLibrary):
  8445. 2010-11-04 Leonid Ebril <leonid.ebril@nokia.com>
  8446. Reviewed by Andreas Kling.
  8447. [Qt] Adding iphone user agent string the user agent list for QtTestBrowser
  8448. https://bugs.webkit.org/show_bug.cgi?id=48869
  8449. * QtTestBrowser/useragentlist.txt:
  8450. 2010-11-03 Adam Roben <aroben@apple.com>
  8451. Always use uppercase drive names in strings returned by abspath_to_uri
  8452. Some versions of cygpath use lowercase drive letters while others use
  8453. uppercase, which makes it hard to test the output of code that uses
  8454. cygpath.
  8455. Fixes <http://webkit.org/b/48914> webkitpy.common.system.path_unittest
  8456. fails with Cygwin 1.5
  8457. Reviewed by Eric Seidel.
  8458. * Scripts/webkitpy/common/system/path.py:
  8459. (cygpath): Updated the docstring to indicate that only absolute paths
  8460. should be passed for now (though relative paths will work fine).
  8461. (_Cygpath.convert): Upper-case the first letter of the converted Windows path.
  8462. 2010-11-03 George Guo <George.Guo@Nokia.com>
  8463. Reviewed by Andreas Kling.
  8464. [Qt] QtTestBrowser : set mmp rule pageddata in Symbian
  8465. https://bugs.webkit.org/show_bug.cgi?id=48767
  8466. Paging is needd on Symbian devices to support benchmarks tests like
  8467. dromaeo.com and Celtic Kane that need a lot of memory to run
  8468. * QtTestBrowser/QtTestBrowser.pro:
  8469. 2010-11-03 Jenn Braithwaite <jennb@chromium.org>
  8470. Reviewed by Dmitry Titov.
  8471. Chromium: Update resource tracking when moving a frame between documents
  8472. https://bugs.webkit.org/show_bug.cgi?id=48363
  8473. * DumpRenderTree/chromium/WebViewHost.cpp:
  8474. (WebViewHost::assignIdentifierToRequest):
  8475. Always put resource id in map so we can make assumptions about its
  8476. presence.
  8477. (WebViewHost::removeIdentifierForRequest):
  8478. Added.
  8479. (WebViewHost::didFinishResourceLoad):
  8480. (WebViewHost::didFailResourceLoad):
  8481. Check existence of resource id before removing from map.
  8482. * DumpRenderTree/chromium/WebViewHost.h:
  8483. 2010-11-03 Victor Wang <victorw@chromium.org>
  8484. Reviewed by Adam Barth.
  8485. [Chromium] update buildbot names in chromium rebaseline tool.
  8486. https://bugs.webkit.org/show_bug.cgi?id=48881
  8487. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  8488. 2010-11-03 Darin Adler <darin@apple.com>
  8489. Updated Xcode projects by opening them with Xcode 3.2.4.
  8490. Updated svn:ignore for Xcode projects.
  8491. * MiniBrowser/MiniBrowser.xcodeproj: Added property svn:ignore.
  8492. * TestWebKitAPI/TestWebKitAPI.xcodeproj: Added property svn:ignore.
  8493. * WebKitLauncher/WebKitLauncher.xcodeproj: Modified property svn:ignore.
  8494. * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Updated with Xcode 3.2.4.
  8495. 2010-11-03 Adam Roben <aroben@apple.com>
  8496. Stop waiting for messages from the web process after a timeout elapses
  8497. TestController::runUntil now takes a timeout parameter that specifies
  8498. how long to wait for the condition to become true. WebKitTestRunner
  8499. takes a --timeout flag that specifies how long the timeout should be.
  8500. run-webkit-tests passes this flag to WebKitTestRunner so its timeout
  8501. will be similar to run-webkit-tests.
  8502. Fixes <http://webkit.org/b/43047> <rdar://problem/8365833>
  8503. WebKitTestRunner waits forever if the web process crashes
  8504. Reviewed by Darin Adler and Anders Carlsson.
  8505. * Scripts/old-run-webkit-tests:
  8506. (top level): Moved the GuardMalloc timeout adjustment here from
  8507. readFromDumpToolWithTimer.
  8508. (openDumpTool): Make WTR use a timeout similar to but slightly shorter
  8509. than the one that was specified on the command line.
  8510. * WebKitTestRunner/TestController.cpp:
  8511. (WTR::TestController::TestController): Initialize our timeout values.
  8512. (WTR::TestController::initialize): Parse the --timeout flag and use it
  8513. to modify our timeout values.
  8514. (WTR::TestController::resetStateToConsistentValues): Changed to use a
  8515. short timeout while waiting for the web process to reset and to return
  8516. a boolean indicating whether we were able to reset the web process.
  8517. Uses a 5-second timeout while waiting for the process to be reset.
  8518. (WTR::TestController::runTest): Changed to return a boolean indicating
  8519. whether we were able to reset the web process (and thus run the test).
  8520. (WTR::TestController::runUntil): Call through to platformRunUntil.
  8521. (WTR::TestController::runTestingServerLoop):
  8522. (WTR::TestController::run):
  8523. Changed to bail if any test can't be run. This will cause the process
  8524. to exit. (Unfortunately this will make run-webkit-tests think we
  8525. crashed; see <http://webkit.org/b/48943>.)
  8526. * WebKitTestRunner/TestController.h: Added platformRunUntil,
  8527. m_longTimeout, and m_shortTimeout.
  8528. * WebKitTestRunner/TestInvocation.cpp:
  8529. (WTR::TestInvocation::invoke): Use a short timeout when waiting for the
  8530. initial response and a long timeout when waiting for the test to
  8531. complete. Check whether runUntil timed out and print an error message
  8532. if so.
  8533. * WebKitTestRunner/mac/TestControllerMac.mm:
  8534. (WTR::TestController::platformRunUntil): Renamed from runUntil. Pass
  8535. [NSDate distantPast] to -[NSRunLoop runMode:beforeDate:] so that we
  8536. won't block waiting for the run loop. Only loop until the timeout
  8537. elapses.
  8538. * WebKitTestRunner/qt/TestControllerQt.cpp:
  8539. (WTR::TestController::platformRunUntil): Renamed from runUntil. Added a
  8540. FIXME about honoring the timeout.
  8541. * WebKitTestRunner/win/TestControllerWin.cpp:
  8542. (WTR::TestController::platformRunUntil): Renamed from runUntil. Use
  8543. ::MsgWaitForMultipleObjectsEx to implement the timeout. Changed to use
  8544. ::PeekMessageW so that we don't block waiting for messages to become
  8545. available.
  8546. 2010-11-03 Adam Roben <aroben@apple.com>
  8547. Add a plugin test that evaluates JS after removing the plugin element
  8548. from the document
  8549. This test replaces platform/win/plugins/plugin-delayed-destroy.html.
  8550. That test was made to prevent a crash very similar to this one, but
  8551. unfortunately tested only the mechanism that prevented the crash and
  8552. not whether the crash itself was prevented. Since WebKit2 uses a
  8553. different mechanism to prevent the crash, the test was failing even
  8554. though WebKit2 was not vulnerable to the crash. This new test crashes
  8555. if there is no mechanism in place to prevent it and passes in both
  8556. WebKit1 and WebKit2.
  8557. Fixes <http://webkit.org/b/46711> <rdar://problem/8485903>
  8558. platform/win/plugins/plugin-delayed-destroy.html fails in WebKit2
  8559. Reviewed by Anders Carlsson.
  8560. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  8561. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  8562. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  8563. * GNUmakefile.am:
  8564. Added new file.
  8565. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
  8566. (pluginDeallocate): Make sure we delete the PluginTest object. This
  8567. prevents a leak and also allows us to test the crash.
  8568. * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
  8569. (PluginTest::executeScript): Made this into a non-static member
  8570. function.
  8571. (PluginTest::waitUntilDone):
  8572. (PluginTest::notifyDone):
  8573. Updated for changes to executeScript.
  8574. * DumpRenderTree/TestNetscapePlugIn/PluginTest.h: Added executeScript.
  8575. * DumpRenderTree/TestNetscapePlugIn/Tests/EvaluateJSAfterRemovingPluginElement.cpp: Added.
  8576. (EvaluateJSAfterRemovingPluginElement::EvaluateJSAfterRemovingPluginElement):
  8577. Initialize ourselves and tell the test harness to wait.
  8578. (EvaluateJSAfterRemovingPluginElement::NPP_DestroyStream): Remove our
  8579. plugin element from the document, then execute some JavaScript. If
  8580. WebKit does not have appropriate mechanisms in place, we'll be
  8581. destroyed inside the first call to executeScript and crash on the
  8582. second call.
  8583. 2010-11-02 Stephen White <senorblanco@chromium.org>
  8584. Reviewed by Tony Chang.
  8585. [chromium] Fix LayoutTestController UMRs.
  8586. https://bugs.webkit.org/show_bug.cgi?id=48872
  8587. * DumpRenderTree/chromium/LayoutTestController.cpp:
  8588. (LayoutTestController::LayoutTestController):
  8589. 2010-11-03 Kent Tamura <tkent@chromium.org>
  8590. Reviewed by Dimitri Glazkov.
  8591. REGRESSION: rebaseline-chromium-webkit-tests uses non-zero tolerance for
  8592. image dup detection
  8593. https://bugs.webkit.org/show_bug.cgi?id=48744
  8594. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  8595. - Make a function for option parsing for ease of test
  8596. - Set 0 to options.tolerance
  8597. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
  8598. - Add a test for this change
  8599. 2010-11-02 Gyuyoung Kim <gyuyoung.kim@samsung.com>
  8600. Unreviewed: Add myself to the list of Committers.
  8601. * Scripts/webkitpy/common/config/committers.py:
  8602. 2010-11-02 Anders Carlsson <andersca@apple.com>
  8603. Fix build.
  8604. * TestWebKitAPI/PlatformUtilities.cpp:
  8605. (TestWebKitAPI::Util::createContextForInjectedBundleTest):
  8606. 2010-11-02 Sam Weinig <sam@webkit.org>
  8607. Reviewed by Anders Carlsson.
  8608. Add a way to send startup messages on the context which can be posted when a process launches
  8609. <rdar://problem/8617928>
  8610. https://bugs.webkit.org/show_bug.cgi?id=48838
  8611. * MiniBrowser/mac/WebBundle/WebBundleMain.m:
  8612. (WKBundleInitialize):
  8613. * TestWebKitAPI/InjectedBundleController.cpp:
  8614. (TestWebKitAPI::InjectedBundleController::initialize):
  8615. (TestWebKitAPI::InjectedBundleController::didReceiveMessage):
  8616. * TestWebKitAPI/InjectedBundleController.h:
  8617. * TestWebKitAPI/InjectedBundleMain.cpp:
  8618. (WKBundleInitialize):
  8619. * TestWebKitAPI/PlatformUtilities.cpp:
  8620. (TestWebKitAPI::Util::createContextForInjectedBundleTest):
  8621. * WebKitTestRunner/InjectedBundle/InjectedBundleMain.cpp:
  8622. (WKBundleInitialize):
  8623. Update implementations of WKBundleInitialize to take an initial userData
  8624. argument. Change TestWebKitAPI to use the new initial userData to initialize
  8625. each test's bundle.
  8626. 2010-11-02 Benjamin Kalman <kalman@google.com>
  8627. Reviewed by Ojan Vafai.
  8628. new-run-webkit-tests doesn't strip "LayoutTests/" from prefix, unlike old-run-webkit-tests
  8629. https://bugs.webkit.org/show_bug.cgi?id=48794
  8630. * Scripts/webkitpy/layout_tests/run_webkit_tests.py: Strip the "LayoutTests/" prefix from test argument paths.
  8631. 2010-11-02 Adam Roben <aroben@apple.com>
  8632. Skip webkitpy.layout_tests.run_webkit_tests_unittest.MainTest on Cygwin
  8633. Python 2.5.x
  8634. It is known to hang on that version of Python. See
  8635. <http://webkit.org/b/48614>.
  8636. Reviewed by Adam Barth.
  8637. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: Use
  8638. skip_if to skip MainTest on Cygwin Python 2.5.x.
  8639. * Scripts/webkitpy/test/skip.py: Added.
  8640. (skip_if): If the passed-in condition is false, find all the test_*
  8641. methods of the given class and replace them with a function that just
  8642. logs that we're skipping these tests. This is loosely based on the
  8643. unittest.skip_if decorator added in Python 3.1.
  8644. (_skipped_method): Returns a function that just logs that the tests are
  8645. being skipped. This is used in place of the actual test_* functions.
  8646. * Scripts/webkitpy/test/skip_unittest.py: Added.
  8647. (SkipTest.setUp): Create a logger for ourselves and give it a handler
  8648. that logs to a private stream.
  8649. (SkipTest.tearDown): Reset the logger.
  8650. (SkipTest.create_fixture_class): Returns a class that we use to test
  8651. skip_if. It has a single test_* method, test_foo, that just calls
  8652. through to a callback.
  8653. (SkipTest.foo_callback): Record that test_foo was called.
  8654. (SkipTest.test_skip_if_false): Pass skip_if a False condition and test
  8655. that test_foo does get called.
  8656. (SkipTest.test_skip_if_true): Pass skip_if a True condition and test
  8657. that test_foo does not get called and the appropriate message gets
  8658. logged.
  8659. 2010-11-02 Adam Barth <abarth@webkit.org>
  8660. Reviewed by Eric Seidel.
  8661. webkit-patch should tell check-webkit-style which files were changed so
  8662. check-webkit-style doesn't have to stat the whole working copy again
  8663. https://bugs.webkit.org/show_bug.cgi?id=48792
  8664. * Scripts/webkitpy/tool/mocktool.py:
  8665. * Scripts/webkitpy/tool/steps/checkstyle.py:
  8666. 2010-11-02 Robert Kroeger <rjkroege@chromium.org>
  8667. Reviewed by James Robinson.
  8668. [Chromium/DRT] Make EventSendingController honour leapForward for touch events.
  8669. https://bugs.webkit.org/show_bug.cgi?id=48777
  8670. * DumpRenderTree/chromium/EventSender.cpp:
  8671. (EventSender::sendCurrentTouchEvent):
  8672. 2010-11-02 Adam Roben <aroben@apple.com>
  8673. Only track resource identifiers in DRT when dumpResourceLoadCallbacks
  8674. is on
  8675. This reverts Windows to our pre-r71097 behavior. That patch made us
  8676. track all resource identifiers, including the main resource, so the
  8677. main resource's URL started appearing in test output instead of
  8678. "<unknown>". Arguably having the main resource's URL is better, but all
  8679. other platforms print "<unknown>" and we want to match.
  8680. Fixes <http://webkit.org/b/48837> <rdar://problem/8620351> REGRESSION
  8681. (r71097): Many http tests failing on Windows
  8682. Reviewed by Anders Carlsson.
  8683. * DumpRenderTree/win/ResourceLoadDelegate.cpp:
  8684. (ResourceLoadDelegate::identifierForInitialRequest): Don't add the
  8685. identifier to the URL map if we're not supposed to dump resource load
  8686. callbacks.
  8687. (ResourceLoadDelegate::removeIdentifierForRequest): Always remove the
  8688. identifier from the URL map even if we're already "done". There's no
  8689. point in keeping out-of-date identifiers around.
  8690. 2010-11-01 Jenn Braithwaite <jennb@chromium.org>
  8691. Reviewed by Adam Roben.
  8692. Windows: Update resource tracking when moving a frame between documents
  8693. https://bugs.webkit.org/show_bug.cgi?id=48364
  8694. * DumpRenderTree/win/DumpRenderTree.cpp:
  8695. (createWebViewAndOffscreenWindow):
  8696. (main):
  8697. Give each WebView its own ResourceLoadDelegate instance in order to
  8698. make assertions about resource ids on a particular WebView.
  8699. * DumpRenderTree/win/ResourceLoadDelegate.cpp:
  8700. (ResourceLoadDelegate::identifierForInitialRequest):
  8701. Always add id to the map.
  8702. (ResourceLoadDelegate::removeIdentifierForRequest):
  8703. Added.
  8704. (ResourceLoadDelegate::willSendRequest):
  8705. (ResourceLoadDelegate::didReceiveAuthenticationChallenge):
  8706. (ResourceLoadDelegate::didReceiveResponse):
  8707. (ResourceLoadDelegate::didFinishLoadingFromDataSource):
  8708. (ResourceLoadDelegate::didFailLoadingWithError):
  8709. (ResourceLoadDelegate::descriptionSuitableForTestResult):
  8710. Replace static descriptionSuitableForTestResult with static member function to access identifier map.
  8711. * DumpRenderTree/win/ResourceLoadDelegate.h:
  8712. (ResourceLoadDelegate::urlMap):
  8713. Moved within class so that each WebView has its own id map.
  8714. 2010-11-01 Ojan Vafai <ojan@chromium.org>
  8715. Reviewed by Dimitri Glazkov.
  8716. remove debug code from run_webkit_tests.py
  8717. https://bugs.webkit.org/show_bug.cgi?id=48800
  8718. Remove temporary debug code and make --master-name required
  8719. if --test-results-server is set now that all clients set
  8720. --master-name.
  8721. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  8722. 2010-11-01 Tony Chang <tony@chromium.org>
  8723. Reviewed by Kent Tamura.
  8724. add plugin event logging for linux
  8725. https://bugs.webkit.org/show_bug.cgi?id=48779
  8726. This is taken from Chromium's fork of the layout test plugin:
  8727. http://git.chromium.org/gitweb/?p=chromium.git/.git;a=blob;f=webkit/tools/npapi_layout_test_plugin/main.cpp;h=3ebdada2f049b3624756438cff852364f86a2ede;hb=HEAD#l348
  8728. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  8729. (handleEventX11):
  8730. (NPP_HandleEvent):
  8731. 2010-11-01 Dirk Pranke <dpranke@chromium.org>
  8732. Reviewed by James Robinson.
  8733. new-run-webkit-tests: use DRT, child-processes=1 for GPU tests by default
  8734. https://bugs.webkit.org/show_bug.cgi?id=48790
  8735. * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
  8736. * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
  8737. 2010-11-01 Adam Barth <abarth@webkit.org>
  8738. Reviewed by Eric Seidel.
  8739. Teach check-webkit-style how to accept a list of files to diff on the
  8740. command line
  8741. https://bugs.webkit.org/show_bug.cgi?id=48784
  8742. In a future patch, webkit-patch will use this option to improve
  8743. performance. I'm landing this in two pieces to avoid causing a version
  8744. skew problem for the style-bot.
  8745. * Scripts/check-webkit-style:
  8746. * Scripts/webkitpy/style/optparser.py:
  8747. * Scripts/webkitpy/style/optparser_unittest.py:
  8748. * Scripts/webkitpy/style_references.py:
  8749. 2010-11-01 Anders Carlsson <andersca@apple.com>
  8750. Reviewed by John Sullivan.
  8751. Tear down the related WebProcessProxy when a WebContext is deallocated
  8752. https://bugs.webkit.org/show_bug.cgi?id=48769
  8753. * TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp:
  8754. (TestWebKitAPI::didFailProvisionalLoadWithErrorForFrame):
  8755. We don't support empty URLs anymore, update test to expect a null URL instead.
  8756. 2010-11-01 Søren Gjesse <sgjesse@chromium.org>
  8757. Reviewed by Andreas Kling.
  8758. Fix warning when compiling the chromium port of DumpRenderShell
  8759. with clang.
  8760. https://bugs.webkit.org/show_bug.cgi?id=48414
  8761. * DumpRenderTree/chromium/TestShell.h:
  8762. (TestShell::javaScriptFlagsForLoad):
  8763. 2010-11-01 Adam Roben <aroben@apple.com>
  8764. Fix typo from r71022
  8765. * BuildSlaveSupport/build.webkit.org-config/config.json:
  8766. 2010-11-01 Adam Roben <aroben@apple.com>
  8767. Trigger the Windows Release WebKit2 tests when a Release build
  8768. finishes, not when a Debug build finishes
  8769. Fixes <http://webkit.org/b/48754> Windows Release WebKit2 tests are
  8770. triggered at the wrong time
  8771. Reviewed by Sam Weinig.
  8772. * BuildSlaveSupport/build.webkit.org-config/config.json: Fixed
  8773. triggerable name and trigger.
  8774. 2010-11-01 Mario Sanchez Prada <msanchez@igalia.com>
  8775. Unreviewed. Adding my IRC nickname to the list of committers.
  8776. * Scripts/webkitpy/common/config/committers.py:
  8777. 2010-10-31 Robert Hogan <robert@webkit.org>
  8778. Reviewed by Antonio Gomes.
  8779. [Qt] [Gtk] Plug-ins having upper case in mime type are failing to load
  8780. Qt and Gtk are case-sensitive when storing the declared mime-type
  8781. of plugins. Since plugin mime-types are lowercased prior to searching
  8782. for them in the plugin database, ensure they are loaded with the
  8783. mime-type in lower case too.
  8784. Change the test netscape plugin to declare its mimetype in sentence
  8785. case so that the correct behaviour is enforced.
  8786. https://bugs.webkit.org/show_bug.cgi?id=36815
  8787. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  8788. (NP_GetMIMEDescription):
  8789. 2010-10-31 Robert Hogan <robert@webkit.org>
  8790. Reviewed by Antonio Gomes.
  8791. [Qt] Support nodesFromRect in DRT
  8792. https://bugs.webkit.org/show_bug.cgi?id=48716
  8793. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  8794. (LayoutTestController::nodesFromRect):
  8795. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  8796. 2010-10-30 Andreas Kling <kling@webkit.org>
  8797. Reviewed by Antonio Gomes.
  8798. [Qt] QtTestBrowser: Switching view type moves the embedded inspector
  8799. https://bugs.webkit.org/show_bug.cgi?id=48705
  8800. Reinsert the embedded inspector into the splitter after changing
  8801. between QWebView/QGraphicsWebView.
  8802. * QtTestBrowser/launcherwindow.cpp:
  8803. (LauncherWindow::init):
  8804. (LauncherWindow::initializeView):
  8805. * QtTestBrowser/webinspector.h:
  8806. (WebInspector::WebInspector):
  8807. 2010-10-28 Antonio Gomes <agomes@rim.com>
  8808. Reviewed by Ojan Vafai.
  8809. Needs a "LinuxEditingBehavior", perhaps with a better name
  8810. https://bugs.webkit.org/show_bug.cgi?id=36627
  8811. Adding support to Mac's, GTK+'s, Windows' and Chromium's LayoutTestController class to test the newly introduced Unix editing behavior.
  8812. * DumpRenderTree/chromium/LayoutTestController.cpp:
  8813. (LayoutTestController::setEditingBehavior):
  8814. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  8815. (LayoutTestController::setEditingBehavior):
  8816. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  8817. (LayoutTestController::setEditingBehavior):
  8818. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  8819. (LayoutTestController::setEditingBehavior):
  8820. 2010-10-29 Andreas Kling <kling@webkit.org>
  8821. Reviewed by Kenneth Rohde Christiansen.
  8822. [Qt] QtTestBrowser: Add keyboard shortcut to toggle full screen (F11)
  8823. https://bugs.webkit.org/show_bug.cgi?id=48695
  8824. * QtTestBrowser/launcherwindow.cpp:
  8825. (LauncherWindow::createChrome):
  8826. 2010-10-29 Andreas Kling <kling@webkit.org>
  8827. Reviewed by Kenneth Rohde Christiansen.
  8828. [Qt] QtTestBrowser: Fix uninitialized read in FpsTimer
  8829. https://bugs.webkit.org/show_bug.cgi?id=48675
  8830. FpsTimer::m_timer was never initialized and passed to QObject::killTimer()
  8831. on startup with in -graphicsbased mode.
  8832. * QtTestBrowser/fpstimer.cpp:
  8833. (FpsTimer::FpsTimer):
  8834. (FpsTimer::numFrames):
  8835. (FpsTimer::stop):
  8836. (FpsTimer::timerEvent):
  8837. * QtTestBrowser/fpstimer.h:
  8838. 2010-10-29 Dirk Pranke <dpranke@chromium.org>
  8839. Reviewed by Tony Chang.
  8840. new-run-webkit-tests: change TestResults to be serializable
  8841. In preparation for changing new-run-webkit-tests from
  8842. multithreaded to multiprocess, we need to make sure the data
  8843. going between the threads is easily serialized over a socket.
  8844. This change adds serialization/pickling for the TestResults and
  8845. TestFailure objects (using cPickle).
  8846. The TestFailure objects included a "has_wdiff" flag for Text
  8847. results, but the flag wasn't being used, so I've removed it,
  8848. simplifying the state to basically a set of enum objects with
  8849. associated methods.
  8850. https://bugs.webkit.org/show_bug.cgi?id=48616
  8851. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  8852. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  8853. * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
  8854. * Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py:
  8855. * Scripts/webkitpy/layout_tests/layout_package/test_results.py: Added.
  8856. * Scripts/webkitpy/layout_tests/layout_package/test_results_unittest.py:Added.
  8857. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  8858. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  8859. 2010-10-29 Dirk Pranke <dpranke@chromium.org>
  8860. Reviewed by Ojan Vafai.
  8861. new-run-webkit-tests: need to provide separate dashboard results for GPU tests
  8862. https://bugs.webkit.org/show_bug.cgi?id=48687
  8863. Modify the steps to upload the JSON files to the dashboards so
  8864. that the GPU tests don't conflict with the regular tests on a
  8865. port. We do this by modifying the --builder-name parameter to
  8866. append " - GPU", which should cause the app to treat the results
  8867. as a completely new builder. This is a little non-obvious, but
  8868. keeps us from having to restructure the app.
  8869. * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
  8870. * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
  8871. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  8872. 2010-10-29 Ojan Vafai <ojan@chromium.org>
  8873. Reviewed by Tony Chang.
  8874. [chromium] add debug logging to help diagnose flakiness dashboard issues
  8875. https://bugs.webkit.org/show_bug.cgi?id=48657
  8876. The appengine app thinks it's getting empty files uploaded. Add some logging
  8877. to see if new-run-webkit-tests agrees.
  8878. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  8879. 2010-10-29 Dimitri Glazkov <dglazkov@chromium.org>
  8880. Reviewed by Ojan Vafai.
  8881. [Chromium/DRT] Add master-name flag to new-run-webkit-tests.
  8882. https://bugs.webkit.org/show_bug.cgi?id=48649
  8883. * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added flag.
  8884. 2010-10-29 Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
  8885. Reviewed by Martin Robinson.
  8886. Enable popup window in GtkLauncher
  8887. https://bugs.webkit.org/show_bug.cgi?id=48335
  8888. The GtkLauncher application does not support opening new window when
  8889. a link with "target=_blank" is clicked or similar call to
  8890. window.open(). Instead, GtkLauncher does nothing which breaks
  8891. navigation of some websites.
  8892. * GtkLauncher/main.c:
  8893. (activate_uri_entry_cb):
  8894. (update_title):
  8895. (link_hover_cb):
  8896. (notify_title_cb):
  8897. (notify_load_status_cb):
  8898. (notify_progress_cb):
  8899. (destroy_cb):
  8900. (go_back_cb):
  8901. (go_forward_cb):
  8902. (create_web_view_cb):
  8903. (web_view_ready_cb):
  8904. (close_web_view_cb):
  8905. (create_browser):
  8906. (create_statusbar):
  8907. (create_toolbar):
  8908. (create_window):
  8909. (main):
  8910. 2010-10-29 Adam Roben <aroben@apple.com>
  8911. Teach check-webkit-style about WebKit2's idiosyncracies
  8912. Fixes <http://webkit.org/b/48638> Style bot complains about a number
  8913. of WebKit2 conventions
  8914. Reviewed by Anders Carlsson.
  8915. * Scripts/webkitpy/style/checker.py: Excluded some rules for various
  8916. WebKit2-related files. Also updated the excluded rules for
  8917. WebKitAPITest to match the current code.
  8918. 2010-10-29 Csaba Osztrogonác <ossy@webkit.org>
  8919. Reviewed by Adam Roben and David Kilzer.
  8920. Fix and cleanup of build systems
  8921. https://bugs.webkit.org/show_bug.cgi?id=48342
  8922. * Scripts/build-webkit:
  8923. - Remove unnecessary ENABLE_SANDBOX option.
  8924. - Add ENABLE_FULLSCREEN_API option.
  8925. 2010-10-28 Adam Roben <aroben@apple.com>
  8926. Switch the Windows WebKit2 bot to the Release configuration
  8927. We only have one machine testing WebKit2 on Windows right now, and
  8928. Debug is just too slow for it to keep up.
  8929. Fixes (hopefully!) <http://webkit.org/b/48615> Windows WebKit2 bot is
  8930. always way behind
  8931. Reviewed by Jon Honeycutt.
  8932. * BuildSlaveSupport/build.webkit.org-config/config.json:
  8933. 2010-10-29 Leandro Gracia Gil <leandrogracia@google.com>
  8934. Reviewed by Jeremy Orlow.
  8935. Added a second parameter to setMockSpeechInputResult for
  8936. the language used in speech input.
  8937. https://bugs.webkit.org/show_bug.cgi?id=47089
  8938. * DumpRenderTree/LayoutTestController.cpp:
  8939. (setMockSpeechInputResultCallback):
  8940. * DumpRenderTree/LayoutTestController.h:
  8941. * DumpRenderTree/chromium/LayoutTestController.cpp:
  8942. (LayoutTestController::setMockSpeechInputResult):
  8943. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  8944. (LayoutTestController::setMockSpeechInputResult):
  8945. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  8946. (LayoutTestController::setMockSpeechInputResult):
  8947. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  8948. (LayoutTestController::setMockSpeechInputResult):
  8949. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  8950. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  8951. (LayoutTestController::setMockSpeechInputResult):
  8952. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  8953. (LayoutTestController::setMockSpeechInputResult):
  8954. (LayoutTestController::pageSizeAndMarginsInPixels):
  8955. 2010-10-28 Ojan Vafai <ojan@chromium.org>
  8956. Reviewed by Tony Chang.
  8957. [chromium] add a result-small.json file for the test dashboard
  8958. https://bugs.webkit.org/show_bug.cgi?id=48547
  8959. Output both a results.json file and a results-small.json file.
  8960. The dashboard will load results-small.json by default so it loads faster.
  8961. * TestResultServer/model/jsonresults.py:
  8962. * TestResultServer/model/jsonresults_unittest.py:
  8963. Added a bunch of sys.path hackery. Unforunately, this uses hardcoded
  8964. paths. That obviously needs to be fixed, but at least this way it
  8965. clearly documents what paths are necessary.
  8966. 2010-10-28 Eric Seidel <eric@webkit.org>
  8967. Reviewed by Adam Barth.
  8968. webkit-patch upload calls changed_files more often than it should
  8969. https://bugs.webkit.org/show_bug.cgi?id=48567
  8970. Passing changed_files around everywhere isn't a very elegant solution
  8971. but it's the one we have for the moment. I think keeping an explicit
  8972. cache on Checkout (or making StepState() a real class) is a better
  8973. long-term option.
  8974. Previously bug_id_for_this_commit was calling changed_files and the
  8975. result was never getting cached on the state. Now we're explicitly
  8976. caching the result on the state and passing that to the bug_id_for_this_commit call.
  8977. I looked into building unit tests for this. Doing so would require
  8978. using a real Checkout object with a MockSCM and overriding the appropriate
  8979. calls on SCM to count how often we're stating the file system.
  8980. That's a useful set of tests to build for a separate change.
  8981. * Scripts/webkitpy/common/checkout/api.py:
  8982. * Scripts/webkitpy/tool/commands/download.py:
  8983. * Scripts/webkitpy/tool/commands/upload.py:
  8984. * Scripts/webkitpy/tool/mocktool.py:
  8985. 2010-10-28 Eric Seidel <eric@webkit.org>
  8986. Reviewed by Adam Barth.
  8987. Make suggest-reviewers slightly faster
  8988. https://bugs.webkit.org/show_bug.cgi?id=48562
  8989. Add @memoized to one more common call.
  8990. * Scripts/webkitpy/common/checkout/api.py:
  8991. 2010-10-28 Eric Seidel <eric@webkit.org>
  8992. Reviewed by Adam Barth.
  8993. webkit-patch suggest-reviewers -g 260550a6e30b7bf34f16bdb4a5396cf26264fc1c is still very slow
  8994. https://bugs.webkit.org/show_bug.cgi?id=48536
  8995. This patch makes it about 40 seconds faster, but it still
  8996. takes 1:40. This will require more refinement.
  8997. The suggested reviewers list appears to be the same.
  8998. I think the next step may be to have it stop the search after
  8999. 5 reviewers are found. We never want to suggest 30 people.
  9000. * Scripts/webkitpy/common/checkout/scm.py:
  9001. - Using --remove-empty to theoretically stop lookups past
  9002. when a file is removed. I'm not entirely clear that the option
  9003. does what it says it does. Example:
  9004. git log --pretty=format:%H -5 --remove-empty -- /Projects/WebKit/WebCore/platform/wx/SearchPopupMenuWx.h
  9005. returns only one commit
  9006. vs.
  9007. git log --pretty=format:%H -5 -- /Projects/WebKit/WebCore/platform/wx/SearchPopupMenuWx.h
  9008. which returns 5. I was not aware that wx files were ever removed from the repository?
  9009. 2010-10-28 Kinuko Yasuda <kinuko@chromium.org>
  9010. Reviewed by David Levin.
  9011. [Chromium] Support FileSystem in chromium DRT
  9012. https://bugs.webkit.org/show_bug.cgi?id=47643
  9013. * DumpRenderTree/chromium/WebViewHost.cpp:
  9014. (WebViewHost::openFileSystem): Added.
  9015. * DumpRenderTree/chromium/WebViewHost.h:
  9016. (WebViewHost::openFileSystem): Added.
  9017. 2010-10-28 Sam Weinig <sam@webkit.org>
  9018. Reviewed by Anders Carlsson.
  9019. WKURLRefs should be allowed to be null
  9020. <rdar://problem/8575621>
  9021. https://bugs.webkit.org/show_bug.cgi?id=48535
  9022. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  9023. * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
  9024. (TestWebKitAPI::didStartProvisionalLoadForFrame):
  9025. (TestWebKitAPI::didCommitLoadForFrame):
  9026. (TestWebKitAPI::didFinishLoadForFrame):
  9027. Test that URLs are null pointers when unset.
  9028. 2010-10-28 Chris Fleizach <cfleizach@apple.com>
  9029. Reviewed by Adele Peterson.
  9030. AX: multi select group option does not handle setting of AXSelectedChildren correctly
  9031. https://bugs.webkit.org/show_bug.cgi?id=48464
  9032. Add support for querying information about selected children to DRT, including:
  9033. selectedChildAtIndex
  9034. selectedChildrenCount
  9035. setSelectedChild
  9036. * DumpRenderTree/AccessibilityUIElement.cpp:
  9037. (selectedChildAtIndexCallback):
  9038. (setSelectedChildCallback):
  9039. (selectedChildrenCountCallback):
  9040. (AccessibilityUIElement::setSelectedChild):
  9041. (AccessibilityUIElement::selectedChildrenCount):
  9042. (AccessibilityUIElement::selectedChildAtIndex):
  9043. (AccessibilityUIElement::getJSClass):
  9044. * DumpRenderTree/AccessibilityUIElement.h:
  9045. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  9046. (AccessibilityUIElement::selectedChildAtIndex):
  9047. (AccessibilityUIElement::selectedChildrenCount):
  9048. (AccessibilityUIElement::setSelectedChild):
  9049. 2010-10-27 Sam Weinig <sam@webkit.org>
  9050. Reviewed by Anders Carlsson.
  9051. Add WebKit2 API for window feature getter/setters
  9052. <rdar://problem/8590373>
  9053. https://bugs.webkit.org/show_bug.cgi?id=48496
  9054. * MiniBrowser/mac/BrowserWindowController.m:
  9055. (-[BrowserWindowController awakeFromNib]):
  9056. * MiniBrowser/win/BrowserView.cpp:
  9057. (BrowserView::create):
  9058. * WebKitTestRunner/TestController.cpp:
  9059. (WTR::createOtherPage):
  9060. (WTR::TestController::initialize):
  9061. 2010-10-28 Søren Gjesse <sgjesse@chromium.org>
  9062. Reviewed by Tony Chang.
  9063. Added support for the DumpRenderTree flags --multiple-loads and --js-flags to the Python test runner.
  9064. https://bugs.webkit.org/show_bug.cgi?id=48236
  9065. * Scripts/webkitpy/layout_tests/port/chromium.py:
  9066. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  9067. 2010-10-28 Sergio Villar Senin <svillar@igalia.com>
  9068. Reviewed by Martin Robinson.
  9069. [GTK] WebKitWebFrame's load-status is not properly notified to the tests
  9070. https://bugs.webkit.org/show_bug.cgi?id=48048
  9071. DRT now listens to WebKitWebFrame load-status signals for each
  9072. created frame instead of the load-status signal of the
  9073. WebKitWebView that only notifies about changes in the main frame.
  9074. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  9075. (webViewLoadFinished):
  9076. (webFrameLoadStatusNotified):
  9077. (frameCreatedCallback):
  9078. (createWebView):
  9079. (main):
  9080. 2010-10-28 Tony Chang <tony@chromium.org>
  9081. Reviewed by Kent Tamura.
  9082. [chromium] fix textInputController.{selectedRange,markedRange}
  9083. https://bugs.webkit.org/show_bug.cgi?id=48487
  9084. * DumpRenderTree/chromium/TextInputController.cpp:
  9085. (TextInputController::markedRange): Return arrays of ints, rather than a string
  9086. (TextInputController::selectedRange): Ditto.
  9087. 2010-10-27 Ojan Vafai <ojan@chromium.org>
  9088. Reviewed by Tony Chang.
  9089. [chromium] add a master-name flag to new-run-webkit-tests
  9090. https://bugs.webkit.org/show_bug.cgi?id=48488
  9091. The test results server now allows adding a master name to
  9092. the uploaded files. This lets us distinguish bots that have
  9093. the same name, but are on different masters.
  9094. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  9095. 2010-10-28 Adam Roben <aroben@apple.com>
  9096. Don't append a newline to the test output if the frame has no document
  9097. element in WebKitTestRunner
  9098. Fixes <http://webkit.org/b/48526> Extra trailing newline when running
  9099. plugins/document-open.html in WebKitTestRunner
  9100. Reviewed by Anders Carlsson.
  9101. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  9102. (WTR::toJS): Added. Turns a UTF-8 C string into a JSStringRef.
  9103. (WTR::hasDocumentElement): Added. Uses the JSC API to figure out
  9104. whether the frame has a document element.
  9105. (WTR::dumpFrameText): Match DRT by bailing (rather than appending an
  9106. empty string and a newline) if the frame has no document element.
  9107. 2010-10-28 Adam Roben <aroben@apple.com>
  9108. Skip npn-invalidate-rect-invalidates-window.html on headless XP
  9109. machines
  9110. TestNetscapePlugIn never receives a WM_PAINT message on headless XP
  9111. machines, so this test times out. Fixing the test is covered by
  9112. <http://webkit.org/b/48333>.
  9113. * Scripts/old-run-webkit-tests: Skip
  9114. npn-invalidate-rect-invalidates-window.html on Windows if accelerated
  9115. compositing support is disabled, which likely means we're on a headless
  9116. XP machine.
  9117. 2010-10-28 Kimmo Kinnunen <kimmok@iki.fi>
  9118. Adding myself as a committer.
  9119. * Scripts/webkitpy/common/config/committers.py:
  9120. 2010-10-27 Eric Seidel <eric@webkit.org>
  9121. Reviewed by Adam Barth.
  9122. webkit-patch suggest-reviewers -g 260550a6e30b7bf34f16bdb4a5396cf26264fc1c is very slow
  9123. https://bugs.webkit.org/show_bug.cgi?id=48500
  9124. This doesn't fix the problem, but it makes things slightly better.
  9125. Each git svn find-rev call takes about .25 seconds on my desktop.
  9126. This patch uses a new memoized class to avoid those calls when possible.
  9127. The real slowness is still git log on some files, like:
  9128. git log --pretty=format:%H -5 -- /Projects/WebKit/WebCore/platform/wx/SearchPopupMenuWx.h
  9129. I'm not yet sure how to make the pathological git logs better.
  9130. * Scripts/webkitpy/common/checkout/scm.py:
  9131. * Scripts/webkitpy/common/memoized.py: Added.
  9132. * Scripts/webkitpy/common/memoized_unittest.py: Added.
  9133. 2010-10-27 Eric Seidel <eric@webkit.org>
  9134. Reviewed by Ojan Vafai.
  9135. EWS bots should not use --quiet when running build-webkit
  9136. https://bugs.webkit.org/show_bug.cgi?id=48482
  9137. --quiet is only correct when the sub-process does the error reporting.
  9138. In the case of _can_build() the parent process is reporting the error.
  9139. We'd like the full build log at queues.webkit.org so someone can look
  9140. at the log and understand why the EWS is failing to build trunk.
  9141. * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
  9142. * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  9143. * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
  9144. * Scripts/webkitpy/tool/mocktool.py:
  9145. 2010-10-27 Brian Weinstein <bweinstein@apple.com>
  9146. More Windows build fixage. Rename a variable that was named string.
  9147. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  9148. (WTR::hasPrefix):
  9149. 2010-10-27 Ojan Vafai <ojan@chromium.org>
  9150. Reviewed by Dimitri Glazkov.
  9151. [chromium] Make the test results server store which master the bot is on
  9152. https://bugs.webkit.org/show_bug.cgi?id=48478
  9153. The chromium bots recently changed so that there are multiple slaves with
  9154. the same name on different masters. Up till now, the test results server
  9155. assumed slave names were unique. Adds a master field to the file in order
  9156. to distinguish.
  9157. Also, for files that currently lack a master or testtype, set them appropriately.
  9158. * TestResultServer/handlers/testfilehandler.py:
  9159. * TestResultServer/index.yaml:
  9160. * TestResultServer/model/jsonresults.py:
  9161. * TestResultServer/model/testfile.py:
  9162. * TestResultServer/templates/showfilelist.html:
  9163. * TestResultServer/templates/uploadform.html:
  9164. 2010-10-26 Darin Adler <darin@apple.com>
  9165. Reviewed by Sam Weinig.
  9166. WebKitTestRunner needs to support layoutTestController.dumpBackForwardList
  9167. https://bugs.webkit.org/show_bug.cgi?id=42322
  9168. rdar://problem/8193631
  9169. WebKitTestRunner needs to support layoutTestController.clearBackForwardList
  9170. https://bugs.webkit.org/show_bug.cgi?id=42333
  9171. rdar://problem/8193643
  9172. * WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
  9173. Renamed the product to WebKitTestRunnerInjectedBundle to avoid
  9174. name conflicts in the build directory.
  9175. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  9176. Added dumpBackForwardList and clearBackForwardList.
  9177. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  9178. (WTR::InjectedBundle::InjectedBundle): Removed initialization of m_mainPage.
  9179. (WTR::InjectedBundle::didCreatePage): Removed unneeded underscore.
  9180. (WTR::InjectedBundle::willDestroyPage): Ditto.
  9181. (WTR::InjectedBundle::didReceiveMessage): Ditto.
  9182. (WTR::InjectedBundle::initialize): Ditto.
  9183. (WTR::InjectedBundle::didCreatePage): Changed code to use m_pages
  9184. instead of m_mainPage and m_otherPages.
  9185. (WTR::InjectedBundle::willDestroyPage): Ditto.
  9186. (WTR::InjectedBundle::page): Ditto.
  9187. (WTR::InjectedBundle::beginTesting): Ditto.
  9188. (WTR::InjectedBundle::done): Ditto.
  9189. (WTR::InjectedBundle::closeOtherPages): Ditto.
  9190. (WTR::InjectedBundle::dumpBackForwardListsForAllPages): Added.
  9191. * WebKitTestRunner/InjectedBundle/InjectedBundle.h: Changed
  9192. page function to longer be inline, and pageCount function
  9193. to use m_pages. Added dumpBackForwardListsForAllPages, and
  9194. removed some underscores. Replaced m_mainPage and m_otherPageas
  9195. with m_pages.
  9196. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  9197. (WTR::adoptWK): Added.
  9198. (WTR::hasPrefix): Added.
  9199. (WTR::InjectedBundlePage::reset): Added code to set up
  9200. m_previousTestBackForwardListItem.
  9201. (WTR::InjectedBundlePage::dump): Added code to call
  9202. dumpBackForwardListsForAllPages.
  9203. (WTR::compareByTargetName): Added.
  9204. (WTR::dumpBackForwardListItem): Added.
  9205. (WTR::InjectedBundlePage::dumpBackForwardList): Added.
  9206. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h: Added
  9207. dumpBackForwardList and m_previousTestBackForwardListItem.
  9208. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  9209. (WTR::LayoutTestController::LayoutTestController): Initialize
  9210. m_shouldDumpBackForwardListsForAllWindows to false.
  9211. (WTR::LayoutTestController::clearBackForwardList): Added.
  9212. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  9213. Added dumpBackForwardList, clearBackForwardList,
  9214. shouldDumpBackForwardListsForAllWindows, and
  9215. m_shouldDumpBackForwardListsForAllWindows.
  9216. * WebKitTestRunner/TestController.cpp:
  9217. (WTR::TestController::initialize): Set up
  9218. didReceiveSynchronousMessageFromInjectedBundle.
  9219. (WTR::TestController::didReceiveSynchronousMessageFromInjectedBundle):
  9220. Added.
  9221. * WebKitTestRunner/TestController.h: Ditto.
  9222. * WebKitTestRunner/TestInvocation.cpp:
  9223. (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle):
  9224. Added.
  9225. * WebKitTestRunner/TestInvocation.h: Ditto.
  9226. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
  9227. Renamed bundle to WebKitTestRunnerInjectedBundle (see above).
  9228. * WebKitTestRunner/mac/TestControllerMac.mm:
  9229. (WTR::TestController::initializeInjectedBundlePath): Ditto.
  9230. 2010-10-27 Chris Rogers <crogers@google.com>
  9231. Reviewed by Chris Marrin.
  9232. Add ENABLE_WEB_AUDIO feature enable flag (initially disabled) to build-webkit
  9233. https://bugs.webkit.org/show_bug.cgi?id=48279
  9234. * Scripts/build-webkit:
  9235. 2010-10-27 Eric Seidel <eric@webkit.org>
  9236. Unreviewed.
  9237. build-webkit should collect Visual Studio Express logs and display them
  9238. https://bugs.webkit.org/show_bug.cgi?id=39199
  9239. It turns out my previous patch wasn't actually working on the win-ews
  9240. machine. So I've fixed my mistakes from before.
  9241. * Scripts/build-webkit:
  9242. - Windows VSE builds change the CWD while building. Why? Who knows.
  9243. * Scripts/print-vse-failure-logs:
  9244. - windows VSE builds don't use Debug/Release as I expected, so I've
  9245. moved off of --configuration to --top-level and added the /obj
  9246. optimization while I was there.
  9247. 2010-10-27 Dimitri Glazkov <dglazkov@chromium.org>
  9248. Unreviewed, rolling out r70674.
  9249. http://trac.webkit.org/changeset/70674
  9250. https://bugs.webkit.org/show_bug.cgi?id=48053
  9251. Broke Chromium Windows build.
  9252. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  9253. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  9254. 2010-10-25 Tony Chang <tony@chromium.org>
  9255. Reviewed by Anders Carlsson.
  9256. compile TestNetscapePlugIn on chromium linux
  9257. https://bugs.webkit.org/show_bug.cgi?id=48274
  9258. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  9259. (NP_Initialize): On Linux, plugin funcs are set in initialize.
  9260. (NPP_New): Mark the plugin as windowless.
  9261. (NPP_GetValue): Handle mime type values.
  9262. (NP_GetMIMEDescription):
  9263. (NP_GetValue):
  9264. * DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders/WebKit/npapi.h: define TRUE and FALSE, which are in webkit's npapi.h.
  9265. * DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders/WebKit/npfunctions.h: Pull in npapi.h to get TRUE/FALSE (matches webkit's npfunctions.h)
  9266. 2010-10-27 Kenneth Rohde Christiansen <kenneth@webkit.org>
  9267. Reviewed by Anders Carlsson.
  9268. Remove contentSizeChanged callbacks as it is no longer
  9269. part of the public UIClient.
  9270. Make WKPageContentsSizeChangedCallback be a private API
  9271. https://bugs.webkit.org/show_bug.cgi?id=48409
  9272. * MiniBrowser/mac/BrowserWindowController.m:
  9273. (-[BrowserWindowController awakeFromNib]):
  9274. * MiniBrowser/win/BrowserView.cpp:
  9275. (BrowserView::create):
  9276. * WebKitTestRunner/TestController.cpp:
  9277. (WTR::createOtherPage):
  9278. (WTR::TestController::initialize):
  9279. 2010-10-27 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  9280. Reviewed by Ojan Vafai.
  9281. Make http locking default in NRWT.
  9282. https://bugs.webkit.org/show_bug.cgi?id=48053
  9283. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  9284. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  9285. 2010-10-27 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  9286. Reviewed by Tony Chang.
  9287. [NRWT] Fix http lock on Windows platform
  9288. https://bugs.webkit.org/show_bug.cgi?id=48321
  9289. * Scripts/webkitpy/layout_tests/port/http_lock.py:
  9290. 2010-10-27 Satish Sampath <satish@chromium.org>
  9291. Unreviewed, rolling out r70665.
  9292. http://trac.webkit.org/changeset/70665
  9293. https://bugs.webkit.org/show_bug.cgi?id=47089
  9294. Need to address Alexey's review comments.
  9295. * DumpRenderTree/LayoutTestController.cpp:
  9296. (setMockSpeechInputResultCallback):
  9297. * DumpRenderTree/LayoutTestController.h:
  9298. * DumpRenderTree/chromium/LayoutTestController.cpp:
  9299. (LayoutTestController::setMockSpeechInputResult):
  9300. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  9301. (LayoutTestController::setMockSpeechInputResult):
  9302. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  9303. (LayoutTestController::setMockSpeechInputResult):
  9304. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  9305. (LayoutTestController::setMockSpeechInputResult):
  9306. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  9307. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  9308. (LayoutTestController::setMockSpeechInputResult):
  9309. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  9310. (LayoutTestController::setMockSpeechInputResult):
  9311. 2010-10-27 Leandro Gracia Gil <leandrogracia@google.com>
  9312. Reviewed by Jeremy Orlow.
  9313. Added a second parameter to setMockSpeechInputResult for
  9314. the language used in speech input.
  9315. https://bugs.webkit.org/show_bug.cgi?id=47089
  9316. * DumpRenderTree/LayoutTestController.cpp:
  9317. (setMockSpeechInputResultCallback):
  9318. * DumpRenderTree/LayoutTestController.h:
  9319. * DumpRenderTree/chromium/LayoutTestController.cpp:
  9320. (LayoutTestController::setMockSpeechInputResult):
  9321. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  9322. (LayoutTestController::setMockSpeechInputResult):
  9323. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  9324. (LayoutTestController::setMockSpeechInputResult):
  9325. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  9326. (LayoutTestController::setMockSpeechInputResult):
  9327. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  9328. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  9329. (LayoutTestController::setMockSpeechInputResult):
  9330. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  9331. (LayoutTestController::setMockSpeechInputResult):
  9332. (LayoutTestController::pageSizeAndMarginsInPixels):
  9333. 2010-10-27 Adam Roben <aroben@apple.com>
  9334. Reset TestNetscapePlugIn's NPP_GetValue pointer when
  9335. NullNPPGetValuePointer finishes running
  9336. Fixes <http://webkit.org/b/48435> REGRESSION (r70655): Many plugins
  9337. tests are failing on Qt
  9338. Reviewed by Anders Carlsson.
  9339. * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
  9340. (PluginTest::NPP_Destroy):
  9341. * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
  9342. Added a do-nothing NPP_Destroy implementation.
  9343. * DumpRenderTree/TestNetscapePlugIn/Tests/NullNPPGetValuePointer.cpp:
  9344. (NullNPPGetValuePointer::NullNPPGetValuePointer): Save the original
  9345. NPP_GetValue pointer in m_originalNPPGetValuePointer so we can restore
  9346. it later.
  9347. (NullNPPGetValuePointer::NPP_Destroy): Added. Restores the original
  9348. NPP_GetValue pointer so it can be used in other tests.
  9349. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  9350. (NPP_Destroy):
  9351. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  9352. (webkit_test_plugin_destroy_instance):
  9353. Call through to the PluginTest when NPP_Destroy is called.
  9354. 2010-10-26 Brian Weinstein <bweinstein@apple.com>
  9355. Reviewed by Adam Roben.
  9356. WebKit2 shouldn't try to send an empty user agent
  9357. https://bugs.webkit.org/show_bug.cgi?id=48397
  9358. Add a test that when we set our custom user agent to an empty string, we don't send
  9359. an empty user agent.
  9360. * TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp: Added.
  9361. (TestWebKitAPI::didRunJavaScript): Make sure that the result of navigator.userAgent isn't empty.
  9362. (TestWebKitAPI::TEST): Set our custom user agent to the empty string, and run navigator.userAgent.
  9363. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add the new file.
  9364. * TestWebKitAPI/win/TestWebKitAPI.vcproj: Ditto.
  9365. 2010-10-27 Adam Roben <aroben@apple.com>
  9366. Check in file I forgot in r70653
  9367. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  9368. (NP_Initialize): Save the NPPluginFuncs struct the browser passed to us
  9369. so we can be naughty and modify it later.
  9370. 2010-10-27 Adam Roben <aroben@apple.com>
  9371. Test that WebKit doesn't crash if the plugin passes 0 for its
  9372. NPP_GetValue pointer
  9373. Test for <http://webkit.org/b/48433> Crash in
  9374. NetscapePlugin::shouldLoadSrcURL when using Shockwave Director 10.3 in
  9375. WebKit2 on Windows
  9376. Reviewed by Eric Carlson.
  9377. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  9378. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  9379. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  9380. * GNUmakefile.am:
  9381. Added NullNPPGetValuePointer.cpp.
  9382. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
  9383. * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
  9384. Set up a place to store the NPPluginFuncs struct the browser passed to us.
  9385. * DumpRenderTree/TestNetscapePlugIn/Tests/NullNPPGetValuePointer.cpp: Added.
  9386. (NullNPPGetValuePointer::NullNPPGetValuePointer): Null out the
  9387. NPP_GetValue pointer we passed to the browser to simulate a plugin that
  9388. doesn't implement NPP_GetValue.
  9389. (NullNPPGetValuePointer::NPP_GetValue): Print an error message. If this
  9390. function is called, it means that WebKit has changed in a way that
  9391. makes this test invalid.
  9392. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  9393. (NP_GetEntryPoints): Save the NPPluginFuncs struct the browser passed
  9394. to us so we can be naughty and modify it later.
  9395. 2010-10-27 Ademar de Souza Reis Jr <ademar.reis@openbossa.org>
  9396. Reviewed by Andreas Kling.
  9397. Remove references to ancient QGVLauncher and QtLauncher
  9398. https://bugs.webkit.org/show_bug.cgi?id=48430
  9399. QtTestBrowser substitutes both and has checks enabled.
  9400. * Scripts/webkitpy/style/checker.py: remove references
  9401. * Scripts/webkitpy/style/checker_unittest.py: ditto
  9402. 2010-10-27 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  9403. Reviewed by Ojan Vafai.
  9404. [NRWT] Don't use image hash when it's no need in single test mode.
  9405. https://bugs.webkit.org/show_bug.cgi?id=48326
  9406. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  9407. 2010-10-27 David Kilzer <ddkilzer@apple.com>
  9408. Fix leak of CFMutableDictionaryRef in createXMLStringFromWebArchiveData()
  9409. Reviewed by Adam Roben.
  9410. Follow-up fix for: <https://bugs.webkit.org/show_bug.cgi?id=48278>
  9411. * DumpRenderTree/cf/WebArchiveDumpSupport.cpp:
  9412. (createXMLStringFromWebArchiveData): Use RetainPtr<> to fix a
  9413. leak introduced in r70613.
  9414. 2010-10-27 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  9415. Reviewed by Csaba Osztrogonác.
  9416. [NRWT] Add platform specific baseline search paths for Qt port
  9417. https://bugs.webkit.org/show_bug.cgi?id=48428
  9418. * Scripts/webkitpy/layout_tests/port/qt.py:
  9419. 2010-10-27 Adam Roben <aroben@apple.com>
  9420. Catch exceptions when checking if we're inside a git working directory
  9421. Fixes <http://webkit.org/b/48420> REGRESSION (r70562): test-webkitpy
  9422. fails on systems without git installed
  9423. Reviewed by Anders Carlsson.
  9424. * Scripts/webkitpy/common/net/credentials.py:
  9425. (Credentials._credentials_from_git): Put the call to
  9426. Git.in_working_directory inside the try/except since it, too, attempts
  9427. to execute git and thus will throw on systems that don't have git
  9428. installed.
  9429. 2010-10-27 Nikolas Zimmermann <nzimmermann@rim.com>
  9430. Reviewed by David Kilzer.
  9431. Convert DumpRenderTree webarchive code to CoreFoundation
  9432. https://bugs.webkit.org/show_bug.cgi?id=48278
  9433. CFPropertyListCreateWithData and CFPropertyListCreateData are only available in 10.6+.
  9434. Replace CFPropertyListCreateWithData by a combination of CFReadStreamCreateWithBytesNoCopy and CFPropertyListCreateFromStream.
  9435. Replace CFPropertyListCreateData by CFPropertyListCreateXMLData.
  9436. These changes are wrapped in BUILDING_ON_LEOPARD, as the methods are deprecated on 10.6+.
  9437. * DumpRenderTree/cf/WebArchiveDumpSupport.cpp:
  9438. (createXMLStringFromWebArchiveData):
  9439. 2010-10-26 Antonio Gomes <agomes@rim.com>
  9440. Reviewed by Martin Robinson.
  9441. Remove the absolute path used to include DumpRenderTreeSupportGtk.h from LayoutTestController.h
  9442. It turns out this is rather unneeded since WebKitTools/GNUMakefile.am has WebKit/gtk/ in its include
  9443. path, and then we can just do #include "WebCoreSupport/DumpRenderTreeSupportGtk.h"
  9444. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  9445. 2010-10-26 David Kilzer <ddkilzer@apple.com>
  9446. Rename WebArchiveDumpSupport.mm to WebArchiveDumpSupport.cpp
  9447. Reviewed by Adam Roben.
  9448. Part 4 of 4: <http://webkit.org/b/48278> Convert DumpRenderTree webarchive code to CoreFoundation
  9449. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  9450. Updated for file moves and renames.
  9451. * DumpRenderTree/cf/WebArchiveDumpSupport.cpp: Renamed from DumpRenderTree/mac/WebArchiveDumpSupport.mm.
  9452. * DumpRenderTree/cf/WebArchiveDumpSupport.h: Renamed from DumpRenderTree/mac/WebArchiveDumpSupport.h.
  9453. 2010-10-26 David Kilzer <ddkilzer@apple.com>
  9454. Convert WebArchiveDumpSupport.mm from NS objects to CF types
  9455. Reviewed by Adam Roben.
  9456. Part 3 of 4: <http://webkit.org/b/48278> Convert DumpRenderTree webarchive code to CoreFoundation
  9457. In order to share WebArchive code between the Mac and Windows
  9458. ports, the code in WebArchiveDumpSupport.mm was converted from
  9459. Cocoa to C++ using CoreFoundation (CF) types.
  9460. * DumpRenderTree/mac/DumpRenderTree.mm:
  9461. (dump): Renamed serializeWebArchiveToXML() to
  9462. createXMLStringFromWebArchiveData() and added HardAutorelease()
  9463. to prevent leaks.
  9464. * DumpRenderTree/mac/WebArchiveDumpSupport.h:
  9465. (createXMLStringFromWebArchiveData): Renamed from
  9466. serializeWebArchiveToXML(). Changed to use CF types.
  9467. (createCFURLResponseFromResponseData): Renamed from
  9468. unarchiveNSURLResponseFromResponseData(). Changed to use CF
  9469. types for its parameter and return type.
  9470. * DumpRenderTree/mac/WebArchiveDumpSupport.mm: Replaced use of
  9471. NS objects with CF types. It will be renamed to *.cpp in a
  9472. future commit.
  9473. (convertMIMEType): Changed to use case-insensitive string
  9474. comparisons.
  9475. (convertWebResourceDataToString):
  9476. (normalizeHTTPResponseHeaderFields):
  9477. (normalizeWebResourceURL):
  9478. (convertWebResourceResponseToDictionary):
  9479. (compareResourceURLs):
  9480. (createXMLStringFromWebArchiveData):
  9481. * DumpRenderTree/mac/WebArchiveDumpSupportMac.mm:
  9482. (createCFURLResponseFromResponseData): Renamed from
  9483. unarchiveNSURLResponseFromResponseData(). Changed to use CF
  9484. types for its parameter and return type.
  9485. 2010-10-26 David Kilzer <ddkilzer@apple.com>
  9486. Extract use of NSKeyedUnarchiver from WebArchiveDumpSupport.mm
  9487. Reviewed by Adam Roben.
  9488. Part 2 of 4: <http://webkit.org/b/48278> Convert DumpRenderTree webarchive code to CoreFoundation
  9489. There is no equivalent to NSKeyedUnarchiver in CoreFoundation,
  9490. so extract it into a platform-specific source file.
  9491. * DumpRenderTree/mac/WebArchiveDumpSupport.h:
  9492. (unarchiveNSURLResponseFromResponseData): Added declaration.
  9493. * DumpRenderTree/mac/WebArchiveDumpSupport.mm:
  9494. (convertWebResourceResponseToDictionary): Extracted code to
  9495. unarchiveNSURLResponseFromResponseData() in
  9496. WebArchiveDumpSupportMac.mm. Updated logic to return early if
  9497. nil is returned from unarchiveNSURLResponseFromResponseData().
  9498. * DumpRenderTree/mac/WebArchiveDumpSupportMac.mm:
  9499. (unarchiveNSURLResponseFromResponseData): Added. Extracted
  9500. code from convertWebResourceResponseToDictionary() in
  9501. WebArchiveDumpSupport.mm.
  9502. 2010-10-26 David Kilzer <ddkilzer@apple.com>
  9503. Extract call to -[WebHTMLRepresentation supportedNonImageMIMETypes] from WebArchiveDumpSupport.mm
  9504. Reviewed by Adam Roben.
  9505. Part 1 of 4: <http://webkit.org/b/48278> Convert DumpRenderTree webarchive code to CoreFoundation
  9506. The call to -[WebHTMLRepresentation supportedNonImageMIMETypes]
  9507. is not cross-platform between Mac and Windows, so extract it
  9508. into a platform-specific source file.
  9509. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added
  9510. WebArchiveDumpSupportMac.mm to the project.
  9511. * DumpRenderTree/mac/WebArchiveDumpSupport.h:
  9512. (supportedNonImageMIMETypes): Added declaration.
  9513. * DumpRenderTree/mac/WebArchiveDumpSupport.mm:
  9514. (convertWebResourceDataToString): Replaced call to
  9515. -[WebHTMLRepresentation supportedNonImageMIMETypes] with
  9516. supportedNonImageMIMETypes().
  9517. * DumpRenderTree/mac/WebArchiveDumpSupportMac.mm: Added.
  9518. (supportedNonImageMIMETypes): Added. Extracted from
  9519. WebArchiveDumpSupport.mm.
  9520. 2010-10-26 Antonio Gomes <agomes@rim.com>
  9521. Reviewed by Martin Robinson.
  9522. [GTK] Implement DumpRenderTreeSupportGtk (similarly to DumpRenderTreeSupportQt idea)
  9523. https://bugs.webkit.org/show_bug.cgi?id=48199
  9524. Implements support to WebKitTabToLinksPreferenceKey through LayoutTestController::overridePreference.
  9525. The corresponding DumpRenderTreeSupportGtk method is called in the DRT context only.
  9526. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  9527. (resetDefaultsToConsistentValues):
  9528. (createWebView):
  9529. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  9530. (LayoutTestController::overridePreference):
  9531. 2010-10-26 Ariya Hidayat <ariya@sencha.com>
  9532. Unreviewed, change the order of my emails for bugzilla autocompletion.
  9533. * Scripts/webkitpy/common/config/committers.py:
  9534. 2010-10-26 Eric Seidel <eric@webkit.org>
  9535. Reviewed by David Kilzer.
  9536. build-webkit should collect Visual Studio Express logs and display them
  9537. https://bugs.webkit.org/show_bug.cgi?id=39199
  9538. * Scripts/build-webkit:
  9539. * Scripts/print-vse-failure-logs: Added.
  9540. * Scripts/webkitdirs.pm:
  9541. 2010-10-26 David Kilzer <ddkilzer@apple.com>
  9542. <http://webkit.org/b/48224> build-webkit: add support for --meter-tag switch
  9543. Reviewed by Csaba Osztrogonác.
  9544. * Scripts/build-webkit: Added support for --meter-tag switch.
  9545. It should have been added with r60820.
  9546. 2010-10-26 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
  9547. Reviewed by Dumitru Daniliuc.
  9548. check-webkit-style fails on operator+=, operator-=, ... methods
  9549. https://bugs.webkit.org/show_bug.cgi?id=48258
  9550. * Scripts/webkitpy/style/checkers/cpp.py: Added exceptions
  9551. * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added unit-tests
  9552. 2010-10-26 Ojan Vafai <ojan@chromium.org>
  9553. Reviewed by Tony Chang.
  9554. remove DEFER support from new-run-webkit-tests
  9555. https://bugs.webkit.org/show_bug.cgi?id=48387
  9556. DEFER was needed when we were trying to ship Chrome beta.
  9557. Now it's just extra complication.
  9558. * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
  9559. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  9560. * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
  9561. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  9562. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  9563. * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
  9564. 2010-10-26 Eric Seidel <eric@webkit.org>
  9565. Unreviewed. Adding import with_statement to fix python 2.5.
  9566. Teach webkit-patch how to read credentials from the environment
  9567. https://bugs.webkit.org/show_bug.cgi?id=48275
  9568. * Scripts/webkitpy/common/net/credentials_unittest.py:
  9569. - import with_statement to fix python 2.5.
  9570. 2010-10-26 Alexey Proskuryakov <ap@apple.com>
  9571. Reviewed by Sam Weinig.
  9572. https://bugs.webkit.org/show_bug.cgi?id=48375
  9573. <rdar://problem/8392724> Need delegate calls in PageLoaderClient to indicate if we have
  9574. loaded insecure content
  9575. Updated for WebKit2 changes.
  9576. * MiniBrowser/mac/BrowserWindowController.m:
  9577. (didDisplayInsecureContentForFrame):
  9578. (didRunInsecureContentForFrame):
  9579. (-[BrowserWindowController awakeFromNib]):
  9580. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  9581. (WTR::InjectedBundlePage::InjectedBundlePage):
  9582. (WTR::InjectedBundlePage::didDisplayInsecureContentForFrame):
  9583. (WTR::InjectedBundlePage::didRunInsecureContentForFrame):
  9584. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  9585. * WebKitTestRunner/TestController.cpp:
  9586. (WTR::TestController::initialize):
  9587. 2010-10-26 Adam Roben <aroben@apple.com>
  9588. Clear up confusion between "3D rendering" and "accelerated compositing"
  9589. WebKit has no software-based 3D rendering implementation, so 3D
  9590. rendering can only be enabled when accelerated compositing is. But DRT
  9591. was falsely reporting that 3D rendering was available on machines that
  9592. don't support accelerated compositing, leading to much confusion.
  9593. Reviewed by Darin Adler.
  9594. Fixes <http://webkit.org/b/48370> REGRESSION (r70540): Many
  9595. transforms/3d tests are failing on the XP bots
  9596. * DumpRenderTree/win/DumpRenderTree.cpp:
  9597. (main): When ENABLE(3D_RENDERING) is turned on, only report that 3D
  9598. rendering is available when acclerated compositing is also available.
  9599. * Scripts/old-run-webkit-tests: Skip tests that use the
  9600. -webkit-transform-3d media query when 3D rendering is disabled,
  9601. rather than when accelerated compositing is disabled.
  9602. 2010-10-26 Eric Seidel <eric@webkit.org>
  9603. Reviewed by Ojan Vafai.
  9604. Remove rietveld code now that it's unused
  9605. https://bugs.webkit.org/show_bug.cgi?id=48359
  9606. Was cool that we added this support, but now that it's
  9607. not used it makes little sense to keep it around.
  9608. We can always restore this code from SVN if we need it.
  9609. * Scripts/webkitpy/common/config/__init__.py:
  9610. * Scripts/webkitpy/common/net/bugzilla.py:
  9611. * Scripts/webkitpy/common/net/bugzilla_unittest.py:
  9612. * Scripts/webkitpy/common/net/rietveld.py: Removed.
  9613. * Scripts/webkitpy/common/net/rietveld_unittest.py: Removed.
  9614. * Scripts/webkitpy/thirdparty/__init__.py:
  9615. * Scripts/webkitpy/tool/commands/download.py:
  9616. * Scripts/webkitpy/tool/commands/download_unittest.py:
  9617. * Scripts/webkitpy/tool/commands/queues.py:
  9618. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  9619. * Scripts/webkitpy/tool/main.py:
  9620. * Scripts/webkitpy/tool/mocktool.py:
  9621. * Scripts/webkitpy/tool/steps/__init__.py:
  9622. * Scripts/webkitpy/tool/steps/postcodereview.py: Removed.
  9623. 2010-10-26 Anders Carlsson <andersca@apple.com>
  9624. Reviewed by Sam Weinig.
  9625. pageDidScroll callback should be on the UI process client rather than (or in addition to) the web process client
  9626. https://bugs.webkit.org/show_bug.cgi?id=48366
  9627. <rdar://problem/8595202>
  9628. * MiniBrowser/mac/BrowserWindowController.m:
  9629. (-[BrowserWindowController awakeFromNib]):
  9630. * WebKitTestRunner/TestController.cpp:
  9631. (WTR::createOtherPage):
  9632. (WTR::TestController::initialize):
  9633. 2010-10-26 Eric Seidel <eric@webkit.org>
  9634. Reviewed by Tony Chang.
  9635. Teach webkit-patch how to read credentials from the environment
  9636. https://bugs.webkit.org/show_bug.cgi?id=48275
  9637. This makes it possible for svn users to have their bugzilla credentials
  9638. stored in their environment instead of typing them every time.
  9639. We need this for making it easy to run the win-ews bot (which currently
  9640. uses svn instead of git).
  9641. * Scripts/webkitpy/common/net/credentials.py:
  9642. * Scripts/webkitpy/common/net/credentials_unittest.py:
  9643. 2010-10-26 Kenichi Ishibashi <bashi@google.com>
  9644. Reviewed by Kent Tamura.
  9645. Input Method inserts conversion candidates unexpectedly
  9646. https://bugs.webkit.org/show_bug.cgi?id=46868
  9647. Adds setComposition() to TextInputController to make DRT emulate
  9648. an input method behavior.
  9649. * DumpRenderTree/chromium/TextInputController.cpp:
  9650. (TextInputController::TextInputController):
  9651. (TextInputController::setComposition): Added.
  9652. * DumpRenderTree/chromium/TextInputController.h:
  9653. 2010-10-26 Simon Fraser <simon.fraser@apple.com>
  9654. Reviewed by Sam Weinig.
  9655. Support layoutTestController.layerTreeAsText in WebKitTestRunner
  9656. https://bugs.webkit.org/show_bug.cgi?id=42145
  9657. Implement layerTreeAsText() in WebKitTestRunner.
  9658. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  9659. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  9660. (WTR::LayoutTestController::layerTreeAsText):
  9661. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  9662. 2010-10-26 Adam Barth <abarth@webkit.org>
  9663. Reviewed by Eric Seidel.
  9664. webkit-patch rollout produces incorrect patch when using svn move
  9665. https://bugs.webkit.org/show_bug.cgi?id=48244
  9666. We need to flush our caches when we modify the working copy.
  9667. * Scripts/webkitpy/tool/steps/revertrevision.py:
  9668. 2010-10-26 Eric Seidel <eric@webkit.org>
  9669. Reviewed by Adam Barth.
  9670. commit-queue flaky test message can list the same author more than once
  9671. https://bugs.webkit.org/show_bug.cgi?id=48268
  9672. tonikitoo reported to me over IRC this morning that he's seen
  9673. the commit-queue report flaky tests with author lists like:
  9674. "adam, adam and adam", suggesting we're not uniquing authors
  9675. before writing the message.
  9676. I fixed the uniquing and added a bunch more unit testing.
  9677. * Scripts/webkitpy/tool/commands/queues.py:
  9678. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  9679. * Scripts/webkitpy/tool/mocktool.py:
  9680. 2010-10-26 Adam Roben <aroben@apple.com>
  9681. Pull in the FeatureDefines*.vsprops files when building DRT
  9682. This ensures that various ENABLE() macros will get set correctly.
  9683. (Prior to r70320 we were picking up the ENABLE(3D_RENDERING) flag
  9684. through wtf/Platform.h.)
  9685. Fixes <http://webkit.org/b/48343> REGRESSION (r70320): DumpRenderTree
  9686. says 3D_RENDERING is disabled even when it is enabled
  9687. Reviewed by Ada Chan.
  9688. * DumpRenderTree/win/DumpRenderTree.vcproj: Added
  9689. FeaturesDefines*.vsprops to all configurations.
  9690. * DumpRenderTree/win/DumpRenderTreeWin.h: Touched to force a rebuild.
  9691. 2010-10-26 Søren Gjesse <sgjesse@chromium.org>
  9692. Reviewed by Dimitri Glazkov.
  9693. Added options --multiple-loads and --js-flags to chromium DumpRenderTree. The option --multiple-loads=X
  9694. is used to have DumpRenderTree load each test it runs X times. To be able to have more fine-grained control
  9695. of how the JavaScript engine behaves for each load the flag --js-flags can specify a list of flag-sets like this
  9696. --js-flags="--xxx,--noxxx --yyy,--noyyy"
  9697. First load will run with --xxx, the second with --yyy and the third without any (the 'no' prefix is handled by
  9698. V8 to turn off the flag).
  9699. The changes to the Python test runner will be in a separate change.
  9700. * DumpRenderTree/chromium/DumpRenderTree.cpp:
  9701. (runTest):
  9702. (main):
  9703. * DumpRenderTree/chromium/TestShell.cpp:
  9704. (TestShell::TestShell):
  9705. (TestShell::runFileTest):
  9706. (TestShell::testFinished):
  9707. * DumpRenderTree/chromium/TestShell.h:
  9708. (TestShell::loadCount):
  9709. (TestShell::setLoadCount):
  9710. (TestShell::javaScriptFlagsForLoad):
  9711. (TestShell::setJavaScriptFlags):
  9712. (TestShell::setDumpWhenFinished):
  9713. 2010-10-26 Adam Roben <aroben@apple.com>
  9714. Skip more tests that depend on accelerated compositing when accelerated
  9715. compositing is disabled
  9716. Fixes <http://webkit.org/b/48329> Some tests fail when accelerated
  9717. compositing is disabled
  9718. Reviewed by John Sullivan.
  9719. * Scripts/old-run-webkit-tests: Added more tests to skip when
  9720. accelerated compositing is disable. The tests all have output that
  9721. changes depending on whether accelerated compositing is enabled.
  9722. 2010-10-25 Eric Seidel <eric@webkit.org>
  9723. Reviewed by Adam Barth.
  9724. webkit-patch should clean up svn locks when passed --force-clean
  9725. https://bugs.webkit.org/show_bug.cgi?id=48269
  9726. * Scripts/webkitpy/common/checkout/scm.py:
  9727. 2010-10-25 Anders Carlsson <andersca@apple.com>
  9728. Reviewed by Adam Roben.
  9729. Add a pageDidScroll BundleUIClient callback
  9730. https://bugs.webkit.org/show_bug.cgi?id=48260
  9731. <rdar://problem/8531159>
  9732. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  9733. (WTR::InjectedBundlePage::InjectedBundlePage):
  9734. 2010-10-25 Johnny Ding <jnd@chromium.org>
  9735. Reviewed by Tony Chang.
  9736. Dump the gesture status of frame in frame load callbacks in DumpRenderTree
  9737. by adding a new method dumpUserGestureInFrameLoadCallbacks.
  9738. Now only dump the gesture status in "DidStartProvisionalLoad" callback.
  9739. https://bugs.webkit.org/show_bug.cgi?id=47849
  9740. * DumpRenderTree/LayoutTestController.cpp:
  9741. (LayoutTestController::LayoutTestController):
  9742. (dumpUserGestureInFrameLoadCallbacksCallback):
  9743. (LayoutTestController::staticFunctions):
  9744. * DumpRenderTree/LayoutTestController.h:
  9745. (LayoutTestController::dumpUserGestureInFrameLoadCallbacks):
  9746. (LayoutTestController::setDumpUserGestureInFrameLoadCallbacks):
  9747. * DumpRenderTree/chromium/LayoutTestController.cpp:
  9748. (LayoutTestController::LayoutTestController):
  9749. (LayoutTestController::dumpUserGestureInFrameLoadCallbacks):
  9750. (LayoutTestController::reset):
  9751. * DumpRenderTree/chromium/LayoutTestController.h:
  9752. (LayoutTestController::shouldDumpUserGestureInFrameLoadCallbacks):
  9753. (LayoutTestController::setShouldDumpUserGestureInFrameLoadCallbacks):
  9754. * DumpRenderTree/chromium/TestShell.h:
  9755. (TestShell::shouldDumpUserGestureInFrameLoadCallbacks):
  9756. * DumpRenderTree/chromium/WebViewHost.cpp:
  9757. (WebViewHost::didStartProvisionalLoad):
  9758. (WebViewHost::printFrameUserGestureStatus):
  9759. * DumpRenderTree/chromium/WebViewHost.h:
  9760. * DumpRenderTree/mac/FrameLoadDelegate.mm:
  9761. (-[WebFrame _drt_printFrameUserGestureStatus]):
  9762. (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
  9763. (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
  9764. (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
  9765. (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
  9766. (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
  9767. (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
  9768. (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
  9769. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  9770. (LayoutTestController::reset):
  9771. (LayoutTestController::dumpUserGestureInFrameLoadCallbacks):
  9772. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  9773. 2010-10-25 Sheriff Bot <webkit.review.bot@gmail.com>
  9774. Unreviewed, rolling out r70442.
  9775. http://trac.webkit.org/changeset/70442
  9776. https://bugs.webkit.org/show_bug.cgi?id=48248
  9777. http locking doesn't work on Windows (Requested by Ossy on
  9778. #webkit).
  9779. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  9780. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  9781. 2010-10-25 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  9782. Reviewed by Ojan Vafai.
  9783. Make http locking default in NRWT.
  9784. https://bugs.webkit.org/show_bug.cgi?id=48053
  9785. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  9786. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  9787. 2010-10-25 David Kilzer <ddkilzer@apple.com>
  9788. <http://webkit.org/b/48185> build-webkit: add support for --progress-tag switch
  9789. (Re-landing r70413 after Qt minimal buildfix: r70440.)
  9790. Reviewed by Kenneth Rohde Christiansen.
  9791. * Scripts/build-webkit: Added support for --progress-tag switch.
  9792. It should have been added with r57051.
  9793. 2010-10-24 Adam Barth <abarth@webkit.org>
  9794. Reviewed by David Kilzer.
  9795. webkit-patch upload fails when the patch removes a file
  9796. https://bugs.webkit.org/show_bug.cgi?id=48187
  9797. We need to use "--" to separate file names from the rest of the
  9798. command.
  9799. * Scripts/webkitpy/common/checkout/scm.py:
  9800. 2010-10-24 Sheriff Bot <webkit.review.bot@gmail.com>
  9801. Unreviewed, rolling out r70413.
  9802. http://trac.webkit.org/changeset/70413
  9803. https://bugs.webkit.org/show_bug.cgi?id=48210
  9804. It broke Qt minimal build (Requested by Ossy on #webkit).
  9805. * Scripts/build-webkit:
  9806. 2010-10-24 Yi Shen <yi.4.shen@nokia.com>
  9807. Reviewed by Andreas Kling.
  9808. [Qt][QtTestBrowser] Toggle use of QGraphicsView messes up the menu
  9809. https://bugs.webkit.org/show_bug.cgi?id=48141
  9810. * QtTestBrowser/launcherwindow.cpp:
  9811. (LauncherWindow::init):
  9812. (LauncherWindow::initializeView):
  9813. (LauncherWindow::toggleWebView):
  9814. 2010-10-24 Daniel Bates <dbates@rim.com>
  9815. Reviewed by David Kilzer.
  9816. Fix Perl uninitialized warnings in VCSUtils::svnStatus()
  9817. and VCSUtils::removeEOL().
  9818. https://bugs.webkit.org/show_bug.cgi?id=48196
  9819. VCSUtils::svnStatus() concatenates the output of svn status with
  9820. a new line character and svn status may return no output (say for
  9821. a file that has not been added, deleted, or modified). We should
  9822. only concatenate the output of svn status if there is some.
  9823. Also, VCSUtils::removeEOL() should ensure that its argument
  9824. is initialized before performing a string substitution.
  9825. * Scripts/VCSUtils.pm:
  9826. - Modified removeEOL() to return "" if its argument is undefined.
  9827. - Exported removeEOL() so that it can be tested.
  9828. * Scripts/webkitperl/VCSUtils_unittest/removeEOL.pl: Added.
  9829. 2010-10-24 David Kilzer <ddkilzer@apple.com>
  9830. <http://webkit.org/b/48185> build-webkit: add support for --progress-tag switch
  9831. Reviewed by Kenneth Rohde Christiansen.
  9832. * Scripts/build-webkit: Added support for --progress-tag switch.
  9833. It should have been added with r57051.
  9834. 2010-10-24 David Kilzer <ddkilzer@apple.com>
  9835. <http://webkit.org/b/48184> build-webkit: reformat support variables for better maintainability
  9836. Reviewed by Daniel Bates.
  9837. * Scripts/build-webkit: Alphabetized the @features array based
  9838. on the name of the feature. Reformatted the list of support
  9839. variables so that they match the order of @features, and so that
  9840. each has its own line. This makes it easy to add new variables
  9841. in the correct order.
  9842. 2010-10-23 Eric Seidel <eric@webkit.org>
  9843. Reviewed by Adam Barth.
  9844. EWS never removes invalid patch ids
  9845. https://bugs.webkit.org/show_bug.cgi?id=48173
  9846. This is just sticking another finger in the dam.
  9847. However this adds more unit testing which will help
  9848. us make sure we're always releasing patches once we
  9849. redesign the release_patch API and call these from
  9850. a more central place.
  9851. * Scripts/webkitpy/tool/commands/queues.py:
  9852. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  9853. * Scripts/webkitpy/tool/mocktool.py:
  9854. - Added the ability to request invalid patches.
  9855. Log a warning message to make sure we don't ever have
  9856. tests use invalid patch fetches by mistake.
  9857. 2010-10-23 Dan Bernstein <mitz@apple.com>
  9858. Build fix. Add stub implementations for required NSDraggingInfo methods.
  9859. * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
  9860. (-[DumpRenderTreeDraggingInfo draggingFormation]):
  9861. (-[DumpRenderTreeDraggingInfo setDraggingFormation:]):
  9862. (-[DumpRenderTreeDraggingInfo animatesToDestination]):
  9863. (-[DumpRenderTreeDraggingInfo setAnimatesToDestination:]):
  9864. (-[DumpRenderTreeDraggingInfo numberOfValidItemsForDrop]):
  9865. (-[DumpRenderTreeDraggingInfo setNumberOfValidItemsForDrop:]):
  9866. (-[DumpRenderTreeDraggingInfo enumerateDraggingItemsWithOptions:forView:classes:searchOptions:usingBlock:]):
  9867. 2010-10-23 David Kilzer <ddkilzer@apple.com>
  9868. <http://webkit.org/b/48186> Remove unneeded WebHTMLRepresentationInternal.h header
  9869. Reviewed by Sam Weinig.
  9870. The only method defined in WebHTMLRepresentationInternal.h is
  9871. also defined in WebHTMLRepresentation.h, so use that instead.
  9872. * DumpRenderTree/mac/InternalHeaders/WebKit/WebHTMLRepresentationInternal.h: Removed.
  9873. * DumpRenderTree/mac/WebArchiveDumpSupport.mm: Switched to use
  9874. WebHTMLRepresentation.h.
  9875. 2010-10-23 Sheriff Bot <webkit.review.bot@gmail.com>
  9876. Unreviewed, rolling out r70367.
  9877. http://trac.webkit.org/changeset/70367
  9878. https://bugs.webkit.org/show_bug.cgi?id=48176
  9879. It made 8-10 tests crash on Qt bot (Requested by Ossy on
  9880. #webkit).
  9881. * DumpRenderTree/LayoutTestController.cpp:
  9882. (setCustomPolicyDelegateCallback):
  9883. * DumpRenderTree/LayoutTestController.h:
  9884. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  9885. (LayoutTestController::setCustomPolicyDelegate):
  9886. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  9887. (LayoutTestController::setCustomPolicyDelegate):
  9888. * DumpRenderTree/mac/PolicyDelegate.h:
  9889. * DumpRenderTree/mac/PolicyDelegate.mm:
  9890. (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
  9891. (-[PolicyDelegate setPermissive:]):
  9892. (-[PolicyDelegate setControllerToNotifyDone:]):
  9893. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  9894. (LayoutTestController::setCustomPolicyDelegate):
  9895. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  9896. (LayoutTestController::setCustomPolicyDelegate):
  9897. 2010-10-22 Eric Seidel <eric@webkit.org>
  9898. Reviewed by Adam Barth.
  9899. EWS never releases patches which fail to apply
  9900. https://bugs.webkit.org/show_bug.cgi?id=48171
  9901. * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
  9902. * Scripts/webkitpy/tool/commands/queues.py:
  9903. 2010-10-22 Eric Seidel <eric@webkit.org>
  9904. Unreviewed.
  9905. Make the EWS queues restart themselves more often.
  9906. This matches the commit-queue.
  9907. * EWSTools/start-queue.sh:
  9908. 2010-10-22 Eric Seidel <eric@webkit.org>
  9909. Reviewed by Adam Barth.
  9910. commit-queue should not pass --quiet to subcommands now that the parent command does the reporting
  9911. https://bugs.webkit.org/show_bug.cgi?id=48165
  9912. * Scripts/webkitpy/tool/bot/commitqueuetask.py:
  9913. * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
  9914. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  9915. 2010-10-22 Mario Sanchez Prada <msanchez@igalia.com>
  9916. Adding myself as a committer.
  9917. * Scripts/webkitpy/common/config/committers.py:
  9918. 2010-10-20 Anders Carlsson <andersca@apple.com>
  9919. Reviewed by Adam Barth and Darin Adler.
  9920. Using the decidePolicyForMIMEType delegate message in an asynchronous manner does not work
  9921. https://bugs.webkit.org/show_bug.cgi?id=48014
  9922. <rdar://problem/8202716>
  9923. * DumpRenderTree/LayoutTestController.cpp:
  9924. (setCustomPolicyDelegateCallback):
  9925. Add callIgnoreInDecidePolicyForMIMETypeAfterOneSecond argument.
  9926. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  9927. (LayoutTestController::setCustomPolicyDelegate):
  9928. Add callIgnoreInDecidePolicyForMIMETypeAfterOneSecond argument.
  9929. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  9930. (LayoutTestController::setCustomPolicyDelegate):
  9931. Add callIgnoreInDecidePolicyForMIMETypeAfterOneSecond argument.
  9932. * DumpRenderTree/mac/PolicyDelegate.h:
  9933. * DumpRenderTree/mac/PolicyDelegate.mm:
  9934. (-[PolicyDelegate webView:decidePolicyForMIMEType:request:frame:decisionListener:]):
  9935. If _callIgnoreInDecidePolicyForMIMETypeAfterOneSecond is true, call [listener ignore] after one second.
  9936. (-[PolicyDelegate setCallIgnoreInDecidePolicyForMIMETypeAfterOneSecond:]):
  9937. Update _callIgnoreInDecidePolicyForMIMETypeAfterOneSecond.
  9938. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  9939. (LayoutTestController::setCustomPolicyDelegate):
  9940. Add callIgnoreInDecidePolicyForMIMETypeAfterOneSecond argument.
  9941. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  9942. (LayoutTestController::setCustomPolicyDelegate):
  9943. Add callIgnoreInDecidePolicyForMIMETypeAfterOneSecond argument.
  9944. 2010-10-22 Sam Weinig <sam@webkit.org>
  9945. Reviewed by Anders Carlsson.
  9946. Rename the InjectedBundle for TestWebKitAPI to InjectedBundleTestWebKitAPI.bundle
  9947. * TestWebKitAPI/Configurations/InjectedBundle.xcconfig:
  9948. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  9949. * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
  9950. (TestWebKitAPI::Util::createInjectedBundlePath):
  9951. 2010-10-22 Dirk Pranke <dpranke@chromium.org>
  9952. Reviewed by Eric Seidel.
  9953. test-webkitpy fails when passed -v (or any other option)
  9954. Fix port/base_unittest to pass an explicit list of arguments
  9955. rather than accidentally picking up sys.argv.
  9956. https://bugs.webkit.org/show_bug.cgi?id=48071
  9957. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  9958. 2010-10-22 Brian Weinstein <bweinstein@apple.com>
  9959. Windows build fix. Update the createNewPage callback to account for the new
  9960. arguments.
  9961. * MiniBrowser/win/BrowserView.cpp:
  9962. (createNewPage):
  9963. 2010-10-22 Sam Weinig <sam@webkit.org>
  9964. Reviewed by Anders Carlsson.
  9965. WebKit2 needs to pass the current event modifier flags when requesting a new window
  9966. https://bugs.webkit.org/show_bug.cgi?id=48140
  9967. * MiniBrowser/mac/BrowserWindowController.m:
  9968. (createNewPage):
  9969. * WebKitTestRunner/TestController.cpp:
  9970. (WTR::createOtherPage):
  9971. Update for new signature for the WKPageCreateNewPageCallback.
  9972. 2010-10-22 Eric Seidel <eric@webkit.org>
  9973. Unreviewed. Just adding a test case.
  9974. The style-queue was not recognizing new patches. It turns
  9975. out I had fixed this in an earlier change, but just not
  9976. deployed to queues.webkit.org. As part of investigating why it
  9977. was broken, I wrote a test for my previous change which I'm now landing.
  9978. * QueueStatusServer/model/queues_unittest.py:
  9979. 2010-10-22 Eric Seidel <eric@webkit.org>
  9980. Reviewed by Adam Barth.
  9981. EWS does not need to process obsolete patches
  9982. https://bugs.webkit.org/show_bug.cgi?id=48093
  9983. This was an easy change, but to test it I had to pipe
  9984. real Attachment objects into the queue testing system.
  9985. Doing so revealed a whole bunch of bugs in our unit tests,
  9986. which I fixed as part of this patch.
  9987. * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  9988. - This is the actual code change. This will not reduce the
  9989. backlog in the EWS queues much, but it will make rejections
  9990. much quicker for obsolete patches or closed bugs.
  9991. * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
  9992. - Test my new code.
  9993. - Used a real attachment object and got rid of MockPatch
  9994. - Shared code between the mac-ews and cr-mac-ews tests.
  9995. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  9996. - Can't use MockPatch anymore.
  9997. - Removing MockPatch found more bugs here!
  9998. * Scripts/webkitpy/tool/commands/queuestest.py:
  9999. * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
  10000. * Scripts/webkitpy/tool/mocktool.py:
  10001. - MockBugzilla should not be a "Mock" object. Right now tool.bugs()
  10002. is allowed, but wrong. Making it not a Mock will make tool.bugs() correctly fail.
  10003. 2010-10-22 Sheriff Bot <webkit.review.bot@gmail.com>
  10004. Unreviewed, rolling out r70301.
  10005. http://trac.webkit.org/changeset/70301
  10006. https://bugs.webkit.org/show_bug.cgi?id=48126
  10007. "Lang attribute layout tests failing" (Requested by satish on
  10008. #webkit).
  10009. * DumpRenderTree/LayoutTestController.cpp:
  10010. (setMockSpeechInputResultCallback):
  10011. * DumpRenderTree/LayoutTestController.h:
  10012. * DumpRenderTree/chromium/LayoutTestController.cpp:
  10013. (LayoutTestController::setMockSpeechInputResult):
  10014. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  10015. (LayoutTestController::setMockSpeechInputResult):
  10016. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  10017. (LayoutTestController::setMockSpeechInputResult):
  10018. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  10019. (LayoutTestController::setMockSpeechInputResult):
  10020. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  10021. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  10022. (LayoutTestController::setMockSpeechInputResult):
  10023. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  10024. (LayoutTestController::setMockSpeechInputResult):
  10025. 2010-10-22 Leandro Gracia Gil <leandrogracia@google.com>
  10026. Reviewed by Jeremy Orlow.
  10027. Added a second parameter to setMockSpeechInputResult for
  10028. the language used in speech input.
  10029. https://bugs.webkit.org/show_bug.cgi?id=47089
  10030. * DumpRenderTree/LayoutTestController.cpp:
  10031. (setMockSpeechInputResultCallback):
  10032. * DumpRenderTree/LayoutTestController.h:
  10033. * DumpRenderTree/chromium/LayoutTestController.cpp:
  10034. (LayoutTestController::setMockSpeechInputResult):
  10035. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  10036. (LayoutTestController::setMockSpeechInputResult):
  10037. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  10038. (LayoutTestController::setMockSpeechInputResult):
  10039. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  10040. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  10041. (LayoutTestController::setMockSpeechInputResult):
  10042. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  10043. (LayoutTestController::setMockSpeechInputResult):
  10044. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  10045. (LayoutTestController::setMockSpeechInputResult):
  10046. 2010-10-21 MORITA Hajime <morrita@google.com>
  10047. Reviewed by Kent Tamura.
  10048. [Win][DRT] should have LayoutTestController.hasSpellingMarker()
  10049. https://bugs.webkit.org/show_bug.cgi?id=47885
  10050. - Implemented LayoutTestController.hasSpellingMarker(),
  10051. - Added fake spellcheck implementation.
  10052. * DumpRenderTree/win/DumpRenderTree.cpp:
  10053. (main):
  10054. * DumpRenderTree/win/EditingDelegate.cpp:
  10055. (indexOfFirstWordCharacter):
  10056. (wordLength):
  10057. (EditingDelegate::checkSpellingOfString):
  10058. * DumpRenderTree/win/EditingDelegate.h:
  10059. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  10060. (LayoutTestController::hasSpellingMarker):
  10061. 2010-10-21 Mihai Parparita <mihaip@chromium.org>
  10062. Unreviewed. Re-enable test that was mistakenly disabled by r67974.
  10063. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
  10064. 2010-10-21 Mihai Parparita <mihaip@chromium.org>
  10065. Unreviewed fix for rebaseline-chromium-webkit-tests.
  10066. Port.diff_image no longer has a tolerance parameter. Also, use
  10067. get_option('tolerance') which is safer if the options object doesn't
  10068. define a tolerance attribute (it doesn't for the one used in
  10069. rebaseline_chromium_webkit_tests).
  10070. * Scripts/webkitpy/layout_tests/port/port_testcase.py:
  10071. * Scripts/webkitpy/layout_tests/port/webkit.py:
  10072. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  10073. 2010-10-21 Mihai Parparita <mihaip@chromium.org>
  10074. Reviewed by Ojan Vafai.
  10075. Add support for --tolerance in NRWT
  10076. https://bugs.webkit.org/show_bug.cgi?id=47959
  10077. Add support for the --tolerance flag in NRWT. The Port.diff_image
  10078. signature shouldn't need a tolerance parameter (it's not set per test),
  10079. just have ports that use it (currently only WebKitPort) read it from
  10080. the options object.
  10081. * Scripts/webkitpy/layout_tests/port/chromium.py:
  10082. * Scripts/webkitpy/layout_tests/port/port_testcase.py:
  10083. * Scripts/webkitpy/layout_tests/port/test.py:
  10084. * Scripts/webkitpy/layout_tests/port/webkit.py:
  10085. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  10086. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  10087. 2010-10-21 Eric Seidel <eric@webkit.org>
  10088. Reviewed by Adam Barth.
  10089. Add --suggest-reviewers option to upload to auto-suggest reviewers for your patch
  10090. https://bugs.webkit.org/show_bug.cgi?id=48088
  10091. This is a first-pass. Works, but we'll eventually
  10092. turn this on by default, refine the suggestion algorithm
  10093. and possibly move it to a different place in the upload step order.
  10094. * Scripts/webkitpy/common/checkout/api.py:
  10095. * Scripts/webkitpy/tool/commands/download_unittest.py:
  10096. * Scripts/webkitpy/tool/commands/upload.py:
  10097. * Scripts/webkitpy/tool/commands/upload_unittest.py:
  10098. * Scripts/webkitpy/tool/mocktool.py:
  10099. * Scripts/webkitpy/tool/steps/__init__.py:
  10100. * Scripts/webkitpy/tool/steps/options.py:
  10101. 2010-10-21 Mario Sanchez Prada <msanchez@igalia.com>
  10102. Reviewed by Chris Fleizach.
  10103. [GTK] Segfault while testing accessibility/iframe-bastardization.html
  10104. https://bugs.webkit.org/show_bug.cgi?id=30123
  10105. Check m_element before actually using it to get the parent.
  10106. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  10107. (AccessibilityUIElement::parentElement): Add an extra check to
  10108. make sure m_element points to a valid value before actually using
  10109. it to get the parent. Also, assert ATK_IS_OBJECT(m_element).
  10110. 2010-10-21 Anders Carlsson <andersca@apple.com>
  10111. Reviewed by Adam Roben.
  10112. Crash evaluating JavaScript string that throws an exception
  10113. https://bugs.webkit.org/show_bug.cgi?id=48092
  10114. <rdar://problem/8487657>
  10115. Add a test that evaluates a JavaScript string that throws an exception and check that
  10116. the callback is called.
  10117. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  10118. * TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp: Added.
  10119. (TestWebKitAPI::didRunJavaScript):
  10120. (TestWebKitAPI::WebKit2_EvaluateJavaScript):
  10121. * TestWebKitAPI/win/TestWebKitAPI.vcproj:
  10122. 2010-10-21 Adam Roben <aroben@apple.com>
  10123. Test that the plugin's HWND is invalidated when NPN_InvalidateRect is
  10124. called
  10125. Test for <http://webkit.org/b/48086> <rdar://problem/8482944>
  10126. Silverlight doesn't repaint in WebKit2
  10127. Reviewed by Anders Carlsson.
  10128. * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
  10129. (PluginTest::NPN_InvalidateRect): Added. Calls through to the browser.
  10130. (executeScript): Added. Asks the browser to evaluate the script.
  10131. (PluginTest::waitUntilDone):
  10132. (PluginTest::notifyDone):
  10133. Added. Calls through to layoutTestController.
  10134. * DumpRenderTree/TestNetscapePlugIn/PluginTest.h: Added
  10135. * NPN_InvalidateRect and waitUntilDone/notifyDone.
  10136. * DumpRenderTree/TestNetscapePlugIn/Tests/win/NPNInvalidateRectInvalidatesWindow.cpp: Added.
  10137. (TemporaryWindowMover::moveSucceeded):
  10138. (TemporaryWindowMover::TemporaryWindowMover):
  10139. (TemporaryWindowMover::~TemporaryWindowMover):
  10140. This class moves a window on-screen and shows it, then moves it back and hides it.
  10141. (NPNInvalidateRectInvalidatesWindow::NPNInvalidateRectInvalidatesWindow):
  10142. Initialize our members.
  10143. (NPNInvalidateRectInvalidatesWindow::~NPNInvalidateRectInvalidatesWindow):
  10144. Delete our window mover if it hasn't been deleted already.
  10145. (NPNInvalidateRectInvalidatesWindow::NPP_SetWindow): Subclass the
  10146. plugin HWND and move the test harness window on screen.
  10147. (NPNInvalidateRectInvalidatesWindow::wndProc): Call through to onPaint
  10148. when we get a WM_PAINT message.
  10149. (NPNInvalidateRectInvalidatesWindow::onPaint): Do the test and tell
  10150. LayoutTestController we're done.
  10151. (NPNInvalidateRectInvalidatesWindow::testInvalidateRect): Validate
  10152. ourselves, invalidate our lower-right quadrant via NPN_InvalidateRect,
  10153. then check that our HWND's invalid region is the rect that we
  10154. invalidated.
  10155. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  10156. * Added NPNInvalidateRectInvalidatesWindow.
  10157. 2010-10-21 Daniel Bates <dbates@rim.com>
  10158. Add Git-support to do-file-rename
  10159. https://bugs.webkit.org/show_bug.cgi?id=48015
  10160. Fix tools. Export function scmMoveOrRenameFile so that it can be called from
  10161. do-file-rename and do-webcore-rename. I inadvertently left this out of the patch.
  10162. * Scripts/VCSUtils.pm:
  10163. 2010-10-21 Eric Seidel <eric@webkit.org>
  10164. Reviewed by Adam Barth.
  10165. mac-ews is not properly releasing patches
  10166. https://bugs.webkit.org/show_bug.cgi?id=48076
  10167. mac-ews overrides process_work_item, so it was not calling
  10168. release_work_item like the default process_work_item would.
  10169. To fix this I made all the status-reporting methods just
  10170. release the patch. I expect we'll iterate on this design further.
  10171. * Scripts/webkitpy/common/net/statusserver.py:
  10172. * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
  10173. * Scripts/webkitpy/tool/commands/queues.py:
  10174. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  10175. 2010-10-18 Martin Robinson <mrobinson@igalia.com>
  10176. Reviewed by Gustavo Noronha Silva.
  10177. [GTK] mathml flaky tests after adding SystemFonts to the theme
  10178. https://bugs.webkit.org/show_bug.cgi?id=47727
  10179. The Fontconfig setup in the GTK+ now specifically checks for and
  10180. loads the STIX fonts for MathML tests.
  10181. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  10182. (initializeFonts): Add hooks for loading the STIX fonts specifically.
  10183. 2010-10-20 Adam Roben <aroben@apple.com>
  10184. Test that the UI client gets notified when WKView receives a WM_CLOSE
  10185. message
  10186. Test for <http://webkit.org/b/48044> <rdar://problem/8488446> Pressing
  10187. Ctrl+W when viewing a full-page PDF destroys the WKView but doesn't
  10188. close its parent window
  10189. Reviewed by Jon Honeycutt.
  10190. * TestWebKitAPI/Tests/WebKit2/win/WMCloseCallsUIClientClose.cpp: Added.
  10191. (TestWebKitAPI::close): Record that this function was called.
  10192. (TestWebKitAPI::WebKit2_WMCloseCallsUIClientClose): Create a WKView,
  10193. send it a WM_CLOSE message, and test that the UI client's close
  10194. callback got called. Note that this will hang if the bug is
  10195. reintroduced; <http://webkit.org/b/48043> covers making TestWebKitAPI
  10196. able to handle hangs.
  10197. * TestWebKitAPI/win/TestWebKitAPI.vcproj: Added the new test.
  10198. 2010-10-20 Adam Roben <aroben@apple.com>
  10199. Make prepare-ChangeLog much faster when using git
  10200. This change also seems to make it detect renames better in some cases.
  10201. Fixes <http://webkit.org/b/48040> prepare-ChangeLog is slow when using
  10202. git
  10203. Reviewed by David Kilzer.
  10204. * Scripts/prepare-ChangeLog:
  10205. (statusCommand):
  10206. (createPatchCommand):
  10207. Use "-M -C" instead of "-C -C -M" to tell git-diff to detect renames
  10208. and copies. The two "-C"s were making it read many more files than were
  10209. necessary.
  10210. 2010-10-21 Sam Weinig <sam@webkit.org>
  10211. Reviewed by Adam Roben.
  10212. Null frame passed when running alert from UserScript run at document start
  10213. <rdar://problem/8573809>
  10214. https://bugs.webkit.org/show_bug.cgi?id=48036
  10215. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  10216. * TestWebKitAPI/InjectedBundleController.cpp:
  10217. (TestWebKitAPI::InjectedBundleController::didReceiveMessage):
  10218. (TestWebKitAPI::InjectedBundleController::initializeTestNamed):
  10219. * TestWebKitAPI/InjectedBundleController.h:
  10220. * TestWebKitAPI/InjectedBundleTest.h:
  10221. (TestWebKitAPI::InjectedBundleTest::initialize):
  10222. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  10223. * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp: Added.
  10224. (TestWebKitAPI::runJavaScriptAlert):
  10225. (TestWebKitAPI::TEST):
  10226. * TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp: Added.
  10227. (TestWebKitAPI::DocumentStartUserScriptAlertCrashTest::DocumentStartUserScriptAlertCrashTest):
  10228. (TestWebKitAPI::DocumentStartUserScriptAlertCrashTest::initialize):
  10229. Add test for invoking an alert during a UserScript run at document start.
  10230. 2010-10-21 Andreas Kling <kling@webkit.org>
  10231. Reviewed by Adam Roben.
  10232. TestNetscapePlugIn: Actually call NPP_SetWindow on Unix
  10233. We were just returning NPERR_NO_ERROR previously.
  10234. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  10235. (webkit_test_plugin_set_window):
  10236. 2010-10-21 David Kilzer <ddkilzer@apple.com>
  10237. <http://webkit.org/b/48051> Move macros from DumpRenderTreeMac.h to config.h
  10238. Reviewed by Adam Roben.
  10239. * DumpRenderTree/config.h: Moved macros to here...
  10240. * DumpRenderTree/mac/DumpRenderTreeMac.h: ...from here.
  10241. Addresses a FIXME comment from r28419.
  10242. 2010-10-21 David Kilzer <ddkilzer@apple.com>
  10243. <http://webkit.org/b/48047> Fix warnings found by check-Xcode-source-file-types
  10244. Reviewed by Adam Roben.
  10245. Fixes the following warnings:
  10246. WARNING: Incorrect file type 'sourcecode.cpp.objcpp' for file 'PixelDumpSupport.cpp'.
  10247. WARNING: Incorrect file type 'sourcecode.cpp.objcpp' for file 'LayoutTestController.cpp'.
  10248. WARNING: Incorrect file type 'sourcecode.cpp.objcpp' for file 'WorkQueue.cpp'.
  10249. WARNING: Incorrect file type 'sourcecode.cpp.objcpp' for file 'cg/PixelDumpSupportCG.cpp'.
  10250. WARNING: Incorrect file type 'sourcecode.cpp.objcpp' for file 'GCController.cpp'.
  10251. 5 issues found for WebKitTools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj.
  10252. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  10253. Removed explicit file type for *.cpp files above to make them
  10254. match other C++ source files. This exposed the fact that
  10255. DumpRenderTreeMac.h was not safe to include in C++ source, which
  10256. caused PixelDumpSupport.cpp and PixelDumpSupportCG.cpp to fail
  10257. to build.
  10258. * DumpRenderTree/PixelDumpSupport.cpp: Adjusted header order.
  10259. * DumpRenderTree/mac/DumpRenderTreeMac.h: Made safe to include
  10260. in C++ source files. Included CoreFoundation/CoreFoundation.h
  10261. to make sure all CF types were defined. Removed CFStringRef
  10262. typedef.
  10263. 2010-10-21 Adam Roben <aroben@apple.com>
  10264. Attempt to fix plugins/pass-different-npp-struct.html on GTK.
  10265. See <http://webkit.org/b/47690>.
  10266. * GNUmakefile.am: Added PassDifferentNPPStruct.cpp.
  10267. 2010-10-21 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  10268. Reviewed by Csaba Osztrogonác.
  10269. [NRWT] Set ImageDiff path on Qt port
  10270. https://bugs.webkit.org/show_bug.cgi?id=48052
  10271. * Scripts/webkitpy/layout_tests/port/qt.py:
  10272. 2010-10-21 Adam Barth <abarth@webkit.org>
  10273. Reviewed by Eric Seidel.
  10274. Don't CC authors of flaky tests
  10275. https://bugs.webkit.org/show_bug.cgi?id=48038
  10276. Some authors found this too annoying. We'll look for another way to
  10277. close the flaky test loop.
  10278. * Scripts/webkitpy/tool/commands/queues.py:
  10279. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  10280. 2010-10-21 Eric Seidel <eric@webkit.org>
  10281. Reviewed by Adam Barth.
  10282. commit-queue should run run-webkit-tests with --no-new-test-results
  10283. https://bugs.webkit.org/show_bug.cgi?id=47998
  10284. * Scripts/webkitpy/tool/steps/runtests.py:
  10285. * Scripts/webkitpy/tool/steps/steps_unittest.py:
  10286. 2010-10-21 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  10287. Reviewed by Ojan Vafai.
  10288. [NRWT] Get child process number from an environment variable
  10289. https://bugs.webkit.org/show_bug.cgi?id=47981
  10290. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  10291. 2010-10-20 David Kilzer <ddkilzer@apple.com>
  10292. <http://webkit.org/b/47754> New script to verify explicit source file types in Xcode project files
  10293. Reviewed by Darin Adler.
  10294. The script parses an Xcode project file and makes sure the file
  10295. extension matches the explicit file type set for all source
  10296. files. Note that the majority of source files will have their
  10297. type set by Xcode, so the script doesn't check them since there
  10298. is no need to second-guess Xcode.
  10299. * Scripts/check-Xcode-source-file-types: Added. Code borrowed
  10300. heavily from sort-Xcode-project-file.
  10301. 2010-10-20 Adam Roben <aroben@apple.com>
  10302. Windows build fix
  10303. * TestWebKitAPI/win/PlatformUtilitiesWin.cpp: Added missing #include.
  10304. 2010-10-20 Adam Roben <aroben@apple.com>
  10305. Qt test fix
  10306. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro: Added
  10307. PassDifferentNPPStruct.cpp.
  10308. 2010-10-20 Sam Weinig <sam@webkit.org>
  10309. Reviewed by Adam Roben.
  10310. Add ability to test injected bundle API using TestWebKitAPI
  10311. https://bugs.webkit.org/show_bug.cgi?id=48027
  10312. * TestWebKitAPI/InjectedBundleController.cpp: Added.
  10313. * TestWebKitAPI/InjectedBundleController.h: Added.
  10314. Shared main object for bundle functionality.
  10315. * TestWebKitAPI/InjectedBundleMain.cpp: Added.
  10316. Bundle entry point.
  10317. * TestWebKitAPI/InjectedBundleTest.h: Added.
  10318. Base class for which the bundle portion of a test derives from.
  10319. * TestWebKitAPI/PlatformUtilities.h:
  10320. * TestWebKitAPI/PlatformUtilities.cpp: Added.
  10321. * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
  10322. * TestWebKitAPI/win/PlatformUtilitiesWin.cpp:
  10323. (TestWebKitAPI::Util::createInjectedBundlePath):
  10324. (TestWebKitAPI::Util::createURLForResource):
  10325. (TestWebKitAPI::Util::URLForNonExistentResource):
  10326. Add helper to create a context with the shared injected bundle,
  10327. and send the initial message to set up the test.
  10328. * TestWebKitAPI/Configurations/InjectedBundle.xcconfig: Added.
  10329. * TestWebKitAPI/InjectedBundle-Info.plist: Added.
  10330. Add mac configuration files.
  10331. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  10332. Add the new files.
  10333. * TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic.cpp: Added.
  10334. * TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic_Bundle.cpp: Added.
  10335. Add a simple initial bundle test.
  10336. 2010-10-20 Eric Seidel <eric@webkit.org>
  10337. Unreviewed. Fixing /release-patch url used by the EWS bots.
  10338. EWS should test patches with r+
  10339. https://bugs.webkit.org/show_bug.cgi?id=35460
  10340. * Scripts/webkitpy/common/net/statusserver.py:
  10341. - I changed the URL during development, and 404s are
  10342. intentionally silenced during release_patch.
  10343. 2010-10-14 Adam Roben <aroben@apple.com>
  10344. Test that passing a different NPP struct back to the browser doesn't
  10345. cause an assertion failure
  10346. Test for <http://webkit.org/b/47690> <rdar://problem/8553020>
  10347. Assertion failure in NetscapePlugin::fromNPP when using Shockwave in
  10348. WebKit2
  10349. Reviewed by John Sullivan.
  10350. * DumpRenderTree/TestNetscapePlugIn/Tests/PassDifferentNPPStruct.cpp: Copied from WebKitTools/DumpRenderTree/TestNetscapePlugIn/Tests/win/GetValueNetscapeWindow.cpp.
  10351. (PassDifferentNPPStruct::PassDifferentNPPStruct): Initialize our
  10352. members.
  10353. (PassDifferentNPPStruct::NPP_SetWindow): Pass a different NPP to the
  10354. browser than the one it gave us in NPP_New and see if it works.
  10355. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  10356. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  10357. Added PassDifferentNPPStruct.
  10358. 2010-10-19 Adam Roben <aroben@apple.com>
  10359. Gently nudge old-run-webkit-tests toward working with Win32 Perl
  10360. This makes old-run-webkit-tests able to build DRT and find all the
  10361. tests to run. It even invokes DRT and passes it the list of tests. But
  10362. DRT ends up hung blocking on I/O.
  10363. Fixes <http://webkit.org/b/47961> Get old-run-webkit-tests mostly
  10364. working with Win32 Perl
  10365. Reviewed by David Kilzer.
  10366. * Scripts/old-run-webkit-tests:
  10367. - Use File::Spec instead of manually concatenating paths
  10368. - Use dirname instead of manually stripping off the base name
  10369. - Use isCygwin/isWindows/isAppleWinWebKit more judiciously
  10370. - Explicitly invoke Perl when running Perl scripts
  10371. - Quote paths when using them in regular expressions to allow them
  10372. to include characters that have special meanings in regular
  10373. expressions
  10374. * Scripts/run-webkit-tests: Use File::Spec instead of manually
  10375. concatenating paths.
  10376. * Scripts/webkitdirs.pm:
  10377. - Remove the unused $windowsTmpPath variable
  10378. - Use isCygwin/isWindows/isAppleWinWebKit more judiciously
  10379. - Only pass paths to cygpath when using Cygwin Perl
  10380. - Only use pdevenv when using Cygwin Perl, for now
  10381. 2010-10-20 Daniel Bates <dbates@rim.com>
  10382. Reviewed by Martin Robinson.
  10383. Add Git-support to do-file-rename
  10384. https://bugs.webkit.org/show_bug.cgi?id=48015
  10385. Also, abstracts the SCM move/rename functionality in do-file-rename and
  10386. do-webcore-rename into a common function VCSUtils::scmMoveOrRenameFile().
  10387. Currently, do-file-rename is hard coded to assume the SCM is Subversion.
  10388. Instead, we should abstract the rename logic to be SCM-independent. This
  10389. will allow us to add Git support as well move such functionality into
  10390. our SCM library VCSUtils, where it can be shared by do-webcore-rename.
  10391. * Scripts/VCSUtils.pm:
  10392. - Added function scmMoveOrRenameFile.
  10393. * Scripts/do-file-rename: Modified to call VCSUtils::scmMoveOrRenameFile().
  10394. * Scripts/do-webcore-rename: Ditto.
  10395. 2010-10-20 Adam Roben <aroben@apple.com>
  10396. Fix old-run-webkit-tests when there's a space in the path to DRT
  10397. Reviewed by Jon Honeycutt.
  10398. * Scripts/old-run-webkit-tests: Quote the path to DRT before executing
  10399. it.
  10400. 2010-10-20 Kenneth Russell <kbr@google.com>
  10401. Reviewed by Dimitri Glazkov.
  10402. Regression in chromium_gpu_unittests after r70175
  10403. https://bugs.webkit.org/show_bug.cgi?id=48008
  10404. * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
  10405. 2010-10-20 Kenneth Russell <kbr@google.com>
  10406. Reviewed by James Robinson.
  10407. chromium_gpu port of new-run-webkit-tests must do Linux -> Win expectations fallback
  10408. https://bugs.webkit.org/show_bug.cgi?id=48005
  10409. * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
  10410. 2010-10-20 Adam Barth <abarth@webkit.org>
  10411. Reviewed by Eric Seidel.
  10412. webkit-patch doesn't get along with git rm
  10413. https://bugs.webkit.org/show_bug.cgi?id=47940
  10414. Turns out we need to pass "--" to tell git this is a path.
  10415. * Scripts/webkitpy/common/checkout/scm.py:
  10416. 2010-10-20 Robert Hogan <robert@webkit.org>
  10417. Reviewed by Antonio Gomes.
  10418. [Qt] Fix layoutTestController.getJsObjectCount
  10419. Qt Bridge doesn't know size_t so pass result as unsigned int.
  10420. Unskip fast/dom/gc-10.html
  10421. https://bugs.webkit.org/show_bug.cgi?id=47931
  10422. * DumpRenderTree/qt/GCControllerQt.cpp:
  10423. (GCController::getJSObjectCount):
  10424. * DumpRenderTree/qt/GCControllerQt.h:
  10425. 2010-10-20 Sheriff Bot <webkit.review.bot@gmail.com>
  10426. Unreviewed, rolling out r70149.
  10427. http://trac.webkit.org/changeset/70149
  10428. https://bugs.webkit.org/show_bug.cgi?id=47989
  10429. "Build breaks in mac and win" (Requested by satish on
  10430. #webkit).
  10431. * DumpRenderTree/LayoutTestController.cpp:
  10432. (setMockSpeechInputResultCallback):
  10433. * DumpRenderTree/LayoutTestController.h:
  10434. * DumpRenderTree/chromium/LayoutTestController.cpp:
  10435. (LayoutTestController::setMockSpeechInputResult):
  10436. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  10437. (LayoutTestController::setMockSpeechInputResult):
  10438. 2010-10-20 Leandro Gracia Gil <leandrogracia@google.com>
  10439. Reviewed by Jeremy Orlow.
  10440. Added a second parameter to setMockSpeechInputResult for
  10441. the language used in speech input.
  10442. https://bugs.webkit.org/show_bug.cgi?id=47089
  10443. * DumpRenderTree/LayoutTestController.cpp:
  10444. (setMockSpeechInputResultCallback):
  10445. * DumpRenderTree/LayoutTestController.h:
  10446. * DumpRenderTree/chromium/LayoutTestController.cpp:
  10447. (LayoutTestController::setMockSpeechInputResult):
  10448. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  10449. (LayoutTestController::setMockSpeechInputResult):
  10450. 2010-10-19 Adam Roben <aroben@apple.com>
  10451. Teach update-webkit-support-libs about the new versioning of
  10452. WebKitSupportLibrary
  10453. Fixes <http://webkit.org/b/47915> update-webkit-support-libs should
  10454. check version numbers instead of modification times
  10455. Reviewed by Sam Weinig.
  10456. * Scripts/update-webkit-support-libs: Fetch the expected version
  10457. number from developer.apple.com, then compare with the version number
  10458. of the extracted library and of the zipped library to see if anything
  10459. needs to be done. Removed code that tracked the modified timestamp of
  10460. the library, as it is no longer needed.
  10461. 2010-10-19 Eric Seidel <eric@webkit.org>
  10462. Reviewed by Adam Barth.
  10463. EWS should test patches with r+
  10464. https://bugs.webkit.org/show_bug.cgi?id=35460
  10465. * QueueStatusServer/handlers/submittoews.py:
  10466. * QueueStatusServer/model/queues.py:
  10467. * Scripts/webkitpy/tool/bot/patchcollection.py: Removed.
  10468. * Scripts/webkitpy/tool/bot/patchcollection_unittest.py: Removed.
  10469. * Scripts/webkitpy/tool/commands/queues.py:
  10470. 2010-10-19 Eric Seidel <eric@webkit.org>
  10471. Reviewed by Adam Barth.
  10472. Teach feeder-queue how to feed the EWS bots
  10473. https://bugs.webkit.org/show_bug.cgi?id=47943
  10474. queues.webkit.org already knew how to accept EWS submissions
  10475. via /submit-to-ews. This teaches the feeder queue how to post
  10476. to that page with any new r? patches it sees.
  10477. * QueueStatusServer/model/activeworkitems_unitest.py: Added.
  10478. - More unit testing is always a good thing.
  10479. * Scripts/webkitpy/common/net/bugzilla.py:
  10480. * Scripts/webkitpy/common/net/statusserver.py:
  10481. * Scripts/webkitpy/tool/bot/feeders.py:
  10482. * Scripts/webkitpy/tool/commands/queues.py:
  10483. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  10484. * Scripts/webkitpy/tool/mocktool.py:
  10485. 2010-10-19 Eric Seidel <eric@webkit.org>
  10486. Unreviewed, just fixing test-webkitpy. I'm really on a roll today.
  10487. commit-queue gets stuck when release-patch returns 404
  10488. https://bugs.webkit.org/show_bug.cgi?id=47935
  10489. Fix test-webkitpy and unittest NetworkTransaction.
  10490. * Scripts/webkitpy/common/net/networktransaction.py:
  10491. * Scripts/webkitpy/common/net/networktransaction_unittest.py:
  10492. 2010-10-19 Eric Seidel <eric@webkit.org>
  10493. Unreviewed.
  10494. commit-queue gets stuck when release-patch returns 404
  10495. https://bugs.webkit.org/show_bug.cgi?id=47935
  10496. Turns out ClientForm gets upset if passed an int() instead of a string type.
  10497. Yay for untestable code.
  10498. * Scripts/webkitpy/common/net/statusserver.py:
  10499. 2010-10-19 Eric Seidel <eric@webkit.org>
  10500. Unreviewed. Will get Adam's commentary after his meeting
  10501. for now this gets the commit-cluster back running.
  10502. commit-queue gets stuck when release-patch returns 404
  10503. https://bugs.webkit.org/show_bug.cgi?id=47935
  10504. I taught NetworkTransaction the basics of 404 handling.
  10505. We'll want to go back and teach it how to handle urllib2 404's too
  10506. and then deploy it to the places that want it.
  10507. * QueueStatusServer/handlers/releasepatch.py:
  10508. * Scripts/webkitpy/common/net/buildbot.py:
  10509. * Scripts/webkitpy/common/net/networktransaction.py:
  10510. * Scripts/webkitpy/common/net/statusserver.py:
  10511. 2010-10-19 Eric Seidel <eric@webkit.org>
  10512. Unreviewed. Fixing typos in my previous commit.
  10513. Make patch release explicit and not a magic part of "retry" status
  10514. https://bugs.webkit.org/show_bug.cgi?id=47909
  10515. All of these typos again due to our inability to unit
  10516. test much of this code. I added one unit test where
  10517. possible. activeworkitems_unittest.py will be in a separate patch.
  10518. * QueueStatusServer/handlers/releasepatch.py:
  10519. * QueueStatusServer/main.py:
  10520. * QueueStatusServer/model/activeworkitems.py:
  10521. * QueueStatusServer/model/workitems.py:
  10522. * QueueStatusServer/model/workitems_unittest.py:
  10523. * QueueStatusServer/templates/releasepatch.html:
  10524. * Scripts/webkitpy/common/net/statusserver.py:
  10525. 2010-10-19 Tony Chang <tony@chromium.org>
  10526. Reviewed by Kent Tamura.
  10527. [chromium] Use webkit's TestNetscapePlugIn in DRT mac
  10528. https://bugs.webkit.org/show_bug.cgi?id=47850
  10529. * DumpRenderTree/chromium/TestNetscapePlugIn/Info.plist: Added. Forked
  10530. because we're going to name our plugin WebKitTestNetscapePlugIn
  10531. temporarily until the chromium forked plugin goes away.
  10532. 2010-10-19 Eric Seidel <eric@webkit.org>
  10533. Reviewed by Adam Barth.
  10534. Make patch release explicit and not a magic part of "retry" status
  10535. https://bugs.webkit.org/show_bug.cgi?id=47909
  10536. This moves us another step closer to running r+ patches on the EWS bots.
  10537. Currently all bots just spam /update-work-items with their list of current
  10538. work items. queues.webkit.org uses that data for display. As part of making
  10539. the EWS run r+ patches, we're moving the official list of patches-to-process
  10540. into the server, and feeding them out to bots one at a time. We need to be
  10541. able to remove patches from the queues one at a time instead of just spamming
  10542. /update-work-items with a new complete list. That's what this patch adds.
  10543. * QueueStatusServer/handlers/nextpatch.py:
  10544. * QueueStatusServer/handlers/queuestatus.py:
  10545. * QueueStatusServer/handlers/releasepatch.py: Added.
  10546. * QueueStatusServer/handlers/statusbubble_unittest.py:
  10547. - Fix a typo causing test failure. This was not caught by the bots
  10548. because they don't have AppEngineLauncher installed and thus don't run
  10549. the QueueStatusServer tests.
  10550. * QueueStatusServer/handlers/updatestatus.py:
  10551. * QueueStatusServer/model/activeworkitems.py:
  10552. * QueueStatusServer/templates/releasepatch.html: Added.
  10553. * Scripts/webkitpy/common/net/statusserver.py:
  10554. * Scripts/webkitpy/tool/commands/queues.py:
  10555. * Scripts/webkitpy/tool/mocktool.py:
  10556. 2010-10-19 Eric Seidel <eric@webkit.org>
  10557. Reviewed by Adam Barth.
  10558. cr-mac bubble has caused status bubbles to wrap
  10559. https://bugs.webkit.org/show_bug.cgi?id=47928
  10560. We now have too many EWSes to fit in the bugs.webkit.org
  10561. status-bubble iframe when more than a couple EWS builds are pending.
  10562. To fix this I've reduced the space taken up by queue position,
  10563. and also moved cr-mac to the end of the list (since it's going to be
  10564. triple-digits for a while).
  10565. * QueueStatusServer/model/queues.py:
  10566. * QueueStatusServer/templates/statusbubble.html:
  10567. 2010-10-19 Kenneth Russell <kbr@google.com>
  10568. Reviewed by David Levin.
  10569. chromium_gpu port of new-run-webkit-tests must search chromium-gpu directory for expectations
  10570. https://bugs.webkit.org/show_bug.cgi?id=47874
  10571. * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
  10572. * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
  10573. 2010-10-19 Tony Chang <tony@chromium.org>
  10574. Reviewed by Kent Tamura.
  10575. [chromium] DumpRenderTree shouldn't put '.' in include path
  10576. https://bugs.webkit.org/show_bug.cgi?id=47877
  10577. Fix include paths.
  10578. * DumpRenderTree/chromium/AccessibilityController.cpp:
  10579. * DumpRenderTree/chromium/AccessibilityUIElement.cpp:
  10580. * DumpRenderTree/chromium/AccessibilityUIElement.h:
  10581. * DumpRenderTree/chromium/CppBoundClass.cpp:
  10582. * DumpRenderTree/chromium/CppVariant.cpp:
  10583. * DumpRenderTree/chromium/CppVariant.h:
  10584. * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
  10585. * DumpRenderTree/chromium/DRTDevToolsAgent.h:
  10586. * DumpRenderTree/chromium/DRTDevToolsCallArgs.h:
  10587. * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
  10588. * DumpRenderTree/chromium/DRTDevToolsClient.h:
  10589. * DumpRenderTree/chromium/EventSender.cpp:
  10590. * DumpRenderTree/chromium/EventSender.h:
  10591. * DumpRenderTree/chromium/LayoutTestController.cpp:
  10592. * DumpRenderTree/chromium/LayoutTestController.h:
  10593. * DumpRenderTree/chromium/MockSpellCheck.cpp:
  10594. * DumpRenderTree/chromium/NotificationPresenter.cpp:
  10595. * DumpRenderTree/chromium/NotificationPresenter.h:
  10596. * DumpRenderTree/chromium/PlainTextController.cpp:
  10597. * DumpRenderTree/chromium/Task.cpp:
  10598. * DumpRenderTree/chromium/TestNavigationController.h:
  10599. * DumpRenderTree/chromium/TestShell.cpp:
  10600. * DumpRenderTree/chromium/TestWebWorker.h:
  10601. * DumpRenderTree/chromium/TextInputController.cpp:
  10602. * DumpRenderTree/chromium/WebPreferences.cpp:
  10603. * DumpRenderTree/chromium/WebPreferences.h:
  10604. * DumpRenderTree/chromium/WebThemeEngineDRT.cpp:
  10605. * DumpRenderTree/chromium/WebThemeEngineDRT.h:
  10606. * DumpRenderTree/chromium/WebViewHost.cpp:
  10607. * DumpRenderTree/chromium/WebViewHost.h:
  10608. 2010-10-19 Sam Weinig <sam@webkit.org>
  10609. Reviewed by Dan Bernstein.
  10610. Need to include WKErrorRef in the WKPageDidFail... functions
  10611. https://bugs.webkit.org/show_bug.cgi?id=47871
  10612. Update tools for new parameter in failure callbacks.
  10613. * MiniBrowser/mac/BrowserWindowController.m:
  10614. (didFailProvisionalLoadWithErrorForFrame):
  10615. (didFailLoadWithErrorForFrame):
  10616. (-[BrowserWindowController updateProvisionalURLForFrame:]):
  10617. * TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp:
  10618. (TestWebKitAPI::didFailProvisionalLoadWithErrorForFrame):
  10619. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  10620. (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame):
  10621. (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame):
  10622. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  10623. 2010-10-19 Luiz Agostini <luiz.agostini@openbossa.org>
  10624. Reviewed by Antti Koivisto.
  10625. [Qt] WebKit2 MacOS build fix
  10626. https://bugs.webkit.org/show_bug.cgi?id=47897
  10627. Qt WebKit2 MacOS build fix.
  10628. * WebKitTestRunner/PlatformWebView.h:
  10629. * WebKitTestRunner/qt/TestControllerQt.cpp:
  10630. 2010-10-19 Adam Barth <abarth@webkit.org>
  10631. Reviewed by Eric Seidel.
  10632. webkit-patch stats the filesystem too many times
  10633. https://bugs.webkit.org/show_bug.cgi?id=47883
  10634. This patch attempts to cache the list of changed files more agressively
  10635. and to use that list to compute the diff instead of stating the file
  10636. system again.
  10637. * Scripts/webkitpy/common/checkout/api.py:
  10638. * Scripts/webkitpy/common/checkout/scm.py:
  10639. * Scripts/webkitpy/tool/mocktool.py:
  10640. * Scripts/webkitpy/tool/steps/abstractstep.py:
  10641. * Scripts/webkitpy/tool/steps/editchangelog.py:
  10642. * Scripts/webkitpy/tool/steps/preparechangelog.py:
  10643. 2010-10-19 David Kilzer <ddkilzer@apple.com>
  10644. <http://webkit.org/b/47741> Make sort-Xcode-project-file a little more friendly
  10645. Reviewed by Darin Adler.
  10646. * Scripts/sort-Xcode-project-file:
  10647. - Don't print an error message about missing arguments when
  10648. -h|--help is used.
  10649. - Allow Xcode project files to be specified as Project.xcodeproj
  10650. instead of Project.xcodeproj/project.pbxproj.
  10651. 2010-10-18 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  10652. Reviewed by Andreas Kling.
  10653. [Qt] QtTestBrowser: Prevent calling load() directly from loadFinished() in robot mode.
  10654. https://bugs.webkit.org/show_bug.cgi?id=47809
  10655. Connecting a call to load from the loadFinished signal can cause
  10656. re-entrance crashes in WebCore. This patch uses a timer to do so,
  10657. also giving some time to subsequent frames to finish loading.
  10658. * QtTestBrowser/urlloader.cpp:
  10659. (UrlLoader::UrlLoader):
  10660. (UrlLoader::loadNext):
  10661. (UrlLoader::checkIfFinished):
  10662. (UrlLoader::frameLoadStarted):
  10663. (UrlLoader::frameLoadFinished):
  10664. * QtTestBrowser/urlloader.h:
  10665. 2010-10-19 Sergio Villar Senín <svillar@igalia.com>
  10666. Reviewed by Xan Lopez.
  10667. [GTK] http/history tests are failing
  10668. https://bugs.webkit.org/show_bug.cgi?id=36173
  10669. Clear the history each time a test is run. Return the actual
  10670. history item count when calling
  10671. LayoutTestController::webHistoryItemCount
  10672. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  10673. (resetDefaultsToConsistentValues):
  10674. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  10675. (LayoutTestController::webHistoryItemCount):
  10676. 2010-10-18 Eric Seidel <eric@webkit.org>
  10677. Reviewed by Adam Barth.
  10678. Add Chromium Mac EWS to the list of queues at queues.webkit.org
  10679. https://bugs.webkit.org/show_bug.cgi?id=47878
  10680. * QueueStatusServer/model/queues.py:
  10681. 2010-10-18 Eric Seidel <eric@webkit.org>
  10682. Reviewed by Adam Barth.
  10683. queues.webkit.org/next_patch is always 404
  10684. https://bugs.webkit.org/show_bug.cgi?id=47881
  10685. With the addition of the Queue class, I changed most of the
  10686. code to lookup WorkItems using get_or_insert with a key_name
  10687. instead of WorkItems.all().filter(queue_name=).
  10688. Because the new get_or_insert code uses an explicit key_name
  10689. (which is obviously different from the previously autogenerated
  10690. ones), there were new WorkItem records created for each queue.
  10691. However, some parts of the code still use WorkItems.all().filter,
  10692. thus some parts were getting the new record and some parts the old record.
  10693. The same basic bug was occurring with ActiveWorkItems, because I
  10694. changed the key_name for that class as well.
  10695. To fix this I've moved more of the code over to using Queue.*work_items.
  10696. I've also enabled the datastore_admin (new in GAE 1.3.8) so that
  10697. we can go delete the old WorkItems records.
  10698. I also changed remote_api to use the new builtin: syntax (also added in GAE 1.3.8).
  10699. * QueueStatusServer/app.yaml:
  10700. * QueueStatusServer/handlers/queuestatus.py:
  10701. * QueueStatusServer/handlers/recentstatus.py:
  10702. * QueueStatusServer/handlers/updatestatus.py:
  10703. * QueueStatusServer/handlers/updateworkitems.py:
  10704. 2010-10-18 Eric Seidel <eric@webkit.org>
  10705. Reviewed by Adam Barth.
  10706. Correct a bunch of typos in QueueStatusServer
  10707. https://bugs.webkit.org/show_bug.cgi?id=47880
  10708. These are all due to our complete lack of unit testing in QueueStatusServer.
  10709. I added a couple unit tests to cover a few of these fixes, but most of these
  10710. are still only caught by actually running the application.
  10711. * QueueStatusServer/handlers/nextpatch.py:
  10712. * QueueStatusServer/handlers/statusbubble.py:
  10713. * QueueStatusServer/handlers/statusbubble_unittest.py: Added.
  10714. * QueueStatusServer/handlers/updateworkitems.py:
  10715. * QueueStatusServer/model/attachment.py:
  10716. * QueueStatusServer/model/queuepropertymixin.py:
  10717. * QueueStatusServer/model/queuepropertymixin_unittest.py:
  10718. * QueueStatusServer/model/workitems.py:
  10719. * QueueStatusServer/model/workitems_unittest.py: Added.
  10720. 2010-10-18 Adam Barth <abarth@webkit.org>
  10721. Disable this test because it's failing on the bots and the authors
  10722. aren't around to fix it.
  10723. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  10724. 2010-10-18 Adam Barth <abarth@webkit.org>
  10725. Reviewed by Eric Seidel.
  10726. CC authors of flaky tests when the commit-queue hits a flaky test
  10727. https://bugs.webkit.org/show_bug.cgi?id=47872
  10728. * Scripts/webkitpy/common/checkout/api.py:
  10729. * Scripts/webkitpy/common/net/layouttestresults.py:
  10730. * Scripts/webkitpy/tool/commands/queues.py:
  10731. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  10732. * Scripts/webkitpy/tool/mocktool.py:
  10733. 2010-10-18 Eric Seidel <eric@webkit.org>
  10734. Reviewed by Adam Barth.
  10735. Make it possible to run a chromium-mac-ews builder
  10736. https://bugs.webkit.org/show_bug.cgi?id=47876
  10737. Since we can't run Mac OS X in a VM, we need to only run committer patches.
  10738. There was a multiple inheritance problem which was holding this patch back,
  10739. but I decided to just ignore the problem and go with a functional hack for now.
  10740. * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  10741. * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
  10742. 2010-10-18 Kenneth Russell <kbr@google.com>
  10743. Reviewed by Tony Chang.
  10744. Regression in run_webkit_tests_unittest from r70017
  10745. https://bugs.webkit.org/show_bug.cgi?id=47875
  10746. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  10747. 2010-10-18 Adam Barth <abarth@webkit.org>
  10748. Reviewed by Eric Seidel.
  10749. Implement webkit-patch suggest-reviewers
  10750. https://bugs.webkit.org/show_bug.cgi?id=47866
  10751. * Scripts/webkitpy/common/checkout/api.py:
  10752. - The main logic. We look at the last five changes to each
  10753. modified (non-ChangeLog) file and collect up the reviewers of
  10754. those changes as well as the authors of those changes who are
  10755. reviewers.
  10756. * Scripts/webkitpy/common/checkout/api_unittest.py:
  10757. - Test the logic with some fun mocks.
  10758. * Scripts/webkitpy/common/checkout/scm.py:
  10759. - Fix a bug when you have local git commits.
  10760. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  10761. - Test that the bug is fixed.
  10762. * Scripts/webkitpy/tool/commands/queries.py:
  10763. - Add the query.
  10764. 2010-10-18 Kenneth Russell <kbr@google.com>
  10765. Reviewed by Eric Seidel.
  10766. new-run-webkit-tests produces corrupt PNG baselines on Windows
  10767. https://bugs.webkit.org/show_bug.cgi?id=47867
  10768. * Scripts/webkitpy/layout_tests/port/base.py:
  10769. 2010-10-18 Eric Seidel <eric@webkit.org>
  10770. Reviewed by Adam Barth.
  10771. Make it possible to submit patches to the EWS bots
  10772. https://bugs.webkit.org/show_bug.cgi?id=47869
  10773. * QueueStatusServer/handlers/nextpatch.py:
  10774. - Move more logic into Queue, so that it can be shared with SubmitToEWS.
  10775. * QueueStatusServer/handlers/queuestatus.py:
  10776. - Fix two typos from a previous commit.
  10777. * QueueStatusServer/handlers/submittoews.py: Added.
  10778. * QueueStatusServer/handlers/updatestatus.py:
  10779. - Use the new is_retry_request method to share this (hacky) code with SubmitToEWS
  10780. * QueueStatusServer/main.py:
  10781. - Add /submit-to-ews
  10782. * QueueStatusServer/model/queuepropertymixin.py:
  10783. - Fix circular imports caused by adding Queue.work_items()
  10784. * QueueStatusServer/model/queues.py:
  10785. - Add work_items() and active_work_items()
  10786. * QueueStatusServer/model/queuestatus.py:
  10787. * QueueStatusServer/model/workitems.py:
  10788. - Add transaction-safe add/remove methods.
  10789. * QueueStatusServer/templates/submittoews.html: Added.
  10790. 2010-10-18 Eric Seidel <eric@webkit.org>
  10791. Reviewed by Adam Barth.
  10792. Deploy Queue class in more places throughout QueueStatusServer
  10793. https://bugs.webkit.org/show_bug.cgi?id=47855
  10794. I also caught two typos from the previous change. Unfortunately
  10795. I don't yet know how to unittest request handlers yet.
  10796. * QueueStatusServer/handlers/dashboard.py:
  10797. * QueueStatusServer/handlers/statusbubble.py:
  10798. * QueueStatusServer/handlers/updateworkitems.py:
  10799. * QueueStatusServer/model/activeworkitems.py:
  10800. * QueueStatusServer/model/attachment.py:
  10801. * QueueStatusServer/model/queuepropertymixin.py: Added.
  10802. * QueueStatusServer/model/queuepropertymixin_unittest.py: Added.
  10803. * QueueStatusServer/model/queuestatus.py:
  10804. * QueueStatusServer/model/workitems.py:
  10805. 2010-10-18 Adam Barth <abarth@webkit.org>
  10806. Reviewed by Eric Seidel.
  10807. scm.py should be able tell us what revisions made changes to a given file
  10808. https://bugs.webkit.org/show_bug.cgi?id=47863
  10809. Look again, your SCM.py can now log files.
  10810. * Scripts/webkitpy/common/checkout/scm.py:
  10811. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  10812. 2010-10-18 Dirk Pranke <dpranke@chromium.org>
  10813. Reviewed by Eric Siedel.
  10814. new-run-webkit-tests: clean up the options-parsing code in the port
  10815. classes.
  10816. This change modifies the Port interface to have a get_option() and
  10817. set_option_default() method for accessing the options argument
  10818. passed to the constructor. If the constructor is not passed an
  10819. options argument, we default to a MockOptions() argument from
  10820. mocktool, which has the same semantics we want.
  10821. Note that there is a disadvantage to port.get_option('foo') over
  10822. port._options.foo, which is that you lose some of the checking
  10823. for whether 'foo' is set (typos result in the default value, not
  10824. an exception being raised. This is desired in this case, since the
  10825. Port class is not allowed to assume that options does have any
  10826. particular values set, and so this change ensures that all of
  10827. the subclasses are following the same, intended, logic.
  10828. Arguably this is the wrong semantics to have, and the Port
  10829. classes should be able to assume a default set of
  10830. attributes/arguments, but that change will need to wait for a
  10831. different CL where we can modify new-run-webkit-tests to pull a
  10832. list of arguments from the port factory routines.
  10833. Also, add unit tests for webkitpy.tool.mocktool.MockOptions .
  10834. https://bugs.webkit.org/show_bug.cgi?id=47510
  10835. * Scripts/webkitpy/layout_tests/port/base.py:
  10836. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  10837. * Scripts/webkitpy/layout_tests/port/chromium.py:
  10838. * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
  10839. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  10840. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  10841. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  10842. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  10843. * Scripts/webkitpy/layout_tests/port/dryrun.py:
  10844. * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
  10845. * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
  10846. * Scripts/webkitpy/layout_tests/port/port_testcase.py:
  10847. * Scripts/webkitpy/layout_tests/port/test.py:
  10848. * Scripts/webkitpy/layout_tests/port/webkit.py:
  10849. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
  10850. * Scripts/webkitpy/tool/mocktool_unittest.py: Added.
  10851. 2010-10-18 Dirk Pranke <dpranke@chromium.org>
  10852. Reviewed by Eric Seidel.
  10853. Re-submit a revised version of r69638 - enabling new-run-webkit-tests
  10854. under cygwin. The initial version had a bug in base:uri_to_test_name
  10855. that was causing tests to fail. This version corrects that bug, but
  10856. also makes the code safer by calling cygpath more reliably, and
  10857. leaving a long-running cygpath process open.
  10858. This patch also corrects a couple of minor bugs in http_lock_unittest,
  10859. chromium_unittest, and dedpulicate_tests_unittest that showed up
  10860. while testing this.
  10861. https://bugs.webkit.org/show_bug.cgi?id=47220
  10862. * Scripts/webkitpy/common/system/path.py:
  10863. * Scripts/webkitpy/common/system/path_unittest.py:
  10864. * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
  10865. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  10866. * Scripts/webkitpy/layout_tests/port/base.py:
  10867. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  10868. * Scripts/webkitpy/layout_tests/port/chromium.py:
  10869. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  10870. * Scripts/webkitpy/layout_tests/port/http_lock_unittest.py:
  10871. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  10872. 2010-10-18 Eric Seidel <eric@webkit.org>
  10873. Reviewed by Adam Barth.
  10874. Add Queue class and add minimal unittesting of QueueStatusServer code
  10875. https://bugs.webkit.org/show_bug.cgi?id=47847
  10876. * QueueStatusServer/handlers/dashboard.py:
  10877. * QueueStatusServer/handlers/queuestatus.py:
  10878. * QueueStatusServer/handlers/recentstatus.py:
  10879. * QueueStatusServer/handlers/statusbubble.py:
  10880. * QueueStatusServer/handlers/updateworkitems.py:
  10881. * QueueStatusServer/model/attachment.py:
  10882. * QueueStatusServer/model/queues.py:
  10883. * QueueStatusServer/model/queues_unittest.py: Added.
  10884. * QueueStatusServer/model/svnrevision.py:
  10885. * Scripts/test-webkitpy:
  10886. * Scripts/webkitpy/test/main.py:
  10887. 2010-10-18 Anders Carlsson <andersca@apple.com>
  10888. Fix build.
  10889. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  10890. (handleEventCarbon):
  10891. 2010-10-18 Stuart Morgan <stuartmorgan@chromium.org>
  10892. Reviewed by Eric Seidel.
  10893. Switch to using the new Carbon NPAPI event declarations, and remove
  10894. the old ones.
  10895. https://bugs.webkit.org/show_bug.cgi?id=40784
  10896. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  10897. (handleEventCarbon):
  10898. 2010-10-18 David Levin <levin@chromium.org>
  10899. Reviewed by Adam Barth.
  10900. check-webkit-style should treat the GObject binding directory like other GTK directories.
  10901. https://bugs.webkit.org/show_bug.cgi?id=47796
  10902. * Scripts/webkitpy/style/checker.py: Added the GObject binding directory
  10903. with the other gtk directories (and fixed typo).
  10904. 2010-10-18 David Levin <levin@chromium.org>
  10905. Reviewed by Oliver Hunt.
  10906. check-webkit-style needs to ignore underscores in opcode names and vm_throw
  10907. https://bugs.webkit.org/show_bug.cgi?id=47789
  10908. * Scripts/webkitpy/style/checker.py: Added the exception for the assembler directory.
  10909. * Scripts/webkitpy/style/checkers/cpp.py: Added special cased names.
  10910. * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added unit tests for the special cases.
  10911. 2010-10-18 MORITA Hajime <morrita@google.com>
  10912. Reviewed by Kent Tamura.
  10913. TextInputController.hasSpellingMarkers() should be owned by LayoutTestController
  10914. https://bugs.webkit.org/show_bug.cgi?id=47659
  10915. Moved hasSpellingMarkers() from TextInputController to
  10916. LayoutTestController. Currently the implementation is available
  10917. only for Mac and for Chromium.
  10918. * DumpRenderTree/LayoutTestController.cpp:
  10919. (hasSpellingMarkerCallback):
  10920. (LayoutTestController::staticFunctions):
  10921. * DumpRenderTree/LayoutTestController.h:
  10922. * DumpRenderTree/chromium/LayoutTestController.cpp:
  10923. (LayoutTestController::LayoutTestController):
  10924. (LayoutTestController::hasSpellingMarker):
  10925. * DumpRenderTree/chromium/LayoutTestController.h:
  10926. * DumpRenderTree/chromium/TextInputController.cpp:
  10927. (TextInputController::TextInputController):
  10928. (TextInputController::makeAttributedString):
  10929. * DumpRenderTree/chromium/TextInputController.h:
  10930. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  10931. (LayoutTestController::hasSpellingMarker):
  10932. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  10933. (LayoutTestController::hasSpellingMarker):
  10934. * DumpRenderTree/mac/TextInputController.m:
  10935. (+[TextInputController isSelectorExcludedFromWebScript:]):
  10936. (+[TextInputController webScriptNameForSelector:]):
  10937. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  10938. (LayoutTestController::hasSpellingMarker):
  10939. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  10940. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  10941. (LayoutTestController::hasSpellingMarker):
  10942. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  10943. (LayoutTestController::hasSpellingMarker):
  10944. 2010-10-18 Adam Barth <abarth@webkit.org>
  10945. Reviewed by David Levin.
  10946. commit-queue's flaky test notice is very Pythony
  10947. https://bugs.webkit.org/show_bug.cgi?id=47790
  10948. This patch make the list of tests delimted by \n instead of just
  10949. converting the array to a string.
  10950. * Scripts/webkitpy/tool/commands/queues.py:
  10951. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  10952. 2010-10-14 Antonio Gomes <agomes@rim.com>
  10953. Reviewed by Martin Robinson and Xan Lopez.
  10954. [Gtk]: DRT does not support frame flattening testing
  10955. https://bugs.webkit.org/show_bug.cgi?id=38650
  10956. Implement DRT's support for toggling on/off frame flattening
  10957. support.
  10958. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  10959. (resetDefaultsToConsistentValues):
  10960. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  10961. (LayoutTestController::setFrameFlatteningEnabled):
  10962. 2010-10-15 Dirk Pranke <dpranke@chromium.org>
  10963. Reviewed by Eric Siedel.
  10964. mocktool.MockOptions is inheriting from Mock, which has the side
  10965. effect of defaulting any attribute to another MockObject. So,
  10966. MockOptions().foo would always evaluate to true. This was
  10967. covering over bugs in the unit tests, and is probably the wrong
  10968. default behavior for anything attempting to mock out the options
  10969. argument returned from optparse.parse_args().
  10970. This patch changes the default behavior. The new MockOptions()
  10971. class takes an optional list of keyword parameters to set; this
  10972. patch doesn't use that feature but the fix for bug 47510 will.
  10973. Also, this patch just fills in the default values necessary to
  10974. get all of the tests to pass; I didn't stare at each test by
  10975. hand to determine the "right" values. We can either fix that in
  10976. subsequent patches or let me know if we want to do that now (and
  10977. give me some guidance on what those values might want to be).
  10978. https://bugs.webkit.org/show_bug.cgi?id=47709
  10979. * Scripts/webkitpy/tool/commands/commandtest.py:
  10980. * Scripts/webkitpy/tool/commands/download_unittest.py:
  10981. * Scripts/webkitpy/tool/commands/upload_unittest.py:
  10982. * Scripts/webkitpy/tool/mocktool.py:
  10983. * Scripts/webkitpy/tool/steps/steps_unittest.py:
  10984. * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittest.py:
  10985. 2010-10-15 Simon Fraser <simon.fraser@apple.com>
  10986. Fix the build; need to add new slot to PageUIClient callbacks.
  10987. * MiniBrowser/mac/BrowserWindowController.m:
  10988. (-[BrowserWindowController awakeFromNib]):
  10989. * WebKitTestRunner/TestController.cpp:
  10990. (WTR::createOtherPage):
  10991. (WTR::TestController::initialize):
  10992. 2010-10-15 Simon Fraser <simon.fraser@apple.com>
  10993. Add Matt Delaney to committers.py.
  10994. * Scripts/webkitpy/common/config/committers.py:
  10995. 2010-10-15 Tony Chang <tony@chromium.org>
  10996. Reviewed by Kent Tamura.
  10997. [chromium] compile TestNetscapePlugIn on Chromium mac
  10998. https://bugs.webkit.org/show_bug.cgi?id=47633
  10999. * DumpRenderTree/DumpRenderTree.gypi: files to compile
  11000. * DumpRenderTree/TestNetscapePlugIn/main.cpp: Use ifdef because gcc was complaining
  11001. (NP_GetEntryPoints):
  11002. (NPP_New):
  11003. (NPP_Destroy):
  11004. (NPP_HandleEvent):
  11005. (NPP_GetValue):
  11006. * DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders/WebKit/npapi.h: Added.
  11007. * DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders/WebKit/npfunctions.h: Added.
  11008. * DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders/WebKit/npruntime.h: Added.
  11009. 2010-10-15 Leandro Pereira <leandro@profusion.mobi>
  11010. Reviewed by Gustavo Noronha Silva.
  11011. build-webkit: Should die when make fails when build a CMake project
  11012. https://bugs.webkit.org/show_bug.cgi?id=47726
  11013. * Scripts/webkitdirs.pm: If make fails, die immediately.
  11014. 2010-10-15 Sheriff Bot <webkit.review.bot@gmail.com>
  11015. Unreviewed, rolling out r69809.
  11016. http://trac.webkit.org/changeset/69809
  11017. https://bugs.webkit.org/show_bug.cgi?id=47725
  11018. Broke chromium mac compile (Requested by japhet on #webkit).
  11019. * DumpRenderTree/DumpRenderTree.gypi:
  11020. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  11021. (NP_GetEntryPoints):
  11022. (NPP_New):
  11023. (NPP_Destroy):
  11024. (NPP_HandleEvent):
  11025. (NPP_GetValue):
  11026. * DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders/WebKit/npapi.h: Removed.
  11027. * DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders/WebKit/npfunctions.h: Removed.
  11028. * DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders/WebKit/npruntime.h: Removed.
  11029. 2010-10-15 Adam Barth <abarth@webkit.org>
  11030. Reviewed by Adam Barth.
  11031. test-webkitpy fails on Linux
  11032. https://bugs.webkit.org/show_bug.cgi?id=47713
  11033. The old code failed on Linux because the MacPort tries to read
  11034. something out of platform that doesn't make sense on Linux.
  11035. * Scripts/webkitpy/tool/mocktool.py:
  11036. 2010-10-14 Balazs Kelemen <kbalazs@webkit.org>
  11037. Reviewed by Kenneth Rohde Christiansen.
  11038. [Qt] WTR is sloooow
  11039. https://bugs.webkit.org/show_bug.cgi?id=47695
  11040. * WebKitTestRunner/qt/TestControllerQt.cpp:
  11041. Change the timer interval of RunUntilConditionLoop from
  11042. 50 milliseconds to 1 to avoid wasting time after the
  11043. test had been finished.
  11044. 2010-10-14 Eric Seidel <eric@webkit.org>
  11045. Unreviewed, just fixing an exception seen on the commit-queue.
  11046. I should have unit tested this function before.
  11047. * Scripts/webkitpy/tool/commands/queues.py:
  11048. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  11049. 2010-10-14 Eric Seidel <eric@webkit.org>
  11050. Reviewed by Adam Barth.
  11051. commit-queue should not fail patches due to flaky tests
  11052. https://bugs.webkit.org/show_bug.cgi?id=47647
  11053. This patch makes it so that the *same* flaky test has to fail
  11054. twice in a row to have a false negative from a flaky test.
  11055. If different flaky tests fail (or if a test fails and then passes
  11056. in a second run) then we will warn in the bug that we encountered
  11057. a flaky test.
  11058. This patch grew to include moving port off of steps onto tool
  11059. (which Adam wrote and then I integrated), as well as removing the
  11060. use of tool from CommitQueueTask.
  11061. * Scripts/webkitpy/common/config/ports.py:
  11062. - Added a layout_test_results_path method. This covers old-run-webkit-tests
  11063. but doesn't cover NRWT. This is probably not the long term solution, but
  11064. putting this knowledge on port makes more sense than in LayoutTestResults.
  11065. * Scripts/webkitpy/common/net/buildbot.py:
  11066. - LayoutTestResults shouldn't know how to fetch from the network, make
  11067. the Build code do that instead.
  11068. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  11069. - Code style fix.
  11070. * Scripts/webkitpy/common/net/layouttestresults.py:
  11071. - Remove code for reading from the network.
  11072. * Scripts/webkitpy/common/net/layouttestresults_unittest.py:
  11073. - Test the new entrypoint.
  11074. * Scripts/webkitpy/tool/bot/commitqueuetask.py:
  11075. - Make the delegate interface explicit.
  11076. - Remove the _tool member, since using the delegate for
  11077. everything is cleaner.
  11078. - Teach the testing logic how to deal with flaky tests.
  11079. * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
  11080. - Update to match the CommitQueueTask changes.
  11081. * Scripts/webkitpy/tool/commands/queues.py:
  11082. - Use the new CommitQueueTaskDelegate interface.
  11083. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  11084. - Fix the SecondThoughtsCommitQueue test which was broken.
  11085. - Add a new test to make sure the flaky test reporting works.
  11086. * Scripts/webkitpy/tool/main.py:
  11087. - Store the port on the tool object.
  11088. * Scripts/webkitpy/tool/mocktool.py:
  11089. - Add a port() accessor to MockTool
  11090. * Scripts/webkitpy/tool/steps/abstractstep.py:
  11091. - Move port() off of Step and onto Tool.
  11092. * Scripts/webkitpy/tool/steps/build.py:
  11093. * Scripts/webkitpy/tool/steps/preparechangelog.py:
  11094. * Scripts/webkitpy/tool/steps/runtests.py:
  11095. * Scripts/webkitpy/tool/steps/steps_unittest.py:
  11096. - Two tests with the same name! only the latter was being run.
  11097. * Scripts/webkitpy/tool/steps/update.py:
  11098. 2010-10-14 Dirk Pranke <dpranke@chromium.org>
  11099. Reviewed by Eric Seidel.
  11100. new-run-webkit-tests will now handle missing Ruby installs (or
  11101. missing PrettyPatch scripts) more cleanly - previously this
  11102. would be detected when we actually tried to create the diff, and
  11103. the error message was obscure. Now we'll log a warning up front
  11104. and otherwise be silent.
  11105. This change also refactors some global variables to be class or
  11106. instance variables to be slightly more testable and more
  11107. modular. There are no cases where we create lots of port objects
  11108. and can't afford to test for configurations repeatedly, so
  11109. there's no performance concern here.
  11110. https://bugs.webkit.org/show_bug.cgi?id=47466
  11111. * Scripts/webkitpy/layout_tests/port/base.py:
  11112. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  11113. * Scripts/webkitpy/layout_tests/port/chromium.py:
  11114. 2010-10-08 Martin Robinson <mrobinson@igalia.com>
  11115. Reviewed by Xan Lopez.
  11116. [GTK] Form controls do not respect GTK+ font size
  11117. https://bugs.webkit.org/show_bug.cgi?id=47134
  11118. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  11119. (initializeGtkFontSettings): Initialize the font control size when running
  11120. DumpRenderTree to a standard value.
  11121. 2010-10-14 Tony Chang <tony@chromium.org>
  11122. Reviewed by Kent Tamura.
  11123. [chromium] compile TestNetscapePlugIn on Chromium mac
  11124. https://bugs.webkit.org/show_bug.cgi?id=47633
  11125. * DumpRenderTree/DumpRenderTree.gypi: files to compile
  11126. * DumpRenderTree/TestNetscapePlugIn/main.cpp: Use ifdef because gcc was complaining
  11127. (NP_GetEntryPoints):
  11128. (NPP_New):
  11129. (NPP_Destroy):
  11130. (NPP_HandleEvent):
  11131. (NPP_GetValue):
  11132. * DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders/WebKit/npapi.h: Added.
  11133. * DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders/WebKit/npfunctions.h: Added.
  11134. * DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders/WebKit/npruntime.h: Added.
  11135. 2010-10-14 Victor Wang <victorw@chromium.org>
  11136. Reviewed by Nate Chapin.
  11137. [Chromium] Fix rebaseline_chromium_webkit_tests to use 0 tolerance image diff.
  11138. https://bugs.webkit.org/show_bug.cgi?id=47686
  11139. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  11140. 2010-10-14 Eric Seidel <eric@webkit.org>
  11141. Reviewed by Adam Barth.
  11142. test-webkitpy spews Delegate terminated queue messages
  11143. https://bugs.webkit.org/show_bug.cgi?id=47678
  11144. * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
  11145. 2010-10-14 Adam Roben <aroben@apple.com>
  11146. Test that pressing the Alt key generates a WM_SYSCOMMAND message
  11147. Test for <http://webkit.org/b/47671> <rdar://problem/8435594> Pressing
  11148. the Alt key when MiniBrowser's WKView is focused doesn't send focus to
  11149. the menu bar
  11150. Reviewed by Steve Falkenburg.
  11151. * TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops: Added
  11152. TestWebKitAPI/win to the include path so that WindowMessageObserver
  11153. can be found.
  11154. * TestWebKitAPI/PlatformWebView.h: Added simulateAltKeyPress and
  11155. Windows-specific members.
  11156. (TestWebKitAPI::PlatformWebView::setParentWindowMessageObserver):
  11157. Added this simple setter.
  11158. * TestWebKitAPI/Tests/WebKit2/win/AltKeyGeneratesWMSysCommand.cpp: Added.
  11159. (TestWebKitAPI::WMSysCommandObserver::WMSysCommandObserver):
  11160. Initialize our lone data member.
  11161. (TestWebKitAPI::WMSysCommandObserver::windowDidReceiveWMSysCommand):
  11162. Simple getter.
  11163. (TestWebKitAPI::WMSysCommandObserver::windowReceivedMessage): Record
  11164. when a WM_SYSCOMMAND message is received.
  11165. (TestWebKitAPI::didNotHandleKeyEventCallback): Record when a
  11166. WM_SYSKEYUP message is not handled.
  11167. (TestWebKitAPI::WebKit2_AltKeyGeneratesWMSysCommand): Simulate
  11168. pressing the Alt key and check that a WM_SYSCOMMAND message got sent
  11169. to the WKView's parent window.
  11170. * TestWebKitAPI/win/PlatformWebViewWin.cpp:
  11171. (TestWebKitAPI::PlatformWebView::registerWindowClass): Made this a
  11172. member function so it could access PlatformWebView::wndProc. Use
  11173. PlatformWebView::wndProc as the WNDPROC.
  11174. (TestWebKitAPI::PlatformWebView::PlatformWebView): Initialize our new
  11175. data member and pass the this pointer to CreateWindowEx so we can
  11176. store it on the HWND.
  11177. (TestWebKitAPI::PlatformWebView::simulateSpacebarKeyPress): Moved some
  11178. constants from here to the top of the file.
  11179. (TestWebKitAPI::PlatformWebView::simulateAltKeyPress): Added. Sends
  11180. the same messages that Notepad receives when you press the Alt key.
  11181. (TestWebKitAPI::PlatformWebView::wndProc): Added.
  11182. - When WM_CREATE is received, we set the PlatformWebView instance
  11183. pointer as a property on the HWND so we can access it later.
  11184. - For other messages, we try to get the PlatformWebView instance
  11185. pointer from the HWND property.
  11186. - When WM_NCDESTROY is received (which is the last message we will
  11187. receive), we remove the PlatformWebView instance property.
  11188. - Pass messages to the parent window's message observer, if there is
  11189. one.
  11190. - Pass all messages through to ::DefWindowProcW.
  11191. * TestWebKitAPI/win/TestWebKitAPI.vcproj: Added WindowMessageObserver
  11192. and AltKeyGeneratesWMSysCommand.
  11193. * TestWebKitAPI/win/WindowMessageObserver.h: Added. This class can be
  11194. used to observe messages sent to one or more windows.
  11195. 2010-10-01 Martin Robinson <mrobinson@igalia.com>
  11196. Reviewed by Holger Freyther.
  11197. [GTK] REGRESSION: FreeType backend does not respect XSettings font settings after r68558
  11198. https://bugs.webkit.org/show_bug.cgi?id=47033
  11199. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  11200. (initializeGtkFontSettings): Added this method which initializes XSettings
  11201. font settings to consistent values before running a test. For the one test
  11202. in which we need subpixel aliasing turned on, do that.
  11203. (initializeFonts): Accepts a testURL parameter now and delegates to initializeGtkFontSettings.
  11204. (runTest): Pass the testURL to initializeFonts.
  11205. 2010-10-14 Adam Barth <abarth@webkit.org>
  11206. Reviewed by Eric Seidel.
  11207. ChromiumXVFBPort.run_webkit_tests_command has infinite recursion
  11208. https://bugs.webkit.org/show_bug.cgi?id=47655
  11209. * Scripts/webkitpy/common/config/ports.py:
  11210. * Scripts/webkitpy/common/config/ports_unittest.py:
  11211. 2010-10-13 Eric Seidel <eric@webkit.org>
  11212. Reviewed by Adam Barth.
  11213. beat diff_parser with the ugly stick
  11214. https://bugs.webkit.org/show_bug.cgi?id=47626
  11215. * Scripts/webkitpy/common/checkout/diff_parser.py:
  11216. * Scripts/webkitpy/style/patchreader.py:
  11217. * Scripts/webkitpy/style/patchreader_unittest.py:
  11218. 2010-10-13 Eric Seidel <eric@webkit.org>
  11219. Reviewed by Adam Barth.
  11220. Break LayoutTestResults out into its own file
  11221. https://bugs.webkit.org/show_bug.cgi?id=47637
  11222. * Scripts/webkitpy/common/net/buildbot.py:
  11223. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  11224. * Scripts/webkitpy/common/net/layouttestresults.py: Added.
  11225. * Scripts/webkitpy/common/net/layouttestresults_unittest.py: Added.
  11226. 2010-10-13 Adam Barth <abarth@webkit.org>
  11227. Unreviewed.
  11228. Chromium port can't run JavaScriptCore tests
  11229. https://bugs.webkit.org/show_bug.cgi?id=47654
  11230. This lets webkit-patch build-and-test work on Chromium.
  11231. * Scripts/webkitpy/common/config/ports.py:
  11232. * Scripts/webkitpy/tool/steps/runtests.py:
  11233. 2010-10-13 Adam Barth <abarth@webkit.org>
  11234. Reviewed by Eric Seidel.
  11235. Make --port a global option and pass the port information to the commit-queue subprocess
  11236. https://bugs.webkit.org/show_bug.cgi?id=47650
  11237. This patch paves the way to run the commit-queue on a non-Mac port.
  11238. * Scripts/webkitpy/tool/commands/queues.py:
  11239. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  11240. * Scripts/webkitpy/tool/commands/queuestest.py:
  11241. * Scripts/webkitpy/tool/main.py:
  11242. * Scripts/webkitpy/tool/steps/options.py:
  11243. * Scripts/webkitpy/tool/steps/preparechangelog.py:
  11244. * Scripts/webkitpy/tool/steps/runtests.py:
  11245. * Scripts/webkitpy/tool/steps/update.py:
  11246. 2010-10-13 Adam Barth <abarth@webkit.org>
  11247. Reviewed by Eric Seidel.
  11248. Introduce the ChromiumXVFBPort for running commit-queue on EC2
  11249. https://bugs.webkit.org/show_bug.cgi?id=47653
  11250. I'm not entirely sure this is the best way to do this, but we need to
  11251. run the tests under XVFB on EC2 because the EC2 instances don't have a
  11252. real monitor hooked up. This patch adds a ChromiumXVFBPort that runs
  11253. that way. The idea is that XVFB is like a platform for the Chromium
  11254. port, but we don't have a real notion of platform separate from port.
  11255. * Scripts/webkitpy/common/config/ports.py:
  11256. 2010-10-13 Sergio Villar Senin <svillar@igalia.com>
  11257. Reviewed by Martin Robinson.
  11258. [GTK] Add HTTP caching support
  11259. https://bugs.webkit.org/show_bug.cgi?id=44261
  11260. Add include paths for the new soup HTTP cache code.
  11261. * GNUmakefile.am: Add paths for the new soup HTTP cache code.
  11262. 2010-10-13 Yi Shen <yi.4.shen@nokia.com>
  11263. Reviewed by Antonio Gomes.
  11264. [Qt] QtTestBrowser shows two Url input fields
  11265. https://bugs.webkit.org/show_bug.cgi?id=47613
  11266. * QtTestBrowser/mainwindow.cpp:
  11267. (MainWindow::MainWindow):
  11268. (MainWindow::buildUI):
  11269. 2010-10-13 Yi Shen <yi.4.shen@nokia.com>
  11270. Reviewed by Tony Chang.
  11271. [gdb] Add pretty-print supports for UString, Identifier and JSString
  11272. https://bugs.webkit.org/show_bug.cgi?id=47601
  11273. * gdb/webkit.py:
  11274. 2010-10-13 Adam Barth <abarth@webkit.org>
  11275. Reviewed by Eric Seidel.
  11276. Add list of Ubuntu packages needed by the EWS bots
  11277. https://bugs.webkit.org/show_bug.cgi?id=47628
  11278. I've been copy/pasting this list between bots, but it's better to have
  11279. this checked in.
  11280. * EWSTools/ubuntu-ews-packages: Added.
  11281. 2010-10-13 Leandro Pereira <leandro@profusion.mobi>
  11282. Reviewed by Csaba Osztrogonác.
  11283. [EFL] Adds a build slave.
  11284. https://bugs.webkit.org/show_bug.cgi?id=47290
  11285. * BuildSlaveSupport/build.webkit.org-config/config.json: Add an
  11286. entry for a release build of the EFL port.
  11287. * BuildSlaveSupport/build.webkit.org-config/master.cfg: Add platform
  11288. flag to build the EFL port.
  11289. 2010-10-13 Adam Barth <abarth@webkit.org>
  11290. Reviewed by Csaba Osztrogonác.
  11291. webkit-patch build shouldn't need --build to actually build!
  11292. https://bugs.webkit.org/show_bug.cgi?id=47438
  11293. Yeah, requiring --build for the build command is really dumb. We did
  11294. this originally because the build step is usually optional in other
  11295. commands. We don't have a good way of reversing the default for an
  11296. option in one command. This approach is slightly hacky since --build
  11297. still shows up as an option on the help page, but at least it makes
  11298. progress. Passing --build is harmless, so the EWS bots shouldn't
  11299. explode because of this change.
  11300. * Scripts/webkitpy/tool/bot/commitqueuetask.py:
  11301. * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
  11302. * Scripts/webkitpy/tool/commands/download.py:
  11303. * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  11304. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  11305. 2010-10-13 Sheriff Bot <webkit.review.bot@gmail.com>
  11306. Unreviewed, rolling out r69638.
  11307. http://trac.webkit.org/changeset/69638
  11308. https://bugs.webkit.org/show_bug.cgi?id=47595
  11309. "Broke win and chromium-win bots" (Requested by dglazkov on
  11310. #webkit).
  11311. * Scripts/webkitpy/common/system/path.py:
  11312. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  11313. * Scripts/webkitpy/layout_tests/port/base.py:
  11314. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  11315. * Scripts/webkitpy/layout_tests/port/chromium.py:
  11316. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  11317. 2010-10-13 John Knottenbelt <jknotten@chromium.org>
  11318. Reviewed by Steve Block.
  11319. First step towards client-based Geolocation in Chromium. Build
  11320. fixes for CLIENT_BASED_GEOLOCATION preprocessor feature define.
  11321. https://bugs.webkit.org/show_bug.cgi?id=47586
  11322. * DumpRenderTree/chromium/WebViewHost.cpp:
  11323. * DumpRenderTree/chromium/WebViewHost.h:
  11324. 2010-10-13 Adam Roben <aroben@apple.com>
  11325. Test that pressing the spacebar in a text field does not scroll the
  11326. document
  11327. Test for <http://webkit.org/b/47544> <rdar://problem/8540645>
  11328. REGRESSION: Pressing spacebar in a text field in WebKit2 does not
  11329. insert a space, scrolls the page instead
  11330. Reviewed by Sam Weinig.
  11331. * TestWebKitAPI/PlatformUtilities.h: Added isKeyDown.
  11332. * TestWebKitAPI/PlatformWebView.h: Added simulateSpacebarKeyPress.
  11333. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  11334. * TestWebKitAPI/win/TestWebKitAPI.vcproj:
  11335. * TestWebKitAPI/win/copy-resources.cmd:
  11336. Added new files.
  11337. * TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp: Added.
  11338. (TestWebKitAPI::JavaScriptCallbackContext::JavaScriptCallbackContext):
  11339. We use this to track what the result of calling into JavaScript was.
  11340. (TestWebKitAPI::didFinishLoadForFrame): Records when the page
  11341. finishes loading.
  11342. (TestWebKitAPI::didNotHandleKeyEventCallback): Records when a key down
  11343. event is not handled.
  11344. (TestWebKitAPI::javaScriptCallback): Records that JavaScript finished
  11345. executing and whether the result matched our expectation.
  11346. (TestWebKitAPI::wk): Turns a UTF-8 C string into a WKStringRef.
  11347. (TestWebKitAPI::runJSTest): Calls into JS, waits for the call to
  11348. complete, and returns whether we got back the expected result.
  11349. (TestWebKitAPI::WebKit2_SpacebarScrolling): Tests that pressing
  11350. spacebar inside a text field does not scroll the document and that
  11351. pressing it outside the text field does scroll the document.
  11352. * TestWebKitAPI/Tests/WebKit2/spacebar-scrolling.html: Added.
  11353. * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
  11354. (TestWebKitAPI::Util::isKeyDown): Checks the event's type.
  11355. * TestWebKitAPI/mac/PlatformWebViewMac.mm:
  11356. (TestWebKitAPI::PlatformWebView::simulateSpacebarKeyPress): Copied
  11357. code from DRT's EventSendingController.
  11358. * TestWebKitAPI/win/PlatformUtilitiesWin.cpp:
  11359. (TestWebKitAPI::Util::isKeyDown): Checks the message's type.
  11360. * TestWebKitAPI/win/PlatformWebViewWin.cpp:
  11361. (TestWebKitAPI::PlatformWebView::simulateSpacebarKeyPress): Send the
  11362. same messages that get sent when you press spacebar in Notepad.
  11363. 2010-10-13 Adam Roben <aroben@apple.com>
  11364. Fix a couple of issues with the TestWebKitAPI build
  11365. * TestWebKitAPI/Configurations/TestWebKitAPICFLite.vsprops:
  11366. * TestWebKitAPI/Configurations/TestWebKitAPICoreFoundation.vsprops:
  11367. Fixed a typo.
  11368. * TestWebKitAPI/win/TestWebKitAPIGenerated.vcproj: Use common.vsprops
  11369. to set our output and intermediate directories so that we don't spew
  11370. files into the source tree.
  11371. 2010-10-13 Balazs Kelemen <kbalazs@webkit.org>
  11372. Reviewed by Csaba Osztrogonác.
  11373. WTR should accept relative paths
  11374. https://bugs.webkit.org/show_bug.cgi?id=47486
  11375. * WebKitTestRunner/StringFunctions.h:
  11376. * WebKitTestRunner/TestInvocation.cpp:
  11377. (WTR::createWKURL): Moved from StringFunctions.h since it is
  11378. used only here. Extend relative paths to absolute.
  11379. 2010-10-12 Adam Roben <aroben@apple.com>
  11380. Make TestWebKitAPI work on Windows
  11381. Fixes <http://webkit.org/b/47552> <rdar://problem/8541708>.
  11382. Reviewed by Sam Weinig.
  11383. * Scripts/build-api-tests: Build TestWebKitAPI.sln on Windows.
  11384. * Scripts/run-api-tests: Fix the PATH so that TestWebKitAPI can be
  11385. run on Windows.
  11386. (runTest): Added code to run TestWebKitAPI.exe on Windows and to die
  11387. on unsupported platforms.
  11388. (populateTests): Added code to run TestWebKitAPI.exe on Windows and to
  11389. die on other platforms. Extracted some formerly-Mac-specific code to
  11390. be cross-platform and made it handle any style of line-endings.
  11391. * TestWebKitAPI/Configurations/TestWebKitAPICFLite.vsprops: Added.
  11392. Links against CFLite.
  11393. * TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops: Added.
  11394. Contains most properties for the project.
  11395. * TestWebKitAPI/Configurations/TestWebKitAPICoreFoundation.vsprops:
  11396. Added. Links against CoreFoundation.
  11397. * TestWebKitAPI/TestWebKitAPIPrefix.h: Added a Windows-specific
  11398. section and moved the cross-platform section after the
  11399. platform-specific parts.
  11400. * TestWebKitAPI/win/PlatformUtilitiesWin.cpp: Added.
  11401. (TestWebKitAPI::Util::run): Runs a normal message pump until we're
  11402. done.
  11403. (TestWebKitAPI::Util::cf): Turns a UTF-8 C string into a CFString.
  11404. (TestWebKitAPI::Util::createURLForResource): Uses CFBundle to get the
  11405. resource path.
  11406. (TestWebKitAPI::Util::URLForNonExistentResource): Creates a bogus
  11407. WKURL.
  11408. * TestWebKitAPI/win/PlatformWebViewWin.cpp: Added.
  11409. (TestWebKitAPI::registerWindowClass):
  11410. (TestWebKitAPI::PlatformWebView::PlatformWebView):
  11411. (TestWebKitAPI::PlatformWebView::~PlatformWebView):
  11412. (TestWebKitAPI::PlatformWebView::page):
  11413. This was mostly copied from WebKitTestRunner's PlatformWebView.
  11414. * TestWebKitAPI/win/TestWebKitAPI.sln: Added. Builds both
  11415. TestWebKitAPI and TestWebKitAPIGeneratd. This is used by the
  11416. build-api-tests script.
  11417. * TestWebKitAPI/win/TestWebKitAPI.vcproj: Added. Builds
  11418. TestWebKitAPI.exe.
  11419. * TestWebKitAPI/win/TestWebKitAPIGenerated.vcproj: Added. Just calls
  11420. through to copy-resources.cmd.
  11421. * TestWebKitAPI/win/copy-resources.cmd: Added. Copies resources into
  11422. or deletes resources from TestWebKitAPI.resources.
  11423. * TestWebKitAPI/win/main.cpp: Added.
  11424. (main): Calls through to TestsController.
  11425. 2010-10-13 Gyuyoung Kim <gyuyoung.kim@samsung.com>
  11426. Reviewed by Kenneth Rohde Christiansen.
  11427. [EFL] Support viewport configuration and add new arguments for WebKit EFL
  11428. https://bugs.webkit.org/show_bug.cgi?id=47084
  11429. Opera spec regarding to viewport meta tag was adjusted to WebCore. So, EFL port
  11430. needs to be modified according to the changes.
  11431. * EWebLauncher/main.c:
  11432. (on_viewport_changed):
  11433. 2010-10-12 Dirk Pranke <dpranke@chromium.org>
  11434. Reviewed by Eric Seidel.
  11435. This patch enables new-run-webkit-tests (in particular the
  11436. chromium-win port) to run under Cygwin as well as Win32. Mostly
  11437. this just required some conversions from cygwin paths to Win32
  11438. paths when we spawn off Win32 binaries like test_shell.
  11439. https://bugs.webkit.org/show_bug.cgi?id=47220
  11440. * Scripts/webkitpy/common/system/path.py:
  11441. - Expose the cygpath() function for path conversion
  11442. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  11443. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  11444. - shift filename->uri conversion in the TestInfo objects to the
  11445. dump_render_tree thread
  11446. * Scripts/webkitpy/layout_tests/port/base.py:
  11447. * Scripts/webkitpy/layout_tests/port/chromium.py:
  11448. - use cygpath()
  11449. 2010-10-12 Yuta Kitamura <yutak@chromium.org>
  11450. Unreviewed. Add Yuta Kitamura (yutak) to the committers list.
  11451. * Scripts/webkitpy/common/config/committers.py:
  11452. 2010-10-12 Sam Weinig <sam@webkit.org>
  11453. Reviewed by Dan Bernstein.
  11454. When a provisional load fails, the provisional URL returned
  11455. from WKFrameCopyProvisionalURL should be empty
  11456. <rdar://problem/8540878>
  11457. https://bugs.webkit.org/show_bug.cgi?id=47546
  11458. Add test.
  11459. * TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp:
  11460. (TestWebKitAPI::didFailProvisionalLoadWithErrorForFrame):
  11461. 2010-10-12 Anders Carlsson <andersca@apple.com>
  11462. Reviewed by Sam Weinig.
  11463. Start fleshing out find page overlays
  11464. https://bugs.webkit.org/show_bug.cgi?id=47559
  11465. * MiniBrowser/mac/BrowserWindowController.m:
  11466. (-[BrowserWindowController find:]):
  11467. Pass kWKFindOptionsShowOverlay to WKPageFindString.
  11468. 2010-10-12 Robert Hogan <robert@webkit.org>
  11469. Reviewed by Antonio Gomes.
  11470. [Qt] editing/input/emacs-ctrl-o.html
  11471. ctrl-o is bound to a sequence of commands on Mac, namely:
  11472. insertParagraphSeparator then moveLeft. In the DRT, we just interpret
  11473. ctrl-o in EventSenderQt as '\n', i.e. insertParagraphSeparator. As a
  11474. result we only issue one command, so don't generate the change in caret
  11475. position that results in the extra editing delegate messages.
  11476. So for the sake of not managing suspicious-looking differences, just
  11477. make DRT issue the appropriate edit commands to pass the test.
  11478. https://bugs.webkit.org/show_bug.cgi?id=47548
  11479. * DumpRenderTree/qt/EventSenderQt.cpp:
  11480. (EventSender::keyDown):
  11481. 2010-10-12 Anders Carlsson <andersca@apple.com>
  11482. Reviewed by Sam Weinig.
  11483. Add a simple Find UI to MiniBrowser
  11484. https://bugs.webkit.org/show_bug.cgi?id=47553
  11485. * MiniBrowser/mac/BrowserWindow.xib:
  11486. Add Find panel.
  11487. * MiniBrowser/mac/BrowserWindowController.h:
  11488. * MiniBrowser/mac/BrowserWindowController.m:
  11489. (-[BrowserWindowController performFindPanelAction:]):
  11490. Show the find panel.
  11491. (-[BrowserWindowController find:]):
  11492. Tell the WKPageRef to find the given string.
  11493. 2010-10-12 Tony Chang <tony@chromium.org>
  11494. Unreviewed, fixing DRT compile on Windows after r69586.
  11495. * DumpRenderTree/chromium/WebThemeEngineDRT.h:
  11496. 2010-10-12 Tony Chang <tony@chromium.org>
  11497. Unreviewed, trying to fix NRWT on Windows.
  11498. * Scripts/webkitpy/layout_tests/port/http_lock.py:
  11499. 2010-10-12 Balazs Kelemen <kbalazs@webkit.org>
  11500. Reviewed by Kenneth Rohde Christiansen.
  11501. [Qt][WTR] Checking the path of the injected bundle is bogus
  11502. https://bugs.webkit.org/show_bug.cgi?id=47541
  11503. * WebKitTestRunner/qt/TestControllerQt.cpp:
  11504. (WTR::isExistingLibrary): Added (static helper).
  11505. Extend the path with the appropriate suffix(es) on the
  11506. platform and check that the file exists.
  11507. (WTR::TestController::initializeInjectedBundlePath):
  11508. There were two bugs with the path checking:
  11509. - the condition should have been inverted
  11510. - QLibrary::fileName does not give back the filename
  11511. with the library suffix so we cannot check
  11512. that existance of the file this way.
  11513. 2010-10-12 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  11514. Reviewed by Tony Chang.
  11515. Implement http locking in NRWT.
  11516. https://bugs.webkit.org/show_bug.cgi?id=47072
  11517. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  11518. * Scripts/webkitpy/layout_tests/port/base.py:
  11519. * Scripts/webkitpy/layout_tests/port/http_lock.py: Added.
  11520. * Scripts/webkitpy/layout_tests/port/http_lock_unittest.py: Added.
  11521. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  11522. 2010-10-12 Mark Rowe <mrowe@apple.com>
  11523. Fix the 32-bit WebKit2 build.
  11524. * MiniBrowser/mac/BrowserWindowController.m:
  11525. (getWindowFrame): Use NSRect rather than CGRect since that's what -frame returns.
  11526. (setWindowFrame): Use NSMakeRect rather than CGRectMake since that's what -setFrame:display: expects.
  11527. 2010-10-11 Tony Chang <tony@chromium.org>
  11528. Reviewed by Adam Barth.
  11529. change the order of mrobinson's email addresses so bugs.webkit.org suggests the right one
  11530. https://bugs.webkit.org/show_bug.cgi?id=47513
  11531. bugs.webkit.org suggests mrobinson@igalia.com as an autocomplete,
  11532. which doesn't actually work.
  11533. * Scripts/webkitpy/common/config/committers.py:
  11534. 2010-10-11 Prasad Tammana <prasadt@chromium.org>
  11535. Reviewed by Dmitry Titov.
  11536. Added support for showModalDialog on chromium port.
  11537. Implement showModalDialog for Layout tests for chromium port
  11538. https://bugs.webkit.org/show_bug.cgi?id=46759
  11539. * DumpRenderTree/chromium/WebViewHost.cpp:
  11540. (WebViewHost::closeWidgetSoon): Quit current message loop if in a modal loop.
  11541. (WebViewHost::runModal): Start a nested message loop and remember that.
  11542. (WebViewHost::WebViewHost): Initialize m_inModalLoop.
  11543. * DumpRenderTree/chromium/WebViewHost.h: Add m_inModalLoop.
  11544. 2010-10-11 Martin Robinson <mrobinson@igalia.com>
  11545. Reviewed by Gustavo Noronha Silva.
  11546. [GTK] Cleanup font selection code for the Freetype backend
  11547. https://bugs.webkit.org/show_bug.cgi?id=47503
  11548. Update DRT to set values for the cursive and fantasy font families, so
  11549. that we can generate consistent results for tests that use these families.
  11550. Add some missing information to fonts.conf.
  11551. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  11552. (resetDefaultsToConsistentValues): Always set the fantasy and cursive font
  11553. family names.
  11554. * DumpRenderTree/gtk/fonts/fonts.conf: Add aliases for cursive and fantasy fonts
  11555. to our default serif font. Eventually we may want to import or require some "real"
  11556. fonts, but this should at least ensure consistent rendering during test runs. Also
  11557. add aliases for some other commonly used fonts in tests (Arial and Lucida Grande).
  11558. Finally, add a missing oblique specification for DejaVu Serif, which was resulting
  11559. in some incorrect baselines for the synthetic oblique test.
  11560. 2010-10-11 Adam Barth <abarth@webkit.org>
  11561. Unreviewed.
  11562. Fix sheriffbot not to crash when there are failing tests. It turns out
  11563. Python sets don't support the + operator. We need to use union
  11564. instead. There's a more elegant way to do this in Python 2.6, but we
  11565. need this code to work in 2.5.
  11566. * Scripts/webkitpy/common/net/failuremap.py:
  11567. * Scripts/webkitpy/common/net/failuremap_unittest.py:
  11568. 2010-10-10 Robert Hogan <robert@webkit.org>
  11569. Unreviewed, fix failing test from r69468.
  11570. [Qt] Put all DRT-created pages in a page group
  11571. Fix on r69468.
  11572. Because we don't delete closed pages immediately in DRT we need
  11573. to remove them from the page group explicitly instead.
  11574. Fixes failure of fast/events/popup-blocked-from-fake-user-gesture.html
  11575. https://bugs.webkit.org/show_bug.cgi?id=47469
  11576. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  11577. (WebCore::DumpRenderTree::windowCloseRequested):
  11578. 2010-10-10 Leandro Pereira <leandro@profusion.mobi>
  11579. Reviewed by Adam Barth.
  11580. commit-queue: Add EFL-EWS status bubble to Bugzilla, now that the
  11581. EFL-EWS bot is up and running.
  11582. https://bugs.webkit.org/show_bug.cgi?id=47277
  11583. * QueueStatusServer/handlers/statusbubble.py:
  11584. 2010-10-10 Robert Hogan <robert@webkit.org>
  11585. Reviewed by Antonio Gomes.
  11586. [Qt] Put all DRT-created pages in a page group
  11587. https://bugs.webkit.org/show_bug.cgi?id=47469
  11588. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  11589. (WebCore::DumpRenderTree::DumpRenderTree):
  11590. (WebCore::DumpRenderTree::createWindow):
  11591. 2010-10-09 Sam Weinig <sam@webkit.org>
  11592. Reviewed by Dan Bernstein.
  11593. WKFrameGetFrameLoadState() returns kWKFrameLoadStateCommitted after the load has been stopped
  11594. <rdar://problem/8173667>
  11595. https://bugs.webkit.org/show_bug.cgi?id=47461
  11596. * TestWebKitAPI/PlatformUtilities.h:
  11597. * TestWebKitAPI/Test.h:
  11598. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  11599. * TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp: Added.
  11600. (TestWebKitAPI::didFailProvisionalLoadWithErrorForFrame):
  11601. (TestWebKitAPI::TEST):
  11602. * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
  11603. (TestWebKitAPI::Util::URLForNonExistentResource):
  11604. Adds a test for the frame load state after a failed provisional load. I wanted to test
  11605. the frame load state after a committed load failed, but I don't believe that is possible
  11606. to do without hooking up the http server to serve a long loading page.
  11607. 2010-10-09 Sam Weinig <sam@webkit.org>
  11608. Reviewed by Dan Bernstein.
  11609. Add WebKit2 version of runBeforeUnloadConfirmPanelWithMessage
  11610. <rdar://problem/8447690>
  11611. https://bugs.webkit.org/show_bug.cgi?id=47459
  11612. * MiniBrowser/mac/BrowserWindowController.m:
  11613. (runBeforeUnloadConfirmPanel):
  11614. (-[BrowserWindowController awakeFromNib]):
  11615. * WebKitTestRunner/TestController.cpp:
  11616. (WTR::createOtherPage):
  11617. (WTR::TestController::initialize):
  11618. 2010-10-09 Sam Weinig <sam@webkit.org>
  11619. Reviewed by Dan Bernstein.
  11620. Need implementation of ChromeClient windowRect related functions.
  11621. <rdar://problem/8469476>
  11622. https://bugs.webkit.org/show_bug.cgi?id=47386
  11623. * MiniBrowser/mac/BrowserWindowController.m:
  11624. (getWindowFrame):
  11625. (setWindowFrame):
  11626. (-[BrowserWindowController awakeFromNib]):
  11627. * WebKitTestRunner/PlatformWebView.h:
  11628. * WebKitTestRunner/TestController.cpp:
  11629. (WTR::TestController::initialize):
  11630. * WebKitTestRunner/mac/PlatformWebViewMac.mm:
  11631. (WTR::PlatformWebView::windowFrame):
  11632. (WTR::PlatformWebView::setWindowFrame):
  11633. * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
  11634. (WTR::PlatformWebView::windowFrame):
  11635. (WTR::PlatformWebView::setWindowFrame):
  11636. * WebKitTestRunner/win/PlatformWebViewWin.cpp:
  11637. (WTR::PlatformWebView::windowFrame):
  11638. (WTR::PlatformWebView::setWindowFrame):
  11639. 2010-10-08 Adam Barth <abarth@webkit.org>
  11640. Unreviewed (Eric is on vacation in this change is trivial).
  11641. Add a "clean" command to webkit-patch to clean the working directory
  11642. https://bugs.webkit.org/show_bug.cgi?id=47436
  11643. This command is useful when using SVN because "svn revert" leaves
  11644. unversioned files behind.
  11645. * Scripts/webkitpy/tool/commands/download.py:
  11646. 2010-10-08 Andras Becsi <abecsi@webkit.org>
  11647. Unreviewed build fix.
  11648. [Qt] Add missing limits.h include since the Qt version currently
  11649. ran on the bot does need that.
  11650. * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
  11651. 2010-10-08 Balazs Kelemen <kbalazs@webkit.org>
  11652. Reviewed by Csaba Osztrogonác.
  11653. [Qt] Turn on building WTR
  11654. https://bugs.webkit.org/show_bug.cgi?id=47349
  11655. * Scripts/webkitdirs.pm:
  11656. 2010-10-08 Balazs Kelemen <kbalazs@webkit.org>
  11657. Reviewed by Andreas Kling.
  11658. [Qt] TestController needs its platform dependent methods
  11659. https://bugs.webkit.org/show_bug.cgi?id=47413
  11660. * WebKitTestRunner/qt/TestControllerQt.cpp:
  11661. (WTR::TestController::initializeInjectedBundlePath):
  11662. If the WTR_INJECTEDBUNDLE_PATH environmental variable is
  11663. set then use that otherwise use the path where the bundle
  11664. lives in a normal trunk build.
  11665. (WTR::TestController::initializeTestPluginDirectory):
  11666. Set the bundle's value. It is not used currently.
  11667. (WTR::TestController::platformInitializeContext):
  11668. * WebKitTestRunner/qt/WebKitTestRunner.pro:
  11669. 2010-10-08 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  11670. Reviewed by Kenneth Rohde Christiansen.
  11671. WTR: Prevent sending the Done message twice on test timeout.
  11672. https://bugs.webkit.org/show_bug.cgi?id=47410
  11673. When InjectedBundle::done() calls stopLoading, this may trigger
  11674. InjectedBundlePage::didFailLoadWithErrorForFrame which calls
  11675. InjectedBundle::done() itself later in the stack.
  11676. This would output the timeout failure message twice and confuse
  11677. the run-webkit-tests script.
  11678. This patch adds a third state, Stopping, which prevents WebCore
  11679. errors to trigger done() when testing is over.
  11680. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  11681. (WTR::InjectedBundle::done):
  11682. * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
  11683. 2010-10-08 Andras Becsi <abecsi@webkit.org>
  11684. Reviewed by Kenneth Rohde Christiansen.
  11685. [Qt] Add an activateFonts() implementation similar to DRT's initializeFonts().
  11686. Original code by Simon Hausmann.
  11687. https://bugs.webkit.org/show_bug.cgi?id=47402
  11688. * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp: Added.
  11689. (WTR::activateFonts):
  11690. 2010-10-08 Andras Becsi <abecsi@webkit.org>
  11691. Reviewed by Csaba Osztrogonác.
  11692. [Qt] Add support for Qt's WebKitTestRunner to old-run-webkit-tests.
  11693. https://bugs.webkit.org/show_bug.cgi?id=47401
  11694. * Scripts/build-webkittestrunner:
  11695. * Scripts/old-run-webkit-tests:
  11696. 2010-10-07 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  11697. Reviewed by Kenneth Rohde Christiansen.
  11698. [Qt] WTR first compile: fix compile issues.
  11699. https://bugs.webkit.org/show_bug.cgi?id=47343
  11700. * WebKitTestRunner/InjectedBundle/Bindings/JSWrappable.h:
  11701. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  11702. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  11703. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  11704. * WebKitTestRunner/TestController.cpp:
  11705. * WebKitTestRunner/TestInvocation.cpp:
  11706. 2010-10-07 Antonio Gomes <agomes@rim.com>
  11707. Reviewed by Simon Fraser.
  11708. [Mac] [DRT] implement setSpatialNavigationEnabled
  11709. https://bugs.webkit.org/show_bug.cgi?id=47291
  11710. Implemented LayoutTestController::setSpatialNavigationEnabled for Mac's DRT
  11711. so it can track regression on the existing implementation and future improvements
  11712. we are making.
  11713. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  11714. (LayoutTestController::setSpatialNavigationEnabled):
  11715. 2010-10-07 Dirk Pranke <dpranke@chromium.org>
  11716. Reviewed by Adam Barth.
  11717. rebaseline-chromium-webkit-tests relied on the filename_to_uri()
  11718. hook in the Port infrastructure to generate URIs for the files
  11719. in its summary HTML report; however, that method is supposed to only
  11720. be used for test files (and should really be renamed), so this would
  11721. crash.
  11722. This change adds a new "path" module to the system package with a
  11723. routine called abspath_to_uri() that handles converting paths to
  11724. file: URIs independently of anything in the layout_tests package,
  11725. and changes the code to use this. At some point in the near future
  11726. the layout_tests/port/* code should use this as well.
  11727. This change also deletes a bunch of unused code and fixes some
  11728. comments in rebaseline_chromium_webkit_tests.py.
  11729. https://bugs.webkit.org/show_bug.cgi?id=47319
  11730. * Scripts/webkitpy/common/system/path.py: Added.
  11731. * Scripts/webkitpy/common/system/path_unittest.py: Added.
  11732. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  11733. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
  11734. 2010-10-07 Martin Robinson <mrobinson@igalia.com>
  11735. Reviewed by Gustavo Noronha Silva.
  11736. [GTK] The FreeType backend does not respect the FC_EMBOLDEN property
  11737. https://bugs.webkit.org/show_bug.cgi?id=46216
  11738. Fix my latest commit, as it contained some bad changes from a merge gone wrong.
  11739. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  11740. (initializeFonts): Also initialize the DevaVu Sans font.
  11741. 2010-10-07 Daniel Cheng <dcheng@chromium.org>
  11742. Reviewed by Tony Chang.
  11743. [chromium] Minor naming cleanup in WebDragData, part 2
  11744. https://bugs.webkit.org/show_bug.cgi?id=47227
  11745. Update DRT to use the renamed methods.
  11746. * DumpRenderTree/chromium/EventSender.cpp:
  11747. (EventSender::beginDragWithFiles):
  11748. * DumpRenderTree/chromium/WebViewHost.cpp:
  11749. (addDRTFakeFileToDataObject):
  11750. 2010-10-07 Anders Carlsson <andersca@apple.com>
  11751. Reviewed by Sam Weinig.
  11752. Add a WKPageFindClient, hook up WKPageCountStringMatches
  11753. https://bugs.webkit.org/show_bug.cgi?id=47373
  11754. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  11755. Remove hard coded paths.
  11756. * TestWebKitAPI/Tests/WTF/VectorBasic.cpp:
  11757. (TestWebKitAPI::TEST):
  11758. Fix expected result.
  11759. * TestWebKitAPI/Tests/WebKit2/Find.cpp: Added.
  11760. (TestWebKitAPI::didFinishLoadForFrame):
  11761. (TestWebKitAPI::didCountStringMatches):
  11762. (TestWebKitAPI::TEST):
  11763. * TestWebKitAPI/Tests/WebKit2/find.html: Added.
  11764. Add test for WKPageCountStringMatches.
  11765. 2010-09-21 Martin Robinson <mrobinson@igalia.com>
  11766. Reviewed by Chris Fleizach.
  11767. [GTK] The FreeType backend does not respect the FC_EMBOLDEN property
  11768. https://bugs.webkit.org/show_bug.cgi?id=46216
  11769. * DumpRenderTree/gtk/fonts/fonts.conf: Add a setting which enables FC_EMBOLDEN
  11770. for DejaVu Serif when there is no bold version available. This is necessary to
  11771. properly test the property in layout tests.
  11772. 2010-10-07 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>, Andras Becsi <abecsi@webkit.org>, Balazs Kelemen <kbalazs@webkit.org>
  11773. Reviewed by Kenneth Rohde Christiansen.
  11774. [Qt] Add WTR's InjectedBundle build files.
  11775. https://bugs.webkit.org/show_bug.cgi?id=47333
  11776. * Scripts/webkitdirs.pm:
  11777. * WebKitTestRunner/DerivedSources.pro: Added.
  11778. * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro: Added.
  11779. * WebKitTestRunner/WebKitTestRunner.pro: Added.
  11780. * WebKitTestRunner/qt/DerivedSources.pro: Removed.
  11781. Content merged in ../DerivedSources.pro
  11782. 2010-10-07 Sheriff Bot <webkit.review.bot@gmail.com>
  11783. Unreviewed, rolling out r69315.
  11784. http://trac.webkit.org/changeset/69315
  11785. https://bugs.webkit.org/show_bug.cgi?id=47363
  11786. Forgot to add the new files (Requested by kbalazs on #webkit).
  11787. * Scripts/webkitdirs.pm:
  11788. * WebKitTestRunner/qt/DerivedSources.pro: Added.
  11789. 2010-10-07 Sam Weinig <sam@webkit.org>
  11790. Reviewed by Anders Carlsson.
  11791. Change API tester to ask the executable for the list of all
  11792. tests instead of relying on the directory structure.
  11793. https://bugs.webkit.org/show_bug.cgi?id=47359
  11794. * Scripts/run-test-webkit-api: Added.
  11795. * Scripts/webkitdirs.pm:
  11796. Add additional script to just launch the api tester with the correct settings.
  11797. * Scripts/run-api-tests:
  11798. Change to use the new --dump-tests options to build the list of tests and change
  11799. output to reflect a (suite, testcase) tuple for each test. Also adds some color.
  11800. * TestWebKitAPI/Test.h:
  11801. (TestWebKitAPI::Test::Register::Register):
  11802. * TestWebKitAPI/Tests/WTF/VectorBasic.cpp:
  11803. (TestWebKitAPI::TEST):
  11804. * TestWebKitAPI/Tests/WebKit2/FrameMIMETypeHTML.cpp:
  11805. (TestWebKitAPI::TEST):
  11806. * TestWebKitAPI/Tests/WebKit2/FrameMIMETypePNG.cpp:
  11807. (TestWebKitAPI::TEST):
  11808. * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
  11809. (TestWebKitAPI::TEST):
  11810. * TestWebKitAPI/Tests/WebKit2/WKString.cpp:
  11811. (TestWebKitAPI::TEST):
  11812. * TestWebKitAPI/Tests/WebKit2/WKStringJSString.cpp:
  11813. (TestWebKitAPI::TEST):
  11814. Give each test a suite name in addition to the test name.
  11815. * TestWebKitAPI/TestsController.cpp:
  11816. (TestWebKitAPI::TestsController::dumpTestNames):
  11817. (TestWebKitAPI::TestsController::runTestNamed):
  11818. * TestWebKitAPI/TestsController.h:
  11819. * TestWebKitAPI/mac/main.mm:
  11820. (main):
  11821. Add option to print all registered tests.
  11822. 2010-10-07 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>, Andras Becsi <abecsi@webkit.org>, Balazs Kelemen <kbalazs@webkit.org>
  11823. Reviewed by Kenneth Rohde Christiansen.
  11824. [Qt] Add WTR's InjectedBundle build files.
  11825. https://bugs.webkit.org/show_bug.cgi?id=47333
  11826. * Scripts/webkitdirs.pm:
  11827. * WebKitTestRunner/DerivedSources.pro: Added.
  11828. * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro: Added.
  11829. * WebKitTestRunner/WebKitTestRunner.pro: Added.
  11830. * WebKitTestRunner/qt/DerivedSources.pro: Removed.
  11831. Content merged in ../DerivedSources.pro
  11832. 2010-10-07 Balazs Kelemen <kbalazs@webkit.org>
  11833. Unreviewed. Do a renaming that was recommended by the reviewer
  11834. (Kenneth) but I forgot to do before landing (http://trac.webkit.org/changeset/69253)
  11835. * WebKitTestRunner/qt/TestControllerQt.cpp:
  11836. (WTR::RunUntilConditionLoop::start):
  11837. (WTR::RunUntilConditionLoop::RunUntilConditionLoop):
  11838. (WTR::TestController::runUntil):
  11839. 2010-10-07 Balazs Kelemen <kbalazs@webkit.org>
  11840. Reviewed by Kenneth Rohde Christiansen.
  11841. [Qt] Watchdog timer implementation for WTR
  11842. https://bugs.webkit.org/show_bug.cgi?id=47337
  11843. * WebKitTestRunner/InjectedBundle/LayoutTestController.h: Factor out
  11844. the definition of the timer type to a typedef.
  11845. * WebKitTestRunner/InjectedBundle/qt/LayoutTestControllerQt.cpp: Added.
  11846. Timer implementation with QTimer and a helper QObject class.
  11847. (WTR::WatchdogTimerHelper::instance):
  11848. (WTR::WatchdogTimerHelper::timerFired):
  11849. (WTR::WatchdogTimerHelper::WatchdogTimerHelper):
  11850. (WTR::LayoutTestController::platformInitialize):
  11851. (WTR::LayoutTestController::invalidateWaitToDumpWatchdogTimer):
  11852. (WTR::LayoutTestController::initializeWaitToDumpWatchdogTimerIfNeeded):
  11853. 2010-10-07 Balazs Kelemen <kbalazs@webkit.org>
  11854. Unreviewed buildfix for 69297 again
  11855. * WebKitTestRunner/TestController.cpp:
  11856. (WTR::blankURL):
  11857. 2010-10-07 Balazs Kelemen <Balazs Kelemen>
  11858. Unreviewed trivial build fix for r69297
  11859. * WebKitTestRunner/TestController.cpp:
  11860. (WTR::blankURL):
  11861. 2010-10-07 Balazs Kelemen <kbalazs@webkit.org>
  11862. Reviewed by Kenneth Rohde Christiansen.
  11863. WebKitTestRunner should be portable
  11864. https://bugs.webkit.org/show_bug.cgi?id=45393
  11865. Use only the WebKit API for working with urls.
  11866. * WebKitTestRunner/StringFunctions.h:
  11867. (WTR::createWKURL):
  11868. * WebKitTestRunner/TestController.cpp:
  11869. (WTR::blankURL):
  11870. (WTR::TestController::resetStateToConsistentValues):
  11871. (WTR::TestController::didFinishLoadForFrame):
  11872. 2010-10-07 Carlos Garcia Campos <cgarcia@igalia.com>
  11873. Reviewed by Xan Lopez.
  11874. [GTK] Use gtk_widget_draw() instead of gtk_widget_get_snapshot() in PixelDumpSupportGtk when building with gtk3
  11875. https://bugs.webkit.org/show_bug.cgi?id=47332
  11876. * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp:
  11877. (createBitmapContextFromWebView):
  11878. 2010-10-06 Chris Guillory <chris.guillory@google.com>
  11879. Reviewed by Chris Fleizach.
  11880. Remove unused accessibility functions from webkit.
  11881. https://bugs.webkit.org/attachment.cgi?bugid=46707
  11882. * DumpRenderTree/chromium/WebViewHost.cpp:
  11883. (WebViewHost::postAccessibilityNotification):
  11884. * DumpRenderTree/chromium/WebViewHost.h:
  11885. 2010-10-06 Lucas Forschler <lforschler@apple.com>
  11886. Reviewed by Adam Roben.
  11887. Fix the sunspider-compare-results to actually use the passed in value for $root.
  11888. * Scripts/sunspider-compare-results:
  11889. 2010-10-06 Balazs Kelemen <kbalazs@webkit.org>
  11890. Reviewed by Kenneth Rohde Christiansen.
  11891. [Qt] Runloop implementation for WTR
  11892. https://bugs.webkit.org/show_bug.cgi?id=47280
  11893. * WebKitTestRunner/qt/TestControllerQt.cpp:
  11894. Implemented TestController::runUntil by a timerEvent
  11895. and a QEventLoop. We step into the event loop from runUntil.
  11896. While we are waiting in the loop a timerEvent is periodically
  11897. checking the value of the condition. Once the condition has
  11898. becoming true the timerEvent wakes us up.
  11899. (WTR::RunUntilLoop::start):
  11900. (WTR::RunUntilLoop::RunUntilLoop):
  11901. (WTR::RunUntilLoop::run):
  11902. (WTR::RunUntilLoop::timerEvent):
  11903. (WTR::TestController::platformInitialize):
  11904. (WTR::TestController::runUntil):
  11905. * WebKitTestRunner/qt/main.cpp:
  11906. Start the main event loop first and creating the TestController later.
  11907. (Launcher::Launcher):
  11908. (Launcher::~Launcher):
  11909. (Launcher::launch): Creating the TestController.
  11910. (main): Setting up a timer for calling Launcher::launch from
  11911. the main event loop.
  11912. 2010-10-06 Dirk Pranke <dpranke@chromium.org>
  11913. Reviewed by Kenneth Russell.
  11914. new-run-webkit-tests: fix typo in chromium-gpu that was trying to
  11915. enable 'accelerated-composting' instead of 'accelerated-compositing'.
  11916. https://bugs.webkit.org/show_bug.cgi?id=47312
  11917. * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
  11918. * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
  11919. 2010-10-06 Balazs Kelemen <kbalazs@webkit.org>
  11920. Reviewed by Kenneth Rohde Christiansen.
  11921. [Qt] PlatformWebView implementation for WebKitTestRunner
  11922. https://bugs.webkit.org/show_bug.cgi?id=47276
  11923. The implementation follows the way how
  11924. we use the API in MiniBrowser.
  11925. * WebKitTestRunner/PlatformWebView.h:
  11926. * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
  11927. (WTR::WebView::wkView):
  11928. (WTR::WebView::~WebView):
  11929. (WTR::WebView::WebView):
  11930. (WTR::PlatformWebView::PlatformWebView):
  11931. (WTR::PlatformWebView::~PlatformWebView):
  11932. (WTR::PlatformWebView::resizeTo):
  11933. (WTR::PlatformWebView::page):
  11934. (WTR::PlatformWebView::focus):
  11935. * WebKitTestRunner/qt/WebKitTestRunner.pro:
  11936. 2010-10-06 Balazs Kelemen <kbalazs@webkit.org>
  11937. Reviewed by Kenneth Rohde Christiansen.
  11938. [Qt] Add WebKitTestRunner's build files
  11939. https://bugs.webkit.org/show_bug.cgi?id=44155
  11940. Parts was taken by Zoltan Horvath's patch.
  11941. * Scripts/generate-forwarding-headers.pl: Moved from WebKit2.
  11942. * Scripts/webkitdirs.pm: Make the generated files needed by WTR.
  11943. * WebKitTestRunner/PlatformWebView.h: Addeed typedefs for
  11944. PlatformWKView and PlatformWindow (void* for now).
  11945. Buildfix the case when __APPLE__ is not defined.
  11946. * WebKitTestRunner/qt/DerivedSources.pro: Added.
  11947. * WebKitTestRunner/qt/PlatformWebViewQt.cpp: Added.
  11948. Empty stub implementation.
  11949. (WTR::registerWindowClass):
  11950. (WTR::PlatformWebView::PlatformWebView):
  11951. (WTR::PlatformWebView::~PlatformWebView):
  11952. (WTR::PlatformWebView::resizeTo):
  11953. (WTR::PlatformWebView::page):
  11954. (WTR::PlatformWebView::focus):
  11955. * WebKitTestRunner/qt/TestControllerQt.cpp: Added.
  11956. Empty stub implementation.
  11957. (WTR::registerWindowClass):
  11958. (WTR::TestController::runUntil):
  11959. (WTR::TestController::platformInitialize):
  11960. (WTR::TestController::initializeInjectedBundlePath):
  11961. (WTR::TestController::initializeTestPluginDirectory):
  11962. (WTR::TestController::platformInitializeContext):
  11963. * WebKitTestRunner/qt/WebKitTestRunner.pro: Added.
  11964. * WebKitTestRunner/qt/main.cpp: Added.
  11965. (main):
  11966. 2010-10-06 Tony Chang <tony@chromium.org>
  11967. Unreviewed, rolling out r69202.
  11968. http://trac.webkit.org/changeset/69202
  11969. https://bugs.webkit.org/show_bug.cgi?id=46937
  11970. Broke compile of test_shell
  11971. * DumpRenderTree/chromium/EventSender.cpp:
  11972. (EventSender::beginDragWithFiles):
  11973. * DumpRenderTree/chromium/WebViewHost.cpp:
  11974. (addDRTFakeFileToDataObject):
  11975. 2010-10-06 Daniel Cheng <dcheng@chromium.org>
  11976. Reviewed by Tony Chang.
  11977. [chromium] Minor naming cleanup in WebDragData, part 2
  11978. https://bugs.webkit.org/show_bug.cgi?id=46937
  11979. Update DRT to use the renamed methods.
  11980. * DumpRenderTree/chromium/EventSender.cpp:
  11981. (EventSender::beginDragWithFiles):
  11982. * DumpRenderTree/chromium/WebViewHost.cpp:
  11983. (addDRTFakeFileToDataObject):
  11984. 2010-10-06 David Kilzer <ddkilzer@apple.com>
  11985. <http://webkit.org/b/47270> Move WebArchive serialization code into its own file
  11986. Reviewed by Adam Roben.
  11987. This is the first step in making webarchive tests work on
  11988. Windows.
  11989. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added
  11990. new files to the project.
  11991. * DumpRenderTree/mac/DumpRenderTree.mm: Removed code that moved
  11992. to WebArchiveDumpSupport.mm.
  11993. * DumpRenderTree/mac/WebArchiveDumpSupport.h: Added.
  11994. * DumpRenderTree/mac/WebArchiveDumpSupport.mm: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTree.mm.
  11995. (serializeWebArchiveToXML):
  11996. 2010-10-05 Daniel Bates <dbates@rim.com>
  11997. Reviewed by David Kilzer.
  11998. Add infrastructure to towards detecting change log diffs that aren't at the top of the ChangeLog
  11999. https://bugs.webkit.org/show_bug.cgi?id=46058
  12000. Make VCSUtils::fixChangeLogPatch() return a reference to a hash
  12001. structure so as to support returning additional information
  12002. about a change log diff.
  12003. Currently, VCSUtils::fixChangeLogPatch() returns a string that
  12004. represents the change log diff. Towards supporting the return
  12005. of additional information, such as whether the change log diff
  12006. inserts an entry at the top of the ChangeLog file, we need to
  12007. make VCSUtils::fixChangeLogPatch() return a reference to hash
  12008. structure.
  12009. * Scripts/VCSUtils.pm:
  12010. - Modified fixChangeLogPatch() to return a reference to a
  12011. hash structure.
  12012. - Added documentation to fixChangeLogPatch().
  12013. - Modified call site in mergeChangeLogs() as necessary.
  12014. * Scripts/svn-apply:
  12015. - Modified call site in patch() as necessary.
  12016. * Scripts/svn-create-patch:
  12017. - Modified call site in generateDiff() as necessary.
  12018. * Scripts/svn-unapply:
  12019. - Modified call site in patch() as necessary.
  12020. * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl:
  12021. - Modified the unit tests as necessary.
  12022. 2010-10-05 Tony Chang <tony@chromium.org>
  12023. Reviewed by Darin Adler.
  12024. fix the link to the expected image on windows
  12025. https://bugs.webkit.org/show_bug.cgi?id=47228
  12026. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: On
  12027. windows, the file must be opened in binary mode when writing
  12028. binary data.
  12029. 2010-10-05 Adam Barth <abarth@webkit.org>
  12030. Update expected result of unittest to match Tony's change below.
  12031. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  12032. 2010-10-05 Tony Chang <tony@chromium.org>
  12033. Reviewed by Ojan Vafai (over the shoulder).
  12034. Paper over errors in image_diff so we don't crash the whole test run.
  12035. * Scripts/webkitpy/layout_tests/port/chromium.py:
  12036. 2010-10-05 Tony Chang <tony@chromium.org>
  12037. Unreviewed, make shutil.rmtree more resiliant to errors
  12038. since windows was raising WindowsError: The process cannot access the file because it
  12039. is being used by another process.
  12040. * Scripts/webkitpy/layout_tests/port/chromium.py:
  12041. 2010-10-05 Tony Chang <tony@chromium.org>
  12042. Reviewed by Ojan Vafai.
  12043. [chromium] fix image diffing in NRWT
  12044. https://bugs.webkit.org/show_bug.cgi?id=47128
  12045. * Scripts/webkitpy/layout_tests/port/chromium.py: Stop using
  12046. NamedTemporaryFile since it doesn't work on Windows.
  12047. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  12048. 2010-10-05 Kenneth Russell <kbr@google.com>
  12049. Reviewed by Tony Chang.
  12050. [chromium] Implement layerTreeAsText in DumpRenderTree
  12051. https://bugs.webkit.org/show_bug.cgi?id=47216
  12052. Plumbed Frame::layerTreeAsText through Chromium's WebKit API to
  12053. make it callable from DumpRenderTree.
  12054. No new tests; verified with existing compositor layout tests.
  12055. * DumpRenderTree/chromium/LayoutTestController.cpp:
  12056. (LayoutTestController::LayoutTestController):
  12057. (LayoutTestController::layerTreeAsText):
  12058. * DumpRenderTree/chromium/LayoutTestController.h:
  12059. 2010-10-05 Brent Fulgham <bfulgham@webkit.org>
  12060. Unreviewed build correction.
  12061. * DumpRenderTree/win/ImageDiff.vcproj: Use WinCairo debug
  12062. property sheet so proper libraries are linked.
  12063. 2010-10-05 Robert Hogan <robert@webkit.org>
  12064. Reviewed by Andreas Kling.
  12065. [Qt] Fix url conversion in QWebHistory
  12066. Converting from KURL to WFT::String to QUrl does not
  12067. permit proper percent encoding later.
  12068. https://bugs.webkit.org/show_bug.cgi?id=47048
  12069. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  12070. (WebCore::dumpHistoryItem):
  12071. 2010-10-05 Anders Carlsson <andersca@apple.com>
  12072. Reviewed by Sam Weinig.
  12073. REGRESSION (r68966?): All dumpAsText test fail on WebKit2
  12074. https://bugs.webkit.org/show_bug.cgi?id=47188
  12075. <rdar://problem/8514104>
  12076. When constructing the std::string, use the real string length instead of the maximum buffer size.
  12077. * TestWebKitAPI/PlatformUtilities.h:
  12078. (TestWebKitAPI::Util::toSTD):
  12079. * WebKitTestRunner/StringFunctions.h:
  12080. (WTR::toSTD):
  12081. 2010-10-04 Sam Weinig <sam@webkit.org>
  12082. Reviewed by Mark Rowe.
  12083. Add MIMEType accessor to WKFrame
  12084. <rdar://problem/8347683>
  12085. https://bugs.webkit.org/show_bug.cgi?id=47138
  12086. * TestWebKitAPI/PlatformUtilities.h:
  12087. (TestWebKitAPI::Util::toSTD):
  12088. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  12089. * TestWebKitAPI/Tests/WebKit2/FrameMIMETypeHTML.cpp: Added.
  12090. (TestWebKitAPI::didStartProvisionalLoadForFrame):
  12091. (TestWebKitAPI::didCommitLoadForFrame):
  12092. (TestWebKitAPI::didFinishLoadForFrame):
  12093. (TestWebKitAPI::TEST):
  12094. * TestWebKitAPI/Tests/WebKit2/FrameMIMETypePNG.cpp: Added.
  12095. (TestWebKitAPI::didStartProvisionalLoadForFrame):
  12096. (TestWebKitAPI::didCommitLoadForFrame):
  12097. (TestWebKitAPI::didFinishLoadForFrame):
  12098. (TestWebKitAPI::TEST):
  12099. * TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
  12100. (TestWebKitAPI::TEST):
  12101. * TestWebKitAPI/Tests/WebKit2/basic-1.html: Removed.
  12102. * TestWebKitAPI/Tests/WebKit2/icon.png: Added.
  12103. * TestWebKitAPI/Tests/WebKit2/simple.html: Added.
  12104. * TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
  12105. (TestWebKitAPI::Util::createURLForResource):
  12106. 2010-10-05 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  12107. Reviewed by Ojan Vafai.
  12108. [NRWT] Rename current_dir to current_group because it's not a directory
  12109. https://bugs.webkit.org/show_bug.cgi?id=47169
  12110. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  12111. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  12112. 2010-10-04 Dirk Pranke <dpranke@chromium.org>
  12113. Unreviewed, build fix.
  12114. r69065 broke test-webkitpy by trying to create a '/tmp-X' directory,
  12115. which can't always be done. This test uses tempfile.mkdtemp(), which
  12116. should be safe.
  12117. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  12118. 2010-10-04 Dirk Pranke <dpranke@chromium.org>
  12119. Unreviewed, build fix.
  12120. Add missing "from __future__ import with_statement" that was
  12121. breaking test-webkitpy on the Leopard bots (broke in r69040).
  12122. * Scripts/webkitpy/layout_tests/port/google_chrome.py:
  12123. 2010-10-04 Sheriff Bot <webkit.review.bot@gmail.com>
  12124. Unreviewed, rolling out r69066.
  12125. http://trac.webkit.org/changeset/69066
  12126. https://bugs.webkit.org/show_bug.cgi?id=47163
  12127. Made NRWT reliability worse. (Requested by tkent on #webkit).
  12128. * Scripts/webkitpy/layout_tests/port/chromium.py:
  12129. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  12130. 2010-10-04 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  12131. Reviewed by Tony Chang.
  12132. [NRWT] Reverse the http tests to alphabetical order.
  12133. https://bugs.webkit.org/show_bug.cgi?id=47075
  12134. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  12135. 2010-10-04 Robert Hogan <robert@webkit.org>
  12136. Reviewed by Andreas Kling.
  12137. [Qt] Fix timeout on http/tests/navigation/post-goback2.html and postredirect-goback2.html
  12138. We need to queue back and forward navigations in the DRT from the
  12139. LayoutTestController so that maybeDump() knows about them.
  12140. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  12141. (LayoutTestController::queueBackNavigation):
  12142. (LayoutTestController::queueForwardNavigation):
  12143. 2010-10-04 Tony Chang <tony@chromium.org>
  12144. Reviewed by Kent Tamura.
  12145. [chromium] fix image diffing in NRWT
  12146. https://bugs.webkit.org/show_bug.cgi?id=47128
  12147. * Scripts/webkitpy/layout_tests/port/chromium.py: Flush data to the
  12148. temp file and check the image_diff error code more carefully
  12149. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  12150. 2010-10-04 Dirk Pranke <dpranke@chromium.org>
  12151. Reviewed by Adam Barth.
  12152. aroben's change in r68792 actually broke new-run-webkit-tests when
  12153. running the DRT code path. His change was intended to fix the
  12154. way we were converting windows paths to URIs when running under
  12155. Cygwin (the paths were getting one too many "/" on the front).
  12156. However, the change ended up breaking the chromium_win port, which
  12157. had slightly different logic.
  12158. This patch removes the port-specific code and adds tests to make
  12159. sure we're getting the behavior we expect. The Port object no longer
  12160. exposes a get_absolute_path() method that can be used outside of
  12161. of converting test filenames, because it's unreliable otherwise
  12162. (we don't have the right context to know which conversion is intended).
  12163. https://bugs.webkit.org/show_bug.cgi?id=47140
  12164. * Scripts/webkitpy/layout_tests/port/base.py:
  12165. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  12166. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  12167. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  12168. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  12169. 2010-10-04 Dirk Pranke <dpranke@chromium.org>
  12170. Unreviewed, build fix.
  12171. Handle crash introduced in r69040 if we are not running in a
  12172. Chromium checkout.
  12173. * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
  12174. 2010-10-04 Dirk Pranke <dpranke@chromium.org>
  12175. Reviewed by Tony Chang.
  12176. Add a way for us to have test expectations that are specific to the
  12177. official builds of Google Chrome (as opposed to Chromium). This change
  12178. looks for an additional "test_expectations_chrome.txt" file in
  12179. Chromium's repository (webkit/tools/layout_tests), and uses the
  12180. concatenation of that file and the regular test_expectations.txt
  12181. file for test overrides.
  12182. https://bugs.webkit.org/show_bug.cgi?id=46854
  12183. * Scripts/webkitpy/layout_tests/port/google_chrome.py:
  12184. * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
  12185. 2010-10-04 Simon Fraser <simon.fraser@apple.com>
  12186. Color tests in the list based on existing pass/fail result.
  12187. Fix the summary data to account for htmlOnly and nonHTML tests.
  12188. * CSSTestSuiteHarness/harness/harness.css:
  12189. (#test-list > option.pass):
  12190. (#test-list > option.fail):
  12191. (#test-list > option.skipped):
  12192. * CSSTestSuiteHarness/harness/harness.js:
  12193. (Test):
  12194. (Test.prototype.statusForFormat):
  12195. (TestSuite.prototype.fillTestList):
  12196. (TestSuite.prototype.updateTestList):
  12197. (TestSuite.prototype.recordResult):
  12198. (TestSuite.prototype.markTestCompleted):
  12199. (TestSuite.prototype.countTestsWithFlag):
  12200. (TestSuite.prototype.queryDatabaseForSummary.this.db.transaction):
  12201. (TestSuite.prototype.queryDatabaseForSummary):
  12202. 2010-10-04 Chris Fleizach <cfleizach@apple.com>
  12203. Reviewed by Beth Dakin.
  12204. AX: doAXRangeForLine does not work
  12205. https://bugs.webkit.org/show_bug.cgi?id=47101
  12206. DRT support to handle NSAccessibilityRangeForLineParameterizedAttribute.
  12207. * DumpRenderTree/AccessibilityUIElement.cpp:
  12208. (rangeForLineCallback):
  12209. (AccessibilityUIElement::rangeForLine):
  12210. (AccessibilityUIElement::getJSClass):
  12211. * DumpRenderTree/AccessibilityUIElement.h:
  12212. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  12213. (AccessibilityUIElement::rangeForLine):
  12214. 2010-10-04 Andrey Kosyakov <caseq@chromium.org>
  12215. Unreviewed. Adding myself to the committers list.
  12216. * Scripts/webkitpy/common/config/committers.py:
  12217. 2010-10-04 Sam Weinig <sam@webkit.org>
  12218. Reviewed by Anders Carlsson.
  12219. Add ability to set the CacheModel in Webkit2
  12220. https://bugs.webkit.org/show_bug.cgi?id=47066
  12221. * MiniBrowser/mac/AppDelegate.m:
  12222. (-[BrowserAppDelegate init]): Opt minibrowser into
  12223. a PrimaryWebBrowser cache model.
  12224. 2010-10-03 Simon Fraser <simon.fraser@apple.com>
  12225. Make sure to enter all tests when creating the database
  12226. for the first time.
  12227. When migrating to a new version of the suite, be sure to
  12228. sync up the database and testinfo.data by removing old
  12229. tests, and inserting new ones.
  12230. * CSSTestSuiteHarness/harness/harness.js:
  12231. (TestSuite.prototype.openDatabase.creation):
  12232. (TestSuite.prototype.databaseCreated):
  12233. (TestSuite.prototype.populateDatabaseFromTestInfoData):
  12234. (TestSuite.prototype.insertTest):
  12235. 2010-10-03 Simon Fraser <simon.fraser@apple.com>
  12236. More work on treating HTML4 and XHTML1 independently; when
  12237. changing the format, rebuild the test list, and update the
  12238. numbers in the chapter popup.
  12239. * CSSTestSuiteHarness/harness/harness.js:
  12240. (Test):
  12241. (Test.prototype.runForFormat):
  12242. (Test.prototype.completedForFormat):
  12243. (ChapterSection):
  12244. (ChapterSection.prototype.countTests):
  12245. (Chapter):
  12246. (Chapter.prototype.description):
  12247. (Chapter.prototype.countTests):
  12248. (Chapter.prototype.testCount):
  12249. (Chapter.prototype.untestedCount):
  12250. (TestSuite.prototype.buildChapters):
  12251. (TestSuite.prototype.loadCurrentTest):
  12252. (TestSuite.prototype.updateProgressLabel):
  12253. (TestSuite.prototype.processFlags):
  12254. (TestSuite.prototype.formatChanged):
  12255. 2010-10-03 Simon Fraser <simon.fraser@apple.com>
  12256. Update test suite version 20101001.
  12257. Handle database migration, and delete tests from the db that are
  12258. not present in testinfo.data.
  12259. Load about:blank into the test frame before the test url, to make
  12260. missing tests more obvious.
  12261. * CSSTestSuiteHarness/harness/harness.js:
  12262. (TestSuite.prototype.loadTest):
  12263. (TestSuite.prototype.openDatabase.creation):
  12264. (TestSuite.prototype.openDatabase.migration1_0To1_1):
  12265. (TestSuite.prototype.openDatabase.if.return):
  12266. (TestSuite.prototype.databaseReady):
  12267. (TestSuite.prototype.populateDatabaseFromTestInfoData):
  12268. (TestSuite.prototype.syncDatabaseWithTestInfoData.this.db.transaction):
  12269. (TestSuite.prototype.syncDatabaseWithTestInfoData):
  12270. 2010-10-02 Simon Fraser <simon.fraser@apple.com>
  12271. Add the ability to jump to a specific test.
  12272. * CSSTestSuiteHarness/harness/harness.html:
  12273. * CSSTestSuiteHarness/harness/harness.js:
  12274. (TestSuite.prototype.goToTestByName):
  12275. (TestSuite.prototype.switchToFormat):
  12276. 2010-10-02 Simon Fraser <simon.fraser@apple.com>
  12277. For a ref test, load the ref in the same format (HTML4 vs XHTML1)
  12278. as the test.
  12279. * CSSTestSuiteHarness/harness/harness.js:
  12280. (TestSuite.prototype.loadRef):
  12281. 2010-10-02 Simon Fraser <simon.fraser@apple.com>
  12282. Update the UI to reflect the fact that each test needs to be tested
  12283. in both HTML4 and XHTML1 format.
  12284. * CSSTestSuiteHarness/harness/harness.js:
  12285. (Test):
  12286. (Chapter.prototype.description):
  12287. (Chapter.prototype.untestedCount):
  12288. (TestSuite.prototype.fillChapterPopup):
  12289. (TestSuite.prototype.updateChapterPopup):
  12290. (TestSuite.prototype.fillTestList):
  12291. (TestSuite.prototype.updateTestList):
  12292. (TestSuite.prototype.goToNextIncompleteTest):
  12293. (TestSuite.prototype.firstIncompleteTestIndex):
  12294. (TestSuite.prototype.recordResult):
  12295. (TestSuite.prototype.formatChanged):
  12296. (TestSuite.prototype.markTestCompleted):
  12297. (TestSuite.prototype.resetTestStatus):
  12298. 2010-10-01 Simon Fraser <simon.fraser@apple.com>
  12299. Add the ability to remove results for re-testing, and
  12300. to import results.
  12301. * CSSTestSuiteHarness/harness/harness.css:
  12302. (.custom button):
  12303. (#overlay):
  12304. (#overlay.visible):
  12305. (.overlay-contents):
  12306. (.overlay-contents textarea):
  12307. (.overlay-contents .buttons):
  12308. (.overlay-contents .note):
  12309. (.overlay-contents .buttons button):
  12310. * CSSTestSuiteHarness/harness/harness.html:
  12311. * CSSTestSuiteHarness/harness/harness.js:
  12312. (TestSuite.prototype.importResults):
  12313. (TestSuite.prototype.clearResults):
  12314. (TestSuite.prototype.markTestCompleted):
  12315. (TestSuite.prototype.resetTestStatus):
  12316. (TestSuite.prototype.storeTestResult):
  12317. (TestSuite.prototype.importTestResults):
  12318. (TestSuite.prototype.clearTestResults):
  12319. 2010-10-01 Sam Weinig <sam@webkit.org>
  12320. Reviewed by Jon Honeycutt.
  12321. Deploy the new WKString functions to remove most uses of CF from
  12322. the WebKitTestRunner.
  12323. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  12324. (WTR::InjectedBundle::didReceiveMessage):
  12325. (WTR::InjectedBundle::done):
  12326. * WebKitTestRunner/StringFunctions.h:
  12327. (WTR::toWK):
  12328. (WTR::toJS):
  12329. (WTR::toSTD):
  12330. (WTR::operator<<):
  12331. (WTR::copyURLString):
  12332. * WebKitTestRunner/TestController.cpp:
  12333. (WTR::TestController::resetStateToConsistentValues):
  12334. (WTR::TestController::didFinishLoadForFrame):
  12335. * WebKitTestRunner/TestInvocation.cpp:
  12336. (WTR::TestInvocation::invoke):
  12337. (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
  12338. 2010-10-01 Mihai Parparita <mihaip@chromium.org>
  12339. Unreviewed TestResultsServer change.
  12340. Add files introduced by http://crrev.com/61273 to the list of dashboard
  12341. files to update.
  12342. * TestResultServer/handlers/dashboardhandler.py:
  12343. 2010-10-01 Brian Weinstein <bweinstein@apple.com>
  12344. Build Fix for Windows.
  12345. * WebKitTestRunner/win/WebKitTestRunner.vcproj: Don't copy ForwardingHeaders from
  12346. WebKitTestRunner/ForwardingHeaders, instead, add $(WebKitOutputDir)/include/WebCore/
  12347. ForwardingHeaders to the include path.
  12348. 2010-10-01 Sam Weinig <sam@webkit.org>
  12349. Reviewed by Anders Carlsson.
  12350. Add SPI to convert a WKStringRef to a JSStringRef and vice-versa.
  12351. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  12352. * TestWebKitAPI/Tests/WebKit2/WKString.cpp:
  12353. (TestWebKitAPI::TEST):
  12354. * TestWebKitAPI/Tests/WebKit2/WKStringJSString.cpp: Added.
  12355. (TestWebKitAPI::TEST):
  12356. 2010-10-01 Sam Weinig <sam@webkit.org>
  12357. Reviewed by Kenneth Rohde Christiansen.
  12358. Add additional WKString API
  12359. https://bugs.webkit.org/show_bug.cgi?id=46958
  12360. Add basic WKStringRef tests.
  12361. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
  12362. * TestWebKitAPI/Tests/WebKit2/WKString.cpp: Added.
  12363. 2010-10-01 Sam Weinig <sam@webkit.org>
  12364. Reviewed by Dan Bernstein.
  12365. Add makefile for TestWebKitAPI and call it from the base makefile.
  12366. * Makefile:
  12367. * TestWebKitAPI/Makefile: Added.
  12368. 2010-10-01 Sam Weinig <sam@webkit.org>
  12369. Reviewed by Adam Roben.
  12370. Remove unnecessary ForwardingHeaders from test runners.
  12371. https://bugs.webkit.org/show_bug.cgi?id=47010
  12372. * TestWebKitAPI/Configurations/Base.xcconfig:
  12373. * TestWebKitAPI/ForwardingHeaders: Removed.
  12374. * WebKitTestRunner/Configurations/Base.xcconfig:
  12375. * WebKitTestRunner/ForwardingHeaders: Removed.
  12376. 2010-09-30 Adam Barth <abarth@webkit.org>
  12377. Reviewed by Eric Seidel.
  12378. WebSocket tests are flaky
  12379. https://bugs.webkit.org/show_bug.cgi?id=46956
  12380. Update these tools to understand how to run the WebSocket tests off the
  12381. Apache server.
  12382. * Scripts/old-run-webkit-tests:
  12383. * Scripts/webkitpy/layout_tests/port/base.py:
  12384. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  12385. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  12386. 2010-10-01 Adam Roben <aroben@apple.com>
  12387. Encode Executive command arguments using UTF-8 on Cygwin
  12388. Cygwin's Python's os.execv doesn't support unicode command arguments.
  12389. Cygwin's execv expects arguments to be encoded using the current code
  12390. page. But code pages are limited in what characters they can handle,
  12391. and our tests include characters that the English code page can't
  12392. handle. So for now we'll just encode everything in UTF-8 on Cygwin,
  12393. which can handle all characters but might confuse some commands, for
  12394. expediency's sake. I'm sure we'll run into cases where UTF-8 isn't
  12395. good enough, but we can deal with that when the problem arises.
  12396. Reviewed by Adam Barth.
  12397. Fixes <http://webkit.org/b/46892> <rdar://problem/8496639>
  12398. webkitpy.common.system.executive_unittest.ExecutiveTest.test_run_command_with_unicode
  12399. fails on Windows
  12400. * Scripts/webkitpy/common/system/executive.py:
  12401. (Executive._run_command_with_teed_output):
  12402. (Executive.run_command):
  12403. On Cygwin, encode arguments using UTF-8.
  12404. 2010-10-01 Sam Weinig <sam@webkit.org>
  12405. Reviewed by Adam Roben.
  12406. Add simple API tester for WebKit2
  12407. https://bugs.webkit.org/show_bug.cgi?id=46953
  12408. This adds a very simple testing infrastructure for testing APIs exposed
  12409. through the WebKit project. It consists of two parts: 1) a project that
  12410. builds the all the tests 2) a script that searches the tests directory and
  12411. calls the tester once for each test.
  12412. This adds the infrastructure and two tests:
  12413. - Tests/WTF/Vector1.cpp - A proof of concept test of WTF data-structures.
  12414. - Tests/WebKit2/BasicTest1.cpp - A proof of concept test of WebKit2 API.
  12415. This currently only works on the mac, but is designed to be easily ported
  12416. to any platform.
  12417. * Scripts/run-api-tests: Added.
  12418. * Scripts/build-api-tests: Added.
  12419. Scripts to build/run the tests.
  12420. * TestWebKitAPI: Added.
  12421. * TestWebKitAPI/Configurations: Added.
  12422. * TestWebKitAPI/Configurations/Base.xcconfig: Added.
  12423. * TestWebKitAPI/Configurations/DebugRelease.xcconfig: Added.
  12424. * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig: Added.
  12425. * TestWebKitAPI/ForwardingHeaders: Added.
  12426. * TestWebKitAPI/ForwardingHeaders/wtf: Added.
  12427. * TestWebKitAPI/PlatformUtilities.h: Added.
  12428. * TestWebKitAPI/PlatformWebView.h: Added.
  12429. (TestWebKitAPI::PlatformWebView::platformView):
  12430. * TestWebKitAPI/StringFunctions.h: Added.
  12431. * TestWebKitAPI/Test.h: Added.
  12432. (TestWebKitAPI::Test::~Test):
  12433. (TestWebKitAPI::Test::name):
  12434. (TestWebKitAPI::Test::Register::Register):
  12435. (TestWebKitAPI::Test::Register::create):
  12436. (TestWebKitAPI::Test::Test):
  12437. * TestWebKitAPI/TestWebKitAPI.xcodeproj: Added.
  12438. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added.
  12439. * TestWebKitAPI/TestWebKitAPIPrefix.h: Added.
  12440. * TestWebKitAPI/TestsController.cpp: Added.
  12441. (TestWebKitAPI::TestsController::shared):
  12442. (TestWebKitAPI::TestsController::TestsController):
  12443. (TestWebKitAPI::TestsController::runTestNamed):
  12444. (TestWebKitAPI::TestsController::testFailed):
  12445. (TestWebKitAPI::TestsController::registerCreateTestFunction):
  12446. * TestWebKitAPI/TestsController.h: Added.
  12447. * TestWebKitAPI/mac: Added.
  12448. * TestWebKitAPI/mac/PlatformUtilitiesMac.mm: Added.
  12449. (TestWebKitAPI::Util::run):
  12450. (TestWebKitAPI::Util::createURLForResource):
  12451. * TestWebKitAPI/mac/PlatformWebViewMac.mm: Added.
  12452. (TestWebKitAPI::PlatformWebView::PlatformWebView):
  12453. (TestWebKitAPI::PlatformWebView::resizeTo):
  12454. (TestWebKitAPI::PlatformWebView::~PlatformWebView):
  12455. (TestWebKitAPI::PlatformWebView::page):
  12456. (TestWebKitAPI::PlatformWebView::focus):
  12457. * TestWebKitAPI/mac/main.mm: Added.
  12458. Infrastructure.
  12459. * TestWebKitAPI/Tests: Added.
  12460. * TestWebKitAPI/Tests/WTF: Added.
  12461. * TestWebKitAPI/Tests/WTF/Vector1.cpp: Added.
  12462. * TestWebKitAPI/Tests/WebKit2: Added.
  12463. * TestWebKitAPI/Tests/WebKit2/BasicTest1.cpp: Added.
  12464. (TestWebKitAPI::State::State):
  12465. * TestWebKitAPI/Tests/WebKit2/basic-1.html: Added.
  12466. Proof of concept tests.
  12467. 2010-10-01 Adam Roben <aroben@apple.com>
  12468. Don't assume AccessibleObjectFromEvent succeeds
  12469. Fixes <http://webkit.org/b/44136> <rdar://problem/8321684> Crash in
  12470. DumpRenderTree!notificationListenerProc when running
  12471. plugins/access-after-page-destroyed.html
  12472. Reviewed by Sam Weinig.
  12473. * DumpRenderTree/win/AccessibilityControllerWin.cpp:
  12474. (notificationListenerProc): Check both the return value of
  12475. AccessibleObjectFromEvent and the object it returns, as MSDN
  12476. recommends.
  12477. 2010-10-01 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  12478. Reviewed by Tony Chang.
  12479. [NRWT] Put the http and websocket tests first in the test list.
  12480. https://bugs.webkit.org/show_bug.cgi?id=46453
  12481. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  12482. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  12483. 2010-10-01 Fady Samuel <fsamuel@chromium.org>
  12484. Unreviewed, adding myself to the committer list.
  12485. * Scripts/webkitpy/common/config/committers.py:
  12486. 2010-10-01 Adam Roben <aroben@apple.com>
  12487. Test NPN_GetValue(NPNVnetscapeWindow)
  12488. Test for <http://webkit.org/b/46726> <rdar://problem/8486319>
  12489. Right-clicking on windowless Flash plugin in WebKit2 makes a context
  12490. menu appear in the bottom-right corner of the screen
  12491. Reviewed by Anders Carlsson.
  12492. * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
  12493. (PluginTest::NPN_GetValue): Added. Calls through to the browser.
  12494. * DumpRenderTree/TestNetscapePlugIn/PluginTest.h: Added NPN_GetValue.
  12495. * DumpRenderTree/TestNetscapePlugIn/Tests/win/GetValueNetscapeWindow.cpp: Added.
  12496. (GetValueNetscapeWindow::GetValueNetscapeWindow): Initialize members.
  12497. (GetValueNetscapeWindow::NPP_SetWindow): Test that
  12498. NPN_GetValue(NPNVnetscapeWindow) returns a valid HWND and that it
  12499. isn't our HWND.
  12500. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  12501. Added GetValueNetscapeWindow.
  12502. 2010-10-01 Andreas Kling <andreas.kling@nokia.com>
  12503. Unreviewed, adding my webkit.org identity to reviewer list.
  12504. * Scripts/webkitpy/common/config/committers.py:
  12505. 2010-09-30 Adam Barth <abarth@webkit.org>
  12506. Reviewed by Eric Seidel.
  12507. The WebSocket server should flush its logs
  12508. https://bugs.webkit.org/show_bug.cgi?id=46946
  12509. The WebSocket server logs are truncated because the driver just
  12510. terminates the child. It should run Python without buffering so we can
  12511. see the end of the log.
  12512. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  12513. 2010-09-30 Simon Fraser <simon.fraser@apple.com>
  12514. Add a button to jump to the next untested test.
  12515. * CSSTestSuiteHarness/harness/harness.css:
  12516. (.test-type):
  12517. (.name > button):
  12518. * CSSTestSuiteHarness/harness/harness.html:
  12519. * CSSTestSuiteHarness/harness/harness.js:
  12520. (Chapter.prototype.description):
  12521. (Chapter.prototype.untestedCount):
  12522. (TestSuite.prototype.testInfoDataLoaded):
  12523. (TestSuite.prototype.fillChapterPopup):
  12524. (TestSuite.prototype.updateChapterPopup):
  12525. (TestSuite.prototype.buildTestListForChapter):
  12526. (TestSuite.prototype.goToNextIncompleteTest):
  12527. (TestSuite.prototype.firstIncompleteTestIndex):
  12528. (TestSuite.prototype.testCompletionStateChanged):
  12529. 2010-09-29 Jon Honeycutt <jhoneycutt@apple.com>
  12530. WebKit2 on Windows should use Windows fonts for the various standard
  12531. font families
  12532. https://bugs.webkit.org/show_bug.cgi?id=43499
  12533. <rdar://problem/8272758>
  12534. Reviewed by Adam Roben.
  12535. * WebKitTestRunner/TestController.cpp:
  12536. (WTR::TestController::resetStateToConsistentValues):
  12537. Use the Mac fonts for running tests. This matches DRT behavior.
  12538. 2010-09-30 Adam Barth <abarth@webkit.org>
  12539. Third attempt. We need a better integration test environment.
  12540. * Scripts/webkitpy/common/net/failuremap.py:
  12541. * Scripts/webkitpy/common/net/failuremap_unittest.py:
  12542. 2010-09-30 Robert Hogan <robert@webkit.org>
  12543. Reviewed by Andreas Kling.
  12544. [Qt] Support for PlainTextController
  12545. Unskip editing/text-iterator/basic-iteration.html
  12546. https://bugs.webkit.org/show_bug.cgi?id=38805
  12547. * DumpRenderTree/qt/DumpRenderTree.pro:
  12548. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  12549. (WebCore::DumpRenderTree::DumpRenderTree):
  12550. (WebCore::DumpRenderTree::initJSObjects):
  12551. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  12552. * DumpRenderTree/qt/PlainTextControllerQt.cpp: Added.
  12553. (PlainTextController::PlainTextController):
  12554. (PlainTextController::plainText):
  12555. * DumpRenderTree/qt/PlainTextControllerQt.h: Added.
  12556. 2010-09-30 Adam Barth <abarth@webkit.org>
  12557. Unreviewed. Second attempt to fix sheriffbot.
  12558. * Scripts/webkitpy/common/net/buildbot.py:
  12559. 2010-09-30 Adam Barth <abarth@webkit.org>
  12560. Unreviewed.
  12561. This patch should stop the sheriffbot from throwing an exception.
  12562. * Scripts/webkitpy/common/net/buildbot.py:
  12563. 2010-09-30 Brian Weinstein <bweinstein@apple.com>
  12564. Reviewed by Adam Roben.
  12565. The same bots shouldn't run both Windows Debug Tests and Windows Release Tests.
  12566. https://bugs.webkit.org/show_bug.cgi?id=46926
  12567. * BuildSlaveSupport/build.webkit.org-config/config.json: Have two bots running Windows
  12568. Release Tests, and two bots running Windows Debug Tests, instead of four running both.
  12569. 2010-09-30 Adam Barth <abarth@webkit.org>
  12570. Reviewed by Eric Seidel.
  12571. webkit-patch find-flaky-tests should print results URLs
  12572. https://bugs.webkit.org/show_bug.cgi?id=46917
  12573. Printing out the results URL makes find-flaky-tests more actionable
  12574. because you can see what happens when a test fails. The output from
  12575. the script is still pretty noisy, but it seems useful.
  12576. * Scripts/webkitpy/tool/commands/queries.py:
  12577. 2010-09-30 Chris Marrin <cmarrin@apple.com>
  12578. Reviewed by Simon Fraser.
  12579. Make 2D accelerated canvas rendering build on Mac
  12580. https://bugs.webkit.org/show_bug.cgi?id=46007
  12581. Added ACCELERATED_2D_CANVAS to build-webkit
  12582. * Scripts/build-webkit:
  12583. 2010-09-29 Kenneth Russell <kbr@google.com>
  12584. Reviewed by Dimitri Glazkov.
  12585. [chromium] Add accelerated compositing support to DumpRenderTree and test_shell
  12586. https://bugs.webkit.org/show_bug.cgi?id=46849
  12587. Added offscreen code path for WebGraphicsContext3DDefaultImpl which
  12588. works with the compositor integration in both DumpRenderTree and
  12589. test_shell, since both pass a non-null WebCanvas* to WebViewImpl::paint
  12590. and thereby trigger the compositor's readback code path. Added support
  12591. for --enable-accelerated-compositing to DumpRenderTree.
  12592. Tested in both test_shell and DumpRenderTree on Linux, the latter by
  12593. modifying a compositing layout test, dumping the pixels and verifying
  12594. that they matched the output when the compositor was active.
  12595. * DumpRenderTree/chromium/DumpRenderTree.cpp:
  12596. (main):
  12597. * DumpRenderTree/chromium/TestShell.cpp:
  12598. (TestShell::TestShell):
  12599. (TestShell::resetWebSettings):
  12600. * DumpRenderTree/chromium/TestShell.h:
  12601. (TestShell::setAcceleratedCompositingEnabled):
  12602. * DumpRenderTree/chromium/WebPreferences.cpp:
  12603. (WebPreferences::reset):
  12604. (WebPreferences::applyTo):
  12605. * DumpRenderTree/chromium/WebPreferences.h:
  12606. * DumpRenderTree/chromium/WebViewHost.cpp:
  12607. (WebViewHost::scheduleComposite):
  12608. * DumpRenderTree/chromium/WebViewHost.h:
  12609. 2010-09-30 Adam Roben <aroben@apple.com>
  12610. Ensure that QueueEngine cleans up its log files when its delegate
  12611. tells it to stop processing work
  12612. Reviewed by Adam Barth.
  12613. Fixes <http://webkit.org/b/46891> <rdar://problem/8496638> Many tests
  12614. in webkitpy.tool.bot.queueengine_unittest.QueueEngineTest crash on
  12615. Windows
  12616. * Scripts/webkitpy/tool/bot/queueengine.py:
  12617. (QueueEngine.run): Stop ourselves normally (including cleaning up log
  12618. files) when the delegate tells us to stop processing work.
  12619. * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
  12620. (LoggingDelegate.__init__): Moved code here from
  12621. RaisingDelegate.__init__.
  12622. (LoggingDelegate.expeced_callbacks): Added the stop_work_queue
  12623. callback.
  12624. (LoggingDelegate.stop_work_queue): Moved here from RaisingDelegate.
  12625. (RaisingDelegate.__init__): Removed code that LoggingDelegate takes
  12626. care of for us now.
  12627. (QueueEngineTest.test_trivial): Make sure we got the expected stop
  12628. message.
  12629. (QueueEngineTest.test_not_safe_to_proceed): Changed to explicitly
  12630. remove the callbacks that are related to processing a single work
  12631. item, rather than removing all callbacks after a certain point, as
  12632. there are now more callbacks we expect to receive at the end.
  12633. 2010-09-30 Adam Roben <aroben@apple.com>
  12634. Fix path -> URL conversion on Cygwin
  12635. Reviewed by Adam Barth.
  12636. Fixes <http://webkit.org/b/46890> <rdar://problem/8496637> Many tests
  12637. in webkitpy.layout_tests.run_webkit_tests_unittest assert on Windows
  12638. * Scripts/webkitpy/layout_tests/port/base.py:
  12639. (Port.filename_to_uri): Treat Cygwin like other UNIX-y platforms by
  12640. assuming paths already have a leading slash.
  12641. 2010-09-30 Adam Roben <aroben@apple.com>
  12642. Teach WindowGeometryInitializedBeforeSetWindow that NPP_SetWindow can
  12643. be called more than once
  12644. The NPP_SetWindow call made when the plugin is torn down was confusing
  12645. us, and was causing us to spew an error into the next test.
  12646. Fixes <http://webkit.org/b/46900> <rdar://problem/8496888> REGRESSION
  12647. (r68520): plugins/access-after-page-destroyed.html failing on Windows
  12648. Reviewed by Anders Carlsson.
  12649. * DumpRenderTree/TestNetscapePlugIn/Tests/win/WindowGeometryInitializedBeforeSetWindow.cpp:
  12650. (WindowGeometryInitializedBeforeSetWindow::WindowGeometryInitializedBeforeSetWindow):
  12651. Initialize member.
  12652. (WindowGeometryInitializedBeforeSetWindow::NPP_SetWindow): Bail if
  12653. this isn't the first time this is called.
  12654. 2010-09-30 Eric Seidel <eric@webkit.org>
  12655. Reviewed by Adam Barth.
  12656. webkit-patch upload warns that I'm using Xcode when I'm not
  12657. https://bugs.webkit.org/show_bug.cgi?id=46869
  12658. String.find returns -1 when not found, so switched to "in".
  12659. * Scripts/webkitpy/common/system/user.py:
  12660. * Scripts/webkitpy/common/system/user_unittest.py:
  12661. 2010-09-30 Eric Seidel <eric@webkit.org>
  12662. Reviewed by Adam Barth.
  12663. webkit-patch failure-reason dies if non-trunk commits are in the blame range
  12664. https://bugs.webkit.org/show_bug.cgi?id=46866
  12665. I also made failure-reason use RegressionWindow in a cleaner way.
  12666. * Scripts/webkitpy/tool/commands/queries.py:
  12667. 2010-09-29 Adam Barth <abarth@webkit.org>
  12668. Reviewed by Eric Seidel.
  12669. webkit-patch find-flaky-tests
  12670. https://bugs.webkit.org/show_bug.cgi?id=46876
  12671. This command helps us find flaky tests so we can squash them.
  12672. * Scripts/webkitpy/tool/commands/queries.py:
  12673. 2010-09-29 Simon Fraser <simon.fraser@apple.com>
  12674. Fix export to use '?' instead of 'null' for
  12675. tests with no results.
  12676. * CSSTestSuiteHarness/harness/harness.js:
  12677. 2010-09-29 Simon Fraser <simon.fraser@apple.com>
  12678. Add a warning when a test requires special steps.
  12679. Add a Print Preview button for 'paged' tests that
  12680. brings up the print dialog, allowing the user to
  12681. judge paged media tests.
  12682. * CSSTestSuiteHarness/harness/harness.css:
  12683. * CSSTestSuiteHarness/harness/harness.html:
  12684. * CSSTestSuiteHarness/harness/harness.js:
  12685. (TestSuite.prototype.loadTest):
  12686. (TestSuite.prototype.processFlags):
  12687. 2010-09-29 Adam Barth <abarth@webkit.org>
  12688. Reviewed by Eric Seidel.
  12689. Remove revisions_casuing_failures
  12690. https://bugs.webkit.org/show_bug.cgi?id=46872
  12691. This function exists only to be unit tested.
  12692. * Scripts/webkitpy/common/net/failuremap.py:
  12693. * Scripts/webkitpy/common/net/failuremap_unittest.py:
  12694. * Scripts/webkitpy/tool/mocktool.py:
  12695. 2010-09-29 Adam Barth <abarth@webkit.org>
  12696. Reviewed by Eric Seidel.
  12697. SheriffBot should post the list of failing tests to bugs
  12698. https://bugs.webkit.org/show_bug.cgi?id=46871
  12699. * Scripts/webkitpy/common/net/buildbot.py:
  12700. * Scripts/webkitpy/common/net/failuremap.py:
  12701. * Scripts/webkitpy/common/net/regressionwindow.py:
  12702. * Scripts/webkitpy/tool/bot/sheriff.py:
  12703. * Scripts/webkitpy/tool/bot/sheriff_unittest.py:
  12704. * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
  12705. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  12706. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  12707. * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
  12708. * Scripts/webkitpy/tool/commands/upload_unittest.py:
  12709. * Scripts/webkitpy/tool/mocktool.py:
  12710. 2010-09-29 Brent Fulgham <bfulgham@webkit.org>
  12711. Reviewed by Martin Robinson, Eric Seidel, and Mark Rowe.
  12712. [WinCairo] Adds a build slave.
  12713. https://bugs.webkit.org/show_bug.cgi?id=46360
  12714. * BuildSlaveSupport/build.webkit.org-config/config.json: Add
  12715. entries for a debug build of the WinCairo port.
  12716. * BuildSlaveSupport/build.webkit.org-config/master.cfg: Add
  12717. platform flag to configuration for wincairo (like gtk, chromium, etc.)
  12718. * Scripts/build-webkit: Change 'cairo-win32' labeling to 'wincairo'
  12719. * Scripts/webkitdirs.pm: Change 'cairo-win32' labeling to 'wincairo'
  12720. 2010-09-29 Adam Barth <abarth@webkit.org>
  12721. Reviewed by Eric Seidel.
  12722. Move more SheriffBot smarts into FailureMap
  12723. https://bugs.webkit.org/show_bug.cgi?id=46703
  12724. This patch pushes the FailureMap model object further into the
  12725. SheriffBot machine. In addition, it moves a couple operations on this
  12726. object from SheriffBot itself to the model.
  12727. Eventually, FailureMap will be the canonical context object for
  12728. SheriffBot operations. FailureMap represents a map of the current
  12729. failures on the bots that might require remediation.
  12730. * Scripts/webkitpy/common/net/failuremap.py:
  12731. * Scripts/webkitpy/common/net/regressionwindow.py:
  12732. * Scripts/webkitpy/tool/commands/queries.py:
  12733. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  12734. * Scripts/webkitpy/tool/mocktool.py:
  12735. 2010-09-29 Tony Chang <tony@chromium.org>
  12736. Reviewed by James Robinson.
  12737. [chromium] enable -Werror for DRT and webkit_unit_tests on Linux
  12738. https://bugs.webkit.org/show_bug.cgi?id=46829
  12739. * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
  12740. (DRTDevToolsClient::DRTDevToolsClient):
  12741. * DumpRenderTree/chromium/TestShell.cpp:
  12742. (TestShell::TestShell):
  12743. * DumpRenderTree/chromium/WebViewHost.cpp:
  12744. (WebViewHost::postAccessibilityNotification):
  12745. (WebViewHost::WebViewHost):
  12746. 2010-09-29 Chris Fleizach <cfleizach@apple.com>
  12747. Reviewed by Darin Adler.
  12748. AX: implement CSS3 Speech "speak"
  12749. https://bugs.webkit.org/show_bug.cgi?id=46827
  12750. * DumpRenderTree/AccessibilityUIElement.cpp:
  12751. (speakCallback):
  12752. (AccessibilityUIElement::speak):
  12753. (AccessibilityUIElement::getJSClass):
  12754. * DumpRenderTree/AccessibilityUIElement.h:
  12755. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  12756. (AccessibilityUIElement::speak):
  12757. 2010-09-29 Mihai Parparita <mihaip@chromium.org>
  12758. Reviewed by Adam Barth.
  12759. Record bot ID when updating queue status
  12760. https://bugs.webkit.org/show_bug.cgi?id=46764
  12761. Since we now have multiple bots handling patches from the commit queue,
  12762. we need to differentiate status updates from them, so that we can group
  12763. the queue status page in a less confusing way.
  12764. * QueueStatusServer/handlers/updatestatus.py: Accept bot_id as input
  12765. * QueueStatusServer/model/queuestatus.py: Add bot_id property
  12766. * QueueStatusServer/templates/updatestatus.html: Add bot_id input
  12767. * Scripts/webkitpy/common/net/bugzilla_unittest.py: Extract MockBrowser
  12768. * Scripts/webkitpy/common/net/statusserver.py: Add bot_id
  12769. * Scripts/webkitpy/common/net/statusserver_unittest.py: Added.
  12770. * Scripts/webkitpy/tool/main.py: Add --bot-id
  12771. * Scripts/webkitpy/tool/mocktool.py: Add MockBrowser
  12772. 2010-09-29 Simon Fraser <simon.fraser@apple.com>
  12773. No review.
  12774. References always refert to a file in .xht format, even
  12775. for HTML tests, so fix their loading.
  12776. * CSSTestSuiteHarness/harness/harness.js:
  12777. (TestSuite.prototype.loadRef):
  12778. 2010-09-28 Johnny Ding <jnd@chromium.org>
  12779. Reviewed by Adam Barth.
  12780. https://bugs.webkit.org/show_bug.cgi?id=41292
  12781. Add a new parameter to the test plugin to allow specifying a script
  12782. and a mouse/keyboard event. The specified script will be evaluated
  12783. in the browser when the specified event is received by the plugin.
  12784. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
  12785. (pluginAllocate):
  12786. * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
  12787. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  12788. (NPP_New):
  12789. (handleEventCarbon):
  12790. (handleEventCocoa):
  12791. 2010-09-28 Simon Fraser <simon.fraser@apple.com>
  12792. Fix export by adding missing argument.
  12793. * CSSTestSuiteHarness/harness/harness.js:
  12794. (TestSuite.prototype.showResultsForAllTests):
  12795. 2010-09-28 Kevin Ollivier <kevino@theolliviers.com>
  12796. [wx] Build fix, add missing import.
  12797. * wx/packaging/build-win-installer.py:
  12798. 2010-09-28 Simon Fraser <simon.fraser@apple.com>
  12799. No review
  12800. Show which tests have been run by dimming them out in the test list.
  12801. Adjust some element sizes.
  12802. * CSSTestSuiteHarness/harness/harness.css:
  12803. (#test-list > option.untested):
  12804. (#test-list > option.completed):
  12805. (#output):
  12806. (.output-options):
  12807. * CSSTestSuiteHarness/harness/harness.js:
  12808. (Test):
  12809. (TestSuite.prototype.fillTestList):
  12810. (TestSuite.prototype.updateTestList):
  12811. (TestSuite.prototype.setSelectedChapter):
  12812. (TestSuite.prototype.recordResult):
  12813. (TestSuite.prototype.markTestCompleted):
  12814. (TestSuite.prototype.testCompletionStateChanged):
  12815. (TestSuite.prototype.loadTestStatus):
  12816. 2010-09-28 Simon Fraser <simon.fraser@apple.com>
  12817. No review.
  12818. Implement export of various queries on the test database, sharing
  12819. code with that which displays results inline.
  12820. * CSSTestSuiteHarness/harness/harness.js:
  12821. ():
  12822. (TestSuite.prototype.exportResultsCompletion.var):
  12823. (TestSuite.prototype.exportResultsCompletion):
  12824. (TestSuite.prototype.showResultsForCompletedTests):
  12825. (TestSuite.prototype.exportResultsForCompletedTests):
  12826. (TestSuite.prototype.showResultsForAllTests):
  12827. (TestSuite.prototype.exportResultsForAllTests):
  12828. (TestSuite.prototype.exportResultsForTestsNotRun):
  12829. (TestSuite.prototype.exportResultsForTestsWithStatus):
  12830. (TestSuite.prototype.exportResultsForTestsWithMismatchedResults):
  12831. 2010-09-28 Simon Fraser <simon.fraser@apple.com>
  12832. No review.
  12833. Work around uncertainty about the order of database
  12834. transactions when creating the database, so that we don't
  12835. try to query the table before it has been created.
  12836. * CSSTestSuiteHarness/harness/harness.js:
  12837. (TestSuite):
  12838. (TestSuite.prototype.databaseCreated):
  12839. (TestSuite.prototype.storeTestResult):
  12840. (TestSuite.prototype.populateDatabaseFromTestInfoData):
  12841. (TestSuite.prototype.queryDatabaseForTestsWithStatus):
  12842. (TestSuite.prototype.queryDatabaseForTestsWithMixedStatus):
  12843. (TestSuite.prototype.queryDatabaseForCompletedTests):
  12844. (TestSuite.prototype.queryDatabaseForTestsNotRun):
  12845. 2010-09-28 Tony Chang <tony@chromium.org>
  12846. Reviewed by Eric Seidel.
  12847. add python keyring support to webkit-patch
  12848. https://bugs.webkit.org/show_bug.cgi?id=41269
  12849. * Scripts/webkitpy/common/net/credentials.py: Add the ability to read passwords using
  12850. the python keyring module
  12851. * Scripts/webkitpy/common/net/credentials_unittest.py:
  12852. * Scripts/webkitpy/common/system/user.py: Allow confirm() to default to no and add testing params.
  12853. * Scripts/webkitpy/common/system/user_unittest.py:
  12854. * Scripts/webkitpy/tool/mocktool.py:
  12855. 2010-09-28 Martin Robinson <mrobinson@igalia.com>
  12856. Reviewed by Gustavo Noronha Silva.
  12857. [Cairo] FreeType fonts should obey FontConfig hinting/anti-aliasing settings
  12858. https://bugs.webkit.org/show_bug.cgi?id=46740
  12859. * DumpRenderTree/gtk/fonts/fonts.conf: Add specialized variants of common
  12860. fonts which can be used to fully test FontConfig rendering settings.
  12861. 2010-09-28 Martin Robinson <mrobinson@igalia.com>
  12862. Reviewed by Gustavo Noronha Silva.
  12863. [gtk] Fedora has a different path for the liberation fonts
  12864. https://bugs.webkit.org/show_bug.cgi?id=46709
  12865. When searching for DRT fonts, also look in the path where those fonts
  12866. are commonly found on Fedora systems.
  12867. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  12868. (initializeFonts): Include logic for looking for Fedora-style font paths.
  12869. 2010-09-28 Martin Robinson <mrobinson@igalia.com>
  12870. Reviewed by Andreas Kling.
  12871. run-webkit-tests needs an updated list of directories with webgl tests
  12872. https://bugs.webkit.org/show_bug.cgi?id=46747
  12873. Update the list of directories containing WebGL tests and a unit test
  12874. which depends on this list.
  12875. * Scripts/old-run-webkit-tests: Update the list of directories.
  12876. * Scripts/webkitpy/layout_tests/port/webkit.py: Ditto.
  12877. * Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Update the expected result.
  12878. 2010-09-28 Adam Barth <abarth@webkit.org>
  12879. Reviewed by Eric Seidel.
  12880. Introduce FailureMap to summaries the failures status of all the bots
  12881. https://bugs.webkit.org/show_bug.cgi?id=46700
  12882. This patch gives the SheriffBot a handle on the list of failing tests.
  12883. * Scripts/webkitpy/common/net/buildbot.py:
  12884. * Scripts/webkitpy/common/net/failuremap.py: Added.
  12885. * Scripts/webkitpy/tool/commands/queries.py:
  12886. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  12887. * Scripts/webkitpy/tool/mocktool.py:
  12888. 2010-09-28 Adam Roben <aroben@apple.com>
  12889. Update for the addition of WKPageUIClient::didNotHandleKeyEvent
  12890. Fixes <http://webkit.org/b/46660> <rdar://problem/8483465> Need API to
  12891. tell a WebKit2 client application that a key event was not handled
  12892. Reviewed by Kenneth Rohde Christiansen and Sam Weinig.
  12893. * MiniBrowser/mac/BrowserWindowController.m:
  12894. (-[BrowserWindowController awakeFromNib]):
  12895. * MiniBrowser/win/BrowserView.cpp:
  12896. (BrowserView::create):
  12897. * WebKitTestRunner/TestController.cpp:
  12898. (WTR::createOtherPage):
  12899. (WTR::TestController::initialize):
  12900. 2010-09-28 Simon Fraser <simon.fraser@apple.com>
  12901. Unreviewed.
  12902. Update the CSSTestSuiteHarness to not scrape the XHTML chapter files
  12903. for the test order, but instead use information from testinfo.data.
  12904. * CSSTestSuiteHarness/harness/harness.html:
  12905. * CSSTestSuiteHarness/harness/harness.js:
  12906. 2010-09-28 Kevin Ollivier <kevino@theolliviers.com>
  12907. [wx] Build fix, don't try to get the svn revision from the git repo when packaging,
  12908. it causes the process to hang on the gitorious repo.
  12909. * wx/packaging/build-mac-installer.py:
  12910. * wx/packaging/build-win-installer.py:
  12911. 2010-09-28 Adam Roben <aroben@apple.com>
  12912. Test that a plugin's HWND is sized/positioned before NPP_SetWindow is
  12913. called
  12914. Reviewed by Anders Carlsson.
  12915. Test for <http://webkit.org/b/46716> <rdar://problem/8482014>
  12916. Full-page Adobe Reader does not paint until window is resized
  12917. * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
  12918. (PluginTest::NPP_SetWindow): Added. Just returns NPERR_NO_ERROR at
  12919. this level.
  12920. * DumpRenderTree/TestNetscapePlugIn/PluginTest.h: Declared
  12921. NPP_SetWindow.
  12922. * DumpRenderTree/TestNetscapePlugIn/Tests/win/WindowGeometryInitializedBeforeSetWindow.cpp: Added.
  12923. (WindowGeometryInitializedBeforeSetWindow::NPP_SetWindow): Checks that
  12924. the plugin's HWND has a non-zero size and that its size/position
  12925. matches that specified in the NPWindow.
  12926. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  12927. (NPP_SetWindow): Call through to the PluginTest.
  12928. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  12929. Added WindowGeometryInitializedBeforeSetWindow.cpp, and let VS reorder
  12930. the files as it saw fit.
  12931. 2010-09-28 Benjamin Poulain <benjamin.poulain@nokia.com>
  12932. Reviewed by Andreas Kling.
  12933. [Qt] Remove support for Qt 4.5
  12934. https://bugs.webkit.org/show_bug.cgi?id=46718
  12935. Remove the code for versions of Qt prior to 4.6.
  12936. * DumpRenderTree/qt/EventSenderQt.cpp:
  12937. (EventSender::addTouchPoint):
  12938. (EventSender::updateTouchPoint):
  12939. (EventSender::setTouchModifier):
  12940. (EventSender::touchStart):
  12941. (EventSender::touchMove):
  12942. (EventSender::touchEnd):
  12943. (EventSender::clearTouchPoints):
  12944. (EventSender::releaseTouchPoint):
  12945. (EventSender::sendTouchEvent):
  12946. * DumpRenderTree/qt/EventSenderQt.h:
  12947. * DumpRenderTree/qt/TextInputControllerQt.cpp:
  12948. (TextInputController::setMarkedText):
  12949. * QtTestBrowser/launcherwindow.cpp:
  12950. (LauncherWindow::LauncherWindow):
  12951. (LauncherWindow::initializeView):
  12952. (LauncherWindow::createChrome):
  12953. (LauncherWindow::sendTouchEvent):
  12954. (LauncherWindow::eventFilter):
  12955. (LauncherWindow::applyZoom):
  12956. (LauncherWindow::setTouchMocking):
  12957. * QtTestBrowser/launcherwindow.h:
  12958. * QtTestBrowser/utils.cpp:
  12959. (urlFromUserInput):
  12960. * QtTestBrowser/webview.cpp:
  12961. (WebViewGraphicsBased::animatedFlip):
  12962. (WebViewGraphicsBased::animatedYFlip):
  12963. * QtTestBrowser/webview.h:
  12964. (WebViewGraphicsBased::setYRotation):
  12965. 2010-09-28 İsmail Dönmez <ismail@namtrac.org>
  12966. Reviewed by Andreas Kling.
  12967. Fix DRT compilation on WinCE. Introduce a WCECOMPAT variable
  12968. which should point to wcecompat installation. Needs wcecompat
  12969. library from http://github.com/mauricek/wcecompat .
  12970. * DumpRenderTree/qt/DumpRenderTree.pro:
  12971. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  12972. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
  12973. 2010-09-28 Daniel Bates <dbates@rim.com>
  12974. Rollout changeset 68493 <http://trac.webkit.org/changeset/68493>
  12975. <https://bugs.webkit.org/show_bug.cgi?id=39136>
  12976. Rollout changeset 68493 because it broke Sheriffbot's rollout feature.
  12977. In particular, this change caused Sheriffbot to raise an exception when
  12978. trying to parse the bug id on a bug page. We need to look into this
  12979. some more.
  12980. * Scripts/webkitpy/common/net/bugzilla.py:
  12981. * Scripts/webkitpy/common/net/bugzilla_unittest.py:
  12982. * Scripts/webkitpy/tool/bot/sheriff.py:
  12983. * Scripts/webkitpy/tool/commands/download.py:
  12984. * Scripts/webkitpy/tool/commands/queues.py:
  12985. * Scripts/webkitpy/tool/commands/upload.py:
  12986. * Scripts/webkitpy/tool/steps/closebug.py:
  12987. * Scripts/webkitpy/tool/steps/obsoletepatches.py:
  12988. * Scripts/webkitpy/tool/steps/preparechangelog.py:
  12989. * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
  12990. 2010-09-28 Adam Barth <abarth@webkit.org>
  12991. Reviewed by Eric Seidel.
  12992. Move RegressionWindow further up the dependency chain
  12993. https://bugs.webkit.org/show_bug.cgi?id=46698
  12994. Baby steps towards pushing this information into bug posts.
  12995. * Scripts/webkitpy/common/net/buildbot.py:
  12996. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  12997. * Scripts/webkitpy/common/net/regressionwindow.py:
  12998. * Scripts/webkitpy/tool/commands/queries.py:
  12999. 2010-09-27 Daniel Bates <dbates@rim.com>
  13000. Reviewed by Adam Barth.
  13001. sheriffbot can't roll out security patches
  13002. https://bugs.webkit.org/show_bug.cgi?id=39136
  13003. Make SheriffBot determine if it's authorized to view a bug
  13004. whose change it wants to rollout before it tries to rollout
  13005. the change.
  13006. Moreover, make both webkit-patch and Sheriffbot provide human-
  13007. readable error messages when they are not authorized to view
  13008. a bug and when a bug number is invalid.
  13009. Currently, Sheriffbot does not parse Bugzilla bugs for
  13010. <bug error="...">, which indicates an error when retrieving
  13011. a bug. In particular, error="NotPermitted" if a person (or bot)
  13012. is not authorized to view a bug. For such error="NotPermitted" bugs,
  13013. Sheriffbot raises an exception when parsing the bug report and
  13014. this exception does not explicitly indicate Sheriffbot's lack
  13015. of authorization. Instead, Sheriffbot should explicitly check
  13016. for the presence <bug error="..."> before operating on a bug
  13017. and error with a human-readable message if it's not permitted
  13018. to view it.
  13019. * Scripts/webkitpy/common/net/bugzilla.py: Added BugzillaError class.
  13020. * Scripts/webkitpy/common/net/bugzilla_unittest.py:
  13021. - Added unit test test_bug_parsing_for_bugzilla_not_permitted_error().
  13022. - Added unit test test_bug_parsing_for_bugzilla_not_found_error().
  13023. - Added unit test test_bug_parsing_for_bugzilla_invalid_bug_id_error().
  13024. * Scripts/webkitpy/tool/bot/sheriff.py: Modified to catch BugzillaError.
  13025. * Scripts/webkitpy/tool/commands/download.py: Ditto.
  13026. * Scripts/webkitpy/tool/commands/queues.py: Ditto.
  13027. * Scripts/webkitpy/tool/commands/upload.py: Ditto.
  13028. * Scripts/webkitpy/tool/steps/closebug.py: Ditto.
  13029. * Scripts/webkitpy/tool/steps/obsoletepatches.py: Ditto.
  13030. * Scripts/webkitpy/tool/steps/preparechangelog.py: Ditto.
  13031. * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py: Ditto.
  13032. 2010-09-27 Adam Barth <abarth@webkit.org>
  13033. Reviewed by Eric Seidel.
  13034. Expose more more failure information from Buildbot to SheriffBot
  13035. https://bugs.webkit.org/show_bug.cgi?id=46697
  13036. This patch moves the information about what tests failured closer to
  13037. SheriffBot. There are still a couple more patches to go before
  13038. SheriffBot can post this information to bugs, but this is a step in
  13039. that direction. Yay for unit tests, which caught some bugs in earlier
  13040. versions of this patch.
  13041. * Scripts/webkitpy/common/net/buildbot.py:
  13042. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  13043. * Scripts/webkitpy/common/net/regressionwindow.py: Added.
  13044. * Scripts/webkitpy/tool/commands/queries.py:
  13045. 2010-09-27 Eric Seidel <eric@webkit.org>
  13046. Unreviewed. Fixing 500 error seen in the status server.
  13047. It turns out that a = b = []; b.append(1); then a[0] will be 1!
  13048. This should have been obvious to me, I guess, but it was not what I was expecting.
  13049. * QueueStatusServer/model/activeworkitems.py:
  13050. 2010-09-27 Adam Barth <abarth@webkit.org>
  13051. Reviewed by Eric Seidel.
  13052. commit-queue should reject patches that fail to land
  13053. https://bugs.webkit.org/show_bug.cgi?id=46694
  13054. This can happen, for example, if there's no reviewer. Without this
  13055. patch, we'll keep retrying the patch.
  13056. * Scripts/webkitpy/tool/bot/commitqueuetask.py:
  13057. * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
  13058. 2010-09-27 Simon Fraser <simon.fraser@apple.com>
  13059. Rubber-stamped by Adele Peterson.
  13060. Add a harness for running the CSS 2.1 test suite.
  13061. This harness assumes that you've got a local a copy of the suite
  13062. adjacent to the 'harness' directory.
  13063. The harness lets you go through the tests in chapter order,
  13064. denoting pass/fail/skipped for each test.
  13065. It uses a client-side database to store the results of testing.
  13066. * CSSTestSuiteHarness/harness/harness.css: Added.
  13067. * CSSTestSuiteHarness/harness/harness.html: Added.
  13068. * CSSTestSuiteHarness/harness/harness.js: Added.
  13069. 2010-09-27 Eric Seidel <eric@webkit.org>
  13070. Reviewed by Adam Barth.
  13071. Patch locks should expire if a patch is marked for retry
  13072. https://bugs.webkit.org/show_bug.cgi?id=46682
  13073. This was part Adam's original CommitQueueTask design,
  13074. but support for it was missing from the server.
  13075. I added the support, but triggering lock-release based on this
  13076. special "retry" status feels a bit strange so I added a FIXME.
  13077. I also changed the text in queuestatus.html to say "Lock Acquired"
  13078. since "Last Activity" isn't really true. We only update the lock
  13079. date when the patch is started, not on every status update.
  13080. I also noticed an exception in next-patch, which I fixed by re-writing
  13081. the unzip logic in activeworkitems.py again.
  13082. * QueueStatusServer/handlers/updatestatus.py:
  13083. * QueueStatusServer/model/activeworkitems.py:
  13084. * QueueStatusServer/templates/queuestatus.html:
  13085. 2010-09-27 Tony Chang <tony@chromium.org>
  13086. Reviewed by David Levin.
  13087. [chromium] fix a warning when compiling DRT on 32-bit linux
  13088. https://bugs.webkit.org/show_bug.cgi?id=46641
  13089. * DumpRenderTree/chromium/TestEventPrinter.cpp:
  13090. (DRTPrinter::handleImage):
  13091. 2010-09-27 Eric Seidel <eric@webkit.org>
  13092. Reviewed by Adam Barth.
  13093. queue-status should report when the patch was last locked to a queue
  13094. https://bugs.webkit.org/show_bug.cgi?id=46674
  13095. This isn't necessarily the best way to expose this information
  13096. but having this accessible via the web interface is very
  13097. useful until we come up with a nicer way to display this.
  13098. I also cleaned up the code in activeworkitems.py a little
  13099. to use list comprehensions and to have the code work with
  13100. pairs instead of two lists at once. Eventually I think those
  13101. item/time pairs need to be their own little helper class.
  13102. * QueueStatusServer/handlers/queuestatus.py:
  13103. * QueueStatusServer/model/activeworkitems.py:
  13104. * QueueStatusServer/templates/queuestatus.html:
  13105. 2010-09-27 Tony Chang <tony@chromium.org>
  13106. Reviewed by David Levin.
  13107. [chromium] fix detection of missing fonts on DRT
  13108. https://bugs.webkit.org/show_bug.cgi?id=46651
  13109. * DumpRenderTree/chromium/TestShellGtk.cpp:
  13110. (setupFontconfig): Only print an error message if lohit isn't found in both locations.
  13111. 2010-09-27 Tony Chang <tony@chromium.org>
  13112. Reviewed by Dimitri Glazkov.
  13113. add webkit unit tests to the chromium testers
  13114. https://bugs.webkit.org/show_bug.cgi?id=46669
  13115. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  13116. * Scripts/run-chromium-webkit-unit-tests: Fix a bug where we weren't using the right configuration.
  13117. 2010-09-27 Kwang Yul Seo <skyul@company100.net>
  13118. Unreviewed.
  13119. Adding myself to the committers list.
  13120. * Scripts/webkitpy/common/config/committers.py:
  13121. 2010-09-27 Mihai Parparita <mihaip@chromium.org>
  13122. Reviewed by Eric Seidel.
  13123. webkitpy.common.system.user_unittest.UserTest.test_prompt_with_list spams the console
  13124. https://bugs.webkit.org/show_bug.cgi?id=46634
  13125. Use OutputCapture to prevent console spam (and also check for expected
  13126. output).
  13127. * Scripts/webkitpy/common/system/user_unittest.py:
  13128. 2010-09-27 Eric Seidel <eric@webkit.org>
  13129. Reviewed by James Robinson.
  13130. start-commit-queue should abort any rebases in progress
  13131. https://bugs.webkit.org/show_bug.cgi?id=46640
  13132. webkit-patch commit-queue would do this itself, but this just
  13133. helps ensure that the commit-queue script is properly updated
  13134. before we run it (in the case where a previous rebase is in
  13135. progress the git svn rebase would not work before we run the
  13136. commit-queue).
  13137. * EWSTools/start-commit-queue.sh:
  13138. 2010-09-18 Martin Robinson <mrobinson@igalia.com>
  13139. Reviewed by Gustavo Noronha Silva.
  13140. [GTK] Clean up the DRT fonts.conf and switch to Liberation
  13141. https://bugs.webkit.org/show_bug.cgi?id=46038
  13142. Switch to Liberation fonts for GTK+ layout tests. This will make our
  13143. test results metric-compatible with many Windows/Chromium results. It
  13144. also simplifies the fonts.conf that we load and prepares the way for
  13145. fixing many font bugs.
  13146. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  13147. (initializeFonts): Initialize a known list of fonts instead of loading
  13148. every font in the WEBKIT_TESTFONTS directory.
  13149. * DumpRenderTree/gtk/fonts.conf: Removed.
  13150. * DumpRenderTree/gtk/fonts/AHEM____.TTF: Copied from WebKitTools/DumpRenderTree/qt/fonts/AHEM____.TTF.
  13151. * DumpRenderTree/gtk/fonts/fonts.conf: Added.
  13152. * GNUmakefile.am: Modify FONTS_CONF_FILE to be FONTS_CONF_DIR, so that
  13153. we can load both fonts.conf and AHEM____.TTF from this location.
  13154. * Scripts/old-run-webkit-tests: Remove the check for WEBKIT_TESTFONTS, since
  13155. it is no longer used.
  13156. 2010-09-26 Mihai Parparita <mihaip@chromium.org>
  13157. Reviewed by Ojan Vafai.
  13158. new-run-webkit-httpd fails if Perl is not installed
  13159. https://bugs.webkit.org/show_bug.cgi?id=46602
  13160. Make Port._read_configuration catch all exceptions, since trying to run
  13161. perl (because of _webkit_build_directory) when it's not installed throws
  13162. a WindowsError or OSError, not an IOError (this became an issue after
  13163. r68268, since ChromiumPort ends up calling Port.default_configuration in
  13164. its constructor, which means that we're ending up on this codepath in
  13165. non-NRWT cases too, e.g. for the Chromium NaCl tests, which use
  13166. new-run-webkit-httpd).
  13167. * Scripts/webkitpy/layout_tests/port/base.py:
  13168. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  13169. 2010-09-26 Gyuyoung Kim <gyuyoung.kim@samsung.com>
  13170. Reviewed by Antonio Gomes.
  13171. [EFL] Add setting API to set a local storage database path.
  13172. https://bugs.webkit.org/show_bug.cgi?id=45446
  13173. Add a setting API to set local storage database path.
  13174. * EWebLauncher/main.c:
  13175. (on_key_down):
  13176. (browserCreate):
  13177. (main):
  13178. 2010-09-26 Sam Weinig <sam@webkit.org>
  13179. Reviewed by Anders Carlsson.
  13180. Move shared WebKit2 API (used by both bundle and main API) to WebKit2/Shared/API
  13181. https://bugs.webkit.org/show_bug.cgi?id=46587
  13182. * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
  13183. 2010-09-26 Antonio Gomes <agomes@rim.com>
  13184. Reviewed by Kenneth Rohde Christiansen.
  13185. DRT/Mac nodesFromRect support
  13186. [Mac][DRT] Implement LayoutTestController::nodesFromRect
  13187. https://bugs.webkit.org/show_bug.cgi?id=46580
  13188. Implements LayoutTestController::nodesFromRect for Mac DRT, and
  13189. adding stubs for GTK+ and Windows.
  13190. * DumpRenderTree/LayoutTestController.cpp:
  13191. (nodesFromRectCallback):
  13192. (LayoutTestController::staticFunctions):
  13193. * DumpRenderTree/LayoutTestController.h:
  13194. (LayoutTestController::LayoutTestController::nodesFromRect):
  13195. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  13196. (LayoutTestController::nodesFromRect):
  13197. 2010-09-25 Nicolas Weber <thakis@chromium.org>
  13198. Reviewed by Adam Barth.
  13199. https://bugs.webkit.org/show_bug.cgi?id=46555
  13200. Fix typo in prepare-ChangeLog's help output.
  13201. * Scripts/prepare-ChangeLog:
  13202. 2010-09-24 Sam Weinig <sam@webkit.org>
  13203. Reviewed by Darin Adler.
  13204. Implement WebKit2 callback equivalent to -[WebUIDelegate mouseDidMoveOverElement:modifierFlags:]
  13205. <rdar://problem/8359279>
  13206. https://bugs.webkit.org/show_bug.cgi?id=46546
  13207. * MiniBrowser/mac/BrowserWindowController.m:
  13208. (mouseDidMoveOverElement):
  13209. (-[BrowserWindowController awakeFromNib]):
  13210. * MiniBrowser/win/BrowserView.cpp:
  13211. (mouseDidMoveOverElement):
  13212. (BrowserView::create):
  13213. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  13214. (WTR::InjectedBundlePage::InjectedBundlePage):
  13215. * WebKitTestRunner/TestController.cpp:
  13216. (WTR::createOtherPage):
  13217. (WTR::TestController::initialize):
  13218. 2010-09-24 Mihai Parparita <mihaip@chromium.org>
  13219. Reviewed by Adam Barth.
  13220. Allow rebaselines for webkit-patch rebaseline to be chosen
  13221. https://bugs.webkit.org/show_bug.cgi?id=46407
  13222. Instead of always rebaselining all failing tests, allow a subset to be
  13223. chosen.
  13224. * Scripts/webkitpy/common/system/user.py:
  13225. * Scripts/webkitpy/tool/commands/rebaseline.py:
  13226. 2010-09-24 Ryosuke Niwa <rniwa@webkit.org>
  13227. Reviewed by Tony Chang.
  13228. [chromium] Implement TextInputController::firstRectForCharacterRange
  13229. https://bugs.webkit.org/show_bug.cgi?id=38100
  13230. Implemented TextInputController::firstRectForCharacterRange for chromium platform.
  13231. No new tests are added since we need to implement the same feature in chromium side
  13232. in order to enable any tests that uses this function.
  13233. * DumpRenderTree/chromium/TextInputController.cpp:
  13234. (TextInputController::firstRectForCharacterRange): Added.
  13235. 2010-09-24 Adam Barth <abarth@webkit.org>
  13236. Reviewed by Eric Seidel.
  13237. commit-queue reports land failures as "PASS"
  13238. https://bugs.webkit.org/show_bug.cgi?id=46530
  13239. We were ignoring the return value of land instead of passing it back to
  13240. CommitQueue. Of course, this was the one case I forgot to test!
  13241. * Scripts/webkitpy/tool/bot/commitqueuetask.py:
  13242. * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
  13243. 2010-09-24 Kenichi Ishibashi <bashi@google.com>
  13244. Reviewed by Eric Seidel.
  13245. new-run-webkit-tests prints out nothing when build-dumprendertree fails
  13246. https://bugs.webkit.org/show_bug.cgi?id=37563
  13247. Print error message when build-dumprendertree fails.
  13248. * Scripts/webkitpy/layout_tests/port/webkit.py:
  13249. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  13250. 2010-09-24 Mihai Parparita <mihaip@chromium.org>
  13251. Reviewed by Tony Chang.
  13252. NRWT doesn't respect config set with set-webkit-configuration
  13253. https://bugs.webkit.org/show_bug.cgi?id=46278
  13254. Use Port.default_configuration() instead of hardcoding Release in
  13255. ChromiumPort configuration initialization, so that we still inherit the
  13256. configuration set by set-webkit-configuration.
  13257. * Scripts/webkitpy/layout_tests/port/chromium.py:
  13258. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  13259. 2010-09-24 Chang Shu <chang.shu@nokia.com>
  13260. Reviewed by Csaba Osztrogonác.
  13261. [Qt] Fix the code to check file existence.
  13262. https://bugs.webkit.org/show_bug.cgi?id=46465
  13263. * QtTestBrowser/main.cpp:
  13264. (main):
  13265. 2010-09-23 Tony Chang <tony@chromium.org>
  13266. Unreviewed, rolling out r68232.
  13267. http://trac.webkit.org/changeset/68232
  13268. Broken NRWT on the canary bots.
  13269. * Scripts/webkitpy/layout_tests/port/chromium.py:
  13270. 2010-09-23 Dirk Pranke <dpranke@chromium.org>
  13271. Unreviewed, build fix.
  13272. r68008 broke new-run-webkit-tests in that the chromium ports no
  13273. longer respect set-webkit-configuration. The correct fix for this
  13274. is being pursued in bug 46278 (along with a bunch of unit tests),
  13275. but in the meantime I'm reverting the particular lines that broke
  13276. things. This was tested by hand.
  13277. * Scripts/webkitpy/layout_tests/port/chromium.py:
  13278. 2010-09-23 Sam Weinig <sam@webkit.org>
  13279. Reviewed by Anders Carlsson.
  13280. WebKit2 API: Need way to know when a frame is removed from the hierarchy
  13281. <rdar://problem/8414062>
  13282. https://bugs.webkit.org/show_bug.cgi?id=46432
  13283. * MiniBrowser/mac/BrowserWindowController.m:
  13284. (didRemoveFrameFromHierarchy):
  13285. (-[BrowserWindowController awakeFromNib]):
  13286. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  13287. (WTR::InjectedBundlePage::InjectedBundlePage):
  13288. * WebKitTestRunner/TestController.cpp:
  13289. (WTR::TestController::initialize):
  13290. 2010-09-23 Tony Chang <tony@chromium.org>
  13291. Reviewed by Dimitri Glazkov.
  13292. [chromium] implement layoutTestController.sampleSVGAnimationForElementAtTime
  13293. https://bugs.webkit.org/show_bug.cgi?id=46426
  13294. * DumpRenderTree/chromium/LayoutTestController.cpp:
  13295. (LayoutTestController::LayoutTestController):
  13296. (LayoutTestController::sampleSVGAnimationForElementAtTime):
  13297. * DumpRenderTree/chromium/LayoutTestController.h:
  13298. 2010-09-23 Martin Robinson <mrobinson@igalia.com>
  13299. Reviewed by Nate Chapin.
  13300. [GTK] r68199 introduced two test failures
  13301. https://bugs.webkit.org/show_bug.cgi?id=46424
  13302. Fix a regression handling preference overrides that are attached to boolean properties.
  13303. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  13304. (LayoutTestController::overridePreference): g_strcasecmp returns 0 when strings match
  13305. so we must check for that when converting a string to a boolean.
  13306. 2010-09-23 Dimitri Glazkov <dglazkov@chromium.org>
  13307. Reviewed by David Levin.
  13308. Fix a condition check in ServerProcess, which becomes relevant when reading binary data.
  13309. https://bugs.webkit.org/show_bug.cgi?id=46406
  13310. This breaks when the method is called with specified size of data (image data), and the
  13311. buffer hasn't yet reached this size.
  13312. * Scripts/webkitpy/layout_tests/port/server_process.py: Changed to check for values of
  13313. index larger than 0.
  13314. 2010-09-23 Martin Robinson <mrobinson@igalia.com>
  13315. Reviewed by Nate Chapin.
  13316. [GTK] Some tests from r68174 fail on the GTK+ bots
  13317. https://bugs.webkit.org/show_bug.cgi?id=46396
  13318. Simplify LayoutTestController::overridePreference to make it easier for
  13319. people unfamiliar with the code to keep the list of preferences up to date.
  13320. Add the conversion for enable-hyperlink-auditing.
  13321. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  13322. (LayoutTestController::overridePreference): Use a simple if-else block to determine
  13323. out the property name for overrridePreference. Also simplify the logic for setting
  13324. string properties. Add the conversion for enable-hyperlink-auditing.
  13325. 2010-09-23 Tony Chang <tony@chromium.org>
  13326. Reviewed by David Levin.
  13327. [chromium] add caretBrowsingEnabled to WebSettings and DRT
  13328. https://bugs.webkit.org/show_bug.cgi?id=46388
  13329. * DumpRenderTree/chromium/LayoutTestController.cpp:
  13330. (LayoutTestController::overridePreference):
  13331. * DumpRenderTree/chromium/WebPreferences.cpp:
  13332. (WebPreferences::reset):
  13333. (WebPreferences::applyTo):
  13334. * DumpRenderTree/chromium/WebPreferences.h:
  13335. 2010-09-23 Nate Chapin <japhet@chromium.org>
  13336. Reviewed by Darin Fisher.
  13337. Allow DRT to toggle hyperlink auditing (i.e., <a ping>).
  13338. https://bugs.webkit.org/show_bug.cgi?id=30458
  13339. * DumpRenderTree/chromium/LayoutTestController.cpp:
  13340. (LayoutTestController::overridePreference):
  13341. * DumpRenderTree/chromium/WebPreferences.cpp:
  13342. (WebPreferences::reset):
  13343. (WebPreferences::applyTo):
  13344. * DumpRenderTree/chromium/WebPreferences.h:
  13345. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  13346. (resetDefaultsToConsistentValues):
  13347. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  13348. (LayoutTestController::overridePreference):
  13349. 2010-09-21 Stephen White <senorblanco@chromium.org>
  13350. Reviewed by David Levin.
  13351. Implement --enable-accelerated-2d-canvas flag in DumpRenderTree.
  13352. https://bugs.webkit.org/show_bug.cgi?id=46208
  13353. This flag allows the layout tests to be run with or without accelerated
  13354. 2D canvas rendering.
  13355. * DumpRenderTree/chromium/DumpRenderTree.cpp:
  13356. (main):
  13357. Declare the new flag string, and check for it on startup.
  13358. * DumpRenderTree/chromium/TestShell.cpp:
  13359. (TestShell::TestShell):
  13360. Add a boolean for the new flag, in order to preserve its value over
  13361. preferences reset.
  13362. (TestShell::resetWebSettings):
  13363. Set the new flag to the stored value on reset.
  13364. * DumpRenderTree/chromium/TestShell.h:
  13365. (TestShell::setAccelerated2dCanvasEnabled):
  13366. Add an accessor for the new flag.
  13367. * DumpRenderTree/chromium/WebPreferences.cpp:
  13368. (WebPreferences::reset):
  13369. Initialize the new flag to false.
  13370. (WebPreferences::applyTo):
  13371. Copy the flag's value to the WebSettings.
  13372. * DumpRenderTree/chromium/WebPreferences.h:
  13373. Add the new flag.
  13374. 2010-09-23 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  13375. Reviewed by Simon Hausmann.
  13376. [Qt] Refactor QtWebKitPlatformPlugin interface
  13377. Make it easier to keep source-compability for the
  13378. QtWebKitPlatformPlugin interface, and run qmake
  13379. on the example (but not build) for convenience.
  13380. https://bugs.webkit.org/show_bug.cgi?id=46345
  13381. * Scripts/webkitdirs.pm:
  13382. 2010-09-23 Adam Barth <abarth@webkit.org>
  13383. Reviewed by Eric Seidel.
  13384. Tweak some status messages that Eric thought were confusing
  13385. https://bugs.webkit.org/show_bug.cgi?id=46342
  13386. * Scripts/webkitpy/tool/commands/queues.py:
  13387. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  13388. 2010-09-22 Adam Barth <abarth@webkit.org>
  13389. Reviewed by Eric Seidel.
  13390. Fix comm-queue typo
  13391. https://bugs.webkit.org/show_bug.cgi?id=46339
  13392. We were missing a "self". The real problem is that we didn't have an
  13393. integration test for the failure case.
  13394. * Scripts/webkitpy/tool/commands/queues.py:
  13395. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  13396. 2010-09-22 Adam Barth <abarth@webkit.org>
  13397. Reviewed by Eric Seidel.
  13398. commit-queue should log more detailed messages to the QueueStatusServer
  13399. https://bugs.webkit.org/show_bug.cgi?id=46333
  13400. When I created CommitQueueTask, I removed most of the previous logging.
  13401. This patch adds back more detailed logging so folks can see their patch
  13402. progress through the queue.
  13403. * Scripts/webkitpy/tool/bot/commitqueuetask.py:
  13404. * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
  13405. * Scripts/webkitpy/tool/commands/queues.py:
  13406. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  13407. 2010-09-22 Mihai Parparita <mihaip@chromium.org>
  13408. Reviewed by Darin Fisher.
  13409. [Chromium] User style layout tests don't pass on Chromium
  13410. https://bugs.webkit.org/show_bug.cgi?id=46069
  13411. Fix a typo in LayoutTestController::addUserStyleSheet that was causing a
  13412. crash the Chromium DRT. Pass InjectInExistingDocuments to mimic DRT
  13413. behavior from other ports.
  13414. * DumpRenderTree/chromium/LayoutTestController.cpp:
  13415. (LayoutTestController::addUserStyleSheet):
  13416. 2010-09-22 Brent Fulgham <bfulgham@webkit.org>
  13417. Reviewed by Martin Robinson.
  13418. [WinCairo] Part 2: Update WebKitTestRunner and DumpRenderTree Build.
  13419. https://bugs.webkit.org/show_bug.cgi?id=46303.
  13420. * MiniBrowser/Configurations/MiniBrowserCFLite.vsprops: Added.
  13421. * MiniBrowser/Configurations/MiniBrowserCommon.vsprops: Moved
  13422. CoreFoundation-specific stuff to new MiniBrowserCoreFoundation
  13423. property sheet.
  13424. * MiniBrowser/Configurations/MiniBrowserCoreFoundation.vsprops: Added.
  13425. * MiniBrowser/MiniBrowser.vcproj: Updated configuration to use
  13426. appropriate property sheet for the build types.
  13427. * WebKitTestRunner/win/WebKitTestRunner.vcproj: Updated the
  13428. configuration to use appropriate property sheet for CoreFoundation
  13429. and CFLite-style builds.
  13430. 2010-09-22 Adam Barth <abarth@webkit.org>
  13431. Reviewed by Eric Seidel.
  13432. Optimize commit-queue performance for green trees
  13433. https://bugs.webkit.org/show_bug.cgi?id=46254
  13434. This patch redesigns the controller logic for the commit-queue. In the
  13435. new design, the controller exercises much finer-grained control over
  13436. the landing process. In particular:
  13437. - Patches that fail to apply now get rejected almost immediately.
  13438. - Patches that fail to build get rejects after two builds (instead of
  13439. three builds and one test run).
  13440. - Patches that run into a flaky test now get accepted after one build
  13441. and two test runs instead of three full build-and-test runs.
  13442. The main cost of these optimizations is that we don't find out the tree
  13443. has a failing test until the very end of the process, but if the tree
  13444. has a busted test, there's not much we can do anyway. We might as well
  13445. burn commit-queue resources spinning optimisticly.
  13446. * Scripts/webkitpy/tool/bot/commitqueuetask.py: Added.
  13447. * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py: Added.
  13448. * Scripts/webkitpy/tool/commands/queues.py:
  13449. 2010-09-22 Brent Fulgham <bfulgham@webkit.org>
  13450. Reviewed by Martin Robinson.
  13451. [WinCairo] Update WebKitTestRunner and DumpRenderTree Build.
  13452. https://bugs.webkit.org/show_bug.cgi?id=46303.
  13453. * DumpRenderTree/win/DumpRenderTree.vcproj: Disable local MD5 sources
  13454. for Cairo build. Copy wtf MD5 header to ForwardingHeaders for the
  13455. WinCairo build.
  13456. * WebKitTestRunner/Configurations/InjectedBundleCFLite.vsprops: Added.
  13457. * WebKitTestRunner/win/InjectedBundle.vcproj: Update win new *_Cairo
  13458. build targets that use the new InjectedBundleCFLite.vsprops file.
  13459. 2010-09-22 Dirk Pranke <dpranke@chromium.org>
  13460. Unreviewed, build fix.
  13461. Fix bustage of rebaseline-chromium-webkit-tests resulting from
  13462. r67974. Really need better unit tests for this tool :(
  13463. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  13464. 2010-09-22 Adam Roben <aroben@apple.com>
  13465. Unbreak test-webkitpy
  13466. * Scripts/webkitpy/test/main.py:
  13467. (Tester.run_tests): Add a line that mysteriously got deleted.
  13468. 2010-09-22 Adam Roben <aroben@apple.com>
  13469. Make test-webkitpy test WebKit2's scripts
  13470. These scripts can't be in WebKitTools due to limitations of Apple's
  13471. build process. But that doesn't mean we can't test them!
  13472. Fixes <http://webkit.org/b/46297> test-webkitpy should test code in
  13473. WebKit2/Scripts
  13474. Reviewed by Adam Barth.
  13475. * Scripts/test-webkitpy:
  13476. (_clean_packages_with_test): Renamed from _clean_webkitpy_with_test.
  13477. Now takes an external_package_paths parameter and cleans both webkitpy
  13478. and any external packages.
  13479. (init): Added an external_package_paths parameter which we pass along
  13480. to _clean_packages_with_test.
  13481. (top level): Add WebKit2/Scripts/webkit2 as our only external package
  13482. and pass it along to init and Tester.run_tests.
  13483. * Scripts/webkitpy/test/main.py:
  13484. (Tester.run_tests): Added an optional external_package_paths
  13485. parameter. We modify sys.path so that the external packages can be
  13486. imported, and search for unittest files inside all external packages
  13487. in addition to inside webkitpy.
  13488. 2010-09-22 Dirk Pranke <dpranke@chromium.org>
  13489. Reviewed by Tony Chang.
  13490. new-run-webkit-tests: r68063 broke linux python tests
  13491. Add a missing "from __future__ import with_statement" to this
  13492. new file; the perils of testing only on the Mac and by review :(
  13493. https://bugs.webkit.org/show_bug.cgi?id=46293
  13494. * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
  13495. 2010-09-22 Dirk Pranke <dpranke@chromium.org>
  13496. Reviewed by Tony Chang.
  13497. Add a 'chromium-gpu' set of ports that will test the accelerated
  13498. GPU paths. This patch adds:
  13499. - support for the '--accelerated-compositing' and
  13500. 'accelerated-2d-canvas' flags to new-run-webkit-tests (and the
  13501. 'no-' flags)
  13502. - adds a new set of Ports that will look under
  13503. platform/chromium-gpu-$OS/ for baselines before looking in the
  13504. regular chromium search path
  13505. - adds a new test_expectations.txt file in platform/chromium-gpu
  13506. that skips all but the tests we actually want to run with
  13507. acceleration.
  13508. This patch will allow us to run both with and without acceleration
  13509. and to change the defaults for both the regular and -gpu options
  13510. as the code evolves.
  13511. We plan to add both --chromium-$OS and --chromium-gpu-$OS runs to
  13512. each test bot.
  13513. https://bugs.webkit.org/show_bug.cgi?id=46225
  13514. * Scripts/webkitpy/layout_tests/port/chromium.py:
  13515. * Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
  13516. * Scripts/webkitpy/layout_tests/port/factory.py:
  13517. * Scripts/webkitpy/layout_tests/port/webkit.py:
  13518. 2010-09-22 Jamey Hicks <jamey.hicks@nokia.com>
  13519. Reviewed by Kenneth Rohde Christiansen.
  13520. [Qt] Web Inspector: Remote Web Inspector support for QtWebKit
  13521. https://bugs.webkit.org/show_bug.cgi?id=43988
  13522. Runs a web debug server on port specified by QtTestBrowser
  13523. argument -remote-inspector-port. Property
  13524. _q_webInspectorServerPort of the QWebPage instance will be set
  13525. according to the argument. All pages with that property set will
  13526. be remotely inspectable.
  13527. URL for remote inspection of first QWebPage is
  13528. http://localhost:9222/webkit/inspector/inspector.html?page=1
  13529. where 1 is the number of the QWebPage instance.
  13530. The base URL yields an index page with links to the individual inspectors:
  13531. http://localhost:9222/
  13532. * QtTestBrowser/launcherwindow.cpp:
  13533. (LauncherWindow::init):
  13534. * QtTestBrowser/launcherwindow.h:
  13535. * QtTestBrowser/main.cpp:
  13536. (LauncherApplication::handleUserOptions):
  13537. 2010-09-22 Adam Roben <aroben@apple.com>
  13538. Fix webkit-patch failure-reason now that build.webkit.org has been
  13539. updated
  13540. Fixes <http://webkit.org/b/46273> webkit-patch failure-reason crashes
  13541. every time
  13542. Reviewed by Eric Seidel.
  13543. * Scripts/webkitpy/common/net/buildbot.py:
  13544. (BuildBot._file_cell_text): Added. Travels down the firstChild chain
  13545. looking for an element that contains text, then returns it.
  13546. (BuildBot._parse_twisted_file_row): Use _file_cell_text to get the
  13547. text out of the cells. This way it doesn't matter whether the cells
  13548. have <b> children (as for cells in directory rows) or not (as for
  13549. cells in file rows)
  13550. (BuildBot._parse_twisted_directory_listing): Look for rows that have
  13551. the "directory" or "file" class, rather than rows with any class,
  13552. since header rows now have a class attribute.
  13553. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  13554. (BuildBotTest._example_directory_listing): Updated to more closely
  13555. match the markup that build.webkit.org is producing now.
  13556. 2010-09-21 Dirk Pranke <dpranke@chromium.org>
  13557. Unreviewed, build fix.
  13558. new-run-webkit-tests: fix bug introduced in r68008 where if you
  13559. specify --chromium and no --platform, and you're running on
  13560. windows, you use the 'chromium-win' port by default instead of the
  13561. version-specific port. This breaks the buildbots.
  13562. It will be good for this refactoring to settle down so I can
  13563. rewrite the logic for default ports and the unit tests to be
  13564. clearer (and the testing more comprehensive).
  13565. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  13566. 2010-09-21 Dirk Pranke <dpranke@chromium.org>
  13567. Reviewed by Adam Barth.
  13568. Modify the Port interface to take only a series of keyword arguments
  13569. in the constructor, and modify Port/factory.get() to accomodate that,
  13570. and to accept user=XXX as an argument so we can pass
  13571. webkitpy.common.system.user.User objects in.
  13572. Then, modify new-run-webkit-tests and rebaseline-chromium-webkit-tests
  13573. to use the common routine in webkitpy.common.system.user.open_url()
  13574. to display HTML files.
  13575. There was a routine in the Port interface to do the same thing,
  13576. but I see no need for a port-specific hook for this, since it is
  13577. something that will always be executed by the host environment
  13578. and displaying web pages has nothing to do with running layout tests.
  13579. Note that new-run-webkit-tests used to use test_shell to display
  13580. the page; this is potentially useful so that you can actually click
  13581. from a result to the broken page; however, since DumpRenderTree
  13582. doesn't support this functionality, it will be going away eventually.
  13583. https://bugs.webkit.org/show_bug.cgi?id=46128
  13584. * Scripts/webkitpy/layout_tests/port/base.py:
  13585. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  13586. * Scripts/webkitpy/layout_tests/port/chromium.py:
  13587. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  13588. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  13589. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  13590. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  13591. * Scripts/webkitpy/layout_tests/port/dryrun.py:
  13592. * Scripts/webkitpy/layout_tests/port/factory.py:
  13593. * Scripts/webkitpy/layout_tests/port/google_chrome.py:
  13594. * Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py:
  13595. * Scripts/webkitpy/layout_tests/port/gtk.py:
  13596. * Scripts/webkitpy/layout_tests/port/mac.py:
  13597. * Scripts/webkitpy/layout_tests/port/qt.py:
  13598. * Scripts/webkitpy/layout_tests/port/test.py:
  13599. * Scripts/webkitpy/layout_tests/port/webkit.py:
  13600. * Scripts/webkitpy/layout_tests/port/win.py:
  13601. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  13602. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  13603. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  13604. 2010-09-21 Lucas De Marchi <lucas.demarchi@profusion.mobi>
  13605. Reviewed by Kenneth Rohde Christiansen.
  13606. [EFL] Get fresh theme when running EWebLauncher
  13607. https://bugs.webkit.org/show_bug.cgi?id=46210
  13608. If user tried to run EWebLauncher outside of the build tree, it would
  13609. not find the theme and fallback to the installed one. However, since
  13610. EWebLauncher is not installed, we always want to take the theme from
  13611. the just compiled source code. If user had never installed WebKit's
  13612. EFL port it could even receive a segv since no theme would be found.
  13613. Now EWebLauncher does not fallback to the installed theme and CMake
  13614. gives as DATA_DIR the directory of the theme it has just built.
  13615. * CMakeListsEfl.txt: Pass the build directory as DATA_DIR to
  13616. EWebLauncher.
  13617. * EWebLauncher/main.c: Use only the theme from build director. Do not
  13618. fallback to others as this could hide real bugs.
  13619. (quit):
  13620. (browserCreate):
  13621. (findThemePath):
  13622. (main):
  13623. 2010-09-21 Dirk Pranke <dpranke@chromium.org>
  13624. Unreviewed, build fix.
  13625. Don't pass the --test-shell arg to the Chromium Mac port of DRT;
  13626. it just confuses it.
  13627. https://bugs.webkit.org/show_bug.cgi?id=46230
  13628. * Scripts/webkitpy/layout_tests/port/webkit.py:
  13629. 2010-09-21 Lucas Forschler <lforschler@apple.com>
  13630. Reviewed by Stephanie Lewis.
  13631. Make a new buildbot for Leopard Debug Test
  13632. * BuildSlaveSupport/build.webkit.org-config/config.json:
  13633. 2010-09-21 Dirk Pranke <dpranke@chromium.org>
  13634. Unreviewed, build fix.
  13635. Fix breakage of Chromium Mac DRT port caused by r67905.
  13636. https://bugs.webkit.org/show_bug.cgi?id=46230
  13637. * Scripts/webkitpy/layout_tests/port/webkit.py:
  13638. 2010-09-21 Dirk Pranke <dpranke@chromium.org>
  13639. Unreviewed, build fix.
  13640. Add missing import of 'tempfile'.
  13641. * Scripts/webkitpy/layout_tests/port/chromium.py:
  13642. 2010-09-17 Dirk Pranke <dpranke@chromium.org>
  13643. Reviewed by Ojan Vafai.
  13644. new-run-webkit-tests: pull the list of tests from the Port, and
  13645. make it possible to run with no actual test files in the filesystem.
  13646. This set of changes allows us to delete the special
  13647. webkitpy/layout_tests/data directory and test the generic code without
  13648. touching the filesystem (except to write results). This speeds up
  13649. test-webkitpy substantially.
  13650. This also cleans up and removes several code paths in the generic
  13651. code and fixes some minor bugs, notably in the test_expectations
  13652. parsing, which was previously fragile if the tests weren't present.
  13653. We also change the way we diff image results to be able to do so
  13654. in memory, without relying on files. This slows down chromium
  13655. test_shell, which always writes images to files, but should speed
  13656. up DRT and ImageDiff-based implementations slightly.
  13657. Note that pulling the list of tests to run from the Port will allow
  13658. ports to specify what tests to run as an inclusive list; previously
  13659. you could only do this as an exclusive list by using a
  13660. test_expectations file or Skipped files; nothing actually uses this
  13661. feature yet and it's unclear if it should be used.
  13662. Note that there are no functional changes -- apart from now
  13663. always printing out the location of the checksum file when we are
  13664. tracing test runs -- and the total number of lines of non-test code
  13665. actually drops by two.
  13666. There is some more cleanup that can be done in the Port/Driver
  13667. interface and in some handling of filenames, but I'll save that
  13668. for another change.
  13669. https://bugs.webkit.org/show_bug.cgi?id=45801
  13670. * Scripts/webkitpy/layout_tests/data/*: Removed.
  13671. - no longer need special mock layout_tests_directory in the
  13672. repository.
  13673. * Scripts/webkitpy/layout_tests/layout_package/printing.py:
  13674. - add code to display missing text files, checksums when tracing
  13675. - update to not look at the filesystem directly.
  13676. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  13677. - add more unit tests
  13678. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  13679. - remove tests_are_present flag
  13680. - update with changes in Port interface - no longer access
  13681. the filesystem directly, although we still use os.path for
  13682. filename manipulation.
  13683. * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
  13684. - add more unit tests
  13685. * Scripts/webkitpy/layout_tests/layout_package/test_files.py: Removed.
  13686. - renamed to port/test_files.py
  13687. * Scripts/webkitpy/layout_tests/port/base.py:
  13688. - change diff_image() to expect actual image data, not filenames
  13689. - add expected_checksum(), expected_image(), expected_text() to
  13690. return the content of the files so that we don't need a filesystem
  13691. - add path_exists(), path_isdir() for filesystem-like access.
  13692. - add test_dirs() to keep clobber-test-results from needing to
  13693. actually look at a real layout tests dir
  13694. - add tests() to return the list of tests to run on the port
  13695. (calls port/test_files to do the work).
  13696. - add update_baseline() to be able to save new baselines
  13697. - add uri_to_test_name() from port/dryrun.py so we can easily check
  13698. filename_to_uri()
  13699. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  13700. - add more unit tests
  13701. * Scripts/webkitpy/layout_tests/port/chromium.py:
  13702. - change diff_image() to accept image content, not filenames.
  13703. This will be slower for test_shell/image_diff, but faster
  13704. for DRT/ImageDiff.
  13705. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  13706. - add more unit tests
  13707. * Scripts/webkitpy/layout_tests/port/dryrun.py:
  13708. - simplify greatly
  13709. * Scripts/webkitpy/layout_tests/port/port_testcase.py:
  13710. - add more unit tests
  13711. * Scripts/webkitpy/layout_tests/port/test.py:
  13712. - massive rewrite to use in-script list of tests and expectations
  13713. * Scripts/webkitpy/layout_tests/port/test_files.py:
  13714. - rename from layout_package/test_files.
  13715. * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
  13716. - add unit tests
  13717. * Scripts/webkitpy/layout_tests/port/webkit.py:
  13718. - update diff_image() to take image contents, not files. Should
  13719. make things slightly faster.
  13720. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  13721. - update with changes to diff_image()
  13722. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
  13723. - update with changes to diff_image()
  13724. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  13725. - remove tests_are_present from test_expectations
  13726. - pull the list of tests from port.tests() instead
  13727. of calling test_files.py directly.
  13728. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  13729. - update unit tests
  13730. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  13731. - update with changes to
  13732. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  13733. - update with change in Port interface
  13734. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  13735. - update with change in Port interface
  13736. * Scripts/webkitpy/style/checkers/test_expectations.py:
  13737. - remove the tests_are_present flag
  13738. 2010-09-21 Anders Carlsson <andersca@apple.com>
  13739. Disable logging.
  13740. * MiniBrowser/mac/MiniBrowser_Prefix.pch:
  13741. 2010-09-21 Tony Chang <tony@chromium.org>
  13742. Reviewed by Kent Tamura.
  13743. add a script for running webkit_unit_tests
  13744. https://bugs.webkit.org/show_bug.cgi?id=46014
  13745. * Scripts/run-chromium-webkit-unit-tests: Added.
  13746. 2010-09-21 Fridrich Strba <fridrich.strba@bluewin.ch>
  13747. Reviewed by Martin Robinson.
  13748. Fix linking problems on Windows.
  13749. https://bugs.webkit.org/show_bug.cgi?id=45844
  13750. * GNUmakefile.am: link the executables with winmm.dll
  13751. 2010-09-21 Adam Barth <abarth@webkit.org>
  13752. Reviewed by Eric Seidel.
  13753. feeder-queue svn updates more often than needed
  13754. https://bugs.webkit.org/show_bug.cgi?id=46171
  13755. We don't need to poll SVN every time we feed the feeders. Rather, we
  13756. can count on the wrapper shell script to auto-update the queue.
  13757. * Scripts/webkitpy/tool/commands/queues.py:
  13758. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  13759. 2010-09-21 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  13760. Reviewed by Andreas Kling.
  13761. [Qt] Add robot loader timeout and extra time options.
  13762. https://bugs.webkit.org/show_bug.cgi?id=46172
  13763. [-robot-timeout <s>]: Load the next page after s seconds if the current
  13764. page didn't finish loading.
  13765. [-robot-extra-time <s>]: Wait s seconds after the current page finished
  13766. loading before loading the next one. This should allow some time for the
  13767. page's JavaScript to execute.
  13768. * QtTestBrowser/launcherwindow.cpp:
  13769. (LauncherWindow::applyPrefs):
  13770. * QtTestBrowser/main.cpp:
  13771. (LauncherApplication::robotTimeout):
  13772. (LauncherApplication::robotExtraTime):
  13773. (LauncherApplication::LauncherApplication):
  13774. (LauncherApplication::handleUserOptions):
  13775. (main):
  13776. * QtTestBrowser/urlloader.cpp:
  13777. (UrlLoader::UrlLoader):
  13778. (UrlLoader::loadNext):
  13779. (UrlLoader::loadUrlList):
  13780. * QtTestBrowser/urlloader.h:
  13781. 2010-09-21 Pavel Podivilov <podivilov@chromium.org>
  13782. Unreviewed.
  13783. Adding myself to the committers list.
  13784. * Scripts/webkitpy/common/config/committers.py:
  13785. 2010-09-20 Philippe Normand <pnormand@igalia.com>
  13786. Reviewed by Eric Carlson.
  13787. [GTK] enhanced context menu for media elements
  13788. https://bugs.webkit.org/show_bug.cgi?id=45021
  13789. EventSender::contextClick() now returns an array of js
  13790. objects. Each object has a title property and a click() method.
  13791. * DumpRenderTree/gtk/EventSender.cpp:
  13792. (getMenuItemTitleCallback):
  13793. (setMenuItemTitleCallback):
  13794. (menuItemClickCallback):
  13795. (getMenuItemClass):
  13796. (contextClickCallback):
  13797. 2010-09-20 Hayato Ito <hayato@chromium.org>
  13798. Unreviewed.
  13799. Adding myself to the committers list.
  13800. * Scripts/webkitpy/common/config/committers.py:
  13801. 2010-09-20 Adam Barth <abarth@webkit.org>
  13802. Reviewed by Eric Seidel.
  13803. The tool member variable should be called _tool
  13804. https://bugs.webkit.org/show_bug.cgi?id=46160
  13805. Created by find-and-replace.
  13806. * Scripts/webkitpy/tool/commands/download.py:
  13807. * Scripts/webkitpy/tool/commands/openbugs.py:
  13808. * Scripts/webkitpy/tool/commands/queries.py:
  13809. * Scripts/webkitpy/tool/commands/queues.py:
  13810. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  13811. * Scripts/webkitpy/tool/commands/rebaseline.py:
  13812. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  13813. * Scripts/webkitpy/tool/commands/upload.py:
  13814. * Scripts/webkitpy/tool/multicommandtool.py:
  13815. 2010-09-20 Adam Barth <abarth@webkit.org>
  13816. I ran the tests before landing but ignored the fact that they failed. :(
  13817. * Scripts/webkitpy/tool/commands/queues.py:
  13818. 2010-09-20 Adam Barth <abarth@webkit.org>
  13819. Reviewed by Eric Seidel.
  13820. Add a feeder queue that polls bugs.webkit.org for the commit-cluster
  13821. https://bugs.webkit.org/show_bug.cgi?id=46141
  13822. The feeder-queue polls bugs.webkit.org every 30 seconds and updates the
  13823. list of work items on the status server. The individual commit-cluster
  13824. nodes then grab the patches from the server and process them.
  13825. * Scripts/webkitpy/tool/bot/feeders.py: Added.
  13826. * Scripts/webkitpy/tool/bot/feeders_unittest.py: Added.
  13827. * Scripts/webkitpy/tool/commands/queues.py:
  13828. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  13829. * Scripts/webkitpy/tool/commands/queuestest.py:
  13830. 2010-09-20 Leandro Pereira <leandro@profusion.mobi>
  13831. Reviewed by Darin Adler.
  13832. build-webkit: Add support for CMake build system
  13833. https://bugs.webkit.org/show_bug.cgi?id=44979
  13834. * Scripts/build-webkit: Add "--efl" command-line option to build the
  13835. EFL port of WebKit.
  13836. * Scripts/webkitdirs.pm: Define buildCMakeProject() and
  13837. buildEflCMakeProject() subroutines.
  13838. 2010-09-20 Dirk Pranke <dpranke@chromium.org>
  13839. Reviewed by Ojan Vafai.
  13840. new-run-webkit-tests: refactor command line args getting passed to DRT
  13841. This change cleans up some argument parsing between functions to get
  13842. rid of some overlapping data structures. There should be no functional
  13843. changes in this patch; it is pure refactoring in preparation for
  13844. landing the Chrome GPU port and adding a generic way to pass
  13845. args to DRT/TestShell.
  13846. https://bugs.webkit.org/show_bug.cgi?id=46135
  13847. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  13848. - pass the options argument explicitly to the threads and drivers,
  13849. also consolidate the passing of options to the driver.
  13850. - pass options directly to process_output() to remove a couple
  13851. parameters (minor cleanup).
  13852. * Scripts/webkitpy/layout_tests/port/base.py:
  13853. - pass the options argument to Port.create_driver().
  13854. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  13855. - update Port.create_driver() test
  13856. * Scripts/webkitpy/layout_tests/port/chromium.py:
  13857. - pass the options argument to Port.create_driver(), and clean up
  13858. building of the cmd line for DRT.
  13859. * Scripts/webkitpy/layout_tests/port/dryrun.py:
  13860. - pass the options argument to Port.create_driver()
  13861. * Scripts/webkitpy/layout_tests/port/test.py:
  13862. - pass the options argument to Port.create_driver()
  13863. * Scripts/webkitpy/layout_tests/port/webkit.py:
  13864. - pass the options argument to Port.create_driver(), and clean up
  13865. building of the cmd line for DRT.
  13866. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  13867. - consolidate args in _get_dump_render_tree_args and rename to
  13868. _get_test_args(); move all of the command-line args to the
  13869. Port implementations.
  13870. 2010-09-20 Andrew Wilson <atwilson@chromium.org>
  13871. Revert change which was accidentally committed along with some expectation changes.
  13872. * Scripts/webkitpy/layout_tests/port/base.py:
  13873. 2010-09-20 Mihai Parparita <mihaip@chromium.org>
  13874. Reviewed by Adam Barth.
  13875. Add explicit --force-patch flag to webkitpy tools
  13876. https://bugs.webkit.org/show_bug.cgi?id=46103
  13877. It wasn't obvious until I read the applypatch.py source code that
  13878. --non-interfactive implies passing --force to patch. Add --force-patch
  13879. as an alias to the flag, so that this behavior is more discoverable.
  13880. * Scripts/webkitpy/tool/steps/applypatch.py:
  13881. * Scripts/webkitpy/tool/steps/options.py:
  13882. 2010-09-20 Eric Seidel <eric@webkit.org>
  13883. Unreviewed, adding a line which got dropped and is trivially correct (and tested).
  13884. commit-queue can't land patches
  13885. https://bugs.webkit.org/show_bug.cgi?id=46138
  13886. Add a line of code I forgot in my last commit.
  13887. * Scripts/webkitpy/common/net/bugzilla.py:
  13888. * Scripts/webkitpy/common/net/bugzilla_unittest.py:
  13889. 2010-09-20 Adam Barth <abarth@webkit.org>
  13890. Reviewed by Eric Seidel.
  13891. The commit-cluster bots still race to lock patch_ids
  13892. https://bugs.webkit.org/show_bug.cgi?id=46130
  13893. It turns out we need to use a transaction object to make the
  13894. read/modify/write lock operation atomic. From reading the AppEngine
  13895. documentation, I think this patch should do what we want. It's hard to
  13896. test locally because the test instance isn't distributed in the same
  13897. way the production instance is.
  13898. * QueueStatusServer/handlers/nextpatch.py:
  13899. * QueueStatusServer/model/activeworkitems.py: Added.
  13900. 2010-09-20 Andy Estes <aestes@apple.com>
  13901. Reviewed by Adam Barth.
  13902. REGRESSION (HTML5 Parser): Pages broken due to <tag<tag> parsing changes
  13903. https://bugs.webkit.org/show_bug.cgi?id=40961
  13904. Implement WebKitUsePreHTML5ParserQuirks preference.
  13905. * DumpRenderTree/mac/DumpRenderTree.mm:
  13906. (resetDefaultsToConsistentValues): Reset WebKitUsePreHTML5ParserQuirks
  13907. to false after a test finishes.
  13908. 2010-09-20 Adam Roben <aroben@apple.com>
  13909. Windows build fix
  13910. * MiniBrowser/Configurations/MiniBrowserCommon.vsprops: Put
  13911. $(WebKitOutputDir)\include before $(WebKitLibrariesDir)\include so
  13912. we'll pick up the most recent versions of the headers.
  13913. 2010-09-20 Eric Seidel <eric@webkit.org>
  13914. Reviewed by Adam Barth.
  13915. commit-queue should check commit-queue+ again just before committing
  13916. https://bugs.webkit.org/show_bug.cgi?id=32679
  13917. Added a _revalidate_patch check, right before landing.
  13918. Since _revalidate_patch passes the patch_id from the work item
  13919. back to bugzilla, I had to fix all of the previous queue tests to
  13920. use valid attachment ids (that's the majority of this change).
  13921. In order to validate that the bug was still open, I had to teach
  13922. bugzilla.Bug about open/closed states.
  13923. * Scripts/webkitpy/common/net/bugzilla.py:
  13924. * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
  13925. * Scripts/webkitpy/tool/commands/queues.py:
  13926. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  13927. * Scripts/webkitpy/tool/commands/queuestest.py:
  13928. * Scripts/webkitpy/tool/mocktool.py:
  13929. 2010-09-20 Mihai Parparita <mihaip@chromium.org>
  13930. Unreviewed.
  13931. Adding myself as a comitter.
  13932. * Scripts/webkitpy/common/config/committers.py:
  13933. 2010-09-20 Adam Barth <abarth@webkit.org>
  13934. Reviewed by Eric Seidel.
  13935. Two instances of commit-queue try to process the same patch
  13936. https://bugs.webkit.org/show_bug.cgi?id=46113
  13937. This patch makes next-patch atomic so that the server won't vend the
  13938. same patch twice in the same hour.
  13939. * QueueStatusServer/handlers/nextpatch.py:
  13940. 2010-09-20 Adam Roben <aroben@apple.com>
  13941. Make WebKitTestRunner's wait-to-dump watchdog timer work on Windows
  13942. We were previously trying to use a CFRunLoopTimer, but since Windows
  13943. doesn't use CFRunLoop on most threads this doesn't work. Now we use a
  13944. Windows-style timer on Windows.
  13945. I also replaced all uses of "watchdog" with "watchdog timer".
  13946. Fixes <http://webkit.org/b/46101> WebKitTestRunner's wait-to-dump
  13947. watchdog timer doesn't work on Windows
  13948. Reviewed by Anders Carlsson.
  13949. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  13950. (WTR::InjectedBundlePage::dump): Updated for rename.
  13951. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: Removed
  13952. platform-specific functions.
  13953. (WTR::LayoutTestController::LayoutTestController): Added call to
  13954. platformInitialize.
  13955. (WTR::LayoutTestController::waitUntilDone): Changed to call
  13956. initializeWaitToDumpWatchdogTimerIfNeeded instead of doing the work
  13957. right in this function.
  13958. (WTR::LayoutTestController::waitToDumpWatchdogTimerFired): Updated for
  13959. rename.
  13960. * WebKitTestRunner/InjectedBundle/LayoutTestController.h: Added new
  13961. members needed to support the watchdog timer abstraction. Replaced
  13962. some "watchdog"s with "watchdog timer".
  13963. * WebKitTestRunner/InjectedBundle/mac/LayoutTestControllerMac.mm:
  13964. Added.
  13965. (WTR::LayoutTestController::platformInitialize): Does nothing on this
  13966. platform.
  13967. (WTR::LayoutTestController::invalidateWaitToDumpWatchdog): Moved here
  13968. from LayoutTestController.cpp and changed to use an early return.
  13969. (WTR::waitUntilDoneWatchdogTimerFired): Moved here from
  13970. LayoutTestController.cpp.
  13971. (WTR::LayoutTestController::initializeWaitToDumpWatchdogTimerIfNeeded):
  13972. Moved code here from LayoutTestController::waitUntilDone and changed
  13973. to use an early return.
  13974. * WebKitTestRunner/InjectedBundle/win/LayoutTestControllerWin.cpp:
  13975. Added.
  13976. (WTR::LayoutTestController::platformInitialize): Initialize our
  13977. watchdog timer.
  13978. (WTR::LayoutTestController::invalidateWaitToDumpWatchdog): Added.
  13979. Kills and clears the watchdog timer.
  13980. (WTR::waitToDumpWatchdogTimerFired): Added. Calls through to the
  13981. LayoutTestController member function of the same name.
  13982. (WTR::LayoutTestController::initializeWaitToDumpWatchdogTimerIfNeeded):
  13983. Added. Sets up the timer if it isn't already set.
  13984. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Added
  13985. LayoutTestControllerMac.mm.
  13986. * WebKitTestRunner/win/InjectedBundle.vcproj: Added
  13987. LayoutTestControllerWin.cpp.
  13988. 2010-09-20 Martin Robinson <mrobinson@igalia.com>
  13989. Reviewed by Daniel Bates.
  13990. [GTK] fast/forms/listbox-selection.html fails
  13991. https://bugs.webkit.org/show_bug.cgi?id=45942
  13992. Use the gdkModifersFromJSValue helper to parse all appropriate modifier
  13993. strings in keyDownCallback.
  13994. * DumpRenderTree/gtk/EventSender.cpp:
  13995. (keyDownCallback): Use the gdkModifersFromJSValue instead of duplicating the
  13996. modifier parsing logic.
  13997. 2010-09-19 Sam Weinig <sam@webkit.org>
  13998. Reviewed by Anders Carlsson.
  13999. WebKit2 decidePolicyForNavigationAction should include mouse button information
  14000. <rdar://problem/8413165>
  14001. https://bugs.webkit.org/show_bug.cgi?id=46060
  14002. * MiniBrowser/mac/BrowserWindowController.m:
  14003. (decidePolicyForNavigationAction):
  14004. (decidePolicyForNewWindowAction):
  14005. 2010-09-19 Daniel Bates <dbates@rim.com>
  14006. Reviewed by Martin Robinson.
  14007. Add unit tests for diffs that delete or modify a change log entry
  14008. or describe changes that are far apart
  14009. https://bugs.webkit.org/show_bug.cgi?id=46046
  14010. Add additional unit tests to test change log diffs that contain
  14011. deletions or changes that are far apart from each other in the
  14012. ChangeLog file.
  14013. * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl:
  14014. - Added the following unit tests:
  14015. "fixChangeLogPatch: [no change] In-place change."
  14016. "fixChangeLogPatch: [no change] Remove first entry."
  14017. "fixChangeLogPatch: [no change] Remove entry in the middle."
  14018. "fixChangeLogPatch: [no change] Far apart changes (i.e. more than one chunk)."
  14019. 2010-09-19 Sam Weinig <sam@webkit.org>
  14020. Reviewed by Anders Carlsson.
  14021. Replace WKBundleRangeRef with WKBundleRangeHandleRef.
  14022. https://bugs.webkit.org/show_bug.cgi?id=46054
  14023. The new one acts like WKBundleNodeHandleRef and allows for getting a
  14024. wrapper in a specific world for the handle.
  14025. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  14026. (WTR::propertyValue):
  14027. (WTR::propertyValueDouble):
  14028. (WTR::propertyValueInt):
  14029. (WTR::numericWindowPropertyValue):
  14030. (WTR::toStr):
  14031. (WTR::InjectedBundlePage::shouldBeginEditing):
  14032. (WTR::InjectedBundlePage::shouldEndEditing):
  14033. (WTR::InjectedBundlePage::shouldInsertNode):
  14034. (WTR::InjectedBundlePage::shouldInsertText):
  14035. (WTR::InjectedBundlePage::shouldDeleteRange):
  14036. (WTR::InjectedBundlePage::shouldChangeSelectedRange):
  14037. (WTR::InjectedBundlePage::shouldApplyStyle):
  14038. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  14039. 2010-09-19 Kent Tamura <tkent@chromium.org>
  14040. Unreviewed. Fix WebGL test regressions by r67809.
  14041. * DumpRenderTree/chromium/WebPreferences.cpp:
  14042. (WebPreferences::applyTo): Call setExperimentalWebGLEnabled().
  14043. 2010-09-19 Kent Tamura <tkent@chromium.org>
  14044. Reviewed by Adam Barth.
  14045. [DRT/Chromium] Fix a WebSettings handling bug
  14046. https://bugs.webkit.org/show_bug.cgi?id=45945
  14047. Before this change, Chromium DRT reset WebSettings for every new
  14048. window. It was wrong.
  14049. If new window is not the first one, we have to apply the same
  14050. settings as the first window. So, we introduce WebPreference to
  14051. store the current settings, and apply it to new windows. It's same
  14052. as test_shell's behavior.
  14053. * DumpRenderTree/DumpRenderTree.gypi:
  14054. * DumpRenderTree/chromium/LayoutTestController.cpp:
  14055. Use WebPreferences instead of WebSettings.
  14056. (LayoutTestController::setUserStyleSheetEnabled):
  14057. (LayoutTestController::setUserStyleSheetLocation):
  14058. (LayoutTestController::setAuthorAndUserStylesEnabled):
  14059. (LayoutTestController::setPopupBlockingEnabled):
  14060. (LayoutTestController::disableImageLoading):
  14061. (LayoutTestController::setJavaScriptCanAccessClipboard):
  14062. (LayoutTestController::setXSSAuditorEnabled):
  14063. (LayoutTestController::setAllowUniversalAccessFromFileURLs):
  14064. (LayoutTestController::setAllowFileAccessFromFileURLs):
  14065. (LayoutTestController::overridePreference):
  14066. (LayoutTestController::setEditingBehavior):
  14067. * DumpRenderTree/chromium/TestShell.cpp:
  14068. (TestShell::resetWebSettings): Use WebPreferences.
  14069. (TestShell::runFileTest): ditto.
  14070. (TestShell::createNewWindow): Apply existing WebPreferences to a new WebView.
  14071. * DumpRenderTree/chromium/TestShell.h:
  14072. (TestShell::preferences):
  14073. (TestShell::applyPreferences):
  14074. * DumpRenderTree/chromium/WebPreferences.cpp: Added.
  14075. * DumpRenderTree/chromium/WebPreferences.h: Added.
  14076. 2010-09-18 Prasad Tammana <prasadt@chromium.org>
  14077. Reviewed by David Levin.
  14078. update-webkit --chromium spitting out a spurious error
  14079. https://bugs.webkit.org/show_bug.cgi?id=45868
  14080. * Scripts/update-webkit-chromium: Use commandExists() function to check for existence of gclient.
  14081. 2010-09-18 Sam Weinig <sam@webkit.org>
  14082. Reviewed by Dan Bernstein.
  14083. Improve/unify the PageLoadClient interfaces
  14084. https://bugs.webkit.org/show_bug.cgi?id=46043
  14085. * MiniBrowser/mac/BrowserWindowController.m:
  14086. (didStartProvisionalLoadForFrame):
  14087. (didReceiveServerRedirectForProvisionalLoadForFrame):
  14088. (didFailProvisionalLoadWithErrorForFrame):
  14089. (didCommitLoadForFrame):
  14090. (didFinishDocumentLoadForFrame):
  14091. (didFinishLoadForFrame):
  14092. (didFailLoadWithErrorForFrame):
  14093. (didReceiveTitleForFrame):
  14094. (didFirstLayoutForFrame):
  14095. (didFirstVisuallyNonEmptyLayoutForFrame):
  14096. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  14097. (WTR::InjectedBundlePage::InjectedBundlePage):
  14098. (WTR::InjectedBundlePage::didStartProvisionalLoadForFrame):
  14099. (WTR::InjectedBundlePage::didReceiveServerRedirectForProvisionalLoadForFrame):
  14100. (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame):
  14101. (WTR::InjectedBundlePage::didCommitLoadForFrame):
  14102. (WTR::InjectedBundlePage::didFinishLoadForFrame):
  14103. (WTR::InjectedBundlePage::didFinishDocumentLoadForFrame):
  14104. (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame):
  14105. (WTR::InjectedBundlePage::didReceiveTitleForFrame):
  14106. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  14107. * WebKitTestRunner/TestController.cpp:
  14108. (WTR::TestController::didReceiveMessageFromInjectedBundle):
  14109. (WTR::TestController::didFinishLoadForFrame):
  14110. * WebKitTestRunner/TestController.h:
  14111. 2010-09-17 Eric Seidel <eric@webkit.org>
  14112. Unreviewed. Adding a shell script I use to run the
  14113. commit-queue. Now that multiple machines run the cq,
  14114. it makes sense to share the script between them.
  14115. * EWSTools/start-commit-queue.sh: Added.
  14116. 2010-09-17 Brian Weinstein <bweinstein@apple.com>
  14117. Reviewed by Jon Honeycutt.
  14118. The colors on the new build.webkit.org (after upgrading the master to 0.8.1) are
  14119. slightly harder to read, so this reverts the previous background colors for various
  14120. states, making it easier to read.
  14121. * BuildSlaveSupport/build.webkit.org-config/public_html/default.css:
  14122. (.success):
  14123. (.failure):
  14124. (.warnings):
  14125. (.exception):
  14126. (.start,.running,td.building):
  14127. (.offline,td.offline):
  14128. 2010-09-17 Sheriff Bot <webkit.review.bot@gmail.com>
  14129. Unreviewed, rolling out r67692.
  14130. http://trac.webkit.org/changeset/67692
  14131. https://bugs.webkit.org/show_bug.cgi?id=46011
  14132. broke layout test dashboard (Requested by johnny_g on
  14133. #webkit).
  14134. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  14135. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
  14136. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  14137. 2010-09-17 Martin Robinson <mrobinson@igalia.com>
  14138. Reviewed by Oliver Hunt.
  14139. Style bot complains about cairo forward declaration naming
  14140. https://bugs.webkit.org/show_bug.cgi?id=45867
  14141. Exclude Cairo forward declarations from indentifiers with underscores checks.
  14142. * Scripts/webkitpy/style/checkers/cpp.py: Add exclusion for Cairo forward-declarations.
  14143. * Scripts/webkitpy/style/checkers/cpp_unittest.py: Add some tests for this.
  14144. 2010-09-16 Kinuko Yasuda <kinuko@chromium.org>
  14145. Reviewed by Ojan Vafai.
  14146. Include detailed test modifiers (e.g. FLAKY) in results.json for failing non-layout tests
  14147. https://bugs.webkit.org/show_bug.cgi?id=45408
  14148. This change also tries to remove duplicated upload_results_json methods
  14149. in run_webkit_tests.py and json_results_generator.py.
  14150. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  14151. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
  14152. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  14153. 2010-09-16 Antonio Gomes <tonikitoo@webkit.org>
  14154. Reviewed by Andreas Kling.
  14155. [Qt] When switching views (WebViewGraphicsBased <--> WebViewTraditional), QWebPage signals and QActions have to be re-set.
  14156. Recently r67554 changed the way different views use the WebPage class: it was previously being shared between
  14157. different views, but now for each view switch, a new WebPage class is constructed and set. Signals and QAction's
  14158. were not being set to the new WebPage though. Patch fix that, by re constructing the toolbar, and then re-hooking
  14159. all page specific stuff to the UI.
  14160. * QtTestBrowser/launcherwindow.cpp:
  14161. (LauncherWindow::initializeView):
  14162. * QtTestBrowser/mainwindow.cpp:
  14163. (MainWindow::MainWindow):
  14164. (MainWindow::buildUI):
  14165. (MainWindow::setPage):
  14166. * QtTestBrowser/mainwindow.h:
  14167. 2010-09-12 Antonio Gomes <tonikitoo@webkit.org>
  14168. Reviewed by Andreas Kling.
  14169. Make all accesses to m_item (GraphicsWebView) done by WebViewGraphicsBased class happen though graphicsWebView getter method.
  14170. This patch is mostly a preparation for another commit, where the ownership of the m_item/GraphicsWebView
  14171. object will move to the qgraphicsscene instead of the qgraphicsview.
  14172. * QtTestBrowser/webview.cpp:
  14173. (WebViewGraphicsBased::setPage):
  14174. (WebViewGraphicsBased::setResizesToContents):
  14175. (WebViewGraphicsBased::resizeEvent):
  14176. (WebViewGraphicsBased::animatedFlip):
  14177. * QtTestBrowser/webview.h:
  14178. (WebViewGraphicsBased::setItemCacheMode):
  14179. (WebViewGraphicsBased::itemCacheMode):
  14180. 2010-09-12 Antonio Gomes <tonikitoo@webkit.org>
  14181. Reviewed by Andreas Kling.
  14182. Moved setYRotation method body out of the class (WebViewGraphicsBased) definition.
  14183. We usually separate methods whose body are larger than a few lines from the class definition.
  14184. * QtTestBrowser/webview.h:
  14185. (WebViewGraphicsBased::yRotation):
  14186. (WebViewGraphicsBased::setYRotation):
  14187. 2010-09-12 Antonio Gomes <tonikitoo@webkit.org>
  14188. Reviewed by Andreas Kling.
  14189. Make initializeView method of LauncherWindow private.
  14190. No one else needs to be able to call it but LauncherWindow.
  14191. Also moving the declation of isGraphicsBased method down in the same file, in order
  14192. to better group related methods.
  14193. * QtTestBrowser/launcherwindow.h:
  14194. 2010-09-12 Antonio Gomes <tonikitoo@webkit.org>
  14195. Reviewed by Andreas Kling.
  14196. Make the getter 'page' method of MainWindow const.
  14197. * QtTestBrowser/mainwindow.cpp:
  14198. (MainWindow::page):
  14199. * QtTestBrowser/mainwindow.h:
  14200. 2010-09-12 Antonio Gomes <tonikitoo@webkit.org>
  14201. Reviewed by Andreas Kling.
  14202. Remove useless parameter from MainWindow class' constructor.
  14203. The parameter defaults to an empty URL and is not being used by any caller. Apart from that it is also
  14204. not referred in the constructor body and does not make much sense.
  14205. * QtTestBrowser/mainwindow.cpp:
  14206. (MainWindow::MainWindow):
  14207. * QtTestBrowser/mainwindow.h:
  14208. 2010-09-15 Tony Chang <tony@chromium.org>
  14209. Reviewed by Kent Tamura.
  14210. [Chromium] Needs DRT queueLoadHTMLString and setDeferMainResourceLoad-implementations
  14211. https://bugs.webkit.org/show_bug.cgi?id=42151
  14212. * DumpRenderTree/chromium/LayoutTestController.cpp:
  14213. (LayoutTestController::LayoutTestController):
  14214. (WorkItemLoadHTMLString::WorkItemLoadHTMLString):
  14215. (WorkItemLoadHTMLString::run):
  14216. (LayoutTestController::queueLoadHTMLString):
  14217. (LayoutTestController::reset):
  14218. (LayoutTestController::setDeferMainResourceDataLoad):
  14219. * DumpRenderTree/chromium/LayoutTestController.h:
  14220. (LayoutTestController::deferMainResourceDataLoad):
  14221. * DumpRenderTree/chromium/WebViewHost.cpp:
  14222. (WebViewHost::didCreateDataSource):
  14223. 2010-09-16 Adrienne Walker <enne@google.com>
  14224. Reviewed by Kenneth Russell.
  14225. Add script to synchronize WebKit and Khronos WebGL tests
  14226. https://bugs.webkit.org/show_bug.cgi?id=42336
  14227. * Scripts/update-webgl-conformance-tests: Added.
  14228. * Scripts/webkitpy/layout_tests/update_webgl_conformance_tests.py: Added.
  14229. * Scripts/webkitpy/layout_tests/update_webgl_conformance_tests_unittest.py: Added.
  14230. 2010-09-16 Sam Weinig <sam@webkit.org>
  14231. Reviewed by Anders Carlsson.
  14232. Add support for sending synchronous messages from the InjectedBundle to the WKContext
  14233. <rdar://problem/8365320>
  14234. https://bugs.webkit.org/show_bug.cgi?id=44785
  14235. * MiniBrowser/mac/AppDelegate.m:
  14236. (didReceiveSynchronousMessageFromInjectedBundle):
  14237. (-[BrowserAppDelegate init]):
  14238. * MiniBrowser/mac/WebBundle/WebBundleMain.m:
  14239. (didCreatePage):
  14240. * WebKitTestRunner/TestController.cpp:
  14241. (WTR::TestController::initialize):
  14242. 2010-09-16 Leonid Ebril <leonid.ebril@nokia.com>
  14243. Reviewed by Andreas Kling.
  14244. [Qt] QtTestBrowser: Disable creation of a new window for screenshot on Symbian platform.
  14245. https://bugs.webkit.org/show_bug.cgi?id=45885
  14246. Avoid creation of an additional window for screenshot to prevent overlapping with original window.
  14247. * QtTestBrowser/launcherwindow.cpp:
  14248. (LauncherWindow::screenshot):
  14249. 2010-09-16 Anders Carlsson <andersca@apple.com>
  14250. Fix clang++ build.
  14251. * MiniBrowser/mac/BrowserWindowController.m:
  14252. (-[BrowserWindowController zoomIn:]):
  14253. (-[BrowserWindowController zoomOut:]):
  14254. (-[BrowserWindowController resetZoom:]):
  14255. Remove trailing semicolons.
  14256. 2010-09-16 Sheriff Bot <webkit.review.bot@gmail.com>
  14257. Unreviewed, rolling out r67628.
  14258. http://trac.webkit.org/changeset/67628
  14259. https://bugs.webkit.org/show_bug.cgi?id=45904
  14260. broke the build (Requested by eric_carlson on #webkit).
  14261. * DumpRenderTree/gtk/EventSender.cpp:
  14262. (contextClickCallback):
  14263. 2010-09-16 Balazs Kelemen <kbalazs@webkit.org>
  14264. Unreviewed.
  14265. Adding myself as a comitter.
  14266. * Scripts/webkitpy/common/config/committers.py:
  14267. 2010-09-15 Philippe Normand <pnormand@igalia.com>
  14268. Reviewed by Eric Carlson.
  14269. [GTK] enhanced context menu for media elements
  14270. https://bugs.webkit.org/show_bug.cgi?id=45021
  14271. EventSender::contextClick() now returns an array of js
  14272. objects. Each object has a title property and a click() method.
  14273. * DumpRenderTree/gtk/EventSender.cpp:
  14274. (getMenuItemTitleCallback):
  14275. (setMenuItemTitleCallback):
  14276. (menuItemClickCallback):
  14277. (getMenuItemClass):
  14278. (contextClickCallback):
  14279. 2010-09-14 Philippe Normand <pnormand@igalia.com>
  14280. Reviewed by Eric Carlson and Martin Robinson.
  14281. [GTK] eventSender.contextClick() should return the contents of the context menu
  14282. https://bugs.webkit.org/show_bug.cgi?id=39102
  14283. Make the eventSender use the new private WebKitGtk+ API to
  14284. retrieve the context-menu item titles and store them in an array.
  14285. * DumpRenderTree/gtk/EventSender.cpp:
  14286. (contextClickCallback):
  14287. 2010-09-16 Eric Uhrhane <ericu@chromium.org>
  14288. Reviewed by Jian Li.
  14289. Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
  14290. https://bugs.webkit.org/show_bug.cgi?id=45798
  14291. * Scripts/build-webkit:
  14292. 2010-09-16 Robert Hogan <robert@webkit.org>
  14293. Reviewed by Antonio Gomes.
  14294. [Qt] Support globalhistory tests
  14295. https://bugs.webkit.org/show_bug.cgi?id=45774
  14296. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  14297. (WebCore::isGlobalHistoryTest):
  14298. (WebCore::DumpRenderTree::open):
  14299. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  14300. (LayoutTestController::reset):
  14301. (LayoutTestController::dumpHistoryCallbacks):
  14302. (LayoutTestController::removeAllVisitedLinks):
  14303. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  14304. 2010-09-10 Tony Chang <tony@chromium.org>
  14305. Reviewed by Eric Seidel.
  14306. deduplicate-tests should be runnable from any WebKit directory
  14307. https://bugs.webkit.org/show_bug.cgi?id=44709
  14308. * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
  14309. * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
  14310. 2010-09-15 Tony Chang <tony@chromium.org>
  14311. Reviewed by Kent Tamura.
  14312. [chromium] sort testing methods in DRT
  14313. https://bugs.webkit.org/show_bug.cgi?id=45850
  14314. * DumpRenderTree/chromium/EventSender.cpp:
  14315. (EventSender::EventSender):
  14316. * DumpRenderTree/chromium/LayoutTestController.cpp:
  14317. (LayoutTestController::LayoutTestController):
  14318. * DumpRenderTree/chromium/TextInputController.cpp:
  14319. (TextInputController::TextInputController):
  14320. 2010-09-15 Mihai Parparita <mihaip@chromium.org>
  14321. Reviewed by Adam Barth.
  14322. CQ status shows items out of order
  14323. https://bugs.webkit.org/show_bug.cgi?id=45846
  14324. Only group consecutive status items with the same patch ID into the same
  14325. group, so that overall item ordering is preserved.
  14326. Also don't indent status items that only have a single item in their
  14327. group.
  14328. * QueueStatusServer/handlers/queuestatus.py:
  14329. * QueueStatusServer/templates/includes/singlequeuestatus.html: Added.
  14330. * QueueStatusServer/templates/queuestatus.html:
  14331. 2010-09-15 Eric Seidel <eric@webkit.org>
  14332. Reviewed by Adam Barth.
  14333. Add queue start/stop messages
  14334. https://bugs.webkit.org/show_bug.cgi?id=45853
  14335. I ended up needing to clean up a bunch of our unit testing
  14336. in order to test this new code path nicely.
  14337. There are also a few PEP8 changes needed to pass check-webkit-style.
  14338. * Scripts/webkitpy/tool/bot/queueengine.py:
  14339. * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
  14340. * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
  14341. * Scripts/webkitpy/tool/commands/queues.py:
  14342. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  14343. * Scripts/webkitpy/tool/commands/queuestest.py:
  14344. * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
  14345. 2010-09-15 Simon Fraser <simon.fraser@apple.com>
  14346. https://bugs.webkit.org/show_bug.cgi?id=45849
  14347. WKURLCreateWithCFURL crashes with null url
  14348. Fix MiniBrowser crash when the url is not parseable.
  14349. * MiniBrowser/mac/BrowserWindowController.m:
  14350. (-[BrowserWindowController fetch:]):
  14351. 2010-09-15 Patrick Gansterer <paroga@paroga.com>
  14352. Unreviewed.
  14353. Adding myself to the committers list.
  14354. * Scripts/webkitpy/common/config/committers.py:
  14355. 2010-09-14 Eric Seidel <eric@webkit.org>
  14356. Reviewed by Adam Barth.
  14357. Make it possible to run more than one commit-queue instance
  14358. https://bugs.webkit.org/show_bug.cgi?id=45786
  14359. Mostly we need to make sure the two (or more) instances get
  14360. different patches to work on. To do this, I re-worked
  14361. the code responsible for getting the next work item to
  14362. round trip through the status server. The status server only
  14363. vends patches from the work items list, only if those patches
  14364. have not had status reported for them in the last hour.
  14365. This is another step towards making all queues go through the
  14366. status server, thus making it possible to run more than one
  14367. instance of various EWS bots (as requested in bug 44292).
  14368. The webkitpy changes are already covered by existing unit tests.
  14369. The QueueStatusSever sadly has no testing infrastructure yet. :(
  14370. * QueueStatusServer/handlers/nextpatch.py: Added.
  14371. * QueueStatusServer/index.yaml:
  14372. * QueueStatusServer/main.py:
  14373. * Scripts/webkitpy/tool/commands/queues.py:
  14374. 2010-09-15 Mihai Parparita <mihaip@chromium.org>
  14375. Reviewed by Tony Chang.
  14376. NRWT fails with UnicodeDecodeError on editing/selection/mixed-editability-10.html
  14377. https://bugs.webkit.org/show_bug.cgi?id=45791
  14378. Force filenames to be raw bytes before running difflib.unified_diff.
  14379. * Scripts/webkitpy/layout_tests/port/base.py:
  14380. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  14381. 2010-09-15 Simon Hausmann <simon.hausmann@nokia.com>
  14382. Reviewed by Tor Arne Vestbø.
  14383. [Qt] QtTestBrowser crashes when enabling QGraphicsView mode after first loading page without it enabled
  14384. https://bugs.webkit.org/show_bug.cgi?id=35247
  14385. The main issue when changing the views is that the plugins and any other components that
  14386. depend on view specific attributes such as the native window id are not teared down.
  14387. Even if we had a tear-down procedure, we'd have to re-initialize the plugin after
  14388. switching to the new view (QGraphicsWebView). This is a rather uncommon situation, so
  14389. we decided to work around this in QtTestBrowser by making toggling between QWebView
  14390. and QGraphicsWebView also re-create the page.
  14391. * QtTestBrowser/launcherwindow.cpp:
  14392. (LauncherWindow::initializeView):
  14393. * QtTestBrowser/mainwindow.h:
  14394. 2010-09-14 Mihai Parparita <mihaip@chromium.org>
  14395. Reviewed by Adam Barth.
  14396. Send webkit accessibility notifications to Chromium
  14397. https://bugs.webkit.org/show_bug.cgi?id=45156
  14398. Move printf inside shouldDumpAccessibilityNotifications check.
  14399. * DumpRenderTree/chromium/WebViewHost.cpp:
  14400. (WebViewHost::postAccessibilityNotification):
  14401. 2010-09-14 Tony Chang <tony@chromium.org>
  14402. Reviewed by Kent Tamura.
  14403. [chromium] fix http/tests/security/local-user-CSS-from-remote.html
  14404. https://bugs.webkit.org/show_bug.cgi?id=45788
  14405. * DumpRenderTree/chromium/LayoutTestController.cpp:
  14406. (LayoutTestController::setUserStyleSheetLocation): use a base64 url like in Chrome
  14407. 2010-09-14 Tony Chang <tony@chromium.org>
  14408. Reviewed by Ojan Vafai.
  14409. [chromium] Remove WebKit::areLayoutTestImagesOpaque since it's no longer needed
  14410. https://bugs.webkit.org/show_bug.cgi?id=45768
  14411. * DumpRenderTree/chromium/TestShell.cpp:
  14412. (TestShell::dumpImage): new baselines are checked in and Linux will match Windows going forward.
  14413. 2010-09-14 Kevin Ollivier <kevino@theolliviers.com>
  14414. [wx] Build fix, add newly added directories to the directory list.
  14415. * wx/build/settings.py:
  14416. 2010-09-14 Sam Weinig <sam@webkit.org>
  14417. Reviewed by Anders Carlsson.
  14418. Remove WKBundleNodeRef, replacing uses with WKBundleNodeHandleRef.
  14419. https://bugs.webkit.org/show_bug.cgi?id=45785
  14420. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  14421. (WTR::propertyValue):
  14422. (WTR::numericWindowPropertyValue):
  14423. (WTR::dumpPath):
  14424. (WTR::toStr):
  14425. (WTR::operator<<):
  14426. (WTR::InjectedBundlePage::InjectedBundlePage):
  14427. (WTR::InjectedBundlePage::shouldInsertNode):
  14428. (WTR::InjectedBundlePage::shouldBeginEditing):
  14429. (WTR::InjectedBundlePage::shouldEndEditing):
  14430. (WTR::InjectedBundlePage::shouldInsertText):
  14431. (WTR::InjectedBundlePage::shouldDeleteRange):
  14432. (WTR::InjectedBundlePage::shouldChangeSelectedRange):
  14433. (WTR::InjectedBundlePage::shouldApplyStyle):
  14434. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  14435. 2010-09-14 Adam Barth <abarth@webkit.org>
  14436. Fix two typos in commit-queue. The first is harmless. The second
  14437. causes the queue to reject patches when the build is broken. :(
  14438. * Scripts/webkitpy/tool/commands/queues.py:
  14439. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  14440. 2010-09-14 Chris Guillory <chris.guillory@google.com>
  14441. Reviewed by Chris Fleizach.
  14442. Send all accessibility notifications to Chromium.
  14443. https://bugs.webkit.org/show_bug.cgi?id=45156
  14444. * DumpRenderTree/chromium/WebViewHost.cpp:
  14445. (WebViewHost::postAccessibilityNotification):
  14446. * DumpRenderTree/chromium/WebViewHost.h:
  14447. 2010-09-14 Adam Barth <abarth@webkit.org>
  14448. Reviewed by Eric Seidel.
  14449. commit-queue is slow during the day
  14450. https://bugs.webkit.org/show_bug.cgi?id=45780
  14451. Thanks to the new logging, we've noticed that checkout-is-out-of-date
  14452. errors in the first pass of landing don't retry the land. Instead,
  14453. they're treated as failures and cause the commit-queue to do two more
  14454. builds before really trying to land the patch. Worse, in the second
  14455. build, we can get bitten by a flaky test.
  14456. This patch takes a slightly different approach to the commit-queue's
  14457. main control logic. We now use a separate subprocess for building and
  14458. testing and for landing. This means we should very rarely see the
  14459. checkout-is-out-of-date error, and when we do see it, we should retry
  14460. more quickly. If my understanding is correct, this should be a big
  14461. speed win for the commit-queue.
  14462. * Scripts/webkitpy/tool/commands/download.py:
  14463. * Scripts/webkitpy/tool/commands/queues.py:
  14464. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  14465. 2010-09-14 Tony Chang <tony@chromium.org>
  14466. Reviewed by Dimitri Glazkov.
  14467. [chromium] implement layoutTestController.setDomainRelaxationForbiddenForURLScheme
  14468. https://bugs.webkit.org/show_bug.cgi?id=45762
  14469. * DumpRenderTree/chromium/LayoutTestController.cpp:
  14470. (LayoutTestController::LayoutTestController):
  14471. (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
  14472. * DumpRenderTree/chromium/LayoutTestController.h:
  14473. 2010-09-14 Csaba Osztrogonác <ossy@webkit.org>
  14474. Adding myself as a reviewer.
  14475. * Scripts/webkitpy/common/config/committers.py:
  14476. 2010-09-14 Zoltan Horvath <zoltan@webkit.org>
  14477. Reviewed by Kenneth Rohde Christiansen.
  14478. [Qt] Build-webkit shows a warning when WebKitBuild directory is not exist
  14479. https://bugs.webkit.org/show_bug.cgi?id=45736
  14480. Build-webkit has showed a warning when WebKitBuild didn't exist, add
  14481. an additional condition to avoid it.
  14482. * Scripts/build-webkit:
  14483. 2010-09-13 Eric Seidel <eric@webkit.org>
  14484. Reviewed by Adam Barth.
  14485. commit-queue should log when it's retrying due to checkout out of date error
  14486. https://bugs.webkit.org/show_bug.cgi?id=45725
  14487. This will allow us to better track how often we see these errors
  14488. and how long it takes the queue to recover from them.
  14489. In order to pass the tests, I had to correct an error
  14490. from a previous change. The UnitTestPort should not have
  14491. ever been using the base port method as that will read
  14492. a file from disk. If the unit tests haven't passed the contents
  14493. it should raise an IOError as though the file doesn't exist.
  14494. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  14495. * Scripts/webkitpy/tool/commands/queues.py:
  14496. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  14497. 2010-09-13 Mihai Parparita <mihaip@chromium.org>
  14498. Reviewed by Adam Barth.
  14499. Upload results when cq patch landing fails
  14500. https://bugs.webkit.org/show_bug.cgi?id=45683
  14501. Include script errors when CommitQueue._land fails.
  14502. * Scripts/webkitpy/tool/commands/queues.py:
  14503. 2010-09-13 Chris Fleizach <cfleizach@apple.com>
  14504. Reviewed by David Kilzer.
  14505. AX: accessibilityIsIgnored is returning nil when return value expects a BOOL
  14506. https://bugs.webkit.org/show_bug.cgi?id=45548
  14507. * DumpRenderTree/AccessibilityUIElement.cpp:
  14508. (isIgnoredCallback):
  14509. (AccessibilityUIElement::getJSClass):
  14510. * DumpRenderTree/AccessibilityUIElement.h:
  14511. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  14512. (AccessibilityUIElement::isIgnored):
  14513. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  14514. (AccessibilityUIElement::isIgnored):
  14515. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  14516. (AccessibilityUIElement::isIgnored):
  14517. 2010-09-13 Csaba Osztrogonác <ossy@webkit.org>
  14518. Reviewed by Andreas Kling.
  14519. jscPath() is incorrect in Windows' cmd.exe shell
  14520. https://bugs.webkit.org/show_bug.cgi?id=45651
  14521. * Scripts/webkitdirs.pm: Add ".exe" suffix to $jscName on Windows.
  14522. 2010-09-13 Chris Fleizach <cfleizach@apple.com>
  14523. Reviewed by Darin Adler.
  14524. REGRESSION (r64816-r64889): Crash in WebCore::AccessibilityRenderObject
  14525. https://bugs.webkit.org/show_bug.cgi?id=43807
  14526. * DumpRenderTree/AccessibilityUIElement.cpp:
  14527. (textMarkerForPointCallback):
  14528. (AccessibilityUIElement::textMarkerForPoint):
  14529. (AccessibilityUIElement::getJSClass):
  14530. * DumpRenderTree/AccessibilityUIElement.h:
  14531. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  14532. (AccessibilityUIElement::textMarkerForPoint):
  14533. 2010-09-13 Andreas Kling <andreas.kling@nokia.com>
  14534. Reviewed by Kenneth Rohde Christiansen.
  14535. [Qt] build-webkit: Add --v8 option to build against V8
  14536. Note that V8 is picked up from QtScript, so this currently requires building
  14537. against the experimental qt-script-v8 branch.
  14538. * Scripts/build-webkit:
  14539. 2010-09-13 Hans Wennborg <hans@chromium.org>
  14540. Reviewed by Jeremy Orlow.
  14541. Add WebDeviceOrientationClientMock::create() and use it from DRT.
  14542. https://bugs.webkit.org/show_bug.cgi?id=45650
  14543. Do not use the WebDeviceOrientationClientMock constructor directly,
  14544. but use the create() member function.
  14545. This should fix the linker errors for the multi-DLL Chromium DRT build.
  14546. * DumpRenderTree/chromium/LayoutTestController.cpp:
  14547. (LayoutTestController::setMockDeviceOrientation):
  14548. (LayoutTestController::deviceOrientationClient):
  14549. 2010-08-27 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org>
  14550. Reviewed by Antti Koivisto.
  14551. Add support for testing the viewport meta tag algorithm,
  14552. based on the following draft spec:
  14553. http://people.opera.com/rune/TR/ED-css-viewport-20100806/
  14554. Add common handling of viewport meta tag based on new Opera spec
  14555. https://bugs.webkit.org/show_bug.cgi?id=44201
  14556. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  14557. (LayoutTestController::dumpConfigurationForViewport):
  14558. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  14559. 2010-09-12 Kent Tamura <tkent@chromium.org>
  14560. Reviewed by Tony Chang.
  14561. [DRT/Chromium] Remove dependency to base/string16.h and gfx/codec/png_codec.h
  14562. https://bugs.webkit.org/show_bug.cgi?id=45517
  14563. Use webkit_support_gfx.h for PNG encoding/decoding instead of png_codec.h
  14564. * DumpRenderTree/chromium/ImageDiff.cpp:
  14565. (Image::craeteFromStdin):
  14566. (Image::createFromFilename):
  14567. (diffImages):
  14568. * DumpRenderTree/chromium/TestShell.cpp:
  14569. (TestShell::dumpImage):
  14570. 2010-09-10 MORITA Hajime <morrita@google.com>
  14571. Reviewed by Tony Chang.
  14572. [Chromium] Implement textInputController.hasSpellingMarker() for Chromium
  14573. https://bugs.webkit.org/show_bug.cgi?id=45441
  14574. Added TextInputController::hasSpellingMarker().
  14575. * DumpRenderTree/chromium/TextInputController.cpp:
  14576. (TextInputController::TextInputController):
  14577. (TextInputController::hasSpellingMarker):
  14578. * DumpRenderTree/chromium/TextInputController.h:
  14579. 2010-09-12 Dirk Pranke <dpranke@chromium.org>
  14580. Unreviewed, build fix.
  14581. My last change accidentally contained a local change to the
  14582. rebaselinig script; webkit-patch land picked it up without telling
  14583. me and committed it :(
  14584. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  14585. 2010-09-11 Maciej Stachowiak <mjs@apple.com>
  14586. Reviewed by Anders Carlsson.
  14587. Attempt to fix Windows MiniBrowser build (untested)
  14588. https://bugs.webkit.org/show_bug.cgi?id=45609
  14589. * MiniBrowser/win/BrowserView.cpp:
  14590. (runJavaScriptConfirm):
  14591. (runJavaScriptPrompt):
  14592. 2010-09-11 Sam Weinig <sam@webkit.org>
  14593. Reviewed by Maciej Stachowiak.
  14594. Fix zoom related tests when testing WebKit2.
  14595. * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
  14596. (WTR::EventSendingController::zoomPageIn): Zoom in and zoom out are not the same.
  14597. 2010-09-11 Sam Weinig <sam@webkit.org>
  14598. Reviewed by Dan Bernstein.
  14599. Implement WebKit2 callback equivalent to - [WebUIDelegate webView:setStatusText:]
  14600. <rdar://problem/8359252>
  14601. https://bugs.webkit.org/show_bug.cgi?id=45605
  14602. * MiniBrowser/mac/BrowserWindowController.m:
  14603. (setStatusText):
  14604. (contentsSizeChanged):
  14605. (-[BrowserWindowController awakeFromNib]):
  14606. * MiniBrowser/win/BrowserView.cpp:
  14607. (runJavaScriptConfirm):
  14608. (runJavaScriptPrompt):
  14609. (setStatusText):
  14610. (contentsSizeChanged):
  14611. (BrowserView::create):
  14612. * WebKitTestRunner/TestController.cpp:
  14613. (WTR::createOtherPage):
  14614. (WTR::TestController::initialize):
  14615. 2010-09-11 Sam Weinig <sam@webkit.org>
  14616. Reviewed by Dan Bernstein.
  14617. Add callback mechanism for the getting the source of a frame
  14618. <rdar://problem/8364681>
  14619. https://bugs.webkit.org/show_bug.cgi?id=45604
  14620. Add ability to dump the main frame's source to the console.
  14621. * MiniBrowser/mac/BrowserWindowController.h:
  14622. * MiniBrowser/mac/BrowserWindowController.m:
  14623. (-[BrowserWindowController dumpSourceToConsole:]):
  14624. * MiniBrowser/mac/MainMenu.xib:
  14625. 2010-09-11 Eric Seidel <eric@webkit.org>
  14626. Reviewed by Adam Barth.
  14627. Remove unneeded Empty Queue messages
  14628. https://bugs.webkit.org/show_bug.cgi?id=45602
  14629. We already have a /gc job to delete these.
  14630. recentstatus.py is already smart enough to use the
  14631. most recent of the workitems last update or the most recent status,
  14632. so removing these should not change the _last_status_date() return
  14633. value more than a few milliseconds.
  14634. These messages just spam the recent status log.
  14635. * Scripts/webkitpy/tool/commands/queues.py:
  14636. 2010-09-11 Mihai Parparita <mihaip@chromium.org>
  14637. Reviewed by Adam Barth.
  14638. Fix Python exception when generating synthetic patch IDs
  14639. https://bugs.webkit.org/show_bug.cgi?id=45592
  14640. Can't concatenate strings and numbers directly.
  14641. * QueueStatusServer/handlers/queuestatus.py:
  14642. 2010-09-11 Mihai Parparita <mihaip@chromium.org>
  14643. Reviewed by Adam Barth.
  14644. Group statuses in queue status by patch ID
  14645. https://bugs.webkit.org/show_bug.cgi?id=45588
  14646. Group statuses by patch ID so that the status page is easier
  14647. to scan.
  14648. * QueueStatusServer/handlers/queuestatus.py:
  14649. * QueueStatusServer/stylesheets/dashboard.css:
  14650. (.status-group):
  14651. (.status-bug):
  14652. (.status-group ul):
  14653. (.status-group ul li):
  14654. (.status-group ul li:hover):
  14655. (.status-cell):
  14656. (.status-cell:hover):
  14657. (.status-cell.pass):
  14658. (.status-cell.fail):
  14659. (.status-cell.pending):
  14660. (.status-cell.error):
  14661. * QueueStatusServer/templates/dashboard.html:
  14662. * QueueStatusServer/templates/queuestatus.html:
  14663. 2010-09-11 Mihai Parparita <mihaip@chromium.org>
  14664. Reviewed by Tony Chang.
  14665. Implement layoutTestController.dumpResourceResponseMIMETypes in Chromium DRT
  14666. https://bugs.webkit.org/show_bug.cgi?id=45479
  14667. Implement layoutTestController.dumpResourceResponseMIMETypes (modelled after
  14668. implementation in ResourceLoadDelegate in the Mac port).
  14669. * DumpRenderTree/chromium/LayoutTestController.cpp:
  14670. (LayoutTestController::LayoutTestController):
  14671. (LayoutTestController::dumpResourceResponseMIMETypes):
  14672. (LayoutTestController::reset):
  14673. * DumpRenderTree/chromium/LayoutTestController.h:
  14674. (LayoutTestController::setShouldDumpResourceResponseMIMETypes):
  14675. (LayoutTestController::shouldDumpResourceResponseMIMETypes):
  14676. * DumpRenderTree/chromium/TestShell.h:
  14677. (TestShell::shouldDumpResourceResponseMIMETypes):
  14678. * DumpRenderTree/chromium/WebViewHost.cpp:
  14679. (WebViewHost::didReceiveResponse):
  14680. 2010-09-11 Eric Seidel <eric@webkit.org>
  14681. Reviewed by Adam Barth.
  14682. queues.webkit.org should expose /remote_api for data upload/download
  14683. https://bugs.webkit.org/show_bug.cgi?id=45559
  14684. * QueueStatusServer/app.yaml:
  14685. - /remote_api is a standard app-engine service which allows use of
  14686. the bulk uploader for data upload/download. Exposing this
  14687. (for admin access only) allows us to use
  14688. 2010-09-10 Sam Weinig <sam@webkit.org>
  14689. Reviewed by Dan Bernstein.
  14690. Add zoom support to WebKit2 API
  14691. <rdar://problem/7660657>
  14692. https://bugs.webkit.org/show_bug.cgi?id=45585
  14693. - Add zoom options to MiniBrowser that mimic Safari's options using
  14694. the new WebKit2 zoom APIs.
  14695. - Switch uses of float for the zoom APIs to use double.
  14696. * MiniBrowser/mac/BrowserWindowController.h:
  14697. * MiniBrowser/mac/BrowserWindowController.m:
  14698. (-[BrowserWindowController initWithPageNamespace:]):
  14699. (-[BrowserWindowController validateMenuItem:]):
  14700. (-[BrowserWindowController validateUserInterfaceItem:]):
  14701. (-[BrowserWindowController currentZoomFactor]):
  14702. (-[BrowserWindowController setCurrentZoomFactor:]):
  14703. (-[BrowserWindowController canZoomIn]):
  14704. (-[BrowserWindowController zoomIn:]):
  14705. (-[BrowserWindowController canZoomOut]):
  14706. (-[BrowserWindowController zoomOut:]):
  14707. (-[BrowserWindowController canResetZoom]):
  14708. (-[BrowserWindowController resetZoom:]):
  14709. (-[BrowserWindowController toggleZoomMode:]):
  14710. * MiniBrowser/mac/MainMenu.xib:
  14711. * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
  14712. (WTR::EventSendingController::textZoomIn):
  14713. (WTR::EventSendingController::textZoomOut):
  14714. (WTR::EventSendingController::zoomPageIn):
  14715. (WTR::EventSendingController::zoomPageOut):
  14716. 2010-09-10 Robert Hogan <robert@webkit.org>
  14717. Reviewed by Andreas Kling.
  14718. [Qt] Fix crash in DRT in standalone mode
  14719. https://bugs.webkit.org/show_bug.cgi?id=45454
  14720. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  14721. (WebCore::DumpRenderTree::loadNextTestInStandAloneMode):
  14722. 2010-09-10 Sam Weinig <sam@webkit.org>
  14723. Reviewed by Darin Adler.
  14724. Remove unnecessary constraint in WebCore of choosing either text zoom or full page zoom.
  14725. Precursor to <rdar://problem/7660657>
  14726. https://bugs.webkit.org/show_bug.cgi?id=45522
  14727. Update for changes to the Bundle API to allow separate control of page and text zoom
  14728. levels.
  14729. * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
  14730. (WTR::EventSendingController::textZoomIn):
  14731. (WTR::EventSendingController::textZoomOut):
  14732. (WTR::EventSendingController::zoomPageIn):
  14733. (WTR::EventSendingController::zoomPageOut):
  14734. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  14735. (WTR::InjectedBundlePage::reset):
  14736. 2010-09-10 Yael Aharon <yael.aharon@nokia.com>
  14737. Reviewed by Andreas Kling.
  14738. [Qt] Support click event for notifications
  14739. https://bugs.webkit.org/show_bug.cgi?id=44836
  14740. Add support for simulateDesktopNotificationClick by calling
  14741. back to DumpRenderTreeSupportQt.cpp.
  14742. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  14743. (LayoutTestController::simulateDesktopNotificationClick):
  14744. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  14745. 2010-09-10 Mihai Parparita <mihaip@chromium.org>
  14746. Reviewed by Eric Seidel.
  14747. Update queue status when patches fail their first land attempt
  14748. https://bugs.webkit.org/show_bug.cgi?id=45583
  14749. Add a few more _update_status calls to make it more obvious if a patch is
  14750. being retried because tests failed.
  14751. * Scripts/webkitpy/tool/commands/queues.py:
  14752. 2010-09-10 Balazs Kelemen <kb@inf.u-szeged.hu>
  14753. Reviewed by Andreas Kling.
  14754. [Qt] MiniBrowser crashes with multiply windows when closing one of them
  14755. https://bugs.webkit.org/show_bug.cgi?id=45536
  14756. * MiniBrowser/qt/BrowserView.cpp:
  14757. (BrowserView::BrowserView): Reference the context instead of adopting it
  14758. because it can be shared across different views.
  14759. 2010-09-10 Tony Chang <tony@chromium.org>
  14760. Unreviewed, rolling out r67241.
  14761. http://trac.webkit.org/changeset/67241
  14762. https://bugs.webkit.org/show_bug.cgi?id=44709
  14763. Accidentally committed.
  14764. * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
  14765. * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
  14766. 2010-09-10 Tony Chang <tony@chromium.org>
  14767. Reviewed by Ojan Vafai.
  14768. deduplicate-tests should be runnable from any WebKit directory
  14769. https://bugs.webkit.org/show_bug.cgi?id=44709
  14770. * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
  14771. * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
  14772. 2010-09-10 Tony Chang <tony@chromium.org>
  14773. Unreviewed, rolling out r67216.
  14774. http://trac.webkit.org/changeset/67216
  14775. https://bugs.webkit.org/show_bug.cgi?id=44709
  14776. Broke
  14777. * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
  14778. * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
  14779. 2010-09-10 Tony Chang <tony@chromium.org>
  14780. Reviewed by Ojan Vafai.
  14781. deduplicate-tests should be runnable from any WebKit directory
  14782. https://bugs.webkit.org/show_bug.cgi?id=44709
  14783. * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
  14784. * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
  14785. 2010-09-09 Hans Wennborg <hans@chromium.org>
  14786. Reviewed by Jeremy Orlow.
  14787. Hook up LayoutTestController.setMockDeviceOrientation() in Chromium DumpRenderTree.
  14788. https://bugs.webkit.org/show_bug.cgi?id=45460
  14789. This enables DumpRenderTree to run layout tests for DeviceOrientation.
  14790. Also declare the LayoutTestController destructor out-of-line.
  14791. Otherwise the implicit destructor would cause compiler errors because
  14792. of the OwnPtr<WebKit::WebDeviceOrientationClientMock> member.
  14793. * DumpRenderTree/chromium/LayoutTestController.cpp:
  14794. (LayoutTestController::~LayoutTestController):
  14795. (LayoutTestController::setMockDeviceOrientation):
  14796. (LayoutTestController::deviceOrientationClient):
  14797. * DumpRenderTree/chromium/LayoutTestController.h:
  14798. * DumpRenderTree/chromium/WebViewHost.cpp:
  14799. (WebViewHost::deviceOrientationClient):
  14800. * DumpRenderTree/chromium/WebViewHost.h:
  14801. 2010-09-09 Sheriff Bot <webkit.review.bot@gmail.com>
  14802. Unreviewed, rolling out r67119.
  14803. http://trac.webkit.org/changeset/67119
  14804. https://bugs.webkit.org/show_bug.cgi?id=45505
  14805. Extra newlines in results (Requested by tony^work on #webkit).
  14806. * DumpRenderTree/chromium/LayoutTestController.cpp:
  14807. (LayoutTestController::LayoutTestController):
  14808. (LayoutTestController::reset):
  14809. * DumpRenderTree/chromium/LayoutTestController.h:
  14810. * DumpRenderTree/chromium/TestShell.h:
  14811. * DumpRenderTree/chromium/WebViewHost.cpp:
  14812. (printResponseDescription):
  14813. (printNodeDescription):
  14814. (printRangeDescription):
  14815. (WebViewHost::shouldBeginEditing):
  14816. (WebViewHost::shouldEndEditing):
  14817. (WebViewHost::shouldInsertNode):
  14818. (WebViewHost::shouldChangeSelectedRange):
  14819. (WebViewHost::shouldDeleteRange):
  14820. (WebViewHost::shouldApplyStyle):
  14821. (WebViewHost::didBeginEditing):
  14822. (WebViewHost::didChangeSelection):
  14823. (WebViewHost::didChangeContents):
  14824. (WebViewHost::didEndEditing):
  14825. (WebViewHost::decidePolicyForNavigation):
  14826. (WebViewHost::didCancelClientRedirect):
  14827. (WebViewHost::didStartProvisionalLoad):
  14828. (WebViewHost::didReceiveServerRedirectForProvisionalLoad):
  14829. (WebViewHost::didFailProvisionalLoad):
  14830. (WebViewHost::didCommitProvisionalLoad):
  14831. (WebViewHost::didFinishDocumentLoad):
  14832. (WebViewHost::didHandleOnloadEvents):
  14833. (WebViewHost::didFailLoad):
  14834. (WebViewHost::didFinishLoad):
  14835. (WebViewHost::didChangeLocationWithinPage):
  14836. (WebViewHost::willSendRequest):
  14837. (WebViewHost::didReceiveResponse):
  14838. (WebViewHost::didFinishResourceLoad):
  14839. (WebViewHost::didFailResourceLoad):
  14840. (WebViewHost::didDisplayInsecureContent):
  14841. (WebViewHost::didRunInsecureContent):
  14842. (WebViewHost::printFrameDescription):
  14843. 2010-09-09 Michael Saboff <msaboff@apple.com>
  14844. Unreviewed, adding myself to committers list.
  14845. * Scripts/webkitpy/common/config/committers.py:
  14846. 2010-09-09 Mihai Parparita <mihaip@chromium.org>
  14847. Reviewed by Tony Chang.
  14848. Implement layoutTestController.dumpResourceResponseMIMETypes in Chromium DRT
  14849. https://bugs.webkit.org/show_bug.cgi?id=45479
  14850. Implement layoutTestController.dumpResourceResponseMIMETypes (modelled after
  14851. implementation in ResourceLoadDelegate in the Mac port).
  14852. * DumpRenderTree/chromium/LayoutTestController.cpp:
  14853. (LayoutTestController::LayoutTestController):
  14854. (LayoutTestController::dumpResourceResponseMIMETypes):
  14855. (LayoutTestController::reset):
  14856. * DumpRenderTree/chromium/LayoutTestController.h:
  14857. (LayoutTestController::setShouldDumpResourceResponseMIMETypes):
  14858. (LayoutTestController::shouldDumpResourceResponseMIMETypes):
  14859. * DumpRenderTree/chromium/TestShell.h:
  14860. (TestShell::shouldDumpResourceResponseMIMETypes):
  14861. * DumpRenderTree/chromium/WebViewHost.cpp:
  14862. (WebViewHost::didReceiveResponse):
  14863. 2010-09-09 Mihai Parparita <mihaip@chromium.org>
  14864. Reviewed by Daniel Bates.
  14865. svn-apply tries to delete directories it shouldn't
  14866. https://bugs.webkit.org/show_bug.cgi?id=45424
  14867. isDirectoryEmptyForRemoval had the wrong check. If an item in the
  14868. directory is itself a directory, then the directory is definitely
  14869. not empty.
  14870. * Scripts/svn-apply:
  14871. 2010-09-09 Chris Fleizach <cfleizach@apple.com>
  14872. Fixing GTK and windows build failure.
  14873. AX: Support AccessibilityTextMarkers in DRT
  14874. https://bugs.webkit.org/show_bug.cgi?id=44778
  14875. * DumpRenderTree/AccessibilityTextMarker.h:
  14876. (AccessibilityTextMarker::platformTextMarker):
  14877. (AccessibilityTextMarkerRange::platformTextMarkerRange):
  14878. * DumpRenderTree/mac/AccessibilityTextMarkerMac.mm:
  14879. (AccessibilityTextMarker::platformTextMarker):
  14880. (AccessibilityTextMarkerRange::platformTextMarkerRange):
  14881. 2010-09-09 Chris Fleizach <cfleizach@apple.com>
  14882. Reviewed by David Kilzer.
  14883. AX: Support AccessibilityTextMarkers in DRT
  14884. https://bugs.webkit.org/show_bug.cgi?id=44778
  14885. Add AccessibilityTextMarker and AccessibilityTextMarkerRange which encapsulate the AXTextMarkers
  14886. that WebCore uses when vending information about its VisiblePositions through AX.
  14887. There are a few new methods in AccessibilityUIElement to retrieve and use text markers, and some basic
  14888. methods for encapsulating and checking equality.
  14889. This will allow future bug fixes in the text marker system to be adequately tested.
  14890. * DumpRenderTree/AccessibilityTextMarker.cpp: Added.
  14891. (toTextMarker):
  14892. (isMarkerEqualCallback):
  14893. (markerFinalize):
  14894. (AccessibilityTextMarker::makeJSAccessibilityTextMarker):
  14895. (AccessibilityTextMarker::getJSClass):
  14896. (toTextMarkerRange):
  14897. (isMarkerRangeEqualCallback):
  14898. (markerRangeFinalize):
  14899. (AccessibilityTextMarkerRange::makeJSAccessibilityTextMarkerRange):
  14900. (AccessibilityTextMarkerRange::getJSClass):
  14901. * DumpRenderTree/AccessibilityTextMarker.h: Added.
  14902. (AccessibilityTextMarker::platformTextMarker):
  14903. (AccessibilityTextMarkerRange::platformTextMarkerRange):
  14904. (AccessibilityTextMarker::AccessibilityTextMarker):
  14905. (AccessibilityTextMarker::~AccessibilityTextMarker):
  14906. (AccessibilityTextMarker::isEqual):
  14907. (AccessibilityTextMarkerRange::AccessibilityTextMarkerRange):
  14908. (AccessibilityTextMarkerRange::~AccessibilityTextMarkerRange):
  14909. (AccessibilityTextMarkerRange::isEqual):
  14910. * DumpRenderTree/AccessibilityUIElement.cpp:
  14911. (textMarkerRangeForElementCallback):
  14912. (textMarkerRangeLengthCallback):
  14913. (textMarkerRangeForMarkersCallback):
  14914. (startTextMarkerForTextMarkerRangeCallback):
  14915. (endTextMarkerForTextMarkerRangeCallback):
  14916. (accessibilityElementForTextMarkerCallback):
  14917. (AccessibilityUIElement::textMarkerRangeForElement):
  14918. (AccessibilityUIElement::textMarkerRangeLength):
  14919. (AccessibilityUIElement::startTextMarkerForTextMarkerRange):
  14920. (AccessibilityUIElement::endTextMarkerForTextMarkerRange):
  14921. (AccessibilityUIElement::accessibilityElementForTextMarker):
  14922. (AccessibilityUIElement::getJSClass):
  14923. * DumpRenderTree/AccessibilityUIElement.h:
  14924. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  14925. * DumpRenderTree/mac/AccessibilityTextMarkerMac.mm: Added.
  14926. (AccessibilityTextMarker::AccessibilityTextMarker):
  14927. (AccessibilityTextMarker::~AccessibilityTextMarker):
  14928. (AccessibilityTextMarker::isEqual):
  14929. (AccessibilityTextMarkerRange::AccessibilityTextMarkerRange):
  14930. (AccessibilityTextMarkerRange::~AccessibilityTextMarkerRange):
  14931. (AccessibilityTextMarkerRange::isEqual):
  14932. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  14933. (AccessibilityUIElement::textMarkerRangeForElement):
  14934. (AccessibilityUIElement::textMarkerRangeLength):
  14935. (AccessibilityUIElement::textMarkerRangeForMarkers):
  14936. (AccessibilityUIElement::startTextMarkerForTextMarkerRange):
  14937. (AccessibilityUIElement::endTextMarkerForTextMarkerRange):
  14938. (AccessibilityUIElement::accessibilityElementForTextMarker):
  14939. * DumpRenderTree/win/DumpRenderTree.vcproj:
  14940. 2010-08-25 Tony Chang <tony@chromium.org>
  14941. Reviewed by Ojan Vafai.
  14942. don't delete duplicates needed because of intermediate results
  14943. https://bugs.webkit.org/show_bug.cgi?id=44653
  14944. Also, output the full path so we can pipe the output to rm.
  14945. * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
  14946. * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
  14947. 2010-09-09 Balazs Kelemen <kb@inf.u-szeged.hu>
  14948. Reviewed by Andreas Kling.
  14949. [Qt] MiniBrowser does not starts properly
  14950. https://bugs.webkit.org/show_bug.cgi?id=45459
  14951. Do not try set up the first window by calling newWindow on a
  14952. newly created BrowserWindow since it creates a new object.
  14953. * MiniBrowser/qt/BrowserWindow.cpp:
  14954. (BrowserWindow::BrowserWindow):
  14955. * MiniBrowser/qt/main.cpp:
  14956. (main):
  14957. 2010-09-09 Martin Robinson <mrobinson@igalia.com>
  14958. Reviewed by Xan Lopez.
  14959. [GTK] Get ImageDiff building on Win32
  14960. https://bugs.webkit.org/show_bug.cgi?id=45353
  14961. * DumpRenderTree/gtk/ImageDiff.cpp:
  14962. (main): Switch from using strtok to g_strsplit.
  14963. 2010-09-09 Zoltan Horvath <zoltan@webkit.org>
  14964. Reviewed by Andreas Kling.
  14965. [Qt] Modify load method of MiniBrowser's BrowserView class
  14966. https://bugs.webkit.org/show_bug.cgi?id=45442
  14967. Modify load method to take a QString as argument, remove unnecessary QT_VERSION_CHECK.
  14968. * MiniBrowser/qt/BrowserView.cpp:
  14969. (BrowserView::load):
  14970. * MiniBrowser/qt/BrowserView.h:
  14971. * MiniBrowser/qt/BrowserWindow.cpp:
  14972. (BrowserWindow::load):
  14973. 2010-09-09 Tony Chang <tony@chromium.org>
  14974. Reviewed by Ojan Vafai.
  14975. fix show_results in new-run-webkit-tests
  14976. https://bugs.webkit.org/show_bug.cgi?id=45413
  14977. * Scripts/webkitpy/layout_tests/port/chromium.py:
  14978. 2010-09-08 Victor Wang <victorw@chromium.org>
  14979. Reviewed by Ojan Vafai.
  14980. [Chromium] Fix test results server to make sure
  14981. it does not have corrupted data.
  14982. results.json file size coulbe be >1M and we split
  14983. the data into multiple data store entries in this
  14984. case. This patch fixes the issue that the data may
  14985. be corrupted if data store error happens in the middle
  14986. of saving multiple entries.
  14987. https://bugs.webkit.org/show_bug.cgi?id=45063
  14988. * TestResultServer/model/datastorefile.py:
  14989. 2010-09-08 Peter Varga <pvarga@inf.u-szeged.hu>
  14990. Reviewed by Kenneth Rohde Christiansen.
  14991. Fix ignoring return value warning in case of gcc 4.4.4
  14992. https://bugs.webkit.org/show_bug.cgi?id=45384
  14993. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
  14994. (testPostURLFile):
  14995. If fwrite have written zero byte then the testPostURLFile function
  14996. returns with false as tempFile can't be opened.
  14997. * DumpRenderTree/qt/ImageDiff.cpp:
  14998. (main):
  14999. Put fwrite function into an if condition without body to avoid
  15000. warning. It is safe because this function writes to the stdout.
  15001. 2010-09-08 Satish Sampath <satish@chromium.org>
  15002. Unreviewed, adding myself to committers list.
  15003. * Scripts/webkitpy/common/config/committers.py:
  15004. 2010-09-08 Hans Wennborg <hans@chromium.org>
  15005. Unreviewed.
  15006. Adding myself as a committer in committers.py.
  15007. * Scripts/webkitpy/common/config/committers.py:
  15008. 2010-09-08 Zoltan Horvath <zoltan@webkit.org>
  15009. Reviewed by Simon Hausmann.
  15010. [Qt] Refactor MiniBrowser
  15011. https://bugs.webkit.org/show_bug.cgi?id=45173
  15012. Split BrowserWindow into two source files and headers. Remove unnecessary header includes.
  15013. * MiniBrowser/qt/BrowserView.cpp: Added.
  15014. (createNewPage):
  15015. (BrowserView::BrowserView):
  15016. (BrowserView::resizeEvent):
  15017. (BrowserView::load):
  15018. (BrowserView::view):
  15019. * MiniBrowser/qt/BrowserView.h: Added.
  15020. (BrowserView::~BrowserView):
  15021. * MiniBrowser/qt/BrowserWindow.cpp:
  15022. * MiniBrowser/qt/BrowserWindow.h:
  15023. * MiniBrowser/qt/MiniBrowser.pro:
  15024. 2010-09-08 Adam Barth <abarth@webkit.org>
  15025. Rubber-stamped by Eric Seidel.
  15026. Rename DocLoader to CachedResourceLoader because that's what it does.
  15027. * Scripts/do-webcore-rename:
  15028. 2010-09-07 Kinuko Yasuda <kinuko@chromium.org>
  15029. Reviewed by Ojan Vafai.
  15030. Enable incremental results.json generation for non-layout tests.
  15031. https://bugs.webkit.org/show_bug.cgi?id=45315
  15032. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: Enable generate_incremental_results=True by default. (This still keeps to generate results.json.) Also add a code to upload results json files to the app-engine server. Need a chromium change to actually start the uploading.
  15033. * TestResultServer/model/jsonresults.py: Make sure we save the file with test_type for incremental cases too.
  15034. 2010-09-07 Dirk Pranke <dpranke@chromium.org>
  15035. Unreviewed, build fix
  15036. Missed one test in mac_unittest.py in previous change; for some
  15037. reason the method is listed twice. I will fix both for now, but will
  15038. figure this out in a later, not-time-sensitive patch.
  15039. https://bugs.webkit.org/show_bug.cgi?id=45357
  15040. * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
  15041. 2010-09-07 Kent Tamura <tkent@chromium.org>
  15042. Reviewed by Tony Chang.
  15043. test-webkitpy: Fix load error of
  15044. webkitpy/layout_tests/port/factory_unittest.py on Win32 Python
  15045. https://bugs.webkit.org/show_bug.cgi?id=45356 Need a short
  15046. * Scripts/webkitpy/layout_tests/port/server_process.py:
  15047. Avoid to import fcntl on win32. Win32 Python doesn't have fcntl
  15048. and we don't use server_process.py on Win32 Python. However
  15049. unittest.py tries to load everything in a module.
  15050. 2010-09-07 Dirk Pranke <dpranke@chromium.org>
  15051. Reviewed by Kent Tamura.
  15052. Fix regression introduced in previous change to new-run-webkit-tests
  15053. (bug 45090) to not try to run unittests for the Mac implementation
  15054. of the Port interface if we aren't running on a Mac.
  15055. Also fix the overrides implementation mock in the chromium unittests
  15056. to fix the case where there are overrides checked in that cause
  15057. problems.
  15058. https://bugs.webkit.org/show_bug.cgi?id=45357
  15059. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  15060. * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
  15061. * Scripts/webkitpy/layout_tests/port/port_testcase.py:
  15062. 2010-09-01 Dirk Pranke <dpranke@chromium.org>
  15063. Reviewed by Ojan Vafai.
  15064. new-run-webkit-tests: still more unit tests
  15065. Clean up and remove unnecessary code. Biggest notable change is
  15066. moving the chromium-specific imagediff code from port/base to
  15067. port/chromium.
  15068. Add more unit tests for run_webkit_tests.py, port/base.py,
  15069. port/factory.py, port/dryrun.py, and
  15070. layout_package/dump_render_tree_thread.py
  15071. This covers almost all of the generic and test code paths except for
  15072. a few error paths involving invalid or port-specific command line
  15073. arguments, and the code path for uploading results files to the
  15074. buildbots.
  15075. https://bugs.webkit.org/show_bug.cgi?id=45090
  15076. * Scripts/webkitpy/layout_tests/data/failures/expected/hang.html: Added.
  15077. * Scripts/webkitpy/layout_tests/data/http/tests/passes/text-expected.txt: Copied from WebKitTools/Scripts/webkitpy/layout_tests/data/passes/text-expected.txt.
  15078. * Scripts/webkitpy/layout_tests/data/http/tests/passes/text.html: Copied from WebKitTools/Scripts/webkitpy/layout_tests/data/passes/text.html.
  15079. * Scripts/webkitpy/layout_tests/data/http/tests/ssl/text-expected.txt: Copied from WebKitTools/Scripts/webkitpy/layout_tests/data/passes/text-expected.txt.
  15080. * Scripts/webkitpy/layout_tests/data/http/tests/ssl/text.html: Copied from WebKitTools/Scripts/webkitpy/layout_tests/data/passes/text.html.
  15081. * Scripts/webkitpy/layout_tests/data/platform/test/test_expectations.txt:
  15082. * Scripts/webkitpy/layout_tests/data/websocket/tests/passes/text-expected.txt: Copied from WebKitTools/Scripts/webkitpy/layout_tests/data/passes/text-expected.txt.
  15083. * Scripts/webkitpy/layout_tests/data/websocket/tests/passes/text.html: Copied from WebKitTools/Scripts/webkitpy/layout_tests/data/passes/text.html.
  15084. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  15085. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread_unittest.py: Added.
  15086. * Scripts/webkitpy/layout_tests/port/base.py:
  15087. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  15088. * Scripts/webkitpy/layout_tests/port/chromium.py:
  15089. * Scripts/webkitpy/layout_tests/port/dryrun.py:
  15090. * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
  15091. * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
  15092. * Scripts/webkitpy/layout_tests/port/port_testcase.py: Added.
  15093. * Scripts/webkitpy/layout_tests/port/server_process.py:
  15094. * Scripts/webkitpy/layout_tests/port/test.py:
  15095. * Scripts/webkitpy/layout_tests/port/webkit.py:
  15096. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  15097. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  15098. 2010-09-07 Joseph Pecoraro <joepeck@webkit.org>
  15099. Reviewed by Darin Adler.
  15100. Provide a way to trigger a <select multiple> onchange event on changes
  15101. https://bugs.webkit.org/show_bug.cgi?id=45192
  15102. Adds a selector on ObjCController for testing
  15103. -[DOMHTMLSelectElement _activateItemAtIndex:allowMultipleSelection:] and
  15104. its different uses.
  15105. * DumpRenderTree/mac/ObjCController.m:
  15106. (+[ObjCController isSelectorExcludedFromWebScript:]):
  15107. (+[ObjCController webScriptNameForSelector:]):
  15108. (-[ObjCController setSelectElement:selectedIndex:allowingMultiple:]):
  15109. 2010-09-07 James Robinson <jamesr@chromium.org>
  15110. Rubber-stamped by Dimitri Glazkov.
  15111. Move myself from the committer to the reviewer list.
  15112. * Scripts/webkitpy/common/config/committers.py:
  15113. 2010-09-07 Tony Chang <tony@chromium.org>
  15114. Reviewed by Darin Fisher.
  15115. [chromium] Make a public flag for how DRT generates bitmaps on Linux
  15116. https://bugs.webkit.org/show_bug.cgi?id=45133
  15117. * DumpRenderTree/chromium/TestShell.cpp:
  15118. (TestShell::dumpImage):
  15119. 2010-09-07 Kent Tamura <tkent@chromium.org>
  15120. Reviewed by Dimitri Glazkov.
  15121. [DRT/Chromium] Implement --check-layout-test-sys-deps
  15122. https://bugs.webkit.org/show_bug.cgi?id=45283
  15123. * DumpRenderTree/chromium/DumpRenderTree.cpp:
  15124. (main): Check --check-layout-test-sys-deps and call checkLayoutTestSystemDependencies().
  15125. * DumpRenderTree/chromium/TestShell.h: Declare checkLayoutTestSystemDependencies().
  15126. * DumpRenderTree/chromium/TestShellGtk.cpp:
  15127. (checkLayoutTestSystemDependencies): Add an empty implementation.
  15128. * DumpRenderTree/chromium/TestShellMac.mm:
  15129. (checkLayoutTestSystemDependencies): Add an empty implementation.
  15130. * DumpRenderTree/chromium/TestShellWin.cpp:
  15131. (checkLayoutTestSystemDependencies): Port similar function of test_shell.
  15132. 2010-09-07 Jessie Berlin <jberlin@apple.com>
  15133. Unreviewed. Mac build fix.
  15134. * MiniBrowser/mac/WebBundle/WebBundleMain.m:
  15135. (didClearWindowObjectForFrame):
  15136. 2010-09-07 Jessie Berlin <jberlin@apple.com>
  15137. Reviewed by Darin Adler.
  15138. Indicate which one of the ScriptWorlds for a Frame the Window Object has been cleared for
  15139. https://bugs.webkit.org/show_bug.cgi?id=45217
  15140. Make WebKitTestRunner work with this change.
  15141. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  15142. (WTR::InjectedBundlePage::didClearWindowForFrame):
  15143. Make sure the ScriptWorld here is the normal world, since that is no longer being done in
  15144. WebFrameLoaderClient.
  15145. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  15146. 2010-09-07 Philippe Normand <pnormand@igalia.com>
  15147. Unreviewed, build fix.
  15148. webkit-patch command to find the ports covering a specific layout test
  15149. https://bugs.webkit.org/show_bug.cgi?id=42832
  15150. * Scripts/webkitpy/layout_tests/port/chromium.py: Don't assume the
  15151. tests are present when building the expectations. This is needed
  15152. for the unittests.
  15153. 2010-09-06 Philippe Normand <pnormand@igalia.com>
  15154. Reviewed by Adam Barth.
  15155. webkit-patch command to find the ports covering a specific layout test
  15156. https://bugs.webkit.org/show_bug.cgi?id=42832
  15157. To use it: webkit-patch skipped-ports some/layout/test.html
  15158. * Scripts/webkitpy/layout_tests/port/base.py:
  15159. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  15160. * Scripts/webkitpy/layout_tests/port/chromium.py:
  15161. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  15162. * Scripts/webkitpy/layout_tests/port/factory.py:
  15163. * Scripts/webkitpy/layout_tests/port/factory_unittest.py:
  15164. * Scripts/webkitpy/layout_tests/port/test.py:
  15165. * Scripts/webkitpy/layout_tests/port/webkit.py:
  15166. * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
  15167. * Scripts/webkitpy/tool/commands/queries.py:
  15168. * Scripts/webkitpy/tool/commands/queries_unittest.py:
  15169. * Scripts/webkitpy/tool/main.py:
  15170. * Scripts/webkitpy/tool/mocktool.py:
  15171. 2010-09-07 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  15172. Reviewed by Eric Seidel.
  15173. [NRWT] Add temp directory to all running drivers.
  15174. https://bugs.webkit.org/show_bug.cgi?id=45261
  15175. * Scripts/webkitpy/layout_tests/port/webkit.py:
  15176. 2010-09-06 Dimitri Glazkov <dglazkov@chromium.org>
  15177. Reviewed by Kent Tamura.
  15178. [Chromium/DRT] Empty out user stylesheet after each test run.
  15179. https://bugs.webkit.org/show_bug.cgi?id=45282
  15180. This should significantly cut down on the number of the mysterious flaky tests
  15181. whose diffs looked like the page was blown up to a very lage size. This
  15182. was indeed the dirty work of platform/mac/fast/loader/user-stylesheet-fast-path.html,
  15183. which set the base body font to 100px.
  15184. Since the user stylesheet was never reset, _all_ pixel tests that ran after it in
  15185. the same thread failed.
  15186. * DumpRenderTree/chromium/TestShell.cpp:
  15187. (TestShell::resetWebSettings): Set user stylesheet to an empty URL.
  15188. 2010-09-06 Kent Tamura <tkent@chromium.org>
  15189. Reviewed by Dimitri Glazkov.
  15190. [DRT/Chromium] Do not generate pixel results for text/plain resources
  15191. https://bugs.webkit.org/show_bug.cgi?id=45253
  15192. * DumpRenderTree/chromium/TestShell.cpp:
  15193. (TestShell::dump): Clear shouldGeneratePixelResults flag for text/plain.
  15194. 2010-09-06 Ojan Vafai <ojan@chromium.org>
  15195. Reviewed by Kent Tamura.
  15196. print out correct error when a DRT thread dies in NRWT
  15197. https://bugs.webkit.org/show_bug.cgi?id=45281
  15198. Not sure why, but with the parens, python 2.6.5 on Linux
  15199. gives an error that raise takes 5 arguments and 0 were given.
  15200. Didn't test other platforms or python versions, but putting it
  15201. all on one line fixes it and correctly prints the exception
  15202. from the DRT thread.
  15203. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  15204. 2010-09-06 Eric Seidel <eric@webkit.org>
  15205. Unreviewed, just adding some emails from lists.webkit.org.
  15206. Update committers.py to include emails from lists.webkit.org
  15207. as found by the validate-committer-lists script.
  15208. * Scripts/webkitpy/common/config/committers.py:
  15209. 2010-09-06 Martin Robinson <mrobinson@igalia.com>
  15210. Reviewed by Xan Lopez.
  15211. [GTK] Small code cleanup in DumpRenderTreeGtk.cpp
  15212. https://bugs.webkit.org/show_bug.cgi?id=45213
  15213. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  15214. (initializeFonts): Made this function do nothing for non-X11 platforms, so we don't
  15215. have to surround the invocation with #ifdefs.
  15216. (useLongRunningServerMode): Added.
  15217. (runTestingServerLoop): Added.
  15218. (initializeGlobalsFromCommandLineOptions): Added.
  15219. (runTest): Removed ifdefs.
  15220. (main): Use new helper functions.
  15221. 2010-09-06 Martin Robinson <mrobinson@igalia.com>
  15222. Reviewed by Xan Lopez.
  15223. [GTK] EventSender should support modifier keys with mouseDown and mouseUp events
  15224. https://bugs.webkit.org/show_bug.cgi?id=45235
  15225. Add support for interpreting the modifier key arguments to the mouseDown and mouseUp
  15226. methods of the EventSender.
  15227. * DumpRenderTree/gtk/EventSender.cpp:
  15228. (prepareMouseButtonEvent): Allow passing in a modifier bitmask, which will be OR'd
  15229. with the current modifiers.
  15230. (contextClickCallback): Always send no modifiers when preparing the mouse event.
  15231. (gdkModifersFromJSValue): Added, converts a JSValue array into a GDK modifier bitmask.
  15232. (mouseDownCallback): Send in the requested modifiers to prepareMouseButtonEvent.
  15233. (mouseUpCallback): Ditto.
  15234. 2010-09-05 Peter Kasting <pkasting@google.com>
  15235. Reviewed by Adam Barth.
  15236. Make Chromium/Mac generate continuous mousewheel events with the same wheelDelta values as Safari/Mac.
  15237. https://bugs.webkit.org/show_bug.cgi?id=45155
  15238. * DumpRenderTree/chromium/EventSender.cpp: Modify Chromium DRT mousewheel event generation to match new behavior on Mac.
  15239. (EventSender::handleMouseWheel):
  15240. 2010-09-05 Yury Semikhatsky <yurys@chromium.org>
  15241. Reviewed by Joseph Pecoraro.
  15242. Web Inspector: remove WebDevToolsAgentClient::forceRepaint which is not used
  15243. https://bugs.webkit.org/show_bug.cgi?id=45179
  15244. * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
  15245. * DumpRenderTree/chromium/DRTDevToolsAgent.h:
  15246. 2010-09-05 Andreas Kling <andreas.kling@nokia.com>
  15247. Rubber-stamped by Daniel Bates.
  15248. Adding myself as reviewer.
  15249. * Scripts/webkitpy/common/config/committers.py:
  15250. 2010-09-04 Daniel Bates <dbates@rim.com>
  15251. Reviewed by Martin Robinson.
  15252. Teach svn-apply/unapply about svn:mergeinfo
  15253. https://bugs.webkit.org/show_bug.cgi?id=45236
  15254. Recognize the svn:mergeinfo property and ignore it for now.
  15255. Currently, svn-apply/unapply recognize only '+' and '-'
  15256. property changes within a diff. We should add support
  15257. to recognize "Merged" and "Reverse-merged" changes as well.
  15258. Because svn:mergeinfo is metadata that is used only by SVN
  15259. and tends to be error-prone and/or nuisance (*), we will ignore
  15260. it for now.
  15261. (*) See "Parting Thoughts" of <http://www.collab.net/community/subversion/articles/merge-info.html>.
  15262. * Scripts/VCSUtils.pm:
  15263. - Modified parseSvnProperty() to recognize "Merged" and
  15264. "Reverse-merged" as the start of a property value.
  15265. * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffFooter.pl:
  15266. - Added the following unit tests:
  15267. "simple: add svn:mergeinfo"
  15268. "simple: delete svn:mergeinfo"
  15269. "simple: modified svn:mergeinfo"
  15270. * Scripts/webkitperl/VCSUtils_unittest/parseSvnProperty.pl:
  15271. - Added the following unit tests:
  15272. "simple: add svn:mergeinfo"
  15273. "simple: delete svn:mergeinfo"
  15274. "simple: modified svn:mergeinfo"
  15275. "simple: modified svn:mergeinfo using SVN 1.4 syntax"
  15276. "'Merged' change followed by 'Merged' change"
  15277. "'Reverse-merged' change followed by 'Reverse-merged' change"
  15278. * Scripts/webkitperl/VCSUtils_unittest/parseSvnPropertyValue.pl:
  15279. - Added the following unit tests:
  15280. "'Merged' change"
  15281. "'Reverse-merged' change"
  15282. "'Reverse-merged' change followed by 'Merge' change"
  15283. "'Merged' change followed by 'Merge' change"
  15284. "'Reverse-merged' change followed by 'Reverse-merged' change"
  15285. "'Reverse-merged' change followed by 'Reverse-merged' change followed by 'Merged' change"
  15286. 2010-09-04 Lucas De Marchi <lucas.demarchi@profusion.mobi>
  15287. Reviewed by Kenneth Rohde Christiansen.
  15288. [EFL] Move test browser to WebKitTools directory
  15289. https://bugs.webkit.org/show_bug.cgi?id=45212
  15290. Follow other ports like QT and GTK which moved the test browser to
  15291. WebKitTools directory.
  15292. * CMakeListsEfl.txt: Added.
  15293. * EWebLauncher/main.c: Added.
  15294. (print_history):
  15295. (zoom_level_set):
  15296. (on_ecore_evas_resize):
  15297. (title_set):
  15298. (viewport_set):
  15299. (on_title_changed):
  15300. (on_progress):
  15301. (on_load_finished):
  15302. (on_toolbars_visible_set):
  15303. (on_toolbars_visible_get):
  15304. (on_statusbar_visible_set):
  15305. (on_statusbar_visible_get):
  15306. (on_scrollbars_visible_set):
  15307. (on_scrollbars_visible_get):
  15308. (on_menubar_visible_set):
  15309. (on_menubar_visible_get):
  15310. (on_tooltip_text_set):
  15311. (on_inputmethod_changed):
  15312. (on_viewport_changed):
  15313. (on_mouse_down):
  15314. (on_focus_out):
  15315. (on_focus_in):
  15316. (on_resized):
  15317. (on_key_down):
  15318. (on_browser_del):
  15319. (on_closeWindow):
  15320. (quit):
  15321. (browserCreate):
  15322. (browserDestroy):
  15323. (closeWindow):
  15324. (main_signal_exit):
  15325. (findThemePath):
  15326. (main):
  15327. 2010-09-03 Simon Fraser <simon.fraser@apple.com>
  15328. Reviewed by Adam Roben.
  15329. Set project dependencies so that they build serially. This fixes
  15330. issues when running run-webkit-tests if DRT is not built yet.
  15331. * DumpRenderTree/DumpRenderTree.sln:
  15332. 2010-09-03 Dimitri Glazkov <dglazkov@chromium.org>
  15333. Reviewed by Adam Barth.
  15334. Fix reading configuraiton in NWRT to work on Windows.
  15335. https://bugs.webkit.org/show_bug.cgi?id=45180
  15336. * Scripts/webkitpy/layout_tests/port/base.py: Added 'perl' argument, because Windows doesn't know what to do
  15337. with the file otherwise.
  15338. 2010-09-03 Chris Rogers <crogers@google.com>
  15339. Unreviewed
  15340. Add myself to the committers list
  15341. https://bugs.webkit.org/show_bug.cgi?id=45189
  15342. * Scripts/webkitpy/common/config/committers.py:
  15343. 2010-09-03 Andrey Kosyakov <caseq@chromium.org>
  15344. Reviewed by Yury Semikhatsky.
  15345. http/tests/inspector/console-xhr-logging.html and http/tests/inspector/resource-har-conversion.html are failing on chromium win bot
  15346. Changed MIME type for .js to application/x-javascript for consistency with apache used on other platforms.
  15347. https://bugs.webkit.org/show_bug.cgi?id=45137
  15348. * Scripts/webkitpy/layout_tests/port/lighttpd.conf:
  15349. 2010-09-03 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  15350. Reviewed by Eric Seidel.
  15351. Add feature detection support to NRWT.
  15352. https://bugs.webkit.org/show_bug.cgi?id=41842
  15353. * Scripts/webkitpy/layout_tests/port/base.py:
  15354. * Scripts/webkitpy/layout_tests/port/qt.py:
  15355. * Scripts/webkitpy/layout_tests/port/webkit.py:
  15356. * Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Added.
  15357. 2010-09-03 Hironori Bono <hbono@chromium.org>
  15358. Reviewed by Kent Tamura.
  15359. Adds textInputController.hasSpellingMarker() to avoid using pixel tests for spellchecking tests
  15360. and implements it for Mac.
  15361. https://bugs.webkit.org/show_bug.cgi?id=41832
  15362. * DumpRenderTree/mac/TextInputController.m: Added [TextInputController hasSpellingMarker:length:]
  15363. and bind it so we can call it from JavaScript.
  15364. (+[TextInputController isSelectorExcludedFromWebScript:]):
  15365. (+[TextInputController webScriptNameForSelector:]):
  15366. (-[TextInputController hasSpellingMarker:length:]):
  15367. 2010-09-02 Eric Seidel <eric@webkit.org>
  15368. Reviewed by Adam Barth.
  15369. Add a unit test for commit-queue retries
  15370. https://bugs.webkit.org/show_bug.cgi?id=45162
  15371. I think commit-queue retries are not correctly avoiding
  15372. build and test on retries. So I started testing the code.
  15373. Unfortunately this test did not find the bug. But now
  15374. that we have the test we might as well keep it.
  15375. I also fixed a broken import in validate-committer-lists.
  15376. * Scripts/validate-committer-lists:
  15377. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  15378. 2010-09-02 Kent Tamura <tkent@chromium.org>
  15379. Reviewed by Dimitri Glazkov.
  15380. [DRT/Chromium] Remove dependency to base/task.h and base/timer.h
  15381. https://bugs.webkit.org/show_bug.cgi?id=45091
  15382. Task.{cpp,h} introduces a simpler version of Chromium
  15383. base/task.h. It doesn't have TupleN and Method.
  15384. * DumpRenderTree/DumpRenderTree.gypi:
  15385. Add Task.cpp and Task.h
  15386. * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
  15387. (DRTDevToolsAgent::DRTDevToolsAgent):
  15388. (DRTDevToolsAgent::reset):
  15389. (DRTDevToolsAgent::asyncCall):
  15390. (DRTDevToolsAgent::frontendLoaded):
  15391. * DumpRenderTree/chromium/DRTDevToolsAgent.h:
  15392. (DRTDevToolsAgent::taskList): Added to use MethodTask<T>.
  15393. * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
  15394. (DRTDevToolsClient::DRTDevToolsClient):
  15395. (DRTDevToolsClient::~DRTDevToolsClient):
  15396. (DRTDevToolsClient::reset):
  15397. (DRTDevToolsClient::asyncCall):
  15398. * DumpRenderTree/chromium/DRTDevToolsClient.h:
  15399. (DRTDevToolsClient::taskList): Added to use MethodTask<T>.
  15400. * DumpRenderTree/chromium/EventSender.cpp:
  15401. (EventSender::EventSender):
  15402. (EventSender::reset):
  15403. (EventSender::scheduleAsynchronousClick):
  15404. * DumpRenderTree/chromium/EventSender.h:
  15405. (EventSender::taskList): Added to use MethodTask<T>.
  15406. * DumpRenderTree/chromium/LayoutTestController.cpp:
  15407. (LayoutTestController::LayoutTestController):
  15408. (LayoutTestController::WorkQueue::processWorkSoon):
  15409. (LayoutTestController::waitUntilDone):
  15410. (LayoutTestController::notifyDone):
  15411. (LayoutTestController::reset):
  15412. * DumpRenderTree/chromium/LayoutTestController.h:
  15413. (LayoutTestController::taskList): Added to use MethodTask<T>.
  15414. (LayoutTestController::WorkQueue::taskList): Added to use MethodTask<T>.
  15415. * DumpRenderTree/chromium/NotificationPresenter.cpp:
  15416. (deferredDisplayDispatch):
  15417. (NotificationPresenter::show):
  15418. * DumpRenderTree/chromium/Task.cpp: Added.
  15419. * DumpRenderTree/chromium/Task.h: Added.
  15420. 2010-09-02 Steve Block <steveblock@google.com>
  15421. Reviewed by Adam Barth.
  15422. Hook up LayoutTestController.setMockDeviceOrientation() on Mac.
  15423. https://bugs.webkit.org/show_bug.cgi?id=43181
  15424. * DumpRenderTree/mac/DumpRenderTree.mm:
  15425. (createWebViewAndOffscreenWindow):
  15426. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  15427. (LayoutTestController::setMockDeviceOrientation):
  15428. 2010-08-31 Adam Roben <aroben@apple.com>
  15429. Fix flashiness when resizing the browser window on Windows
  15430. Reviewed by Sam Weinig.
  15431. * MiniBrowser/win/BrowserWindow.cpp:
  15432. (BrowserWindow::wndProc): Override WM_ERASEBKGND so Windows won't
  15433. periodically fill the window with white.
  15434. 2010-09-02 Peter Kasting <pkasting@google.com>
  15435. Reviewed by Dimitri Glazkov.
  15436. Implement [continuous]MouseScrollBy() on Chromium, and partly on GTK.
  15437. https://bugs.webkit.org/show_bug.cgi?id=45073
  15438. * DumpRenderTree/chromium/EventSender.cpp:
  15439. (EventSender::EventSender):
  15440. (EventSender::mouseScrollBy):
  15441. (EventSender::continuousMouseScrollBy):
  15442. (EventSender::sendCurrentTouchEvent):
  15443. (EventSender::handleMouseWheel):
  15444. * DumpRenderTree/chromium/EventSender.h:
  15445. * DumpRenderTree/gtk/EventSender.cpp:
  15446. (mouseScrollByCallback):
  15447. (continuousMouseScrollByCallback):
  15448. 2010-09-01 Dirk Pranke <dpranke@chromium.org>
  15449. Reviewed by Tony Chang.
  15450. Land a patched version of r66542 - change TestRunner to have an
  15451. separate cleanup method and fix the ordering of cleanup between
  15452. TestRunner and the printing module, and then wrap everything in a
  15453. try/finally block to ensure reliable cleanup without needing to
  15454. rely on stuff happening in the destructor of the TestRunner.
  15455. Also refactor run_webkit_tests.run() to be much smaller and cleaner
  15456. by creating a bunch of helper methods and moving more stuff into
  15457. the TestRunner class.
  15458. This fixes the crash at the end of the linux test run of
  15459. new-run-webkit-tests (and undoes the rollout in 66547).
  15460. https://bugs.webkit.org/show_bug.cgi?id=44902
  15461. * Scripts/webkitpy/layout_tests/data/failures/expected/exception.html: Added.
  15462. * Scripts/webkitpy/layout_tests/data/failures/expected/keyboard.html: Added.
  15463. * Scripts/webkitpy/layout_tests/data/passes/error-expected.txt: Added.
  15464. * Scripts/webkitpy/layout_tests/data/passes/error.html: Added.
  15465. * Scripts/webkitpy/layout_tests/data/platform/test/test_expectations.txt:
  15466. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  15467. * Scripts/webkitpy/layout_tests/layout_package/printing.py:
  15468. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  15469. * Scripts/webkitpy/layout_tests/port/base.py:
  15470. * Scripts/webkitpy/layout_tests/port/test.py:
  15471. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  15472. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  15473. 2010-09-01 Mark Rowe <mrowe@apple.com>
  15474. Reviewed by Adam Roben.
  15475. Fix TestNetscapePlugIn to compile without access to QuickDraw private headers.
  15476. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  15477. 2010-09-01 Brian Weinstein <bweinstein@apple.com>
  15478. Reviewed by Adam Roben.
  15479. Have kill-old-processes kill debug and release variants of WebKit2WebWebProcess
  15480. and WebKitTestRunner.
  15481. * BuildSlaveSupport/win/kill-old-processes:
  15482. 2010-09-01 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  15483. Reviewed by Antonio Gomes.
  15484. [Qt] Remove obsolete include path from DumpRenderTree.pro
  15485. * DumpRenderTree/qt/DumpRenderTree.pro:
  15486. 2010-09-01 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
  15487. Reviewed by Laszlo Gombos.
  15488. [Qt] QWebPage::allowGeolocationRequest should be async API
  15489. https://bugs.webkit.org/show_bug.cgi?id=41364
  15490. Implements new async API for geolocation permission similar to
  15491. Notification. WebPage maintains list of geolocation permission request
  15492. QtWebkit and set's when LayoutTestController gets the access from test JS
  15493. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  15494. (WebCore::WebPage::WebPage):
  15495. (WebCore::WebPage::resetSettings):
  15496. (WebCore::WebPage::requestPermission):
  15497. (WebCore::WebPage::cancelPermission):
  15498. (WebCore::WebPage::permissionSet):
  15499. (WebCore::DumpRenderTree::DumpRenderTree):
  15500. (WebCore::DumpRenderTree::processLine):
  15501. (WebCore::DumpRenderTree::geolocationPermissionSet):
  15502. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  15503. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  15504. (LayoutTestController::reset):
  15505. (LayoutTestController::setGeolocationPermission):
  15506. (LayoutTestController::setGeolocationPermissionCommon):
  15507. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  15508. 2010-09-01 Andras Becsi <abecsi@webkit.org>
  15509. Reviewed by Antti Koivisto.
  15510. [Qt] Auto-generate WebKit2 forwarding headers
  15511. https://bugs.webkit.org/show_bug.cgi?id=44692
  15512. * MiniBrowser/qt/BrowserWindow.h: use source style includes
  15513. * MiniBrowser/qt/MiniBrowser.pro: add missing include paths
  15514. * Scripts/enumerate-included-framework-headers: Removed.
  15515. 2010-08-31 Ademar de Souza Reis Jr <ademar.reis@openbossa.org>
  15516. Reviewed by Adam Barth.
  15517. Allow Ctrl+C inside Bugzilla::fetch_bug_dictionary
  15518. https://bugs.webkit.org/show_bug.cgi?id=44789
  15519. * Scripts/webkitpy/common/net/bugzilla.py:
  15520. 2010-08-31 Leandro Pereira <leandro@profusion.mobi>
  15521. Reviewed by Adam Barth.
  15522. ews: Add support for EFL-EWS
  15523. https://bugs.webkit.org/show_bug.cgi?id=44982
  15524. * QueueStatusServer/model/queues.py: Add "efl-ews" to queues list.
  15525. * Scripts/webkitpy/common/config/ports.py: Define a EflPort class
  15526. and add it to the ports dict.
  15527. * Scripts/webkitpy/tool/commands/earlywarningsystem.py: Define a
  15528. EflEWS class.
  15529. * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py: Add
  15530. a test case for the EFL EWS.
  15531. 2010-08-31 Alexey Proskuryakov <ap@apple.com>
  15532. Reviewed by Sam Weinig.
  15533. https://bugs.webkit.org/show_bug.cgi?id=42195
  15534. <rdar://problem/8186761> WebKitTestRunner needs to support layoutTestController.setXSSAuditorEnabled
  15535. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  15536. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: (WTR::LayoutTestController::setXSSAuditorEnabled):
  15537. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  15538. Added setXSSAuditorEnabled, calling through to an WKBundle private method. Calling this method
  15539. makes WebProcess use a different value for this preference than UIProcess thinks it uses.
  15540. * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetStateToConsistentValues):
  15541. Reset xssAuditorEnabled. Even though the value doesn't change, this calls through to WebProcess,
  15542. which forgets its override.
  15543. 2010-08-31 Sam Weinig <sam@webkit.org>
  15544. Reviewed by Gavin Barraclough.
  15545. WebKitTestRunner needs layoutTestController.addUserStyleSheet
  15546. https://bugs.webkit.org/show_bug.cgi?id=42680
  15547. WebKitTestRunner needs layoutTestController.addUserScript
  15548. https://bugs.webkit.org/show_bug.cgi?id=42681
  15549. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  15550. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  15551. (WTR::InjectedBundle::beginTesting):
  15552. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  15553. (WTR::LayoutTestController::addUserScript):
  15554. (WTR::LayoutTestController::addUserStyleSheet):
  15555. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  15556. 2010-08-31 Dirk Pranke <dpranke@chromium.org>
  15557. Unreviewed, rolling out r66542.
  15558. http://trac.webkit.org/changeset/66542
  15559. https://bugs.webkit.org/show_bug.cgi?id=44902
  15560. r66542 - the weird logging dependencies in Python stuck again ...
  15561. * Scripts/webkitpy/layout_tests/data/failures/expected/exception.html: Removed.
  15562. * Scripts/webkitpy/layout_tests/data/failures/expected/keyboard.html: Removed.
  15563. * Scripts/webkitpy/layout_tests/data/passes/error-expected.txt: Removed.
  15564. * Scripts/webkitpy/layout_tests/data/passes/error.html: Removed.
  15565. * Scripts/webkitpy/layout_tests/data/platform/test/test_expectations.txt:
  15566. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  15567. * Scripts/webkitpy/layout_tests/layout_package/printing.py:
  15568. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  15569. * Scripts/webkitpy/layout_tests/port/base.py:
  15570. * Scripts/webkitpy/layout_tests/port/test.py:
  15571. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  15572. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  15573. 2010-08-31 Dumitru Daniliuc <dumi@chromium.org>
  15574. Reviewed by Tony Chang.
  15575. Implementing LayoutTestController::markerTextForListItem() in Chromium's DRT.
  15576. * DumpRenderTree/chromium/LayoutTestController.cpp:
  15577. (LayoutTestController::LayoutTestController):
  15578. (LayoutTestController::markerTextForListItem):
  15579. * DumpRenderTree/chromium/LayoutTestController.h:
  15580. 2010-08-31 Dirk Pranke <dpranke@chromium.org>
  15581. Reviewed by Ojan Vafai.
  15582. new-run-webkit-tests: add more unit tests
  15583. Add more unit tests for new-run-webkit-tests; we now cover all but
  15584. the most obscure code paths in the generic code. We still need to
  15585. add coverage for the http server and web socket paths, and add better
  15586. coverage of the platform-specific logic. Note that the rebaselining
  15587. tool is still not well tested.
  15588. Also clean up some of the configuration logic for the printing
  15589. module and the way it interacts with the Python logging module; that
  15590. is a crufty interface, to be certain.
  15591. https://bugs.webkit.org/show_bug.cgi?id=44902
  15592. * Scripts/webkitpy/layout_tests/data/failures/expected/exception.html: Added.
  15593. * Scripts/webkitpy/layout_tests/data/failures/expected/keyboard.html: Added.
  15594. * Scripts/webkitpy/layout_tests/data/passes/error-expected.txt: Added.
  15595. * Scripts/webkitpy/layout_tests/data/passes/error.html: Added.
  15596. * Scripts/webkitpy/layout_tests/data/platform/test/test_expectations.txt:
  15597. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  15598. * Scripts/webkitpy/layout_tests/layout_package/printing.py:
  15599. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  15600. * Scripts/webkitpy/layout_tests/port/base.py:
  15601. * Scripts/webkitpy/layout_tests/port/test.py:
  15602. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  15603. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  15604. 2010-08-31 Darin Adler <darin@apple.com>
  15605. Reviewed by Anders Carlsson.
  15606. * Scripts/check-for-global-initializers: Add a file that ends up having global initializers
  15607. in a debug build when built with certain compilers.
  15608. 2010-08-31 Martin Robinson <mrobinson@igalia.com>
  15609. Reviewed by Gustavo Noronha Silva.
  15610. [GTK] Isolate all GTK+ typedefs into one file
  15611. https://bugs.webkit.org/show_bug.cgi?id=44900
  15612. * DumpRenderTree/gtk/EventSender.h: Remove GTK+ typedefs.
  15613. 2010-08-31 Eric Seidel <eric@webkit.org>
  15614. Reviewed by Adam Barth.
  15615. Show more status on queue status pages
  15616. https://bugs.webkit.org/show_bug.cgi?id=44938
  15617. I upped the number of status lines from 6 to 15 --
  15618. this has been bugging me for a while...
  15619. I also disabled showing the chromium-win EWS queue
  15620. since it's been down for almost 5 months now.
  15621. * QueueStatusServer/handlers/dashboard.py:
  15622. * QueueStatusServer/handlers/queuestatus.py:
  15623. * QueueStatusServer/model/queues.py:
  15624. 2010-08-31 Zoltan Horvath <zoltan@webkit.org>
  15625. Reviewed by Antonio Gomes.
  15626. [Qt] Read command line arguments and open them as URLs in new windows
  15627. https://bugs.webkit.org/show_bug.cgi?id=44944
  15628. Extend MiniBrowser to accept command line arguments and open them as URLs in new browser windows.
  15629. * MiniBrowser/qt/main.cpp:
  15630. (main):
  15631. 2010-08-31 Adrian Perez <aperez@igalia.com>
  15632. Reviewed by Martin Robinson.
  15633. Support scripts to run Buildbot slaves under daemontools (gtk related)
  15634. https://bugs.webkit.org/show_bug.cgi?id=40053
  15635. * BuildSlaveSupport/gtk: Added.
  15636. * BuildSlaveSupport/gtk/README: Added.
  15637. * BuildSlaveSupport/gtk/buildbot: Added.
  15638. * BuildSlaveSupport/gtk/buildbot/log: Added.
  15639. * BuildSlaveSupport/gtk/buildbot/log/run: Added.
  15640. * BuildSlaveSupport/gtk/buildbot/run: Added.
  15641. * BuildSlaveSupport/gtk/crashmon: Added.
  15642. * BuildSlaveSupport/gtk/crashmon/crashmon: Added.
  15643. * BuildSlaveSupport/gtk/crashmon/log: Added.
  15644. * BuildSlaveSupport/gtk/crashmon/log/run: Added.
  15645. * BuildSlaveSupport/gtk/crashmon/run: Added.
  15646. * BuildSlaveSupport/gtk/daemontools-buildbot.conf: Added.
  15647. * BuildSlaveSupport/gtk/pulseaudio: Added.
  15648. * BuildSlaveSupport/gtk/pulseaudio/run: Added.
  15649. * BuildSlaveSupport/gtk/xvfb: Added.
  15650. * BuildSlaveSupport/gtk/xvfb/log: Added.
  15651. * BuildSlaveSupport/gtk/xvfb/log/run: Added.
  15652. * BuildSlaveSupport/gtk/xvfb/run: Added.
  15653. 2010-08-27 John Gregg <johnnyg@google.com>
  15654. Reviewed by David Levin.
  15655. Notifications should support a click event.
  15656. Adds necessary hooks to chromium's DRT so that clicks on desktop notifications
  15657. can be simulated during a layout test. Requires storing a list of active
  15658. notifications so that they can be referred to later for clicking.
  15659. https://bugs.webkit.org/show_bug.cgi?id=44800
  15660. * DumpRenderTree/chromium/LayoutTestController.cpp:
  15661. (LayoutTestController::LayoutTestController):
  15662. (LayoutTestController::simulateDesktopNotificationClick):
  15663. * DumpRenderTree/chromium/LayoutTestController.h:
  15664. * DumpRenderTree/chromium/NotificationPresenter.cpp:
  15665. (NotificationPresenter::simulateClick):
  15666. (NotificationPresenter::show):
  15667. (NotificationPresenter::cancel):
  15668. (NotificationPresenter::objectDestroyed):
  15669. * DumpRenderTree/chromium/NotificationPresenter.h:
  15670. 2010-08-30 Alice Liu <alice.liu@apple.com>
  15671. Reviewed by Darin Adler.
  15672. Add missing parts of didFinishDocumentLoadForFrame
  15673. https://bugs.webkit.org/show_bug.cgi?id=44913
  15674. * MiniBrowser/mac/BrowserWindowController.m:
  15675. (didFinishDocumentLoadForFrame): Added
  15676. (-[BrowserWindowController awakeFromNib]): Updated struct
  15677. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  15678. (WTR::InjectedBundlePage::InjectedBundlePage): Rearranged function ptr
  15679. * WebKitTestRunner/TestController.cpp:
  15680. (WTR::TestController::initialize): Updated struct
  15681. 2010-08-30 Vangelis Kokkevis <vangelis@chromium.org>
  15682. Unreviewed: Add myself to the list of Committers.
  15683. * Scripts/webkitpy/common/config/committers.py:
  15684. 2010-08-30 Kent Tamura <tkent@chromium.org>
  15685. Reviewed by Adam Barth.
  15686. Fix fast/notifications/notifications-display-close-events.html failure
  15687. https://bugs.webkit.org/show_bug.cgi?id=44585
  15688. Apply http://crrev.com/48893. We should dispatch display events
  15689. asynchronously.
  15690. * DumpRenderTree/chromium/NotificationPresenter.cpp:
  15691. (deferredDisplayDispatch):
  15692. (NotificationPresenter::show):
  15693. 2010-08-30 Robert Hogan <robert@webkit.org>
  15694. Reviewed by Simon Hausmann.
  15695. allow ports with windowed plugins to support windowless plugin tests
  15696. https://bugs.webkit.org/show_bug.cgi?id=40730
  15697. Ports that implement plugins windowed by default need to have a way of
  15698. supporting plugin tests that assume the plugin is windowless. Add this
  15699. feature to the tests and support it in the webkit test plugin. Also
  15700. add mouse and keyboard event logging to the webkit-test plugin on Unix.
  15701. Unskip the following tests on Qt:
  15702. plugins/mouse-events.html
  15703. plugins/keyboard-events.html
  15704. plugins/mouse-events-fixedpos.html
  15705. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  15706. (pluginSetProperty):
  15707. * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
  15708. (NPP_New):
  15709. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  15710. (webkit_test_plugin_handle_event):
  15711. 2010-08-30 Kevin Ollivier <kevino@theolliviers.com>
  15712. [wx] Build fix after addition of fileapi directory in WebCore.
  15713. * wx/build/settings.py:
  15714. 2010-08-30 Alejandro G. Castro <alex@igalia.com>
  15715. Reviewed by Xan Lopez.
  15716. Fixed compilation error, now that we have included the
  15717. GtkVersioning.h we have to remove some version dependent code from
  15718. EventSender.
  15719. * DumpRenderTree/gtk/EventSender.cpp:
  15720. 2010-08-30 Alejandro G. Castro <alex@igalia.com>
  15721. Reviewed by Martin Robinson.
  15722. [Gtk] gdk_display_get_core_pointer and gdk_device_get_core_pointer
  15723. are deprecated
  15724. https://bugs.webkit.org/show_bug.cgi?id=44787
  15725. We have replaced GtkVersioning.cpp with GtkVersioning.c and
  15726. created a function (getDefaultGDKPointerDevice) to get the pointer
  15727. of the window with the new APIs. We added that function to DRT and
  15728. copyandpaste unit test.
  15729. * DumpRenderTree/gtk/EventSender.cpp:
  15730. (prepareMouseButtonEvent):
  15731. (mouseMoveToCallback):
  15732. (keyDownCallback):
  15733. * GNUmakefile.am:
  15734. 2010-08-30 Zoltan Horvath <zoltan@webkit.org>
  15735. Reviewed by Kenneth Rohde Christiansen.
  15736. [Qt] Add new window menu to MiniBrowser
  15737. Implement newWindow function and add a menu item for opening new window in MiniBrowser.
  15738. * MiniBrowser/qt/BrowserWindow.cpp:
  15739. (BrowserWindow::BrowserWindow):
  15740. (BrowserWindow::newWindow):
  15741. * MiniBrowser/qt/BrowserWindow.h:
  15742. * MiniBrowser/qt/main.cpp:
  15743. (main):
  15744. 2010-08-29 James Robinson <jamesr@chromium.org>
  15745. Reviewed by David Levin.
  15746. Make failing the download step fail the build
  15747. https://bugs.webkit.org/show_bug.cgi?id=44298
  15748. If the download step fails on a test bot, this ensures that
  15749. the build goes red instead of only the download step going red
  15750. and the overall build staying green.
  15751. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  15752. 2010-08-29 Kent Tamura <tkent@chromium.org>
  15753. Reviewed by Dimitri Glazkov.
  15754. [DRT/Chromium] Remove dependency to base/keyboard_codes.h
  15755. https://bugs.webkit.org/show_bug.cgi?id=44847
  15756. * DumpRenderTree/chromium/EventSender.cpp:
  15757. Use webkit_support::VKEY_* instead of base::VKEY_*.
  15758. 2010-08-29 Darin Adler <darin@apple.com>
  15759. https://bugs.webkit.org/show_bug.cgi?id=40589
  15760. * Scripts/prepare-ChangeLog: Only prepend namespaces to non-empty
  15761. function names.
  15762. 2010-08-26 Holger Hans Peter Freyther <holger@moiji-mobile.com>
  15763. Reviewed by Darin Adler.
  15764. [iExploder] Add new CSS Properties and HTML Attributes
  15765. https://bugs.webkit.org/show_bug.cgi?id=44746
  15766. Updated the files with the update-iexploder-cssproperties script
  15767. and manually readded the -webkit-binding CSS Property to the list.
  15768. * iExploder/htdocs/cssproperties.in:
  15769. * iExploder/htdocs/htmlattrs.in:
  15770. * iExploder/htdocs/htmltags.in:
  15771. 2010-08-26 Holger Hans Peter Freyther <holger@moiji-mobile.com>
  15772. Reviewed by Darin Adler.
  15773. Fix Coverage build after the addition of ANGLE
  15774. https://bugs.webkit.org/show_bug.cgi?id=44744
  15775. ANGLE is using libtool to build a static library and the version of
  15776. libtool on Leopard refuses to handle the -fprofile-arcs and -ftest-coverage
  15777. parameters. The easiest way to handle this is to not build ANGLE with
  15778. coverage information.
  15779. This is achieved by applying the XCode options for each project
  15780. separately and exclude ANGLE.
  15781. * Scripts/build-webkit: Remove -framework AppKit due link errors.
  15782. * Scripts/webkitdirs.pm: Do not apply the XCode options for ANGLE.
  15783. 2010-08-28 Kevin Ollivier <kevino@theolliviers.com>
  15784. [wx] Build fix after directory addition.
  15785. * wx/build/settings.py:
  15786. 2010-08-28 Chris Guillory <chris.guillory@google.com>
  15787. Reviewed by Chris Fleizach.
  15788. Add AX notification for childrenChanged
  15789. https://bugs.webkit.org/show_bug.cgi?id=44472
  15790. * DumpRenderTree/chromium/AccessibilityController.cpp:
  15791. (AccessibilityController::AccessibilityController):
  15792. (AccessibilityController::reset):
  15793. (AccessibilityController::getRootElement):
  15794. (AccessibilityController::dumpAccessibilityNotifications):
  15795. * DumpRenderTree/chromium/AccessibilityController.h:
  15796. (AccessibilityController::shouldDumpAccessibilityNotifications):
  15797. * DumpRenderTree/chromium/WebViewHost.cpp:
  15798. (WebViewHost::didChangeAccessibilityObjectChildren):
  15799. * DumpRenderTree/chromium/WebViewHost.h:
  15800. 2010-08-28 Eric Seidel <eric@webkit.org>
  15801. Reviewed by Adam Barth.
  15802. Update commit-queue failure message
  15803. https://bugs.webkit.org/show_bug.cgi?id=44798
  15804. The commit-queue auto-restarts itself and has for a very long time.
  15805. No need for people to email me to request a restart anymore.
  15806. * Scripts/webkitpy/common/net/bugzilla.py:
  15807. * Scripts/webkitpy/common/net/bugzilla_unittest.py:
  15808. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  15809. 2010-07-27 Jer Noble <jer.noble@apple.com>
  15810. Reviewed by Eric Carlson.
  15811. Add JavaScript API to allow a page to go fullscreen.
  15812. rdar://problem/6867795
  15813. Added basic full screen support to DumpRenderTree: when a webView requests
  15814. that DumpRenderTree go "full screen", just call the provided callback listener object's
  15815. will/did Enter/Exit full screen methods. Also, register a new user default which
  15816. enables full screen support.
  15817. * DumpRenderTree/mac/DumpRenderTree.mm:
  15818. (resetDefaultsToConsistentValues):
  15819. * DumpRenderTree/mac/UIDelegate.mm:
  15820. (-[UIDelegate webView:supportsFullscreenForElement:]):
  15821. (-[UIDelegate webView:enterFullscreenForElement:listener:]):
  15822. (-[UIDelegate webView:exitFullscreenForElement:listener:]):
  15823. 2010-08-27 Benjamin Poulain <benjamin.poulain@nokia.com>
  15824. Unreviewed. Add myself to the committers list.
  15825. * Scripts/webkitpy/common/config/committers.py:
  15826. 2010-08-27 Kent Tamura <tkent@chromium.org>
  15827. Reviewed by Pavel Feldman.
  15828. [DRT/Chromium] Fix inspector test failures
  15829. https://bugs.webkit.org/show_bug.cgi?id=44748
  15830. * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
  15831. (DRTDevToolsAgent::createClientMessageLoop):
  15832. Returns a valid WebKitClientMessageLoop instance
  15833. * DumpRenderTree/chromium/DRTDevToolsAgent.h:
  15834. 2010-08-26 Jon Honeycutt <jhoneycutt@apple.com>
  15835. Add Windows WebKit2 Tester to buildbot
  15836. <rdar://problem/7887703>
  15837. Reviewed by Dan Bernstein.
  15838. * BuildSlaveSupport/build.webkit.org-config/config.json:
  15839. 2010-08-26 Philippe Normand <pnormand@igalia.com>
  15840. Reviewed by Martin Robinson.
  15841. [GTK] Needs DRT queueLoadHTMLString and setDeferMainResourceLoad-implementations
  15842. https://bugs.webkit.org/show_bug.cgi?id=42152
  15843. * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
  15844. (LoadHTMLStringItem::invoke): Implementation using
  15845. webkit_web_frame_load_string().
  15846. 2010-08-25 Jon Honeycutt <jhoneycutt@apple.com>
  15847. <rdar://problem/8334338> run-webkit-tests sometimes hangs when using
  15848. WebKitTestRunner (44331)
  15849. Reviewed by Darin Adler.
  15850. * WebKitTestRunner/TestController.cpp:
  15851. (WTR::TestController::initialize):
  15852. The hang occurs when WebKitTestRunner begins launching the WebKit2
  15853. web process then exits before it finishes launching. Work around this by
  15854. looking for the --print-supported-features argument and exiting without
  15855. creating the web process.
  15856. 2010-08-26 Dirk Pranke <dpranke@chromium.org>
  15857. Reviewed by Tony Chang.
  15858. new-run-webkit-tests: add rebaselining tests for test_expectations
  15859. This patch adds more unit tests for the rebaselining code in the
  15860. test_expectations module. It doesn't add any tests for
  15861. rebaseline_chromium_webkit_tests itself; that will come some other
  15862. time.
  15863. https://bugs.webkit.org/show_bug.cgi?id=44648
  15864. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  15865. * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
  15866. 2010-08-26 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  15867. Reviewed by Martin Robinson.
  15868. [GTK] Add HTTP caching support
  15869. https://bugs.webkit.org/show_bug.cgi?id=44261
  15870. Ignore new soup API that we decided to merge into the soup backend
  15871. while it is being cooked. It follows the libsoup style, and will
  15872. be removed from WebKit as soon as it is merged into libsoup.
  15873. * Scripts/webkitpy/style/checker.py:
  15874. 2010-08-26 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
  15875. Reviewed by Kenneth Rohde Christiansen.
  15876. [Qt] DumpRenderTree runs only one test from command mode
  15877. https://bugs.webkit.org/show_bug.cgi?id=44012
  15878. Enables support to run multiple test files and single
  15879. folder containing html files in stand alone mode
  15880. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  15881. (WebCore::DumpRenderTree::DumpRenderTree):
  15882. (WebCore::DumpRenderTree::processArgsLine):
  15883. (WebCore::DumpRenderTree::loadNextTestInStandAloneMode):
  15884. (WebCore::DumpRenderTree::processLine):
  15885. (WebCore::DumpRenderTree::dump):
  15886. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  15887. (WebCore::DumpRenderTree::setStandAloneMode):
  15888. (WebCore::DumpRenderTree::isStandAloneMode):
  15889. * DumpRenderTree/qt/main.cpp:
  15890. (main):
  15891. 2010-08-25 Martin Robinson <mrobinson@igalia.com>
  15892. Updating webkitpy test expectations.
  15893. * Scripts/webkitpy/tool/steps/steps_unittest.py:
  15894. 2010-08-25 Ojan Vafai <ojan@chromium.org>
  15895. Reviewed by Eric Seidel.
  15896. fix the always squash git config
  15897. https://bugs.webkit.org/show_bug.cgi?id=44651
  15898. Fix help text and apparently underscores are not allowed
  15899. in git config keys.
  15900. * Scripts/webkitpy/common/checkout/scm.py:
  15901. * Scripts/webkitpy/tool/steps/commit.py:
  15902. 2010-08-25 Darin Adler <darin@apple.com>
  15903. Reviewed by John Sullivan.
  15904. * Scripts/commit-log-editor: Fix perl warning for people who have no
  15905. value for SVN_LOG_EDITOR or CVS_LOG_EDITOR.
  15906. 2010-08-25 Ojan Vafai <ojan@chromium.org>
  15907. Reviewed by Eric Seidel.
  15908. stop blocking commits when the bots are red
  15909. https://bugs.webkit.org/show_bug.cgi?id=44644
  15910. This check currently is just annoying. It doesn't actually
  15911. help keep the tree green. We can always add it back later
  15912. if we decide the tree is generally more green.
  15913. * Scripts/webkitpy/tool/commands/download_unittest.py:
  15914. * Scripts/webkitpy/tool/mocktool.py:
  15915. * Scripts/webkitpy/tool/steps/ensurebuildersaregreen.py:
  15916. 2010-08-25 Eric Seidel <eric@webkit.org>
  15917. Reviewed by Simon Fraser.
  15918. REGRESSION: media/video-loop.html is timing out on the commit-queue Leopard Bot
  15919. https://bugs.webkit.org/show_bug.cgi?id=38912
  15920. I know of nothing else to do but skip all media tests for the cq.
  15921. * Scripts/webkitpy/tool/steps/runtests.py:
  15922. 2010-08-25 Dirk Pranke <dpranke@chromium.org>
  15923. Reviewed by Ojan Vafai.
  15924. new-run-webkit-tests: add more unit tests for test_expectations
  15925. This adds unit tests to cover (almost?) all of the non-rebaselining
  15926. functionality.
  15927. https://bugs.webkit.org/show_bug.cgi?id=44579
  15928. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  15929. * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
  15930. 2010-08-25 Dirk Pranke <dpranke@chromium.org>
  15931. Reviewed by Ojan Vafai.
  15932. new-run-webkit-tests: add more unit tests
  15933. This change adds more unit tests for the image_diff, test_failures,
  15934. and test_files modules, bringing them to 100% coverage (and adds a
  15935. couple tests to run_webkit_tests while we're at it).
  15936. This test also turns on the "dryrun" port for testing when run on
  15937. the mac, increasing coverage in a few other places.
  15938. https://bugs.webkit.org/show_bug.cgi?id=44578
  15939. * Scripts/webkitpy/layout_tests/data/failures/expected/checksum-expected.checksum: Added.
  15940. * Scripts/webkitpy/layout_tests/data/failures/expected/checksum-expected.png: Added.
  15941. * Scripts/webkitpy/layout_tests/data/failures/expected/checksum-expected.txt: Added.
  15942. * Scripts/webkitpy/layout_tests/data/failures/expected/checksum.html: Copied from WebKitTools/Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum.html.
  15943. * Scripts/webkitpy/layout_tests/data/failures/expected/missing_check-expected.png: Added.
  15944. * Scripts/webkitpy/layout_tests/data/failures/expected/missing_check-expected.txt: Added.
  15945. * Scripts/webkitpy/layout_tests/data/failures/expected/missing_check.html: Copied from WebKitTools/Scripts/webkitpy/layout_tests/data/failures/expected/missing_image.html.
  15946. * Scripts/webkitpy/layout_tests/data/failures/expected/timeout.html: Added.
  15947. * Scripts/webkitpy/layout_tests/data/platform/test/test_expectations.txt:
  15948. * Scripts/webkitpy/layout_tests/data/resources/README.txt: Added.
  15949. * Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py:
  15950. * Scripts/webkitpy/layout_tests/port/test.py:
  15951. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  15952. 2010-08-25 Dirk Pranke <dpranke@chromium.org>
  15953. Reviewed by Ojan Vafai.
  15954. new-run-webkit-tests: add more unit tests for layout_package/printing.py
  15955. This change adds more unit tests to get the test coverage to 100%
  15956. for the printing module. This code is actually pretty crufty and
  15957. has some layering violations that need to be cleaned up but I'll
  15958. save that for another CL after we get all the unit tests written and
  15959. we fix the multithreading issues. At least now we'll be able to tell
  15960. if we break things.
  15961. https://bugs.webkit.org/show_bug.cgi?id=44576
  15962. * Scripts/webkitpy/layout_tests/layout_package/printing.py:
  15963. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  15964. 2010-08-25 Ojan Vafai <ojan@chromium.org>
  15965. Reviewed by Adam Barth.
  15966. new-run-webkit-tests should respect set-webkit-configuration
  15967. https://bugs.webkit.org/show_bug.cgi?id=44633
  15968. Moves the getting of the configuration into the base Port so that
  15969. chromium ports use it as well. In the downstream chromium port,
  15970. this should still just return Release.
  15971. * Scripts/webkitpy/layout_tests/port/base.py:
  15972. * Scripts/webkitpy/layout_tests/port/webkit.py:
  15973. 2010-08-25 Tony Chang <tony@chromium.org>
  15974. Not reviewed, changing svn props for a script.
  15975. * Scripts/deduplicate-tests: Added properties svn:executable and svn:eol-style.
  15976. 2010-08-25 Adam Barth <abarth@webkit.org>
  15977. Reviewed by Eric Seidel.
  15978. Remove WebKit2 from core builders
  15979. https://bugs.webkit.org/show_bug.cgi?id=44625
  15980. This builder was added to the core builders by accident. It doesn't
  15981. appear to be green enough to be a core builder yet.
  15982. * Scripts/webkitpy/common/net/buildbot.py:
  15983. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  15984. 2010-08-19 Adam Roben <aroben@apple.com>
  15985. Test that NP_Initialize and NP_GetEntryPoints are called in the
  15986. correct order
  15987. The order differs between Mac and Windows (see r38858).
  15988. Fixes <http://webkit.org/b/44270> <rdar://problem/8330393> Crash in
  15989. NP_Initialize when loading QuickTime when running
  15990. plugins/embed-attributes-setting.html in WebKit2 on Windows
  15991. Reviewed by John Sullivan.
  15992. * DumpRenderTree/TestNetscapePlugIn/main.cpp: Added a CRASH macro and
  15993. a boolean to record whether NP_GetEntryPoints has been called.
  15994. (NP_Initialize): Crash on Windows if NP_GetEntryPoints hasn't been
  15995. called yet. This matches Flash and QuickTime's behavior.
  15996. (NP_GetEntryPoints): Crash on Mac if NP_Initialize hasn't been called
  15997. yet. This matches Silverlight's behavior.
  15998. 2010-08-25 Martin Robinson <mrobinson@igalia.com>
  15999. Reviewed by Gustavo Noronha Silva.
  16000. Cairo and EFL port shouldn't depend on glib.
  16001. https://bugs.webkit.org/show_bug.cgi?id=44354
  16002. Replace occurrences of GRefPtr and adoptGRef with PlatformRefPtr and
  16003. adoptPlatformRef.
  16004. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  16005. (AccessibilityUIElement::isSelected):
  16006. 2010-08-25 Ojan Vafai <ojan@chromium.org>
  16007. Fix order of Timothy's email address. The script, and
  16008. other tools all assume that the first email is the bugzilla address.
  16009. * Scripts/webkitpy/common/config/committers.py:
  16010. 2010-08-24 Kent Tamura <tkent@chromium.org>
  16011. Reviewed by Pavel Feldman.
  16012. [DRT/Chromium] Fix 26 inspector test crashes
  16013. https://bugs.webkit.org/show_bug.cgi?id=44580
  16014. - DRTDevToolsAgent has a reference to the main WebView. So we
  16015. should not clear it in closeDevTools() and should clear it in
  16016. ~TestShell().
  16017. - DRTDevToolsClient has a reference to a DevTools WebView and no
  16018. way to update it. So we should delete DRTDevToolsClient instances
  16019. in closeDevTools().
  16020. * DumpRenderTree/chromium/TestShell.cpp:
  16021. (TestShell::~TestShell):
  16022. (TestShell::closeDevTools):
  16023. 2010-08-24 Eric Seidel <eric@webkit.org>
  16024. Reviewed by Adam Barth.
  16025. unicode(Exception(\u"0x1234")) is busted in python 2.5, disable tests which hit this
  16026. https://bugs.webkit.org/show_bug.cgi?id=44584
  16027. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  16028. 2010-08-24 Eric Seidel <eric@webkit.org>
  16029. Reviewed by Adam Barth.
  16030. commit-queue and EWS bots should report all failures
  16031. https://bugs.webkit.org/show_bug.cgi?id=41820
  16032. Right now commit-queue/EWS only report failures when the
  16033. patch under testing fails. We should report all failures
  16034. to the status server so that we can diagnose when the bots
  16035. are wedged w/o needing to log into the machines.
  16036. I also reduced the amount of data we upload since we've seen
  16037. timeouts during status upload.
  16038. * Scripts/webkitpy/common/system/executive.py:
  16039. * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  16040. * Scripts/webkitpy/tool/commands/queues.py:
  16041. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  16042. 2010-08-24 Eric Seidel <eric@webkit.org>
  16043. Reviewed by Adam Barth.
  16044. Remove HTML5 parser testing infrastructure now that we don't need it
  16045. https://bugs.webkit.org/show_bug.cgi?id=44581
  16046. * DumpRenderTree/mac/DumpRenderTree.mm:
  16047. (resetDefaultsToConsistentValues):
  16048. (initializeGlobalsFromCommandLineOptions):
  16049. * Scripts/old-run-webkit-tests:
  16050. * Scripts/test-html5-parser: Removed.
  16051. 2010-08-24 Kent Tamura <tkent@chromium.org>
  16052. Reviewed by Dimitri Glazkov.
  16053. [DRT/Chromium] Fix 28 inspector test crashes
  16054. https://bugs.webkit.org/show_bug.cgi?id=44574
  16055. Reset DevToolsClient and DevToolsAgent before closing a DevTools
  16056. WebView in order to avoid accessing to a deleted WebView instance.
  16057. * DumpRenderTree/chromium/TestShell.cpp:
  16058. (TestShell::closeDevTools):
  16059. 2010-08-24 Dirk Pranke <dpranke@chromium.org>
  16060. Reviewed by Ojan Vafai.
  16061. new-run-webkit-tests: clean up code for test_types, test_failures
  16062. Add a bunch of unit tests for webkitpy.layout_tests.test_types and
  16063. webkitpy.layout_tests.layout_package.test_failures, and remove
  16064. some dead code and otherwise clean up things.
  16065. https://bugs.webkit.org/show_bug.cgi?id=44559
  16066. * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
  16067. * Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py: Added.
  16068. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  16069. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  16070. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  16071. * Scripts/webkitpy/layout_tests/test_types/test_type_base_unittest.py: Added.
  16072. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  16073. 2010-08-24 Dirk Pranke <dpranke@chromium.org>
  16074. Reviewed by Eric Seidel.
  16075. new-run-webkit-tests: revise unit testing strategy for test failures
  16076. This change revamps the way we store test data for new-run-webkit-tests.
  16077. Previously we had a few copies of test files from the main test tree.
  16078. Now we have a bunch of completely fake test data and use the test
  16079. data to generate different kinds of test failures, getting
  16080. much better coverage.
  16081. https://bugs.webkit.org/show_bug.cgi?id=44556
  16082. * Scripts/webkitpy/layout_tests/data/failures/expected/crash.html: Added.
  16083. * Scripts/webkitpy/layout_tests/data/failures/expected/image-expected.checksum: Added.
  16084. * Scripts/webkitpy/layout_tests/data/failures/expected/image-expected.png: Added.
  16085. * Scripts/webkitpy/layout_tests/data/failures/expected/image-expected.txt: Added.
  16086. * Scripts/webkitpy/layout_tests/data/failures/expected/image.html: Added.
  16087. * Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum-expected.checksum: Added.
  16088. * Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum-expected.png: Added.
  16089. * Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum-expected.txt: Added.
  16090. * Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum.html: Added.
  16091. * Scripts/webkitpy/layout_tests/data/failures/expected/missing_image.html: Added.
  16092. * Scripts/webkitpy/layout_tests/data/failures/expected/missing_text.html: Added.
  16093. * Scripts/webkitpy/layout_tests/data/failures/expected/text-expected.txt: Added.
  16094. * Scripts/webkitpy/layout_tests/data/failures/expected/text.html: Added.
  16095. * Scripts/webkitpy/layout_tests/data/failures/unexpected/text-image-checksum-expected.checksum: Added.
  16096. * Scripts/webkitpy/layout_tests/data/failures/unexpected/text-image-checksum-expected.png: Added.
  16097. * Scripts/webkitpy/layout_tests/data/failures/unexpected/text-image-checksum-expected.txt: Added.
  16098. * Scripts/webkitpy/layout_tests/data/failures/unexpected/text-image-checksum.html: Added.
  16099. * Scripts/webkitpy/layout_tests/data/image/canvas-bg.html: Removed.
  16100. * Scripts/webkitpy/layout_tests/data/image/canvas-zoom-expected.checksum: Removed.
  16101. * Scripts/webkitpy/layout_tests/data/image/canvas-zoom-expected.png: Removed.
  16102. * Scripts/webkitpy/layout_tests/data/image/canvas-zoom-expected.txt: Removed.
  16103. * Scripts/webkitpy/layout_tests/data/image/canvas-zoom.html: Removed.
  16104. * Scripts/webkitpy/layout_tests/data/misc/crash-expected.txt: Removed.
  16105. * Scripts/webkitpy/layout_tests/data/misc/crash.html: Removed.
  16106. * Scripts/webkitpy/layout_tests/data/misc/missing-expectation.html: Removed.
  16107. * Scripts/webkitpy/layout_tests/data/misc/passing-expected.txt: Removed.
  16108. * Scripts/webkitpy/layout_tests/data/misc/passing.html: Removed.
  16109. * Scripts/webkitpy/layout_tests/data/passes/image-expected.checksum: Added.
  16110. * Scripts/webkitpy/layout_tests/data/passes/image-expected.png: Added.
  16111. * Scripts/webkitpy/layout_tests/data/passes/image-expected.txt: Added.
  16112. * Scripts/webkitpy/layout_tests/data/passes/image.html: Added.
  16113. * Scripts/webkitpy/layout_tests/data/passes/platform_image-expected.checksum: Added.
  16114. * Scripts/webkitpy/layout_tests/data/passes/platform_image-expected.png: Added.
  16115. * Scripts/webkitpy/layout_tests/data/passes/platform_image-expected.txt: Added.
  16116. * Scripts/webkitpy/layout_tests/data/passes/platform_image.html: Added.
  16117. * Scripts/webkitpy/layout_tests/data/passes/text-expected.txt: Added.
  16118. * Scripts/webkitpy/layout_tests/data/passes/text.html: Added.
  16119. * Scripts/webkitpy/layout_tests/data/platform/test/image/canvas-bg-expected.checksum: Removed.
  16120. * Scripts/webkitpy/layout_tests/data/platform/test/image/canvas-bg-expected.png: Removed.
  16121. * Scripts/webkitpy/layout_tests/data/platform/test/image/canvas-bg-expected.txt: Removed.
  16122. * Scripts/webkitpy/layout_tests/data/platform/test/passes/platform_image-expected.checksum: Added.
  16123. * Scripts/webkitpy/layout_tests/data/platform/test/passes/platform_image-expected.png: Added.
  16124. * Scripts/webkitpy/layout_tests/data/platform/test/passes/platform_image-expected.txt: Added.
  16125. * Scripts/webkitpy/layout_tests/data/platform/test/test_expectations.txt:
  16126. * Scripts/webkitpy/layout_tests/data/text/article-element-expected.txt: Removed.
  16127. * Scripts/webkitpy/layout_tests/data/text/article-element.html: Removed.
  16128. * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
  16129. * Scripts/webkitpy/layout_tests/port/test.py:
  16130. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  16131. * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
  16132. 2010-08-24 Dirk Pranke <dpranke@chromium.org>
  16133. Reviewed by Eric Seidel.
  16134. speed up new-run-webkit-tests unit tests
  16135. Add a --no-record-results flag that turns off generating the JSON
  16136. results file on every test run. Generating the file requires us to
  16137. fetch the old results down from the bots, which can be slow. This
  16138. flag is off by default.
  16139. Reduce the sleep time in wait_for_threads_to_finish from 0.1s to 0.01s.
  16140. These changes together shorten the test cycle from ~4.5s to ~1.5s
  16141. - a 3x speedup.
  16142. https://bugs.webkit.org/show_bug.cgi?id=44553
  16143. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  16144. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  16145. 2010-08-24 Tony Chang <tony@chromium.org>
  16146. Reviewed by Eric Seidel.
  16147. [chromium] fix the platform result fallback order on mac/win
  16148. https://bugs.webkit.org/show_bug.cgi?id=44483
  16149. * Scripts/webkitpy/layout_tests/port/google_chrome.py:
  16150. 2010-08-24 Xan Lopez <xlopez@igalia.com>
  16151. Reviewed by Martin Robinson.
  16152. Set a device to the event struct when building with GTK+ 3.x, it's
  16153. mandatory.
  16154. * DumpRenderTree/gtk/EventSender.cpp:
  16155. (keyDownCallback):
  16156. 2010-08-24 Martin Robinson <mrobinson@igalia.com>
  16157. Reviewed by Xan Lopez.
  16158. [GTK] GTK3: EventSender and API tests should use gdk_event_new when synthesizing events
  16159. https://bugs.webkit.org/show_bug.cgi?id=44534
  16160. Fix two double-frees introduced in my previous commit.
  16161. * DumpRenderTree/gtk/EventSender.cpp:
  16162. (contextClickCallback): Copy the event before using it again.
  16163. (keyDownCallback): Ditto.
  16164. 2010-08-24 Martin Robinson <mrobinson@igalia.com>
  16165. Reviewed by Xan Lopez.
  16166. [GTK] GTK3: EventSender and API tests should use gdk_event_new when synthesizing events
  16167. https://bugs.webkit.org/show_bug.cgi?id=44534
  16168. * DumpRenderTree/gtk/EventSender.cpp:
  16169. (prepareMouseButtonEvent): Use gdk_event_new and reference the reference the GdkWindow
  16170. when setting it on the event. It is dereferenced by gdk_event_free(...).
  16171. (contextClickCallback): Ditto.
  16172. (mouseDownCallback): Ditto.
  16173. (mouseUpCallback): Ditto.
  16174. (mouseMoveToCallback): Ditto.
  16175. (mouseWheelToCallback): Ditto.
  16176. (sendOrQueueEvent): Take a GdkEvent* instead of a GdkEvent.
  16177. (dispatchEvent): Ditto. Also free the event when we are done with it.
  16178. (keyDownCallback): Use gdk_event_new and reference the GdkWindow.
  16179. 2010-08-24 Andras Becsi <abecsi@webkit.org>
  16180. [Qt] WebKit2 build fix.
  16181. * Scripts/enumerate-included-framework-headers:
  16182. Remove stray global option form sed.
  16183. 2010-08-24 Kent Tamura <tkent@chromium.org>
  16184. Reviewed by Jeremy Orlow.
  16185. [DRT/Chromium] Support for IndexedDB tests
  16186. https://bugs.webkit.org/show_bug.cgi?id=44490
  16187. * DumpRenderTree/chromium/TestShell.cpp:
  16188. (TestShell::TestShell): Enable IndexedDB.
  16189. 2010-08-23 Martin Robinson <mrobinson@igalia.com>
  16190. Reviewed by Gustavo Noronha Silva.
  16191. [GTK] The 64-bit Release bot is showing crashes on tests that use mouse buttons
  16192. https://bugs.webkit.org/show_bug.cgi?id=44465
  16193. Initialize the axes field of mouse button and motion events to null.
  16194. This is the value that should be used for events originating from the
  16195. mouse device.
  16196. * DumpRenderTree/gtk/EventSender.cpp:
  16197. (prepareMouseButtonEvent): Initalize button event axes field to null.
  16198. (mouseMoveToCallback): Initialize motion event axes field to null.
  16199. 2010-08-23 Sheriff Bot <webkit.review.bot@gmail.com>
  16200. Unreviewed, rolling out r65703.
  16201. http://trac.webkit.org/changeset/65703
  16202. https://bugs.webkit.org/show_bug.cgi?id=44460
  16203. "Causing lots of crashes on Snow Leopard when running the
  16204. layout tests" (Requested by eseidel2 on #webkit).
  16205. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  16206. (NP_Initialize):
  16207. (NP_GetEntryPoints):
  16208. 2010-08-23 Jon Honeycutt <jhoneycutt@apple.com>
  16209. Layout tests do not run when using WebKitTestRunner in a Debug build.
  16210. https://bugs.webkit.org/show_bug.cgi?id=44409
  16211. Reviewed by Dan Bernstein.
  16212. * WebKitTestRunner/win/TestControllerWin.cpp:
  16213. (WTR::TestController::initializeInjectedBundlePath):
  16214. Use InjectedBundle_debug.dll when building Debug.
  16215. 2010-08-23 Xan Lopez <xlopez@igalia.com>
  16216. Reviewed by Martin Robinson.
  16217. [GTK] run-launcher fails if WebKitGTK+ compiled with GTK+-3.0 support
  16218. https://bugs.webkit.org/show_bug.cgi?id=42026
  16219. If a GTK+ 3.x build is present return that as the library to use,
  16220. otherwise fallback to the GTK+ 2.x build.
  16221. * Scripts/webkitdirs.pm:
  16222. 2010-08-23 Balazs Kelemen <kb@inf.u-szeged.hu>
  16223. Reviewed by Ariya Hidayat.
  16224. [Qt] Find needed forwarding headers for WebKit2 automatically
  16225. https://bugs.webkit.org/show_bug.cgi?id=44336
  16226. * MiniBrowser/qt/BrowserWindow.cpp: Use normal (not framework style) includes here.
  16227. The new script does not satisfy the needs of this file however using normal includes
  16228. is generally better here.
  16229. * MiniBrowser/qt/MiniBrowser.pro: Added include paths.
  16230. * Scripts/enumerate-included-framework-headers: Enumerates headers included from the
  16231. given frameworks by files in the current directory (and subdirectories).
  16232. In the future this needs to be rewritten in perl for being able to use on Windows.
  16233. 2010-08-22 No'am Rosenthal <noam.rosenthal@nokia.com>
  16234. Reviewed by Ariya Hidayat.
  16235. [Qt] Qt test browser: enable a QGLWidget viewport with a command line argument
  16236. https://bugs.webkit.org/show_bug.cgi?id=43010
  16237. * QtTestBrowser/launcherwindow.cpp:
  16238. (LauncherWindow::applyPrefs):
  16239. * QtTestBrowser/main.cpp:
  16240. (LauncherApplication::handleUserOptions):
  16241. 2010-08-21 Sam Weinig <sam@webkit.org>
  16242. Reviewed by Dan Bernstein.
  16243. Remove specialized retain/release functions in favor of a single one for WKTypeRefs
  16244. https://bugs.webkit.org/show_bug.cgi?id=44386
  16245. * MiniBrowser/mac/AppDelegate.m:
  16246. (didRecieveMessageFromInjectedBundle):
  16247. (didNavigateWithNavigationData):
  16248. (-[BrowserAppDelegate init]):
  16249. (-[BrowserAppDelegate applicationWillTerminate:]):
  16250. * MiniBrowser/mac/BrowserStatisticsWindowController.m:
  16251. (-[BrowserStatisticsWindowController initWithThreadedWKContextRef:processWKContextRef:]):
  16252. (-[BrowserStatisticsWindowController dealloc]):
  16253. * MiniBrowser/mac/BrowserWindowController.m:
  16254. (-[BrowserWindowController initWithPageNamespace:]):
  16255. (-[BrowserWindowController fetch:]):
  16256. (-[BrowserWindowController windowWillClose:]):
  16257. (-[BrowserWindowController applicationTerminating]):
  16258. (closePage):
  16259. (runJavaScriptAlert):
  16260. (runJavaScriptConfirm):
  16261. (runJavaScriptPrompt):
  16262. (-[BrowserWindowController updateProvisionalURLForFrame:]):
  16263. * MiniBrowser/mac/WebBundle/WebBundleMain.m:
  16264. (didClearWindowObjectForFrame):
  16265. * MiniBrowser/win/BrowserView.cpp:
  16266. (BrowserView::goToURL):
  16267. * WebKitTestRunner/win/PlatformWebViewWin.cpp:
  16268. (WTR::PlatformWebView::~PlatformWebView):
  16269. 2010-08-20 Benjamin Poulain <benjamin.poulain@nokia.com>
  16270. Reviewed by Kenneth Rohde Christiansen.
  16271. WebKit does not build with Python 2.3
  16272. https://bugs.webkit.org/show_bug.cgi?id=44373
  16273. Replaced the function sorted() by a call to sort()
  16274. on the entry list.
  16275. The function sorted() has been added to Python 2.4.
  16276. The function method sort() of List works with older
  16277. versions of Python.
  16278. * Scripts/create-html-entity-table:
  16279. 2010-08-20 Martin Robinson <mrobinson@igalia.com>
  16280. Reviewed by Pavel Feldman.
  16281. Web Inspector: Inspector tests were disabled for GTK.
  16282. https://bugs.webkit.org/show_bug.cgi?id=43977
  16283. * Scripts/old-run-webkit-tests: Set the WEBKIT_INSPECTOR_PATH to the appropriate
  16284. path before running tests.
  16285. 2010-08-20 Daniel Bates <dbates@rim.com>
  16286. Reviewed by Eric Seidel.
  16287. svn-apply doesn't detect empty line with Windows line endings
  16288. after property value
  16289. https://bugs.webkit.org/show_bug.cgi?id=43981
  16290. Part 2 of 2
  16291. Add unit tests that were not landed in the first commit.
  16292. * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
  16293. - Added the following test cases:
  16294. "SVN: binary file (isBinary true) using Windows line endings"
  16295. "SVN: property diff, followed by file change diff using Windows line endings"
  16296. "SVN: two consecutive property diffs using Windows line endings"
  16297. "SVN: binary file with executable bit change usng Windows line endings"
  16298. "SVN: binary file followed by property change on different file using Windows line endings"
  16299. "SVN: binary file followed by file change on different file using Windows line endings"
  16300. "SVN: file change diff with property change, followed by property change diff using Windows line endings"
  16301. "SVN: file change diff with property change, followed by file change diff using Windows line endings"
  16302. * Scripts/webkitperl/VCSUtils_unittest/parseSvnProperty.pl:
  16303. - Added the following test cases:
  16304. "add svn:executable, followed by empty line and start of next diff using Windows line endings"
  16305. "add svn:executable, followed by empty line and start of next property diff using Windows line endings"
  16306. "multi-line '+' change, followed by empty line and start of next diff using Windows line endings"
  16307. "multi-line '+' change, followed by empty line and start of next property diff using Windows line endings"
  16308. "add svn:executable, followed by empty line and start of binary patch using Windows line endings"
  16309. "multi-line '+' change, followed by empty line and start of binary patch using Windows line endings"
  16310. "multi-line '-' change, followed by multi-line '+' change, empty line, and start of binary patch using Windows line endings"
  16311. "single-line '+' with trailing new line using Windows line endings"
  16312. "single-line '+' with trailing new line, followed by empty line and start of binary patch using Windows line endings"
  16313. "single-line '-' change with trailing new line, and single-line '+' change using Windows line endings"
  16314. "multi-line '-' change with trailing new line, and multi-line '+' change using Windows line endings"
  16315. * Scripts/webkitperl/VCSUtils_unittest/parseSvnPropertyValue.pl:
  16316. - Added the following test cases:
  16317. "single-line '-' change followed by empty line with Windows line endings"
  16318. "multi-line '+' change and start of binary patch with Windows line endings"
  16319. 2010-08-20 Daniel Bates <dbates@rim.com>
  16320. Reviewed by Eric Seidel.
  16321. svn-apply doesn't detect empty line with Windows line endings
  16322. after property value
  16323. https://bugs.webkit.org/show_bug.cgi?id=43981
  16324. Fixes an issue where an empty line following the property value
  16325. in an SVN property change diff would not be detected if it had
  16326. Windows line endings (i.e. ended in CRLF). Hence it was consumed
  16327. as if it was part of a multi-line property value.
  16328. * Scripts/VCSUtils.pm:
  16329. - Modified parseSvnPropertyValue() to detect empty line
  16330. with Windows line endings.
  16331. - Added toWindowsLineEndings().
  16332. * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
  16333. - Added the following test cases:
  16334. "SVN: binary file (isBinary true) using Windows line endings"
  16335. "SVN: property diff, followed by file change diff using Windows line endings"
  16336. "SVN: two consecutive property diffs using Windows line endings"
  16337. "SVN: binary file with executable bit change usng Windows line endings"
  16338. "SVN: binary file followed by property change on different file using Windows line endings"
  16339. "SVN: binary file followed by file change on different file using Windows line endings"
  16340. "SVN: file change diff with property change, followed by property change diff using Windows line endings"
  16341. "SVN: file change diff with property change, followed by file change diff using Windows line endings"
  16342. * Scripts/webkitperl/VCSUtils_unittest/parseSvnProperty.pl:
  16343. - Added the following test cases:
  16344. "add svn:executable, followed by empty line and start of next diff using Windows line endings"
  16345. "add svn:executable, followed by empty line and start of next property diff using Windows line endings"
  16346. "multi-line '+' change, followed by empty line and start of next diff using Windows line endings"
  16347. "multi-line '+' change, followed by empty line and start of next property diff using Windows line endings"
  16348. "add svn:executable, followed by empty line and start of binary patch using Windows line endings"
  16349. "multi-line '+' change, followed by empty line and start of binary patch using Windows line endings"
  16350. "multi-line '-' change, followed by multi-line '+' change, empty line, and start of binary patch using Windows line endings"
  16351. "single-line '+' with trailing new line using Windows line endings"
  16352. "single-line '+' with trailing new line, followed by empty line and start of binary patch using Windows line endings"
  16353. "single-line '-' change with trailing new line, and single-line '+' change using Windows line endings"
  16354. "multi-line '-' change with trailing new line, and multi-line '+' change using Windows line endings"
  16355. * Scripts/webkitperl/VCSUtils_unittest/parseSvnPropertyValue.pl:
  16356. - Added the following test cases:
  16357. "single-line '-' change followed by empty line with Windows line endings"
  16358. "multi-line '+' change and start of binary patch with Windows line endings"
  16359. 2010-08-19 David Kilzer <ddkilzer@apple.com>
  16360. BUILD FIX: Fix Mac build after Windows WebKit2 changes for Netscape Plug-ins
  16361. * MiniBrowser/mac/BrowserWindowController.m:
  16362. (decidePolicyForNavigationAction): Updated method signature.
  16363. (decidePolicyForNewWindowAction): Updated method signature.
  16364. 2010-08-19 Adam Roben <aroben@apple.com>
  16365. Test that NP_Initialize and NP_GetEntryPoints are called in the
  16366. correct order
  16367. The order differs between Mac and Windows (see r38858).
  16368. Fixes <http://webkit.org/b/44270> <rdar://problem/8330393> Crash in
  16369. NP_Initialize when loading QuickTime when running
  16370. plugins/embed-attributes-setting.html in WebKit2 on Windows
  16371. Reviewed by Sam Weinig.
  16372. * DumpRenderTree/TestNetscapePlugIn/main.cpp: Added a CRASH macro and
  16373. a boolean to record whether NP_GetEntryPoints has been called.
  16374. (NP_Initialize): Crash on Windows if NP_GetEntryPoints hasn't been
  16375. called yet. This matches Flash and QuickTime's behavior. Crash on Mac
  16376. if NP_GetEntryPoints has been called already. This matches
  16377. Silverlight's behavior.
  16378. 2010-08-19 Adam Roben <aroben@apple.com>
  16379. Make build-webkittestrunner build TestNetscapePlugIn on Windows
  16380. Fixes <http://webkit.org/b/44268> <rdar://problem/8330388>
  16381. Reviewed by Sam Weinig.
  16382. * WebKitTestRunner/WebKitTestRunner.sln: Added TestNetscapePlugIn.
  16383. Threaded it in between ImageDiff and InjectedBundleGenerated.
  16384. 2010-08-19 Ojan Vafai <ojan@chromium.org>
  16385. Reviewed by Adam Barth.
  16386. install rietveld's upload script from a versioned url
  16387. https://bugs.webkit.org/show_bug.cgi?id=44291
  16388. autoinstall expects the file at a given URL to never change.
  16389. In order to be able to update the file, we need to be able to
  16390. change the path.
  16391. * Scripts/webkitpy/thirdparty/__init__.py:
  16392. 2010-08-19 Ojan Vafai <ojan@chromium.org>
  16393. Reviewed by Adam Barth.
  16394. add --webkit_patch_id to reitveld uploads
  16395. https://bugs.webkit.org/show_bug.cgi?id=44289
  16396. This is the first step in having rietveld store which
  16397. patches have been uploaded and getting rid of the
  16398. in-rietveld flag.
  16399. * Scripts/webkitpy/common/net/rietveld.py:
  16400. * Scripts/webkitpy/tool/mocktool.py:
  16401. * Scripts/webkitpy/tool/steps/postcodereview.py:
  16402. 2010-08-19 Kenneth Russell <kbr@google.com>
  16403. Reviewed by David Levin.
  16404. Adjust my status from committer to reviewer
  16405. https://bugs.webkit.org/show_bug.cgi?id=44277
  16406. * Scripts/webkitpy/common/config/committers.py:
  16407. 2010-08-19 Pavel Feldman <pfeldman@chromium.org>
  16408. Reviewed by Yury Semikhatsky.
  16409. Chromium DevTools: remove injected script fetcher from test harness.
  16410. https://bugs.webkit.org/show_bug.cgi?id=44266
  16411. * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
  16412. * DumpRenderTree/chromium/DRTDevToolsAgent.h:
  16413. 2010-08-19 Pavel Feldman <pfeldman@chromium.org>
  16414. Reviewed by Yury Semikhatsky.
  16415. Chromium DevTools: There is no need in resource-based InjectedScript.js source.
  16416. Now that we populate front-end after its onload handler, we don't need
  16417. to install injected script early. Exposing injected script source on the WebCore
  16418. level here.
  16419. https://bugs.webkit.org/show_bug.cgi?id=44029
  16420. * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
  16421. (DRTDevToolsAgent::runtimePropertyChanged):
  16422. (DRTDevToolsAgent::delayedFrontendLoaded):
  16423. (DRTDevToolsAgent::frontendLoaded):
  16424. * DumpRenderTree/chromium/DRTDevToolsAgent.h:
  16425. 2010-08-19 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  16426. Reviewed by Kenneth Rohde Christiansen.
  16427. [Gtk] Enable view mode media feature layout test
  16428. https://bugs.webkit.org/show_bug.cgi?id=43278
  16429. Add view mode media feature testing infrastructure, and add
  16430. placeholder methods for the other platforms'
  16431. LayoutTestControllers.
  16432. * DumpRenderTree/LayoutTestController.cpp:
  16433. (setViewModeMediaFeatureCallback):
  16434. (LayoutTestController::staticFunctions):
  16435. * DumpRenderTree/LayoutTestController.h:
  16436. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  16437. (LayoutTestController::setViewModeMediaFeature):
  16438. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  16439. (LayoutTestController::setViewModeMediaFeature):
  16440. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  16441. (LayoutTestController::setViewModeMediaFeature):
  16442. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  16443. (LayoutTestController::setViewModeMediaFeature):
  16444. 2010-08-18 Mark Rowe <mrowe@apple.com>
  16445. Reviewed by Sam Weinig.
  16446. Make it so the WebKit2 test slave runs the WebKit2 tests
  16447. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  16448. 2010-08-18 Sam Weinig <sam@webkit.org>
  16449. Reviewed by Mark Rowe.
  16450. Make run-webkit-tests --webkit-test-runner build DumpRenderTree
  16451. in addition to WebKitTestRunner to get the DumpRenderTreeSupport
  16452. module and the TestNetscapePlugin.
  16453. * Scripts/old-run-webkit-tests:
  16454. 2010-08-18 Adam Roben <aroben@apple.com>
  16455. Fix hang when saving crash logs on Windows
  16456. * Scripts/old-run-webkit-tests:
  16457. (setUpWindowsCrashLogSaving):
  16458. (END):
  16459. Pass -s to regtool so it will write the Auto value as a string instead
  16460. of as a number. This was causing a "do you want to debug?" dialog to
  16461. appear.
  16462. 2010-08-17 Victor Wang <victorw@chromium.org>
  16463. Unreviewed. Fixed chromium incremental test json upload.
  16464. Quote builder name and test results server in url.
  16465. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  16466. 2010-08-17 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  16467. Reviewed by Ariya Hidayat.
  16468. [Qt] [Symbian] Consistently use Q_OS_SYMBIAN to guard all Symbian platform dependencies
  16469. https://bugs.webkit.org/show_bug.cgi?id=44124
  16470. Q_WS_S60 is not defined for Symbian^4 devices as Q_WS_S60 used to guard
  16471. Avkon UI framework dependencies. Use Q_OS_SYMBIAN everywhere to mark
  16472. Symbian dependencies.
  16473. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  16474. (WebCore::DumpRenderTree::open):
  16475. * QtTestBrowser/launcherwindow.cpp:
  16476. (LauncherWindow::init):
  16477. (LauncherWindow::toggleFullScreenMode):
  16478. (LauncherWindow::showFPS):
  16479. (LauncherWindow::updateFPS):
  16480. * QtTestBrowser/launcherwindow.h:
  16481. (WindowOptions::WindowOptions):
  16482. * QtTestBrowser/mainwindow.cpp:
  16483. (MainWindow::buildUI):
  16484. 2010-08-17 Dirk Pranke <dpranke@chromium.org>
  16485. Reviewed by David Levin.
  16486. new-run-webkit-tests: remove --show-sources option
  16487. --show-sources is pretty much obsolete with --trace everything, so
  16488. I'm removing it.
  16489. Also rename a couple of methods in the TestTextDiff class to make their
  16490. intended visibility (private) more obvious.
  16491. https://bugs.webkit.org/show_bug.cgi?id=44143
  16492. * Scripts/webkitpy/layout_tests/layout_package/printing.py:
  16493. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  16494. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  16495. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  16496. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  16497. 2010-08-17 Dirk Pranke <dpranke@chromium.org>
  16498. Reviewed by David Levin.
  16499. remove --fuzzy-image-diff in new-run-webkit-tests (it doesn't work)
  16500. This code bit-rotted at some point more than a year ago, and nobody seems
  16501. to miss it. old-run-webkit-tests has a --tolerance flag that new-run-webkit-tests
  16502. should support instead, making this flag unnecessary anyway.
  16503. https://bugs.webkit.org/show_bug.cgi?id=44141
  16504. * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
  16505. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  16506. * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py: Removed.
  16507. 2010-08-17 Victor Wang <victorw@chromium.org>
  16508. Reviewed by Ojan Vafai.
  16509. Update json results generator to have incremental json including
  16510. results for tests that pass in current run but failed before.
  16511. https://bugs.webkit.org/show_bug.cgi?id=44119
  16512. * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
  16513. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  16514. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  16515. 2010-08-17 Dirk Pranke <dpranke@chromium.org>
  16516. Reviewed by Eric Seidel.
  16517. fix test-webkitpy, add easy way to find a checkout root
  16518. test-webkitpy currently doesn't work right if run from someplace other
  16519. than the checkout root, and it spews a bunch of debug logging because
  16520. the deduplicate_tests tests contaminates the test environment.
  16521. This patch cleans up the deduplicate_tests unit tests, and creates
  16522. two new methods in scm.py: find_checkout_root() and default_scm(),
  16523. both of which use a single algorithm for guessing what checkout root
  16524. to use if you aren't explicitly told one from a path.
  16525. https://bugs.webkit.org/show_bug.cgi?id=44001
  16526. * Scripts/deduplicate-tests:
  16527. * Scripts/webkitpy/common/checkout/scm.py:
  16528. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  16529. * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
  16530. * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
  16531. * Scripts/webkitpy/layout_tests/port/test.py:
  16532. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  16533. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
  16534. * Scripts/webkitpy/tool/main.py:
  16535. 2010-08-17 Victor Wang <victorw@chromium.org>
  16536. Reviewed by Ojan Vafai.
  16537. Add support to the test results server for downloading json that
  16538. contains test list only.
  16539. This is for json results generator to generate incremental json
  16540. results so that it includes results not only for tests failed in
  16541. current run, but also tests failed before.
  16542. Also set the results type to "N" (no data) instead of "P" (pass)
  16543. if test results cannot be found in incremental json file.
  16544. https://bugs.webkit.org/show_bug.cgi?id=44117
  16545. * TestResultServer/handlers/testfilehandler.py:
  16546. * TestResultServer/model/jsonresults.py:
  16547. * TestResultServer/model/jsonresults_unittest.py:
  16548. 2010-08-17 Adam Roben <aroben@apple.com>
  16549. Use the right path style
  16550. * Scripts/old-run-webkit-tests:
  16551. 2010-08-17 Adam Roben <aroben@apple.com>
  16552. Fix typo
  16553. * Scripts/old-run-webkit-tests:
  16554. 2010-08-17 Adam Roben <aroben@apple.com>
  16555. Don't hang when running run-webkit-tests as a non-Administrator on
  16556. Vista/7
  16557. * Scripts/old-run-webkit-tests:
  16558. (setUpWindowsCrashLogSaving): Use regtool to set NTSD as the
  16559. post-mortem debugger, rather than using NTSD itself. The latter waits
  16560. for user input when it fails to set the registry values; the former
  16561. does not.
  16562. 2010-08-17 Adam Roben <aroben@apple.com>
  16563. Teach run-webkit-tests, DumpRenderTree, and WebKitTestRunner how to
  16564. save crash logs on Windows
  16565. The crash logs are saved to /tmp/layout-test-results and have names
  16566. like CrashLog_02bc_2010-08-17_14-36-20-108.txt.
  16567. Unfortunately, crashes in the WebKit2 web process are recorded as
  16568. time-outs by run-webkit-tests. Fixing this is covered by
  16569. <http://webkit.org/b/44121>.
  16570. Fixes <http://webkit.org/b/37859> <rdar://problem/7883560>
  16571. DumpRenderTree should save a stack trace and/or dump file when it
  16572. crashes
  16573. Reviewed by Sam Weinig.
  16574. * DumpRenderTree/win/DumpRenderTree.cpp:
  16575. (exceptionFilter):
  16576. (main):
  16577. * WebKitTestRunner/win/TestControllerWin.cpp:
  16578. (WTR::exceptionFilter):
  16579. (WTR::TestController::platformInitialize):
  16580. These changes set up an exception filter that prints #CRASHED to
  16581. stderr, then lets the exception propagate normally. This allows
  16582. run-webkit-tests to detect when we've crashed even when a post-mortem
  16583. debugger attaches to the process.
  16584. * Scripts/old-run-webkit-tests:
  16585. (top level): Declared some variables used by the crash-log-saving
  16586. code.
  16587. (openDumpTool): Copy _NT_SYMBOL_PATH into the clean environment so
  16588. that the post-mortem debugger has access to it.
  16589. (toCygwinPath): Added. This is the opposite of toWindowsPath.
  16590. (readFromDumpToolWithTimer): If the dump tool prints #CRASHED to
  16591. stderr, consider it a crash.
  16592. (setUpWindowsCrashLogSaving): Added. Saves the current post-mortem
  16593. debugger, then sets ntsd as the post-mortem debugger. ntsd is
  16594. configured to save a crash log and then quit automatically.
  16595. (END): Added. Restores the previous post-mortem debugger when the
  16596. script exits.
  16597. 2010-08-17 Victor Wang <victorw@chromium.org>
  16598. Reviewed by ojan@chromium.org.
  16599. Update test results server:
  16600. 1. Normalize test results and times after merging (prune tests where
  16601. all runs pass or do not have data, truncate all test items to max
  16602. number of builds)
  16603. 2. times should be int not string.
  16604. 3. when inserting a new test item, should keep old data regardless
  16605. whether or not they have same item type with new one.
  16606. https://bugs.webkit.org/show_bug.cgi?id=43861
  16607. * TestResultServer/model/jsonresults.py:
  16608. * TestResultServer/model/jsonresults_unittest.py:
  16609. 2010-08-16 Sam Weinig <sam@webkit.org>
  16610. Reviewed by Mark Rowe.
  16611. Add WebKit2 Mac tester to buildbot.
  16612. * BuildSlaveSupport/build.webkit.org-config/config.json:
  16613. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  16614. 2010-08-16 Paul Sawaya <psawaya@apple.com>
  16615. Reviewed by Chris Marrin.
  16616. Added shader validation via ANGLE
  16617. https://bugs.webkit.org/show_bug.cgi?id=42405
  16618. Added ANGLE to webkit build
  16619. * Scripts/build-webkit:
  16620. 2010-08-16 Kevin Ollivier <kevino@theolliviers.com>
  16621. [wx] Build fix, do not build WebCore as a convenience library as this leads to
  16622. errors in the Win build w/export symbols and causes problems with DOM bindings
  16623. debugging in gdb.
  16624. * DumpRenderTree/wscript:
  16625. * Scripts/build-webkit:
  16626. * wx/browser/wscript:
  16627. * wx/build/settings.py:
  16628. * wx/build/waf_extensions.py:
  16629. 2010-08-16 Dan Bernstein <mitz@apple.com>
  16630. Build fix.
  16631. * WebKitTestRunner/TestController.cpp:
  16632. (WTR::createOtherPage): Initialize the contentsSizeChanged member.
  16633. (WTR::TestController::initialize): Ditto.
  16634. 2010-08-16 Balazs Kelemen <kb@inf.u-szeged.hu>
  16635. Reviewed by Kenneth Rohde Christiansen.
  16636. Handle content size change in WebKit2
  16637. Re-landing after fix.
  16638. https://bugs.webkit.org/show_bug.cgi?id=43198
  16639. * MiniBrowser/mac/BrowserWindowController.m:
  16640. (-[BrowserWindowController awakeFromNib]): Initialize WKPageUICallback::contetsSizeChanged to 0.
  16641. * MiniBrowser/win/BrowserView.cpp:
  16642. (BrowserView::create): Initialize WKPageUICallback::contetsSizeChanged to 0.
  16643. 2010-08-16 Sheriff Bot <webkit.review.bot@gmail.com>
  16644. Unreviewed, rolling out r65419.
  16645. http://trac.webkit.org/changeset/65419
  16646. https://bugs.webkit.org/show_bug.cgi?id=44053
  16647. Broke the Windows build (Requested by bbandix on #webkit).
  16648. * MiniBrowser/mac/BrowserWindowController.m:
  16649. (-[BrowserWindowController awakeFromNib]):
  16650. * MiniBrowser/win/BrowserView.cpp:
  16651. (BrowserView::create):
  16652. 2010-08-16 Balazs Kelemen <kb@inf.u-szeged.hu>
  16653. Reviewed by Kenneth Rohde Christiansen.
  16654. Handle content size change in WebKit2
  16655. https://bugs.webkit.org/show_bug.cgi?id=43198
  16656. * MiniBrowser/mac/BrowserWindowController.m:
  16657. (-[BrowserWindowController awakeFromNib]): Initialize WKPageUICallback::contetsSizeChanged to 0.
  16658. * MiniBrowser/win/BrowserView.cpp:
  16659. (BrowserView::create): Initialize WKPageUICallback::contetsSizeChanged to 0.
  16660. 2010-08-16 Ariya Hidayat <ariya@sencha.com>
  16661. Add my new email address to committers.py.
  16662. * Scripts/webkitpy/common/config/committers.py:
  16663. 2010-08-16 Zoltan Horvath <zoltan@webkit.org>
  16664. Add my old e-mail addresses to committers.py.
  16665. * Scripts/webkitpy/common/config/committers.py:
  16666. 2010-08-15 Jon Honeycutt <jhoneycutt@apple.com>
  16667. WebEditorClient::didBeginEditing is never called in WebKit2
  16668. https://bugs.webkit.org/show_bug.cgi?id=42939
  16669. Reviewed by Sam Weinig.
  16670. * WebKitTestRunner/PlatformWebView.h:
  16671. Declare focus().
  16672. * WebKitTestRunner/TestController.cpp:
  16673. (WTR::TestController::resetStateToConsistentValues):
  16674. Focus the PlatformWebView.
  16675. * WebKitTestRunner/mac/PlatformWebViewMac.mm:
  16676. (WTR::PlatformWebView::focus):
  16677. Stubbed.
  16678. * WebKitTestRunner/win/PlatformWebViewWin.cpp:
  16679. (WTR::PlatformWebView::focus):
  16680. Focus the view.
  16681. 2010-08-15 Jon Honeycutt <jhoneycutt@apple.com>
  16682. run-webkit-tests should not strip editing callbacks when using
  16683. WebKitTestRunner on Windows
  16684. https://bugs.webkit.org/show_bug.cgi?id=44000
  16685. Reviewed by Mark Rowe.
  16686. * Scripts/old-run-webkit-tests:
  16687. Leave $stripEditingCallbacks undefined until we look for command-line
  16688. arguments. If using WebKit2, set it to 0 if not explicity set on the
  16689. command line. Later, set it to isCygwin() to match old behavior if it is
  16690. not yet defined.
  16691. 2010-08-15 Kevin Ollivier <kevino@theolliviers.com>
  16692. [wx] Build fix, remove define always set to the correct value by wtf/Platform.h.
  16693. * wx/build/settings.py:
  16694. 2010-08-14 Martin Robinson <mrobinson@igalia.com>
  16695. Reviewed by Kenneth Rohde Christiansen.
  16696. [GTK] autogen.sh not executed if build-webkit options change
  16697. https://bugs.webkit.org/show_bug.cgi?id=42266
  16698. Rerun autogen.sh in situations where the arguments to build-webkit have
  16699. changed since the previous build. This will fix some issues on the bots
  16700. where the build does not notice changes to default build-webkit arguments.
  16701. * Scripts/webkitdirs.pm: Add special logic for detecting changes to build-webkit arguments.
  16702. 2010-08-14 Eric Seidel <eric@webkit.org>
  16703. Unreviewed. Another fix to support python 2.3.
  16704. Add support for MathML entities
  16705. https://bugs.webkit.org/show_bug.cgi?id=43949
  16706. * Scripts/webkitpy/thirdparty/simplejson/decoder.py:
  16707. - It looks like our simplejson is version 1.7.3 which
  16708. should be python 2.3 compatible. But someone modified
  16709. our copy slightly from the original source.
  16710. I've removed the relative import in hopes this fixes
  16711. the problem.
  16712. 2010-08-13 Eric Seidel <eric@webkit.org>
  16713. Unreviewed. Build fix only.
  16714. Add support for MathML entities
  16715. https://bugs.webkit.org/show_bug.cgi?id=43949
  16716. * Scripts/create-html-entity-table:
  16717. - Hack sys.path to avoid executing 2.5 dependent python
  16718. on systems (like chromium-win and Tiger) which do not have 2.5 python.
  16719. 2010-08-13 Adam Barth <abarth@webkit.org>
  16720. Reviewed by Eric Seidel.
  16721. Rename some concepts in HTML entity search to be more self-documenting
  16722. https://bugs.webkit.org/show_bug.cgi?id=44004
  16723. Reflect name change in generator script.
  16724. * Scripts/create-html-entity-table:
  16725. 2010-08-12 Adam Barth <abarth@webkit.org>
  16726. Reviewed by Eric Seidel.
  16727. Add support for MathML entities
  16728. https://bugs.webkit.org/show_bug.cgi?id=43949
  16729. A script for generating the C++ state data structure describing all the
  16730. entities from a JSON description.
  16731. * Scripts/create-html-entity-table: Added.
  16732. 2010-08-13 Dirk Pranke <dpranke@chromium.org>
  16733. Reviewed by Eric Seidel.
  16734. Rewrite new-run-webkit-test's wait_for_threads_to_finish loop to
  16735. check for exceptions on all threads, not just the first thread.
  16736. This change also changes the logging behavior for wedged threads
  16737. to only dump the stacks of threads that are actually wedged.
  16738. Refactor the thread classes in the dump_render_tree_thread module
  16739. to make the contract between TestRunner and TestShellThread clearer.
  16740. Added a bunch of unit tests.
  16741. https://bugs.webkit.org/show_bug.cgi?id=38561
  16742. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  16743. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  16744. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  16745. 2010-08-13 Kenichi Ishibashi <bashi@google.com>
  16746. Reviewed by Shinichiro Hamaji.
  16747. Add test_expectations.txt syntax checker to check-webkit-style.
  16748. https://bugs.webkit.org/show_bug.cgi?id=43899
  16749. Just utilizing layout_tests/layout_package/test_expectations.py for checking
  16750. the syntax of test_expectations.txt.
  16751. This change also moves tab checking class from style/checkers/text.py to
  16752. style/checkers/common.py for sharing code.
  16753. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  16754. * Scripts/webkitpy/style/checker.py:
  16755. * Scripts/webkitpy/style/checkers/common.py:
  16756. * Scripts/webkitpy/style/checkers/common_unittest.py:
  16757. * Scripts/webkitpy/style/checkers/test_expectations.py: Added.
  16758. * Scripts/webkitpy/style/checkers/test_expectations_unittest.py: Added.
  16759. * Scripts/webkitpy/style/checkers/text.py:
  16760. * Scripts/webkitpy/style_references.py:
  16761. 2010-08-12 Jon Honeycutt <jhoneycutt@apple.com>
  16762. WebKitTestRunner does not correctly resize WebView for W3C SVG tests
  16763. https://bugs.webkit.org/show_bug.cgi?id=43945
  16764. Reviewed by Sam Weinig.
  16765. * WebKitTestRunner/TestInvocation.cpp:
  16766. (WTR::sizeWebViewForCurrentTest):
  16767. Allow for a Windows-style path.
  16768. * WebKitTestRunner/win/PlatformWebViewWin.cpp:
  16769. (WTR::PlatformWebView::resizeTo):
  16770. Call SetWindowPos to resize the view window.
  16771. 2010-08-12 David Levin <levin@chromium.org>
  16772. Build break fix.
  16773. * WebKitTestRunner/TestController.cpp:
  16774. (WTR::TestController::resetStateToConsistentValues): Removed usage
  16775. of a variable that doesn't exist in the class.
  16776. 2010-08-12 Jon Honeycutt <jhoneycutt@apple.com>
  16777. WebKitTestRunner needs to run tests without using native controls
  16778. https://bugs.webkit.org/show_bug.cgi?id=43772
  16779. Reviewed by Sam Weinig.
  16780. * WebKitTestRunner/TestController.cpp:
  16781. (WTR::TestController::initialize):
  16782. Call platformInitializeContext().
  16783. * WebKitTestRunner/TestController.h:
  16784. Declare platformInitializeContext().
  16785. * WebKitTestRunner/mac/TestControllerMac.mm:
  16786. (WTR::TestController::platformInitializeContext):
  16787. Stubbed.
  16788. * WebKitTestRunner/win/TestControllerWin.cpp:
  16789. (WTR::TestController::platformInitializeContext):
  16790. Call WKContextSetShouldPaintNativeControls() to disable native control
  16791. drawing.
  16792. 2010-08-12 Sam Weinig <sam@webkit.org>
  16793. Reviewed by Alexey Proskuryakov.
  16794. WebKitTestRunner should be more aggressive about ensuring consistent state between tests
  16795. https://bugs.webkit.org/show_bug.cgi?id=43653
  16796. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  16797. (WTR::InjectedBundle::InjectedBundle):
  16798. (WTR::InjectedBundle::didReceiveMessage):
  16799. (WTR::InjectedBundle::beginTesting):
  16800. (WTR::InjectedBundle::done):
  16801. * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
  16802. (WTR::InjectedBundle::isTestRunning):
  16803. (WTR::InjectedBundle::):
  16804. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  16805. (WTR::InjectedBundlePage::stopLoading):
  16806. (WTR::InjectedBundlePage::didStartProvisionalLoadForFrame):
  16807. (WTR::InjectedBundlePage::dump):
  16808. (WTR::InjectedBundlePage::didFinishLoadForFrame):
  16809. (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame):
  16810. (WTR::InjectedBundlePage::didReceiveTitleForFrame):
  16811. (WTR::InjectedBundlePage::didClearWindowForFrame):
  16812. (WTR::InjectedBundlePage::didFinishDocumentLoadForFrame):
  16813. (WTR::InjectedBundlePage::willAddMessageToConsole):
  16814. (WTR::InjectedBundlePage::willSetStatusbarText):
  16815. (WTR::InjectedBundlePage::willRunJavaScriptAlert):
  16816. (WTR::InjectedBundlePage::willRunJavaScriptConfirm):
  16817. (WTR::InjectedBundlePage::shouldBeginEditing):
  16818. (WTR::InjectedBundlePage::shouldEndEditing):
  16819. (WTR::InjectedBundlePage::shouldInsertNode):
  16820. (WTR::InjectedBundlePage::shouldInsertText):
  16821. (WTR::InjectedBundlePage::shouldDeleteRange):
  16822. (WTR::InjectedBundlePage::shouldChangeSelectedRange):
  16823. (WTR::InjectedBundlePage::shouldApplyStyle):
  16824. (WTR::InjectedBundlePage::didBeginEditing):
  16825. (WTR::InjectedBundlePage::didEndEditing):
  16826. (WTR::InjectedBundlePage::didChange):
  16827. (WTR::InjectedBundlePage::didChangeSelection):
  16828. Don't do any work if we are not currently running a test.
  16829. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  16830. * WebKitTestRunner/StringFunctions.h:
  16831. (WTR::toCF):
  16832. Add conversion function for WKURLRef -> CFURLRef
  16833. * WebKitTestRunner/TestController.cpp:
  16834. (WTR::TestController::TestController):
  16835. (WTR::TestController::initialize):
  16836. (WTR::TestController::resetStateToConsistentValues):
  16837. (WTR::TestController::runTest):
  16838. (WTR::TestController::didFinishLoadForFrame):
  16839. * WebKitTestRunner/TestController.h:
  16840. (WTR::TestController::):
  16841. * WebKitTestRunner/TestInvocation.cpp:
  16842. (WTR::TestInvocation::invoke):
  16843. * WebKitTestRunner/TestInvocation.h:
  16844. Move resetting code to TestController.
  16845. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
  16846. * WebKitTestRunner/mac/TestControllerMac.mm:
  16847. (WTR::TestController::runUntil):
  16848. * WebKitTestRunner/mac/TestInvocationMac.mm: Removed.
  16849. * WebKitTestRunner/win/TestControllerWin.cpp:
  16850. (WTR::TestController::runUntil):
  16851. * WebKitTestRunner/win/TestInvocationWin.cpp: Removed.
  16852. * WebKitTestRunner/win/WebKitTestRunner.vcproj:
  16853. Move runUntil to TestController.
  16854. 2010-08-12 Lucas De Marchi <lucas.demarchi@profusion.mobi>
  16855. Unreviewed.
  16856. Adding myself to the committers list.
  16857. * Scripts/webkitpy/common/config/committers.py:
  16858. 2010-08-12 Hayato Ito <hayato@chromium.org>
  16859. Reviewed by Tony Chang.
  16860. Merge pretty printers for gdb.
  16861. https://bugs.webkit.org/show_bug.cgi?id=43850
  16862. We need to update webcore.py because basic string classes have moved to WTF from WebCore.
  16863. It is good timing to merge webcore.py and wtf.py and name it 'webkit.py'.
  16864. webcore.py is left for backward compatibility.
  16865. * gdb/webcore.py:
  16866. * gdb/webkit.py: Added.
  16867. * gdb/wtf.py: Removed.
  16868. 2010-08-11 Tony Chang <tony@chromium.org>
  16869. Reviewed by David Levin.
  16870. [chromium] add google-chrome layout test result directories
  16871. https://bugs.webkit.org/show_bug.cgi?id=43889
  16872. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  16873. * Scripts/webkitpy/layout_tests/port/factory.py:
  16874. * Scripts/webkitpy/layout_tests/port/google_chrome.py: Added.
  16875. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  16876. 2010-08-11 Kent Tamura <tkent@chromium.org>
  16877. Reviewed by Dimitri Glazkov.
  16878. [DRT/Chromium] Disable accelerated compositing
  16879. https://bugs.webkit.org/show_bug.cgi?id=43894
  16880. Disable accelerated compositing because DRT is not ready for
  16881. it. This change fixes hundreds of test crashes on Windows and
  16882. Linux.
  16883. * DumpRenderTree/chromium/TestShell.cpp:
  16884. (TestShell::resetWebSettings):
  16885. 2010-08-11 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  16886. Unreviewed. Adding my Collabora personality to the list.
  16887. * Scripts/webkitpy/common/config/committers.py:
  16888. 2010-08-11 Martin Robinson <mrobinson@igalia.com>
  16889. Adding myself as a reviewer.
  16890. * Scripts/webkitpy/common/config/committers.py:
  16891. 2010-08-11 Daniel Bates <dbates@rim.com>
  16892. Reviewed by Darin Adler.
  16893. Perl warnings when running commit-log-editor
  16894. https://bugs.webkit.org/show_bug.cgi?id=43856
  16895. Fixes Perl warnings introduced by the patch for Bug #40548.
  16896. Perl doesn't have symbolic names for True/False. Instead, we
  16897. should use boolean values. Moreover, the variable installedEditorApplication
  16898. is not be used and should be renamed builtEditorApplication so that it
  16899. uses the existing machinery to set the commit log editor application.
  16900. * Scripts/commit-log-editor:
  16901. 2010-08-11 Adam Barth <abarth@webkit.org>
  16902. Reviewed by Eric Seidel.
  16903. Trying waiting for httpd lock in the EWS
  16904. https://bugs.webkit.org/show_bug.cgi?id=43833
  16905. If this works, we can probably run the tests on the mac-ews, which
  16906. would be very exciting. :)
  16907. * Scripts/webkitpy/tool/steps/runtests.py:
  16908. 2010-08-11 Marcus Bulach <bulach@chromium.org>
  16909. Reviewed by Eric Seidel.
  16910. Check in a script to list redundant test outputs.
  16911. https://bugs.webkit.org/show_bug.cgi?id=37630
  16912. If e.g. platform/mac-leopard is missing an expected test output, we
  16913. fall back on platform/mac. This means it's possible to grow redundant
  16914. test outputs, where we have the same expected data in both a platform
  16915. directory and another platform it falls back on.
  16916. (original patch by Evan Marting <evan@chromium.org> https://bugs.webkit.org/attachment.cgi?id=53398)
  16917. * Scripts/deduplicate-tests: Added.
  16918. * Scripts/webkitpy/layout_tests/deduplicate_tests.py: Added.
  16919. * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py: Added.
  16920. 2010-08-11 Antonio Gomes <tonikitoo@webkit.org>
  16921. Reviewed by Ariya Hidayat.
  16922. [Qt] QtTestBrowser: after switching between QWebView and QGraphicsWebView, rotation actions get broken
  16923. https://bugs.webkit.org/show_bug.cgi?id=43853
  16924. LauncherWindow::createChrome is connecting menu itens to WebViewGraphicsBased's slots directly.
  16925. It behaviors badly when user launches the QtTestBrowser in QWebView mode, since then switching to
  16926. QGraphicsWebView mode, createChrome is not called again, and menu items end up not getting connected
  16927. to slots at all.
  16928. * QtTestBrowser/launcherwindow.cpp:
  16929. (LauncherWindow::createChrome):
  16930. (LauncherWindow::animatedFlip):
  16931. (LauncherWindow::animatedYFlip):
  16932. * QtTestBrowser/launcherwindow.h:
  16933. 2010-08-11 Antonio Gomes <tonikitoo@webkit.org>
  16934. Reviewed by Simon Hausmann.
  16935. [Qt] QtTestBrowser: switching between QWebView and QGraphicsWebView modes is broken
  16936. https://bugs.webkit.org/show_bug.cgi?id=43851
  16937. All window options data (including the bool holding if the view is either QWebView or
  16938. QGraphicsWebView based) is stored in m_windowOptions, a class member of LauncherWindow.
  16939. When toggle the view from QWebView to QGraphicsWebView based (and vice-versa), we were
  16940. not updating LauncherWindow::WindowOptions::m_useGraphicsView bit, and then things were
  16941. getting broken.
  16942. Patch addresses this issue.
  16943. * QtTestBrowser/launcherwindow.cpp:
  16944. (LauncherWindow::createChrome):
  16945. (LauncherWindow::toggleWebView):
  16946. (LauncherWindow::toggleAcceleratedCompositing):
  16947. 2010-08-10 Antonio Gomes <tonikitoo@webkit.org>
  16948. Reviewed by Ariya Hidayat.
  16949. [Qt] QtTestBrowser: lazy instantiate "YRotation" state machine and related objects
  16950. https://bugs.webkit.org/show_bug.cgi?id=43831
  16951. Only instantiate QStateMachine and friends associated to the YRotation action on demand.
  16952. * QtTestBrowser/webview.cpp:
  16953. (WebViewGraphicsBased::WebViewGraphicsBased):
  16954. (WebViewGraphicsBased::animatedYFlip):
  16955. 2010-08-11 Darin Adler <darin@apple.com>
  16956. Reviewed by John Sullivan.
  16957. Improved editor options for prepare-ChangeLog and commit-log-editor
  16958. https://bugs.webkit.org/show_bug.cgi?id=40548
  16959. * Scripts/commit-log-editor: Split editor strings on spaces so EDITOR
  16960. values like "xed --launch --wait" work properly.
  16961. * Scripts/prepare-ChangeLog: Added a new CHANGE_LOG_EDITOR so we can
  16962. use a command line tool with the $openChangeLogs feature.
  16963. 2010-08-11 Yury Semikhatsky <yurys@chromium.org>
  16964. Reviewed by Pavel Feldman.
  16965. Web Inspector: remove InjectDispatch.js
  16966. https://bugs.webkit.org/show_bug.cgi?id=43835
  16967. * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
  16968. * DumpRenderTree/chromium/DRTDevToolsAgent.h:
  16969. 2010-08-10 Dirk Pranke <dpranke@chromium.org>
  16970. Reviewed by Eric Seidel.
  16971. webkit-patch should refuse to run under Win32 Python
  16972. https://bugs.webkit.org/show_bug.cgi?id=40962
  16973. Given that there are lots of places in webkit-patch's code that
  16974. assume unix-style filenames (forward slashes), webkit-patch fails
  16975. with weird file-not-found errors when run under a native windows
  16976. Python. It would be nice if we just trapped this and errored out
  16977. at the beginning, rather than producing unpredictable errors.
  16978. * Scripts/webkit-patch:
  16979. 2010-08-10 Kent Tamura <tkent@chromium.org>
  16980. Unreviewed, build fix.
  16981. Chromium build fix for r65107.
  16982. * DumpRenderTree/chromium/LayoutTestController.cpp:
  16983. (LayoutTestController::suspendAnimations):
  16984. (LayoutTestController::resumeAnimations):
  16985. 2010-08-10 Sergio Villar Senin <svillar@igalia.com>
  16986. Reviewed by Xan Lopez.
  16987. [GTK] http/tests/media/video-cookie.html fails
  16988. https://bugs.webkit.org/show_bug.cgi?id=42240
  16989. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  16990. (LayoutTestController::setAlwaysAcceptCookies): create the
  16991. SoupCookieJar if it does not exist. Otherwise the accept policy
  16992. won't be set.
  16993. 2010-08-10 Chris Marrin <cmarrin@apple.com>
  16994. Reviewed by Oliver Hunt.
  16995. Add suspendAnimations/resumeAnimation API to DRT
  16996. https://bugs.webkit.org/show_bug.cgi?id=43733
  16997. Adds suspendAnimations() and resumeAnimations() to LayoutTestController.
  16998. Calls functions with the same names on AnimationController for the
  16999. mainFrame.
  17000. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  17001. * DumpRenderTree/LayoutTestController.cpp:
  17002. (suspendAnimationsCallback):
  17003. (resumeAnimationsCallback):
  17004. (LayoutTestController::staticFunctions):
  17005. * DumpRenderTree/LayoutTestController.h:
  17006. * DumpRenderTree/chromium/LayoutTestController.cpp:
  17007. (LayoutTestController::LayoutTestController):
  17008. (LayoutTestController::suspendAnimations):
  17009. (LayoutTestController::resumeAnimations):
  17010. * DumpRenderTree/chromium/LayoutTestController.h:
  17011. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  17012. (LayoutTestController::suspendAnimations):
  17013. (LayoutTestController::resumeAnimations):
  17014. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  17015. (LayoutTestController::suspendAnimations):
  17016. (LayoutTestController::resumeAnimations):
  17017. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  17018. (LayoutTestController::suspendAnimations):
  17019. (LayoutTestController::resumeAnimations):
  17020. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  17021. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  17022. (LayoutTestController::suspendAnimations):
  17023. (LayoutTestController::resumeAnimations):
  17024. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  17025. (LayoutTestController::suspendAnimations):
  17026. (LayoutTestController::resumeAnimations):
  17027. 2010-08-10 Dimitri Glazkov <dglazkov@chromium.org>
  17028. Reviewed by Ojan Vafai.
  17029. [Chromium/DRT] Enable saving layout test results.
  17030. https://bugs.webkit.org/show_bug.cgi?id=43796
  17031. * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added more
  17032. parameters to the new-run-webkit-tests, including the name
  17033. of the test results server.
  17034. 2010-08-10 Jian Li <jianli@chromium.org>
  17035. More chromium build fix.
  17036. * DumpRenderTree/chromium/MockSpellCheck.cpp:
  17037. (MockSpellCheck::spellCheckWord):
  17038. (MockSpellCheck::initializeIfNeeded):
  17039. * DumpRenderTree/chromium/NotificationPresenter.cpp:
  17040. (NotificationPresenter::grantPermission):
  17041. (NotificationPresenter::show):
  17042. (NotificationPresenter::checkPermission):
  17043. 2010-08-10 Jian Li <jianli@chromium.org>
  17044. Chromium build fix.
  17045. * DumpRenderTree/chromium/MockSpellCheck.cpp:
  17046. * DumpRenderTree/chromium/NotificationPresenter.cpp:
  17047. 2010-08-10 Victor Wang <victorw@chromium.org>
  17048. Reviewed by Ojan Vafai.
  17049. Update test results server merge logic so the aggregated
  17050. results and times are updated for tests that are
  17051. in aggragated json but not in incremental json.
  17052. Also update unittest to test this case.
  17053. https://bugs.webkit.org/show_bug.cgi?id=43769
  17054. * TestResultServer/model/jsonresults.py:
  17055. * TestResultServer/model/jsonresults_unittest.py:
  17056. 2010-08-09 Antonio Gomes <tonikitoo@webkit.org>
  17057. Reviewed by Ariya Hidayat.
  17058. [Qt] QtTestBrowser: proper set scene rect
  17059. When resizesToContents is ON scene's rect is set to the boundary of
  17060. the mainFrame. However, navigating to other web page should keep resizing
  17061. scene's rect according to the new document loaded. Patch addresses this issue.
  17062. Now resizesToContents and scrolling properly work on QtTestBrowser.
  17063. * QtTestBrowser/webview.cpp:
  17064. (WebViewGraphicsBased::setPage):
  17065. (WebViewGraphicsBased::contentsSizeChanged):
  17066. (WebViewGraphicsBased::setResizesToContents):
  17067. (WebViewGraphicsBased::resizeEvent):
  17068. * QtTestBrowser/webview.h:
  17069. 2010-08-09 Antonio Gomes <tonikitoo@webkit.org>
  17070. Reviewed by Ariya Hidayat.
  17071. [Qt] QtTestBrowser: Clean up LauncherWindow code.
  17072. * QtTestBrowser/launcherwindow.cpp:
  17073. (LauncherWindow::LauncherWindow): Moves applyPrefs methods call from the constructor to init().
  17074. (LauncherWindow::init): Fixed comments.
  17075. (LauncherWindow::applyPrefs): Move the method around.
  17076. (LauncherWindow::createChrome): Move more code of this method around, for grouping, and fixing up comments.
  17077. 2010-08-09 Antonio Gomes <tonikitoo@webkit.org>
  17078. Reviewed by Ariya Hidayat.
  17079. [Qt] QtTestBrowser: make reset-zooming to animate when tiled backing store is on.
  17080. It gets control+0 the same visual effect as control++ or control-.
  17081. * QtTestBrowser/launcherwindow.cpp:
  17082. (LauncherWindow::toggleZoomTextOnly):
  17083. 2010-08-09 Antonio Gomes <tonikitoo@webkit.org>
  17084. Reviewed by Ariya Hidayat.
  17085. [Qt] QtTestBrowser:: make m_zoomLevels a static member.
  17086. Not all instances of LauncherWindow need its own m_zoomLevel.
  17087. * QtTestBrowser/launcherwindow.cpp:
  17088. * QtTestBrowser/launcherwindow.h:
  17089. 2010-08-09 Sam Weinig <sam@webkit.org>
  17090. Reviewed by Geoffrey Garen.
  17091. Add zoom support for injected bundle
  17092. https://bugs.webkit.org/show_bug.cgi?id=43759
  17093. Use zoom factor SPI to implement zoom related eventSender functions.
  17094. * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl:
  17095. * WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
  17096. (WTR::EventSendingController::textZoomIn):
  17097. (WTR::EventSendingController::textZoomOut):
  17098. (WTR::EventSendingController::zoomPageIn):
  17099. (WTR::EventSendingController::zoomPageOut):
  17100. * WebKitTestRunner/InjectedBundle/EventSendingController.h:
  17101. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  17102. (WTR::InjectedBundlePage::reset): Reset zoom mode and level for each test.
  17103. 2010-08-09 Gavin Barraclough <barraclough@apple.com>
  17104. Speculative chromium build fix III.
  17105. * DumpRenderTree/chromium/MockSpellCheck.h:
  17106. * DumpRenderTree/chromium/NotificationPresenter.h:
  17107. * DumpRenderTree/chromium/WebViewHost.h:
  17108. (WebViewHost::addClearHeader):
  17109. (WebViewHost::clearHeaders):
  17110. 2010-08-09 Ojan Vafai <ojan@chromium.org>
  17111. Reviewed by Tony Chang.
  17112. increase the number of test results that we save
  17113. https://bugs.webkit.org/show_bug.cgi?id=43763
  17114. Now that we do incremental uploads, we can increase the number of
  17115. results that we save for http://test-results.appspot.com/dashboards/flakiness_dashboard.html.
  17116. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  17117. 2010-08-09 Evan Martin <evan@chromium.org>
  17118. Reviewed by Tony Chang.
  17119. [chromium] DRT error print statement incorrectly tries to print a FILE*
  17120. https://bugs.webkit.org/show_bug.cgi?id=43747
  17121. * DumpRenderTree/chromium/ImageDiff.cpp:
  17122. (writeFile): pass the correct pointer.
  17123. 2010-08-09 Victor Wang <victorw@chromium.org>
  17124. Reviewed by Ojan Vafai.
  17125. Upload incremental test results json to server by default.
  17126. https://bugs.webkit.org/show_bug.cgi?id=43743
  17127. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  17128. 2010-08-09 Eric Seidel <eric@webkit.org>
  17129. Reviewed by Adam Barth.
  17130. EWS bots wait 2 minutes between patches
  17131. https://bugs.webkit.org/show_bug.cgi?id=43731
  17132. * Scripts/webkitpy/tool/bot/queueengine.py:
  17133. - Don't sleep after failures. This was a hold-over from
  17134. an earlier design.
  17135. * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  17136. - EWS bots were not properly reporting true/false from process_work_item.
  17137. They were always returning None, thus false, thus always logging
  17138. as a failure and sleeping 2 minutes after each patch.
  17139. 2010-08-09 Sam Weinig <sam@webkit.org>
  17140. Reviewed by Anders Carlsson.
  17141. Stub out EventSender for WebKitTestRunner
  17142. https://bugs.webkit.org/show_bug.cgi?id=43703
  17143. * WebKitTestRunner/DerivedSources.make:
  17144. * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
  17145. Add ability to pass javascript arguments to the wrapped object.
  17146. * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl: Added.
  17147. * WebKitTestRunner/InjectedBundle/EventSendingController.cpp: Added.
  17148. (WTR::EventSendingController::create):
  17149. (WTR::EventSendingController::EventSendingController):
  17150. (WTR::EventSendingController::~EventSendingController):
  17151. (WTR::EventSendingController::wrapperClass):
  17152. (WTR::setExceptionForString):
  17153. (WTR::EventSendingController::mouseDown):
  17154. (WTR::EventSendingController::mouseUp):
  17155. (WTR::EventSendingController::mouseMoveTo):
  17156. (WTR::EventSendingController::keyDown):
  17157. (WTR::EventSendingController::contextClick):
  17158. (WTR::EventSendingController::leapForward):
  17159. (WTR::EventSendingController::textZoomIn):
  17160. (WTR::EventSendingController::textZoomOut):
  17161. (WTR::EventSendingController::zoomPageIn):
  17162. (WTR::EventSendingController::zoomPageOut):
  17163. (WTR::EventSendingController::makeWindowObject):
  17164. * WebKitTestRunner/InjectedBundle/EventSendingController.h: Added.
  17165. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  17166. (WTR::InjectedBundle::reset):
  17167. * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
  17168. (WTR::InjectedBundle::eventSendingController):
  17169. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  17170. (WTR::InjectedBundlePage::didClearWindowForFrame):
  17171. Add stubbed out EventSenderController.
  17172. * WebKitTestRunner/InjectedBundle/GCController.h:
  17173. Remove incorrect comment.
  17174. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
  17175. * WebKitTestRunner/win/InjectedBundle.vcproj:
  17176. Add new files.
  17177. 2010-08-08 Kent Tamura <tkent@chromium.org>
  17178. Unreviewed, trivial fix.
  17179. Fix "WindowsError: [Error 32] The process cannot access the file
  17180. because it is being used by another process" introduced by r64959.
  17181. * BuildSlaveSupport/test-result-archive:
  17182. 2010-08-08 Kent Tamura <tkent@chromium.org>
  17183. Reviewed by Tony Chang.
  17184. Chromium buildbot: Avoid "zip" command dependency
  17185. https://bugs.webkit.org/show_bug.cgi?id=43470
  17186. * BuildSlaveSupport/test-result-archive:
  17187. For Chromium port, creates a zip archive with zipfile package of Python
  17188. instead of external "zip" command. We'd like to avoid additional
  17189. command installation.
  17190. 2010-08-08 Jon Honeycutt <jhoneycutt@apple.com>
  17191. WebKitTestRunner should add the QuickTime dir to the PATH environment
  17192. variable
  17193. https://bugs.webkit.org/show_bug.cgi?id=43686
  17194. Reviewed by Dan Bernstein.
  17195. * WebKitTestRunner/win/TestControllerWin.cpp:
  17196. (WTR::addQTDirToPATH):
  17197. Copied from DRT.
  17198. (WTR::TestController::platformInitialize):
  17199. Call addQTDirToPath().
  17200. * WebKitTestRunner/win/WebKitTestRunner.vcproj:
  17201. Link to shlwapi.lib for SHGetValue.
  17202. 2010-08-07 Sam Weinig <sam@webkit.org>
  17203. Reviewed by Maciej Stachowiak.
  17204. WebKitTestRunner needs layoutTestController.dumpTitleChanges
  17205. <rdar://problem/8213861>
  17206. https://bugs.webkit.org/show_bug.cgi?id=42683
  17207. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  17208. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  17209. (WTR::InjectedBundlePage::didReceiveTitleForFrame):
  17210. (WTR::InjectedBundlePage::didFinishDocumentLoadForFrame):
  17211. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  17212. (WTR::LayoutTestController::LayoutTestController):
  17213. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  17214. (WTR::LayoutTestController::dumpTitleChanges):
  17215. (WTR::LayoutTestController::shouldDumpTitleChanges):
  17216. 2010-08-07 Sam Weinig <sam@webkit.org>
  17217. Reviewed by Anders Carlsson.
  17218. WebKitTestRunner needs to print onunload handler information
  17219. <rdar://problem/8213831>
  17220. https://bugs.webkit.org/show_bug.cgi?id=42703
  17221. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  17222. (WTR::operator<<):
  17223. (WTR::InjectedBundlePage::didFinishDocumentLoadForFrame):
  17224. 2010-08-07 Sam Weinig <sam@webkit.org>
  17225. Reviewed by Anders Carlsson.
  17226. Add additional loader client functions need to complete WebKitTestRunner
  17227. https://bugs.webkit.org/show_bug.cgi?id=43684
  17228. Remove unnecessary and jarring underscores as well.
  17229. * MiniBrowser/mac/WebBundle/WebBundleMain.m:
  17230. (didClearWindowObjectForFrame):
  17231. (didCreatePage):
  17232. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  17233. (WTR::InjectedBundlePage::InjectedBundlePage):
  17234. (WTR::InjectedBundlePage::didStartProvisionalLoadForFrame):
  17235. (WTR::InjectedBundlePage::didReceiveServerRedirectForProvisionalLoadForFrame):
  17236. (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame):
  17237. (WTR::InjectedBundlePage::didCommitLoadForFrame):
  17238. (WTR::InjectedBundlePage::didFinishLoadForFrame):
  17239. (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame):
  17240. (WTR::InjectedBundlePage::didReceiveTitleForFrame):
  17241. (WTR::InjectedBundlePage::didClearWindowForFrame):
  17242. (WTR::InjectedBundlePage::didCancelClientRedirectForFrame):
  17243. (WTR::InjectedBundlePage::willPerformClientRedirectForFrame):
  17244. (WTR::InjectedBundlePage::didChangeLocationWithinPageForFrame):
  17245. (WTR::InjectedBundlePage::didFinishDocumentLoadForFrame):
  17246. (WTR::InjectedBundlePage::didHandleOnloadEventsForFrame):
  17247. (WTR::InjectedBundlePage::didDisplayInsecureContentForFrame):
  17248. (WTR::InjectedBundlePage::didRunInsecureContentForFrame):
  17249. (WTR::InjectedBundlePage::willAddMessageToConsole):
  17250. (WTR::InjectedBundlePage::willSetStatusbarText):
  17251. (WTR::InjectedBundlePage::willRunJavaScriptAlert):
  17252. (WTR::InjectedBundlePage::willRunJavaScriptConfirm):
  17253. (WTR::InjectedBundlePage::willRunJavaScriptPrompt):
  17254. (WTR::InjectedBundlePage::shouldBeginEditing):
  17255. (WTR::InjectedBundlePage::shouldEndEditing):
  17256. (WTR::InjectedBundlePage::shouldInsertNode):
  17257. (WTR::InjectedBundlePage::shouldInsertText):
  17258. (WTR::InjectedBundlePage::shouldDeleteRange):
  17259. (WTR::InjectedBundlePage::shouldChangeSelectedRange):
  17260. (WTR::InjectedBundlePage::shouldApplyStyle):
  17261. (WTR::InjectedBundlePage::didBeginEditing):
  17262. (WTR::InjectedBundlePage::didEndEditing):
  17263. (WTR::InjectedBundlePage::didChange):
  17264. (WTR::InjectedBundlePage::didChangeSelection):
  17265. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  17266. 2010-08-07 Dan Bernstein <mitz@apple.com>
  17267. Build fix.
  17268. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Made the references
  17269. to JSGCController.{cpp,h} relative to the build root.
  17270. 2010-08-07 Sam Weinig <sam@webkit.org>
  17271. Reviewed by Anders Carlsson.
  17272. WebKitTestRunner needs GCController
  17273. <rdar://problem/8213834>
  17274. https://bugs.webkit.org/show_bug.cgi?id=42701
  17275. * WebKitTestRunner/DerivedSources.make:
  17276. * WebKitTestRunner/InjectedBundle/Bindings/GCController.idl: Added.
  17277. * WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.h:
  17278. (WTR::setProperty):
  17279. * WebKitTestRunner/InjectedBundle/GCController.cpp: Added.
  17280. (WTR::GCController::create):
  17281. (WTR::GCController::GCController):
  17282. (WTR::GCController::~GCController):
  17283. (WTR::GCController::wrapperClass):
  17284. (WTR::GCController::collect):
  17285. (WTR::GCController::collectOnAlternateThread):
  17286. (WTR::GCController::getJSObjectCount):
  17287. (WTR::GCController::makeWindowObject):
  17288. * WebKitTestRunner/InjectedBundle/GCController.h: Added.
  17289. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  17290. (WTR::InjectedBundle::reset):
  17291. * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
  17292. (WTR::InjectedBundle::bundle):
  17293. (WTR::InjectedBundle::gcController):
  17294. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  17295. (WTR::InjectedBundlePage::didClearWindowForFrame):
  17296. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  17297. (WTR::LayoutTestController::keepWebHistory):
  17298. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  17299. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
  17300. * WebKitTestRunner/win/InjectedBundle.vcproj:
  17301. 2010-08-05 Jon Honeycutt <jhoneycutt@apple.com>
  17302. WebKitTestRunner needs to be able to set the font smoothing type
  17303. https://bugs.webkit.org/show_bug.cgi?id=43406
  17304. Reviewed by Adam Roben.
  17305. * WebKitTestRunner/TestInvocation.cpp:
  17306. (WTR::TestInvocation::resetPreferencesToConsistentValues):
  17307. Set the font smoothing level to
  17308. kWKFontSmoothingLevelNoSubpixelAntiAliasing to match DRT.
  17309. 2010-08-06 Jon Honeycutt <jhoneycutt@apple.com>
  17310. Fix a missed variable rename.
  17311. Unreviewed.
  17312. * Scripts/old-run-webkit-tests:
  17313. 2010-08-06 Jon Honeycutt <jhoneycutt@apple.com>
  17314. mac-wk2/Skipped should be used on Windows when running regression tests
  17315. https://bugs.webkit.org/show_bug.cgi?id=43494
  17316. Reviewed by Adam Roben.
  17317. * Scripts/old-run-webkit-tests:
  17318. If the platform is win-wk2, also read the mac-wk2 skipped list.
  17319. 2010-08-06 Kent Tamura <tkent@chromium.org>
  17320. Reviewed by Dimitri Glazkov.
  17321. [DRT/Chromium] Should revoke scheduled tasks
  17322. https://bugs.webkit.org/show_bug.cgi?id=43560
  17323. * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
  17324. (DRTDevToolsAgent::reset): Calls RevokeAll().
  17325. * DumpRenderTree/chromium/DRTDevToolsAgent.h:
  17326. * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
  17327. (DRTDevToolsClient::reset): Calls RevokeAll().
  17328. * DumpRenderTree/chromium/DRTDevToolsClient.h:
  17329. * DumpRenderTree/chromium/EventSender.cpp:
  17330. (EventSender::reset): Calls RevokeAll().
  17331. * DumpRenderTree/chromium/LayoutTestController.cpp:
  17332. (LayoutTestController::reset): Calls RevokeAll().
  17333. * DumpRenderTree/chromium/TestShell.cpp:
  17334. (TestShell::resetTestController): Calls DRTDevToolsAgent::reset() and DRTDevToolsClient::reset().
  17335. 2010-08-06 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  17336. Reviewed by Antonio Gomes.
  17337. [Qt] Fix the DRT build on Mac OS X
  17338. * DumpRenderTree/qt/DumpRenderTree.pro:
  17339. 2010-08-06 Jochen Eisinger <jochen@chromium.org>
  17340. Reviewed by Pavel Feldman.
  17341. Rietvield's upload.py moved to a different location.
  17342. https://bugs.webkit.org/show_bug.cgi?id=43613
  17343. * Scripts/webkitpy/thirdparty/__init__.py:
  17344. 2010-05-23 Eric Seidel <eric@webkit.org>
  17345. Reviewed by Adam Barth.
  17346. QueueStatusServer needs better queue-status pages
  17347. https://bugs.webkit.org/show_bug.cgi?id=39562
  17348. The primary goal of this patch is to display queue
  17349. positions somewhere on the site so that it's easier
  17350. for commit-queue users to know when their pach will
  17351. be landed. I also tried to improve the root page
  17352. to be more useful than the previous wall of status text.
  17353. * QueueStatusServer/handlers/recentstatus.py:
  17354. * QueueStatusServer/main.py:
  17355. * QueueStatusServer/model/queues.py:
  17356. * QueueStatusServer/templates/recentstatus.html:
  17357. 2010-08-05 Victor Wang <victorw@chromium.org>
  17358. Reviewed by Ojan Vafai.
  17359. Add option to generate/upload incremental json results to test result server.
  17360. Also refactor the json results generator unittest code to test
  17361. incremental and aggregated json results.
  17362. https://bugs.webkit.org/show_bug.cgi?id=43519
  17363. * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
  17364. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  17365. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
  17366. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  17367. 2010-08-05 Jian Li <jianli@chromium.org>
  17368. Reviewed by David Levin.
  17369. Unify blob related feature defines to ENABLE(BLOB).
  17370. https://bugs.webkit.org/show_bug.cgi?id=43081
  17371. * Scripts/build-webkit:
  17372. 2010-08-05 Satish Sampath <satish@chromium.org>
  17373. Reviewed by Jeremy Orlow.
  17374. Add speech input controller mock in WebKit and a layout test.
  17375. https://bugs.webkit.org/show_bug.cgi?id=43477
  17376. Added LayoutTestController::setMockSpeechInputResultCallback method.
  17377. * DumpRenderTree/LayoutTestController.cpp:
  17378. (setMockSpeechInputResultCallback): Wrapper invoking the member function.
  17379. (LayoutTestController::staticFunctions):
  17380. * DumpRenderTree/LayoutTestController.h:
  17381. * DumpRenderTree/chromium/LayoutTestController.cpp:
  17382. (LayoutTestController::LayoutTestController):
  17383. (LayoutTestController::setMockSpeechInputResult): Sets the mock result.
  17384. (LayoutTestController::speechInputController): Creates the mock controller.
  17385. * DumpRenderTree/chromium/LayoutTestController.h:
  17386. * DumpRenderTree/chromium/WebViewHost.cpp:
  17387. (WebViewHost::speechInputController): Creates the mock controller.
  17388. * DumpRenderTree/chromium/WebViewHost.h:
  17389. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  17390. (LayoutTestController::setMockSpeechInputResult): dummy method.
  17391. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  17392. (LayoutTestController::setMockSpeechInputResult): dummy method.
  17393. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  17394. (LayoutTestController::setMockSpeechInputResult): dummy method.
  17395. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  17396. * DumpRenderTree/win/LayoutTestControllerWin.cpp: dummy method.
  17397. (LayoutTestController::setMockSpeechInputResult):
  17398. * DumpRenderTree/wx/LayoutTestControllerWx.cpp: dummy method.
  17399. (LayoutTestController::setMockSpeechInputResult):
  17400. 2010-08-04 Adam Roben <aroben@apple.com>
  17401. Fix the path to TestNetscapePlugin's directory on Windows
  17402. Fixes <http://webkit.org/b/43513> WebKitTestRunner on Windows fails to
  17403. load TestNetscapePlugin
  17404. Reviewed by Jon Honeycutt.
  17405. * WebKitTestRunner/win/TestControllerWin.cpp:
  17406. (WTR::TestController::initializeTestPluginDirectory):
  17407. TestNetscapePlugin is in a TestNetscapePlugin[_Debug] directory that's
  17408. next to WebKitTestRunner.exe. Previously we were passing the directory
  17409. that contains WebKitTestRunner.exe. Also fixed some leaks.
  17410. 2010-08-05 Kenichi Ishibashi <bashi@google.com>
  17411. Reviewed by Shinichiro Hamaji.
  17412. check-webkit-style returns non-zero when patch is entirely minus lines.
  17413. https://bugs.webkit.org/show_bug.cgi?id=38169
  17414. * Scripts/check-webkit-style:
  17415. Check whether a patch contains modified files that are entirely minus lines.
  17416. * Scripts/webkitpy/style/filereader.py:
  17417. Add a variable that holds number of files that contain only deleted lines.
  17418. * Scripts/webkitpy/style/patchreader.py:
  17419. Count up modified files that contain only deleted lines.
  17420. 2010-08-05 Pavel Feldman <pfeldman@chromium.org>
  17421. Reviewed by Yury Semikhatsky.
  17422. DevTools: get rid of delayed command dispatching on front-end side.
  17423. https://bugs.webkit.org/show_bug.cgi?id=43479
  17424. * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
  17425. (DRTDevToolsAgent::detach):
  17426. (DRTDevToolsAgent::frontendLoaded):
  17427. * DumpRenderTree/chromium/DRTDevToolsAgent.h:
  17428. * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
  17429. (DRTDevToolsClient::~DRTDevToolsClient):
  17430. (DRTDevToolsClient::sendFrontendLoaded):
  17431. * DumpRenderTree/chromium/DRTDevToolsClient.h:
  17432. 2010-08-04 Kenichi Ishibashi <bashi@google.com>
  17433. Reviewed by Shinichiro Hamaji.
  17434. Fixes check-webkit-style false positive on "new uint32_t."
  17435. https://bugs.webkit.org/show_bug.cgi?id=43077
  17436. * Scripts/webkitpy/style/checkers/cpp.py:
  17437. * Scripts/webkitpy/style/checkers/cpp_unittest.py:
  17438. 2010-08-04 Kent Tamura <tkent@chromium.org>
  17439. Reviewed by Dimitri Glazkov.
  17440. [DRT/Chromium] Remove base/linked_ptr.h dependency
  17441. https://bugs.webkit.org/show_bug.cgi?id=43472
  17442. Replace linked_ptr<TestNavigationEntry> with RefPtr<TestNavigationEntry>.
  17443. We need to use RefPtr<> because m_pendingEntry points an object in
  17444. m_entries or not in m_entries.
  17445. * DumpRenderTree/chromium/TestNavigationController.cpp:
  17446. (TestNavigationEntry::create): Added.
  17447. (TestNavigationController::activeEntry):
  17448. (TestNavigationController::didNavigateToEntry):
  17449. (TestNavigationController::discardPendingEntry):
  17450. (TestNavigationController::insertEntry):
  17451. (TestNavigationController::navigateToPendingEntry):
  17452. * DumpRenderTree/chromium/TestNavigationController.h:
  17453. * DumpRenderTree/chromium/WebViewHost.cpp:
  17454. (WebViewHost::loadURLForFrame):
  17455. Use TestNavigationEntry::create().
  17456. (WebViewHost::updateURL):
  17457. Use RefPtr<>.
  17458. (WebViewHost::updateSessionHistory):
  17459. Remove unnecessary static_cast<>.
  17460. 2010-08-04 Kent Tamura <tkent@chromium.org>
  17461. Reviewed by Dimitri Glazkov.
  17462. Fix a problem that "archived test results" step doesn't work on Chromium buildbots
  17463. https://bugs.webkit.org/show_bug.cgi?id=43333
  17464. * BuildSlaveSupport/test-result-archive:
  17465. - Make layoutTestResultsDir local and pass it to archiveTestResults()
  17466. - Adjust layoutTestResultsDir for Chromium
  17467. 2010-08-04 Kent Tamura <tkent@chromium.org>
  17468. Reviewed by Dimitri Glazkov.
  17469. NRWT: websocket_server startup detection failure
  17470. https://bugs.webkit.org/show_bug.cgi?id=43466
  17471. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  17472. Increase timeout value: 5 second -> 10 second
  17473. 2010-08-04 Victor Wang <victorw@chromium.org>
  17474. Reviewed by Ojan Vafai.
  17475. -. Add result.json incremental merging functionality to test results app engine.
  17476. -. blobstore is not suitable for AE data merging and there is no API to
  17477. programatically edit existing blob or write a new one yet, so replace blobstore
  17478. with datastore. If file is oversize (>1000*1000 bytes), store file data in
  17479. multiple datastore entries.
  17480. -. Fix styles.
  17481. Test: jsonresults_unittest to test merging logics.
  17482. https://bugs.webkit.org/show_bug.cgi?id=38599
  17483. * TestResultServer/handlers/dashboardhandler.py:
  17484. * TestResultServer/handlers/menu.py:
  17485. * TestResultServer/handlers/testfilehandler.py:
  17486. * TestResultServer/main.py:
  17487. * TestResultServer/model/dashboardfile.py:
  17488. * TestResultServer/model/datastorefile.py: Added.
  17489. * TestResultServer/model/jsonresults.py: Added.
  17490. * TestResultServer/model/jsonresults_unittest.py: Added.
  17491. * TestResultServer/model/testfile.py:
  17492. * TestResultServer/templates/uploadform.html:
  17493. 2010-08-04 Antonio Gomes <tonikitoo@webkit.org>
  17494. Reviewed by Kenneth Christiansen.
  17495. [Qt] [QtTestBrowser] Remove unneeded QAction class members
  17496. https://bugs.webkit.org/show_bug.cgi?id=43518
  17497. LauncherWindow class has two totally unneeded class members: m_flopAnimated and
  17498. m_flipYAnimated. Also, in initializeView method there are some dead code block
  17499. trying to connect them at the wrong time, when they have not been instanciated.
  17500. This patch:
  17501. - removes the two cited class members in favor of local variables in createChrome method;
  17502. - removes the dead code block.
  17503. * QtTestBrowser/launcherwindow.cpp:
  17504. (LauncherWindow::LauncherWindow):
  17505. (LauncherWindow::initializeView):
  17506. (LauncherWindow::createChrome):
  17507. * QtTestBrowser/launcherwindow.h:
  17508. 2010-08-04 Antonio Gomes <tonikitoo@webkit.org>
  17509. Reviewed by Simon Hausmann and Kenneth Christiansen.
  17510. [Qt] [QtTestBrowser] Clean up static and global menu state controls
  17511. https://bugs.webkit.org/show_bug.cgi?id=43448
  17512. After LauncherWindow class was refactored out of from main.cpp, all global variables that
  17513. were hanging in main.cpp became temporarily public static class members of newly added
  17514. LauncherWindow class. This design was not properly handling the initial purpose of the
  17515. global variables: newly created launcher windows should inherit the settings of the originating
  17516. one.
  17517. In order to properly fix the problem, this patch introduces a WindowOptions class, as a POD. It
  17518. comprises all data needed to handling the goal described above.
  17519. * QtTestBrowser/launcherwindow.cpp:
  17520. (LauncherWindow::LauncherWindow): The class now receives an optional WindowOptions pointer object
  17521. holding all user settings configured in the menus and command line.
  17522. It also receices an optional QGraphicsScene points in case we are doing
  17523. a "Clone Window".
  17524. (LauncherWindow::init): Removed the usesGraphics parameter because the class member m_userData holds its
  17525. value.
  17526. (LauncherWindow::initializeView): Ditto.
  17527. (LauncherWindow::createChrome): Changed all references to gXXX to m_userData.XXX
  17528. (LauncherWindow::applyPrefs): Removed the "LauncherWindow* source" parameter. All data needed to properly
  17529. apply the preferences is provided by m_userData.
  17530. (LauncherWindow::toggleAcceleratedCompositing): Change gXXX by m_userData.XXX
  17531. (LauncherWindow::toggleResizesToContents): Ditto.
  17532. (LauncherWindow::toggleWebGL): Ditto.
  17533. (LauncherWindow::toggleFrameFlattening): Ditto.
  17534. (LauncherWindow::toggleQGLWidgetViewport): Ditto.
  17535. (LauncherWindow::changeViewportUpdateMode): Ditto.
  17536. (LauncherWindow::showFPS): Ditto.
  17537. (LauncherWindow::newWindow): Changed to pass the userData.
  17538. (LauncherWindow::cloneWindow): Ditto.
  17539. * QtTestBrowser/launcherwindow.h:
  17540. (WindowOptions::WindowOptions):
  17541. * QtTestBrowser/main.cpp:
  17542. (requiresGraphicsView):
  17543. (LauncherApplication::handleUserOptions):
  17544. (main):
  17545. 2010-08-04 Kevin Ollivier <kevino@theolliviers.com>
  17546. [wx] Build fix for gcc not importing all symbols from convenience libraries.
  17547. Works on 10.6 only for Mac until the build system is reworked.
  17548. * wx/build/settings.py:
  17549. 2010-08-04 Markus Goetz <Markus.Goetz@nokia.com>
  17550. Reviewed by Simon Hausmann.
  17551. [Qt] Change wording in QtTestBrowser
  17552. https://bugs.webkit.org/show_bug.cgi?id=43241
  17553. * QtTestBrowser/launcherwindow.cpp:
  17554. (LauncherWindow::createChrome):
  17555. 2010-08-04 Aaron Boodman <aa@chromium.org>
  17556. Reviewed by Eric Seidel.
  17557. prepare-ChangeLog fails mysteriously if curl doesn't support ssl
  17558. https://bugs.webkit.org/show_bug.cgi?id=43460
  17559. * Scripts/prepare-ChangeLog:
  17560. 2010-08-03 MORITA Hajime <morrita@google.com>
  17561. Reviewed by Tony Chang.
  17562. [DRT] Assertion failed when drag and move a draggable element.
  17563. https://bugs.webkit.org/show_bug.cgi?id=41695
  17564. mouseMoveToX() did call [WebHTMLView mouseDragged] even if dragging started.
  17565. But Cocoa doesn't call mouseDragged() until dragging is done.
  17566. Other part of DumpRenderTree also assumes Cocoa behavior and an assertion
  17567. on UIDelegate failed when mouseDragged() is called during dragging.
  17568. This change eliminated the mouseDragged() call when dragging begins,
  17569. which is implicated by draggingInfo instance.
  17570. * DumpRenderTree/mac/EventSendingController.mm:
  17571. (-[EventSendingController mouseMoveToX:Y:]):
  17572. Test: fast/events/dragging-mouse-moves.html
  17573. 2010-08-02 Steve Block <steveblock@google.com>
  17574. Reviewed by Alexey Proskuryakov.
  17575. Adds Geolocation LayoutTests for the case where permission is not granted or denied immediately
  17576. https://bugs.webkit.org/show_bug.cgi?id=40002
  17577. The code in LayoutTestController::setGeolocationPermission() was moved to
  17578. setGeolocationPermissionCommon() to allow each port to provide its own
  17579. implementation of setGeolocationPermission().
  17580. For the Mac port, setGeolocationPermission() notifies the UIDelegate of the
  17581. new permission, so it can call back to WebCore if permission requests are in
  17582. progress and are waiting for a response. A minor fix to the Mac
  17583. MockGeolocationProvider was also required to make sure that the mock provider
  17584. calls back to WebCore when it is first started.
  17585. For other ports, LayoutTestController::setGeolocationPermission() is not
  17586. implemented.
  17587. * DumpRenderTree/LayoutTestController.cpp:
  17588. (LayoutTestController::setGeolocationPermissionCommon):
  17589. * DumpRenderTree/LayoutTestController.h:
  17590. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  17591. (LayoutTestController::setGeolocationPermission):
  17592. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  17593. (LayoutTestController::setGeolocationPermission):
  17594. * DumpRenderTree/mac/MockGeolocationProvider.mm:
  17595. (-[MockGeolocationProvider registerWebView:]):
  17596. * DumpRenderTree/mac/UIDelegate.h:
  17597. * DumpRenderTree/mac/UIDelegate.mm:
  17598. (-[UIDelegate webView:decidePolicyForGeolocationRequestFromOrigin:frame:listener:]):
  17599. (-[UIDelegate setGeolocationPermission:]):
  17600. (-[UIDelegate dealloc]):
  17601. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  17602. (LayoutTestController::setGeolocationPermission):
  17603. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  17604. (LayoutTestController::setGeolocationPermission):
  17605. 2010-08-03 Kent Tamura <tkent@chromium.org>
  17606. Reviewed by Dimitri Glazkov.
  17607. [DRT/Chromium] Implement --testshell-startup-dialog
  17608. https://bugs.webkit.org/show_bug.cgi?id=40616
  17609. * DumpRenderTree/chromium/DumpRenderTree.cpp:
  17610. (main): Check --testshell-startup-dialog, and call openStartUpDialog()
  17611. if it is specfied.
  17612. * DumpRenderTree/chromium/TestShell.h:
  17613. Declare openStartUpDialog().
  17614. * DumpRenderTree/chromium/TestShellGtk.cpp:
  17615. (openStartupDialog):
  17616. * DumpRenderTree/chromium/TestShellMac.mm:
  17617. (openStartupDialog):
  17618. * DumpRenderTree/chromium/TestShellWin.cpp:
  17619. (openStartupDialog):
  17620. 2010-08-03 Kent Tamura <tkent@chromium.org>
  17621. Reviewed by Dimitri Glazkov.
  17622. [DRT/Chromium] Remove dependency of base/md5.h
  17623. https://bugs.webkit.org/show_bug.cgi?id=43403
  17624. * DumpRenderTree/chromium/TestShell.cpp:
  17625. (TestShell::dumpImage): Use wtf/MD5.h
  17626. 2010-08-03 Joseph Pecoraro <joepeck@webkit.org>
  17627. Reviewed by David Kilzer.
  17628. Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas)
  17629. https://bugs.webkit.org/show_bug.cgi?id=40627
  17630. Part 6 - LayoutTest and Cleanup
  17631. Allow tests to delete application caches and set application cache
  17632. origin quotas, so they can be tested.
  17633. * DumpRenderTree/LayoutTestController.cpp:
  17634. (LayoutTestController::LayoutTestController):
  17635. (dumpApplicationCacheDelegateCallbacksCallback): JavaScript callback, delegates to the controller.
  17636. (clearAllApplicationCachesCallback): should delete all application caches.
  17637. (setApplicationCacheOriginQuotaCallback): should set the origin quota for the localhost tests.
  17638. (LayoutTestController::staticFunctions):
  17639. * DumpRenderTree/LayoutTestController.h:
  17640. (LayoutTestController::dumpApplicationCacheDelegateCallbacks): accessor to see if application cache callbacks should be output.
  17641. (LayoutTestController::setDumpApplicationCacheDelegateCallbacks): enable or disable debug output when the application cache quota is reached.
  17642. Mac implementation.
  17643. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  17644. (LayoutTestController::clearAllApplicationCaches): delete application caches.
  17645. (LayoutTestController::setApplicationCacheOriginQuota): set the quota for localhost.
  17646. * DumpRenderTree/mac/UIDelegate.mm:
  17647. (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): style fix.
  17648. (-[UIDelegate webView:exceededApplicationCacheOriginQuotaForSecurityOrigin:]): reset the quota.
  17649. Stub implementations for other platforms.
  17650. * DumpRenderTree/chromium/LayoutTestController.cpp:
  17651. (LayoutTestController::LayoutTestController):
  17652. (LayoutTestController::clearAllApplicationCaches):
  17653. (LayoutTestController::setApplicationCacheOriginQuota):
  17654. * DumpRenderTree/chromium/LayoutTestController.h:
  17655. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  17656. (LayoutTestController::clearAllApplicationCaches):
  17657. (LayoutTestController::setApplicationCacheOriginQuota):
  17658. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  17659. (LayoutTestController::clearAllApplicationCaches):
  17660. (LayoutTestController::setApplicationCacheOriginQuota):
  17661. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  17662. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  17663. (LayoutTestController::clearAllApplicationCaches):
  17664. (LayoutTestController::setApplicationCacheOriginQuota):
  17665. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  17666. (LayoutTestController::clearAllApplicationCaches):
  17667. (LayoutTestController::setApplicationCacheOriginQuota):
  17668. 2010-08-03 Joseph Pecoraro <joepeck@webkit.org>
  17669. Reviewed by David Kilzer.
  17670. Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas)
  17671. https://bugs.webkit.org/show_bug.cgi?id=40627
  17672. Part 5 - Refactor Quota Management in WebSecurityOrigin into Managers
  17673. Change old style calls to make use of the managers.
  17674. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  17675. (LayoutTestController::setDatabaseQuota):
  17676. * DumpRenderTree/mac/UIDelegate.mm:
  17677. (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):
  17678. 2010-08-03 Mark Rowe <mrowe@apple.com>
  17679. Add a new Leopard build slave to run the release tests.
  17680. * BuildSlaveSupport/build.webkit.org-config/config.json:
  17681. 2010-08-03 Jon Honeycutt <jhoneycutt@apple.com>
  17682. WebKitTestRunner needs to activate the Mac font ascent hack
  17683. https://bugs.webkit.org/show_bug.cgi?id=43404
  17684. Reviewed by Darin Adler.
  17685. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  17686. (WTR::InjectedBundle::initialize):
  17687. Call WKBundleActivateMacFontAscentHack().
  17688. 2010-08-03 Alex Milowski <alex@milowski.com>
  17689. Reviewed by Beth Dakin.
  17690. Changed the default for MathML support so that is is enabled by default.
  17691. * Scripts/build-webkit:
  17692. 2010-08-03 Sam Weinig <sam@webkit.org>
  17693. Roll r64566 back in this time with all the overloads in place..
  17694. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  17695. (WTR::InjectedBundlePage::shouldInsertNode):
  17696. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  17697. * WebKitTestRunner/StringFunctions.h:
  17698. * WebKitTestRunner/TestInvocation.cpp:
  17699. (WTR::TestInvocation::resetPreferencesToConsistentValues):
  17700. (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
  17701. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
  17702. 2010-08-03 Sam Weinig <sam@webkit.org>
  17703. Rollout r64566. It broke all the WebKit2 tests.
  17704. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  17705. (WTR::operator<<):
  17706. (WTR::InjectedBundlePage::shouldInsertNode):
  17707. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  17708. * WebKitTestRunner/StringFunctions.h: Removed.
  17709. * WebKitTestRunner/TestInvocation.cpp:
  17710. (WTR::createWKURL):
  17711. (WTR::WKStringToUTF8):
  17712. (WTR::TestInvocation::resetPreferencesToConsistentValues):
  17713. (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
  17714. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
  17715. 2010-08-03 Sam Weinig <sam@webkit.org>
  17716. Reviewed by Anders Carlsson.
  17717. WTR: Move all the utility functions for working with strings to a shared header.
  17718. https://bugs.webkit.org/show_bug.cgi?id=43386
  17719. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  17720. (WTR::InjectedBundlePage::shouldInsertNode):
  17721. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  17722. * WebKitTestRunner/StringFunctions.h: Added.
  17723. * WebKitTestRunner/TestInvocation.cpp:
  17724. (WTR::TestInvocation::resetPreferencesToConsistentValues):
  17725. (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
  17726. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
  17727. 2010-08-02 Antonio Gomes <tonikitoo@webkit.org>
  17728. Reviewed by Kenneth Christiansen.
  17729. [Qt] QtTestBrowser not setting preferredContentsSize for resizesToContents
  17730. https://bugs.webkit.org/show_bug.cgi?id=43168
  17731. QGraphicsWebView resizesToContents property has to work together with QWebPage's
  17732. setPreferredContentsSize as stated by the docs. Patch addresses that for QtTestBrowser.
  17733. * QtTestBrowser/launcherwindow.cpp:
  17734. (LauncherWindow::applyPrefs):
  17735. * QtTestBrowser/webview.cpp:
  17736. (WebViewGraphicsBased::setResizesToContents): Properly handle scene, webview and viewport sizes
  17737. needed when toggle resizesToContents on/off.
  17738. (WebViewGraphicsBased::resizeEvent):
  17739. * QtTestBrowser/webview.h:
  17740. (WebViewGraphicsBased::setCustomLayoutSize): Setter helper.
  17741. (WebViewGraphicsBased::customLayoutSize): Getter helper.
  17742. 2010-08-03 Jochen Eisinger <jochen@chromium.org>
  17743. Unreviewed. Adding myself as committer.
  17744. * Scripts/webkitpy/common/config/committers.py:
  17745. 2010-08-02 Pavel Feldman <pfeldman@chromium.org>
  17746. Reviewed by Yury Semikhatsky.
  17747. Chromium DevTools: Get rid of DevTools RPC.
  17748. https://bugs.webkit.org/show_bug.cgi?id=43335
  17749. * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
  17750. (DRTDevToolsAgent::sendMessageToInspectorFrontend):
  17751. (DRTDevToolsAgent::call):
  17752. * DumpRenderTree/chromium/DRTDevToolsAgent.h:
  17753. * DumpRenderTree/chromium/DRTDevToolsCallArgs.h:
  17754. (DRTDevToolsCallArgs::DRTDevToolsCallArgs):
  17755. * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
  17756. (DRTDevToolsClient::sendMessageToBackend):
  17757. (DRTDevToolsClient::call):
  17758. * DumpRenderTree/chromium/DRTDevToolsClient.h:
  17759. 2010-08-02 Kent Tamura <tkent@chromium.org>
  17760. Reviewed by Dimitri Glazkov.
  17761. [DRT/Chromium] Remove dependencies to some Chromium headers
  17762. https://bugs.webkit.org/show_bug.cgi?id=43396
  17763. * DumpRenderTree/chromium/CppVariant.h:
  17764. Remove base/basictypes.h because webkit_support.h contains it.
  17765. * DumpRenderTree/chromium/EventSender.cpp:
  17766. (getCurrentEventTimeSec): Use new wrapper function.
  17767. * DumpRenderTree/chromium/TestNavigationController.h:
  17768. Remove base/basictypes.h because webkit_support.h contains it.
  17769. * DumpRenderTree/chromium/TestShell.cpp:
  17770. (dumpHistoryItem): Use new wrapper function.
  17771. * DumpRenderTree/chromium/WebViewHost.cpp:
  17772. (WebViewHost::cancelledError): Use new wrapper function.
  17773. (WebViewHost::didFailResourceLoad): Use new wrapper function.
  17774. 2010-08-02 Martin Robinson <mrobinson@igalia.com>
  17775. Reviewed by Xan Lopez.
  17776. [GTK] DRT implement execCommand()
  17777. https://bugs.webkit.org/show_bug.cgi?id=35351
  17778. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  17779. (LayoutTestController::execCommand): Implement using webkit_web_view_execute_core_command_by_name.
  17780. (LayoutTestController::isCommandEnabled): Implement using webkit_web_view_is_command_enabled.
  17781. (LayoutTestController::setCacheModel): Move below LayoutTestController::isCommandEnabled.
  17782. 2010-08-02 Sam Weinig <sam@webkit.org>
  17783. Reviewed by Anders Carlsson.
  17784. Add alias for run-webkit-tests --webkit-test-runner (run-webkit-tests -2).
  17785. * Scripts/old-run-webkit-tests:
  17786. 2010-08-02 Jon Honeycutt <jhoneycutt@apple.com>
  17787. WebKitTestRunner needs to support loading custom fonts (via the
  17788. WEBKIT_TESTFONTS environment variable)
  17789. https://bugs.webkit.org/show_bug.cgi?id=42782
  17790. Reviewed by Adam Roben.
  17791. * WebKitTestRunner/InjectedBundle/win/ActivateFonts.cpp:
  17792. (WTR::fontsPath):
  17793. Copied from DRT code. Removed the fallback to DumpRenderTree.resources/,
  17794. as this directory doesn't appear to be created anymore.
  17795. (WTR::activateFonts):
  17796. Loop through the fonts, and call AddFontResourceExW() for each.
  17797. 2010-08-02 Jon Honeycutt <jhoneycutt@apple.com>
  17798. Restore the WebKitTestRunner.sln that was removed, and remove the
  17799. correct one.
  17800. Rubber-stamped by Sam Weinig.
  17801. * WebKitTestRunner/WebKitTestRunner.sln: Added.
  17802. * WebKitTestRunner/win/WebKitTestRunner.sln: Removed.
  17803. 2010-08-02 Jon Honeycutt <jhoneycutt@apple.com>
  17804. Move InjectedBundle.vcproj to where the other WebKitTestRunner vcprojs live.
  17805. Remove the unused WebKitTestRunner.sln.
  17806. Reviewed by Sam Weinig.
  17807. * WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops:
  17808. * WebKitTestRunner/InjectedBundle/win/InjectedBundle.vcproj: Removed.
  17809. * WebKitTestRunner/WebKitTestRunner.sln: Removed.
  17810. * WebKitTestRunner/win/InjectedBundle.vcproj: Added.
  17811. * WebKitTestRunner/win/WebKitTestRunner.sln:
  17812. 2010-08-02 Sam Weinig <sam@webkit.org>
  17813. Fix the windows build.
  17814. * WebKitTestRunner/win/main.cpp:
  17815. 2010-07-29 Jon Honeycutt <jhoneycutt@apple.com>
  17816. Add a Skipped list on Windows, and have run-webkit-tests respect it.
  17817. Part of <rdar://problem/8233237> Fill WebKit2 Windows skipped list so
  17818. there are zero tests failing
  17819. https://bugs.webkit.org/show_bug.cgi?id=43374
  17820. Reviewed by Adam Roben.
  17821. * Scripts/old-run-webkit-tests:
  17822. If using WebKitTestRunner and Apple Windows WebKit, set the platform to
  17823. win-wk2. When building the result hierarchy, if the platform is win-wk2,
  17824. add it first to the list of platforms.
  17825. 2010-08-02 Darin Adler <darin@apple.com>
  17826. Reviewed by Sam Weinig.
  17827. WebKitTestRunner needs layoutTestController.setCanOpenWindows
  17828. https://bugs.webkit.org/show_bug.cgi?id=42321
  17829. WebKitTestRunner needs layoutTestController.setCloseRemainingWindowsWhenComplete
  17830. https://bugs.webkit.org/show_bug.cgi?id=42779
  17831. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: Added
  17832. setCanOpenWindows, setCloseRemainingWindowsWhenComplete, and windowCount
  17833. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  17834. (WTR::InjectedBundle::InjectedBundle): Initialize m_mainPage to 0 instead of
  17835. waiting for the first call to didCreatePage.
  17836. (WTR::InjectedBundle::didCreatePage): Set m_mainPage only when the first page
  17837. is created. Put other pages into a map.
  17838. (WTR::InjectedBundle::willDestroyPage): Added code to handle the destruction
  17839. of the main page.
  17840. (WTR::InjectedBundle::closeOtherPages): Added. Closes all the pages other than
  17841. the main page.
  17842. * WebKitTestRunner/InjectedBundle/InjectedBundle.h: Added pageCount and
  17843. closeOtherPages functions.
  17844. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  17845. (WTR::InjectedBundlePage::didFinishLoadForFrame): Don't let pages other than
  17846. the main page affect dumping.
  17847. (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame): Ditto.
  17848. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  17849. (WTR::LayoutTestController::LayoutTestController): Initialize the new
  17850. m_shouldCloseExtraWindows member.
  17851. (WTR::LayoutTestController::setCanOpenWindows): Added. Empty for now.
  17852. (WTR::LayoutTestController::windowCount): Added.
  17853. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  17854. Added setCanOpenWindows, setCloseRemainingWindowsWhenComplete,
  17855. windowCount, shouldCloseExtraWindowsAfterRunningTest, and
  17856. m_shouldCloseExtraWindows.
  17857. * WebKitTestRunner/TestController.cpp:
  17858. (WTR::TestController::shared): Return a pointer to the shared copy, but
  17859. don't allocate and leak it. This seemed cleaner than adding an explicit
  17860. finalize call to go along with the explicit initialize call.
  17861. (WTR::TestController::TestController): Added calls to the initialize and
  17862. run function, which are now done automatically.
  17863. (WTR::TestController::~TestController): Added, since it's called now.
  17864. (WTR::closeOtherPage): Added. Used to close pages other than the main page.
  17865. (WTR::createOtherPage): Added. Used to create pages other than the main page.
  17866. (WTR::TestController::initialize): Added code to set up createOtherPage.
  17867. (WTR::TestController::run): Removed unused return value.
  17868. * WebKitTestRunner/TestController.h: Made constructor and destructor public,
  17869. and initialize and run private. Changed m_mainWebView to be an OwnPtr.
  17870. * WebKitTestRunner/mac/PlatformWebViewMac.mm:
  17871. (WTR::PlatformWebView::PlatformWebView): Added a call to setReleasedWhenClosed
  17872. to avoid releasing the window twice. Another way to handle it would be to
  17873. remove the release, but this approach is slightly more robust because it works
  17874. even if some other code calls the close method an extra time.
  17875. * WebKitTestRunner/mac/main.mm:
  17876. (main): Use a stack-allocated TestController object instead of calling
  17877. initalize and run on a globally allocated one.
  17878. 2010-08-02 Tony Chang <tony@chromium.org>
  17879. Reviewed by David Levin.
  17880. add myself to the reviewers list
  17881. https://bugs.webkit.org/show_bug.cgi?id=43366
  17882. * Scripts/webkitpy/common/config/committers.py:
  17883. 2010-08-02 Anders Carlsson <andersca@apple.com>
  17884. Reviewed by Sam Weinig.
  17885. Cache JSNPObjects and fix bugs in the object map
  17886. https://bugs.webkit.org/show_bug.cgi?id=43368
  17887. Test that we correctly throw exceptions when trying to do things to a JSObject that used to
  17888. wrap an NPObject that came from a plug-in that is now destroyed.
  17889. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  17890. * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
  17891. (PluginTest::Object::getProperty):
  17892. (PluginTest::Object::NP_GetProperty):
  17893. (PluginTest::Object::npClass):
  17894. * DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp: Added.
  17895. (NPRuntimeObjectFromDestroyedPlugin::NPRuntimeObjectFromDestroyedPlugin):
  17896. (NPRuntimeObjectFromDestroyedPlugin::ScriptableObject::hasProperty):
  17897. (NPRuntimeObjectFromDestroyedPlugin::ScriptableObject::getProperty):
  17898. (NPRuntimeObjectFromDestroyedPlugin::NPP_GetValue):
  17899. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  17900. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  17901. * GNUmakefile.am:
  17902. 2010-08-02 Martin Robinson <mrobinson@igalia.com>
  17903. Reviewed by Xan Lopez.
  17904. [Gtk] DOM listeners get wrong keycodes for some keys
  17905. https://bugs.webkit.org/show_bug.cgi?id=35170
  17906. Add support to all event senders for simulating keypad insert
  17907. and print screen keys.
  17908. * DumpRenderTree/chromium/EventSender.cpp:
  17909. (EventSender::keyDown): Add support for generating keypad insert and print screen.
  17910. * DumpRenderTree/gtk/EventSender.cpp:
  17911. (keyDownCallback): Ditto.
  17912. * DumpRenderTree/mac/EventSendingController.mm:
  17913. (-[EventSendingController keyDown:withModifiers:withLocation:]): Ditto.
  17914. * DumpRenderTree/qt/EventSenderQt.cpp:
  17915. (EventSender::keyDown): Ditto.
  17916. * DumpRenderTree/win/EventSender.cpp:
  17917. (keyDownCallback): Ditto.
  17918. 2010-08-02 Martin Robinson <mrobinson@igalia.com>
  17919. Build fix for building against development versions of GTK+. GTK 2.22
  17920. has not yet been released, so these function definitions must be conditionalized
  17921. on the development version.
  17922. * DumpRenderTree/gtk/EventSender.cpp: Fix GTK+ 2.21 build.
  17923. 2010-08-02 Tony Chang <tony@chromium.org>
  17924. Reviewed by Kent Tamura.
  17925. [chromium] use ChromiumDriver on Linux when running webkit tests
  17926. https://bugs.webkit.org/show_bug.cgi?id=43273
  17927. * Scripts/webkitpy/layout_tests/port/chromium.py:
  17928. 2010-08-02 Kent Tamura <tkent@chromium.org>
  17929. Reviewed by Dimitri Glazkov.
  17930. [DRT/Chromium] Always initialize GTK
  17931. https://bugs.webkit.org/show_bug.cgi?id=43327
  17932. Call gtk_init() in order to fix plugin test crash.
  17933. * DumpRenderTree/chromium/DumpRenderTree.cpp:
  17934. (main): Pass argc/argv to platformInit().
  17935. * DumpRenderTree/chromium/TestShell.h:
  17936. * DumpRenderTree/chromium/TestShellGtk.cpp:
  17937. (platformInit): Update parameters, call gtk_init().
  17938. * DumpRenderTree/chromium/TestShellMac.mm:
  17939. (platformInit): Update parameters.
  17940. * DumpRenderTree/chromium/TestShellWin.cpp:
  17941. (platformInit): Update parameters.
  17942. 2010-08-02 Balazs Kelemen <kb@inf.u-szeged.hu>
  17943. Reviewed by Simon Hausmann.
  17944. [Qt] Generate forwarding headers for WebKit2
  17945. https://bugs.webkit.org/show_bug.cgi?id=43336
  17946. * Scripts/webkitdirs.pm: Call make on WebKit2/Makefile.DerivedSources.
  17947. 2010-08-02 Fumitoshi Ukai <ukai@chromium.org>
  17948. Reviewed by Kent Tamura.
  17949. WebSocket server should start with SO_REUSEADDR
  17950. https://bugs.webkit.org/show_bug.cgi?id=43329
  17951. Pulls in pywebsocket-0.5.2.
  17952. pywebsocket-0.5.2 includes a small fix to start server with SO_REUSE_ADDR.
  17953. http://code.google.com/p/pywebsocket/source/detail?r=273
  17954. * Scripts/webkitpy/thirdparty/__init__.py: Bump pywebsocket version
  17955. 2010-08-01 Kent Tamura <tkent@chromium.org>
  17956. Reviewed by Dimitri Glazkov.
  17957. [DRT/Chromium] Remove string_util.h dependency
  17958. https://bugs.webkit.org/show_bug.cgi?id=43312
  17959. * DumpRenderTree/chromium/LayoutTestController.cpp:
  17960. (LayoutTestController::pathToLocalResource):
  17961. Use string::find() instead of StartsWithASCII().
  17962. (LayoutTestController::cppVariantToInt32):
  17963. Use strtol() instead of StringToNumber().
  17964. 2010-08-01 Sam Weinig <sam@webkit.org>
  17965. Reviewed by Anders Carlsson.
  17966. Add ability to reset frame names for WebKitTestRunner
  17967. https://bugs.webkit.org/show_bug.cgi?id=43316
  17968. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  17969. (WTR::InjectedBundle::reset):
  17970. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  17971. (WTR::InjectedBundlePage::reset):
  17972. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  17973. 2010-08-01 Anders Carlsson <andersca@apple.com>
  17974. Reviewed by Sam Weinig.
  17975. Implement NPN_RemoveProperty
  17976. https://bugs.webkit.org/show_bug.cgi?id=43315
  17977. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  17978. Add NPRuntimeRemoveProperty.cpp
  17979. * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
  17980. (PluginTest::NPN_GetStringIdentifier):
  17981. (PluginTest::NPN_GetIntIdentifier):
  17982. (PluginTest::NPN_RemoveProperty):
  17983. Add NPN_ helpers.
  17984. * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
  17985. Support more NPClass functions.
  17986. * DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeRemoveProperty.cpp: Added.
  17987. (NPRuntimeRemoveProperty::NPRuntimeRemoveProperty):
  17988. Test for NPN_RemoveProperty.
  17989. (NPRuntimeRemoveProperty::TestObject::hasMethod):
  17990. (NPRuntimeRemoveProperty::TestObject::invoke):
  17991. Add a testRemoveProperty method.
  17992. (NPRuntimeRemoveProperty::NPP_GetValue):
  17993. Return the test object.
  17994. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  17995. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  17996. * GNUmakefile.am:
  17997. Add NPRuntimeRemoveProperty.cpp
  17998. 2010-07-30 Anders Carlsson <andersca@apple.com>
  17999. Reviewed by Sam Weinig.
  18000. Add an NPObject class template helper to TestNetscapePlugin
  18001. https://bugs.webkit.org/show_bug.cgi?id=43288
  18002. * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
  18003. Add some template magic to be able to figure out if a class has a member function of a given type.
  18004. (PluginTest::Object::create):
  18005. Create an object.
  18006. (PluginTest::Object::invokeDefault):
  18007. Add dummy function, this should never be called.
  18008. (PluginTest::Object::Object):
  18009. Initialize m_pluginTest to 0.
  18010. (PluginTest::Object::~Object):
  18011. Add virtual destructor.
  18012. (PluginTest::Object::NP_Allocate):
  18013. Create a new object.
  18014. (PluginTest::Object::NP_Deallocate):
  18015. Delete the object.
  18016. (PluginTest::Object::NP_InvokeDefault):
  18017. Call invokeDefault.
  18018. (PluginTest::Object::npClass):
  18019. Initialize the NPClass struct.
  18020. * DumpRenderTree/TestNetscapePlugIn/Tests/DocumentOpenInDestroyStream.cpp:
  18021. (DocumentOpenInDestroyStream::NPP_DestroyStream):
  18022. Move this inline.
  18023. * DumpRenderTree/TestNetscapePlugIn/Tests/PluginScriptableNPObjectInvokeDefault.cpp:
  18024. (PluginScriptableNPObjectInvokeDefault::NPObjectWithInvokeDefault::invokeDefault):
  18025. (PluginScriptableNPObjectInvokeDefault::NPP_GetValue):
  18026. Use the PluginTest::Object class template.
  18027. 2010-07-31 Sam Weinig <sam@webkit.org>
  18028. Reviewed by Dan Bernstein.
  18029. Patch for https://bugs.webkit.org/show_bug.cgi?id=43305
  18030. Add back WKBundleFrameCopyInnerText to fix ~50 test failures
  18031. due to SVGElements not having the innerText function.
  18032. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  18033. (WTR::dumpFrameText):
  18034. 2010-07-30 Sam Weinig <sam@webkit.org>
  18035. Reviewed by Maciej Stachowiak.
  18036. Patch for https://bugs.webkit.org/show_bug.cgi?id=43290
  18037. Add structured message passing from the injected bundle to UIProcess
  18038. * MiniBrowser/mac/AppDelegate.m:
  18039. (didRecieveMessageFromInjectedBundle):
  18040. * MiniBrowser/mac/WebBundle/WebBundleMain.m:
  18041. (didClearWindowForFrame):
  18042. (didRecieveMessage):
  18043. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  18044. (WTR::InjectedBundle::done):
  18045. (WTR::InjectedBundle::didReceiveMessage):
  18046. * WebKitTestRunner/TestController.cpp:
  18047. (WTR::TestController::initialize):
  18048. (WTR::TestController::didReceiveMessageFromInjectedBundle):
  18049. * WebKitTestRunner/TestController.h:
  18050. * WebKitTestRunner/TestInvocation.cpp:
  18051. (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
  18052. * WebKitTestRunner/TestInvocation.h:
  18053. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
  18054. 2010-07-30 Sam Weinig <sam@webkit.org>
  18055. Reviewed by Anders Carlsson.
  18056. Patch for https://bugs.webkit.org/show_bug.cgi?id=43275
  18057. Make WKArrayRef more usable.
  18058. Remove now unnecessary const_casts.
  18059. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  18060. (WTR::dumpDescendantFrameScrollPositions):
  18061. (WTR::dumpDescendantFramesText):
  18062. 2010-07-30 Sam Weinig <sam@webkit.org>
  18063. Reviewed by Anders Carlsson.
  18064. Patch for https://bugs.webkit.org/show_bug.cgi?id=43274
  18065. Add first pass of structured message passing.
  18066. Update Minibrowser and WebKitTestRunner to work with the new post message
  18067. function.
  18068. * MiniBrowser/mac/AppDelegate.m:
  18069. (didRecieveMessageFromInjectedBundle):
  18070. (-[BrowserAppDelegate init]):
  18071. * MiniBrowser/mac/MiniBrowser_Prefix.pch:
  18072. * MiniBrowser/mac/WebBundle/WebBundleMain.m:
  18073. (didStartProvisionalLoadForFrame):
  18074. (didReceiveServerRedirectForProvisionalLoadForFrame):
  18075. (didFailProvisionalLoadWithErrorForFrame):
  18076. (didCommitLoadForFrame):
  18077. (didFinishLoadForFrame):
  18078. (didFailLoadWithErrorForFrame):
  18079. (didReceiveTitleForFrame):
  18080. (didClearWindowForFrame):
  18081. (didCreatePage):
  18082. (willDestroyPage):
  18083. (didRecieveMessage):
  18084. (WKBundleInitialize):
  18085. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  18086. (WTR::InjectedBundle::_didReceiveMessage):
  18087. (WTR::InjectedBundle::didReceiveMessage):
  18088. * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
  18089. * WebKitTestRunner/TestInvocation.cpp:
  18090. (WTR::TestInvocation::invoke):
  18091. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
  18092. 2010-07-30 Anders Carlsson <andersca@apple.com>
  18093. Try to fix the layout test failures.
  18094. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  18095. (webkit_test_plugin_get_value):
  18096. 2010-07-29 Anders Carlsson <andersca@apple.com>
  18097. Reviewed by Adam Roben.
  18098. Replace plugins/npruntime/bindings-test.html with a more sophisticated test
  18099. https://bugs.webkit.org/show_bug.cgi?id=43232
  18100. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  18101. Add PluginScriptableNPObjectInvokeDefault.cpp.
  18102. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
  18103. Remove invokeDefault callback function.
  18104. * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
  18105. (PluginTest::create):
  18106. Move this to the top of the file.
  18107. (PluginTest::NPP_GetValue):
  18108. Add default implementation.
  18109. (PluginTest::NPN_CreateObject):
  18110. Add NPN_ wrapper.
  18111. * DumpRenderTree/TestNetscapePlugIn/PluginTest.h:
  18112. (PluginTest::identifier):
  18113. Add identifier getter.
  18114. * DumpRenderTree/TestNetscapePlugIn/Tests/DocumentOpenInDestroyStream.cpp:
  18115. (DocumentOpenInDestroyStream::DocumentOpenInDestroyStream):
  18116. Add "using namespace std".
  18117. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  18118. (NPP_GetValue):
  18119. Give PluginTest a chance to return a value.
  18120. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  18121. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  18122. * GNUmakefile.am:
  18123. Add PluginScriptableNPObjectInvokeDefault.cpp.
  18124. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  18125. (webkit_test_plugin_get_value):
  18126. Give PluginTest a chance to return a value.
  18127. 2010-07-30 Steve Block <steveblock@google.com>
  18128. Reviewed by Steve Block.
  18129. Add LayoutTestController methods to test DeviceOrientation
  18130. https://bugs.webkit.org/show_bug.cgi?id=39589
  18131. * DumpRenderTree/LayoutTestController.cpp:
  18132. (setMockDeviceOrientationCallback):
  18133. (LayoutTestController::staticFunctions):
  18134. * DumpRenderTree/LayoutTestController.h:
  18135. * DumpRenderTree/chromium/LayoutTestController.cpp:
  18136. (LayoutTestController::LayoutTestController):
  18137. (LayoutTestController::setMockDeviceOrientation):
  18138. * DumpRenderTree/chromium/LayoutTestController.h:
  18139. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  18140. (LayoutTestController::setMockDeviceOrientation):
  18141. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  18142. (LayoutTestController::setMockDeviceOrientation):
  18143. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  18144. (LayoutTestController::setMockDeviceOrientation):
  18145. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  18146. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  18147. (LayoutTestController::setMockDeviceOrientation):
  18148. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  18149. (LayoutTestController::setMockDeviceOrientation):
  18150. * Scripts/build-webkit:
  18151. 2010-07-29 Antonio Gomes <tonikitoo@webkit.org>
  18152. Reviewed by Kenneth Christiansen.
  18153. [Qt] QtTestBrowser: -resizes-to-contents command line parameter is broken
  18154. https://bugs.webkit.org/show_bug.cgi?id=43209
  18155. When -resizes-to-content was being passed as a command line parameter it was simply
  18156. not being set (although the corresponding menu item was marked as ON).
  18157. User had to toggle the menu OFF and then ON again for it to take place.
  18158. Reason: LauncherWindow::applyPrefs method sets many user options passed in from
  18159. the command line, but not resizesToContents. Patch addresses that.
  18160. * QtTestBrowser/launcherwindow.cpp:
  18161. (LauncherWindow::createChrome):
  18162. (LauncherWindow::applyPrefs):
  18163. (LauncherWindow::toggleResizesToContents):
  18164. * QtTestBrowser/webview.h:
  18165. (WebViewGraphicsBased::resizesToContents):
  18166. 2010-07-29 Antonio Gomes <tonikitoo@webkit.org>
  18167. Rubber-stamped by Simon Fraser.
  18168. [Qt] QtTestBrowser: more method grouping and clean ups.
  18169. Moving blocks of code around. Basically grouping related methods close to each.
  18170. * QtTestBrowser/launcherwindow.cpp:
  18171. (LauncherWindow::initializeView):
  18172. (LauncherWindow::createChrome):
  18173. (LauncherWindow::changeViewportUpdateMode):
  18174. (LauncherWindow::showFPS):
  18175. (LauncherWindow::newWindow):
  18176. (LauncherWindow::cloneWindow):
  18177. * QtTestBrowser/launcherwindow.h:
  18178. 2010-07-30 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
  18179. Reviewed by Tor Arne Vestbø.
  18180. [QT][Symbian] QtTestBrowser missing location capabilities
  18181. https://bugs.webkit.org/show_bug.cgi?id=43235
  18182. QtTestBrowser missing capabilities to use QtMobility::QLocation.
  18183. * QtTestBrowser/QtTestBrowser.pro:
  18184. 2010-07-29 Anders Carlsson <andersca@apple.com>
  18185. Add PluginTest.cpp
  18186. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  18187. 2010-07-29 Dirk Pranke <dpranke@chromium.org>
  18188. Reviewed by Eric Seidel.
  18189. Update download URLs for python irclib package; the old URLs
  18190. pointed at a specific mirror host and not the general sourceforge
  18191. URLs.
  18192. https://bugs.webkit.org/show_bug.cgi?id=43228
  18193. * Scripts/webkitpy/thirdparty/__init__.py:
  18194. 2010-07-29 Anders Carlsson <andersca@apple.com>
  18195. Fix typo.
  18196. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  18197. 2010-07-29 Anders Carlsson <andersca@apple.com>
  18198. Another attempt at fixing the Qt and GTK+ build.
  18199. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  18200. (webkit_test_plugin_new_instance):
  18201. (webkit_test_plugin_destroy_stream):
  18202. 2010-07-29 Anders Carlsson <andersca@apple.com>
  18203. Another build fix attempt.
  18204. * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
  18205. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  18206. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  18207. (webkit_test_plugin_new_instance):
  18208. * GNUmakefile.am:
  18209. 2010-07-29 Anders Carlsson <andersca@apple.com>
  18210. Try to fix Windows and Unix builds.
  18211. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  18212. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  18213. (webkit_test_plugin_new_instance):
  18214. (webkit_test_plugin_destroy_stream):
  18215. 2010-07-29 Anders Carlsson <andersca@apple.com>
  18216. Reviewed by Sam Weinig.
  18217. Refactor TestNetscapePlugin so tests can be split in separate files
  18218. https://bugs.webkit.org/show_bug.cgi?id=43220
  18219. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  18220. Add PluginTest.cpp, PluginTest.h and Tests/DocumentOpenInDestroyStream.cpp.
  18221. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
  18222. (pluginAllocate):
  18223. Initialize pluginTest to 0. Remove testDocumentOpenInDestroyStream.
  18224. * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
  18225. * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp: Added.
  18226. (PluginTest::PluginTest):
  18227. Initialize m_npp and the test identifier.
  18228. (PluginTest::createTestFunctions):
  18229. Return the map from identifiers to createTest functions.
  18230. (PluginTest::registerCreateTestFunction):
  18231. Insert the identifier and create function pair in the map.
  18232. (PluginTest::create):
  18233. Look for a createTest function. If one is found, call it. Otherwise create a vanilla PluginTest object.
  18234. * DumpRenderTree/TestNetscapePlugIn/PluginTest.h: Added.
  18235. (PluginTest::Register::Register):
  18236. Helper class template for registering plug-in tests.
  18237. (PluginTest::Register::create):
  18238. Create a new test of the given type.
  18239. * DumpRenderTree/TestNetscapePlugIn/Tests/DocumentOpenInDestroyStream.cpp: Added.
  18240. (DocumentOpenInDestroyStream::DocumentOpenInDestroyStream):
  18241. Add a test that calls testDocumentOpen from its NPP_DestroyStream callback.
  18242. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  18243. (NPP_New):
  18244. Create a PluginTest given the identifier. Remove the check for "testdocumentopenindestroystream".
  18245. (NPP_DestroyStream):
  18246. Call the plug-in test NPP_DestroyStream member function.
  18247. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  18248. Add PluginTest.cpp, PluginTest.h and Tests/DocumentOpenInDestroyStream.cpp.
  18249. 2010-07-29 Martin Robinson <mrobinson@igalia.com>
  18250. Unreviewed build fix.
  18251. Add missing second argument to assert_lint in new style checker tests.
  18252. * Scripts/webkitpy/style/checkers/cpp_unittest.py:
  18253. 2010-07-29 Anders Carlsson <andersca@apple.com>
  18254. Reviewed by Adam Roben.
  18255. check-webkit-style shouldn't complain about NPAPI functions
  18256. https://bugs.webkit.org/show_bug.cgi?id=43211
  18257. Allow underscores in functions that start with NPN_, NPP_ or NP_.
  18258. * Scripts/webkitpy/style/checkers/cpp.py:
  18259. * Scripts/webkitpy/style/checkers/cpp_unittest.py:
  18260. 2010-07-29 Victor Wang <victorw@chromium.org>
  18261. Unreviewed, rolling out r64270.
  18262. http://trac.webkit.org/changeset/64270
  18263. https://bugs.webkit.org/show_bug.cgi?id=39589
  18264. The patch breaks chromium webkit unittest
  18265. * DumpRenderTree/LayoutTestController.cpp:
  18266. (LayoutTestController::staticFunctions):
  18267. * DumpRenderTree/LayoutTestController.h:
  18268. * DumpRenderTree/chromium/LayoutTestController.cpp:
  18269. (LayoutTestController::LayoutTestController):
  18270. * DumpRenderTree/chromium/LayoutTestController.h:
  18271. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  18272. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  18273. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  18274. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  18275. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  18276. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  18277. * Scripts/build-webkit:
  18278. 2010-07-29 Antonio Gomes <tonikitoo@webkit.org>
  18279. Reviewed by Kenneth Christiansen.
  18280. [Qt] QtTestBrowser: Move WebPage class methods definitions from main.cpp to webpage.cpp
  18281. https://bugs.webkit.org/show_bug.cgi?id=43199
  18282. There is no sense in keeping WebPage method definitions in main.cpp once
  18283. webpage.cpp already exists.
  18284. No behavior change.
  18285. * QtTestBrowser/main.cpp:
  18286. * QtTestBrowser/webpage.cpp:
  18287. (WebPage::createWindow):
  18288. (WebPage::createPlugin):
  18289. 2010-07-29 Antonio Gomes <tonikitoo@webkit.org>
  18290. Reviewed by Kenneth Christiansen.
  18291. [Qt] Factor out LauncherWindow class out of main.cpp (QtTestBrowser)
  18292. https://bugs.webkit.org/show_bug.cgi?id=43170
  18293. Moving LauncherWindow class out of main.cpp to its own .cpp and .h files:
  18294. launcherwindow.{cpp|h}
  18295. No behavior change.
  18296. Also changed all global static variables (named "gXXX") from main.cpp to
  18297. static public variables of the LauncherWindow class.
  18298. * QtTestBrowser/QtTestBrowser.pro:
  18299. * QtTestBrowser/launcherwindow.cpp: Added.
  18300. * QtTestBrowser/launcherwindow.h: Added.
  18301. * QtTestBrowser/main.cpp:
  18302. (LauncherApplication::handleUserOptions):
  18303. (main):
  18304. 2010-07-29 Martin Robinson <mrobinson@igalia.com>
  18305. Reviewed by Xan Lopez.
  18306. Build fix for building against GTK+ 3.x. GSEAL requires that we
  18307. access internals of the GdkDragContext via methods. For older versions
  18308. of GTK+, define those methods.
  18309. * DumpRenderTree/gtk/EventSender.cpp:
  18310. (gdk_drag_context_get_selected_action): Added.
  18311. (gdk_drag_context_get_actions): Added.
  18312. (dispatchEvent): Use the two new accessor methods.
  18313. 2010-07-29 Adam Roben <aroben@apple.com>
  18314. Always say "plugins directory" when referring to a directory
  18315. containing one or more plugins
  18316. Fixes <http://webkit.org/b/43197> WebKit2 often says "plugin
  18317. directory" when it means "plugins directory"
  18318. Reviewed by John Sullivan.
  18319. * WebKitTestRunner/TestController.cpp:
  18320. (WTR::TestController::initialize): Updated for rename.
  18321. 2010-07-29 Adam Roben <aroben@apple.com>
  18322. Always say "directory" when referring to a plugin directory
  18323. Fixes <http://webkit.org/b/43195> WebKit2 often says "plugin path"
  18324. when it means "plugin directory"
  18325. Reviewed by John Sullivan.
  18326. * WebKitTestRunner/TestController.cpp:
  18327. (WTR::TestController::initialize): Updated for renames.
  18328. * WebKitTestRunner/TestController.h: Renamed m_testPluginPath to
  18329. m_testPluginDirectory.
  18330. (WTR::TestController::testPluginDirectory): Renamed from
  18331. testPluginPath.
  18332. * WebKitTestRunner/mac/TestControllerMac.mm:
  18333. (WTR::TestController::initializeTestPluginDirectory):
  18334. * WebKitTestRunner/win/TestControllerWin.cpp:
  18335. (WTR::TestController::initializeTestPluginDirectory):
  18336. Renamed from initializeTestPluginPath and updated for rename.
  18337. 2010-07-29 Csaba Osztrogonác <ossy@webkit.org>
  18338. Reviewed by Antonio Gomes.
  18339. Initialize all members of NPClass struct.
  18340. https://bugs.webkit.org/show_bug.cgi?id=43193
  18341. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
  18342. 2010-07-29 Csaba Osztrogonác <ossy@webkit.org>
  18343. Reviewed by Antonio Gomes.
  18344. Warning fix on platforms where XP_MACOSX is undefined.
  18345. https://bugs.webkit.org/show_bug.cgi?id=43192
  18346. * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
  18347. Use #if defined(XP_MACOSX) instead of #if XP_MACOSX .
  18348. 2010-07-29 Adam Roben <aroben@apple.com>
  18349. Give find-included-framework-headers our standard license
  18350. * Scripts/find-included-framework-headers: Used the license from
  18351. WebCore/LICENSE-APPLE.
  18352. 2010-07-29 Adam Roben <aroben@apple.com>
  18353. Speed up find-included-framework-headers
  18354. We only do one invocation of find now, no longer pipe to grep, and
  18355. replace uniq with sort -u.
  18356. Also added a license header.
  18357. * Scripts/find-included-framework-headers:
  18358. 2010-07-29 Steve Block <steveblock@google.com>
  18359. Reviewed by Jeremy Orlow.
  18360. Add LayoutTestController methods to test DeviceOrientation
  18361. https://bugs.webkit.org/show_bug.cgi?id=39589
  18362. * DumpRenderTree/LayoutTestController.cpp:
  18363. (setMockDeviceOrientationCallback):
  18364. (LayoutTestController::staticFunctions):
  18365. * DumpRenderTree/LayoutTestController.h:
  18366. * DumpRenderTree/chromium/LayoutTestController.cpp:
  18367. * DumpRenderTree/chromium/LayoutTestController.h:
  18368. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  18369. (LayoutTestController::setMockDeviceOrientation):
  18370. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  18371. (LayoutTestController::setMockDeviceOrientation):
  18372. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  18373. (LayoutTestController::setMockDeviceOrientation):
  18374. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  18375. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  18376. (LayoutTestController::setMockDeviceOrientation):
  18377. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  18378. (LayoutTestController::setMockDeviceOrientation):
  18379. * Scripts/build-webkit:
  18380. 2010-07-28 Kenichi Ishibashi <bashi@google.com>
  18381. Reviewed by Shinichiro Hamaji.
  18382. Fixed <https://bugs.webkit.org/show_bug.cgi?id=33814>
  18383. check-webkit-style gives false positives in single-line functions.
  18384. * Scripts/webkitpy/style/checkers/cpp.py:
  18385. * Scripts/webkitpy/style/checkers/cpp_unittest.py:
  18386. 2010-07-28 Darin Adler <darin@apple.com>
  18387. Reviewed by Sam Weinig.
  18388. WebKitTestRunner needs to support layoutTestController.execCommand
  18389. <https://bugs.webkit.org/show_bug.cgi?id=42538>
  18390. WebKitTestRunner needs layoutTestController.isCommandEnabled
  18391. <https://bugs.webkit.org/show_bug.cgi?id=42671>
  18392. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  18393. Added execCommand and isCommandEnabled.
  18394. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  18395. (WTR::LayoutTestController::execCommand): Added.
  18396. (WTR::LayoutTestController::isCommandEnabled): Added.
  18397. * WebKitTestRunner/InjectedBundle/LayoutTestController.h: Ditto.
  18398. 2010-07-28 Kent Tamura <tkent@chromium.org>
  18399. Reviewed by Dimitri Glazkov.
  18400. [DRT/Chromium] Introduce drt_expectations.txt for NRWT
  18401. https://bugs.webkit.org/show_bug.cgi?id=43123
  18402. Introduce LayoutTests/platform/chromium/drt_expectations.txt,
  18403. which overrides test expectations only for DumpRenderTree, in
  18404. order to manage what problems are investigated.
  18405. This change will be reverted when we switch to DRT completely.
  18406. * Scripts/webkitpy/layout_tests/port/chromium.py:
  18407. Add drt_expectations.txt content to the result of
  18408. test_expectations_overrides() if --use-drt is specified.
  18409. 2010-07-28 Brady Eidson <beidson@apple.com>
  18410. Reviewed by Darin Adler.
  18411. First pass at visited link support for WK2
  18412. https://bugs.webkit.org/show_bug.cgi?id=43157
  18413. * MiniBrowser/mac/AppDelegate.m:
  18414. (didNavigateWithNavigationData):
  18415. (didPerformClientRedirect):
  18416. (didPerformServerRedirect):
  18417. (didUpdateHistoryTitle):
  18418. (populateVisitedLinks): Added for the new version of the HistoryClient.
  18419. (-[BrowserAppDelegate init]): Set the HistoryClient right after creating the context(s)
  18420. * MiniBrowser/mac/BrowserWindowController.m:
  18421. (-[BrowserWindowController awakeFromNib]):
  18422. 2010-07-28 Robin Dunn <robin@alldunn.com>
  18423. Reviewed by Kevin Ollivier.
  18424. Add DOM bindings support for wx port.
  18425. * DumpRenderTree/wscript:
  18426. * wx/browser/wscript:
  18427. * wx/build/settings.py:
  18428. 2010-07-28 Tony Chang <tony@chromium.org>
  18429. Reviewed by Kent Tamura.
  18430. [chromium] cleanup temp files left by Linux DRT
  18431. https://bugs.webkit.org/show_bug.cgi?id=43062
  18432. * BuildSlaveSupport/build.webkit.org-config/config.json: Rename the chromium bots to include the OS
  18433. * BuildSlaveSupport/build.webkit.org-config/master.cfg: add a step on chromium-linux to delete temp files left
  18434. by crashed DRTs
  18435. 2010-07-28 Antonio Gomes <tonikitoo@webkit.org>
  18436. Rubber-stamped by Kenneth Christiansen.
  18437. More Developer menu items reordering.
  18438. Grouping related menu items together, visually and logically (in the code).
  18439. No behavior change.
  18440. * QtTestBrowser/main.cpp:
  18441. (LauncherWindow::createChrome):
  18442. 2010-07-27 Kinuko Yasuda <kinuko@chromium.org>
  18443. Reviewed by Ojan Vafai.
  18444. Add FILE_SYSTEM build flag for FileSystem API
  18445. https://bugs.webkit.org/show_bug.cgi?id=42915
  18446. * Scripts/build-webkit:
  18447. 2010-07-27 Martin Robinson <mrobinson@igalia.com>
  18448. Reviewed by David Levin.
  18449. Stylebot should not complain about NULL usage in calls to gdk_pixbuf_save_to
  18450. https://bugs.webkit.org/show_bug.cgi?id=43090
  18451. * Scripts/webkitpy/style/checkers/cpp.py: Add exemption for some GdkPixbuf methods.
  18452. * Scripts/webkitpy/style/checkers/cpp_unittest.py: Added some tests for this behavior.
  18453. 2010-07-27 Kent Tamura <tkent@chromium.org>
  18454. Unreviewed, trivial typo fix.
  18455. * Scripts/webkitpy/layout_tests/port/chromium.py:
  18456. Fix a wrong method name committed by r64109.
  18457. 2010-07-27 Sam Weinig <sam@webkit.org>
  18458. Reviewed by Anders Carlsson.
  18459. Patch for https://bugs.webkit.org/show_bug.cgi?id=43087
  18460. Clean up handling of strings at the WebKit2 API layer.
  18461. * MiniBrowser/mac/BrowserWindowController.m:
  18462. (runJavaScriptAlert):
  18463. (runJavaScriptConfirm):
  18464. (runJavaScriptPrompt):
  18465. (didNavigateWithNavigationData):
  18466. (-[BrowserWindowController updateProvisionalURLForFrame:]):
  18467. * MiniBrowser/mac/WebBundle/WebBundleMain.m:
  18468. (_didClearWindowForFrame):
  18469. 2010-07-27 Ojan Vafai <ojan@chromium.org>
  18470. Reviewed by Eric Seidel.
  18471. webkit-patch post-commits is broken: AttributeError: Values instance has no attribute 'no_squash'
  18472. https://bugs.webkit.org/show_bug.cgi?id=42984
  18473. squash and no_squash have been intentionally erroring for a couple weeks now.
  18474. But post-commits was just broken. Just remove squash/no_squash.
  18475. * Scripts/webkitpy/tool/steps/abstractstep.py:
  18476. * Scripts/webkitpy/tool/steps/options.py:
  18477. 2010-07-27 Kevin Ollivier <kevino@theolliviers.com>
  18478. [wx] Build fix after introduction of EXECUTABLE_ALLOCATOR_DEMAND.
  18479. * wx/build/settings.py:
  18480. 2010-07-27 Adam Roben <aroben@apple.com>
  18481. Mac build fix
  18482. * MiniBrowser/mac/BrowserWindowController.m:
  18483. (processDidExit):
  18484. (-[BrowserWindowController awakeFromNib]):
  18485. Added processDidExit support.
  18486. 2010-07-26 Antonio Gomes <tonikitoo@webkit.org>
  18487. Rubber-stamped by Simon Hausmann.
  18488. [Qt] Reorder some items in Developers' menu so QGraphicsView one is easier accessible.
  18489. Move some less useful menu items on Developers menu from the top to the bottom, so
  18490. QGraphicsView menu goes to the top, and becomes more quickly accessible.
  18491. * QtTestBrowser/main.cpp:
  18492. (LauncherWindow::createChrome):
  18493. 2010-07-26 Adam Roben <aroben@apple.com>
  18494. Fix the path to InjectedBundle.dll in Debug_Internal builds
  18495. Fixes <http://webkit.org/b/42994> WebKitTestRunner fails to load
  18496. InjectedBundle.dll in the Debug_Internal configuration
  18497. Reviewed by Anders Carlsson.
  18498. * WebKitTestRunner/win/TestControllerWin.cpp:
  18499. (WTR::TestController::initializeInjectedBundlePath): Add the _debug
  18500. suffix only in Debug_All builds.
  18501. 2010-07-25 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
  18502. Reviewed by Darin Adler.
  18503. https://bugs.webkit.org/show_bug.cgi?id=42947
  18504. Check for WEBKIT_TESTFONTS for qt, gtk and windows port and throw
  18505. error. Without which dumpRenderTree crashes.
  18506. * Scripts/old-run-webkit-tests:
  18507. 2010-07-27 Kent Tamura <tkent@chromium.org>
  18508. Reviewed by Dimitri Glazkov.
  18509. https://bugs.webkit.org/show_bug.cgi?id=42956
  18510. [DRT/Chromium] Fix "out of sync" assertion error
  18511. Fix an assertion error on Windows like the following:
  18512. 100721 20:16:46 chromium.py:386 CRITICAL Test got out of sync:
  18513. |file:///c:/WebKitBuildSlave2/chromium-win-release-tests/build/LayoutTests/http/tests/local/blob/send-data-blob.html|
  18514. |file:///C:/WebKitBuildSlave2/chromium-win-release-tests/build/LayoutTests/http/tests/local/blob/send-data-blob.html|
  18515. * Scripts/webkitpy/layout_tests/port/chromium.py:
  18516. If the url matches with "file:///[a-z]:", does case-ignore comparison.
  18517. GURL capitalize the driver letter of a file: URL.
  18518. 2010-07-26 Darin Adler <darin@apple.com>
  18519. Reviewed by Sam Weinig.
  18520. WebKitTestRunner needs to support layoutTestController.counterValueForElementById
  18521. https://bugs.webkit.org/show_bug.cgi?id=42537
  18522. WebKitTestRunner needs layoutTestController.markerTextForListItem
  18523. https://bugs.webkit.org/show_bug.cgi?id=42549
  18524. * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
  18525. Fixed _paramterExpression typo. Improved support for string type as a
  18526. return value, so we don't try to include DOMString.h and we can convert
  18527. the string to a JSValue by calling JSValueMakeStringOrNull.
  18528. * WebKitTestRunner/InjectedBundle/Bindings/JSWrappable.h:
  18529. Added JSValueMakeStringOrNull, used by the code generator.
  18530. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  18531. Added counterValueForElementById and markerTextForListItem.
  18532. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  18533. Moved constant to the top of the file.
  18534. (WTR::toCF): Added. Converts strings to CFStringRef.
  18535. (WTR::toWK): Added. Converts strings to WKStringRef.
  18536. (WTR::toJS): Added. Converts strings to JSStringRef.
  18537. (WTR::setProperty): Moved this function to the top of the file
  18538. rather than having it down where it's used inside the class. Also
  18539. renamed it so it's a separate function rather than an overload of
  18540. JSObjectSetProperty.
  18541. (WTR::propertyValue): Copied this here from InjectedBundlePage.cpp.
  18542. Should move it somewhere we can share it.
  18543. (WTR::propertyObject): Ditto.
  18544. (WTR::getElementById): Added. Calls getElementById through the magic
  18545. of JavaScript.
  18546. (WTR::LayoutTestController::pauseAnimationAtTimeOnElementWithId):
  18547. Chagned to use toWK instead of four local variables.
  18548. (WTR::LayoutTestController::counterValueForElementById): Added.
  18549. Calls WKBundleFrameCopyCounterValue.
  18550. (WTR::LayoutTestController::markerTextForListItem): Added.
  18551. Calls WKBundleFrameCopyMarkerText.
  18552. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  18553. Added counterValueForElementById and markerTextForListItem.
  18554. 2010-07-26 Martin Robinson <mrobinson@igalia.com>
  18555. Reviewed by Gustavo Noronha Silva.
  18556. [GTK] The EventSender should support simulating drop events
  18557. https://bugs.webkit.org/show_bug.cgi?id=39844
  18558. Add initial dropping support to the GTK+ EventSender.
  18559. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  18560. (createWebView): Listen for some new drag-and-drop signals.
  18561. * DumpRenderTree/gtk/EventSender.cpp: Add currentDragSourceContext.
  18562. (dispatchEvent):
  18563. Detect situations where a drag is either starting or ending and massage
  18564. GTK+ into sending the appropriate signals to the WebView.
  18565. (replaySavedEvents): Remove comment.
  18566. (makeEventSender): Clear the currentDragSourceContext when creating a new EventSender.
  18567. (dragBeginCallback): Capture the new currentDragSourceContext when a drag begins.
  18568. (dragEndCallback): Clear the currentDragSourceContext when a drag ends.
  18569. (dragFailedCallback): Disable the GTK+ drag failed animation.
  18570. * DumpRenderTree/gtk/EventSender.h: Add declarations for new signal callbacks.
  18571. 2010-07-26 Daniel Bates <dbates@rim.com>
  18572. Reviewed by Darin Adler.
  18573. svn-unapply warns of uninitialized variable when unapplying
  18574. a patch that describes an svn move operation
  18575. https://bugs.webkit.org/show_bug.cgi?id=42036
  18576. Fixes Perl uninitialized variable warnings when un-applying
  18577. a patch that moves a file.
  18578. * Scripts/svn-unapply:
  18579. - Modified patch() so that it initializes $patch to the empty
  18580. string when we don't have svnConvertedText (such as when
  18581. reversing a diff that represents a svn copy/move operation).
  18582. 2010-07-26 Sam Weinig <sam@webkit.org>
  18583. Reviewed by Anders Carlsson.
  18584. Move some non-APIish functions into private headers.
  18585. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  18586. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  18587. 2010-07-26 Sam Weinig <sam@webkit.org>
  18588. Reviewed by Anders Carlsson.
  18589. Fix for https://bugs.webkit.org/show_bug.cgi?id=42986
  18590. Add prompt and confirm client functions to WebKit2
  18591. * MiniBrowser/mac/BrowserWindowController.m:
  18592. (-[BrowserWindowController awakeFromNib]):
  18593. 2010-07-26 Adam Roben <aroben@apple.com>
  18594. Windows build fix
  18595. * MiniBrowser/MiniBrowser.vcproj:
  18596. * WebKitTestRunner/InjectedBundle/win/InjectedBundle.vcproj:
  18597. Removed empty attributes so the values will be picked up from the
  18598. vsprops files. (Also removed a couple of attributes that accidentally
  18599. duplicated values from the vsprops files.)
  18600. 2010-07-26 Brian Weinstein <bweinstein@apple.com>
  18601. Rubber-stamped by Adam Roben.
  18602. Touch MiniBrowser's stdafx to fix the build.
  18603. * MiniBrowser/win/stdafx.h:
  18604. 2010-07-26 Hayato Ito <hayato@chromium.org>
  18605. Reviewed by Shinichiro Hamaji.
  18606. Add pretty printer of WTF::Vector for GDB 7.
  18607. https://bugs.webkit.org/show_bug.cgi?id=40909
  18608. * gdb/wtf.py: Added.
  18609. 2010-07-26 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  18610. Reviewed by Simon Hausmann.
  18611. [Qt] Fix feature detection regexp
  18612. We were missing the last feature
  18613. * Scripts/webkitdirs.pm:
  18614. 2010-07-25 Darin Adler <darin@apple.com>
  18615. Reviewed by Dan Bernstein.
  18616. WebKitTestRunner needs to support layoutTestController.dumpSelectionRect
  18617. https://bugs.webkit.org/show_bug.cgi?id=42326
  18618. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  18619. Added dumpSelectionRect.
  18620. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  18621. (WTR::LayoutTestController::dumpSelectionRect): Added. For now, this
  18622. does nothing because its purpose is to change pixel test output and
  18623. we do not have pixel tests implemented yet.
  18624. 2010-07-25 Darin Adler <darin@apple.com>
  18625. Reviewed by Maciej Stachowiak.
  18626. WebKitTestRunner needs to support layoutTestController.keepWebHistory
  18627. https://bugs.webkit.org/show_bug.cgi?id=42323
  18628. Added keepWebHistory and computedStyleIncludingVisitedInfo.
  18629. Also fixed misspellings of the word "receive".
  18630. Also tweaked the names of some of the LayoutTestController members.
  18631. * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm:
  18632. Added support for a type named "object" that is passed and returns as
  18633. a JSValueRef.
  18634. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  18635. Added keepWebHistory and computedStyleIncludingVisitedInfo. Also
  18636. put setAcceptsEditing up nearer the top.
  18637. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  18638. (WTR::InjectedBundle::_didReceiveMessage): Fixed mispellings of receive.
  18639. (WTR::InjectedBundle::initialize): Ditto.
  18640. (WTR::InjectedBundle::didReceiveMessage): Ditto.
  18641. (WTR::InjectedBundle::reset): Reset the state of visited links between
  18642. tests. Also eliminated the unused argument to the LayoutTestController
  18643. create function.
  18644. (WTR::InjectedBundle::setShouldTrackVisitedLinks): Added.
  18645. * WebKitTestRunner/InjectedBundle/InjectedBundle.h: Ditto.
  18646. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  18647. (WTR::InjectedBundlePage::shouldBeginEditing): Call shouldAllowEditing
  18648. instead of acceptsEditing.
  18649. (WTR::InjectedBundlePage::shouldEndEditing): Ditto.
  18650. (WTR::InjectedBundlePage::shouldInsertNode): Ditto.
  18651. (WTR::InjectedBundlePage::shouldInsertText): Ditto.
  18652. (WTR::InjectedBundlePage::shouldDeleteRange): Ditto.
  18653. (WTR::InjectedBundlePage::shouldChangeSelectedRange): Ditto.
  18654. (WTR::InjectedBundlePage::shouldApplyStyle): Ditto.
  18655. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  18656. (WTR::LayoutTestController::create): Removed uneeded argument.
  18657. (WTR::LayoutTestController::LayoutTestController): Removed unneeded
  18658. argument. Updated for rename of m_acceptsEditing to m_shouldAllowEditing.
  18659. (WTR::LayoutTestController::numberOfActiveAnimations): Added some FIXMEs
  18660. about the fact that this works on the main frame.
  18661. (WTR::LayoutTestController::pauseAnimationAtTimeOnElementWithId): Ditto.
  18662. (WTR::LayoutTestController::keepWebHistory): Added.
  18663. (WTR::LayoutTestController::computedStyleIncludingVisitedInfo): Added.
  18664. (WTR::JSObjectSetProperty): Added. Helper to make the function below
  18665. cleaner.
  18666. (WTR::LayoutTestController::makeWindowObject): Changed to use the
  18667. overload of JSObjectSetProperty above.
  18668. * WebKitTestRunner/InjectedBundle/LayoutTestController.h: Changes to
  18669. match above.
  18670. * WebKitTestRunner/TestController.cpp:
  18671. (WTR::TestController::initialize): Fixed mispellings of receive.
  18672. (WTR::TestController::_didReceiveMessageFromInjectedBundle): Ditto.
  18673. (WTR::TestController::didReceiveMessageFromInjectedBundle): Ditto.
  18674. * WebKitTestRunner/TestController.h: Ditto.
  18675. * WebKitTestRunner/TestInvocation.cpp:
  18676. (WTR::TestInvocation::didReceiveMessageFromInjectedBundle): Ditto.
  18677. * WebKitTestRunner/TestInvocation.h: Ditto.
  18678. 2010-07-25 Alexey Proskuryakov <ap@apple.com>
  18679. Reviewed by Sam Weinig.
  18680. https://bugs.webkit.org/show_bug.cgi?id=42193
  18681. Support layoutTestController.dumpEditingDelegates in WebKitTestRunner
  18682. Step 2 - add the rest of editing delegates.
  18683. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  18684. (WTR::operator<<): Fixed to not crash when range is null.
  18685. (WTR::InjectedBundlePage::InjectedBundlePage):
  18686. (WTR::InjectedBundlePage::_shouldEndEditing):
  18687. (WTR::InjectedBundlePage::_shouldInsertNode):
  18688. (WTR::InjectedBundlePage::_shouldInsertText):
  18689. (WTR::InjectedBundlePage::_shouldDeleteRange):
  18690. (WTR::InjectedBundlePage::_shouldChangeSelectedRange):
  18691. (WTR::InjectedBundlePage::_shouldApplyStyle):
  18692. (WTR::InjectedBundlePage::_didBeginEditing):
  18693. (WTR::InjectedBundlePage::_didEndEditing):
  18694. (WTR::InjectedBundlePage::_didChange):
  18695. (WTR::InjectedBundlePage::_didChangeSelection):
  18696. (WTR::InjectedBundlePage::shouldEndEditing):
  18697. (WTR::InjectedBundlePage::shouldInsertNode):
  18698. (WTR::InjectedBundlePage::shouldInsertText):
  18699. (WTR::InjectedBundlePage::shouldDeleteRange):
  18700. (WTR::InjectedBundlePage::shouldChangeSelectedRange):
  18701. (WTR::InjectedBundlePage::shouldApplyStyle):
  18702. (WTR::InjectedBundlePage::didBeginEditing):
  18703. (WTR::InjectedBundlePage::didEndEditing):
  18704. (WTR::InjectedBundlePage::didChange):
  18705. (WTR::InjectedBundlePage::didChangeSelection):
  18706. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  18707. 2010-07-24 Chris Fleizach <cfleizach@apple.com>
  18708. Reviewed by David Kilzer.
  18709. AX: need a layout test testing misspelled words in attributed strings
  18710. https://bugs.webkit.org/show_bug.cgi?id=42899
  18711. * DumpRenderTree/AccessibilityUIElement.cpp:
  18712. (attributedStringForRangeCallback):
  18713. (attributedStringRangeIsMisspelledCallback):
  18714. (AccessibilityUIElement::getJSClass):
  18715. * DumpRenderTree/AccessibilityUIElement.h:
  18716. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  18717. (AccessibilityUIElement::attributedStringForRange):
  18718. (AccessibilityUIElement::attributedStringRangeIsMisspelled):
  18719. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  18720. (AccessibilityUIElement::attributedStringForRange):
  18721. (AccessibilityUIElement::attributedStringRangeIsMisspelled):
  18722. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  18723. (AccessibilityUIElement::attributedStringForRange):
  18724. (AccessibilityUIElement::attributedStringRangeIsMisspelled):
  18725. 2010-07-23 David Kilzer <ddkilzer@apple.com>
  18726. <http://webkit.org/b/42911> Update ruby tools to work with shallow framework bundles
  18727. Reviewed by Mark Rowe.
  18728. * Scripts/check-for-inappropriate-files-in-framework: Added
  18729. check for the SHALLOW_BUNDLE environment variable so that the
  18730. script will work with iOS WebKit builds.
  18731. * Scripts/check-for-webkit-framework-include-consistency: Ditto.
  18732. 2010-07-22 Darin Adler <darin@apple.com>
  18733. Reviewed by Sam Weinig.
  18734. Eliminate unneeded WKBundleFrameCopyInnerText function from WebKit2
  18735. https://bugs.webkit.org/show_bug.cgi?id=42847
  18736. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  18737. (WTR::operator<<): Replaced the WKStringToUTF8 function with
  18738. a set of overloaded stream operators.
  18739. (WTR::dumpPath): Changed to use ostringstream and return a string.
  18740. (WTR::propertyValue): Added.
  18741. (WTR::propertyObject): Added.
  18742. (WTR::propertyString): Added.
  18743. (WTR::numericWindowPropertyValue): Changed to call propertyValue.
  18744. (WTR::dumpFrameScrollPosition): Removed now unneeded WKStringToUTF8 sequence
  18745. since we now have suitable streaming functions.
  18746. (WTR::dumpFrameText): Use propertyObject and propertyString instead of
  18747. WKBundleFrameCopyInnerText.
  18748. (WTR::dumpDescendantFramesText): Removed now unneeded WKStringToUTF8 sequence
  18749. since we now have suitable streaming functions.
  18750. (WTR::InjectedBundlePage::dump): Ditto.
  18751. (WTR::InjectedBundlePage::willAddMessageToConsole): Ditto.
  18752. (WTR::InjectedBundlePage::willSetStatusbarText): Ditto.
  18753. (WTR::InjectedBundlePage::willRunJavaScriptAlert): Ditto.
  18754. (WTR::InjectedBundlePage::willRunJavaScriptConfirm): Ditto.
  18755. (WTR::InjectedBundlePage::willRunJavaScriptPrompt): Ditto.
  18756. 2010-07-22 Alexey Proskuryakov <ap@apple.com>
  18757. Reviewed by Sam Weinig and Darin Adler.
  18758. https://bugs.webkit.org/show_bug.cgi?id=42193
  18759. Support layoutTestController.dumpEditingDelegates in WebKitTestRunner
  18760. Step 1: Add the method, and implement one actual delegate call as proof of concept. No tests
  18761. fixed, but this makes difference one line smaller on many editing tests.
  18762. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  18763. Added dumpEditingCallbacks() and setAcceptsEditing().
  18764. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  18765. (WTR::dumpPath): Dump path to a node in a format that's compatible with DumpRenderTree.
  18766. (WTR::operator<<): Print a range.
  18767. (WTR::InjectedBundlePage::InjectedBundlePage): Set editor client in addition to existing
  18768. clients.
  18769. (WTR::InjectedBundlePage::_shouldBeginEditing): The only client method implemented so far.
  18770. (WTR::InjectedBundlePage::shouldBeginEditing): Ditto.
  18771. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h: Added a section for editor client
  18772. calls.
  18773. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  18774. (WTR::LayoutTestController::LayoutTestController):
  18775. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  18776. (WTR::LayoutTestController::dumpEditingCallbacks):
  18777. (WTR::LayoutTestController::setAcceptsEditing):
  18778. (WTR::LayoutTestController::acceptsEditing):
  18779. (WTR::LayoutTestController::shouldDumpEditingCallbacks):
  18780. Store m_acceptsEditing and m_dumpEditingCallbacks.
  18781. 2010-07-22 Yael Aharon <yael.aharon@nokia.com>
  18782. Reviewed by Laszlo Gombos.
  18783. [Qt] QtWebKit needs public API for Notifications.
  18784. https://bugs.webkit.org/show_bug.cgi?id=41413
  18785. Update DumpRenderTree and QtTestBrowser to use the new API.
  18786. Add new DRT API to flag that notifications permission requests should be ignored.
  18787. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  18788. (WebCore::WebPage::WebPage):
  18789. (WebCore::WebPage::requestPermission):
  18790. (WebCore::WebPage::checkPermission):
  18791. (WebCore::WebPage::cancelRequestsForPermission):
  18792. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  18793. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  18794. (LayoutTestController::reset):
  18795. (LayoutTestController::ignoreDesktopNotificationPermissionRequests):
  18796. (LayoutTestController::checkDesktopNotificationPermission):
  18797. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  18798. (LayoutTestController::ignoreReqestForPermission):
  18799. * QtTestBrowser/main.cpp:
  18800. (LauncherWindow::LauncherWindow):
  18801. * QtTestBrowser/webpage.cpp:
  18802. (WebPage::WebPage):
  18803. (WebPage::requestPermission):
  18804. (WebPage::checkPermission):
  18805. (WebPage::cancelRequestsForPermission):
  18806. * QtTestBrowser/webpage.h:
  18807. 2010-07-22 Darin Adler <darin@apple.com>
  18808. Reviewed by Sam Weinig.
  18809. WebKitTestRunner needs to support layoutTestController.dumpChildFramesAsText
  18810. https://bugs.webkit.org/show_bug.cgi?id=42325
  18811. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  18812. Added dumpChildFramesAsText.
  18813. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  18814. (WTR::dumpFrameText): Added.
  18815. (WTR::dumpDescendantFramesText): Added.
  18816. (WTR::InjectedBundlePage::dumpAllFramesText): Added.
  18817. (WTR::InjectedBundlePage::dump): Changed to use the new whatToDump function
  18818. instead of the shouldDumpAsText function, and added a case for AllFramesText.
  18819. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h: Added dumpAllFramesText.
  18820. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  18821. (WTR::LayoutTestController::LayoutTestController): Replaced m_dumpAsText with
  18822. m_whatToDump.
  18823. * WebKitTestRunner/InjectedBundle/LayoutTestController.h: Added
  18824. dumpChildFramesAsText. Removed shouldDumpAsText, shouldDumpDOMAsWebArchive,
  18825. and shouldDumpSourceAsWebArchive. Added whatToDump.
  18826. 2010-07-22 Adam Roben <aroben@apple.com>
  18827. Windows build fix
  18828. Inspired by r63881.
  18829. * MiniBrowser/MiniBrowser.vcproj:
  18830. * WebKitTestRunner/InjectedBundle/win/InjectedBundle.vcproj:
  18831. Removed pre- and post-build events so they will be inherited from the
  18832. vsprops files.
  18833. 2010-07-21 Darin Adler <darin@apple.com>
  18834. Reviewed by Sam Weinig.
  18835. WebKitTestRunner needs layoutTestController.dumpChildFrameScrollPositions
  18836. https://bugs.webkit.org/show_bug.cgi?id=42548
  18837. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
  18838. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  18839. (WTR::numericWindowPropertyValue): Renamed this and moved it up higher in the file.
  18840. (WTR::dumpFrameScrollPosition): Added argument telling whether to dump the frame name.
  18841. Changed to a file-internal function instead of a member function.
  18842. (WTR::dumpDescendantFrameScrollPositions): Added.
  18843. (WTR::InjectedBundlePage::dumpAllFrameScrollPositions): Added.
  18844. (WTR::InjectedBundlePage::dump): Changed to call dumpAllFrameScrollPositions when
  18845. appropriate. Also streamlined all the WKStringToUTF8 call sites.
  18846. (WTR::InjectedBundlePage::willAddMessageToConsole): Streamlined use of WKStringToUTF8.
  18847. (WTR::InjectedBundlePage::willSetStatusbarText): Ditto.
  18848. (WTR::InjectedBundlePage::willRunJavaScriptAlert): Ditto.
  18849. (WTR::InjectedBundlePage::willRunJavaScriptConfirm): Ditto.
  18850. (WTR::InjectedBundlePage::willRunJavaScriptPrompt): Ditto.
  18851. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h: Updated for above changes.
  18852. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  18853. (WTR::LayoutTestController::LayoutTestController): Initialize
  18854. m_shouldDumpAllFrameScrollPositions.
  18855. (WTR::LayoutTestController::shouldDumpMainFrameScrollPosition): Renamed from
  18856. shouldDumpFrameScrollPositions.
  18857. * WebKitTestRunner/InjectedBundle/LayoutTestController.h: Reorganized the file a
  18858. bit, added dumpChildFrameScrollPositions and shouldDumpAllFrameScrollPositions,
  18859. and renamed shouldDumpFrameScrollPositions to shouldDumpMainFrameScrollPosition.
  18860. 2010-07-21 Darin Adler <darin@apple.com>
  18861. Reviewed by Sam Weinig.
  18862. WebKitTestRunner needs to support dumping of scroll position
  18863. https://bugs.webkit.org/show_bug.cgi?id=42514
  18864. * MiniBrowser/mac/WebBundle/WebBundleMain.m:
  18865. (_didClearWindowForFrame): Use JSGlobalContextRef instead of JSContextRef.
  18866. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  18867. (WTR::InjectedBundlePage::_didClearWindowForFrame): Use JSGlobalContextRef
  18868. instead of JSContextRef.
  18869. (WTR::InjectedBundlePage::dump): Call dumpFrameScrollPosition when appropriate.
  18870. (WTR::numericWindowProperty): Added. Helper for dumpFrameScrollPosition.
  18871. (WTR::InjectedBundlePage::dumpFrameScrollPosition): Added.
  18872. (WTR::InjectedBundlePage::didClearWindowForFrame): Use JSGlobalContextRef
  18873. instead of JSContextRef.
  18874. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h: Removed names from
  18875. arguments that simply repeat the argument type. Added dumpFrameScrollPosition.
  18876. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  18877. (WTR::LayoutTestController::shouldDumpDOMAsWebArchive): Added. Currently
  18878. returns false.
  18879. (WTR::LayoutTestController::shouldDumpSourceAsWebArchive): Added. Currently
  18880. returns false.
  18881. (WTR::LayoutTestController::shouldDumpFrameScrollPositions): Added. Matches
  18882. the logic in DumpRenderTree.
  18883. * WebKitTestRunner/InjectedBundle/LayoutTestController.h: Updated for above changes.
  18884. * WebKitTestRunner/WebKitTestRunner.xcodeproj: Added property svn:ignore.
  18885. 2010-07-21 Kevin Ollivier <kevino@theolliviers.com>
  18886. [wx] Build fix, adding the WebCore/bindings/generic dir to the list of build dirs.
  18887. * wx/build/settings.py:
  18888. 2010-07-21 Sam Weinig <sam@webkit.org>
  18889. Reviewed by Anders Carlsson.
  18890. Patch for https://bugs.webkit.org/show_bug.cgi?id=42539
  18891. WebKitTestRunner needs to support printing ALERT, PROMPT and CONFIRM messages
  18892. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  18893. (WTR::InjectedBundlePage::InjectedBundlePage):
  18894. (WTR::InjectedBundlePage::_willAddMessageToConsole):
  18895. (WTR::InjectedBundlePage::_willSetStatusbarText):
  18896. (WTR::InjectedBundlePage::_willRunJavaScriptAlert):
  18897. (WTR::InjectedBundlePage::_willRunJavaScriptConfirm):
  18898. (WTR::InjectedBundlePage::_willRunJavaScriptPrompt):
  18899. (WTR::InjectedBundlePage::willAddMessageToConsole):
  18900. (WTR::InjectedBundlePage::willSetStatusbarText):
  18901. (WTR::InjectedBundlePage::willRunJavaScriptAlert):
  18902. (WTR::InjectedBundlePage::willRunJavaScriptConfirm):
  18903. (WTR::InjectedBundlePage::willRunJavaScriptPrompt):
  18904. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  18905. 2010-07-21 Adam Roben <aroben@apple.com>
  18906. Give InjectedBundle our standard set of configurations (minus the
  18907. *_Cairo variants)
  18908. InjectedBundle's Debug_All configuration was the same as is Debug
  18909. configuration, and it was missing a Debug_Internal configuration.
  18910. Fixes <http://webkit.org/b/42749> InjectedBundle's build
  18911. configurations are screwy
  18912. Reviewed by Darin Adler.
  18913. * WebKitTestRunner/InjectedBundle/win/InjectedBundle.vcproj: Added
  18914. debug_internal.vsprops and debug_all.vsprops to the Debug_All
  18915. configuration. Added a Debug_Internal configuration.
  18916. * WebKitTestRunner/WebKitTestRunner.sln: Build the Debug_Internal
  18917. variant of InjectedBundle when we're using the Debug_Internal solution
  18918. configuration.
  18919. 2010-07-21 Adam Roben <aroben@apple.com>
  18920. Move InjectedBundle's settings to a vsprops file
  18921. This will make it easier to change settings for all configurations,
  18922. and to add new configurations.
  18923. Fixes <http://webkit.org/b/42748> InjectedBundle should use vsprops
  18924. files
  18925. Reviewed by Darin Adler.
  18926. * WebKitTestRunner/Configurations/InjectedBundleCommon.vsprops: Added.
  18927. Moved settings here...
  18928. * WebKitTestRunner/InjectedBundle/win/InjectedBundle.vcproj: ...from
  18929. here.
  18930. 2010-07-21 Adam Roben <aroben@apple.com>
  18931. Give MiniBrowser our standard set of configurations (minus the *_Cairo
  18932. variants)
  18933. MiniBrowser already had a configuration called "Release", but it was
  18934. using mostly the same settings as Debug. And its Debug configuration
  18935. was using the settings that Debug_Internal should be using.
  18936. Fixes <http://webkit.org/b/42746> MiniBrowser's build configurations
  18937. are screwy
  18938. Reviewed by Darin Adler.
  18939. * MiniBrowser/MiniBrowser.vcproj: Removed debug_internal.vsprops from
  18940. the Debug configuration. Remove debug.vsprops and
  18941. debug_internal.vsprops from the Release configuration and replace them
  18942. with release.vsprops. Added Debug_Internal and Debug_All
  18943. configurations.
  18944. 2010-07-21 Adam Roben <aroben@apple.com>
  18945. Move MiniBrowser's settings to a vsprops file
  18946. This will make it easier to change settings for all configurations,
  18947. and to add new configurations.
  18948. MiniBrowser should use vsprops files
  18949. https://bugs.webkit.org/show_bug.cgi?id=42745
  18950. Reviewed by Darin Adler.
  18951. * MiniBrowser/Configurations/MiniBrowserCommon.vsprops: Added. Moved
  18952. settings here...
  18953. * MiniBrowser/MiniBrowser.vcproj: ...from here.
  18954. 2010-07-21 Adam Roben <aroben@apple.com>
  18955. Fix compiler warnings when building MiniBrowser
  18956. Also cleaned up the .vcproj a bit.
  18957. Fixes <http://webkit.org/b/42743>.
  18958. Reviewed by Darin Adler.
  18959. * MiniBrowser/MiniBrowser.vcproj: Removed all settings that are
  18960. already defined in .vsprops files. This also fixes a warning about
  18961. /EDITANDCONTINUE being incompatible with /SAFESEH.
  18962. * MiniBrowser/win/MiniBrowser.rc: Replaced afxres.h with winresrc.h so
  18963. that we stop getting warnings about ID_FILE_OPEN and ID_FILE_CLOSE
  18964. being redefined. (I think this will also get us closer to building
  18965. with VC++ Express.)
  18966. 2010-07-20 Sam Weinig <sam@webkit.org>
  18967. Reviewed by Jon Honeycutt.
  18968. Fix obvious typo.
  18969. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  18970. (WTR::InjectedBundlePage::setStatusbarText): Need to call ->data() to actually get the string value.
  18971. 2010-07-20 Tony Chang <tony@chromium.org>
  18972. Reviewed by Kent Tamura.
  18973. [chromium] by default, dumpAsText should disable pixel results
  18974. https://bugs.webkit.org/show_bug.cgi?id=42715
  18975. * DumpRenderTree/chromium/LayoutTestController.cpp:
  18976. (LayoutTestController::dumpAsText): disable pixel results, but allow JS to override
  18977. 2010-07-20 Adam Roben <aroben@apple.com>
  18978. Windows build fix
  18979. * MiniBrowser/MiniBrowser.vcproj: Link against the new, shiny
  18980. WebKit.lib instead of the old, dusty WebKit2.lib.
  18981. 2010-07-20 Adam Roben <aroben@apple.com>
  18982. Stop linking WebKitTestRunner against getopt
  18983. Use of getopt was removed in r63700.
  18984. Fixes <http://webkit.org/b/42714> WebKitTestRunner links against
  18985. getopt, but doesn't need to
  18986. Reviewed by Sam Weinig.
  18987. * WebKitTestRunner/win/WebKitTestRunner.vcproj: Removed getopt.lib
  18988. from all configurations.
  18989. 2010-07-20 Adam Roben <aroben@apple.com>
  18990. Make run-webkit-tests --webkit-test-runner "work" on Windows
  18991. WebKitTestRunner crashes on launch, but at least the scripts build and
  18992. launch it!
  18993. Fixes <http://webkit.org/b/42709> run-webkit-tests
  18994. --webkit-test-runner bails with an error on Windows
  18995. Reviewed by Anders Carlsson.
  18996. * Scripts/build-webkittestrunner: Build WebKitTestRunner.sln on
  18997. Windows.
  18998. * WebKitTestRunner/WebKitTestRunner.sln: Added. Contains the following
  18999. projects (from first-built to last-built): FindSafari, ImageDiff,
  19000. InjectedBundleGenerated, InjectedBundle, WebKitTestRunner.
  19001. 2010-07-20 Adam Roben <aroben@apple.com>
  19002. Change build-webkit back to building WebKit.sln on Windows
  19003. WebKit.sln builds all the same projects as WebKit2.sln, and the latter
  19004. is being removed.
  19005. Rubber-stamped in advance by Steve Falkenburg.
  19006. * Scripts/build-webkit:
  19007. 2010-07-20 Adam Roben <aroben@apple.com>
  19008. Windows build fix
  19009. * MiniBrowser/win/BrowserWindow.cpp: Added missing #include.
  19010. 2010-07-20 Joseph Pecoraro <joepeck@webkit.org>
  19011. Reviewed by Geoffrey Garen.
  19012. WebScriptObject Should Allow Safely Checking For Key Existence
  19013. https://bugs.webkit.org/show_bug.cgi?id=42613
  19014. Normal ObjCController workflow for a WebScriptObject test.
  19015. * DumpRenderTree/mac/ObjCController.m:
  19016. (+[ObjCController isSelectorExcludedFromWebScript:]):
  19017. (+[ObjCController webScriptNameForSelector:]):
  19018. (-[ObjCController testHasWebScriptKey:]):
  19019. 2010-07-20 Chris Marrin <cmarrin@apple.com>
  19020. Reviewed by Simon Fraser.
  19021. https://bugs.webkit.org/show_bug.cgi?id=42118
  19022. Disable compositing/webgl tests if WebGL is not enabled
  19023. * Scripts/old-run-webkit-tests:
  19024. 2010-07-20 Anton Muhin <antonm@chromium.org>
  19025. Reviewed by Darin Adler.
  19026. Print additional information about exception if failed to connect to apache (in verbose mode).
  19027. https://bugs.webkit.org/show_bug.cgi?id=42627
  19028. * Scripts/webkitpy/layout_tests/port/http_server_base.py:
  19029. 2010-07-20 Tony Chang <tony@chromium.org>
  19030. Reviewed by David Levin.
  19031. [chromium] only pass --force to gclient sync if explicitly stated
  19032. https://bugs.webkit.org/show_bug.cgi?id=42581
  19033. * BuildSlaveSupport/build.webkit.org-config/master.cfg: bots should
  19034. always pass --force since it's hard to do manual cleanups
  19035. * Scripts/update-webkit-chromium: only pass --force if --force is
  19036. passed in
  19037. 2010-07-19 Anders Carlsson <andersca@apple.com>
  19038. Fix build.
  19039. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
  19040. Paths of generated files should be relative to the build product.
  19041. 2010-07-19 Daniel Bates <dbates@rim.com>
  19042. Reviewed by Adam Roben.
  19043. [Win] Implement LayoutTestController::markerTextForListItem()
  19044. https://bugs.webkit.org/show_bug.cgi?id=37930
  19045. Implements DRT support for markerTextForListItem in the Windows port.
  19046. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  19047. (LayoutTestController::markerTextForListItem): Implemented.
  19048. 2010-07-19 Jessie Berlin <jberlin@apple.com>
  19049. Windows build fix. Unreviewed.
  19050. * WebKitTestRunner/win/TestControllerWin.cpp:
  19051. (WTR::TestController::initializeTestPluginPath):
  19052. 2010-07-19 Sam Weinig <sam@webkit.org>
  19053. Reviewed by Jon Honeycutt.
  19054. Remove dependency on getopt from WebKitTestRunner.
  19055. - Simplify options parsing and eliminate unused options.
  19056. * WebKitTestRunner/TestController.cpp:
  19057. (WTR::TestController::TestController):
  19058. (WTR::TestController::initialize):
  19059. * WebKitTestRunner/TestController.h:
  19060. (WTR::TestController::testPluginPath):
  19061. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
  19062. * WebKitTestRunner/mac/TestControllerMac.mm:
  19063. (WTR::TestController::platformInitialize):
  19064. (WTR::TestController::initializeTestPluginPath):
  19065. * WebKitTestRunner/win/TestControllerWin.cpp:
  19066. (WTR::TestController::platformInitialize):
  19067. (WTR::TestController::initializeTestPluginPath):
  19068. 2010-07-19 Diego Gonzalez <diegohcg@webkit.org>
  19069. Reviewed by Antonio Gomes.
  19070. [Qt] MiniBrowser: Progress indication at address bar
  19071. https://bugs.webkit.org/show_bug.cgi?id=42565
  19072. Make possible to see load progress at address bar based on
  19073. QtTestBrowser solution
  19074. * MiniBrowser/qt/BrowserWindow.cpp:
  19075. (BrowserWindow::BrowserWindow):
  19076. (BrowserWindow::loadProgress):
  19077. * MiniBrowser/qt/BrowserWindow.h:
  19078. 2010-07-19 Diego Gonzalez <diegohcg@webkit.org>
  19079. Reviewed by Antonio Gomes.
  19080. [Qt] Add MiniBrowser features: urlChanged, titleChanged and from user input load
  19081. https://bugs.webkit.org/show_bug.cgi?id=42564
  19082. * MiniBrowser/qt/BrowserWindow.cpp:
  19083. (BrowserView::load):
  19084. (BrowserWindow::BrowserWindow):
  19085. (BrowserWindow::titleChanged):
  19086. (BrowserWindow::urlChanged):
  19087. * MiniBrowser/qt/BrowserWindow.h:
  19088. 2010-07-19 Sam Weinig <weinig@apple.com>
  19089. Reviewed by Adam Roben.
  19090. Patch for https://bugs.webkit.org/show_bug.cgi?id=42532
  19091. Auto-generate the JS bindings for WebKitTestRunner's script objects.
  19092. * WebKitTestRunner/Configurations/Base.xcconfig:
  19093. * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
  19094. * WebKitTestRunner/DerivedSources.make: Added.
  19095. * WebKitTestRunner/ForwardingHeaders/wtf/GetPtr.h: Added.
  19096. * WebKitTestRunner/InjectedBundle/Bindings: Added.
  19097. * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm: Added.
  19098. * WebKitTestRunner/InjectedBundle/Bindings/JSWrappable.h: Added.
  19099. (WTR::JSWrappable::~JSWrappable):
  19100. * WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.cpp: Added.
  19101. (WTR::JSWrapper::wrap):
  19102. (WTR::JSWrapper::unwrap):
  19103. (WTR::unwrapObject):
  19104. (WTR::JSWrapper::initialize):
  19105. (WTR::JSWrapper::finalize):
  19106. * WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.h: Added.
  19107. (WTR::toJS):
  19108. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: Added.
  19109. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  19110. (WTR::InjectedBundlePage::dump):
  19111. (WTR::InjectedBundlePage::setStatusbarText):
  19112. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  19113. (WTR::LayoutTestController::wrapperClass):
  19114. (WTR::LayoutTestController::waitUntilDone):
  19115. (WTR::LayoutTestController::makeWindowObject):
  19116. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  19117. (WTR::LayoutTestController::shouldDumpAsText):
  19118. (WTR::LayoutTestController::dumpAsText):
  19119. (WTR::LayoutTestController::shouldDumpStatusCallbacks):
  19120. (WTR::LayoutTestController::dumpStatusCallbacks):
  19121. (WTR::LayoutTestController::waitToDump):
  19122. (WTR::LayoutTestController::testRepaint):
  19123. (WTR::LayoutTestController::repaintSweepHorizontally):
  19124. * WebKitTestRunner/InjectedBundle/win/InjectedBundle.vcproj:
  19125. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
  19126. * WebKitTestRunner/win/InjectedBundleGenerated.vcproj: Added.
  19127. * WebKitTestRunner/win/build-generated-files.sh: Added.
  19128. 2010-07-19 Mark Rowe <mrowe@apple.com>
  19129. Clean up the buildbot configuration a little.
  19130. * BuildSlaveSupport/build.webkit.org-config/config.json:
  19131. 2010-07-19 Chris Marrin <cmarrin@apple.com>
  19132. Reviewed by Darin Adler.
  19133. https://bugs.webkit.org/show_bug.cgi?id=42118
  19134. Disable WebGL on Leopard for now.
  19135. LayoutTests fail on some graphics hardware on Leopard because one of the features we use,
  19136. GL_ARB_framebuffer_object, is not universally available in Leopard like it is in
  19137. SnowLeopard. This will allow LayoutTests to pass on Leopard until we add logic to use a
  19138. software OpenGL driver on machines without this support.
  19139. * Scripts/build-webkit:
  19140. 2010-07-19 Simon Fraser <simon.fraser@apple.com>
  19141. Reviewed by Brady Eidson.
  19142. Fix MiniBrowser to update URL as you browse
  19143. https://bugs.webkit.org/show_bug.cgi?id=42591
  19144. Hook up various loading notifications to update the URL bar in MiniBrowser.
  19145. * MiniBrowser/mac/BrowserWindowController.m:
  19146. (_didStartProvisionalLoadForFrame):
  19147. (_didReceiveServerRedirectForProvisionalLoadForFrame):
  19148. (_didFailProvisionalLoadWithErrorForFrame):
  19149. (_didCommitLoadForFrame):
  19150. (_didFailLoadWithErrorForFrame):
  19151. (-[BrowserWindowController updateProvisionalURLForFrame:]):
  19152. (-[BrowserWindowController didStartProvisionalLoadForFrame:]):
  19153. (-[BrowserWindowController didReceiveServerRedirectForProvisionalLoadForFrame:]):
  19154. (-[BrowserWindowController didFailProvisionalLoadWithErrorForFrame:]):
  19155. (-[BrowserWindowController didFailLoadWithErrorForFrame:]):
  19156. (-[BrowserWindowController didCommitLoadForFrame:]):
  19157. 2010-07-19 Alexey Proskuryakov <ap@apple.com>
  19158. Reviewed by Darin Adler.
  19159. https://bugs.webkit.org/show_bug.cgi?id=42586
  19160. Log all canceled authentication attempts in DumpRenderTree
  19161. * DumpRenderTree/mac/ResourceLoadDelegate.mm:
  19162. (-[ResourceLoadDelegate webView:resource:didReceiveAuthenticationChallenge:fromDataSource:]):
  19163. * DumpRenderTree/win/ResourceLoadDelegate.cpp:
  19164. (ResourceLoadDelegate::didReceiveAuthenticationChallenge):
  19165. It's important to know whether an auth sheet appeared. Added logging to "no preset credentials"
  19166. case.
  19167. 2010-07-19 Sheriff Bot <webkit.review.bot@gmail.com>
  19168. Unreviewed, rolling out r63671.
  19169. http://trac.webkit.org/changeset/63671
  19170. https://bugs.webkit.org/show_bug.cgi?id=42575
  19171. broke windows (Requested by weinig on #webkit).
  19172. * WebKitTestRunner/Configurations/Base.xcconfig:
  19173. * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
  19174. * WebKitTestRunner/DerivedSources.make: Removed.
  19175. * WebKitTestRunner/ForwardingHeaders/wtf/GetPtr.h: Removed.
  19176. * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm: Removed.
  19177. * WebKitTestRunner/InjectedBundle/Bindings/JSWrappable.h: Removed.
  19178. * WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.cpp: Removed.
  19179. * WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.h: Removed.
  19180. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: Removed.
  19181. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  19182. (WTR::InjectedBundlePage::dump):
  19183. (WTR::InjectedBundlePage::setStatusbarText):
  19184. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  19185. (WTR::LayoutTestController::setWaitToDump):
  19186. (WTR::displayCallback):
  19187. (WTR::dumpAsTextCallback):
  19188. (WTR::dumpStatusCallbacksCallback):
  19189. (WTR::waitUntilDoneCallback):
  19190. (WTR::notifyDoneCallback):
  19191. (WTR::numberOfActiveAnimationsCallback):
  19192. (WTR::pauseAnimationAtTimeOnElementWithIdCallback):
  19193. (WTR::repaintSweepHorizontallyCallback):
  19194. (WTR::testRepaintCallback):
  19195. (WTR::layoutTestControllerObjectFinalize):
  19196. (WTR::LayoutTestController::makeWindowObject):
  19197. (WTR::LayoutTestController::getJSClass):
  19198. (WTR::LayoutTestController::staticFunctions):
  19199. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  19200. (WTR::LayoutTestController::dumpAsText):
  19201. (WTR::LayoutTestController::setDumpAsText):
  19202. (WTR::LayoutTestController::dumpStatusCallbacks):
  19203. (WTR::LayoutTestController::setDumpStatusCallbacks):
  19204. (WTR::LayoutTestController::setTestRepaint):
  19205. (WTR::LayoutTestController::setTestRepaintSweepHorizontally):
  19206. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
  19207. 2010-07-19 Sam Weinig <sam@webkit.org>
  19208. Reviewed by Adam Roben.
  19209. Patch for https://bugs.webkit.org/show_bug.cgi?id=42532
  19210. Auto-generate the JS bindings for WebKitTestRunner's script objects.
  19211. * WebKitTestRunner/Configurations/Base.xcconfig:
  19212. * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
  19213. * WebKitTestRunner/DerivedSources.make: Added.
  19214. * WebKitTestRunner/ForwardingHeaders/wtf/GetPtr.h: Added.
  19215. * WebKitTestRunner/InjectedBundle/Bindings: Added.
  19216. * WebKitTestRunner/InjectedBundle/Bindings/CodeGeneratorTestRunner.pm: Added.
  19217. * WebKitTestRunner/InjectedBundle/Bindings/JSWrappable.h: Added.
  19218. (WTR::JSWrappable::~JSWrappable):
  19219. * WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.cpp: Added.
  19220. (WTR::JSWrapper::wrap):
  19221. (WTR::JSWrapper::unwrap):
  19222. (WTR::unwrapObject):
  19223. (WTR::JSWrapper::initialize):
  19224. (WTR::JSWrapper::finalize):
  19225. * WebKitTestRunner/InjectedBundle/Bindings/JSWrapper.h: Added.
  19226. (WTR::toJS):
  19227. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: Added.
  19228. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  19229. (WTR::InjectedBundlePage::dump):
  19230. (WTR::InjectedBundlePage::setStatusbarText):
  19231. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  19232. (WTR::LayoutTestController::wrapperClass):
  19233. (WTR::LayoutTestController::waitUntilDone):
  19234. (WTR::LayoutTestController::makeWindowObject):
  19235. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  19236. (WTR::LayoutTestController::shouldDumpAsText):
  19237. (WTR::LayoutTestController::dumpAsText):
  19238. (WTR::LayoutTestController::shouldDumpStatusCallbacks):
  19239. (WTR::LayoutTestController::dumpStatusCallbacks):
  19240. (WTR::LayoutTestController::waitToDump):
  19241. (WTR::LayoutTestController::testRepaint):
  19242. (WTR::LayoutTestController::repaintSweepHorizontally):
  19243. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
  19244. 2010-07-19 Tony Chang <tony@chromium.org>
  19245. Reviewed by David Levin.
  19246. fix chromium linux compile on ubuntu maverick
  19247. https://bugs.webkit.org/show_bug.cgi?id=42528
  19248. * Scripts/webkitdirs.pm: add a chomp to eat a newline that breaks the make command line
  19249. 2010-07-19 Adam Roben <aroben@apple.com>
  19250. When dumping a response's MIME type, print its URL's last path
  19251. component rather than its suitable-for-test-result form
  19252. This matches the Mac behavior.
  19253. Fixes <http://webkit.org/b/42276>
  19254. http/tests/loading/preload-slow-loading.php and
  19255. http/tests/mime/uppercase-mime-type.html fail on Windows
  19256. Reviewed by Anders Carlsson.
  19257. * DumpRenderTree/win/DumpRenderTree.cpp:
  19258. (urlSuitableForTestResult): Moved code to actually extract the last
  19259. path component from here...
  19260. (lastPathComponent): ...to here.
  19261. * DumpRenderTree/win/DumpRenderTreeWin.h: Added lastPathComponent.
  19262. * DumpRenderTree/win/ResourceLoadDelegate.cpp:
  19263. (ResourceLoadDelegate::didReceiveResponse): Use the URL's last path
  19264. component, rather than its suitable-for-test-result form, to match
  19265. Mac.
  19266. 2010-07-19 Anders carlsson <andersca@apple.com>
  19267. Reviewed by Adam Roben.
  19268. WebKit2 does not have application cache
  19269. https://bugs.webkit.org/show_bug.cgi?id=42552
  19270. * WebKitTestRunner/TestInvocation.cpp:
  19271. (WTR::TestInvocation::resetPreferencesToConsistentValues):
  19272. Set up default preferences. Right now just enables the web application cache.
  19273. (WTR::TestInvocation::invoke):
  19274. Call resetPreferencesToConsistentValues.
  19275. * WebKitTestRunner/TestInvocation.h:
  19276. 2010-07-19 Kent Tamura <tkent@chromium.org>
  19277. Reviewed by Adam Roben.
  19278. Fix NewRunWebKitTests to work on Windows.
  19279. https://bugs.webkit.org/show_bug.cgi?id=41180
  19280. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  19281. Specifying python explicitly.
  19282. 2010-07-18 Anders Carlsson <andersca@apple.com>
  19283. Reviewed by Dan Bernstein.
  19284. Add dumping of statusbar text to WebKitTestRunner
  19285. https://bugs.webkit.org/show_bug.cgi?id=42516
  19286. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  19287. (WTR::InjectedBundlePage::InjectedBundlePage):
  19288. (WTR::InjectedBundlePage::_setStatusbarText):
  19289. (WTR::InjectedBundlePage::setStatusbarText):
  19290. Dump the statusbar text.
  19291. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  19292. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  19293. (WTR::LayoutTestController::LayoutTestController):
  19294. Initialize m_dumpStatusCallbacks to false.
  19295. (WTR::dumpStatusCallbacksCallback):
  19296. Implement JSC callback.
  19297. (WTR::LayoutTestController::staticFunctions):
  19298. Add dumpStatusCallbacks.
  19299. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  19300. (WTR::LayoutTestController::dumpStatusCallbacks):
  19301. (WTR::LayoutTestController::setDumpStatusCallbacks):
  19302. Add setter and getter for m_dumpStatusCallbacks.
  19303. 2010-07-17 Anders Carlsson <andersca@apple.com>
  19304. Reviewed by Maciej Stachowiak.
  19305. * WebKitTestRunner/TestController.cpp:
  19306. (WTR::TestController::initialize):
  19307. Get the test plug-in path and set it on the context.
  19308. * WebKitTestRunner/TestController.h:
  19309. * WebKitTestRunner/mac/TestControllerMac.mm:
  19310. (WTR::TestController::initializeInjectedBundlePath):
  19311. Simplify this code by using NSBundle.
  19312. (WTR::TestController::testPluginPath):
  19313. Return the test plug-in path.
  19314. * WebKitTestRunner/win/TestControllerWin.cpp:
  19315. (WTR::TestController::testPluginPath):
  19316. Ditto.
  19317. 2010-07-16 Adam Barth <abarth@webkit.org>
  19318. Reviewed by Eric Seidel.
  19319. Teach webkitpy about queues.webkit.org
  19320. https://bugs.webkit.org/show_bug.cgi?id=42492
  19321. * Scripts/webkitpy/common/net/statusserver.py:
  19322. 2010-07-16 Ada Chan <adachan@apple.com>
  19323. Reviewed by Alice Liu.
  19324. Fix Windows build.
  19325. * WebKitTestRunner/InjectedBundle/win/InjectedBundle.vcproj:
  19326. 2010-07-16 Sam Weinig <sam@webkit.org>
  19327. Reviewed by Anders Carlsson.
  19328. Fix for https://bugs.webkit.org/show_bug.cgi?id=42482
  19329. <rdar://problem/8197701>
  19330. Add notification of when the BackForwardList changes
  19331. to aid invalidation of Back/Forward related UI elements.
  19332. * MiniBrowser/mac/BrowserWindowController.m:
  19333. (_didStartProvisionalLoadForFrame):
  19334. (_didCommitLoadForFrame):
  19335. (_didFailLoadWithErrorForFrame):
  19336. (_didChangeBackForwardList):
  19337. (-[BrowserWindowController awakeFromNib]):
  19338. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
  19339. 2010-07-16 Kent Tamura <tkent@chromium.org>
  19340. Reviewed by Darin Fisher.
  19341. [Chromium] <input type=number> UI implementation for Windows
  19342. https://bugs.webkit.org/show_bug.cgi?id=42259
  19343. * DumpRenderTree/chromium/WebThemeEngineDRT.cpp:
  19344. (WebThemeEngineDRT::paintSpinButton):
  19345. Added. Check state consistency and use existing arrow painting code.
  19346. * DumpRenderTree/chromium/WebThemeEngineDRT.h:
  19347. 2010-07-16 Alice Liu <alice.liu@apple.com>
  19348. Reviewed by Sam Weinig.
  19349. https://bugs.webkit.org/show_bug.cgi?id=42430
  19350. Make WebKitTestRunner on Windows actually load and run a test
  19351. * WebKitTestRunner/InjectedBundle/InjectedBundleMain.cpp: Export WKBundleInitialize.
  19352. (WKBundleInitialize):
  19353. * WebKitTestRunner/InjectedBundle/win/InjectedBundle.vcproj: Added. Output is a dll.
  19354. * WebKitTestRunner/TestInvocation.cpp: Create a Windows-style path on Windows
  19355. (WTR::createWKURL):
  19356. * WebKitTestRunner/WebKitTestRunnerPrefix.h: Change check for Windows platform to match
  19357. other existing checks, and avoid including Platform.h
  19358. * WebKitTestRunner/win/PlatformWebViewWin.cpp:
  19359. (WTR::registerWindowClass): Added.
  19360. (WTR::PlatformWebView::PlatformWebView): Implemented.
  19361. (WTR::PlatformWebView::~PlatformWebView): Implemented.
  19362. (WTR::PlatformWebView::page): Implemented.
  19363. * WebKitTestRunner/win/TestControllerWin.cpp:
  19364. (WTR::TestController::initializeInjectedBundlePath): Implemented. Provide build
  19365. configuration specific path to InjectedBundle.dll.
  19366. * WebKitTestRunner/win/TestInvocationWin.cpp:
  19367. (WTR::TestInvocation::runUntil): Implemented.
  19368. * WebKitTestRunner/win/WebKitTestRunner.sln: Added InjectedBundle project.
  19369. * WebKitTestRunner/win/WebKitTestRunner.vcproj: Cleaned up unnecessary dependencies.
  19370. 2010-07-16 Brady Eidson <beidson@apple.com>
  19371. Reviewed by Sam Weinig.
  19372. Make revalidation of back/forward work a little better with page loads
  19373. https://bugs.webkit.org/show_bug.cgi?id=42470
  19374. * MiniBrowser/mac/BrowserWindow.xib:
  19375. * MiniBrowser/mac/BrowserWindowController.h:
  19376. * MiniBrowser/mac/BrowserWindowController.m:
  19377. (-[BrowserWindowController validateToolbar]):
  19378. (_didStartProvisionalLoadForFrame):
  19379. (_didCommitLoadForFrame):
  19380. (_didFailLoadWithErrorForFrame):
  19381. 2010-07-16 Nikolas Zimmermann <nzimmermann@rim.com>
  19382. Reviewed by Dirk Schulze.
  19383. Add possibility to dumpAsText and generate a pixel test result
  19384. https://bugs.webkit.org/show_bug.cgi?id=42374
  19385. Add optional parameter to setDumpAsText() to allow generating a pixel test result even if dumpAsText mode.
  19386. setDumpAsText(true) will also generate a pixel test result now, when running run-webkit-tests --pixel-tests.
  19387. This is needed for the svg/dynamic-updates tests, which don't want render tree dumps but text dumps + a pixel test result.
  19388. At some point DRT changed to not generate pixel test results when using dumpAsText - which makes sense, but breaks the svg/dynamic-updates test.
  19389. Implemented for all DRT platforms, except Qt, as it's not clear how arguments to functions like "setDumpAsText" are handled.
  19390. (Qt always dumps pixel tests when using --pixel-tests mode, so it does not break anything)
  19391. * DumpRenderTree/LayoutTestController.cpp:
  19392. (LayoutTestController::LayoutTestController):
  19393. (dumpAsTextAndPixelsCallback):
  19394. (LayoutTestController::staticFunctions):
  19395. * DumpRenderTree/LayoutTestController.h:
  19396. (LayoutTestController::dumpAsTextAndPixels):
  19397. (LayoutTestController::setDumpAsTextAndPixels):
  19398. * DumpRenderTree/chromium/LayoutTestController.cpp:
  19399. (LayoutTestController::LayoutTestController):
  19400. (LayoutTestController::dumpAsTextAndPixels):
  19401. (LayoutTestController::reset):
  19402. * DumpRenderTree/chromium/LayoutTestController.h:
  19403. (LayoutTestController::shouldDumpAsTextAndPixels):
  19404. * DumpRenderTree/chromium/TestShell.cpp:
  19405. (TestShell::dump):
  19406. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  19407. (dump):
  19408. * DumpRenderTree/mac/DumpRenderTree.mm:
  19409. (dump):
  19410. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  19411. (WebCore::DumpRenderTree::dump):
  19412. * DumpRenderTree/win/DumpRenderTree.cpp:
  19413. (dump):
  19414. * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
  19415. (dump):
  19416. 2010-07-16 Kent Hansen <kent.hansen@nokia.com>
  19417. Unreviewed. Adding myself as committer.
  19418. * Scripts/webkitpy/common/config/committers.py:
  19419. 2010-07-16 Shinichiro Hamaji <hamaji@chromium.org>
  19420. Another uneviewed attempt to fix build.
  19421. Printing test results differ between machines, we should use ImageDiff instead
  19422. https://bugs.webkit.org/show_bug.cgi?id=20011
  19423. * DumpRenderTree/mac/PixelDumpSupportMac.mm:
  19424. (createPagedBitmapContext):
  19425. 2010-07-16 Shinichiro Hamaji <hamaji@chromium.org>
  19426. Unreviewed tiger build fix.
  19427. Printing test results differ between machines, we should use ImageDiff instead
  19428. https://bugs.webkit.org/show_bug.cgi?id=20011
  19429. * DumpRenderTree/mac/PixelDumpSupportMac.mm:
  19430. (createBitmapContext):
  19431. (createBitmapContextFromWebView):
  19432. 2010-07-15 Shinichiro Hamaji <hamaji@chromium.org>
  19433. Unreviewed build fix.
  19434. Printing test results differ between machines, we should use ImageDiff instead
  19435. https://bugs.webkit.org/show_bug.cgi?id=20011
  19436. * DumpRenderTree/PixelDumpSupport.cpp:
  19437. (dumpWebViewAsPixelsAndCompareWithExpected):
  19438. 2010-07-15 Shinichiro Hamaji <hamaji@chromium.org>
  19439. Reviewed by Darin Adler.
  19440. Printing test results differ between machines, we should use ImageDiff instead
  19441. https://bugs.webkit.org/show_bug.cgi?id=20011
  19442. * DumpRenderTree/PixelDumpSupport.cpp:
  19443. (dumpWebViewAsPixelsAndCompareWithExpected):
  19444. * DumpRenderTree/PixelDumpSupport.h:
  19445. * DumpRenderTree/mac/PixelDumpSupportMac.mm:
  19446. (createBitmapContext): This function was added to share bitmap context creation code.
  19447. (createBitmapContextFromWebView):
  19448. (createPagedBitmapContext):
  19449. 2010-07-15 Yuta Kitamura <yutak@chromium.org>
  19450. Reviewed by Kent Tamura.
  19451. Pull in pywebsocket-0.5.1
  19452. https://bugs.webkit.org/show_bug.cgi?id=42353
  19453. pywebsocket-0.5.1 contains a small bug fix (*) that should fix a worker test
  19454. in Chromium. There is no other functional change.
  19455. (*) http://code.google.com/p/pywebsocket/source/detail?r=265
  19456. * Scripts/webkitpy/thirdparty/__init__.py: Bump pywebsocket version to 0.5.1.
  19457. 2010-07-15 Brady Eidson <beidson@apple.com>
  19458. Reviewed by Sam Weinig.
  19459. Add toolbar and toolbar item validation for MiniBrowser
  19460. https://bugs.webkit.org/show_bug.cgi?id=42422
  19461. * MiniBrowser/MBToolbarItem.h: Added.
  19462. * MiniBrowser/MBToolbarItem.m: Added.
  19463. (-[MBToolbarItem validate]):
  19464. * MiniBrowser/mac/BrowserWindowController.m:
  19465. (-[BrowserWindowController validateUserInterfaceItem:]):
  19466. * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
  19467. * MiniBrowser/mac/BrowserWindow.xib:
  19468. 2010-07-15 Victor Wang <victorw@chromium.org>
  19469. Unreviewed, add victorw irc nickname to committer list.
  19470. * Scripts/webkitpy/common/config/committers.py:
  19471. 2010-07-15 Adam Roben <aroben@apple.com>
  19472. Make killing Apache more reliable (on both Mac and Windows)
  19473. We previously had two ways of determining whether we had succeeded in
  19474. killing Apache:
  19475. 1) checking the return value of kill(0, $apachePID)
  19476. 2) checking whether Apache's PID file still exists
  19477. On Cygwin, Apache doesn't always delete its PID file when it exits,
  19478. making (2) unreliable. We unfortunately misdiagnosed this as an
  19479. impotency of Perl's kill function, which led to r63177 and r63355.
  19480. Now that we know that the real problem is that Apache doesn't always
  19481. delete its PID file on Windows, we can make a much better fix: always
  19482. use method (1) to determine whether we've killed Apache.
  19483. Fixes <http://webkit.org/b/42415> Killing Apache is unreliable,
  19484. leading to regression test failures (and general annoyance).
  19485. Reviewed by Anders Carlsson.
  19486. * Scripts/webkitperl/httpd.pm:
  19487. (openHTTPD): Moved killing code from here to killHTTPD. Added a call
  19488. to delete the PID file in case Apache doesn't do this itself when
  19489. killed. Our later logic relies on the PID file being deleted after
  19490. this point.
  19491. (closeHTTPD): Removed killing logic and changed to just call killHTTPD
  19492. instead. killHTTPD's logic is a bit different from the logic we had
  19493. here, for the reasons stated above.
  19494. (killHTTPD): Added. Code came from openHTTPD.
  19495. (handleInterrupt): Bonus fix for Mac: don't hang when pressing Ctrl-C!
  19496. On Mac, don't try to kill Apache when we receive a signal, as Apache
  19497. will already have been killed by this point (though for some reason
  19498. this isn't detected by our killing logic in killHTTPD). On Cygwin, we
  19499. still need to kill Apache manually.
  19500. 2010-07-15 Sam Weinig <sam@webkit.org>
  19501. Reviewed by Anders Carlsson.
  19502. Patch for https://bugs.webkit.org/show_bug.cgi?id=42399
  19503. Update MiniBrowser for WKFrameNavigationType
  19504. * MiniBrowser/mac/BrowserWindowController.m:
  19505. (_decidePolicyForNavigationAction):
  19506. (_decidePolicyForNewWindowAction):
  19507. 2010-07-15 Stephanie Lewis <slewis@apple.com>
  19508. Reviewed by Geoff Garen.
  19509. http://bugs.webkit.org/show_bug.cgi?id=42406
  19510. Make SunSpider work better with roots.
  19511. * Scripts/sunspider-compare-results: fix argument bug
  19512. * Scripts/webkitdirs.pm: look inside JavaScriptCore if jsc isn't top-level.
  19513. 2010-07-15 Brady Eidson <beidson@apple.com>
  19514. Reviewed by Sam Weinig.
  19515. Hook up back/forward in MiniBrowser
  19516. https://bugs.webkit.org/show_bug.cgi?id=42397
  19517. * MiniBrowser/mac/BrowserWindow.xib:
  19518. * MiniBrowser/mac/BrowserWindowController.h:
  19519. * MiniBrowser/mac/BrowserWindowController.m:
  19520. (-[BrowserWindowController goBack:]):
  19521. (-[BrowserWindowController goForward:]):
  19522. 2010-07-15 Daniel Bates <dbates@rim.com>
  19523. Reviewed by Darin Adler.
  19524. [Mac] Implement LayoutTestController::markerTextForListItem()
  19525. https://bugs.webkit.org/show_bug.cgi?id=37929
  19526. Implements DRT support for markerTextForListItem in the Mac port.
  19527. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  19528. (LayoutTestController::markerTextForListItem): Implemented.
  19529. 2010-07-15 Adam Barth <abarth@webkit.org>
  19530. Unreviewed.
  19531. Update the port names to be more specific. Before this patch,
  19532. port-specific results for Mac would end up in the wrong place.
  19533. * Scripts/webkitpy/tool/commands/rebaseline.py:
  19534. * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
  19535. 2010-07-14 Eric Seidel <eric@webkit.org>
  19536. Reviewed by Adam Barth.
  19537. WebKit needs a rebaselining tool (finally)
  19538. https://bugs.webkit.org/show_bug.cgi?id=42339
  19539. This is a very basic rebaselining tool. It's not
  19540. quite as fancy as chromium's as it will only handle
  19541. updating failing results. It cannot yet handle adding new
  19542. results, or updating results where the results should not
  19543. replace existing results.
  19544. * Scripts/webkitpy/layout_tests/port/base.py:
  19545. * Scripts/webkitpy/tool/commands/__init__.py:
  19546. * Scripts/webkitpy/tool/commands/queries.py:
  19547. * Scripts/webkitpy/tool/commands/rebaseline.py: Added.
  19548. * Scripts/webkitpy/tool/commands/rebaseline_unittest.py: Added.
  19549. 2010-07-14 Sheriff Bot <webkit.review.bot@gmail.com>
  19550. Unreviewed, rolling out r63352.
  19551. http://trac.webkit.org/changeset/63352
  19552. https://bugs.webkit.org/show_bug.cgi?id=42341
  19553. Broke plugin-initiate-popup-window.html and plugin-javascript-
  19554. access.html on snow leopard (Requested by abarth on #webkit).
  19555. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
  19556. (pluginAllocate):
  19557. * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
  19558. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  19559. (NPP_New):
  19560. (handleEventCarbon):
  19561. (handleEventCocoa):
  19562. 2010-07-14 Maciej Stachowiak <mjs@apple.com>
  19563. Reviewed by Mark Rowe.
  19564. Lower WebKitTestRunner notifyDone timeout to 6.0 for now, to make it easier to grind through the failures.
  19565. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  19566. 2010-07-14 Sheriff Bot <webkit.review.bot@gmail.com>
  19567. Unreviewed, rolling out r63346.
  19568. http://trac.webkit.org/changeset/63346
  19569. https://bugs.webkit.org/show_bug.cgi?id=42295
  19570. Broke lots of tests, some of which probably just need new
  19571. results (Requested by aroben on #webkit).
  19572. * DumpRenderTree/win/DumpRenderTree.cpp:
  19573. (urlSuitableForTestResult):
  19574. 2010-07-14 Adam Roben <aroben@apple.com>
  19575. Speed up killing of Apache on Windows
  19576. Fixes <http://webkit.org/b/42289> Killing Apache (and thus quitting
  19577. run-webkit-tests) takes a long time on Windows
  19578. Reviewed by Darin Adler and Jon Honeycutt.
  19579. * Scripts/webkitperl/httpd.pm:
  19580. (closeHTTPD): Use taskkill to kill Apache and its child processes.
  19581. Perl's kill seems ineffectual. We were already using taskkill, but
  19582. only after trying kill 20 times. Since kill never works, let's just
  19583. skip it entirely.
  19584. 2010-07-14 Johnny Ding <jnd@chromium.org>
  19585. Reviewed by Adam Barth.
  19586. https://bugs.webkit.org/show_bug.cgi?id=41292
  19587. Add a new parameter to the test plugin to allow to specify a script and a
  19588. mouse/keyboard event. The specified script will be evaluated in the browser
  19589. when the specified event is received by the plugin.
  19590. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
  19591. (pluginAllocate):
  19592. * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
  19593. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  19594. (NPP_New):
  19595. (handleEventCarbon):
  19596. (handleEventCocoa):
  19597. 2010-07-14 Adam Roben <aroben@apple.com>
  19598. Make urlSuitableForTestResult work for http: URLs, too
  19599. Fixes <http://webkit.org/b/42276>
  19600. http/tests/loading/preload-slow-loading.php and
  19601. http/tests/mime/uppercase-mime-type.html fail on Windows.
  19602. Reviewed by Darin Adler.
  19603. * DumpRenderTree/win/DumpRenderTree.cpp:
  19604. (urlSuitableForTestResult): Don't bail if the URL starts with http://.
  19605. We want this function to work for those URLs, too!
  19606. 2010-07-13 Maciej Stachowiak <mjs@apple.com>
  19607. Reviewed by Oliver Hunt.
  19608. Add placebo versions of some repaint test functions to WebKitTestRunner - good enough for non-pixel tests
  19609. https://bugs.webkit.org/show_bug.cgi?id=42227
  19610. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  19611. (WTR::LayoutTestController::LayoutTestController): Initialize new bool
  19612. members.
  19613. (WTR::LayoutTestController::display): Dummy method.
  19614. (WTR::displayCallback): Call the dummy.
  19615. (WTR::repaintSweepHorizontallyCallback): ditto
  19616. (WTR::testRepaintCallback): ditto
  19617. (WTR::LayoutTestController::staticFunctions): Expose new methods.
  19618. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  19619. (WTR::LayoutTestController::setTestRepaint): Set the flag (which currently does
  19620. nothing).
  19621. (WTR::LayoutTestController::setTestRepaintSweepHorizontally): ditto
  19622. 2010-07-13 Andreas Kling <andreas.kling@nokia.com>
  19623. Unreviewed. Adding myself as committer.
  19624. * Scripts/webkitpy/common/config/committers.py:
  19625. 2010-07-07 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  19626. Reviewed by Darin Adler.
  19627. Prevent assertion/duplicate loads for non-deferred subtitute-data loads
  19628. https://bugs.webkit.org/show_bug.cgi?id=30879
  19629. MainResourceLoader uses the member m_initialRequest to store requests for future
  19630. deferred loads. When doing the actual load in handleDataLoadNow(), we therefore
  19631. have to clear this request so that subsequent entries into the loader will not
  19632. start yet another load.
  19633. This can happen as a result of a PageGroupLoadDeferrer going out of scope when
  19634. returning from Chrome::runJavaScriptAlert(), which calls setDeferredLoading(false),
  19635. but only in the case of using both substitute-data and non-deferred main resource
  19636. load together. That's why two new DRT functions were added:
  19637. * queueLoadHTMLString()
  19638. * setDeferMainResourceLoad()
  19639. The change adds DRT hooks for Mac, Win and Qt for these two functions. For Mac
  19640. and Win the hook uses new SPI in WebDataSource. For Qt a new static member was
  19641. added to the FrameLoaderClientQt and accessed though DumpRenderTreeSupportQt.
  19642. * DumpRenderTree/LayoutTestController.cpp:
  19643. (LayoutTestController::LayoutTestController):
  19644. (queueLoadHTMLStringCallback):
  19645. (setDeferMainResourceDataLoadCallback):
  19646. (LayoutTestController::staticFunctions):
  19647. (LayoutTestController::queueLoadHTMLString):
  19648. * DumpRenderTree/LayoutTestController.h:
  19649. (LayoutTestController::deferMainResourceDataLoad):
  19650. (LayoutTestController::setDeferMainResourceDataLoad):
  19651. * DumpRenderTree/WorkQueueItem.h:
  19652. (LoadHTMLStringItem::LoadHTMLStringItem):
  19653. * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
  19654. (LoadHTMLStringItem::invoke):
  19655. * DumpRenderTree/mac/ResourceLoadDelegate.mm:
  19656. (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
  19657. * DumpRenderTree/mac/WorkQueueItemMac.mm:
  19658. (LoadHTMLStringItem::invoke):
  19659. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  19660. (LayoutTestController::reset):
  19661. (LayoutTestController::setDeferMainResourceDataLoad):
  19662. (LayoutTestController::queueLoadHTMLString):
  19663. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  19664. * DumpRenderTree/qt/WorkQueueItemQt.cpp:
  19665. (LoadHTMLStringItem::invoke):
  19666. * DumpRenderTree/qt/WorkQueueItemQt.h:
  19667. (LoadHTMLStringItem::LoadHTMLStringItem):
  19668. * DumpRenderTree/win/ResourceLoadDelegate.cpp:
  19669. (ResourceLoadDelegate::willSendRequest):
  19670. * DumpRenderTree/win/WorkQueueItemWin.cpp:
  19671. (LoadHTMLStringItem::invoke):
  19672. * DumpRenderTree/wx/WorkQueueItemWx.cpp:
  19673. (LoadHTMLStringItem::invoke):
  19674. 2010-07-13 Maciej Stachowiak <mjs@apple.com>
  19675. Reviewed by Nikolas Zimmermann.
  19676. Activate test fonts for layout tests in WebKitTestRunner (on Mac)
  19677. https://bugs.webkit.org/show_bug.cgi?id=42153
  19678. * WebKitTestRunner/InjectedBundle/ActivateFonts.h: Added.
  19679. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  19680. (WTR::InjectedBundle::initialize): Activate fonts on startup.
  19681. * WebKitTestRunner/InjectedBundle/mac: Added.
  19682. * WebKitTestRunner/InjectedBundle/mac/ActivateFonts.mm: Added.
  19683. (WTR::activateFonts): Activate our fonts.
  19684. * WebKitTestRunner/InjectedBundle/win: Added.
  19685. * WebKitTestRunner/InjectedBundle/win/ActivateFonts.cpp: Added.
  19686. (WTR::activateFonts): Dummy version.
  19687. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Copy fonts to bundle;
  19688. add more files.
  19689. * WebKitTestRunner/fonts: Added.
  19690. * WebKitTestRunner/fonts/AHEM____.TTF: Added.
  19691. * WebKitTestRunner/fonts/ColorBits-A.png: Added.
  19692. * WebKitTestRunner/fonts/ColorBits.ttf: Added.
  19693. * WebKitTestRunner/fonts/WebKit Layout Tests 2.ttf: Added.
  19694. * WebKitTestRunner/fonts/WebKit Layout Tests.ttf: Added.
  19695. * WebKitTestRunner/fonts/WebKitWeightWatcher100.ttf: Added.
  19696. * WebKitTestRunner/fonts/WebKitWeightWatcher200.ttf: Added.
  19697. * WebKitTestRunner/fonts/WebKitWeightWatcher300.ttf: Added.
  19698. * WebKitTestRunner/fonts/WebKitWeightWatcher400.ttf: Added.
  19699. * WebKitTestRunner/fonts/WebKitWeightWatcher500.ttf: Added.
  19700. * WebKitTestRunner/fonts/WebKitWeightWatcher600.ttf: Added.
  19701. * WebKitTestRunner/fonts/WebKitWeightWatcher700.ttf: Added.
  19702. * WebKitTestRunner/fonts/WebKitWeightWatcher800.ttf: Added.
  19703. * WebKitTestRunner/fonts/WebKitWeightWatcher900.ttf: Added.
  19704. 2010-07-13 Dumitru Daniliuc <dumi@chromium.org>
  19705. Reviewed by Eric Seidel.
  19706. Remove check-header-includes, as it didn't turn out to be very useful.
  19707. https://bugs.webkit.org/show_bug.cgi?id=41970
  19708. * Scripts/check-header-includes: Removed.
  19709. 2010-07-12 Steve Falkenburg <sfalken@apple.com>
  19710. Reviewed by Maciej Stachowiak.
  19711. Make WebKit2 be built by build-webkit (so it will be built by build.webkit.org bots)
  19712. https://bugs.webkit.org/show_bug.cgi?id=40922
  19713. Always build WebKit2 on Windows. Necessary since our WebKit build on
  19714. Windows is packaged into a DLL with WebKit2.
  19715. * Scripts/build-webkit: Always build WebKit2 on Windows.
  19716. 2010-07-12 Brian Weinstein <bweinstein@apple.com>
  19717. Reviewed by Steve Falkenburg.
  19718. One http test timing out on Windows can cause all future tests to time out
  19719. https://bugs.webkit.org/show_bug.cgi?id=42146
  19720. There have been multiple times on the Windows bots where one http test timing out causes all future
  19721. http tests to time out. This is because the httpd process becomes unresponsive. When an http test
  19722. times out, we should restart httpd on Cygwin to prevent this.
  19723. * Scripts/old-run-webkit-tests: If an http test timed out on Cygwin, close httpd and restart it.
  19724. * Scripts/webkitperl/httpd.pm: Add additional logic to closeHTTPD to teach it about taskkill if
  19725. using kill fails.
  19726. 2010-07-12 Maciej Stachowiak <mjs@apple.com>
  19727. Reviewed by Dan Bernstein.
  19728. Remove use of auto_ptr in WebKitTestRunner
  19729. https://bugs.webkit.org/show_bug.cgi?id=42134
  19730. Replaced auto_ptr with PassOwnPtr / OwnPtr.
  19731. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  19732. (WTR::WKStringToUTF8):
  19733. (WTR::InjectedBundlePage::dump):
  19734. (WTR::InjectedBundlePage::addMessageToConsole):
  19735. * WebKitTestRunner/TestInvocation.cpp:
  19736. (WTR::WKStringToUTF8):
  19737. (WTR::TestInvocation::didRecieveMessageFromInjectedBundle):
  19738. 2010-07-12 Maciej Stachowiak <mjs@apple.com>
  19739. Reviewed by Sam Weinig.
  19740. Need support for a WebKit2-specific Skipped list (and initially add accessibility tests to it)
  19741. https://bugs.webkit.org/show_bug.cgi?id=42132
  19742. * Scripts/old-run-webkit-tests: In --webkit-test-runner mode, add mac-wk2 to list of
  19743. platform directories.
  19744. 2010-07-12 Maciej Stachowiak <mjs@apple.com>
  19745. Reviewed by Anders Carlsson.
  19746. Make WebKitTestRunner resize the view specially for the W3C SVG tests.
  19747. https://bugs.webkit.org/show_bug.cgi?id=42126
  19748. * WebKitTestRunner/PlatformWebView.h:
  19749. * WebKitTestRunner/TestInvocation.cpp:
  19750. (WTR::TestInvocation::TestInvocation): Store the path as a C
  19751. string for later use.
  19752. (WTR::TestInvocation::~TestInvocation):
  19753. (WTR::sizeWebViewForCurrentTest): Resize the WebView to the proper
  19754. size, depending on whether this is a W3C SVG test.
  19755. (WTR::TestInvocation::invoke): Call the size function.
  19756. * WebKitTestRunner/TestInvocation.h:
  19757. * WebKitTestRunner/mac/PlatformWebViewMac.mm:
  19758. (WTR::PlatformWebView::resizeTo): Implement.
  19759. * WebKitTestRunner/win/PlatformWebViewWin.cpp:
  19760. (WTR::PlatformWebView::resizeTo): Placeholder.
  19761. 2010-07-12 Mario Sanchez Prada <msanchez@igalia.com>
  19762. Reviewed by Xan Lopez.
  19763. Ensure DRT loads GAIL (Gtk+ module), for a11y tests
  19764. https://bugs.webkit.org/show_bug.cgi?id=38648
  19765. Add the GTK_MODULES envvar (set to "gail") to the clean
  19766. environment when running DRT for the Gtk+ port
  19767. * Scripts/old-run-webkit-tests:
  19768. 2010-07-12 Martin Robinson <mrobinson@igalia.com>
  19769. Reviewed by Dirk Schulze.
  19770. [GTK] Support pixel tests
  19771. https://bugs.webkit.org/show_bug.cgi?id=31518
  19772. Finish support for pixel tests on GTK+.
  19773. * DumpRenderTree/PixelDumpSupport.cpp: Remove unecessary RetainPtr include (only
  19774. works on CoreFoundation systems) and add missing cstdio include.
  19775. * DumpRenderTree/cairo/PixelDumpSupportCairo.cpp: Switch to using the MD5 support found
  19776. in JSC library. MD5.cpp and MD5.h are only available for the Windows build.
  19777. (computeMD5HashStringForBitmapContext): The number of bytes per row should be the row stride
  19778. of the image, not the row stride multiplied by the width. Use JSC MD5 implementation to calculate
  19779. the MD5 hash here. According to glibc manpages, using snprintf to build a string in unsupported
  19780. by the ANSI standard and this fails on Linux, so unroll the loop here.
  19781. * DumpRenderTree/cairo/PixelDumpSupportCairo.h: Correct some constructor misbehavior.
  19782. (BitmapContext::BitmapContext): There is no reason to check the value of the
  19783. m_context member in the constructor and it certainly should not be freed. Instead
  19784. just initialize it with the incoming value.
  19785. * DumpRenderTree/gtk/DumpRenderTree.cpp: Fix the order of includes.
  19786. (dump): Actually call dumpWebViewAsPixelsAndCompareWithExpected when it is time to
  19787. dump pixels.
  19788. * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp: Added.
  19789. (createBitmapContextFromWebView):
  19790. * GNUmakefile.am: Add new files to the build.
  19791. 2010-07-12 Adam Barth <abarth@webkit.org>
  19792. Unreviewed.
  19793. Remove stray "raise e" that got included in a previous patch. This
  19794. caused the EWS bots to turn red instead of purple when a patch failed
  19795. to apply.
  19796. * Scripts/webkitpy/tool/commands/stepsequence.py:
  19797. 2010-07-12 Sheriff Bot <webkit.review.bot@gmail.com>
  19798. Unreviewed, rolling out r63101.
  19799. http://trac.webkit.org/changeset/63101
  19800. https://bugs.webkit.org/show_bug.cgi?id=42103
  19801. Broke one API test (Requested by xan_ on #webkit).
  19802. * Scripts/old-run-webkit-tests:
  19803. 2010-07-12 Alexey Proskuryakov <ap@apple.com>
  19804. Reviewed by Adam Roben.
  19805. https://bugs.webkit.org/show_bug.cgi?id=13075
  19806. XMLHttpRequest with failed authentication should set status to 401
  19807. https://bugs.webkit.org/show_bug.cgi?id=6871
  19808. <rdar://problem/3363403> 401 error page is never shown
  19809. Fix crashes in Windows DumpRenderTree.
  19810. * DumpRenderTree/win/ResourceLoadDelegate.cpp: (ResourceLoadDelegate::didReceiveAuthenticationChallenge):
  19811. If we return an error, WebKit will call continueWithoutCredentialForAuthenticationChallenge()
  19812. again on a destroyed sender.
  19813. 2010-07-12 Adam Roben <aroben@apple.com>
  19814. Windows failure-to-launch fix
  19815. * DumpRenderTree/win/DumpRenderTree.vcproj: Copy CoreVideo.dll and
  19816. CoreVideo.pdb into WebKitOutputDir in the post-build event, too, like
  19817. we already do for CoreFoundation, CFNetwork, etc.
  19818. 2010-07-12 Mario Sanchez Prada <msanchez@igalia.com>
  19819. Reviewed by Xan Lopez.
  19820. Ensure DRT loads GAIL (Gtk+ module), for a11y tests
  19821. https://bugs.webkit.org/show_bug.cgi?id=38648
  19822. Add the GTK_MODULES envvar (set to "gail") to the clean
  19823. environment when running DRT for the Gtk+ port
  19824. * Scripts/old-run-webkit-tests:
  19825. 2010-07-09 Alexey Proskuryakov <ap@apple.com>
  19826. Reviewed by Darin Adler.
  19827. https://bugs.webkit.org/show_bug.cgi?id=13075
  19828. XMLHttpRequest with failed authentication should set status to 401
  19829. https://bugs.webkit.org/show_bug.cgi?id=6871
  19830. <rdar://problem/3363403> 401 error page is never shown
  19831. * DumpRenderTree/mac/ResourceLoadDelegate.mm:
  19832. (-[ResourceLoadDelegate webView:resource:didReceiveAuthenticationChallenge:fromDataSource:]):
  19833. * DumpRenderTree/win/ResourceLoadDelegate.cpp:
  19834. (ResourceLoadDelegate::didReceiveAuthenticationChallenge):
  19835. Do respond even if handlesAuthenticationChallenges() is false. Pretend that the user pressed
  19836. the Cancel button.
  19837. 2010-07-12 Andreas Kling <andreas.kling@nokia.com>
  19838. Reviewed by Tor Arne Vestbø.
  19839. [Qt] Add location bar (Ctrl+L) shortcut in QtTestBrowser
  19840. https://bugs.webkit.org/show_bug.cgi?id=42082
  19841. * QtTestBrowser/main.cpp:
  19842. (LauncherWindow::createChrome):
  19843. * QtTestBrowser/mainwindow.cpp:
  19844. (MainWindow::openLocation):
  19845. * QtTestBrowser/mainwindow.h:
  19846. 2010-07-12 Adam Roben <aroben@apple.com>
  19847. Make the Python autoinstaller not use a dead SourceForge server
  19848. Fixes <http://webkit.org/b/42080> webkit-patch is broken due to
  19849. offline SourceForge server
  19850. Reviewed by Anders Carlsson.
  19851. * Scripts/webkitpy/thirdparty/__init__.py: Use
  19852. surfnet.dl.sourceforge.net instead of hivelocity.dl.sourceforge.net,
  19853. which seems to be down.
  19854. 2010-07-12 Adam Roben <aroben@apple.com>
  19855. Make run-webkit-tests print how many tests timed out when exiting
  19856. early
  19857. The number of timed-out tests is taken into account when deciding
  19858. whether to exit early. Leaving it out of the output just makes the
  19859. script look buggy (because it might say something like "Exiting early
  19860. after 0 crashes.").
  19861. Fixes <http://webkit.org/b/42077> run-webkit-tests prints confusing
  19862. messages when exiting early due to crashes and time-outs
  19863. Reviewed by Anders Carlsson.
  19864. * Scripts/old-run-webkit-tests:
  19865. (stopRunningTestsEarlyIfNeeded): When stopping, print the number of
  19866. timed-out tests, too.
  19867. 2010-07-11 Maciej Stachowiak <mjs@apple.com>
  19868. Reviewed by Dan Bernstein.
  19869. Implement animation-related methods for WebKitTestRunner
  19870. https://bugs.webkit.org/show_bug.cgi?id=42053
  19871. Implemented numberOfActiveAnimatiosn and pauseAnimationAtTimeOnElementWithId. Many
  19872. animation tests were hanging otherwise.
  19873. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  19874. (WTR::LayoutTestController::numberOfActiveAnimations):
  19875. (WTR::LayoutTestController::pauseAnimationAtTimeOnElementWithId):
  19876. (WTR::numberOfActiveAnimationsCallback):
  19877. (WTR::pauseAnimationAtTimeOnElementWithIdCallback):
  19878. (WTR::LayoutTestController::staticFunctions):
  19879. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  19880. 2010-07-11 Daniel Bates <dbates@rim.com>
  19881. Reviewed by David Kilzer.
  19882. Enable executable support for svn-apply and svn-unapply
  19883. https://bugs.webkit.org/show_bug.cgi?id=39409
  19884. Connect up the Git and SVN executable bit support in parseDiff() so that
  19885. executable bit changes are propagated via the returned diff hash to the
  19886. patch function in svn-apply and svn-unapply.
  19887. * Scripts/VCSUtils.pm:
  19888. - Modified parseDiff() to call parseSvnDiffProperties when
  19889. it finds the start of an SVN property change diff.
  19890. - Removed FIXME comment above parseSvnDiffProperties() since
  19891. it is now being used by parseDiff().
  19892. - Export method scmToggleExecutableBit() now that we added the
  19893. executableBitDelta hash key. (This should have been exported
  19894. when we added this function in Bug #38423 <https://bugs.webkit.org/show_bug.cgi?id=38423>).
  19895. * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
  19896. - Updated results for:
  19897. "rename (with executable bit change)"
  19898. - Test value of executableBitDelta (now that we have support).
  19899. "SVN: binary file (isBinary true)"
  19900. - Remove the property change diff from svnConvertedText. We plan
  19901. to remove svnConvertedText in the future. So, we decided
  19902. against adding such support to any new code, such as the
  19903. property parsing routines. Therefore, we do not keep SVN
  19904. converted text for property change diffs.
  19905. - Added unit tests:
  19906. "SVN: file change diff with property change diff"
  19907. "SVN: file change diff, followed by property change diff on different file"
  19908. "SVN: property diff, followed by file change diff"
  19909. "SVN: copied file with property change"
  19910. "SVN: two consecutive property diffs"
  19911. "SVN: binary file with executable bit change"
  19912. "SVN: binary file followed by property change on different file"
  19913. "SVN: binary file followed by file change on different file"
  19914. "SVN: file change diff with property change, followed by property change diff"
  19915. "SVN: file change diff with property change, followed by file change diff"
  19916. 2010-07-11 Maciej Stachowiak <mjs@apple.com>
  19917. Reviewed by Dan Bernstein.
  19918. Implement waitUntilDone and notifyDone for WebKitTestRunner
  19919. https://bugs.webkit.org/show_bug.cgi?id=42049
  19920. With this fix, most of the DOM tests pass.
  19921. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  19922. (WTR::InjectedBundle::didCreatePage): Track the main page. Not
  19923. a great way to do it in the future case where we may get multiple
  19924. pages - we really need a way to send it over from the ui process.
  19925. * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
  19926. (WTR::InjectedBundle::page): A way to get the main page.
  19927. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  19928. (WTR::InjectedBundlePage::InjectedBundlePage): Initialize m_isLoading to false.
  19929. (WTR::InjectedBundlePage::didStartProvisionalLoadForFrame): Track that we
  19930. are loading.
  19931. (WTR::InjectedBundlePage::dump): Factor into a method so this can be
  19932. called by the layout test controller. Also, cancel any pending watchdogs.
  19933. (WTR::InjectedBundlePage::didFinishLoadForFrame): Note that we are done loading.
  19934. (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame): Ditto.
  19935. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  19936. (WTR::InjectedBundlePage::isLoading): A way to track if we are loading.
  19937. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
  19938. (WTR::LayoutTestController::LayoutTestController): Initialize m_waitToDump
  19939. to false.
  19940. (WTR::LayoutTestController::invalidateWaitToDumpWatchdog): Invalidate
  19941. the watchdog.
  19942. (WTR::waitUntilDoneWatchdogFired): Static helper for the watchdog timer.
  19943. (WTR::LayoutTestController::setWaitToDump): Set the flag.
  19944. (WTR::LayoutTestController::waitToDumpWatchdogTimerFired): Handle the case
  19945. where waitUntilDone times out.
  19946. (WTR::LayoutTestController::notifyDone): Dump, if loading is done.
  19947. (WTR::waitUntilDoneCallback): JS glue for waitUntilDone.
  19948. (WTR::notifyDoneCallback): JS glue for notifyDone.
  19949. (WTR::LayoutTestController::staticFunctions): Add waitUntilDone and notifyDone
  19950. to the layoutController.
  19951. * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
  19952. (WTR::LayoutTestController::waitToDump): Inline method to get the wait state.
  19953. 2010-07-09 Brian Weinstein <bweinstein@apple.com>
  19954. Rubber-stamped by Dan Bernstein.
  19955. Windows testers running Windows 7 were hanging during test_kill_process. Changing the
  19956. number of attempts from 3 to 10 fixes the problem on the new bots (and doesn't seem to
  19957. slow down the tests).
  19958. * Scripts/webkitpy/common/system/executive.py:
  19959. 2010-07-09 Luiz Agostini <luiz.agostini@openbossa.org>
  19960. Reviewed by Kenneth Rohde Christiansen.
  19961. [Qt] Mac build fix
  19962. https://bugs.webkit.org/show_bug.cgi?id=41967
  19963. Adding file PluginObjectMac.mm and frameworks Cocoa and QuartzCore.
  19964. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  19965. 2010-07-09 Diego Gonzalez <diegohcg@webkit.org>
  19966. Reviewed by Antonio Gomes.
  19967. [Qt] [WebKit2] Add navigation actions to MiniBrowser toolbar
  19968. https://bugs.webkit.org/show_bug.cgi?id=41966
  19969. * MiniBrowser/qt/BrowserWindow.cpp:
  19970. (BrowserWindow::BrowserWindow):
  19971. 2010-07-09 Leon Clarke <leonclarke@google.com>
  19972. Reviewed by Adam Barth.
  19973. add support for link prefetching
  19974. https://bugs.webkit.org/show_bug.cgi?id=3652
  19975. * Scripts/build-webkit:
  19976. 2010-07-09 Ojan Vafai <ojan@chromium.org>
  19977. Reviewed by Adam Barth.
  19978. r63004 broke some python tests
  19979. https://bugs.webkit.org/show_bug.cgi?id=42007
  19980. AbstractStep now checks options.no_squash and options.squash, so
  19981. they needed to have real values. Mock would return an object for those,
  19982. which would then act as if the values were True.
  19983. * Scripts/webkitpy/tool/commands/commandtest.py:
  19984. * Scripts/webkitpy/tool/commands/download_unittest.py:
  19985. * Scripts/webkitpy/tool/commands/stepsequence.py:
  19986. * Scripts/webkitpy/tool/commands/upload_unittest.py:
  19987. * Scripts/webkitpy/tool/mocktool.py:
  19988. * Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py:
  19989. * Scripts/webkitpy/tool/steps/preparechangelog_unittest.py:
  19990. * Scripts/webkitpy/tool/steps/steps_unittest.py:
  19991. * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittest.py:
  19992. * Scripts/webkitpy/tool/steps/validatereviewer_unittest.py:
  19993. 2010-07-09 Ojan Vafai <ojan@chromium.org>
  19994. Reviewed by Adam Barth.
  19995. --squash should go away and become the default
  19996. https://bugs.webkit.org/show_bug.cgi?id=39624
  19997. If there are local commits and working copy changes, then prompt the user
  19998. whether to continue. Setting git config webkit-patch.commit_should_always_squash
  19999. true bypasses the prompt.
  20000. --git-commit=HEAD.. operates on working copy changes only.
  20001. --git-commit=committish operates on a range of commits as a single commit.
  20002. e.g. --git-commit=HEAD only operates on the HEAD commit.
  20003. --git-commit=HEAD~4..HEAD~2 will operate on HEAD~3 and HEAD~2 as a single commit.
  20004. --no-squash and --squash are left in with descriptive error messages if used.
  20005. * Scripts/check-webkit-style:
  20006. * Scripts/webkitpy/common/checkout/api.py:
  20007. * Scripts/webkitpy/common/checkout/api_unittest.py:
  20008. * Scripts/webkitpy/common/checkout/scm.py:
  20009. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  20010. * Scripts/webkitpy/common/net/rietveld.py:
  20011. * Scripts/webkitpy/common/system/user.py:
  20012. * Scripts/webkitpy/style/optparser.py:
  20013. * Scripts/webkitpy/style_references.py:
  20014. * Scripts/webkitpy/tool/commands/download.py:
  20015. * Scripts/webkitpy/tool/commands/upload.py:
  20016. * Scripts/webkitpy/tool/mocktool.py:
  20017. * Scripts/webkitpy/tool/steps/abstractstep.py:
  20018. * Scripts/webkitpy/tool/steps/applypatchwithlocalcommit.py:
  20019. * Scripts/webkitpy/tool/steps/checkstyle.py:
  20020. * Scripts/webkitpy/tool/steps/checkstyle_unittest.py: Removed.
  20021. * Scripts/webkitpy/tool/steps/commit.py:
  20022. * Scripts/webkitpy/tool/steps/options.py:
  20023. * Scripts/webkitpy/tool/steps/preparechangelog.py:
  20024. * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
  20025. * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
  20026. * Scripts/webkitpy/tool/steps/validatereviewer.py:
  20027. 2010-07-09 Mark Rowe <mrowe@apple.com>
  20028. Add two new Windows test build slaves.
  20029. * BuildSlaveSupport/build.webkit.org-config/config.json:
  20030. 2010-07-09 Albert J. Wong <ajwong@chromium.org>
  20031. Reviewed by David Levin.
  20032. rebaseline_chromium_webkit_tests missing --use_drt option on linux
  20033. https://bugs.webkit.org/show_bug.cgi?id=41985
  20034. This adds in the --use_drt option for rebaseline_chromium_webkit_tests
  20035. so that it works on linux. This is essentially a "compile-fix" for the
  20036. script.
  20037. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  20038. 2010-07-09 Nico Weber <thakis@chromium.org>
  20039. Unreviewed. Adding myself as committer.
  20040. * Scripts/webkitpy/common/config/committers.py:
  20041. 2010-07-09 David Kilzer <ddkilzer@apple.com>
  20042. Revert "<http://webkit.org/b/41788> commit-log-editor: wrong ChangeLog read when invoked from subdir with git"
  20043. This reverts commit r62692.
  20044. * Scripts/commit-log-editor:
  20045. 2010-07-08 Kinuko Yasuda <kinuko@chromium.org>
  20046. Reviewed by Ojan Vafai.
  20047. cleanup json_results_generator dependencies so that non-layout-tests can also use it safely
  20048. https://bugs.webkit.org/show_bug.cgi?id=38693
  20049. Introduced a new base class JSONResultsGeneratorBase that doesn't
  20050. have any dependency on layout_tests packages.
  20051. Turned JSONResultsGenerator into a wrapper class of the base class
  20052. so that the old code can work with it during the cleanup.
  20053. Added json_results_generator_unittest.py.
  20054. * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
  20055. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  20056. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py: Added
  20057. 2010-07-09 Abhishek Arya <inferno@chromium.org>
  20058. Unreviewed.
  20059. Marking myself as a committer.
  20060. * Scripts/webkitpy/common/config/committers.py:
  20061. 2010-07-09 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org>
  20062. Reviewed by Antti Koivisto.
  20063. Implement MiniBrowser for Qt.
  20064. https://bugs.webkit.org/show_bug.cgi?id=40233
  20065. * MiniBrowser/qt/BrowserWindow.cpp: Added.
  20066. (createNewPage):
  20067. (BrowserView::BrowserView):
  20068. (BrowserView::resizeEvent):
  20069. (BrowserView::load):
  20070. (BrowserView::view):
  20071. (BrowserWindow::BrowserWindow):
  20072. (BrowserWindow::load):
  20073. (BrowserWindow::changeLocation):
  20074. (BrowserWindow::~BrowserWindow):
  20075. * MiniBrowser/qt/BrowserWindow.h: Added.
  20076. (BrowserView::~BrowserView):
  20077. * MiniBrowser/qt/MiniBrowser.pro: Added.
  20078. * MiniBrowser/qt/main.cpp: Added.
  20079. (main):
  20080. 2010-07-09 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
  20081. Reviewed by Simon Hausmann.
  20082. Introduce the Qt autotest launcher.
  20083. Qt autotests should be executed more frequently, ideally by the Qt
  20084. build bot. This is the first step to provide the tests more accessible.
  20085. [Qt] It should be easier to run all Qt's autotests.
  20086. https://bugs.webkit.org/show_bug.cgi?id=31625
  20087. * Scripts/run-qtwebkit-tests: Added.
  20088. 2010-07-09 Adam Barth <abarth@webkit.org>
  20089. Reviewed by Eric Seidel.
  20090. commit-queue should merge to TOT when checkout needs update
  20091. https://bugs.webkit.org/show_bug.cgi?id=41944
  20092. There are a bunch of different designs that are possible here. This
  20093. one merges to top of tree by cleaning out the working copy and
  20094. re-applying the patch. Once you decide to merge that way, you need to
  20095. decide who's going to retry. In this patch, we retry in the child
  20096. process instead of plumbing the failure reason to the master process.
  20097. This patch is difficult to test end-to-end, but hopefully it will work.
  20098. :)
  20099. * Scripts/webkitpy/tool/commands/queues.py:
  20100. * Scripts/webkitpy/tool/commands/stepsequence.py:
  20101. * Scripts/webkitpy/tool/multicommandtool.py:
  20102. * Scripts/webkitpy/tool/multicommandtool_unittest.py:
  20103. 2010-07-09 Dumitru Daniliuc <dumi@chromium.org>
  20104. Reviewed by Darin Adler.
  20105. Add a script to check for unnecessary includes in header files.
  20106. https://bugs.webkit.org/show_bug.cgi?id=41894
  20107. * Scripts/check-header-includes: Added.
  20108. 2010-07-09 Adam Barth <abarth@webkit.org>
  20109. Reviewed by Eric Seidel.
  20110. Add --html5-treebuilder option to run-webkit-tests
  20111. https://bugs.webkit.org/show_bug.cgi?id=41922
  20112. We're down to one or two regressions in the HTML5lib test suite. It's
  20113. getting to be time to look at fixing LayoutTests.
  20114. * Scripts/old-run-webkit-tests:
  20115. 2010-07-08 Simon Fraser <simon.fraser@apple.com>
  20116. Fix Tiger plugin test failures; the #ifdefs were incorrect, resulting
  20117. in the drawing model never getting set on Tiger.
  20118. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  20119. (NPP_New):
  20120. 2010-07-08 Aaron Boodman <aa@chromium.org>
  20121. Reviewed by Timothy Hatcher.
  20122. Add the ability for user scripts and user styles to affect just the top frame.
  20123. https://bugs.webkit.org/show_bug.cgi?id=41529
  20124. * DumpRenderTree/LayoutTestController.h: Added new allFrames param.
  20125. * DumpRenderTree/LayoutTestController.cpp: Ditto.
  20126. (addUserScriptCallback):
  20127. (addUserStyleSheetCallback):
  20128. * DumpRenderTree/chromium/LayoutTestController.cpp: Ditto.
  20129. (LayoutTestController::addUserScript):
  20130. (LayoutTestController::addUserStyleSheet):
  20131. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Ditto.
  20132. (LayoutTestController::addUserScript):
  20133. (LayoutTestController::addUserStyleSheet):
  20134. * DumpRenderTree/mac/LayoutTestControllerMac.mm: Ditto.
  20135. (LayoutTestController::addUserScript):
  20136. (LayoutTestController::addUserStyleSheet):
  20137. * DumpRenderTree/win/LayoutTestControllerWin.cpp: Ditto.
  20138. (LayoutTestController::addUserScript):
  20139. (LayoutTestController::addUserStyleSheet):
  20140. * DumpRenderTree/wx/LayoutTestControllerWx.cpp: Ditto.
  20141. (LayoutTestController::addUserScript):
  20142. (LayoutTestController::addUserStyleSheet):
  20143. 2010-07-08 Adele Peterson <adele@apple.com>
  20144. Reviewed by Jon Honeycutt, Adam Roben, and Darin Adler.
  20145. Test infrastructure for https://bugs.webkit.org/show_bug.cgi?id=41721
  20146. <rdar://problem/8158561> Missing plug-in indicator should have a pressed state
  20147. Log when the missing plugin button is pressed.
  20148. * DumpRenderTree/mac/UIDelegate.mm:
  20149. (-[UIDelegate webView:didPressMissingPluginButton:]):
  20150. * DumpRenderTree/win/UIDelegate.cpp:
  20151. (UIDelegate::QueryInterface):
  20152. (UIDelegate::createWebViewWithRequest):
  20153. (UIDelegate::drawBackground):
  20154. (UIDelegate::decidePolicyForGeolocationRequest):
  20155. (UIDelegate::didPressMissingPluginButton):
  20156. * DumpRenderTree/win/UIDelegate.h:
  20157. 2010-07-08 Simon Fraser <simon.fraser@apple.com>
  20158. Fix the Tiger build.
  20159. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  20160. (NPP_New):
  20161. 2010-07-08 Simon Fraser <simon.fraser@apple.com>
  20162. Fix windows build.
  20163. #ifdef code for Mac.
  20164. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  20165. (NPP_New):
  20166. 2010-07-08 Simon Fraser <simon.fraser@apple.com>
  20167. Reviewed by Anders Carlsson.
  20168. Allow the TestPlugin to use Core Animation rendering for testing
  20169. https://bugs.webkit.org/show_bug.cgi?id=41872
  20170. Add the ability for the TestPlugin to use the CoreAnimation rendering model
  20171. when available, based on the "drawingmodel" attribute of the embed tag:
  20172. drawingmodel="coreanimation"
  20173. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Add PluginObjectMac.mm
  20174. * DumpRenderTree/TestNetscapePlugIn/PluginObject.h: Add some macros so we can detect
  20175. when building on Tiger. Add a void* coreAnimationLayer member.
  20176. * DumpRenderTree/TestNetscapePlugIn/PluginObjectMac.mm: Added.
  20177. (createCoreAnimationLayer): Obj-C method to create the CALayer.
  20178. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  20179. (NPP_New): Look for the drawingmodel attribute to decide which drawing
  20180. model to use.
  20181. (NPP_Destroy): Release the CALayer if we have one.
  20182. (NPP_GetValue): Return the retained CALayer.
  20183. 2010-07-08 Martin Robinson <mrobinson@igalia.com>
  20184. Reviewed by Xan Lopez.
  20185. [GTK] Support pixel tests
  20186. https://bugs.webkit.org/show_bug.cgi?id=31518
  20187. Convert this file from CRLF to NL line endings. It will soon
  20188. be used on more than just the WinCairo platform.
  20189. * DumpRenderTree/cairo/PixelDumpSupportCairo.cpp:
  20190. (writeFunction):
  20191. (printPNG):
  20192. (computeMD5HashStringForBitmapContext):
  20193. (dumpBitmap):
  20194. 2010-07-08 Steve Falkenburg <sfalken@apple.com>
  20195. Reviewed by Darin Adler.
  20196. Enable Data Execution Prevention for our test harnesses on Windows
  20197. https://bugs.webkit.org/show_bug.cgi?id=41882
  20198. * DumpRenderTree/win/DumpRenderTree.vcproj:
  20199. * DumpRenderTree/win/ImageDiff.vcproj:
  20200. * WebKitAPITest/WebKitAPITest.vcproj:
  20201. * WebKitTestRunner/win/WebKitTestRunner.vcproj:
  20202. 2010-07-07 Robert Hogan <robert@webkit.org>
  20203. Reviewed by Kenneth Rohde Christiansen.
  20204. [Qt] Add DRT support for pageProperty etc.
  20205. https://bugs.webkit.org/show_bug.cgi?id=41584
  20206. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  20207. (LayoutTestController::isPageBoxVisible):
  20208. (LayoutTestController::pageSizeAndMarginsInPixels):
  20209. (LayoutTestController::pageProperty):
  20210. (LayoutTestController::addUserStyleSheet):
  20211. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  20212. 2010-07-08 Martin Robinson <mrobinson@igalia.com>
  20213. Reviewed by Xan Lopez.
  20214. Remove a warnings from the ImageDiff build by using the proper
  20215. printf format string for the gsize data type.
  20216. * DumpRenderTree/gtk/ImageDiff.cpp:
  20217. (printImage): Use the proper printf format string for the gsize data type.
  20218. 2010-07-08 Alice Liu <alice.liu@apple.com>
  20219. Reviewed by Sam Weinig.
  20220. https://bugs.webkit.org/show_bug.cgi?id=41653
  20221. Add new WebKitTestRunner project for Windows
  20222. * WebKitTestRunner/WebKitTestRunnerPrefix.h:
  20223. Similar to how it's done in DumpRenderTree, define max and min early
  20224. on so that they don't get replaced by a macro requiring 2 arguments.
  20225. * WebKitTestRunner/win: Added.
  20226. * WebKitTestRunner/win/WebKitTestRunner.sln: Added.
  20227. * WebKitTestRunner/win/WebKitTestRunner.vcproj: Added.
  20228. * WebKitTestRunner/win/main.cpp: Added.
  20229. (main): Implemented
  20230. Added these files with stubbed out functions:
  20231. * WebKitTestRunner/win/PlatformWebViewWin.cpp: Added.
  20232. (WTR::PlatformWebView::PlatformWebView):
  20233. (WTR::PlatformWebView::~PlatformWebView):
  20234. (WTR::PlatformWebView::page):
  20235. * WebKitTestRunner/win/TestControllerWin.cpp: Added.
  20236. (WTR::TestController::initializeInjectedBundlePath):
  20237. * WebKitTestRunner/win/TestInvocationWin.cpp: Added.
  20238. (WTR::TestInvocation::runUntil):
  20239. 2010-07-07 Martin Robinson <mrobinson@igalia.com>
  20240. Reviewed by Gustavo Noronha Silva.
  20241. [GTK] Implement ImageDiff and add it to the build system
  20242. https://bugs.webkit.org/show_bug.cgi?id=41779
  20243. Add the initial implementation of the ImageDiff tool for the GTK+
  20244. port. This is an essential tool for doing pixel tests. The implementation
  20245. is based on the Mac and Chromium ports.
  20246. * DumpRenderTree/gtk/ImageDiff.cpp: Added.
  20247. (readPixbufFromStdin): Added.
  20248. (differenceImageFromDifferenceBuffer): Ditto.
  20249. (calculateDifference): Ditto.
  20250. (printImage): Ditto.
  20251. (printImageDifferences): Ditto.
  20252. (main): Ditto.
  20253. * GNUmakefile.am: Add ImageDiff to the WebKitTools build scripts.
  20254. 2010-07-08 Jay Civelli <jcivelli@chromium.org>
  20255. Unreviewed. Adding myself as a committer.
  20256. * Scripts/webkitpy/common/config/committers.py:
  20257. 2010-07-08 Adam Roben <aroben@apple.com>
  20258. Make Windows stop running tests from platform/mac
  20259. r62742 made a change (at my suggestion!) that caused us to start
  20260. looking for tests in platform/mac, rather than just looking for
  20261. expected results in platform/mac. This patch just undoes that part of
  20262. r62742.
  20263. Fixes <http://webkit.org/b/41855> REGRESSION (r62742): Windows runs
  20264. tests from platform/mac, but shouldn't
  20265. Reviewed by Antti Koivisto and Anders Carlsson.
  20266. * Scripts/old-run-webkit-tests:
  20267. (top level): Removed "mac-snowleopard" and "mac" from @winPlatforms,
  20268. so we won't look in those directories for tests to run.
  20269. (expectedDirectoryForTest): Added back code from pre-r62742 to look in
  20270. platform/mac-snowleopard and platform/mac for expected results.
  20271. 2010-07-08 Antonio Gomes <tonikitoo@webkit.org>
  20272. Unreviewed. Adding myself as a reviewer.
  20273. * Scripts/webkitpy/common/config/committers.py:
  20274. 2010-07-08 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  20275. Update my e-mail in committers.py
  20276. * Scripts/webkitpy/common/config/committers.py:
  20277. 2010-07-07 Daniel Bates <dbates@rim.com>
  20278. Reviewed by Dumitru Daniliuc.
  20279. VCSUtils.pm complains about uninitialized value $newLine
  20280. https://bugs.webkit.org/show_bug.cgi?id=41333
  20281. Fixes an issue where VCSUtils::fixChangeLogPatch() may read off the end of
  20282. an array when fixing a change log entry that overlaps with an earlier
  20283. entry. In particular, when a patch contains a change log entry inserted
  20284. earlier in the change log file, but after an entry with the same author
  20285. and date.
  20286. * Scripts/VCSUtils.pm:
  20287. - Added for-loop constraint to fixChangeLogPatch() so that it does not
  20288. read off the end of the @overlappingLines array.
  20289. * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl: Added unit test.
  20290. 2010-07-07 Anders Carlsson <andersca@apple.com>
  20291. Comment out a part of TestNetscapePlugin that caused tests to fail on Tiger and Leopard.
  20292. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  20293. (NPP_New):
  20294. 2010-07-07 Kent Tamura <tkent@chromium.org>
  20295. Reviewed by Adam Barth.
  20296. [DRT/Chromium] Support for indeterminate checkbox
  20297. https://bugs.webkit.org/show_bug.cgi?id=41747
  20298. Import http://src.chromium.org/viewvc/chrome?view=rev&revision=51499
  20299. * DumpRenderTree/chromium/WebThemeControlDRT.cpp:
  20300. (WebThemeControlDRT::draw):
  20301. * DumpRenderTree/chromium/WebThemeControlDRT.h:
  20302. (WebThemeControlDRT::):
  20303. * DumpRenderTree/chromium/WebThemeEngineDRT.cpp:
  20304. (WebThemeEngineDRT::paintButton):
  20305. 2010-07-07 Sam Weinig <sam@webkit.org>
  20306. Reviewed by Mark Rowe.
  20307. Clean up MiniBrowser Xcode project.
  20308. - Use xcconfig files.
  20309. - Rename plists to canonical Info.plist
  20310. - Remove localizations.
  20311. * MiniBrowser/Configurations: Added.
  20312. * MiniBrowser/Configurations/Base.xcconfig: Added.
  20313. * MiniBrowser/Configurations/DebugRelease.xcconfig: Added.
  20314. * MiniBrowser/Configurations/MiniBrowser.xcconfig: Added.
  20315. * MiniBrowser/Configurations/WebBundle.xcconfig: Added.
  20316. * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
  20317. * MiniBrowser/WebBundle-Info.plist: Removed.
  20318. * MiniBrowser/mac/BrowserStatisticsWindowController.m:
  20319. (-[BrowserStatisticsWindowController initWithThreadedWKContextRef:processWKContextRef:]):
  20320. * MiniBrowser/mac/BrowserWindow.xib: Added.
  20321. * MiniBrowser/mac/BrowserWindowController.m:
  20322. (-[BrowserWindowController initWithPageNamespace:]):
  20323. * MiniBrowser/mac/English.lproj: Removed.
  20324. * MiniBrowser/mac/English.lproj/BrowserWindow.xib: Removed.
  20325. * MiniBrowser/mac/English.lproj/InfoPlist.strings: Removed.
  20326. * MiniBrowser/mac/English.lproj/MainMenu.xib: Removed.
  20327. * MiniBrowser/mac/Info.plist: Copied from MiniBrowser/mac/MiniBrowser-Info.plist.
  20328. * MiniBrowser/mac/MainMenu.xib: Added.
  20329. * MiniBrowser/mac/MiniBrowser-Info.plist: Removed.
  20330. * MiniBrowser/mac/WebBundle/Info.plist: Copied from MiniBrowser/WebBundle-Info.plist.
  20331. 2010-07-07 Kent Tamura <tkent@chromium.org>
  20332. Reviewed by Dimitri Glazkov.
  20333. [DRT/Chromium] Fix two regressions
  20334. https://bugs.webkit.org/show_bug.cgi?id=41745
  20335. * DumpRenderTree/chromium/WebViewHost.cpp:
  20336. (WebViewHost::paintInvalidatedRegion):
  20337. Repaint three times to fix svg/W3C-SVG-1.1/struct-use-01-t.svg
  20338. and svg/custom/use-on-g-containing-foreignObject-and-image.svg
  20339. though test_shell does it twice. Probably DRT needs it because
  20340. DRT delays painting as possible.
  20341. 2010-07-07 Anders Carlsson <andersca@apple.com>
  20342. Try to fix build.
  20343. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  20344. (webkit_test_plugin_destroy_stream):
  20345. 2010-07-07 Anders Carlsson <andersca@apple.com>
  20346. Try to fix the GTK+ and Qt test failures by merging the newly added code from TestNetscapePlugin/main.cpp
  20347. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  20348. (webkit_test_plugin_new_stream):
  20349. (webkit_test_plugin_destroy_stream):
  20350. (webkit_test_plugin_write_ready):
  20351. (webkit_test_plugin_write):
  20352. 2010-07-07 Sam Weinig <sam@webkit.org>
  20353. Reviewed by Mark Rowe.
  20354. Don't hard code the Mac OS X 10.6 SDK for MiniBrowser.
  20355. * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
  20356. 2010-07-07 Anders Carlsson <andersca@apple.com>
  20357. Use the correct XP_MACOSX define instead of XP_MAC. This was causing test failures on some platforms.
  20358. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  20359. (NPP_New):
  20360. (NPP_HandleEvent):
  20361. 2010-07-07 Brian Weinstein <bweinstein@apple.com>
  20362. Reviewed by Adam Roben.
  20363. Need to have a way to specify different results for Windows XP and 7
  20364. https://bugs.webkit.org/show_bug.cgi?id=41776
  20365. Add the ability to have platform/win-xp, platform/win-vista, and platform/win-7
  20366. subdirectories, so we can have different results for tests on Windows XP, Windows
  20367. Vista, and Windows 7.
  20368. Windows XP will try the order: win-xp, win-vista, win-7, win, mac-snowleopard, mac.
  20369. Windows Vista will try the order: win-vista, win-7, win, mac-snowleopard, mac.
  20370. Windows 7 will try the order: win-7, win, mac-snowleopard, mac.
  20371. This matches the behavior of the mac.
  20372. * Scripts/old-run-webkit-tests: Add multiple platforms for Windows, and if we are on XP
  20373. or Vista, try looking in other win-* subdirectories before win.
  20374. * Scripts/webkitdirs.pm: Add some helper functions to determine what version of Windows
  20375. we are running.
  20376. 2010-07-07 Kent Tamura <tkent@chromium.org>
  20377. Reviewed by Dimitri Glazkov.
  20378. [DRT/Chromium] Remove ASSERT_NOT_REACHED in some functions
  20379. https://bugs.webkit.org/show_bug.cgi?id=41753
  20380. The original code of the following functions in
  20381. test_shell_devtools_client.cc have NOTIMPLEMENTED(), not
  20382. ASSERT_NOT_REACHED(). The program shouldn't stop at these
  20383. functions.
  20384. * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
  20385. (DRTDevToolsClient::activateWindow):
  20386. (DRTDevToolsClient::closeWindow):
  20387. (DRTDevToolsClient::dockWindow):
  20388. (DRTDevToolsClient::undockWindow):
  20389. 2010-07-07 Anders Carlsson <andersca@apple.com>
  20390. Reviewed by Sam Weinig.
  20391. Test that we call NPP_DestroyStream if a plug-in returns -1 from its NPP_Write function
  20392. https://bugs.webkit.org/show_bug.cgi?id=41821
  20393. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
  20394. (pluginGetProperty):
  20395. (pluginSetProperty):
  20396. (pluginAllocate):
  20397. * DumpRenderTree/TestNetscapePlugIn/PluginObject.h:
  20398. Add and initialize the returnNegativeOneFromWrite property.
  20399. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  20400. (NPP_NewStream):
  20401. Set the stream type to NP_NORMAL so we'll get write callbacks.
  20402. (NPP_DestroyStream):
  20403. Treat the onstreamdestroy attribute as a function name and not a string.
  20404. (NPP_WriteReady):
  20405. Have this return a nonzero value.
  20406. (NPP_Write):
  20407. If returnNegativeOneFromWrite is true return -1.
  20408. 2010-07-07 Kevin Ollivier <kevino@theolliviers.com>
  20409. [wx] Build fix for machines with both MSVC 2005 and 2008 installed. Ensures the
  20410. latest version is selected by default, and allows the version to be specified.
  20411. * wx/build/settings.py:
  20412. 2010-07-07 Chris Fleizach <cfleizach@apple.com>
  20413. Reviewed by Darin Adler.
  20414. AX: TextArea should return AXSelectedTextRange of 0,0 if the cursor is not in the text area
  20415. https://bugs.webkit.org/show_bug.cgi?id=41810
  20416. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  20417. (AccessibilityUIElement::selectedTextRange):
  20418. 2010-07-07 Martin Robinson <mrobinson@igalia.com>
  20419. Unreviewed.
  20420. Build fix after r62700.
  20421. * GNUmakefile.am: Update the source list to reflect the new TestNetscapePlugIn
  20422. source file locations.
  20423. 2010-07-07 Ojan Vafai <ojan@chromium.org>
  20424. Reviewed by David Levin.
  20425. change --exit-after-n-crashes to --exit-after-n-crashes-or-timeouts
  20426. https://bugs.webkit.org/show_bug.cgi?id=41814
  20427. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  20428. * Scripts/old-run-webkit-tests:
  20429. 2010-07-07 Ojan Vafai <ojan@chromium.org>
  20430. Reviewed by David Levin.
  20431. add --exit-after-n-crashes to run-webkit-tests
  20432. https://bugs.webkit.org/show_bug.cgi?id=41811
  20433. Change the bots at build.webkit.org to use --exit-after-n-crashes
  20434. instead of --exit-after-n-failures since we want to be able to have
  20435. more than 20 failures on those bots, but more than 20 crashes means
  20436. something should be rolled out.
  20437. * Scripts/old-run-webkit-tests:
  20438. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  20439. 2010-07-07 Brian Weinstein <bweinstein@apple.com>
  20440. Fix the Windows build by removing win/TestNetscapePlugin/main.cpp from the
  20441. TestNetscapePlugin project, because this was removed from the tree.
  20442. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  20443. 2010-07-07 Anders Carlsson <andersca@apple.com>
  20444. Reviewed by Simon Fraser.
  20445. Unify Mac and Windows TestNetscapePlugin main.cpp files
  20446. https://bugs.webkit.org/show_bug.cgi?id=41798
  20447. * DumpRenderTree/DumpRenderTree.sln:
  20448. * DumpRenderTree/TestNetscapePlugIn/main.cpp:
  20449. (strcasecmp):
  20450. (NP_Initialize):
  20451. (NP_GetEntryPoints):
  20452. (NP_Shutdown):
  20453. (NPP_New):
  20454. (NPP_Destroy):
  20455. (NPP_HandleEvent):
  20456. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
  20457. * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Removed.
  20458. 2010-07-07 Kevin Ollivier <kevino@theolliviers.com>
  20459. [wx] Build fix. pageProperty needs to return a value.
  20460. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  20461. (LayoutTestController::pageProperty):
  20462. 2010-07-07 David Kilzer <ddkilzer@apple.com>
  20463. <http://webkit.org/b/41788> commit-log-editor: wrong ChangeLog read when invoked from subdir with git
  20464. Reviewed by Anders Carlsson.
  20465. For both svn and git, commit-log-editor is invoked from the root
  20466. of the working directory. Unlike svn, git returns a list of
  20467. changed files that are relative to the directory where the
  20468. command was invoked. This caused the ChangeLog file in the root
  20469. directory to be read instead of the ChangeLog in the current
  20470. directory.
  20471. The fix is to use $ENV{PWD} as the base directory when fixing
  20472. the path to the ChangeLog files. With svn, this has no net
  20473. effect since $ENV{PWD} is the root of the working directory and
  20474. the ChangeLog paths are already relative to that directory.
  20475. With git, $ENV{PWD} is the directory that the commit was invoked
  20476. from, which fixes the ChangeLog paths so that the correct files
  20477. are read when creating the commit log entry.
  20478. Note that the call to makeFilePathRelative() was supposed to
  20479. address this issue, but it doesn't because (a) it does nothing
  20480. with svn working directories by design, and (b) it does nothing
  20481. with git working directories because it's invoked when the
  20482. current directory is the root of the working directory, thus
  20483. giving no relative path.
  20484. * Scripts/commit-log-editor: Removed call to
  20485. makeFilePathRelative() since since it does nothing. Moved code
  20486. to fix up $changeLog path so that it's fixed before trying to
  20487. open the file, and use $ENV{PWD} as the base path. Also use
  20488. canonicalizePath() to clean up paths with "../" in them.
  20489. 2010-07-07 Anders Carlsson <andersca@apple.com>
  20490. Another attempt at fixing the Qt build.
  20491. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  20492. 2010-07-07 Anders Carlsson <andersca@apple.com>
  20493. Try to fix Qt build.
  20494. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  20495. 2010-07-07 Anders Carlsson <andersca@apple.com>
  20496. Reviewed by Simon Fraser.
  20497. Rename TestNetscapePlugin.subproj and move platform specific files to subdirectories
  20498. https://bugs.webkit.org/show_bug.cgi?id=41781
  20499. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  20500. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp: Renamed from WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp.
  20501. * DumpRenderTree/TestNetscapePlugIn/PluginObject.h: Renamed from WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h.
  20502. * DumpRenderTree/TestNetscapePlugIn/TestObject.cpp: Renamed from WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp.
  20503. * DumpRenderTree/TestNetscapePlugIn/TestObject.h: Renamed from WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h.
  20504. * DumpRenderTree/TestNetscapePlugIn/mac/Info.plist: Renamed from WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist.
  20505. * DumpRenderTree/TestNetscapePlugIn/main.cpp: Renamed from WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp.
  20506. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.def: Renamed from WebKitTools/DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.def.
  20507. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.rc: Renamed from WebKitTools/DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc.
  20508. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj: Added.
  20509. * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin_debug.def: Renamed from WebKitTools/DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin_debug.def.
  20510. * DumpRenderTree/TestNetscapePlugIn/win/resource.h: Renamed from WebKitTools/DumpRenderTree/win/TestNetscapePlugin/resource.h.
  20511. * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
  20512. 2010-07-07 Andras Becsi <abecsi@webkit.org>
  20513. Unreviewed trivial fix.
  20514. Remove DUMPRENDERTREE_TEMP environment variable from NRWT
  20515. which was checked in accidentally in r62635.
  20516. * Scripts/webkitpy/layout_tests/port/webkit.py:
  20517. 2010-07-07 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  20518. Reviewed by Eric Seidel.
  20519. Pass port specific environment to server process.
  20520. https://bugs.webkit.org/show_bug.cgi?id=41593
  20521. * Scripts/webkitpy/layout_tests/port/qt.py:
  20522. * Scripts/webkitpy/layout_tests/port/webkit.py:
  20523. 2010-07-06 Kent Tamura <tkent@chromium.org>
  20524. Reviewed by Shinichiro Hamaji.
  20525. Fix a wrong dup detection of rebaseline-chromium-webkit-tests
  20526. https://bugs.webkit.org/show_bug.cgi?id=41644
  20527. rebaseline-chromium-webkit-tests used ImageDiff with 0.1%
  20528. tolerance. We don't need tolerance for rebaseline.
  20529. * Scripts/webkitpy/layout_tests/port/base.py:
  20530. Add optional tolerance parameter to diff_image().
  20531. * Scripts/webkitpy/layout_tests/port/test.py:
  20532. Add optional tolerance parameter to diff_image().
  20533. * Scripts/webkitpy/layout_tests/port/webkit.py:
  20534. Add optional tolerance parameter to diff_image(), and pass it to ImageDiff command.
  20535. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  20536. diff_files() always calls diff_image() with tolerance=0.
  20537. diff_files() is used only by rebaseline-chromium-webkit-tests.
  20538. 2010-07-06 Sam Weinig <sam@webkit.org>
  20539. Fix MiniBrowser build.
  20540. * MiniBrowser/mac/WebBundle/WebBundleMain.m:
  20541. 2010-07-06 Sam Weinig <sam@webkit.org>
  20542. Reviewed by Anders Carlsson.
  20543. Add support for dumping the contents of messages to the console to WebKitTestRunner
  20544. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  20545. (WTR::InjectedBundlePage::InjectedBundlePage):
  20546. (WTR::InjectedBundlePage::_addMessageToConsole):
  20547. (WTR::InjectedBundlePage::addMessageToConsole):
  20548. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
  20549. 2010-07-06 Sam Weinig <sam@webkit.org>
  20550. Reviewed by Anders Carlsson.
  20551. Patch for https://bugs.webkit.org/show_bug.cgi?id=41708
  20552. Add dumpAsText support for WebKitTestRunner
  20553. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  20554. (WTR::InjectedBundle::InjectedBundle):
  20555. (WTR::InjectedBundle::reset): Reset the LayoutTestController for each test.
  20556. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  20557. (WTR::InjectedBundlePage::didFinishLoadForFrame): Use the new WKBundleFrameCopyInnerText
  20558. API to dump the main frames text.
  20559. 2010-07-06 Darin Adler <darin@apple.com>
  20560. Fix Chromium build.
  20561. * DumpRenderTree/chromium/WebViewHost.cpp:
  20562. (WebViewHost::didCreateDataSource): Call leakPtr instead of release.
  20563. (WebViewHost::didNavigateWithinPage): Ditto.
  20564. (WebViewHost::updateURL): Ditto.
  20565. 2010-07-06 Martin Robinson <mrobinson@igalia.com>
  20566. Reviewed by Xan Lopez.
  20567. [GTK] build-webkit should not run autogen.sh unconditionally
  20568. https://bugs.webkit.org/show_bug.cgi?id=41704
  20569. * Scripts/webkitdirs.pm: Only run autogen.sh during a build if GNUmakefile
  20570. doesn't exist. Autotools should re-run autogen.sh when necessary. Also do
  20571. some very minor cleanup.
  20572. 2010-07-06 Darin Adler <darin@apple.com>
  20573. Try to fix Chromium build.
  20574. * DumpRenderTree/chromium/WebViewHost.cpp: Added include of PassOwnPtr.h.
  20575. 2010-07-06 Darin Adler <darin@apple.com>
  20576. Fix build.
  20577. * WebKitAPITest/TestsController.cpp:
  20578. (WebKitAPITest::TestsController::addTest): Use leakPtr instead of release.
  20579. 2010-07-06 Roland Steiner <rolandsteiner@chromium.org>
  20580. Reviewed by Kent Tamura.
  20581. Bug 40558 - [DRT/Chromium] Upstream TestShellDevTools for Chromium DRT
  20582. https://bugs.webkit.org/show_bug.cgi?id=40558
  20583. Upstream DevTools for Chromium DRT.
  20584. (original Chromium files rev. 51287)
  20585. * DumpRenderTree/DumpRenderTree.gypi:
  20586. * DumpRenderTree/chromium/DRTDevToolsAgent.cpp: Added.
  20587. (DRTDevToolsAgent::DRTDevToolsAgent):
  20588. (DRTDevToolsAgent::setWebView):
  20589. (DRTDevToolsAgent::sendMessageToFrontend):
  20590. (DRTDevToolsAgent::forceRepaint):
  20591. (DRTDevToolsAgent::runtimeFeatureStateChanged):
  20592. (DRTDevToolsAgent::injectedScriptSource):
  20593. (DRTDevToolsAgent::injectedScriptDispatcherSource):
  20594. (DRTDevToolsAgent::debuggerScriptSource):
  20595. (DRTDevToolsAgent::asyncCall):
  20596. (DRTDevToolsAgent::call):
  20597. (DRTDevToolsAgent::webDevToolsAgent):
  20598. (DRTDevToolsAgent::attach):
  20599. (DRTDevToolsAgent::detach):
  20600. (DRTDevToolsAgent::setTimelineProfilingEnabled):
  20601. (DRTDevToolsAgent::evaluateInWebInspector):
  20602. (DRTDevToolsAgent::dispatchMessageLoop):
  20603. * DumpRenderTree/chromium/DRTDevToolsAgent.h: Added.
  20604. (DRTDevToolsAgent::~DRTDevToolsAgent):
  20605. (DRTDevToolsAgent::hostIdentifier):
  20606. * DumpRenderTree/chromium/DRTDevToolsCallArgs.cpp:
  20607. * DumpRenderTree/chromium/DRTDevToolsCallArgs.h:
  20608. (DRTDevToolsCallArgs::DRTDevToolsCallArgs):
  20609. (DRTDevToolsCallArgs::~DRTDevToolsCallArgs):
  20610. (DRTDevToolsCallArgs::callsCount):
  20611. * DumpRenderTree/chromium/DRTDevToolsClient.cpp: Added.
  20612. (DRTDevToolsClient::DRTDevToolsClient):
  20613. (DRTDevToolsClient::~DRTDevToolsClient):
  20614. (DRTDevToolsClient::sendMessageToAgent):
  20615. (DRTDevToolsClient::sendDebuggerCommandToAgent):
  20616. (DRTDevToolsClient::activateWindow):
  20617. (DRTDevToolsClient::closeWindow):
  20618. (DRTDevToolsClient::dockWindow):
  20619. (DRTDevToolsClient::undockWindow):
  20620. (DRTDevToolsClient::asyncCall):
  20621. (DRTDevToolsClient::call):
  20622. (DRTDevToolsClient::allMessagesProcessed):
  20623. * DumpRenderTree/chromium/DRTDevToolsClient.h:
  20624. * DumpRenderTree/chromium/EventSender.cpp:
  20625. * DumpRenderTree/chromium/LayoutTestController.cpp:
  20626. (LayoutTestController::LayoutTestController):
  20627. (LayoutTestController::closeWebInspector):
  20628. (LayoutTestController::setTimelineProfilingEnabled):
  20629. (LayoutTestController::evaluateInWebInspector):
  20630. * DumpRenderTree/chromium/LayoutTestController.h:
  20631. * DumpRenderTree/chromium/TestShell.cpp:
  20632. (TestShell::TestShell):
  20633. (TestShell::~TestShell):
  20634. (TestShell::createDRTDevToolsClient):
  20635. (TestShell::showDevTools):
  20636. (TestShell::closeDevTools):
  20637. (TestShell::runFileTest):
  20638. (TestShell::createNewWindow):
  20639. * DumpRenderTree/chromium/TestShell.h:
  20640. (TestShell::drtDevToolsAgent):
  20641. (TestShell::drtDevToolsClient):
  20642. * DumpRenderTree/chromium/config.h:
  20643. 2010-07-06 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  20644. Reviewed by Eric Seidel.
  20645. Don't pass image hash to DRT when pixel tests are disabled.
  20646. https://bugs.webkit.org/show_bug.cgi?id=41597
  20647. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  20648. 2010-07-05 Csaba Osztrogonác <ossy@webkit.org>
  20649. Reviewed by Eric Seidel.
  20650. REGRESSION(r60652): WebKitTools/Scripts/ensure-valid-python should cleanup temporary directory
  20651. https://bugs.webkit.org/show_bug.cgi?id=41612
  20652. * Scripts/ensure-valid-python: File::Temp::tempdir call fixed.
  20653. 2010-07-05 Adam Barth <abarth@webkit.org>
  20654. Reviewed by Eric Seidel.
  20655. We should be able to specify a bug to block for webkit-patch upload
  20656. https://bugs.webkit.org/show_bug.cgi?id=41648
  20657. This will be useful for working on the HTML5 parser.
  20658. * Scripts/webkitpy/tool/steps/createbug.py:
  20659. * Scripts/webkitpy/tool/steps/options.py:
  20660. 2010-07-05 Martin Robinson <mrobinson@igalia.com>
  20661. Reviewed by Oliver Hunt.
  20662. The style checker exempts gtk2drawing.h when it should exempt gtkdrawing.h
  20663. https://bugs.webkit.org/show_bug.cgi?id=41017
  20664. * Scripts/webkitpy/style/checker.py: Exempt gtkdrawing.h instead of gtk2drawing.h
  20665. * Scripts/webkitpy/style/checker_unittest.py: Update the unit test to reflect the change.
  20666. 2010-07-04 MORITA Hajime <morrita@google.com>
  20667. rebaseline-chromium-webkit-tests: UnicodeDecodeError
  20668. https://bugs.webkit.org/show_bug.cgi?id=41589
  20669. * run() method can result non-utf-8 bytes, that causes utf-8
  20670. decoding fail. Fixed to disable decoding.
  20671. * Fixed Git.find_checkout_root() to make a test pass.
  20672. * Scripts/webkitpy/common/checkout/scm.py:
  20673. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  20674. 2010-07-03 Patrick Gansterer <paroga@paroga.com>
  20675. Reviewed by Simon Hausmann.
  20676. [Qt] Fix DumpRenderTree userStyleSheet handling.
  20677. https://bugs.webkit.org/show_bug.cgi?id=41570
  20678. DumpRenderTree did only set the userStyleSheet at
  20679. layoutTestController.setUserStyleSheetEnabled().
  20680. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  20681. (LayoutTestController::reset):
  20682. (LayoutTestController::setUserStyleSheetLocation):
  20683. (LayoutTestController::setUserStyleSheetEnabled):
  20684. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  20685. 2010-07-03 Robert Hogan <robert@webkit.org>
  20686. Reviewed by Kenneth Rohde Christiansen.
  20687. [Qt] support dumpChildFrameScrollPositions
  20688. https://bugs.webkit.org/show_bug.cgi?id=41088
  20689. Unskip:
  20690. http/tests/navigation/anchor-subframeload.html
  20691. http/tests/navigation/relativeanchor-frames.html
  20692. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  20693. (WebCore::DumpRenderTree::dumpFrameScrollPosition):
  20694. (WebCore::DumpRenderTree::dump):
  20695. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  20696. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  20697. (LayoutTestController::reset):
  20698. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  20699. (LayoutTestController::shouldDumpChildFrameScrollPositions):
  20700. (LayoutTestController::dumpChildFrameScrollPositions):
  20701. 2010-07-02 Sam Weinig <sam@webkit.org>
  20702. Reviewed by Anders Carlsson.
  20703. Rename new scripts so that they don't make autocompleting run-webkit-tests annoying.
  20704. * Scripts/debug-test-runner: Copied from Scripts/debug-webkittestrunner.
  20705. * Scripts/debug-webkittestrunner: Removed.
  20706. * Scripts/run-test-runner: Copied from Scripts/run-webkittestrunner.
  20707. * Scripts/run-webkittestrunner: Removed.
  20708. 2010-07-02 Brian Weinstein <bweinstein@apple.com>
  20709. Reviewed by Steve Falkenburg.
  20710. Some http tests fail on Windows with Cygwin 1.7
  20711. https://bugs.webkit.org/show_bug.cgi?id=41537
  20712. With Cygwin 1.7, the registry key at SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/
  20713. doesn't exist anymore, because the mount points are stored in /etc/fstab. However, we
  20714. just need root mount point, which is defined in SOFTWARE\\Cygwin\\setup.
  20715. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  20716. (resolveCygwinPath): Fall back to SOFTWARE\\Cygwin\\setup if
  20717. SOFTWARE\\Cygnus Solutions\\Cygwin\\mounts v2\\/ doesn't work.
  20718. 2010-06-23 Martin Robinson <mrobinson@igalia.com>
  20719. Reviewed by Gustavo Noronha Silva.
  20720. [GTK] Separate DerivedSources per-project
  20721. https://bugs.webkit.org/show_bug.cgi?id=41109
  20722. The JavaScriptCore cppflags used to include the top-level DerivedSources directory
  20723. allowing the tools to build as a side-effect. Now that the top-level directory
  20724. is no longer in the list of JavaScriptCore includes, include it explicitly.
  20725. * GNUmakefile.am:
  20726. 2010-07-01 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  20727. Reviewed by Kenneth Rohde Christiansen.
  20728. [Qt] Make context menus show up in the right place in QTestBrowser
  20729. Context menus were shown at scene-relative coordinates for
  20730. QGraphicsWebView while QMenu expects them to be global. The
  20731. change to the QWidget case was to get rid of the mapToGlobal.
  20732. * QtTestBrowser/webview.cpp:
  20733. 2010-07-01 Robert Hogan <robert@webkit.org>
  20734. Reviewed by Kenneth Rohde Christiansen.
  20735. [Qt] dump frames in ascending alphabetical order of title
  20736. https://bugs.webkit.org/show_bug.cgi?id=41261
  20737. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  20738. (WebCore::dumpHistoryItem):
  20739. 2010-07-01 Martin Robinson <mrobinson@igalia.com>
  20740. Unreviewed.
  20741. Fix the GTK+ build after r62278.
  20742. * Scripts/webkitdirs.pm: If the make arguments have already been specified,
  20743. let them override the automatic CPU detection for autotools builds.
  20744. 2010-07-01 Martin Robinson <mrobinson@igalia.com>
  20745. Unreviewed.
  20746. Fix the Windows build after r62278.
  20747. * Scripts/num-cpus: Use FindBin to add the Scripts directory to the list of library directories.
  20748. 2010-07-01 Martin Robinson <mrobinson@igalia.com>
  20749. Reviewed by Gustavo Noronha Silva.
  20750. [GTK] build-webkit does not detect the number of CPUs
  20751. https://bugs.webkit.org/show_bug.cgi?id=41469
  20752. Pass the appropriate -j<#> flag to make when building autotools builds.
  20753. This causes make to spawn that many number of child processes for doing
  20754. parallel builds.
  20755. * Scripts/num-cpus: Use the newly abstracted numberOfCPUs to return the number
  20756. of CPUs. This makes the script work across more platforms.
  20757. * Scripts/webkitdirs.pm: Create a numberOfCPUs/determineNumberOfCPUs to determine the
  20758. number of CPUs across several platforms. Use this new function to determine the appropriate
  20759. arguments to pass to make for doing parallel builds with autotools build files.
  20760. 2010-07-01 Simon Hausmann <simon.hausmann@nokia.com>
  20761. Rubber-stamped by Laszlo Gombos.
  20762. [Qt][Symbian] Bumped up the maximum heap size to 96MB
  20763. * QtTestBrowser/QtTestBrowser.pro: Removed explicit heap size declaration
  20764. and use the one from WebKit.pri instead.
  20765. 2010-07-01 Adam Barth <abarth@webkit.org>
  20766. Reviewed by Eric Seidel.
  20767. Promote webkit-patch land-safely to main help
  20768. https://bugs.webkit.org/show_bug.cgi?id=41446
  20769. I've been using this command a bunch and recommending it to folks. We
  20770. should show it in main help as it's past the experimental phase.
  20771. * Scripts/webkitpy/tool/commands/upload.py:
  20772. 2010-06-28 MORITA Hajime <morrita@google.com>
  20773. Reviewed by Shinichiro Hamaji.
  20774. rebaseline-chromium-webkit-tests doesn't do diffs right with a Git checkout of WebKit
  20775. https://bugs.webkit.org/show_bug.cgi?id=38775
  20776. - Introduced SCM.show_head() and SCM.diff_for_file().
  20777. - Replaced direct svn invocations with newly implement SCM methods.
  20778. * Scripts/webkitpy/common/checkout/scm.py:
  20779. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  20780. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  20781. 2010-06-30 Simon Fraser <simon.fraser@apple.com>
  20782. Reviewed by Sam Weinig.
  20783. Allow MiniBrowser to open local files
  20784. https://bugs.webkit.org/show_bug.cgi?id=41104
  20785. Wire up the openDocument: message with an NSOpenPanel, so we can open
  20786. local files.
  20787. Also change the xib so that the window remembers its size.
  20788. * MiniBrowser/mac/AppDelegate.m:
  20789. (-[BrowserAppDelegate frontmostBrowserWindowController]):
  20790. (-[BrowserAppDelegate openDocument:]):
  20791. (-[BrowserAppDelegate openPanelDidEnd:returnCode:contextInfo:]):
  20792. * MiniBrowser/mac/English.lproj/BrowserWindow.xib:
  20793. 2010-06-30 Sam Weinig <sam@webkit.org>
  20794. Rubber-stamped by Anders Carlsson.
  20795. Add debug-webkittestrunner and cleanup related scripts.
  20796. * Scripts/debug-webkittestrunner: Added.
  20797. * Scripts/run-webkittestrunner:
  20798. * Scripts/webkitdirs.pm:
  20799. 2010-06-30 Kevin Ollivier <kevino@theolliviers.com>
  20800. [wx] Build fix after recent changes to LayoutTestController.
  20801. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  20802. (LayoutTestController::pageSizeAndMarginsInPixels):
  20803. 2010-06-29 Sam Weinig <sam@webkit.org>
  20804. Reviewed by Anders Carlsson.
  20805. Patch for https://bugs.webkit.org/show_bug.cgi?id=41389
  20806. Make WebKitTestRunner work with more than one test at a time.
  20807. This converts WebKitTestRunner to a similar model as DumpRenderTree,
  20808. where there is a single WKView and each test is run it, rather than
  20809. the design I was using where each test got its own WKView.
  20810. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  20811. (WTR::InjectedBundle::didRecieveMessage):
  20812. (WTR::InjectedBundle::reset):
  20813. * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
  20814. * WebKitTestRunner/TestController.cpp:
  20815. (WTR::TestController::initialize):
  20816. (WTR::TestController::runTest):
  20817. (WTR::TestController::_didRecieveMessageFromInjectedBundle):
  20818. (WTR::TestController::didRecieveMessageFromInjectedBundle):
  20819. * WebKitTestRunner/TestController.h:
  20820. (WTR::TestController::mainWebView):
  20821. (WTR::TestController::pageNamespace):
  20822. (WTR::TestController::context):
  20823. * WebKitTestRunner/TestInvocation.cpp:
  20824. (WTR::TestInvocation::TestInvocation):
  20825. (WTR::TestInvocation::~TestInvocation):
  20826. (WTR::TestInvocation::invoke):
  20827. (WTR::TestInvocation::didRecieveMessageFromInjectedBundle):
  20828. * WebKitTestRunner/TestInvocation.h:
  20829. 2010-06-30 Simon Hausmann <simon.hausmann@nokia.com>
  20830. Reviewed by Laszlo Gombos.
  20831. [Qt][Symbian] Only 10 websites can be loaded consecutively when using QtWebkit 2.0
  20832. https://bugs.webkit.org/show_bug.cgi?id=40446
  20833. We quickly run out of memory on Symbian when loading web pages. This is
  20834. caused by the default heap size, which is not suited for a web browser.
  20835. This change bumps the max heap size to 32MB.
  20836. * QtTestBrowser/QtTestBrowser.pro:
  20837. 2010-06-30 Eric Seidel <eric@webkit.org>
  20838. Reviewed by Adam Barth.
  20839. webkit-patch land allow the user to continue even if the builders are red
  20840. https://bugs.webkit.org/show_bug.cgi?id=41395
  20841. I don't think it's good that we've been teaching people
  20842. to always pass --ignore-builders. At least land is now
  20843. useable w/o --ignore-builders.
  20844. * Scripts/webkitpy/tool/steps/ensurebuildersaregreen.py:
  20845. 2010-06-29 Robert Hogan <robert@webkit.org>
  20846. Reviewed by Kenneth Rohde Christiansen.
  20847. [Qt] support dumpResourceResponseMIMETypes
  20848. https://bugs.webkit.org/show_bug.cgi?id=41260
  20849. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  20850. (LayoutTestController::reset):
  20851. (LayoutTestController::dumpResourceResponseMIMETypes):
  20852. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  20853. 2010-06-29 Diego Gonzalez <diegohcg@webkit.org>
  20854. Reviewed by Kenneth Rohde Christiansen.
  20855. [Qt] Resize scene when Qt DRT WebPage receives a geometry change request
  20856. https://bugs.webkit.org/show_bug.cgi?id=41173
  20857. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  20858. (WebCore::WebPage::setViewGeometry):
  20859. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  20860. 2010-06-29 Diego Gonzalez <diegohcg@webkit.org>
  20861. Reviewed by Simon Hausmann.
  20862. [Qt] Deal with postEvent in case of graphics based DRT
  20863. https://bugs.webkit.org/show_bug.cgi?id=41174
  20864. QGraphicsScene does not have a postEvent method, so make scene
  20865. send the event, in case of graphics based DRT, and delete it after that.
  20866. * DumpRenderTree/qt/EventSenderQt.cpp:
  20867. (EventSender::scheduleAsynchronousClick):
  20868. (EventSender::replaySavedEvents):
  20869. (EventSender::postEvent):
  20870. * DumpRenderTree/qt/EventSenderQt.h:
  20871. 2010-06-29 Diego Gonzalez <diegohcg@webkit.org>
  20872. Reviewed by Kenneth Rohde Christiansen.
  20873. [Qt] Make switchFocus() method works with QGraphicsWebView in Qt DRT
  20874. https://bugs.webkit.org/show_bug.cgi?id=41172
  20875. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  20876. (WebCore::DumpRenderTree::switchFocus):
  20877. 2010-06-29 Mario Sanchez Prada <msanchez@igalia.com>
  20878. Reviewed by Xan Lopez.
  20879. [Gtk] Make DRT more coherent with other ports to allow reusing more tests
  20880. https://bugs.webkit.org/show_bug.cgi?id=40009
  20881. Make sure "AXRole: ", "AXTitle: " and "AXDescription: " prefixes
  20882. are used when returning those values, for coherency with other ports.
  20883. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  20884. (AccessibilityUIElement::role):
  20885. (AccessibilityUIElement::title):
  20886. (AccessibilityUIElement::description):
  20887. 2010-06-29 Sheriff Bot <webkit.review.bot@gmail.com>
  20888. Unreviewed, rolling out r62106.
  20889. http://trac.webkit.org/changeset/62106
  20890. https://bugs.webkit.org/show_bug.cgi?id=41346
  20891. "Broke editing tests" (Requested by xan_ on #webkit).
  20892. * Scripts/old-run-webkit-tests:
  20893. 2010-06-29 Mario Sanchez Prada <msanchez@igalia.com>
  20894. Reviewed by Xan Lopez.
  20895. Ensure DRT loads GAIL (Gtk+ module), for a11y tests
  20896. https://bugs.webkit.org/show_bug.cgi?id=38648
  20897. Add the GTK_MODULES envvar (set to "gail") to the clean
  20898. environment when running DRT for the Gtk+ port
  20899. * Scripts/old-run-webkit-tests:
  20900. 2010-06-28 Adam Barth <abarth@webkit.org>
  20901. Unreviewed.
  20902. Switch test-html5-parser back to using runner.html.
  20903. * Scripts/test-html5-parser:
  20904. 2010-06-28 Adam Barth <abarth@webkit.org>
  20905. Reviewed by Eric Seidel.
  20906. Restore webkit-runner.html for use with new tree builder
  20907. https://bugs.webkit.org/show_bug.cgi?id=41317
  20908. For now, we just want to run webkit-runner when we test-html5-parser.
  20909. * Scripts/test-html5-parser:
  20910. 2010-06-23 John Gregg <johnnyg@google.com>
  20911. Reviewed by Kent Tamura.
  20912. add ENABLE_DIRECTORY_UPLOAD build support
  20913. https://bugs.webkit.org/show_bug.cgi?id=41100
  20914. * Scripts/build-webkit:
  20915. 2010-06-28 Gustavo Noronha Silva <gns@gnome.org>
  20916. Rubber-stamped by Xan Lopez.
  20917. Update webkitdirs's knowledge of our library's name.
  20918. * Scripts/webkitdirs.pm:
  20919. 2010-06-28 Sam Weinig <sam@webkit.org>
  20920. Reviewed by Anders Carlsson.
  20921. Patch for https://bugs.webkit.org/show_bug.cgi?id=41299
  20922. Build up WebKitTestRunner output in the InjectedBundle
  20923. Simplify WebKitTestRunner by building up the output in the InjectedBundle
  20924. and sending it over postMessage when done, instead of using the async
  20925. WKPageRenderTreeExternalRepresentation.
  20926. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
  20927. (WTR::InjectedBundle::done):
  20928. (WTR::InjectedBundle::didRecieveMessage):
  20929. * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
  20930. (WTR::InjectedBundle::os):
  20931. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
  20932. (WTR::WKStringToUTF8):
  20933. (WTR::InjectedBundlePage::didFinishLoadForFrame):
  20934. (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame):
  20935. * WebKitTestRunner/TestInvocation.cpp:
  20936. (WTR::WKStringToUTF8):
  20937. (WTR::TestInvocation::TestInvocation):
  20938. (WTR::TestInvocation::invoke):
  20939. (WTR::TestInvocation::initializeMainWebView):
  20940. (WTR::TestInvocation::_didRecieveMessageFromInjectedBundle):
  20941. (WTR::TestInvocation::didRecieveMessageFromInjectedBundle):
  20942. * WebKitTestRunner/TestInvocation.h:
  20943. 2010-06-28 Robert Hogan <robert@webkit.org>
  20944. Unreviewed, rolling out r62021.
  20945. http://trac.webkit.org/changeset/62021
  20946. https://bugs.webkit.org/show_bug.cgi?id=41261
  20947. Broke http/navigation tests among other
  20948. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  20949. (WebCore::DumpRenderTree::dumpFramesAsText):
  20950. 2010-06-28 Sam Weinig <sam@webkit.org>
  20951. Reviewed by Anders Carlsson.
  20952. Add run-webkittestrunner to run WebKitTestRunner with the appropriate
  20953. environment.
  20954. * Scripts/run-webkittestrunner: Added.
  20955. * Scripts/webkitdirs.pm:
  20956. 2010-06-28 Robert Hogan <robert@webkit.org>
  20957. Reviewed by Kenneth Rohde Christiansen.
  20958. [Qt] dump frames in ascending alphabetical order of title
  20959. https://bugs.webkit.org/show_bug.cgi?id=41261
  20960. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  20961. (WebCore::DumpRenderTree::dumpFramesAsText):
  20962. 2010-06-28 Robert Hogan <robert@webkit.org>
  20963. Reviewed by Kenneth Rohde Christiansen.
  20964. [Qt] dump bf history of child windows
  20965. https://bugs.webkit.org/show_bug.cgi?id=41266
  20966. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  20967. (WebCore::DumpRenderTree::dumpBackForwardList):
  20968. (WebCore::DumpRenderTree::dump):
  20969. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  20970. 2010-06-28 Sam Weinig <sam@webkit.org>
  20971. Reviewed by Anders Carlsson.
  20972. Patch for https://bugs.webkit.org/show_bug.cgi?id=41288
  20973. WebKit2: Add frame API for InjectedBundle code
  20974. * MiniBrowser/mac/WebBundle/WebBundleMain.m:
  20975. (_didClearWindowForFrame):
  20976. 2010-06-28 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  20977. Reviewed by Kenneth Rohde Christiansen.
  20978. [Qt] QtTestBrowser does not have a "Load" button ; therefore, unable to load pages on touch only symbian devices (portrait mode).
  20979. https://bugs.webkit.org/show_bug.cgi?id=38597
  20980. Fix behavior so reload button really acts as a load and a reload button.
  20981. * QtTestBrowser/mainwindow.cpp:
  20982. (MainWindow::changeLocation):
  20983. 2010-06-28 Xan Lopez <xlopez@igalia.com>
  20984. Reviewed by Gustavo Noronha.
  20985. [GTK] Does not compile with -DGSEAL_ENABLE
  20986. https://bugs.webkit.org/show_bug.cgi?id=37851
  20987. Fix build with GSEAL enabled.
  20988. * DumpRenderTree/gtk/EventSender.cpp:
  20989. (gtk_widget_get_window):
  20990. (prepareMouseButtonEvent):
  20991. (mouseMoveToCallback):
  20992. (mouseWheelToCallback):
  20993. (keyDownCallback):
  20994. 2010-06-28 Xan Lopez <xlopez@igalia.com>
  20995. Reviewed by Gustavo Noronha.
  20996. [GTK] Add support for GTK+3
  20997. https://bugs.webkit.org/show_bug.cgi?id=41253
  20998. Adapt build system for 3.x support.
  20999. * GNUmakefile.am:
  21000. 2010-06-10 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
  21001. Reviewed by Simon Hausmann.
  21002. [QT][S60] build-webkit scripts picks wrong make spec for windows build
  21003. https://bugs.webkit.org/show_bug.cgi?id=41198
  21004. Instead of checking for existence of %EPOCROOT% on windows, mandatory use of --symbian flag for symbian builds.
  21005. * Scripts/webkitdirs.pm:
  21006. (determineIsSymbian): remove check for %EPOCROOT% as one can build for windows port of QT as well
  21007. 2010-06-28 Eric Seidel <eric@webkit.org>
  21008. Reviewed by Adam Barth.
  21009. Make it possible to test the new HTML5 TreeBuilder
  21010. https://bugs.webkit.org/show_bug.cgi?id=41276
  21011. Adam was concerned that someone might make their port
  21012. depend on this setting (I guess we had some trouble with that
  21013. with the HTML5Parser setting), so I littered the code with warnings.
  21014. test-html5-parser now tests this code path.
  21015. * DumpRenderTree/mac/DumpRenderTree.mm:
  21016. (resetDefaultsToConsistentValues):
  21017. (initializeGlobalsFromCommandLineOptions):
  21018. * Scripts/test-html5-parser:
  21019. 2010-06-27 MORITA Hajime <morrita@google.com>
  21020. Unreviewed.
  21021. Some never-called @staticmethods touched self.
  21022. Fixed it to replace these self with a class.
  21023. * Scripts/webkitpy/common/checkout/scm.py:
  21024. 2010-06-27 MORITA Hajime <morrita@google.com>
  21025. Unreviewed.
  21026. Fixed exception raising syntax that is pointed out at
  21027. https://bugs.webkit.org/show_bug.cgi?id=41153
  21028. * Scripts/webkitpy/common/checkout/scm.py:
  21029. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  21030. Removed a bad line that I accidentally checked-in at last revision.
  21031. 2010-06-24 MORITA Hajime <morrita@google.com>
  21032. Reviewed by Eric Seidel.
  21033. rebaseline-chromium-webkit-tests should add or remove files to local git repository
  21034. https://bugs.webkit.org/show_bug.cgi?id=41153
  21035. - Added SCM.add() and SCM.remove()
  21036. - Replaced "svn add" and "svn remove"
  21037. rebaseline_chromium_webkit_tests.py: in with SCM method equivalents.
  21038. - add "-U" and "-q" options to rebaseline_chromium_webkit_tests.py
  21039. for debugging purpose.
  21040. * Scripts/webkitpy/common/checkout/scm.py:
  21041. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  21042. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  21043. 2010-06-25 Yuzo Fujishima <yuzo@google.com>
  21044. Reviewed by Shinichiro Hamaji.
  21045. Improve default value handling for page format properties.
  21046. https://bugs.webkit.org/show_bug.cgi?id=41150
  21047. * DumpRenderTree/LayoutTestController.cpp:
  21048. (parsePageNumber):
  21049. (parsePageNumberSizeMarings):
  21050. (pageSizeAndMarginsInPixelsCallback):
  21051. (LayoutTestController::staticFunctions):
  21052. * DumpRenderTree/LayoutTestController.h:
  21053. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  21054. (LayoutTestController::pageSizeAndMarginsInPixels):
  21055. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  21056. (LayoutTestController::pageSizeAndMarginsInPixels):
  21057. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  21058. (LayoutTestController::pageSizeAndMarginsInPixels):
  21059. 2010-06-21 Robert Hogan <robert@webkit.org>
  21060. Reviewed by Kenneth Rohde Christiansen.
  21061. [Qt] DRT Support for setCustomPolicyDelegate
  21062. https://bugs.webkit.org/show_bug.cgi?id=39564
  21063. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  21064. (LayoutTestController::setCustomPolicyDelegate):
  21065. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  21066. 2010-06-26 Robert Hogan <robert@webkit.org>
  21067. Unreviewed, Qt build fix following http://trac.webkit.org/changeset/61879
  21068. Remove qwebscriptworld.h from LayoutTestControllerQt.cpp - it is no longer
  21069. exported.
  21070. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  21071. 2010-06-26 Tony Gentilcore <tonyg@chromium.org>
  21072. Reviewed by Dimitri Glazkov.
  21073. Add a build-webkit option for enabling Web Timing support.
  21074. https://bugs.webkit.org/show_bug.cgi?id=38924
  21075. * Scripts/build-webkit:
  21076. 2010-06-25 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  21077. Reviewed by Kenneth Rohde Christiansen.
  21078. [Qt] QtTestBrowser does not have a "Load" button ; therefore, unable to load pages on touch only symbian devices (portrait mode).
  21079. https://bugs.webkit.org/show_bug.cgi?id=38597
  21080. Make the reload button act as a load button as well.
  21081. * QtTestBrowser/mainwindow.cpp:
  21082. (MainWindow::buildUI):
  21083. (MainWindow::changeLocation):
  21084. 2010-06-25 Prasad Tammana <prasadt@chromium.org>
  21085. Reviewed by Dmitry Titov.
  21086. Add empty abortModal() method to all platforms.
  21087. https://bugs.webkit.org/show_bug.cgi?id=40864
  21088. Add an empty abortModal() stub to LayoutTestController on all platforms to get rid of platform specific #ifs in
  21089. platform independent LayoutTestController code. Without this change, layout tests using LayoutTestController tests
  21090. that use abortModal will become mac specific which is not desirable.
  21091. * DumpRenderTree/LayoutTestController.cpp:
  21092. (abortModalCallback):
  21093. (LayoutTestController::staticFunctions):
  21094. * DumpRenderTree/LayoutTestController.h:
  21095. * DumpRenderTree/chromium/LayoutTestController.cpp:
  21096. (LayoutTestController::LayoutTestController):
  21097. (LayoutTestController::abortModal):
  21098. * DumpRenderTree/chromium/LayoutTestController.h:
  21099. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  21100. (LayoutTestController::abortModal):
  21101. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  21102. (LayoutTestController::abortModal):
  21103. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  21104. (LayoutTestController::abortModal):
  21105. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  21106. (LayoutTestController::abortModal):
  21107. 2010-06-25 Sam Weinig <sam@webkit.org>
  21108. Reviewed by Anders Carlsson.
  21109. Patch for https://bugs.webkit.org/show_bug.cgi?id=41226
  21110. Flesh out injected bundle code for WebKitTestRunner and add basic LayoutTestController.
  21111. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: Added.
  21112. (WTR::InjectedBundle::shared):
  21113. (WTR::InjectedBundle::InjectedBundle):
  21114. (WTR::InjectedBundle::_didCreatePage):
  21115. (WTR::InjectedBundle::_willDestroyPage):
  21116. (WTR::InjectedBundle::_didRecieveMessage):
  21117. (WTR::InjectedBundle::initialize):
  21118. (WTR::InjectedBundle::didCreatePage):
  21119. (WTR::InjectedBundle::willDestroyPage):
  21120. (WTR::InjectedBundle::didRecieveMessage):
  21121. * WebKitTestRunner/InjectedBundle/InjectedBundle.h: Added.
  21122. (WTR::InjectedBundle::layoutTestController):
  21123. * WebKitTestRunner/InjectedBundle/InjectedBundleMain.cpp:
  21124. (WKBundleInitialize):
  21125. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: Added.
  21126. (WTR::InjectedBundlePage::InjectedBundlePage):
  21127. (WTR::InjectedBundlePage::~InjectedBundlePage):
  21128. (WTR::InjectedBundlePage::_didStartProvisionalLoadForFrame):
  21129. (WTR::InjectedBundlePage::_didReceiveServerRedirectForProvisionalLoadForFrame):
  21130. (WTR::InjectedBundlePage::_didFailProvisionalLoadWithErrorForFrame):
  21131. (WTR::InjectedBundlePage::_didCommitLoadForFrame):
  21132. (WTR::InjectedBundlePage::_didFinishLoadForFrame):
  21133. (WTR::InjectedBundlePage::_didFailLoadWithErrorForFrame):
  21134. (WTR::InjectedBundlePage::_didReceiveTitleForFrame):
  21135. (WTR::InjectedBundlePage::_didClearWindowForFrame):
  21136. (WTR::InjectedBundlePage::didStartProvisionalLoadForFrame):
  21137. (WTR::InjectedBundlePage::didReceiveServerRedirectForProvisionalLoadForFrame):
  21138. (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame):
  21139. (WTR::InjectedBundlePage::didCommitLoadForFrame):
  21140. (WTR::InjectedBundlePage::didFinishLoadForFrame):
  21141. (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame):
  21142. (WTR::InjectedBundlePage::didReceiveTitleForFrame):
  21143. (WTR::InjectedBundlePage::didClearWindowForFrame):
  21144. * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h: Added.
  21145. (WTR::InjectedBundlePage::page):
  21146. * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: Added.
  21147. (WTR::LayoutTestController::create):
  21148. (WTR::LayoutTestController::LayoutTestController):
  21149. (WTR::LayoutTestController::~LayoutTestController):
  21150. (WTR::dumpAsTextCallback):
  21151. (WTR::layoutTestControllerObjectFinalize):
  21152. (WTR::LayoutTestController::makeWindowObject):
  21153. (WTR::LayoutTestController::getJSClass):
  21154. (WTR::LayoutTestController::staticFunctions):
  21155. * WebKitTestRunner/InjectedBundle/LayoutTestController.h: Added.
  21156. (WTR::LayoutTestController::dumpAsText):
  21157. (WTR::LayoutTestController::setDumpAsText):
  21158. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
  21159. 2010-06-25 Sam Weinig <sam@webkit.org>
  21160. Reviewed by Anders Carlsson.
  21161. Make WebKitTestRunner really work with run-webkit-tests.
  21162. - Add Forwarding headers to allow some cleanup.
  21163. * WebKitTestRunner/ForwardingHeaders: Added.
  21164. * WebKitTestRunner/ForwardingHeaders/wtf: Added.
  21165. * WebKitTestRunner/ForwardingHeaders/wtf/ASCIICType.h: Added.
  21166. * WebKitTestRunner/ForwardingHeaders/wtf/Assertions.h: Added.
  21167. * WebKitTestRunner/ForwardingHeaders/wtf/Atomics.h: Added.
  21168. * WebKitTestRunner/ForwardingHeaders/wtf/FastMalloc.h: Added.
  21169. * WebKitTestRunner/ForwardingHeaders/wtf/HashMap.h: Added.
  21170. * WebKitTestRunner/ForwardingHeaders/wtf/HashSet.h: Added.
  21171. * WebKitTestRunner/ForwardingHeaders/wtf/HashTraits.h: Added.
  21172. * WebKitTestRunner/ForwardingHeaders/wtf/Locker.h: Added.
  21173. * WebKitTestRunner/ForwardingHeaders/wtf/MainThread.h: Added.
  21174. * WebKitTestRunner/ForwardingHeaders/wtf/MathExtras.h: Added.
  21175. * WebKitTestRunner/ForwardingHeaders/wtf/Noncopyable.h: Added.
  21176. * WebKitTestRunner/ForwardingHeaders/wtf/OwnPtr.h: Added.
  21177. * WebKitTestRunner/ForwardingHeaders/wtf/OwnPtrCommon.h: Added.
  21178. * WebKitTestRunner/ForwardingHeaders/wtf/PassOwnPtr.h: Added.
  21179. * WebKitTestRunner/ForwardingHeaders/wtf/PassRefPtr.h: Added.
  21180. * WebKitTestRunner/ForwardingHeaders/wtf/Platform.h: Added.
  21181. * WebKitTestRunner/ForwardingHeaders/wtf/RefCounted.h: Added.
  21182. * WebKitTestRunner/ForwardingHeaders/wtf/RefPtr.h: Added.
  21183. * WebKitTestRunner/ForwardingHeaders/wtf/RetainPtr.h: Added.
  21184. * WebKitTestRunner/ForwardingHeaders/wtf/StringExtras.h: Added.
  21185. * WebKitTestRunner/ForwardingHeaders/wtf/ThreadSafeShared.h: Added.
  21186. * WebKitTestRunner/ForwardingHeaders/wtf/Threading.h: Added.
  21187. * WebKitTestRunner/ForwardingHeaders/wtf/ThreadingPrimitives.h: Added.
  21188. * WebKitTestRunner/ForwardingHeaders/wtf/Vector.h: Added.
  21189. * WebKitTestRunner/TestInvocation.cpp:
  21190. (WTR::TestInvocation::dump): Dump the right number of #EOFs.
  21191. * WebKitTestRunner/TestInvocation.h:
  21192. 2010-06-25 Sam Weinig <sam@webkit.org>
  21193. Reviewed by Mark Rowe.
  21194. Add support for WebKitTestRunner to old-run-webkit-tests
  21195. - Also adds a script to build WebKitTestRunner for old-run-webkit-tests to use.
  21196. * Scripts/build-webkittestrunner: Added.
  21197. * Scripts/old-run-webkit-tests:
  21198. 2010-06-25 Adam Barth <abarth@webkit.org>
  21199. Reviewed by David Levin.
  21200. Incremental build failed on Chromium ews
  21201. https://bugs.webkit.org/show_bug.cgi?id=41011
  21202. The division of responsibility between update-webkit --chromium and
  21203. build-webkit --chromium is slightly unclear. In this patch, we make
  21204. build-webkit --chromium also update DEPS and re-run GYP in case the
  21205. developer has changed either since they updated.
  21206. This change is also helpful for the EWS, which wants to update DEPS and
  21207. re-run GYP after applying patches, but the EWS doesn't want to run
  21208. update-webkit --chromium because it has a dirty working copy.
  21209. * Scripts/webkitdirs.pm:
  21210. 2010-06-25 Robert Hogan <robert@webkit.org>
  21211. Reviewed by Simon Hausmann.
  21212. [Qt] Support evaluateScriptInIsolatedWorld()
  21213. https://bugs.webkit.org/show_bug.cgi?id=40079
  21214. Remove evaluateScriptInIsolatedWorld() from QtWebKit API.
  21215. Remove QWebScriptWorld from exported headers.
  21216. Confine support to DumpRenderTreeSupportQt so that the tests can pass.
  21217. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  21218. (LayoutTestController::reset):
  21219. (LayoutTestController::evaluateScriptInIsolatedWorld):
  21220. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  21221. 2010-06-25 Anders Carlsson <andersca@apple.com>
  21222. Revert accidental part and add a newline.
  21223. * MiniBrowser/mac/AppDelegate.m:
  21224. * MiniBrowser/mac/MiniBrowser_Prefix.pch:
  21225. 2010-06-25 Anders Carlsson <andersca@apple.com>
  21226. Rubber-stamped by Dan Bernstein.
  21227. Add a LOG macro that expands to a no-op by default.
  21228. * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
  21229. * MiniBrowser/mac/AppDelegate.m:
  21230. (_didRecieveMessageFromInjectedBundle):
  21231. * MiniBrowser/mac/BrowserWindowController.m:
  21232. (-[BrowserWindowController windowShouldClose:]):
  21233. (_didStartProvisionalLoadForFrame):
  21234. (_didReceiveServerRedirectForProvisionalLoadForFrame):
  21235. (_didFailProvisionalLoadWithErrorForFrame):
  21236. (_didCommitLoadForFrame):
  21237. (_didFinishLoadForFrame):
  21238. (_didFailLoadWithErrorForFrame):
  21239. (_didReceiveTitleForFrame):
  21240. (_didFirstLayoutForFrame):
  21241. (_didFirstVisuallyNonEmptyLayoutForFrame):
  21242. (_didBecomeUnresponsive):
  21243. (_didBecomeResponsive):
  21244. (_decidePolicyForNavigationAction):
  21245. (_decidePolicyForNewWindowAction):
  21246. (_createNewPage):
  21247. (_showPage):
  21248. (_closePage):
  21249. (_didNavigateWithNavigationData):
  21250. (_didPerformClientRedirect):
  21251. (_didPerformServerRedirect):
  21252. (_didUpdateHistoryTitle):
  21253. * MiniBrowser/mac/MiniBrowser_Prefix.pch:
  21254. * MiniBrowser/mac/WebBundle/WebBundleMain.m:
  21255. (_didClearWindowForFrame):
  21256. (_didCreatePage):
  21257. (_willDestroyPage):
  21258. (_didRecieveMessage):
  21259. 2010-06-24 Adam Barth <abarth@webkit.org>
  21260. Reviewed by Eric Seidel.
  21261. commit-queue is taking too long to land patches because of red trees
  21262. https://bugs.webkit.org/show_bug.cgi?id=41194
  21263. Instead of checking for the tree to be green, we'll just spin hot
  21264. trying to land patches. This is probably too extreme in ignoring the
  21265. tree, but I think we should try it for a while to see if we have
  21266. trouble. That will help us find the right balance.
  21267. * Scripts/webkitpy/tool/commands/queues.py:
  21268. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  21269. 2010-06-24 Martin Robinson <mrobinson@igalia.com>
  21270. Reviewed by Xan Lopez.
  21271. [GTK] Clean up the use of gdk_window_get_root_coords in EventSender
  21272. https://bugs.webkit.org/show_bug.cgi?id=40843
  21273. Define the version for old GTK+s in a way that is forward-compatible
  21274. and clean up the logic a bit.
  21275. * DumpRenderTree/gtk/EventSender.cpp:
  21276. (gdk_window_get_root_coords): Renamed and cleaned up.
  21277. (prepareMouseButtonEvent): Remove #ifdefs.
  21278. (mouseMoveToCallback): Remove #ifdefs.
  21279. 2010-06-24 Dimitri Glazkov <dglazkov@chromium.org>
  21280. Reviewed by Eric Seidel.
  21281. Fix NewRunWebKitTests to work on Windows.
  21282. https://bugs.webkit.org/show_bug.cgi?id=41180
  21283. * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added "perl" as first arguments,
  21284. because Windows fails to understand what we're asking of it.
  21285. 2010-06-24 Martin Robinson <mrobinson@igalia.com>
  21286. Reviewed by Xan Lopez.
  21287. [GTK] The url passed to the WebView during layout tests is invalid
  21288. https://bugs.webkit.org/show_bug.cgi?id=40832
  21289. Set the test URL to the full real file URL and do a small cleanup.
  21290. Previously a URL like file://relative/path/to/test.html was passed
  21291. to the WebView. This malformed file URL would be returned by
  21292. webkit_web_view_get_url and webkit_web_frame_get_url.
  21293. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  21294. (shouldLogFrameLoadDelegates): Change to take a const string& as the argument.
  21295. (shouldOpenWebInspector): Change to take a const string& as the argument.
  21296. (shouldEnableDeveloperExtras): Change to take a const string& as the argument.
  21297. (runTest): Pass the full file:// URL to the view. Remove the superfluous url variable.
  21298. 2010-06-24 Sam Weinig <sam@webkit.org>
  21299. Reviewed by Anders Carlsson.
  21300. Fix WebKitTestRunner Makefile typos.
  21301. * WebKitTestRunner/Makefile:
  21302. 2010-06-24 Adele Peterson <adele@apple.com>
  21303. Reviewed by Eric Carlson.
  21304. DumpRenderTree part of testing <rdar://problem/8093680> "Paste and Match Style" should fire paste events
  21305. https://bugs.webkit.org/show_bug.cgi?id=41085
  21306. * DumpRenderTree/mac/DumpRenderTree.mm: (resetWebViewToConsistentStateBeforeTesting):
  21307. Clear the general pasteboard in between tests so Cut,Copy, and setData on ClipboardData won't have lasting effects.
  21308. 2010-06-23 Sam Weinig <sam@webkit.org>
  21309. Reviewed by Anders Carlsson.
  21310. Patch for https://bugs.webkit.org/show_bug.cgi?id=41086
  21311. Add new WebKitTestRunner project (ie. DRT for WebKit2).
  21312. - Mac only.
  21313. - run-webkit-tests has not been modified to call it yet.
  21314. - Only dumps the render tree at this time.
  21315. * WebKitTestRunner: Added.
  21316. * WebKitTestRunner/Configurations: Added.
  21317. * WebKitTestRunner/Configurations/Base.xcconfig: Added.
  21318. * WebKitTestRunner/Configurations/DebugRelease.xcconfig: Added.
  21319. * WebKitTestRunner/Configurations/InjectedBundle.xcconfig: Added.
  21320. * WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig: Added.
  21321. * WebKitTestRunner/InjectedBundle: Added.
  21322. * WebKitTestRunner/InjectedBundle-Info.plist: Added.
  21323. * WebKitTestRunner/InjectedBundle/InjectedBundleMain.cpp: Added.
  21324. (_didStartProvisionalLoadForFrame):
  21325. (_didReceiveServerRedirectForProvisionalLoadForFrame):
  21326. (_didFailProvisionalLoadWithErrorForFrame):
  21327. (_didCommitLoadForFrame):
  21328. (_didFinishLoadForFrame):
  21329. (_didFailLoadWithErrorForFrame):
  21330. (_didReceiveTitleForFrame):
  21331. (_didClearWindow):
  21332. (_didCreatePage):
  21333. (_willDestroyPage):
  21334. (_didRecieveMessage):
  21335. (WKBundleInitialize):
  21336. * WebKitTestRunner/Makefile: Added.
  21337. * WebKitTestRunner/PlatformWebView.h: Added.
  21338. (WTR::PlatformWebView::platformView):
  21339. * WebKitTestRunner/TestController.cpp: Added.
  21340. (WTR::TestController::shared):
  21341. (WTR::TestController::TestController):
  21342. (WTR::TestController::initialize):
  21343. (WTR::TestController::runTest):
  21344. (WTR::TestController::runTestingServerLoop):
  21345. (WTR::TestController::run):
  21346. * WebKitTestRunner/TestController.h: Added.
  21347. (WTR::TestController::verbose):
  21348. (WTR::TestController::injectedBundlePath):
  21349. * WebKitTestRunner/TestInvocation.cpp: Added.
  21350. (WTR::createWKURL):
  21351. (WTR::TestInvocation::TestInvocation):
  21352. (WTR::TestInvocation::~TestInvocation):
  21353. (WTR::TestInvocation::invoke):
  21354. (WTR::TestInvocation::dump):
  21355. (WTR::TestInvocation::initializeMainWebView):
  21356. (WTR::TestInvocation::didStartProvisionalLoadForFrame):
  21357. (WTR::TestInvocation::didReceiveServerRedirectForProvisionalLoadForFrame):
  21358. (WTR::TestInvocation::didFailProvisionalLoadWithErrorForFrame):
  21359. (WTR::TestInvocation::didCommitLoadForFrame):
  21360. (WTR::TestInvocation::didFinishLoadForFrame):
  21361. (WTR::TestInvocation::didFailLoadForFrame):
  21362. (WTR::TestInvocation::renderTreeExternalRepresentationFunction):
  21363. (WTR::TestInvocation::renderTreeExternalRepresentationDisposeFunction):
  21364. * WebKitTestRunner/TestInvocation.h: Added.
  21365. * WebKitTestRunner/WebKitTestRunner.xcodeproj: Added.
  21366. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Added.
  21367. * WebKitTestRunner/WebKitTestRunnerPrefix.h: Added.
  21368. * WebKitTestRunner/mac: Added.
  21369. * WebKitTestRunner/mac/PlatformWebViewMac.mm: Added.
  21370. (WTR::PlatformWebView::PlatformWebView):
  21371. (WTR::PlatformWebView::~PlatformWebView):
  21372. (WTR::PlatformWebView::page):
  21373. * WebKitTestRunner/mac/TestInvocationMac.mm: Added.
  21374. (WTR::TestInvocation::runUntil):
  21375. * WebKitTestRunner/mac/main.mm: Added.
  21376. (main):
  21377. 2010-06-24 Luiz Agostini <luiz.agostini@openbossa.org>
  21378. Unreviewed. Adding myself to the committers list.
  21379. * Scripts/webkitpy/common/config/committers.py:
  21380. 2010-06-23 Kevin Ollivier <kevino@theolliviers.com>
  21381. [wx] Build fix, adding new LayoutTestController methods and enabling SVG_FOREIGN_OBJECT.
  21382. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  21383. (LayoutTestController::isPageBoxVisible):
  21384. (LayoutTestController::pageAreaRectInPixels):
  21385. (LayoutTestController::preferredPageSizeInPixels):
  21386. * wx/build/settings.py:
  21387. 2010-06-23 James Robinson <jamesr@chromium.org>
  21388. Unreviewed. Add my IRC handle to committers.py so the sheriffbot can yell at me.
  21389. * Scripts/webkitpy/common/config/committers.py:
  21390. 2010-06-23 Kent Tamura <tkent@chromium.org>
  21391. Reviewed by Dimitri Glazkov.
  21392. Correct Chromium test configuration
  21393. https://bugs.webkit.org/show_bug.cgi?id=41057
  21394. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  21395. - Add "--use-drt" option for NRWT. It is required for Chromium and
  21396. ignored for other platforms.
  21397. - Skip JSC test on Chromium
  21398. * BuildSlaveSupport/test-result-archive:
  21399. Add Chromium support.
  21400. 2010-06-23 Sam Weinig <sam@webkit.org>
  21401. Reviewed by Anders Carlsson.
  21402. Fix for https://bugs.webkit.org/show_bug.cgi?id=41073
  21403. WebKit2: Flesh out more of the InjectedBundle client API
  21404. * MiniBrowser/mac/WebBundle/WebBundleMain.m:
  21405. (_didStartProvisionalLoadForFrame):
  21406. (_didReceiveServerRedirectForProvisionalLoadForFrame):
  21407. (_didFailProvisionalLoadWithErrorForFrame):
  21408. (_didCommitLoadForFrame):
  21409. (_didFinishLoadForFrame):
  21410. (_didFailLoadWithErrorForFrame):
  21411. (_didReceiveTitleForFrame):
  21412. (_didClearWindowForFrame):
  21413. (_didCreatePage):
  21414. (_willDestroyPage):
  21415. (WKBundleInitialize):
  21416. 2010-06-23 Yuzo Fujishima <yuzo@google.com>
  21417. Reviewed by Shinichiro Hamaji.
  21418. Implement page format data programming interface.
  21419. Add methods for testing.
  21420. https://bugs.webkit.org/show_bug.cgi?id=37538
  21421. * DumpRenderTree/LayoutTestController.cpp:
  21422. (parsePageNumber):
  21423. (isPageBoxVisibleCallback):
  21424. (pageAreaRectInPixelsCallback):
  21425. (preferredPageSizeInPixelsCallback):
  21426. (LayoutTestController::staticFunctions):
  21427. * DumpRenderTree/LayoutTestController.h:
  21428. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  21429. (LayoutTestController::isPageBoxVisible):
  21430. (LayoutTestController::pageAreaRectInPixels):
  21431. (LayoutTestController::preferredPageSizeInPixels):
  21432. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  21433. (LayoutTestController::isPageBoxVisible):
  21434. (LayoutTestController::pageAreaRectInPixels):
  21435. (LayoutTestController::preferredPageSizeInPixels):
  21436. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  21437. (LayoutTestController::isPageBoxVisible):
  21438. (LayoutTestController::pageAreaRectInPixels):
  21439. (LayoutTestController::preferredPageSizeInPixels):
  21440. 2010-06-23 Sam Magnuson <smagnuson@netflix.com>
  21441. Reviewed by Shinichiro Hamaji.
  21442. Follow proper convention for if/switch/while as I've discovered
  21443. them to be through my review processes.
  21444. https://bugs.webkit.org/show_bug.cgi?id=40723
  21445. Modified test so that if( foo ) is not allowed as it appears not
  21446. to be the accepted convention.
  21447. * Scripts/webkitpy/style/checkers/cpp.py:
  21448. * Scripts/webkitpy/style/checkers/cpp_unittest.py:
  21449. 2010-06-22 Eric Seidel <eric@webkit.org>
  21450. Reviewed by Adam Barth.
  21451. Run clean-header-guards to fix some header guards
  21452. https://bugs.webkit.org/show_bug.cgi?id=41044
  21453. No functional changes, thus no tests.
  21454. This entire change was generated by running
  21455. clean-header-guards, and then reverting changes
  21456. to files which shouldn't be changed. Those which
  21457. are left all should be updated.
  21458. Some of these changes are just fixing 755 permissions
  21459. to be 644, since it seems various files have the wrong
  21460. execute bit which don't need it. clean-header-guards
  21461. made those (welcome) permission fixes unintentionally.
  21462. * DumpRenderTree/chromium/WebThemeControlDRT.h:
  21463. * DumpRenderTree/chromium/WebThemeEngineDRT.h:
  21464. * QtTestBrowser/fpstimer.h:
  21465. 2010-06-22 Adam Barth <abarth@webkit.org>
  21466. Reviewed by Eric Seidel.
  21467. Rename HTMLDocumentParser to LegacyHTMLDocumentParser
  21468. https://bugs.webkit.org/show_bug.cgi?id=41043
  21469. Update the hash.
  21470. * Scripts/do-webcore-rename:
  21471. 2010-06-22 Sam Magnuson <smagnuson@netflix.com>
  21472. Reviewed by Shinichiro Hamaji.
  21473. Follow proper convention for variable declaration spacing.
  21474. https://bugs.webkit.org/show_bug.cgi?id=40724
  21475. Modified test so that 'int a;' is not allowed.
  21476. * Scripts/webkitpy/style/checkers/cpp.py:
  21477. * Scripts/webkitpy/style/checkers/cpp_unittest.py:
  21478. 2010-06-22 Eric Seidel <eric@webkit.org>
  21479. Unreviewed. Add Tony Gentilcore now that he's a committer.
  21480. * Scripts/webkitpy/common/config/committers.py:
  21481. 2010-06-22 Eric Seidel <eric@webkit.org>
  21482. Reviewed by Adam Barth.
  21483. Remove Gtk 64-Release bot from core since it's broken
  21484. https://bugs.webkit.org/show_bug.cgi?id=41022
  21485. This bot alone has been responsible for more than 72 hours of
  21486. commit-queue blockage in the last week. The bot is broken -- keeps
  21487. losing its display server or similar. Until the Gtk folks can fix the
  21488. bot, we need to remove it from core. The WebKit community can't keep
  21489. it green as is.
  21490. * Scripts/webkitpy/common/net/buildbot.py:
  21491. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  21492. 2010-06-21 Dumitru Daniliuc <dumi@chromium.org>
  21493. Reviewed by Eric Seidel.
  21494. Fix the Windows build.
  21495. https://bugs.webkit.org/show_bug.cgi?id=40972
  21496. * DumpRenderTree/win/ImageDiff.vcproj:
  21497. 2010-06-21 Prasad Tammana <prasadt@chromium.org>
  21498. Reviewed by Darin Adler, Dmitry Titov.
  21499. DumpRenderTree should allow tests with modal dialogs
  21500. https://bugs.webkit.org/show_bug.cgi?id=35350
  21501. * DumpRenderTree/LayoutTestController.cpp:
  21502. (abortModalCallback):
  21503. (LayoutTestController::staticFunctions):
  21504. * DumpRenderTree/LayoutTestController.h:
  21505. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  21506. (LayoutTestController::abortModal):
  21507. Add abortModal method to LayoutTestController and make it available from script.
  21508. * DumpRenderTree/mac/UIDelegate.mm: Add support for showModalDialog.
  21509. (-[UIDelegate modalWindowWillClose:]): Observer for NSWindowWillCloseNotifications to call
  21510. abortModal from when modal window closes.
  21511. (-[UIDelegate webViewRunModal:]): Delegate method for showModalDialog to run the modal loop.
  21512. 2010-06-21 Simon Fraser <simon.fraser@apple.com>
  21513. Reviewed by Anders Carlsson.
  21514. Rename DrawingAreaProxyUpdateChunk to ChunkedUpdateDrawingArea
  21515. https://bugs.webkit.org/show_bug.cgi?id=40948
  21516. Have the script look in WebKit2.
  21517. * Scripts/do-webcore-rename:
  21518. 2010-06-21 Robert Hogan <robert@webkit.org>
  21519. Reviewed by Kenneth Rohde Christiansen.
  21520. [Qt] Unskip plugins/get-url-that-the-resource-load-delegate-will-disallow.html
  21521. It's a Mac-specific test so just add the required LayoutTestController
  21522. function as a no-op to avoid failing. Similar approach adopted by other
  21523. ports.
  21524. https://bugs.webkit.org/show_bug.cgi?id=33344
  21525. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  21526. (LayoutTestController::addDisallowedURL):
  21527. 2010-06-21 Sam Weinig <sam@webkit.org>
  21528. Reviewed by Anders Carlsson.
  21529. Patch for https://bugs.webkit.org/show_bug.cgi?id=40940
  21530. Add message passing support to the WebKit2 API.
  21531. - Add some test messages.
  21532. * MiniBrowser/mac/AppDelegate.m:
  21533. (_didRecieveMessageFromInjectedBundle):
  21534. (-[BrowserAppDelegate init]):
  21535. * MiniBrowser/mac/WebBundle/WebBundleMain.m:
  21536. (_didClearWindow):
  21537. (_didCreatePage):
  21538. (_didRecieveMessage):
  21539. (WKBundleInitialize):
  21540. 2010-06-21 Drew Wilson <atwilson@chromium.org>
  21541. Unreviewed.
  21542. Rolling back 61551 and 61555 due to test failures.
  21543. * DumpRenderTree/LayoutTestController.cpp:
  21544. (LayoutTestController::staticFunctions):
  21545. * DumpRenderTree/LayoutTestController.h:
  21546. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  21547. (LayoutTestController::setEditingBehavior):
  21548. * DumpRenderTree/mac/UIDelegate.mm:
  21549. 2010-06-21 Anders Carlsson <andersca@apple.com>
  21550. Reviewed by Sam Weinig.
  21551. Make DumpRenderTree build with clang++
  21552. * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
  21553. (-[LocalPasteboard setPropertyList:forType:]):
  21554. * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
  21555. (-[DumpRenderTreeWindow keyDown:]):
  21556. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  21557. (LayoutTestController::elementDoesAutoCompleteForElementWithId):
  21558. (LayoutTestController::isCommandEnabled):
  21559. 2010-06-21 Satish Sampath <satish@chromium.org>
  21560. Reviewed by Steve Block.
  21561. Speech Input Patch 0: Added compilation argument to conditionally compile pending patches.
  21562. https://bugs.webkit.org/show_bug.cgi?id=40878
  21563. * Scripts/build-webkit:
  21564. 2010-06-21 Kent Tamura <tkent@chromium.org>
  21565. Reviewed by Dimitri Glazkov.
  21566. [DRT/Chromium] Initialization for http/tests/loading/
  21567. https://bugs.webkit.org/show_bug.cgi?id=40902
  21568. * DumpRenderTree/chromium/TestShell.cpp:
  21569. (TestShell::runFileTest):
  21570. 2010-06-21 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  21571. Unreviewed.
  21572. Adding myself to the committers list.
  21573. * Scripts/webkitpy/common/config/committers.py:
  21574. 2010-06-20 Kent Tamura <tkent@chromium.org>
  21575. Reviewed by Dimitri Glazkov.
  21576. [DRT/Chromium] Add --allow-external-pages option
  21577. https://bugs.webkit.org/show_bug.cgi?id=40762
  21578. Add --allow-external-pages introduced by Chromium r45403.
  21579. http://src.chromium.org/viewvc/chrome?view=rev&revision=45403
  21580. * DumpRenderTree/chromium/DumpRenderTree.cpp:
  21581. (main):
  21582. * DumpRenderTree/chromium/TestShell.cpp:
  21583. (TestShell::TestShell):
  21584. * DumpRenderTree/chromium/TestShell.h:
  21585. (TestShell::allowExternalPages):
  21586. (TestShell::setAllowExternalPages):
  21587. * DumpRenderTree/chromium/WebViewHost.cpp:
  21588. (WebViewHost::willSendRequest):
  21589. 2010-06-20 Joseph Pecoraro <joepeck@webkit.org>
  21590. Reviewed by Adam Barth.
  21591. Sheriffbot: Should allow "r" in SVN_REVISION
  21592. https://bugs.webkit.org/show_bug.cgi?id=40889
  21593. * Scripts/webkitpy/tool/bot/irc_command.py: remove a leading "r" from SVN_REVISION if it exists
  21594. * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py: test an SVN_REVISION with a leading r.
  21595. 2010-06-20 Joseph Pecoraro <joepeck@webkit.org>
  21596. Reviewed by Dimitri Glazkov.
  21597. Python Tests Fail after r61508
  21598. https://bugs.webkit.org/show_bug.cgi?id=40891
  21599. Test's regex list needed to be updated to match the new
  21600. regex list in the source code. Added new bots to the
  21601. example_buildbots list.
  21602. Regex list fixed in r61512. Updated bot list.
  21603. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  21604. 2010-06-20 Dimitri Glazkov <dglazkov@chromium.org>
  21605. Unreviewed, build fix.
  21606. Tweak test regexp list to match the change in http://trac.webkit.org/changeset/61508.
  21607. * Scripts/webkitpy/common/net/buildbot_unittest.py: Tweaked regexp.
  21608. 2010-06-19 Justin Schuh <jschuh@chromium.org>
  21609. Unreviewed.
  21610. Adding myself to the committers list.
  21611. * Scripts/webkitpy/common/config/committers.py:
  21612. 2010-06-19 Sam Weinig <sam@webkit.org>
  21613. Reviewed by Anders Carlsson.
  21614. Fix for https://bugs.webkit.org/show_bug.cgi?id=40882
  21615. Add ability to have a WebProcess per WebContext.
  21616. Move to use new shared contexts API.
  21617. * MiniBrowser/mac/AppDelegate.h:
  21618. * MiniBrowser/mac/AppDelegate.m:
  21619. (-[BrowserAppDelegate init]):
  21620. (-[BrowserAppDelegate getCurrentPageNamespace]):
  21621. (-[BrowserAppDelegate validateMenuItem:]):
  21622. (-[BrowserAppDelegate _setProcessModel:]):
  21623. (-[BrowserAppDelegate setSharedProcessProcessModel:]):
  21624. (-[BrowserAppDelegate setSharedThreadProcessModel:]):
  21625. * MiniBrowser/win/BrowserView.cpp:
  21626. (BrowserView::create):
  21627. 2010-06-02 Robert Hogan <robert@webkit.org>
  21628. Reviewed by Adam Barth.
  21629. [Qt] Support evaluateScriptInIsolatedWorld()
  21630. https://bugs.webkit.org/show_bug.cgi?id=40079
  21631. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  21632. (LayoutTestController::evaluateScriptInIsolatedWorld):
  21633. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  21634. 2010-06-18 Dimitri Glazkov <dglazkov@chromium.org>
  21635. Reviewed by Darin Adler.
  21636. Add three more non-core Chromium builders to start testing DumpRenderTree.
  21637. https://bugs.webkit.org/show_bug.cgi?id=40335
  21638. * BuildSlaveSupport/build.webkit.org-config/config.json: Added 3 builders.
  21639. 2010-06-18 Drew Wilson <atwilson@chromium.org>
  21640. Reviewed by Darin Fisher.
  21641. [Chromium] Plumbing for top-level frame names
  21642. https://bugs.webkit.org/show_bug.cgi?id=40430
  21643. * DumpRenderTree/chromium/WebViewHost.cpp:
  21644. (WebViewHost::reset):
  21645. Changed obsolete call to clearName() to use setName(WebString()) instead.
  21646. 2010-06-18 Sam Weinig <weinig@apple.com>
  21647. Rolling http://trac.webkit.org/changeset/61297 back in.
  21648. * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
  21649. * MiniBrowser/mac/WebBundle/WebBundleMain.c: Removed.
  21650. * MiniBrowser/mac/WebBundle/WebBundleMain.m: Added.
  21651. (_didClearWindow):
  21652. (_didCreatePage):
  21653. (WKBundleInitialize):
  21654. 2010-06-18 Alexey Proskuryakov <ap@apple.com>
  21655. Reviewed by Darin Adler.
  21656. https://bugs.webkit.org/show_bug.cgi?id=40803
  21657. TestNetscapePlugin has an incorrect implementation of "property" property
  21658. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: (pluginGetProperty): Don't
  21659. pass a static string back, it's going to be released by NPAPI implementation.
  21660. 2010-06-18 Leandro Pereira <leandro@profusion.mobi>
  21661. Unreviewed.
  21662. Adding myself to the committers list.
  21663. * Scripts/webkitpy/common/config/committers.py:
  21664. 2010-06-17 Tony Chang <tony@chromium.org>
  21665. Reviewed by Kent Tamura.
  21666. [chromium] cleanup redundant DEPS value and remove buildbot cleanup code
  21667. https://bugs.webkit.org/show_bug.cgi?id=40615
  21668. * Scripts/update-webkit-chromium: remove directory removal of third_party in old checkouts
  21669. 2010-06-17 Ada Chan <adachan@apple.com>
  21670. Rolling out http://trac.webkit.org/changeset/61297 due to build errors.
  21671. * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
  21672. * MiniBrowser/mac/WebBundle/WebBundleMain.c: Copied from MiniBrowser/mac/WebBundle/WebBundleMain.c.
  21673. * MiniBrowser/mac/WebBundle/WebBundleMain.m: Removed.
  21674. 2010-06-17 Darin Adler <darin@apple.com>
  21675. One more try at fix for Chromium build.
  21676. * DumpRenderTree/chromium/TestShell.cpp:
  21677. (TestShell::TestShell): Use set again instead of =.
  21678. 2010-06-17 Darin Adler <darin@apple.com>
  21679. Fix Chromium build.
  21680. I didn't realize that neither Chromium nor Qt share the DumpRenderTree
  21681. code with all the other platforms! Wow, that should be fixed at some point.
  21682. * DumpRenderTree/chromium/TestShell.cpp:
  21683. (TestShell::TestShell): Changed back to using "new".
  21684. * DumpRenderTree/chromium/TestShell.h: Changed back to OwnPtr.
  21685. 2010-06-17 Simon Hausmann <simon.hausmann@nokia.com>
  21686. Unreviewed Qt build fix.
  21687. LayoutTestController in the Qt DRT is not using refs :)
  21688. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  21689. (WebCore::DumpRenderTree::DumpRenderTree):
  21690. 2010-06-17 Darin Adler <darin@apple.com>
  21691. Reviewed by Sam Weinig.
  21692. Use adoptRef and create functions in more code paths
  21693. https://bugs.webkit.org/show_bug.cgi?id=40760
  21694. * DumpRenderTree/DumpRenderTree.h: Change gLayoutTestController to a RefPtr.
  21695. * DumpRenderTree/LayoutTestController.cpp:
  21696. (LayoutTestController::create): Added.
  21697. * DumpRenderTree/LayoutTestController.h: Declare the create function.
  21698. * DumpRenderTree/chromium/TestShell.cpp:
  21699. (TestShell::TestShell): Use create instead of new.
  21700. * DumpRenderTree/chromium/TestShell.h: Use RefPtr instead of OwnPtr.
  21701. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  21702. (runTest): Use RefPtr and create instead of OwnPtr and new.
  21703. * DumpRenderTree/mac/DumpRenderTree.mm:
  21704. (runTest): Use RefPtr and create instead of OwnPtr and new.
  21705. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  21706. (WebCore::DumpRenderTree::DumpRenderTree): Use create and releaseRef
  21707. instead of new.
  21708. * DumpRenderTree/win/DumpRenderTree.cpp:
  21709. (runTest): Use RefPtr and create instead of OwnPtr and new.
  21710. * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
  21711. (runTest): Use RefPtr and create instead of OwnPtr and new.
  21712. (MyApp::OnInit): Removed unneeded code to delete the layout
  21713. test controller. This is done during each test.
  21714. 2010-06-17 Kent Tamura <tkent@chromium.org>
  21715. Reviewed by Shinichiro Hamaji.
  21716. [DRT/Chromium] Fix a bug of Windows pixel tests
  21717. https://bugs.webkit.org/show_bug.cgi?id=40763
  21718. * DumpRenderTree/chromium/TestEventPrinter.cpp:
  21719. (TestShellPrinter::handleImage):
  21720. 2010-06-16 Kent Tamura <tkent@chromium.org>
  21721. Reviewed by Shinichiro Hamaji.
  21722. [DRT/Chromium] Fix crash on Mac Release
  21723. https://bugs.webkit.org/show_bug.cgi?id=40759
  21724. * DumpRenderTree/chromium/WebViewHost.cpp:
  21725. (WebViewHost::paintRect): We should not use m_canvas directly because
  21726. it is created lazily in canvas().
  21727. 2010-06-16 Kevin Ollivier <kevino@theolliviers.com>
  21728. [wx] Build fix after new method addition.
  21729. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  21730. (LayoutTestController::pageProperty):
  21731. 2010-06-16 Kent Tamura <tkent@chromium.org>
  21732. Reviewed by Dimitri Glazkov.
  21733. [DRT/Chromium] Set current working directory for each of tests
  21734. https://bugs.webkit.org/show_bug.cgi?id=40668
  21735. This change fixes tests with eventSender.beginDragWithFiles().
  21736. * DumpRenderTree/chromium/DumpRenderTree.cpp:
  21737. (runTest):
  21738. 2010-06-16 Martin Robinson <mrobinson@igalia.com>
  21739. Reviewed by Gustavo Noronha Silva.
  21740. [GTK] r60803 broke media/controls-drag-timebar.html
  21741. https://bugs.webkit.org/show_bug.cgi?id=40269
  21742. Only queue events while the mouse button is down, if drag mode is enabled. Some
  21743. tests may disable drag mode, to prevent the queuing of events in this situation.
  21744. * DumpRenderTree/gtk/EventSender.cpp:
  21745. (sendOrQueueEvent): Only queue events here if dragMode is true.
  21746. 2010-06-16 Martin Robinson <mrobinson@igalia.com>
  21747. Reviewed by Gustavo Noronha Silva.
  21748. [GTK] Remove the abuse of GDK_CURRENT_TIME in the DRT
  21749. https://bugs.webkit.org/show_bug.cgi?id=40600
  21750. * DumpRenderTree/gtk/EventSender.cpp:
  21751. (prepareMouseButtonEvent): Remove logic adding an offset to GDK_CURRENT_TIME.
  21752. 2010-06-16 Adam Barth <abarth@webkit.org>
  21753. Reviewed by Dimitri Glazkov.
  21754. Add a hidden land-cowboy command to webkit-patch to help land quick
  21755. build fixes.
  21756. * Scripts/webkitpy/tool/commands/download.py:
  21757. * Scripts/webkitpy/tool/steps/preparechangelog.py:
  21758. 2010-06-16 Adam Roben <aroben@apple.com>
  21759. Convert console messages to UTF-8 before printing them
  21760. Speculative fix for <http://webkit.org/b/40731> REGRESSION (r61234):
  21761. http/tests/security/xssAuditor/embed-tag-null-char.html and
  21762. http/tests/security/xssAuditor/object-embed-tag-null-char.html fail on
  21763. Windows. (I can't test the fix because Apache is crashing on my
  21764. computer.)
  21765. Reviewed by Alexey Proskuryakov.
  21766. * DumpRenderTree/win/DumpRenderTree.cpp:
  21767. (toUTF8): Extracted the code into an overload that takes a wide string
  21768. and a length, then added an overload that takes a wstring.
  21769. * DumpRenderTree/win/DumpRenderTreeWin.h: Declare the new toUTF8
  21770. overload.
  21771. * DumpRenderTree/win/UIDelegate.cpp:
  21772. (UIDelegate::webViewAddMessageToConsole): Use toUTF8 to convert to
  21773. UTF-8 instead of letting printf convert to the current code page.
  21774. 2010-06-16 Drew Wilson <atwilson@chromium.org>
  21775. Reviewed by Kent Tamura.
  21776. [Chromium] Plumbing for top-level frame names
  21777. https://bugs.webkit.org/show_bug.cgi?id=40430
  21778. * DumpRenderTree/chromium/WebViewHost.cpp:
  21779. (WebViewHost::createView):
  21780. Migrate to new createView() API.
  21781. * DumpRenderTree/chromium/WebViewHost.h:
  21782. Remove obsolete createView() methods, add new createView() API that takes a frameName parameter.
  21783. 2010-06-16 Diego Gonzalez <diegohcg@webkit.org>
  21784. Reviewed by Kenneth Rohde Christiansen.
  21785. [Qt] Scroll wheel event support to graphics based DRT
  21786. https://bugs.webkit.org/show_bug.cgi?id=40577
  21787. * DumpRenderTree/qt/EventSenderQt.cpp:
  21788. (EventSender::continuousMouseScrollBy):
  21789. (EventSender::createGraphicsSceneWheelEvent):
  21790. * DumpRenderTree/qt/EventSenderQt.h:
  21791. 2010-06-16 Adam Roben <aroben@apple.com>
  21792. Remove a stray newline from the Windows version of TestNetscapePlugin
  21793. Reviewed by Alexey Proskuryakov.
  21794. Fixes <http://webkit.org/b/40728>
  21795. plugins/geturlnotify-during-document-teardown.html fails on Windows
  21796. * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
  21797. (NPP_Destroy): Removed extra newline that the Mac version doesn't
  21798. have.
  21799. 2010-06-16 Adam Roben <aroben@apple.com>
  21800. Respect LayoutTestController::isPrinting on Windows
  21801. This gets some printing tests closer to passing (like
  21802. printing/page-rule-in-media-query.html).
  21803. Fixes <http://webkit.org/b/40727>.
  21804. Reviewed by Dan Bernstein.
  21805. * DumpRenderTree/win/DumpRenderTree.cpp:
  21806. (dump): Pass LayoutTestController::isPrinting to
  21807. IWebFramePrivate::renderTreeAsExternalRepresentation.
  21808. 2010-06-15 Adam Barth <abarth@webkit.org>
  21809. Reviewed by Eric Seidel.
  21810. Enable HTML5 lexer
  21811. https://bugs.webkit.org/show_bug.cgi?id=40650
  21812. * DumpRenderTree/mac/DumpRenderTree.mm:
  21813. (initializeGlobalsFromCommandLineOptions):
  21814. 2010-06-10 Yuzo Fujishima <yuzo@google.com>
  21815. Reviewed by Shinichiro Hamaji.
  21816. Implement render style selection for pages to support CSS3 Paged Media.
  21817. https://bugs.webkit.org/show_bug.cgi?id=35961
  21818. * DumpRenderTree/LayoutTestController.cpp:
  21819. (parsePagePropertyParameters):
  21820. (pagePropertyCallback):
  21821. (LayoutTestController::staticFunctions):
  21822. * DumpRenderTree/LayoutTestController.h:
  21823. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  21824. (LayoutTestController::pageProperty):
  21825. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  21826. (LayoutTestController::pageProperty):
  21827. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  21828. (LayoutTestController::pageProperty):
  21829. 2010-06-15 Sam Weinig <sam@webkit.org>
  21830. Reviewed by Anders Carlsson.
  21831. Fix for https://bugs.webkit.org/show_bug.cgi?id=40630
  21832. WebKit2: Add mechanism to inject code into the WebProcess on startup
  21833. Add initial InjectedBundle support.
  21834. * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
  21835. * MiniBrowser/WebBundle-Info.plist: Added.
  21836. Add test InjectedBundle to the project.
  21837. * MiniBrowser/mac/AppDelegate.m:
  21838. (-[BrowserAppDelegate init]):
  21839. Get the path to the WebBundle from the the main bundle and pass it to the new
  21840. WKContextCreateWithInjectedBundlePath function.
  21841. * MiniBrowser/mac/BrowserWindowController.m:
  21842. (_didChangeProgress):
  21843. Fix the build. This has been broken for a while.
  21844. * MiniBrowser/mac/WebBundle: Added.
  21845. * MiniBrowser/mac/WebBundle/WebBundleMain.c: Added.
  21846. (_didCreatePage):
  21847. (WKBundleInitialize):
  21848. Add really basic InjectedBundle.
  21849. * MiniBrowser/win/BrowserView.cpp:
  21850. (BrowserView::create):
  21851. Switch from WKContextCreateWithProcessModel to WKContextCreate and remove commented out code.
  21852. 2010-06-15 Dumitru Daniliuc <dumi@chromium.org>
  21853. Reviewed by Darin Adler.
  21854. Adding myself to the reviewers list.
  21855. https://bugs.webkit.org/show_bug.cgi?id=40693
  21856. * Scripts/webkitpy/common/config/committers.py:
  21857. 2010-06-15 Martin Robinson <mrobinson@igalia.com>
  21858. Reviewed by Xan Lopez.
  21859. Switch to using GIO methods instead of realpath in GtkLauncher to determine
  21860. the file URI. This should remove warnings about realpath being undefined
  21861. when compiling with '-ansi'.
  21862. * GtkLauncher/main.c:
  21863. (filenameToURL): Use GIO instead of realpath to determine file URI.
  21864. 2010-06-15 Adam Roben <aroben@apple.com>
  21865. Remove the redundant set-apple-windows-environment-variables script
  21866. Apparently update-webkit does this for you these days.
  21867. Rubber-stamped by Steve Falkenburg.
  21868. * Scripts/set-apple-windows-environment-variables: Removed.
  21869. 2010-06-14 Adam Roben <aroben@apple.com>
  21870. Add a script to set the WebKitOutputDir and WebKitLibrariesDir
  21871. environment variables
  21872. Fixes <http://webkit.org/b/40595>.
  21873. Reviewed by Steve Falkenburg.
  21874. * Scripts/set-apple-windows-environment-variables: Added.
  21875. (to_windows_path): Passes the passed-in path through cygpath to
  21876. generate a Windows-style path.
  21877. (main): Sets the WebKitOutputDir and WebKitLibrariesDir environment
  21878. variables to their defaults, if they aren't already set.
  21879. 2010-06-14 Adam Roben <aroben@apple.com>
  21880. Speed up run-safari/debug-safari on Windows
  21881. Fixes <http://webkit.org/b/40586>.
  21882. Reviewed by Steve Falkenburg.
  21883. * Scripts/webkitdirs.pm:
  21884. (runSafari): When debugging, set up the environment to run Safari
  21885. using the built WebKit.dll, then use "devenv /debugexe Safari.exe" to
  21886. actually launch the debugger. When not debugging, just run WebKit.exe
  21887. and it will do the rest for us.
  21888. 2010-06-15 Diego Gonzalez <diegohcg@webkit.org>
  21889. Reviewed by Kenneth Rohde Christiansen.
  21890. [Qt] DRT EventSender support to graphics context events
  21891. https://bugs.webkit.org/show_bug.cgi?id=40324
  21892. * DumpRenderTree/qt/EventSenderQt.cpp:
  21893. (EventSender::contextClick):
  21894. 2010-06-14 Tony Chang <tony@chromium.org>
  21895. Reviewed by Darin Fisher.
  21896. [chromium] checkout chromium third_party directly
  21897. https://bugs.webkit.org/show_bug.cgi?id=40556
  21898. * Scripts/update-webkit-chromium: some migration code for the bots
  21899. 2010-06-14 Alexey Proskuryakov <ap@apple.com>
  21900. Chromium build fix.
  21901. * DumpRenderTree/chromium/EventSender.cpp: (EventSender::keyDown): Chromium uses differently
  21902. named constants for Windows virtual key codes, replacing VK_DELETE with VKEY_DELETE.
  21903. 2010-06-14 Alexey Proskuryakov <ap@apple.com>
  21904. Reviewed by Darin Adler.
  21905. https://bugs.webkit.org/show_bug.cgi?id=40529
  21906. eventSender.keyDown("delete") incorrectly sends a backspace on some platforms
  21907. * DumpRenderTree/mac/EventSendingController.mm:
  21908. (-[EventSendingController keyDown:withModifiers:withLocation:]): We were sending a broken
  21909. event for "delete" - it had virtual key code from forward delete, and text from backspace.
  21910. Fixed "delete" to mean forward delete.
  21911. * DumpRenderTree/chromium/EventSender.cpp: (EventSender::keyDown):
  21912. * DumpRenderTree/gtk/EventSender.cpp: (keyDownCallback):
  21913. * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
  21914. Mac DRT confusion has propagated to other platforms, fixing those.
  21915. 2010-06-14 Martin Robinson <mrobinson@igalia.com>
  21916. Reviewed by Xan Lopez.
  21917. Small GtkLauncher build fix for some systems.
  21918. * GtkLauncher/main.c: Add <limit.h> include.
  21919. 2010-06-14 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
  21920. Reviewed by Laszlo Gombos.
  21921. [Qt] navigator.geolocation support for Qt port
  21922. https://bugs.webkit.org/show_bug.cgi?id=39724
  21923. Implementation for geolocation cases to DumpRenderTreeQt
  21924. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  21925. (WebCore::WebPage::allowGeolocationRequest):
  21926. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  21927. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  21928. (LayoutTestController::setGeolocationPermission):
  21929. (LayoutTestController::setMockGeolocationError):
  21930. (LayoutTestController::setMockGeolocationPosition):
  21931. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  21932. (LayoutTestController::isGeolocationPermissionSet):
  21933. (LayoutTestController::geolocationPermission):
  21934. 2010-06-13 Nathan Lawrence <nlawrence@apple.com>
  21935. Reviewed by Darin Adler.
  21936. Outside of Xcode (make or WebKitTools/Scripts), there doesn't seem to
  21937. be a way of overwriting the Xcode system path. Making
  21938. $WEBKITOUTPUTDIR take precedence over the system default would make
  21939. this possible.
  21940. * Scripts/webkitdirs.pm:
  21941. 2010-06-13 Chris Fleizach <cfleizach@apple.com>
  21942. Reviewed by Darin Adler.
  21943. AX: link won't return linked element if URL contains #
  21944. https://bugs.webkit.org/show_bug.cgi?id=40192
  21945. * DumpRenderTree/AccessibilityUIElement.cpp:
  21946. (linkedUIElementAtIndexCallback):
  21947. (AccessibilityUIElement::getJSClass):
  21948. * DumpRenderTree/AccessibilityUIElement.h:
  21949. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  21950. (AccessibilityUIElement::linkedUIElementAtIndex):
  21951. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  21952. (AccessibilityUIElement::linkedUIElementAtIndex):
  21953. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  21954. (AccessibilityUIElement::linkedUIElementAtIndex):
  21955. 2010-06-13 Adam Barth <abarth@webkit.org>
  21956. Reviewed by Darin Adler.
  21957. webkit-patch should add a bug URL to ChangeLogs if they don't have one yet
  21958. https://bugs.webkit.org/show_bug.cgi?id=39550
  21959. This can cause an extra request to bugs.webkit.org durig upload, but it
  21960. shouldn't be too bad. Also, this won't work if you remove the
  21961. boilerplate created by prepare-ChangeLog.
  21962. * Scripts/webkitpy/common/checkout/changelog.py:
  21963. * Scripts/webkitpy/common/checkout/changelog_unittest.py:
  21964. * Scripts/webkitpy/common/net/bugzilla.py:
  21965. * Scripts/webkitpy/tool/steps/abstractstep.py:
  21966. * Scripts/webkitpy/tool/steps/preparechangelog.py:
  21967. * Scripts/webkitpy/tool/steps/preparechangelog_unittest.py: Added.
  21968. 2010-06-08 Robert Hogan <robert@webkit.org>
  21969. Reviewed by Eric Seidel.
  21970. [Qt] Add support for callShouldCloseOnWebView() to DRT
  21971. https://bugs.webkit.org/show_bug.cgi?id=40330
  21972. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  21973. (LayoutTestController::callShouldCloseOnWebView):
  21974. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  21975. (LayoutTestController::setCallCloseOnWebViews):
  21976. 2010-06-12 Eric Seidel <eric@webkit.org>
  21977. Reviewed by Daniel Bates.
  21978. do-webcore-rename should have a --verbose option
  21979. https://bugs.webkit.org/show_bug.cgi?id=40497
  21980. * Scripts/do-webcore-rename:
  21981. - Unified how we handle skipping files/directories
  21982. this will allow us to "black list" certain files and
  21983. directories when performing renames.
  21984. - Made do-webcore-rename log what it's skipping when passed --verbose.
  21985. 2010-06-12 Darin Adler <darin@apple.com>
  21986. * Scripts/run-bindings-tests: Fixed a typo in a message.
  21987. 2010-06-12 Kent Tamura <tkent@chromium.org>
  21988. Reviewed by Dimitri Glazkov.
  21989. [Chromium] new-run-webkit-tests --use-drt should work with Chromium checkout
  21990. https://bugs.webkit.org/show_bug.cgi?id=40402
  21991. _build_path() of each Chromium port check existence of build path
  21992. of Chromium checkout first, then check existence of build path of
  21993. WebKit-only checkout.
  21994. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  21995. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  21996. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  21997. 2010-06-12 Robert Hogan <robert@webkit.org>
  21998. Reviewed by Kenneth Rohde Christiansen.
  21999. [Qt] Back-forward list dumping is incorrect
  22000. https://bugs.webkit.org/show_bug.cgi?id=36392
  22001. Support dumping child history items in DRT.
  22002. Unskip:
  22003. fast/loader/frame-src-change-added-to-history.html
  22004. fast/loader/frame-src-change-not-added-to-history.html
  22005. fast/loader/frame-location-change-not-added-to-history.html
  22006. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  22007. (WebCore::dumpHistoryItem):
  22008. 2010-06-10 Ojan Vafai <ojan@chromium.org>
  22009. Reviewed by Eric Seidel.
  22010. upload all patches that lack in-rietveld to rietveld
  22011. https://bugs.webkit.org/show_bug.cgi?id=40444
  22012. If it's a patch, then we'll try to upload it as long as it
  22013. doesn't have in-rietveld set. No longer set in-rietveld? since
  22014. it's not needed.
  22015. * Scripts/webkitpy/common/net/bugzilla.py:
  22016. 2010-06-10 Ojan Vafai <ojan@chromium.org>
  22017. Reviewed by Darin Fisher.
  22018. Fix rietveld upload when message length > 100 characters
  22019. https://bugs.webkit.org/show_bug.cgi?id=40457
  22020. * Scripts/webkitpy/common/net/rietveld.py:
  22021. 2010-06-11 Yael Aharon <yael.aharon@nokia.com>
  22022. Reviewed by Laszlo Gombos.
  22023. [Qt] There should be a way to enable popups in QtTestBrowser
  22024. https://bugs.webkit.org/show_bug.cgi?id=40427
  22025. * QtTestBrowser/main.cpp:
  22026. (LauncherWindow::toggleJavascriptCanOpenWindows):
  22027. (LauncherWindow::createChrome):
  22028. 2010-06-10 Adam Barth <abarth@webkit.org>
  22029. Reviewed by Daniel Bates.
  22030. Make SheriffBot more chatty
  22031. https://bugs.webkit.org/show_bug.cgi?id=40463
  22032. People seem to like to talk to SheriffBot, so let's make him chat back.
  22033. * Scripts/webkitpy/thirdparty/__init__.py:
  22034. * Scripts/webkitpy/tool/bot/irc_command.py:
  22035. * Scripts/webkitpy/tool/bot/irc_command_unittest.py: Added.
  22036. * Scripts/webkitpy/tool/bot/sheriffircbot.py:
  22037. * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
  22038. 2010-06-10 Brian Weinstein <bweinstein@apple.com>
  22039. Reviewed by Darin Adler.
  22040. Fix the Windows buildbot when WebKitAuxiliaryLibs.zip cannot be found on our server.
  22041. Robustify update-webkit-auxiliary-libs to be able to handle the case when WebKitAuxiliaryLibs.zip doesn't exist,
  22042. and allow the script to fall back to an existing file, only failing if there is no fallback file. Also switch to checking
  22043. WEXITSTATUS on $result instead of just comparing $result to 0.
  22044. * Scripts/update-webkit-auxiliary-libs:
  22045. 2010-06-10 Ojan Vafai <ojan@chromium.org>
  22046. Reviewed by Alexey Proskuryakov.
  22047. don't use Exception.message as it's deprecated in python 2.6+
  22048. https://bugs.webkit.org/show_bug.cgi?id=40449
  22049. * Scripts/webkitpy/tool/commands/queues.py:
  22050. 2010-06-10 Ojan Vafai <ojan@chromium.org>
  22051. Reviewed by Adam Barth.
  22052. fix handle_script_error in rietveld upload queue and add testing for handle_script_error
  22053. https://bugs.webkit.org/show_bug.cgi?id=40436
  22054. * Scripts/webkitpy/common/system/outputcapture.py:
  22055. * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
  22056. * Scripts/webkitpy/tool/commands/queues.py:
  22057. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  22058. * Scripts/webkitpy/tool/commands/queuestest.py:
  22059. * Scripts/webkitpy/tool/mocktool.py:
  22060. 2010-06-10 Jarkko Sakkinen <jarkko.j.sakkinen@gmail.com>
  22061. Reviewed by Simon Hausmann.
  22062. [Qt] *All* WebGL layout tests fail!
  22063. https://bugs.webkit.org/show_bug.cgi?id=40296
  22064. Added test for WebKitWebGLEnabled to
  22065. LayoutTestController::overridePreference().
  22066. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  22067. (LayoutTestController::overridePreference):
  22068. 2010-06-10 Diego Gonzalez <diegohcg@webkit.org>
  22069. Reviewed by Kenneth Rohde Christiansen.
  22070. [Qt] DRT EventSender support to graphics mouse events activation
  22071. https://bugs.webkit.org/show_bug.cgi?id=40017
  22072. * DumpRenderTree/qt/EventSenderQt.cpp:
  22073. (EventSender::mouseDown):
  22074. (EventSender::mouseUp):
  22075. (EventSender::mouseMoveTo):
  22076. (EventSender::keyDown):
  22077. (EventSender::contextClick):
  22078. (EventSender::sendTouchEvent):
  22079. (EventSender::sendOrQueueEvent):
  22080. (EventSender::eventFilter):
  22081. (EventSender::createGraphicsSceneMouseEvent):
  22082. (EventSender::sendEvent):
  22083. * DumpRenderTree/qt/EventSenderQt.h:
  22084. (EventSender::isGraphicsBased):
  22085. 2010-06-09 Adam Barth <abarth@webkit.org>
  22086. Reviewed by Ojan Vafai.
  22087. webkit-patch upload fails for security bugs because there's no rietveld flag
  22088. https://bugs.webkit.org/show_bug.cgi?id=40309
  22089. There's probably a more elegant way of seeing whether the form control
  22090. exists, but this seems to work.
  22091. * Scripts/webkitpy/common/net/bugzilla.py:
  22092. 2010-06-09 Ojan Vafai <ojan@chromium.org>
  22093. Reviewed by Adam Barth.
  22094. make rietveld upload faster and avoid posting to bug on errors
  22095. https://bugs.webkit.org/show_bug.cgi?id=40389
  22096. Only grab the first item of the upload queue instead of trying
  22097. to compute the whole list upfront (which is O(n) bugzilla lookups!).
  22098. Also, don't post comments to the bug when uploading fails.
  22099. * Scripts/webkitpy/common/net/bugzilla.py:
  22100. * Scripts/webkitpy/tool/commands/queues.py:
  22101. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  22102. * Scripts/webkitpy/tool/commands/stepsequence.py:
  22103. * Scripts/webkitpy/tool/mocktool.py:
  22104. 2010-06-09 Ojan Vafai <ojan@chromium.org>
  22105. Reviewed by Adam Barth.
  22106. Rietveld upload queue fails when setting in-rietveld flag
  22107. https://bugs.webkit.org/show_bug.cgi?id=40371
  22108. Make the comment arguments to set_flag_on_attachment optional
  22109. and add it to the MockBugzilla.
  22110. * Scripts/webkitpy/common/net/bugzilla.py:
  22111. * Scripts/webkitpy/tool/bot/queueengine.py:
  22112. * Scripts/webkitpy/tool/commands/download_unittest.py:
  22113. * Scripts/webkitpy/tool/commands/queues.py:
  22114. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  22115. * Scripts/webkitpy/tool/mocktool.py:
  22116. 2010-06-09 Kenneth Russell <kbr@google.com>
  22117. Reviewed by Dimitri Glazkov.
  22118. Rename FloatArray to Float32Array
  22119. https://bugs.webkit.org/show_bug.cgi?id=40323
  22120. Used do-webcore-rename to perform renaming. Manually undid
  22121. incorrect changes to WebCore/bridge/jni/jsc/JNIBridgeJSC.cpp,
  22122. WebCore/manual-tests/resources/ArrayParameterTestApplet.java and
  22123. ArrayParameterTestApplet.class. Updated LayoutTests. Built and ran
  22124. all layout tests on Safari; built Chromium and ran selected WebGL
  22125. tests.
  22126. * Scripts/do-webcore-rename:
  22127. 2010-06-08 Tony Chang <tony@chromium.org>
  22128. Reviewed by David Levin.
  22129. [chromium] compile linux chromium in WebKit/out instead of WebKit/WebKit/chromium/out
  22130. https://bugs.webkit.org/show_bug.cgi?id=40285
  22131. * Scripts/webkitdirs.pm:
  22132. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  22133. 2010-06-03 Roland Steiner <rolandsteiner@chromium.org>
  22134. Reviewed by Tamura Kent.
  22135. Bug 40052 - [DRT/Chromium] Upstream test_shell_webthemeengine as WebThemeEngineDRT
  22136. https://bugs.webkit.org/show_bug.cgi?id=40052
  22137. Add WebThemeEngineDRT and WebThemeControlDRT ported from Chromium rev. 48907
  22138. * DumpRenderTree/DumpRenderTree.gypi:
  22139. * DumpRenderTree/chromium/TestShellWin.cpp:
  22140. (platformInit):
  22141. * DumpRenderTree/chromium/WebThemeControlDRT.cpp: Added.
  22142. (WebKit::):
  22143. (WebKit::WebThemeControlDRT::WebThemeControlDRT):
  22144. (WebKit::WebThemeControlDRT::~WebThemeControlDRT):
  22145. (WebKit::WebThemeControlDRT::box):
  22146. (WebKit::WebThemeControlDRT::line):
  22147. (WebKit::WebThemeControlDRT::triangle):
  22148. (WebKit::WebThemeControlDRT::roundRect):
  22149. (WebKit::WebThemeControlDRT::oval):
  22150. (WebKit::WebThemeControlDRT::circle):
  22151. (WebKit::WebThemeControlDRT::nestedBoxes):
  22152. (WebKit::WebThemeControlDRT::markState):
  22153. (WebKit::WebThemeControlDRT::draw):
  22154. (WebKit::WebThemeControlDRT::drawTextField):
  22155. (WebKit::WebThemeControlDRT::drawProgressBar):
  22156. * DumpRenderTree/chromium/WebThemeControlDRT.h: Added.
  22157. (WebKit::WebThemeControlDRT::):
  22158. * DumpRenderTree/chromium/WebThemeEngineDRT.cpp: Added.
  22159. (WebKit::):
  22160. (WebKit::WebThemeEngineDRT::paintButton):
  22161. (WebKit::WebThemeEngineDRT::paintMenuList):
  22162. (WebKit::WebThemeEngineDRT::paintScrollbarArrow):
  22163. (WebKit::WebThemeEngineDRT::paintScrollbarThumb):
  22164. (WebKit::WebThemeEngineDRT::paintScrollbarTrack):
  22165. (WebKit::WebThemeEngineDRT::paintTextField):
  22166. (WebKit::WebThemeEngineDRT::paintTrackbar):
  22167. (WebKit::WebThemeEngineDRT::paintProgressBar):
  22168. * DumpRenderTree/chromium/WebThemeEngineDRT.h: Added.
  22169. (WebKit::WebThemeEngineDRT::WebThemeEngineDRT):
  22170. 2010-06-08 Sheriff Bot <webkit.review.bot@gmail.com>
  22171. Unreviewed, rolling out r60878.
  22172. http://trac.webkit.org/changeset/60878
  22173. https://bugs.webkit.org/show_bug.cgi?id=40349
  22174. broke linux build (Requested by tony^work on #webkit).
  22175. * Scripts/webkitdirs.pm:
  22176. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  22177. 2010-06-08 Tony Chang <tony@chromium.org>
  22178. Reviewed by David Levin.
  22179. [chromium] compile linux chromium in WebKit/out instead of WebKit/WebKit/chromium/out
  22180. https://bugs.webkit.org/show_bug.cgi?id=40285
  22181. * Scripts/webkitdirs.pm:
  22182. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  22183. 2010-06-08 Kenneth Russell <kbr@google.com>
  22184. Unreviewed, build fix.
  22185. Fix build breakage from 38145
  22186. https://bugs.webkit.org/show_bug.cgi?id=40346
  22187. The fix for bug 38145 broke the Chromium Win build because
  22188. Microsoft's cmath doesn't define log2. Suggested fix by zmo is to
  22189. change log2(x) to log(x) / log(2). Built and ran WebGL layout
  22190. tests in Safari on Mac OS X. Changed download mirrors for
  22191. python-irclib to working ones.
  22192. * Scripts/webkitpy/thirdparty/__init__.py:
  22193. 2010-06-08 Fumitoshi Ukai <ukai@chromium.org>
  22194. Reviewed by Eric Seidel.
  22195. old-run-webkit-tests should use ensure-valid-python to check if it can run the websockets tests
  22196. https://bugs.webkit.org/show_bug.cgi?id=39058
  22197. * Scripts/old-run-webkit-tests:
  22198. use sourceDir() to find ensure-valid-python in checkPythonVersion()
  22199. 2010-06-08 Andras Becsi <abecsi@webkit.org>
  22200. Unreviewed buildfix after r60479.
  22201. [GTK] Move the declaration of getRootCoords higher up to fix the build on GTK
  22202. versions other than 2.17.3.
  22203. * DumpRenderTree/gtk/EventSender.cpp:
  22204. (getRootCoords):
  22205. 2010-06-07 Martin Robinson <mrobinson@igalia.com>
  22206. Reviewed by Oliver Hunt.
  22207. [GTK] Mouse movement should not trigger a replay of saved events in the event sender
  22208. https://bugs.webkit.org/show_bug.cgi?id=40267
  22209. When a mouse button is down, automatically queue mouse motion events and
  22210. do not play them back until the mouse button is released. This matches the
  22211. behavior of other ports' EventSenders.
  22212. * DumpRenderTree/gtk/EventSender.cpp:
  22213. (mouseMoveToCallback): Don't automatically replaySavedEvents for mouse motion.
  22214. (sendOrQueueEvent): Add a shouldReplaySavedEvents argument defaulting to true.
  22215. 2010-06-07 Nikolas Zimmermann <nzimmermann@rim.com>
  22216. Reviewed by Sam Weinig.
  22217. Add CPP bindings generator
  22218. https://bugs.webkit.org/show_bug.cgi?id=38279
  22219. Integrate CPP bindings in run-bindings-tests.
  22220. * Scripts/run-bindings-tests:
  22221. 2010-06-04 Tony Gentilcore <tonyg@chromium.org>
  22222. Reviewed by Ojan Vafai.
  22223. Rename 'svn_merge_base' -> 'remote_merge_base'. This was left out of r60633.
  22224. https://bugs.webkit.org/show_bug.cgi?id=40183
  22225. * Scripts/webkitpy/tool/steps/preparechangelog.py:
  22226. 2010-06-04 Martin Robinson <mrobinson@igalia.com>
  22227. Unreviewed.
  22228. Add my new email and IRC nick to committers.py.
  22229. * Scripts/webkitpy/common/config/committers.py:
  22230. 2010-06-04 Kinuko Yasuda <kinuko@chromium.org>
  22231. Unreviewed.
  22232. Revert changes in json_results_generator.py's _get_svn_revision.
  22233. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  22234. 2010-06-04 Martin Robinson <mrobinson@igalia.com>
  22235. Reviewed by Xan Lopez.
  22236. [GTK] GtkLauncher should support relative file paths
  22237. https://bugs.webkit.org/show_bug.cgi?id=39944
  22238. Allow GtkLauncher to handle relative file paths passed via command-line arguments.
  22239. * GtkLauncher/main.c:
  22240. (filename_to_url): Added.
  22241. (main): Try to resolve arguments as relative file URLs first.
  22242. 2010-06-04 Martin Robinson <mrobinson@igalia.com>
  22243. Reviewed by Xan Lopez.
  22244. [GTK] EventSender should call gtk_main_do_event instead of invoking signal handlers directly
  22245. https://bugs.webkit.org/show_bug.cgi?id=40182
  22246. Instead of invoking signal handlers directly via g_signal_emit_by_name, call
  22247. gtk_main_do_event. This will allow us to call gtk_get_current_event() in WebKit
  22248. without breaking DRT.
  22249. * DumpRenderTree/gtk/EventSender.cpp:
  22250. (dispatchEvent): Use gtk_main_do_event instead of invoking signal handlers directly.
  22251. (keyDownCallback): Use dispatchEvent here which now uses gtk_main_do_event.
  22252. 2010-06-04 Anders Carlsson <andersca@apple.com>
  22253. Reviewed by David Hyatt.
  22254. Make the editing/spelling/context-menu-suggestions.html test more robust
  22255. https://bugs.webkit.org/show_bug.cgi?id=40178
  22256. Change the contextClick method to return an array of strings describing the context menu items.
  22257. * DumpRenderTree/mac/EventSendingController.mm:
  22258. (+[EventSendingController isSelectorExcludedFromWebScript:]):
  22259. (+[EventSendingController webScriptNameForSelector:]):
  22260. (-[EventSendingController contextClick]):
  22261. 2010-06-03 Kinuko Yasuda <kinuko@chromium.org>
  22262. Reviewed by Shinichiro Hamaji.
  22263. Clean up chromium-specific code from json_results_generator.py.
  22264. https://bugs.webkit.org/show_bug.cgi?id=39665
  22265. * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
  22266. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  22267. * Scripts/webkitpy/layout_tests/port/base.py:
  22268. * Scripts/webkitpy/layout_tests/port/chromium.py:
  22269. 2010-06-04 Tony Gentilcore <tonyg@chromium.org>
  22270. Reviewed by Adam Barth.
  22271. Utilize new takeFirst() method where appropriate.
  22272. https://bugs.webkit.org/show_bug.cgi?id=40089
  22273. * DumpRenderTree/chromium/EventSender.cpp:
  22274. (EventSender::replaySavedEvents):
  22275. * DumpRenderTree/chromium/LayoutTestController.cpp:
  22276. (LayoutTestController::WorkQueue::processWork):
  22277. (LayoutTestController::WorkQueue::reset):
  22278. 2010-06-04 Yael Aharon <yael.aharon@nokia.com>
  22279. Reviewed by Simon Hausmann.
  22280. [Qt] QtTestLauncher should allow notifications by default.
  22281. https://bugs.webkit.org/show_bug.cgi?id=40078
  22282. * QtTestBrowser/main.cpp:
  22283. (NotificationsPermissionController::NotificationsPermissionController):
  22284. (NotificationsPermissionController::checkPermission):
  22285. (NotificationsPermissionController::requestPermission):
  22286. (LauncherWindow::LauncherWindow):
  22287. 2010-06-04 Tony Gentilcore <tonyg@chromium.org>
  22288. Reviewed by Adam Barth.
  22289. Detect whether the user's environment can open a browser.
  22290. https://bugs.webkit.org/show_bug.cgi?id=40136
  22291. Some environments like cygwin silently fail webbrowser.open() causing
  22292. webkit-patch upload not to display any diff. This detects environments
  22293. where webbrowser.open() would fail by testing if webbrowser.get()
  22294. raises an exception.
  22295. * Scripts/webkitpy/common/system/user.py:
  22296. * Scripts/webkitpy/tool/mocktool.py:
  22297. * Scripts/webkitpy/tool/steps/confirmdiff.py:
  22298. 2010-06-03 Tony Gentilcore <tonyg@chromium.org>
  22299. Reviewed by David Levin.
  22300. Add dependencies required to link with VS Express 2005.
  22301. https://bugs.webkit.org/show_bug.cgi?id=40038
  22302. Visual Studio implicitly links against these libs.
  22303. VC++ Express does not.
  22304. * WebKitAPITest/WebKitAPITestCommon.vsprops:
  22305. * WinLauncher/WinLauncher.vcproj:
  22306. 2010-06-03 Fumitoshi Ukai <ukai@chromium.org>
  22307. Reviewed by David Levin.
  22308. bad codecs.open in webkitpy/layout_tests/ports/websocket_server.py
  22309. https://bugs.webkit.org/show_bug.cgi?id=40105
  22310. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  22311. - kill pywebsocket process when url is not alive and the process is not
  22312. terminated, not to leave pywebsocket server running.
  22313. - fix codecs.open parameters.
  22314. 2010-06-03 Fumitoshi Ukai <ukai@chromium.org>
  22315. Reviewed by Alexey Proskuryakov.
  22316. old-run-webkit-tests should use ensure-valid-python to check if it can run the websockets tests
  22317. https://bugs.webkit.org/show_bug.cgi?id=39058
  22318. * Scripts/ensure-valid-python:
  22319. - Perl 5.8 doesn't have File::Temp->newdir(). Use File::Temp->tempdir() instead.
  22320. - Add --check-only and --help option.
  22321. - --check-only option only checks python version and don't try to install Python 2.5.
  22322. - Set executable bit.
  22323. * Scripts/old-run-webkit-tests:
  22324. - Check if it can run the websocket tests by calling ensure-valid-python --check-only.
  22325. 2010-05-14 Ojan Vafai <ojan@chromium.org>
  22326. Reviewed by Adam Barth.
  22327. add a RietveldUploadQueue to upload in-rietveld? patches to rietveld
  22328. https://bugs.webkit.org/show_bug.cgi?id=38918
  22329. Patches with in-rietveld? get uploaded to rietveld and get marked
  22330. in-rietveld+. If the upload fails, they are marked in-rietveld-
  22331. and an error is logged to the bug, like the commit-queue.
  22332. Also, get rid of --fancy-review and the ability to upload to rietveld
  22333. using webkit-patch upload/post.
  22334. * Scripts/webkitpy/common/net/bugzilla.py:
  22335. * Scripts/webkitpy/common/net/bugzilla_unittest.py:
  22336. * Scripts/webkitpy/tool/commands/download.py:
  22337. * Scripts/webkitpy/tool/commands/download_unittest.py:
  22338. * Scripts/webkitpy/tool/commands/queues.py:
  22339. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  22340. * Scripts/webkitpy/tool/commands/upload.py:
  22341. * Scripts/webkitpy/tool/commands/upload_unittest.py:
  22342. * Scripts/webkitpy/tool/mocktool.py:
  22343. * Scripts/webkitpy/tool/steps/options.py:
  22344. * Scripts/webkitpy/tool/steps/postcodereview.py:
  22345. 2010-05-24 Ojan Vafai <ojan@chromium.org>
  22346. Reviewed by Chris Jerdonek.
  22347. many webkit-patch commands fail in a non-svn tracking git checkout
  22348. https://bugs.webkit.org/show_bug.cgi?id=38156
  22349. If the svn-tracking-branch (trunk) doesn't exist, fallback to the git remote-tracking-branch (master).
  22350. If neither exists, then error out. This makes webkit-patch work
  22351. for anyone that follows the intructions at http://trac.webkit.org/wiki/UsingGitWithWebKit
  22352. to checkout webkit. The fallback to master is for people who don't
  22353. do the steps on that page for tracking svn.
  22354. * Scripts/webkitpy/common/checkout/scm.py:
  22355. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  22356. 2010-06-03 Mike Fenton <mifenton@rim.com>
  22357. Unreviewed.
  22358. Reverse e-mail for myself in committers.py to correspond with bugzilla account.
  22359. * Scripts/webkitpy/common/config/committers.py:
  22360. 2010-06-03 Pavel Feldman <pfeldman@chromium.org>
  22361. Reviewed by Yury Semikhatsky.
  22362. Web Inspector: a number of fixes that make InspectorController
  22363. happy with null redirects.
  22364. https://bugs.webkit.org/show_bug.cgi?id=40109
  22365. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  22366. (runTest):
  22367. * DumpRenderTree/mac/DumpRenderTree.mm:
  22368. (runTest):
  22369. * DumpRenderTree/win/DumpRenderTree.cpp:
  22370. (runTest):
  22371. 2010-06-02 Tasuku Suzuki <tasuku.suzuki@nokia.com>
  22372. Reviewed by Shinichiro Hamaji.
  22373. [Qt] Fix compilation with QT_NO_PROPERTIES
  22374. https://bugs.webkit.org/show_bug.cgi?id=38324
  22375. * QtTestBrowser/main.cpp:
  22376. (LauncherWindow::init):
  22377. 2010-06-02 Diego Gonzalez <diegohcg@webkit.org>
  22378. Reviewed by Kenneth Rohde Christiansen.
  22379. [Qt] Make possible run DRT with QGraphicsWebView
  22380. https://bugs.webkit.org/show_bug.cgi?id=40016
  22381. Make possible to use a environment variable for switching backend.
  22382. Usage: QT_DRT_WEBVIEW_MODE=graphics WebKitTools/Scripts/run-webkit-tests --qt
  22383. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  22384. (WebCore::WebViewGraphicsBased::WebViewGraphicsBased):
  22385. (WebCore::DumpRenderTree::DumpRenderTree):
  22386. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  22387. (WebCore::DumpRenderTree::setGraphicsBased):
  22388. (WebCore::DumpRenderTree::isGraphicsBased):
  22389. (WebCore::WebViewGraphicsBased::graphicsView):
  22390. (WebCore::WebViewGraphicsBased::setPage):
  22391. * Scripts/old-run-webkit-tests:
  22392. 2010-06-02 Csaba Osztrogonác <ossy@webkit.org>
  22393. Reviewed by Eric Seidel.
  22394. Slave lost shouldn't be recognized as build failed.
  22395. https://bugs.webkit.org/show_bug.cgi?id=39282
  22396. * Scripts/webkitpy/common/net/buildbot.py: Treat slave lost as green.
  22397. * Scripts/webkitpy/common/net/buildbot_unittest.py: Add unit test for slave lost.
  22398. 2010-06-01 Yael Aharon <yael.aharon@nokia.com>
  22399. Reviewed by Kenneth Rohde Christiansen.
  22400. [Qt] Fix the lifecycle of notification objects
  22401. https://bugs.webkit.org/show_bug.cgi?id=40003
  22402. Remove the dependency of notifications on QWebPage.
  22403. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  22404. (WebCore::requestPermissionCallback):
  22405. (WebCore::WebPage::WebPage):
  22406. (WebCore::DumpRenderTree::requestPermission):
  22407. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  22408. 2010-06-02 Sheriff Bot <webkit.review.bot@gmail.com>
  22409. Unreviewed, rolling out r60559.
  22410. http://trac.webkit.org/changeset/60559
  22411. https://bugs.webkit.org/show_bug.cgi?id=40055
  22412. It broke python unit test (Requested by Ossy on #webkit).
  22413. * Scripts/webkitpy/common/net/buildbot.py:
  22414. 2010-06-02 Csaba Osztrogonác <ossy@webkit.org>
  22415. Reviewed by Eric Seidel.
  22416. Slave lost shouldn't be recognized as build failed.
  22417. https://bugs.webkit.org/show_bug.cgi?id=39282
  22418. * Scripts/webkitpy/common/net/buildbot.py:
  22419. 2010-06-02 Tony Gentilcore <tonyg@chromium.org>
  22420. Reviewed by Eric Seidel.
  22421. Fix crash caused when assigned_to is disabled
  22422. https://bugs.webkit.org/show_bug.cgi?id=40039
  22423. * Scripts/webkitpy/common/net/bugzilla.py:
  22424. 2010-06-02 Sterling Swigart <sswigart@google.com>
  22425. Reviewed by David Levin.
  22426. Image Resizer Patch 0: Added compilation argument to conditionally compile pending patches.
  22427. https://bugs.webkit.org/show_bug.cgi?id=39906
  22428. * Scripts/build-webkit:
  22429. 2010-06-01 Raine Makelainen <raine.makelainen@nokia.com>
  22430. Reviewed by Simon Hausmann.
  22431. Fixed tests to use QWebSettings::JavascriptCanAccessClipboard instead of QWebSettings::JavaScriptCanAccessClipboard.
  22432. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  22433. (WebCore::WebPage::WebPage):
  22434. (WebCore::WebPage::resetSettings):
  22435. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  22436. (LayoutTestController::setJavaScriptCanAccessClipboard):
  22437. 2010-06-01 Alexey Proskuryakov <ap@apple.com>
  22438. Reviewed by Mark Rowe.
  22439. A nicer Tiger build fix.
  22440. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  22441. * DumpRenderTree/mac/Configurations/Base.xcconfig:
  22442. Enable GCC_OBJC_CALL_CXX_CDTORS via .xcconfig.
  22443. 2010-06-01 Alexey Proskuryakov <ap@apple.com>
  22444. A real Tiger build fix.
  22445. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Enable GCC_OBJC_CALL_CXX_CDTORS
  22446. for all configurations, not just debug.
  22447. 2010-06-01 Alexey Proskuryakov <ap@apple.com>
  22448. Tiger build fix.
  22449. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Enable GCC_OBJC_CALL_CXX_CDTORS.
  22450. 2010-06-01 Martin Robinson <mrobinson@igalia.com>
  22451. Reviewed by Xan Lopez.
  22452. [GTK] Get more mouse tests passing
  22453. https://bugs.webkit.org/show_bug.cgi?id=39040
  22454. Reproduce the logic from the Windows EventSender for mapping
  22455. button numbers to GDK button numbers. Move this logic to the
  22456. prepareMouseButtonEvent helper.
  22457. * DumpRenderTree/gtk/EventSender.cpp:
  22458. (prepareMouseButtonEvent): Reproduce Windows logic.
  22459. (contextClickCallback): Move mapping logic to prepareMouseButtonEvent.
  22460. (mouseDownCallback): Ditto.
  22461. (mouseUpCallback): Ditto.
  22462. 2010-06-01 Alexey Proskuryakov <ap@apple.com>
  22463. Reviewed by Sam Weinig.
  22464. https://bugs.webkit.org/show_bug.cgi?id=39434
  22465. REGRESSION (r59811): Geolocation callbacks cannot be created
  22466. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added MockGeolocationProvider.
  22467. * DumpRenderTree/mac/DumpRenderTree.mm:
  22468. (createWebViewAndOffscreenWindow): Tell the view to use MockGeolocationProvider.
  22469. (resetWebViewToConsistentStateBeforeTesting): Make sure that mock notifications don't leak
  22470. into subsequent tests.
  22471. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  22472. (LayoutTestController::setMockGeolocationPosition): Changed to use MockGeolocationProvider.
  22473. (LayoutTestController::setMockGeolocationError): Ditto.
  22474. * DumpRenderTree/mac/MockGeolocationProvider.h: Added.
  22475. * DumpRenderTree/mac/MockGeolocationProvider.mm: Added.
  22476. (+[MockGeolocationProvider shared]):
  22477. (-[MockGeolocationProvider dealloc]):
  22478. (-[MockGeolocationProvider setPosition:]):
  22479. (-[MockGeolocationProvider setError:]):
  22480. (-[MockGeolocationProvider registerWebView:]):
  22481. (-[MockGeolocationProvider unregisterWebView:]):
  22482. (-[MockGeolocationProvider lastPosition]):
  22483. (-[MockGeolocationProvider stopTimer]):
  22484. (-[MockGeolocationProvider timerFired]):
  22485. * DumpRenderTree/mac/UIDelegate.mm:
  22486. (-[UIDelegate webView:decidePolicyForGeolocationRequestFromOrigin:frame:listener:]):
  22487. This delegate method must send a response. I'm not sure what the two-stage check is supposed
  22488. to achieve, it seems unnecessary.
  22489. 2010-05-12 Martin Robinson <mrobinson@igalia.com>
  22490. Reviewed by Xan Lopez.
  22491. [GTK] Double clicks cause three button press events
  22492. https://bugs.webkit.org/show_bug.cgi?id=38853
  22493. WebKit now filters the extra GDK_BUTTON_PRESS before GDK_2BUTTON_PRESS
  22494. and GDK_3BUTTON_PRESS via gdk_event_peek(). Since EventSender bypasses
  22495. the GDK event queue entirely, we simply do not send the extra event.
  22496. * DumpRenderTree/gtk/EventSender.cpp:
  22497. (mouseDownCallback): Do not send extra event. Send GDK_3BUTTON_PRESS appropriately.
  22498. (dispatchEvent): Properly handle GDK_3BUTTON_PRESS.
  22499. 2010-06-01 Martin Robinson <mrobinson@igalia.com>
  22500. Not reviewed. Build fix.
  22501. Fix GTK+ build caused by a bad merge.
  22502. * DumpRenderTree/gtk/EventSender.cpp:
  22503. (prepareMouseButtonEvent): Use the GdkEvent union as a pointer here.
  22504. 2010-06-01 Martin Robinson <mrobinson@webkit.org>
  22505. Reviewed by Xan Lopez.
  22506. [GTK] Double clicks cause three button press events
  22507. https://bugs.webkit.org/show_bug.cgi?id=38853
  22508. Small EventSender cleanups. Consolidate some common code. Style fixes.
  22509. * DumpRenderTree/gtk/EventSender.cpp:
  22510. (prepareMouseButtonEvent): Added.
  22511. (contextClickCallback): Use prepareMouseButtonEvent.
  22512. (mouseDownCallback): Use prepareMouseButtonEvent.
  22513. (mouseUpCallback): Use prepareMouseButtonEvent.
  22514. (mouseMoveToCallback): Small style fix.
  22515. 2010-06-01 Martin Robinson <mrobinson@igalia.com>
  22516. Reviewed by Xan Lopez.
  22517. [GTK] Double clicks cause three button press events
  22518. https://bugs.webkit.org/show_bug.cgi?id=38853
  22519. Add rudimentary leapForward support to the GTK+ DRT. leapForward allows a test
  22520. to pause for a specified amount of time. It is used in the processing of drag-
  22521. -and-drop data as well as to separate distinct mouse double-clicks in some tests.
  22522. This patch enables tests that rely on the latter behavior to pass.
  22523. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  22524. (webViewWindowObjectCleared): Only initialize the EventSender when loading the top frame.
  22525. * DumpRenderTree/gtk/EventSender.cpp:
  22526. (leapForwardCallback): Add support for adjusting the time offset on leapForward().
  22527. (contextClickCallback): Use sendOrQueueEvent.
  22528. (updateClickCount): Take the time offset into account when counting clicks.
  22529. (mouseDownCallback): Use sendOrQueueEvent.
  22530. (getStateFlags): Change down/currentEventButton into buttonCurrentlyDown/lastClickButton.
  22531. (mouseUpCallback): Use sendOrQueueEvent.
  22532. (mouseMoveToCallback): Ditto.
  22533. (mouseWheelToCallback): Ditto.
  22534. (sendOrQueueEvent): Added.
  22535. (dispatchEvent): Added.
  22536. (replaySavedEvents): Pause when an event has a delay and defer to dispatchEvent.
  22537. (makeEventSender): Only initialize the EventSender when loading the top frame.
  22538. * DumpRenderTree/gtk/EventSender.h: Ditto.
  22539. 2010-06-01 Martin Robinson <mrobinson@igalia.com>
  22540. Reviewed by Xan Lopez.
  22541. [GTK] css1/color_and_background/background_attachment.html fails on the 32-bit debug bot
  22542. https://bugs.webkit.org/show_bug.cgi?id=39101
  22543. Work around timing issues for render tree dumps by pumping the
  22544. main loop before doing the dump. Resize events are asynchronous
  22545. in GTK+, so sometimes resize requests are still pending when DRT
  22546. dumps the tree.
  22547. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  22548. (dump): Pump the main loop before dumping the render tree.
  22549. 2010-05-31 Kent Tamura <tkent@chromium.org>
  22550. Reviewed by Dimitri Glazkov.
  22551. [DRT/Chromium] Fix crash of a test after another test with multiple windows
  22552. https://bugs.webkit.org/show_bug.cgi?id=39942
  22553. If a test opens multiple windows, focuses on non-main window, and
  22554. the focused window is closed, TestShell::m_focusedWidget points a
  22555. deleted object.
  22556. * DumpRenderTree/chromium/TestShell.cpp:
  22557. (TestShell::closeWindow): Clear m_focusedWidget.
  22558. 2010-05-30 Kent Tamura <tkent@chromium.org>
  22559. Reviewed by Dimitri Glazkov.
  22560. new-run-webkit-tests: Support DRT on Chromium-win
  22561. https://bugs.webkit.org/show_bug.cgi?id=39810
  22562. Add --test-shell flag to DRT/Chromium, and it changes DRT so that
  22563. it behaves like test_shell about command analysis, printing
  22564. format, pixel dumping, and timeout handling.
  22565. chromium.py and chromium_win.py supports the --test-shell flag and
  22566. DRT/Chromium-win binary names.
  22567. * DumpRenderTree/DumpRenderTree.gypi: Add new files.
  22568. * DumpRenderTree/chromium/DumpRenderTree.cpp:
  22569. (runTest): Support for test_shell-style command.
  22570. (main): Introduce --test-shell.
  22571. * DumpRenderTree/chromium/TestEventPrinter.cpp: Added.
  22572. * DumpRenderTree/chromium/TestEventPrinter.h: Added.
  22573. TestEventPrinter class manages stdio output and image output.
  22574. TestEventPrinter.cpp has two implementations; DRTPrinter and
  22575. TestShellPrinter.
  22576. * DumpRenderTree/chromium/TestShell.cpp:
  22577. Some changes for TestEventPrinter.
  22578. (TestShell::TestShell):
  22579. (TestShell::runFileTest):
  22580. (TestShell::testTimedOut):
  22581. (TestShell::dump):
  22582. (TestShell::dumpImage):
  22583. * DumpRenderTree/chromium/TestShell.h:
  22584. (TestShell::printer):
  22585. (TestShell::layoutTestTimeout):
  22586. (TestShell::layoutTestTimeoutForWatchDog):
  22587. (TestShell::setLayoutTestTimeout):
  22588. * DumpRenderTree/chromium/TestShellWin.cpp:
  22589. (watchDogThread): Use TestShell::layoutTestTimeoutForWatchDog().
  22590. * Scripts/webkitpy/layout_tests/port/chromium.py:
  22591. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  22592. 2010-05-30 Robert Hogan <robert@webkit.org>
  22593. Reviewed by Kenneth Rohde Christiansen.
  22594. [Qt] Enhance Qt DRT implementation to support platform scroll wheel events.
  22595. https://bugs.webkit.org/show_bug.cgi?id=36004
  22596. * DumpRenderTree/qt/EventSenderQt.cpp:
  22597. (EventSender::EventSender): QApplication::setWheelScrollLines(2) in order to match
  22598. Scrollbar::pixelsPerLineStep() for DRT testing.
  22599. (EventSender::mouseScrollBy): Added
  22600. (EventSender::continuousMouseScrollBy): Added
  22601. * DumpRenderTree/qt/EventSenderQt.h:
  22602. 2010-05-28 Adam Barth <abarth@webkit.org>
  22603. Reviewed by David Levin.
  22604. webkit-patch should support CHANGE_LOG_EDIT_APPLICATION
  22605. https://bugs.webkit.org/show_bug.cgi?id=39546
  22606. One sublty is that we want to wait for the user to finish editing the
  22607. ChangeLog before moving on to the next step. That means we want to pass
  22608. -W to open. However, if the user is using Xcode to edit the ChangeLog,
  22609. we don't want them to have to exit the Xcode application. For this reason,
  22610. we create a new instance of the application with -n.
  22611. Overall, xed seems like a better solution, so we recommend that too.
  22612. * Scripts/webkitpy/common/system/user.py:
  22613. * Scripts/webkitpy/tool/mocktool.py:
  22614. * Scripts/webkitpy/tool/steps/editchangelog.py:
  22615. 2010-05-21 Dirk Pranke <dpranke@chromium.org>
  22616. Reviewed by Ojan Vafai.
  22617. new-run-webkit-tests: fix handling of Ctrl-C to exit even if some
  22618. threads are wedged. Also, the script will print the results of the
  22619. tests completed when the interrupt occurs.
  22620. https://bugs.webkit.org/show_bug.cgi?id=33238
  22621. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  22622. * Scripts/webkitpy/layout_tests/layout_package/printing.py:
  22623. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  22624. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  22625. 2010-05-28 Darin Adler <darin@apple.com>
  22626. Ignore more Python messiness.
  22627. * Scripts/webkitpy/layout_tests/data/platform/test: Added property svn:ignore.
  22628. * Scripts/webkitpy/layout_tests/layout_package: Added property svn:ignore.
  22629. * Scripts/webkitpy/layout_tests/test_types: Added property svn:ignore.
  22630. * Scripts/webkitpy/test: Added property svn:ignore.
  22631. * Scripts/webkitpy/thirdparty/simplejson: Added property svn:ignore.
  22632. 2010-05-28 Chris Fleizach <cfleizach@apple.com>
  22633. Reviewed by Beth Dakin.
  22634. Adding myself as a reviewer.
  22635. * Scripts/webkitpy/common/config/committers.py:
  22636. 2010-05-28 Chris Fleizach <cfleizach@apple.com>
  22637. Build fix. No review.
  22638. AX: need to catch NSAccessibilityExceptions in DRT
  22639. https://bugs.webkit.org/show_bug.cgi?id=39881
  22640. It looks like Tiger doesn't like seeing a NSMakeRange inside a @try.
  22641. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  22642. (AccessibilityUIElement::rowIndexRange):
  22643. (AccessibilityUIElement::columnIndexRange):
  22644. (AccessibilityUIElement::selectedTextRange):
  22645. 2010-05-28 Chris Fleizach <cfleizach@apple.com>
  22646. Reviewed by Darin Adler.
  22647. AX: need to catch NSAccessibilityExceptions in DRT
  22648. https://bugs.webkit.org/show_bug.cgi?id=39881
  22649. Normally, accessibility exceptions are caught in the AX Runtime on the Mac, but
  22650. because DRT is its own AX client, no one is there to catch these otherwise innocuous exceptions.
  22651. So DRT should wrap exception handlers around its AX related calls.
  22652. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  22653. (attributesOfElement):
  22654. (AccessibilityUIElement::getLinkedUIElements):
  22655. (AccessibilityUIElement::getDocumentLinks):
  22656. (AccessibilityUIElement::getChildren):
  22657. (AccessibilityUIElement::getChildrenWithRange):
  22658. (AccessibilityUIElement::ariaOwnsElementAtIndex):
  22659. (AccessibilityUIElement::ariaFlowToElementAtIndex):
  22660. (AccessibilityUIElement::disclosedRowAtIndex):
  22661. (AccessibilityUIElement::selectedRowAtIndex):
  22662. (AccessibilityUIElement::titleUIElement):
  22663. (AccessibilityUIElement::parentElement):
  22664. (AccessibilityUIElement::disclosedByRow):
  22665. (AccessibilityUIElement::stringAttributeValue):
  22666. (AccessibilityUIElement::boolAttributeValue):
  22667. (AccessibilityUIElement::isAttributeSettable):
  22668. (AccessibilityUIElement::isAttributeSupported):
  22669. (AccessibilityUIElement::role):
  22670. (AccessibilityUIElement::subrole):
  22671. (AccessibilityUIElement::roleDescription):
  22672. (AccessibilityUIElement::title):
  22673. (AccessibilityUIElement::description):
  22674. (AccessibilityUIElement::orientation):
  22675. (AccessibilityUIElement::stringValue):
  22676. (AccessibilityUIElement::language):
  22677. (AccessibilityUIElement::helpText):
  22678. (AccessibilityUIElement::x):
  22679. (AccessibilityUIElement::y):
  22680. (AccessibilityUIElement::width):
  22681. (AccessibilityUIElement::height):
  22682. (AccessibilityUIElement::clickPointX):
  22683. (AccessibilityUIElement::clickPointY):
  22684. (AccessibilityUIElement::intValue):
  22685. (AccessibilityUIElement::minValue):
  22686. (AccessibilityUIElement::maxValue):
  22687. (AccessibilityUIElement::valueDescription):
  22688. (AccessibilityUIElement::insertionPointLineNumber):
  22689. (AccessibilityUIElement::isActionSupported):
  22690. (AccessibilityUIElement::isEnabled):
  22691. (AccessibilityUIElement::isRequired):
  22692. (AccessibilityUIElement::isSelected):
  22693. (AccessibilityUIElement::isExpanded):
  22694. (AccessibilityUIElement::hierarchicalLevel):
  22695. (AccessibilityUIElement::ariaIsGrabbed):
  22696. (AccessibilityUIElement::ariaDropEffects):
  22697. (AccessibilityUIElement::lineForIndex):
  22698. (AccessibilityUIElement::boundsForRange):
  22699. (AccessibilityUIElement::stringForRange):
  22700. (AccessibilityUIElement::attributesOfColumnHeaders):
  22701. (AccessibilityUIElement::attributesOfRowHeaders):
  22702. (AccessibilityUIElement::attributesOfColumns):
  22703. (AccessibilityUIElement::attributesOfRows):
  22704. (AccessibilityUIElement::attributesOfVisibleCells):
  22705. (AccessibilityUIElement::attributesOfHeader):
  22706. (AccessibilityUIElement::rowCount):
  22707. (AccessibilityUIElement::columnCount):
  22708. (AccessibilityUIElement::indexInTable):
  22709. (AccessibilityUIElement::rowIndexRange):
  22710. (AccessibilityUIElement::columnIndexRange):
  22711. (AccessibilityUIElement::cellForColumnAndRow):
  22712. (AccessibilityUIElement::selectedTextRange):
  22713. (AccessibilityUIElement::setSelectedTextRange):
  22714. (AccessibilityUIElement::increment):
  22715. (AccessibilityUIElement::decrement):
  22716. (AccessibilityUIElement::showMenu):
  22717. (AccessibilityUIElement::press):
  22718. (AccessibilityUIElement::url):
  22719. (AccessibilityUIElement::hasPopup):
  22720. 2010-05-28 Yael Aharon <yael.aharon@nokia.com>
  22721. Reviewed by Laszlo Gombos.
  22722. [Qt] Pass all web notification layout tests
  22723. https://bugs.webkit.org/show_bug.cgi?id=39146
  22724. Mimic Chromium's test_shell security model in Qt's DRT.
  22725. It makes a list of origins which were granted permission to display
  22726. notifications, and only those origins can display notifications.
  22727. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  22728. (WebCore::checkPermissionCallback):
  22729. (WebCore::requestPermissionCallback):
  22730. (WebCore::WebPage::WebPage):
  22731. (WebCore::DumpRenderTree::checkPermission):
  22732. (WebCore::DumpRenderTree::requestPermission):
  22733. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  22734. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  22735. (LayoutTestController::reset):
  22736. (LayoutTestController::grantDesktopNotificationPermission):
  22737. (LayoutTestController::checkDesktopNotificationPermission):
  22738. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  22739. 2010-05-27 Philippe Normand <pnormand@igalia.com>
  22740. Reviewed by Shinichiro Hamaji.
  22741. check-webkit-style complains about use of NULL in GTK function calls that require sentinels
  22742. https://bugs.webkit.org/show_bug.cgi?id=39372
  22743. Don't warn about NULL in g_*() calls. Zero can't be used instead
  22744. for calls like g_build_filename and g_object_get/set.
  22745. * Scripts/webkitpy/style/checkers/cpp.py:
  22746. * Scripts/webkitpy/style/checkers/cpp_unittest.py:
  22747. 2010-05-27 Luiz Agostini <luiz.agostini@openbossa.org>
  22748. Reviewed by Kenneth Rohde Christiansen.
  22749. [Qt] Platform plugin example
  22750. https://bugs.webkit.org/show_bug.cgi?id=39489
  22751. Exempting directory WebKit/qt/examples/ from style guide.
  22752. * Scripts/webkitpy/style/checker.py:
  22753. 2010-05-26 Philippe Normand <pnormand@igalia.com>
  22754. Reviewed by David Levin.
  22755. [style] Allow usage of NULL in gst_*_many()
  22756. https://bugs.webkit.org/show_bug.cgi?id=39740
  22757. Don't warn if NULL is used by gst_*_many() functions. Zero can't
  22758. be used for the reason explained in Bug 32858.
  22759. * Scripts/webkitpy/style/checkers/cpp.py:
  22760. * Scripts/webkitpy/style/checkers/cpp_unittest.py:
  22761. 2010-05-27 Adam Barth <abarth@webkit.org>
  22762. Reviewed by Eric Seidel.
  22763. Update script to run the normal version of the parser tests.
  22764. * Scripts/test-html5-parser:
  22765. 2010-05-27 Adam Barth <abarth@webkit.org>
  22766. Reviewed by Eric Seidel.
  22767. Add HTML5 parser support to run-webkit-tests
  22768. https://bugs.webkit.org/show_bug.cgi?id=39815
  22769. * Scripts/old-run-webkit-tests:
  22770. 2010-05-26 Adam Barth <abarth@webkit.org>
  22771. Reviewed by Eric Seidel.
  22772. Make HTML5 lexer not ASSERT when resuming partial parses
  22773. https://bugs.webkit.org/show_bug.cgi?id=39755
  22774. Add webkit-resumer.html to the HTML5 parser test suite.
  22775. * Scripts/test-html5-parser:
  22776. 2010-05-24 Tony Chang <tony@chromium.org>
  22777. Reviewed by Kent Tamura.
  22778. [chromium] setup fonts on chromium linux DRT
  22779. https://bugs.webkit.org/show_bug.cgi?id=39644
  22780. * DumpRenderTree/chromium/TestShellGtk.cpp:
  22781. (setupFontconfig):
  22782. (platformInit):
  22783. * DumpRenderTree/chromium/WebViewHost.cpp:
  22784. (WebViewHost::paintRect): Fix a bug where in release builds, we didn't initialize m_canvas.
  22785. * DumpRenderTree/chromium/fonts.conf: Added.
  22786. 2010-05-24 Dirk Pranke <dpranke@chromium.org>
  22787. Reviewed by Dimitri Glazkov.
  22788. Re-commit r58765 - it had been rolled out to see if it was causing
  22789. a perf regression (in r59787 and r59789), but that does not seem to
  22790. have been the case.
  22791. https://bugs.webkit.org/show_bug.cgi?id=39605
  22792. * DumpRenderTree/chromium/NotificationPresenter.cpp:
  22793. (NotificationPresenter::show):
  22794. 2010-05-25 Ojan Vafai <ojan@chromium.org>
  22795. Reviewed by Chris Jerdonek.
  22796. remove suppression of rietveld logging
  22797. https://bugs.webkit.org/show_bug.cgi?id=39693
  22798. Now that we only upload to rietveld explicitly, e.g. on the bot
  22799. or via webkit-patch post-attachment-to-rietveld, we should print
  22800. all the rietveld logging. It was suppressed before to avoid making
  22801. webkit-patch upload too noisy.
  22802. * Scripts/webkitpy/common/net/rietveld.py:
  22803. 2010-05-25 Antonio Gomes <tonikitoo@webkit.org>
  22804. Reviewed by Ojan Vafai.
  22805. [Qt] Expose the editing behavior setting in DRT to test all editing code paths
  22806. https://bugs.webkit.org/show_bug.cgi?id=39680
  22807. Implement LayoutTestController::setEditingBehavior in Qt's DRT.
  22808. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  22809. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
  22810. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  22811. (LayoutTestController::setEditingBehavior):
  22812. 2010-05-25 Kevin Ollivier <kevino@theolliviers.com>
  22813. [wx] Build fix after API change and addition of WebCore/platform/text/transcoder dir.
  22814. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  22815. (LayoutTestController::setEditingBehavior):
  22816. * wx/build/settings.py:
  22817. 2010-05-24 Antonio Gomes <tonikitoo@webkit.org>
  22818. Reviewed by Eric Seidel and Kent Tamura (for the Chromium part).
  22819. editingBehavior settings needs to be set back to a reasonable default between tests
  22820. https://bugs.webkit.org/show_bug.cgi?id=39433
  22821. Similarly to r59861, hard code the default setting during reset for Gtk and Chromium,
  22822. so that the serialized version of the setting stays in sync with expectations.
  22823. * DumpRenderTree/chromium/TestShell.cpp:
  22824. (TestShell::resetWebSettings):
  22825. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  22826. (resetDefaultsToConsistentValues):
  22827. 2010-05-24 Eric Seidel <eric@webkit.org>
  22828. Reviewed by Adam Barth.
  22829. webkit-patch land calls scm.changed_files 4 times!
  22830. https://bugs.webkit.org/show_bug.cgi?id=39584
  22831. * Scripts/webkitpy/tool/commands/download_unittest.py:
  22832. - Assert that we don't call modified_changelogs too often.
  22833. * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
  22834. - Use cached changelogs list instead of calling modified_changelogs directly.
  22835. * Scripts/webkitpy/tool/steps/validatereviewer.py:
  22836. - ditto.
  22837. 2010-05-24 Kent Tamura <tkent@chromium.org>
  22838. Reviewed by Dimitri Glazkov.
  22839. [DRT/Chromium] Import layout_test_helper for Windows
  22840. https://bugs.webkit.org/show_bug.cgi?id=39581
  22841. Import Chromium win/layout_test_helper.cc as LayoutTestHelperWin.cpp.
  22842. http://src.chromium.org/viewvc/chrome/trunk/src/webkit/tools/test_shell/win/layout_test_helper.cc
  22843. * DumpRenderTree/chromium/LayoutTestHelperWin.cpp: Added.
  22844. 2010-05-24 Kent Tamura <tkent@chromium.org>
  22845. Reviewed by Dimitri Glazkov.
  22846. [DRT/Chromium] Reset frame name
  22847. https://bugs.webkit.org/show_bug.cgi?id=39586
  22848. This change fixes about 70 unexpected results.
  22849. * DumpRenderTree/chromium/WebViewHost.cpp:
  22850. (WebViewHost::reset):
  22851. 2010-05-24 Marcus Bulach <bulach@chromium.org>
  22852. Reviewed by Kent Tamura.
  22853. [chromium] Adds WebGeolocationServiceMockImpl to remove public dependency on wtf/HashMap.h
  22854. https://bugs.webkit.org/show_bug.cgi?id=39587
  22855. * DumpRenderTree/chromium/WebViewHost.cpp:
  22856. (WebViewHost::geolocationService):
  22857. 2010-05-24 Robert Hogan <robert@webkit.org>
  22858. Reviewed by Laszlo Gombos.
  22859. [Qt] DRT Support for removeOriginAccessWhitelistEntry
  22860. Unskips http/tests/xmlhttprequest/origin-whitelisting-removal.html
  22861. [Qt] DRT Support for removeOriginAccessWhitelistEntry
  22862. https://bugs.webkit.org/show_bug.cgi?id=39565
  22863. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  22864. (LayoutTestController::removeOriginAccessWhitelistEntry):
  22865. 2010-05-24 Marcus Bulach <bulach@google.com>
  22866. Reviewed by Ojan Vafai.
  22867. _svn_branch_has_extra_commits needs to check for ^HEAD instead of ^head.
  22868. https://bugs.webkit.org/show_bug.cgi?id=39603
  22869. * Scripts/webkitpy/common/checkout/scm.py:
  22870. == Rolled over to ChangeLog-2010-05-24 ==