Commit Graph

121874 Commits

Author SHA1 Message Date
L. David Baron
f75e32c2f2 Bug 781360 patch 4: Remove the Get from nsStyleContext::GetStyleData and nsIFrame::GetStyleDataExternal, which never return null. r=dholbert 2013-02-16 13:51:03 -08:00
L. David Baron
5ef4421fa5 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
ed0e6eb8a7 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
8f3a364f1f 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
d3639f9b99 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
87cc2325b7 Bug 826072 - Dispatch Init() out of nsGonkCameraControl's constructor. r=mikeh 2013-02-16 14:05:45 -05:00
Daniel Holbert
35466de209 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
cb328f5188 Bug 807211 - annotate ownerdiscard.html as asserts(0-2), since it certainly does 2013-02-16 10:05:52 -08:00
Jonathan Watt
d5261e183b Bug 838256 - Reftests and crashtests for <input type=range>. r=dholbert. 2013-02-16 17:57:21 +00:00
Jonathan Watt
05055eec39 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
daa8624c27 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
e1f5f2da60 Bug 841873: Pref off CSS3 flexbox in release builds, by default. r=dbaron 2013-02-16 09:52:27 -08:00
Daniel Holbert
0f83a47917 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
d0683522a5 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
Ben Turner
2420d49609 Bug 835575 - 'PRemoteOpenFile could be more IPC-efficient'. r=jduell. 2013-02-07 13:06:58 +00:00
Peter Van der Beken
3aeea4ee9f Fix for bug 830342 (Scale combobox is broken in print-preview, after selecting "Custom" and then hitting "Cancel" on its spawned dialog). r=dolske.
--HG--
extra : rebase_source : 6c8804f960ac42e0773d4283637bf4073aeb408c
2013-01-17 12:16:33 +01:00
Peter Van der Beken
7e3e8c9052 Fix for bug 839529 (Remove various CC participants that don't do anything). r=smaug.
--HG--
extra : rebase_source : 8a272905c79396e7ae08aaaf83566ac450c45be0
2013-02-07 10:19:08 +00:00
Tetsuro Kato
df647d1fb7 Bug 835753 - Add 'const' to argument of IMPDManager::GetAdaptationSetType(). r=sworkman 2013-01-29 19:59:31 +09:00
Yura Zenevich
13a5f72d2b Bug 828204 - Make if DEBUG statements internal to LOG in osfile. Add new TEST flag for logging into Console.services. r=yoric 2013-02-16 10:40:15 -05:00
Ryan VanderMeulen
78f60cbe0f Merge m-c to inbound. 2013-02-16 10:40:13 -05:00
Alfred Kayser
8e467ae3b8 Bug 405407 - Merge nsDiskCacheStreamIO and nsDiskCacheStreamOutput (v10). r=michal.novotny 2013-02-16 15:50:09 +01:00
Ryan VanderMeulen
163b9cb9db Merge the last PGO-green inbound changeset to m-c. 2013-02-16 09:49:43 -05:00
Jonathan Watt
813e173161 Bug 836323 - Mochitest additions and changes for <input type=range>. r=mounir. 2013-02-16 12:36:02 +00:00
Jonathan Watt
9e8c9e0299 Bug 836314 - Implement the DOM pieces of <input type=range>. r=mounir. 2013-02-16 12:35:57 +00:00
ffxbld
16ae83f2d7 No bug, Automated blocklist update from host bld-linux64-ec2-635 - a=blocklist-update 2013-02-16 03:35:22 -08:00
Dão Gottwald
3b0a292ec3 Bug 841714 - Set the 'validate' attribute directly on tab-icon-image rather than inheriting it from the tab. r=gavin
--HG--
extra : rebase_source : 065499b0c59adc3c6e7483a6c1116f02e4eb3a34
2013-02-16 11:11:29 +01:00
Dão Gottwald
eadd0eab52 Bug 835953 - Remove browser-specific notification when a page releases webcam/microphone access. r=dolske
--HG--
extra : rebase_source : 69454e2461746853981e0de7161be62c08f25f1a
2013-02-16 11:10:41 +01:00
Dão Gottwald
496abf6d1a merge backout
--HG--
extra : rebase_source : cfe6765441f94a2ea9ffe63258f4fda7e0e47e67
2013-02-16 11:09:41 +01:00
Mounir Lamouri
5a8ed7a0d1 Bug 841828 - Show the appropriate cursor on disabled text fields. r=bz 2013-02-16 10:58:28 +00:00
Dão Gottwald
e50c80ea48 Backed out changeset 163daa0ef353 2013-02-16 11:09:30 +01:00
Ms2ger
231f353ea0 Merge backout on a CLOSED TREE. 2013-02-16 10:36:31 +01:00
Ms2ger
9247adf0cd Backout bug 828349, bug 835022 for robocop orange and exception from Tabs.getDisplayCount. 2013-02-16 10:36:05 +01:00
Cameron McCormack
14b0c65a60 Bug 841812 - Avoid crashing when changing attributes on an invalidly parented <textPath>. r=roc 2013-02-16 20:16:11 +11:00
Jeff Walden
260bb6eb9a 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
6f765043db Bug 835022 - Switch to correct tab when a tab is closed. r=mfinkle 2013-02-15 22:44:14 -08:00
Brian Nicholson
fe00e50ca9 Bug 828349 - Return the tab count of the current private state. r=mfinkle 2013-02-15 22:42:12 -08:00
Phil Ringnalda
abd02847e0 Backout 727072808d9f (bug 841836) for b2g mochitest-1 failures
--HG--
extra : rebase_source : 895209557393923f4be09c7418b044871cbb6a20
2013-02-15 21:57:05 -08:00
Boris Zbarsky
a41a8c62d4 Bug 822674 followup to disable this test on Android. r=jesup 2013-02-16 00:59:11 -05:00
L. David Baron
27b5ab689a 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
f3cff43ce7 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
35da9c845d 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
b387f0fbea 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
3b74dacf8b Bug 834120 - Table cell accessibles not exposed for CSS table without table-row, r=tbsaunde 2013-02-16 14:42:00 +09:00
Randell Jesup
dc49afa17d Bug 835953: front-end for disabling getUserMedia notification when page stops using it r=dolske 2013-02-15 19:54:30 -05:00
Randell Jesup
281c285c54 Bug 826044: enable WebRTC crashtests r=jsmith 2013-02-15 19:54:29 -05:00
John Ford
b87da98f92 Bug 839298 - One True JSON file of build information r=ted 2013-02-15 16:16:02 -08:00
Tanvi Vyas
647c8064e4 Bug 840641 - Missing Large Shield Icon from Mixed Content Doorhanger. r=dolske 2013-02-15 16:05:20 -08:00
David Dahl
49070311ef 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
0bfba29ba5 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
cb2e8d0515 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