Commit Graph

262996 Commits

Author SHA1 Message Date
Jamie Nicol
f49f7a7845 Bug 1200729 - Recompute FrameLayerBuilder item visibility if dirty region changes. r=mwoodrow
Make the FrameLayerBuilder remember for what region it has calculated
display item visibility, then recompute the visibility whenever the
dirty region it is passed to DrawPaintedLayer changes.

This means that the caller does not have to know the entire dirty region
that will be drawn for the transaction, but we can still optimise cases
where it knows some of the dirty region in advance.

This fixes a regression where MultiTiledContentClient's low-res display
port would not be painted if a smaller region of its high-res buffer had
already been painted that transaction, since the FrameLayerBuilder
had decided that most of the larger low-res region was invisible.
2015-09-15 14:41:42 +01:00
Dylan Roeh
21d90bf297 Bug 1189881 - Move GeckoJavaSampler::getProfilerTime out of AndroidJNI.cpp. r=jchen 2015-09-15 11:54:56 -05:00
Mike Conley
6c4dfd053e Bug 1189554 - Make Saved Passwords dialog resizable on Windows again. r=smaug
We were accidentally overwriting chromeFlags with CHROME_DEFAULT, which
we should only do if the caller has provided a features string when
opening a dialog.
2015-09-15 16:33:36 -04:00
Marcos Caceres
1819dd4f55 Bug 1169633 - [Browser API] getWebManifest(). r=kanru, r=bholley 2015-09-16 06:55:00 +02:00
hchang
fb2b8869b7 Bug 1163254 - Add signedPkg to OriginAttributes. r=bholley 2015-09-16 19:42:00 +02:00
Thinker K.F. Li
b33806dfa4 Bug 1097464 - Part 6 - Handle preserves-3d by compositor. r=roc
Remove WrapPreserve3DList() and replaced it by creating a
nsDisplayTransform item for each transformed frame.

 - Add an additional item for each top frame extending 3D context to
   separate consequence contexts.

 - Effective transform of a layer is the accumulation of ancestors in
   the same 3D context.

 - The layers creating new context and extended by children need a
   temporary buffer if it's effective transform is not 2D.

 - Clip rects are accumulated along the context chain.

 - Visible rects of items are computed from dirty regions of the frame
   creating the context and accumulated transforms.

 - Bounds of items are computed from accumulated transforms and
   accumulated bounds of the descent frames.

 - Backface hidden is handled by compositor and BasicLayerManager.
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
929909ec32 Bug 1097464 - Part 5 - Fix preserve3d wording for nsIFrame. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
e61d312ba8 Bug 1097464 - Part 4 - Fix preserve3d wording for layer flags. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
3fc7eb479f Bug 1097464 - Part 3 - Fix and add reftests. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
0deda0edcd Bug 1097464 - Part 2 - Snap translation for 3d transforms. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
d4772154e6 Bug 1097464 - Part 1 - Remove Z value from 3D transforms for D3D9. r=roc,matt.woodrow 2015-09-17 03:31:00 +02:00
Olli Pettay
d85f6117d5 Bug 1205466, make HasApzAwareListeners check faster, r=masayuki 2015-09-17 13:16:20 +03:00
Andreas Tolfsen
688c48fefe Bug 1203074: Move caret to end of textual input field before sending keys
When a TEXTAREA element is focused it returns the cursor to the last
position was at, or places it last.  INPUT @type="text" (or any other
textual input element) places the caret at the beginning.  Because of
this we move the caret to the end of the input field.  The next time
the element is focussed, the cursor should move to the end.

The layout touch caret tests relied on the caret being left in its
previous position.  This patch addresses that by using the advanced user
interaction API for these test cases.

