Commit Graph

382450 Commits

Author SHA1 Message Date
Bill McCloskey
8db73fa93d Bug 1047076 - Disable e10s on Nightly if Accessibility is enabled (r=felipe) 2014-09-13 11:20:16 -07:00
Phil Ringnalda
f3779e27ad Merge m-c to m-i 2014-09-13 10:12:15 -07:00
Phil Ringnalda
b624d936aa Merge b-i to m-c 2014-09-13 09:59:06 -07:00
Phil Ringnalda
103f1abf22 Merge m-i to m-c, a=merge 2014-09-13 09:28:33 -07:00
Ben Turner
1a91d40956 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00
L. David Baron
657fde68cc Bug 575675 - Remove assertion about aRelevantLinkVisited that isn't needed, and assumes that all link elements are styled with a style sheet that has :visited rules. r=bzbarsky 2014-09-13 06:17:37 -07:00
L. David Baron
1d4505fd18 Bug 977991 patch 7 - Use the faster eRestyle_SVGAttrAnimations hint from bug 1058346 for SMIL-animated SVG attribute changes. r=birtles
This couldn't be done in bug 1058346 because it depends on patch 5 in this bug.
2014-09-13 06:17:37 -07:00
L. David Baron
916454e5cd Bug 977991 patch 6 - Use the faster eRestyle_StyleAttribute path for style attribute changes. r=birtles 2014-09-13 06:17:37 -07:00
L. David Baron
4f6e5fae3b Bug 977991 patch 5 - Add eRestyle_ChangeAnimationPhase to switch between the with-animation and without-animation styles. r=birtles
This is an additional bit on nsRestyleHint that says that the restyling
operation should also perform all the work needed to switch between
style-without-animation and style-with-animation (based on
nsPresContext::IsProcessingAnimationStyleChange).  These concepts will
go away in bug 960465.

Note that we don't want this behavior for the animation-only style
update code (bug 996796, etc.), and I wanted to make this explicit so
that it was clear when it was happening, and so that it was clear what
code should be removed when we git rid of it.

This is the workaround needed to land bug 977991 prior to bug 960465.
(I think there's also a minor dependency in the other direction, so we
need a workaround one way or the other.)

Note that this depends on bug 1057231.
2014-09-13 06:17:37 -07:00
L. David Baron
0b5209fe1d Bug 977991 patch 4 - Ensure we don't try to use the style attribute optimization on pseudo-elements. r=birtles
This is needed because patch 1 and patch 3 did not add a mechanism that
allows restyling pseudo-elements, which would be substantially more work
and very little use (since the only case in which they have style
attributes is for our internal use on the ::-moz-color-swatch
pseudo-element).

RestyleUndisplayedChildren does not need the same fix because it's only
used on elements, and never on pseudo-elements or anonymous boxes.
2014-09-13 06:17:36 -07:00
L. David Baron
cf461aae31 Bug 977991 patch 3 - Add ability for RuleNodeWithReplacement to replace the style attribute rule and its important rule. r=birtles
This allows posting a restyle that says that only the rule(s) from the
StyleAttrSheet cascade level will be replaced, which avoids running
selector matching.

Part 4 will ensure that we only invoke this code for element styles (and
not pseudo-element or anonymous box styles).  Despite that, I prefer
having the runtime check here as well given that it's a very simple way
to ensure we don't do something silly that might have security
implications.
2014-09-13 06:17:36 -07:00
L. David Baron
771a48f9ed Bug 977991 patch 2 - Add mCheckForImportantRules to the information nsStyleSet::RuleNodeWithReplacement keeps about cascade levels. r=birtles
This is needed to support doing replacements of levels that can contain
important rules, which will happen in patch 3.
2014-09-13 06:17:36 -07:00
L. David Baron
9fc7885297 Bug 977991 patch 1 - Expose variant of RulesMatching on nsHTMLCSSStyleSheet that is less work to call. r=birtles
This allows nsStyleSet::RuleNodeWithReplacement to call it without
constructing an entire (and unnecessary) ElementRuleProcessorData, which
will happen in patch 3.
2014-09-13 06:17:36 -07:00
L. David Baron
a4fd946d3e Bug 977991 patch 0 - Add bitwise operators to nsRestyleHint. r=birtles
This avoids having to cast back to nsRestyleHint after using bitwise
operators, and allows |= (etc.).

