Commit Graph

122319 Commits

Author SHA1 Message Date
L. David Baron
822b2ca3bc Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
Except for the changes in:
  layout/generic/nsIFrame.h (part)
  layout/style/nsComputedDOMStyle.h (all)
  layout/style/nsRuleNode.cpp (part)
  layout/style/nsStyleContext.cpp (part)
  layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
L. David Baron
e1162bb557 Bug 781360 patch 2: Rename nsRuleNode::GetPresContext to PresContext, since it can never return null. r=dholbert 2013-02-16 13:04:54 -08:00
L. David Baron
f756f736e2 Bug 781360 patch 1: Rename nsStyleContext::GetRuleNode to RuleNode, since it can never return null. r=dholbert
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".

nsStyleContext's rule node is never null because we require a rule node
in order to construct a style context.
2013-02-16 13:04:53 -08:00
Brian Smith
2a4db9045e Bug 842064: Fix build bustage caused by expired certificates in test_signed_apps.js, a=bustage, a=testonly 2013-02-16 11:21:13 -08:00
Brian Smith
5ca47bb4ab Bug 842064: Fix build bustage caused by expired certificates in test_signed_apps.js on a CLOSED TREE, a=bustage, a=testonly
--HG--
extra : source : ff193fc3dc7d37db4081dd95f1f1aa8e3551d527
extra : histedit_source : 5b6de6aae72860b31173a4a7540f123ecae8892e
2013-02-16 11:21:13 -08:00
Sotaro Ikeda
8286ea230b Bug 826072 - Dispatch Init() out of nsGonkCameraControl's constructor. r=mikeh 2013-02-16 14:05:45 -05:00
Daniel Holbert
5601dc5fa0 Bug 834107: Replace helper-function GetContainingBlockFor() with direct calls to nsIFrame::GetContainingBlock(), in nsComputedDOMStyle.cpp. r=dbaron 2013-02-16 10:34:34 -08:00
Phil Ringnalda
4a88341e36 Bug 807211 - annotate ownerdiscard.html as asserts(0-2), since it certainly does 2013-02-16 10:05:52 -08:00
Jonathan Watt
ece4dae369 Bug 838256 - Reftests and crashtests for <input type=range>. r=dholbert. 2013-02-16 17:57:21 +00:00
Jonathan Watt
9a999c1cb4 Bug 838256, part 2 - Overhaul and complete the layout pieces for <input type=range>. r=dholbert for the combined diff with the previous changeset. 2013-02-16 17:57:21 +00:00
Wes Johnston
e38c741da9 Bug 838256, part 1 - Initial work on the layout pieces for <input type=range>. DONTBUILD separately from jwatt's changeset (the next one) to finish this work. r=dholbert for the combined diff. 2013-02-16 17:57:21 +00:00
Daniel Holbert
074223a8e7 Bug 841873: Pref off CSS3 flexbox in release builds, by default. r=dbaron 2013-02-16 09:52:27 -08:00
Ryan VanderMeulen
471c8e26a0 Merge the last PGO-green inbound changeset to m-c. 2013-02-16 09:49:43 -05:00
ffxbld
09e4256ff4 No bug, Automated blocklist update from host bld-linux64-ec2-635 - a=blocklist-update 2013-02-16 03:35:22 -08:00
Ms2ger
948d5f9b8d Merge backout on a CLOSED TREE. 2013-02-16 10:36:31 +01:00
Ms2ger
bfc7bd8836 Backout bug 828349, bug 835022 for robocop orange and exception from Tabs.getDisplayCount. 2013-02-16 10:36:05 +01:00
Cameron McCormack
a5d156f4b3 Bug 841812 - Avoid crashing when changing attributes on an invalidly parented <textPath>. r=roc 2013-02-16 20:16:11 +11:00
Jeff Walden
8765553d79 Bug 836519 - Back out 7a145f17e37c for intermittent 'dom/contacts/tests/test_contacts_getall.html | 19 contacts returned - got 20, expected 19' in the test it added. r=intermittent-orange 2013-02-16 00:42:26 -08:00
Brian Nicholson
4656a9e054 Bug 835022 - Switch to correct tab when a tab is closed. r=mfinkle 2013-02-15 22:44:14 -08:00
Brian Nicholson
ebde756222 Bug 828349 - Return the tab count of the current private state. r=mfinkle 2013-02-15 22:42:12 -08:00
Phil Ringnalda
f7ae51dae6 Backout 727072808d9f (bug 841836) for b2g mochitest-1 failures
--HG--
extra : rebase_source : 895209557393923f4be09c7418b044871cbb6a20
2013-02-15 21:57:05 -08:00
Boris Zbarsky
8025312ba2 Bug 822674 followup to disable this test on Android. r=jesup 2013-02-16 00:59:11 -05:00
L. David Baron
ba8841c136 Bug 841896: Rename CSSKeyframesRule.insertRule to appendRule to match spec change.
Note that this does not change the IID of nsIDOMMozCSSKeyframesRule
since neither the method signature nor semantics have changed; only the
name is different.
2013-02-15 21:38:34 -08:00
L. David Baron
01a5b0481c Bug 841789, patch 3: Some removal of unneeded style context null-checks and comment cleanup. r=dholbert 2013-02-15 21:38:34 -08:00
L. David Baron
5464b49cb0 Bug 841789, patch 2: Fix callers that are going through the style context to get style structs rather than using the nsIFrame shortcuts. r=dholbert
This is just a code simplification that I noticed while reading through
patch 1.
2013-02-15 21:38:34 -08:00
L. David Baron
63fdfec174 Bug 841789, patch 1: Rename nsIFrame::GetStyleContext() to nsIFrame::StyleContext() since it can never return null. r=dholbert
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".
2013-02-15 21:38:33 -08:00
Alexander Surkov
ae18cecbc2 Bug 834120 - Table cell accessibles not exposed for CSS table without table-row, r=tbsaunde 2013-02-16 14:42:00 +09:00
Daniel Holbert
567af6c177 Bug 841873 test changes: Tweak reftests/mochitests/crashtests to remove assumptions about the flexbox pref's default setting. (test-only) 2013-02-15 17:17:21 -08:00
Daniel Holbert
8743c2db79 Bug 841988: Declare loop iterator variables inside the "for" statement in nsTextFrameThebes.cpp, for better scoping. r=roc 2013-02-16 09:27:31 -08:00
David Dahl
313db63994 Bug 440046 - expose secure PRNG in the DOM (window.crypto.getRandomValues) r=cviecco r=bsmith 2013-02-15 15:38:15 -08:00
David Dahl
3bcc359caf Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - revert nsIWindowCrypto patch r=jst 2013-02-15 23:34:18 -06:00
David Dahl
b0632e9e66 Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - window.crypto patch r=jst
--HG--
rename : dom/interfaces/base/nsIDOMCrypto.idl => dom/interfaces/base/nsIDOMCryptoLegacy.idl
2013-02-15 23:34:15 -06:00
Jim Blandy
913be66ecc Bug 840723: Print js::Rooted<jsid> and related classes correctly in non-DEBUG builds. r=sfink 2013-02-15 21:27:44 -08:00
Jim Blandy
1fe8515306 Bug 840689: JS GDB support: Don't confuse typedefs with concrete types. r=sfink 2013-02-15 21:27:44 -08:00
Ryan VanderMeulen
d055554394 Bug 838532 - Fix bustage on a CLOSED TREE. 2013-02-15 12:28:02 -05:00
Andrea Marchesini
c6c00b063d Bug 838532 - Convert HTMLLegendElement to WebIDL. r=Ms2ger 2013-02-15 11:55:53 -05:00
Andrea Marchesini
76260f9192 Bug 838532 - Rename nsHTMLLegendElement to HTMLLegendElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLLegendElement.cpp => content/html/content/src/HTMLLegendElement.cpp
rename : content/html/content/src/nsHTMLLegendElement.h => content/html/content/src/HTMLLegendElement.h
2013-02-15 11:55:53 -05:00
Joshua Kalpin
13ca43f694 Bug 839670 - Remove usage of gXULAppInfo and createAppInfo in toolkit/components/search/tests/xpcshell/ and replace with updateAppInfo(). r=MattN 2013-02-15 11:55:53 -05:00
Ryan VanderMeulen
67e48c76be Merge m-c to inbound. 2013-02-15 11:55:36 -05:00
Dave Townsend
441894d70a Bug 554780: Make plugins provider correctly handle plugins being added and removed through detection at runtime. r=Unfocused 2013-02-15 10:12:44 -06:00
Simone Carletti
991e9cfb17 Bug 841733 - update PSL for .id. r=gerv. 2013-02-15 15:43:06 +00:00
Adam Roach [:abr]
cb6b4edf1d Bug 841457 - Convert stream logging to non-stream when stream operators are not used r=ehugg 2013-02-15 09:24:51 -06:00
Ryan VanderMeulen
457fa51782 Merge inbound to m-c. 2013-02-15 09:39:34 -05:00
Jonathan Kew
573e933b5f bug 841313 - update harfbuzz to upstream commit a0cb9f3... (v0.9.12+) to pick up Myanmar/SEAsian shapers and Indic fixes. r=jdaggett 2013-02-15 10:37:41 +00:00
Tim Taubert
79504917e8 merge m-c to fx-team 2013-02-15 10:40:59 +01:00
Chris Pearce
bb134603da Bug 830171 - Use SourceReader in async mode to better allow shutdown on MediaResource close. r=padenot 2013-02-15 21:35:48 +13:00
Chris Pearce
965408c29c Bug 839031 - Blacklist FLAC MFT DLL. r=padenot 2013-02-15 14:11:28 +13:00
Chris Pearce
e173641f7a Bug 839031 - Block non-whitelisted WMF decoder objects. r=padenot 2013-02-15 14:11:17 +13:00
Chris Pearce
bb977ef1dd Bug 839031 - Report Content-Type on WMFByteStream to faciliate WMF selecting the right decoder. r=padenot 2013-02-15 14:11:05 +13:00
Chris Pearce
45033dda72 Bug 839031 - Store the Content-Type/MIME-Type on MediaResource. r=padenot 2013-02-15 14:10:58 +13:00