Граф коммитов

445993 Коммитов

Автор SHA1 Сообщение Дата
Botond Ballo b73c1c58f3 Bug 1213273 - Use a chromium Task instead of an nsITimer for the timeout in TaskThrottler. r=mstange
--HG--
extra : rebase_source : 2ddc7714fff1d62aa394332fdafd8c2e5c97b065
extra : source : 00f7757e184487dc77e1be0e07ef7c4e9360e6c3
2015-10-16 19:00:15 -04:00
Carsten "Tomcat" Book 65d8ab26f0 Backed out 4 changesets (bug 1205521) for bustage
Backed out changeset 2a3c00d122c5 (bug 1205521)
Backed out changeset e8769c3e5d4f (bug 1205521)
Backed out changeset 1ff444636fbd (bug 1205521)
Backed out changeset 4ae51f091661 (bug 1205521)

--HG--
extra : rebase_source : cf4f338aa3043706c9fec37d2194b967d65ecaff
2015-10-20 10:45:31 +02:00
Botond Ballo c132f32fc8 Bug 1213762 - Clear AsyncCompositionManager::mIsFirstPaint on non-Android platforms, too. r=mstange
--HG--
extra : rebase_source : 86e4c9b185c9d5a0b57cc12099326008a5b08a55
extra : source : 84dbb629686454ce74c7cdf1ea18866f703a0b4d
2015-10-16 18:33:35 -04:00
Sotaro Ikeda 10f1bcce89 Bug 1206763 - Enable SkiaGL canvas on gonk r=mattwoodrow 2015-10-20 01:35:00 -07:00
Jeremy Chen b6f12e730b Bug 1205521 - Part4: (v2) Align LayerScopePacket to fit changes in Bug 1211324. r=dglastonbury
--HG--
extra : rebase_source : b26b76d31d3b4f3892269ae3741e73c6228e99d9
2015-10-18 20:37:00 +02:00
Jeremy Chen 0c5e2a9391 Bug 1205521 - Part3: (v3) Dump texture/mask attributes on layerscope viewer. r=dglastonbury
--HG--
extra : rebase_source : b89af8a8a1386b39ef872cbd0c4e2e9ef41e507a
2015-10-18 20:36:00 +02:00
Jeremy Chen 8906d8f27b Bug 1205521 - Part2: (v3) Generated file diffs from patched LayerScopePacket.proto. r=dglastonbury
--HG--
extra : rebase_source : 55a852d755a487c83b01710d20c97fbfbb67e2b5
2015-10-18 20:32:00 +02:00
Jeremy Chen ab22c82587 Bug 1205521 - Part1: (v3) Add texture/mask attribute fields in LayerScopePacket.proto. r=dglastonbury
--HG--
extra : rebase_source : 7f9910527bcf69682e2687eac460a2c28caf3001
2015-10-18 20:31:00 +02:00
Cykesiopka fa99ba4063 Bug 1194419 - Remove signature algorithm duplicate use in serial number determination in pycert. r=dkeeler
--HG--
extra : rebase_source : 14756428ea3f8bc41d746a2e71a5d4914e96f33c
2015-10-17 09:04:43 -07:00
Nigel Babu 7cb4a2efa8 Backed out changeset 4b38a09cca56 (bug 1189673) for W(4) and W(8) bustages ON A CLOSED TREE 2015-10-20 13:52:22 +05:30
Nigel Babu c865a1f1c6 Backed out changeset d8e39b884737 (bug 1189536) for test failure ON A CLOSED TREE 2015-10-20 12:08:09 +05:30
Makoto Kato 26c8790fb2 Bug 978679. Implement touch events for GTK3. r=karlt
--HG--
extra : commitid : 7Sm7XcTb8Do
extra : rebase_source : c10ad90f03b90eb34349edc80be110b90cc2a663
2015-04-30 08:29:34 +12:00
L. David Baron 221bfbea99 Bug 1215702 patch 2 - Remove the mechanism of backend-only CSS properties. r=heycam
This is a mechanism that should not exist; any use of it means
nonconformance with http://www.w3.org/TR/CSS/#partial .

