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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189
  1. # HG changeset patch
  2. # User Bill Gianopoulos <wgianopoulos@gmail.com>
  3. # Date 1724955429 14400
  4. # Thu Aug 29 14:17:09 2024 -0400
  5. # Node ID bb6222d4ac453c485dc4c5f691399558e0679230
  6. # Parent 784f3faef3dd1943f685486a1e5b6ba6c0ba7aab
  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/nsSuiteGlue.js b/suite/components/nsSuiteGlue.js
  1707. --- a/suite/components/nsSuiteGlue.js
  1708. +++ b/suite/components/nsSuiteGlue.js
  1709. @@ -86,17 +86,17 @@ const BOOKMARKS_BACKUP_IDLE_TIME_SEC = 1
  1710. // per interval.
  1711. const BOOKMARKS_BACKUP_MIN_INTERVAL_DAYS = 1;
  1712. // Devtools Preferences
  1713. const DEBUGGER_REMOTE_ENABLED = "devtools.debugger.remote-enabled";
  1714. const DEBUGGER_REMOTE_PORT = "devtools.debugger.remote-port";
  1715. const DEBUGGER_FORCE_LOCAL = "devtools.debugger.force-local";
  1716. const DEBUGGER_WIFI_VISIBLE = "devtools.remote.wifi.visible";
  1717. -const DOWNLOAD_MANAGER_URL = "chrome://communicator/content/downloads/downloadmanager.xul";
  1718. +const DOWNLOAD_MANAGER_URL = "chrome://communicator/content/downloads/downloadmanager.xhtml";
  1719. const PREF_FOCUS_WHEN_STARTING = "browser.download.manager.focusWhenStarting";
  1720. const PREF_FLASH_COUNT = "browser.download.manager.flashCount";
  1721. var gDownloadManager;
  1722. // Constructor
  1723. function SuiteGlue() {
  1724. XPCOMUtils.defineLazyServiceGetter(this, "_idleService",
  1725. @@ -197,17 +197,17 @@ SuiteGlue.prototype = {
  1726. // the UI has gone should be finalized in _onQuitApplicationGranted.
  1727. this._dispose();
  1728. break;
  1729. case "profile-after-change":
  1730. this._onProfileAfterChange();
  1731. break;
  1732. case "chrome-document-global-created":
  1733. // Set up lwt, but only if the "lightweightthemes" attr is set on the root
  1734. - // (i.e. in messenger.xul).
  1735. + // (i.e. in messenger.xhtml).
  1736. subject.addEventListener("DOMContentLoaded", () => {
  1737. if (subject.document.documentElement.hasAttribute("lightweightthemes")) {
  1738. new LightweightThemeConsumer(subject.document);
  1739. }
  1740. }, {once: true});
  1741. break;
  1742. case "final-ui-startup":
  1743. this._onProfileStartup();
  1744. @@ -384,17 +384,17 @@ SuiteGlue.prototype = {
  1745. }
  1746. },
  1747. // profile is available
  1748. _onProfileAfterChange: function()
  1749. {
  1750. // check if we're in safe mode
  1751. if (Services.appinfo.inSafeMode) {
  1752. - Services.ww.openWindow(null, "chrome://communicator/content/safeMode.xul",
  1753. + Services.ww.openWindow(null, "chrome://communicator/content/safeMode.xhtml",
  1754. "_blank", "chrome,centerscreen,modal,resizable=no", null);
  1755. }
  1756. this._copyDefaultProfileFiles();
  1757. },
  1758. // profile startup handler (contains profile initialization routines)
  1759. _onProfileStartup: function()
  1760. {
  1761. @@ -830,17 +830,17 @@ SuiteGlue.prototype = {
  1762. .createInstance(Ci.nsIMutableArray);
  1763. let str = Cc["@mozilla.org/supports-string;1"]
  1764. .createInstance(Ci.nsISupportsString);
  1765. args.appendElement(str);
  1766. str = Cc["@mozilla.org/supports-string;1"]
  1767. .createInstance(Ci.nsISupportsString);
  1768. str.data = Services.prefs.getCharPref(PREF_EM_NEW_ADDONS_LIST);
  1769. args.appendElement(str);
  1770. - const EMURL = "chrome://mozapps/content/extensions/extensions.xul";
  1771. + const EMURL = "chrome://mozapps/content/extensions/extensions.xhtml";
  1772. // This window is the "first" to open.
  1773. // 'alwaysRaised' makes sure it stays in the foreground (though unfocused)
  1774. // so it is noticed.
  1775. const EMFEATURES = "all,dialog=no,alwaysRaised";
  1776. Services.ww.openWindow(null, EMURL, "_blank", EMFEATURES, args);
  1777. Services.prefs.clearUserPref(PREF_EM_NEW_ADDONS_LIST);
  1778. },
  1779. @@ -1034,17 +1034,17 @@ SuiteGlue.prototype = {
  1780. if (ShellService) try {
  1781. var appTypes = ShellService.shouldBeDefaultClientFor;
  1782. // Show the default client dialog only if we should check for the default
  1783. // client and we aren't already the default for the stored app types in
  1784. // shell.checkDefaultApps.
  1785. if (appTypes && ShellService.shouldCheckDefaultClient &&
  1786. !ShellService.isDefaultClient(true, appTypes)) {
  1787. - aWindow.openDialog("chrome://communicator/content/defaultClientDialog.xul",
  1788. + aWindow.openDialog("chrome://communicator/content/defaultClientDialog.xhtml",
  1789. "DefaultClient",
  1790. "modal,centerscreen,chrome,resizable=no");
  1791. }
  1792. } catch (e) {}
  1793. },
  1794. /**
  1795. * Initialize Places
  1796. diff --git a/suite/components/permissions/jar.mn b/suite/components/permissions/jar.mn
  1797. --- a/suite/components/permissions/jar.mn
  1798. +++ b/suite/components/permissions/jar.mn
  1799. @@ -1,10 +1,10 @@
  1800. # This Source Code Form is subject to the terms of the Mozilla Public
  1801. # License, v. 2.0. If a copy of the MPL was not distributed with this
  1802. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  1803. comm.jar:
  1804. content/communicator/permissions/cookieViewer.js (content/cookieViewer.js)
  1805. - content/communicator/permissions/cookieViewer.xul (content/cookieViewer.xul)
  1806. + content/communicator/permissions/cookieViewer.xhtml (content/cookieViewer.xhtml)
  1807. content/communicator/permissions/permissionsManager.js (content/permissionsManager.js)
  1808. - content/communicator/permissions/permissionsManager.xul (content/permissionsManager.xul)
  1809. + content/communicator/permissions/permissionsManager.xhtml (content/permissionsManager.xhtml)
  1810. content/communicator/permissions/permissionsUtils.js (content/permissionsUtils.js)
  1811. diff --git a/suite/components/places/PlacesUIUtils.jsm b/suite/components/places/PlacesUIUtils.jsm
  1812. --- a/suite/components/places/PlacesUIUtils.jsm
  1813. +++ b/suite/components/places/PlacesUIUtils.jsm
  1814. @@ -269,18 +269,18 @@ var PlacesUIUtils = {
  1815. showBookmarkDialog(aInfo, aParentWindow) {
  1816. // Preserve size attributes differently based on the fact the dialog has
  1817. // a folder picker or not, since it needs more horizontal space than the
  1818. // other controls.
  1819. let hasFolderPicker = !("hiddenRows" in aInfo) ||
  1820. !aInfo.hiddenRows.includes("folderPicker");
  1821. // Use a different chrome url to persist different sizes.
  1822. let dialogURL = hasFolderPicker ?
  1823. - "chrome://communicator/content/places/bookmarkProperties2.xul" :
  1824. - "chrome://communicator/content/places/bookmarkProperties.xul";
  1825. + "chrome://communicator/content/places/bookmarkProperties2.xhtml" :
  1826. + "chrome://communicator/content/places/bookmarkProperties.xhtml";
  1827. let features = "centerscreen,chrome,modal,resizable=yes";
  1828. let topUndoEntry;
  1829. let batchBlockingDeferred;
  1830. // Set the transaction manager into batching mode.
  1831. topUndoEntry = PlacesTransactions.topUndoEntry;
  1832. @@ -639,17 +639,17 @@ var PlacesUIUtils = {
  1833. browserWindow.whereToOpenLink(aEvent, false, true) : "window";
  1834. if (where == "window") {
  1835. // There is no browser window open, thus open a new one.
  1836. var uriList = PlacesUtils.toISupportsString(urls.join("|"));
  1837. var args = Cc["@mozilla.org/array;1"]
  1838. .createInstance(Ci.nsIMutableArray);
  1839. args.appendElement(uriList);
  1840. browserWindow = Services.ww.openWindow(aWindow,
  1841. - "chrome://navigator/content/navigator.xul",
  1842. + "chrome://navigator/content/navigator.xhtml",
  1843. null, "chrome,dialog=no,all", args);
  1844. return;
  1845. }
  1846. var loadInBackground = where == "tabshifted";
  1847. // For consistency, we want all the bookmarks to open in new tabs, instead
  1848. // of having one of them replace the currently focused tab. Hence we call
  1849. // loadTabs with aReplace set to false.
  1850. diff --git a/suite/components/places/content/bookmarkProperties.xhtml b/suite/components/places/content/bookmarkProperties.xhtml
  1851. --- a/suite/components/places/content/bookmarkProperties.xhtml
  1852. +++ b/suite/components/places/content/bookmarkProperties.xhtml
  1853. @@ -4,18 +4,18 @@
  1854. - License, v. 2.0. If a copy of the MPL was not distributed with this
  1855. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  1856. <?xml-stylesheet href="chrome://communicator/skin/"?>
  1857. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  1858. <?xml-stylesheet href="chrome://communicator/skin/places/editBookmarkOverlay.css"?>
  1859. <?xml-stylesheet href="chrome://communicator/skin/places/bookmarks.css"?>
  1860. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  1861. -<?xul-overlay href="chrome://communicator/content/places/editBookmarkOverlay.xul"?>
  1862. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  1863. +<?xul-overlay href="chrome://communicator/content/places/editBookmarkOverlay.xhtml"?>
  1864. <!DOCTYPE dialog [
  1865. <!ENTITY % editBookmarkOverlayDTD SYSTEM "chrome://communicator/locale/places/editBookmarkOverlay.dtd">
  1866. %editBookmarkOverlayDTD;
  1867. ]>
  1868. <dialog id="bookmarkproperties"
  1869. buttons="accept, cancel"
  1870. diff --git a/suite/components/places/content/bookmarksPanel.xhtml b/suite/components/places/content/bookmarksPanel.xhtml
  1871. --- a/suite/components/places/content/bookmarksPanel.xhtml
  1872. +++ b/suite/components/places/content/bookmarksPanel.xhtml
  1873. @@ -3,18 +3,18 @@
  1874. - License, v. 2.0. If a copy of the MPL was not distributed with this
  1875. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  1876. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  1877. <?xml-stylesheet href="chrome://communicator/skin/sidebar/sidebarListView.css" type="text/css"?>
  1878. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  1879. <?xml-stylesheet href="chrome://communicator/skin/places/bookmarks.css"?>
  1880. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  1881. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  1882. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  1883. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  1884. <!DOCTYPE page SYSTEM "chrome://communicator/locale/places/places.dtd">
  1885. <page id="bookmarksPanel"
  1886. xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  1887. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  1888. onload="init();"
  1889. onunload="SidebarUtils.setMouseoverURL('');">
  1890. diff --git a/suite/components/places/content/history-panel.js b/suite/components/places/content/history-panel.js
  1891. --- a/suite/components/places/content/history-panel.js
  1892. +++ b/suite/components/places/content/history-panel.js
  1893. @@ -72,15 +72,15 @@ function searchHistory(aInput) {
  1894. }
  1895. }
  1896. options.sortingMode = sortingMode;
  1897. options.resultType = resultType;
  1898. options.includeHidden = !!aInput;
  1899. // call load() on the tree manually
  1900. - // instead of setting the place attribute in history-panel.xul
  1901. + // instead of setting the place attribute in history-panel.xhtml
  1902. // otherwise, we will end up calling load() twice
  1903. gHistoryTree.load([query], options);
  1904. }
  1905. window.addEventListener("SidebarFocused",
  1906. () => gSearchBox.focus());
  1907. diff --git a/suite/components/places/content/history-panel.xhtml b/suite/components/places/content/history-panel.xhtml
  1908. --- a/suite/components/places/content/history-panel.xhtml
  1909. +++ b/suite/components/places/content/history-panel.xhtml
  1910. @@ -3,18 +3,18 @@
  1911. - License, v. 2.0. If a copy of the MPL was not distributed with this
  1912. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  1913. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  1914. <?xml-stylesheet href="chrome://communicator/skin/sidebar/sidebarListView.css" type="text/css"?>
  1915. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  1916. <?xml-stylesheet href="chrome://communicator/skin/places/bookmarks.css"?>
  1917. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  1918. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  1919. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  1920. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  1921. <!DOCTYPE page [
  1922. <!ENTITY % placesDTD SYSTEM "chrome://communicator/locale/places/places.dtd">
  1923. %placesDTD;
  1924. <!ENTITY % editMenuOverlayDTD SYSTEM "chrome://global/locale/editMenuOverlay.dtd">
  1925. %editMenuOverlayDTD;
  1926. ]>
  1927. diff --git a/suite/components/places/content/places.xhtml b/suite/components/places/content/places.xhtml
  1928. --- a/suite/components/places/content/places.xhtml
  1929. +++ b/suite/components/places/content/places.xhtml
  1930. @@ -6,21 +6,21 @@
  1931. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  1932. <?xml-stylesheet href="chrome://communicator/content/places/organizer.css"?>
  1933. <?xml-stylesheet href="chrome://communicator/skin/"?>
  1934. <?xml-stylesheet href="chrome://communicator/skin/places/bookmarks.css"?>
  1935. <?xml-stylesheet href="chrome://communicator/skin/places/organizer.css"?>
  1936. -<?xul-overlay href="chrome://communicator/content/places/editBookmarkOverlay.xul"?>
  1937. +<?xul-overlay href="chrome://communicator/content/places/editBookmarkOverlay.xhtml"?>
  1938. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  1939. -<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  1940. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  1941. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  1942. +<?xul-overlay href="chrome://communicator/content/tasksOverlay.xhtml"?>
  1943. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  1944. <!DOCTYPE window [
  1945. <!ENTITY % placesDTD SYSTEM "chrome://communicator/locale/places/places.dtd">
  1946. %placesDTD;
  1947. <!ENTITY % editMenuOverlayDTD SYSTEM "chrome://global/locale/editMenuOverlay.dtd">
  1948. %editMenuOverlayDTD;
  1949. <!ENTITY % navDTD SYSTEM "chrome://navigator/locale/navigator.dtd">
  1950. %navDTD;
  1951. diff --git a/suite/components/places/jar.mn b/suite/components/places/jar.mn
  1952. --- a/suite/components/places/jar.mn
  1953. +++ b/suite/components/places/jar.mn
  1954. @@ -1,30 +1,30 @@
  1955. # This Source Code Form is subject to the terms of the Mozilla Public
  1956. # License, v. 2.0. If a copy of the MPL was not distributed with this
  1957. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  1958. comm.jar:
  1959. # Provide another URI for the bookmarkProperties dialog so we can persist the
  1960. # attributes separately
  1961. - content/communicator/places/bookmarkProperties2.xul (content/bookmarkProperties.xul)
  1962. -* content/communicator/places/places.xul (content/places.xul)
  1963. + content/communicator/places/bookmarkProperties2.xhtml (content/bookmarkProperties.xhtml)
  1964. +* content/communicator/places/places.xhtml (content/places.xhtml)
  1965. content/communicator/places/places.js (content/places.js)
  1966. content/communicator/places/places.css (content/places.css)
  1967. content/communicator/places/organizer.css (content/organizer.css)
  1968. - content/communicator/places/bookmarkProperties.xul (content/bookmarkProperties.xul)
  1969. + content/communicator/places/bookmarkProperties.xhtml (content/bookmarkProperties.xhtml)
  1970. content/communicator/places/bookmarkProperties.js (content/bookmarkProperties.js)
  1971. - content/communicator/places/placesOverlay.xul (content/placesOverlay.xul)
  1972. + content/communicator/places/placesOverlay.xhtml (content/placesOverlay.xhtml)
  1973. content/communicator/places/menu.xml (content/menu.xml)
  1974. content/communicator/places/tree.xml (content/tree.xml)
  1975. content/communicator/places/controller.js (content/controller.js)
  1976. content/communicator/places/treeView.js (content/treeView.js)
  1977. content/communicator/places/browserPlacesViews.js (content/browserPlacesViews.js)
  1978. -# keep the Places version of the history sidebar at history/history-panel.xul
  1979. +# keep the Places version of the history sidebar at history/history-panel.xhtml
  1980. # to prevent having to worry about between versions of the browser
  1981. -* content/communicator/history/history-panel.xul (content/history-panel.xul)
  1982. +* content/communicator/history/history-panel.xhtml (content/history-panel.xhtml)
  1983. content/communicator/places/history-panel.js (content/history-panel.js)
  1984. # ditto for the bookmarks sidebar
  1985. - content/communicator/bookmarks/bookmarksPanel.xul (content/bookmarksPanel.xul)
  1986. + content/communicator/bookmarks/bookmarksPanel.xhtml (content/bookmarksPanel.xhtml)
  1987. content/communicator/bookmarks/bookmarksPanel.js (content/bookmarksPanel.js)
  1988. content/communicator/bookmarks/sidebarUtils.js (content/sidebarUtils.js)
  1989. - content/communicator/places/editBookmarkOverlay.xul (content/editBookmarkOverlay.xul)
  1990. + content/communicator/places/editBookmarkOverlay.xhtml (content/editBookmarkOverlay.xhtml)
  1991. content/communicator/places/editBookmarkOverlay.js (content/editBookmarkOverlay.js)
  1992. diff --git a/suite/components/places/tests/browser/head.js b/suite/components/places/tests/browser/head.js
  1993. --- a/suite/components/places/tests/browser/head.js
  1994. +++ b/suite/components/places/tests/browser/head.js
  1995. @@ -10,17 +10,17 @@ registerCleanupFunction(function() {
  1996. let getter = PlacesUIUtils.__lookupGetter__("leftPaneFolderId");
  1997. if (cachedLeftPaneFolderIdGetter && typeof(getter) != "function")
  1998. PlacesUIUtils.__defineGetter__("leftPaneFolderId",
  1999. cachedLeftPaneFolderIdGetter);
  2000. });
  2001. function openLibrary(callback) {
  2002. var library = window.openDialog(
  2003. - "chrome://communicator/content/places/places.xul",
  2004. + "chrome://communicator/content/places/places.xhtml",
  2005. "", "chrome,toolbar=yes,dialog=no,resizable");
  2006. waitForFocus(function () {
  2007. callback(library);
  2008. }, library);
  2009. }
  2010. /**
  2011. * Waits for completion of a clear history operation, before
  2012. diff --git a/suite/components/places/tests/chrome/chrome.ini b/suite/components/places/tests/chrome/chrome.ini
  2013. --- a/suite/components/places/tests/chrome/chrome.ini
  2014. +++ b/suite/components/places/tests/chrome/chrome.ini
  2015. @@ -1,10 +1,10 @@
  2016. [DEFAULT]
  2017. support-files = head.js
  2018. -[test_0_bug510634.xul]
  2019. -[test_0_multiple_left_pane.xul]
  2020. -[test_bug427633_no_newfolder_if_noip.xul]
  2021. -[test_bug485100-change-case-loses-tag.xul]
  2022. -[test_bug549192.xul]
  2023. -[test_bug549491.xul]
  2024. -[test_treeview_date.xul]
  2025. +[test_0_bug510634.xhtml]
  2026. +[test_0_multiple_left_pane.xhtml]
  2027. +[test_bug427633_no_newfolder_if_noip.xhtml]
  2028. +[test_bug485100-change-case-loses-tag.xhtml]
  2029. +[test_bug549192.xhtml]
  2030. +[test_bug549491.xhtml]
  2031. +[test_treeview_date.xhtml]
  2032. diff --git a/suite/components/places/tests/chrome/test_0_bug510634.xhtml b/suite/components/places/tests/chrome/test_0_bug510634.xhtml
  2033. --- a/suite/components/places/tests/chrome/test_0_bug510634.xhtml
  2034. +++ b/suite/components/places/tests/chrome/test_0_bug510634.xhtml
  2035. @@ -5,17 +5,17 @@
  2036. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  2037. <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
  2038. <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
  2039. type="text/css"?>
  2040. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  2041. <?xml-stylesheet href="chrome://communicator/skin/places/organizer.css"?>
  2042. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  2043. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  2044. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  2045. title="510634: Wrong icons on bookmarks sidebar"
  2046. onload="runTest();">
  2047. <script src="chrome://mochikit/content/MochiKit/packed.js" />
  2048. <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
  2049. 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
  2050. --- a/suite/components/places/tests/chrome/test_0_multiple_left_pane.xhtml
  2051. +++ b/suite/components/places/tests/chrome/test_0_multiple_left_pane.xhtml
  2052. @@ -10,17 +10,17 @@
  2053. <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
  2054. <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
  2055. type="text/css"?>
  2056. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  2057. <?xml-stylesheet href="chrome://communicator/skin/places/organizer.css"?>
  2058. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  2059. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  2060. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  2061. title="Test handling of multiple left pane folders"
  2062. onload="runTest();">
  2063. <script src="chrome://mochikit/content/MochiKit/packed.js" />
  2064. <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
  2065. 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
  2066. --- a/suite/components/places/tests/chrome/test_bug427633_no_newfolder_if_noip.xhtml
  2067. +++ b/suite/components/places/tests/chrome/test_bug427633_no_newfolder_if_noip.xhtml
  2068. @@ -7,18 +7,18 @@
  2069. <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
  2070. <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
  2071. type="text/css"?>
  2072. <?xml-stylesheet href="chrome://communicator/skin/places/editBookmarkOverlay.css"?>
  2073. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  2074. <?xml-stylesheet href="chrome://communicator/skin/places/organizer.css"?>
  2075. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  2076. -<?xul-overlay href="chrome://communicator/content/places/editBookmarkOverlay.xul"?>
  2077. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  2078. +<?xul-overlay href="chrome://communicator/content/places/editBookmarkOverlay.xhtml"?>
  2079. <!DOCTYPE window [
  2080. <!ENTITY % editBookmarkOverlayDTD SYSTEM "chrome://communicator/locale/places/editBookmarkOverlay.dtd">
  2081. %editBookmarkOverlayDTD;
  2082. ]>
  2083. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  2084. title="Bug 427633 - Disable creating a New Folder in the bookmarks dialogs if insertionPoint is invalid"
  2085. 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
  2086. --- a/suite/components/places/tests/chrome/test_bug485100-change-case-loses-tag.xhtml
  2087. +++ b/suite/components/places/tests/chrome/test_bug485100-change-case-loses-tag.xhtml
  2088. @@ -7,18 +7,18 @@
  2089. <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
  2090. <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
  2091. type="text/css"?>
  2092. <?xml-stylesheet href="chrome://communicator/skin/places/editBookmarkOverlay.css"?>
  2093. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  2094. <?xml-stylesheet href="chrome://communicator/skin/places/organizer.css"?>
  2095. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  2096. -<?xul-overlay href="chrome://communicator/content/places/editBookmarkOverlay.xul"?>
  2097. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  2098. +<?xul-overlay href="chrome://communicator/content/places/editBookmarkOverlay.xhtml"?>
  2099. <!DOCTYPE window [
  2100. <!ENTITY % editBookmarkOverlayDTD SYSTEM "chrome://communicator/locale/places/editBookmarkOverlay.dtd">
  2101. %editBookmarkOverlayDTD;
  2102. ]>
  2103. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  2104. title="485100: Exchanging a letter of a tag name with its big/small equivalent removes tag from bookmark"
  2105. diff --git a/suite/components/places/tests/chrome/test_bug549192.xhtml b/suite/components/places/tests/chrome/test_bug549192.xhtml
  2106. --- a/suite/components/places/tests/chrome/test_bug549192.xhtml
  2107. +++ b/suite/components/places/tests/chrome/test_bug549192.xhtml
  2108. @@ -6,17 +6,17 @@
  2109. -->
  2110. <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
  2111. <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
  2112. type="text/css"?>
  2113. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  2114. <?xml-stylesheet href="chrome://communicator/skin/places/organizer.css"?>
  2115. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  2116. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  2117. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  2118. title="549192: History view not updated after deleting entry"
  2119. onload="runTest();">
  2120. <script src="chrome://mochikit/content/MochiKit/packed.js" />
  2121. <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
  2122. <script src="head.js" />
  2123. diff --git a/suite/components/places/tests/chrome/test_bug549491.xhtml b/suite/components/places/tests/chrome/test_bug549491.xhtml
  2124. --- a/suite/components/places/tests/chrome/test_bug549491.xhtml
  2125. +++ b/suite/components/places/tests/chrome/test_bug549491.xhtml
  2126. @@ -6,17 +6,17 @@
  2127. -->
  2128. <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
  2129. <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
  2130. type="text/css"?>
  2131. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  2132. <?xml-stylesheet href="chrome://communicator/skin/places/organizer.css"?>
  2133. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  2134. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  2135. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  2136. title="549491: 'The root node is never visible' exception when details of the root node are modified "
  2137. onload="runTest();">
  2138. <script src="chrome://mochikit/content/MochiKit/packed.js" />
  2139. <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
  2140. <script src="head.js" />
  2141. diff --git a/suite/components/places/tests/chrome/test_treeview_date.xhtml b/suite/components/places/tests/chrome/test_treeview_date.xhtml
  2142. --- a/suite/components/places/tests/chrome/test_treeview_date.xhtml
  2143. +++ b/suite/components/places/tests/chrome/test_treeview_date.xhtml
  2144. @@ -5,17 +5,17 @@
  2145. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  2146. <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
  2147. <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
  2148. type="text/css"?>
  2149. <?xml-stylesheet href="chrome://communicator/content/places/places.css"?>
  2150. <?xml-stylesheet href="chrome://communicator/skin/places/organizer.css"?>
  2151. -<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xul"?>
  2152. +<?xul-overlay href="chrome://communicator/content/places/placesOverlay.xhtml"?>
  2153. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  2154. title="435322: Places tree view's formatting"
  2155. onload="runTest();">
  2156. <script src="chrome://mochikit/content/MochiKit/packed.js" />
  2157. <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
  2158. <script src="head.js" />
  2159. diff --git a/suite/components/pref/content/pref-applications.js b/suite/components/pref/content/pref-applications.js
  2160. --- a/suite/components/pref/content/pref-applications.js
  2161. +++ b/suite/components/pref/content/pref-applications.js
  2162. @@ -1,17 +1,17 @@
  2163. /* -*- Mode: Java; tab-width: 2; c-basic-offset: 2; -*-
  2164. *
  2165. * This Source Code Form is subject to the terms of the Mozilla Public
  2166. * License, v. 2.0. If a copy of the MPL was not distributed with this
  2167. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  2168. const {AppConstants} = ChromeUtils.import("resource://gre/modules/AppConstants.jsm");
  2169. const {ShellService} = ChromeUtils.import("resource:///modules/ShellService.jsm");
  2170. -// Needed as this script is also loaded by pref-applicationManager.xul.
  2171. +// Needed as this script is also loaded by pref-applicationManager.xhtml.
  2172. const {XPCOMUtils} =
  2173. ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
  2174. function Startup()
  2175. {
  2176. gApplicationsPane.init();
  2177. }
  2178. @@ -1365,17 +1365,17 @@ var gApplicationsPane = {
  2179. typeItem.setAttribute("appHandlerIcon", "app");
  2180. }
  2181. },
  2182. manageApp() {
  2183. var typeItem = this._list.selectedItem;
  2184. var handlerInfo = this._handledTypes[typeItem.type];
  2185. - document.documentElement.openSubDialog("chrome://communicator/content/pref/pref-applicationManager.xul",
  2186. + document.documentElement.openSubDialog("chrome://communicator/content/pref/pref-applicationManager.xhtml",
  2187. "", handlerInfo);
  2188. // Rebuild the actions menu so that we revert to the previous selection,
  2189. // or "Always ask" if the previous default application has been removed
  2190. this.rebuildActionsMenu();
  2191. // update the listitem too. Will be visible when selecting another row
  2192. typeItem.setAttribute("actionDescription",
  2193. @@ -1440,17 +1440,17 @@ var gApplicationsPane = {
  2194. params.mimeInfo = handlerInfo.wrappedHandlerInfo;
  2195. }
  2196. params.title = this._prefsBundle.getString("fpTitleChooseApp");
  2197. params.description = handlerInfo.description;
  2198. params.filename = null;
  2199. params.handlerApp = null;
  2200. - window.openDialog("chrome://global/content/appPicker.xul", null,
  2201. + window.openDialog("chrome://global/content/appPicker.xhtml", null,
  2202. "chrome,modal,centerscreen,titlebar,dialog=yes",
  2203. params);
  2204. if (this.isValidHandlerApp(params.handlerApp)) {
  2205. this.handlerApp = params.handlerApp;
  2206. }
  2207. this.finishChooseApp();
  2208. } else if (Services.prefs.getBoolPref("browser.download.useAppChooser", true) && ("@mozilla.org/applicationchooser;1" in Cc)) {
  2209. diff --git a/suite/components/pref/content/pref-languages.js b/suite/components/pref/content/pref-languages.js
  2210. --- a/suite/components/pref/content/pref-languages.js
  2211. +++ b/suite/components/pref/content/pref-languages.js
  2212. @@ -15,17 +15,17 @@ function Startup()
  2213. // of childNodes it is live and updates automatically.
  2214. gLanguages = gActiveLanguages.childNodes;
  2215. ReadAvailableLanguages();
  2216. }
  2217. function AddLanguage()
  2218. {
  2219. - document.documentElement.openSubDialog("chrome://communicator/content/pref/pref-languages-add.xul", "addlangwindow", gLanguageNames);
  2220. + document.documentElement.openSubDialog("chrome://communicator/content/pref/pref-languages-add.xhtml", "addlangwindow", gLanguageNames);
  2221. }
  2222. function ReadAvailableLanguages()
  2223. {
  2224. var i = 0;
  2225. var languagesBundle = document.getElementById("languageNamesBundle");
  2226. var prefLangBundle = document.getElementById("prefLangBundle");
  2227. var regionsBundle = document.getElementById("regionNamesBundle");
  2228. diff --git a/suite/components/pref/content/pref-proxies.js b/suite/components/pref/content/pref-proxies.js
  2229. --- a/suite/components/pref/content/pref-proxies.js
  2230. +++ b/suite/components/pref/content/pref-proxies.js
  2231. @@ -143,17 +143,17 @@ function FixProxyURL(aURL)
  2232. catch (e) {}
  2233. if (!gInstantApply)
  2234. EnableUnlockedButton(aURL);
  2235. }
  2236. function OpenAdvancedDialog()
  2237. {
  2238. - document.documentElement.openSubDialog("chrome://communicator/content/pref/pref-proxies-advanced.xul",
  2239. + document.documentElement.openSubDialog("chrome://communicator/content/pref/pref-proxies-advanced.xhtml",
  2240. "AdvancedProxyPreferences", null);
  2241. }
  2242. function DoProxyCopy(aChecked)
  2243. {
  2244. DoProxyHostCopy(gHTTP.value);
  2245. DoProxyPortCopy(gHTTPPort.value);
  2246. var nonshare = ["networkProxySSL", "networkProxySSL_Port",
  2247. diff --git a/suite/components/pref/content/pref-sync.js b/suite/components/pref/content/pref-sync.js
  2248. --- a/suite/components/pref/content/pref-sync.js
  2249. +++ b/suite/components/pref/content/pref-sync.js
  2250. @@ -107,37 +107,37 @@ var gSyncPane = {
  2251. gSyncUtils.resetPassphrase();
  2252. },
  2253. openSetup: function (resetSync) {
  2254. var win = Services.wm.getMostRecentWindow("Weave:AccountSetup");
  2255. if (win)
  2256. win.focus();
  2257. else {
  2258. - window.openDialog("chrome://communicator/content/sync/syncSetup.xul",
  2259. + window.openDialog("chrome://communicator/content/sync/syncSetup.xhtml",
  2260. "weaveSetup", "centerscreen,chrome,resizable=no", resetSync);
  2261. }
  2262. },
  2263. openQuotaDialog: function () {
  2264. let win = Services.wm.getMostRecentWindow("Sync:ViewQuota");
  2265. if (win)
  2266. win.focus();
  2267. else
  2268. - window.openDialog("chrome://communicator/content/sync/syncQuota.xul", "",
  2269. + window.openDialog("chrome://communicator/content/sync/syncQuota.xhtml", "",
  2270. "centerscreen,chrome,dialog,modal");
  2271. },
  2272. openAddDevice: function () {
  2273. if (!Weave.Utils.ensureMPUnlocked())
  2274. return;
  2275. let win = Services.wm.getMostRecentWindow("Sync:AddDevice");
  2276. if (win)
  2277. win.focus();
  2278. else
  2279. - window.openDialog("chrome://communicator/content/sync/syncAddDevice.xul",
  2280. + window.openDialog("chrome://communicator/content/sync/syncAddDevice.xhtml",
  2281. "syncAddDevice", "centerscreen,chrome,resizable=no");
  2282. },
  2283. resetSync: function () {
  2284. this.openSetup(true);
  2285. }
  2286. };
  2287. diff --git a/suite/components/pref/content/preferences.xhtml b/suite/components/pref/content/preferences.xhtml
  2288. --- a/suite/components/pref/content/preferences.xhtml
  2289. +++ b/suite/components/pref/content/preferences.xhtml
  2290. @@ -59,206 +59,206 @@
  2291. <treechildren id="prefsPanelChildren">
  2292. <!-- Appearance items -->
  2293. <treeitem container="true"
  2294. id="appearanceItem"
  2295. label="&appear.label;"
  2296. prefpane="appearance_pane"
  2297. helpTopic="appearance_pref"
  2298. - url="chrome://communicator/content/pref/pref-appearance.xul">
  2299. + url="chrome://communicator/content/pref/pref-appearance.xhtml">
  2300. <treechildren id="appearanceChildren">
  2301. <treeitem id="contentItem"
  2302. label="&content.label;"
  2303. prefpane="content_pane"
  2304. helpTopic="appearance_pref_content"
  2305. - url="chrome://communicator/content/pref/pref-content.xul"/>
  2306. + url="chrome://communicator/content/pref/pref-content.xhtml"/>
  2307. <treeitem id="fontsItem"
  2308. label="&fonts.label;"
  2309. prefpane="fonts_pane"
  2310. helpTopic="appearance_pref_fonts"
  2311. - url="chrome://communicator/content/pref/pref-fonts.xul"/>
  2312. + url="chrome://communicator/content/pref/pref-fonts.xhtml"/>
  2313. <treeitem id="colorsItem"
  2314. label="&colors.label;"
  2315. prefpane="colors_pane"
  2316. helpTopic="appearance_pref_colors"
  2317. - url="chrome://communicator/content/pref/pref-colors.xul"/>
  2318. + url="chrome://communicator/content/pref/pref-colors.xhtml"/>
  2319. <treeitem id="mediaItem"
  2320. label="&media.label;"
  2321. prefpane="media_pane"
  2322. helpTopic="appearance_pref_media"
  2323. - url="chrome://communicator/content/pref/pref-media.xul"/>
  2324. + url="chrome://communicator/content/pref/pref-media.xhtml"/>
  2325. <treeitem id="spellingItem"
  2326. label="&spellingPane.label;"
  2327. prefpane="spelling_pane"
  2328. helpTopic="appearance_pref_spelling"
  2329. - url="chrome://communicator/content/pref/pref-spelling.xul"/>
  2330. + url="chrome://communicator/content/pref/pref-spelling.xhtml"/>
  2331. </treechildren>
  2332. </treeitem>
  2333. <!-- Browser items -->
  2334. <treeitem container="true"
  2335. id="navigatorItem"
  2336. label="&navigator.label;"
  2337. prefpane="navigator_pane"
  2338. helpTopic="navigator_pref_navigator"
  2339. - url="chrome://communicator/content/pref/pref-navigator.xul">
  2340. + url="chrome://communicator/content/pref/pref-navigator.xhtml">
  2341. <treechildren id="navigatorChildren">
  2342. <treeitem id="historyItem"
  2343. label="&history.label;"
  2344. prefpane="history_pane"
  2345. helpTopic="navigator_pref_history"
  2346. - url="chrome://communicator/content/pref/pref-history.xul"/>
  2347. + url="chrome://communicator/content/pref/pref-history.xhtml"/>
  2348. <treeitem id="languagesItem"
  2349. label="&languages.label;"
  2350. prefpane="languages_pane"
  2351. helpTopic="navigator_pref_languages"
  2352. - url="chrome://communicator/content/pref/pref-languages.xul"/>
  2353. + url="chrome://communicator/content/pref/pref-languages.xhtml"/>
  2354. <treeitem id="applicationsItem"
  2355. label="&applications.label;"
  2356. prefpane="applications_pane"
  2357. helpTopic="navigator_pref_helper_applications"
  2358. - url="chrome://communicator/content/pref/pref-applications.xul"/>
  2359. + url="chrome://communicator/content/pref/pref-applications.xhtml"/>
  2360. <treeitem id="locationBarItem"
  2361. label="&locationBar.label;"
  2362. prefpane="locationBar_pane"
  2363. helpTopic="navigator_pref_location_bar"
  2364. - url="chrome://communicator/content/pref/pref-locationbar.xul"/>
  2365. + url="chrome://communicator/content/pref/pref-locationbar.xhtml"/>
  2366. <treeitem id="searchItem"
  2367. label="&search.label;"
  2368. prefpane="search_pane"
  2369. helpTopic="navigator_pref_internet_searching"
  2370. - url="chrome://communicator/content/pref/pref-search.xul"/>
  2371. + url="chrome://communicator/content/pref/pref-search.xhtml"/>
  2372. <treeitem id="tabsItem"
  2373. label="&tabWindows.label;"
  2374. prefpane="tabs_pane"
  2375. helpTopic="navigator_pref_tabbed_browsing"
  2376. - url="chrome://communicator/content/pref/pref-tabs.xul"/>
  2377. + url="chrome://communicator/content/pref/pref-tabs.xhtml"/>
  2378. <treeitem id="linksItem"
  2379. label="&links.label;"
  2380. prefpane="links_pane"
  2381. helpTopic="navigator_pref_link_behavior"
  2382. - url="chrome://communicator/content/pref/pref-links.xul"/>
  2383. + url="chrome://communicator/content/pref/pref-links.xhtml"/>
  2384. <treeitem id="downloadItem"
  2385. label="&download.label;"
  2386. prefpane="download_pane"
  2387. helpTopic="navigator_pref_downloads"
  2388. - url="chrome://communicator/content/pref/pref-download.xul"/>
  2389. + url="chrome://communicator/content/pref/pref-download.xhtml"/>
  2390. </treechildren>
  2391. </treeitem>
  2392. <!-- Privacy & Security items -->
  2393. <treeitem container="true"
  2394. id="securityItem"
  2395. prefpane="security_pane"
  2396. label="&security.label;"
  2397. helpTopic="sec_gen"
  2398. - url="chrome://communicator/content/pref/pref-security.xul">
  2399. + url="chrome://communicator/content/pref/pref-security.xhtml">
  2400. <treechildren id="securityChildren">
  2401. <treeitem id="privatedataItem"
  2402. label="&privatedata.label;"
  2403. prefpane="privatedata_pane"
  2404. helpTopic="privatedata_prefs"
  2405. - url="chrome://communicator/content/pref/pref-privatedata.xul"/>
  2406. + url="chrome://communicator/content/pref/pref-privatedata.xhtml"/>
  2407. <treeitem id="cookiesItem"
  2408. label="&cookies.label;"
  2409. prefpane="cookies_pane"
  2410. helpTopic="cookies_prefs"
  2411. - url="chrome://communicator/content/pref/pref-cookies.xul"/>
  2412. + url="chrome://communicator/content/pref/pref-cookies.xhtml"/>
  2413. <treeitem id="imagesItem"
  2414. label="&images.label;"
  2415. prefpane="images_pane"
  2416. helpTopic="images_prefs"
  2417. - url="chrome://communicator/content/pref/pref-images.xul"/>
  2418. + url="chrome://communicator/content/pref/pref-images.xhtml"/>
  2419. <treeitem id="popupsItem"
  2420. label="&popups.label;"
  2421. prefpane="popups_pane"
  2422. helpTopic="pop_up_blocking_prefs"
  2423. - url="chrome://communicator/content/pref/pref-popups.xul"/>
  2424. + url="chrome://communicator/content/pref/pref-popups.xhtml"/>
  2425. <treeitem id="passwordsItem"
  2426. label="&passwords.label;"
  2427. prefpane="passwords_pane"
  2428. - url="chrome://pippki/content/pref-passwords.xul"
  2429. + url="chrome://pippki/content/pref-passwords.xhtml"
  2430. helpTopic="passwords_prefs"/>
  2431. <treeitem id="sslItem"
  2432. label="&ssltls.label;"
  2433. prefpane="ssl_pane"
  2434. - url="chrome://pippki/content/pref-ssl.xul"
  2435. + url="chrome://pippki/content/pref-ssl.xhtml"
  2436. helpTopic="ssl_prefs"/>
  2437. <treeitem id="certItem"
  2438. label="&certs.label;"
  2439. prefpane="certs_pane"
  2440. - url="chrome://pippki/content/pref-certs.xul"
  2441. + url="chrome://pippki/content/pref-certs.xhtml"
  2442. helpTopic="certs_prefs"/>
  2443. </treechildren>
  2444. </treeitem>
  2445. <!-- Sync
  2446. <treeitem id="syncItem"
  2447. label="&sync.label;"
  2448. prefpane="sync_pane"
  2449. - url="chrome://communicator/content/pref/pref-sync.xul"
  2450. + url="chrome://communicator/content/pref/pref-sync.xhtml"
  2451. helpTopic="sync_prefs"/> -->
  2452. <!-- Advanced items -->
  2453. <treeitem container="true"
  2454. id="advancedItem"
  2455. label="&advance.label;"
  2456. prefpane="advanced_pane"
  2457. helpTopic="advanced_pref_advanced"
  2458. - url="chrome://communicator/content/pref/pref-advanced.xul">
  2459. + url="chrome://communicator/content/pref/pref-advanced.xhtml">
  2460. <treechildren id="advancedChildren">
  2461. <treeitem id="scriptsItem"
  2462. label="&scriptsAndWindows2.label;"
  2463. prefpane="scripts_pane"
  2464. helpTopic="advanced_pref_scripts"
  2465. - url="chrome://communicator/content/pref/pref-scripts.xul"/>
  2466. + url="chrome://communicator/content/pref/pref-scripts.xhtml"/>
  2467. <treeitem id="keynavItem"
  2468. label="&keynav.label;"
  2469. prefpane="keynav_pane"
  2470. helpTopic="advanced_pref_keyboard_nav"
  2471. - url="chrome://communicator/content/pref/pref-keynav.xul"/>
  2472. + url="chrome://communicator/content/pref/pref-keynav.xhtml"/>
  2473. <treeitem id="findasyoutypeItem"
  2474. label="&findAsYouType.label;"
  2475. prefpane="findasyoutype_pane"
  2476. helpTopic="advanced_pref_find_as_you_type"
  2477. - url="chrome://communicator/content/pref/pref-findasyoutype.xul"/>
  2478. + url="chrome://communicator/content/pref/pref-findasyoutype.xhtml"/>
  2479. <treeitem id="cacheItem"
  2480. label="&cache.label;"
  2481. prefpane="cache_pane"
  2482. helpTopic="advanced_pref_cache"
  2483. - url="chrome://communicator/content/pref/pref-cache.xul"/>
  2484. + url="chrome://communicator/content/pref/pref-cache.xhtml"/>
  2485. <treeitem id="offlineAppsItem"
  2486. label="&offlineApps.label;"
  2487. prefpane="offlineapps_pane"
  2488. helpTopic="advanced_pref_offlineapps"
  2489. - url="chrome://communicator/content/pref/pref-offlineapps.xul"/>
  2490. + url="chrome://communicator/content/pref/pref-offlineapps.xhtml"/>
  2491. <treeitem id="proxiesItem"
  2492. label="&proxies.label;"
  2493. prefpane="proxies_pane"
  2494. helpTopic="advanced_pref_proxies"
  2495. - url="chrome://communicator/content/pref/pref-proxies.xul"/>
  2496. + url="chrome://communicator/content/pref/pref-proxies.xhtml"/>
  2497. <treeitem id="httpItem"
  2498. label="&httpnetworking.label;"
  2499. prefpane="http_pane"
  2500. helpTopic="advanced_http_networking"
  2501. - url="chrome://communicator/content/pref/pref-http.xul"/>
  2502. + url="chrome://communicator/content/pref/pref-http.xhtml"/>
  2503. <treeitem id="smartupdateItem"
  2504. label="&smart.label;"
  2505. prefpane="smartupdate_pane"
  2506. helpTopic="advanced_pref_installation"
  2507. - url="chrome://communicator/content/pref/pref-smartupdate.xul"/>
  2508. + url="chrome://communicator/content/pref/pref-smartupdate.xhtml"/>
  2509. <treeitem id="mousewheelItem"
  2510. label="&mousewheel.label;"
  2511. prefpane="mousewheel_pane"
  2512. helpTopic="advanced_pref_mouse_wheel"
  2513. - url="chrome://communicator/content/pref/pref-mousewheel.xul"/>
  2514. + url="chrome://communicator/content/pref/pref-mousewheel.xhtml"/>
  2515. <treeitem id="debuggingItem"
  2516. label="&debugging.label;"
  2517. prefpane="debugging_pane"
  2518. helpTopic="advanced_pref_debugging"
  2519. - url="chrome://communicator/content/pref/pref-debugging.xul"/>
  2520. + url="chrome://communicator/content/pref/pref-debugging.xhtml"/>
  2521. </treechildren>
  2522. </treeitem>
  2523. </treechildren>
  2524. </tree>
  2525. </prefwindow>
  2526. diff --git a/suite/components/pref/jar.mn b/suite/components/pref/jar.mn
  2527. --- a/suite/components/pref/jar.mn
  2528. +++ b/suite/components/pref/jar.mn
  2529. @@ -1,73 +1,73 @@
  2530. # This Source Code Form is subject to the terms of the Mozilla Public
  2531. # License, v. 2.0. If a copy of the MPL was not distributed with this
  2532. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  2533. comm.jar:
  2534. -* content/communicator/pref/preferences.xul (content/preferences.xul)
  2535. +* content/communicator/pref/preferences.xhtml (content/preferences.xhtml)
  2536. content/communicator/pref/preferences.js (content/preferences.js)
  2537. content/communicator/pref/prefpanels.css (content/prefpanels.css)
  2538. content/communicator/pref/prefpanels.xml (content/prefpanels.xml)
  2539. content/communicator/pref/pref-advanced.js (content/pref-advanced.js)
  2540. - content/communicator/pref/pref-advanced.xul (content/pref-advanced.xul)
  2541. + content/communicator/pref/pref-advanced.xhtml (content/pref-advanced.xhtml)
  2542. content/communicator/pref/pref-appearance.js (content/pref-appearance.js)
  2543. -* content/communicator/pref/pref-appearance.xul (content/pref-appearance.xul)
  2544. -* content/communicator/pref/pref-applications.xul (content/pref-applications.xul)
  2545. +* content/communicator/pref/pref-appearance.xhtml (content/pref-appearance.xhtml)
  2546. +* content/communicator/pref/pref-applications.xhtml (content/pref-applications.xhtml)
  2547. content/communicator/pref/pref-applications.js (content/pref-applications.js)
  2548. content/communicator/pref/pref-applicationManager.js (content/pref-applicationManager.js)
  2549. - content/communicator/pref/pref-applicationManager.xul (content/pref-applicationManager.xul)
  2550. + content/communicator/pref/pref-applicationManager.xhtml (content/pref-applicationManager.xhtml)
  2551. content/communicator/pref/pref-cache.js (content/pref-cache.js)
  2552. - content/communicator/pref/pref-cache.xul (content/pref-cache.xul)
  2553. + content/communicator/pref/pref-cache.xhtml (content/pref-cache.xhtml)
  2554. content/communicator/pref/pref-colors.js (content/pref-colors.js)
  2555. - content/communicator/pref/pref-colors.xul (content/pref-colors.xul)
  2556. + content/communicator/pref/pref-colors.xhtml (content/pref-colors.xhtml)
  2557. content/communicator/pref/pref-content.js (content/pref-content.js)
  2558. - content/communicator/pref/pref-content.xul (content/pref-content.xul)
  2559. + content/communicator/pref/pref-content.xhtml (content/pref-content.xhtml)
  2560. content/communicator/pref/pref-cookies.js (content/pref-cookies.js)
  2561. - content/communicator/pref/pref-cookies.xul (content/pref-cookies.xul)
  2562. + content/communicator/pref/pref-cookies.xhtml (content/pref-cookies.xhtml)
  2563. content/communicator/pref/pref-debugging.js (content/pref-debugging.js)
  2564. - content/communicator/pref/pref-debugging.xul (content/pref-debugging.xul)
  2565. + content/communicator/pref/pref-debugging.xhtml (content/pref-debugging.xhtml)
  2566. content/communicator/pref/pref-download.js (content/pref-download.js)
  2567. - content/communicator/pref/pref-download.xul (content/pref-download.xul)
  2568. + content/communicator/pref/pref-download.xhtml (content/pref-download.xhtml)
  2569. content/communicator/pref/pref-findasyoutype.js (content/pref-findasyoutype.js)
  2570. - content/communicator/pref/pref-findasyoutype.xul (content/pref-findasyoutype.xul)
  2571. + content/communicator/pref/pref-findasyoutype.xhtml (content/pref-findasyoutype.xhtml)
  2572. content/communicator/pref/pref-fonts.js (content/pref-fonts.js)
  2573. - content/communicator/pref/pref-fonts.xul (content/pref-fonts.xul)
  2574. + content/communicator/pref/pref-fonts.xhtml (content/pref-fonts.xhtml)
  2575. content/communicator/pref/pref-history.js (content/pref-history.js)
  2576. - content/communicator/pref/pref-history.xul (content/pref-history.xul)
  2577. + content/communicator/pref/pref-history.xhtml (content/pref-history.xhtml)
  2578. content/communicator/pref/pref-http.js (content/pref-http.js)
  2579. - content/communicator/pref/pref-http.xul (content/pref-http.xul)
  2580. - content/communicator/pref/pref-images.xul (content/pref-images.xul)
  2581. + content/communicator/pref/pref-http.xhtml (content/pref-http.xhtml)
  2582. + content/communicator/pref/pref-images.xhtml (content/pref-images.xhtml)
  2583. content/communicator/pref/pref-keynav.js (content/pref-keynav.js)
  2584. - content/communicator/pref/pref-keynav.xul (content/pref-keynav.xul)
  2585. + content/communicator/pref/pref-keynav.xhtml (content/pref-keynav.xhtml)
  2586. content/communicator/pref/pref-languages.js (content/pref-languages.js)
  2587. - content/communicator/pref/pref-languages.xul (content/pref-languages.xul)
  2588. - content/communicator/pref/pref-languages-add.xul (content/pref-languages-add.xul)
  2589. + content/communicator/pref/pref-languages.xhtml (content/pref-languages.xhtml)
  2590. + content/communicator/pref/pref-languages-add.xhtml (content/pref-languages-add.xhtml)
  2591. content/communicator/pref/pref-languages-add.js (content/pref-languages-add.js)
  2592. content/communicator/pref/pref-links.js (content/pref-links.js)
  2593. - content/communicator/pref/pref-links.xul (content/pref-links.xul)
  2594. + content/communicator/pref/pref-links.xhtml (content/pref-links.xhtml)
  2595. content/communicator/pref/pref-locationbar.js (content/pref-locationbar.js)
  2596. - content/communicator/pref/pref-locationbar.xul (content/pref-locationbar.xul)
  2597. -* content/communicator/pref/pref-media.xul (content/pref-media.xul)
  2598. + content/communicator/pref/pref-locationbar.xhtml (content/pref-locationbar.xhtml)
  2599. +* content/communicator/pref/pref-media.xhtml (content/pref-media.xhtml)
  2600. content/communicator/pref/pref-mousewheel.js (content/pref-mousewheel.js)
  2601. -* content/communicator/pref/pref-mousewheel.xul (content/pref-mousewheel.xul)
  2602. +* content/communicator/pref/pref-mousewheel.xhtml (content/pref-mousewheel.xhtml)
  2603. content/communicator/pref/pref-navigator.js (content/pref-navigator.js)
  2604. - content/communicator/pref/pref-navigator.xul (content/pref-navigator.xul)
  2605. + content/communicator/pref/pref-navigator.xhtml (content/pref-navigator.xhtml)
  2606. content/communicator/pref/pref-offlineapps.js (content/pref-offlineapps.js)
  2607. - content/communicator/pref/pref-offlineapps.xul (content/pref-offlineapps.xul)
  2608. + content/communicator/pref/pref-offlineapps.xhtml (content/pref-offlineapps.xhtml)
  2609. content/communicator/pref/pref-popups.js (content/pref-popups.js)
  2610. - content/communicator/pref/pref-popups.xul (content/pref-popups.xul)
  2611. + content/communicator/pref/pref-popups.xhtml (content/pref-popups.xhtml)
  2612. content/communicator/pref/pref-privatedata.js (content/pref-privatedata.js)
  2613. - content/communicator/pref/pref-privatedata.xul (content/pref-privatedata.xul)
  2614. + content/communicator/pref/pref-privatedata.xhtml (content/pref-privatedata.xhtml)
  2615. content/communicator/pref/pref-proxies.js (content/pref-proxies.js)
  2616. - content/communicator/pref/pref-proxies.xul (content/pref-proxies.xul)
  2617. - content/communicator/pref/pref-proxies-advanced.xul (content/pref-proxies-advanced.xul)
  2618. + content/communicator/pref/pref-proxies.xhtml (content/pref-proxies.xhtml)
  2619. + content/communicator/pref/pref-proxies-advanced.xhtml (content/pref-proxies-advanced.xhtml)
  2620. content/communicator/pref/pref-scripts.js (content/pref-scripts.js)
  2621. - content/communicator/pref/pref-scripts.xul (content/pref-scripts.xul)
  2622. + content/communicator/pref/pref-scripts.xhtml (content/pref-scripts.xhtml)
  2623. content/communicator/pref/pref-search.js (content/pref-search.js)
  2624. - content/communicator/pref/pref-search.xul (content/pref-search.xul)
  2625. + content/communicator/pref/pref-search.xhtml (content/pref-search.xhtml)
  2626. content/communicator/pref/pref-security.js (content/pref-security.js)
  2627. - content/communicator/pref/pref-security.xul (content/pref-security.xul)
  2628. + content/communicator/pref/pref-security.xhtml (content/pref-security.xhtml)
  2629. content/communicator/pref/pref-smartupdate.js (content/pref-smartupdate.js)
  2630. - content/communicator/pref/pref-smartupdate.xul (content/pref-smartupdate.xul)
  2631. + content/communicator/pref/pref-smartupdate.xhtml (content/pref-smartupdate.xhtml)
  2632. content/communicator/pref/pref-spelling.js (content/pref-spelling.js)
  2633. - content/communicator/pref/pref-spelling.xul (content/pref-spelling.xul)
  2634. -* content/communicator/pref/pref-tabs.xul (content/pref-tabs.xul)
  2635. + content/communicator/pref/pref-spelling.xhtml (content/pref-spelling.xhtml)
  2636. +* content/communicator/pref/pref-tabs.xhtml (content/pref-tabs.xhtml)
  2637. diff --git a/suite/components/pref/tests/browser/browser_bug410900.js b/suite/components/pref/tests/browser/browser_bug410900.js
  2638. --- a/suite/components/pref/tests/browser/browser_bug410900.js
  2639. +++ b/suite/components/pref/tests/browser/browser_bug410900.js
  2640. @@ -23,17 +23,17 @@ function test() {
  2641. if (topic != "app-handler-pane-loaded")
  2642. return;
  2643. obs.removeObserver(observer, "app-handler-pane-loaded");
  2644. runTest(win);
  2645. }
  2646. obs.addObserver(observer, "app-handler-pane-loaded");
  2647. - openDialog("chrome://communicator/content/pref/preferences.xul",
  2648. + openDialog("chrome://communicator/content/pref/preferences.xhtml",
  2649. "PrefWindow", "chrome,titlebar,dialog=no,resizable",
  2650. "applications_pane");
  2651. }
  2652. function runTest(win) {
  2653. var sel = win.document.documentElement.getAttribute("lastSelected");
  2654. ok(sel == "applications_pane", "Specified pane was opened");
  2655. diff --git a/suite/components/profile/content/profileSelection.js b/suite/components/profile/content/profileSelection.js
  2656. --- a/suite/components/profile/content/profileSelection.js
  2657. +++ b/suite/components/profile/content/profileSelection.js
  2658. @@ -143,17 +143,17 @@ function AcceptDialog()
  2659. env.set("XRE_PROFILE_LOCAL_PATH", "");
  2660. return false;
  2661. }
  2662. }
  2663. // invoke the createProfile Wizard
  2664. function CreateProfileWizard()
  2665. {
  2666. - window.openDialog('chrome://mozapps/content/profile/createProfileWizard.xul',
  2667. + window.openDialog('chrome://mozapps/content/profile/createProfileWizard.xhtml',
  2668. '', 'centerscreen,chrome,modal,titlebar');
  2669. }
  2670. // update the display to show the additional profile
  2671. function CreateProfile(aProfile)
  2672. {
  2673. gProfileService.flush();
  2674. AddItem(aProfile, aProfile);
  2675. diff --git a/suite/components/profile/jar.mn b/suite/components/profile/jar.mn
  2676. --- a/suite/components/profile/jar.mn
  2677. +++ b/suite/components/profile/jar.mn
  2678. @@ -1,8 +1,8 @@
  2679. # This Source Code Form is subject to the terms of the Mozilla Public
  2680. # License, v. 2.0. If a copy of the MPL was not distributed with this
  2681. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  2682. comm.jar:
  2683. -% override chrome://mozapps/content/profile/profileSelection.xul chrome://communicator/content/profile/profileSelection.xul
  2684. +% override chrome://mozapps/content/profile/profileSelection.xhtml chrome://communicator/content/profile/profileSelection.xhtml
  2685. content/communicator/profile/profileSelection.js (content/profileSelection.js)
  2686. - content/communicator/profile/profileSelection.xul (content/profileSelection.xul)
  2687. + content/communicator/profile/profileSelection.xhtml (content/profileSelection.xhtml)
  2688. diff --git a/suite/components/sanitize/Sanitizer.jsm b/suite/components/sanitize/Sanitizer.jsm
  2689. --- a/suite/components/sanitize/Sanitizer.jsm
  2690. +++ b/suite/components/sanitize/Sanitizer.jsm
  2691. @@ -87,17 +87,17 @@ var Sanitizer = {
  2692. * @param [optional] parentWindow the window to use as
  2693. * parent for the created dialog.
  2694. */
  2695. showUI(parentWindow) {
  2696. let win = AppConstants.platform == "macosx" ?
  2697. null : // make this an app-modal window on Mac
  2698. parentWindow;
  2699. Services.ww.openWindow(win,
  2700. - "chrome://communicator/content/sanitizeDialog.xul",
  2701. + "chrome://communicator/content/sanitizeDialog.xhtml",
  2702. "Sanitize",
  2703. "chrome,titlebar,centerscreen,dialog,modal",
  2704. null);
  2705. },
  2706. /**
  2707. * Performs startup tasks:
  2708. * - Checks if sanitizations were not completed during the last session.
  2709. diff --git a/suite/components/sanitize/jar.mn b/suite/components/sanitize/jar.mn
  2710. --- a/suite/components/sanitize/jar.mn
  2711. +++ b/suite/components/sanitize/jar.mn
  2712. @@ -1,8 +1,8 @@
  2713. # This Source Code Form is subject to the terms of the Mozilla Public
  2714. # License, v. 2.0. If a copy of the MPL was not distributed with this
  2715. # file, You can obtain one at http://mozilla.org/MPL/2.0/.comm.jar:
  2716. comm.jar:
  2717. % content communicator %content/communicator/ contentaccessible=yes
  2718. content/communicator/sanitizeDialog.js (content/sanitizeDialog.js)
  2719. - content/communicator/sanitizeDialog.xul (content/sanitizeDialog.xul)
  2720. + content/communicator/sanitizeDialog.xhtml (content/sanitizeDialog.xhtml)
  2721. diff --git a/suite/components/search/jar.mn b/suite/components/search/jar.mn
  2722. --- a/suite/components/search/jar.mn
  2723. +++ b/suite/components/search/jar.mn
  2724. @@ -1,16 +1,16 @@
  2725. # This Source Code Form is subject to the terms of the Mozilla Public
  2726. # License, v. 2.0. If a copy of the MPL was not distributed with this
  2727. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  2728. comm.jar:
  2729. % content communicator %content/communicator/ contentaccessible=yes
  2730. content/communicator/search/engineManager.js (content/engineManager.js)
  2731. - content/communicator/search/engineManager.xul (content/engineManager.xul)
  2732. + content/communicator/search/engineManager.xhtml (content/engineManager.xhtml)
  2733. content/communicator/search/search.xml (content/search.xml)
  2734. content/communicator/search/searchbarBindings.css (content/searchbarBindings.css)
  2735. content/communicator/search/search-panel.js (content/search-panel.js)
  2736. - content/communicator/search/search-panel.xul (content/search-panel.xul)
  2737. + content/communicator/search/search-panel.xhtml (content/search-panel.xhtml)
  2738. searchplugins/ (searchplugins/**)
  2739. % resource search-plugins %searchplugins/
  2740. diff --git a/suite/components/security/content/prefs/pref-certs.js b/suite/components/security/content/prefs/pref-certs.js
  2741. --- a/suite/components/security/content/prefs/pref-certs.js
  2742. +++ b/suite/components/security/content/prefs/pref-certs.js
  2743. @@ -14,19 +14,19 @@ function DoEnabling(aOCSPPrefValue)
  2744. {
  2745. EnableElementById("requireWorkingOCSP", aOCSPPrefValue != 0, false);
  2746. }
  2747. function OpenCertManager()
  2748. {
  2749. document.documentElement
  2750. .openWindow("mozilla:certmanager",
  2751. - "chrome://pippki/content/certManager.xul",
  2752. + "chrome://pippki/content/certManager.xhtml",
  2753. "", null);
  2754. }
  2755. function OpenDeviceManager()
  2756. {
  2757. document.documentElement
  2758. .openWindow("mozilla:devicemanager",
  2759. - "chrome://pippki/content/device_manager.xul",
  2760. + "chrome://pippki/content/device_manager.xhtml",
  2761. "", null);
  2762. }
  2763. diff --git a/suite/components/security/content/prefs/pref-passwords.js b/suite/components/security/content/prefs/pref-passwords.js
  2764. --- a/suite/components/security/content/prefs/pref-passwords.js
  2765. +++ b/suite/components/security/content/prefs/pref-passwords.js
  2766. @@ -12,20 +12,20 @@ function Startup() {
  2767. gInternalToken = tokendb.getInternalKeyToken();
  2768. }
  2769. function ChangePW()
  2770. {
  2771. var p = Cc["@mozilla.org/embedcomp/dialogparam;1"]
  2772. .createInstance(Ci.nsIDialogParamBlock);
  2773. p.SetString(1, "");
  2774. - window.openDialog("chrome://pippki/content/changepassword.xul", "",
  2775. + window.openDialog("chrome://pippki/content/changepassword.xhtml", "",
  2776. "chrome,centerscreen,modal", p);
  2777. }
  2778. function ResetPW()
  2779. {
  2780. var p = Cc["@mozilla.org/embedcomp/dialogparam;1"]
  2781. .createInstance(Ci.nsIDialogParamBlock);
  2782. p.SetString(1, gInternalToken.tokenName);
  2783. - window.openDialog("chrome://pippki/content/resetpassword.xul", "",
  2784. + window.openDialog("chrome://pippki/content/resetpassword.xhtml", "",
  2785. "chrome,centerscreen,modal", p);
  2786. }
  2787. diff --git a/suite/components/security/jar.mn b/suite/components/security/jar.mn
  2788. --- a/suite/components/security/jar.mn
  2789. +++ b/suite/components/security/jar.mn
  2790. @@ -1,11 +1,11 @@
  2791. # This Source Code Form is subject to the terms of the Mozilla Public
  2792. # License, v. 2.0. If a copy of the MPL was not distributed with this
  2793. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  2794. pippki.jar:
  2795. content/pippki/pref-certs.js (content/prefs/pref-certs.js)
  2796. - content/pippki/pref-certs.xul (content/prefs/pref-certs.xul)
  2797. + content/pippki/pref-certs.xhtml (content/prefs/pref-certs.xhtml)
  2798. content/pippki/pref-passwords.js (content/prefs/pref-passwords.js)
  2799. - content/pippki/pref-passwords.xul (content/prefs/pref-passwords.xul)
  2800. + content/pippki/pref-passwords.xhtml (content/prefs/pref-passwords.xhtml)
  2801. content/pippki/pref-ssl.js (content/prefs/pref-ssl.js)
  2802. - content/pippki/pref-ssl.xul (content/prefs/pref-ssl.xul)
  2803. + content/pippki/pref-ssl.xhtml (content/prefs/pref-ssl.xhtml)
  2804. diff --git a/suite/components/sessionstore/nsISessionStore.idl b/suite/components/sessionstore/nsISessionStore.idl
  2805. --- a/suite/components/sessionstore/nsISessionStore.idl
  2806. +++ b/suite/components/sessionstore/nsISessionStore.idl
  2807. @@ -11,17 +11,17 @@ interface nsINode;
  2808. * nsISessionStore keeps track of the current browsing state - i.e.
  2809. * tab history, cookies, scroll state, form data, POSTDATA and window features
  2810. * - and allows to restore everything into one browser window.
  2811. *
  2812. * The nsISessionStore API operates mostly on browser windows and the tabbrowser
  2813. * tabs contained in them:
  2814. *
  2815. * * "Browser windows" are those DOM windows having loaded
  2816. - * chrome://navigator/content/navigator.xul . From overlays you can just pass
  2817. + * chrome://navigator/content/navigator.xhtml . From overlays you can just pass
  2818. * the global |window| object to the API, though (or |top| from a sidebar).
  2819. * From elsewhere you can get browser windows through the nsIWindowMediator
  2820. * by looking for "navigator:browser" windows.
  2821. *
  2822. * * "Tabbrowser tabs" are all the child nodes of a browser window's
  2823. * |getBrowser().tabContainer| such as e.g. |getBrowser().selectedTab|.
  2824. */
  2825. diff --git a/suite/components/shell/jar.mn b/suite/components/shell/jar.mn
  2826. --- a/suite/components/shell/jar.mn
  2827. +++ b/suite/components/shell/jar.mn
  2828. @@ -1,7 +1,7 @@
  2829. # This Source Code Form is subject to the terms of the Mozilla Public
  2830. # License, v. 2.0. If a copy of the MPL was not distributed with this
  2831. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  2832. comm.jar:
  2833. content/communicator/setDesktopBackground.js (content/setDesktopBackground.js)
  2834. - content/communicator/setDesktopBackground.xul (content/setDesktopBackground.xul)
  2835. + content/communicator/setDesktopBackground.xhtml (content/setDesktopBackground.xhtml)
  2836. diff --git a/suite/components/sidebar/content/customize.js b/suite/components/sidebar/content/customize.js
  2837. --- a/suite/components/sidebar/content/customize.js
  2838. +++ b/suite/components/sidebar/content/customize.js
  2839. @@ -285,17 +285,17 @@ function PreviewPanel()
  2840. for (var index = min.value; index <= max.value; ++index) {
  2841. var item = tree.contentView.getItemAtIndex(index);
  2842. var res = RDF.GetResource(item.id);
  2843. var preview_name = get_attr(database, res, 'title');
  2844. var preview_URL = get_attr(database, res, 'content');
  2845. if (!preview_URL || !preview_name) continue;
  2846. - window.openDialog("chrome://communicator/content/sidebar/preview.xul",
  2847. + window.openDialog("chrome://communicator/content/sidebar/preview.xhtml",
  2848. "_blank", "chrome,resizable,close,dialog=no",
  2849. preview_name, preview_URL);
  2850. }
  2851. }
  2852. }
  2853. // Add the selected panel(s).
  2854. function AddPanel()
  2855. @@ -405,30 +405,30 @@ function CustomizePanel()
  2856. var selectedNode = tree.contentView.getItemAtIndex(index);
  2857. var panel_id = selectedNode.getAttribute('id');
  2858. var customize_url = selectedNode.getAttribute('customize');
  2859. debug("url = " + customize_url);
  2860. if (!customize_url) return;
  2861. - window.openDialog('chrome://communicator/content/sidebar/customize-panel.xul',
  2862. + window.openDialog('chrome://communicator/content/sidebar/customize-panel.xhtml',
  2863. '_blank',
  2864. 'chrome,resizable,width=690,height=600,dialog=no,close',
  2865. panel_id,
  2866. customize_url,
  2867. sidebarObj.datasource_uri,
  2868. sidebarObj.resource);
  2869. }
  2870. }
  2871. function BrowseMorePanels()
  2872. {
  2873. var url = '';
  2874. - var browser_url = "chrome://navigator/content/navigator.xul";
  2875. + var browser_url = "chrome://navigator/content/navigator.xhtml";
  2876. var locale;
  2877. try {
  2878. url = Services.prefs.getCharPref("sidebar.customize.more_panels.url");
  2879. var temp = Services.prefs.getCharPref("browser.chromeURL");
  2880. if (temp)
  2881. browser_url = temp;
  2882. } catch(ex) {
  2883. debug("Unable to get prefs: "+ex);
  2884. diff --git a/suite/components/sidebar/content/sidebarOverlay.js b/suite/components/sidebar/content/sidebarOverlay.js
  2885. --- a/suite/components/sidebar/content/sidebarOverlay.js
  2886. +++ b/suite/components/sidebar/content/sidebarOverlay.js
  2887. @@ -32,17 +32,17 @@ var gCurFrame;
  2888. var gTimeoutID = null;
  2889. var gMustInit = true;
  2890. var gAboutToUncollapse = false;
  2891. var gCheckMissingPanels = true;
  2892. function setBlank()
  2893. {
  2894. gTimeoutID = null;
  2895. - gCurFrame.setAttribute('src', 'chrome://communicator/content/sidebar/PageNotFound.xul');
  2896. + gCurFrame.setAttribute('src', 'chrome://communicator/content/sidebar/PageNotFound.xhtml');
  2897. }
  2898. // Uncomment for debug output
  2899. const SB_DEBUG = false;
  2900. // pref for limiting number of tabs in view
  2901. // initialized in sidebar_overlay_init()
  2902. @@ -1056,31 +1056,31 @@ function SidebarCustomize() {
  2903. if (false == gDisableCustomize) {
  2904. debug("First time creating customize dialog");
  2905. gDisableCustomize = true;
  2906. var panels = document.getElementById('sidebar-panels');
  2907. customizeWindow = window.openDialog(
  2908. - 'chrome://communicator/content/sidebar/customize.xul',
  2909. + 'chrome://communicator/content/sidebar/customize.xhtml',
  2910. '_blank','centerscreen,chrome,resizable,dialog=no,dependent',
  2911. sidebarObj.master_datasources,
  2912. sidebarObj.master_resource,
  2913. sidebarObj.datasource_uri,
  2914. sidebarObj.resource);
  2915. setTimeout(enable_customize, 2000);
  2916. }
  2917. }
  2918. }
  2919. function BrowseMorePanels()
  2920. {
  2921. var url = '';
  2922. - var browser_url = "chrome://navigator/content/navigator.xul";
  2923. + var browser_url = "chrome://navigator/content/navigator.xhtml";
  2924. var locale;
  2925. try {
  2926. url = Services.prefs.getCharPref("sidebar.customize.directory.url");
  2927. var temp = Services.prefs.getCharPref("browser.chromeURL");
  2928. if (temp)
  2929. browser_url = temp;
  2930. } catch(ex) {
  2931. debug("Unable to get prefs: "+ex);
  2932. diff --git a/suite/components/sidebar/content/sidebarOverlay.xhtml b/suite/components/sidebar/content/sidebarOverlay.xhtml
  2933. --- a/suite/components/sidebar/content/sidebarOverlay.xhtml
  2934. +++ b/suite/components/sidebar/content/sidebarOverlay.xhtml
  2935. @@ -22,38 +22,38 @@
  2936. <!-- Overlay of broadcasterset to get our panels in -->
  2937. <broadcasterset id="mainBroadcasterSet">
  2938. <broadcaster id="viewBookmarksSidebar"
  2939. autoCheck="false"
  2940. type="checkbox"
  2941. group="sidebar"
  2942. sidebartitle="&sidebar.client-bookmarks.label;"
  2943. - sidebarurl="chrome://communicator/content/bookmarks/bookmarksPanel.xul"
  2944. + sidebarurl="chrome://communicator/content/bookmarks/bookmarksPanel.xhtml"
  2945. oncommand="toggleSidebar('viewBookmarksSidebar');"/>
  2946. <broadcaster id="viewHistorySidebar"
  2947. autoCheck="false"
  2948. type="checkbox"
  2949. group="sidebar"
  2950. sidebartitle="&sidebar.client-history.label;"
  2951. - sidebarurl="chrome://communicator/content/history/history-panel.xul"
  2952. + sidebarurl="chrome://communicator/content/history/history-panel.xhtml"
  2953. oncommand="toggleSidebar('viewHistorySidebar');"/>
  2954. <broadcaster id="viewSearchSidebar"
  2955. autoCheck="false"
  2956. type="checkbox"
  2957. group="sidebar"
  2958. sidebartitle="&sidebar.search.label;"
  2959. - sidebarurl="chrome://communicator/content/search/search-panel.xul"
  2960. + sidebarurl="chrome://communicator/content/search/search-panel.xhtml"
  2961. oncommand="toggleSidebar('viewSearchSidebar');"/>
  2962. <broadcaster id="viewAddressbookSidebar"
  2963. autoCheck="false"
  2964. type="checkbox"
  2965. group="sidebar"
  2966. sidebartitle="&sidebar.client-addressbook.label;"
  2967. - sidebarurl="chrome://messenger/content/addressbook/addressbook-panel.xul"
  2968. + sidebarurl="chrome://messenger/content/addressbook/addressbook-panel.xhtml"
  2969. oncommand="toggleSidebar('viewAddressbookSidebar');"/>
  2970. </broadcasterset>
  2971. <command id="toggleSidebar" oncommand="SidebarShowHide();"/>
  2972. #ifndef XP_MACOSX
  2973. <key id="showHideSidebar"
  2974. keycode="VK_F9"
  2975. command="toggleSidebar"/>
  2976. diff --git a/suite/components/sidebar/jar.mn b/suite/components/sidebar/jar.mn
  2977. --- a/suite/components/sidebar/jar.mn
  2978. +++ b/suite/components/sidebar/jar.mn
  2979. @@ -1,16 +1,16 @@
  2980. # This Source Code Form is subject to the terms of the Mozilla Public
  2981. # License, v. 2.0. If a copy of the MPL was not distributed with this
  2982. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  2983. comm.jar:
  2984. content/communicator/sidebar/customize-panel.js (content/customize-panel.js)
  2985. - content/communicator/sidebar/customize-panel.xul (content/customize-panel.xul)
  2986. + content/communicator/sidebar/customize-panel.xhtml (content/customize-panel.xhtml)
  2987. content/communicator/sidebar/customize.js (content/customize.js)
  2988. - content/communicator/sidebar/customize.xul (content/customize.xul)
  2989. - content/communicator/sidebar/PageNotFound.xul (content/PageNotFound.xul)
  2990. + content/communicator/sidebar/customize.xhtml (content/customize.xhtml)
  2991. + content/communicator/sidebar/PageNotFound.xhtml (content/PageNotFound.xhtml)
  2992. content/communicator/sidebar/preview.js (content/preview.js)
  2993. - content/communicator/sidebar/preview.xul (content/preview.xul)
  2994. + content/communicator/sidebar/preview.xhtml (content/preview.xhtml)
  2995. content/communicator/sidebar/sidebarBindings.xml (content/sidebarBindings.xml)
  2996. content/communicator/sidebar/sidebarOverlay.css (content/sidebarOverlay.css)
  2997. content/communicator/sidebar/sidebarOverlay.js (content/sidebarOverlay.js)
  2998. -* content/communicator/sidebar/sidebarOverlay.xul (content/sidebarOverlay.xul)
  2999. +* content/communicator/sidebar/sidebarOverlay.xhtml (content/sidebarOverlay.xhtml)
  3000. diff --git a/suite/components/sync/content/syncUI.js b/suite/components/sync/content/syncUI.js
  3001. --- a/suite/components/sync/content/syncUI.js
  3002. +++ b/suite/components/sync/content/syncUI.js
  3003. @@ -247,28 +247,28 @@ var gSyncUI = {
  3004. //XXXzpao should be part of syncCommon.js - which we might want to make a module...
  3005. // To be fixed in a followup (bug 583366)
  3006. openSetup: function SUI_openSetup() {
  3007. let win = Services.wm.getMostRecentWindow("Weave:AccountSetup");
  3008. if (win)
  3009. win.focus();
  3010. else {
  3011. - window.openDialog("chrome://communicator/content/sync/syncSetup.xul",
  3012. + window.openDialog("chrome://communicator/content/sync/syncSetup.xhtml",
  3013. "weaveSetup", "centerscreen,chrome,resizable=no");
  3014. }
  3015. },
  3016. openQuotaDialog: function SUI_openQuotaDialog() {
  3017. let win = Services.wm.getMostRecentWindow("Sync:ViewQuota");
  3018. if (win)
  3019. win.focus();
  3020. else
  3021. Services.ww.activeWindow.openDialog(
  3022. - "chrome://communicator/content/sync/syncQuota.xul", "",
  3023. + "chrome://communicator/content/sync/syncQuota.xhtml", "",
  3024. "centerscreen,chrome,dialog,modal");
  3025. },
  3026. openPrefs: function SUI_openPrefs() {
  3027. goPreferences("sync_pane");
  3028. },
  3029. diff --git a/suite/components/sync/content/syncUtils.js b/suite/components/sync/content/syncUtils.js
  3030. --- a/suite/components/sync/content/syncUtils.js
  3031. +++ b/suite/components/sync/content/syncUtils.js
  3032. @@ -22,17 +22,17 @@ var gSyncUtils = {
  3033. // Just re-show the dialog if it's already open
  3034. let openedDialog = Services.wm.getMostRecentWindow("Sync:" + type);
  3035. if (openedDialog != null) {
  3036. openedDialog.focus();
  3037. return;
  3038. }
  3039. // Open up the change dialog
  3040. - let changeXUL = "chrome://communicator/content/sync/syncGenericChange.xul";
  3041. + let changeXUL = "chrome://communicator/content/sync/syncGenericChange.xhtml";
  3042. let changeOpt = "centerscreen,chrome,resizable=no";
  3043. Services.ww.activeWindow.openDialog(changeXUL, "", changeOpt,
  3044. type, duringSetup);
  3045. },
  3046. changePassword: function () {
  3047. if (Weave.Utils.ensureMPUnlocked())
  3048. this.openChange("ChangePassword");
  3049. diff --git a/suite/components/sync/jar.mn b/suite/components/sync/jar.mn
  3050. --- a/suite/components/sync/jar.mn
  3051. +++ b/suite/components/sync/jar.mn
  3052. @@ -1,21 +1,21 @@
  3053. # This Source Code Form is subject to the terms of the Mozilla Public
  3054. # License, v. 2.0. If a copy of the MPL was not distributed with this
  3055. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  3056. comm.jar:
  3057. - content/communicator/aboutSyncTabs.xul (content/aboutSyncTabs.xul)
  3058. + content/communicator/aboutSyncTabs.xhtml (content/aboutSyncTabs.xhtml)
  3059. content/communicator/aboutSyncTabs.js (content/aboutSyncTabs.js)
  3060. content/communicator/aboutSyncTabs.css (content/aboutSyncTabs.css)
  3061. content/communicator/aboutSyncTabs-bindings.xml (content/aboutSyncTabs-bindings.xml)
  3062. - content/communicator/sync/syncAddDevice.xul (content/syncAddDevice.xul)
  3063. + content/communicator/sync/syncAddDevice.xhtml (content/syncAddDevice.xhtml)
  3064. content/communicator/sync/syncAddDevice.js (content/syncAddDevice.js)
  3065. - content/communicator/sync/syncSetup.xul (content/syncSetup.xul)
  3066. + content/communicator/sync/syncSetup.xhtml (content/syncSetup.xhtml)
  3067. content/communicator/sync/syncSetup.js (content/syncSetup.js)
  3068. - content/communicator/sync/syncGenericChange.xul (content/syncGenericChange.xul)
  3069. + content/communicator/sync/syncGenericChange.xhtml (content/syncGenericChange.xhtml)
  3070. content/communicator/sync/syncGenericChange.js (content/syncGenericChange.js)
  3071. content/communicator/sync/syncKey.xhtml (content/syncKey.xhtml)
  3072. content/communicator/sync/syncNotification.xml (content/syncNotification.xml)
  3073. - content/communicator/sync/syncQuota.xul (content/syncQuota.xul)
  3074. + content/communicator/sync/syncQuota.xhtml (content/syncQuota.xhtml)
  3075. content/communicator/sync/syncQuota.js (content/syncQuota.js)
  3076. content/communicator/sync/syncUtils.js (content/syncUtils.js)
  3077. content/communicator/sync/syncUI.js (content/syncUI.js)
  3078. diff --git a/suite/components/tests/browser/browser_bug431826.js b/suite/components/tests/browser/browser_bug431826.js
  3079. --- a/suite/components/tests/browser/browser_bug431826.js
  3080. +++ b/suite/components/tests/browser/browser_bug431826.js
  3081. @@ -15,28 +15,28 @@ function testBrokenCert() {
  3082. ok(/^about:certerror/.test(gBrowser.contentDocument.documentURI), "Broken page should go to about:certerror, not about:neterror");
  3083. // Confirm that the expert section is collapsed
  3084. var expertDiv = gBrowser.contentDocument.getElementById("expertContent");
  3085. ok(expertDiv, "Expert content div should exist");
  3086. ok(expertDiv.hasAttribute("collapsed"), "Expert content should be collapsed by default");
  3087. // Tweak the expert mode pref
  3088. - Services.prefs.setBoolPref("browser.xul.error_pages.expert_bad_cert", true);
  3089. + Services.prefs.setBoolPref("browser.xhtml.error_pages.expert_bad_cert", true);
  3090. window.addEventListener("DOMContentLoaded", testExpertPref, true);
  3091. getBrowser().reload();
  3092. }
  3093. function testExpertPref() {
  3094. window.removeEventListener("DOMContentLoaded", testExpertPref, true);
  3095. var expertDiv = gBrowser.contentDocument.getElementById("expertContent");
  3096. var technicalDiv = gBrowser.contentDocument.getElementById("technicalContent");
  3097. ok(!expertDiv.hasAttribute("collapsed"), "Expert content should not be collapsed with the expert mode pref set");
  3098. ok(!technicalDiv.hasAttribute("collapsed"), "Technical content should not be collapsed with the expert mode pref set");
  3099. // Clean up
  3100. getBrowser().removeCurrentTab();
  3101. - if (Services.prefs.prefHasUserValue("browser.xul.error_pages.expert_bad_cert"))
  3102. - Services.prefs.clearUserPref("browser.xul.error_pages.expert_bad_cert");
  3103. + if (Services.prefs.prefHasUserValue("browser.xhtml.error_pages.expert_bad_cert"))
  3104. + Services.prefs.clearUserPref("browser.xhtml.error_pages.expert_bad_cert");
  3105. finish();
  3106. }
  3107. diff --git a/suite/components/tests/chrome/chrome.ini b/suite/components/tests/chrome/chrome.ini
  3108. --- a/suite/components/tests/chrome/chrome.ini
  3109. +++ b/suite/components/tests/chrome/chrome.ini
  3110. @@ -1,4 +1,4 @@
  3111. [DEFAULT]
  3112. -[test_idcheck.xul]
  3113. +[test_idcheck.xhtml]
  3114. support-files = ../../../../mailnews/test/resources/mailTestUtils.js
  3115. diff --git a/suite/components/tests/chrome/test_idcheck.xhtml b/suite/components/tests/chrome/test_idcheck.xhtml
  3116. --- a/suite/components/tests/chrome/test_idcheck.xhtml
  3117. +++ b/suite/components/tests/chrome/test_idcheck.xhtml
  3118. @@ -213,69 +213,69 @@
  3119. // "chrome://uri/of/xul.window":
  3120. // [
  3121. // check function,
  3122. // array of IDs to be ignored during in the test
  3123. // ],
  3124. var uriList =
  3125. {
  3126. // Preferences
  3127. - "chrome://communicator/content/pref/preferences.xul":
  3128. + "chrome://communicator/content/pref/preferences.xhtml":
  3129. [
  3130. window.CheckPreferences,
  3131. []
  3132. ],
  3133. // Browser
  3134. - "chrome://navigator/content/navigator.xul":
  3135. + "chrome://navigator/content/navigator.xhtml":
  3136. [
  3137. window.CheckGenerics,
  3138. ["contentAreaContextSet"]
  3139. ],
  3140. // MailNews (needs at least one mail account)
  3141. - "chrome://messenger/content/messenger.xul":
  3142. + "chrome://messenger/content/messenger.xhtml":
  3143. [
  3144. window.CheckGenerics,
  3145. []
  3146. ],
  3147. - "chrome://messenger/content/messageWindow.xul":
  3148. + "chrome://messenger/content/messageWindow.xhtml":
  3149. [
  3150. window.CheckGenerics,
  3151. []
  3152. ],
  3153. - "chrome://messenger/content/messengercompose/messengercompose.xul":
  3154. + "chrome://messenger/content/messengercompose/messengercompose.xhtml":
  3155. [
  3156. window.CheckGenerics,
  3157. []
  3158. ],
  3159. // Addressbook (needs at least one mail account)
  3160. - "chrome://messenger/content/addressbook/addressbook.xul":
  3161. + "chrome://messenger/content/addressbook/addressbook.xhtml":
  3162. [
  3163. window.CheckGenerics,
  3164. []
  3165. ],
  3166. // Composer
  3167. - "chrome://editor/content/editor.xul":
  3168. + "chrome://editor/content/editor.xhtml":
  3169. [
  3170. window.CheckGenerics,
  3171. []
  3172. ],
  3173. // Error Console
  3174. - "chrome://communicator/content/console/console.xul":
  3175. + "chrome://communicator/content/console/console.xhtml":
  3176. [
  3177. window.CheckGenerics,
  3178. []
  3179. ],
  3180. // Chatzilla
  3181. - "chrome://chatzilla/content/chatzilla.xul":
  3182. + "chrome://chatzilla/content/chatzilla.xhtml":
  3183. [
  3184. window.CheckGenerics,
  3185. []
  3186. ],
  3187. };
  3188. // run test
  3189. for (var uri in uriList)
  3190. diff --git a/suite/extensions/debugQA/content/debugQAEditorOverlay.js b/suite/extensions/debugQA/content/debugQAEditorOverlay.js
  3191. --- a/suite/extensions/debugQA/content/debugQAEditorOverlay.js
  3192. +++ b/suite/extensions/debugQA/content/debugQAEditorOverlay.js
  3193. @@ -187,14 +187,14 @@ function ExecuteJSTransactionViaEditor()
  3194. editor.doTransaction(txn);
  3195. } catch (e) {
  3196. dump("ExecuteJSTransactionViaEditor() failed!");
  3197. }
  3198. }
  3199. function EditorNewPlaintext(aUrl, aCharsetArg)
  3200. {
  3201. - window.openDialog( "chrome://debugqa/content/debugQATextEditorShell.xul",
  3202. + window.openDialog( "chrome://debugqa/content/debugQATextEditorShell.xhtml",
  3203. "_blank",
  3204. "chrome,dialog=no,all",
  3205. aUrl || "about:blank",
  3206. aCharsetArg);
  3207. }
  3208. diff --git a/suite/extensions/debugQA/content/debugQAMenuOverlay.xhtml b/suite/extensions/debugQA/content/debugQAMenuOverlay.xhtml
  3209. --- a/suite/extensions/debugQA/content/debugQAMenuOverlay.xhtml
  3210. +++ b/suite/extensions/debugQA/content/debugQAMenuOverlay.xhtml
  3211. @@ -53,17 +53,17 @@
  3212. oncommand="openQAUrl('https://www-archive.mozilla.org/newlayout/samples/test16.html');"/>
  3213. </menupopup>
  3214. </menu>
  3215. <!-- XBL Test Suite all broken -->
  3216. <menu label="XBL Test Suite" hidden="true" disabled="true">
  3217. <menupopup>
  3218. <menuitem label="#0 Remote XBL"
  3219. - oncommand="openQAUrl('https://www-archive.mozilla.org/projects/xbl/test0/test.xul');"/>
  3220. + oncommand="openQAUrl('https://www-archive.mozilla.org/projects/xbl/test0/test.xhtml');"/>
  3221. <menuitem label="#1 Technicolor DIV"
  3222. oncommand="openQAUrl('https://www-archive.mozilla.org/projects/xbl/test1/test.html');"/>
  3223. <menuitem label="#2 Rollover Madness"
  3224. oncommand="openQAUrl('https://www-archive.mozilla.org/projects/xbl/test2/test.html');"/>
  3225. <menuitem label="#3 Popups in HTML"
  3226. oncommand="openQAUrl('https://www-archive.mozilla.org/projects/xbl/test3/test.html');"/>
  3227. <menuitem label="#4 Partition Magic"
  3228. oncommand="openQAUrl('https://www-archive.mozilla.org/projects/xbl/test4/test.html');"/>
  3229. diff --git a/suite/extensions/debugQA/content/debugQATextEditorShell.xhtml b/suite/extensions/debugQA/content/debugQATextEditorShell.xhtml
  3230. --- a/suite/extensions/debugQA/content/debugQATextEditorShell.xhtml
  3231. +++ b/suite/extensions/debugQA/content/debugQATextEditorShell.xhtml
  3232. @@ -1,24 +1,24 @@
  3233. <?xml version="1.0"?>
  3234. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3235. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3236. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3237. <?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
  3238. <?xml-stylesheet href="chrome://editor/skin/editorPrimaryToolbar.css" type="text/css"?>
  3239. -<?xul-overlay href="chrome://editor/content/editorOverlay.xul"?>
  3240. -<?xul-overlay href="chrome://editor/content/editingOverlay.xul"?>
  3241. -<?xul-overlay href="chrome://communicator/content/charsetOverlay.xul"?>
  3242. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  3243. -<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  3244. -<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
  3245. -<?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xul"?>
  3246. -<?xul-overlay href="chrome://debugQA/content/debugQAEditorOverlay.xul"?>
  3247. +<?xul-overlay href="chrome://editor/content/editorOverlay.xhtml"?>
  3248. +<?xul-overlay href="chrome://editor/content/editingOverlay.xhtml"?>
  3249. +<?xul-overlay href="chrome://communicator/content/charsetOverlay.xhtml"?>
  3250. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  3251. +<?xul-overlay href="chrome://communicator/content/tasksOverlay.xhtml"?>
  3252. +<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xhtml"?>
  3253. +<?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xhtml"?>
  3254. +<?xul-overlay href="chrome://debugQA/content/debugQAEditorOverlay.xhtml"?>
  3255. <!DOCTYPE window [
  3256. <!ENTITY % debugQAEditorOverlayDTD SYSTEM "chrome://debugqa/locale/debugQAEditorOverlay.dtd">
  3257. %debugQAEditorOverlayDTD;
  3258. <!ENTITY % editorDTD SYSTEM "chrome://editor/locale/editor.dtd">
  3259. %editorDTD;
  3260. <!ENTITY % editorOverlayDTD SYSTEM "chrome://editor/locale/editorOverlay.dtd">
  3261. %editorOverlayDTD;
  3262. @@ -158,17 +158,17 @@
  3263. </toolbar>
  3264. <toolbarset id="customToolbars" context="toolbar-context-menu"/>
  3265. <toolbarpalette id="EditToolbarPalette"/>
  3266. </toolbox>
  3267. <hbox id="sidebar-parent" flex="1">
  3268. - <!-- From sidebarOverlay.xul -->
  3269. + <!-- From sidebarOverlay.xhtml -->
  3270. <vbox id="sidebar-box" class="chromeclass-extrachrome" hidden="true"/>
  3271. <splitter id="sidebar-splitter" class="chromeclass-extrachrome" hidden="true"/>
  3272. <vbox id="appcontent" flex="1">
  3273. <findbar id="FindToolbar" browserid="content-frame"/>
  3274. <editor editortype="text"
  3275. type="content"
  3276. primary="true"
  3277. id="content-frame"
  3278. diff --git a/suite/extensions/debugQA/jar.mn b/suite/extensions/debugQA/jar.mn
  3279. --- a/suite/extensions/debugQA/jar.mn
  3280. +++ b/suite/extensions/debugQA/jar.mn
  3281. @@ -1,16 +1,16 @@
  3282. # This Source Code Form is subject to the terms of the Mozilla Public
  3283. # License, v. 2.0. If a copy of the MPL was not distributed with this
  3284. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  3285. [extensions/debugQA@mozilla.org] debugqa.jar:
  3286. % content debugqa %content/debugqa/
  3287. -% overlay chrome://navigator/content/navigatorOverlay.xul chrome://debugqa/content/debugQAMenuOverlay.xul
  3288. -% overlay chrome://editor/content/editor.xul chrome://debugqa/content/debugQAEditorOverlay.xul
  3289. -% overlay chrome://navigator/content/navigator.xul chrome://debugqa/content/debugQANavigatorOverlay.xul
  3290. +% overlay chrome://navigator/content/navigatorOverlay.xhtml chrome://debugqa/content/debugQAMenuOverlay.xhtml
  3291. +% overlay chrome://editor/content/editor.xhtml chrome://debugqa/content/debugQAEditorOverlay.xhtml
  3292. +% overlay chrome://navigator/content/navigator.xhtml chrome://debugqa/content/debugQANavigatorOverlay.xhtml
  3293. content/debugqa/debugQAEditorOverlay.js (content/debugQAEditorOverlay.js)
  3294. - content/debugqa/debugQAEditorOverlay.xul (content/debugQAEditorOverlay.xul)
  3295. + content/debugqa/debugQAEditorOverlay.xhtml (content/debugQAEditorOverlay.xhtml)
  3296. content/debugqa/debugQAMenuOverlay.js (content/debugQAMenuOverlay.js)
  3297. - content/debugqa/debugQAMenuOverlay.xul (content/debugQAMenuOverlay.xul)
  3298. - content/debugqa/debugQANavigatorOverlay.xul (content/debugQANavigatorOverlay.xul)
  3299. - content/debugqa/debugQATextEditorShell.xul (content/debugQATextEditorShell.xul)
  3300. + content/debugqa/debugQAMenuOverlay.xhtml (content/debugQAMenuOverlay.xhtml)
  3301. + content/debugqa/debugQANavigatorOverlay.xhtml (content/debugQANavigatorOverlay.xhtml)
  3302. + content/debugqa/debugQATextEditorShell.xhtml (content/debugQATextEditorShell.xhtml)
  3303. content/debugqa/EditorInitPage.html (content/EditorInitPage.html)
  3304. diff --git a/suite/installer/allowed-dupes.mn b/suite/installer/allowed-dupes.mn
  3305. --- a/suite/installer/allowed-dupes.mn
  3306. +++ b/suite/installer/allowed-dupes.mn
  3307. @@ -220,18 +220,18 @@ extensions/modern@themes.mozilla.org/chr
  3308. chrome/toolkit/skin/classic/mozapps/plugins/contentPluginCrashed.png
  3309. extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/mozapps/extensions/category-dictionaries.png
  3310. extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/mozapps/extensions/dictionaryGeneric.png
  3311. chrome/toolkit/skin/classic/mozapps/extensions/dictionaryGeneric.png
  3312. extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/messenger/icons/new-mail-alert.png
  3313. chrome/classic/skin/classic/messenger/icons/new-mail-alert.png
  3314. extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/navigator/webDeveloper.css
  3315. chrome/classic/skin/classic/navigator/webDeveloper.css
  3316. -chrome/comm/content/communicator/places/bookmarkProperties.xul
  3317. -chrome/comm/content/communicator/places/bookmarkProperties2.xul
  3318. +chrome/comm/content/communicator/places/bookmarkProperties.xhtml
  3319. +chrome/comm/content/communicator/places/bookmarkProperties2.xhtml
  3320. extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/communicator/icons/audioFeedIcon.png
  3321. extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/communicator/icons/feedIcon.png
  3322. extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/communicator/icons/videoFeedIcon.png
  3323. chrome/classic/skin/classic/communicator/icons/audioFeedIcon.png
  3324. chrome/classic/skin/classic/communicator/icons/feedIcon.png
  3325. chrome/classic/skin/classic/communicator/icons/videoFeedIcon.png
  3326. extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/communicator/brand/throbber-single.png
  3327. chrome/classic/skin/classic/communicator/brand/throbber-single.png
  3328. diff --git a/suite/locales/en-US/chrome/browser/navigator.dtd b/suite/locales/en-US/chrome/browser/navigator.dtd
  3329. --- a/suite/locales/en-US/chrome/browser/navigator.dtd
  3330. +++ b/suite/locales/en-US/chrome/browser/navigator.dtd
  3331. @@ -1,13 +1,13 @@
  3332. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3333. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3334. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3335. -<!-- extracted from content/navigator.xul -->
  3336. +<!-- extracted from content/navigator.xhtml -->
  3337. <!-- LOCALIZATION NOTE : FILE This file contains the browser main menu items -->
  3338. <!-- LOCALIZATION NOTE : FILE Do not translate commandkeys -->
  3339. <!-- LOCALIZATION NOTE (mainWindow.title): DONT_TRANSLATE -->
  3340. <!ENTITY mainWindow.title "&brandShortName;">
  3341. <!-- LOCALIZATION NOTE (mainWindow.titlemodifier) : DONT_TRANSLATE -->
  3342. <!ENTITY mainWindow.titlemodifier "&brandShortName;">
  3343. diff --git a/suite/locales/en-US/chrome/common/openLocation.dtd b/suite/locales/en-US/chrome/common/openLocation.dtd
  3344. --- a/suite/locales/en-US/chrome/common/openLocation.dtd
  3345. +++ b/suite/locales/en-US/chrome/common/openLocation.dtd
  3346. @@ -1,13 +1,13 @@
  3347. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3348. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3349. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3350. -<!-- extracted from content/openLocation.xul -->
  3351. +<!-- extracted from content/openLocation.xhtml -->
  3352. <!ENTITY enter.label "Enter the web location (URL), or specify the local file you would like to open:">
  3353. <!-- LOCALIZATION NOTE (enter.accesskey): should be present in both enter.label
  3354. as defined above and attachEnterLabel as defined in
  3355. openLocation.properties -->
  3356. <!ENTITY enter.accesskey "E">
  3357. <!ENTITY chooseFile.label "Choose File…">
  3358. <!ENTITY chooseFile.accesskey "C">
  3359. diff --git a/suite/locales/en-US/chrome/common/pref/pref-cache.dtd b/suite/locales/en-US/chrome/common/pref/pref-cache.dtd
  3360. --- a/suite/locales/en-US/chrome/common/pref/pref-cache.dtd
  3361. +++ b/suite/locales/en-US/chrome/common/pref/pref-cache.dtd
  3362. @@ -1,13 +1,13 @@
  3363. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3364. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3365. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3366. -<!-- extracted from content/pref-cache.xul -->
  3367. +<!-- extracted from content/pref-cache.xhtml -->
  3368. <!--LOCALIZATION NOTE : FILE Cache prefs dialog -->
  3369. <!ENTITY pref.cache.title "Cache">
  3370. <!ENTITY pref.cache.caption "Set Cache Options">
  3371. <!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.)">
  3372. <!ENTITY cacheCheck.label "Let &brandShortName; manage the size of my cache">
  3373. <!ENTITY cacheCheck.accesskey "L">
  3374. <!ENTITY diskCacheUpTo.label "Use up to">
  3375. diff --git a/suite/locales/en-US/chrome/common/pref/pref-colors.dtd b/suite/locales/en-US/chrome/common/pref/pref-colors.dtd
  3376. --- a/suite/locales/en-US/chrome/common/pref/pref-colors.dtd
  3377. +++ b/suite/locales/en-US/chrome/common/pref/pref-colors.dtd
  3378. @@ -1,13 +1,13 @@
  3379. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3380. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3381. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3382. -<!-- extracted from content/pref-colors.xul -->
  3383. +<!-- extracted from content/pref-colors.xhtml -->
  3384. <!-- LOCALIZATION NOTE : FILE Color management prefs -->
  3385. <!ENTITY pref.colors.title "Colors">
  3386. <!ENTITY color "Text and Background">
  3387. <!ENTITY textColor.label "Text:">
  3388. <!ENTITY textColor.accesskey "T">
  3389. <!ENTITY backgroundColor.label "Background:">
  3390. <!ENTITY backgroundColor.accesskey "B">
  3391. diff --git a/suite/locales/en-US/chrome/common/pref/pref-debugging.dtd b/suite/locales/en-US/chrome/common/pref/pref-debugging.dtd
  3392. --- a/suite/locales/en-US/chrome/common/pref/pref-debugging.dtd
  3393. +++ b/suite/locales/en-US/chrome/common/pref/pref-debugging.dtd
  3394. @@ -1,13 +1,13 @@
  3395. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3396. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3397. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3398. -<!-- extracted from pref-eventdebugging.xul -->
  3399. +<!-- extracted from pref-eventdebugging.xhtml -->
  3400. <!ENTITY pref.debugging.title "Debugging">
  3401. <!-- Render Debugging -->
  3402. <!ENTITY debugRendering.label "Rendering">
  3403. <!ENTITY debugXULBox.label "Debug XUL boxes">
  3404. <!ENTITY debugXULBox.accesskey "X">
  3405. <!ENTITY debugDisableXULCache.label "Disable XUL Cache">
  3406. diff --git a/suite/locales/en-US/chrome/common/pref/pref-fonts.dtd b/suite/locales/en-US/chrome/common/pref/pref-fonts.dtd
  3407. --- a/suite/locales/en-US/chrome/common/pref/pref-fonts.dtd
  3408. +++ b/suite/locales/en-US/chrome/common/pref/pref-fonts.dtd
  3409. @@ -1,13 +1,13 @@
  3410. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3411. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3412. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3413. -<!-- extracted from content/pref-fonts.xul -->
  3414. +<!-- extracted from content/pref-fonts.xhtml -->
  3415. <!-- LOCALIZATION NOTE : FILE 'Fonts' prefs dialog -->
  3416. <!ENTITY pref.fonts.title "Fonts">
  3417. <!ENTITY language.label "Fonts for:">
  3418. <!ENTITY language.accesskey "t">
  3419. <!ENTITY typefaces.label "Typeface">
  3420. diff --git a/suite/locales/en-US/chrome/common/pref/pref-media.dtd b/suite/locales/en-US/chrome/common/pref/pref-media.dtd
  3421. --- a/suite/locales/en-US/chrome/common/pref/pref-media.dtd
  3422. +++ b/suite/locales/en-US/chrome/common/pref/pref-media.dtd
  3423. @@ -1,13 +1,13 @@
  3424. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3425. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3426. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3427. -<!-- extracted from content/pref-media.xul -->
  3428. +<!-- extracted from content/pref-media.xhtml -->
  3429. <!-- LOCALIZATION NOTE : FILE Media management prefs -->
  3430. <!ENTITY pref.media.title "Media">
  3431. <!ENTITY mediaHTML5Preferences.label "Audio/Video">
  3432. <!ENTITY allowMediaAutoplay.label "Enable Autoplay of HTML5 media content">
  3433. <!ENTITY allowMediaAutoplay.accesskey "A">
  3434. <!ENTITY enableDrmMedia.label "Enable Digital Rights Management for">
  3435. diff --git a/suite/locales/en-US/chrome/common/pref/pref-offlineapps.dtd b/suite/locales/en-US/chrome/common/pref/pref-offlineapps.dtd
  3436. --- a/suite/locales/en-US/chrome/common/pref/pref-offlineapps.dtd
  3437. +++ b/suite/locales/en-US/chrome/common/pref/pref-offlineapps.dtd
  3438. @@ -1,12 +1,12 @@
  3439. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3440. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3441. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3442. -<!-- extracted from content/pref-offlineapps.xul -->
  3443. +<!-- extracted from content/pref-offlineapps.xhtml -->
  3444. <!--LOCALIZATION NOTE : FILE Offline Apps prefs dialog -->
  3445. <!ENTITY pref.offlineapps.title "Offline Web Applications">
  3446. <!ENTITY pref.offlineCache.caption "Offline Web Content and User Data">
  3447. <!ENTITY clearOfflineAppCache.label "Clear">
  3448. <!ENTITY clearOfflineAppCache.accesskey "C">
  3449. diff --git a/suite/locales/en-US/chrome/common/pref/pref-proxies.dtd b/suite/locales/en-US/chrome/common/pref/pref-proxies.dtd
  3450. --- a/suite/locales/en-US/chrome/common/pref/pref-proxies.dtd
  3451. +++ b/suite/locales/en-US/chrome/common/pref/pref-proxies.dtd
  3452. @@ -1,13 +1,13 @@
  3453. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3454. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3455. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3456. -<!-- extracted from content/pref-proxies.xul -->
  3457. +<!-- extracted from content/pref-proxies.xhtml -->
  3458. <!--LOCALIZATION NOTE : FILE The Proxies preferences dialog -->
  3459. <!ENTITY pref.proxies.title "Proxies">
  3460. <!ENTITY pref.proxies.desc "A Proxy is a network service that can filter and speed up your Internet connection.">
  3461. <!ENTITY proxyTitle.label "Configure Proxies to Access the Internet">
  3462. <!ENTITY directTypeRadio.label "Direct connection to the Internet">
  3463. <!ENTITY directTypeRadio.accesskey "D">
  3464. <!ENTITY systemTypeRadio.label "Use system proxy settings">
  3465. diff --git a/suite/locales/en-US/chrome/common/pref/pref-scripts.dtd b/suite/locales/en-US/chrome/common/pref/pref-scripts.dtd
  3466. --- a/suite/locales/en-US/chrome/common/pref/pref-scripts.dtd
  3467. +++ b/suite/locales/en-US/chrome/common/pref/pref-scripts.dtd
  3468. @@ -1,13 +1,13 @@
  3469. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3470. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3471. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3472. -<!-- extracted from content/pref-scripts.xul -->
  3473. +<!-- extracted from content/pref-scripts.xhtml -->
  3474. <!--LOCALIZATION NOTE : FILE The 'Scripts' preferences dialog -->
  3475. <!ENTITY pref.scripts2.title "Scripts">
  3476. <!ENTITY navigator.label "Browser">
  3477. <!ENTITY navigator.accesskey "B">
  3478. <!--LOCALIZATION NOTE (enableJavaScript.label): 'JavaScript' should never be translated -->
  3479. diff --git a/suite/locales/en-US/chrome/common/pref/pref-search.dtd b/suite/locales/en-US/chrome/common/pref/pref-search.dtd
  3480. --- a/suite/locales/en-US/chrome/common/pref/pref-search.dtd
  3481. +++ b/suite/locales/en-US/chrome/common/pref/pref-search.dtd
  3482. @@ -1,13 +1,13 @@
  3483. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3484. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3485. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3486. -<!-- extracted from content/pref-search.xul -->
  3487. +<!-- extracted from content/pref-search.xhtml -->
  3488. <!-- LOCALIZATION NOTE : FILE The Search prefs dialog -->
  3489. <!ENTITY pref.search.title "Internet Search">
  3490. <!ENTITY legendHeader "Default Search Engine">
  3491. <!ENTITY defaultSearchEngine.label "Search using:">
  3492. <!ENTITY defaultSearchEngine.accesskey "S">
  3493. diff --git a/suite/locales/en-US/chrome/common/sidebar/customize.dtd b/suite/locales/en-US/chrome/common/sidebar/customize.dtd
  3494. --- a/suite/locales/en-US/chrome/common/sidebar/customize.dtd
  3495. +++ b/suite/locales/en-US/chrome/common/sidebar/customize.dtd
  3496. @@ -1,13 +1,13 @@
  3497. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3498. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3499. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3500. -<!-- extracted from ./customize.xul -->
  3501. +<!-- extracted from ./customize.xhtml -->
  3502. <!ENTITY sidebar.customize.title "Customize Sidebar">
  3503. <!ENTITY sidebar.customize.current2.label "Tabs in Sidebar:">
  3504. <!ENTITY sidebar.customize.current2.accesskey "T">
  3505. <!ENTITY sidebar.customize.customize.label "Customize Tab…">
  3506. <!ENTITY sidebar.customize.customize.accesskey "C">
  3507. <!ENTITY sidebar.customize.remove.label "Remove">
  3508. <!ENTITY sidebar.customize.remove.accesskey "R">
  3509. diff --git a/suite/locales/en-US/chrome/common/tasksOverlay.dtd b/suite/locales/en-US/chrome/common/tasksOverlay.dtd
  3510. --- a/suite/locales/en-US/chrome/common/tasksOverlay.dtd
  3511. +++ b/suite/locales/en-US/chrome/common/tasksOverlay.dtd
  3512. @@ -1,13 +1,13 @@
  3513. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3514. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3515. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3516. -<!-- extracted from tasksOverlay.xul -->
  3517. +<!-- extracted from tasksOverlay.xhtml -->
  3518. <!ENTITY minimizeWindowCmd.label "Minimize">
  3519. <!ENTITY minimizeWindowCmd.key "M">
  3520. <!ENTITY zoomWindowCmd.label "Zoom">
  3521. <!ENTITY navigatorCmd.label "Browser">
  3522. <!ENTITY navigatorCmd.accesskey "B">
  3523. <!ENTITY navigatorCmd.commandkey "1">
  3524. <!-- LOCALIZATION NOTE (editorCmd.label): DONT_TRANSLATE -->
  3525. diff --git a/suite/locales/en-US/chrome/common/utilityOverlay.dtd b/suite/locales/en-US/chrome/common/utilityOverlay.dtd
  3526. --- a/suite/locales/en-US/chrome/common/utilityOverlay.dtd
  3527. +++ b/suite/locales/en-US/chrome/common/utilityOverlay.dtd
  3528. @@ -1,13 +1,13 @@
  3529. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3530. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3531. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3532. -<!-- these things need to move into utilityOverlay.xul -->
  3533. +<!-- these things need to move into utilityOverlay.xhtml -->
  3534. <!ENTITY offlineGoOfflineCmd.label "Work Offline">
  3535. <!ENTITY offlineGoOfflineCmd.accesskey "k">
  3536. <!-- LOCALIZATION NOTE : FILE This file contains the global menu items -->
  3537. <!ENTITY fileMenu.label "File">
  3538. <!ENTITY fileMenu.accesskey "F">
  3539. <!ENTITY newMenu.label "New">
  3540. diff --git a/suite/locales/en-US/chrome/mailnews/SearchDialog.dtd b/suite/locales/en-US/chrome/mailnews/SearchDialog.dtd
  3541. --- a/suite/locales/en-US/chrome/mailnews/SearchDialog.dtd
  3542. +++ b/suite/locales/en-US/chrome/mailnews/SearchDialog.dtd
  3543. @@ -1,13 +1,13 @@
  3544. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3545. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3546. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3547. -<!-- for SearchDialog.xul -->
  3548. +<!-- for SearchDialog.xhtml -->
  3549. <!ENTITY searchHeading.label "Search for messages in:">
  3550. <!ENTITY searchHeading.accesskey "e">
  3551. <!ENTITY searchSubfolders.label "Search subfolders">
  3552. <!ENTITY searchSubfolders.accesskey "u">
  3553. <!ENTITY searchOnHeading.label "Perform search operations on:">
  3554. <!ENTITY searchOnHeading.accesskey "P">
  3555. <!ENTITY searchOnRemote.label "Remote server">
  3556. <!ENTITY searchOnLocal.label "Local system">
  3557. @@ -23,16 +23,16 @@
  3558. <!ENTITY moveHereMenu.accesskey "H">
  3559. <!ENTITY moveButton.label "Move To">
  3560. <!ENTITY moveButton.accesskey "T">
  3561. <!ENTITY goToFolderButton.label "Open Message Folder">
  3562. <!ENTITY goToFolderButton.accesskey "n">
  3563. <!ENTITY saveAsVFButton.label "Save as Search Folder">
  3564. <!ENTITY saveAsVFButton.accesskey "v">
  3565. -<!-- for ABSearchDialog.xul -->
  3566. +<!-- for ABSearchDialog.xhtml -->
  3567. <!ENTITY abSearchHeading.label "Search in:">
  3568. <!ENTITY abSearchHeading.accesskey "e">
  3569. <!ENTITY propertiesButton.label "Properties">
  3570. <!ENTITY propertiesButton.accesskey "P">
  3571. <!ENTITY composeButton.label "Compose">
  3572. <!ENTITY composeButton.accesskey "o">
  3573. <!ENTITY abSearchDialogTitle.label "Advanced Address Book Search">
  3574. diff --git a/suite/locales/en-US/chrome/mailnews/messenger.properties b/suite/locales/en-US/chrome/mailnews/messenger.properties
  3575. --- a/suite/locales/en-US/chrome/mailnews/messenger.properties
  3576. +++ b/suite/locales/en-US/chrome/mailnews/messenger.properties
  3577. @@ -296,17 +296,17 @@ the server for reading offline. To read
  3578. you must reconnect to the network, choose Offline from \
  3579. the File menu and then uncheck Work Offline. \
  3580. In the future, you can select which messages or folders to read offline. To do \
  3581. this, choose Offline from the file menu and then select Download/Sync Now. \
  3582. You can adjust the Disk Space preference to prevent the downloading of large \
  3583. messages.
  3584. # accountCentral
  3585. -mailnews.account_central_page.url=chrome://messenger/content/msgAccountCentral.xul
  3586. +mailnews.account_central_page.url=chrome://messenger/content/msgAccountCentral.xhtml
  3587. # LOCALIZATION NOTE(acctCentralTitleFormat): %1$S is brand, %2$S is account type, %3$S is account name
  3588. acctCentralTitleFormat=%1$S %2$S - %3$S
  3589. mailAcctType=Mail
  3590. newsAcctType=News
  3591. feedsAcctType=Feeds
  3592. # LOCALIZATION NOTE(nocachedbodytitle): Do not translate "<TITLE>" or "</TITLE>" in the line below
  3593. nocachedbodytitle=<TITLE>Go Online to View This Message</TITLE>\n
  3594. diff --git a/suite/locales/en-US/chrome/mailnews/msgPrintEngine.dtd b/suite/locales/en-US/chrome/mailnews/msgPrintEngine.dtd
  3595. --- a/suite/locales/en-US/chrome/mailnews/msgPrintEngine.dtd
  3596. +++ b/suite/locales/en-US/chrome/mailnews/msgPrintEngine.dtd
  3597. @@ -1,11 +1,11 @@
  3598. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3599. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3600. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3601. <!-- LOCALIZATION NOTE (printCmd.key, closeCmd.key):
  3602. - As defined in msgPrintEngine.xul, Ctrl plus the command keys defined here
  3603. + As defined in msgPrintEngine.xhtml, Ctrl plus the command keys defined here
  3604. will be the keyboard shortcuts effective in print preview, e.g. Ctrl+P
  3605. -->
  3606. <!ENTITY printCmd.key "P">
  3607. <!ENTITY closeCmd.key "W">
  3608. diff --git a/suite/locales/en-US/chrome/mailnews/msgSynchronize.dtd b/suite/locales/en-US/chrome/mailnews/msgSynchronize.dtd
  3609. --- a/suite/locales/en-US/chrome/mailnews/msgSynchronize.dtd
  3610. +++ b/suite/locales/en-US/chrome/mailnews/msgSynchronize.dtd
  3611. @@ -1,13 +1,13 @@
  3612. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3613. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3614. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3615. -<!-- extracted from MsgSynchronize.xul and msgSelectOfflineFolders.xul-->
  3616. +<!-- extracted from MsgSynchronize.xhtml and msgSelectOfflineFolders.xhtml-->
  3617. <!ENTITY MsgSynchronize.label "Download and Sync Messages">
  3618. <!ENTITY MsgSelect.label "Items for Offline Use">
  3619. <!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.">
  3620. <!ENTITY MsgSyncDirections.label "Download and/or sync the following:">
  3621. <!ENTITY syncTypeMail.label "Mail messages">
  3622. <!ENTITY syncTypeMail.accesskey "M">
  3623. <!ENTITY syncTypeNews.label "Newsgroup messages">
  3624. diff --git a/suite/locales/en-US/chrome/mailnews/pref/AccountManager.dtd b/suite/locales/en-US/chrome/mailnews/pref/AccountManager.dtd
  3625. --- a/suite/locales/en-US/chrome/mailnews/pref/AccountManager.dtd
  3626. +++ b/suite/locales/en-US/chrome/mailnews/pref/AccountManager.dtd
  3627. @@ -1,24 +1,24 @@
  3628. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3629. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3630. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3631. -<!-- extracted from AccountManager.xul -->
  3632. +<!-- extracted from AccountManager.xhtml -->
  3633. <!ENTITY accountManagerTitle.label "Mail &amp; Newsgroups Account Settings">
  3634. <!ENTITY addAccountButton.label "Add Account…">
  3635. <!ENTITY addAccountButton.accesskey "A">
  3636. <!ENTITY setDefaultButton.label "Set as Default">
  3637. <!ENTITY setDefaultButton.accesskey "f">
  3638. <!ENTITY removeButton.label "Remove Account">
  3639. <!ENTITY removeButton.accesskey "R">
  3640. -<!-- AccountManager.xul -->
  3641. +<!-- AccountManager.xhtml -->
  3642. <!-- LOCALIZATION NOTE : this is part of an inline-style attribute on the account
  3643. setting dialog, which specifies the width and height in em units of the dialog.
  3644. Localizers ONLY can increase these widths if they are having difficulty getting
  3645. panel content to fit.
  3646. 1ch = The width of the "0" (ZERO, U+0030) glyph for the current font.
  3647. 1em = The height of the font.
  3648. XUL/FE DEVELOPERS: DO NOT MODIFY THIS VALUE. It represents the correct size of
  3649. this window for en-US. -->
  3650. diff --git a/suite/locales/en-US/chrome/mailnews/pref/am-addressing.dtd b/suite/locales/en-US/chrome/mailnews/pref/am-addressing.dtd
  3651. --- a/suite/locales/en-US/chrome/mailnews/pref/am-addressing.dtd
  3652. +++ b/suite/locales/en-US/chrome/mailnews/pref/am-addressing.dtd
  3653. @@ -1,30 +1,30 @@
  3654. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3655. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3656. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3657. -<!-- extracted from am-addressing.xul -->
  3658. +<!-- extracted from am-addressing.xhtml -->
  3659. <!ENTITY addressing.label "Composition &amp; Addressing">
  3660. <!ENTITY addressingGroupTitle.label "Addressing">
  3661. <!ENTITY autocompleteToMyDomain.label "Automatically append my domain to addresses">
  3662. <!ENTITY autocompleteToMyDomain.accesskey "o">
  3663. <!ENTITY addressingText.label "When looking up addresses:">
  3664. <!-- LOCALIZATION NOTE (override.label) : do not translate "LDAP" in below line -->
  3665. <!ENTITY useGlobal.label "Use my global LDAP server preferences for this account">
  3666. <!ENTITY useGlobal.accesskey "U">
  3667. <!ENTITY editDirectories.label "Edit Directories…">
  3668. <!ENTITY editDirectories.accesskey "E">
  3669. <!-- LOCALIZATION NOTE (directories.label) : do not translate "LDAP" in below line -->
  3670. <!ENTITY directories.label "Use a different LDAP server:">
  3671. <!ENTITY directories.accesskey "d">
  3672. <!ENTITY directoriesNone.label "None">
  3673. -<!-- am-addressing.xul -->
  3674. +<!-- am-addressing.xhtml -->
  3675. <!ENTITY compositionGroupTitle.label "Composition">
  3676. <!-- LOCALIZATION NOTE (useHtml.label) : do not translate "html" in below line -->
  3677. <!ENTITY useHtml.label "Compose messages in HTML format">
  3678. <!ENTITY useHtml.accesskey "C">
  3679. <!ENTITY autoQuote.label "Automatically quote the original message when replying">
  3680. <!ENTITY autoQuote.accesskey "m">
  3681. <!-- LOCALIZATION NOTE (quoting.label): This will concatenate with the 4 strings that follow. -->
  3682. diff --git a/suite/locales/en-US/chrome/mailnews/pref/am-archiveoptions.dtd b/suite/locales/en-US/chrome/mailnews/pref/am-archiveoptions.dtd
  3683. --- a/suite/locales/en-US/chrome/mailnews/pref/am-archiveoptions.dtd
  3684. +++ b/suite/locales/en-US/chrome/mailnews/pref/am-archiveoptions.dtd
  3685. @@ -1,13 +1,13 @@
  3686. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3687. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3688. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3689. -<!-- extracted from am-archiveoptions.xul -->
  3690. +<!-- extracted from am-archiveoptions.xhtml -->
  3691. <!ENTITY dialogTitle.label "Archive Options">
  3692. <!ENTITY archiveGranularityPrefix.label "When archiving messages, place them in:">
  3693. <!ENTITY archiveFlat.label "A single folder">
  3694. <!ENTITY archiveFlat.accesskey "s">
  3695. <!ENTITY archiveYearly.label "Yearly archived folders">
  3696. <!ENTITY archiveYearly.accesskey "Y">
  3697. <!ENTITY archiveMonthly.label "Monthly archived folders">
  3698. diff --git a/suite/locales/en-US/chrome/mailnews/pref/am-copies.dtd b/suite/locales/en-US/chrome/mailnews/pref/am-copies.dtd
  3699. --- a/suite/locales/en-US/chrome/mailnews/pref/am-copies.dtd
  3700. +++ b/suite/locales/en-US/chrome/mailnews/pref/am-copies.dtd
  3701. @@ -1,13 +1,13 @@
  3702. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3703. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3704. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3705. -<!-- extracted from am-copies.xul -->
  3706. +<!-- extracted from am-copies.xhtml -->
  3707. <!ENTITY copyAndFolderTitle.label "Copies &amp; Folders">
  3708. <!ENTITY sendingPrefix.label "When sending messages:">
  3709. <!ENTITY fccMailFolder.label "Automatically place a copy in:">
  3710. <!ENTITY fccMailFolder.accesskey "u">
  3711. <!ENTITY fccReplyFollowsParent.label "Place replies in the folder of the message being replied to">
  3712. <!ENTITY fccReplyFollowsParent.accesskey "P">
  3713. <!-- LOCALIZATION NOTE (ccAddress.label): do not translate "Cc" in below line -->
  3714. diff --git a/suite/locales/en-US/chrome/mailnews/pref/am-main.dtd b/suite/locales/en-US/chrome/mailnews/pref/am-main.dtd
  3715. --- a/suite/locales/en-US/chrome/mailnews/pref/am-main.dtd
  3716. +++ b/suite/locales/en-US/chrome/mailnews/pref/am-main.dtd
  3717. @@ -1,13 +1,13 @@
  3718. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3719. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3720. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3721. -<!-- extracted from am-main.xul -->
  3722. +<!-- extracted from am-main.xhtml -->
  3723. <!ENTITY accountTitle.label "Account Settings">
  3724. <!ENTITY accountName.label "Account Name:">
  3725. <!ENTITY accountName.accesskey "N">
  3726. <!ENTITY identityTitle.label "Default Identity">
  3727. <!ENTITY identityDesc.label "Each account has an identity, which is the information that other people see when they read your messages.">
  3728. <!ENTITY name.label "Your Name:">
  3729. <!ENTITY name.accesskey "Y">
  3730. diff --git a/suite/locales/en-US/chrome/mailnews/pref/pref-offline.dtd b/suite/locales/en-US/chrome/mailnews/pref/pref-offline.dtd
  3731. --- a/suite/locales/en-US/chrome/mailnews/pref/pref-offline.dtd
  3732. +++ b/suite/locales/en-US/chrome/mailnews/pref/pref-offline.dtd
  3733. @@ -1,13 +1,13 @@
  3734. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3735. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3736. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3737. -<!-- extracted from content/pref-offline.xul -->
  3738. +<!-- extracted from content/pref-offline.xhtml -->
  3739. <!--LOCALIZATION NOTE : FILE The 'Offline' preferences dialog -->
  3740. <!ENTITY pref.network.title "Network &amp; Storage">
  3741. <!ENTITY pref.offline.caption "Offline">
  3742. <!ENTITY textStartUp "When starting up:">
  3743. <!ENTITY textStartUp.accesskey "W">
  3744. <!ENTITY menuitemRememberPrevState "Remember previous online state">
  3745. <!ENTITY menuitemAskMe "Ask me for online state at startup">
  3746. diff --git a/suite/mailnews/components/addrbook/content/abCommon.js b/suite/mailnews/components/addrbook/content/abCommon.js
  3747. --- a/suite/mailnews/components/addrbook/content/abCommon.js
  3748. +++ b/suite/mailnews/components/addrbook/content/abCommon.js
  3749. @@ -174,25 +174,25 @@ function SendCommandToResultsPane(comman
  3750. // if we are sending the command so the results pane
  3751. // we should focus the results pane
  3752. gAbResultsTree.focus();
  3753. }
  3754. function AbNewLDAPDirectory()
  3755. {
  3756. - window.openDialog("chrome://messenger/content/addressbook/pref-directory-add.xul",
  3757. + window.openDialog("chrome://messenger/content/addressbook/pref-directory-add.xhtml",
  3758. "",
  3759. "chrome,modal,resizable=no,centerscreen",
  3760. null);
  3761. }
  3762. function AbNewAddressBook()
  3763. {
  3764. - window.openDialog("chrome://messenger/content/addressbook/abAddressBookNameDialog.xul",
  3765. + window.openDialog("chrome://messenger/content/addressbook/abAddressBookNameDialog.xhtml",
  3766. "",
  3767. "chrome,modal,resizable=no,centerscreen",
  3768. null);
  3769. }
  3770. function AbEditSelectedDirectory()
  3771. {
  3772. let selectedDir = getSelectedDirectory();
  3773. @@ -632,51 +632,51 @@ function ChangeDirectoryByURI(uri = kPer
  3774. function AbNewList()
  3775. {
  3776. goNewListDialog(getSelectedDirectoryURI());
  3777. }
  3778. function goNewListDialog(selectedAB)
  3779. {
  3780. - window.openDialog("chrome://messenger/content/addressbook/abMailListDialog.xul",
  3781. + window.openDialog("chrome://messenger/content/addressbook/abMailListDialog.xhtml",
  3782. "",
  3783. "chrome,modal,resizable,centerscreen",
  3784. {selectedAB:selectedAB});
  3785. }
  3786. function goEditListDialog(abCard, listURI)
  3787. {
  3788. let params = {
  3789. abCard: abCard,
  3790. listURI: listURI,
  3791. refresh: false, // This is an out param, true if OK in dialog is clicked.
  3792. };
  3793. - window.openDialog("chrome://messenger/content/addressbook/abEditListDialog.xul",
  3794. + window.openDialog("chrome://messenger/content/addressbook/abEditListDialog.xhtml",
  3795. "",
  3796. "chrome,modal,resizable,centerscreen",
  3797. params);
  3798. if (params.refresh) {
  3799. ChangeDirectoryByURI(listURI); // force refresh
  3800. }
  3801. }
  3802. function goNewCardDialog(selectedAB)
  3803. {
  3804. - window.openDialog("chrome://messenger/content/addressbook/abNewCardDialog.xul",
  3805. + window.openDialog("chrome://messenger/content/addressbook/abNewCardDialog.xhtml",
  3806. "",
  3807. "chrome,modal,resizable=no,centerscreen",
  3808. {selectedAB:selectedAB});
  3809. }
  3810. function goEditCardDialog(abURI, card)
  3811. {
  3812. - window.openDialog("chrome://messenger/content/addressbook/abEditCardDialog.xul",
  3813. + window.openDialog("chrome://messenger/content/addressbook/abEditCardDialog.xhtml",
  3814. "",
  3815. "chrome,modal,resizable=no,centerscreen",
  3816. {abURI:abURI, card:card});
  3817. }
  3818. function setSortByMenuItemCheckState(id, value)
  3819. {
  3820. var menuitem = document.getElementById(id);
  3821. diff --git a/suite/mailnews/components/addrbook/content/abEditCardDialog.xhtml b/suite/mailnews/components/addrbook/content/abEditCardDialog.xhtml
  3822. --- a/suite/mailnews/components/addrbook/content/abEditCardDialog.xhtml
  3823. +++ b/suite/mailnews/components/addrbook/content/abEditCardDialog.xhtml
  3824. @@ -1,16 +1,16 @@
  3825. <?xml version="1.0"?>
  3826. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3827. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3828. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3829. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  3830. -<?xul-overlay href="chrome://messenger/content/addressbook/abCardOverlay.xul"?>
  3831. +<?xul-overlay href="chrome://messenger/content/addressbook/abCardOverlay.xhtml"?>
  3832. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  3833. id="abcardWindow"
  3834. onload="OnLoadEditCard()"
  3835. ondialogaccept="return EditCardOKButton();"
  3836. ondialogcancel="return EditCardCancelButton();">
  3837. <stringbundleset id="stringbundleset"/>
  3838. diff --git a/suite/mailnews/components/addrbook/content/abEditListDialog.xhtml b/suite/mailnews/components/addrbook/content/abEditListDialog.xhtml
  3839. --- a/suite/mailnews/components/addrbook/content/abEditListDialog.xhtml
  3840. +++ b/suite/mailnews/components/addrbook/content/abEditListDialog.xhtml
  3841. @@ -1,16 +1,16 @@
  3842. <?xml version="1.0"?>
  3843. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3844. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3845. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3846. <?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
  3847. -<?xul-overlay href="chrome://messenger/content/addressbook/abListOverlay.xul"?>
  3848. +<?xul-overlay href="chrome://messenger/content/addressbook/abListOverlay.xhtml"?>
  3849. <!DOCTYPE dialog SYSTEM "chrome://messenger/locale/addressbook/abMailListDialog.dtd">
  3850. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  3851. xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  3852. id="ablistWindow"
  3853. onload="OnLoadEditList()"
  3854. ondialogaccept="return EditListOKButton();"
  3855. diff --git a/suite/mailnews/components/addrbook/content/abMailListDialog.xhtml b/suite/mailnews/components/addrbook/content/abMailListDialog.xhtml
  3856. --- a/suite/mailnews/components/addrbook/content/abMailListDialog.xhtml
  3857. +++ b/suite/mailnews/components/addrbook/content/abMailListDialog.xhtml
  3858. @@ -1,16 +1,16 @@
  3859. <?xml version="1.0"?>
  3860. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3861. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3862. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3863. <?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
  3864. -<?xul-overlay href="chrome://messenger/content/addressbook/abListOverlay.xul"?>
  3865. +<?xul-overlay href="chrome://messenger/content/addressbook/abListOverlay.xhtml"?>
  3866. <!DOCTYPE dialog SYSTEM "chrome://messenger/locale/addressbook/abMailListDialog.dtd">
  3867. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  3868. id="ablistWindow"
  3869. title="&mailListWindow.title;"
  3870. ondialogaccept="return MailListOKButton();"
  3871. onload="OnLoadNewMailList()"
  3872. diff --git a/suite/mailnews/components/addrbook/content/abNewCardDialog.xhtml b/suite/mailnews/components/addrbook/content/abNewCardDialog.xhtml
  3873. --- a/suite/mailnews/components/addrbook/content/abNewCardDialog.xhtml
  3874. +++ b/suite/mailnews/components/addrbook/content/abNewCardDialog.xhtml
  3875. @@ -1,16 +1,16 @@
  3876. <?xml version="1.0"?>
  3877. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3878. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3879. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3880. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  3881. -<?xul-overlay href="chrome://messenger/content/addressbook/abCardOverlay.xul"?>
  3882. +<?xul-overlay href="chrome://messenger/content/addressbook/abCardOverlay.xhtml"?>
  3883. <!DOCTYPE dialog SYSTEM "chrome://messenger/locale/addressbook/abNewCardDialog.dtd">
  3884. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  3885. id="abcardWindow"
  3886. windowtype="mailnews:newcarddialog"
  3887. onload="OnLoadNewCard()"
  3888. ondialogaccept="return NewCardOKButton();"
  3889. diff --git a/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.js b/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.js
  3890. --- a/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.js
  3891. +++ b/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.js
  3892. @@ -298,17 +298,17 @@ function ResultsPaneSelectionChanged()
  3893. editButton.setAttribute("disabled", "true");
  3894. toButton.setAttribute("disabled", "true");
  3895. ccButton.setAttribute("disabled", "true");
  3896. bccButton.setAttribute("disabled", "true");
  3897. }
  3898. }
  3899. /* Function: DialogBucketPaneSelectionChanged()
  3900. - * Callers : OnLoadSelectAddress(), abSelectAddressesDialog.xul:id="addressBucket"
  3901. + * Callers : OnLoadSelectAddress(), abSelectAddressesDialog.xhtml:id="addressBucket"
  3902. * -------------------------------------------------------------------------------
  3903. * This function is used to grab the selection state of the bucket tree to maintain
  3904. * the appropriate enabled/disabled states of the "Remove" button.
  3905. * If an entry is selected in the bucket Tree, then the "disabled" attribute is removed.
  3906. * Otherwise, if nothing is selected, "disabled" is set to true.
  3907. */
  3908. function DialogBucketPaneSelectionChanged()
  3909. diff --git a/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.xhtml b/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.xhtml
  3910. --- a/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.xhtml
  3911. +++ b/suite/mailnews/components/addrbook/content/abSelectAddressesDialog.xhtml
  3912. @@ -1,17 +1,17 @@
  3913. <?xml version="1.0"?>
  3914. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3915. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3916. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3917. <?xml-stylesheet href="chrome://messenger/skin/addressbook/selectAddressesDialog.css" type="text/css"?>
  3918. -<?xul-overlay href="chrome://messenger/content/addressbook/abResultsPaneOverlay.xul"?>
  3919. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  3920. +<?xul-overlay href="chrome://messenger/content/addressbook/abResultsPaneOverlay.xhtml"?>
  3921. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  3922. <!DOCTYPE dialog [
  3923. <!ENTITY % abSelectAddressesDialogDTD SYSTEM "chrome://messenger/locale/addressbook/abSelectAddressesDialog.dtd" >
  3924. %abSelectAddressesDialogDTD;
  3925. <!ENTITY % abResultsPaneOverlayDTD SYSTEM "chrome://messenger/locale/addressbook/abResultsPaneOverlay.dtd" >
  3926. %abResultsPaneOverlayDTD;
  3927. ]>
  3928. diff --git a/suite/mailnews/components/addrbook/content/addressbook.js b/suite/mailnews/components/addrbook/content/addressbook.js
  3929. --- a/suite/mailnews/components/addrbook/content/addressbook.js
  3930. +++ b/suite/mailnews/components/addrbook/content/addressbook.js
  3931. @@ -211,17 +211,17 @@ function AbPrintCardInternal(doPrintPrev
  3932. for (let i = 0; i < numSelected; i++) {
  3933. let card = selectedItems[i];
  3934. let printCardUrl = CreatePrintCardUrl(card);
  3935. if (printCardUrl) {
  3936. selectionArray.push(printCardUrl);
  3937. }
  3938. }
  3939. - printEngineWindow = window.openDialog("chrome://messenger/content/msgPrintEngine.xul",
  3940. + printEngineWindow = window.openDialog("chrome://messenger/content/msgPrintEngine.xhtml",
  3941. "",
  3942. "chrome,dialog=no,all",
  3943. selectionArray.length, selectionArray,
  3944. statusFeedback, doPrintPreview, msgType);
  3945. return;
  3946. }
  3947. @@ -253,17 +253,17 @@ function AbPrintAddressBookInternal(doPr
  3948. /*
  3949. turn "moz-abmdbdirectory://abook.mab" into
  3950. "addbook://moz-abmdbdirectory/abook.mab?action=print"
  3951. */
  3952. var abURIArr = uri.split("://");
  3953. var printUrl = "addbook://" + abURIArr[0] + "/" + abURIArr[1] + "?action=print"
  3954. - printEngineWindow = window.openDialog("chrome://messenger/content/msgPrintEngine.xul",
  3955. + printEngineWindow = window.openDialog("chrome://messenger/content/msgPrintEngine.xhtml",
  3956. "",
  3957. "chrome,dialog=no,all",
  3958. 1, [printUrl],
  3959. statusFeedback, doPrintPreview, msgType);
  3960. return;
  3961. }
  3962. @@ -382,17 +382,17 @@ function onAdvancedAbSearch()
  3963. let selectedDirURI = getSelectedDirectoryURI();
  3964. if (!selectedDirURI)
  3965. return;
  3966. var existingSearchWindow = Services.wm.getMostRecentWindow("mailnews:absearch");
  3967. if (existingSearchWindow)
  3968. existingSearchWindow.focus();
  3969. else
  3970. - window.openDialog("chrome://messenger/content/ABSearchDialog.xul", "",
  3971. + window.openDialog("chrome://messenger/content/ABSearchDialog.xhtml", "",
  3972. "chrome,resizable,status,centerscreen,dialog=no",
  3973. {directory: selectedDirURI});
  3974. }
  3975. function onEnterInSearchBar()
  3976. {
  3977. ClearCardViewPane();
  3978. if (!gQueryURIFormat) {
  3979. diff --git a/suite/mailnews/components/addrbook/content/addressbook.xhtml b/suite/mailnews/components/addrbook/content/addressbook.xhtml
  3980. --- a/suite/mailnews/components/addrbook/content/addressbook.xhtml
  3981. +++ b/suite/mailnews/components/addrbook/content/addressbook.xhtml
  3982. @@ -2,20 +2,20 @@
  3983. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3984. - License, v. 2.0. If a copy of the MPL was not distributed with this
  3985. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  3986. <?xml-stylesheet href="chrome://messenger/skin/addressbook/addressbook.css" type="text/css"?>
  3987. <?xml-stylesheet href="chrome://messenger/skin/addressbook/addressPanes.css"
  3988. type="text/css"?>
  3989. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  3990. -<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  3991. -<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
  3992. -<?xul-overlay href="chrome://messenger/content/addressbook/abResultsPaneOverlay.xul"?>
  3993. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  3994. +<?xul-overlay href="chrome://communicator/content/tasksOverlay.xhtml"?>
  3995. +<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xhtml"?>
  3996. +<?xul-overlay href="chrome://messenger/content/addressbook/abResultsPaneOverlay.xhtml"?>
  3997. <!DOCTYPE window [
  3998. <!ENTITY % abMainWindowDTD SYSTEM "chrome://messenger/locale/addressbook/abMainWindow.dtd" >
  3999. %abMainWindowDTD;
  4000. <!ENTITY % abResultsPaneOverlayDTD SYSTEM "chrome://messenger/locale/addressbook/abResultsPaneOverlay.dtd" >
  4001. %abResultsPaneOverlayDTD;
  4002. <!ENTITY % mailOverlayDTD SYSTEM "chrome://messenger/locale/mailOverlay.dtd">
  4003. %mailOverlayDTD;
  4004. diff --git a/suite/mailnews/components/addrbook/content/prefs/pref-addressing.js b/suite/mailnews/components/addrbook/content/prefs/pref-addressing.js
  4005. --- a/suite/mailnews/components/addrbook/content/prefs/pref-addressing.js
  4006. +++ b/suite/mailnews/components/addrbook/content/prefs/pref-addressing.js
  4007. @@ -5,17 +5,17 @@
  4008. function Startup()
  4009. {
  4010. enableAutocomplete();
  4011. }
  4012. function onEditDirectories()
  4013. {
  4014. - window.openDialog("chrome://messenger/content/addressbook/pref-editdirectories.xul",
  4015. + window.openDialog("chrome://messenger/content/addressbook/pref-editdirectories.xhtml",
  4016. "editDirectories", "chrome,modal=yes,resizable=no", null);
  4017. }
  4018. function enableAutocomplete()
  4019. {
  4020. var acLDAPValue = document.getElementById("ldap_2.autoComplete.useDirectory")
  4021. .value;
  4022. diff --git a/suite/mailnews/components/addrbook/jar.mn b/suite/mailnews/components/addrbook/jar.mn
  4023. --- a/suite/mailnews/components/addrbook/jar.mn
  4024. +++ b/suite/mailnews/components/addrbook/jar.mn
  4025. @@ -1,24 +1,24 @@
  4026. # This Source Code Form is subject to the terms of the Mozilla Public
  4027. # License, v. 2.0. If a copy of the MPL was not distributed with this
  4028. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  4029. messenger.jar:
  4030. content/messenger/addressbook/addressbook.js (content/addressbook.js)
  4031. -* content/messenger/addressbook/addressbook.xul (content/addressbook.xul)
  4032. +* content/messenger/addressbook/addressbook.xhtml (content/addressbook.xhtml)
  4033. content/messenger/addressbook/abCommon.js (content/abCommon.js)
  4034. content/messenger/addressbook/abCardOverlay.js (content/abCardOverlay.js)
  4035. - content/messenger/addressbook/abCardOverlay.xul (content/abCardOverlay.xul)
  4036. + content/messenger/addressbook/abCardOverlay.xhtml (content/abCardOverlay.xhtml)
  4037. content/messenger/addressbook/abCardViewOverlay.js (content/abCardViewOverlay.js)
  4038. - content/messenger/addressbook/abEditCardDialog.xul (content/abEditCardDialog.xul)
  4039. - content/messenger/addressbook/abNewCardDialog.xul (content/abNewCardDialog.xul)
  4040. - content/messenger/addressbook/abResultsPaneOverlay.xul (content/abResultsPaneOverlay.xul)
  4041. - content/messenger/addressbook/abMailListDialog.xul (content/abMailListDialog.xul)
  4042. - content/messenger/addressbook/abEditListDialog.xul (content/abEditListDialog.xul)
  4043. - content/messenger/addressbook/abListOverlay.xul (content/abListOverlay.xul)
  4044. + content/messenger/addressbook/abEditCardDialog.xhtml (content/abEditCardDialog.xhtml)
  4045. + content/messenger/addressbook/abNewCardDialog.xhtml (content/abNewCardDialog.xhtml)
  4046. + content/messenger/addressbook/abResultsPaneOverlay.xhtml (content/abResultsPaneOverlay.xhtml)
  4047. + content/messenger/addressbook/abMailListDialog.xhtml (content/abMailListDialog.xhtml)
  4048. + content/messenger/addressbook/abEditListDialog.xhtml (content/abEditListDialog.xhtml)
  4049. + content/messenger/addressbook/abListOverlay.xhtml (content/abListOverlay.xhtml)
  4050. content/messenger/addressbook/abSelectAddressesDialog.js (content/abSelectAddressesDialog.js)
  4051. - content/messenger/addressbook/abSelectAddressesDialog.xul (content/abSelectAddressesDialog.xul)
  4052. + content/messenger/addressbook/abSelectAddressesDialog.xhtml (content/abSelectAddressesDialog.xhtml)
  4053. content/messenger/addressbook/abTrees.js (content/abTrees.js)
  4054. - content/messenger/addressbook/addressbook-panel.xul (content/addressbook-panel.xul)
  4055. + content/messenger/addressbook/addressbook-panel.xhtml (content/addressbook-panel.xhtml)
  4056. content/messenger/addressbook/addressbook-panel.js (content/addressbook-panel.js)
  4057. content/messenger/addressbook/pref-addressing.js (content/prefs/pref-addressing.js)
  4058. - content/messenger/addressbook/pref-addressing.xul (content/prefs/pref-addressing.xul)
  4059. + content/messenger/addressbook/pref-addressing.xhtml (content/prefs/pref-addressing.xhtml)
  4060. diff --git a/suite/mailnews/components/compose/content/MsgComposeCommands.js b/suite/mailnews/components/compose/content/MsgComposeCommands.js
  4061. --- a/suite/mailnews/components/compose/content/MsgComposeCommands.js
  4062. +++ b/suite/mailnews/components/compose/content/MsgComposeCommands.js
  4063. @@ -1763,17 +1763,17 @@ function GenericSendMessage(msgType) {
  4064. msgType == Ci.nsIMsgCompDeliverMode.Background) {
  4065. //Do we need to check the spelling?
  4066. if (DoSpellCheckBeforeSend()) {
  4067. // We disable spellcheck for the following -subject line, attachment
  4068. // pane, identity and addressing widget therefore we need to explicitly
  4069. // focus on the mail body when we have to do a spellcheck.
  4070. SetMsgBodyFrameFocus();
  4071. window.cancelSendMessage = false;
  4072. - window.openDialog("chrome://editor/content/EdSpellCheck.xul", "_blank",
  4073. + window.openDialog("chrome://editor/content/EdSpellCheck.xhtml", "_blank",
  4074. "dialog,close,titlebar,modal,resizable",
  4075. true, true, false);
  4076. if (window.cancelSendMessage)
  4077. return;
  4078. }
  4079. // Strip trailing spaces and long consecutive WSP sequences from the
  4080. // subject line to prevent getting only WSP chars on a folded line.
  4081. @@ -1846,17 +1846,17 @@ function GenericSendMessage(msgType) {
  4082. if (!CheckValidEmailAddress(msgCompFields.to, msgCompFields.cc, msgCompFields.bcc))
  4083. return;
  4084. if (action == Ci.nsIMsgCompSendFormat.AskUser) {
  4085. var recommAction = (convert == Ci.nsIMsgCompConvertible.No)
  4086. ? Ci.nsIMsgCompSendFormat.AskUser
  4087. : Ci.nsIMsgCompSendFormat.PlainText;
  4088. var result2 = {action:recommAction, convertible:convert, abort:false};
  4089. - window.openDialog("chrome://messenger/content/messengercompose/askSendFormat.xul",
  4090. + window.openDialog("chrome://messenger/content/messengercompose/askSendFormat.xhtml",
  4091. "askSendFormatDialog", "chrome,modal,titlebar,centerscreen",
  4092. result2);
  4093. if (result2.abort)
  4094. return;
  4095. action = result2.action;
  4096. }
  4097. // We will remember the users "send format" decision in the address
  4098. @@ -2195,17 +2195,17 @@ function SelectAddress()
  4099. Recipients2CompFields(msgCompFields);
  4100. var toAddress = msgCompFields.to;
  4101. var ccAddress = msgCompFields.cc;
  4102. var bccAddress = msgCompFields.bcc;
  4103. dump("toAddress: " + toAddress + "\n");
  4104. - window.openDialog("chrome://messenger/content/addressbook/abSelectAddressesDialog.xul",
  4105. + window.openDialog("chrome://messenger/content/addressbook/abSelectAddressesDialog.xhtml",
  4106. "",
  4107. "chrome,resizable,titlebar,modal",
  4108. {composeWindow:top.window,
  4109. msgCompFields:msgCompFields,
  4110. toAddress:toAddress,
  4111. ccAddress:ccAddress,
  4112. bccAddress:bccAddress});
  4113. // We have to set focus to the addressingwidget because we seem to loose focus often
  4114. @@ -2762,17 +2762,17 @@ function MessageGetNumSelectedAttachment
  4115. {
  4116. var bucketList = GetMsgAttachmentElement();
  4117. return (bucketList) ? bucketList.selectedItems.length : 0;
  4118. }
  4119. function AttachPage()
  4120. {
  4121. var params = { action: "5", url: null };
  4122. - window.openDialog("chrome://communicator/content/openLocation.xul",
  4123. + window.openDialog("chrome://communicator/content/openLocation.xhtml",
  4124. "_blank", "chrome,close,titlebar,modal", params);
  4125. if (params.url)
  4126. {
  4127. var attachment =
  4128. Cc["@mozilla.org/messengercompose/attachment;1"]
  4129. .createInstance(Ci.nsIMsgAttachment);
  4130. attachment.url = params.url;
  4131. AddAttachment(attachment);
  4132. diff --git a/suite/mailnews/components/compose/content/messengercompose.xhtml b/suite/mailnews/components/compose/content/messengercompose.xhtml
  4133. --- a/suite/mailnews/components/compose/content/messengercompose.xhtml
  4134. +++ b/suite/mailnews/components/compose/content/messengercompose.xhtml
  4135. @@ -5,25 +5,25 @@
  4136. <?xml-stylesheet href="chrome://messenger/skin/messengercompose/messengercompose.css" type="text/css"?>
  4137. <?xml-stylesheet href="chrome://messenger/skin/folderMenus.css" type="text/css"?>
  4138. <?xml-stylesheet href="chrome://editor/skin/editorFormatToolbar.css" type="text/css"?>
  4139. <?xml-stylesheet href="chrome://messenger/skin/addressingWidget.css" type="text/css"?>
  4140. <?xml-stylesheet href="chrome://messenger/skin/smime/msgCompSMIMEOverlay.css" type="text/css"?>
  4141. <?xml-stylesheet href="chrome://messenger/content/bindings.css" type="text/css"?>
  4142. -<?xul-overlay href="chrome://communicator/content/charsetOverlay.xul"?>
  4143. -<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  4144. -<?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xul"?>
  4145. -<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
  4146. -<?xul-overlay href="chrome://messenger/content/messengercompose/msgComposeContextOverlay.xul"?>
  4147. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  4148. -<?xul-overlay href="chrome://editor/content/editorOverlay.xul"?>
  4149. -<?xul-overlay href="chrome://messenger/content/messengercompose/mailComposeOverlay.xul"?>
  4150. -<?xul-overlay href="chrome://messenger/content/mailOverlay.xul"?>
  4151. +<?xul-overlay href="chrome://communicator/content/charsetOverlay.xhtml"?>
  4152. +<?xul-overlay href="chrome://communicator/content/tasksOverlay.xhtml"?>
  4153. +<?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xhtml"?>
  4154. +<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xhtml"?>
  4155. +<?xul-overlay href="chrome://messenger/content/messengercompose/msgComposeContextOverlay.xhtml"?>
  4156. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  4157. +<?xul-overlay href="chrome://editor/content/editorOverlay.xhtml"?>
  4158. +<?xul-overlay href="chrome://messenger/content/messengercompose/mailComposeOverlay.xhtml"?>
  4159. +<?xul-overlay href="chrome://messenger/content/mailOverlay.xhtml"?>
  4160. <!DOCTYPE window [
  4161. <!ENTITY % messengercomposeDTD SYSTEM "chrome://messenger/locale/messengercompose/messengercompose.dtd" >
  4162. %messengercomposeDTD;
  4163. <!ENTITY % messengerDTD SYSTEM "chrome://messenger/locale/messenger.dtd" >
  4164. %messengerDTD;
  4165. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
  4166. %brandDTD;
  4167. @@ -661,17 +661,17 @@
  4168. resizeafter="grow"
  4169. onmousedown="awSizerListen();"
  4170. oncommand="awSizerResized(this);">
  4171. <observes element="MsgHeadersToolbar" attribute="collapsed"/>
  4172. </splitter>
  4173. <!-- sidebar/toolbar/content/status -->
  4174. <hbox id="sidebar-parent" flex="1">
  4175. - <!-- From sidebarOverlay.xul -->
  4176. + <!-- From sidebarOverlay.xhtml -->
  4177. <vbox id="sidebar-box" class="chromeclass-extrachrome" hidden="true"/>
  4178. <splitter id="sidebar-splitter" class="chromeclass-extrachrome" hidden="true"/>
  4179. <!-- The mail message body frame -->
  4180. <vbox id="appcontent" flex="1">
  4181. <findbar id="FindToolbar" browserid="content-frame"/>
  4182. <editor id="content-frame"
  4183. type="content"
  4184. diff --git a/suite/mailnews/components/compose/jar.mn b/suite/mailnews/components/compose/jar.mn
  4185. --- a/suite/mailnews/components/compose/jar.mn
  4186. +++ b/suite/mailnews/components/compose/jar.mn
  4187. @@ -1,14 +1,14 @@
  4188. # This Source Code Form is subject to the terms of the Mozilla Public
  4189. # License, v. 2.0. If a copy of the MPL was not distributed with this
  4190. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  4191. messenger.jar:
  4192. - content/messenger/messengercompose/pref-composing_messages.xul (content/prefs/pref-composing_messages.xul)
  4193. + content/messenger/messengercompose/pref-composing_messages.xhtml (content/prefs/pref-composing_messages.xhtml)
  4194. content/messenger/messengercompose/pref-composing_messages.js (content/prefs/pref-composing_messages.js)
  4195. - content/messenger/messengercompose/pref-formatting.xul (content/prefs/pref-formatting.xul)
  4196. + content/messenger/messengercompose/pref-formatting.xhtml (content/prefs/pref-formatting.xhtml)
  4197. content/messenger/messengercompose/pref-formatting.js (content/prefs/pref-formatting.js)
  4198. -* content/messenger/messengercompose/messengercompose.xul (content/messengercompose.xul)
  4199. - content/messenger/messengercompose/mailComposeOverlay.xul (content/mailComposeOverlay.xul)
  4200. - content/messenger/messengercompose/msgComposeContextOverlay.xul (content/msgComposeContextOverlay.xul)
  4201. +* content/messenger/messengercompose/messengercompose.xhtml (content/messengercompose.xhtml)
  4202. + content/messenger/messengercompose/mailComposeOverlay.xhtml (content/mailComposeOverlay.xhtml)
  4203. + content/messenger/messengercompose/msgComposeContextOverlay.xhtml (content/msgComposeContextOverlay.xhtml)
  4204. content/messenger/messengercompose/MsgComposeCommands.js (content/MsgComposeCommands.js)
  4205. content/messenger/messengercompose/addressingWidgetOverlay.js (content/addressingWidgetOverlay.js)
  4206. diff --git a/suite/mailnews/components/prefs/content/mailPrefsOverlay.xhtml b/suite/mailnews/components/prefs/content/mailPrefsOverlay.xhtml
  4207. --- a/suite/mailnews/components/prefs/content/mailPrefsOverlay.xhtml
  4208. +++ b/suite/mailnews/components/prefs/content/mailPrefsOverlay.xhtml
  4209. @@ -37,66 +37,66 @@
  4210. <!-- category tree entries for mail/news -->
  4211. <treechildren id="prefsPanelChildren">
  4212. <treeitem container="true"
  4213. id="mailnewsItem"
  4214. insertafter="navigatorItem"
  4215. label="&mail.label;"
  4216. prefpane="mailnews_pane"
  4217. - url="chrome://messenger/content/pref-mailnews.xul"
  4218. + url="chrome://messenger/content/pref-mailnews.xhtml"
  4219. helpTopic="mail_prefs_general">
  4220. <treechildren id="messengerChildren">
  4221. <treeitem id="viewingMessagesItem"
  4222. label="&viewingMessages.label;"
  4223. prefpane="viewing_messages_pane"
  4224. - url="chrome://messenger/content/pref-viewing_messages.xul"
  4225. + url="chrome://messenger/content/pref-viewing_messages.xhtml"
  4226. helpTopic="mail_prefs_display"/>
  4227. <treeitem id="notificationsItem"
  4228. label="&notifications.label;"
  4229. prefpane="notifications_pane"
  4230. - url="chrome://messenger/content/pref-notifications.xul"
  4231. + url="chrome://messenger/content/pref-notifications.xhtml"
  4232. helpTopic="mail_prefs_notifications"/>
  4233. <treeitem id="composingItem"
  4234. label="&composingMessages.label;"
  4235. prefpane="composing_messages_pane"
  4236. - url="chrome://messenger/content/messengercompose/pref-composing_messages.xul"
  4237. + url="chrome://messenger/content/messengercompose/pref-composing_messages.xhtml"
  4238. helpTopic="mail_prefs_messages"/>
  4239. <treeitem id="formattingItem"
  4240. label="&format.label;"
  4241. prefpane="formatting_pane"
  4242. - url="chrome://messenger/content/messengercompose/pref-formatting.xul"
  4243. + url="chrome://messenger/content/messengercompose/pref-formatting.xhtml"
  4244. helpTopic="mail_prefs_formatting"/>
  4245. <treeitem id="addressItem"
  4246. label="&address.label;"
  4247. prefpane="addressing_pane"
  4248. - url="chrome://messenger/content/addressbook/pref-addressing.xul"
  4249. + url="chrome://messenger/content/addressbook/pref-addressing.xhtml"
  4250. helpTopic="mail_prefs_addressing"/>
  4251. <treeitem id="junkItem"
  4252. label="&junk.label;"
  4253. prefpane="junk_pane"
  4254. - url="chrome://messenger/content/pref-junk.xul"
  4255. + url="chrome://messenger/content/pref-junk.xhtml"
  4256. helpTopic="mail-prefs-junk"/>
  4257. <treeitem id="tagsItem"
  4258. label="&tags.label;"
  4259. prefpane="tags_pane"
  4260. - url="chrome://messenger/content/pref-tags.xul"
  4261. + url="chrome://messenger/content/pref-tags.xhtml"
  4262. helpTopic="mail-prefs-tags"/>
  4263. <treeitem id="receiptsItem"
  4264. label="&return.label;"
  4265. prefpane="receipts_pane"
  4266. - url="chrome://messenger/content/pref-receipts.xul"
  4267. + url="chrome://messenger/content/pref-receipts.xhtml"
  4268. helpTopic="mail-prefs-receipts"/>
  4269. <treeitem id="characterEncodingItem"
  4270. label="&characterEncoding2.label;"
  4271. prefpane="character_encoding_pane"
  4272. - url="chrome://messenger/content/pref-character_encoding.xul"
  4273. + url="chrome://messenger/content/pref-character_encoding.xhtml"
  4274. helpTopic="mail_prefs_text_encoding"/>
  4275. <treeitem id="offlineItem"
  4276. label="&networkStorage.label;"
  4277. prefpane="offline_pane"
  4278. - url="chrome://messenger/content/pref-offline.xul"
  4279. + url="chrome://messenger/content/pref-offline.xhtml"
  4280. helpTopic="mail_prefs_offline"/>
  4281. </treechildren>
  4282. </treeitem>
  4283. </treechildren>
  4284. </overlay>
  4285. diff --git a/suite/mailnews/components/prefs/content/pref-junk.js b/suite/mailnews/components/prefs/content/pref-junk.js
  4286. --- a/suite/mailnews/components/prefs/content/pref-junk.js
  4287. +++ b/suite/mailnews/components/prefs/content/pref-junk.js
  4288. @@ -16,17 +16,17 @@ function Startup()
  4289. function UpdateDependentElement(aBaseId, aDependentId)
  4290. {
  4291. var pref = document.getElementById(aBaseId).getAttribute("preference");
  4292. EnableElementById(aDependentId, document.getElementById(pref).value, false);
  4293. }
  4294. function OpenJunkLog()
  4295. {
  4296. - window.openDialog("chrome://messenger/content/junkLog.xul",
  4297. + window.openDialog("chrome://messenger/content/junkLog.xhtml",
  4298. "junkLog",
  4299. "chrome,modal,titlebar,resizable,centerscreen");
  4300. }
  4301. function ResetTrainingData()
  4302. {
  4303. // make sure the user really wants to do this
  4304. var bundle = document.getElementById("bundleJunkPreferences");
  4305. diff --git a/suite/mailnews/components/prefs/jar.mn b/suite/mailnews/components/prefs/jar.mn
  4306. --- a/suite/mailnews/components/prefs/jar.mn
  4307. +++ b/suite/mailnews/components/prefs/jar.mn
  4308. @@ -1,23 +1,23 @@
  4309. # This Source Code Form is subject to the terms of the Mozilla Public
  4310. # License, v. 2.0. If a copy of the MPL was not distributed with this
  4311. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  4312. messenger.jar:
  4313. - content/messenger/mailPrefsOverlay.xul (content/mailPrefsOverlay.xul)
  4314. -* content/messenger/pref-mailnews.xul (content/pref-mailnews.xul)
  4315. + content/messenger/mailPrefsOverlay.xhtml (content/mailPrefsOverlay.xhtml)
  4316. +* content/messenger/pref-mailnews.xhtml (content/pref-mailnews.xhtml)
  4317. content/messenger/pref-mailnews.js (content/pref-mailnews.js)
  4318. - content/messenger/pref-notifications.xul (content/pref-notifications.xul)
  4319. + content/messenger/pref-notifications.xhtml (content/pref-notifications.xhtml)
  4320. content/messenger/pref-notifications.js (content/pref-notifications.js)
  4321. - content/messenger/pref-junk.xul (content/pref-junk.xul)
  4322. + content/messenger/pref-junk.xhtml (content/pref-junk.xhtml)
  4323. content/messenger/pref-junk.js (content/pref-junk.js)
  4324. - content/messenger/pref-tags.xul (content/pref-tags.xul)
  4325. + content/messenger/pref-tags.xhtml (content/pref-tags.xhtml)
  4326. content/messenger/pref-tags.js (content/pref-tags.js)
  4327. - content/messenger/pref-viewing_messages.xul (content/pref-viewing_messages.xul)
  4328. + content/messenger/pref-viewing_messages.xhtml (content/pref-viewing_messages.xhtml)
  4329. content/messenger/pref-viewing_messages.js (content/pref-viewing_messages.js)
  4330. - content/messenger/pref-receipts.xul (content/pref-receipts.xul)
  4331. + content/messenger/pref-receipts.xhtml (content/pref-receipts.xhtml)
  4332. content/messenger/pref-receipts.js (content/pref-receipts.js)
  4333. - content/messenger/pref-character_encoding.xul (content/pref-character_encoding.xul)
  4334. + content/messenger/pref-character_encoding.xhtml (content/pref-character_encoding.xhtml)
  4335. content/messenger/pref-character_encoding.js (content/pref-character_encoding.js)
  4336. - content/messenger/pref-offline.xul (content/pref-offline.xul)
  4337. + content/messenger/pref-offline.xhtml (content/pref-offline.xhtml)
  4338. content/messenger/pref-offline.js (content/pref-offline.js)
  4339. diff --git a/suite/mailnews/components/smime/content/msgCompSMIMEOverlay.js b/suite/mailnews/components/smime/content/msgCompSMIMEOverlay.js
  4340. --- a/suite/mailnews/components/smime/content/msgCompSMIMEOverlay.js
  4341. +++ b/suite/mailnews/components/smime/content/msgCompSMIMEOverlay.js
  4342. @@ -207,17 +207,17 @@ function setEncryptionUI()
  4343. top.document.getElementById("encryption-status").collapsed = false;
  4344. }
  4345. function showMessageComposeSecurityStatus()
  4346. {
  4347. Recipients2CompFields(gMsgCompose.compFields);
  4348. window.openDialog(
  4349. - "chrome://messenger-smime/content/msgCompSecurityInfo.xul",
  4350. + "chrome://messenger-smime/content/msgCompSecurityInfo.xhtml",
  4351. "",
  4352. "chrome,modal,resizable,centerscreen",
  4353. {
  4354. compFields : gMsgCompose.compFields,
  4355. subject : GetMsgSubjectElement().value,
  4356. smFields : gSMFields,
  4357. isSigningCertAvailable :
  4358. gCurrentIdentity.getUnicharAttribute("signing_cert_name") != "",
  4359. @@ -289,17 +289,17 @@ function onComposerSendMessage()
  4360. {
  4361. // Try the global one
  4362. if (Services.prefs.getBoolPref("ldap_2.autoComplete.useDirectory"))
  4363. autocompleteDirectory =
  4364. Services.prefs.getCharPref("ldap_2.autoComplete.directoryServer");
  4365. }
  4366. if (autocompleteDirectory)
  4367. - window.openDialog("chrome://messenger-smime/content/certFetchingStatus.xul",
  4368. + window.openDialog("chrome://messenger-smime/content/certFetchingStatus.xhtml",
  4369. "",
  4370. "chrome,modal,resizable,centerscreen",
  4371. autocompleteDirectory,
  4372. emailAddresses);
  4373. }
  4374. }
  4375. function onComposerFromChanged()
  4376. diff --git a/suite/mailnews/content/ABSearchDialog.xhtml b/suite/mailnews/content/ABSearchDialog.xhtml
  4377. --- a/suite/mailnews/content/ABSearchDialog.xhtml
  4378. +++ b/suite/mailnews/content/ABSearchDialog.xhtml
  4379. @@ -1,17 +1,17 @@
  4380. <?xml version="1.0"?>
  4381. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  4382. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4383. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  4384. <?xml-stylesheet href="chrome://messenger/skin/searchDialog.css" type="text/css"?>
  4385. -<?xul-overlay href="chrome://messenger/content/addressbook/abResultsPaneOverlay.xul"?>
  4386. -<?xul-overlay href="chrome://messenger/content/searchTermOverlay.xul"?>
  4387. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  4388. +<?xul-overlay href="chrome://messenger/content/addressbook/abResultsPaneOverlay.xhtml"?>
  4389. +<?xul-overlay href="chrome://messenger/content/searchTermOverlay.xhtml"?>
  4390. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  4391. <!DOCTYPE dialog [
  4392. <!ENTITY % abResultsPaneOverlayDTD SYSTEM "chrome://messenger/locale/addressbook
  4393. /abResultsPaneOverlay.dtd">
  4394. %abResultsPaneOverlayDTD;
  4395. <!ENTITY % SearchDialogDTD SYSTEM "chrome://messenger/locale/SearchDialog.dtd">
  4396. %SearchDialogDTD;
  4397. ]>
  4398. diff --git a/suite/mailnews/content/FilterListDialog.js b/suite/mailnews/content/FilterListDialog.js
  4399. --- a/suite/mailnews/content/FilterListDialog.js
  4400. +++ b/suite/mailnews/content/FilterListDialog.js
  4401. @@ -335,17 +335,17 @@ function onEditFilter()
  4402. return;
  4403. var selectedFilter = currentFilter();
  4404. if (!selectedFilter)
  4405. return;
  4406. let args = {filter: selectedFilter, filterList: gCurrentFilterList};
  4407. - window.openDialog("chrome://messenger/content/FilterEditor.xul", "FilterEditor", "chrome,modal,titlebar,resizable,centerscreen", args);
  4408. + window.openDialog("chrome://messenger/content/FilterEditor.xhtml", "FilterEditor", "chrome,modal,titlebar,resizable,centerscreen", args);
  4409. if ("refresh" in args && args.refresh) {
  4410. // Reset search if edit was okay (name change might lead to hidden entry).
  4411. resetSearchBox(selectedFilter);
  4412. rebuildFilterList();
  4413. }
  4414. }
  4415. @@ -395,17 +395,17 @@ function calculatePositionAndShowCreateF
  4416. break;
  4417. }
  4418. }
  4419. }
  4420. args.filterPosition = position;
  4421. args.filterList = gCurrentFilterList;
  4422. args.refresh = false;
  4423. - window.openDialog("chrome://messenger/content/FilterEditor.xul",
  4424. + window.openDialog("chrome://messenger/content/FilterEditor.xhtml",
  4425. "FilterEditor",
  4426. "chrome,modal,titlebar,resizable,centerscreen", args);
  4427. if (args.refresh)
  4428. {
  4429. // On success: reset the search box if necessary!
  4430. resetSearchBox(args.newFilter);
  4431. rebuildFilterList();
  4432. @@ -558,17 +558,17 @@ function moveFilter(motion) {
  4433. rebuildFilterList();
  4434. }
  4435. function viewLog()
  4436. {
  4437. let args = {filterList: gCurrentFilterList};
  4438. - window.openDialog("chrome://messenger/content/viewLog.xul", "FilterLog", "chrome,modal,titlebar,resizable,centerscreen", args);
  4439. + window.openDialog("chrome://messenger/content/viewLog.xhtml", "FilterLog", "chrome,modal,titlebar,resizable,centerscreen", args);
  4440. }
  4441. function onFilterUnload()
  4442. {
  4443. // make sure to save the filter to disk
  4444. if (gCurrentFilterList)
  4445. gCurrentFilterList.saveToDefaultFile();
  4446. diff --git a/suite/mailnews/content/FilterListDialog.xhtml b/suite/mailnews/content/FilterListDialog.xhtml
  4447. --- a/suite/mailnews/content/FilterListDialog.xhtml
  4448. +++ b/suite/mailnews/content/FilterListDialog.xhtml
  4449. @@ -1,17 +1,17 @@
  4450. <?xml version="1.0"?>
  4451. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  4452. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4453. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  4454. <?xml-stylesheet href="chrome://messenger/skin/filterDialog.css" type="text/css"?>
  4455. <?xml-stylesheet href="chrome://messenger/skin/folderMenus.css" type="text/css"?>
  4456. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  4457. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  4458. <!DOCTYPE dialog SYSTEM "chrome://messenger/locale/FilterListDialog.dtd">
  4459. <dialog id="filterListDialog"
  4460. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  4461. windowtype="mailnews:filterlist"
  4462. title="&filterListDialog.title;"
  4463. style="width: 45em; height: 31em;"
  4464. diff --git a/suite/mailnews/content/SearchDialog.js b/suite/mailnews/content/SearchDialog.js
  4465. --- a/suite/mailnews/content/SearchDialog.js
  4466. +++ b/suite/mailnews/content/SearchDialog.js
  4467. @@ -704,17 +704,17 @@ function saveAsVirtualFolder()
  4468. var searchSubfolders = document.getElementById("checkSearchSubFolders").checked;
  4469. if (gMsgFolderSelected && (searchSubfolders || gMsgFolderSelected.isServer || gMsgFolderSelected.noSelect))
  4470. {
  4471. var subFolderURIs = AddSubFoldersToURI(gMsgFolderSelected);
  4472. if (subFolderURIs.length > 0)
  4473. searchFolderURIs += '|' + subFolderURIs;
  4474. }
  4475. - var dialog = window.openDialog("chrome://messenger/content/virtualFolderProperties.xul", "",
  4476. + var dialog = window.openDialog("chrome://messenger/content/virtualFolderProperties.xhtml", "",
  4477. "chrome,titlebar,modal,centerscreen",
  4478. {folder:window.arguments[0].folder,
  4479. searchTerms:gSearchSession.searchTerms,
  4480. searchFolderURIs: searchFolderURIs});
  4481. }
  4482. function OnTagsChange()
  4483. {
  4484. diff --git a/suite/mailnews/content/SearchDialog.xhtml b/suite/mailnews/content/SearchDialog.xhtml
  4485. --- a/suite/mailnews/content/SearchDialog.xhtml
  4486. +++ b/suite/mailnews/content/SearchDialog.xhtml
  4487. @@ -2,20 +2,20 @@
  4488. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  4489. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4490. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  4491. <?xml-stylesheet href="chrome://messenger/skin/searchDialog.css" type="text/css"?>
  4492. <?xml-stylesheet href="chrome://messenger/skin/folderPane.css" type="text/css"?>
  4493. <?xml-stylesheet href="chrome://messenger/skin/folderMenus.css" type="text/css"?>
  4494. -<?xul-overlay href="chrome://messenger/content/threadPane.xul"?>
  4495. -<?xul-overlay href="chrome://messenger/content/searchTermOverlay.xul"?>
  4496. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  4497. -<?xul-overlay href="chrome://messenger/content/mailKeysOverlay.xul"?>
  4498. +<?xul-overlay href="chrome://messenger/content/threadPane.xhtml"?>
  4499. +<?xul-overlay href="chrome://messenger/content/searchTermOverlay.xhtml"?>
  4500. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  4501. +<?xul-overlay href="chrome://messenger/content/mailKeysOverlay.xhtml"?>
  4502. <!DOCTYPE dialog SYSTEM "chrome://messenger/locale/SearchDialog.dtd">
  4503. <dialog id="searchMailWindow"
  4504. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  4505. windowtype="mailnews:search"
  4506. title="&searchDialogTitle.label;"
  4507. style="width: 52em; height: 34em;"
  4508. diff --git a/suite/mailnews/content/folderPane.js b/suite/mailnews/content/folderPane.js
  4509. --- a/suite/mailnews/content/folderPane.js
  4510. +++ b/suite/mailnews/content/folderPane.js
  4511. @@ -1734,17 +1734,17 @@ var gFolderTreeController = {
  4512. // createSubfolder can throw an exception, causing the newFolder dialog
  4513. // to not close and wait for another input.
  4514. // TODO: Rewrite this logic and move the opening of alert dialogs from
  4515. // nsMsgLocalMailFolder::CreateSubfolderInternal to here (bug 831190#c16).
  4516. if (aName)
  4517. aFolder.createSubfolder(aName, msgWindow);
  4518. }
  4519. - window.openDialog("chrome://messenger/content/newFolderDialog.xul",
  4520. + window.openDialog("chrome://messenger/content/newFolderDialog.xhtml",
  4521. "",
  4522. "chrome,modal,centerscreen",
  4523. {folder: folder,
  4524. dualUseFolders: dualUseFolders,
  4525. okCallback: newFolderCallback});
  4526. },
  4527. /**
  4528. @@ -1809,17 +1809,17 @@ var gFolderTreeController = {
  4529. // context menu on a non-loaded folder).
  4530. if (msgFolder == GetLoadedMsgFolder()) {
  4531. gRerootOnFolderLoad = true;
  4532. gCurrentFolderToReroot = msgFolder.URI;
  4533. }
  4534. msgFolder.updateFolder(msgWindow);
  4535. }
  4536. - window.openDialog("chrome://messenger/content/folderProps.xul",
  4537. + window.openDialog("chrome://messenger/content/folderProps.xhtml",
  4538. "", "chrome,modal,centerscreen",
  4539. {folder: folder, serverType: folder.server.type,
  4540. msgWindow: msgWindow, title: title,
  4541. okCallback: editFolderCallback, tabID: aTabID,
  4542. name: folder.prettyName,
  4543. rebuildSummaryCallback: rebuildSummary});
  4544. },
  4545. @@ -1840,17 +1840,17 @@ var gFolderTreeController = {
  4546. controller._resetThreadPane();
  4547. let folderTree = document.getElementById("folderTree");
  4548. folderTree.view.selection.clearSelection();
  4549. folder.rename(aName, msgWindow);
  4550. }
  4551. - window.openDialog("chrome://messenger/content/renameFolderDialog.xul",
  4552. + window.openDialog("chrome://messenger/content/renameFolderDialog.xhtml",
  4553. "", "chrome,modal,centerscreen",
  4554. {preselectedURI: folder.URI,
  4555. okCallback: renameCallback, name: folder.prettyName});
  4556. },
  4557. /**
  4558. * Deletes a folder from its parent. Also handles unsubscribe from newsgroups
  4559. * if the selected folder/s happen to be nntp.
  4560. @@ -1997,17 +1997,17 @@ var gFolderTreeController = {
  4561. let folder = aParent || GetSelectedMsgFolders()[0];
  4562. if (!folder)
  4563. folder = GetDefaultAccountRootFolder();
  4564. let name = folder.prettyName;
  4565. if (aName)
  4566. name += "-" + aName;
  4567. - window.openDialog("chrome://messenger/content/virtualFolderProperties.xul",
  4568. + window.openDialog("chrome://messenger/content/virtualFolderProperties.xhtml",
  4569. "", "chrome,modal,centerscreen",
  4570. {folder: folder, searchTerms: aSearchTerms,
  4571. newFolderName: name});
  4572. },
  4573. /**
  4574. * Opens the dialog to edit the properties for a virtual folder
  4575. *
  4576. @@ -2019,17 +2019,17 @@ var gFolderTreeController = {
  4577. function editVirtualCallback(aURI) {
  4578. // we need to reload the folder if it is the currently loaded folder...
  4579. if (gMsgFolderSelected && aURI == gMsgFolderSelected.URI) {
  4580. // force the folder pane to reload the virtual folder
  4581. gMsgFolderSelected = null;
  4582. FolderPaneSelectionChange();
  4583. }
  4584. }
  4585. - window.openDialog("chrome://messenger/content/virtualFolderProperties.xul",
  4586. + window.openDialog("chrome://messenger/content/virtualFolderProperties.xhtml",
  4587. "", "chrome,modal,centerscreen",
  4588. {folder: folder, editExistingFolder: true,
  4589. onOKCallback: editVirtualCallback,
  4590. msgWindow:msgWindow});
  4591. },
  4592. /**
  4593. * Opens a search window with the given folder, or the selected one if none
  4594. diff --git a/suite/mailnews/content/mail-offline.js b/suite/mailnews/content/mail-offline.js
  4595. --- a/suite/mailnews/content/mail-offline.js
  4596. +++ b/suite/mailnews/content/mail-offline.js
  4597. @@ -9,17 +9,17 @@ var gOfflineManager;
  4598. function MailOfflineStateChanged(goingOffline)
  4599. {
  4600. // tweak any mail UI here that needs to change when we go offline or come back online
  4601. gFolderJustSwitched = true;
  4602. }
  4603. function MsgSettingsOffline()
  4604. {
  4605. - window.parent.MsgAccountManager('am-offline.xul');
  4606. + window.parent.MsgAccountManager('am-offline.xhtml');
  4607. }
  4608. // Check for unsent messages
  4609. function CheckForUnsentMessages()
  4610. {
  4611. return Cc["@mozilla.org/messengercompose/sendlater;1"]
  4612. .getService(Ci.nsIMsgSendLater)
  4613. .hasUnsentMessages();
  4614. diff --git a/suite/mailnews/content/mailCommands.js b/suite/mailnews/content/mailCommands.js
  4615. --- a/suite/mailnews/content/mailCommands.js
  4616. +++ b/suite/mailnews/content/mailCommands.js
  4617. @@ -243,17 +243,17 @@ function NewMessageToSelectedAddresses(t
  4618. params.composeFields = composeFields;
  4619. msgComposeService.OpenComposeWindowWithParams(null, params);
  4620. }
  4621. }
  4622. }
  4623. function Subscribe(preselectedMsgFolder)
  4624. {
  4625. - window.openDialog("chrome://messenger/content/subscribe.xul",
  4626. + window.openDialog("chrome://messenger/content/subscribe.xhtml",
  4627. "subscribe", "chrome,modal,titlebar,resizable=yes",
  4628. {folder:preselectedMsgFolder,
  4629. okCallback:SubscribeOKCallback});
  4630. }
  4631. function SubscribeOKCallback(changeTable)
  4632. {
  4633. for (var serverURI in changeTable) {
  4634. @@ -391,17 +391,17 @@ function ViewPageSource(messages)
  4635. // Now, we need to get a URL from a URI.
  4636. var url = MailServices.mailSession.ConvertMsgURIToMsgURL(messages[i],
  4637. msgWindow);
  4638. // Strip out the message-display parameter to ensure that attached
  4639. // emails display the message source, not the processed HTML.
  4640. url = url.replace(/(\?|&)type=application\/x-message-display(&|$)/, "$1")
  4641. .replace(/\?$/, "");
  4642. - window.openDialog("chrome://global/content/viewSource.xul", "_blank",
  4643. + window.openDialog("chrome://global/content/viewSource.xhtml", "_blank",
  4644. "all,dialog=no",
  4645. {URL: url, browser: browser,
  4646. outerWindowID: browser.outerWindowID});
  4647. }
  4648. return true;
  4649. } catch (e) {
  4650. // Couldn't get mail session.
  4651. return false;
  4652. diff --git a/suite/mailnews/content/mailContextMenus.js b/suite/mailnews/content/mailContextMenus.js
  4653. --- a/suite/mailnews/content/mailContextMenus.js
  4654. +++ b/suite/mailnews/content/mailContextMenus.js
  4655. @@ -530,26 +530,26 @@ function AddContact(aEmailAddressNode)
  4656. {
  4657. if (aEmailAddressNode)
  4658. AddEmailToAddressBook(aEmailAddressNode.getAttribute("emailAddress"),
  4659. aEmailAddressNode.getAttribute("displayName"));
  4660. }
  4661. function AddEmailToAddressBook(primaryEmail, displayName)
  4662. {
  4663. - window.openDialog("chrome://messenger/content/addressbook/abNewCardDialog.xul",
  4664. + window.openDialog("chrome://messenger/content/addressbook/abNewCardDialog.xhtml",
  4665. "", "chrome,resizable=no,titlebar,modal,centerscreen",
  4666. {primaryEmail:primaryEmail, displayName:displayName});
  4667. }
  4668. function EditContact(aEmailAddressNode)
  4669. {
  4670. if (aEmailAddressNode.cardDetails.card)
  4671. {
  4672. - window.openDialog("chrome://messenger/content/addressbook/abEditCardDialog.xul",
  4673. + window.openDialog("chrome://messenger/content/addressbook/abEditCardDialog.xhtml",
  4674. "", "chrome,resizable=no,modal,titlebar,centerscreen",
  4675. { abURI: aEmailAddressNode.cardDetails.book.URI,
  4676. card: aEmailAddressNode.cardDetails.card });
  4677. }
  4678. }
  4679. /**
  4680. * SendMailToNode takes the email address title button, extracts the email address
  4681. @@ -692,17 +692,17 @@ function OpenMessageByHeader(messageHead
  4682. {
  4683. var folder = messageHeader.folder;
  4684. var folderURI = folder.URI;
  4685. if (openInNewWindow)
  4686. {
  4687. var messageURI = folder.getUriForMsg(messageHeader);
  4688. - window.openDialog("chrome://messenger/content/messageWindow.xul",
  4689. + window.openDialog("chrome://messenger/content/messageWindow.xhtml",
  4690. "_blank", "all,chrome,dialog=no,status,toolbar",
  4691. messageURI, folderURI, null);
  4692. }
  4693. else
  4694. {
  4695. if (msgWindow.openFolder != folderURI)
  4696. gFolderTreeView.selectFolder(folder)
  4697. diff --git a/suite/mailnews/content/mailEditorOverlay.xhtml b/suite/mailnews/content/mailEditorOverlay.xhtml
  4698. --- a/suite/mailnews/content/mailEditorOverlay.xhtml
  4699. +++ b/suite/mailnews/content/mailEditorOverlay.xhtml
  4700. @@ -1,16 +1,16 @@
  4701. <?xml version="1.0"?>
  4702. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  4703. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4704. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  4705. <!-- retrieve generic commands -->
  4706. -<?xul-overlay href="chrome://messenger/content/mailOverlay.xul"?>
  4707. +<?xul-overlay href="chrome://messenger/content/mailOverlay.xhtml"?>
  4708. <!DOCTYPE overlay SYSTEM "chrome://messenger/locale/mailEditorOverlay.dtd" >
  4709. <overlay id="mailEditorOverlay"
  4710. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  4711. <script>
  4712. <![CDATA[
  4713. @@ -40,22 +40,22 @@
  4714. }
  4715. }
  4716. ]]>
  4717. </script>
  4718. <!-- editor specific UI items -->
  4719. <menupopup id="menu_NewPopup">
  4720. - <!-- Command nodes and implemention are in mailOverlay.xul -->
  4721. + <!-- Command nodes and implemention are in mailOverlay.xhtml -->
  4722. <menuitem id="menu_newMessage" insertafter="menu_newPrivateWindow"/>
  4723. <menuitem id="menu_newCard" insertafter="menu_newPrivateWindow"/>
  4724. </menupopup>
  4725. <menupopup id="menu_FilePopup">
  4726. - <!-- The command node cmd_editSendPage is in editor.xul.
  4727. + <!-- The command node cmd_editSendPage is in editor.xhtml.
  4728. Implementation is in ComposerCommands.js
  4729. -->
  4730. <menuitem id="menu_sendPage" label="&sendPage.label;" accesskey="&sendPage.accesskey;" observes="cmd_editSendPage" insertafter="previewInBrowser"/>
  4731. </menupopup>
  4732. </overlay>
  4733. diff --git a/suite/mailnews/content/mailOverlay.js b/suite/mailnews/content/mailOverlay.js
  4734. --- a/suite/mailnews/content/mailOverlay.js
  4735. +++ b/suite/mailnews/content/mailOverlay.js
  4736. @@ -1,16 +1,16 @@
  4737. /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
  4738. /* This Source Code Form is subject to the terms of the Mozilla Public
  4739. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4740. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  4741. function openNewCardDialog()
  4742. {
  4743. - window.openDialog("chrome://messenger/content/addressbook/abNewCardDialog.xul",
  4744. + window.openDialog("chrome://messenger/content/addressbook/abNewCardDialog.xhtml",
  4745. "", "chrome,modal,resizable=no,centerscreen");
  4746. }
  4747. function goOpenNewMessage()
  4748. {
  4749. // if there is a MsgNewMessage function in scope
  4750. // and we should use it, so that we choose the proper
  4751. // identity, based on the selected message or folder
  4752. diff --git a/suite/mailnews/content/mailOverlay.xhtml b/suite/mailnews/content/mailOverlay.xhtml
  4753. --- a/suite/mailnews/content/mailOverlay.xhtml
  4754. +++ b/suite/mailnews/content/mailOverlay.xhtml
  4755. @@ -1,15 +1,15 @@
  4756. <?xml version="1.0"?>
  4757. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  4758. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4759. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  4760. <!DOCTYPE overlay SYSTEM "chrome://messenger/locale/mailOverlay.dtd">
  4761. -<overlay id="mailOverlay.xul"
  4762. +<overlay id="mailOverlay.xhtml"
  4763. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  4764. <script src="chrome://messenger/content/mailOverlay.js"/>
  4765. <!-- generic commands -->
  4766. <commandset id="tasksCommands">
  4767. <command id="cmd_newMessage" oncommand="goOpenNewMessage();"/>
  4768. <command id="cmd_newCard" oncommand="openNewCardDialog()"/>
  4769. diff --git a/suite/mailnews/content/mailTasksOverlay.js b/suite/mailnews/content/mailTasksOverlay.js
  4770. --- a/suite/mailnews/content/mailTasksOverlay.js
  4771. +++ b/suite/mailnews/content/mailTasksOverlay.js
  4772. @@ -21,27 +21,27 @@ const BIFF_STATE_UNKNOWN = "UnknownMa
  4773. function toMessengerWindow()
  4774. {
  4775. toOpenWindowByType("mail:3pane", "chrome://messenger/content/");
  4776. }
  4777. function toAddressBook()
  4778. {
  4779. toOpenWindowByType("mail:addressbook",
  4780. - "chrome://messenger/content/addressbook/addressbook.xul");
  4781. + "chrome://messenger/content/addressbook/addressbook.xhtml");
  4782. }
  4783. function toNewsgroups()
  4784. {
  4785. dump("Sorry, command not implemented.\n");
  4786. }
  4787. function toImport()
  4788. {
  4789. - window.openDialog("chrome://messenger/content/importDialog.xul",
  4790. + window.openDialog("chrome://messenger/content/importDialog.xhtml",
  4791. "importDialog",
  4792. "chrome, modal, titlebar, centerscreen");
  4793. }
  4794. function CoalesceGetMsgsForPop3ServersByDestFolder(aCurrentServer,
  4795. aPOP3DownloadServersArray,
  4796. aLocalFoldersToDownloadTo)
  4797. {
  4798. @@ -233,13 +233,13 @@ nsMsgBadCertHandler.prototype = {
  4799. };
  4800. function InformUserOfCertError(status, targetSite)
  4801. {
  4802. var params = { exceptionAdded : false,
  4803. sslStatus : status,
  4804. prefetchCert : true,
  4805. location : targetSite };
  4806. - window.openDialog('chrome://pippki/content/exceptionDialog.xul',
  4807. + window.openDialog('chrome://pippki/content/exceptionDialog.xhtml',
  4808. '','chrome,centerscreen,modal', params);
  4809. }
  4810. addEventListener("load", MailTasksOnLoad, false);
  4811. diff --git a/suite/mailnews/content/mailViewList.js b/suite/mailnews/content/mailViewList.js
  4812. --- a/suite/mailnews/content/mailViewList.js
  4813. +++ b/suite/mailnews/content/mailViewList.js
  4814. @@ -91,17 +91,17 @@ function RefreshListView(aSelectedMailVi
  4815. gListBox.appendItem(mailView.prettyName, index);
  4816. if (aSelectedMailView && (mailView.prettyName == aSelectedMailView.prettyName))
  4817. gListBox.selectedIndex = index;
  4818. }
  4819. }
  4820. function OnNewMailView()
  4821. {
  4822. - window.openDialog('chrome://messenger/content/mailViewSetup.xul',
  4823. + window.openDialog('chrome://messenger/content/mailViewSetup.xhtml',
  4824. '',
  4825. 'centerscreen,resizable,modal,titlebar,chrome',
  4826. {onOkCallback: RefreshListView});
  4827. }
  4828. function OnDeleteMailView()
  4829. {
  4830. let bundle = Services.strings.createBundle("chrome://messenger/locale/messenger.properties");
  4831. @@ -137,17 +137,17 @@ function OnEditMailView()
  4832. {
  4833. // get the selected index
  4834. var selectedIndex = gListBox.selectedIndex;
  4835. if (selectedIndex >= 0)
  4836. {
  4837. let selMailView = gMailListView.getMailViewAt(selectedIndex);
  4838. // open up the mail view setup dialog passing in the mail view as an argument
  4839. let args = {mailView: selMailView, onOkCallback: RefreshListView};
  4840. - window.openDialog('chrome://messenger/content/mailViewSetup.xul',
  4841. + window.openDialog('chrome://messenger/content/mailViewSetup.xhtml',
  4842. '',
  4843. 'centerscreen,modal,resizable,titlebar,chrome',
  4844. args);
  4845. }
  4846. }
  4847. function OnMailViewSelect(aEvent)
  4848. {
  4849. diff --git a/suite/mailnews/content/mailViewList.xhtml b/suite/mailnews/content/mailViewList.xhtml
  4850. --- a/suite/mailnews/content/mailViewList.xhtml
  4851. +++ b/suite/mailnews/content/mailViewList.xhtml
  4852. @@ -2,17 +2,17 @@
  4853. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  4854. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4855. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  4856. <?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
  4857. <!-- Mac needs dialog.css to correctly style the moved Help button -->
  4858. <?xml-stylesheet href="chrome://global/skin/dialog.css" type="text/css"?>
  4859. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  4860. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  4861. <!DOCTYPE dialog [
  4862. <!ENTITY % mailViewLisDTD SYSTEM "chrome://messenger/locale/mailViewList.dtd">
  4863. %mailViewLisDTD;
  4864. <!ENTITY % FilterListDialogDTD SYSTEM "chrome://messenger/locale/FilterListDialog.dtd">
  4865. %FilterListDialogDTD;
  4866. ]>
  4867. diff --git a/suite/mailnews/content/mailViewSetup.xhtml b/suite/mailnews/content/mailViewSetup.xhtml
  4868. --- a/suite/mailnews/content/mailViewSetup.xhtml
  4869. +++ b/suite/mailnews/content/mailViewSetup.xhtml
  4870. @@ -2,17 +2,17 @@
  4871. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  4872. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4873. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  4874. <?xml-stylesheet href="chrome://messenger/skin/searchDialog.css" type="text/css"?>
  4875. -<?xul-overlay href="chrome://messenger/content/searchTermOverlay.xul"?>
  4876. +<?xul-overlay href="chrome://messenger/content/searchTermOverlay.xhtml"?>
  4877. <!DOCTYPE dialog SYSTEM "chrome://messenger/locale/mailViewSetup.dtd" >
  4878. <dialog id="mailViewSetupDialog"
  4879. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  4880. onload="mailViewOnLoad();"
  4881. onunload="mailViewOnUnLoad();"
  4882. ondialogaccept="return onOK();"
  4883. diff --git a/suite/mailnews/content/mailWidgets.xml b/suite/mailnews/content/mailWidgets.xml
  4884. --- a/suite/mailnews/content/mailWidgets.xml
  4885. +++ b/suite/mailnews/content/mailWidgets.xml
  4886. @@ -952,17 +952,17 @@
  4887. <method name="onSelect">
  4888. <parameter name="event"/>
  4889. <body>
  4890. <![CDATA[
  4891. var menulist = document.getAnonymousNodes(this)[0];
  4892. if (menulist.value == Ci.nsMsgSearchAttrib.OtherHeader) {
  4893. // Customize menuitem selected.
  4894. let args = {};
  4895. - window.openDialog("chrome://messenger/content/CustomHeaders.xul",
  4896. + window.openDialog("chrome://messenger/content/CustomHeaders.xhtml",
  4897. "",
  4898. "modal,centerscreen,resizable,titlebar,chrome",
  4899. args);
  4900. // User may have removed the custom header currently selected in
  4901. // the menulist so temporarily set the selection to a safe value.
  4902. this.value = Ci.nsMsgSearchAttrib.OtherHeader;
  4903. // rebuild the menulist
  4904. UpdateAfterCustomHeaderChange();
  4905. diff --git a/suite/mailnews/content/mailWindowOverlay.js b/suite/mailnews/content/mailWindowOverlay.js
  4906. --- a/suite/mailnews/content/mailWindowOverlay.js
  4907. +++ b/suite/mailnews/content/mailWindowOverlay.js
  4908. @@ -1349,17 +1349,17 @@ function MsgOpenFromFile() {
  4909. fp.open(rv => {
  4910. if (rv != Ci.nsIFilePicker.returnOK || !fp.file) {
  4911. return;
  4912. }
  4913. let uri = fp.fileURL.QueryInterface(Ci.nsIURL);
  4914. uri.query = "type=application/x-message-display";
  4915. - window.openDialog("chrome://messenger/content/messageWindow.xul", "_blank",
  4916. + window.openDialog("chrome://messenger/content/messageWindow.xhtml", "_blank",
  4917. "all,chrome,dialog=no,status,toolbar", uri);
  4918. });
  4919. }
  4920. function MsgOpenNewWindowForFolder(folderURI, msgKeyToSelect) {
  4921. let mailWindowService = Cc["@mozilla.org/messenger/windowservice;1"]
  4922. .getService(Ci.nsIMessengerWindowService);
  4923. if (!mailWindowService)
  4924. @@ -1494,17 +1494,17 @@ function MsgOpenNewWindowForMessage(mess
  4925. // required because on a right-click, the currentIndex value will be
  4926. // different from the actual row that is highlighted.
  4927. // GetSelectedMsgFolders() will return the message that is
  4928. // highlighted.
  4929. folderUri = GetSelectedMsgFolders()[0].URI;
  4930. // be sure to pass in the current view....
  4931. if (messageUri && folderUri) {
  4932. - window.openDialog( "chrome://messenger/content/messageWindow.xul", "_blank", "all,chrome,dialog=no,status,toolbar", messageUri, folderUri, gDBView );
  4933. + window.openDialog( "chrome://messenger/content/messageWindow.xhtml", "_blank", "all,chrome,dialog=no,status,toolbar", messageUri, folderUri, gDBView );
  4934. }
  4935. }
  4936. function CloseMailWindow() {
  4937. window.close();
  4938. }
  4939. function MsgJunk() {
  4940. @@ -1534,17 +1534,17 @@ function MsgMarkMsgAsRead(read) {
  4941. MarkSelectedMessagesRead(read);
  4942. }
  4943. function MsgMarkAsFlagged() {
  4944. MarkSelectedMessagesFlagged(!SelectedMessagesAreFlagged());
  4945. }
  4946. function MsgMarkReadByDate() {
  4947. - window.openDialog("chrome://messenger/content/markByDate.xul", "",
  4948. + window.openDialog("chrome://messenger/content/markByDate.xhtml", "",
  4949. "chrome,modal,titlebar,centerscreen",
  4950. GetLoadedMsgFolder());
  4951. }
  4952. function MsgMarkAllRead() {
  4953. let folders = GetSelectedMsgFolders();
  4954. for (let folder of folders)
  4955. folder.markAllMessagesRead(msgWindow);
  4956. @@ -1614,17 +1614,17 @@ function MsgMarkAllFoldersRead() {
  4957. function MsgFilters(emailAddress, folder) {
  4958. if (!folder)
  4959. folder = GetFirstSelectedMsgFolder();
  4960. var args;
  4961. if (emailAddress) {
  4962. // Prefill the filterEditor with the emailAddress.
  4963. args = {filterList: folder.getEditableFilterList(msgWindow), filterName: emailAddress};
  4964. - window.openDialog("chrome://messenger/content/FilterEditor.xul", "",
  4965. + window.openDialog("chrome://messenger/content/FilterEditor.xhtml", "",
  4966. "chrome, modal, resizable,centerscreen,dialog", args);
  4967. // If the user hits ok in the filterEditor dialog we set args.refresh=true
  4968. // there and we check this here in args to show filterList dialog.
  4969. // We also received the filter created via args.newFilter.
  4970. if ("refresh" in args && args.refresh) {
  4971. args = { refresh: true, folder, filter: args.newFilter };
  4972. MsgFilterList(args);
  4973. @@ -1764,17 +1764,17 @@ function MsgSendUnsentMsgs() {
  4974. function PrintEnginePrintInternal(aDoPrintPreview, aMsgType) {
  4975. var messageList = gFolderDisplay.selectedMessageUris;
  4976. if (!messageList) {
  4977. dump("PrintEnginePrint(): No messages selected.\n");
  4978. return false;
  4979. }
  4980. - window.openDialog("chrome://messenger/content/msgPrintEngine.xul", "",
  4981. + window.openDialog("chrome://messenger/content/msgPrintEngine.xhtml", "",
  4982. "chrome,dialog=no,all,centerscreen",
  4983. messageList.length, messageList, statusFeedback,
  4984. aDoPrintPreview, aMsgType);
  4985. return true;
  4986. }
  4987. function PrintEnginePrint() {
  4988. @@ -1852,17 +1852,17 @@ function getMessageBrowser() {
  4989. // The zoom manager, view source and possibly some other functions still rely
  4990. // on the getBrowser function.
  4991. function getBrowser() {
  4992. return GetTabMail() ? GetTabMail().getBrowserForSelectedTab() :
  4993. getMessageBrowser();
  4994. }
  4995. function MsgSynchronizeOffline() {
  4996. - window.openDialog("chrome://messenger/content/msgSynchronize.xul", "",
  4997. + window.openDialog("chrome://messenger/content/msgSynchronize.xhtml", "",
  4998. "centerscreen,chrome,modal,titlebar,resizable",
  4999. {msgWindow});
  5000. }
  5001. function MsgOpenAttachment() {}
  5002. function MsgUpdateMsgCount() {}
  5003. function MsgImport() {}
  5004. function MsgSynchronize() {}
  5005. @@ -2617,17 +2617,17 @@ function IgnoreMDNResponse() {
  5006. * chosen.
  5007. *
  5008. * @param [aFolder] the folder to open the search window for, if different from
  5009. * the displayed one
  5010. */
  5011. function MsgSearchMessages(aFolder) {
  5012. let folder = aFolder || gFolderDisplay.displayedFolder;
  5013. OpenOrFocusWindow({ folder }, "mailnews:search",
  5014. - "chrome://messenger/content/SearchDialog.xul");
  5015. + "chrome://messenger/content/SearchDialog.xhtml");
  5016. }
  5017. function MsgJunkMailInfo(aCheckFirstUse) {
  5018. if (aCheckFirstUse) {
  5019. if (!Services.prefs.getBoolPref("mailnews.ui.junk.firstuse"))
  5020. return;
  5021. Services.prefs.setBoolPref("mailnews.ui.junk.firstuse", false);
  5022. @@ -2637,26 +2637,26 @@ function MsgJunkMailInfo(aCheckFirstUse)
  5023. return;
  5024. }
  5025. var desiredWindow = Services.wm.getMostRecentWindow("mailnews:junkmailinfo");
  5026. if (desiredWindow)
  5027. desiredWindow.focus();
  5028. else
  5029. - window.openDialog("chrome://messenger/content/junkMailInfo.xul", "mailnews:junkmailinfo", "centerscreen,resizeable=no,titlebar,chrome,modal", null);
  5030. + window.openDialog("chrome://messenger/content/junkMailInfo.xhtml", "mailnews:junkmailinfo", "centerscreen,resizeable=no,titlebar,chrome,modal", null);
  5031. }
  5032. function MsgSearchAddresses() {
  5033. var args = { directory: null };
  5034. - OpenOrFocusWindow(args, "mailnews:absearch", "chrome://messenger/content/ABSearchDialog.xul");
  5035. + OpenOrFocusWindow(args, "mailnews:absearch", "chrome://messenger/content/ABSearchDialog.xhtml");
  5036. }
  5037. function MsgFilterList(args) {
  5038. - OpenOrFocusWindow(args, "mailnews:filterlist", "chrome://messenger/content/FilterListDialog.xul");
  5039. + OpenOrFocusWindow(args, "mailnews:filterlist", "chrome://messenger/content/FilterListDialog.xhtml");
  5040. }
  5041. function OpenOrFocusWindow(args, windowType, chromeURL) {
  5042. var desiredWindow = Services.wm.getMostRecentWindow(windowType);
  5043. if (desiredWindow) {
  5044. desiredWindow.focus();
  5045. if ("refresh" in args && args.refresh)
  5046. diff --git a/suite/mailnews/content/mailWindowOverlay.xhtml b/suite/mailnews/content/mailWindowOverlay.xhtml
  5047. --- a/suite/mailnews/content/mailWindowOverlay.xhtml
  5048. +++ b/suite/mailnews/content/mailWindowOverlay.xhtml
  5049. @@ -4,25 +4,25 @@
  5050. - License, v. 2.0. If a copy of the MPL was not distributed with this
  5051. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  5052. <?xml-stylesheet href="chrome://messenger/skin/folderMenus.css" type="text/css"?>
  5053. <?xml-stylesheet href="chrome://messenger/skin/smime/msgReadSMIMEOverlay.css" type="text/css"?>
  5054. <?xml-stylesheet href="chrome://messenger/content/bindings.css" type="text/css"?>
  5055. -<?xul-overlay href="chrome://communicator/content/charsetOverlay.xul"?>
  5056. -<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
  5057. -<?xul-overlay href="chrome://communicator/content/viewZoomOverlay.xul"?>
  5058. -<?xul-overlay href="chrome://communicator/content/viewApplyThemeOverlay.xul"?>
  5059. -<?xul-overlay href="chrome://messenger/content/msgHdrViewOverlay.xul"?>
  5060. -<?xul-overlay href="chrome://messenger/content/mailOverlay.xul"?>
  5061. -<?xul-overlay href="chrome://messenger/content/mailKeysOverlay.xul"?>
  5062. -<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  5063. -<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  5064. +<?xul-overlay href="chrome://communicator/content/charsetOverlay.xhtml"?>
  5065. +<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xhtml"?>
  5066. +<?xul-overlay href="chrome://communicator/content/viewZoomOverlay.xhtml"?>
  5067. +<?xul-overlay href="chrome://communicator/content/viewApplyThemeOverlay.xhtml"?>
  5068. +<?xul-overlay href="chrome://messenger/content/msgHdrViewOverlay.xhtml"?>
  5069. +<?xul-overlay href="chrome://messenger/content/mailOverlay.xhtml"?>
  5070. +<?xul-overlay href="chrome://messenger/content/mailKeysOverlay.xhtml"?>
  5071. +<?xul-overlay href="chrome://communicator/content/utilityOverlay.xhtml"?>
  5072. +<?xul-overlay href="chrome://communicator/content/tasksOverlay.xhtml"?>
  5073. <!DOCTYPE overlay [
  5074. <!ENTITY % messengerDTD SYSTEM "chrome://messenger/locale/messenger.dtd">
  5075. %messengerDTD;
  5076. <!ENTITY % mailKeysDTD SYSTEM "chrome://messenger/locale/mailKeysOverlay.dtd">
  5077. %mailKeysDTD;
  5078. <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
  5079. %globalDTD;
  5080. @@ -63,17 +63,17 @@
  5081. <stringbundle id="bundle_offlinePrompts" src="chrome://messenger/locale/offline.properties"/>
  5082. <stringbundle id="bundle_read_smime"
  5083. src="chrome://messenger-smime/locale/msgReadSMIMEOverlay.properties"/>
  5084. <stringbundle id="bundle_viewZoom"/>
  5085. <stringbundle id="bundle_viewApplyTheme"/>
  5086. <stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
  5087. </stringbundleset>
  5088. -<!-- Performance optimization...we include utilityOverlay.xul which defines some command sets
  5089. +<!-- Performance optimization...we include utilityOverlay.xhtml which defines some command sets
  5090. which are updated based on events like focus and select. We have our own custom events
  5091. which we use to optmize when we do command updating. To avoid unnecessary command updating,
  5092. we are going to override the events the global edit menu items and select edit menu items
  5093. are updated on with events of our own controlling.
  5094. -->
  5095. <commandset id="globalEditMenuItems"
  5096. commandupdater="true"
  5097. @@ -1220,29 +1220,29 @@
  5098. disabled="true"
  5099. command="cmd_stop"/>
  5100. <menuitem id="menu_Stop"
  5101. label="&reloadCmd.label;"
  5102. key="key_reload"
  5103. accesskey="&reloadCmd.accesskey;"
  5104. command="cmd_reload"/>
  5105. <menuseparator id="viewAfterStopSeparator"/>
  5106. - <!-- overlayed from viewZoomOverlay.xul -->
  5107. + <!-- overlayed from viewZoomOverlay.xhtml -->
  5108. <menu id="menu_zoom"/>
  5109. <menu id="charsetMenu"
  5110. onpopupshowing="UpdateCharsetMenu(msgWindow.mailCharacterSet, this);"
  5111. oncommand="MailSetCharacterSet(event);"/>
  5112. <menuseparator id="viewAfterCharsetSeparator"/>
  5113. <menuitem id="pageSourceMenuItem" label="&pageSourceCmd.label;" key="key_viewPageSource" accesskey="&pageSourceCmd.accesskey;" command="cmd_viewPageSource"/>
  5114. <menuitem id="appmenu_securityStatus"
  5115. label="&menu_securityStatus.label;"
  5116. accesskey="&menu_securityStatus.accesskey;"
  5117. command="cmd_viewSecurityStatus"/>
  5118. <menuseparator observes="mailHideMenus"/>
  5119. - <!-- overlayed from viewApplyThemeOverlay.xul -->
  5120. + <!-- overlayed from viewApplyThemeOverlay.xhtml -->
  5121. <menu id="menu_viewApplyTheme" observes="mailHideMenus"/>
  5122. </menupopup>
  5123. </menu>
  5124. <menu id="goMenu" label="&goMenu.label;" accesskey="&goMenu.accesskey;">
  5125. <menupopup id="menu_GoPopup" onpopupshowing="InitGoMessagesMenu();">
  5126. <menu id="goNextMenu" label="&nextMenu.label;" accesskey="&nextMenu.accesskey;">
  5127. <menupopup id="menu_GoNextPopup">
  5128. @@ -1883,17 +1883,17 @@
  5129. <button id="button-advanced"
  5130. label="&advancedButton.label;"
  5131. accesskey="&advancedButton.accesskey;"
  5132. tooltiptext="&advancedButton.tooltip;"
  5133. observes="button_search"
  5134. oncommand="goDoCommand('button_search')"/>
  5135. </toolbaritem>
  5136. <toolbaritem id="throbber-box"/>
  5137. - <!-- see utilityOverlay.xul
  5138. + <!-- see utilityOverlay.xhtml
  5139. <toolbarbutton id="sync-button"/> -->
  5140. </toolbarpalette>
  5141. </toolbox>
  5142. <statusbar id="status-bar"
  5143. class="chromeclass-status" >
  5144. <statusbarpanel id="component-bar"/>
  5145. diff --git a/suite/mailnews/content/messageWindow.xhtml b/suite/mailnews/content/messageWindow.xhtml
  5146. --- a/suite/mailnews/content/messageWindow.xhtml
  5147. +++ b/suite/mailnews/content/messageWindow.xhtml
  5148. @@ -1,15 +1,15 @@
  5149. <?xml version="1.0"?>
  5150. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  5151. - License, v. 2.0. If a copy of the MPL was not distributed with this
  5152. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  5153. <?xml-stylesheet href="chrome://messenger/skin/messageWindow.css" type="text/css"?>
  5154. -<?xul-overlay href="chrome://messenger/content/mailWindowOverlay.xul"?>
  5155. +<?xul-overlay href="chrome://messenger/content/mailWindowOverlay.xhtml"?>
  5156. <!DOCTYPE window [
  5157. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
  5158. %brandDTD;
  5159. <!ENTITY % messengerDTD SYSTEM "chrome://messenger/locale/messenger.dtd" >
  5160. %messengerDTD;
  5161. ]>
  5162. diff --git a/suite/mailnews/content/messenger.xhtml b/suite/mailnews/content/messenger.xhtml
  5163. --- a/suite/mailnews/content/messenger.xhtml
  5164. +++ b/suite/mailnews/content/messenger.xhtml
  5165. @@ -1,17 +1,17 @@
  5166. <?xml version="1.0"?>
  5167. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  5168. - License, v. 2.0. If a copy of the MPL was not distributed with this
  5169. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  5170. <?xml-stylesheet href="chrome://messenger/skin/mailWindow1.css" type="text/css"?>
  5171. -<?xul-overlay href="chrome://messenger/content/threadPane.xul"?>
  5172. -<?xul-overlay href="chrome://messenger/content/folderPane.xul"?>
  5173. -<?xul-overlay href="chrome://messenger/content/mailWindowOverlay.xul"?>
  5174. +<?xul-overlay href="chrome://messenger/content/threadPane.xhtml"?>
  5175. +<?xul-overlay href="chrome://messenger/content/folderPane.xhtml"?>
  5176. +<?xul-overlay href="chrome://messenger/content/mailWindowOverlay.xhtml"?>
  5177. <!DOCTYPE window [
  5178. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
  5179. %brandDTD;
  5180. <!ENTITY % messengerDTD SYSTEM "chrome://messenger/locale/messenger.dtd" >
  5181. %messengerDTD;
  5182. ]>
  5183. diff --git a/suite/mailnews/content/msgHdrViewOverlay.js b/suite/mailnews/content/msgHdrViewOverlay.js
  5184. --- a/suite/mailnews/content/msgHdrViewOverlay.js
  5185. +++ b/suite/mailnews/content/msgHdrViewOverlay.js
  5186. @@ -1357,30 +1357,30 @@ createNewAttachmentInfo.prototype.saveAt
  5187. false);
  5188. }
  5189. createNewAttachmentInfo.prototype.viewAttachment = function viewAttachment()
  5190. {
  5191. var url = this.url;
  5192. if (!this.isExternalAttachment)
  5193. url += "&filename=" + encodeURIComponent(this.displayName);
  5194. - openDialog("chrome://global/content/viewSource.xul",
  5195. + openDialog("chrome://global/content/viewSource.xhtml",
  5196. "_blank", "all,dialog=no", {URL: url});
  5197. }
  5198. createNewAttachmentInfo.prototype.openAttachment = function openAttachment()
  5199. {
  5200. switch (this.contentType)
  5201. {
  5202. // As of bug 599119, isTypeSupported returns true for messages, but
  5203. // attached messages don't open reliably in the browser, so pretend
  5204. // they're not supported and open a message window for them instead.
  5205. case "message/rfc822":
  5206. var url = this.url + "&type=application/x-message-display";
  5207. - window.openDialog("chrome://messenger/content/messageWindow.xul",
  5208. + window.openDialog("chrome://messenger/content/messageWindow.xhtml",
  5209. "_blank", "all,dialog=no",
  5210. Services.io.newURI(url));
  5211. return;
  5212. case "text/x-moz-deleted":
  5213. return;
  5214. }
  5215. var webNavigationInfo =
  5216. diff --git a/suite/mailnews/content/msgViewPickerOverlay.js b/suite/mailnews/content/msgViewPickerOverlay.js
  5217. --- a/suite/mailnews/content/msgViewPickerOverlay.js
  5218. +++ b/suite/mailnews/content/msgViewPickerOverlay.js
  5219. @@ -181,17 +181,17 @@ function SetMailViewForFolder(aFolder, a
  5220. folderInfo.setUint32Property (kViewCurrent, isNaN(aValue) ? kViewItemAll : aValue);
  5221. folderInfo.setCharProperty(kViewCurrentTag, aValue);
  5222. }
  5223. }
  5224. function LaunchCustomizeDialog()
  5225. {
  5226. - OpenOrFocusWindow({}, "mailnews:mailviewlist", "chrome://messenger/content/mailViewList.xul");
  5227. + OpenOrFocusWindow({}, "mailnews:mailviewlist", "chrome://messenger/content/mailViewList.xhtml");
  5228. }
  5229. function LoadCustomMailView(index)
  5230. {
  5231. PrepareForViewChange();
  5232. var searchTermsArrayForQS = CreateGroupedSearchTerms(gMailViewList.getMailViewAt(index).searchTerms);
  5233. createSearchTermsWithList(searchTermsArrayForQS);
  5234. diff --git a/suite/mailnews/content/tabmail.js b/suite/mailnews/content/tabmail.js
  5235. --- a/suite/mailnews/content/tabmail.js
  5236. +++ b/suite/mailnews/content/tabmail.js
  5237. @@ -510,17 +510,17 @@ var gMailNewsTabsType =
  5238. },
  5239. //
  5240. // nsIController implementation
  5241. //
  5242. // We ignore the aTabInfo parameter sent by tabmail when calling nsIController
  5243. // stuff and just delegate the call to the DefaultController by using it as
  5244. // our proto chain.
  5245. - // XXX remove the MessageWindowController stuff once we kill messageWindow.xul
  5246. + // XXX remove the MessageWindowController stuff once we kill messageWindow.xhtml
  5247. __proto__: "DefaultController" in window && window.DefaultController ||
  5248. "MessageWindowController" in window && window.MessageWindowController
  5249. };
  5250. //
  5251. // tabmail support methods
  5252. diff --git a/suite/mailnews/jar.mn b/suite/mailnews/jar.mn
  5253. --- a/suite/mailnews/jar.mn
  5254. +++ b/suite/mailnews/jar.mn
  5255. @@ -6,65 +6,65 @@ messenger.jar:
  5256. % content messagebody %content/messagebody/ contentaccessible=yes
  5257. % content messenger %content/messenger/
  5258. % override chrome://global/content/nsDragAndDrop.js chrome://messenger/content/nsDragAndDrop.js
  5259. # provide the nsTransferable in nsDragAndDrop.js to extensions that have to
  5260. # work with Geckos from before 1.9, when there was a separate file
  5261. % override chrome://global/content/nsTransferable.js chrome://messenger/content/nsDragAndDrop.js
  5262. % override chrome://messagebody/skin/messageBody.css chrome://messenger/skin/messageBody.css
  5263. % content messenger-region %content/messenger-region/
  5264. -% overlay chrome://communicator/content/pref/preferences.xul chrome://messenger/content/mailPrefsOverlay.xul
  5265. -% overlay chrome://communicator/content/pref/pref-appearance.xul chrome://messenger/content/mailPrefsOverlay.xul
  5266. -% overlay chrome://communicator/content/pref/pref-cookies.xul chrome://messenger/content/mailPrefsOverlay.xul
  5267. -% overlay chrome://editor/content/editorTasksOverlay.xul chrome://messenger/content/mailTasksOverlay.xul
  5268. -% overlay chrome://messenger/content/addressbook/abSelectAddressesDialog.xul chrome://messenger/content/mailOverlay.xul
  5269. -% overlay chrome://editor/content/composerOverlay.xul chrome://messenger/content/mailEditorOverlay.xul
  5270. +% overlay chrome://communicator/content/pref/preferences.xhtml chrome://messenger/content/mailPrefsOverlay.xhtml
  5271. +% overlay chrome://communicator/content/pref/pref-appearance.xhtml chrome://messenger/content/mailPrefsOverlay.xhtml
  5272. +% overlay chrome://communicator/content/pref/pref-cookies.xhtml chrome://messenger/content/mailPrefsOverlay.xhtml
  5273. +% overlay chrome://editor/content/editorTasksOverlay.xhtml chrome://messenger/content/mailTasksOverlay.xhtml
  5274. +% overlay chrome://messenger/content/addressbook/abSelectAddressesDialog.xhtml chrome://messenger/content/mailOverlay.xhtml
  5275. +% overlay chrome://editor/content/composerOverlay.xhtml chrome://messenger/content/mailEditorOverlay.xhtml
  5276. content/messenger/browserRequest.js (content/browserRequest.js)
  5277. - content/messenger/browserRequest.xul (content/browserRequest.xul)
  5278. + content/messenger/browserRequest.xhtml (content/browserRequest.xhtml)
  5279. content/messenger/commandglue.js (content/commandglue.js)
  5280. content/messenger/folderDisplay.js (content/folderDisplay.js)
  5281. content/messenger/folderPane.js (content/folderPane.js)
  5282. - content/messenger/folderPane.xul (content/folderPane.xul)
  5283. + content/messenger/folderPane.xhtml (content/folderPane.xhtml)
  5284. content/messenger/mail-offline.js (content/mail-offline.js)
  5285. content/messenger/mail3PaneWindowCommands.js (content/mail3PaneWindowCommands.js)
  5286. content/messenger/mailCommands.js (content/mailCommands.js)
  5287. content/messenger/mailContextMenus.js (content/mailContextMenus.js)
  5288. - content/messenger/mailEditorOverlay.xul (content/mailEditorOverlay.xul)
  5289. -* content/messenger/mailKeysOverlay.xul (content/mailKeysOverlay.xul)
  5290. + content/messenger/mailEditorOverlay.xhtml (content/mailEditorOverlay.xhtml)
  5291. +* content/messenger/mailKeysOverlay.xhtml (content/mailKeysOverlay.xhtml)
  5292. content/messenger/mailOverlay.js (content/mailOverlay.js)
  5293. -* content/messenger/mailOverlay.xul (content/mailOverlay.xul)
  5294. +* content/messenger/mailOverlay.xhtml (content/mailOverlay.xhtml)
  5295. content/messenger/mailTasksOverlay.js (content/mailTasksOverlay.js)
  5296. - content/messenger/mailTasksOverlay.xul (content/mailTasksOverlay.xul)
  5297. + content/messenger/mailTasksOverlay.xhtml (content/mailTasksOverlay.xhtml)
  5298. content/messenger/mailViewList.js (content/mailViewList.js)
  5299. - content/messenger/mailViewList.xul (content/mailViewList.xul)
  5300. + content/messenger/mailViewList.xhtml (content/mailViewList.xhtml)
  5301. content/messenger/mailViewSetup.js (content/mailViewSetup.js)
  5302. - content/messenger/mailViewSetup.xul (content/mailViewSetup.xul)
  5303. + content/messenger/mailViewSetup.xhtml (content/mailViewSetup.xhtml)
  5304. content/messenger/mailWidgets.xml (content/mailWidgets.xml)
  5305. content/messenger/mailWindow.js (content/mailWindow.js)
  5306. content/messenger/mailWindowOverlay.js (content/mailWindowOverlay.js)
  5307. -* content/messenger/mailWindowOverlay.xul (content/mailWindowOverlay.xul)
  5308. +* content/messenger/mailWindowOverlay.xhtml (content/mailWindowOverlay.xhtml)
  5309. content/messenger/messageWindow.js (content/messageWindow.js)
  5310. - content/messenger/messageWindow.xul (content/messageWindow.xul)
  5311. + content/messenger/messageWindow.xhtml (content/messageWindow.xhtml)
  5312. content/messenger/messenger.css (content/messenger.css)
  5313. - content/messenger/messenger.xul (content/messenger.xul)
  5314. + content/messenger/messenger.xhtml (content/messenger.xhtml)
  5315. content/messenger/msgFolderPickerOverlay.js (content/msgFolderPickerOverlay.js)
  5316. content/messenger/msgHdrViewOverlay.js (content/msgHdrViewOverlay.js)
  5317. - content/messenger/msgHdrViewOverlay.xul (content/msgHdrViewOverlay.xul)
  5318. + content/messenger/msgHdrViewOverlay.xhtml (content/msgHdrViewOverlay.xhtml)
  5319. content/messenger/msgMail3PaneWindow.js (content/msgMail3PaneWindow.js)
  5320. content/messenger/msgViewNavigation.js (content/msgViewNavigation.js)
  5321. content/messenger/msgViewPickerOverlay.js (content/msgViewPickerOverlay.js)
  5322. content/messenger/nsDragAndDrop.js (content/nsDragAndDrop.js)
  5323. content/messenger/phishingDetector.js (content/phishingDetector.js)
  5324. content/messenger/searchBar.js (content/searchBar.js)
  5325. content/messenger/start.xhtml (content/start.xhtml)
  5326. content/messenger/tabmail.js (content/tabmail.js)
  5327. content/messenger/tabmail.xml (content/tabmail.xml)
  5328. content/messenger/threadPane.js (content/threadPane.js)
  5329. - content/messenger/threadPane.xul (content/threadPane.xul)
  5330. + content/messenger/threadPane.xhtml (content/threadPane.xhtml)
  5331. - content/messenger/SearchDialog.xul (content/SearchDialog.xul)
  5332. + content/messenger/SearchDialog.xhtml (content/SearchDialog.xhtml)
  5333. content/messenger/SearchDialog.js (content/SearchDialog.js)
  5334. - content/messenger/ABSearchDialog.xul (content/ABSearchDialog.xul)
  5335. + content/messenger/ABSearchDialog.xhtml (content/ABSearchDialog.xhtml)
  5336. content/messenger/ABSearchDialog.js (content/ABSearchDialog.js)
  5337. - content/messenger/FilterListDialog.xul (content/FilterListDialog.xul)
  5338. + content/messenger/FilterListDialog.xhtml (content/FilterListDialog.xhtml)
  5339. content/messenger/FilterListDialog.js (content/FilterListDialog.js)
  5340. - content/messenger/searchTermOverlay.xul (content/searchTermOverlay.xul)
  5341. + content/messenger/searchTermOverlay.xhtml (content/searchTermOverlay.xhtml)
  5342. diff --git a/suite/mailnews/modules/MailUtils.js b/suite/mailnews/modules/MailUtils.js
  5343. --- a/suite/mailnews/modules/MailUtils.js
  5344. +++ b/suite/mailnews/modules/MailUtils.js
  5345. @@ -86,14 +86,14 @@ var MailUtils =
  5346. openMessageInNewWindow: function MailUtils_openMessageInNewWindow(aMsgHdr)
  5347. {
  5348. // Pass in the message URI as messageWindow.js doesn't handle message headers
  5349. let messageURI = Cc["@mozilla.org/supports-string;1"]
  5350. .createInstance(Ci.nsISupportsString);
  5351. messageURI.data = aMsgHdr.folder.getUriForMsg(aMsgHdr);
  5352. Services.ww.openWindow(null,
  5353. - "chrome://messenger/content/messageWindow.xul",
  5354. + "chrome://messenger/content/messageWindow.xhtml",
  5355. "_blank",
  5356. "all,chrome,dialog=no,status,toolbar",
  5357. messageURI);
  5358. }
  5359. };
  5360. diff --git a/suite/themes/classic/communicator/sync/syncCommon.css b/suite/themes/classic/communicator/sync/syncCommon.css
  5361. --- a/suite/themes/classic/communicator/sync/syncCommon.css
  5362. +++ b/suite/themes/classic/communicator/sync/syncCommon.css
  5363. @@ -1,13 +1,13 @@
  5364. /* This Source Code Form is subject to the terms of the Mozilla Public
  5365. * License, v. 2.0. If a copy of the MPL was not distributed with this
  5366. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5367. -/* The following are used by both syncSetup.xul and syncGenericChange.xul */
  5368. +/* The following are used by both syncSetup.xhtml and syncGenericChange.xhtml */
  5369. .status {
  5370. color: -moz-dialogtext;
  5371. }
  5372. .statusIcon {
  5373. margin-inline-start: 4px;
  5374. max-height: 16px;
  5375. max-width: 16px;
  5376. @@ -20,17 +20,17 @@
  5377. .statusIcon[status="error"] {
  5378. list-style-image: url("chrome://global/skin/icons/error-16.png");
  5379. }
  5380. .statusIcon[status="success"] {
  5381. list-style-image: url("chrome://global/skin/icons/information-16.png");
  5382. }
  5383. -/* .data is only used by syncGenericChange.xul, but it seems unnecessary to have
  5384. +/* .data is only used by syncGenericChange.xhtml, but it seems unnecessary to have
  5385. a separate stylesheet for it. */
  5386. .data {
  5387. font-size: 90%;
  5388. font-weight: bold;
  5389. }
  5390. #change-dialog {
  5391. width: 40em;
  5392. diff --git a/suite/themes/classic/jar.mn b/suite/themes/classic/jar.mn
  5393. --- a/suite/themes/classic/jar.mn
  5394. +++ b/suite/themes/classic/jar.mn
  5395. @@ -3,23 +3,23 @@
  5396. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  5397. classic.jar:
  5398. % skin communicator classic/1.0 %skin/classic/communicator/
  5399. % skin editor classic/1.0 %skin/classic/editor/
  5400. % skin messenger classic/1.0 %skin/classic/messenger/
  5401. % skin navigator classic/1.0 %skin/classic/navigator/
  5402. % skin messenger-newsblog classic/1.0 %skin/classic/messenger-newsblog/
  5403. -% style chrome://communicator/content/customizeToolbar.xul chrome://navigator/skin/navigator.css
  5404. -% style chrome://communicator/content/customizeToolbar.xul chrome://messenger/skin/primaryToolbar.css
  5405. -% style chrome://communicator/content/customizeToolbar.xul chrome://messenger/skin/messengercompose/messengercompose.css
  5406. -% style chrome://communicator/content/customizeToolbar.xul chrome://messenger/skin/smime/msgCompSMIMEOverlay.css
  5407. -% style chrome://communicator/content/customizeToolbar.xul chrome://messenger/skin/addressbook/addressbook.css
  5408. -% style chrome://communicator/content/customizeToolbar.xul chrome://editor/skin/editorPrimaryToolbar.css
  5409. -% style chrome://communicator/content/customizeToolbar.xul chrome://editor/skin/editorFormatToolbar.css
  5410. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://navigator/skin/navigator.css
  5411. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://messenger/skin/primaryToolbar.css
  5412. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://messenger/skin/messengercompose/messengercompose.css
  5413. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://messenger/skin/smime/msgCompSMIMEOverlay.css
  5414. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://messenger/skin/addressbook/addressbook.css
  5415. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://editor/skin/editorPrimaryToolbar.css
  5416. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://editor/skin/editorFormatToolbar.css
  5417. #ifdef XP_MACOSX
  5418. skin/classic/communicator/aboutPrivateBrowsing.css (mac/communicator/aboutPrivateBrowsing.css)
  5419. skin/classic/communicator/aboutSessionRestore.css (mac/communicator/aboutSessionRestore.css)
  5420. skin/classic/communicator/button.css (mac/communicator/button.css)
  5421. skin/classic/communicator/communicator.css (mac/communicator/communicator.css)
  5422. skin/classic/communicator/customizeToolbar.css (mac/communicator/customizeToolbar.css)
  5423. skin/classic/communicator/config.css (mac/communicator/config.css)
  5424. skin/classic/communicator/datetimepicker.css (mac/communicator/datetimepicker.css)
  5425. diff --git a/suite/themes/classic/mac/navigator/navigator.css b/suite/themes/classic/mac/navigator/navigator.css
  5426. --- a/suite/themes/classic/mac/navigator/navigator.css
  5427. +++ b/suite/themes/classic/mac/navigator/navigator.css
  5428. @@ -779,19 +779,19 @@ toolbar[mode="text"] toolbarbutton.chevr
  5429. #editBookmarkPanelHeader {
  5430. margin-bottom: 6px;
  5431. }
  5432. #editBMPanel_editColumn {
  5433. color: #FFFFFF;
  5434. }
  5435. -/* The following elements come from editBookmarkOverlay.xul, but the styling is
  5436. +/* The following elements come from editBookmarkOverlay.xhtml, but the styling is
  5437. specific to the HUD-styled editBookmarkPanel. Styling shared by all
  5438. - editBookmarkOverlay.xul consumers should be in editBookmarkOverlay.css. */
  5439. + editBookmarkOverlay.xhtml consumers should be in editBookmarkOverlay.css. */
  5440. #editBMPanel_newFolderBox {
  5441. background: linear-gradient(#FFFFFF, #F2F2F2);
  5442. background-origin: padding-box;
  5443. background-clip: padding-box;
  5444. border-radius: 0 0 3px 3px;
  5445. border: 1px solid #A5A5A5;
  5446. box-shadow: inset 0 1px rgba(255,255, 255, 0.8),
  5447. diff --git a/suite/themes/modern/communicator/sync/syncCommon.css b/suite/themes/modern/communicator/sync/syncCommon.css
  5448. --- a/suite/themes/modern/communicator/sync/syncCommon.css
  5449. +++ b/suite/themes/modern/communicator/sync/syncCommon.css
  5450. @@ -1,13 +1,13 @@
  5451. /* This Source Code Form is subject to the terms of the Mozilla Public
  5452. * License, v. 2.0. If a copy of the MPL was not distributed with this
  5453. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5454. -/* The following are used by both syncSetup.xul and syncGenericChange.xul */
  5455. +/* The following are used by both syncSetup.xhtml and syncGenericChange.xhtml */
  5456. .statusIcon {
  5457. margin-inline-start: 4px;
  5458. max-height: 16px;
  5459. max-width: 16px;
  5460. }
  5461. .statusIcon[status="active"] {
  5462. list-style-image: url("chrome://communicator/skin/icons/loading.png");
  5463. @@ -16,17 +16,17 @@
  5464. .statusIcon[status="error"] {
  5465. list-style-image: url("chrome://global/skin/icons/error-16.png");
  5466. }
  5467. .statusIcon[status="success"] {
  5468. list-style-image: url("chrome://global/skin/icons/information-16.png");
  5469. }
  5470. -/* .data is only used by syncGenericChange.xul, but it seems unnecessary to have
  5471. +/* .data is only used by syncGenericChange.xhtml, but it seems unnecessary to have
  5472. a separate stylesheet for it. */
  5473. .data {
  5474. font-size: 90%;
  5475. font-weight: bold;
  5476. }
  5477. #change-dialog {
  5478. width: 40em;
  5479. diff --git a/suite/themes/modern/jar.mn b/suite/themes/modern/jar.mn
  5480. --- a/suite/themes/modern/jar.mn
  5481. +++ b/suite/themes/modern/jar.mn
  5482. @@ -9,23 +9,23 @@ modern.jar:
  5483. % skin global modern/1.0 %skin/modern/global/
  5484. % skin global-platform modern/1.0 %skin/modern/global/gtk/
  5485. % skin global-platform modern/1.0 %skin/modern/global/mac/ os=Darwin
  5486. % skin global-platform modern/1.0 %skin/modern/global/win/ os=WINNT
  5487. % skin messenger modern/1.0 %skin/modern/messenger/
  5488. % skin mozapps modern/1.0 %skin/modern/mozapps/
  5489. % skin navigator modern/1.0 %skin/modern/navigator/
  5490. % skin messenger-newsblog modern/1.0 %skin/modern/messenger-newsblog/
  5491. -% style chrome://communicator/content/customizeToolbar.xul chrome://navigator/skin/navigator.css
  5492. -% style chrome://communicator/content/customizeToolbar.xul chrome://messenger/skin/primaryToolbar.css
  5493. -% style chrome://communicator/content/customizeToolbar.xul chrome://messenger/skin/messengercompose/messengercompose.css
  5494. -% style chrome://communicator/content/customizeToolbar.xul chrome://messenger/skin/smime/msgCompSMIMEOverlay.css
  5495. -% style chrome://communicator/content/customizeToolbar.xul chrome://messenger/skin/addressbook/addressbook.css
  5496. -% style chrome://communicator/content/customizeToolbar.xul chrome://editor/skin/editorPrimaryToolbar.css
  5497. -% style chrome://communicator/content/customizeToolbar.xul chrome://editor/skin/editorFormatToolbar.css
  5498. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://navigator/skin/navigator.css
  5499. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://messenger/skin/primaryToolbar.css
  5500. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://messenger/skin/messengercompose/messengercompose.css
  5501. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://messenger/skin/smime/msgCompSMIMEOverlay.css
  5502. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://messenger/skin/addressbook/addressbook.css
  5503. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://editor/skin/editorPrimaryToolbar.css
  5504. +% style chrome://communicator/content/customizeToolbar.xhtml chrome://editor/skin/editorFormatToolbar.css
  5505. skin/modern/communicator/brand.css (communicator/brand.css)
  5506. skin/modern/communicator/blockedSite.css (communicator/blockedSite.css)
  5507. skin/modern/communicator/certError.css (communicator/certError.css)
  5508. skin/modern/communicator/customizeToolbar.css (communicator/customizeToolbar.css)
  5509. skin/modern/communicator/datetimepicker.css (communicator/datetimepicker.css)
  5510. skin/modern/communicator/numberbox.css (communicator/numberbox.css)
  5511. skin/modern/communicator/prefpanels.css (communicator/prefpanels.css)
  5512. skin/modern/communicator/preferences.css (communicator/preferences.css)
  5513. diff --git a/suite/themes/modern/messenger/dialogs.css b/suite/themes/modern/messenger/dialogs.css
  5514. --- a/suite/themes/modern/messenger/dialogs.css
  5515. +++ b/suite/themes/modern/messenger/dialogs.css
  5516. @@ -5,24 +5,24 @@
  5517. /* ===== dialogs.css ====================================================
  5518. == Styles used by the general dialogs in Messenger.
  5519. ======================================================================= */
  5520. @import url("chrome://messenger/skin/messenger.css");
  5521. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  5522. -/* ::::: fieldMapImport.xul ::::: */
  5523. +/* ::::: fieldMapImport.xhtml ::::: */
  5524. .importsampledata {
  5525. border-left: 3px solid #C2D0D0;
  5526. padding-inline-start: 10px;
  5527. }
  5528. -/* ::::: importDialog.xul ::::: */
  5529. +/* ::::: importDialog.xhtml ::::: */
  5530. #progressStatus {
  5531. margin: 1em 0px 0px;
  5532. }
  5533. #progressMeter {
  5534. margin-top: 1em;
  5535. margin-bottom: 2em;