TOP-1611647-2-fix-xul-references-suite.patch 311 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227
  1. # HG changeset patch
  2. # User Bill Gianopoulos <wgianopoulos@gmail.com>
  3. # Date 1697712739 14400
  4. # Thu Oct 19 06:52:19 2023 -0400
  5. # Node ID aa370e119f11ae9c6df0dcd87822ab665f63193e
  6. # Parent 45168cc70907d2bdc98a39678c68c1213532af75
  7. Bug 1611647 - Port bug 1579952 - Fix references to xul files in suite.
  8. diff --git a/suite/app/profile/suite-prefs.js b/suite/app/profile/suite-prefs.js
  9. --- a/suite/app/profile/suite-prefs.js
  10. +++ b/suite/app/profile/suite-prefs.js
  11. @@ -14,18 +14,18 @@
  12. * - Dashes are delimiters; use underscores instead.
  13. * - The first character after a period must be alphabetic.
  14. * - Computed values (e.g. 50 * 1024) don't work.
  15. */
  16. pref("startup.homepage_override_url","chrome://navigator-region/locale/region.properties");
  17. pref("general.skins.selectedSkin", "classic/1.0");
  18. -pref("browser.chromeURL","chrome://navigator/content/navigator.xul");
  19. -pref("browser.hiddenWindowChromeURL", "chrome://navigator/content/hiddenWindow.xul");
  20. +pref("browser.chromeURL","chrome://navigator/content/navigator.xhtml");
  21. +pref("browser.hiddenWindowChromeURL", "chrome://navigator/content/hiddenWindow.xhtml");
  22. // prompt for Master Password on startup
  23. pref("signon.startup.prompt", true);
  24. pref("general.startup.browser", true);
  25. pref("general.startup.mail", false);
  26. pref("general.startup.news", false);
  27. pref("general.startup.editor", false);
  28. @@ -750,18 +750,18 @@ pref("privacy.clearOnShutdown.siteSettin
  29. pref("privacy.warn_tracking_content", true);
  30. // Switching this on will also spoof our user agent and other potentially
  31. // fingerprintable preferences to generic Firefox ones (see nsRFPService
  32. // introduced by bug 1330890 and meta-bug 1329996 dependencies).
  33. pref("privacy.resistFingerprinting", false);
  34. // Show XUL error pages instead of alerts for errors
  35. -pref("browser.xul.error_pages.enabled", true);
  36. -pref("browser.xul.error_pages.expert_bad_cert", false);
  37. +pref("browser.xhtml.error_pages.enabled", true);
  38. +pref("browser.xhtml.error_pages.expert_bad_cert", false);
  39. // Setting this pref to |true| forces BiDi UI menu items and keyboard shortcuts
  40. // to be exposed. By default, only expose it for bidi-associated system locales.
  41. pref("bidi.browser.ui", false);
  42. // block popup windows
  43. pref("dom.disable_open_during_load", true);
  44. // prevent JS from moving/resizing existing windows
  45. diff --git a/suite/base/content/certError.xhtml b/suite/base/content/certError.xhtml
  46. --- a/suite/base/content/certError.xhtml
  47. +++ b/suite/base/content/certError.xhtml
  48. @@ -122,17 +122,17 @@
  49. hidden="true">&certerror.whatShouldIDo.badStsCertExplanation;</p>
  50. <span id="getMeOutOfHereButton"
  51. class="button"
  52. label="&certerror.getMeOutOfHere.label;"/>
  53. </div>
  54. </div>
  55. <!-- The following sections can be unhidden by default by setting the
  56. - "browser.xul.error_pages.expert_bad_cert" pref to true -->
  57. + "browser.xhtml.error_pages.expert_bad_cert" pref to true -->
  58. <div id="technicalContent" collapsed="true">
  59. <h2 id="technicalContentHeading">&certerror.technical.heading;</h2>
  60. <p id="technicalContentText"/>
  61. </div>
  62. <div id="expertContent" collapsed="true">
  63. <h2 id="expertContentHeading">&certerror.expert.heading;</h2>
  64. <div>
  65. diff --git a/suite/base/content/findUtils.js b/suite/base/content/findUtils.js
  66. --- a/suite/base/content/findUtils.js
  67. +++ b/suite/base/content/findUtils.js
  68. @@ -52,17 +52,17 @@ function findInPage(findInstData)
  69. var findbar = document.getElementById("FindToolbar");
  70. if (findbar && Services.prefs.getBoolPref("browser.findbar.enabled"))
  71. findbar.onFindCommand();
  72. else if ("findDialog" in window && window.findDialog) // is the find dialog up already?
  73. window.findDialog.focus();
  74. else
  75. {
  76. findInstData.init();
  77. - window.findDialog = window.openDialog("chrome://global/content/finddialog.xul", "_blank", "chrome,resizable=no,dependent=yes", findInstData);
  78. + window.findDialog = window.openDialog("chrome://global/content/finddialog.xhtml", "_blank", "chrome,resizable=no,dependent=yes", findInstData);
  79. }
  80. }
  81. function findAgainInPage(findInstData, reverse)
  82. {
  83. var findbar = document.getElementById("FindToolbar");
  84. if (findbar && Services.prefs.getBoolPref("browser.findbar.enabled"))
  85. {
  86. diff --git a/suite/base/content/nsContextMenu.js b/suite/base/content/nsContextMenu.js
  87. --- a/suite/base/content/nsContextMenu.js
  88. +++ b/suite/base/content/nsContextMenu.js
  89. @@ -2,17 +2,17 @@
  90. /* This Source Code Form is subject to the terms of the Mozilla Public
  91. * License, v. 2.0. If a copy of the MPL was not distributed with this
  92. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  93. /*------------------------------ nsContextMenu ---------------------------------
  94. | This JavaScript "class" is used to implement the browser's content-area |
  95. | context menu. |
  96. | |
  97. -| For usage, see references to this class in navigator.xul. |
  98. +| For usage, see references to this class in navigator.xhtml. |
  99. | |
  100. | Currently, this code is relatively useless for any other purpose. In the |
  101. | longer term, this code will be restructured to make it more reusable. |
  102. ------------------------------------------------------------------------------*/
  103. var {BrowserUtils} =
  104. ChromeUtils.import("resource://gre/modules/BrowserUtils.jsm");
  105. var {XPCOMUtils} = ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
  106. @@ -1136,17 +1136,17 @@ nsContextMenu.prototype = {
  107. { referrerURI: doc.documentURIObject,
  108. triggeringPrincipal: this.target.nodePrincipal,
  109. });
  110. },
  111. setDesktopBackground: function() {
  112. let url = (new URL(this.target.ownerDocument.location.href)).pathname;
  113. let imageName = url.substr(url.lastIndexOf("/") + 1);
  114. - openDialog("chrome://communicator/content/setDesktopBackground.xul",
  115. + openDialog("chrome://communicator/content/setDesktopBackground.xhtml",
  116. "_blank", "chrome,modal,titlebar,centerscreen", this.target,
  117. imageName);
  118. },
  119. // Save URL of clicked-on frame.
  120. saveFrame: function() {
  121. saveDocument(this.target.ownerDocument, true);
  122. },
  123. @@ -1364,17 +1364,17 @@ nsContextMenu.prototype = {
  124. }
  125. else
  126. PlacesUIUtils.showItemProperties(itemId,
  127. PlacesUtils.bookmarks.TYPE_BOOKMARK);
  128. },
  129. // Open Metadata window for node
  130. showMetadata: function() {
  131. - window.openDialog("chrome://navigator/content/metadata.xul",
  132. + window.openDialog("chrome://navigator/content/metadata.xhtml",
  133. "_blank",
  134. "scrollbars,resizable,chrome,dialog=no",
  135. this.target);
  136. },
  137. ///////////////
  138. // Utilities //
  139. ///////////////
  140. diff --git a/suite/base/content/tasksOverlay.js b/suite/base/content/tasksOverlay.js
  141. --- a/suite/base/content/tasksOverlay.js
  142. +++ b/suite/base/content/tasksOverlay.js
  143. @@ -30,17 +30,17 @@ function toDownloadManager()
  144. .showDownloadManager();
  145. }
  146. function toDataManager(aView)
  147. {
  148. var useDlg = Services.prefs.getBoolPref("suite.manager.dataman.openAsDialog");
  149. if (useDlg) {
  150. - var url = "chrome://communicator/content/dataman/dataman.xul";
  151. + var url = "chrome://communicator/content/dataman/dataman.xhtml";
  152. var win = toOpenWindowByType("data:manager", url, "", aView);
  153. if (win && aView)
  154. win.gDataman.loadView(aView);
  155. return;
  156. }
  157. switchToTabHavingURI("about:data", true, function(browser) {
  158. if (aView)
  159. @@ -49,38 +49,38 @@ function toDataManager(aView)
  160. }
  161. function toEM(aView)
  162. {
  163. var useDlg = Services.prefs.getBoolPref("suite.manager.addons.openAsDialog");
  164. if (useDlg) {
  165. var view = aView ? { view: aView } : null;
  166. - var url = "chrome://mozapps/content/extensions/extensions.xul";
  167. + var url = "chrome://mozapps/content/extensions/extensions.xhtml";
  168. var win = toOpenWindowByType("Addons:Manager", url, "", view);
  169. if (win && aView)
  170. win.loadView(aView);
  171. return;
  172. }
  173. switchToTabHavingURI("about:addons", true, function(browser) {
  174. if (aView)
  175. browser.contentWindow.wrappedJSObject.loadView(aView);
  176. });
  177. }
  178. function toBookmarksManager()
  179. {
  180. toOpenWindowByType("Places:Organizer",
  181. - "chrome://communicator/content/places/places.xul");
  182. + "chrome://communicator/content/places/places.xhtml");
  183. }
  184. function toJavaScriptConsole()
  185. {
  186. - toOpenWindowByType("suite:console", "chrome://communicator/content/console/console.xul");
  187. + toOpenWindowByType("suite:console", "chrome://communicator/content/console/console.xhtml");
  188. }
  189. function toOpenWindow( aWindow )
  190. {
  191. try {
  192. // Try to focus the previously focused window e.g. message compose body
  193. aWindow.document.commandDispatcher.focusedWindow.focus();
  194. } catch (e) {
  195. @@ -250,17 +250,17 @@ function toProfileManager()
  196. if (promgrWin) {
  197. promgrWin.focus();
  198. } else {
  199. var params = Cc["@mozilla.org/embedcomp/dialogparam;1"]
  200. .createInstance(Ci.nsIDialogParamBlock);
  201. params.SetNumberStrings(1);
  202. params.SetString(0, "menu");
  203. - window.openDialog("chrome://communicator/content/profile/profileSelection.xul",
  204. + window.openDialog("chrome://communicator/content/profile/profileSelection.xhtml",
  205. "",
  206. "centerscreen,chrome,titlebar,resizable",
  207. params);
  208. }
  209. // Here, we don't care about the result code
  210. // that was returned in the param block.
  211. }
  212. diff --git a/suite/base/content/utilityOverlay.js b/suite/base/content/utilityOverlay.js
  213. --- a/suite/base/content/utilityOverlay.js
  214. +++ b/suite/base/content/utilityOverlay.js
  215. @@ -21,17 +21,17 @@ XPCOMUtils.defineLazyModuleGetters(this,
  216. // XPCOMUtils.defineLazyGetter(this, "Weave", function() {
  217. // let tmp = {};
  218. // ChromeUtils.import("resource://services-sync/main.js", tmp);
  219. // return tmp.Weave;
  220. // });
  221. /*
  222. Note: All Editor/Composer-related methods have been moved to editorApplicationOverlay.js,
  223. - so app windows that require those must include editorTasksOverlay.xul
  224. + so app windows that require those must include editorTasksOverlay.xhtml
  225. */
  226. /**
  227. * Go into online/offline mode
  228. **/
  229. const kProxyManual = ["network.proxy.ftp",
  230. "network.proxy.http",
  231. @@ -219,27 +219,27 @@ function setOfflineUI(offline)
  232. function getBrowserURL() {
  233. try {
  234. var url = Services.prefs.getCharPref("browser.chromeURL");
  235. if (url)
  236. return url;
  237. } catch(e) {
  238. }
  239. - return "chrome://navigator/content/navigator.xul";
  240. + return "chrome://navigator/content/navigator.xhtml";
  241. }
  242. function goPreferences(paneID)
  243. {
  244. //check for an existing pref window and focus it; it's not application modal
  245. var lastPrefWindow = Services.wm.getMostRecentWindow("mozilla:preferences");
  246. if (lastPrefWindow)
  247. lastPrefWindow.focus();
  248. else
  249. - openDialog("chrome://communicator/content/pref/preferences.xul",
  250. + openDialog("chrome://communicator/content/pref/preferences.xhtml",
  251. "PrefWindow", "non-private,chrome,titlebar,dialog=no,resizable",
  252. paneID);
  253. }
  254. function goToggleToolbar(id, elementID)
  255. {
  256. var toolbar = document.getElementById(id);
  257. if (!toolbar)
  258. @@ -278,17 +278,17 @@ function SuiteCustomizeToolbar(aMenuItem
  259. function goCustomizeToolbar(toolbox)
  260. {
  261. /* If the toolbox has a method "customizeInit" then call it first.
  262. The optional "customizeDone" method will be invoked by the callback
  263. from the Customize Window so we don't need to take care of that */
  264. if ("customizeInit" in toolbox)
  265. toolbox.customizeInit();
  266. - var customizeURL = "chrome://communicator/content/customizeToolbar.xul";
  267. + var customizeURL = "chrome://communicator/content/customizeToolbar.xhtml";
  268. gCustomizeSheet =
  269. Services.prefs.getBoolPref("toolbar.customization.usesheet", false);
  270. if (gCustomizeSheet) {
  271. var sheetFrame = document.getElementById("customizeToolbarSheetIFrame");
  272. var panel = document.getElementById("customizeToolbarSheetPopup");
  273. sheetFrame.hidden = false;
  274. @@ -1089,17 +1089,17 @@ function BrowserOnCommand(event)
  275. switch (Services.prefs.getIntPref("browser.ssl_override_behavior", 2)) {
  276. case 2 : // Pre-fetch & pre-populate.
  277. params.prefetchCert = true;
  278. // Fall through.
  279. case 1 : // Pre-populate.
  280. params.location = ownerDoc.location.href;
  281. }
  282. - window.openDialog('chrome://pippki/content/exceptionDialog.xul',
  283. + window.openDialog('chrome://pippki/content/exceptionDialog.xhtml',
  284. '', 'chrome,centerscreen,modal', params);
  285. // If the user added the exception cert, attempt to reload the page
  286. if (params.exceptionAdded)
  287. ownerDoc.location.reload();
  288. }
  289. else if (buttonID == "getMeOutOfHereButton") {
  290. // Redirect them to a known-functioning page, default start page
  291. @@ -1813,17 +1813,17 @@ function subscribeToFeedMiddleClick(href
  292. }
  293. function OpenSearchEngineManager() {
  294. var window = Services.wm.getMostRecentWindow("Browser:SearchManager");
  295. if (window)
  296. window.focus();
  297. else {
  298. var arg = { value: false };
  299. - openDialog("chrome://communicator/content/search/engineManager.xul",
  300. + openDialog("chrome://communicator/content/search/engineManager.xhtml",
  301. "_blank", "chrome,dialog,modal,centerscreen,resizable", arg);
  302. if (arg.value)
  303. loadAddSearchEngines();
  304. }
  305. }
  306. function loadAddSearchEngines() {
  307. var newWindowPref = Services.prefs.getIntPref("browser.link.open_newwindow");
  308. diff --git a/suite/base/content/viewSourceOverlay.js b/suite/base/content/viewSourceOverlay.js
  309. --- a/suite/base/content/viewSourceOverlay.js
  310. +++ b/suite/base/content/viewSourceOverlay.js
  311. @@ -1,17 +1,17 @@
  312. /* This Source Code Form is subject to the terms of the Mozilla Public
  313. * License, v. 2.0. If a copy of the MPL was not distributed with this
  314. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  315. // onload make sure we adapt what's needed for partial source
  316. window.addEventListener("load", onLoadViewSourceOverlay);
  317. function onLoadViewSourceOverlay() {
  318. - if (/viewPartialSource\.xul$/.test(document.location)) {
  319. + if (/viewPartialSource\.xhtml$/.test(document.location)) {
  320. // disable menu items that don't work since the selection is munged and
  321. // the editor doesn't work for MathML
  322. document.getElementById('cmd_savePage').setAttribute('disabled', 'true');
  323. document.getElementById('cmd_editPage').setAttribute('disabled', 'true');
  324. }
  325. }
  326. // editPage() comes in from editorApplicationOverlay.js
  327. diff --git a/suite/base/content/viewSourceOverlay.xhtml b/suite/base/content/viewSourceOverlay.xhtml
  328. --- a/suite/base/content/viewSourceOverlay.xhtml
  329. +++ b/suite/base/content/viewSourceOverlay.xhtml
  330. @@ -2,18 +2,18 @@
  331. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  332. - License, v. 2.0. If a copy of the MPL was not distributed with this
  333. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  334. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  335. <?xml-stylesheet href="chrome://communicator/skin/viewSourceOverlay.css" type="text/css"?>
  336. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  337. -<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  338. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  339. +<?xul-overlay href="chrome://communicator/content/tasksOverlay.xhtml"?>
  340. <!DOCTYPE overlay [
  341. <!ENTITY % navDTD SYSTEM "chrome://navigator/locale/navigator.dtd">
  342. %navDTD;
  343. ]>
  344. diff --git a/suite/base/content/viewZoomOverlay.js b/suite/base/content/viewZoomOverlay.js
  345. --- a/suite/base/content/viewZoomOverlay.js
  346. +++ b/suite/base/content/viewZoomOverlay.js
  347. @@ -321,17 +321,17 @@ var FullZoom = FullZoom || {
  348. if (aValue > ZoomManager.MAX)
  349. return ZoomManager.MAX;
  350. return aValue;
  351. }
  352. };
  353. -/***** init and helper functions for viewZoomOverlay.xul *****/
  354. +/***** init and helper functions for viewZoomOverlay.xhtml *****/
  355. window.addEventListener("load", registerZoomManager);
  356. window.addEventListener("unload", unregisterZoomManager);
  357. function registerZoomManager() {
  358. FullZoom.init();
  359. var zoomBundle = document.getElementById("bundle_viewZoom");
  360. var zoomMenu = document.getElementById("menu_zoom");
  361. @@ -433,17 +433,17 @@ function updateZoomMenu() {
  362. }
  363. function openZoomDialog() {
  364. var zoomOther = document.getElementById("menu_zoomOther");
  365. // open dialog and ask for new value
  366. var o = {value: zoomOther.getAttribute("value"),
  367. zoomMin: ZoomManager.MIN * 100,
  368. zoomMax: ZoomManager.MAX * 100};
  369. - window.openDialog("chrome://communicator/content/askViewZoom.xul",
  370. + window.openDialog("chrome://communicator/content/askViewZoom.xhtml",
  371. "", "chrome,modal,centerscreen", o);
  372. if (o.zoomOK) {
  373. zoomOther.setAttribute("value", o.value);
  374. ZoomManager.zoom = o.value / 100;
  375. }
  376. return o.zoomOK;
  377. }
  378. diff --git a/suite/base/jar.mn b/suite/base/jar.mn
  379. --- a/suite/base/jar.mn
  380. +++ b/suite/base/jar.mn
  381. @@ -7,93 +7,93 @@
  382. toolkit.jar:
  383. content/global/aboutSeaMonkey.xhtml (content/aboutSeaMonkey.xhtml)
  384. comm.jar:
  385. % content communicator %content/communicator/ contentaccessible=yes
  386. % override chrome://browser/content/utilityOverlay.js chrome://communicator/content/utilityOverlay.js
  387. % override chrome://global/content/license.html chrome://communicator/content/license.html
  388. % override chrome://global/content/netError.xhtml chrome://communicator/content/certError.xhtml
  389. -% overlay chrome://global/content/viewSource.xul chrome://communicator/content/viewSourceOverlay.xul
  390. -% overlay chrome://global/content/viewPartialSource.xul chrome://communicator/content/viewSourceOverlay.xul
  391. -% overlay chrome://editor/content/EdAdvancedEdit.xul chrome://communicator/content/helpEditorOverlay.xul
  392. -% overlay chrome://editor/content/EdImageProps.xul chrome://communicator/content/helpEditorOverlay.xul
  393. -% overlay chrome://editor/content/EditorPublish.xul chrome://communicator/content/helpEditorOverlay.xul
  394. -% overlay chrome://editor/content/EditorPublishProgress.xul chrome://communicator/content/helpEditorOverlay.xul
  395. -% overlay chrome://editor/content/EditorPublishSettings.xul chrome://communicator/content/helpEditorOverlay.xul
  396. -% overlay chrome://editor/content/EdLinkProps.xul chrome://communicator/content/helpEditorOverlay.xul
  397. -% overlay chrome://editor/content/EdTableProps.xul chrome://communicator/content/helpEditorOverlay.xul
  398. -% overlay chrome://pippki/content/certManager.xul chrome://communicator/content/helpSecurityOverlay.xul
  399. -% overlay chrome://pippki/content/certViewer.xul chrome://communicator/content/helpSecurityOverlay.xul
  400. -% overlay chrome://pippki/content/changepassword.xul chrome://communicator/content/helpSecurityOverlay.xul
  401. -% overlay chrome://pippki/content/device_manager.xul chrome://communicator/content/helpSecurityOverlay.xul
  402. -% overlay chrome://pippki/content/choosetoken.xul chrome://communicator/content/helpSecurityOverlay.xul
  403. -% overlay chrome://pippki/content/clientauthask.xul chrome://communicator/content/helpSecurityOverlay.xul
  404. -% overlay chrome://pippki/content/crlImportDialog.xul chrome://communicator/content/helpSecurityOverlay.xul
  405. -% overlay chrome://pippki/content/deletecert.xul chrome://communicator/content/helpSecurityOverlay.xul
  406. -% overlay chrome://pippki/content/editcacert.xul chrome://communicator/content/helpSecurityOverlay.xul
  407. -% overlay chrome://pippki/content/editemailcert.xul chrome://communicator/content/helpSecurityOverlay.xul
  408. -% overlay chrome://pippki/content/editsslcert.xul chrome://communicator/content/helpSecurityOverlay.xul
  409. -% overlay chrome://pippki/content/escrowWarn.xul chrome://communicator/content/helpSecurityOverlay.xul
  410. -% overlay chrome://pippki/content/getp12password.xul chrome://communicator/content/helpSecurityOverlay.xul
  411. -% overlay chrome://pippki/content/setp12password.xul chrome://communicator/content/helpSecurityOverlay.xul
  412. -% overlay chrome://pippki/content/pref-crlupdate.xul chrome://communicator/content/helpSecurityOverlay.xul
  413. -% overlay chrome://pippki/content/serverCrlNextupdate.xul chrome://communicator/content/helpSecurityOverlay.xul
  414. -% overlay chrome://pippki/content/crlManager.xul chrome://communicator/content/helpSecurityOverlay.xul
  415. -% overlay chrome://pippki/content/resetpassword.xul chrome://communicator/content/helpSecurityOverlay.xul
  416. -% overlay chrome://pippki/content/downloadcert.xul chrome://communicator/content/helpSecurityOverlay.xul
  417. -% overlay chrome://messenger/content/addressbook/pref-editdirectories.xul chrome://communicator/content/helpMessengerOverlay.xul
  418. -% overlay chrome://messenger/content/addressbook/pref-directory-add.xul chrome://communicator/content/helpMessengerOverlay.xul
  419. -% overlay chrome://messenger/content/AccountManager.xul chrome://communicator/content/helpMessengerOverlay.xul
  420. -% overlay chrome://messenger/content/FilterEditor.xul chrome://communicator/content/helpMessengerOverlay.xul
  421. -% overlay chrome://messenger/content/junkMailInfo.xul chrome://communicator/content/helpMessengerOverlay.xul
  422. -% overlay chrome://messenger/content/msgSelectOfflineFolders.xul chrome://communicator/content/helpMessengerOverlay.xul
  423. -% overlay chrome://messenger/content/subscribe.xul chrome://communicator/content/helpMessengerOverlay.xul
  424. -% overlay chrome://messenger/content/mailViewList.xul chrome://communicator/content/helpMessengerOverlay.xul
  425. -% overlay chrome://messenger/content/mailViewSetup.xul chrome://communicator/content/helpMessengerOverlay.xul
  426. -% overlay chrome://messenger-smime/content/msgCompSecurityInfo.xul chrome://communicator/content/helpMessengerOverlay.xul
  427. -% overlay chrome://messenger-smime/content/msgReadSecurityInfo.xul chrome://communicator/content/helpMessengerOverlay.xul
  428. +% overlay chrome://global/content/viewSource.xhtml chrome://communicator/content/viewSourceOverlay.xhtml
  429. +% overlay chrome://global/content/viewPartialSource.xhtml chrome://communicator/content/viewSourceOverlay.xhtml
  430. +% overlay chrome://editor/content/EdAdvancedEdit.xhtml chrome://communicator/content/helpEditorOverlay.xhtml
  431. +% overlay chrome://editor/content/EdImageProps.xhtml chrome://communicator/content/helpEditorOverlay.xhtml
  432. +% overlay chrome://editor/content/EditorPublish.xhtml chrome://communicator/content/helpEditorOverlay.xhtml
  433. +% overlay chrome://editor/content/EditorPublishProgress.xhtml chrome://communicator/content/helpEditorOverlay.xhtml
  434. +% overlay chrome://editor/content/EditorPublishSettings.xhtml chrome://communicator/content/helpEditorOverlay.xhtml
  435. +% overlay chrome://editor/content/EdLinkProps.xhtml chrome://communicator/content/helpEditorOverlay.xhtml
  436. +% overlay chrome://editor/content/EdTableProps.xhtml chrome://communicator/content/helpEditorOverlay.xhtml
  437. +% overlay chrome://pippki/content/certManager.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml
  438. +% overlay chrome://pippki/content/certViewer.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml
  439. +% overlay chrome://pippki/content/changepassword.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml
  440. +% overlay chrome://pippki/content/device_manager.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml
  441. +% overlay chrome://pippki/content/choosetoken.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml
  442. +% overlay chrome://pippki/content/clientauthask.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml
  443. +% overlay chrome://pippki/content/crlImportDialog.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml
  444. +% overlay chrome://pippki/content/deletecert.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml
  445. +% overlay chrome://pippki/content/editcacert.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml
  446. +% overlay chrome://pippki/content/editemailcert.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml
  447. +% overlay chrome://pippki/content/editsslcert.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml
  448. +% overlay chrome://pippki/content/escrowWarn.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml
  449. +% overlay chrome://pippki/content/getp12password.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml
  450. +% overlay chrome://pippki/content/setp12password.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml
  451. +% overlay chrome://pippki/content/pref-crlupdate.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml
  452. +% overlay chrome://pippki/content/serverCrlNextupdate.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml
  453. +% overlay chrome://pippki/content/crlManager.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml
  454. +% overlay chrome://pippki/content/resetpassword.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml
  455. +% overlay chrome://pippki/content/downloadcert.xhtml chrome://communicator/content/helpSecurityOverlay.xhtml
  456. +% overlay chrome://messenger/content/addressbook/pref-editdirectories.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml
  457. +% overlay chrome://messenger/content/addressbook/pref-directory-add.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml
  458. +% overlay chrome://messenger/content/AccountManager.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml
  459. +% overlay chrome://messenger/content/FilterEditor.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml
  460. +% overlay chrome://messenger/content/junkMailInfo.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml
  461. +% overlay chrome://messenger/content/msgSelectOfflineFolders.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml
  462. +% overlay chrome://messenger/content/subscribe.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml
  463. +% overlay chrome://messenger/content/mailViewList.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml
  464. +% overlay chrome://messenger/content/mailViewSetup.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml
  465. +% overlay chrome://messenger-smime/content/msgCompSecurityInfo.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml
  466. +% overlay chrome://messenger-smime/content/msgReadSecurityInfo.xhtml chrome://communicator/content/helpMessengerOverlay.xhtml
  467. % style about:addons chrome://communicator/content/extensionsOverlay.css
  468. -% style chrome://mozapps/content/extensions/extensions.xul chrome://communicator/content/extensionsOverlay.css
  469. +% style chrome://mozapps/content/extensions/extensions.xhtml chrome://communicator/content/extensionsOverlay.css
  470. content/communicator/about.js (content/about.js)
  471. content/communicator/about.xhtml (content/about.xhtml)
  472. content/communicator/aboutLife.xhtml (content/aboutLife.xhtml)
  473. content/communicator/aboutPrivateBrowsing.css (content/aboutPrivateBrowsing.css)
  474. content/communicator/aboutPrivateBrowsing.js (content/aboutPrivateBrowsing.js)
  475. - content/communicator/aboutPrivateBrowsing.xul (content/aboutPrivateBrowsing.xul)
  476. - content/communicator/askViewZoom.xul (content/askViewZoom.xul)
  477. + content/communicator/aboutPrivateBrowsing.xhtml (content/aboutPrivateBrowsing.xhtml)
  478. + content/communicator/askViewZoom.xhtml (content/askViewZoom.xhtml)
  479. content/communicator/askViewZoom.js (content/askViewZoom.js)
  480. content/communicator/blockedSite.js (content/blockedSite.js)
  481. content/communicator/blockedSite.xhtml (content/blockedSite.xhtml)
  482. content/communicator/certError.css (content/certError.css)
  483. content/communicator/certError.js (content/certError.js)
  484. content/communicator/certError.xhtml (content/certError.xhtml)
  485. content/communicator/certError.xml (content/certError.xml)
  486. - content/communicator/charsetOverlay.xul (content/charsetOverlay.xul)
  487. + content/communicator/charsetOverlay.xhtml (content/charsetOverlay.xhtml)
  488. * content/communicator/communicator.css (content/communicator.css)
  489. content/communicator/contentAreaClick.js (content/contentAreaClick.js)
  490. - content/communicator/contentAreaContextOverlay.xul (content/contentAreaContextOverlay.xul)
  491. + content/communicator/contentAreaContextOverlay.xhtml (content/contentAreaContextOverlay.xhtml)
  492. content/communicator/defaultClientDialog.js (content/defaultClientDialog.js)
  493. - content/communicator/defaultClientDialog.xul (content/defaultClientDialog.xul)
  494. + content/communicator/defaultClientDialog.xhtml (content/defaultClientDialog.xhtml)
  495. content/communicator/extensionsOverlay.css (content/extensionsOverlay.css)
  496. content/communicator/findUtils.js (content/findUtils.js)
  497. content/communicator/fullscreen-video.xhtml (content/fullscreen-video.xhtml)
  498. content/communicator/gopherAddon.xhtml (content/gopherAddon.xhtml)
  499. - content/communicator/helpEditorOverlay.xul (content/helpEditorOverlay.xul)
  500. - content/communicator/helpMessengerOverlay.xul (content/helpMessengerOverlay.xul)
  501. - content/communicator/helpSecurityOverlay.xul (content/helpSecurityOverlay.xul)
  502. + content/communicator/helpEditorOverlay.xhtml (content/helpEditorOverlay.xhtml)
  503. + content/communicator/helpMessengerOverlay.xhtml (content/helpMessengerOverlay.xhtml)
  504. + content/communicator/helpSecurityOverlay.xhtml (content/helpSecurityOverlay.xhtml)
  505. # the following file is a suite-specific override of the generic license.html, using suite/common/app-license.html as input:
  506. * content/communicator/license.html (/toolkit/content/license.html)
  507. content/communicator/nsContextMenu.js (content/nsContextMenu.js)
  508. content/communicator/openLocation.js (content/openLocation.js)
  509. - content/communicator/openLocation.xul (content/openLocation.xul)
  510. + content/communicator/openLocation.xhtml (content/openLocation.xhtml)
  511. content/communicator/safeMode.js (content/safeMode.js)
  512. - content/communicator/safeMode.xul (content/safeMode.xul)
  513. + content/communicator/safeMode.xhtml (content/safeMode.xhtml)
  514. content/communicator/tasksOverlay.js (content/tasksOverlay.js)
  515. -* content/communicator/tasksOverlay.xul (content/tasksOverlay.xul)
  516. +* content/communicator/tasksOverlay.xhtml (content/tasksOverlay.xhtml)
  517. content/communicator/utilityOverlay.js (content/utilityOverlay.js)
  518. -* content/communicator/utilityOverlay.xul (content/utilityOverlay.xul)
  519. - content/communicator/viewApplyThemeOverlay.xul (content/viewApplyThemeOverlay.xul)
  520. +* content/communicator/utilityOverlay.xhtml (content/utilityOverlay.xhtml)
  521. + content/communicator/viewApplyThemeOverlay.xhtml (content/viewApplyThemeOverlay.xhtml)
  522. content/communicator/viewApplyThemeOverlay.js (content/viewApplyThemeOverlay.js)
  523. content/communicator/viewSourceOverlay.js (content/viewSourceOverlay.js)
  524. - content/communicator/viewSourceOverlay.xul (content/viewSourceOverlay.xul)
  525. - content/communicator/viewZoomOverlay.xul (content/viewZoomOverlay.xul)
  526. + content/communicator/viewSourceOverlay.xhtml (content/viewSourceOverlay.xhtml)
  527. + content/communicator/viewZoomOverlay.xhtml (content/viewZoomOverlay.xhtml)
  528. content/communicator/viewZoomOverlay.js (content/viewZoomOverlay.js)
  529. diff --git a/suite/browser/browser-places.js b/suite/browser/browser-places.js
  530. --- a/suite/browser/browser-places.js
  531. +++ b/suite/browser/browser-places.js
  532. @@ -143,17 +143,17 @@ var StarUI = {
  533. if (this._overlayLoaded) {
  534. await this._doShowEditBookmarkPanel(aNode, aAnchorElement, aPosition, aUrl);
  535. return;
  536. }
  537. this._overlayLoading = true;
  538. document.loadOverlay(
  539. - "chrome://communicator/content/places/editBookmarkOverlay.xul",
  540. + "chrome://communicator/content/places/editBookmarkOverlay.xhtml",
  541. (aSubject, aTopic, aData) => {
  542. // Move the header (star, title, button) into the grid,
  543. // so that it aligns nicely with the other items (bug 484022).
  544. let header = this._element("editBookmarkPanelHeader");
  545. let rows = this._element("editBookmarkPanelGrid").lastChild;
  546. rows.insertBefore(header, rows.firstChild);
  547. header.hidden = false;
  548. @@ -512,17 +512,17 @@ var PlacesCommandHook = {
  549. * BookmarksMenu, BookmarksToolbar, UnfiledBookmarks,
  550. * AllBookmarks, History.
  551. */
  552. showPlacesOrganizer(item) {
  553. var organizer = Services.wm.getMostRecentWindow("Places:Organizer");
  554. // Due to bug 528706, getMostRecentWindow can return closed windows.
  555. if (!organizer || organizer.closed) {
  556. // No currently open places window, so open one with the specified mode.
  557. - openDialog("chrome://communicator/content/places/places.xul",
  558. + openDialog("chrome://communicator/content/places/places.xhtml",
  559. "", "chrome,toolbar=yes,dialog=no,resizable", item);
  560. } else {
  561. organizer.PlacesOrganizer.selectLeftPaneContainerByHierarchy(item);
  562. organizer.focus();
  563. }
  564. },
  565. };
  566. diff --git a/suite/browser/hiddenWindow.xhtml b/suite/browser/hiddenWindow.xhtml
  567. --- a/suite/browser/hiddenWindow.xhtml
  568. +++ b/suite/browser/hiddenWindow.xhtml
  569. @@ -1,29 +1,29 @@
  570. <?xml version="1.0"?>
  571. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  572. - License, v. 2.0. If a copy of the MPL was not distributed with this
  573. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  574. -<?xul-overlay href="chrome://navigator/content/navigatorOverlay.xul"?>
  575. +<?xul-overlay href="chrome://navigator/content/navigatorOverlay.xhtml"?>
  576. <!-- hiddenwindow is a "minimal" XUL window intended for creating the,
  577. er, hidden window. This window is never shown, but on platforms
  578. which leave the app running after the last (visible) window is shut
  579. down, this window does hold a browser menubar.
  580. - Though this window looks a lot like navigator.xul, that xul
  581. + Though this window looks a lot like navigator.xhtml, that xul
  582. is unsuitable because it's subject to the whims of its associated
  583. appcore, which among other things causes it to load content documents
  584. undesirable for this window.
  585. Arguably a simpler menu structure could be substituted, but
  586. the full one was included for now in anticipation of the whole thing
  587. becoming an included file someday. -->
  588. -<!-- Localizable string definitions from navigator.xul. -->
  589. +<!-- Localizable string definitions from navigator.xhtml. -->
  590. <!DOCTYPE window [
  591. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
  592. %brandDTD;
  593. <!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/navigator.dtd" >
  594. %navigatorDTD;
  595. ]>
  596. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  597. @@ -39,17 +39,17 @@
  598. <!-- keys are appended from the overlay -->
  599. <keyset id="navKeys"/>
  600. <!-- commands are appended from the overlay -->
  601. <commandset id="commands"/>
  602. <broadcasterset id="navBroadcasters"/>
  603. - <!-- it's the whole navigator.xul menubar! hidden windows need to
  604. + <!-- it's the whole navigator.xhtml menubar! hidden windows need to
  605. have a menubar for situations where they're the only window remaining
  606. on a platform that wants to leave the app running, like the Mac.
  607. -->
  608. <toolbox id="toolbox">
  609. <menubar id="main-menubar" position="1"/>
  610. </toolbox>
  611. </window>
  612. diff --git a/suite/browser/jar.mn b/suite/browser/jar.mn
  613. --- a/suite/browser/jar.mn
  614. +++ b/suite/browser/jar.mn
  615. @@ -3,39 +3,39 @@
  616. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  617. comm.jar:
  618. % content navigator %content/navigator/
  619. % content navigator-region %content/navigator-region/
  620. content/navigator/browser-places.js
  621. content/navigator/content.js
  622. content/navigator/fullScreen.js
  623. - content/navigator/hiddenWindow.xul
  624. + content/navigator/hiddenWindow.xhtml
  625. content/navigator/linkToolbarHandler.js
  626. content/navigator/linkToolbarItem.js
  627. content/navigator/linkToolbarOverlay.js
  628. - content/navigator/linkToolbarOverlay.xul
  629. + content/navigator/linkToolbarOverlay.xhtml
  630. content/navigator/mailNavigatorOverlay.js
  631. -* content/navigator/mailNavigatorOverlay.xul
  632. +* content/navigator/mailNavigatorOverlay.xhtml
  633. content/navigator/metadata.js
  634. - content/navigator/metadata.xul
  635. + content/navigator/metadata.xhtml
  636. content/navigator/navigator.css
  637. content/navigator/navigator.js
  638. - content/navigator/navigator.xul
  639. + content/navigator/navigator.xhtml
  640. content/navigator/navigatorDD.js
  641. -* content/navigator/navigatorOverlay.xul
  642. +* content/navigator/navigatorOverlay.xhtml
  643. content/navigator/nsBrowserContentListener.js
  644. content/navigator/nsBrowserStatusHandler.js
  645. content/navigator/sessionHistoryUI.js
  646. content/navigator/safeBrowsingOverlay.js
  647. - content/navigator/safeBrowsingOverlay.xul
  648. + content/navigator/safeBrowsingOverlay.xhtml
  649. content/navigator/tabbrowser.xml
  650. content/navigator/urlbarBindings.xml
  651. content/navigator/webDeveloperOverlay.js
  652. - content/navigator/webDeveloperOverlay.xul
  653. + content/navigator/webDeveloperOverlay.xhtml
  654. content/navigator/pageinfo/feeds.js (pageinfo/feeds.js)
  655. content/navigator/pageinfo/feeds.xml (pageinfo/feeds.xml)
  656. content/navigator/pageinfo/pageInfo.css (pageinfo/pageInfo.css)
  657. content/navigator/pageinfo/pageInfo.js (pageinfo/pageInfo.js)
  658. - content/navigator/pageinfo/pageInfo.xul (pageinfo/pageInfo.xul)
  659. + content/navigator/pageinfo/pageInfo.xhtml (pageinfo/pageInfo.xhtml)
  660. content/navigator/pageinfo/permissions.js (pageinfo/permissions.js)
  661. content/navigator/pageinfo/security.js (pageinfo/security.js)
  662. diff --git a/suite/browser/mailNavigatorOverlay.js b/suite/browser/mailNavigatorOverlay.js
  663. --- a/suite/browser/mailNavigatorOverlay.js
  664. +++ b/suite/browser/mailNavigatorOverlay.js
  665. @@ -64,17 +64,17 @@ function openExternalMailer(url, title)
  666. + encodeURIComponent(title) : "mailto:";
  667. var uri = Services.io.newURI(mailto);
  668. extProtocolSvc.loadURI(uri);
  669. }
  670. function openNewCardDialog()
  671. {
  672. - window.openDialog("chrome://messenger/content/addressbook/abNewCardDialog.xul",
  673. + window.openDialog("chrome://messenger/content/addressbook/abNewCardDialog.xhtml",
  674. "", "chrome,modal,resizable=no,centerscreen");
  675. }
  676. function goOpenNewMessage()
  677. {
  678. if (gUseExternalMailto)
  679. {
  680. openExternalMailer();
  681. diff --git a/suite/browser/navigator.js b/suite/browser/navigator.js
  682. --- a/suite/browser/navigator.js
  683. +++ b/suite/browser/navigator.js
  684. @@ -1672,17 +1672,17 @@ function QualifySearchTerm()
  685. return gURLBar.value;
  686. return "";
  687. }
  688. function BrowserOpenWindow()
  689. {
  690. //opens a window where users can select a web location to open
  691. var params = { action: gPrivate ? "4" : "0", url: "" };
  692. - openDialog("chrome://communicator/content/openLocation.xul", "_blank",
  693. + openDialog("chrome://communicator/content/openLocation.xhtml", "_blank",
  694. "chrome,modal,titlebar", params);
  695. getShortcutOrURIAndPostData(params.url).then(data => {
  696. switch (params.action) {
  697. case "0": // current window
  698. loadURI(data.url, null, data.postData, true);
  699. break;
  700. case "1": // new window
  701. @@ -2415,17 +2415,17 @@ function BrowserPageInfo(documentURL, in
  702. if (win.document.documentElement
  703. .getAttribute("relatedUrl") == documentURL) {
  704. win.focus();
  705. win.resetPageInfo(args);
  706. return win;
  707. }
  708. }
  709. // We didn't find a matching window, so open a new one.
  710. - return window.openDialog("chrome://navigator/content/pageinfo/pageInfo.xul",
  711. + return window.openDialog("chrome://navigator/content/pageinfo/pageInfo.xhtml",
  712. "_blank",
  713. "chrome,dialog=no,resizable",
  714. args);
  715. }
  716. function hiddenWindowStartup()
  717. {
  718. // focus the hidden window
  719. @@ -2950,17 +2950,17 @@ function BrowserUploadFile()
  720. // this gives the protocol handler the best chance of generating a
  721. // properly formatted URI spec. we pass null for the origin charset
  722. // parameter since we want the URI to inherit the origin charset
  723. // property from targetBaseURI.
  724. var leafName = fp.fileURL.QueryInterface(Ci.nsIFileURL).file.leafName;
  725. var targetURI = Services.io.newURI(leafName, null, targetBaseURI);
  726. // ok, start uploading...
  727. - openDialog("chrome://communicator/content/downloads/uploadProgress.xul", "",
  728. + openDialog("chrome://communicator/content/downloads/uploadProgress.xhtml", "",
  729. "titlebar,centerscreen,minimizable,dialog=no", fp.fileURL, targetURI);
  730. } catch (e) {}
  731. });
  732. }
  733. /* This function is called whenever the file menu is about to be displayed.
  734. * Enable the upload menu item if appropriate. */
  735. function updateFileUploadItem()
  736. @@ -3248,17 +3248,17 @@ function viewCertificate()
  737. Cc["@mozilla.org/nsCertificateDialogs;1"]
  738. .getService(Ci.nsICertificateDialogs)
  739. .viewCert(window, cert);
  740. }
  741. }
  742. function openCertManager()
  743. {
  744. - toOpenWindowByType("mozilla:certmanager", "chrome://pippki/content/certManager.xul",
  745. + toOpenWindowByType("mozilla:certmanager", "chrome://pippki/content/certManager.xhtml",
  746. "resizable,dialog=no,centerscreen");
  747. }
  748. function onViewSecurityContextMenu()
  749. {
  750. document.getElementById("viewCertificate").disabled = !getCert();
  751. }
  752. diff --git a/suite/browser/navigator.xhtml b/suite/browser/navigator.xhtml
  753. --- a/suite/browser/navigator.xhtml
  754. +++ b/suite/browser/navigator.xhtml
  755. @@ -3,22 +3,22 @@
  756. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  757. - License, v. 2.0. If a copy of the MPL was not distributed with this
  758. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  759. <?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?>
  760. <?xml-stylesheet href="chrome://communicator/content/places/places.css" type="text/css"?>
  761. -<?xul-overlay href="chrome://navigator/content/navigatorOverlay.xul"?>
  762. -<?xul-overlay href="chrome://navigator/content/linkToolbarOverlay.xul"?>
  763. -<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
  764. -<?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xul"?>
  765. -<?xul-overlay href="chrome://navigator/content/safeBrowsingOverlay.xul"?>
  766. -<?xul-overlay href="chrome://navigator/content/webDeveloperOverlay.xul"?>
  767. +<?xul-overlay href="chrome://navigator/content/navigatorOverlay.xhtml"?>
  768. +<?xul-overlay href="chrome://navigator/content/linkToolbarOverlay.xhtml"?>
  769. +<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xhtml"?>
  770. +<?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xhtml"?>
  771. +<?xul-overlay href="chrome://navigator/content/safeBrowsingOverlay.xhtml"?>
  772. +<?xul-overlay href="chrome://navigator/content/webDeveloperOverlay.xhtml"?>
  773. <!DOCTYPE window [
  774. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
  775. %brandDTD;
  776. <!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/navigator.dtd" >
  777. %navigatorDTD;
  778. ]>
  779. @@ -532,17 +532,17 @@
  780. placespopup="true"
  781. tooltip="bhTooltip" popupsinherittooltip="true"
  782. context="placesContext"/>
  783. </toolbarbutton>
  784. </hbox>
  785. </hbox>
  786. </toolbaritem>
  787. - <!-- see utilityOverlay.xul
  788. + <!-- see utilityOverlay.xhtml
  789. <toolbarbutton id="sync-button"/> -->
  790. </toolbarpalette>
  791. </toolbox>
  792. <hbox flex="1">
  793. <vbox id="sidebar-box" class="chromeclass-extrachrome" domfullscreenhidden="true"/>
  794. <splitter id="sidebar-splitter" class="chromeclass-extrachrome" domfullscreenhidden="true"/>
  795. diff --git a/suite/browser/navigatorOverlay.xhtml b/suite/browser/navigatorOverlay.xhtml
  796. --- a/suite/browser/navigatorOverlay.xhtml
  797. +++ b/suite/browser/navigatorOverlay.xhtml
  798. @@ -1,20 +1,20 @@
  799. <?xml version="1.0"?>
  800. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  801. - License, v. 2.0. If a copy of the MPL was not distributed with this
  802. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  803. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  804. -<?xul-overlay href="chrome://communicator/content/viewZoomOverlay.xul"?>
  805. -<?xul-overlay href="chrome://communicator/content/viewApplyThemeOverlay.xul"?>
  806. -<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  807. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  808. -<?xul-overlay href="chrome://communicator/content/charsetOverlay.xul"?>
  809. -<?xul-overlay href="chrome://navigator/content/mailNavigatorOverlay.xul"?>
  810. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  811. +<?xul-overlay href="chrome://communicator/content/viewZoomOverlay.xhtml"?>
  812. +<?xul-overlay href="chrome://communicator/content/viewApplyThemeOverlay.xhtml"?>
  813. +<?xul-overlay href="chrome://communicator/content/tasksOverlay.xhtml"?>
  814. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  815. +<?xul-overlay href="chrome://communicator/content/charsetOverlay.xhtml"?>
  816. +<?xul-overlay href="chrome://navigator/content/mailNavigatorOverlay.xhtml"?>
  817. <!DOCTYPE overlay [
  818. <!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/navigator.dtd" >
  819. %navigatorDTD;
  820. <!ENTITY % navigatorOverlayDTD SYSTEM "chrome://navigator/locale/navigatorOverlay.dtd">
  821. %navigatorOverlayDTD;
  822. <!ENTITY % contentAreaCommandsDTD SYSTEM "chrome://communicator/locale/contentAreaCommands.dtd" >
  823. %contentAreaCommandsDTD;
  824. @@ -277,17 +277,17 @@
  825. </broadcasterset>
  826. <!-- Menu -->
  827. <menubar id="main-menubar" class="chromeclass-menubar">
  828. <menu id="menu_File">
  829. <menupopup id="menu_FilePopup" onpopupshowing="updateCloseItems();getContentAreaFrameCount();updateSavePageItems();updateFileUploadItem();">
  830. <menu id="menu_New">
  831. <menupopup id="menu_NewPopup">
  832. - <!-- From utilityOverlay.xul -->
  833. + <!-- From utilityOverlay.xhtml -->
  834. <menuitem id="menu_newNavigatorTab" command="cmd_newNavigatorTab" key="key_newNavigatorTab"
  835. label="&tabCmd.label;" accesskey="&tabCmd.accesskey;"/>
  836. <menuitem id="menu_newNavigator"/>
  837. <menuitem id="menu_newPrivateWindow"/>
  838. <menuseparator id="navBeginGlobalNewItems"/>
  839. <menuitem id="menu_newEditor" command="cmd_newEditor"/>
  840. </menupopup>
  841. </menu>
  842. @@ -395,17 +395,17 @@
  843. <menuitem id="menuitem_reload"
  844. label="&reloadCmd.label;"
  845. accesskey="&reloadCmd.accesskey;"
  846. key="key_reload"
  847. oncommand="BrowserReload(event);"
  848. onclick="checkForMiddleClick(this, event);"/>
  849. <menuseparator />
  850. - <!-- overlayed from viewZoomOverlay.xul -->
  851. + <!-- overlayed from viewZoomOverlay.xhtml -->
  852. <menu id="menu_zoom"/>
  853. <menu id="menu_UseStyleSheet"
  854. label="&useStyleSheetMenu.label;"
  855. accesskey="&useStyleSheetMenu.accesskey;"
  856. disabled="false"
  857. observes="isImage">
  858. <menupopup id="menupopup_stylesheetFill" onpopupshowing="stylesheetFillPopup(this);"
  859. @@ -435,17 +435,17 @@
  860. key="key_viewSource"
  861. command="View:PageSource"/>
  862. <menuitem id="menuitem_pageInfoCmd"
  863. label="&pageInfoCmd.label;"
  864. accesskey="&pageInfoCmd.accesskey;"
  865. key="key_viewInfo"
  866. command="View:PageInfo"/>
  867. <menuseparator />
  868. - <!-- overlayed from viewApplyThemeOverlay.xul -->
  869. + <!-- overlayed from viewApplyThemeOverlay.xhtml -->
  870. <menu id="menu_viewApplyTheme"/>
  871. </menupopup>
  872. </menu>
  873. <menu id="history-menu"
  874. label="&goMenu.label;"
  875. accesskey="&goMenu.accesskey;"
  876. oncommand="gotoHistoryIndex(event);"
  877. diff --git a/suite/browser/nsBrowserContentHandler.js b/suite/browser/nsBrowserContentHandler.js
  878. --- a/suite/browser/nsBrowserContentHandler.js
  879. +++ b/suite/browser/nsBrowserContentHandler.js
  880. @@ -156,27 +156,27 @@ function openWindow(parent, url, feature
  881. }
  882. function openPreferences()
  883. {
  884. var win = Services.wm.getMostRecentWindow("mozilla:preferences");
  885. if (win)
  886. win.focus();
  887. else
  888. - openWindow(null, "chrome://communicator/content/pref/preferences.xul",
  889. + openWindow(null, "chrome://communicator/content/pref/preferences.xhtml",
  890. "chrome,titlebar,dialog=no,resizable", "");
  891. }
  892. function getBrowserURL()
  893. {
  894. try {
  895. return Services.prefs.getCharPref("browser.chromeURL");
  896. } catch (e) {
  897. }
  898. - return "chrome://navigator/content/navigator.xul";
  899. + return "chrome://navigator/content/navigator.xhtml";
  900. }
  901. function handURIToExistingBrowser(aUri, aLocation, aFeatures, aTriggeringPrincipal)
  902. {
  903. if (!shouldLoadURI(aUri))
  904. return;
  905. var navWin = Services.wm.getMostRecentWindow("navigator:browser");
  906. @@ -261,31 +261,31 @@ var nsBrowserContentHandler = {
  907. else if (RegExp.$3 == "new-tab")
  908. location = nsIBrowserDOMWindow.OPEN_NEWTAB;
  909. handURIToExistingBrowser(uri, location, features,
  910. Services.scriptSecurityManager.getSystemPrincipal());
  911. break;
  912. case "mailto":
  913. - openWindow(null, "chrome://messenger/content/messengercompose/messengercompose.xul", features, RegExp.$2);
  914. + openWindow(null, "chrome://messenger/content/messengercompose/messengercompose.xhtml", features, RegExp.$2);
  915. break;
  916. case "xfedocommand":
  917. switch (RegExp.$2.toLowerCase()) {
  918. case "openbrowser":
  919. openWindow(null, getBrowserURL(), features, RegExp.$3 || getURLToLoad());
  920. break;
  921. case "openinbox":
  922. openWindow(null, "chrome://messenger/content", features);
  923. break;
  924. case "composemessage":
  925. - openWindow(null, "chrome://messenger/content/messengercompose/messengercompose.xul", features, RegExp.$3);
  926. + openWindow(null, "chrome://messenger/content/messengercompose/messengercompose.xhtml", features, RegExp.$3);
  927. break;
  928. default:
  929. throw Cr.NS_ERROR_ABORT;
  930. }
  931. break;
  932. default:
  933. diff --git a/suite/browser/test/browser/browser_notification_tab_switching.js b/suite/browser/test/browser/browser_notification_tab_switching.js
  934. --- a/suite/browser/test/browser/browser_notification_tab_switching.js
  935. +++ b/suite/browser/test/browser/browser_notification_tab_switching.js
  936. @@ -53,17 +53,17 @@ function onLoad() {
  937. waitUntilNewWindowHasFocus();
  938. });
  939. }
  940. function onAlertShowing() {
  941. info("Notification alert showing");
  942. notification.removeEventListener("show", onAlertShowing);
  943. - let alertWindow = findChromeWindowByURI("chrome://global/content/alerts/alert.xul");
  944. + let alertWindow = findChromeWindowByURI("chrome://global/content/alerts/alert.xhtml");
  945. if (!alertWindow) {
  946. todo(false, "Notifications don't use XUL windows on all platforms.");
  947. notification.close();
  948. newWindowOpenedFromTab.close();
  949. finish();
  950. return;
  951. }
  952. gBrowser.tabContainer.addEventListener("TabSelect", onTabSelect);
  953. diff --git a/suite/chatzilla/ChangeLog b/suite/chatzilla/ChangeLog
  954. --- a/suite/chatzilla/ChangeLog
  955. +++ b/suite/chatzilla/ChangeLog
  956. @@ -179,17 +179,17 @@ utils.js:
  957. mybot.js:
  958. - not built -
  959. - add dummy escape/unescape if it isn't there
  960. handlers.js:
  961. - return false the first time through onClose(), and disconnect from all servers. This makes sure we keep the window around long enough to send the QUIT messages.
  962. - close window if client.userClose is set and we disconnected from the last server.
  963. -chatzilla.xul:
  964. +chatzilla.xhtml:
  965. - hook up onclose event.
  966. - apply patch from 75226, fixes initial splitter position.
  967. static.js:
  968. - copy client.userAgent code from chatzilla 0.8.1x
  969. - implement getConnectionCount()
  970. #################################################################################
  971. @@ -268,17 +268,17 @@ utils.js:
  972. - add formatDateOffset() function to the result of a Date subtraction into english.
  973. - add arraySpeak() function to join an array into an english list.
  974. - add arrayContains() function to search an array for an element.
  975. - add arrayIndexOf() function to get the index of an element within the array.
  976. - modify hyphenateWord() function to search for a goo place to break the word with a -/+ 5 character fuzz factor.
  977. - add splitLongWord() function, similar to hyphenateWord, except returns an array.
  978. - fix stoopid paren bug in roundTo() function.
  979. -chatzilla.xul:
  980. +chatzilla.xhtml:
  981. - add broadcasters for the file menu items.
  982. - add keys for the file menu items.
  983. - add file menu. (bug 43850)
  984. - move options menu under file menu.
  985. - remove old view toolbar.
  986. - add crop="right" attribute to the userlist table to prevent horizontal scrollbars. (bug 56312)
  987. - whitespace fixes.
  988. - add input splitter for multiline-input mode.
  989. diff --git a/suite/chatzilla/jar.mn b/suite/chatzilla/jar.mn
  990. --- a/suite/chatzilla/jar.mn
  991. +++ b/suite/chatzilla/jar.mn
  992. @@ -1,22 +1,22 @@
  993. # This Source Code Form is subject to the terms of the Mozilla Public
  994. # License, v. 2.0. If a copy of the MPL was not distributed with this
  995. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  996. chatzilla.jar:
  997. % content chatzilla %content/chatzilla/
  998. % skin chatzilla modern/1.0 %skin/modern/chatzilla/
  999. -% overlay chrome://navigator/content/navigator.xul chrome://chatzilla/content/browserOverlay.xul
  1000. -% overlay chrome://communicator/content/tasksOverlay.xul chrome://chatzilla/content/chatzillaOverlay.xul
  1001. -% overlay chrome://communicator/content/pref/preferences.xul chrome://chatzilla/content/prefsOverlay.xul
  1002. -% overlay chrome://communicator/content/pref/pref-appearance.xul chrome://chatzilla/content/prefsOverlay.xul
  1003. -% overlay chrome://chatzilla/content/chatzilla.xul chrome://communicator/content/utilityOverlay.xul
  1004. -% overlay chrome://chatzilla/content/menus.xul chrome://communicator/content/tasksOverlay.xul
  1005. -% style chrome://communicator/content/customizeToolbar.xul chrome://chatzilla/skin/browserOverlay.css
  1006. +% overlay chrome://navigator/content/navigator.xhtml chrome://chatzilla/content/browserOverlay.xhtml
  1007. +% overlay chrome://communicator/content/tasksOverlay.xhtml chrome://chatzilla/content/chatzillaOverlay.xhtml
  1008. +% overlay chrome://communicator/content/pref/preferences.xhtml chrome://chatzilla/content/prefsOverlay.xhtml
  1009. +% overlay chrome://communicator/content/pref/pref-appearance.xhtml chrome://chatzilla/content/prefsOverlay.xhtml
  1010. +% overlay chrome://chatzilla/content/chatzilla.xhtml chrome://communicator/content/utilityOverlay.xhtml
  1011. +% overlay chrome://chatzilla/content/menus.xhtml chrome://communicator/content/tasksOverlay.xhtml
  1012. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://chatzilla/skin/browserOverlay.css
  1013. content/chatzilla/lib/js/utils.js (js/lib/utils.js)
  1014. content/chatzilla/lib/js/events.js (js/lib/events.js)
  1015. content/chatzilla/lib/js/connection-xpcom.js (js/lib/connection-xpcom.js)
  1016. content/chatzilla/lib/js/command-manager.js (js/lib/command-manager.js)
  1017. content/chatzilla/lib/js/pref-manager.js (js/lib/pref-manager.js)
  1018. content/chatzilla/lib/js/message-manager.js (js/lib/message-manager.js)
  1019. content/chatzilla/lib/js/menu-manager.js (js/lib/menu-manager.js)
  1020. content/chatzilla/lib/js/ident.js (js/lib/ident.js)
  1021. @@ -27,52 +27,52 @@ chatzilla.jar:
  1022. content/chatzilla/lib/js/json-serializer.js (js/lib/json-serializer.js)
  1023. content/chatzilla/lib/js/sts.js (js/lib/sts.js)
  1024. content/chatzilla/lib/js/text-serializer.js (js/lib/text-serializer.js)
  1025. content/chatzilla/lib/js/text-logger.js (js/lib/text-logger.js)
  1026. content/chatzilla/lib/js/chatzilla-protocol-script.js (js/lib/chatzilla-protocol-script.js)
  1027. content/chatzilla/lib/js/protocol-handlers.jsm (js/lib/protocol-handlers.jsm)
  1028. content/chatzilla/lib/xul/munger.js (xul/lib/munger.js)
  1029. content/chatzilla/lib/xul/tree-utils.js (xul/lib/tree-utils.js)
  1030. - content/chatzilla/chatzilla.xul (xul/content/chatzilla.xul)
  1031. - content/chatzilla/scripts.xul (xul/content/scripts.xul)
  1032. - content/chatzilla/menus.xul (xul/content/menus.xul)
  1033. - content/chatzilla/popups.xul (xul/content/popups.xul)
  1034. - content/chatzilla/channels.xul (xul/content/channels.xul)
  1035. + content/chatzilla/chatzilla.xhtml (xul/content/chatzilla.xhtml)
  1036. + content/chatzilla/scripts.xhtml (xul/content/scripts.xhtml)
  1037. + content/chatzilla/menus.xhtml (xul/content/menus.xhtml)
  1038. + content/chatzilla/popups.xhtml (xul/content/popups.xhtml)
  1039. + content/chatzilla/channels.xhtml (xul/content/channels.xhtml)
  1040. content/chatzilla/channels.js (xul/content/channels.js)
  1041. content/chatzilla/output-window.html (xul/content/output-window.html)
  1042. content/chatzilla/output-window.js (xul/content/output-window.js)
  1043. content/chatzilla/commands.js (xul/content/commands.js)
  1044. content/chatzilla/handlers.js (xul/content/handlers.js)
  1045. content/chatzilla/prefs.js (xul/content/prefs.js)
  1046. content/chatzilla/messages.js (xul/content/messages.js)
  1047. content/chatzilla/menus.js (xul/content/menus.js)
  1048. content/chatzilla/mungers.js (xul/content/mungers.js)
  1049. * content/chatzilla/static.js (xul/content/static.js)
  1050. content/chatzilla/networks.js (xul/content/networks.js)
  1051. content/chatzilla/networks-edit.css (xul/content/networks-edit.css)
  1052. content/chatzilla/networks-edit.js (xul/content/networks-edit.js)
  1053. - content/chatzilla/networks-edit.xul (xul/content/networks-edit.xul)
  1054. + content/chatzilla/networks-edit.xhtml (xul/content/networks-edit.xhtml)
  1055. content/chatzilla/networks-server.js (xul/content/networks-server.js)
  1056. - content/chatzilla/networks-server.xul (xul/content/networks-server.xul)
  1057. + content/chatzilla/networks-server.xhtml (xul/content/networks-server.xhtml)
  1058. content/chatzilla/dynamic.css (xul/content/dynamic.css)
  1059. content/chatzilla/output-base.css (xul/content/output-base.css)
  1060. - content/chatzilla/chatzillaOverlay.xul (xul/content/chatzillaOverlay.xul)
  1061. + content/chatzilla/chatzillaOverlay.xhtml (xul/content/chatzillaOverlay.xhtml)
  1062. content/chatzilla/chatzillaOverlay.js (xul/content/chatzillaOverlay.js)
  1063. - content/chatzilla/browserOverlay.xul (xul/content/browserOverlay.xul)
  1064. - content/chatzilla/prefsOverlay.xul (xul/content/prefsOverlay.xul)
  1065. - content/chatzilla/pref-irc-toolkit.xul (xul/content/pref-irc-toolkit.xul)
  1066. - content/chatzilla/config.xul (xul/content/config.xul)
  1067. - content/chatzilla/config-add.xul (xul/content/config-add.xul)
  1068. + content/chatzilla/browserOverlay.xhtml (xul/content/browserOverlay.xhtml)
  1069. + content/chatzilla/prefsOverlay.xhtml (xul/content/prefsOverlay.xhtml)
  1070. + content/chatzilla/pref-irc-toolkit.xhtml (xul/content/pref-irc-toolkit.xhtml)
  1071. + content/chatzilla/config.xhtml (xul/content/config.xhtml)
  1072. + content/chatzilla/config-add.xhtml (xul/content/config-add.xhtml)
  1073. content/chatzilla/config.js (xul/content/config.js)
  1074. content/chatzilla/config-add.js (xul/content/config-add.js)
  1075. content/chatzilla/config.css (xul/content/config.css)
  1076. content/chatzilla/install-plugin/install-plugin.js (xul/content/install-plugin/install-plugin.js)
  1077. - content/chatzilla/install-plugin/install-plugin.xul (xul/content/install-plugin/install-plugin.xul)
  1078. - content/chatzilla/about/about.xul (xul/content/about/about.xul)
  1079. + content/chatzilla/install-plugin/install-plugin.xhtml (xul/content/install-plugin/install-plugin.xhtml)
  1080. + content/chatzilla/about/about.xhtml (xul/content/about/about.xhtml)
  1081. content/chatzilla/about/about.js (xul/content/about/about.js)
  1082. skin/modern/chatzilla/chatzilla.css (xul/skin/chatzilla.css)
  1083. skin/modern/chatzilla/chatzillaOverlay.css (xul/skin/chatzillaOverlay.css)
  1084. skin/modern/chatzilla/browserOverlay.css (xul/skin/browserOverlay.css)
  1085. skin/modern/chatzilla/channels.css (xul/skin/channels.css)
  1086. skin/modern/chatzilla/install-plugin.css (xul/skin/install-plugin.css)
  1087. skin/modern/chatzilla/networks-edit.css (xul/skin/networks-edit.css)
  1088. skin/modern/chatzilla/about.css (xul/skin/about.css)
  1089. diff --git a/suite/chatzilla/js/lib/chatzilla-service.js b/suite/chatzilla/js/lib/chatzilla-service.js
  1090. --- a/suite/chatzilla/js/lib/chatzilla-service.js
  1091. +++ b/suite/chatzilla/js/lib/chatzilla-service.js
  1092. @@ -87,17 +87,17 @@ function spawnChatZilla(uri, count)
  1093. dump("cz-service: No windows, starting new one.\n");
  1094. // Ok, no available window, loading or otherwise, so start ChatZilla.
  1095. const args = new Object();
  1096. if (uri)
  1097. args.url = uri;
  1098. hiddenWin.ChatZillaStarting = new Date();
  1099. - hiddenWin.openDialog("chrome://chatzilla/content/chatzilla.xul", "_blank",
  1100. + hiddenWin.openDialog("chrome://chatzilla/content/chatzilla.xhtml", "_blank",
  1101. "chrome,menubar,toolbar,status,resizable,dialog=no",
  1102. args);
  1103. return true;
  1104. }
  1105. function CommandLineService()
  1106. diff --git a/suite/chatzilla/xul/content/chatzilla.xhtml b/suite/chatzilla/xul/content/chatzilla.xhtml
  1107. --- a/suite/chatzilla/xul/content/chatzilla.xhtml
  1108. +++ b/suite/chatzilla/xul/content/chatzilla.xhtml
  1109. @@ -4,19 +4,19 @@
  1110. - License, v. 2.0. If a copy of the MPL was not distributed with this
  1111. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  1112. <!DOCTYPE window SYSTEM "chrome://chatzilla/locale/chatzilla.dtd">
  1113. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  1114. <?xml-stylesheet href="chrome://chatzilla/skin/chatzilla.css" type="text/css"?>
  1115. -<?xul-overlay href="chrome://chatzilla/content/scripts.xul"?>
  1116. -<?xul-overlay href="chrome://chatzilla/content/popups.xul"?>
  1117. -<?xul-overlay href="chrome://chatzilla/content/menus.xul"?>
  1118. +<?xul-overlay href="chrome://chatzilla/content/scripts.xhtml"?>
  1119. +<?xul-overlay href="chrome://chatzilla/content/popups.xhtml"?>
  1120. +<?xul-overlay href="chrome://chatzilla/content/menus.xhtml"?>
  1121. <window id="chatzilla-window"
  1122. xmlns:html="http://www.w3.org/1999/xhtml"
  1123. xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  1124. xmlns:aaa="http://www.w3.org/2005/07/aaa"
  1125. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  1126. orient="vertical" onload="onLoad();" onunload="onUnload();"
  1127. onclose="return onClose();" onmouseover="onMouseOver(event);"
  1128. diff --git a/suite/chatzilla/xul/content/chatzillaOverlay.js b/suite/chatzilla/xul/content/chatzillaOverlay.js
  1129. --- a/suite/chatzilla/xul/content/chatzillaOverlay.js
  1130. +++ b/suite/chatzilla/xul/content/chatzillaOverlay.js
  1131. @@ -1,11 +1,11 @@
  1132. /* This Source Code Form is subject to the terms of the Mozilla Public
  1133. * License, v. 2.0. If a copy of the MPL was not distributed with this
  1134. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  1135. function toIRC()
  1136. {
  1137. - toOpenWindowByType("irc:chatzilla", "chrome://chatzilla/content/chatzilla.xul");
  1138. + toOpenWindowByType("irc:chatzilla", "chrome://chatzilla/content/chatzilla.xhtml");
  1139. }
  1140. diff --git a/suite/chatzilla/xul/content/commands.js b/suite/chatzilla/xul/content/commands.js
  1141. --- a/suite/chatzilla/xul/content/commands.js
  1142. +++ b/suite/chatzilla/xul/content/commands.js
  1143. @@ -1464,17 +1464,17 @@ function cmdNetworks(e)
  1144. wrapper.appendChild(spanb);
  1145. display(wrapper, MT_INFO);
  1146. }
  1147. function cmdEditNetworks(e)
  1148. {
  1149. toOpenWindowByType("irc:chatzilla:networks",
  1150. - "chrome://chatzilla/content/networks-edit.xul",
  1151. + "chrome://chatzilla/content/networks-edit.xhtml",
  1152. "chrome,resizable,dialog", client);
  1153. }
  1154. function cmdServer(e)
  1155. {
  1156. let scheme = (e.command.name == "sslserver") ? "ircs" : "irc";
  1157. var ary = e.hostname.match(/^(.*):(\d+)$/);
  1158. @@ -1491,17 +1491,17 @@ function cmdServer(e)
  1159. }
  1160. function cmdSSLException(e)
  1161. {
  1162. var opts = "chrome,centerscreen,modal";
  1163. var location = e.hostname ? e.hostname + ':' + e.port : undefined;
  1164. var args = {location: location, prefetchCert: true};
  1165. - window.openDialog("chrome://pippki/content/exceptionDialog.xul",
  1166. + window.openDialog("chrome://pippki/content/exceptionDialog.xhtml",
  1167. "", opts, args);
  1168. if (!args.exceptionAdded)
  1169. return;
  1170. if (e.connect)
  1171. {
  1172. // When we come via the inline button, we just want to reconnect
  1173. @@ -2393,17 +2393,17 @@ function cmdJoin(e)
  1174. {
  1175. if (client.joinDialog)
  1176. {
  1177. client.joinDialog.setNetwork(e.network);
  1178. client.joinDialog.focus();
  1179. return;
  1180. }
  1181. - window.openDialog("chrome://chatzilla/content/channels.xul", "",
  1182. + window.openDialog("chrome://chatzilla/content/channels.xhtml", "",
  1183. "resizable=yes",
  1184. { client: client, network: e.network || null,
  1185. opener: window });
  1186. return null;
  1187. }
  1188. var chan;
  1189. if (!e.channelToJoin)
  1190. @@ -2781,17 +2781,17 @@ function cmdTopic(e)
  1191. function cmdAbout(e)
  1192. {
  1193. if (e.source)
  1194. {
  1195. if ("aboutDialog" in client)
  1196. return client.aboutDialog.focus();
  1197. - window.openDialog("chrome://chatzilla/content/about/about.xul", "",
  1198. + window.openDialog("chrome://chatzilla/content/about/about.xhtml", "",
  1199. "chrome,dialog", { client: client });
  1200. }
  1201. else
  1202. {
  1203. var ver = CIRCServer.prototype.VERSION_RPLY;
  1204. client.munger.getRule(".inline-buttons").enabled = true;
  1205. display(getMsg(MSG_ABOUT_VERSION, [ver, "about"]));
  1206. display(MSG_ABOUT_HOMEPAGE);
  1207. @@ -3867,17 +3867,17 @@ function cmdDoCommand(e)
  1208. // Open SeaMonkey preferences.
  1209. goPreferences("navigator_pane");
  1210. }
  1211. else if (e.cmdName == "cmd_chatzillaPrefs")
  1212. {
  1213. var prefWin = getWindowByType("irc:chatzilla:config");
  1214. if (!prefWin)
  1215. {
  1216. - window.openDialog('chrome://chatzilla/content/config.xul', '',
  1217. + window.openDialog('chrome://chatzilla/content/config.xhtml', '',
  1218. 'chrome,resizable,dialog=no', window);
  1219. }
  1220. else
  1221. {
  1222. prefWin.focus();
  1223. }
  1224. }
  1225. else if (e.cmdName == "cmd_selectAll")
  1226. @@ -4579,17 +4579,17 @@ function cmdInputTextDirection(e)
  1227. client.input.setAttribute("dir", "ltr");
  1228. }
  1229. return true;
  1230. }
  1231. function cmdInstallPlugin(e)
  1232. {
  1233. - var ipURL = "chrome://chatzilla/content/install-plugin/install-plugin.xul";
  1234. + var ipURL = "chrome://chatzilla/content/install-plugin/install-plugin.xhtml";
  1235. var ctx = {};
  1236. var pluginDownloader =
  1237. {
  1238. onStartRequest: function _onStartRequest(request, context)
  1239. {
  1240. var tempName = "plugin-install.temp";
  1241. if (urlMatches)
  1242. tempName += urlMatches[2];
  1243. diff --git a/suite/chatzilla/xul/content/config.js b/suite/chatzilla/xul/content/config.js
  1244. --- a/suite/chatzilla/xul/content/config.js
  1245. +++ b/suite/chatzilla/xul/content/config.js
  1246. @@ -1572,17 +1572,17 @@ function pwin_onAddObject()
  1247. case "PrefUser":
  1248. rv.type = "user";
  1249. rv.net = this.currentObject.parent.parent.parent.unicodeName;
  1250. rv.chan = this.currentObject.parent.unicodeName;
  1251. break;
  1252. }
  1253. // Show add dialog, passing the data object along.
  1254. - window.openDialog("config-add.xul", "cz-config-add", "chrome,dialog,modal", rv);
  1255. + window.openDialog("config-add.xhtml", "cz-config-add", "chrome,dialog,modal", rv);
  1256. if (!rv.ok)
  1257. return;
  1258. /* Ok, so what type did they want again?
  1259. *
  1260. * NOTE: The param |true| in the object creation calls is for |force|. It
  1261. * causes the hidden pref to be set for the objects so they are shown
  1262. diff --git a/suite/chatzilla/xul/content/networks-edit.js b/suite/chatzilla/xul/content/networks-edit.js
  1263. --- a/suite/chatzilla/xul/content/networks-edit.js
  1264. +++ b/suite/chatzilla/xul/content/networks-edit.js
  1265. @@ -329,17 +329,17 @@ var gNetworkWindow = {
  1266. let id;
  1267. let server;
  1268. if (aItem) {
  1269. id = aItem.getAttribute("server_id");
  1270. server = this.networkList[network].servers[id];
  1271. }
  1272. let args = { server: server, result: false };
  1273. - window.openDialog("chrome://chatzilla/content/networks-server.xul",
  1274. + window.openDialog("chrome://chatzilla/content/networks-server.xhtml",
  1275. "serverEdit", "chrome,titlebar,modal,centerscreen", args);
  1276. // Now update the server which was just added / edited and select it.
  1277. if (args.result) {
  1278. if (server) {
  1279. this.networkList[network].servers[id] = args.server;
  1280. } else {
  1281. id = this.networkList[network].servers.length;
  1282. this.networkList[network].servers.push(args.server);
  1283. diff --git a/suite/chatzilla/xul/content/pref-irc-toolkit.xhtml b/suite/chatzilla/xul/content/pref-irc-toolkit.xhtml
  1284. --- a/suite/chatzilla/xul/content/pref-irc-toolkit.xhtml
  1285. +++ b/suite/chatzilla/xul/content/pref-irc-toolkit.xhtml
  1286. @@ -11,14 +11,14 @@
  1287. <prefpane id="chatzilla_pane"
  1288. label="&pref-irc.window.title;">
  1289. <label>&pref-irc.open.desc;</label>
  1290. <separator/>
  1291. <hbox pack="center">
  1292. <button label="&pref-irc.open.label;" accesskey="&pref-irc.open.accesskey;"
  1293. oncommand="this.disabled = true;
  1294. - window.openDialog('chrome://chatzilla/content/config.xul',
  1295. + window.openDialog('chrome://chatzilla/content/config.xhtml',
  1296. '', 'chrome,modal,resizable');
  1297. this.disabled = false;"/>
  1298. </hbox>
  1299. </prefpane>
  1300. </overlay>
  1301. diff --git a/suite/chatzilla/xul/content/prefsOverlay.xhtml b/suite/chatzilla/xul/content/prefsOverlay.xhtml
  1302. --- a/suite/chatzilla/xul/content/prefsOverlay.xhtml
  1303. +++ b/suite/chatzilla/xul/content/prefsOverlay.xhtml
  1304. @@ -8,17 +8,17 @@
  1305. <overlay id="ovCZPrefs"
  1306. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  1307. <treechildren id="prefsPanelChildren">
  1308. <treeitem id="chatzillaItem"
  1309. insertbefore="securityItem"
  1310. label="&pref-irc.window.title;"
  1311. prefpane="chatzilla_pane"
  1312. - url="chrome://chatzilla/content/pref-irc-toolkit.xul"/>
  1313. + url="chrome://chatzilla/content/pref-irc-toolkit.xhtml"/>
  1314. </treechildren>
  1315. <preferences id="appearance_preferences">
  1316. <preference id="general.startup.chat"
  1317. name="general.startup.chat"
  1318. type="bool"/>
  1319. </preferences>
  1320. <!-- Startup checkbox -->
  1321. diff --git a/suite/components/bindings/notification.xml b/suite/components/bindings/notification.xml
  1322. --- a/suite/components/bindings/notification.xml
  1323. +++ b/suite/components/bindings/notification.xml
  1324. @@ -500,17 +500,17 @@
  1325. var browserWin;
  1326. var whereToOpen = Services.prefs.getIntPref("browser.link.open_external");
  1327. if (whereToOpen != nsIBrowserDOMWindow.OPEN_NEWWINDOW) {
  1328. browserWin = Services.wm.getMostRecentWindow("navigator:browser");
  1329. }
  1330. if (!browserWin) {
  1331. - var browserURL = "chrome://navigator/content/navigator.xul";
  1332. + var browserURL = "chrome://navigator/content/navigator.xhtml";
  1333. try {
  1334. browserURL = Services.prefs.getCharPref("browser.chromeURL");
  1335. } catch (ex) {}
  1336. window.openDialog(browserURL, "_blank", "chrome,all,dialog=no", url);
  1337. } else {
  1338. if (whereToOpen == nsIBrowserDOMWindow.OPEN_CURRENTWINDOW)
  1339. browserWin.loadURI(url);
  1340. diff --git a/suite/components/bindings/prefwindow.xml b/suite/components/bindings/prefwindow.xml
  1341. --- a/suite/components/bindings/prefwindow.xml
  1342. +++ b/suite/components/bindings/prefwindow.xml
  1343. @@ -434,17 +434,17 @@
  1344. {
  1345. // Open topic in new window.
  1346. const params = Cc["@mozilla.org/embedcomp/dialogparam;1"]
  1347. .createInstance(Ci.nsIDialogParamBlock);
  1348. params.SetNumberStrings(2);
  1349. params.SetString(0, helpFileURI);
  1350. params.SetString(1, topic);
  1351. Services.ww.openWindow(null,
  1352. - "chrome://help/content/help.xul",
  1353. + "chrome://help/content/help.xhtml",
  1354. "_blank",
  1355. "chrome,all,alwaysRaised,dialog=no",
  1356. params);
  1357. }
  1358. ]]>
  1359. </body>
  1360. </method>
  1361. </implementation>
  1362. diff --git a/suite/components/console/content/console.xhtml b/suite/components/console/content/console.xhtml
  1363. --- a/suite/components/console/content/console.xhtml
  1364. +++ b/suite/components/console/content/console.xhtml
  1365. @@ -3,18 +3,18 @@
  1366. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  1367. - License, v. 2.0. If a copy of the MPL was not distributed with this
  1368. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  1369. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  1370. <?xml-stylesheet href="chrome://communicator/skin/console/console.css" type="text/css"?>
  1371. <?xml-stylesheet href="chrome://communicator/content/console/console.css" type="text/css"?>
  1372. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  1373. -<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  1374. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  1375. +<?xul-overlay href="chrome://communicator/content/tasksOverlay.xhtml"?>
  1376. <!DOCTYPE window SYSTEM "chrome://communicator/locale/console/console.dtd" >
  1377. <window id="JSConsoleWindow"
  1378. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  1379. title="&errorConsole.title;"
  1380. windowtype="suite:console"
  1381. width="640"
  1382. diff --git a/suite/components/console/jar.mn b/suite/components/console/jar.mn
  1383. --- a/suite/components/console/jar.mn
  1384. +++ b/suite/components/console/jar.mn
  1385. @@ -1,9 +1,9 @@
  1386. # This Source Code Form is subject to the terms of the Mozilla Public
  1387. # License, v. 2.0. If a copy of the MPL was not distributed with this
  1388. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  1389. comm.jar:
  1390. content/communicator/console/consoleBindings.xml (content/consoleBindings.xml)
  1391. content/communicator/console/console.css (content/console.css)
  1392. content/communicator/console/console.js (content/console.js)
  1393. - content/communicator/console/console.xul (content/console.xul)
  1394. + content/communicator/console/console.xhtml (content/console.xhtml)
  1395. diff --git a/suite/components/console/jsconsole-clhandler.js b/suite/components/console/jsconsole-clhandler.js
  1396. --- a/suite/components/console/jsconsole-clhandler.js
  1397. +++ b/suite/components/console/jsconsole-clhandler.js
  1398. @@ -9,17 +9,17 @@ function jsConsoleHandler() {}
  1399. jsConsoleHandler.prototype = {
  1400. handle: function clh_handle(cmdLine) {
  1401. if (!cmdLine.handleFlag("suiteconsole", false))
  1402. return;
  1403. var console = Services.wm.getMostRecentWindow("suite:console");
  1404. if (!console) {
  1405. Services.ww.openWindow(null,
  1406. - "chrome://communicator/content/console/console.xul",
  1407. + "chrome://communicator/content/console/console.xhtml",
  1408. "_blank", "chrome,dialog=no,all", cmdLine);
  1409. } else {
  1410. console.focus(); // the Error console was already open
  1411. }
  1412. if (cmdLine.state == Ci.nsICommandLine.STATE_REMOTE_AUTO)
  1413. cmdLine.preventDefault = true;
  1414. },
  1415. diff --git a/suite/components/dataman/content/dataman.xhtml b/suite/components/dataman/content/dataman.xhtml
  1416. --- a/suite/components/dataman/content/dataman.xhtml
  1417. +++ b/suite/components/dataman/content/dataman.xhtml
  1418. @@ -1,17 +1,17 @@
  1419. <?xml version="1.0"?>
  1420. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  1421. - License, v. 2.0. If a copy of the MPL was not distributed with this
  1422. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  1423. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  1424. <?xml-stylesheet href="chrome://communicator/content/dataman/dataman.css" type="text/css"?>
  1425. <?xml-stylesheet href="chrome://communicator/skin/dataman/dataman.css" type="text/css"?>
  1426. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  1427. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  1428. <!DOCTYPE page [
  1429. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
  1430. %brandDTD;
  1431. <!ENTITY % datamanDTD SYSTEM "chrome://communicator/locale/dataman/dataman.dtd">
  1432. %datamanDTD;
  1433. ]>
  1434. diff --git a/suite/components/dataman/jar.mn b/suite/components/dataman/jar.mn
  1435. --- a/suite/components/dataman/jar.mn
  1436. +++ b/suite/components/dataman/jar.mn
  1437. @@ -1,9 +1,9 @@
  1438. # This Source Code Form is subject to the terms of the Mozilla Public
  1439. # License, v. 2.0. If a copy of the MPL was not distributed with this
  1440. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  1441. comm.jar:
  1442. content/communicator/dataman/dataman.css (content/dataman.css)
  1443. content/communicator/dataman/dataman.js (content/dataman.js)
  1444. content/communicator/dataman/dataman.xml (content/dataman.xml)
  1445. - content/communicator/dataman/dataman.xul (content/dataman.xul)
  1446. + content/communicator/dataman/dataman.xhtml (content/dataman.xhtml)
  1447. diff --git a/suite/components/downloads/DownloadsCommon.jsm b/suite/components/downloads/DownloadsCommon.jsm
  1448. --- a/suite/components/downloads/DownloadsCommon.jsm
  1449. +++ b/suite/components/downloads/DownloadsCommon.jsm
  1450. @@ -64,17 +64,17 @@ const kDownloadsStringsRequiringPluralFo
  1451. otherDownloads3: true
  1452. };
  1453. const kPartialDownloadSuffix = ".part";
  1454. const kPrefBranch = Services.prefs.getBranch("browser.download.");
  1455. const PREF_DM_BEHAVIOR = "browser.download.manager.behavior";
  1456. -const PROGRESS_DIALOG_URL = "chrome://communicator/content/downloads/progressDialog.xul";
  1457. +const PROGRESS_DIALOG_URL = "chrome://communicator/content/downloads/progressDialog.xhtml";
  1458. var PrefObserver = {
  1459. QueryInterface: ChromeUtils.generateQI([Ci.nsIObserver,
  1460. Ci.nsISupportsWeakReference]),
  1461. getPref(name) {
  1462. try {
  1463. switch (typeof this.prefs[name]) {
  1464. case "boolean":
  1465. @@ -534,17 +534,17 @@ var DownloadsCommon = {
  1466. message += "\n\n" + s.unblockTip2;
  1467. Services.ww.registerNotification(function onOpen(subj, topic) {
  1468. if (topic == "domwindowopened" && subj instanceof Ci.nsIDOMWindow) {
  1469. // Make sure to listen for "DOMContentLoaded" because it is fired
  1470. // before the "load" event.
  1471. subj.addEventListener("DOMContentLoaded", function() {
  1472. if (subj.document.documentURI ==
  1473. - "chrome://global/content/commonDialog.xul") {
  1474. + "chrome://global/content/commonDialog.xhtml") {
  1475. Services.ww.unregisterNotification(onOpen);
  1476. let dialog = subj.document.getElementById("commonDialog");
  1477. if (dialog) {
  1478. // Change the dialog to use a warning icon.
  1479. dialog.classList.add("alert-dialog");
  1480. }
  1481. }
  1482. }, {once: true});
  1483. diff --git a/suite/components/downloads/content/downloadmanager.js b/suite/components/downloads/content/downloadmanager.js
  1484. --- a/suite/components/downloads/content/downloadmanager.js
  1485. +++ b/suite/components/downloads/content/downloadmanager.js
  1486. @@ -169,17 +169,17 @@ function showDownload(aDownload)
  1487. } else {
  1488. file = new FileUtils.File(aDownload.target.partFilePath);
  1489. }
  1490. DownloadsCommon.showDownloadedFile(file);
  1491. }
  1492. function showProperties(aDownload)
  1493. {
  1494. - openDialog("chrome://communicator/content/downloads/progressDialog.xul",
  1495. + openDialog("chrome://communicator/content/downloads/progressDialog.xhtml",
  1496. null, "chrome,titlebar,centerscreen,minimizable=yes,dialog=no",
  1497. { wrappedJSObject: aDownload }, true);
  1498. }
  1499. function onTreeSelect(aEvent)
  1500. {
  1501. var selectionCount = gDownloadTreeView.selection.count;
  1502. if (selectionCount == 1) {
  1503. diff --git a/suite/components/downloads/content/downloadmanager.xhtml b/suite/components/downloads/content/downloadmanager.xhtml
  1504. --- a/suite/components/downloads/content/downloadmanager.xhtml
  1505. +++ b/suite/components/downloads/content/downloadmanager.xhtml
  1506. @@ -1,18 +1,18 @@
  1507. <?xml version="1.0"?>
  1508. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  1509. - License, v. 2.0. If a copy of the MPL was not distributed with this
  1510. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  1511. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  1512. <?xml-stylesheet href="chrome://communicator/skin/downloads/downloadmanager.css" type="text/css"?>
  1513. -<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  1514. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  1515. +<?xul-overlay href="chrome://communicator/content/tasksOverlay.xhtml"?>
  1516. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  1517. <!DOCTYPE window [
  1518. <!ENTITY % downloadsDTD SYSTEM "chrome://communicator/locale/downloads/downloadmanager.dtd">
  1519. %downloadsDTD;
  1520. <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
  1521. %globalDTD;
  1522. ]>
  1523. diff --git a/suite/components/downloads/content/progressDialog.xhtml b/suite/components/downloads/content/progressDialog.xhtml
  1524. --- a/suite/components/downloads/content/progressDialog.xhtml
  1525. +++ b/suite/components/downloads/content/progressDialog.xhtml
  1526. @@ -1,17 +1,17 @@
  1527. <?xml version="1.0"?>
  1528. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  1529. - License, v. 2.0. If a copy of the MPL was not distributed with this
  1530. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  1531. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  1532. <?xml-stylesheet href="chrome://communicator/skin/downloads/downloadmanager.css" type="text/css"?>
  1533. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  1534. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  1535. <!DOCTYPE window SYSTEM "chrome://communicator/locale/downloads/progressDialog.dtd">
  1536. <window id="dlProgressWindow"
  1537. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  1538. xmlns:html="http://www.w3.org/1999/xhtml"
  1539. onload="progressStartup();" onunload="progressShutdown();"
  1540. title="&progress.title;"
  1541. diff --git a/suite/components/downloads/jar.mn b/suite/components/downloads/jar.mn
  1542. --- a/suite/components/downloads/jar.mn
  1543. +++ b/suite/components/downloads/jar.mn
  1544. @@ -1,14 +1,14 @@
  1545. # This Source Code Form is subject to the terms of the Mozilla Public
  1546. # License, v. 2.0. If a copy of the MPL was not distributed with this
  1547. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  1548. comm.jar:
  1549. % content communicator %content/communicator/ contentaccessible=yes
  1550. content/communicator/downloads/downloadmanager.js (content/downloadmanager.js)
  1551. - content/communicator/downloads/downloadmanager.xul (content/downloadmanager.xul)
  1552. + content/communicator/downloads/downloadmanager.xhtml (content/downloadmanager.xhtml)
  1553. content/communicator/downloads/DownloadProgressListener.js (content/DownloadProgressListener.js)
  1554. - content/communicator/downloads/progressDialog.xul (content/progressDialog.xul)
  1555. + content/communicator/downloads/progressDialog.xhtml (content/progressDialog.xhtml)
  1556. content/communicator/downloads/progressDialog.js (content/progressDialog.js)
  1557. - content/communicator/downloads/uploadProgress.xul (content/uploadProgress.xul)
  1558. + content/communicator/downloads/uploadProgress.xhtml (content/uploadProgress.xhtml)
  1559. content/communicator/downloads/uploadProgress.js (content/uploadProgress.js)
  1560. content/communicator/downloads/treeView.js (content/treeView.js)
  1561. diff --git a/suite/components/downloads/tests/chrome/chrome.ini b/suite/components/downloads/tests/chrome/chrome.ini
  1562. --- a/suite/components/downloads/tests/chrome/chrome.ini
  1563. +++ b/suite/components/downloads/tests/chrome/chrome.ini
  1564. @@ -1,21 +1,21 @@
  1565. [DEFAULT]
  1566. -[test_action_keys_respect_focus.xul]
  1567. -[test_basic_functionality.xul]
  1568. -[test_cleanup_search.xul]
  1569. -[test_clear_button_disabled.xul]
  1570. -[test_close_download_manager.xul]
  1571. -[test_delete_key_cancels.xul]
  1572. -[test_delete_key_removes.xul]
  1573. -[test_drag.xul]
  1574. -[test_enter_dblclick_opens.xul]
  1575. -[test_multi_select.xul]
  1576. -[test_multiword_search.xul]
  1577. -[test_open_properties.xul]
  1578. -[test_removeDownload_updates_ui.xul]
  1579. -[test_search_clearlist.xul]
  1580. -[test_search_keys.xul]
  1581. -[test_select_all.xul]
  1582. -[test_space_key_pauses_resumes.xul]
  1583. -[test_space_key_retries.xul]
  1584. -[test_ui_stays_open_on_alert_clickback.xul]
  1585. +[test_action_keys_respect_focus.xhtml]
  1586. +[test_basic_functionality.xhtml]
  1587. +[test_cleanup_search.xhtml]
  1588. +[test_clear_button_disabled.xhtml]
  1589. +[test_close_download_manager.xhtml]
  1590. +[test_delete_key_cancels.xhtml]
  1591. +[test_delete_key_removes.xhtml]
  1592. +[test_drag.xhtml]
  1593. +[test_enter_dblclick_opens.xhtml]
  1594. +[test_multi_select.xhtml]
  1595. +[test_multiword_search.xhtml]
  1596. +[test_open_properties.xhtml]
  1597. +[test_removeDownload_updates_ui.xhtml]
  1598. +[test_search_clearlist.xhtml]
  1599. +[test_search_keys.xhtml]
  1600. +[test_select_all.xhtml]
  1601. +[test_space_key_pauses_resumes.xhtml]
  1602. +[test_space_key_retries.xhtml]
  1603. +[test_ui_stays_open_on_alert_clickback.xhtml]
  1604. diff --git a/suite/components/downloads/tests/chrome/test_drag.xhtml b/suite/components/downloads/tests/chrome/test_drag.xhtml
  1605. --- a/suite/components/downloads/tests/chrome/test_drag.xhtml
  1606. +++ b/suite/components/downloads/tests/chrome/test_drag.xhtml
  1607. @@ -38,17 +38,17 @@
  1608. *
  1609. * ***** END LICENSE BLOCK ***** */
  1610. /**
  1611. * Assure download manager can load valid list item as
  1612. * "application/moz-x-file", "text/uri-list" and "text/plain"
  1613. */
  1614. -based on toolkit/mozapps/downloads/tests/chrome/test_bug_462172.xul
  1615. +based on toolkit/mozapps/downloads/tests/chrome/test_bug_462172.xhtml
  1616. https://bugzilla.mozilla.org/show_bug.cgi?id=462172
  1617. create a file with unique name
  1618. create another file with unique name and delete it
  1619. load into downloads database
  1620. open download manager
  1621. synthesize drag on both files
  1622. missing file should not init drag
  1623. diff --git a/suite/components/helpviewer/content/contextHelp.js b/suite/components/helpviewer/content/contextHelp.js
  1624. --- a/suite/components/helpviewer/content/contextHelp.js
  1625. +++ b/suite/components/helpviewer/content/contextHelp.js
  1626. @@ -33,17 +33,17 @@ function openHelp(topic, contentPack)
  1627. params.SetString(0, helpFileURI);
  1628. params.SetString(1, topic);
  1629. let openFeatures = "chrome,all,dialog=no";
  1630. if (AppConstants.platform == "win") {
  1631. openFeatures += ",alwaysRaised";
  1632. }
  1633. - Services.ww.openWindow(null, "chrome://help/content/help.xul", "_blank",
  1634. + Services.ww.openWindow(null, "chrome://help/content/help.xhtml", "_blank",
  1635. openFeatures, params);
  1636. }
  1637. }
  1638. // setHelpFileURI - Sets the default content pack to use in the Help Viewer
  1639. function setHelpFileURI(rdfURI)
  1640. {
  1641. helpFileURI = rdfURI;
  1642. diff --git a/suite/components/helpviewer/content/help.xhtml b/suite/components/helpviewer/content/help.xhtml
  1643. --- a/suite/components/helpviewer/content/help.xhtml
  1644. +++ b/suite/components/helpviewer/content/help.xhtml
  1645. @@ -1,16 +1,16 @@
  1646. <?xml version="1.0" encoding="UTF-8"?>
  1647. # This Source Code Form is subject to the terms of the Mozilla Public
  1648. # License, v. 2.0. If a copy of the MPL was not distributed with this
  1649. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  1650. <?xml-stylesheet href="chrome://communicator/skin/helpviewer/help.css" type="text/css"?>
  1651. -<?xul-overlay href="chrome://help/content/helpContextOverlay.xul"?>
  1652. +<?xul-overlay href="chrome://help/content/helpContextOverlay.xhtml"?>
  1653. <!DOCTYPE window [
  1654. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
  1655. %brandDTD;
  1656. <!ENTITY % helpDTD SYSTEM "chrome://help/locale/help.dtd">
  1657. %helpDTD;
  1658. ]>
  1659. <window id="help"
  1660. diff --git a/suite/components/helpviewer/jar.mn b/suite/components/helpviewer/jar.mn
  1661. --- a/suite/components/helpviewer/jar.mn
  1662. +++ b/suite/components/helpviewer/jar.mn
  1663. @@ -1,11 +1,11 @@
  1664. # This Source Code Form is subject to the terms of the Mozilla Public
  1665. # License, v. 2.0. If a copy of the MPL was not distributed with this
  1666. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  1667. comm.jar:
  1668. % content help %content/communicator/helpviewer/
  1669. -* content/communicator/helpviewer/help.xul (content/help.xul)
  1670. +* content/communicator/helpviewer/help.xhtml (content/help.xhtml)
  1671. content/communicator/helpviewer/contextHelp.js (content/contextHelp.js)
  1672. content/communicator/helpviewer/help.js (content/help.js)
  1673. -* content/communicator/helpviewer/helpContextOverlay.xul (content/helpContextOverlay.xul)
  1674. +* content/communicator/helpviewer/helpContextOverlay.xhtml (content/helpContextOverlay.xhtml)
  1675. * content/communicator/helpviewer/platformClasses.css (content/platformClasses.css)
  1676. diff --git a/suite/components/migration/SuiteProfileMigrator.js b/suite/components/migration/SuiteProfileMigrator.js
  1677. --- a/suite/components/migration/SuiteProfileMigrator.js
  1678. +++ b/suite/components/migration/SuiteProfileMigrator.js
  1679. @@ -27,17 +27,17 @@ ProfileMigrator.prototype = {
  1680. let params = Cc["@mozilla.org/array;1"]
  1681. .createInstance(Ci.nsIMutableArray);
  1682. params.appendElement(this._toString(key));
  1683. params.appendElement(migrator);
  1684. params.appendElement(aStartup);
  1685. Services.ww.openWindow(null,
  1686. - "chrome://communicator/content/migration/migration.xul",
  1687. + "chrome://communicator/content/migration/migration.xhtml",
  1688. "_blank",
  1689. "chrome,dialog,modal,centerscreen,titlebar",
  1690. params);
  1691. },
  1692. _toString: function PM__toString(aStr) {
  1693. let str = Cc["@mozilla.org/supports-string;1"]
  1694. .createInstance(Ci.nsISupportsString);
  1695. diff --git a/suite/components/migration/jar.mn b/suite/components/migration/jar.mn
  1696. --- a/suite/components/migration/jar.mn
  1697. +++ b/suite/components/migration/jar.mn
  1698. @@ -1,7 +1,7 @@
  1699. # This Source Code Form is subject to the terms of the Mozilla Public
  1700. # License, v. 2.0. If a copy of the MPL was not distributed with this
  1701. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  1702. comm.jar:
  1703. - content/communicator/migration/migration.xul (content/migration.xul)
  1704. + content/communicator/migration/migration.xhtml (content/migration.xhtml)
  1705. content/communicator/migration/migration.js (content/migration.js)
  1706. diff --git a/suite/components/nsAbout.js b/suite/components/nsAbout.js
  1707. --- a/suite/components/nsAbout.js
  1708. +++ b/suite/components/nsAbout.js
  1709. @@ -13,31 +13,31 @@ function About() { }
  1710. About.prototype = {
  1711. Flags: SCRIPT,
  1712. URI: "chrome://communicator/content/about.xhtml",
  1713. blockedFlags: SCRIPT | UNTRUSTED | HIDE,
  1714. blockedURI: "chrome://communicator/content/blockedSite.xhtml",
  1715. certerrorFlags: SCRIPT | UNTRUSTED | HIDE,
  1716. certerrorURI: "chrome://communicator/content/certError.xhtml",
  1717. dataFlags: SCRIPT,
  1718. - dataURI: "chrome://communicator/content/dataman/dataman.xul",
  1719. + dataURI: "chrome://communicator/content/dataman/dataman.xhtml",
  1720. feedsFlags: SCRIPT | UNTRUSTED | HIDE,
  1721. feedsURI: "chrome://communicator/content/feeds/subscribe.xhtml",
  1722. lifeFlags: SCRIPT | UNTRUSTED | HIDE,
  1723. lifeURI: "chrome://communicator/content/aboutLife.xhtml",
  1724. newserrorFlags: SCRIPT | HIDE,
  1725. newserrorURI: "chrome://messenger/content/newsError.xhtml",
  1726. privatebrowsingFlags: SCRIPT,
  1727. - privatebrowsingURI: "chrome://communicator/content/aboutPrivateBrowsing.xul",
  1728. + privatebrowsingURI: "chrome://communicator/content/aboutPrivateBrowsing.xhtml",
  1729. rightsFlags: SCRIPT | UNTRUSTED,
  1730. rightsURI: "chrome://branding/content/aboutRights.xhtml",
  1731. sessionrestoreFlags: SCRIPT | HIDE,
  1732. sessionrestoreURI: "chrome://communicator/content/aboutSessionRestore.xhtml",
  1733. // synctabsFlags: SCRIPT,
  1734. - // synctabsURI: "chrome://communicator/content/aboutSyncTabs.xul",
  1735. + // synctabsURI: "chrome://communicator/content/aboutSyncTabs.xhtml",
  1736. classID: Components.ID("{d54f2c89-8fd6-4eeb-a7a4-51d4dcdf460f}"),
  1737. QueryInterface: ChromeUtils.generateQI([Ci.nsIAboutModule]),
  1738. getModule: function(aURI) {
  1739. return aURI.pathQueryRef.replace(/-|\W.*$/g, "").toLowerCase();
  1740. },
  1741. diff --git a/suite/components/nsSuiteGlue.js b/suite/components/nsSuiteGlue.js
  1742. --- a/suite/components/nsSuiteGlue.js
  1743. +++ b/suite/components/nsSuiteGlue.js
  1744. @@ -86,17 +86,17 @@ const BOOKMARKS_BACKUP_IDLE_TIME_SEC = 1
  1745. // per interval.
  1746. const BOOKMARKS_BACKUP_MIN_INTERVAL_DAYS = 1;
  1747. // Devtools Preferences
  1748. const DEBUGGER_REMOTE_ENABLED = "devtools.debugger.remote-enabled";
  1749. const DEBUGGER_REMOTE_PORT = "devtools.debugger.remote-port";
  1750. const DEBUGGER_FORCE_LOCAL = "devtools.debugger.force-local";
  1751. const DEBUGGER_WIFI_VISIBLE = "devtools.remote.wifi.visible";
  1752. -const DOWNLOAD_MANAGER_URL = "chrome://communicator/content/downloads/downloadmanager.xul";
  1753. +const DOWNLOAD_MANAGER_URL = "chrome://communicator/content/downloads/downloadmanager.xhtml";
  1754. const PREF_FOCUS_WHEN_STARTING = "browser.download.manager.focusWhenStarting";
  1755. const PREF_FLASH_COUNT = "browser.download.manager.flashCount";
  1756. var gDownloadManager;
  1757. // Constructor
  1758. function SuiteGlue() {
  1759. XPCOMUtils.defineLazyServiceGetter(this, "_idleService",
  1760. @@ -197,17 +197,17 @@ SuiteGlue.prototype = {
  1761. // the UI has gone should be finalized in _onQuitApplicationGranted.
  1762. this._dispose();
  1763. break;
  1764. case "profile-after-change":
  1765. this._onProfileAfterChange();
  1766. break;
  1767. case "chrome-document-global-created":
  1768. // Set up lwt, but only if the "lightweightthemes" attr is set on the root
  1769. - // (i.e. in messenger.xul).
  1770. + // (i.e. in messenger.xhtml).
  1771. subject.addEventListener("DOMContentLoaded", () => {
  1772. if (subject.document.documentElement.hasAttribute("lightweightthemes")) {
  1773. new LightweightThemeConsumer(subject.document);
  1774. }
  1775. }, {once: true});
  1776. break;
  1777. case "final-ui-startup":
  1778. this._onProfileStartup();
  1779. @@ -384,17 +384,17 @@ SuiteGlue.prototype = {
  1780. }
  1781. },
  1782. // profile is available
  1783. _onProfileAfterChange: function()
  1784. {
  1785. // check if we're in safe mode
  1786. if (Services.appinfo.inSafeMode) {
  1787. - Services.ww.openWindow(null, "chrome://communicator/content/safeMode.xul",
  1788. + Services.ww.openWindow(null, "chrome://communicator/content/safeMode.xhtml",
  1789. "_blank", "chrome,centerscreen,modal,resizable=no", null);
  1790. }
  1791. this._copyDefaultProfileFiles();
  1792. },
  1793. // profile startup handler (contains profile initialization routines)
  1794. _onProfileStartup: function()
  1795. {
  1796. @@ -830,17 +830,17 @@ SuiteGlue.prototype = {
  1797. .createInstance(Ci.nsIMutableArray);
  1798. let str = Cc["@mozilla.org/supports-string;1"]
  1799. .createInstance(Ci.nsISupportsString);
  1800. args.appendElement(str);
  1801. str = Cc["@mozilla.org/supports-string;1"]
  1802. .createInstance(Ci.nsISupportsString);
  1803. str.data = Services.prefs.getCharPref(PREF_EM_NEW_ADDONS_LIST);
  1804. args.appendElement(str);
  1805. - const EMURL = "chrome://mozapps/content/extensions/extensions.xul";
  1806. + const EMURL = "chrome://mozapps/content/extensions/extensions.xhtml";
  1807. // This window is the "first" to open.
  1808. // 'alwaysRaised' makes sure it stays in the foreground (though unfocused)
  1809. // so it is noticed.
  1810. const EMFEATURES = "all,dialog=no,alwaysRaised";
  1811. Services.ww.openWindow(null, EMURL, "_blank", EMFEATURES, args);
  1812. Services.prefs.clearUserPref(PREF_EM_NEW_ADDONS_LIST);
  1813. },
  1814. @@ -1034,17 +1034,17 @@ SuiteGlue.prototype = {
  1815. if (ShellService) try {
  1816. var appTypes = ShellService.shouldBeDefaultClientFor;
  1817. // Show the default client dialog only if we should check for the default
  1818. // client and we aren't already the default for the stored app types in
  1819. // shell.checkDefaultApps.
  1820. if (appTypes && ShellService.shouldCheckDefaultClient &&
  1821. !ShellService.isDefaultClient(true, appTypes)) {
  1822. - aWindow.openDialog("chrome://communicator/content/defaultClientDialog.xul",
  1823. + aWindow.openDialog("chrome://communicator/content/defaultClientDialog.xhtml",
  1824. "DefaultClient",
  1825. "modal,centerscreen,chrome,resizable=no");
  1826. }
  1827. } catch (e) {}
  1828. },
  1829. /**
  1830. * Initialize Places
  1831. diff --git a/suite/components/permissions/jar.mn b/suite/components/permissions/jar.mn
  1832. --- a/suite/components/permissions/jar.mn
  1833. +++ b/suite/components/permissions/jar.mn
  1834. @@ -1,10 +1,10 @@
  1835. # This Source Code Form is subject to the terms of the Mozilla Public
  1836. # License, v. 2.0. If a copy of the MPL was not distributed with this
  1837. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  1838. comm.jar:
  1839. content/communicator/permissions/cookieViewer.js (content/cookieViewer.js)
  1840. - content/communicator/permissions/cookieViewer.xul (content/cookieViewer.xul)
  1841. + content/communicator/permissions/cookieViewer.xhtml (content/cookieViewer.xhtml)
  1842. content/communicator/permissions/permissionsManager.js (content/permissionsManager.js)
  1843. - content/communicator/permissions/permissionsManager.xul (content/permissionsManager.xul)
  1844. + content/communicator/permissions/permissionsManager.xhtml (content/permissionsManager.xhtml)
  1845. content/communicator/permissions/permissionsUtils.js (content/permissionsUtils.js)
  1846. diff --git a/suite/components/places/PlacesUIUtils.jsm b/suite/components/places/PlacesUIUtils.jsm
  1847. --- a/suite/components/places/PlacesUIUtils.jsm
  1848. +++ b/suite/components/places/PlacesUIUtils.jsm
  1849. @@ -269,18 +269,18 @@ var PlacesUIUtils = {
  1850. showBookmarkDialog(aInfo, aParentWindow) {
  1851. // Preserve size attributes differently based on the fact the dialog has
  1852. // a folder picker or not, since it needs more horizontal space than the
  1853. // other controls.
  1854. let hasFolderPicker = !("hiddenRows" in aInfo) ||
  1855. !aInfo.hiddenRows.includes("folderPicker");
  1856. // Use a different chrome url to persist different sizes.
  1857. let dialogURL = hasFolderPicker ?
  1858. - "chrome://communicator/content/places/bookmarkProperties2.xul" :
  1859. - "chrome://communicator/content/places/bookmarkProperties.xul";
  1860. + "chrome://communicator/content/places/bookmarkProperties2.xhtml" :
  1861. + "chrome://communicator/content/places/bookmarkProperties.xhtml";
  1862. let features = "centerscreen,chrome,modal,resizable=yes";
  1863. let topUndoEntry;
  1864. let batchBlockingDeferred;
  1865. // Set the transaction manager into batching mode.
  1866. topUndoEntry = PlacesTransactions.topUndoEntry;
  1867. @@ -639,17 +639,17 @@ var PlacesUIUtils = {
  1868. browserWindow.whereToOpenLink(aEvent, false, true) : "window";
  1869. if (where == "window") {
  1870. // There is no browser window open, thus open a new one.
  1871. var uriList = PlacesUtils.toISupportsString(urls.join("|"));
  1872. var args = Cc["@mozilla.org/array;1"]
  1873. .createInstance(Ci.nsIMutableArray);
  1874. args.appendElement(uriList);
  1875. browserWindow = Services.ww.openWindow(aWindow,
  1876. - "chrome://navigator/content/navigator.xul",
  1877. + "chrome://navigator/content/navigator.xhtml",
  1878. null, "chrome,dialog=no,all", args);
  1879. return;
  1880. }
  1881. var loadInBackground = where == "tabshifted";
  1882. // For consistency, we want all the bookmarks to open in new tabs, instead
  1883. // of having one of them replace the currently focused tab. Hence we call
  1884. // loadTabs with aReplace set to false.
  1885. diff --git a/suite/components/places/content/bookmarkProperties.xhtml b/suite/components/places/content/bookmarkProperties.xhtml
  1886. --- a/suite/components/places/content/bookmarkProperties.xhtml
  1887. +++ b/suite/components/places/content/bookmarkProperties.xhtml
  1888. @@ -4,18 +4,18 @@
  1889. - License, v. 2.0. If a copy of the MPL was not distributed with this
  1890. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  1891. <?xml-stylesheet href="chrome://communicator/skin/"?>
  1892. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  1893. <?xml-stylesheet href="chrome://communicator/skin/places/editBookmarkOverlay.css"?>
  1894. <?xml-stylesheet href="chrome://communicator/skin/places/bookmarks.css"?>
  1895. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  1896. -<?xul-overlay href="chrome://communicator/content/places/editBookmarkOverlay.xul"?>
  1897. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  1898. +<?xul-overlay href="chrome://communicator/content/places/editBookmarkOverlay.xhtml"?>
  1899. <!DOCTYPE dialog [
  1900. <!ENTITY % editBookmarkOverlayDTD SYSTEM "chrome://communicator/locale/places/editBookmarkOverlay.dtd">
  1901. %editBookmarkOverlayDTD;
  1902. ]>
  1903. <dialog id="bookmarkproperties"
  1904. buttons="accept, cancel"
  1905. diff --git a/suite/components/places/content/bookmarksPanel.xhtml b/suite/components/places/content/bookmarksPanel.xhtml
  1906. --- a/suite/components/places/content/bookmarksPanel.xhtml
  1907. +++ b/suite/components/places/content/bookmarksPanel.xhtml
  1908. @@ -3,18 +3,18 @@
  1909. - License, v. 2.0. If a copy of the MPL was not distributed with this
  1910. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  1911. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  1912. <?xml-stylesheet href="chrome://communicator/skin/sidebar/sidebarListView.css" type="text/css"?>
  1913. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  1914. <?xml-stylesheet href="chrome://communicator/skin/places/bookmarks.css"?>
  1915. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  1916. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  1917. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  1918. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  1919. <!DOCTYPE page SYSTEM "chrome://communicator/locale/places/places.dtd">
  1920. <page id="bookmarksPanel"
  1921. xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  1922. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  1923. onload="init();"
  1924. onunload="SidebarUtils.setMouseoverURL('');">
  1925. diff --git a/suite/components/places/content/history-panel.js b/suite/components/places/content/history-panel.js
  1926. --- a/suite/components/places/content/history-panel.js
  1927. +++ b/suite/components/places/content/history-panel.js
  1928. @@ -72,15 +72,15 @@ function searchHistory(aInput) {
  1929. }
  1930. }
  1931. options.sortingMode = sortingMode;
  1932. options.resultType = resultType;
  1933. options.includeHidden = !!aInput;
  1934. // call load() on the tree manually
  1935. - // instead of setting the place attribute in history-panel.xul
  1936. + // instead of setting the place attribute in history-panel.xhtml
  1937. // otherwise, we will end up calling load() twice
  1938. gHistoryTree.load([query], options);
  1939. }
  1940. window.addEventListener("SidebarFocused",
  1941. () => gSearchBox.focus());
  1942. diff --git a/suite/components/places/content/history-panel.xhtml b/suite/components/places/content/history-panel.xhtml
  1943. --- a/suite/components/places/content/history-panel.xhtml
  1944. +++ b/suite/components/places/content/history-panel.xhtml
  1945. @@ -3,18 +3,18 @@
  1946. - License, v. 2.0. If a copy of the MPL was not distributed with this
  1947. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  1948. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  1949. <?xml-stylesheet href="chrome://communicator/skin/sidebar/sidebarListView.css" type="text/css"?>
  1950. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  1951. <?xml-stylesheet href="chrome://communicator/skin/places/bookmarks.css"?>
  1952. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  1953. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  1954. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  1955. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  1956. <!DOCTYPE page [
  1957. <!ENTITY % placesDTD SYSTEM "chrome://communicator/locale/places/places.dtd">
  1958. %placesDTD;
  1959. <!ENTITY % editMenuOverlayDTD SYSTEM "chrome://global/locale/editMenuOverlay.dtd">
  1960. %editMenuOverlayDTD;
  1961. ]>
  1962. diff --git a/suite/components/places/content/places.xhtml b/suite/components/places/content/places.xhtml
  1963. --- a/suite/components/places/content/places.xhtml
  1964. +++ b/suite/components/places/content/places.xhtml
  1965. @@ -6,21 +6,21 @@
  1966. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  1967. <?xml-stylesheet href="chrome://communicator/content/places/organizer.css"?>
  1968. <?xml-stylesheet href="chrome://communicator/skin/"?>
  1969. <?xml-stylesheet href="chrome://communicator/skin/places/bookmarks.css"?>
  1970. <?xml-stylesheet href="chrome://communicator/skin/places/organizer.css"?>
  1971. -<?xul-overlay href="chrome://communicator/content/places/editBookmarkOverlay.xul"?>
  1972. +<?xul-overlay href="chrome://communicator/content/places/editBookmarkOverlay.xhtml"?>
  1973. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  1974. -<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  1975. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  1976. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  1977. +<?xul-overlay href="chrome://communicator/content/tasksOverlay.xhtml"?>
  1978. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  1979. <!DOCTYPE window [
  1980. <!ENTITY % placesDTD SYSTEM "chrome://communicator/locale/places/places.dtd">
  1981. %placesDTD;
  1982. <!ENTITY % editMenuOverlayDTD SYSTEM "chrome://global/locale/editMenuOverlay.dtd">
  1983. %editMenuOverlayDTD;
  1984. <!ENTITY % navDTD SYSTEM "chrome://navigator/locale/navigator.dtd">
  1985. %navDTD;
  1986. diff --git a/suite/components/places/jar.mn b/suite/components/places/jar.mn
  1987. --- a/suite/components/places/jar.mn
  1988. +++ b/suite/components/places/jar.mn
  1989. @@ -1,30 +1,30 @@
  1990. # This Source Code Form is subject to the terms of the Mozilla Public
  1991. # License, v. 2.0. If a copy of the MPL was not distributed with this
  1992. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  1993. comm.jar:
  1994. # Provide another URI for the bookmarkProperties dialog so we can persist the
  1995. # attributes separately
  1996. - content/communicator/places/bookmarkProperties2.xul (content/bookmarkProperties.xul)
  1997. -* content/communicator/places/places.xul (content/places.xul)
  1998. + content/communicator/places/bookmarkProperties2.xhtml (content/bookmarkProperties.xhtml)
  1999. +* content/communicator/places/places.xhtml (content/places.xhtml)
  2000. content/communicator/places/places.js (content/places.js)
  2001. content/communicator/places/places.css (content/places.css)
  2002. content/communicator/places/organizer.css (content/organizer.css)
  2003. - content/communicator/places/bookmarkProperties.xul (content/bookmarkProperties.xul)
  2004. + content/communicator/places/bookmarkProperties.xhtml (content/bookmarkProperties.xhtml)
  2005. content/communicator/places/bookmarkProperties.js (content/bookmarkProperties.js)
  2006. - content/communicator/places/placesOverlay.xul (content/placesOverlay.xul)
  2007. + content/communicator/places/placesOverlay.xhtml (content/placesOverlay.xhtml)
  2008. content/communicator/places/menu.xml (content/menu.xml)
  2009. content/communicator/places/tree.xml (content/tree.xml)
  2010. content/communicator/places/controller.js (content/controller.js)
  2011. content/communicator/places/treeView.js (content/treeView.js)
  2012. content/communicator/places/browserPlacesViews.js (content/browserPlacesViews.js)
  2013. -# keep the Places version of the history sidebar at history/history-panel.xul
  2014. +# keep the Places version of the history sidebar at history/history-panel.xhtml
  2015. # to prevent having to worry about between versions of the browser
  2016. -* content/communicator/history/history-panel.xul (content/history-panel.xul)
  2017. +* content/communicator/history/history-panel.xhtml (content/history-panel.xhtml)
  2018. content/communicator/places/history-panel.js (content/history-panel.js)
  2019. # ditto for the bookmarks sidebar
  2020. - content/communicator/bookmarks/bookmarksPanel.xul (content/bookmarksPanel.xul)
  2021. + content/communicator/bookmarks/bookmarksPanel.xhtml (content/bookmarksPanel.xhtml)
  2022. content/communicator/bookmarks/bookmarksPanel.js (content/bookmarksPanel.js)
  2023. content/communicator/bookmarks/sidebarUtils.js (content/sidebarUtils.js)
  2024. - content/communicator/places/editBookmarkOverlay.xul (content/editBookmarkOverlay.xul)
  2025. + content/communicator/places/editBookmarkOverlay.xhtml (content/editBookmarkOverlay.xhtml)
  2026. content/communicator/places/editBookmarkOverlay.js (content/editBookmarkOverlay.js)
  2027. diff --git a/suite/components/places/tests/browser/head.js b/suite/components/places/tests/browser/head.js
  2028. --- a/suite/components/places/tests/browser/head.js
  2029. +++ b/suite/components/places/tests/browser/head.js
  2030. @@ -10,17 +10,17 @@ registerCleanupFunction(function() {
  2031. let getter = PlacesUIUtils.__lookupGetter__("leftPaneFolderId");
  2032. if (cachedLeftPaneFolderIdGetter && typeof(getter) != "function")
  2033. PlacesUIUtils.__defineGetter__("leftPaneFolderId",
  2034. cachedLeftPaneFolderIdGetter);
  2035. });
  2036. function openLibrary(callback) {
  2037. var library = window.openDialog(
  2038. - "chrome://communicator/content/places/places.xul",
  2039. + "chrome://communicator/content/places/places.xhtml",
  2040. "", "chrome,toolbar=yes,dialog=no,resizable");
  2041. waitForFocus(function () {
  2042. callback(library);
  2043. }, library);
  2044. }
  2045. /**
  2046. * Waits for completion of a clear history operation, before
  2047. diff --git a/suite/components/places/tests/chrome/chrome.ini b/suite/components/places/tests/chrome/chrome.ini
  2048. --- a/suite/components/places/tests/chrome/chrome.ini
  2049. +++ b/suite/components/places/tests/chrome/chrome.ini
  2050. @@ -1,10 +1,10 @@
  2051. [DEFAULT]
  2052. support-files = head.js
  2053. -[test_0_bug510634.xul]
  2054. -[test_0_multiple_left_pane.xul]
  2055. -[test_bug427633_no_newfolder_if_noip.xul]
  2056. -[test_bug485100-change-case-loses-tag.xul]
  2057. -[test_bug549192.xul]
  2058. -[test_bug549491.xul]
  2059. -[test_treeview_date.xul]
  2060. +[test_0_bug510634.xhtml]
  2061. +[test_0_multiple_left_pane.xhtml]
  2062. +[test_bug427633_no_newfolder_if_noip.xhtml]
  2063. +[test_bug485100-change-case-loses-tag.xhtml]
  2064. +[test_bug549192.xhtml]
  2065. +[test_bug549491.xhtml]
  2066. +[test_treeview_date.xhtml]
  2067. diff --git a/suite/components/places/tests/chrome/test_0_bug510634.xhtml b/suite/components/places/tests/chrome/test_0_bug510634.xhtml
  2068. --- a/suite/components/places/tests/chrome/test_0_bug510634.xhtml
  2069. +++ b/suite/components/places/tests/chrome/test_0_bug510634.xhtml
  2070. @@ -5,17 +5,17 @@
  2071. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  2072. <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
  2073. <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
  2074. type="text/css"?>
  2075. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  2076. <?xml-stylesheet href="chrome://communicator/skin/places/organizer.css"?>
  2077. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  2078. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  2079. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  2080. title="510634: Wrong icons on bookmarks sidebar"
  2081. onload="runTest();">
  2082. <script src="chrome://mochikit/content/MochiKit/packed.js" />
  2083. <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
  2084. diff --git a/suite/components/places/tests/chrome/test_0_multiple_left_pane.xhtml b/suite/components/places/tests/chrome/test_0_multiple_left_pane.xhtml
  2085. --- a/suite/components/places/tests/chrome/test_0_multiple_left_pane.xhtml
  2086. +++ b/suite/components/places/tests/chrome/test_0_multiple_left_pane.xhtml
  2087. @@ -10,17 +10,17 @@
  2088. <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
  2089. <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
  2090. type="text/css"?>
  2091. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  2092. <?xml-stylesheet href="chrome://communicator/skin/places/organizer.css"?>
  2093. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  2094. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  2095. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  2096. title="Test handling of multiple left pane folders"
  2097. onload="runTest();">
  2098. <script src="chrome://mochikit/content/MochiKit/packed.js" />
  2099. <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
  2100. diff --git a/suite/components/places/tests/chrome/test_bug427633_no_newfolder_if_noip.xhtml b/suite/components/places/tests/chrome/test_bug427633_no_newfolder_if_noip.xhtml
  2101. --- a/suite/components/places/tests/chrome/test_bug427633_no_newfolder_if_noip.xhtml
  2102. +++ b/suite/components/places/tests/chrome/test_bug427633_no_newfolder_if_noip.xhtml
  2103. @@ -7,18 +7,18 @@
  2104. <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
  2105. <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
  2106. type="text/css"?>
  2107. <?xml-stylesheet href="chrome://communicator/skin/places/editBookmarkOverlay.css"?>
  2108. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  2109. <?xml-stylesheet href="chrome://communicator/skin/places/organizer.css"?>
  2110. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  2111. -<?xul-overlay href="chrome://communicator/content/places/editBookmarkOverlay.xul"?>
  2112. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  2113. +<?xul-overlay href="chrome://communicator/content/places/editBookmarkOverlay.xhtml"?>
  2114. <!DOCTYPE window [
  2115. <!ENTITY % editBookmarkOverlayDTD SYSTEM "chrome://communicator/locale/places/editBookmarkOverlay.dtd">
  2116. %editBookmarkOverlayDTD;
  2117. ]>
  2118. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  2119. title="Bug 427633 - Disable creating a New Folder in the bookmarks dialogs if insertionPoint is invalid"
  2120. diff --git a/suite/components/places/tests/chrome/test_bug485100-change-case-loses-tag.xhtml b/suite/components/places/tests/chrome/test_bug485100-change-case-loses-tag.xhtml
  2121. --- a/suite/components/places/tests/chrome/test_bug485100-change-case-loses-tag.xhtml
  2122. +++ b/suite/components/places/tests/chrome/test_bug485100-change-case-loses-tag.xhtml
  2123. @@ -7,18 +7,18 @@
  2124. <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
  2125. <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
  2126. type="text/css"?>
  2127. <?xml-stylesheet href="chrome://communicator/skin/places/editBookmarkOverlay.css"?>
  2128. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  2129. <?xml-stylesheet href="chrome://communicator/skin/places/organizer.css"?>
  2130. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  2131. -<?xul-overlay href="chrome://communicator/content/places/editBookmarkOverlay.xul"?>
  2132. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  2133. +<?xul-overlay href="chrome://communicator/content/places/editBookmarkOverlay.xhtml"?>
  2134. <!DOCTYPE window [
  2135. <!ENTITY % editBookmarkOverlayDTD SYSTEM "chrome://communicator/locale/places/editBookmarkOverlay.dtd">
  2136. %editBookmarkOverlayDTD;
  2137. ]>
  2138. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  2139. title="485100: Exchanging a letter of a tag name with its big/small equivalent removes tag from bookmark"
  2140. diff --git a/suite/components/places/tests/chrome/test_bug549192.xhtml b/suite/components/places/tests/chrome/test_bug549192.xhtml
  2141. --- a/suite/components/places/tests/chrome/test_bug549192.xhtml
  2142. +++ b/suite/components/places/tests/chrome/test_bug549192.xhtml
  2143. @@ -6,17 +6,17 @@
  2144. -->
  2145. <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
  2146. <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
  2147. type="text/css"?>
  2148. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  2149. <?xml-stylesheet href="chrome://communicator/skin/places/organizer.css"?>
  2150. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  2151. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  2152. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  2153. title="549192: History view not updated after deleting entry"
  2154. onload="runTest();">
  2155. <script src="chrome://mochikit/content/MochiKit/packed.js" />
  2156. <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
  2157. <script src="head.js" />
  2158. diff --git a/suite/components/places/tests/chrome/test_bug549491.xhtml b/suite/components/places/tests/chrome/test_bug549491.xhtml
  2159. --- a/suite/components/places/tests/chrome/test_bug549491.xhtml
  2160. +++ b/suite/components/places/tests/chrome/test_bug549491.xhtml
  2161. @@ -6,17 +6,17 @@
  2162. -->
  2163. <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
  2164. <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
  2165. type="text/css"?>
  2166. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  2167. <?xml-stylesheet href="chrome://communicator/skin/places/organizer.css"?>
  2168. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  2169. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  2170. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  2171. title="549491: 'The root node is never visible' exception when details of the root node are modified "
  2172. onload="runTest();">
  2173. <script src="chrome://mochikit/content/MochiKit/packed.js" />
  2174. <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
  2175. <script src="head.js" />
  2176. diff --git a/suite/components/places/tests/chrome/test_treeview_date.xhtml b/suite/components/places/tests/chrome/test_treeview_date.xhtml
  2177. --- a/suite/components/places/tests/chrome/test_treeview_date.xhtml
  2178. +++ b/suite/components/places/tests/chrome/test_treeview_date.xhtml
  2179. @@ -5,17 +5,17 @@
  2180. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  2181. <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
  2182. <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
  2183. type="text/css"?>
  2184. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  2185. <?xml-stylesheet href="chrome://communicator/skin/places/organizer.css"?>
  2186. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  2187. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  2188. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  2189. title="435322: Places tree view's formatting"
  2190. onload="runTest();">
  2191. <script src="chrome://mochikit/content/MochiKit/packed.js" />
  2192. <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
  2193. <script src="head.js" />
  2194. diff --git a/suite/components/pref/content/pref-applications.js b/suite/components/pref/content/pref-applications.js
  2195. --- a/suite/components/pref/content/pref-applications.js
  2196. +++ b/suite/components/pref/content/pref-applications.js
  2197. @@ -1,17 +1,17 @@
  2198. /* -*- Mode: Java; tab-width: 2; c-basic-offset: 2; -*-
  2199. *
  2200. * This Source Code Form is subject to the terms of the Mozilla Public
  2201. * License, v. 2.0. If a copy of the MPL was not distributed with this
  2202. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  2203. const {AppConstants} = ChromeUtils.import("resource://gre/modules/AppConstants.jsm");
  2204. const {ShellService} = ChromeUtils.import("resource:///modules/ShellService.jsm");
  2205. -// Needed as this script is also loaded by pref-applicationManager.xul.
  2206. +// Needed as this script is also loaded by pref-applicationManager.xhtml.
  2207. const {XPCOMUtils} =
  2208. ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
  2209. function Startup()
  2210. {
  2211. gApplicationsPane.init();
  2212. }
  2213. @@ -1365,17 +1365,17 @@ var gApplicationsPane = {
  2214. typeItem.setAttribute("appHandlerIcon", "app");
  2215. }
  2216. },
  2217. manageApp() {
  2218. var typeItem = this._list.selectedItem;
  2219. var handlerInfo = this._handledTypes[typeItem.type];
  2220. - document.documentElement.openSubDialog("chrome://communicator/content/pref/pref-applicationManager.xul",
  2221. + document.documentElement.openSubDialog("chrome://communicator/content/pref/pref-applicationManager.xhtml",
  2222. "", handlerInfo);
  2223. // Rebuild the actions menu so that we revert to the previous selection,
  2224. // or "Always ask" if the previous default application has been removed
  2225. this.rebuildActionsMenu();
  2226. // update the listitem too. Will be visible when selecting another row
  2227. typeItem.setAttribute("actionDescription",
  2228. @@ -1440,17 +1440,17 @@ var gApplicationsPane = {
  2229. params.mimeInfo = handlerInfo.wrappedHandlerInfo;
  2230. }
  2231. params.title = this._prefsBundle.getString("fpTitleChooseApp");
  2232. params.description = handlerInfo.description;
  2233. params.filename = null;
  2234. params.handlerApp = null;
  2235. - window.openDialog("chrome://global/content/appPicker.xul", null,
  2236. + window.openDialog("chrome://global/content/appPicker.xhtml", null,
  2237. "chrome,modal,centerscreen,titlebar,dialog=yes",
  2238. params);
  2239. if (this.isValidHandlerApp(params.handlerApp)) {
  2240. this.handlerApp = params.handlerApp;
  2241. }
  2242. this.finishChooseApp();
  2243. } else if (Services.prefs.getBoolPref("browser.download.useAppChooser", true) && ("@mozilla.org/applicationchooser;1" in Cc)) {
  2244. diff --git a/suite/components/pref/content/pref-languages.js b/suite/components/pref/content/pref-languages.js
  2245. --- a/suite/components/pref/content/pref-languages.js
  2246. +++ b/suite/components/pref/content/pref-languages.js
  2247. @@ -15,17 +15,17 @@ function Startup()
  2248. // of childNodes it is live and updates automatically.
  2249. gLanguages = gActiveLanguages.childNodes;
  2250. ReadAvailableLanguages();
  2251. }
  2252. function AddLanguage()
  2253. {
  2254. - document.documentElement.openSubDialog("chrome://communicator/content/pref/pref-languages-add.xul", "addlangwindow", gLanguageNames);
  2255. + document.documentElement.openSubDialog("chrome://communicator/content/pref/pref-languages-add.xhtml", "addlangwindow", gLanguageNames);
  2256. }
  2257. function ReadAvailableLanguages()
  2258. {
  2259. var i = 0;
  2260. var languagesBundle = document.getElementById("languageNamesBundle");
  2261. var prefLangBundle = document.getElementById("prefLangBundle");
  2262. var regionsBundle = document.getElementById("regionNamesBundle");
  2263. diff --git a/suite/components/pref/content/pref-proxies.js b/suite/components/pref/content/pref-proxies.js
  2264. --- a/suite/components/pref/content/pref-proxies.js
  2265. +++ b/suite/components/pref/content/pref-proxies.js
  2266. @@ -143,17 +143,17 @@ function FixProxyURL(aURL)
  2267. catch (e) {}
  2268. if (!gInstantApply)
  2269. EnableUnlockedButton(aURL);
  2270. }
  2271. function OpenAdvancedDialog()
  2272. {
  2273. - document.documentElement.openSubDialog("chrome://communicator/content/pref/pref-proxies-advanced.xul",
  2274. + document.documentElement.openSubDialog("chrome://communicator/content/pref/pref-proxies-advanced.xhtml",
  2275. "AdvancedProxyPreferences", null);
  2276. }
  2277. function DoProxyCopy(aChecked)
  2278. {
  2279. DoProxyHostCopy(gHTTP.value);
  2280. DoProxyPortCopy(gHTTPPort.value);
  2281. var nonshare = ["networkProxySSL", "networkProxySSL_Port",
  2282. diff --git a/suite/components/pref/content/pref-sync.js b/suite/components/pref/content/pref-sync.js
  2283. --- a/suite/components/pref/content/pref-sync.js
  2284. +++ b/suite/components/pref/content/pref-sync.js
  2285. @@ -107,37 +107,37 @@ var gSyncPane = {
  2286. gSyncUtils.resetPassphrase();
  2287. },
  2288. openSetup: function (resetSync) {
  2289. var win = Services.wm.getMostRecentWindow("Weave:AccountSetup");
  2290. if (win)
  2291. win.focus();
  2292. else {
  2293. - window.openDialog("chrome://communicator/content/sync/syncSetup.xul",
  2294. + window.openDialog("chrome://communicator/content/sync/syncSetup.xhtml",
  2295. "weaveSetup", "centerscreen,chrome,resizable=no", resetSync);
  2296. }
  2297. },
  2298. openQuotaDialog: function () {
  2299. let win = Services.wm.getMostRecentWindow("Sync:ViewQuota");
  2300. if (win)
  2301. win.focus();
  2302. else
  2303. - window.openDialog("chrome://communicator/content/sync/syncQuota.xul", "",
  2304. + window.openDialog("chrome://communicator/content/sync/syncQuota.xhtml", "",
  2305. "centerscreen,chrome,dialog,modal");
  2306. },
  2307. openAddDevice: function () {
  2308. if (!Weave.Utils.ensureMPUnlocked())
  2309. return;
  2310. let win = Services.wm.getMostRecentWindow("Sync:AddDevice");
  2311. if (win)
  2312. win.focus();
  2313. else
  2314. - window.openDialog("chrome://communicator/content/sync/syncAddDevice.xul",
  2315. + window.openDialog("chrome://communicator/content/sync/syncAddDevice.xhtml",
  2316. "syncAddDevice", "centerscreen,chrome,resizable=no");
  2317. },
  2318. resetSync: function () {
  2319. this.openSetup(true);
  2320. }
  2321. };
  2322. diff --git a/suite/components/pref/content/preferences.xhtml b/suite/components/pref/content/preferences.xhtml
  2323. --- a/suite/components/pref/content/preferences.xhtml
  2324. +++ b/suite/components/pref/content/preferences.xhtml
  2325. @@ -59,206 +59,206 @@
  2326. <treechildren id="prefsPanelChildren">
  2327. <!-- Appearance items -->
  2328. <treeitem container="true"
  2329. id="appearanceItem"
  2330. label="&appear.label;"
  2331. prefpane="appearance_pane"
  2332. helpTopic="appearance_pref"
  2333. - url="chrome://communicator/content/pref/pref-appearance.xul">
  2334. + url="chrome://communicator/content/pref/pref-appearance.xhtml">
  2335. <treechildren id="appearanceChildren">
  2336. <treeitem id="contentItem"
  2337. label="&content.label;"
  2338. prefpane="content_pane"
  2339. helpTopic="appearance_pref_content"
  2340. - url="chrome://communicator/content/pref/pref-content.xul"/>
  2341. + url="chrome://communicator/content/pref/pref-content.xhtml"/>
  2342. <treeitem id="fontsItem"
  2343. label="&fonts.label;"
  2344. prefpane="fonts_pane"
  2345. helpTopic="appearance_pref_fonts"
  2346. - url="chrome://communicator/content/pref/pref-fonts.xul"/>
  2347. + url="chrome://communicator/content/pref/pref-fonts.xhtml"/>
  2348. <treeitem id="colorsItem"
  2349. label="&colors.label;"
  2350. prefpane="colors_pane"
  2351. helpTopic="appearance_pref_colors"
  2352. - url="chrome://communicator/content/pref/pref-colors.xul"/>
  2353. + url="chrome://communicator/content/pref/pref-colors.xhtml"/>
  2354. <treeitem id="mediaItem"
  2355. label="&media.label;"
  2356. prefpane="media_pane"
  2357. helpTopic="appearance_pref_media"
  2358. - url="chrome://communicator/content/pref/pref-media.xul"/>
  2359. + url="chrome://communicator/content/pref/pref-media.xhtml"/>
  2360. <treeitem id="spellingItem"
  2361. label="&spellingPane.label;"
  2362. prefpane="spelling_pane"
  2363. helpTopic="appearance_pref_spelling"
  2364. - url="chrome://communicator/content/pref/pref-spelling.xul"/>
  2365. + url="chrome://communicator/content/pref/pref-spelling.xhtml"/>
  2366. </treechildren>
  2367. </treeitem>
  2368. <!-- Browser items -->
  2369. <treeitem container="true"
  2370. id="navigatorItem"
  2371. label="&navigator.label;"
  2372. prefpane="navigator_pane"
  2373. helpTopic="navigator_pref_navigator"
  2374. - url="chrome://communicator/content/pref/pref-navigator.xul">
  2375. + url="chrome://communicator/content/pref/pref-navigator.xhtml">
  2376. <treechildren id="navigatorChildren">
  2377. <treeitem id="historyItem"
  2378. label="&history.label;"
  2379. prefpane="history_pane"
  2380. helpTopic="navigator_pref_history"
  2381. - url="chrome://communicator/content/pref/pref-history.xul"/>
  2382. + url="chrome://communicator/content/pref/pref-history.xhtml"/>
  2383. <treeitem id="languagesItem"
  2384. label="&languages.label;"
  2385. prefpane="languages_pane"
  2386. helpTopic="navigator_pref_languages"
  2387. - url="chrome://communicator/content/pref/pref-languages.xul"/>
  2388. + url="chrome://communicator/content/pref/pref-languages.xhtml"/>
  2389. <treeitem id="applicationsItem"
  2390. label="&applications.label;"
  2391. prefpane="applications_pane"
  2392. helpTopic="navigator_pref_helper_applications"
  2393. - url="chrome://communicator/content/pref/pref-applications.xul"/>
  2394. + url="chrome://communicator/content/pref/pref-applications.xhtml"/>
  2395. <treeitem id="locationBarItem"
  2396. label="&locationBar.label;"
  2397. prefpane="locationBar_pane"
  2398. helpTopic="navigator_pref_location_bar"
  2399. - url="chrome://communicator/content/pref/pref-locationbar.xul"/>
  2400. + url="chrome://communicator/content/pref/pref-locationbar.xhtml"/>
  2401. <treeitem id="searchItem"
  2402. label="&search.label;"
  2403. prefpane="search_pane"
  2404. helpTopic="navigator_pref_internet_searching"
  2405. - url="chrome://communicator/content/pref/pref-search.xul"/>
  2406. + url="chrome://communicator/content/pref/pref-search.xhtml"/>
  2407. <treeitem id="tabsItem"
  2408. label="&tabWindows.label;"
  2409. prefpane="tabs_pane"
  2410. helpTopic="navigator_pref_tabbed_browsing"
  2411. - url="chrome://communicator/content/pref/pref-tabs.xul"/>
  2412. + url="chrome://communicator/content/pref/pref-tabs.xhtml"/>
  2413. <treeitem id="linksItem"
  2414. label="&links.label;"
  2415. prefpane="links_pane"
  2416. helpTopic="navigator_pref_link_behavior"
  2417. - url="chrome://communicator/content/pref/pref-links.xul"/>
  2418. + url="chrome://communicator/content/pref/pref-links.xhtml"/>
  2419. <treeitem id="downloadItem"
  2420. label="&download.label;"
  2421. prefpane="download_pane"
  2422. helpTopic="navigator_pref_downloads"
  2423. - url="chrome://communicator/content/pref/pref-download.xul"/>
  2424. + url="chrome://communicator/content/pref/pref-download.xhtml"/>
  2425. </treechildren>
  2426. </treeitem>
  2427. <!-- Privacy & Security items -->
  2428. <treeitem container="true"
  2429. id="securityItem"
  2430. prefpane="security_pane"
  2431. label="&security.label;"
  2432. helpTopic="sec_gen"
  2433. - url="chrome://communicator/content/pref/pref-security.xul">
  2434. + url="chrome://communicator/content/pref/pref-security.xhtml">
  2435. <treechildren id="securityChildren">
  2436. <treeitem id="privatedataItem"
  2437. label="&privatedata.label;"
  2438. prefpane="privatedata_pane"
  2439. helpTopic="privatedata_prefs"
  2440. - url="chrome://communicator/content/pref/pref-privatedata.xul"/>
  2441. + url="chrome://communicator/content/pref/pref-privatedata.xhtml"/>
  2442. <treeitem id="cookiesItem"
  2443. label="&cookies.label;"
  2444. prefpane="cookies_pane"
  2445. helpTopic="cookies_prefs"
  2446. - url="chrome://communicator/content/pref/pref-cookies.xul"/>
  2447. + url="chrome://communicator/content/pref/pref-cookies.xhtml"/>
  2448. <treeitem id="imagesItem"
  2449. label="&images.label;"
  2450. prefpane="images_pane"
  2451. helpTopic="images_prefs"
  2452. - url="chrome://communicator/content/pref/pref-images.xul"/>
  2453. + url="chrome://communicator/content/pref/pref-images.xhtml"/>
  2454. <treeitem id="popupsItem"
  2455. label="&popups.label;"
  2456. prefpane="popups_pane"
  2457. helpTopic="pop_up_blocking_prefs"
  2458. - url="chrome://communicator/content/pref/pref-popups.xul"/>
  2459. + url="chrome://communicator/content/pref/pref-popups.xhtml"/>
  2460. <treeitem id="passwordsItem"
  2461. label="&passwords.label;"
  2462. prefpane="passwords_pane"
  2463. - url="chrome://pippki/content/pref-passwords.xul"
  2464. + url="chrome://pippki/content/pref-passwords.xhtml"
  2465. helpTopic="passwords_prefs"/>
  2466. <treeitem id="sslItem"
  2467. label="&ssltls.label;"
  2468. prefpane="ssl_pane"
  2469. - url="chrome://pippki/content/pref-ssl.xul"
  2470. + url="chrome://pippki/content/pref-ssl.xhtml"
  2471. helpTopic="ssl_prefs"/>
  2472. <treeitem id="certItem"
  2473. label="&certs.label;"
  2474. prefpane="certs_pane"
  2475. - url="chrome://pippki/content/pref-certs.xul"
  2476. + url="chrome://pippki/content/pref-certs.xhtml"
  2477. helpTopic="certs_prefs"/>
  2478. </treechildren>
  2479. </treeitem>
  2480. <!-- Sync
  2481. <treeitem id="syncItem"
  2482. label="&sync.label;"
  2483. prefpane="sync_pane"
  2484. - url="chrome://communicator/content/pref/pref-sync.xul"
  2485. + url="chrome://communicator/content/pref/pref-sync.xhtml"
  2486. helpTopic="sync_prefs"/> -->
  2487. <!-- Advanced items -->
  2488. <treeitem container="true"
  2489. id="advancedItem"
  2490. label="&advance.label;"
  2491. prefpane="advanced_pane"
  2492. helpTopic="advanced_pref_advanced"
  2493. - url="chrome://communicator/content/pref/pref-advanced.xul">
  2494. + url="chrome://communicator/content/pref/pref-advanced.xhtml">
  2495. <treechildren id="advancedChildren">
  2496. <treeitem id="scriptsItem"
  2497. label="&scriptsAndWindows2.label;"
  2498. prefpane="scripts_pane"
  2499. helpTopic="advanced_pref_scripts"
  2500. - url="chrome://communicator/content/pref/pref-scripts.xul"/>
  2501. + url="chrome://communicator/content/pref/pref-scripts.xhtml"/>
  2502. <treeitem id="keynavItem"
  2503. label="&keynav.label;"
  2504. prefpane="keynav_pane"
  2505. helpTopic="advanced_pref_keyboard_nav"
  2506. - url="chrome://communicator/content/pref/pref-keynav.xul"/>
  2507. + url="chrome://communicator/content/pref/pref-keynav.xhtml"/>
  2508. <treeitem id="findasyoutypeItem"
  2509. label="&findAsYouType.label;"
  2510. prefpane="findasyoutype_pane"
  2511. helpTopic="advanced_pref_find_as_you_type"
  2512. - url="chrome://communicator/content/pref/pref-findasyoutype.xul"/>
  2513. + url="chrome://communicator/content/pref/pref-findasyoutype.xhtml"/>
  2514. <treeitem id="cacheItem"
  2515. label="&cache.label;"
  2516. prefpane="cache_pane"
  2517. helpTopic="advanced_pref_cache"
  2518. - url="chrome://communicator/content/pref/pref-cache.xul"/>
  2519. + url="chrome://communicator/content/pref/pref-cache.xhtml"/>
  2520. <treeitem id="offlineAppsItem"
  2521. label="&offlineApps.label;"
  2522. prefpane="offlineapps_pane"
  2523. helpTopic="advanced_pref_offlineapps"
  2524. - url="chrome://communicator/content/pref/pref-offlineapps.xul"/>
  2525. + url="chrome://communicator/content/pref/pref-offlineapps.xhtml"/>
  2526. <treeitem id="proxiesItem"
  2527. label="&proxies.label;"
  2528. prefpane="proxies_pane"
  2529. helpTopic="advanced_pref_proxies"
  2530. - url="chrome://communicator/content/pref/pref-proxies.xul"/>
  2531. + url="chrome://communicator/content/pref/pref-proxies.xhtml"/>
  2532. <treeitem id="httpItem"
  2533. label="&httpnetworking.label;"
  2534. prefpane="http_pane"
  2535. helpTopic="advanced_http_networking"
  2536. - url="chrome://communicator/content/pref/pref-http.xul"/>
  2537. + url="chrome://communicator/content/pref/pref-http.xhtml"/>
  2538. <treeitem id="smartupdateItem"
  2539. label="&smart.label;"
  2540. prefpane="smartupdate_pane"
  2541. helpTopic="advanced_pref_installation"
  2542. - url="chrome://communicator/content/pref/pref-smartupdate.xul"/>
  2543. + url="chrome://communicator/content/pref/pref-smartupdate.xhtml"/>
  2544. <treeitem id="mousewheelItem"
  2545. label="&mousewheel.label;"
  2546. prefpane="mousewheel_pane"
  2547. helpTopic="advanced_pref_mouse_wheel"
  2548. - url="chrome://communicator/content/pref/pref-mousewheel.xul"/>
  2549. + url="chrome://communicator/content/pref/pref-mousewheel.xhtml"/>
  2550. <treeitem id="debuggingItem"
  2551. label="&debugging.label;"
  2552. prefpane="debugging_pane"
  2553. helpTopic="advanced_pref_debugging"
  2554. - url="chrome://communicator/content/pref/pref-debugging.xul"/>
  2555. + url="chrome://communicator/content/pref/pref-debugging.xhtml"/>
  2556. </treechildren>
  2557. </treeitem>
  2558. </treechildren>
  2559. </tree>
  2560. </prefwindow>
  2561. diff --git a/suite/components/pref/jar.mn b/suite/components/pref/jar.mn
  2562. --- a/suite/components/pref/jar.mn
  2563. +++ b/suite/components/pref/jar.mn
  2564. @@ -1,73 +1,73 @@
  2565. # This Source Code Form is subject to the terms of the Mozilla Public
  2566. # License, v. 2.0. If a copy of the MPL was not distributed with this
  2567. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  2568. comm.jar:
  2569. -* content/communicator/pref/preferences.xul (content/preferences.xul)
  2570. +* content/communicator/pref/preferences.xhtml (content/preferences.xhtml)
  2571. content/communicator/pref/preferences.js (content/preferences.js)
  2572. content/communicator/pref/prefpanels.css (content/prefpanels.css)
  2573. content/communicator/pref/prefpanels.xml (content/prefpanels.xml)
  2574. content/communicator/pref/pref-advanced.js (content/pref-advanced.js)
  2575. - content/communicator/pref/pref-advanced.xul (content/pref-advanced.xul)
  2576. + content/communicator/pref/pref-advanced.xhtml (content/pref-advanced.xhtml)
  2577. content/communicator/pref/pref-appearance.js (content/pref-appearance.js)
  2578. -* content/communicator/pref/pref-appearance.xul (content/pref-appearance.xul)
  2579. -* content/communicator/pref/pref-applications.xul (content/pref-applications.xul)
  2580. +* content/communicator/pref/pref-appearance.xhtml (content/pref-appearance.xhtml)
  2581. +* content/communicator/pref/pref-applications.xhtml (content/pref-applications.xhtml)
  2582. content/communicator/pref/pref-applications.js (content/pref-applications.js)
  2583. content/communicator/pref/pref-applicationManager.js (content/pref-applicationManager.js)
  2584. - content/communicator/pref/pref-applicationManager.xul (content/pref-applicationManager.xul)
  2585. + content/communicator/pref/pref-applicationManager.xhtml (content/pref-applicationManager.xhtml)
  2586. content/communicator/pref/pref-cache.js (content/pref-cache.js)
  2587. - content/communicator/pref/pref-cache.xul (content/pref-cache.xul)
  2588. + content/communicator/pref/pref-cache.xhtml (content/pref-cache.xhtml)
  2589. content/communicator/pref/pref-colors.js (content/pref-colors.js)
  2590. - content/communicator/pref/pref-colors.xul (content/pref-colors.xul)
  2591. + content/communicator/pref/pref-colors.xhtml (content/pref-colors.xhtml)
  2592. content/communicator/pref/pref-content.js (content/pref-content.js)
  2593. - content/communicator/pref/pref-content.xul (content/pref-content.xul)
  2594. + content/communicator/pref/pref-content.xhtml (content/pref-content.xhtml)
  2595. content/communicator/pref/pref-cookies.js (content/pref-cookies.js)
  2596. - content/communicator/pref/pref-cookies.xul (content/pref-cookies.xul)
  2597. + content/communicator/pref/pref-cookies.xhtml (content/pref-cookies.xhtml)
  2598. content/communicator/pref/pref-debugging.js (content/pref-debugging.js)
  2599. - content/communicator/pref/pref-debugging.xul (content/pref-debugging.xul)
  2600. + content/communicator/pref/pref-debugging.xhtml (content/pref-debugging.xhtml)
  2601. content/communicator/pref/pref-download.js (content/pref-download.js)
  2602. - content/communicator/pref/pref-download.xul (content/pref-download.xul)
  2603. + content/communicator/pref/pref-download.xhtml (content/pref-download.xhtml)
  2604. content/communicator/pref/pref-findasyoutype.js (content/pref-findasyoutype.js)
  2605. - content/communicator/pref/pref-findasyoutype.xul (content/pref-findasyoutype.xul)
  2606. + content/communicator/pref/pref-findasyoutype.xhtml (content/pref-findasyoutype.xhtml)
  2607. content/communicator/pref/pref-fonts.js (content/pref-fonts.js)
  2608. - content/communicator/pref/pref-fonts.xul (content/pref-fonts.xul)
  2609. + content/communicator/pref/pref-fonts.xhtml (content/pref-fonts.xhtml)
  2610. content/communicator/pref/pref-history.js (content/pref-history.js)
  2611. - content/communicator/pref/pref-history.xul (content/pref-history.xul)
  2612. + content/communicator/pref/pref-history.xhtml (content/pref-history.xhtml)
  2613. content/communicator/pref/pref-http.js (content/pref-http.js)
  2614. - content/communicator/pref/pref-http.xul (content/pref-http.xul)
  2615. - content/communicator/pref/pref-images.xul (content/pref-images.xul)
  2616. + content/communicator/pref/pref-http.xhtml (content/pref-http.xhtml)
  2617. + content/communicator/pref/pref-images.xhtml (content/pref-images.xhtml)
  2618. content/communicator/pref/pref-keynav.js (content/pref-keynav.js)
  2619. - content/communicator/pref/pref-keynav.xul (content/pref-keynav.xul)
  2620. + content/communicator/pref/pref-keynav.xhtml (content/pref-keynav.xhtml)
  2621. content/communicator/pref/pref-languages.js (content/pref-languages.js)
  2622. - content/communicator/pref/pref-languages.xul (content/pref-languages.xul)
  2623. - content/communicator/pref/pref-languages-add.xul (content/pref-languages-add.xul)
  2624. + content/communicator/pref/pref-languages.xhtml (content/pref-languages.xhtml)
  2625. + content/communicator/pref/pref-languages-add.xhtml (content/pref-languages-add.xhtml)
  2626. content/communicator/pref/pref-languages-add.js (content/pref-languages-add.js)
  2627. content/communicator/pref/pref-links.js (content/pref-links.js)
  2628. - content/communicator/pref/pref-links.xul (content/pref-links.xul)
  2629. + content/communicator/pref/pref-links.xhtml (content/pref-links.xhtml)
  2630. content/communicator/pref/pref-locationbar.js (content/pref-locationbar.js)
  2631. - content/communicator/pref/pref-locationbar.xul (content/pref-locationbar.xul)
  2632. -* content/communicator/pref/pref-media.xul (content/pref-media.xul)
  2633. + content/communicator/pref/pref-locationbar.xhtml (content/pref-locationbar.xhtml)
  2634. +* content/communicator/pref/pref-media.xhtml (content/pref-media.xhtml)
  2635. content/communicator/pref/pref-mousewheel.js (content/pref-mousewheel.js)
  2636. -* content/communicator/pref/pref-mousewheel.xul (content/pref-mousewheel.xul)
  2637. +* content/communicator/pref/pref-mousewheel.xhtml (content/pref-mousewheel.xhtml)
  2638. content/communicator/pref/pref-navigator.js (content/pref-navigator.js)
  2639. - content/communicator/pref/pref-navigator.xul (content/pref-navigator.xul)
  2640. + content/communicator/pref/pref-navigator.xhtml (content/pref-navigator.xhtml)
  2641. content/communicator/pref/pref-offlineapps.js (content/pref-offlineapps.js)
  2642. - content/communicator/pref/pref-offlineapps.xul (content/pref-offlineapps.xul)
  2643. + content/communicator/pref/pref-offlineapps.xhtml (content/pref-offlineapps.xhtml)
  2644. content/communicator/pref/pref-popups.js (content/pref-popups.js)
  2645. - content/communicator/pref/pref-popups.xul (content/pref-popups.xul)
  2646. + content/communicator/pref/pref-popups.xhtml (content/pref-popups.xhtml)
  2647. content/communicator/pref/pref-privatedata.js (content/pref-privatedata.js)
  2648. - content/communicator/pref/pref-privatedata.xul (content/pref-privatedata.xul)
  2649. + content/communicator/pref/pref-privatedata.xhtml (content/pref-privatedata.xhtml)
  2650. content/communicator/pref/pref-proxies.js (content/pref-proxies.js)
  2651. - content/communicator/pref/pref-proxies.xul (content/pref-proxies.xul)
  2652. - content/communicator/pref/pref-proxies-advanced.xul (content/pref-proxies-advanced.xul)
  2653. + content/communicator/pref/pref-proxies.xhtml (content/pref-proxies.xhtml)
  2654. + content/communicator/pref/pref-proxies-advanced.xhtml (content/pref-proxies-advanced.xhtml)
  2655. content/communicator/pref/pref-scripts.js (content/pref-scripts.js)
  2656. - content/communicator/pref/pref-scripts.xul (content/pref-scripts.xul)
  2657. + content/communicator/pref/pref-scripts.xhtml (content/pref-scripts.xhtml)
  2658. content/communicator/pref/pref-search.js (content/pref-search.js)
  2659. - content/communicator/pref/pref-search.xul (content/pref-search.xul)
  2660. + content/communicator/pref/pref-search.xhtml (content/pref-search.xhtml)
  2661. content/communicator/pref/pref-security.js (content/pref-security.js)
  2662. - content/communicator/pref/pref-security.xul (content/pref-security.xul)
  2663. + content/communicator/pref/pref-security.xhtml (content/pref-security.xhtml)
  2664. content/communicator/pref/pref-smartupdate.js (content/pref-smartupdate.js)
  2665. - content/communicator/pref/pref-smartupdate.xul (content/pref-smartupdate.xul)
  2666. + content/communicator/pref/pref-smartupdate.xhtml (content/pref-smartupdate.xhtml)
  2667. content/communicator/pref/pref-spelling.js (content/pref-spelling.js)
  2668. - content/communicator/pref/pref-spelling.xul (content/pref-spelling.xul)
  2669. -* content/communicator/pref/pref-tabs.xul (content/pref-tabs.xul)
  2670. + content/communicator/pref/pref-spelling.xhtml (content/pref-spelling.xhtml)
  2671. +* content/communicator/pref/pref-tabs.xhtml (content/pref-tabs.xhtml)
  2672. diff --git a/suite/components/pref/tests/browser/browser_bug410900.js b/suite/components/pref/tests/browser/browser_bug410900.js
  2673. --- a/suite/components/pref/tests/browser/browser_bug410900.js
  2674. +++ b/suite/components/pref/tests/browser/browser_bug410900.js
  2675. @@ -23,17 +23,17 @@ function test() {
  2676. if (topic != "app-handler-pane-loaded")
  2677. return;
  2678. obs.removeObserver(observer, "app-handler-pane-loaded");
  2679. runTest(win);
  2680. }
  2681. obs.addObserver(observer, "app-handler-pane-loaded");
  2682. - openDialog("chrome://communicator/content/pref/preferences.xul",
  2683. + openDialog("chrome://communicator/content/pref/preferences.xhtml",
  2684. "PrefWindow", "chrome,titlebar,dialog=no,resizable",
  2685. "applications_pane");
  2686. }
  2687. function runTest(win) {
  2688. var sel = win.document.documentElement.getAttribute("lastSelected");
  2689. ok(sel == "applications_pane", "Specified pane was opened");
  2690. diff --git a/suite/components/profile/content/profileSelection.js b/suite/components/profile/content/profileSelection.js
  2691. --- a/suite/components/profile/content/profileSelection.js
  2692. +++ b/suite/components/profile/content/profileSelection.js
  2693. @@ -143,17 +143,17 @@ function AcceptDialog()
  2694. env.set("XRE_PROFILE_LOCAL_PATH", "");
  2695. return false;
  2696. }
  2697. }
  2698. // invoke the createProfile Wizard
  2699. function CreateProfileWizard()
  2700. {
  2701. - window.openDialog('chrome://mozapps/content/profile/createProfileWizard.xul',
  2702. + window.openDialog('chrome://mozapps/content/profile/createProfileWizard.xhtml',
  2703. '', 'centerscreen,chrome,modal,titlebar');
  2704. }
  2705. // update the display to show the additional profile
  2706. function CreateProfile(aProfile)
  2707. {
  2708. gProfileService.flush();
  2709. AddItem(aProfile, aProfile);
  2710. diff --git a/suite/components/profile/jar.mn b/suite/components/profile/jar.mn
  2711. --- a/suite/components/profile/jar.mn
  2712. +++ b/suite/components/profile/jar.mn
  2713. @@ -1,8 +1,8 @@
  2714. # This Source Code Form is subject to the terms of the Mozilla Public
  2715. # License, v. 2.0. If a copy of the MPL was not distributed with this
  2716. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  2717. comm.jar:
  2718. -% override chrome://mozapps/content/profile/profileSelection.xul chrome://communicator/content/profile/profileSelection.xul
  2719. +% override chrome://mozapps/content/profile/profileSelection.xhtml chrome://communicator/content/profile/profileSelection.xhtml
  2720. content/communicator/profile/profileSelection.js (content/profileSelection.js)
  2721. - content/communicator/profile/profileSelection.xul (content/profileSelection.xul)
  2722. + content/communicator/profile/profileSelection.xhtml (content/profileSelection.xhtml)
  2723. diff --git a/suite/components/sanitize/Sanitizer.jsm b/suite/components/sanitize/Sanitizer.jsm
  2724. --- a/suite/components/sanitize/Sanitizer.jsm
  2725. +++ b/suite/components/sanitize/Sanitizer.jsm
  2726. @@ -86,17 +86,17 @@ var Sanitizer = {
  2727. * @param [optional] parentWindow the window to use as
  2728. * parent for the created dialog.
  2729. */
  2730. showUI(parentWindow) {
  2731. let win = AppConstants.platform == "macosx" ?
  2732. null : // make this an app-modal window on Mac
  2733. parentWindow;
  2734. Services.ww.openWindow(win,
  2735. - "chrome://communicator/content/sanitizeDialog.xul",
  2736. + "chrome://communicator/content/sanitizeDialog.xhtml",
  2737. "Sanitize",
  2738. "chrome,titlebar,centerscreen,dialog,modal",
  2739. null);
  2740. },
  2741. /**
  2742. * Performs startup tasks:
  2743. * - Checks if sanitizations were not completed during the last session.
  2744. diff --git a/suite/components/sanitize/jar.mn b/suite/components/sanitize/jar.mn
  2745. --- a/suite/components/sanitize/jar.mn
  2746. +++ b/suite/components/sanitize/jar.mn
  2747. @@ -1,8 +1,8 @@
  2748. # This Source Code Form is subject to the terms of the Mozilla Public
  2749. # License, v. 2.0. If a copy of the MPL was not distributed with this
  2750. # file, You can obtain one at http://mozilla.org/MPL/2.0/.comm.jar:
  2751. comm.jar:
  2752. % content communicator %content/communicator/ contentaccessible=yes
  2753. content/communicator/sanitizeDialog.js (content/sanitizeDialog.js)
  2754. - content/communicator/sanitizeDialog.xul (content/sanitizeDialog.xul)
  2755. + content/communicator/sanitizeDialog.xhtml (content/sanitizeDialog.xhtml)
  2756. diff --git a/suite/components/search/jar.mn b/suite/components/search/jar.mn
  2757. --- a/suite/components/search/jar.mn
  2758. +++ b/suite/components/search/jar.mn
  2759. @@ -1,16 +1,16 @@
  2760. # This Source Code Form is subject to the terms of the Mozilla Public
  2761. # License, v. 2.0. If a copy of the MPL was not distributed with this
  2762. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  2763. comm.jar:
  2764. % content communicator %content/communicator/ contentaccessible=yes
  2765. content/communicator/search/engineManager.js (content/engineManager.js)
  2766. - content/communicator/search/engineManager.xul (content/engineManager.xul)
  2767. + content/communicator/search/engineManager.xhtml (content/engineManager.xhtml)
  2768. content/communicator/search/search.xml (content/search.xml)
  2769. content/communicator/search/searchbarBindings.css (content/searchbarBindings.css)
  2770. content/communicator/search/search-panel.js (content/search-panel.js)
  2771. - content/communicator/search/search-panel.xul (content/search-panel.xul)
  2772. + content/communicator/search/search-panel.xhtml (content/search-panel.xhtml)
  2773. searchplugins/ (searchplugins/**)
  2774. % resource search-plugins %searchplugins/
  2775. diff --git a/suite/components/security/content/prefs/pref-certs.js b/suite/components/security/content/prefs/pref-certs.js
  2776. --- a/suite/components/security/content/prefs/pref-certs.js
  2777. +++ b/suite/components/security/content/prefs/pref-certs.js
  2778. @@ -14,19 +14,19 @@ function DoEnabling(aOCSPPrefValue)
  2779. {
  2780. EnableElementById("requireWorkingOCSP", aOCSPPrefValue != 0, false);
  2781. }
  2782. function OpenCertManager()
  2783. {
  2784. document.documentElement
  2785. .openWindow("mozilla:certmanager",
  2786. - "chrome://pippki/content/certManager.xul",
  2787. + "chrome://pippki/content/certManager.xhtml",
  2788. "", null);
  2789. }
  2790. function OpenDeviceManager()
  2791. {
  2792. document.documentElement
  2793. .openWindow("mozilla:devicemanager",
  2794. - "chrome://pippki/content/device_manager.xul",
  2795. + "chrome://pippki/content/device_manager.xhtml",
  2796. "", null);
  2797. }
  2798. diff --git a/suite/components/security/content/prefs/pref-passwords.js b/suite/components/security/content/prefs/pref-passwords.js
  2799. --- a/suite/components/security/content/prefs/pref-passwords.js
  2800. +++ b/suite/components/security/content/prefs/pref-passwords.js
  2801. @@ -12,20 +12,20 @@ function Startup() {
  2802. gInternalToken = tokendb.getInternalKeyToken();
  2803. }
  2804. function ChangePW()
  2805. {
  2806. var p = Cc["@mozilla.org/embedcomp/dialogparam;1"]
  2807. .createInstance(Ci.nsIDialogParamBlock);
  2808. p.SetString(1, "");
  2809. - window.openDialog("chrome://pippki/content/changepassword.xul", "",
  2810. + window.openDialog("chrome://pippki/content/changepassword.xhtml", "",
  2811. "chrome,centerscreen,modal", p);
  2812. }
  2813. function ResetPW()
  2814. {
  2815. var p = Cc["@mozilla.org/embedcomp/dialogparam;1"]
  2816. .createInstance(Ci.nsIDialogParamBlock);
  2817. p.SetString(1, gInternalToken.tokenName);
  2818. - window.openDialog("chrome://pippki/content/resetpassword.xul", "",
  2819. + window.openDialog("chrome://pippki/content/resetpassword.xhtml", "",
  2820. "chrome,centerscreen,modal", p);
  2821. }
  2822. diff --git a/suite/components/security/jar.mn b/suite/components/security/jar.mn
  2823. --- a/suite/components/security/jar.mn
  2824. +++ b/suite/components/security/jar.mn
  2825. @@ -1,11 +1,11 @@
  2826. # This Source Code Form is subject to the terms of the Mozilla Public
  2827. # License, v. 2.0. If a copy of the MPL was not distributed with this
  2828. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  2829. pippki.jar:
  2830. content/pippki/pref-certs.js (content/prefs/pref-certs.js)
  2831. - content/pippki/pref-certs.xul (content/prefs/pref-certs.xul)
  2832. + content/pippki/pref-certs.xhtml (content/prefs/pref-certs.xhtml)
  2833. content/pippki/pref-passwords.js (content/prefs/pref-passwords.js)
  2834. - content/pippki/pref-passwords.xul (content/prefs/pref-passwords.xul)
  2835. + content/pippki/pref-passwords.xhtml (content/prefs/pref-passwords.xhtml)
  2836. content/pippki/pref-ssl.js (content/prefs/pref-ssl.js)
  2837. - content/pippki/pref-ssl.xul (content/prefs/pref-ssl.xul)
  2838. + content/pippki/pref-ssl.xhtml (content/prefs/pref-ssl.xhtml)
  2839. diff --git a/suite/components/sessionstore/nsISessionStore.idl b/suite/components/sessionstore/nsISessionStore.idl
  2840. --- a/suite/components/sessionstore/nsISessionStore.idl
  2841. +++ b/suite/components/sessionstore/nsISessionStore.idl
  2842. @@ -11,17 +11,17 @@ interface nsINode;
  2843. * nsISessionStore keeps track of the current browsing state - i.e.
  2844. * tab history, cookies, scroll state, form data, POSTDATA and window features
  2845. * - and allows to restore everything into one browser window.
  2846. *
  2847. * The nsISessionStore API operates mostly on browser windows and the tabbrowser
  2848. * tabs contained in them:
  2849. *
  2850. * * "Browser windows" are those DOM windows having loaded
  2851. - * chrome://navigator/content/navigator.xul . From overlays you can just pass
  2852. + * chrome://navigator/content/navigator.xhtml . From overlays you can just pass
  2853. * the global |window| object to the API, though (or |top| from a sidebar).
  2854. * From elsewhere you can get browser windows through the nsIWindowMediator
  2855. * by looking for "navigator:browser" windows.
  2856. *
  2857. * * "Tabbrowser tabs" are all the child nodes of a browser window's
  2858. * |getBrowser().tabContainer| such as e.g. |getBrowser().selectedTab|.
  2859. */
  2860. diff --git a/suite/components/shell/jar.mn b/suite/components/shell/jar.mn
  2861. --- a/suite/components/shell/jar.mn
  2862. +++ b/suite/components/shell/jar.mn
  2863. @@ -1,7 +1,7 @@
  2864. # This Source Code Form is subject to the terms of the Mozilla Public
  2865. # License, v. 2.0. If a copy of the MPL was not distributed with this
  2866. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  2867. comm.jar:
  2868. content/communicator/setDesktopBackground.js (content/setDesktopBackground.js)
  2869. - content/communicator/setDesktopBackground.xul (content/setDesktopBackground.xul)
  2870. + content/communicator/setDesktopBackground.xhtml (content/setDesktopBackground.xhtml)
  2871. diff --git a/suite/components/sidebar/content/customize.js b/suite/components/sidebar/content/customize.js
  2872. --- a/suite/components/sidebar/content/customize.js
  2873. +++ b/suite/components/sidebar/content/customize.js
  2874. @@ -285,17 +285,17 @@ function PreviewPanel()
  2875. for (var index = min.value; index <= max.value; ++index) {
  2876. var item = tree.contentView.getItemAtIndex(index);
  2877. var res = RDF.GetResource(item.id);
  2878. var preview_name = get_attr(database, res, 'title');
  2879. var preview_URL = get_attr(database, res, 'content');
  2880. if (!preview_URL || !preview_name) continue;
  2881. - window.openDialog("chrome://communicator/content/sidebar/preview.xul",
  2882. + window.openDialog("chrome://communicator/content/sidebar/preview.xhtml",
  2883. "_blank", "chrome,resizable,close,dialog=no",
  2884. preview_name, preview_URL);
  2885. }
  2886. }
  2887. }
  2888. // Add the selected panel(s).
  2889. function AddPanel()
  2890. @@ -405,30 +405,30 @@ function CustomizePanel()
  2891. var selectedNode = tree.contentView.getItemAtIndex(index);
  2892. var panel_id = selectedNode.getAttribute('id');
  2893. var customize_url = selectedNode.getAttribute('customize');
  2894. debug("url = " + customize_url);
  2895. if (!customize_url) return;
  2896. - window.openDialog('chrome://communicator/content/sidebar/customize-panel.xul',
  2897. + window.openDialog('chrome://communicator/content/sidebar/customize-panel.xhtml',
  2898. '_blank',
  2899. 'chrome,resizable,width=690,height=600,dialog=no,close',
  2900. panel_id,
  2901. customize_url,
  2902. sidebarObj.datasource_uri,
  2903. sidebarObj.resource);
  2904. }
  2905. }
  2906. function BrowseMorePanels()
  2907. {
  2908. var url = '';
  2909. - var browser_url = "chrome://navigator/content/navigator.xul";
  2910. + var browser_url = "chrome://navigator/content/navigator.xhtml";
  2911. var locale;
  2912. try {
  2913. url = Services.prefs.getCharPref("sidebar.customize.more_panels.url");
  2914. var temp = Services.prefs.getCharPref("browser.chromeURL");
  2915. if (temp)
  2916. browser_url = temp;
  2917. } catch(ex) {
  2918. debug("Unable to get prefs: "+ex);
  2919. diff --git a/suite/components/sidebar/content/sidebarOverlay.js b/suite/components/sidebar/content/sidebarOverlay.js
  2920. --- a/suite/components/sidebar/content/sidebarOverlay.js
  2921. +++ b/suite/components/sidebar/content/sidebarOverlay.js
  2922. @@ -32,17 +32,17 @@ var gCurFrame;
  2923. var gTimeoutID = null;
  2924. var gMustInit = true;
  2925. var gAboutToUncollapse = false;
  2926. var gCheckMissingPanels = true;
  2927. function setBlank()
  2928. {
  2929. gTimeoutID = null;
  2930. - gCurFrame.setAttribute('src', 'chrome://communicator/content/sidebar/PageNotFound.xul');
  2931. + gCurFrame.setAttribute('src', 'chrome://communicator/content/sidebar/PageNotFound.xhtml');
  2932. }
  2933. // Uncomment for debug output
  2934. const SB_DEBUG = false;
  2935. // pref for limiting number of tabs in view
  2936. // initialized in sidebar_overlay_init()
  2937. @@ -1056,31 +1056,31 @@ function SidebarCustomize() {
  2938. if (false == gDisableCustomize) {
  2939. debug("First time creating customize dialog");
  2940. gDisableCustomize = true;
  2941. var panels = document.getElementById('sidebar-panels');
  2942. customizeWindow = window.openDialog(
  2943. - 'chrome://communicator/content/sidebar/customize.xul',
  2944. + 'chrome://communicator/content/sidebar/customize.xhtml',
  2945. '_blank','centerscreen,chrome,resizable,dialog=no,dependent',
  2946. sidebarObj.master_datasources,
  2947. sidebarObj.master_resource,
  2948. sidebarObj.datasource_uri,
  2949. sidebarObj.resource);
  2950. setTimeout(enable_customize, 2000);
  2951. }
  2952. }
  2953. }
  2954. function BrowseMorePanels()
  2955. {
  2956. var url = '';
  2957. - var browser_url = "chrome://navigator/content/navigator.xul";
  2958. + var browser_url = "chrome://navigator/content/navigator.xhtml";
  2959. var locale;
  2960. try {
  2961. url = Services.prefs.getCharPref("sidebar.customize.directory.url");
  2962. var temp = Services.prefs.getCharPref("browser.chromeURL");
  2963. if (temp)
  2964. browser_url = temp;
  2965. } catch(ex) {
  2966. debug("Unable to get prefs: "+ex);
  2967. diff --git a/suite/components/sidebar/content/sidebarOverlay.xhtml b/suite/components/sidebar/content/sidebarOverlay.xhtml
  2968. --- a/suite/components/sidebar/content/sidebarOverlay.xhtml
  2969. +++ b/suite/components/sidebar/content/sidebarOverlay.xhtml
  2970. @@ -22,38 +22,38 @@
  2971. <!-- Overlay of broadcasterset to get our panels in -->
  2972. <broadcasterset id="mainBroadcasterSet">
  2973. <broadcaster id="viewBookmarksSidebar"
  2974. autoCheck="false"
  2975. type="checkbox"
  2976. group="sidebar"
  2977. sidebartitle="&sidebar.client-bookmarks.label;"
  2978. - sidebarurl="chrome://communicator/content/bookmarks/bookmarksPanel.xul"
  2979. + sidebarurl="chrome://communicator/content/bookmarks/bookmarksPanel.xhtml"
  2980. oncommand="toggleSidebar('viewBookmarksSidebar');"/>
  2981. <broadcaster id="viewHistorySidebar"
  2982. autoCheck="false"
  2983. type="checkbox"
  2984. group="sidebar"
  2985. sidebartitle="&sidebar.client-history.label;"
  2986. - sidebarurl="chrome://communicator/content/history/history-panel.xul"
  2987. + sidebarurl="chrome://communicator/content/history/history-panel.xhtml"
  2988. oncommand="toggleSidebar('viewHistorySidebar');"/>
  2989. <broadcaster id="viewSearchSidebar"
  2990. autoCheck="false"
  2991. type="checkbox"
  2992. group="sidebar"
  2993. sidebartitle="&sidebar.search.label;"
  2994. - sidebarurl="chrome://communicator/content/search/search-panel.xul"
  2995. + sidebarurl="chrome://communicator/content/search/search-panel.xhtml"
  2996. oncommand="toggleSidebar('viewSearchSidebar');"/>
  2997. <broadcaster id="viewAddressbookSidebar"
  2998. autoCheck="false"
  2999. type="checkbox"
  3000. group="sidebar"
  3001. sidebartitle="&sidebar.client-addressbook.label;"
  3002. - sidebarurl="chrome://messenger/content/addressbook/addressbook-panel.xul"
  3003. + sidebarurl="chrome://messenger/content/addressbook/addressbook-panel.xhtml"
  3004. oncommand="toggleSidebar('viewAddressbookSidebar');"/>
  3005. </broadcasterset>
  3006. <command id="toggleSidebar" oncommand="SidebarShowHide();"/>
  3007. #ifndef XP_MACOSX
  3008. <key id="showHideSidebar"
  3009. keycode="VK_F9"
  3010. command="toggleSidebar"/>
  3011. diff --git a/suite/components/sidebar/jar.mn b/suite/components/sidebar/jar.mn
  3012. --- a/suite/components/sidebar/jar.mn
  3013. +++ b/suite/components/sidebar/jar.mn
  3014. @@ -1,16 +1,16 @@
  3015. # This Source Code Form is subject to the terms of the Mozilla Public
  3016. # License, v. 2.0. If a copy of the MPL was not distributed with this
  3017. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  3018. comm.jar:
  3019. content/communicator/sidebar/customize-panel.js (content/customize-panel.js)
  3020. - content/communicator/sidebar/customize-panel.xul (content/customize-panel.xul)
  3021. + content/communicator/sidebar/customize-panel.xhtml (content/customize-panel.xhtml)
  3022. content/communicator/sidebar/customize.js (content/customize.js)
  3023. - content/communicator/sidebar/customize.xul (content/customize.xul)
  3024. - content/communicator/sidebar/PageNotFound.xul (content/PageNotFound.xul)
  3025. + content/communicator/sidebar/customize.xhtml (content/customize.xhtml)
  3026. + content/communicator/sidebar/PageNotFound.xhtml (content/PageNotFound.xhtml)
  3027. content/communicator/sidebar/preview.js (content/preview.js)
  3028. - content/communicator/sidebar/preview.xul (content/preview.xul)
  3029. + content/communicator/sidebar/preview.xhtml (content/preview.xhtml)
  3030. content/communicator/sidebar/sidebarBindings.xml (content/sidebarBindings.xml)
  3031. content/communicator/sidebar/sidebarOverlay.css (content/sidebarOverlay.css)
  3032. content/communicator/sidebar/sidebarOverlay.js (content/sidebarOverlay.js)
  3033. -* content/communicator/sidebar/sidebarOverlay.xul (content/sidebarOverlay.xul)
  3034. +* content/communicator/sidebar/sidebarOverlay.xhtml (content/sidebarOverlay.xhtml)
  3035. diff --git a/suite/components/sync/content/syncUI.js b/suite/components/sync/content/syncUI.js
  3036. --- a/suite/components/sync/content/syncUI.js
  3037. +++ b/suite/components/sync/content/syncUI.js
  3038. @@ -247,28 +247,28 @@ var gSyncUI = {
  3039. //XXXzpao should be part of syncCommon.js - which we might want to make a module...
  3040. // To be fixed in a followup (bug 583366)
  3041. openSetup: function SUI_openSetup() {
  3042. let win = Services.wm.getMostRecentWindow("Weave:AccountSetup");
  3043. if (win)
  3044. win.focus();
  3045. else {
  3046. - window.openDialog("chrome://communicator/content/sync/syncSetup.xul",
  3047. + window.openDialog("chrome://communicator/content/sync/syncSetup.xhtml",
  3048. "weaveSetup", "centerscreen,chrome,resizable=no");
  3049. }
  3050. },
  3051. openQuotaDialog: function SUI_openQuotaDialog() {
  3052. let win = Services.wm.getMostRecentWindow("Sync:ViewQuota");
  3053. if (win)
  3054. win.focus();
  3055. else
  3056. Services.ww.activeWindow.openDialog(
  3057. - "chrome://communicator/content/sync/syncQuota.xul", "",
  3058. + "chrome://communicator/content/sync/syncQuota.xhtml", "",
  3059. "centerscreen,chrome,dialog,modal");
  3060. },
  3061. openPrefs: function SUI_openPrefs() {
  3062. goPreferences("sync_pane");
  3063. },
  3064. diff --git a/suite/components/sync/content/syncUtils.js b/suite/components/sync/content/syncUtils.js
  3065. --- a/suite/components/sync/content/syncUtils.js
  3066. +++ b/suite/components/sync/content/syncUtils.js
  3067. @@ -22,17 +22,17 @@ var gSyncUtils = {
  3068. // Just re-show the dialog if it's already open
  3069. let openedDialog = Services.wm.getMostRecentWindow("Sync:" + type);
  3070. if (openedDialog != null) {
  3071. openedDialog.focus();
  3072. return;
  3073. }
  3074. // Open up the change dialog
  3075. - let changeXUL = "chrome://communicator/content/sync/syncGenericChange.xul";
  3076. + let changeXUL = "chrome://communicator/content/sync/syncGenericChange.xhtml";
  3077. let changeOpt = "centerscreen,chrome,resizable=no";
  3078. Services.ww.activeWindow.openDialog(changeXUL, "", changeOpt,
  3079. type, duringSetup);
  3080. },
  3081. changePassword: function () {
  3082. if (Weave.Utils.ensureMPUnlocked())
  3083. this.openChange("ChangePassword");
  3084. diff --git a/suite/components/sync/jar.mn b/suite/components/sync/jar.mn
  3085. --- a/suite/components/sync/jar.mn
  3086. +++ b/suite/components/sync/jar.mn
  3087. @@ -1,21 +1,21 @@
  3088. # This Source Code Form is subject to the terms of the Mozilla Public
  3089. # License, v. 2.0. If a copy of the MPL was not distributed with this
  3090. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  3091. comm.jar:
  3092. - content/communicator/aboutSyncTabs.xul (content/aboutSyncTabs.xul)
  3093. + content/communicator/aboutSyncTabs.xhtml (content/aboutSyncTabs.xhtml)
  3094. content/communicator/aboutSyncTabs.js (content/aboutSyncTabs.js)
  3095. content/communicator/aboutSyncTabs.css (content/aboutSyncTabs.css)
  3096. content/communicator/aboutSyncTabs-bindings.xml (content/aboutSyncTabs-bindings.xml)
  3097. - content/communicator/sync/syncAddDevice.xul (content/syncAddDevice.xul)
  3098. + content/communicator/sync/syncAddDevice.xhtml (content/syncAddDevice.xhtml)
  3099. content/communicator/sync/syncAddDevice.js (content/syncAddDevice.js)
  3100. - content/communicator/sync/syncSetup.xul (content/syncSetup.xul)
  3101. + content/communicator/sync/syncSetup.xhtml (content/syncSetup.xhtml)
  3102. content/communicator/sync/syncSetup.js (content/syncSetup.js)
  3103. - content/communicator/sync/syncGenericChange.xul (content/syncGenericChange.xul)
  3104. + content/communicator/sync/syncGenericChange.xhtml (content/syncGenericChange.xhtml)
  3105. content/communicator/sync/syncGenericChange.js (content/syncGenericChange.js)
  3106. content/communicator/sync/syncKey.xhtml (content/syncKey.xhtml)
  3107. content/communicator/sync/syncNotification.xml (content/syncNotification.xml)
  3108. - content/communicator/sync/syncQuota.xul (content/syncQuota.xul)
  3109. + content/communicator/sync/syncQuota.xhtml (content/syncQuota.xhtml)
  3110. content/communicator/sync/syncQuota.js (content/syncQuota.js)
  3111. content/communicator/sync/syncUtils.js (content/syncUtils.js)
  3112. content/communicator/sync/syncUI.js (content/syncUI.js)
  3113. diff --git a/suite/components/tests/browser/browser_bug431826.js b/suite/components/tests/browser/browser_bug431826.js
  3114. --- a/suite/components/tests/browser/browser_bug431826.js
  3115. +++ b/suite/components/tests/browser/browser_bug431826.js
  3116. @@ -15,28 +15,28 @@ function testBrokenCert() {
  3117. ok(/^about:certerror/.test(gBrowser.contentDocument.documentURI), "Broken page should go to about:certerror, not about:neterror");
  3118. // Confirm that the expert section is collapsed
  3119. var expertDiv = gBrowser.contentDocument.getElementById("expertContent");
  3120. ok(expertDiv, "Expert content div should exist");
  3121. ok(expertDiv.hasAttribute("collapsed"), "Expert content should be collapsed by default");
  3122. // Tweak the expert mode pref
  3123. - Services.prefs.setBoolPref("browser.xul.error_pages.expert_bad_cert", true);
  3124. + Services.prefs.setBoolPref("browser.xhtml.error_pages.expert_bad_cert", true);
  3125. window.addEventListener("DOMContentLoaded", testExpertPref, true);
  3126. getBrowser().reload();
  3127. }
  3128. function testExpertPref() {
  3129. window.removeEventListener("DOMContentLoaded", testExpertPref, true);
  3130. var expertDiv = gBrowser.contentDocument.getElementById("expertContent");
  3131. var technicalDiv = gBrowser.contentDocument.getElementById("technicalContent");
  3132. ok(!expertDiv.hasAttribute("collapsed"), "Expert content should not be collapsed with the expert mode pref set");
  3133. ok(!technicalDiv.hasAttribute("collapsed"), "Technical content should not be collapsed with the expert mode pref set");
  3134. // Clean up
  3135. getBrowser().removeCurrentTab();
  3136. - if (Services.prefs.prefHasUserValue("browser.xul.error_pages.expert_bad_cert"))
  3137. - Services.prefs.clearUserPref("browser.xul.error_pages.expert_bad_cert");
  3138. + if (Services.prefs.prefHasUserValue("browser.xhtml.error_pages.expert_bad_cert"))
  3139. + Services.prefs.clearUserPref("browser.xhtml.error_pages.expert_bad_cert");
  3140. finish();
  3141. }
  3142. diff --git a/suite/components/tests/chrome/chrome.ini b/suite/components/tests/chrome/chrome.ini
  3143. --- a/suite/components/tests/chrome/chrome.ini
  3144. +++ b/suite/components/tests/chrome/chrome.ini
  3145. @@ -1,4 +1,4 @@
  3146. [DEFAULT]
  3147. -[test_idcheck.xul]
  3148. +[test_idcheck.xhtml]
  3149. support-files = ../../../../mailnews/test/resources/mailTestUtils.js
  3150. diff --git a/suite/components/tests/chrome/test_idcheck.xhtml b/suite/components/tests/chrome/test_idcheck.xhtml
  3151. --- a/suite/components/tests/chrome/test_idcheck.xhtml
  3152. +++ b/suite/components/tests/chrome/test_idcheck.xhtml
  3153. @@ -213,69 +213,69 @@
  3154. // "chrome://uri/of/xul.window":
  3155. // [
  3156. // check function,
  3157. // array of IDs to be ignored during in the test
  3158. // ],
  3159. var uriList =
  3160. {
  3161. // Preferences
  3162. - "chrome://communicator/content/pref/preferences.xul":
  3163. + "chrome://communicator/content/pref/preferences.xhtml":
  3164. [
  3165. window.CheckPreferences,
  3166. []
  3167. ],
  3168. // Browser
  3169. - "chrome://navigator/content/navigator.xul":
  3170. + "chrome://navigator/content/navigator.xhtml":
  3171. [
  3172. window.CheckGenerics,
  3173. ["contentAreaContextSet"]
  3174. ],
  3175. // MailNews (needs at least one mail account)
  3176. - "chrome://messenger/content/messenger.xul":
  3177. + "chrome://messenger/content/messenger.xhtml":
  3178. [
  3179. window.CheckGenerics,
  3180. []
  3181. ],
  3182. - "chrome://messenger/content/messageWindow.xul":
  3183. + "chrome://messenger/content/messageWindow.xhtml":
  3184. [
  3185. window.CheckGenerics,
  3186. []
  3187. ],
  3188. - "chrome://messenger/content/messengercompose/messengercompose.xul":
  3189. + "chrome://messenger/content/messengercompose/messengercompose.xhtml":
  3190. [
  3191. window.CheckGenerics,
  3192. []
  3193. ],
  3194. // Addressbook (needs at least one mail account)
  3195. - "chrome://messenger/content/addressbook/addressbook.xul":
  3196. + "chrome://messenger/content/addressbook/addressbook.xhtml":
  3197. [
  3198. window.CheckGenerics,
  3199. []
  3200. ],
  3201. // Composer
  3202. - "chrome://editor/content/editor.xul":
  3203. + "chrome://editor/content/editor.xhtml":
  3204. [
  3205. window.CheckGenerics,
  3206. []
  3207. ],
  3208. // Error Console
  3209. - "chrome://communicator/content/console/console.xul":
  3210. + "chrome://communicator/content/console/console.xhtml":
  3211. [
  3212. window.CheckGenerics,
  3213. []
  3214. ],
  3215. // Chatzilla
  3216. - "chrome://chatzilla/content/chatzilla.xul":
  3217. + "chrome://chatzilla/content/chatzilla.xhtml":
  3218. [
  3219. window.CheckGenerics,
  3220. []
  3221. ],
  3222. };
  3223. // run test
  3224. for (var uri in uriList)
  3225. diff --git a/suite/extensions/debugQA/content/debugQAEditorOverlay.js b/suite/extensions/debugQA/content/debugQAEditorOverlay.js
  3226. --- a/suite/extensions/debugQA/content/debugQAEditorOverlay.js
  3227. +++ b/suite/extensions/debugQA/content/debugQAEditorOverlay.js
  3228. @@ -187,14 +187,14 @@ function ExecuteJSTransactionViaEditor()
  3229. editor.doTransaction(txn);
  3230. } catch (e) {
  3231. dump("ExecuteJSTransactionViaEditor() failed!");
  3232. }
  3233. }
  3234. function EditorNewPlaintext(aUrl, aCharsetArg)
  3235. {
  3236. - window.openDialog( "chrome://debugqa/content/debugQATextEditorShell.xul",
  3237. + window.openDialog( "chrome://debugqa/content/debugQATextEditorShell.xhtml",
  3238. "_blank",
  3239. "chrome,dialog=no,all",
  3240. aUrl || "about:blank",
  3241. aCharsetArg);
  3242. }
  3243. diff --git a/suite/extensions/debugQA/content/debugQAMenuOverlay.xhtml b/suite/extensions/debugQA/content/debugQAMenuOverlay.xhtml
  3244. --- a/suite/extensions/debugQA/content/debugQAMenuOverlay.xhtml
  3245. +++ b/suite/extensions/debugQA/content/debugQAMenuOverlay.xhtml
  3246. @@ -53,17 +53,17 @@
  3247. oncommand="openQAUrl('https://www-archive.mozilla.org/newlayout/samples/test16.html');"/>
  3248. </menupopup>
  3249. </menu>
  3250. <!-- XBL Test Suite all broken -->
  3251. <menu label="XBL Test Suite" hidden="true" disabled="true">
  3252. <menupopup>
  3253. <menuitem label="#0 Remote XBL"
  3254. - oncommand="openQAUrl('https://www-archive.mozilla.org/projects/xbl/test0/test.xul');"/>
  3255. + oncommand="openQAUrl('https://www-archive.mozilla.org/projects/xbl/test0/test.xhtml');"/>
  3256. <menuitem label="#1 Technicolor DIV"
  3257. oncommand="openQAUrl('https://www-archive.mozilla.org/projects/xbl/test1/test.html');"/>
  3258. <menuitem label="#2 Rollover Madness"
  3259. oncommand="openQAUrl('https://www-archive.mozilla.org/projects/xbl/test2/test.html');"/>
  3260. <menuitem label="#3 Popups in HTML"
  3261. oncommand="openQAUrl('https://www-archive.mozilla.org/projects/xbl/test3/test.html');"/>
  3262. <menuitem label="#4 Partition Magic"
  3263. oncommand="openQAUrl('https://www-archive.mozilla.org/projects/xbl/test4/test.html');"/>
  3264. diff --git a/suite/extensions/debugQA/content/debugQATextEditorShell.xhtml b/suite/extensions/debugQA/content/debugQATextEditorShell.xhtml
  3265. --- a/suite/extensions/debugQA/content/debugQATextEditorShell.xhtml
  3266. +++ b/suite/extensions/debugQA/content/debugQATextEditorShell.xhtml
  3267. @@ -1,24 +1,24 @@
  3268. <?xml version="1.0"?>
  3269. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3270. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3271. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3272. <?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
  3273. <?xml-stylesheet href="chrome://editor/skin/editorPrimaryToolbar.css" type="text/css"?>
  3274. -<?xul-overlay href="chrome://editor/content/editorOverlay.xul"?>
  3275. -<?xul-overlay href="chrome://editor/content/editingOverlay.xul"?>
  3276. -<?xul-overlay href="chrome://communicator/content/charsetOverlay.xul"?>
  3277. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  3278. -<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  3279. -<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
  3280. -<?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xul"?>
  3281. -<?xul-overlay href="chrome://debugQA/content/debugQAEditorOverlay.xul"?>
  3282. +<?xul-overlay href="chrome://editor/content/editorOverlay.xhtml"?>
  3283. +<?xul-overlay href="chrome://editor/content/editingOverlay.xhtml"?>
  3284. +<?xul-overlay href="chrome://communicator/content/charsetOverlay.xhtml"?>
  3285. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  3286. +<?xul-overlay href="chrome://communicator/content/tasksOverlay.xhtml"?>
  3287. +<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xhtml"?>
  3288. +<?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xhtml"?>
  3289. +<?xul-overlay href="chrome://debugQA/content/debugQAEditorOverlay.xhtml"?>
  3290. <!DOCTYPE window [
  3291. <!ENTITY % debugQAEditorOverlayDTD SYSTEM "chrome://debugqa/locale/debugQAEditorOverlay.dtd">
  3292. %debugQAEditorOverlayDTD;
  3293. <!ENTITY % editorDTD SYSTEM "chrome://editor/locale/editor.dtd">
  3294. %editorDTD;
  3295. <!ENTITY % editorOverlayDTD SYSTEM "chrome://editor/locale/editorOverlay.dtd">
  3296. %editorOverlayDTD;
  3297. @@ -158,17 +158,17 @@
  3298. </toolbar>
  3299. <toolbarset id="customToolbars" context="toolbar-context-menu"/>
  3300. <toolbarpalette id="EditToolbarPalette"/>
  3301. </toolbox>
  3302. <hbox id="sidebar-parent" flex="1">
  3303. - <!-- From sidebarOverlay.xul -->
  3304. + <!-- From sidebarOverlay.xhtml -->
  3305. <vbox id="sidebar-box" class="chromeclass-extrachrome" hidden="true"/>
  3306. <splitter id="sidebar-splitter" class="chromeclass-extrachrome" hidden="true"/>
  3307. <vbox id="appcontent" flex="1">
  3308. <findbar id="FindToolbar" browserid="content-frame"/>
  3309. <editor editortype="text"
  3310. type="content"
  3311. primary="true"
  3312. id="content-frame"
  3313. diff --git a/suite/extensions/debugQA/jar.mn b/suite/extensions/debugQA/jar.mn
  3314. --- a/suite/extensions/debugQA/jar.mn
  3315. +++ b/suite/extensions/debugQA/jar.mn
  3316. @@ -1,16 +1,16 @@
  3317. # This Source Code Form is subject to the terms of the Mozilla Public
  3318. # License, v. 2.0. If a copy of the MPL was not distributed with this
  3319. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  3320. [extensions/debugQA@mozilla.org] debugqa.jar:
  3321. % content debugqa %content/debugqa/
  3322. -% overlay chrome://navigator/content/navigatorOverlay.xul chrome://debugqa/content/debugQAMenuOverlay.xul
  3323. -% overlay chrome://editor/content/editor.xul chrome://debugqa/content/debugQAEditorOverlay.xul
  3324. -% overlay chrome://navigator/content/navigator.xul chrome://debugqa/content/debugQANavigatorOverlay.xul
  3325. +% overlay chrome://navigator/content/navigatorOverlay.xhtml chrome://debugqa/content/debugQAMenuOverlay.xhtml
  3326. +% overlay chrome://editor/content/editor.xhtml chrome://debugqa/content/debugQAEditorOverlay.xhtml
  3327. +% overlay chrome://navigator/content/navigator.xhtml chrome://debugqa/content/debugQANavigatorOverlay.xhtml
  3328. content/debugqa/debugQAEditorOverlay.js (content/debugQAEditorOverlay.js)
  3329. - content/debugqa/debugQAEditorOverlay.xul (content/debugQAEditorOverlay.xul)
  3330. + content/debugqa/debugQAEditorOverlay.xhtml (content/debugQAEditorOverlay.xhtml)
  3331. content/debugqa/debugQAMenuOverlay.js (content/debugQAMenuOverlay.js)
  3332. - content/debugqa/debugQAMenuOverlay.xul (content/debugQAMenuOverlay.xul)
  3333. - content/debugqa/debugQANavigatorOverlay.xul (content/debugQANavigatorOverlay.xul)
  3334. - content/debugqa/debugQATextEditorShell.xul (content/debugQATextEditorShell.xul)
  3335. + content/debugqa/debugQAMenuOverlay.xhtml (content/debugQAMenuOverlay.xhtml)
  3336. + content/debugqa/debugQANavigatorOverlay.xhtml (content/debugQANavigatorOverlay.xhtml)
  3337. + content/debugqa/debugQATextEditorShell.xhtml (content/debugQATextEditorShell.xhtml)
  3338. content/debugqa/EditorInitPage.html (content/EditorInitPage.html)
  3339. diff --git a/suite/installer/allowed-dupes.mn b/suite/installer/allowed-dupes.mn
  3340. --- a/suite/installer/allowed-dupes.mn
  3341. +++ b/suite/installer/allowed-dupes.mn
  3342. @@ -220,18 +220,18 @@ extensions/modern@themes.mozilla.org/chr
  3343. chrome/toolkit/skin/classic/mozapps/plugins/contentPluginCrashed.png
  3344. extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/mozapps/extensions/category-dictionaries.png
  3345. extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/mozapps/extensions/dictionaryGeneric.png
  3346. chrome/toolkit/skin/classic/mozapps/extensions/dictionaryGeneric.png
  3347. extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/messenger/icons/new-mail-alert.png
  3348. chrome/classic/skin/classic/messenger/icons/new-mail-alert.png
  3349. extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/navigator/webDeveloper.css
  3350. chrome/classic/skin/classic/navigator/webDeveloper.css
  3351. -chrome/comm/content/communicator/places/bookmarkProperties.xul
  3352. -chrome/comm/content/communicator/places/bookmarkProperties2.xul
  3353. +chrome/comm/content/communicator/places/bookmarkProperties.xhtml
  3354. +chrome/comm/content/communicator/places/bookmarkProperties2.xhtml
  3355. extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/communicator/icons/audioFeedIcon.png
  3356. extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/communicator/icons/feedIcon.png
  3357. extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/communicator/icons/videoFeedIcon.png
  3358. chrome/classic/skin/classic/communicator/icons/audioFeedIcon.png
  3359. chrome/classic/skin/classic/communicator/icons/feedIcon.png
  3360. chrome/classic/skin/classic/communicator/icons/videoFeedIcon.png
  3361. extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/communicator/brand/throbber-single.png
  3362. chrome/classic/skin/classic/communicator/brand/throbber-single.png
  3363. diff --git a/suite/locales/en-US/chrome/browser/navigator.dtd b/suite/locales/en-US/chrome/browser/navigator.dtd
  3364. --- a/suite/locales/en-US/chrome/browser/navigator.dtd
  3365. +++ b/suite/locales/en-US/chrome/browser/navigator.dtd
  3366. @@ -1,13 +1,13 @@
  3367. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3368. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3369. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3370. -<!-- extracted from content/navigator.xul -->
  3371. +<!-- extracted from content/navigator.xhtml -->
  3372. <!-- LOCALIZATION NOTE : FILE This file contains the browser main menu items -->
  3373. <!-- LOCALIZATION NOTE : FILE Do not translate commandkeys -->
  3374. <!-- LOCALIZATION NOTE (mainWindow.title): DONT_TRANSLATE -->
  3375. <!ENTITY mainWindow.title "&brandShortName;">
  3376. <!-- LOCALIZATION NOTE (mainWindow.titlemodifier) : DONT_TRANSLATE -->
  3377. <!ENTITY mainWindow.titlemodifier "&brandShortName;">
  3378. diff --git a/suite/locales/en-US/chrome/common/openLocation.dtd b/suite/locales/en-US/chrome/common/openLocation.dtd
  3379. --- a/suite/locales/en-US/chrome/common/openLocation.dtd
  3380. +++ b/suite/locales/en-US/chrome/common/openLocation.dtd
  3381. @@ -1,13 +1,13 @@
  3382. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3383. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3384. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3385. -<!-- extracted from content/openLocation.xul -->
  3386. +<!-- extracted from content/openLocation.xhtml -->
  3387. <!ENTITY enter.label "Enter the web location (URL), or specify the local file you would like to open:">
  3388. <!-- LOCALIZATION NOTE (enter.accesskey): should be present in both enter.label
  3389. as defined above and attachEnterLabel as defined in
  3390. openLocation.properties -->
  3391. <!ENTITY enter.accesskey "E">
  3392. <!ENTITY chooseFile.label "Choose File…">
  3393. <!ENTITY chooseFile.accesskey "C">
  3394. diff --git a/suite/locales/en-US/chrome/common/pref/pref-cache.dtd b/suite/locales/en-US/chrome/common/pref/pref-cache.dtd
  3395. --- a/suite/locales/en-US/chrome/common/pref/pref-cache.dtd
  3396. +++ b/suite/locales/en-US/chrome/common/pref/pref-cache.dtd
  3397. @@ -1,13 +1,13 @@
  3398. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3399. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3400. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3401. -<!-- extracted from content/pref-cache.xul -->
  3402. +<!-- extracted from content/pref-cache.xhtml -->
  3403. <!--LOCALIZATION NOTE : FILE Cache prefs dialog -->
  3404. <!ENTITY pref.cache.title "Cache">
  3405. <!ENTITY pref.cache.caption "Set Cache Options">
  3406. <!ENTITY cachePara "The cache keeps copies of frequently visited web pages on your hard disk. (Clicking Reload always shows you the latest version of a page.)">
  3407. <!ENTITY cacheCheck.label "Let &brandShortName; manage the size of my cache">
  3408. <!ENTITY cacheCheck.accesskey "L">
  3409. <!ENTITY diskCacheUpTo.label "Use up to">
  3410. diff --git a/suite/locales/en-US/chrome/common/pref/pref-colors.dtd b/suite/locales/en-US/chrome/common/pref/pref-colors.dtd
  3411. --- a/suite/locales/en-US/chrome/common/pref/pref-colors.dtd
  3412. +++ b/suite/locales/en-US/chrome/common/pref/pref-colors.dtd
  3413. @@ -1,13 +1,13 @@
  3414. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3415. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3416. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3417. -<!-- extracted from content/pref-colors.xul -->
  3418. +<!-- extracted from content/pref-colors.xhtml -->
  3419. <!-- LOCALIZATION NOTE : FILE Color management prefs -->
  3420. <!ENTITY pref.colors.title "Colors">
  3421. <!ENTITY color "Text and Background">
  3422. <!ENTITY textColor.label "Text:">
  3423. <!ENTITY textColor.accesskey "T">
  3424. <!ENTITY backgroundColor.label "Background:">
  3425. <!ENTITY backgroundColor.accesskey "B">
  3426. diff --git a/suite/locales/en-US/chrome/common/pref/pref-debugging.dtd b/suite/locales/en-US/chrome/common/pref/pref-debugging.dtd
  3427. --- a/suite/locales/en-US/chrome/common/pref/pref-debugging.dtd
  3428. +++ b/suite/locales/en-US/chrome/common/pref/pref-debugging.dtd
  3429. @@ -1,13 +1,13 @@
  3430. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3431. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3432. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3433. -<!-- extracted from pref-eventdebugging.xul -->
  3434. +<!-- extracted from pref-eventdebugging.xhtml -->
  3435. <!ENTITY pref.debugging.title "Debugging">
  3436. <!-- Render Debugging -->
  3437. <!ENTITY debugRendering.label "Rendering">
  3438. <!ENTITY debugXULBox.label "Debug XUL boxes">
  3439. <!ENTITY debugXULBox.accesskey "X">
  3440. <!ENTITY debugDisableXULCache.label "Disable XUL Cache">
  3441. diff --git a/suite/locales/en-US/chrome/common/pref/pref-fonts.dtd b/suite/locales/en-US/chrome/common/pref/pref-fonts.dtd
  3442. --- a/suite/locales/en-US/chrome/common/pref/pref-fonts.dtd
  3443. +++ b/suite/locales/en-US/chrome/common/pref/pref-fonts.dtd
  3444. @@ -1,13 +1,13 @@
  3445. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3446. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3447. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3448. -<!-- extracted from content/pref-fonts.xul -->
  3449. +<!-- extracted from content/pref-fonts.xhtml -->
  3450. <!-- LOCALIZATION NOTE : FILE 'Fonts' prefs dialog -->
  3451. <!ENTITY pref.fonts.title "Fonts">
  3452. <!ENTITY language.label "Fonts for:">
  3453. <!ENTITY language.accesskey "t">
  3454. <!ENTITY typefaces.label "Typeface">
  3455. diff --git a/suite/locales/en-US/chrome/common/pref/pref-media.dtd b/suite/locales/en-US/chrome/common/pref/pref-media.dtd
  3456. --- a/suite/locales/en-US/chrome/common/pref/pref-media.dtd
  3457. +++ b/suite/locales/en-US/chrome/common/pref/pref-media.dtd
  3458. @@ -1,13 +1,13 @@
  3459. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3460. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3461. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3462. -<!-- extracted from content/pref-media.xul -->
  3463. +<!-- extracted from content/pref-media.xhtml -->
  3464. <!-- LOCALIZATION NOTE : FILE Media management prefs -->
  3465. <!ENTITY pref.media.title "Media">
  3466. <!ENTITY mediaHTML5Preferences.label "Audio/Video">
  3467. <!ENTITY allowMediaAutoplay.label "Enable Autoplay of HTML5 media content">
  3468. <!ENTITY allowMediaAutoplay.accesskey "A">
  3469. <!ENTITY enableDrmMedia.label "Enable Digital Rights Management for">
  3470. diff --git a/suite/locales/en-US/chrome/common/pref/pref-offlineapps.dtd b/suite/locales/en-US/chrome/common/pref/pref-offlineapps.dtd
  3471. --- a/suite/locales/en-US/chrome/common/pref/pref-offlineapps.dtd
  3472. +++ b/suite/locales/en-US/chrome/common/pref/pref-offlineapps.dtd
  3473. @@ -1,12 +1,12 @@
  3474. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3475. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3476. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3477. -<!-- extracted from content/pref-offlineapps.xul -->
  3478. +<!-- extracted from content/pref-offlineapps.xhtml -->
  3479. <!--LOCALIZATION NOTE : FILE Offline Apps prefs dialog -->
  3480. <!ENTITY pref.offlineapps.title "Offline Web Applications">
  3481. <!ENTITY pref.offlineCache.caption "Offline Web Content and User Data">
  3482. <!ENTITY clearOfflineAppCache.label "Clear">
  3483. <!ENTITY clearOfflineAppCache.accesskey "C">
  3484. diff --git a/suite/locales/en-US/chrome/common/pref/pref-proxies.dtd b/suite/locales/en-US/chrome/common/pref/pref-proxies.dtd
  3485. --- a/suite/locales/en-US/chrome/common/pref/pref-proxies.dtd
  3486. +++ b/suite/locales/en-US/chrome/common/pref/pref-proxies.dtd
  3487. @@ -1,13 +1,13 @@
  3488. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3489. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3490. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3491. -<!-- extracted from content/pref-proxies.xul -->
  3492. +<!-- extracted from content/pref-proxies.xhtml -->
  3493. <!--LOCALIZATION NOTE : FILE The Proxies preferences dialog -->
  3494. <!ENTITY pref.proxies.title "Proxies">
  3495. <!ENTITY pref.proxies.desc "A Proxy is a network service that can filter and speed up your Internet connection.">
  3496. <!ENTITY proxyTitle.label "Configure Proxies to Access the Internet">
  3497. <!ENTITY directTypeRadio.label "Direct connection to the Internet">
  3498. <!ENTITY directTypeRadio.accesskey "D">
  3499. <!ENTITY systemTypeRadio.label "Use system proxy settings">
  3500. diff --git a/suite/locales/en-US/chrome/common/pref/pref-scripts.dtd b/suite/locales/en-US/chrome/common/pref/pref-scripts.dtd
  3501. --- a/suite/locales/en-US/chrome/common/pref/pref-scripts.dtd
  3502. +++ b/suite/locales/en-US/chrome/common/pref/pref-scripts.dtd
  3503. @@ -1,13 +1,13 @@
  3504. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3505. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3506. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3507. -<!-- extracted from content/pref-scripts.xul -->
  3508. +<!-- extracted from content/pref-scripts.xhtml -->
  3509. <!--LOCALIZATION NOTE : FILE The 'Scripts' preferences dialog -->
  3510. <!ENTITY pref.scripts2.title "Scripts">
  3511. <!ENTITY navigator.label "Browser">
  3512. <!ENTITY navigator.accesskey "B">
  3513. <!--LOCALIZATION NOTE (enableJavaScript.label): 'JavaScript' should never be translated -->
  3514. diff --git a/suite/locales/en-US/chrome/common/pref/pref-search.dtd b/suite/locales/en-US/chrome/common/pref/pref-search.dtd
  3515. --- a/suite/locales/en-US/chrome/common/pref/pref-search.dtd
  3516. +++ b/suite/locales/en-US/chrome/common/pref/pref-search.dtd
  3517. @@ -1,13 +1,13 @@
  3518. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3519. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3520. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3521. -<!-- extracted from content/pref-search.xul -->
  3522. +<!-- extracted from content/pref-search.xhtml -->
  3523. <!-- LOCALIZATION NOTE : FILE The Search prefs dialog -->
  3524. <!ENTITY pref.search.title "Internet Search">
  3525. <!ENTITY legendHeader "Default Search Engine">
  3526. <!ENTITY defaultSearchEngine.label "Search using:">
  3527. <!ENTITY defaultSearchEngine.accesskey "S">
  3528. diff --git a/suite/locales/en-US/chrome/common/sidebar/customize.dtd b/suite/locales/en-US/chrome/common/sidebar/customize.dtd
  3529. --- a/suite/locales/en-US/chrome/common/sidebar/customize.dtd
  3530. +++ b/suite/locales/en-US/chrome/common/sidebar/customize.dtd
  3531. @@ -1,13 +1,13 @@
  3532. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3533. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3534. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3535. -<!-- extracted from ./customize.xul -->
  3536. +<!-- extracted from ./customize.xhtml -->
  3537. <!ENTITY sidebar.customize.title "Customize Sidebar">
  3538. <!ENTITY sidebar.customize.current2.label "Tabs in Sidebar:">
  3539. <!ENTITY sidebar.customize.current2.accesskey "T">
  3540. <!ENTITY sidebar.customize.customize.label "Customize Tab…">
  3541. <!ENTITY sidebar.customize.customize.accesskey "C">
  3542. <!ENTITY sidebar.customize.remove.label "Remove">
  3543. <!ENTITY sidebar.customize.remove.accesskey "R">
  3544. diff --git a/suite/locales/en-US/chrome/common/tasksOverlay.dtd b/suite/locales/en-US/chrome/common/tasksOverlay.dtd
  3545. --- a/suite/locales/en-US/chrome/common/tasksOverlay.dtd
  3546. +++ b/suite/locales/en-US/chrome/common/tasksOverlay.dtd
  3547. @@ -1,13 +1,13 @@
  3548. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3549. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3550. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3551. -<!-- extracted from tasksOverlay.xul -->
  3552. +<!-- extracted from tasksOverlay.xhtml -->
  3553. <!ENTITY minimizeWindowCmd.label "Minimize">
  3554. <!ENTITY minimizeWindowCmd.key "M">
  3555. <!ENTITY zoomWindowCmd.label "Zoom">
  3556. <!ENTITY navigatorCmd.label "Browser">
  3557. <!ENTITY navigatorCmd.accesskey "B">
  3558. <!ENTITY navigatorCmd.commandkey "1">
  3559. <!-- LOCALIZATION NOTE (editorCmd.label): DONT_TRANSLATE -->
  3560. diff --git a/suite/locales/en-US/chrome/common/utilityOverlay.dtd b/suite/locales/en-US/chrome/common/utilityOverlay.dtd
  3561. --- a/suite/locales/en-US/chrome/common/utilityOverlay.dtd
  3562. +++ b/suite/locales/en-US/chrome/common/utilityOverlay.dtd
  3563. @@ -1,13 +1,13 @@
  3564. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3565. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3566. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3567. -<!-- these things need to move into utilityOverlay.xul -->
  3568. +<!-- these things need to move into utilityOverlay.xhtml -->
  3569. <!ENTITY offlineGoOfflineCmd.label "Work Offline">
  3570. <!ENTITY offlineGoOfflineCmd.accesskey "k">
  3571. <!-- LOCALIZATION NOTE : FILE This file contains the global menu items -->
  3572. <!ENTITY fileMenu.label "File">
  3573. <!ENTITY fileMenu.accesskey "F">
  3574. <!ENTITY newMenu.label "New">
  3575. diff --git a/suite/locales/en-US/chrome/mailnews/SearchDialog.dtd b/suite/locales/en-US/chrome/mailnews/SearchDialog.dtd
  3576. --- a/suite/locales/en-US/chrome/mailnews/SearchDialog.dtd
  3577. +++ b/suite/locales/en-US/chrome/mailnews/SearchDialog.dtd
  3578. @@ -1,13 +1,13 @@
  3579. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3580. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3581. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3582. -<!-- for SearchDialog.xul -->
  3583. +<!-- for SearchDialog.xhtml -->
  3584. <!ENTITY searchHeading.label "Search for messages in:">
  3585. <!ENTITY searchHeading.accesskey "e">
  3586. <!ENTITY searchSubfolders.label "Search subfolders">
  3587. <!ENTITY searchSubfolders.accesskey "u">
  3588. <!ENTITY searchOnHeading.label "Perform search operations on:">
  3589. <!ENTITY searchOnHeading.accesskey "P">
  3590. <!ENTITY searchOnRemote.label "Remote server">
  3591. <!ENTITY searchOnLocal.label "Local system">
  3592. @@ -23,16 +23,16 @@
  3593. <!ENTITY moveHereMenu.accesskey "H">
  3594. <!ENTITY moveButton.label "Move To">
  3595. <!ENTITY moveButton.accesskey "T">
  3596. <!ENTITY goToFolderButton.label "Open Message Folder">
  3597. <!ENTITY goToFolderButton.accesskey "n">
  3598. <!ENTITY saveAsVFButton.label "Save as Search Folder">
  3599. <!ENTITY saveAsVFButton.accesskey "v">
  3600. -<!-- for ABSearchDialog.xul -->
  3601. +<!-- for ABSearchDialog.xhtml -->
  3602. <!ENTITY abSearchHeading.label "Search in:">
  3603. <!ENTITY abSearchHeading.accesskey "e">
  3604. <!ENTITY propertiesButton.label "Properties">
  3605. <!ENTITY propertiesButton.accesskey "P">
  3606. <!ENTITY composeButton.label "Compose">
  3607. <!ENTITY composeButton.accesskey "o">
  3608. <!ENTITY abSearchDialogTitle.label "Advanced Address Book Search">
  3609. diff --git a/suite/locales/en-US/chrome/mailnews/messenger.properties b/suite/locales/en-US/chrome/mailnews/messenger.properties
  3610. --- a/suite/locales/en-US/chrome/mailnews/messenger.properties
  3611. +++ b/suite/locales/en-US/chrome/mailnews/messenger.properties
  3612. @@ -296,17 +296,17 @@ the server for reading offline. To read
  3613. you must reconnect to the network, choose Offline from \
  3614. the File menu and then uncheck Work Offline. \
  3615. In the future, you can select which messages or folders to read offline. To do \
  3616. this, choose Offline from the file menu and then select Download/Sync Now. \
  3617. You can adjust the Disk Space preference to prevent the downloading of large \
  3618. messages.
  3619. # accountCentral
  3620. -mailnews.account_central_page.url=chrome://messenger/content/msgAccountCentral.xul
  3621. +mailnews.account_central_page.url=chrome://messenger/content/msgAccountCentral.xhtml
  3622. # LOCALIZATION NOTE(acctCentralTitleFormat): %1$S is brand, %2$S is account type, %3$S is account name
  3623. acctCentralTitleFormat=%1$S %2$S - %3$S
  3624. mailAcctType=Mail
  3625. newsAcctType=News
  3626. feedsAcctType=Feeds
  3627. # LOCALIZATION NOTE(nocachedbodytitle): Do not translate "<TITLE>" or "</TITLE>" in the line below
  3628. nocachedbodytitle=<TITLE>Go Online to View This Message</TITLE>\n
  3629. diff --git a/suite/locales/en-US/chrome/mailnews/msgPrintEngine.dtd b/suite/locales/en-US/chrome/mailnews/msgPrintEngine.dtd
  3630. --- a/suite/locales/en-US/chrome/mailnews/msgPrintEngine.dtd
  3631. +++ b/suite/locales/en-US/chrome/mailnews/msgPrintEngine.dtd
  3632. @@ -1,11 +1,11 @@
  3633. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3634. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3635. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3636. <!-- LOCALIZATION NOTE (printCmd.key, closeCmd.key):
  3637. - As defined in msgPrintEngine.xul, Ctrl plus the command keys defined here
  3638. + As defined in msgPrintEngine.xhtml, Ctrl plus the command keys defined here
  3639. will be the keyboard shortcuts effective in print preview, e.g. Ctrl+P
  3640. -->
  3641. <!ENTITY printCmd.key "P">
  3642. <!ENTITY closeCmd.key "W">
  3643. diff --git a/suite/locales/en-US/chrome/mailnews/msgSynchronize.dtd b/suite/locales/en-US/chrome/mailnews/msgSynchronize.dtd
  3644. --- a/suite/locales/en-US/chrome/mailnews/msgSynchronize.dtd
  3645. +++ b/suite/locales/en-US/chrome/mailnews/msgSynchronize.dtd
  3646. @@ -1,13 +1,13 @@
  3647. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3648. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3649. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3650. -<!-- extracted from MsgSynchronize.xul and msgSelectOfflineFolders.xul-->
  3651. +<!-- extracted from MsgSynchronize.xhtml and msgSelectOfflineFolders.xhtml-->
  3652. <!ENTITY MsgSynchronize.label "Download and Sync Messages">
  3653. <!ENTITY MsgSelect.label "Items for Offline Use">
  3654. <!ENTITY MsgSyncDesc.label "If you have already selected mail folders or newsgroups for offline use, you can download and/or sync them now. Otherwise, use the &quot;Select&quot; button to choose mail folders and newsgroups for offline use.">
  3655. <!ENTITY MsgSyncDirections.label "Download and/or sync the following:">
  3656. <!ENTITY syncTypeMail.label "Mail messages">
  3657. <!ENTITY syncTypeMail.accesskey "M">
  3658. <!ENTITY syncTypeNews.label "Newsgroup messages">
  3659. diff --git a/suite/locales/en-US/chrome/mailnews/pref/AccountManager.dtd b/suite/locales/en-US/chrome/mailnews/pref/AccountManager.dtd
  3660. --- a/suite/locales/en-US/chrome/mailnews/pref/AccountManager.dtd
  3661. +++ b/suite/locales/en-US/chrome/mailnews/pref/AccountManager.dtd
  3662. @@ -1,24 +1,24 @@
  3663. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3664. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3665. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3666. -<!-- extracted from AccountManager.xul -->
  3667. +<!-- extracted from AccountManager.xhtml -->
  3668. <!ENTITY accountManagerTitle.label "Mail &amp; Newsgroups Account Settings">
  3669. <!ENTITY addAccountButton.label "Add Account…">
  3670. <!ENTITY addAccountButton.accesskey "A">
  3671. <!ENTITY setDefaultButton.label "Set as Default">
  3672. <!ENTITY setDefaultButton.accesskey "f">
  3673. <!ENTITY removeButton.label "Remove Account">
  3674. <!ENTITY removeButton.accesskey "R">
  3675. -<!-- AccountManager.xul -->
  3676. +<!-- AccountManager.xhtml -->
  3677. <!-- LOCALIZATION NOTE : this is part of an inline-style attribute on the account
  3678. setting dialog, which specifies the width and height in em units of the dialog.
  3679. Localizers ONLY can increase these widths if they are having difficulty getting
  3680. panel content to fit.
  3681. 1ch = The width of the "0" (ZERO, U+0030) glyph for the current font.
  3682. 1em = The height of the font.
  3683. XUL/FE DEVELOPERS: DO NOT MODIFY THIS VALUE. It represents the correct size of
  3684. this window for en-US. -->
  3685. diff --git a/suite/locales/en-US/chrome/mailnews/pref/am-addressing.dtd b/suite/locales/en-US/chrome/mailnews/pref/am-addressing.dtd
  3686. --- a/suite/locales/en-US/chrome/mailnews/pref/am-addressing.dtd
  3687. +++ b/suite/locales/en-US/chrome/mailnews/pref/am-addressing.dtd
  3688. @@ -1,30 +1,30 @@
  3689. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3690. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3691. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3692. -<!-- extracted from am-addressing.xul -->
  3693. +<!-- extracted from am-addressing.xhtml -->
  3694. <!ENTITY addressing.label "Composition &amp; Addressing">
  3695. <!ENTITY addressingGroupTitle.label "Addressing">
  3696. <!ENTITY autocompleteToMyDomain.label "Automatically append my domain to addresses">
  3697. <!ENTITY autocompleteToMyDomain.accesskey "o">
  3698. <!ENTITY addressingText.label "When looking up addresses:">
  3699. <!-- LOCALIZATION NOTE (override.label) : do not translate "LDAP" in below line -->
  3700. <!ENTITY useGlobal.label "Use my global LDAP server preferences for this account">
  3701. <!ENTITY useGlobal.accesskey "U">
  3702. <!ENTITY editDirectories.label "Edit Directories…">
  3703. <!ENTITY editDirectories.accesskey "E">
  3704. <!-- LOCALIZATION NOTE (directories.label) : do not translate "LDAP" in below line -->
  3705. <!ENTITY directories.label "Use a different LDAP server:">
  3706. <!ENTITY directories.accesskey "d">
  3707. <!ENTITY directoriesNone.label "None">
  3708. -<!-- am-addressing.xul -->
  3709. +<!-- am-addressing.xhtml -->
  3710. <!ENTITY compositionGroupTitle.label "Composition">
  3711. <!-- LOCALIZATION NOTE (useHtml.label) : do not translate "html" in below line -->
  3712. <!ENTITY useHtml.label "Compose messages in HTML format">
  3713. <!ENTITY useHtml.accesskey "C">
  3714. <!ENTITY autoQuote.label "Automatically quote the original message when replying">
  3715. <!ENTITY autoQuote.accesskey "m">
  3716. <!-- LOCALIZATION NOTE (quoting.label): This will concatenate with the 4 strings that follow. -->
  3717. diff --git a/suite/locales/en-US/chrome/mailnews/pref/am-archiveoptions.dtd b/suite/locales/en-US/chrome/mailnews/pref/am-archiveoptions.dtd
  3718. --- a/suite/locales/en-US/chrome/mailnews/pref/am-archiveoptions.dtd
  3719. +++ b/suite/locales/en-US/chrome/mailnews/pref/am-archiveoptions.dtd
  3720. @@ -1,13 +1,13 @@
  3721. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3722. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3723. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3724. -<!-- extracted from am-archiveoptions.xul -->
  3725. +<!-- extracted from am-archiveoptions.xhtml -->
  3726. <!ENTITY dialogTitle.label "Archive Options">
  3727. <!ENTITY archiveGranularityPrefix.label "When archiving messages, place them in:">
  3728. <!ENTITY archiveFlat.label "A single folder">
  3729. <!ENTITY archiveFlat.accesskey "s">
  3730. <!ENTITY archiveYearly.label "Yearly archived folders">
  3731. <!ENTITY archiveYearly.accesskey "Y">
  3732. <!ENTITY archiveMonthly.label "Monthly archived folders">
  3733. diff --git a/suite/locales/en-US/chrome/mailnews/pref/am-copies.dtd b/suite/locales/en-US/chrome/mailnews/pref/am-copies.dtd
  3734. --- a/suite/locales/en-US/chrome/mailnews/pref/am-copies.dtd
  3735. +++ b/suite/locales/en-US/chrome/mailnews/pref/am-copies.dtd
  3736. @@ -1,13 +1,13 @@
  3737. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3738. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3739. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3740. -<!-- extracted from am-copies.xul -->
  3741. +<!-- extracted from am-copies.xhtml -->
  3742. <!ENTITY copyAndFolderTitle.label "Copies &amp; Folders">
  3743. <!ENTITY sendingPrefix.label "When sending messages:">
  3744. <!ENTITY fccMailFolder.label "Automatically place a copy in:">
  3745. <!ENTITY fccMailFolder.accesskey "u">
  3746. <!ENTITY fccReplyFollowsParent.label "Place replies in the folder of the message being replied to">
  3747. <!ENTITY fccReplyFollowsParent.accesskey "P">
  3748. <!-- LOCALIZATION NOTE (ccAddress.label): do not translate "Cc" in below line -->
  3749. diff --git a/suite/locales/en-US/chrome/mailnews/pref/am-main.dtd b/suite/locales/en-US/chrome/mailnews/pref/am-main.dtd
  3750. --- a/suite/locales/en-US/chrome/mailnews/pref/am-main.dtd
  3751. +++ b/suite/locales/en-US/chrome/mailnews/pref/am-main.dtd
  3752. @@ -1,13 +1,13 @@
  3753. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3754. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3755. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3756. -<!-- extracted from am-main.xul -->
  3757. +<!-- extracted from am-main.xhtml -->
  3758. <!ENTITY accountTitle.label "Account Settings">
  3759. <!ENTITY accountName.label "Account Name:">
  3760. <!ENTITY accountName.accesskey "N">
  3761. <!ENTITY identityTitle.label "Default Identity">
  3762. <!ENTITY identityDesc.label "Each account has an identity, which is the information that other people see when they read your messages.">
  3763. <!ENTITY name.label "Your Name:">
  3764. <!ENTITY name.accesskey "Y">
  3765. diff --git a/suite/locales/en-US/chrome/mailnews/pref/pref-offline.dtd b/suite/locales/en-US/chrome/mailnews/pref/pref-offline.dtd
  3766. --- a/suite/locales/en-US/chrome/mailnews/pref/pref-offline.dtd
  3767. +++ b/suite/locales/en-US/chrome/mailnews/pref/pref-offline.dtd
  3768. @@ -1,13 +1,13 @@
  3769. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3770. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3771. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3772. -<!-- extracted from content/pref-offline.xul -->
  3773. +<!-- extracted from content/pref-offline.xhtml -->
  3774. <!--LOCALIZATION NOTE : FILE The 'Offline' preferences dialog -->
  3775. <!ENTITY pref.network.title "Network &amp; Storage">
  3776. <!ENTITY pref.offline.caption "Offline">
  3777. <!ENTITY textStartUp "When starting up:">
  3778. <!ENTITY textStartUp.accesskey "W">
  3779. <!ENTITY menuitemRememberPrevState "Remember previous online state">
  3780. <!ENTITY menuitemAskMe "Ask me for online state at startup">
  3781. diff --git a/suite/mailnews/components/addrbook/content/abCommon.js b/suite/mailnews/components/addrbook/content/abCommon.js
  3782. --- a/suite/mailnews/components/addrbook/content/abCommon.js
  3783. +++ b/suite/mailnews/components/addrbook/content/abCommon.js
  3784. @@ -174,25 +174,25 @@ function SendCommandToResultsPane(comman
  3785. // if we are sending the command so the results pane
  3786. // we should focus the results pane
  3787. gAbResultsTree.focus();
  3788. }
  3789. function AbNewLDAPDirectory()
  3790. {
  3791. - window.openDialog("chrome://messenger/content/addressbook/pref-directory-add.xul",
  3792. + window.openDialog("chrome://messenger/content/addressbook/pref-directory-add.xhtml",
  3793. "",
  3794. "chrome,modal,resizable=no,centerscreen",
  3795. null);
  3796. }
  3797. function AbNewAddressBook()
  3798. {
  3799. - window.openDialog("chrome://messenger/content/addressbook/abAddressBookNameDialog.xul",
  3800. + window.openDialog("chrome://messenger/content/addressbook/abAddressBookNameDialog.xhtml",
  3801. "",
  3802. "chrome,modal,resizable=no,centerscreen",
  3803. null);
  3804. }
  3805. function AbEditSelectedDirectory()
  3806. {
  3807. let selectedDir = getSelectedDirectory();
  3808. @@ -632,51 +632,51 @@ function ChangeDirectoryByURI(uri = kPer
  3809. function AbNewList()
  3810. {
  3811. goNewListDialog(getSelectedDirectoryURI());
  3812. }
  3813. function goNewListDialog(selectedAB)
  3814. {
  3815. - window.openDialog("chrome://messenger/content/addressbook/abMailListDialog.xul",
  3816. + window.openDialog("chrome://messenger/content/addressbook/abMailListDialog.xhtml",
  3817. "",
  3818. "chrome,modal,resizable,centerscreen",
  3819. {selectedAB:selectedAB});
  3820. }
  3821. function goEditListDialog(abCard, listURI)
  3822. {
  3823. let params = {
  3824. abCard: abCard,
  3825. listURI: listURI,
  3826. refresh: false, // This is an out param, true if OK in dialog is clicked.
  3827. };
  3828. - window.openDialog("chrome://messenger/content/addressbook/abEditListDialog.xul",
  3829. + window.openDialog("chrome://messenger/content/addressbook/abEditListDialog.xhtml",
  3830. "",
  3831. "chrome,modal,resizable,centerscreen",
  3832. params);
  3833. if (params.refresh) {
  3834. ChangeDirectoryByURI(listURI); // force refresh
  3835. }
  3836. }
  3837. function goNewCardDialog(selectedAB)
  3838. {
  3839. - window.openDialog("chrome://messenger/content/addressbook/abNewCardDialog.xul",
  3840. + window.openDialog("chrome://messenger/content/addressbook/abNewCardDialog.xhtml",
  3841. "",
  3842. "chrome,modal,resizable=no,centerscreen",
  3843. {selectedAB:selectedAB});
  3844. }
  3845. function goEditCardDialog(abURI, card)
  3846. {
  3847. - window.openDialog("chrome://messenger/content/addressbook/abEditCardDialog.xul",
  3848. + window.openDialog("chrome://messenger/content/addressbook/abEditCardDialog.xhtml",
  3849. "",
  3850. "chrome,modal,resizable=no,centerscreen",
  3851. {abURI:abURI, card:card});
  3852. }
  3853. function setSortByMenuItemCheckState(id, value)
  3854. {
  3855. var menuitem = document.getElementById(id);
  3856. diff --git a/suite/mailnews/components/addrbook/content/abEditCardDialog.xhtml b/suite/mailnews/components/addrbook/content/abEditCardDialog.xhtml
  3857. --- a/suite/mailnews/components/addrbook/content/abEditCardDialog.xhtml
  3858. +++ b/suite/mailnews/components/addrbook/content/abEditCardDialog.xhtml
  3859. @@ -1,16 +1,16 @@
  3860. <?xml version="1.0"?>
  3861. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3862. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3863. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3864. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  3865. -<?xul-overlay href="chrome://messenger/content/addressbook/abCardOverlay.xul"?>
  3866. +<?xul-overlay href="chrome://messenger/content/addressbook/abCardOverlay.xhtml"?>
  3867. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  3868. id="abcardWindow"
  3869. onload="OnLoadEditCard()"
  3870. ondialogaccept="return EditCardOKButton();"
  3871. ondialogcancel="return EditCardCancelButton();">
  3872. <stringbundleset id="stringbundleset"/>
  3873. diff --git a/suite/mailnews/components/addrbook/content/abEditListDialog.xhtml b/suite/mailnews/components/addrbook/content/abEditListDialog.xhtml
  3874. --- a/suite/mailnews/components/addrbook/content/abEditListDialog.xhtml
  3875. +++ b/suite/mailnews/components/addrbook/content/abEditListDialog.xhtml
  3876. @@ -1,16 +1,16 @@
  3877. <?xml version="1.0"?>
  3878. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3879. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3880. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3881. <?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
  3882. -<?xul-overlay href="chrome://messenger/content/addressbook/abListOverlay.xul"?>
  3883. +<?xul-overlay href="chrome://messenger/content/addressbook/abListOverlay.xhtml"?>
  3884. <!DOCTYPE dialog SYSTEM "chrome://messenger/locale/addressbook/abMailListDialog.dtd">
  3885. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  3886. xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  3887. id="ablistWindow"
  3888. onload="OnLoadEditList()"
  3889. ondialogaccept="return EditListOKButton();"
  3890. diff --git a/suite/mailnews/components/addrbook/content/abMailListDialog.xhtml b/suite/mailnews/components/addrbook/content/abMailListDialog.xhtml
  3891. --- a/suite/mailnews/components/addrbook/content/abMailListDialog.xhtml
  3892. +++ b/suite/mailnews/components/addrbook/content/abMailListDialog.xhtml
  3893. @@ -1,16 +1,16 @@
  3894. <?xml version="1.0"?>
  3895. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3896. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3897. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3898. <?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
  3899. -<?xul-overlay href="chrome://messenger/content/addressbook/abListOverlay.xul"?>
  3900. +<?xul-overlay href="chrome://messenger/content/addressbook/abListOverlay.xhtml"?>
  3901. <!DOCTYPE dialog SYSTEM "chrome://messenger/locale/addressbook/abMailListDialog.dtd">
  3902. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  3903. id="ablistWindow"
  3904. title="&mailListWindow.title;"
  3905. ondialogaccept="return MailListOKButton();"
  3906. onload="OnLoadNewMailList()"
  3907. diff --git a/suite/mailnews/components/addrbook/content/abNewCardDialog.xhtml b/suite/mailnews/components/addrbook/content/abNewCardDialog.xhtml
  3908. --- a/suite/mailnews/components/addrbook/content/abNewCardDialog.xhtml
  3909. +++ b/suite/mailnews/components/addrbook/content/abNewCardDialog.xhtml
  3910. @@ -1,16 +1,16 @@
  3911. <?xml version="1.0"?>
  3912. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3913. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3914. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3915. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  3916. -<?xul-overlay href="chrome://messenger/content/addressbook/abCardOverlay.xul"?>
  3917. +<?xul-overlay href="chrome://messenger/content/addressbook/abCardOverlay.xhtml"?>
  3918. <!DOCTYPE dialog SYSTEM "chrome://messenger/locale/addressbook/abNewCardDialog.dtd">
  3919. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  3920. id="abcardWindow"
  3921. windowtype="mailnews:newcarddialog"
  3922. onload="OnLoadNewCard()"
  3923. ondialogaccept="return NewCardOKButton();"
  3924. diff --git a/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.js b/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.js
  3925. --- a/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.js
  3926. +++ b/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.js
  3927. @@ -298,17 +298,17 @@ function ResultsPaneSelectionChanged()
  3928. editButton.setAttribute("disabled", "true");
  3929. toButton.setAttribute("disabled", "true");
  3930. ccButton.setAttribute("disabled", "true");
  3931. bccButton.setAttribute("disabled", "true");
  3932. }
  3933. }
  3934. /* Function: DialogBucketPaneSelectionChanged()
  3935. - * Callers : OnLoadSelectAddress(), abSelectAddressesDialog.xul:id="addressBucket"
  3936. + * Callers : OnLoadSelectAddress(), abSelectAddressesDialog.xhtml:id="addressBucket"
  3937. * -------------------------------------------------------------------------------
  3938. * This function is used to grab the selection state of the bucket tree to maintain
  3939. * the appropriate enabled/disabled states of the "Remove" button.
  3940. * If an entry is selected in the bucket Tree, then the "disabled" attribute is removed.
  3941. * Otherwise, if nothing is selected, "disabled" is set to true.
  3942. */
  3943. function DialogBucketPaneSelectionChanged()
  3944. diff --git a/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.xhtml b/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.xhtml
  3945. --- a/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.xhtml
  3946. +++ b/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.xhtml
  3947. @@ -1,17 +1,17 @@
  3948. <?xml version="1.0"?>
  3949. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3950. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3951. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3952. <?xml-stylesheet href="chrome://messenger/skin/addressbook/selectAddressesDialog.css" type="text/css"?>
  3953. -<?xul-overlay href="chrome://messenger/content/addressbook/abResultsPaneOverlay.xul"?>
  3954. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  3955. +<?xul-overlay href="chrome://messenger/content/addressbook/abResultsPaneOverlay.xhtml"?>
  3956. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  3957. <!DOCTYPE dialog [
  3958. <!ENTITY % abSelectAddressesDialogDTD SYSTEM "chrome://messenger/locale/addressbook/abSelectAddressesDialog.dtd" >
  3959. %abSelectAddressesDialogDTD;
  3960. <!ENTITY % abResultsPaneOverlayDTD SYSTEM "chrome://messenger/locale/addressbook/abResultsPaneOverlay.dtd" >
  3961. %abResultsPaneOverlayDTD;
  3962. ]>
  3963. diff --git a/suite/mailnews/components/addrbook/content/addressbook.js b/suite/mailnews/components/addrbook/content/addressbook.js
  3964. --- a/suite/mailnews/components/addrbook/content/addressbook.js
  3965. +++ b/suite/mailnews/components/addrbook/content/addressbook.js
  3966. @@ -211,17 +211,17 @@ function AbPrintCardInternal(doPrintPrev
  3967. for (let i = 0; i < numSelected; i++) {
  3968. let card = selectedItems[i];
  3969. let printCardUrl = CreatePrintCardUrl(card);
  3970. if (printCardUrl) {
  3971. selectionArray.push(printCardUrl);
  3972. }
  3973. }
  3974. - printEngineWindow = window.openDialog("chrome://messenger/content/msgPrintEngine.xul",
  3975. + printEngineWindow = window.openDialog("chrome://messenger/content/msgPrintEngine.xhtml",
  3976. "",
  3977. "chrome,dialog=no,all",
  3978. selectionArray.length, selectionArray,
  3979. statusFeedback, doPrintPreview, msgType);
  3980. return;
  3981. }
  3982. @@ -253,17 +253,17 @@ function AbPrintAddressBookInternal(doPr
  3983. /*
  3984. turn "moz-abmdbdirectory://abook.mab" into
  3985. "addbook://moz-abmdbdirectory/abook.mab?action=print"
  3986. */
  3987. var abURIArr = uri.split("://");
  3988. var printUrl = "addbook://" + abURIArr[0] + "/" + abURIArr[1] + "?action=print"
  3989. - printEngineWindow = window.openDialog("chrome://messenger/content/msgPrintEngine.xul",
  3990. + printEngineWindow = window.openDialog("chrome://messenger/content/msgPrintEngine.xhtml",
  3991. "",
  3992. "chrome,dialog=no,all",
  3993. 1, [printUrl],
  3994. statusFeedback, doPrintPreview, msgType);
  3995. return;
  3996. }
  3997. @@ -382,17 +382,17 @@ function onAdvancedAbSearch()
  3998. let selectedDirURI = getSelectedDirectoryURI();
  3999. if (!selectedDirURI)
  4000. return;
  4001. var existingSearchWindow = Services.wm.getMostRecentWindow("mailnews:absearch");
  4002. if (existingSearchWindow)
  4003. existingSearchWindow.focus();
  4004. else
  4005. - window.openDialog("chrome://messenger/content/ABSearchDialog.xul", "",
  4006. + window.openDialog("chrome://messenger/content/ABSearchDialog.xhtml", "",
  4007. "chrome,resizable,status,centerscreen,dialog=no",
  4008. {directory: selectedDirURI});
  4009. }
  4010. function onEnterInSearchBar()
  4011. {
  4012. ClearCardViewPane();
  4013. if (!gQueryURIFormat) {
  4014. diff --git a/suite/mailnews/components/addrbook/content/addressbook.xhtml b/suite/mailnews/components/addrbook/content/addressbook.xhtml
  4015. --- a/suite/mailnews/components/addrbook/content/addressbook.xhtml
  4016. +++ b/suite/mailnews/components/addrbook/content/addressbook.xhtml
  4017. @@ -2,20 +2,20 @@
  4018. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  4019. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4020. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  4021. <?xml-stylesheet href="chrome://messenger/skin/addressbook/addressbook.css" type="text/css"?>
  4022. <?xml-stylesheet href="chrome://messenger/skin/addressbook/addressPanes.css"
  4023. type="text/css"?>
  4024. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  4025. -<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  4026. -<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
  4027. -<?xul-overlay href="chrome://messenger/content/addressbook/abResultsPaneOverlay.xul"?>
  4028. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  4029. +<?xul-overlay href="chrome://communicator/content/tasksOverlay.xhtml"?>
  4030. +<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xhtml"?>
  4031. +<?xul-overlay href="chrome://messenger/content/addressbook/abResultsPaneOverlay.xhtml"?>
  4032. <!DOCTYPE window [
  4033. <!ENTITY % abMainWindowDTD SYSTEM "chrome://messenger/locale/addressbook/abMainWindow.dtd" >
  4034. %abMainWindowDTD;
  4035. <!ENTITY % abResultsPaneOverlayDTD SYSTEM "chrome://messenger/locale/addressbook/abResultsPaneOverlay.dtd" >
  4036. %abResultsPaneOverlayDTD;
  4037. <!ENTITY % mailOverlayDTD SYSTEM "chrome://messenger/locale/mailOverlay.dtd">
  4038. %mailOverlayDTD;
  4039. diff --git a/suite/mailnews/components/addrbook/content/prefs/pref-addressing.js b/suite/mailnews/components/addrbook/content/prefs/pref-addressing.js
  4040. --- a/suite/mailnews/components/addrbook/content/prefs/pref-addressing.js
  4041. +++ b/suite/mailnews/components/addrbook/content/prefs/pref-addressing.js
  4042. @@ -5,17 +5,17 @@
  4043. function Startup()
  4044. {
  4045. enableAutocomplete();
  4046. }
  4047. function onEditDirectories()
  4048. {
  4049. - window.openDialog("chrome://messenger/content/addressbook/pref-editdirectories.xul",
  4050. + window.openDialog("chrome://messenger/content/addressbook/pref-editdirectories.xhtml",
  4051. "editDirectories", "chrome,modal=yes,resizable=no", null);
  4052. }
  4053. function enableAutocomplete()
  4054. {
  4055. var acLDAPValue = document.getElementById("ldap_2.autoComplete.useDirectory")
  4056. .value;
  4057. diff --git a/suite/mailnews/components/addrbook/jar.mn b/suite/mailnews/components/addrbook/jar.mn
  4058. --- a/suite/mailnews/components/addrbook/jar.mn
  4059. +++ b/suite/mailnews/components/addrbook/jar.mn
  4060. @@ -1,24 +1,24 @@
  4061. # This Source Code Form is subject to the terms of the Mozilla Public
  4062. # License, v. 2.0. If a copy of the MPL was not distributed with this
  4063. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  4064. messenger.jar:
  4065. content/messenger/addressbook/addressbook.js (content/addressbook.js)
  4066. -* content/messenger/addressbook/addressbook.xul (content/addressbook.xul)
  4067. +* content/messenger/addressbook/addressbook.xhtml (content/addressbook.xhtml)
  4068. content/messenger/addressbook/abCommon.js (content/abCommon.js)
  4069. content/messenger/addressbook/abCardOverlay.js (content/abCardOverlay.js)
  4070. - content/messenger/addressbook/abCardOverlay.xul (content/abCardOverlay.xul)
  4071. + content/messenger/addressbook/abCardOverlay.xhtml (content/abCardOverlay.xhtml)
  4072. content/messenger/addressbook/abCardViewOverlay.js (content/abCardViewOverlay.js)
  4073. - content/messenger/addressbook/abEditCardDialog.xul (content/abEditCardDialog.xul)
  4074. - content/messenger/addressbook/abNewCardDialog.xul (content/abNewCardDialog.xul)
  4075. - content/messenger/addressbook/abResultsPaneOverlay.xul (content/abResultsPaneOverlay.xul)
  4076. - content/messenger/addressbook/abMailListDialog.xul (content/abMailListDialog.xul)
  4077. - content/messenger/addressbook/abEditListDialog.xul (content/abEditListDialog.xul)
  4078. - content/messenger/addressbook/abListOverlay.xul (content/abListOverlay.xul)
  4079. + content/messenger/addressbook/abEditCardDialog.xhtml (content/abEditCardDialog.xhtml)
  4080. + content/messenger/addressbook/abNewCardDialog.xhtml (content/abNewCardDialog.xhtml)
  4081. + content/messenger/addressbook/abResultsPaneOverlay.xhtml (content/abResultsPaneOverlay.xhtml)
  4082. + content/messenger/addressbook/abMailListDialog.xhtml (content/abMailListDialog.xhtml)
  4083. + content/messenger/addressbook/abEditListDialog.xhtml (content/abEditListDialog.xhtml)
  4084. + content/messenger/addressbook/abListOverlay.xhtml (content/abListOverlay.xhtml)
  4085. content/messenger/addressbook/abSelectAddressesDialog.js (content/abSelectAddressesDialog.js)
  4086. - content/messenger/addressbook/abSelectAddressesDialog.xul (content/abSelectAddressesDialog.xul)
  4087. + content/messenger/addressbook/abSelectAddressesDialog.xhtml (content/abSelectAddressesDialog.xhtml)
  4088. content/messenger/addressbook/abTrees.js (content/abTrees.js)
  4089. - content/messenger/addressbook/addressbook-panel.xul (content/addressbook-panel.xul)
  4090. + content/messenger/addressbook/addressbook-panel.xhtml (content/addressbook-panel.xhtml)
  4091. content/messenger/addressbook/addressbook-panel.js (content/addressbook-panel.js)
  4092. content/messenger/addressbook/pref-addressing.js (content/prefs/pref-addressing.js)
  4093. - content/messenger/addressbook/pref-addressing.xul (content/prefs/pref-addressing.xul)
  4094. + content/messenger/addressbook/pref-addressing.xhtml (content/prefs/pref-addressing.xhtml)
  4095. diff --git a/suite/mailnews/components/compose/content/MsgComposeCommands.js b/suite/mailnews/components/compose/content/MsgComposeCommands.js
  4096. --- a/suite/mailnews/components/compose/content/MsgComposeCommands.js
  4097. +++ b/suite/mailnews/components/compose/content/MsgComposeCommands.js
  4098. @@ -1763,17 +1763,17 @@ function GenericSendMessage(msgType) {
  4099. msgType == Ci.nsIMsgCompDeliverMode.Background) {
  4100. //Do we need to check the spelling?
  4101. if (DoSpellCheckBeforeSend()) {
  4102. // We disable spellcheck for the following -subject line, attachment
  4103. // pane, identity and addressing widget therefore we need to explicitly
  4104. // focus on the mail body when we have to do a spellcheck.
  4105. SetMsgBodyFrameFocus();
  4106. window.cancelSendMessage = false;
  4107. - window.openDialog("chrome://editor/content/EdSpellCheck.xul", "_blank",
  4108. + window.openDialog("chrome://editor/content/EdSpellCheck.xhtml", "_blank",
  4109. "dialog,close,titlebar,modal,resizable",
  4110. true, true, false);
  4111. if (window.cancelSendMessage)
  4112. return;
  4113. }
  4114. // Strip trailing spaces and long consecutive WSP sequences from the
  4115. // subject line to prevent getting only WSP chars on a folded line.
  4116. @@ -1846,17 +1846,17 @@ function GenericSendMessage(msgType) {
  4117. if (!CheckValidEmailAddress(msgCompFields.to, msgCompFields.cc, msgCompFields.bcc))
  4118. return;
  4119. if (action == Ci.nsIMsgCompSendFormat.AskUser) {
  4120. var recommAction = (convert == Ci.nsIMsgCompConvertible.No)
  4121. ? Ci.nsIMsgCompSendFormat.AskUser
  4122. : Ci.nsIMsgCompSendFormat.PlainText;
  4123. var result2 = {action:recommAction, convertible:convert, abort:false};
  4124. - window.openDialog("chrome://messenger/content/messengercompose/askSendFormat.xul",
  4125. + window.openDialog("chrome://messenger/content/messengercompose/askSendFormat.xhtml",
  4126. "askSendFormatDialog", "chrome,modal,titlebar,centerscreen",
  4127. result2);
  4128. if (result2.abort)
  4129. return;
  4130. action = result2.action;
  4131. }
  4132. // We will remember the users "send format" decision in the address
  4133. @@ -2195,17 +2195,17 @@ function SelectAddress()
  4134. Recipients2CompFields(msgCompFields);
  4135. var toAddress = msgCompFields.to;
  4136. var ccAddress = msgCompFields.cc;
  4137. var bccAddress = msgCompFields.bcc;
  4138. dump("toAddress: " + toAddress + "\n");
  4139. - window.openDialog("chrome://messenger/content/addressbook/abSelectAddressesDialog.xul",
  4140. + window.openDialog("chrome://messenger/content/addressbook/abSelectAddressesDialog.xhtml",
  4141. "",
  4142. "chrome,resizable,titlebar,modal",
  4143. {composeWindow:top.window,
  4144. msgCompFields:msgCompFields,
  4145. toAddress:toAddress,
  4146. ccAddress:ccAddress,
  4147. bccAddress:bccAddress});
  4148. // We have to set focus to the addressingwidget because we seem to loose focus often
  4149. @@ -2762,17 +2762,17 @@ function MessageGetNumSelectedAttachment
  4150. {
  4151. var bucketList = GetMsgAttachmentElement();
  4152. return (bucketList) ? bucketList.selectedItems.length : 0;
  4153. }
  4154. function AttachPage()
  4155. {
  4156. var params = { action: "5", url: null };
  4157. - window.openDialog("chrome://communicator/content/openLocation.xul",
  4158. + window.openDialog("chrome://communicator/content/openLocation.xhtml",
  4159. "_blank", "chrome,close,titlebar,modal", params);
  4160. if (params.url)
  4161. {
  4162. var attachment =
  4163. Cc["@mozilla.org/messengercompose/attachment;1"]
  4164. .createInstance(Ci.nsIMsgAttachment);
  4165. attachment.url = params.url;
  4166. AddAttachment(attachment);
  4167. diff --git a/suite/mailnews/components/compose/content/messengercompose.xhtml b/suite/mailnews/components/compose/content/messengercompose.xhtml
  4168. --- a/suite/mailnews/components/compose/content/messengercompose.xhtml
  4169. +++ b/suite/mailnews/components/compose/content/messengercompose.xhtml
  4170. @@ -5,25 +5,25 @@
  4171. <?xml-stylesheet href="chrome://messenger/skin/messengercompose/messengercompose.css" type="text/css"?>
  4172. <?xml-stylesheet href="chrome://messenger/skin/folderMenus.css" type="text/css"?>
  4173. <?xml-stylesheet href="chrome://editor/skin/editorFormatToolbar.css" type="text/css"?>
  4174. <?xml-stylesheet href="chrome://messenger/skin/addressingWidget.css" type="text/css"?>
  4175. <?xml-stylesheet href="chrome://messenger/skin/smime/msgCompSMIMEOverlay.css" type="text/css"?>
  4176. <?xml-stylesheet href="chrome://messenger/content/bindings.css" type="text/css"?>
  4177. -<?xul-overlay href="chrome://communicator/content/charsetOverlay.xul"?>
  4178. -<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  4179. -<?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xul"?>
  4180. -<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
  4181. -<?xul-overlay href="chrome://messenger/content/messengercompose/msgComposeContextOverlay.xul"?>
  4182. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  4183. -<?xul-overlay href="chrome://editor/content/editorOverlay.xul"?>
  4184. -<?xul-overlay href="chrome://messenger/content/messengercompose/mailComposeOverlay.xul"?>
  4185. -<?xul-overlay href="chrome://messenger/content/mailOverlay.xul"?>
  4186. +<?xul-overlay href="chrome://communicator/content/charsetOverlay.xhtml"?>
  4187. +<?xul-overlay href="chrome://communicator/content/tasksOverlay.xhtml"?>
  4188. +<?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xhtml"?>
  4189. +<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xhtml"?>
  4190. +<?xul-overlay href="chrome://messenger/content/messengercompose/msgComposeContextOverlay.xhtml"?>
  4191. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  4192. +<?xul-overlay href="chrome://editor/content/editorOverlay.xhtml"?>
  4193. +<?xul-overlay href="chrome://messenger/content/messengercompose/mailComposeOverlay.xhtml"?>
  4194. +<?xul-overlay href="chrome://messenger/content/mailOverlay.xhtml"?>
  4195. <!DOCTYPE window [
  4196. <!ENTITY % messengercomposeDTD SYSTEM "chrome://messenger/locale/messengercompose/messengercompose.dtd" >
  4197. %messengercomposeDTD;
  4198. <!ENTITY % messengerDTD SYSTEM "chrome://messenger/locale/messenger.dtd" >
  4199. %messengerDTD;
  4200. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
  4201. %brandDTD;
  4202. @@ -661,17 +661,17 @@
  4203. resizeafter="grow"
  4204. onmousedown="awSizerListen();"
  4205. oncommand="awSizerResized(this);">
  4206. <observes element="MsgHeadersToolbar" attribute="collapsed"/>
  4207. </splitter>
  4208. <!-- sidebar/toolbar/content/status -->
  4209. <hbox id="sidebar-parent" flex="1">
  4210. - <!-- From sidebarOverlay.xul -->
  4211. + <!-- From sidebarOverlay.xhtml -->
  4212. <vbox id="sidebar-box" class="chromeclass-extrachrome" hidden="true"/>
  4213. <splitter id="sidebar-splitter" class="chromeclass-extrachrome" hidden="true"/>
  4214. <!-- The mail message body frame -->
  4215. <vbox id="appcontent" flex="1">
  4216. <findbar id="FindToolbar" browserid="content-frame"/>
  4217. <editor id="content-frame"
  4218. type="content"
  4219. diff --git a/suite/mailnews/components/compose/jar.mn b/suite/mailnews/components/compose/jar.mn
  4220. --- a/suite/mailnews/components/compose/jar.mn
  4221. +++ b/suite/mailnews/components/compose/jar.mn
  4222. @@ -1,14 +1,14 @@
  4223. # This Source Code Form is subject to the terms of the Mozilla Public
  4224. # License, v. 2.0. If a copy of the MPL was not distributed with this
  4225. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  4226. messenger.jar:
  4227. - content/messenger/messengercompose/pref-composing_messages.xul (content/prefs/pref-composing_messages.xul)
  4228. + content/messenger/messengercompose/pref-composing_messages.xhtml (content/prefs/pref-composing_messages.xhtml)
  4229. content/messenger/messengercompose/pref-composing_messages.js (content/prefs/pref-composing_messages.js)
  4230. - content/messenger/messengercompose/pref-formatting.xul (content/prefs/pref-formatting.xul)
  4231. + content/messenger/messengercompose/pref-formatting.xhtml (content/prefs/pref-formatting.xhtml)
  4232. content/messenger/messengercompose/pref-formatting.js (content/prefs/pref-formatting.js)
  4233. -* content/messenger/messengercompose/messengercompose.xul (content/messengercompose.xul)
  4234. - content/messenger/messengercompose/mailComposeOverlay.xul (content/mailComposeOverlay.xul)
  4235. - content/messenger/messengercompose/msgComposeContextOverlay.xul (content/msgComposeContextOverlay.xul)
  4236. +* content/messenger/messengercompose/messengercompose.xhtml (content/messengercompose.xhtml)
  4237. + content/messenger/messengercompose/mailComposeOverlay.xhtml (content/mailComposeOverlay.xhtml)
  4238. + content/messenger/messengercompose/msgComposeContextOverlay.xhtml (content/msgComposeContextOverlay.xhtml)
  4239. content/messenger/messengercompose/MsgComposeCommands.js (content/MsgComposeCommands.js)
  4240. content/messenger/messengercompose/addressingWidgetOverlay.js (content/addressingWidgetOverlay.js)
  4241. diff --git a/suite/mailnews/components/prefs/content/mailPrefsOverlay.xhtml b/suite/mailnews/components/prefs/content/mailPrefsOverlay.xhtml
  4242. --- a/suite/mailnews/components/prefs/content/mailPrefsOverlay.xhtml
  4243. +++ b/suite/mailnews/components/prefs/content/mailPrefsOverlay.xhtml
  4244. @@ -37,66 +37,66 @@
  4245. <!-- category tree entries for mail/news -->
  4246. <treechildren id="prefsPanelChildren">
  4247. <treeitem container="true"
  4248. id="mailnewsItem"
  4249. insertafter="navigatorItem"
  4250. label="&mail.label;"
  4251. prefpane="mailnews_pane"
  4252. - url="chrome://messenger/content/pref-mailnews.xul"
  4253. + url="chrome://messenger/content/pref-mailnews.xhtml"
  4254. helpTopic="mail_prefs_general">
  4255. <treechildren id="messengerChildren">
  4256. <treeitem id="viewingMessagesItem"
  4257. label="&viewingMessages.label;"
  4258. prefpane="viewing_messages_pane"
  4259. - url="chrome://messenger/content/pref-viewing_messages.xul"
  4260. + url="chrome://messenger/content/pref-viewing_messages.xhtml"
  4261. helpTopic="mail_prefs_display"/>
  4262. <treeitem id="notificationsItem"
  4263. label="&notifications.label;"
  4264. prefpane="notifications_pane"
  4265. - url="chrome://messenger/content/pref-notifications.xul"
  4266. + url="chrome://messenger/content/pref-notifications.xhtml"
  4267. helpTopic="mail_prefs_notifications"/>
  4268. <treeitem id="composingItem"
  4269. label="&composingMessages.label;"
  4270. prefpane="composing_messages_pane"
  4271. - url="chrome://messenger/content/messengercompose/pref-composing_messages.xul"
  4272. + url="chrome://messenger/content/messengercompose/pref-composing_messages.xhtml"
  4273. helpTopic="mail_prefs_messages"/>
  4274. <treeitem id="formattingItem"
  4275. label="&format.label;"
  4276. prefpane="formatting_pane"
  4277. - url="chrome://messenger/content/messengercompose/pref-formatting.xul"
  4278. + url="chrome://messenger/content/messengercompose/pref-formatting.xhtml"
  4279. helpTopic="mail_prefs_formatting"/>
  4280. <treeitem id="addressItem"
  4281. label="&address.label;"
  4282. prefpane="addressing_pane"
  4283. - url="chrome://messenger/content/addressbook/pref-addressing.xul"
  4284. + url="chrome://messenger/content/addressbook/pref-addressing.xhtml"
  4285. helpTopic="mail_prefs_addressing"/>
  4286. <treeitem id="junkItem"
  4287. label="&junk.label;"
  4288. prefpane="junk_pane"
  4289. - url="chrome://messenger/content/pref-junk.xul"
  4290. + url="chrome://messenger/content/pref-junk.xhtml"
  4291. helpTopic="mail-prefs-junk"/>
  4292. <treeitem id="tagsItem"
  4293. label="&tags.label;"
  4294. prefpane="tags_pane"
  4295. - url="chrome://messenger/content/pref-tags.xul"
  4296. + url="chrome://messenger/content/pref-tags.xhtml"
  4297. helpTopic="mail-prefs-tags"/>
  4298. <treeitem id="receiptsItem"
  4299. label="&return.label;"
  4300. prefpane="receipts_pane"
  4301. - url="chrome://messenger/content/pref-receipts.xul"
  4302. + url="chrome://messenger/content/pref-receipts.xhtml"
  4303. helpTopic="mail-prefs-receipts"/>
  4304. <treeitem id="characterEncodingItem"
  4305. label="&characterEncoding2.label;"
  4306. prefpane="character_encoding_pane"
  4307. - url="chrome://messenger/content/pref-character_encoding.xul"
  4308. + url="chrome://messenger/content/pref-character_encoding.xhtml"
  4309. helpTopic="mail_prefs_text_encoding"/>
  4310. <treeitem id="offlineItem"
  4311. label="&networkStorage.label;"
  4312. prefpane="offline_pane"
  4313. - url="chrome://messenger/content/pref-offline.xul"
  4314. + url="chrome://messenger/content/pref-offline.xhtml"
  4315. helpTopic="mail_prefs_offline"/>
  4316. </treechildren>
  4317. </treeitem>
  4318. </treechildren>
  4319. </overlay>
  4320. diff --git a/suite/mailnews/components/prefs/content/pref-junk.js b/suite/mailnews/components/prefs/content/pref-junk.js
  4321. --- a/suite/mailnews/components/prefs/content/pref-junk.js
  4322. +++ b/suite/mailnews/components/prefs/content/pref-junk.js
  4323. @@ -16,17 +16,17 @@ function Startup()
  4324. function UpdateDependentElement(aBaseId, aDependentId)
  4325. {
  4326. var pref = document.getElementById(aBaseId).getAttribute("preference");
  4327. EnableElementById(aDependentId, document.getElementById(pref).value, false);
  4328. }
  4329. function OpenJunkLog()
  4330. {
  4331. - window.openDialog("chrome://messenger/content/junkLog.xul",
  4332. + window.openDialog("chrome://messenger/content/junkLog.xhtml",
  4333. "junkLog",
  4334. "chrome,modal,titlebar,resizable,centerscreen");
  4335. }
  4336. function ResetTrainingData()
  4337. {
  4338. // make sure the user really wants to do this
  4339. var bundle = document.getElementById("bundleJunkPreferences");
  4340. diff --git a/suite/mailnews/components/prefs/jar.mn b/suite/mailnews/components/prefs/jar.mn
  4341. --- a/suite/mailnews/components/prefs/jar.mn
  4342. +++ b/suite/mailnews/components/prefs/jar.mn
  4343. @@ -1,23 +1,23 @@
  4344. # This Source Code Form is subject to the terms of the Mozilla Public
  4345. # License, v. 2.0. If a copy of the MPL was not distributed with this
  4346. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  4347. messenger.jar:
  4348. - content/messenger/mailPrefsOverlay.xul (content/mailPrefsOverlay.xul)
  4349. -* content/messenger/pref-mailnews.xul (content/pref-mailnews.xul)
  4350. + content/messenger/mailPrefsOverlay.xhtml (content/mailPrefsOverlay.xhtml)
  4351. +* content/messenger/pref-mailnews.xhtml (content/pref-mailnews.xhtml)
  4352. content/messenger/pref-mailnews.js (content/pref-mailnews.js)
  4353. - content/messenger/pref-notifications.xul (content/pref-notifications.xul)
  4354. + content/messenger/pref-notifications.xhtml (content/pref-notifications.xhtml)
  4355. content/messenger/pref-notifications.js (content/pref-notifications.js)
  4356. - content/messenger/pref-junk.xul (content/pref-junk.xul)
  4357. + content/messenger/pref-junk.xhtml (content/pref-junk.xhtml)
  4358. content/messenger/pref-junk.js (content/pref-junk.js)
  4359. - content/messenger/pref-tags.xul (content/pref-tags.xul)
  4360. + content/messenger/pref-tags.xhtml (content/pref-tags.xhtml)
  4361. content/messenger/pref-tags.js (content/pref-tags.js)
  4362. - content/messenger/pref-viewing_messages.xul (content/pref-viewing_messages.xul)
  4363. + content/messenger/pref-viewing_messages.xhtml (content/pref-viewing_messages.xhtml)
  4364. content/messenger/pref-viewing_messages.js (content/pref-viewing_messages.js)
  4365. - content/messenger/pref-receipts.xul (content/pref-receipts.xul)
  4366. + content/messenger/pref-receipts.xhtml (content/pref-receipts.xhtml)
  4367. content/messenger/pref-receipts.js (content/pref-receipts.js)
  4368. - content/messenger/pref-character_encoding.xul (content/pref-character_encoding.xul)
  4369. + content/messenger/pref-character_encoding.xhtml (content/pref-character_encoding.xhtml)
  4370. content/messenger/pref-character_encoding.js (content/pref-character_encoding.js)
  4371. - content/messenger/pref-offline.xul (content/pref-offline.xul)
  4372. + content/messenger/pref-offline.xhtml (content/pref-offline.xhtml)
  4373. content/messenger/pref-offline.js (content/pref-offline.js)
  4374. diff --git a/suite/mailnews/components/smime/content/msgCompSMIMEOverlay.js b/suite/mailnews/components/smime/content/msgCompSMIMEOverlay.js
  4375. --- a/suite/mailnews/components/smime/content/msgCompSMIMEOverlay.js
  4376. +++ b/suite/mailnews/components/smime/content/msgCompSMIMEOverlay.js
  4377. @@ -207,17 +207,17 @@ function setEncryptionUI()
  4378. top.document.getElementById("encryption-status").collapsed = false;
  4379. }
  4380. function showMessageComposeSecurityStatus()
  4381. {
  4382. Recipients2CompFields(gMsgCompose.compFields);
  4383. window.openDialog(
  4384. - "chrome://messenger-smime/content/msgCompSecurityInfo.xul",
  4385. + "chrome://messenger-smime/content/msgCompSecurityInfo.xhtml",
  4386. "",
  4387. "chrome,modal,resizable,centerscreen",
  4388. {
  4389. compFields : gMsgCompose.compFields,
  4390. subject : GetMsgSubjectElement().value,
  4391. smFields : gSMFields,
  4392. isSigningCertAvailable :
  4393. gCurrentIdentity.getUnicharAttribute("signing_cert_name") != "",
  4394. @@ -289,17 +289,17 @@ function onComposerSendMessage()
  4395. {
  4396. // Try the global one
  4397. if (Services.prefs.getBoolPref("ldap_2.autoComplete.useDirectory"))
  4398. autocompleteDirectory =
  4399. Services.prefs.getCharPref("ldap_2.autoComplete.directoryServer");
  4400. }
  4401. if (autocompleteDirectory)
  4402. - window.openDialog("chrome://messenger-smime/content/certFetchingStatus.xul",
  4403. + window.openDialog("chrome://messenger-smime/content/certFetchingStatus.xhtml",
  4404. "",
  4405. "chrome,modal,resizable,centerscreen",
  4406. autocompleteDirectory,
  4407. emailAddresses);
  4408. }
  4409. }
  4410. function onComposerFromChanged()
  4411. diff --git a/suite/mailnews/content/ABSearchDialog.xhtml b/suite/mailnews/content/ABSearchDialog.xhtml
  4412. --- a/suite/mailnews/content/ABSearchDialog.xhtml
  4413. +++ b/suite/mailnews/content/ABSearchDialog.xhtml
  4414. @@ -1,17 +1,17 @@
  4415. <?xml version="1.0"?>
  4416. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  4417. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4418. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  4419. <?xml-stylesheet href="chrome://messenger/skin/searchDialog.css" type="text/css"?>
  4420. -<?xul-overlay href="chrome://messenger/content/addressbook/abResultsPaneOverlay.xul"?>
  4421. -<?xul-overlay href="chrome://messenger/content/searchTermOverlay.xul"?>
  4422. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  4423. +<?xul-overlay href="chrome://messenger/content/addressbook/abResultsPaneOverlay.xhtml"?>
  4424. +<?xul-overlay href="chrome://messenger/content/searchTermOverlay.xhtml"?>
  4425. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  4426. <!DOCTYPE dialog [
  4427. <!ENTITY % abResultsPaneOverlayDTD SYSTEM "chrome://messenger/locale/addressbook
  4428. /abResultsPaneOverlay.dtd">
  4429. %abResultsPaneOverlayDTD;
  4430. <!ENTITY % SearchDialogDTD SYSTEM "chrome://messenger/locale/SearchDialog.dtd">
  4431. %SearchDialogDTD;
  4432. ]>
  4433. diff --git a/suite/mailnews/content/FilterListDialog.js b/suite/mailnews/content/FilterListDialog.js
  4434. --- a/suite/mailnews/content/FilterListDialog.js
  4435. +++ b/suite/mailnews/content/FilterListDialog.js
  4436. @@ -335,17 +335,17 @@ function onEditFilter()
  4437. return;
  4438. var selectedFilter = currentFilter();
  4439. if (!selectedFilter)
  4440. return;
  4441. let args = {filter: selectedFilter, filterList: gCurrentFilterList};
  4442. - window.openDialog("chrome://messenger/content/FilterEditor.xul", "FilterEditor", "chrome,modal,titlebar,resizable,centerscreen", args);
  4443. + window.openDialog("chrome://messenger/content/FilterEditor.xhtml", "FilterEditor", "chrome,modal,titlebar,resizable,centerscreen", args);
  4444. if ("refresh" in args && args.refresh) {
  4445. // Reset search if edit was okay (name change might lead to hidden entry).
  4446. resetSearchBox(selectedFilter);
  4447. rebuildFilterList();
  4448. }
  4449. }
  4450. @@ -395,17 +395,17 @@ function calculatePositionAndShowCreateF
  4451. break;
  4452. }
  4453. }
  4454. }
  4455. args.filterPosition = position;
  4456. args.filterList = gCurrentFilterList;
  4457. args.refresh = false;
  4458. - window.openDialog("chrome://messenger/content/FilterEditor.xul",
  4459. + window.openDialog("chrome://messenger/content/FilterEditor.xhtml",
  4460. "FilterEditor",
  4461. "chrome,modal,titlebar,resizable,centerscreen", args);
  4462. if (args.refresh)
  4463. {
  4464. // On success: reset the search box if necessary!
  4465. resetSearchBox(args.newFilter);
  4466. rebuildFilterList();
  4467. @@ -558,17 +558,17 @@ function moveFilter(motion) {
  4468. rebuildFilterList();
  4469. }
  4470. function viewLog()
  4471. {
  4472. let args = {filterList: gCurrentFilterList};
  4473. - window.openDialog("chrome://messenger/content/viewLog.xul", "FilterLog", "chrome,modal,titlebar,resizable,centerscreen", args);
  4474. + window.openDialog("chrome://messenger/content/viewLog.xhtml", "FilterLog", "chrome,modal,titlebar,resizable,centerscreen", args);
  4475. }
  4476. function onFilterUnload()
  4477. {
  4478. // make sure to save the filter to disk
  4479. if (gCurrentFilterList)
  4480. gCurrentFilterList.saveToDefaultFile();
  4481. diff --git a/suite/mailnews/content/FilterListDialog.xhtml b/suite/mailnews/content/FilterListDialog.xhtml
  4482. --- a/suite/mailnews/content/FilterListDialog.xhtml
  4483. +++ b/suite/mailnews/content/FilterListDialog.xhtml
  4484. @@ -1,17 +1,17 @@
  4485. <?xml version="1.0"?>
  4486. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  4487. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4488. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  4489. <?xml-stylesheet href="chrome://messenger/skin/filterDialog.css" type="text/css"?>
  4490. <?xml-stylesheet href="chrome://messenger/skin/folderMenus.css" type="text/css"?>
  4491. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  4492. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  4493. <!DOCTYPE dialog SYSTEM "chrome://messenger/locale/FilterListDialog.dtd">
  4494. <dialog id="filterListDialog"
  4495. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  4496. windowtype="mailnews:filterlist"
  4497. title="&filterListDialog.title;"
  4498. style="width: 45em; height: 31em;"
  4499. diff --git a/suite/mailnews/content/SearchDialog.js b/suite/mailnews/content/SearchDialog.js
  4500. --- a/suite/mailnews/content/SearchDialog.js
  4501. +++ b/suite/mailnews/content/SearchDialog.js
  4502. @@ -704,17 +704,17 @@ function saveAsVirtualFolder()
  4503. var searchSubfolders = document.getElementById("checkSearchSubFolders").checked;
  4504. if (gMsgFolderSelected && (searchSubfolders || gMsgFolderSelected.isServer || gMsgFolderSelected.noSelect))
  4505. {
  4506. var subFolderURIs = AddSubFoldersToURI(gMsgFolderSelected);
  4507. if (subFolderURIs.length > 0)
  4508. searchFolderURIs += '|' + subFolderURIs;
  4509. }
  4510. - var dialog = window.openDialog("chrome://messenger/content/virtualFolderProperties.xul", "",
  4511. + var dialog = window.openDialog("chrome://messenger/content/virtualFolderProperties.xhtml", "",
  4512. "chrome,titlebar,modal,centerscreen",
  4513. {folder:window.arguments[0].folder,
  4514. searchTerms:gSearchSession.searchTerms,
  4515. searchFolderURIs: searchFolderURIs});
  4516. }
  4517. function OnTagsChange()
  4518. {
  4519. diff --git a/suite/mailnews/content/SearchDialog.xhtml b/suite/mailnews/content/SearchDialog.xhtml
  4520. --- a/suite/mailnews/content/SearchDialog.xhtml
  4521. +++ b/suite/mailnews/content/SearchDialog.xhtml
  4522. @@ -2,20 +2,20 @@
  4523. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  4524. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4525. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  4526. <?xml-stylesheet href="chrome://messenger/skin/searchDialog.css" type="text/css"?>
  4527. <?xml-stylesheet href="chrome://messenger/skin/folderPane.css" type="text/css"?>
  4528. <?xml-stylesheet href="chrome://messenger/skin/folderMenus.css" type="text/css"?>
  4529. -<?xul-overlay href="chrome://messenger/content/threadPane.xul"?>
  4530. -<?xul-overlay href="chrome://messenger/content/searchTermOverlay.xul"?>
  4531. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  4532. -<?xul-overlay href="chrome://messenger/content/mailKeysOverlay.xul"?>
  4533. +<?xul-overlay href="chrome://messenger/content/threadPane.xhtml"?>
  4534. +<?xul-overlay href="chrome://messenger/content/searchTermOverlay.xhtml"?>
  4535. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  4536. +<?xul-overlay href="chrome://messenger/content/mailKeysOverlay.xhtml"?>
  4537. <!DOCTYPE dialog SYSTEM "chrome://messenger/locale/SearchDialog.dtd">
  4538. <dialog id="searchMailWindow"
  4539. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  4540. windowtype="mailnews:search"
  4541. title="&searchDialogTitle.label;"
  4542. style="width: 52em; height: 34em;"
  4543. diff --git a/suite/mailnews/content/folderPane.js b/suite/mailnews/content/folderPane.js
  4544. --- a/suite/mailnews/content/folderPane.js
  4545. +++ b/suite/mailnews/content/folderPane.js
  4546. @@ -1734,17 +1734,17 @@ var gFolderTreeController = {
  4547. // createSubfolder can throw an exception, causing the newFolder dialog
  4548. // to not close and wait for another input.
  4549. // TODO: Rewrite this logic and move the opening of alert dialogs from
  4550. // nsMsgLocalMailFolder::CreateSubfolderInternal to here (bug 831190#c16).
  4551. if (aName)
  4552. aFolder.createSubfolder(aName, msgWindow);
  4553. }
  4554. - window.openDialog("chrome://messenger/content/newFolderDialog.xul",
  4555. + window.openDialog("chrome://messenger/content/newFolderDialog.xhtml",
  4556. "",
  4557. "chrome,modal,centerscreen",
  4558. {folder: folder,
  4559. dualUseFolders: dualUseFolders,
  4560. okCallback: newFolderCallback});
  4561. },
  4562. /**
  4563. @@ -1809,17 +1809,17 @@ var gFolderTreeController = {
  4564. // context menu on a non-loaded folder).
  4565. if (msgFolder == GetLoadedMsgFolder()) {
  4566. gRerootOnFolderLoad = true;
  4567. gCurrentFolderToReroot = msgFolder.URI;
  4568. }
  4569. msgFolder.updateFolder(msgWindow);
  4570. }
  4571. - window.openDialog("chrome://messenger/content/folderProps.xul",
  4572. + window.openDialog("chrome://messenger/content/folderProps.xhtml",
  4573. "", "chrome,modal,centerscreen",
  4574. {folder: folder, serverType: folder.server.type,
  4575. msgWindow: msgWindow, title: title,
  4576. okCallback: editFolderCallback, tabID: aTabID,
  4577. name: folder.prettyName,
  4578. rebuildSummaryCallback: rebuildSummary});
  4579. },
  4580. @@ -1840,17 +1840,17 @@ var gFolderTreeController = {
  4581. controller._resetThreadPane();
  4582. let folderTree = document.getElementById("folderTree");
  4583. folderTree.view.selection.clearSelection();
  4584. folder.rename(aName, msgWindow);
  4585. }
  4586. - window.openDialog("chrome://messenger/content/renameFolderDialog.xul",
  4587. + window.openDialog("chrome://messenger/content/renameFolderDialog.xhtml",
  4588. "", "chrome,modal,centerscreen",
  4589. {preselectedURI: folder.URI,
  4590. okCallback: renameCallback, name: folder.prettyName});
  4591. },
  4592. /**
  4593. * Deletes a folder from its parent. Also handles unsubscribe from newsgroups
  4594. * if the selected folder/s happen to be nntp.
  4595. @@ -1997,17 +1997,17 @@ var gFolderTreeController = {
  4596. let folder = aParent || GetSelectedMsgFolders()[0];
  4597. if (!folder)
  4598. folder = GetDefaultAccountRootFolder();
  4599. let name = folder.prettyName;
  4600. if (aName)
  4601. name += "-" + aName;
  4602. - window.openDialog("chrome://messenger/content/virtualFolderProperties.xul",
  4603. + window.openDialog("chrome://messenger/content/virtualFolderProperties.xhtml",
  4604. "", "chrome,modal,centerscreen",
  4605. {folder: folder, searchTerms: aSearchTerms,
  4606. newFolderName: name});
  4607. },
  4608. /**
  4609. * Opens the dialog to edit the properties for a virtual folder
  4610. *
  4611. @@ -2019,17 +2019,17 @@ var gFolderTreeController = {
  4612. function editVirtualCallback(aURI) {
  4613. // we need to reload the folder if it is the currently loaded folder...
  4614. if (gMsgFolderSelected && aURI == gMsgFolderSelected.URI) {
  4615. // force the folder pane to reload the virtual folder
  4616. gMsgFolderSelected = null;
  4617. FolderPaneSelectionChange();
  4618. }
  4619. }
  4620. - window.openDialog("chrome://messenger/content/virtualFolderProperties.xul",
  4621. + window.openDialog("chrome://messenger/content/virtualFolderProperties.xhtml",
  4622. "", "chrome,modal,centerscreen",
  4623. {folder: folder, editExistingFolder: true,
  4624. onOKCallback: editVirtualCallback,
  4625. msgWindow:msgWindow});
  4626. },
  4627. /**
  4628. * Opens a search window with the given folder, or the selected one if none
  4629. diff --git a/suite/mailnews/content/mail-offline.js b/suite/mailnews/content/mail-offline.js
  4630. --- a/suite/mailnews/content/mail-offline.js
  4631. +++ b/suite/mailnews/content/mail-offline.js
  4632. @@ -9,17 +9,17 @@ var gOfflineManager;
  4633. function MailOfflineStateChanged(goingOffline)
  4634. {
  4635. // tweak any mail UI here that needs to change when we go offline or come back online
  4636. gFolderJustSwitched = true;
  4637. }
  4638. function MsgSettingsOffline()
  4639. {
  4640. - window.parent.MsgAccountManager('am-offline.xul');
  4641. + window.parent.MsgAccountManager('am-offline.xhtml');
  4642. }
  4643. // Check for unsent messages
  4644. function CheckForUnsentMessages()
  4645. {
  4646. return Cc["@mozilla.org/messengercompose/sendlater;1"]
  4647. .getService(Ci.nsIMsgSendLater)
  4648. .hasUnsentMessages();
  4649. diff --git a/suite/mailnews/content/mailCommands.js b/suite/mailnews/content/mailCommands.js
  4650. --- a/suite/mailnews/content/mailCommands.js
  4651. +++ b/suite/mailnews/content/mailCommands.js
  4652. @@ -243,17 +243,17 @@ function NewMessageToSelectedAddresses(t
  4653. params.composeFields = composeFields;
  4654. msgComposeService.OpenComposeWindowWithParams(null, params);
  4655. }
  4656. }
  4657. }
  4658. function Subscribe(preselectedMsgFolder)
  4659. {
  4660. - window.openDialog("chrome://messenger/content/subscribe.xul",
  4661. + window.openDialog("chrome://messenger/content/subscribe.xhtml",
  4662. "subscribe", "chrome,modal,titlebar,resizable=yes",
  4663. {folder:preselectedMsgFolder,
  4664. okCallback:SubscribeOKCallback});
  4665. }
  4666. function SubscribeOKCallback(changeTable)
  4667. {
  4668. for (var serverURI in changeTable) {
  4669. @@ -391,17 +391,17 @@ function ViewPageSource(messages)
  4670. // Now, we need to get a URL from a URI.
  4671. var url = MailServices.mailSession.ConvertMsgURIToMsgURL(messages[i],
  4672. msgWindow);
  4673. // Strip out the message-display parameter to ensure that attached
  4674. // emails display the message source, not the processed HTML.
  4675. url = url.replace(/(\?|&)type=application\/x-message-display(&|$)/, "$1")
  4676. .replace(/\?$/, "");
  4677. - window.openDialog("chrome://global/content/viewSource.xul", "_blank",
  4678. + window.openDialog("chrome://global/content/viewSource.xhtml", "_blank",
  4679. "all,dialog=no",
  4680. {URL: url, browser: browser,
  4681. outerWindowID: browser.outerWindowID});
  4682. }
  4683. return true;
  4684. } catch (e) {
  4685. // Couldn't get mail session.
  4686. return false;
  4687. diff --git a/suite/mailnews/content/mailContextMenus.js b/suite/mailnews/content/mailContextMenus.js
  4688. --- a/suite/mailnews/content/mailContextMenus.js
  4689. +++ b/suite/mailnews/content/mailContextMenus.js
  4690. @@ -530,26 +530,26 @@ function AddContact(aEmailAddressNode)
  4691. {
  4692. if (aEmailAddressNode)
  4693. AddEmailToAddressBook(aEmailAddressNode.getAttribute("emailAddress"),
  4694. aEmailAddressNode.getAttribute("displayName"));
  4695. }
  4696. function AddEmailToAddressBook(primaryEmail, displayName)
  4697. {
  4698. - window.openDialog("chrome://messenger/content/addressbook/abNewCardDialog.xul",
  4699. + window.openDialog("chrome://messenger/content/addressbook/abNewCardDialog.xhtml",
  4700. "", "chrome,resizable=no,titlebar,modal,centerscreen",
  4701. {primaryEmail:primaryEmail, displayName:displayName});
  4702. }
  4703. function EditContact(aEmailAddressNode)
  4704. {
  4705. if (aEmailAddressNode.cardDetails.card)
  4706. {
  4707. - window.openDialog("chrome://messenger/content/addressbook/abEditCardDialog.xul",
  4708. + window.openDialog("chrome://messenger/content/addressbook/abEditCardDialog.xhtml",
  4709. "", "chrome,resizable=no,modal,titlebar,centerscreen",
  4710. { abURI: aEmailAddressNode.cardDetails.book.URI,
  4711. card: aEmailAddressNode.cardDetails.card });
  4712. }
  4713. }
  4714. /**
  4715. * SendMailToNode takes the email address title button, extracts the email address
  4716. @@ -692,17 +692,17 @@ function OpenMessageByHeader(messageHead
  4717. {
  4718. var folder = messageHeader.folder;
  4719. var folderURI = folder.URI;
  4720. if (openInNewWindow)
  4721. {
  4722. var messageURI = folder.getUriForMsg(messageHeader);
  4723. - window.openDialog("chrome://messenger/content/messageWindow.xul",
  4724. + window.openDialog("chrome://messenger/content/messageWindow.xhtml",
  4725. "_blank", "all,chrome,dialog=no,status,toolbar",
  4726. messageURI, folderURI, null);
  4727. }
  4728. else
  4729. {
  4730. if (msgWindow.openFolder != folderURI)
  4731. gFolderTreeView.selectFolder(folder)
  4732. diff --git a/suite/mailnews/content/mailEditorOverlay.xhtml b/suite/mailnews/content/mailEditorOverlay.xhtml
  4733. --- a/suite/mailnews/content/mailEditorOverlay.xhtml
  4734. +++ b/suite/mailnews/content/mailEditorOverlay.xhtml
  4735. @@ -1,16 +1,16 @@
  4736. <?xml version="1.0"?>
  4737. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  4738. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4739. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  4740. <!-- retrieve generic commands -->
  4741. -<?xul-overlay href="chrome://messenger/content/mailOverlay.xul"?>
  4742. +<?xul-overlay href="chrome://messenger/content/mailOverlay.xhtml"?>
  4743. <!DOCTYPE overlay SYSTEM "chrome://messenger/locale/mailEditorOverlay.dtd" >
  4744. <overlay id="mailEditorOverlay"
  4745. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  4746. <script>
  4747. <![CDATA[
  4748. @@ -40,22 +40,22 @@
  4749. }
  4750. }
  4751. ]]>
  4752. </script>
  4753. <!-- editor specific UI items -->
  4754. <menupopup id="menu_NewPopup">
  4755. - <!-- Command nodes and implemention are in mailOverlay.xul -->
  4756. + <!-- Command nodes and implemention are in mailOverlay.xhtml -->
  4757. <menuitem id="menu_newMessage" insertafter="menu_newPrivateWindow"/>
  4758. <menuitem id="menu_newCard" insertafter="menu_newPrivateWindow"/>
  4759. </menupopup>
  4760. <menupopup id="menu_FilePopup">
  4761. - <!-- The command node cmd_editSendPage is in editor.xul.
  4762. + <!-- The command node cmd_editSendPage is in editor.xhtml.
  4763. Implementation is in ComposerCommands.js
  4764. -->
  4765. <menuitem id="menu_sendPage" label="&sendPage.label;" accesskey="&sendPage.accesskey;" observes="cmd_editSendPage" insertafter="previewInBrowser"/>
  4766. </menupopup>
  4767. </overlay>
  4768. diff --git a/suite/mailnews/content/mailOverlay.js b/suite/mailnews/content/mailOverlay.js
  4769. --- a/suite/mailnews/content/mailOverlay.js
  4770. +++ b/suite/mailnews/content/mailOverlay.js
  4771. @@ -1,16 +1,16 @@
  4772. /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
  4773. /* This Source Code Form is subject to the terms of the Mozilla Public
  4774. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4775. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  4776. function openNewCardDialog()
  4777. {
  4778. - window.openDialog("chrome://messenger/content/addressbook/abNewCardDialog.xul",
  4779. + window.openDialog("chrome://messenger/content/addressbook/abNewCardDialog.xhtml",
  4780. "", "chrome,modal,resizable=no,centerscreen");
  4781. }
  4782. function goOpenNewMessage()
  4783. {
  4784. // if there is a MsgNewMessage function in scope
  4785. // and we should use it, so that we choose the proper
  4786. // identity, based on the selected message or folder
  4787. diff --git a/suite/mailnews/content/mailOverlay.xhtml b/suite/mailnews/content/mailOverlay.xhtml
  4788. --- a/suite/mailnews/content/mailOverlay.xhtml
  4789. +++ b/suite/mailnews/content/mailOverlay.xhtml
  4790. @@ -1,15 +1,15 @@
  4791. <?xml version="1.0"?>
  4792. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  4793. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4794. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  4795. <!DOCTYPE overlay SYSTEM "chrome://messenger/locale/mailOverlay.dtd">
  4796. -<overlay id="mailOverlay.xul"
  4797. +<overlay id="mailOverlay.xhtml"
  4798. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  4799. <script src="chrome://messenger/content/mailOverlay.js"/>
  4800. <!-- generic commands -->
  4801. <commandset id="tasksCommands">
  4802. <command id="cmd_newMessage" oncommand="goOpenNewMessage();"/>
  4803. <command id="cmd_newCard" oncommand="openNewCardDialog()"/>
  4804. diff --git a/suite/mailnews/content/mailTasksOverlay.js b/suite/mailnews/content/mailTasksOverlay.js
  4805. --- a/suite/mailnews/content/mailTasksOverlay.js
  4806. +++ b/suite/mailnews/content/mailTasksOverlay.js
  4807. @@ -21,27 +21,27 @@ const BIFF_STATE_UNKNOWN = "UnknownMa
  4808. function toMessengerWindow()
  4809. {
  4810. toOpenWindowByType("mail:3pane", "chrome://messenger/content/");
  4811. }
  4812. function toAddressBook()
  4813. {
  4814. toOpenWindowByType("mail:addressbook",
  4815. - "chrome://messenger/content/addressbook/addressbook.xul");
  4816. + "chrome://messenger/content/addressbook/addressbook.xhtml");
  4817. }
  4818. function toNewsgroups()
  4819. {
  4820. dump("Sorry, command not implemented.\n");
  4821. }
  4822. function toImport()
  4823. {
  4824. - window.openDialog("chrome://messenger/content/importDialog.xul",
  4825. + window.openDialog("chrome://messenger/content/importDialog.xhtml",
  4826. "importDialog",
  4827. "chrome, modal, titlebar, centerscreen");
  4828. }
  4829. function CoalesceGetMsgsForPop3ServersByDestFolder(aCurrentServer,
  4830. aPOP3DownloadServersArray,
  4831. aLocalFoldersToDownloadTo)
  4832. {
  4833. @@ -233,13 +233,13 @@ nsMsgBadCertHandler.prototype = {
  4834. };
  4835. function InformUserOfCertError(status, targetSite)
  4836. {
  4837. var params = { exceptionAdded : false,
  4838. sslStatus : status,
  4839. prefetchCert : true,
  4840. location : targetSite };
  4841. - window.openDialog('chrome://pippki/content/exceptionDialog.xul',
  4842. + window.openDialog('chrome://pippki/content/exceptionDialog.xhtml',
  4843. '','chrome,centerscreen,modal', params);
  4844. }
  4845. addEventListener("load", MailTasksOnLoad, false);
  4846. diff --git a/suite/mailnews/content/mailViewList.js b/suite/mailnews/content/mailViewList.js
  4847. --- a/suite/mailnews/content/mailViewList.js
  4848. +++ b/suite/mailnews/content/mailViewList.js
  4849. @@ -91,17 +91,17 @@ function RefreshListView(aSelectedMailVi
  4850. gListBox.appendItem(mailView.prettyName, index);
  4851. if (aSelectedMailView && (mailView.prettyName == aSelectedMailView.prettyName))
  4852. gListBox.selectedIndex = index;
  4853. }
  4854. }
  4855. function OnNewMailView()
  4856. {
  4857. - window.openDialog('chrome://messenger/content/mailViewSetup.xul',
  4858. + window.openDialog('chrome://messenger/content/mailViewSetup.xhtml',
  4859. '',
  4860. 'centerscreen,resizable,modal,titlebar,chrome',
  4861. {onOkCallback: RefreshListView});
  4862. }
  4863. function OnDeleteMailView()
  4864. {
  4865. let bundle = Services.strings.createBundle("chrome://messenger/locale/messenger.properties");
  4866. @@ -137,17 +137,17 @@ function OnEditMailView()
  4867. {
  4868. // get the selected index
  4869. var selectedIndex = gListBox.selectedIndex;
  4870. if (selectedIndex >= 0)
  4871. {
  4872. let selMailView = gMailListView.getMailViewAt(selectedIndex);
  4873. // open up the mail view setup dialog passing in the mail view as an argument
  4874. let args = {mailView: selMailView, onOkCallback: RefreshListView};
  4875. - window.openDialog('chrome://messenger/content/mailViewSetup.xul',
  4876. + window.openDialog('chrome://messenger/content/mailViewSetup.xhtml',
  4877. '',
  4878. 'centerscreen,modal,resizable,titlebar,chrome',
  4879. args);
  4880. }
  4881. }
  4882. function OnMailViewSelect(aEvent)
  4883. {
  4884. diff --git a/suite/mailnews/content/mailViewList.xhtml b/suite/mailnews/content/mailViewList.xhtml
  4885. --- a/suite/mailnews/content/mailViewList.xhtml
  4886. +++ b/suite/mailnews/content/mailViewList.xhtml
  4887. @@ -2,17 +2,17 @@
  4888. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  4889. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4890. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  4891. <?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
  4892. <!-- Mac needs dialog.css to correctly style the moved Help button -->
  4893. <?xml-stylesheet href="chrome://global/skin/dialog.css" type="text/css"?>
  4894. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  4895. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  4896. <!DOCTYPE dialog [
  4897. <!ENTITY % mailViewLisDTD SYSTEM "chrome://messenger/locale/mailViewList.dtd">
  4898. %mailViewLisDTD;
  4899. <!ENTITY % FilterListDialogDTD SYSTEM "chrome://messenger/locale/FilterListDialog.dtd">
  4900. %FilterListDialogDTD;
  4901. ]>
  4902. diff --git a/suite/mailnews/content/mailViewSetup.xhtml b/suite/mailnews/content/mailViewSetup.xhtml
  4903. --- a/suite/mailnews/content/mailViewSetup.xhtml
  4904. +++ b/suite/mailnews/content/mailViewSetup.xhtml
  4905. @@ -2,17 +2,17 @@
  4906. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  4907. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4908. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  4909. <?xml-stylesheet href="chrome://messenger/skin/searchDialog.css" type="text/css"?>
  4910. -<?xul-overlay href="chrome://messenger/content/searchTermOverlay.xul"?>
  4911. +<?xul-overlay href="chrome://messenger/content/searchTermOverlay.xhtml"?>
  4912. <!DOCTYPE dialog SYSTEM "chrome://messenger/locale/mailViewSetup.dtd" >
  4913. <dialog id="mailViewSetupDialog"
  4914. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  4915. onload="mailViewOnLoad();"
  4916. onunload="mailViewOnUnLoad();"
  4917. ondialogaccept="return onOK();"
  4918. diff --git a/suite/mailnews/content/mailWidgets.xml b/suite/mailnews/content/mailWidgets.xml
  4919. --- a/suite/mailnews/content/mailWidgets.xml
  4920. +++ b/suite/mailnews/content/mailWidgets.xml
  4921. @@ -952,17 +952,17 @@
  4922. <method name="onSelect">
  4923. <parameter name="event"/>
  4924. <body>
  4925. <![CDATA[
  4926. var menulist = document.getAnonymousNodes(this)[0];
  4927. if (menulist.value == Ci.nsMsgSearchAttrib.OtherHeader) {
  4928. // Customize menuitem selected.
  4929. let args = {};
  4930. - window.openDialog("chrome://messenger/content/CustomHeaders.xul",
  4931. + window.openDialog("chrome://messenger/content/CustomHeaders.xhtml",
  4932. "",
  4933. "modal,centerscreen,resizable,titlebar,chrome",
  4934. args);
  4935. // User may have removed the custom header currently selected in
  4936. // the menulist so temporarily set the selection to a safe value.
  4937. this.value = Ci.nsMsgSearchAttrib.OtherHeader;
  4938. // rebuild the menulist
  4939. UpdateAfterCustomHeaderChange();
  4940. diff --git a/suite/mailnews/content/mailWindowOverlay.js b/suite/mailnews/content/mailWindowOverlay.js
  4941. --- a/suite/mailnews/content/mailWindowOverlay.js
  4942. +++ b/suite/mailnews/content/mailWindowOverlay.js
  4943. @@ -1349,17 +1349,17 @@ function MsgOpenFromFile() {
  4944. fp.open(rv => {
  4945. if (rv != Ci.nsIFilePicker.returnOK || !fp.file) {
  4946. return;
  4947. }
  4948. let uri = fp.fileURL.QueryInterface(Ci.nsIURL);
  4949. uri.query = "type=application/x-message-display";
  4950. - window.openDialog("chrome://messenger/content/messageWindow.xul", "_blank",
  4951. + window.openDialog("chrome://messenger/content/messageWindow.xhtml", "_blank",
  4952. "all,chrome,dialog=no,status,toolbar", uri);
  4953. });
  4954. }
  4955. function MsgOpenNewWindowForFolder(folderURI, msgKeyToSelect) {
  4956. let mailWindowService = Cc["@mozilla.org/messenger/windowservice;1"]
  4957. .getService(Ci.nsIMessengerWindowService);
  4958. if (!mailWindowService)
  4959. @@ -1494,17 +1494,17 @@ function MsgOpenNewWindowForMessage(mess
  4960. // required because on a right-click, the currentIndex value will be
  4961. // different from the actual row that is highlighted.
  4962. // GetSelectedMsgFolders() will return the message that is
  4963. // highlighted.
  4964. folderUri = GetSelectedMsgFolders()[0].URI;
  4965. // be sure to pass in the current view....
  4966. if (messageUri && folderUri) {
  4967. - window.openDialog( "chrome://messenger/content/messageWindow.xul", "_blank", "all,chrome,dialog=no,status,toolbar", messageUri, folderUri, gDBView );
  4968. + window.openDialog( "chrome://messenger/content/messageWindow.xhtml", "_blank", "all,chrome,dialog=no,status,toolbar", messageUri, folderUri, gDBView );
  4969. }
  4970. }
  4971. function CloseMailWindow() {
  4972. window.close();
  4973. }
  4974. function MsgJunk() {
  4975. @@ -1534,17 +1534,17 @@ function MsgMarkMsgAsRead(read) {
  4976. MarkSelectedMessagesRead(read);
  4977. }
  4978. function MsgMarkAsFlagged() {
  4979. MarkSelectedMessagesFlagged(!SelectedMessagesAreFlagged());
  4980. }
  4981. function MsgMarkReadByDate() {
  4982. - window.openDialog("chrome://messenger/content/markByDate.xul", "",
  4983. + window.openDialog("chrome://messenger/content/markByDate.xhtml", "",
  4984. "chrome,modal,titlebar,centerscreen",
  4985. GetLoadedMsgFolder());
  4986. }
  4987. function MsgMarkAllRead() {
  4988. let folders = GetSelectedMsgFolders();
  4989. for (let folder of folders)
  4990. folder.markAllMessagesRead(msgWindow);
  4991. @@ -1614,17 +1614,17 @@ function MsgMarkAllFoldersRead() {
  4992. function MsgFilters(emailAddress, folder) {
  4993. if (!folder)
  4994. folder = GetFirstSelectedMsgFolder();
  4995. var args;
  4996. if (emailAddress) {
  4997. // Prefill the filterEditor with the emailAddress.
  4998. args = {filterList: folder.getEditableFilterList(msgWindow), filterName: emailAddress};
  4999. - window.openDialog("chrome://messenger/content/FilterEditor.xul", "",
  5000. + window.openDialog("chrome://messenger/content/FilterEditor.xhtml", "",
  5001. "chrome, modal, resizable,centerscreen,dialog", args);
  5002. // If the user hits ok in the filterEditor dialog we set args.refresh=true
  5003. // there and we check this here in args to show filterList dialog.
  5004. // We also received the filter created via args.newFilter.
  5005. if ("refresh" in args && args.refresh) {
  5006. args = { refresh: true, folder, filter: args.newFilter };
  5007. MsgFilterList(args);
  5008. @@ -1764,17 +1764,17 @@ function MsgSendUnsentMsgs() {
  5009. function PrintEnginePrintInternal(aDoPrintPreview, aMsgType) {
  5010. var messageList = gFolderDisplay.selectedMessageUris;
  5011. if (!messageList) {
  5012. dump("PrintEnginePrint(): No messages selected.\n");
  5013. return false;
  5014. }
  5015. - window.openDialog("chrome://messenger/content/msgPrintEngine.xul", "",
  5016. + window.openDialog("chrome://messenger/content/msgPrintEngine.xhtml", "",
  5017. "chrome,dialog=no,all,centerscreen",
  5018. messageList.length, messageList, statusFeedback,
  5019. aDoPrintPreview, aMsgType);
  5020. return true;
  5021. }
  5022. function PrintEnginePrint() {
  5023. @@ -1852,17 +1852,17 @@ function getMessageBrowser() {
  5024. // The zoom manager, view source and possibly some other functions still rely
  5025. // on the getBrowser function.
  5026. function getBrowser() {
  5027. return GetTabMail() ? GetTabMail().getBrowserForSelectedTab() :
  5028. getMessageBrowser();
  5029. }
  5030. function MsgSynchronizeOffline() {
  5031. - window.openDialog("chrome://messenger/content/msgSynchronize.xul", "",
  5032. + window.openDialog("chrome://messenger/content/msgSynchronize.xhtml", "",
  5033. "centerscreen,chrome,modal,titlebar,resizable",
  5034. {msgWindow});
  5035. }
  5036. function MsgOpenAttachment() {}
  5037. function MsgUpdateMsgCount() {}
  5038. function MsgImport() {}
  5039. function MsgSynchronize() {}
  5040. @@ -2617,17 +2617,17 @@ function IgnoreMDNResponse() {
  5041. * chosen.
  5042. *
  5043. * @param [aFolder] the folder to open the search window for, if different from
  5044. * the displayed one
  5045. */
  5046. function MsgSearchMessages(aFolder) {
  5047. let folder = aFolder || gFolderDisplay.displayedFolder;
  5048. OpenOrFocusWindow({ folder }, "mailnews:search",
  5049. - "chrome://messenger/content/SearchDialog.xul");
  5050. + "chrome://messenger/content/SearchDialog.xhtml");
  5051. }
  5052. function MsgJunkMailInfo(aCheckFirstUse) {
  5053. if (aCheckFirstUse) {
  5054. if (!Services.prefs.getBoolPref("mailnews.ui.junk.firstuse"))
  5055. return;
  5056. Services.prefs.setBoolPref("mailnews.ui.junk.firstuse", false);
  5057. @@ -2637,26 +2637,26 @@ function MsgJunkMailInfo(aCheckFirstUse)
  5058. return;
  5059. }
  5060. var desiredWindow = Services.wm.getMostRecentWindow("mailnews:junkmailinfo");
  5061. if (desiredWindow)
  5062. desiredWindow.focus();
  5063. else
  5064. - window.openDialog("chrome://messenger/content/junkMailInfo.xul", "mailnews:junkmailinfo", "centerscreen,resizeable=no,titlebar,chrome,modal", null);
  5065. + window.openDialog("chrome://messenger/content/junkMailInfo.xhtml", "mailnews:junkmailinfo", "centerscreen,resizeable=no,titlebar,chrome,modal", null);
  5066. }
  5067. function MsgSearchAddresses() {
  5068. var args = { directory: null };
  5069. - OpenOrFocusWindow(args, "mailnews:absearch", "chrome://messenger/content/ABSearchDialog.xul");
  5070. + OpenOrFocusWindow(args, "mailnews:absearch", "chrome://messenger/content/ABSearchDialog.xhtml");
  5071. }
  5072. function MsgFilterList(args) {
  5073. - OpenOrFocusWindow(args, "mailnews:filterlist", "chrome://messenger/content/FilterListDialog.xul");
  5074. + OpenOrFocusWindow(args, "mailnews:filterlist", "chrome://messenger/content/FilterListDialog.xhtml");
  5075. }
  5076. function OpenOrFocusWindow(args, windowType, chromeURL) {
  5077. var desiredWindow = Services.wm.getMostRecentWindow(windowType);
  5078. if (desiredWindow) {
  5079. desiredWindow.focus();
  5080. if ("refresh" in args && args.refresh)
  5081. diff --git a/suite/mailnews/content/mailWindowOverlay.xhtml b/suite/mailnews/content/mailWindowOverlay.xhtml
  5082. --- a/suite/mailnews/content/mailWindowOverlay.xhtml
  5083. +++ b/suite/mailnews/content/mailWindowOverlay.xhtml
  5084. @@ -4,25 +4,25 @@
  5085. - License, v. 2.0. If a copy of the MPL was not distributed with this
  5086. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  5087. <?xml-stylesheet href="chrome://messenger/skin/folderMenus.css" type="text/css"?>
  5088. <?xml-stylesheet href="chrome://messenger/skin/smime/msgReadSMIMEOverlay.css" type="text/css"?>
  5089. <?xml-stylesheet href="chrome://messenger/content/bindings.css" type="text/css"?>
  5090. -<?xul-overlay href="chrome://communicator/content/charsetOverlay.xul"?>
  5091. -<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
  5092. -<?xul-overlay href="chrome://communicator/content/viewZoomOverlay.xul"?>
  5093. -<?xul-overlay href="chrome://communicator/content/viewApplyThemeOverlay.xul"?>
  5094. -<?xul-overlay href="chrome://messenger/content/msgHdrViewOverlay.xul"?>
  5095. -<?xul-overlay href="chrome://messenger/content/mailOverlay.xul"?>
  5096. -<?xul-overlay href="chrome://messenger/content/mailKeysOverlay.xul"?>
  5097. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  5098. -<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  5099. +<?xul-overlay href="chrome://communicator/content/charsetOverlay.xhtml"?>
  5100. +<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xhtml"?>
  5101. +<?xul-overlay href="chrome://communicator/content/viewZoomOverlay.xhtml"?>
  5102. +<?xul-overlay href="chrome://communicator/content/viewApplyThemeOverlay.xhtml"?>
  5103. +<?xul-overlay href="chrome://messenger/content/msgHdrViewOverlay.xhtml"?>
  5104. +<?xul-overlay href="chrome://messenger/content/mailOverlay.xhtml"?>
  5105. +<?xul-overlay href="chrome://messenger/content/mailKeysOverlay.xhtml"?>
  5106. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  5107. +<?xul-overlay href="chrome://communicator/content/tasksOverlay.xhtml"?>
  5108. <!DOCTYPE overlay [
  5109. <!ENTITY % messengerDTD SYSTEM "chrome://messenger/locale/messenger.dtd">
  5110. %messengerDTD;
  5111. <!ENTITY % mailKeysDTD SYSTEM "chrome://messenger/locale/mailKeysOverlay.dtd">
  5112. %mailKeysDTD;
  5113. <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
  5114. %globalDTD;
  5115. @@ -63,17 +63,17 @@
  5116. <stringbundle id="bundle_offlinePrompts" src="chrome://messenger/locale/offline.properties"/>
  5117. <stringbundle id="bundle_read_smime"
  5118. src="chrome://messenger-smime/locale/msgReadSMIMEOverlay.properties"/>
  5119. <stringbundle id="bundle_viewZoom"/>
  5120. <stringbundle id="bundle_viewApplyTheme"/>
  5121. <stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
  5122. </stringbundleset>
  5123. -<!-- Performance optimization...we include utilityOverlay.xul which defines some command sets
  5124. +<!-- Performance optimization...we include utilityOverlay.xhtml which defines some command sets
  5125. which are updated based on events like focus and select. We have our own custom events
  5126. which we use to optmize when we do command updating. To avoid unnecessary command updating,
  5127. we are going to override the events the global edit menu items and select edit menu items
  5128. are updated on with events of our own controlling.
  5129. -->
  5130. <commandset id="globalEditMenuItems"
  5131. commandupdater="true"
  5132. @@ -1220,29 +1220,29 @@
  5133. disabled="true"
  5134. command="cmd_stop"/>
  5135. <menuitem id="menu_Stop"
  5136. label="&reloadCmd.label;"
  5137. key="key_reload"
  5138. accesskey="&reloadCmd.accesskey;"
  5139. command="cmd_reload"/>
  5140. <menuseparator id="viewAfterStopSeparator"/>
  5141. - <!-- overlayed from viewZoomOverlay.xul -->
  5142. + <!-- overlayed from viewZoomOverlay.xhtml -->
  5143. <menu id="menu_zoom"/>
  5144. <menu id="charsetMenu"
  5145. onpopupshowing="UpdateCharsetMenu(msgWindow.mailCharacterSet, this);"
  5146. oncommand="MailSetCharacterSet(event);"/>
  5147. <menuseparator id="viewAfterCharsetSeparator"/>
  5148. <menuitem id="pageSourceMenuItem" label="&pageSourceCmd.label;" key="key_viewPageSource" accesskey="&pageSourceCmd.accesskey;" command="cmd_viewPageSource"/>
  5149. <menuitem id="appmenu_securityStatus"
  5150. label="&menu_securityStatus.label;"
  5151. accesskey="&menu_securityStatus.accesskey;"
  5152. command="cmd_viewSecurityStatus"/>
  5153. <menuseparator observes="mailHideMenus"/>
  5154. - <!-- overlayed from viewApplyThemeOverlay.xul -->
  5155. + <!-- overlayed from viewApplyThemeOverlay.xhtml -->
  5156. <menu id="menu_viewApplyTheme" observes="mailHideMenus"/>
  5157. </menupopup>
  5158. </menu>
  5159. <menu id="goMenu" label="&goMenu.label;" accesskey="&goMenu.accesskey;">
  5160. <menupopup id="menu_GoPopup" onpopupshowing="InitGoMessagesMenu();">
  5161. <menu id="goNextMenu" label="&nextMenu.label;" accesskey="&nextMenu.accesskey;">
  5162. <menupopup id="menu_GoNextPopup">
  5163. @@ -1883,17 +1883,17 @@
  5164. <button id="button-advanced"
  5165. label="&advancedButton.label;"
  5166. accesskey="&advancedButton.accesskey;"
  5167. tooltiptext="&advancedButton.tooltip;"
  5168. observes="button_search"
  5169. oncommand="goDoCommand('button_search')"/>
  5170. </toolbaritem>
  5171. <toolbaritem id="throbber-box"/>
  5172. - <!-- see utilityOverlay.xul
  5173. + <!-- see utilityOverlay.xhtml
  5174. <toolbarbutton id="sync-button"/> -->
  5175. </toolbarpalette>
  5176. </toolbox>
  5177. <statusbar id="status-bar"
  5178. class="chromeclass-status" >
  5179. <statusbarpanel id="component-bar"/>
  5180. diff --git a/suite/mailnews/content/messageWindow.xhtml b/suite/mailnews/content/messageWindow.xhtml
  5181. --- a/suite/mailnews/content/messageWindow.xhtml
  5182. +++ b/suite/mailnews/content/messageWindow.xhtml
  5183. @@ -1,15 +1,15 @@
  5184. <?xml version="1.0"?>
  5185. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  5186. - License, v. 2.0. If a copy of the MPL was not distributed with this
  5187. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  5188. <?xml-stylesheet href="chrome://messenger/skin/messageWindow.css" type="text/css"?>
  5189. -<?xul-overlay href="chrome://messenger/content/mailWindowOverlay.xul"?>
  5190. +<?xul-overlay href="chrome://messenger/content/mailWindowOverlay.xhtml"?>
  5191. <!DOCTYPE window [
  5192. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
  5193. %brandDTD;
  5194. <!ENTITY % messengerDTD SYSTEM "chrome://messenger/locale/messenger.dtd" >
  5195. %messengerDTD;
  5196. ]>
  5197. diff --git a/suite/mailnews/content/messenger.xhtml b/suite/mailnews/content/messenger.xhtml
  5198. --- a/suite/mailnews/content/messenger.xhtml
  5199. +++ b/suite/mailnews/content/messenger.xhtml
  5200. @@ -1,17 +1,17 @@
  5201. <?xml version="1.0"?>
  5202. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  5203. - License, v. 2.0. If a copy of the MPL was not distributed with this
  5204. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  5205. <?xml-stylesheet href="chrome://messenger/skin/mailWindow1.css" type="text/css"?>
  5206. -<?xul-overlay href="chrome://messenger/content/threadPane.xul"?>
  5207. -<?xul-overlay href="chrome://messenger/content/folderPane.xul"?>
  5208. -<?xul-overlay href="chrome://messenger/content/mailWindowOverlay.xul"?>
  5209. +<?xul-overlay href="chrome://messenger/content/threadPane.xhtml"?>
  5210. +<?xul-overlay href="chrome://messenger/content/folderPane.xhtml"?>
  5211. +<?xul-overlay href="chrome://messenger/content/mailWindowOverlay.xhtml"?>
  5212. <!DOCTYPE window [
  5213. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
  5214. %brandDTD;
  5215. <!ENTITY % messengerDTD SYSTEM "chrome://messenger/locale/messenger.dtd" >
  5216. %messengerDTD;
  5217. ]>
  5218. diff --git a/suite/mailnews/content/msgHdrViewOverlay.js b/suite/mailnews/content/msgHdrViewOverlay.js
  5219. --- a/suite/mailnews/content/msgHdrViewOverlay.js
  5220. +++ b/suite/mailnews/content/msgHdrViewOverlay.js
  5221. @@ -1357,30 +1357,30 @@ createNewAttachmentInfo.prototype.saveAt
  5222. false);
  5223. }
  5224. createNewAttachmentInfo.prototype.viewAttachment = function viewAttachment()
  5225. {
  5226. var url = this.url;
  5227. if (!this.isExternalAttachment)
  5228. url += "&filename=" + encodeURIComponent(this.displayName);
  5229. - openDialog("chrome://global/content/viewSource.xul",
  5230. + openDialog("chrome://global/content/viewSource.xhtml",
  5231. "_blank", "all,dialog=no", {URL: url});
  5232. }
  5233. createNewAttachmentInfo.prototype.openAttachment = function openAttachment()
  5234. {
  5235. switch (this.contentType)
  5236. {
  5237. // As of bug 599119, isTypeSupported returns true for messages, but
  5238. // attached messages don't open reliably in the browser, so pretend
  5239. // they're not supported and open a message window for them instead.
  5240. case "message/rfc822":
  5241. var url = this.url + "&type=application/x-message-display";
  5242. - window.openDialog("chrome://messenger/content/messageWindow.xul",
  5243. + window.openDialog("chrome://messenger/content/messageWindow.xhtml",
  5244. "_blank", "all,dialog=no",
  5245. Services.io.newURI(url));
  5246. return;
  5247. case "text/x-moz-deleted":
  5248. return;
  5249. }
  5250. var webNavigationInfo =
  5251. diff --git a/suite/mailnews/content/msgViewPickerOverlay.js b/suite/mailnews/content/msgViewPickerOverlay.js
  5252. --- a/suite/mailnews/content/msgViewPickerOverlay.js
  5253. +++ b/suite/mailnews/content/msgViewPickerOverlay.js
  5254. @@ -181,17 +181,17 @@ function SetMailViewForFolder(aFolder, a
  5255. folderInfo.setUint32Property (kViewCurrent, isNaN(aValue) ? kViewItemAll : aValue);
  5256. folderInfo.setCharProperty(kViewCurrentTag, aValue);
  5257. }
  5258. }
  5259. function LaunchCustomizeDialog()
  5260. {
  5261. - OpenOrFocusWindow({}, "mailnews:mailviewlist", "chrome://messenger/content/mailViewList.xul");
  5262. + OpenOrFocusWindow({}, "mailnews:mailviewlist", "chrome://messenger/content/mailViewList.xhtml");
  5263. }
  5264. function LoadCustomMailView(index)
  5265. {
  5266. PrepareForViewChange();
  5267. var searchTermsArrayForQS = CreateGroupedSearchTerms(gMailViewList.getMailViewAt(index).searchTerms);
  5268. createSearchTermsWithList(searchTermsArrayForQS);
  5269. diff --git a/suite/mailnews/content/tabmail.js b/suite/mailnews/content/tabmail.js
  5270. --- a/suite/mailnews/content/tabmail.js
  5271. +++ b/suite/mailnews/content/tabmail.js
  5272. @@ -510,17 +510,17 @@ var gMailNewsTabsType =
  5273. },
  5274. //
  5275. // nsIController implementation
  5276. //
  5277. // We ignore the aTabInfo parameter sent by tabmail when calling nsIController
  5278. // stuff and just delegate the call to the DefaultController by using it as
  5279. // our proto chain.
  5280. - // XXX remove the MessageWindowController stuff once we kill messageWindow.xul
  5281. + // XXX remove the MessageWindowController stuff once we kill messageWindow.xhtml
  5282. __proto__: "DefaultController" in window && window.DefaultController ||
  5283. "MessageWindowController" in window && window.MessageWindowController
  5284. };
  5285. //
  5286. // tabmail support methods
  5287. diff --git a/suite/mailnews/jar.mn b/suite/mailnews/jar.mn
  5288. --- a/suite/mailnews/jar.mn
  5289. +++ b/suite/mailnews/jar.mn
  5290. @@ -6,65 +6,65 @@ messenger.jar:
  5291. % content messagebody %content/messagebody/ contentaccessible=yes
  5292. % content messenger %content/messenger/
  5293. % override chrome://global/content/nsDragAndDrop.js chrome://messenger/content/nsDragAndDrop.js
  5294. # provide the nsTransferable in nsDragAndDrop.js to extensions that have to
  5295. # work with Geckos from before 1.9, when there was a separate file
  5296. % override chrome://global/content/nsTransferable.js chrome://messenger/content/nsDragAndDrop.js
  5297. % override chrome://messagebody/skin/messageBody.css chrome://messenger/skin/messageBody.css
  5298. % content messenger-region %content/messenger-region/
  5299. -% overlay chrome://communicator/content/pref/preferences.xul chrome://messenger/content/mailPrefsOverlay.xul
  5300. -% overlay chrome://communicator/content/pref/pref-appearance.xul chrome://messenger/content/mailPrefsOverlay.xul
  5301. -% overlay chrome://communicator/content/pref/pref-cookies.xul chrome://messenger/content/mailPrefsOverlay.xul
  5302. -% overlay chrome://editor/content/editorTasksOverlay.xul chrome://messenger/content/mailTasksOverlay.xul
  5303. -% overlay chrome://messenger/content/addressbook/abSelectAddressesDialog.xul chrome://messenger/content/mailOverlay.xul
  5304. -% overlay chrome://editor/content/composerOverlay.xul chrome://messenger/content/mailEditorOverlay.xul
  5305. +% overlay chrome://communicator/content/pref/preferences.xhtml chrome://messenger/content/mailPrefsOverlay.xhtml
  5306. +% overlay chrome://communicator/content/pref/pref-appearance.xhtml chrome://messenger/content/mailPrefsOverlay.xhtml
  5307. +% overlay chrome://communicator/content/pref/pref-cookies.xhtml chrome://messenger/content/mailPrefsOverlay.xhtml
  5308. +% overlay chrome://editor/content/editorTasksOverlay.xhtml chrome://messenger/content/mailTasksOverlay.xhtml
  5309. +% overlay chrome://messenger/content/addressbook/abSelectAddressesDialog.xhtml chrome://messenger/content/mailOverlay.xhtml
  5310. +% overlay chrome://editor/content/composerOverlay.xhtml chrome://messenger/content/mailEditorOverlay.xhtml
  5311. content/messenger/browserRequest.js (content/browserRequest.js)
  5312. - content/messenger/browserRequest.xul (content/browserRequest.xul)
  5313. + content/messenger/browserRequest.xhtml (content/browserRequest.xhtml)
  5314. content/messenger/commandglue.js (content/commandglue.js)
  5315. content/messenger/folderDisplay.js (content/folderDisplay.js)
  5316. content/messenger/folderPane.js (content/folderPane.js)
  5317. - content/messenger/folderPane.xul (content/folderPane.xul)
  5318. + content/messenger/folderPane.xhtml (content/folderPane.xhtml)
  5319. content/messenger/mail-offline.js (content/mail-offline.js)
  5320. content/messenger/mail3PaneWindowCommands.js (content/mail3PaneWindowCommands.js)
  5321. content/messenger/mailCommands.js (content/mailCommands.js)
  5322. content/messenger/mailContextMenus.js (content/mailContextMenus.js)
  5323. - content/messenger/mailEditorOverlay.xul (content/mailEditorOverlay.xul)
  5324. -* content/messenger/mailKeysOverlay.xul (content/mailKeysOverlay.xul)
  5325. + content/messenger/mailEditorOverlay.xhtml (content/mailEditorOverlay.xhtml)
  5326. +* content/messenger/mailKeysOverlay.xhtml (content/mailKeysOverlay.xhtml)
  5327. content/messenger/mailOverlay.js (content/mailOverlay.js)
  5328. -* content/messenger/mailOverlay.xul (content/mailOverlay.xul)
  5329. +* content/messenger/mailOverlay.xhtml (content/mailOverlay.xhtml)
  5330. content/messenger/mailTasksOverlay.js (content/mailTasksOverlay.js)
  5331. - content/messenger/mailTasksOverlay.xul (content/mailTasksOverlay.xul)
  5332. + content/messenger/mailTasksOverlay.xhtml (content/mailTasksOverlay.xhtml)
  5333. content/messenger/mailViewList.js (content/mailViewList.js)
  5334. - content/messenger/mailViewList.xul (content/mailViewList.xul)
  5335. + content/messenger/mailViewList.xhtml (content/mailViewList.xhtml)
  5336. content/messenger/mailViewSetup.js (content/mailViewSetup.js)
  5337. - content/messenger/mailViewSetup.xul (content/mailViewSetup.xul)
  5338. + content/messenger/mailViewSetup.xhtml (content/mailViewSetup.xhtml)
  5339. content/messenger/mailWidgets.xml (content/mailWidgets.xml)
  5340. content/messenger/mailWindow.js (content/mailWindow.js)
  5341. content/messenger/mailWindowOverlay.js (content/mailWindowOverlay.js)
  5342. -* content/messenger/mailWindowOverlay.xul (content/mailWindowOverlay.xul)
  5343. +* content/messenger/mailWindowOverlay.xhtml (content/mailWindowOverlay.xhtml)
  5344. content/messenger/messageWindow.js (content/messageWindow.js)
  5345. - content/messenger/messageWindow.xul (content/messageWindow.xul)
  5346. + content/messenger/messageWindow.xhtml (content/messageWindow.xhtml)
  5347. content/messenger/messenger.css (content/messenger.css)
  5348. - content/messenger/messenger.xul (content/messenger.xul)
  5349. + content/messenger/messenger.xhtml (content/messenger.xhtml)
  5350. content/messenger/msgFolderPickerOverlay.js (content/msgFolderPickerOverlay.js)
  5351. content/messenger/msgHdrViewOverlay.js (content/msgHdrViewOverlay.js)
  5352. - content/messenger/msgHdrViewOverlay.xul (content/msgHdrViewOverlay.xul)
  5353. + content/messenger/msgHdrViewOverlay.xhtml (content/msgHdrViewOverlay.xhtml)
  5354. content/messenger/msgMail3PaneWindow.js (content/msgMail3PaneWindow.js)
  5355. content/messenger/msgViewNavigation.js (content/msgViewNavigation.js)
  5356. content/messenger/msgViewPickerOverlay.js (content/msgViewPickerOverlay.js)
  5357. content/messenger/nsDragAndDrop.js (content/nsDragAndDrop.js)
  5358. content/messenger/phishingDetector.js (content/phishingDetector.js)
  5359. content/messenger/searchBar.js (content/searchBar.js)
  5360. content/messenger/start.xhtml (content/start.xhtml)
  5361. content/messenger/tabmail.js (content/tabmail.js)
  5362. content/messenger/tabmail.xml (content/tabmail.xml)
  5363. content/messenger/threadPane.js (content/threadPane.js)
  5364. - content/messenger/threadPane.xul (content/threadPane.xul)
  5365. + content/messenger/threadPane.xhtml (content/threadPane.xhtml)
  5366. - content/messenger/SearchDialog.xul (content/SearchDialog.xul)
  5367. + content/messenger/SearchDialog.xhtml (content/SearchDialog.xhtml)
  5368. content/messenger/SearchDialog.js (content/SearchDialog.js)
  5369. - content/messenger/ABSearchDialog.xul (content/ABSearchDialog.xul)
  5370. + content/messenger/ABSearchDialog.xhtml (content/ABSearchDialog.xhtml)
  5371. content/messenger/ABSearchDialog.js (content/ABSearchDialog.js)
  5372. - content/messenger/FilterListDialog.xul (content/FilterListDialog.xul)
  5373. + content/messenger/FilterListDialog.xhtml (content/FilterListDialog.xhtml)
  5374. content/messenger/FilterListDialog.js (content/FilterListDialog.js)
  5375. - content/messenger/searchTermOverlay.xul (content/searchTermOverlay.xul)
  5376. + content/messenger/searchTermOverlay.xhtml (content/searchTermOverlay.xhtml)
  5377. diff --git a/suite/mailnews/modules/MailUtils.js b/suite/mailnews/modules/MailUtils.js
  5378. --- a/suite/mailnews/modules/MailUtils.js
  5379. +++ b/suite/mailnews/modules/MailUtils.js
  5380. @@ -86,14 +86,14 @@ var MailUtils =
  5381. openMessageInNewWindow: function MailUtils_openMessageInNewWindow(aMsgHdr)
  5382. {
  5383. // Pass in the message URI as messageWindow.js doesn't handle message headers
  5384. let messageURI = Cc["@mozilla.org/supports-string;1"]
  5385. .createInstance(Ci.nsISupportsString);
  5386. messageURI.data = aMsgHdr.folder.getUriForMsg(aMsgHdr);
  5387. Services.ww.openWindow(null,
  5388. - "chrome://messenger/content/messageWindow.xul",
  5389. + "chrome://messenger/content/messageWindow.xhtml",
  5390. "_blank",
  5391. "all,chrome,dialog=no,status,toolbar",
  5392. messageURI);
  5393. }
  5394. };
  5395. diff --git a/suite/themes/classic/communicator/sync/syncCommon.css b/suite/themes/classic/communicator/sync/syncCommon.css
  5396. --- a/suite/themes/classic/communicator/sync/syncCommon.css
  5397. +++ b/suite/themes/classic/communicator/sync/syncCommon.css
  5398. @@ -1,13 +1,13 @@
  5399. /* This Source Code Form is subject to the terms of the Mozilla Public
  5400. * License, v. 2.0. If a copy of the MPL was not distributed with this
  5401. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5402. -/* The following are used by both syncSetup.xul and syncGenericChange.xul */
  5403. +/* The following are used by both syncSetup.xhtml and syncGenericChange.xhtml */
  5404. .status {
  5405. color: -moz-dialogtext;
  5406. }
  5407. .statusIcon {
  5408. margin-inline-start: 4px;
  5409. max-height: 16px;
  5410. max-width: 16px;
  5411. @@ -20,17 +20,17 @@
  5412. .statusIcon[status="error"] {
  5413. list-style-image: url("chrome://global/skin/icons/error-16.png");
  5414. }
  5415. .statusIcon[status="success"] {
  5416. list-style-image: url("chrome://global/skin/icons/information-16.png");
  5417. }
  5418. -/* .data is only used by syncGenericChange.xul, but it seems unnecessary to have
  5419. +/* .data is only used by syncGenericChange.xhtml, but it seems unnecessary to have
  5420. a separate stylesheet for it. */
  5421. .data {
  5422. font-size: 90%;
  5423. font-weight: bold;
  5424. }
  5425. #change-dialog {
  5426. width: 40em;
  5427. diff --git a/suite/themes/classic/jar.mn b/suite/themes/classic/jar.mn
  5428. --- a/suite/themes/classic/jar.mn
  5429. +++ b/suite/themes/classic/jar.mn
  5430. @@ -3,23 +3,23 @@
  5431. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  5432. classic.jar:
  5433. % skin communicator classic/1.0 %skin/classic/communicator/
  5434. % skin editor classic/1.0 %skin/classic/editor/
  5435. % skin messenger classic/1.0 %skin/classic/messenger/
  5436. % skin navigator classic/1.0 %skin/classic/navigator/
  5437. % skin messenger-newsblog classic/1.0 %skin/classic/messenger-newsblog/
  5438. -% style chrome://communicator/content/customizeToolbar.xul chrome://navigator/skin/navigator.css
  5439. -% style chrome://communicator/content/customizeToolbar.xul chrome://messenger/skin/primaryToolbar.css
  5440. -% style chrome://communicator/content/customizeToolbar.xul chrome://messenger/skin/messengercompose/messengercompose.css
  5441. -% style chrome://communicator/content/customizeToolbar.xul chrome://messenger/skin/smime/msgCompSMIMEOverlay.css
  5442. -% style chrome://communicator/content/customizeToolbar.xul chrome://messenger/skin/addressbook/addressbook.css
  5443. -% style chrome://communicator/content/customizeToolbar.xul chrome://editor/skin/editorPrimaryToolbar.css
  5444. -% style chrome://communicator/content/customizeToolbar.xul chrome://editor/skin/editorFormatToolbar.css
  5445. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://navigator/skin/navigator.css
  5446. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://messenger/skin/primaryToolbar.css
  5447. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://messenger/skin/messengercompose/messengercompose.css
  5448. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://messenger/skin/smime/msgCompSMIMEOverlay.css
  5449. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://messenger/skin/addressbook/addressbook.css
  5450. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://editor/skin/editorPrimaryToolbar.css
  5451. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://editor/skin/editorFormatToolbar.css
  5452. #ifdef XP_MACOSX
  5453. skin/classic/communicator/aboutPrivateBrowsing.css (mac/communicator/aboutPrivateBrowsing.css)
  5454. skin/classic/communicator/aboutSessionRestore.css (mac/communicator/aboutSessionRestore.css)
  5455. skin/classic/communicator/button.css (mac/communicator/button.css)
  5456. skin/classic/communicator/communicator.css (mac/communicator/communicator.css)
  5457. skin/classic/communicator/customizeToolbar.css (mac/communicator/customizeToolbar.css)
  5458. skin/classic/communicator/config.css (mac/communicator/config.css)
  5459. skin/classic/communicator/datetimepicker.css (mac/communicator/datetimepicker.css)
  5460. diff --git a/suite/themes/classic/mac/navigator/navigator.css b/suite/themes/classic/mac/navigator/navigator.css
  5461. --- a/suite/themes/classic/mac/navigator/navigator.css
  5462. +++ b/suite/themes/classic/mac/navigator/navigator.css
  5463. @@ -779,19 +779,19 @@ toolbar[mode="text"] toolbarbutton.chevr
  5464. #editBookmarkPanelHeader {
  5465. margin-bottom: 6px;
  5466. }
  5467. #editBMPanel_editColumn {
  5468. color: #FFFFFF;
  5469. }
  5470. -/* The following elements come from editBookmarkOverlay.xul, but the styling is
  5471. +/* The following elements come from editBookmarkOverlay.xhtml, but the styling is
  5472. specific to the HUD-styled editBookmarkPanel. Styling shared by all
  5473. - editBookmarkOverlay.xul consumers should be in editBookmarkOverlay.css. */
  5474. + editBookmarkOverlay.xhtml consumers should be in editBookmarkOverlay.css. */
  5475. #editBMPanel_newFolderBox {
  5476. background: linear-gradient(#FFFFFF, #F2F2F2);
  5477. background-origin: padding-box;
  5478. background-clip: padding-box;
  5479. border-radius: 0 0 3px 3px;
  5480. border: 1px solid #A5A5A5;
  5481. box-shadow: inset 0 1px rgba(255,255, 255, 0.8),
  5482. diff --git a/suite/themes/modern/communicator/sync/syncCommon.css b/suite/themes/modern/communicator/sync/syncCommon.css
  5483. --- a/suite/themes/modern/communicator/sync/syncCommon.css
  5484. +++ b/suite/themes/modern/communicator/sync/syncCommon.css
  5485. @@ -1,13 +1,13 @@
  5486. /* This Source Code Form is subject to the terms of the Mozilla Public
  5487. * License, v. 2.0. If a copy of the MPL was not distributed with this
  5488. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5489. -/* The following are used by both syncSetup.xul and syncGenericChange.xul */
  5490. +/* The following are used by both syncSetup.xhtml and syncGenericChange.xhtml */
  5491. .statusIcon {
  5492. margin-inline-start: 4px;
  5493. max-height: 16px;
  5494. max-width: 16px;
  5495. }
  5496. .statusIcon[status="active"] {
  5497. list-style-image: url("chrome://communicator/skin/icons/loading.png");
  5498. @@ -16,17 +16,17 @@
  5499. .statusIcon[status="error"] {
  5500. list-style-image: url("chrome://global/skin/icons/error-16.png");
  5501. }
  5502. .statusIcon[status="success"] {
  5503. list-style-image: url("chrome://global/skin/icons/information-16.png");
  5504. }
  5505. -/* .data is only used by syncGenericChange.xul, but it seems unnecessary to have
  5506. +/* .data is only used by syncGenericChange.xhtml, but it seems unnecessary to have
  5507. a separate stylesheet for it. */
  5508. .data {
  5509. font-size: 90%;
  5510. font-weight: bold;
  5511. }
  5512. #change-dialog {
  5513. width: 40em;
  5514. diff --git a/suite/themes/modern/jar.mn b/suite/themes/modern/jar.mn
  5515. --- a/suite/themes/modern/jar.mn
  5516. +++ b/suite/themes/modern/jar.mn
  5517. @@ -9,23 +9,23 @@ modern.jar:
  5518. % skin global modern/1.0 %skin/modern/global/
  5519. % skin global-platform modern/1.0 %skin/modern/global/gtk/
  5520. % skin global-platform modern/1.0 %skin/modern/global/mac/ os=Darwin
  5521. % skin global-platform modern/1.0 %skin/modern/global/win/ os=WINNT
  5522. % skin messenger modern/1.0 %skin/modern/messenger/
  5523. % skin mozapps modern/1.0 %skin/modern/mozapps/
  5524. % skin navigator modern/1.0 %skin/modern/navigator/
  5525. % skin messenger-newsblog modern/1.0 %skin/modern/messenger-newsblog/
  5526. -% style chrome://communicator/content/customizeToolbar.xul chrome://navigator/skin/navigator.css
  5527. -% style chrome://communicator/content/customizeToolbar.xul chrome://messenger/skin/primaryToolbar.css
  5528. -% style chrome://communicator/content/customizeToolbar.xul chrome://messenger/skin/messengercompose/messengercompose.css
  5529. -% style chrome://communicator/content/customizeToolbar.xul chrome://messenger/skin/smime/msgCompSMIMEOverlay.css
  5530. -% style chrome://communicator/content/customizeToolbar.xul chrome://messenger/skin/addressbook/addressbook.css
  5531. -% style chrome://communicator/content/customizeToolbar.xul chrome://editor/skin/editorPrimaryToolbar.css
  5532. -% style chrome://communicator/content/customizeToolbar.xul chrome://editor/skin/editorFormatToolbar.css
  5533. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://navigator/skin/navigator.css
  5534. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://messenger/skin/primaryToolbar.css
  5535. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://messenger/skin/messengercompose/messengercompose.css
  5536. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://messenger/skin/smime/msgCompSMIMEOverlay.css
  5537. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://messenger/skin/addressbook/addressbook.css
  5538. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://editor/skin/editorPrimaryToolbar.css
  5539. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://editor/skin/editorFormatToolbar.css
  5540. skin/modern/communicator/brand.css (communicator/brand.css)
  5541. skin/modern/communicator/blockedSite.css (communicator/blockedSite.css)
  5542. skin/modern/communicator/certError.css (communicator/certError.css)
  5543. skin/modern/communicator/customizeToolbar.css (communicator/customizeToolbar.css)
  5544. skin/modern/communicator/datetimepicker.css (communicator/datetimepicker.css)
  5545. skin/modern/communicator/numberbox.css (communicator/numberbox.css)
  5546. skin/modern/communicator/prefpanels.css (communicator/prefpanels.css)
  5547. skin/modern/communicator/preferences.css (communicator/preferences.css)
  5548. diff --git a/suite/themes/modern/messenger/dialogs.css b/suite/themes/modern/messenger/dialogs.css
  5549. --- a/suite/themes/modern/messenger/dialogs.css
  5550. +++ b/suite/themes/modern/messenger/dialogs.css
  5551. @@ -5,24 +5,24 @@
  5552. /* ===== dialogs.css ====================================================
  5553. == Styles used by the general dialogs in Messenger.
  5554. ======================================================================= */
  5555. @import url("chrome://messenger/skin/messenger.css");
  5556. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  5557. -/* ::::: fieldMapImport.xul ::::: */
  5558. +/* ::::: fieldMapImport.xhtml ::::: */
  5559. .importsampledata {
  5560. border-left: 3px solid #C2D0D0;
  5561. padding-inline-start: 10px;
  5562. }
  5563. -/* ::::: importDialog.xul ::::: */
  5564. +/* ::::: importDialog.xhtml ::::: */
  5565. #progressStatus {
  5566. margin: 1em 0px 0px;
  5567. }
  5568. #progressMeter {
  5569. margin-top: 1em;
  5570. margin-bottom: 2em;