r=jgriffin
2015-09-09 14:53:53 +01:00
Carsten "Tomcat" Book
6fca7db4d8 Backed out 4 changesets (bug 914481) for xpc and push service test failures
Backed out changeset 6165f6eba17f (bug 914481)
Backed out changeset a8c47e9431d0 (bug 914481)
Backed out changeset f03e8c42861e (bug 914481)
Backed out changeset 84b11173d98f (bug 914481)
2015-09-17 12:31:49 +02:00
James Graham
1199a9203a Bug 1194166 - Update unittest mozconfigs for all platforms, r=chmanchester,jlund 2015-09-17 10:51:06 +01:00
James Graham
5301bd7761 Bug 1193257 - Make xpcshell harness command line arguments path filters for tests, r=ahal 2015-09-17 10:51:02 +01:00
James Graham
2dda4d11ae Bug 1193224 - Remove vestigial --tests-root-dir option from xpcshell tests, r=ahal 2015-09-17 10:51:00 +01:00
James Graham
a00f447411 Bug 1198257 - Better support for providing a directory name and discovering reftests under that directory, r=jmaher 2015-09-17 10:50:59 +01:00
James Graham
e267ef4989 Bug 1193223 - Add reftest support to mach test, r=chmanchester 2015-09-17 10:50:57 +01:00
James Graham
af13c2bae8 Bug 1181516 - Allow reftests to take paths to multiple directories containing tests on the command line, r=jmaher
This makes reftest command line arguments behave more like other test suites,
so we can use a simple unified syntax for e.g. |mach try|. The patch also
reworks the command line argument parsing to use argparse rather than optparse,
and causes mach to reuse the same parser as the suite.
2015-09-17 10:50:55 +01:00
James Graham
38ba879b87 Bug 1181520 - Remove support for passing in reftest arguments via the command line, r=jmaher
This unifies how reftests are invoked across desktop and
mobile, and paves the way for introducing more complex
datatypes that are unreasonable to express on the
command line.
2015-09-17 10:50:53 +01:00
Cameron McCormack
b8d5c9362d Bug 1205486 - Release the ImageValues in an nsStyleContext's CSSVariableImageTable entries outside of hashtable methods to avoid re-entrancy problems. r=seth 2015-09-17 15:27:02 +10:00
Nicolas Silva
42584485e0 Bug 1156182 - Prevent widgets from creating a LayerManager during shutdown. r=sotaro 2015-09-15 17:58:06 +02:00
Jonathan Kew
8ac28d5971 Bug 1193518 - Ensure that when we update a WritingMode after resolving dir=auto, we set the inline-dir bit appropriately as well as the inline-bidi bit. r=dholbert 2015-09-17 09:53:49 +01:00
Hiroyuki Ikezoe
7e0a2ec8a8 Bug 1151694 - Part 6 - A test case of Animation.isRunningOnCompositor for transition. r=bbirtles 2015-09-15 16:50:00 +02:00
Hiroyuki Ikezoe
39ad6d146b Bug 1151694 - Part 5 - Additional tests for Animation.IsRunningOnCompositor. r=bbirtles 2015-09-15 16:49:00 +02:00
Hiroyuki Ikezoe
051cb231be Bug 1151694 - Part 4 - Able to use testcommon.js in the window which has no opener. r=bbirtles 2015-09-10 19:17:00 +02:00
Hiroyuki Ikezoe
c381967391 Bug 1151694 - Part 3: Manage mIsRunningOnCompositor flags for each properties respectively. r=bbirtles 2015-09-16 16:05:00 +02:00
Michael Froman
3adfd53669 Bug 1095793 - use mid if provided to place candidate in msection. r=bwc 2015-09-10 13:20:09 -05:00
Dragana Damjanovic
35c5f57949 Bug 1027579 - Do not load fonts from the cache if LOAD_BYPASS_CACHE is set. r=jfkthame r=bz 2015-09-16 04:46:00 +02:00
Nikhil Marathe
fce63768c0 Bug 914481 - Patch 4 - Track why we fail to deliver notifications to Service Workers. r=kitcambridge 2015-08-06 16:59:35 -07:00
Nikhil Marathe
cf4dad9cc3 Bug 914481 - Patch 3 - Subscription and quota expiration times. r=kitcambridge, p=ally 2015-08-06 12:05:47 -07:00
Nikhil Marathe
7aca59bcef Bug 914481 - Patch 2 - Track subscribe and unsubscribe success/failure. r=kitcambridge 2015-08-05 17:03:49 -07:00
Nikhil Marathe
74d7732a05 Bug 914481 - Patch 1 - Push usage and permissions telemetry. r=kitcambridge 2015-08-05 15:12:11 -07:00
Gian-Carlo Pascutto
a5946e9eda Bug 1204367 - Only do SafeBrowsing debug logging when debug is enabled. r=francois 2015-09-17 09:59:26 +02:00
Gian-Carlo Pascutto
e70f79b7bf Bug 1192203 - Extract a robust version of getSupportedPreviewFpsRange. r=jesup 2015-09-16 16:17:49 +02:00
Albert Crespell
069a69f24a Bug 1182113 - Test XSLT serviceworker load. r=bkelly 2015-09-10 12:42:02 +02:00
JW Wang
9505ab1631 Bug 1204434 - Remove check of MediaDecoder::IsMediaSeekable from OggReader::ReadMetadata. r=cpearce. 2015-09-17 15:26:08 +08:00
Hannes Verschore
a783a4596f Bug 1204725 - IonMonkey: Check result when copying frame iter data, r=nbp 2015-09-17 09:21:42 +02:00
Hannes Verschore
4f5f38441a Bug 1204866 - IonMonkey: Crash when failing to apand to parse finished list, r=bhackett 2015-09-17 09:21:40 +02:00
Lee Salzman
2d7956977b Bug 1205016: double ClosingService thread stack size to avoid stack overflow r=glandium 2015-09-16 20:31:43 -04:00
Simon Montagu
8f11a104cf Bug 843689: make network.IDN.use_whitelist pref default to false preparatory to removing it completely, r=gerv 2015-09-16 13:53:18 -07:00
Nicholas Nethercote
5c182f063e Bug 1204772 - Fix warnings in widget/gonk/libdisplay. r=mwu.
dump() has only one instance, which is empty, and no uses. So just remove it.

