Skip to content

Commit cccdef8

Browse files
author
Ehsan Akhgari
committed
Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge)
1 parent 5d3a730 commit cccdef8

File tree

72 files changed

+884
-982
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+884
-982
lines changed

browser/components/nsBrowserContentHandler.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -567,15 +567,7 @@ nsBrowserContentHandler.prototype = {
567567
#endif
568568
},
569569

570-
helpInfo : " -browser Open a browser window.\n" +
571-
" -new-window <url> Open <url> in a new window.\n" +
572-
" -new-tab <url> Open <url> in a new tab.\n" +
573-
#ifdef XP_WIN
574-
" -preferences Open Options dialog.\n" +
575-
#else
576-
" -preferences Open Preferences dialog.\n" +
577-
#endif
578-
" -search <term> Search <term> with your default search engine.\n",
570+
helpInfo : " -browser Open a browser window.\n",
579571

580572
/* nsIBrowserHandler */
581573

browser/components/nsBrowserGlue.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,6 +1466,11 @@ ContentPermissionPrompt.prototype = {
14661466
},
14671467
};
14681468

1469+
// XXX Bug 573536
1470+
// browserBundle.GetStringFromName("geolocation.learnMore")
1471+
//var formatter = Cc["@mozilla.org/toolkit/URLFormatterService;1"].getService(Ci.nsIURLFormatter);
1472+
//link.href = formatter.formatURLPref("browser.geolocation.warning.infoURL");
1473+
14691474
var message;
14701475
var secondaryActions = [];
14711476

browser/components/search/content/search.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -474,12 +474,8 @@
474474

475475
// Save the current value in the form history
476476
if (textValue) {
477-
try {
478-
textBox._formHistSvc.addEntry(textBox.getAttribute("autocompletesearchparam"),
479-
textValue);
480-
} catch (ex) {
481-
Components.utils.reportError("Saving search to form history failed: " + ex);
482-
}
477+
textBox._formHistSvc.addEntry(textBox.getAttribute("autocompletesearchparam"),
478+
textValue);
483479
}
484480

485481
this.doSearch(textValue, where);

browser/locales/en-US/chrome/browser/browser.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
nv_done=Done
12
nv_timeout=Timed Out
3+
nv_stopped=Stopped
24
openFile=Open File
35

46
droponhometitle=Set Home Page

content/base/src/nsGkAtomList.h