--HG--
extra : commitid : fI2rko2cf4
2015-10-19 22:22:34 -07:00
L. David Baron a93e976a86 Bug 1215702 patch 1 - Remove the CSS properties that use CSS_PROP_BACKENDONLY (marks, orphans, page, size, widows), i.e., properties that were added in early Gecko days but never actually implemented. r=heycam
We're violating http://www.w3.org/TR/CSS/#partial by leaving this
implementation in when we don't actually support the properties.

We're also incorrectly parsing marks and size in style rules rather than
@page rules; they were only intended for @page rules.

--HG--
extra : commitid : EV7bQDBQUp8
2015-10-19 22:22:34 -07:00
Andrea Marchesini d17f1f2352 Bug 1216166 - Unify CustomEvent.cpp with the rest of the unified sources, r=smaug 2015-10-20 10:49:43 +05:30
Oliver Henshaw a24bd6393b Bug 1180715 (3/4) - Drop parseURI from newChannel2. review=ttaubert
Extract the nsIFile from aURI instead.
2015-10-20 10:45:46 +05:30
Oliver Henshaw b8653b6cd5 Bug 1180715 (4/4) - Use nsIURL methods instead of RegExp. review=ttaubert
Also move host check from the parseURI caller to parseURI itself.
2015-10-20 10:45:40 +05:30
Oliver Henshaw 7e5727b51a Bug 1180715 (2/4) - Provide a nsIFileURL interface for thumbnails. review=ttaubert
Use nsISubstitutingProtocolHandler to return a SubstitutingURL and to
resolve the thumbnail URL to the backing nsIFile.

Now the image loader code will realise that moz-page-thumb:// URLs are
backed by a file and will be able to use the file mtime to evaluate
whether the cached imgRequest has expired.

* Implement the nsISubstitutingProtocolHandler methods in the thumbnail
protocol handler. The resolveURI method does all the work, the other
methods are just stubs.

* moz-page-thumb:// is now an URL rather than an URI, so update the
signature accordingly.

* Add xpcshell-test to affirm that SubstitutingURL::EnsureFile()
resolves the backing file correctly.

* Adjust the mochitest to account for the one second granularity of the
mtime tracking.
2015-10-20 10:45:32 +05:30
Oliver Henshaw d4317501c5 Bug 1180715 (1/4) - Track image LoadTime to compare with file mtime. review=seth
mTouchedTime is not appropriate for this as it is updated when an image
load re-uses the same imgRequest, especially as it has one second
granularity. A timestamp that is updated every time the backing file is
re-read should work better.

A millisecond granularity timestamp would be preferable, and would be
achievable on most or all supported platforms. But some older
filesystems have timestamp granularity of a second or worse, notably
ext3 and FAT32 (and even ext4 filesytems created with inode_size < 256
bytes, e.g. with 'mke2fs -t small' - see
https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout#Inode_Timestamps
for details.)
2015-10-20 10:45:25 +05:30
Masayuki Nakano 486057dcc7 Bug 1215517 part.3 Test the result of eQuerySelectedText in runSetSelectionEventTest() for checking the behavior of ContentEventHandler::GetFlatTextOffsetOfRange() rs=smaug 2015-10-20 14:14:17 +09:00
Masayuki Nakano 6a1e5ce6ca Bug 1215517 part.2 Add tests for eQueryTextContent event in rich text editor r=smaug 2015-10-20 14:14:17 +09:00
Masayuki Nakano ddd89b2467 Bug 1215517 part.1 Add tests for eSetSelection event in rich text editor rs=smaug 2015-10-20 14:14:17 +09:00
Benoit Girard 6b9d783414 Bug 1216287 - Properly invalidate the debug overlay. r=mattwoodrow
--HG--
extra : commitid : 7FvAQbZecjW
2015-10-19 18:03:48 -04:00
Phil Ringnalda dc19484949 Back out 069effcd9de6 (bug 1108181) for wpt bustage that shouldn't have happened 2015-10-19 21:21:56 -07:00
L. David Baron 1b092a9222 Bug 1215424 - Convert ParseBoxProperty to CSSParseResult and remove ParseBoxPropertyVariant. r=heycam
--HG--
extra : commitid : 3wwvynTqGv7
2015-10-19 20:42:29 -07:00
L. David Baron a9d92c3cb5 Bug 1209603 patch 11 - Assert that PeekStyle* results don't change during difference computation. r=heycam
This assertion catches the condition that led to the bug.