dbgCompositionTypeStr()'s use depends on conditional constants, so just marking
it with the unused attribute is the fix for that warning.
2015-09-16 23:01:27 -07:00
Nicholas Nethercote
248f611da3 Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8. 2015-09-15 20:49:53 -07:00
Nicholas Nethercote
0c11ddaac5 Bug 1203427 (part 6) - Add link to MDN docs about TimerFirings logging. r=me.
DONTBUILD because comment-only change.
2015-09-16 21:49:24 -07:00
Timothy Nikkel
e9bd25c265 Bug 1204824. Make Matrix4x4::PreScale scale all values in the first three rows. r=bas 2015-09-16 23:39:09 -05:00
Jordan Lund
449bf0f53b Bug 1175701 - Windows Puppet machines failing on sendchange, r=backout 2015-09-15 22:28:28 -07:00
Botond Ballo
fae0d40fb0 Bug 1200063 - Rename MakeAPZCInstance to NewAPZCInstance for consistency. r=kats 2015-09-16 19:10:24 -04:00
Botond Ballo
1a470826eb Bug 1200063 - Make sure TaskThrottler sends its pending repaint request eventually, even if it never receives a notification from the previous request. r=kats
This is important because the previous repaint can be a no-op, and those don't trigger notifications.
2015-09-16 17:23:59 -04:00
Botond Ballo
64ffb772c3 Bug 1200063 - Add a generic implementation of nsITimerCallback that's usable with a lambda or other function object. r=kats
We can consider moving this to xpcom in the future.
2015-09-16 20:29:41 -04:00