Lines changed: 9 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -1382,86 +1382,43 @@ GK_ATOM(accent_, "accent")
13821382
GK_ATOM(accentunder_, "accentunder")
13831383
GK_ATOM(actiontype_, "actiontype")
13841384
GK_ATOM(alignmentscope_, "alignmentscope")
1385-
GK_ATOM(altimg_, "altimg")
1386-
GK_ATOM(altimg_height_, "altimg-height")
1387-
GK_ATOM(altimg_valign_, "altimg-valign")
1388-
GK_ATOM(altimg_width_, "altimg-width")
13891385
GK_ATOM(annotation_, "annotation")
1390-
GK_ATOM(annotation_xml_, "annotation-xml")
13911386
GK_ATOM(apply_, "apply")
1392-
GK_ATOM(approx_, "approx")
13931387
GK_ATOM(arccos_, "arccos")
1394-
GK_ATOM(arccosh_, "arccosh")
1395-
GK_ATOM(arccot_, "arccot")
1396-
GK_ATOM(arccoth_, "arccoth")
1397-
GK_ATOM(arccsc_, "arccsc")
1398-
GK_ATOM(arccsch_, "arccsch")
1399-
GK_ATOM(arcsec_, "arcsec")
1400-
GK_ATOM(arcsech_, "arcsech")
14011388
GK_ATOM(arcsin_, "arcsin")
1402-
GK_ATOM(arcsinh_, "arcsinh")
14031389
GK_ATOM(arctan_, "arctan")
1404-
GK_ATOM(arctanh_, "arctanh")
1405-
GK_ATOM(arg_, "arg")
14061390
GK_ATOM(bevelled_, "bevelled")
1407-
GK_ATOM(bind_, "bind")
14081391
GK_ATOM(bvar_, "bvar")
1409-
GK_ATOM(card_, "card")
1410-
GK_ATOM(cartesianproduct_, "cartesianproduct")
1411-
GK_ATOM(cbytes_, "cbytes")
1412-
GK_ATOM(cd_, "cd")
1413-
GK_ATOM(cdgroup_, "cdgroup")
1414-
GK_ATOM(cerror_, "cerror")
1415-
GK_ATOM(charalign_, "charalign")
14161392
GK_ATOM(ci_, "ci")
1417-
GK_ATOM(closure_, "closure")
14181393
GK_ATOM(cn_, "cn")
1419-
GK_ATOM(codomain_, "codomain")
14201394
GK_ATOM(columnalign_, "columnalign")
1421-
GK_ATOM(columnalignment_, "columnalignment")
14221395
GK_ATOM(columnlines_, "columnlines")
14231396
GK_ATOM(columnspacing_, "columnspacing")
14241397
GK_ATOM(columnspan_, "columnspan")
14251398
GK_ATOM(columnwidth_, "columnwidth")
1426-
GK_ATOM(complexes_, "complexes")
14271399
GK_ATOM(compose_, "compose")
14281400
GK_ATOM(condition_, "condition")
14291401
GK_ATOM(conjugate_, "conjugate")
14301402
GK_ATOM(cos_, "cos")
14311403
GK_ATOM(cosh_, "cosh")
14321404
GK_ATOM(cot_, "cot")
14331405
GK_ATOM(coth_, "coth")
1434-
GK_ATOM(crossout_, "crossout")
14351406
GK_ATOM(csc_, "csc")
14361407
GK_ATOM(csch_, "csch")
1437-
GK_ATOM(cs_, "cs")
1438-
GK_ATOM(csymbol_, "csymbol")
1439-
GK_ATOM(curl_, "curl")
1440-
GK_ATOM(decimalpoint_, "decimalpoint")
1441-
GK_ATOM(definitionURL_, "definitionURL")
14421408
GK_ATOM(degree_, "degree")
14431409
GK_ATOM(denomalign_, "denomalign")
14441410
GK_ATOM(depth_, "depth")
14451411
GK_ATOM(determinant_, "determinant")
14461412
GK_ATOM(diff_, "diff")
14471413
GK_ATOM(displaystyle_, "displaystyle")
1448-
GK_ATOM(divergence_, "divergence")
14491414
GK_ATOM(divide_, "divide")
1450-
GK_ATOM(domain_, "domain")
1451-
GK_ATOM(domainofapplication_, "domainofapplication")
14521415
GK_ATOM(edge_, "edge")
1453-
GK_ATOM(el_, "el")
1454-
GK_ATOM(emptyset_, "emptyset")
14551416
GK_ATOM(eq_, "eq")
14561417
GK_ATOM(equalcolumns_, "equalcolumns")
14571418
GK_ATOM(equalrows_, "equalrows")
1458-
GK_ATOM(equivalent_, "equivalent")
1459-
GK_ATOM(eulergamma_, "eulergamma")
14601419
GK_ATOM(exists_, "exists")
14611420
GK_ATOM(exp_, "exp")
1462-
GK_ATOM(exponentiale_, "exponentiale")
14631421
GK_ATOM(factorial_, "factorial")
1464-
GK_ATOM(factorof_, "factorof")
14651422
GK_ATOM(fence_, "fence")
14661423
GK_ATOM(fn_, "fn")
14671424
GK_ATOM(fontfamily_, "fontfamily")
@@ -1470,50 +1427,32 @@ GK_ATOM(fontstyle_, "fontstyle")
14701427
GK_ATOM(fontweight_, "fontweight")
14711428
GK_ATOM(forall_, "forall")
14721429
GK_ATOM(framespacing_, "framespacing")
1473-
GK_ATOM(gcd_, "gcd")
14741430
GK_ATOM(geq_, "geq")
14751431
GK_ATOM(groupalign_, "groupalign")
14761432
GK_ATOM(gt_, "gt")
14771433
GK_ATOM(ident_, "ident")
1478-
GK_ATOM(imaginaryi_, "imaginaryi")
1479-
GK_ATOM(imaginary_, "imaginary")
14801434
GK_ATOM(implies_, "implies")
1481-
GK_ATOM(indentalignfirst_, "indentalignfirst")
1482-
GK_ATOM(indentalign_, "indentalign")
1483-
GK_ATOM(indentalignlast_, "indentalignlast")
1484-
GK_ATOM(indentshiftfirst_, "indentshiftfirst")
1485-
GK_ATOM(indentshift_, "indentshift")
1486-
GK_ATOM(indenttarget_, "indenttarget")
1487-
GK_ATOM(integers_, "integers")
1435+
GK_ATOM(int_, "int")
14881436
GK_ATOM(intersect_, "intersect")
14891437
GK_ATOM(interval_, "interval")
1490-
GK_ATOM(int_, "int")
14911438
GK_ATOM(inverse_, "inverse")
14921439
GK_ATOM(lambda_, "lambda")
1493-
GK_ATOM(laplacian_, "laplacian")
14941440
GK_ATOM(largeop_, "largeop")
1495-
GK_ATOM(lcm_, "lcm")
14961441
GK_ATOM(leq_, "leq")
14971442
GK_ATOM(limit_, "limit")
14981443
GK_ATOM(linebreak_, "linebreak")
1499-
GK_ATOM(linebreakmultchar_, "linebreakmultchar")
1500-
GK_ATOM(linebreakstyle_, "linebreakstyle")
15011444
GK_ATOM(linethickness_, "linethickness")
15021445
GK_ATOM(list_, "list")
15031446
GK_ATOM(ln_, "ln")
1504-
GK_ATOM(location_, "location")
1505-
GK_ATOM(logbase_, "logbase")
15061447
GK_ATOM(log_, "log")
1507-
GK_ATOM(longdivstyle_, "longdivstyle")
1448+
GK_ATOM(logbase_, "logbase")
15081449
GK_ATOM(lowlimit_, "lowlimit")
15091450
GK_ATOM(lquote_, "lquote")
15101451
GK_ATOM(lspace_, "lspace")
15111452
GK_ATOM(lt_, "lt")
15121453
GK_ATOM(maction_, "maction")
15131454
GK_ATOM(maligngroup_, "maligngroup")
1514-
GK_ATOM(malign_, "malign")
15151455
GK_ATOM(malignmark_, "malignmark")
1516-
GK_ATOM(malignscope_, "malignscope")
15171456
GK_ATOM(mathbackground_, "mathbackground")
15181457
GK_ATOM(mathcolor_, "mathcolor")
15191458
GK_ATOM(mathsize_, "mathsize")
@@ -1527,36 +1466,25 @@ GK_ATOM(menclose_, "menclose")
15271466
GK_ATOM(merror_, "merror")
15281467
GK_ATOM(mfenced_, "mfenced")
15291468
GK_ATOM(mfrac_, "mfrac")
1530-
GK_ATOM(mfraction_, "mfraction")
1531-
GK_ATOM(mglyph_, "mglyph")
15321469
GK_ATOM(mi_, "mi")
15331470
GK_ATOM(minlabelspacing_, "minlabelspacing")
15341471
GK_ATOM(minsize_, "minsize")
15351472
GK_ATOM(minus_, "minus")
15361473
GK_ATOM(mlabeledtr_, "mlabeledtr")
1537-
GK_ATOM(mlongdiv_, "mlongdiv")
15381474
GK_ATOM(mmultiscripts_, "mmultiscripts")
15391475
GK_ATOM(mn_, "mn")
1540-
GK_ATOM(momentabout_, "momentabout")
1541-
GK_ATOM(moment_, "moment")
15421476
GK_ATOM(mo_, "mo")
1543-
GK_ATOM(monospaced_, "monospaced")
1477+
GK_ATOM(moment_, "moment")
15441478
GK_ATOM(movablelimits_, "movablelimits")
15451479
GK_ATOM(mover_, "mover")
15461480
GK_ATOM(mpadded_, "mpadded")
15471481
GK_ATOM(mphantom_, "mphantom")
15481482
GK_ATOM(mprescripts_, "mprescripts")
15491483
GK_ATOM(mroot_, "mroot")
15501484
GK_ATOM(mrow_, "mrow")
1551-
GK_ATOM(mscarries_, "mscarries")
1552-
GK_ATOM(mscarry_, "mscarry")
1553-
GK_ATOM(msgroup_, "msgroup")
1554-
GK_ATOM(msline_, "msline")
15551485
GK_ATOM(ms_, "ms")
15561486
GK_ATOM(mspace_, "mspace")
15571487
GK_ATOM(msqrt_, "msqrt")
1558-
GK_ATOM(msrow_, "msrow")
1559-
GK_ATOM(mstack_, "mstack")
15601488
GK_ATOM(mstyle_, "mstyle")
15611489
GK_ATOM(msub_, "msub")
15621490
GK_ATOM(msubsup_, "msubsup")
@@ -1567,90 +1495,62 @@ GK_ATOM(mtext_, "mtext")
15671495
GK_ATOM(mtr_, "mtr")
15681496
GK_ATOM(munder_, "munder")
15691497
GK_ATOM(munderover_, "munderover")
1570-
GK_ATOM(naturalnumbers_, "naturalnumbers")
1571-
GK_ATOM(negativemediummathspace_, "negativemediummathspace")
1572-
GK_ATOM(negativethickmathspace_, "negativethickmathspace")
1573-
GK_ATOM(negativethinmathspace_, "negativethinmathspace")
1574-
GK_ATOM(negativeverythickmathspace_, "negativeverythickmathspace")
1575-
GK_ATOM(negativeverythinmathspace_, "negativeverythinmathspace")
1576-
GK_ATOM(negativeveryverythickmathspace_, "negativeveryverythickmathspace")
1577-
GK_ATOM(negativeveryverythinmathspace_, "negativeveryverythinmathspace")
15781498
GK_ATOM(neq_, "neq")
1579-
GK_ATOM(notanumber_, "notanumber")
15801499
GK_ATOM(notation_, "notation")
1581-
GK_ATOM(note_, "note")
15821500
GK_ATOM(notin_, "notin")
15831501
GK_ATOM(notprsubset_, "notprsubset")
15841502
GK_ATOM(notsubset_, "notsubset")
15851503
GK_ATOM(numalign_, "numalign")
15861504
GK_ATOM(other_, "other")
1587-
GK_ATOM(outerproduct_, "outerproduct")
15881505
GK_ATOM(partialdiff_, "partialdiff")
1589-
GK_ATOM(piece_, "piece")
1590-
GK_ATOM(piecewise_, "piecewise")
1591-
GK_ATOM(pi_, "pi")
15921506
GK_ATOM(plus_, "plus")
15931507
GK_ATOM(power_, "power")
1594-
GK_ATOM(primes_, "primes")
15951508
GK_ATOM(product_, "product")
15961509
GK_ATOM(prsubset_, "prsubset")
15971510
GK_ATOM(quotient_, "quotient")
1598-
GK_ATOM(rationals_, "rationals")
1599-
GK_ATOM(real_, "real")
1600-
GK_ATOM(reals_, "reals")
16011511
GK_ATOM(reln_, "reln")
16021512
GK_ATOM(root_, "root")
16031513
GK_ATOM(rowalign_, "rowalign")
16041514
GK_ATOM(rowlines_, "rowlines")
16051515
GK_ATOM(rowspacing_, "rowspacing")
16061516
GK_ATOM(rquote_, "rquote")
16071517
GK_ATOM(rspace_, "rspace")
1608-
GK_ATOM(scalarproduct_, "scalarproduct")
1609-
GK_ATOM(schemaLocation_, "schemaLocation")
16101518
GK_ATOM(scriptlevel_, "scriptlevel")
16111519
GK_ATOM(scriptminsize_, "scriptminsize")
16121520
GK_ATOM(scriptsizemultiplier_, "scriptsizemultiplier")
1613-
GK_ATOM(scriptsize_, "scriptsize")
16141521
GK_ATOM(sdev_, "sdev")
1615-
GK_ATOM(sech_, "sech")
16161522
GK_ATOM(sec_, "sec")
1523+
GK_ATOM(sech_, "sech")
16171524
GK_ATOM(selection_, "selection")
1618-
GK_ATOM(selector_, "selector")
16191525
GK_ATOM(semantics_, "semantics")
1526+
GK_ATOM(sep_, "sep")
16201527
GK_ATOM(separator_, "separator")
16211528
GK_ATOM(separators_, "separators")
1622-
GK_ATOM(sep_, "sep")
1623-
GK_ATOM(setdiff_, "setdiff")
16241529
GK_ATOM(set_, "set")
1625-
GK_ATOM(share_, "share")
1626-
GK_ATOM(shift_, "shift")
1530+
GK_ATOM(setdiff_, "setdiff")
16271531
GK_ATOM(side_, "side")
1628-
GK_ATOM(sinh_, "sinh")
16291532
GK_ATOM(sin_, "sin")
1630-
GK_ATOM(stackalign_, "stackalign")
1533+
GK_ATOM(sinh_, "sinh")
16311534
GK_ATOM(stretchy_, "stretchy")
16321535
GK_ATOM(subscriptshift_, "subscriptshift")
16331536
GK_ATOM(subset_, "subset")
16341537
GK_ATOM(superscriptshift_, "superscriptshift")
16351538
GK_ATOM(symmetric_, "symmetric")
1636-
GK_ATOM(tanh_, "tanh")
16371539
GK_ATOM(tan_, "tan")
1540+
GK_ATOM(tanh_, "tanh")
16381541
GK_ATOM(tendsto_, "tendsto")
16391542
GK_ATOM(thickmathspace_, "thickmathspace")
16401543
GK_ATOM(thinmathspace_, "thinmathspace")
16411544
GK_ATOM(times_, "times")
16421545
GK_ATOM(transpose_, "transpose")
16431546
GK_ATOM(union_, "union")
16441547
GK_ATOM(uplimit_, "uplimit")
1645-
GK_ATOM(variance_, "variance")
1646-
GK_ATOM(vectorproduct_, "vectorproduct")
1548+
GK_ATOM(var_, "var")
16471549
GK_ATOM(vector_, "vector")
16481550
GK_ATOM(verythickmathspace_, "verythickmathspace")
16491551
GK_ATOM(verythinmathspace_, "verythinmathspace")
16501552
GK_ATOM(veryverythickmathspace_, "veryverythickmathspace")
16511553
GK_ATOM(veryverythinmathspace_, "veryverythinmathspace")
1652-
GK_ATOM(voffset_, "voffset")
1653-
GK_ATOM(xref_, "xref")
16541554
GK_ATOM(math, "math") // the only one without an underscore
16551555
#endif
16561556