I confirmed that without patch 10 on this bug, the assert fires on the
reftest added in patch 4, but does not fire on slight modifications of
that testcase that don't show the bug.

--HG--
extra : commitid : 6VMNCelDQg9
2015-10-19 20:42:29 -07:00
L. David Baron 5541c05d79 Bug 1209603 patch 10 - Make PeekStyle* exact, i.e., guaranteed to return null if we haven't computed the data for this context. r=heycam
This fixes the bug because it prevents a cache conditions check for a
later PeekStyle* in nsStyleContext::CalcStyleDifference from computing a
struct that was null when we checked it earlier in CalcStyleDifference.
This, in turn, could allow the old context to be retained (and
reparented to the new parent) even though it now has incorrect data in
the font or visibility struct that was computed while checking the
conditions for another struct.

This should also improve performance in some cases of style changes on
not-yet-presented frames because we have fewer change hints to process.

--HG--
extra : commitid : 16o8oS0RLfx
2015-10-19 20:42:29 -07:00
L. David Baron bf8dc97f0b Bug 1209603 patch 9 - Cache inherited style structs on the style context when we found already-cached data in the rule tree. r=heycam
This means we obey the invariant that if we've requested an inherited
struct on a context, that struct will be cached on the style context.  I
believe bug 527977 intended to do make us obey this invariant, but it
missed the case where nsRuleNode::GetStyle* found cached data already on
the rule node, and the case where nsRuleNode::WalkRuleTree found a
usable struct higher in the rule tree.

Without this change, patch 10 will not function correctly for inherited
structs when we encounter this case, and will cause assertions in
dom/base/test/test_bug560780.html due to triggering style change hints
on text nodes that inherited a color struct from a parent on whose rule
node the struct was stored.  (It may also have caused some of the other
test failures.)

This should be a clear performance improvement, since the path that's
being slowed down by the added work in this patch will, with the patch,
now only execute once because of that work.

--HG--
extra : commitid : 5hueOZihqNx
2015-10-19 20:42:29 -07:00
L. David Baron 4a3869c519 Bug 1209603 patch 8 - Record in mBits when we have gotten a reset style struct that is cached on the rule node. r=heycam
I'm a little worried about the performance of the change to
nsRuleNode::GetStyle*, which sets a bit on the style context every time
a struct getter goes through it.  It's not obvious how that compares to
the performance benefit from patch 10.

--HG--
extra : commitid : J2XERgJ7mh2
2015-10-19 20:42:29 -07:00
L. David Baron 442ad165f3 Bug 1209603 patch 7 - Add assertions that we don't ask the rule node for data when we have cached data on the style context. r=heycam
These document an invariant that I depend on in the next patch.

--HG--
extra : commitid : HPQbuHOVq3o
2015-10-19 20:42:28 -07:00
L. David Baron 51b146732f Bug 1209603 patch 6b - Rename nsStyleContext::HasCachedInheritedStyleData to HasCachedDependentStyleData. r=heycam
--HG--
extra : commitid : 1RWP1xtrXOe
2015-10-19 20:42:28 -07:00
L. David Baron 2197897e6b Bug 1209603 patch 6 - Prepare to use a different meaning of mBits when cached style data pointer is null. r=heycam
We currently only use the style struct bits in mBits when the style
context has the relevant struct cached.  The bit being set indicates
whether or not the context owns the struct.

This patch conditions the necessary tests on a cached struct being
present so that we can use (for reset structs, i.e., those with
non-inherited properties) mBits to mean something different when the
cached storage is null.

--HG--
extra : commitid : 5UtmPx56nae
2015-10-19 20:42:28 -07:00
L. David Baron e3c4c7ddd1 Bug 1209603 patch 5 - Move inline method nsStyleContext::GetCachedStyleData into header file, and make it public. r=heycam
Moving it to the header allows its use by another method in the header
file, in patch 6.

