Commit Graph

302168 Commits

Author SHA1 Message Date
Felipe Gomes
e5850e1705 Bug 1257242 - Improve RTL checks to actually check for RTL instead of using a hardcoded list. r=jimm a=lizzard
MozReview-Commit-ID: 5uBNCMooB6o
2016-03-16 17:31:31 -03:00
Felipe Gomes
42f4042d38 Bug 1257242 - Split the ::BrowserTabsRemoteAutostart() function into two parts, to allow for the blocking policies to be checked independently from the prefs checks. r=jimm a=lizzard IGNORE IDL
MozReview-Commit-ID: qlfYBvHfLI
2016-03-16 17:31:14 -03:00
Rail Aliiev
dd269151bd Bug 1258060 - tagging should not use DONTBUILD r=jlund a=release
MozReview-Commit-ID: AgyR3qV6Mmd
2016-03-18 23:05:57 -04:00
Andrzej Hunt
a63ff5fd9e Bug 1255335 - Ensure we can and should scale image before scaling. r=sebastian, a=ritu
We introduced the "if ((flags & FLAG_BYPASS_CACHE_WHEN_DOWNLOADING_ICONS) != 0)" check,
and direct Bitmap scaling in Bug 1238656 to avoid getting the cached icon (which results
in downscaling) for apple-touch-icons (or just any icon that we're using for homescreen shortcuts).
However we need to make sure we can actually scale the icon before performing scaling, hence
this check should have been within our pre-existing "if (image_params_are_valid)" clause.

MozReview-Commit-ID: 4RdHmEia5FR
2016-03-10 22:50:20 -08:00
Jonathan Kew
84ef4e27e3 Bug 1255158 - Update graphite2 library to release 1.3.7. r=jdaggett, a=lizzard 2016-03-15 07:53:04 +00:00
Marco Bonardo
26d6e60222 Bug 1252074 - test_form_autocomplete.html and test_form_autocomplete_with_list.html should pass on e10s. r=paolo, a=ritu
IGNORE IDL

MozReview-Commit-ID: CISKztr4p4N
2016-03-02 14:34:38 +01:00
Ryan VanderMeulen
c9e5b950ac Backed out changeset 292bc13fdc7f (bug 1164432) for test_try_registering_offline_disabled.html timeouts. 2016-03-19 13:45:42 -04:00
Marcos Caceres
e76ca264bd Bug 1176824 - Intermittent browser_test_web_manifest.js. r=ckerschb, a=test-only 2016-03-16 16:07:00 +01:00
James Graham
f3fabc419e Bug 1215812 - Increase the internal timeout for a test that depends on a window opening. r=Ms2ger, a=test-only
MozReview-Commit-ID: HzNYyHiehbU
2016-03-08 16:24:00 +00:00
Ryan VanderMeulen
275d4a97bc Bug 1257708 - Move dom/push/test back into mochitest-plain instead of a separate test suite. r=ahal, a=test-only 2016-03-19 11:02:04 -04:00
William Chen
3c7b3c8326 Bug 1164432 - Update test_try_registering_offline_disabled.html to use mock push server. r=kitcambridge, a=test-only 2016-03-19 00:35:57 -07:00
William Chen
a3d8e5de7b Bug 1244816 - Create PushService mock for mochitests backed by a mock web socket. r=kitcambridge, a=test-only 2016-03-17 17:11:22 -07:00
Ryan VanderMeulen
b8c0b9f42b Bug 1255176 - Add more chunks to Android mochitest-gl. r=rail, a=test-only 2016-03-19 11:02:16 -04:00
Ryan VanderMeulen
577a7b1f20 Bug 1239552 - Disable some tests that are permafail in e10s mode with RELEASE_BUILD set. a=test-only 2016-01-20 16:35:27 -05:00
Maja Frydrychowicz
b6a5321bc9 Bug 1253618 - Support |skip-if = asan| manifest annotations in Marionette runner. r=automatedtester, a=test-only
Obtain build info, including asan status, by looking up mozinfo.json.

MozReview-Commit-ID: 8XWMGtBEbKL
2016-03-14 11:24:58 -04:00
Maja Frydrychowicz
217d3a595b Bug 1253618 - Add support for |skip-if = e10s| manifest annotations in Marionette runner. r=automatedtester, a=test-only
MozReview-Commit-ID: ApTPQNa2R1c
2016-03-09 16:04:02 -05:00
Maja Frydrychowicz
3bb91b4e21 Bug 1255196 - Include mozinfo.json in common.tests.zip. r=gps, a=test-only
MozReview-Commit-ID: BJnXphkKJFy
2016-03-10 15:44:59 -05:00
Gijs Kruitbosch
8768979fc0 Bug 1167896 - attempt to fix intermittent failures in browser_tabs_close_beforeunload.js, rs=test-only,a=test-only
MozReview-Commit-ID: HYoRGdy12qk
2016-03-16 19:31:53 +00:00
Kartikaya Gupta
0dffedd9b8 Bug 1257181 - Re-enable APZ on beta. r=felipe a=lizzard
MozReview-Commit-ID: L3jWfz6r5ff
2016-03-18 21:30:24 -04:00
Decky Coss
fca845441a Bug 1142212 - import skip_if_b2g from marionette instead of marionette.marionette_test; r=maja_zf a=test-only
MozReview-Commit-ID: D2mW2A8cViA
2016-03-11 15:35:44 -07:00
Andreas Tolfsen
252f57037b Bug 1257523 - Remove unused imports; r=automatedtester a=test-only
MozReview-Commit-ID: K12laAg8zLy
2016-03-17 14:29:41 +00:00
Andreas Tolfsen
7874aae1e0 Bug 1257523 - Remove GeckoDriver#deleteFile; r=automatedtester a=test-only
MozReview-Commit-ID: 7kOZ5hVC5He
2016-03-17 14:26:57 +00:00
Nathalie Rud
212c27828a Bug 1256973. Simplify assignment to result_callbacks; r=maja_zf a=test-only
MozReview-Commit-ID: GXkUNhpI6Wf
2016-03-16 00:10:49 +02:00
Andreas Tolfsen
3bb3727a05 Bug 1257153 - Cancel implicit wait timers on rejection; r=automatedtester a=test-only
This fixes a leak where timers were not cancelled upon promise rejection.
When the function passed to implicitlyWaitFor is rejected for not finding
elements after the timeout has elapsed, the elementSearch callback is
no longer called because the timer is cancelled when it calls reject().

MozReview-Commit-ID: FR2iA8s1NjX
2016-03-16 12:27:36 +00:00
Nathalie Rud
24f983c263 Bug 1256978. Use self.capabilities instead of self._capabilities in BaseMarionetteTestRunner; r=maja_zf a=test-only
MozReview-Commit-ID: 9ZCOLKae6rt
2016-03-16 01:40:21 +02:00
Kim Brown
e0ea232b3a Bug 1130979 - Added ANON constant to By class and changed hard-coded values in test file; r=maja_zf a=test-only
MozReview-Commit-ID: AOsb6l9UpVR
2016-03-12 13:32:46 -05:00
Kim Brown
7b35bebe72 Bug 1130979 - Changed hard-coded values to constants from By; r=maja_zf a=test-only
MozReview-Commit-ID: IqVyYQSCT3J
2016-03-11 22:22:36 -05:00
Henrik Skupin
f662470775 Bug 1256439 - Run implicit wait callback once before start polling. r=automatedtester a=test-only
By using a timer the first invocation of the callback is happening after the specified interval.
That means by a default of 100ms we loose that time on every call of implicit wait, and it will
slow-down the test execution drastically. To prevent this lets manually invoke the callback
before starting the timer.

MozReview-Commit-ID: Ayy1GPEaY92
2016-03-15 14:38:32 +01:00
Andreas Tolfsen
b94edebe20 Bug 1254523 - Convert modal.Dialog to a class; r=automatedtester a=test-only
MozReview-Commit-ID: DmC472jSsdi
2016-03-08 14:10:32 +00:00
Andreas Tolfsen
15f1c9bf0b Bug 1254523 - Use constants for Cu and isFirefox; r=automatedtester a=test-only
MozReview-Commit-ID: IegkoO86uWP
2016-03-08 13:59:54 +00:00
Jean-Yves Avenard
b75f173ff3 Bug 1254721: Ensure consistency between Cenc offsets and sizes table. r=gerald a=lizzard
MozReview-Commit-ID: E1KbKIIBR87
2016-03-15 16:34:33 +11:00
Ryan VanderMeulen
9db5828ce6 Revert bug 1252630 because it proved to be way more hassle than it's worth. a=test-only 2016-03-18 14:21:12 -04:00
Margaret Leibovic
5eadc4a363 Bug 1253598 - Put offline cache feature behind a switchboard flag. r=sebastian, a=lizzard
MozReview-Commit-ID: 2g0JKBopIDB
2016-03-10 15:31:30 -05:00
Shane Caraveo
dea5bce898 Bug 1255824 - fix hidden state on startup when pocket button not available, r=gijs, a=lizzard 2016-03-14 10:36:52 -07:00
Ben Kelly
6d229f7e81 Bug 1256411 Simplify and cleanup ServiceWorkerInfo. r=ehsan, a=ritu 2016-03-15 07:29:56 -07:00
Andrea Marchesini
9b1f2ed1b6 Bug 1254730 - patch 2 - Better comments and a better management of lifetime of ChannelEvents, r=michal, a=ritu 2016-03-14 18:46:22 +01:00
Andrea Marchesini
4a304f9f0d Bug 1254730 - ChannelEventQueue must be thread-safe, r=michal, a=ritu 2016-03-14 17:10:26 +01:00
Chenxia Liu
f8809c337c Bug 1254944 - Move changes to generated ThemedImageButton to generator script. r=grisha, a=ritu
MozReview-Commit-ID: Gsnyf1CYE2e
2016-03-09 10:48:02 -08:00
Chenxia Liu
34205761de Bug 1249418 - Update illustration image of Sync slide. r=ahunt, a=ritu
MozReview-Commit-ID: LW5SgnnkA95
2016-03-15 12:30:09 -07:00
Jim Chen
26cd334498 Bug 1254629 - Ensure content root is in document when flushing IME changes; r=esawin, a=lizzard
One work-around for the bug is to ensure that our content root is in a
document when flushing IME changes, because when an input becomes
hidden, the previous content root is removed from the document.
2016-03-11 13:47:22 -05:00
Aaron Klotz
36bb717e92 Bug 1256943 - Ensure that BLOCKED_ON_PLUGIN_MODULE_INIT_MS is being recorded in e10s chrome; r=jimm, a=lizzard
I also add some missing data to the content version, namely the duration of time that ContentParent::SendLoadPlugin takes.

MozReview-Commit-ID: 8qSZopvY1D7
2016-03-15 14:04:34 -06:00
David Anderson
97fa58010a Bug 1256371 - Disable the WebGL crash guard on Android. (bug 1256371, r=snorp). r=snorp, a=sylvestre 2016-03-15 13:24:22 -04:00
Jeff Beatty
95fc73c498 Bug 1254997 - Adds cak locale to browser/locales/all-locales. r=flod, a=ritu 2016-03-09 06:46:00 +01:00
Markus Stange
f0caad65e4 Bug 1247854 - Apply the correct scroll clips to the nsDisplayTransform and nsDisplayPerspective of a scrolled perspective item. r=mattwoodrow a=ritu
I've decided to fix this in a very explicit way. The only "magic" part that's
left is how we decide that the AGR of the perspective item is outside the
scrolled frame (and I'm not sure myself how that works).

I didn't want to change what scroll clips we set on what items, because the
scroll clip really belongs on the perspective item, because that's the item
that needs to be clipped, and it should also be the item that should be
scrolled if it weren't for the fact that APZ wouldn't know that it should
apply the perspective transform before the APZ transform.

MozReview-Commit-ID: BBw8VPohQI4
2016-02-26 01:29:41 +01:00
Markus Stange
d34ce692fb Bug 1238564 - Get rid of cross stacking context parent scroll clip. r=mattwoodrow a=lizzard
MozReview-Commit-ID: JthSGAb5Kp3
2016-03-04 14:49:35 -05:00
Markus Stange
a1cc632db8 Bug 1238564 - Don't do another pass over the display list to figure out ancestor scroll clips. r=mattwoodrow a=lizzard
MozReview-Commit-ID: BgySqVGG43R
2016-03-05 11:27:54 -05:00
Markus Stange
c2ff470d9c Bug 1238564 - Include mIsAsyncScrollable information in DisplayItemScrollClip::ToString. r=roc a=lizzard
MozReview-Commit-ID: 7R38KtIjM5q
2016-02-24 16:23:32 +01:00
Markus Stange
3a03c6a99a Bug 1238564 - When building a fixed/sticky display item, don't restore the clip until we're ready to build that item so that inner items aren't unnecessarily clipped. r=roc a=lizzard
This isn't really about regular clips, it's about scroll clips. If the inner
item has an unnecessary scroll clip (one that's already on the parent), this can
cause the inner item's bounds to be larger than necessary because, after the
first patch in bug 1238564, it will include the whole bounds of async-scrollable
scroll frames.
Also, if e.g. the inner item is an opacity item, and it has a scroll clip that's
not just the innermost ancestor scroll clip of all of its children, then
FrameLayerBuilder's mContainerBounds == mAccumulatedChildBounds assertion can
fail if the opacity item gets flattened away, because the child bounds won't
have been enlarged for the scroll clip.

There must be a better way to do the clip resetting in
nsFrame::BuildDisplayListForStackingContext - the code is not pretty at all.
But I'd rather get the tests passing first before we figure out how to clean it
up.

MozReview-Commit-ID: E1DdpN546va
2016-02-23 18:22:21 +01:00
Markus Stange
cdf7d26af8 Bug 1238564 - Set the innermost possible scroll clip on opacity items during creation. r=mattwoodrow a=lizzard
Always use an ancestor scroll clip of all direct children, or the original
scroll clip if the children don't share the same scroll clip tree.
Unfortunately this requires another pass over the stacking context display list.

Also, fix clips, scroll clips and creation order of blend items:
If a clipped mix-blend-mode item contains absolute / fixed positioned items,
those items should not be clipped, same for blend container items.
When a transform item contains blend modes, create the blend container inside
the transform.

Don't do tree comparisons on scroll clips from different scroll clip trees.
If the inner scroll clip is nullptr, because it was cleared, it will look like
it's the ancestor of the outer non-nullptr scroll clip.

These changes don't look very related, but it was very hard to get tests passing
with only some of the changes and not the others, and after having spent two
weeks on this patch I'm not thrilled about going back and checking exactly which
change was necessary to fix which test failure.

MozReview-Commit-ID: IKGciUBrdNa
2016-03-04 15:05:58 -05:00
Markus Stange
8625859c6f Bug 1238564 - Allow constructing nsDisplayWrapList with a given scroll clip. r=roc a=lizzard
MozReview-Commit-ID: 59FqPndU9mr
2016-02-26 13:38:12 +01:00