content/canvas/src/nsCanvasRenderingContext2D.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3365,9 +3365,7 @@ nsCanvasRenderingContext2D::DrawImage(nsIDOMElement *imgElt, float a1,
33653365
float a6, float a7, float a8,
33663366
PRUint8 optional_argc)
33673367
{
3368-
if (!imgElt) {
3369-
return NS_ERROR_DOM_TYPE_MISMATCH_ERR;
3370-
}
3368+
NS_ENSURE_ARG(imgElt);
33713369

33723370
double sx,sy,sw,sh;
33733371
double dx,dy,dw,dh;

content/canvas/test/test_canvas.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3497,7 +3497,7 @@
34973497

34983498
var _thrown = undefined; try {
34993499
ctx.drawImage(null, 0, 0);
3500-
} catch (e) { _thrown = e }; ok(_thrown && _thrown.code == DOMException.TYPE_MISMATCH_ERR, "should throw TYPE_MISMATCH_ERR");
3500+
} catch (e) { _thrown = e }; todo(_thrown && _thrown.code == DOMException.TYPE_MISMATCH_ERR, "should throw TYPE_MISMATCH_ERR");
35013501

35023502

35033503
}
@@ -3669,7 +3669,7 @@
36693669

36703670
var _thrown = undefined; try {
36713671
ctx.drawImage(undefined, 0, 0);
3672-
} catch (e) { _thrown = e }; ok(_thrown && _thrown.code == DOMException.TYPE_MISMATCH_ERR, "should throw TYPE_MISMATCH_ERR");
3672+
} catch (e) { _thrown = e }; ok(_thrown && _thrown.result == Components.results.NS_ERROR_INVALID_ARG, "should throw NS_ERROR_INVALID_ARG");
36733673
var _thrown = undefined; try {
36743674
ctx.drawImage(0, 0, 0);
36753675
} catch (e) { _thrown = e }; ok(_thrown && _thrown.result == Components.results.NS_ERROR_XPC_BAD_CONVERT_JS_ZERO_ISNOT_NULL, "should throw NS_ERROR_XPC_BAD_CONVERT_JS_ZERO_ISNOT_NULL");