Making it public allows its use in assertions in nsRuleNode in patch 7.

--HG--
extra : commitid : EL4WTKW32KS
2015-10-19 20:42:28 -07:00
L. David Baron d8ffda64d3 Bug 1209603 patch 4 - Add reftest for bug 1209603. r=heycam
--HG--
extra : commitid : 9PKKSv4RbaG
2015-10-19 20:42:28 -07:00
L. David Baron a80ca8c869 Bug 1209603 patch 3 - Don't call SetFontSizeDependency for 0em. r=heycam
This should be a bit of an optimization for cases where '0em' is the
only 'em' unit in a style struct.

--HG--
extra : commitid : CJinBSM4aw8
2015-10-19 20:42:28 -07:00
L. David Baron aded17dcb4 Bug 1209603 patch 2 - Reduce calls to StyleVisibility() in WritingMode constructor. r=heycam
(I noticed this while writing patch 1.)

--HG--
extra : commitid : G2JVcpkEDQK
2015-10-19 20:42:28 -07:00
L. David Baron 3a591db0a3 Bug 1209603 patch 1 - Add comments to RuleNodeCacheConditions.h . r=heycam
--HG--
extra : commitid : C78d4Br40km
2015-10-19 20:42:28 -07:00
L. David Baron 001cd79ef9 Bug 1214958 - Add operators &=, |=, and ^= to mozilla::DebugOnly. r=froydnj
--HG--
extra : commitid : 2f0PRWFcnzP
2015-10-19 20:42:28 -07:00
Nicholas Nethercote 4640f88138 Bug 1216386 - Improve AnimatedGeometryRootLookup::Hash. r=roc.
When someone types |sizeof(this)| they usually want |sizeof(*this)|.

--HG--
extra : rebase_source : 5bcb9908bb22a60824c875fec8d699ca1bba7c48
2015-10-19 19:57:47 -07:00
Nicholas Nethercote 343f285eca Bug 1186785 - Replace nsBaseHashtable::EnumerateRead() calls in toolkit/ with iterators. r=froydnj.
--HG--
extra : rebase_source : d472ec1638cb1697af0d2f2dbae4f4229bea1a80
2015-10-19 15:46:46 -07:00
Nicholas Nethercote 5b34a25af2 Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium.
DONTBUILD because it only changes comments.

This will hopefully prevent confusion like that in bug 1215903.

--HG--
extra : rebase_source : f0a601d77b5f42b4fbe090693234f934e3becc42
2015-10-19 18:05:20 -07:00
Dan Glastonbury 66e4dad1c7 Bug 1193070 - Implement GetFramebufferAttachmentParameter. r=jgilbert 2015-10-20 12:46:28 +10:00
Chris Peterson 716d1bd0e2 Bug 1215899 - Suppress clang and gcc warnings in gfx/skia. r=gw280 2015-10-16 22:24:19 -07:00
Jonas Sicking c71f219c67 Bug 1195167: Followup to fix test which I forgot to change 2015-10-19 19:18:19 -07:00
Ehsan Akhgari 9b25319dbc Bug 1189536 - Make fetch-request-xhr.https.html pass; r=bkelly 2015-10-19 21:54:49 -04:00
Ehsan Akhgari 34f6acee2f Bug 1189673 - Set FetchEvent.request.headers' guard to immutable before dispatching the FetchEvent; r=bkelly 2015-10-19 21:54:38 -04:00
Ehsan Akhgari d4fe8c6a34 Bug 1108181 - Make Headers iterable; r=bzbarsky 2015-10-19 21:53:56 -04:00
Christoph Kerschbaumer ddb2d645e5 Bug 1194526 - Use channel->asycnOpen2 in dom/base/nsScriptLoader.cpp (r=sicking) 2015-10-19 18:33:37 -07:00
Jonas Sicking 7bf7cbbd1a Bug 1215746: Remove RequestMode::Cors_with_forced_preflight. r=bkelly 2015-10-19 18:24:36 -07:00
Jonas Sicking 29c134000d Bug 1195167 part 6: Some code simplification since necko handles fetch recursion. r=bkelly 2015-10-19 18:24:36 -07:00