(In the future we should consider converting nsRestyleHint, and probably
also nsChangeHint, to use MOZ_MAKE_ENUM_CLASS_BITWISE_OPERATORS.)
2014-09-13 06:17:36 -07:00
L. David Baron
80f5a01d0c Bug 1058346 patch 2 - Add eRestyle_SVGAttrAnimations and support it in nsStyleSet::RuleNodeWithReplacement. r=birtles
This allows posting a restyle that says that only the rule(s) from the
SVGAttrAnimationSheet cascade level will be replaced, which avoids running
selector matching.

This is needed to land bug 977991 prior to landing bug 960465, since
that requires replacing all levels that contain animations.

(I'll rename this to match the name determined in bug 1057231.)
2014-09-13 06:17:35 -07:00
L. David Baron
87487f1ab0 Bug 1058346 patch 1 - Expose a simpler variant of RulesMatching from SVGAttrAnimationRuleProcessor. r=birtles
This allows nsStyleSet::RuleNodeWithReplacement to call it without
constructing an entire (and unnecessary) ElementRuleProcessorData, which
will happen in patch 2.
2014-09-13 06:17:35 -07:00
L. David Baron
1f9790d467 Bug 1057231 patch 4 - Move SVG Attribute Animation rules from the pres hint level to their own cascade level. r=dholbert
This is only a very slight reordering of their position in the cascade,
since they were previously walked at the end of
nsSVGElement::WalkContentStyleRules, which was called near the end of
nsHTMLStyleSheet::RulesMatching.  So the only change should be that they
now take priority over the xml:lang rule added by nsHTMLStyleSheet, a
rule with which they do not interact.
2014-09-13 06:17:35 -07:00
L. David Baron
5c924eff08 Bug 1057231 patch 3 - Add new cascade level for rules from SMIL Animation of SVG attributes to the style set. r=dholbert
I will fix the indentation of gCascadeLevels in bug 977991 patch 2,
which adds a member to each element of the array.

Note that this bumps the maximum sheetType from 8 to 9 (and number of
them from 9 to 10), which does not require updating
NS_RULE_NODE_LEVEL_MASK, since NS_RULE_NODE_LEVEL_MASK currently has 4
bits and allows a maximum of 15.
2014-09-13 06:17:35 -07:00
L. David Baron
0901b41cd7 Bug 1057231 patch 2 - Add SVG Attribute Animation rule processor to the document. r=dholbert 2014-09-13 06:17:35 -07:00
L. David Baron
02e1286d9a Bug 1057231 patch 1 - Add a rule processor class for rules from SMIL Animation of SVG attributes. r=dholbert
This patch series (to move SVG Animation rules to their own level of the
cascade) is needed so that they can participate in the mechanism for
updating only animation styles to the present time without touching any
other styles.

In theory, this should have been done as part of 996796 or even as part
of prior work on off main thread animations, except that it doesn't seem
possible to have SVG Animations and CSS Transitions interacting on the
same element and have that element's style out of date, which means it
wasn't necessary for the existing code to update only animation styles.

However, bug 960465 will use this similar mechanism as the new mechanism
for making sure transitions start in a reasonable way (replacing the
mechanism of phases, going from style without animation to style with
animation via nsPresContext::IsProcessingAnimationStyleChange).  This
will require that, for SVG Animations to continue interacting correctly
with CSS Transitions, that they have their own cascade level so that
they can participate in RestyleManager::UpdateOnlyAnimationStyles.

Additionally, this is needed even sooner, for bug 977991, which needs
(temporarily, until bug 960465 lands) a mechanism for updating the style
attribute style *and* all animation-phase-dependent styles.

Yes, it's a little bit annoying to have to have another class, and
another object per-document for this, but that's currently what comes
with being a level of the cascade.  But it's one class and one object
per document, and I believe there will be substantial benefits to having
all rule processor levels be only-animation-related or
not-animation-related (except for the style attribute level, which is
simple enough that it isn't needed yet).
2014-09-13 06:17:34 -07:00
L. David Baron
4039f06695 Bug 1066911 - Allow eRestyle_Force{,Descendants} in RuleNodeWithReplacement. r=heycam
This is fine since the assertion is just checking that we're not calling
RuleNodeWithReplacement in cases when stronger restyling (i.e.,
restyling that does more work) is needed; the new eRestyle_Force and
eRestyle_ForceDescendants flags control whether we restyle at all.

This probably should have been done in bug 931668 (since bug 996796
landed before bug 931668, although not before the patches were written),
but it doesn't actually show up in our test suite until bug 977991 (or
maybe slightly earlier in bug 1057231 or bug 1058346).
2014-09-13 06:17:34 -07:00
B2G Bumper Bot
9101564cd5 Bumping manifests a=b2g-bump 2014-09-13 02:47:00 -07:00
B2G Bumper Bot
e8a1159dcd Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/90c5e3b6bc76
Author: Etienne Segonzac <etienne@segonzac.info>
Desc: Bug 1066607 - Use the BrowserConfigHelper for new tabs to fix the missing origin issues. r=daleharvey
2014-09-13 02:40:46 -07:00
B2G Bumper Bot
41ce98258b Bumping manifests a=b2g-bump 2014-09-13 01:42:32 -07:00
Fabrice Desré
598dde0f12 Bug 1065848 - Only load AccessFu.jsm when we really need it. r=eeejay 2014-09-12 15:38:49 -07:00
B2G Bumper Bot
6791d4e874 Bumping manifests a=b2g-bump 2014-09-12 19:47:50 -07:00
B2G Bumper Bot
4607b94d4d Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/73ef21ab0b3f
Author: Vivien Nicolas <vnicolas@mozilla.com>
Desc: Bug 1063740 - Home screen is shown in landscape mode when canceling out of search app. r=kgrandon
2014-09-12 19:45:52 -07:00
B2G Bumper Bot
90db44bdad Bumping manifests a=b2g-bump 2014-09-12 11:41:58 -07:00
B2G Bumper Bot
270e06a7fb Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/f619446b069a
Author: Marshall Culpepper <marshall.law@gmail.com>
Desc: Merge pull request #23872 from marshall/bug1054121_fteAnalyticsString

Bug 1054121: Update wording and layout of Data Sharing FTU screen

========

https://hg.mozilla.org/integration/gaia-central/rev/3f6027ea7145
Author: Marshall Culpepper <marshall@mozilla.com>
Desc: Bug 1054121: Update wording and layout of Data Sharing FTU screen. r=sfoster r=Pike
2014-09-12 11:35:47 -07:00
B2G Bumper Bot
ad6b6d7596 Bumping manifests a=b2g-bump 2014-09-12 11:02:05 -07:00
Antonio M. Amaya
e741cf1dac Bug 1066543 - Add MS_VERBOSE to the remount options in the updater automounter. r=marshall_law 2014-09-12 10:33:00 -04:00
Arpad Borsos
c8e9a77bbb Bug 1066414 - fix destructuring rest in for-in; r=jorendorff
--HG--
extra : rebase_source : 61f1adbdbb61d549cac2bdd58cfcd9028c72b6f0
extra : amend_source : 0228ac500718a1eec87094a077724fbb629a9f14
2014-09-12 11:07:30 +02:00
Phil Ringnalda
cd2bdef563 Back out 0529fb43bd5f (bug 1047076) for bustage on a CLOSED TREE 2014-09-12 18:25:35 -07:00
Bobby Holley
fae198c443 Bug 1052096 - Tests. r=billm 2014-09-12 17:41:19 -07:00
Bobby Holley
9a78656a76 Bug 1052096 - Add an API to access the 'Location' string (used by memory reporters) of a compartment. r=billm 2014-09-12 17:41:18 -07:00
Bobby Holley
2a5e5e2d96 Bug 1052096 - Move CPOW targets into the privileged/unprivileged junk scope of the child/parent. r=billm 2014-09-12 17:41:18 -07:00
Bobby Holley
048a4d28f5 Bug 1052096 - Move CPOWs into the privileged junk scope. r=billm 2014-09-12 17:41:18 -07:00
Bill McCloskey
e3f917161b Bug 1047076 - Disable e10s if a11y is enabled (r=felipe) 2014-09-12 17:37:11 -07:00
Shinuk Lee
268fba2548 Bug 1065866 - Abort StartRecording while previous call is in progress. r=mikeh 2014-09-11 21:55:00 -04:00
Erik Vold
d3d9b5a320 Bug 1037235 - toolkit/loader doesn't check module compatibility r=Mossop 2014-09-09 18:33:55 -07:00
Mark Finkle
e982228691 Bug 1020564 - Fix a bad rebase r=me 2014-09-12 22:46:39 -04:00
Michael Comella
fa7e0a7242 Bug 1065712 - Move new_tablet_* resources to *large* directories. r=mhaigh
--HG--
rename : mobile/android/base/resources/color/new_tablet_tab_strip_item_title.xml => mobile/android/base/resources/color-large-v11/new_tablet_tab_strip_item_title.xml
rename : mobile/android/base/resources/drawable-hdpi/new_tablet_tabs_count.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/resources/drawable-hdpi/new_tablet_tabs_count_foreground.png => mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/resources/drawable-mdpi/new_tablet_tabs_count.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/resources/drawable-mdpi/new_tablet_tabs_count_foreground.png => mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/resources/drawable/new_tablet_tab_strip_divider.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_divider.xml
rename : mobile/android/base/resources/drawable/new_tablet_tab_strip_item_bg.xml => mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_item_bg.xml
rename : mobile/android/base/resources/drawable-xhdpi/new_tablet_tabs_count.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/resources/drawable-xhdpi/new_tablet_tabs_count_foreground.png => mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/resources/layout/new_tablet_tab_strip.xml => mobile/android/base/resources/layout-large-v11/new_tablet_tab_strip.xml
rename : mobile/android/base/resources/layout/new_tablet_tabs_counter.xml => mobile/android/base/resources/layout-large-v11/new_tablet_tabs_counter.xml
2014-09-12 18:28:05 -07:00
Mark Finkle
a498cb084d Bug 1058384 - Switch to a unique ID when registering targets r=wesj 2014-09-12 20:56:42 -04:00
Mark Finkle
59ab090291 Bug 1020564 - Change SSDP 'target' references to 'device' to cut down on confusing concepts r=wesj 2014-09-12 20:55:00 -04:00
Chenxia Liu
56bd8c35bd Bug 1059827 - [7" Tablet] First-run window navigation buttons are hidden in landscape. r=wesj 2014-09-12 17:12:33 -07:00
Chenxia Liu
15accfcf63 Bug 1062257 - Handle HomeFragment deletions by panel/type instead of universally. r=margaret 2014-09-12 17:12:33 -07:00
Mike Conley
178692e841 Bug 1047603 - [e10s] Follow-up to disable test for Linux until OMTC is enabled by default. rs=dholbert on a CLOSED TREE.
--HG--
extra : rebase_source : 6ff1875d4df4c6451e1aa4fd1205e32cc5e2a64c
extra : histedit_source : a7b120d39b38b936325908b28ac1ea4ea68a15ae
2014-09-12 17:56:06 -04:00
Alexandre Lissy
08085316b8 Bug 1053185 - Fix preferences installation and packaging for Mulet. r=mshal
Due to the way preferences are read, we need to have firefox.js and
b2g.js to be living together in the same directory, as exposed in bug
1053185 comment 7. Doing so will ensure that the proper precedence is
given to the pref and in the end we ensure that the preferences we
redefine in b2g.js indeed overwrite those defined by firefox.js. To do
so, we need to define DIST_SUBDIR to browser for Mulet so that rules.mk
will pick up the proper preferences directory. We also have to make sure
that the B2G-specifics preferences are properly packaged otherwise the
redistribuable tarball will not boot Gaia at all.
2014-09-09 05:09:00 -04:00
B2G Bumper Bot
786c037ad8 Bumping manifests a=b2g-bump 2014-09-12 10:02:35 -07:00
B2G Bumper Bot
a7238568a4 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/0fe32fdacd50
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #23866 from KevinGrandon/bug_1033468_vhome_smooth_scroll

Bug 1033468 - [VerticalHomescreen] Implement smooth scrolling behavior for scroll-to-top 2*r=Cwiiis

========

https://hg.mozilla.org/integration/gaia-central/rev/6d5b22cbae0b
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1033468 - [VerticalHomescreen] Implement smooth scrolling behavior for scroll-to-top 2*r=Cwiiis
2014-09-12 10:00:47 -07:00