content/html/document/src/nsHTMLContentSink.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
#include "nsCRT.h"
6161
#include "prtime.h"
6262
#include "prlog.h"
63+
#include "nsInt64.h"
6364
#include "nsNodeUtils.h"
6465
#include "nsIContent.h"
6566
#include "mozilla/dom/Element.h"

dom/ipc/AudioParent.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
* ***** END LICENSE BLOCK ***** */
3939

4040
#include "mozilla/dom/AudioParent.h"
41-
#include "mozilla/unused.h"
4241
#include "nsThreadUtils.h"
4342

4443
// C++ file contents
@@ -160,7 +159,7 @@ AudioParent::Notify(nsITimer* timer)
160159

161160
NS_ASSERTION(mStream, "AudioStream not initialized.");
162161
PRInt64 offset = mStream->GetSampleOffset();
163-
unused << SendSampleOffsetUpdate(offset, PR_IntervalNow());
162+
SendSampleOffsetUpdate(offset, PR_IntervalNow());
164163
return NS_OK;
165164
}
166165

@@ -223,7 +222,7 @@ bool
223222
AudioParent::RecvShutdown()
224223
{
225224
Shutdown();
226-
unused << PAudioParent::Send__delete__(this);
225+
PAudioParent::Send__delete__(this);
227226
return true;
228227
}
229228

dom/src/threads/test/WorkerTest.jsm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,5 @@ const WorkerTest = {
5252
worker.onmessage = messageCallback;
5353
worker.onerror = errorCallback;
5454
worker.postMessage(message);
55-
return worker;
5655
}
5756
};

0 commit comments

Comments
 (0)