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

400434 Коммитов

Автор SHA1 Сообщение Дата
Christoph Kerschbaumer 1969a22887 Bug 1113323 - Make sure Protocolhandler sets same instance of loadinfo on the newly created channel (r=sicking) 2015-01-11 20:21:37 -08:00
Nigel Babu 053a7d3408 Backed out 4 changesets (bug 1055658) for M5 bustage on a CLOSED TREE
Backed out changeset 3cbd9323c896 (bug 1055658)
Backed out changeset 99e071295c42 (bug 1055658)
Backed out changeset 55119d19e4c5 (bug 1055658)
Backed out changeset e82f640cb53f (bug 1055658)
2015-01-12 10:43:11 +05:30
Chris Peterson 89d65e0f17 Bug 1120159 - Replace nonstandard expression closure with an arrow function in file:// directory listing. r=mcmanus 2015-01-10 23:20:22 -08:00
Xidorn Quan 6ba35e648b Bug 1055658 part 4 - Revert RubyReflowState. r=dbaron
--HG--
extra : source : 27e60ddbd077439dadd09641ab54fc7eef09c69f
2015-01-12 14:31:55 +11:00
Xidorn Quan 570e1e21f8 Bug 1055658 part 3 - Add reftests for ruby annotation relative positioning. r=dbaron
--HG--
extra : source : 6cc51f0bfbb68999a5361339a09a455ac7723bc6
2015-01-12 14:31:55 +11:00
Xidorn Quan c5346caa22 Bug 1055658 part 2 - Add relative positioning support for ruby annotations. r=dbaron
--HG--
extra : source : 3b6cece1b466a724983927329c56dc1d9555b09a
2015-01-12 14:31:55 +11:00
Xidorn Quan c7dcc6e79f Bug 1055658 part 1 - Move code for applying relative position to an independent method. r=dbaron
--HG--
extra : source : aa1e52e91dd5ae6fdcdc6ca17bd9ec2a0b946f2b
2015-01-12 14:31:55 +11:00
Seth Fowler f16f08b16e Bug 1118087 - Correctly sync decode even if an imgFrame is partially decoded. r=tn 2015-01-11 19:28:02 -08:00
Matt Woodrow 545192354b Bug 1119033 - Don't try to evict when we don't have any initialized decoders. r=ajones 2015-01-12 15:35:35 +13:00
Anthony Jones 4f0a2ee888 Bug 1105066 - Seek after switching reader; r=mattwoodrow 2015-01-12 15:10:15 +13:00
Matt Woodrow 8cd51d9f13 Bug 1105066 - Chain seeks in MediaSourceReader so that we seek audio to the same time as video; r=kentuckyfriedtakahe 2015-01-12 11:05:08 +13:00
Matt Woodrow 972dde5588 Bug 1105066 - Make SeekPromise return the time we actually seeked to; r=kentuckyfriedtakahe 2015-01-12 10:57:14 +13:00
Xidorn Quan 8dd35a9adf Bug 1111463 part 3 - Fix ruby reftests for default styles. r=dbaron
--HG--
extra : source : 2a8645f9d275da445738b3aad99630fa6c0a3586
2015-01-12 12:52:19 +11:00
Xidorn Quan fdcb33cf1c Bug 1111463 part 2 - Add styles in html.css and ua.css. r=dbaron
--HG--
extra : source : 36266a6c05c5d40c0ebdd97a3935041a8d8f1010
2015-01-12 12:52:19 +11:00
Xidorn Quan 0121de7dec Bug 1111463 part 1 - Invalidate html.css when ruby pref changes. r=dbaron
--HG--
extra : source : c33e79d1dc93b9827fff3fa4f0ac66db2e403423
2015-01-12 12:52:19 +11:00
Kartikaya Gupta 909fc304dd Bug 1120252 - Avoid trying to get the APZCTreeManager if APZ isn't enabled. r=mattwoodrow 2015-01-11 20:39:36 -05:00
Robert O'Callahan 0cdcaa1f30 Bug 1119117. Don't clip nsDisplayOpacity items, since some of its descendants maybe should not be clipped with the nsDisplayOpacity clip. r=mattwoodrow
--HG--
extra : rebase_source : 50ab1923ad5150197128a0862db2af96dfd41658
2015-01-11 00:12:33 +13:00
L. David Baron ce6e3ca667 Revert one of the assertion additions in Bug 1110277 patch 3 since it fires, causing orange. r=orange
Example stack, from editor/libeditor/tests/browserscope/test_richtext2.html :

###!!! ASSERTION: should only call on first continuation/ib-sibling: 'nsLayoutUtils::IsFirstContinuationOrIBSplitSibling(this)', file /builds/slave/m-in-l64-d-0000000000000000000/build/src/layout/base/../generic/nsIFrame.h, line 875
#01: AdjustAppendParentForAfterContent [layout/base/nsCSSFrameConstructor.cpp:6059]
#02: nsCSSFrameConstructor::ContentAppended(nsIContent*, nsIContent*, bool) [layout/base/nsCSSFrameConstructor.cpp:7155]
#03: PresShell::ContentAppended(nsIDocument*, nsIContent*, nsIContent*, int) [layout/base/nsPresShell.cpp:4520]
#04: nsNodeUtils::ContentAppended(nsIContent*, nsIContent*, int) [dom/base/nsNodeUtils.cpp:132]
#05: nsINode::doInsertChildAt(nsIContent*, unsigned int, bool, nsAttrAndChildArray&) [dom/base/nsINode.cpp:1544]
#06: nsINode::ReplaceOrInsertBefore(bool, nsINode*, nsINode*, mozilla::ErrorResult&) [dom/base/nsINode.cpp:2209]
#07: mozilla::dom::NodeBinding::appendChild [obj-firefox/dom/bindings/NodeBinding.cpp:600]
2015-01-11 16:58:42 -08:00
L. David Baron ffe839138c Bug 1110277 patch 3 - Look for the GenConPseudos() property on the first continuation/ib-split so that we can find it when looking for the ::after frame. r=bzbarsky
The change to GetAfterFrameForContent prevents the reframe that is part
of the chain of events leading to this bug, and thus fixes the bug on
its own.  The change to GetBeforeFrameForContent seems desirable for
symmetry.

Note that patch 6 also independently fixes the reported bug.

This probably needs somewhat careful review.  We should examine:

 (1) what the rules for calling nsLayoutUtils::GetBeforeFrame and
     nsLayoutUtils::GetAfterFrame are, and whether both (or neither)
     need to be patched.

 (2) What the rules are for which frame the GenConProperty() lives on,
     and whether we should adjust nsIFrame::GetGenConPseudos() to either
     do something more intelligent, or assert about callers.

(We should probably clean up some of these things in a followup bug.)

Since the symptom of this bug is (once patch 4 is in the tree) only
causing extra reframes, it can only be tested using the new API (from
bug 1115691) for observing reframes.  I confirmed that the test for this
bug fails without the patch and passes with the patch (as noted by the
removal of its todo annotation).

This patch fixes the assertion on layout/generic/crashtests/600100.xhtml,
though I haven't investigated why.
2015-01-11 15:43:11 -08:00
L. David Baron 25c494ef46 Bug 1110277 patch 2 - Add nsLayoutUtils::LastContinuationOrIBSplitSibling(). r=bzbarsky
This is used in patch 3.
2015-01-11 15:43:10 -08:00
L. David Baron 590d7a434b Bug 1110277 patch 1 - Consider the ib-split chain when checking for ::before and ::after in order to reframe when they're missing. r=bzbarsky
This patch is not needed to fix the bug, but it seems like it's probably
desirable.  It's not needed for this bug because
MaybeReframeForBeforePseudo and MaybeReframeForAfterPseudo are already
called (by ElementRestyler::RestyleChildren) on only the first and last
continuation or ib-split sibling with the same style.  So this patch
should only actually change anything for cases like a block-in-inline
split whose initial inline part is inside of a ::first-line (where
different parts of the block-in-inline split chain have different style).

Since the symptom of this bug is (once patch 6 is in the tree) only
causing extra reframes, it can only be tested using the new API (from
bug 1115691) for observing reframes.  I confirmed that the test for this
bug fails without the patch and passes with the patch (as noted by the
removal of its todo annotation).
2015-01-11 15:43:10 -08:00
L. David Baron 5f231b4278 Bug 1110277 patch 0 - Add mochitest for patch 1 and patch 3. r=heycam
Patch 1 and patch 3 will change the todo status of the first and second
tests, respectively, since they are what fix the tests.
2015-01-11 15:43:10 -08:00
L. David Baron e4339e4c20 Bug 1115691 patch 2 - Expose counts of frames constructed and reflowed on DOMWindowUtils. r=roc
This counts are intended to be useful for:
 * tests
 * perhaps developer tools
that need to determine whether frame construction or reflow has happened
in a particular interval.
2015-01-11 15:43:10 -08:00
L. David Baron 2c4447faf5 Bug 1115691 patch 1 - Store counts of frames constructed and reflowed on the pres context. r=roc
(I've tested the frame construction counts in my test for bug 1110277; I
haven't actually tested the reflow counts.)
2015-01-11 15:43:10 -08:00
Kartikaya Gupta 7370fc443f Bug 1120211 - Don't force the innerwindow size to the outerwindow size if the viewport is overridden. r=dbaron
In Fennec, if the root window gets resized, background tabs get a delayed
resize event queued up. When those background tabs get painted next, the delayed
resize is flushed. However, the code that flushes the delayed resize does not
check to see if the viewport is already overridden. This is in contrast to all
the other code paths that propagate outerwindow size change to the innerwindow,
and is incorrect because it effectively clobbers any meta-viewport tag with the
outerwindow dimensions. This patch corrects this code path to also check if the
viewport is overridden.
2015-01-11 18:26:39 -05:00
Kartikaya Gupta 1ba6fc99e3 Bug 1120214 - Fix logging-only build failure. r=botond 2015-01-11 18:26:26 -05:00
Tom Schuster 630b6a532d Bug 1119217 - Implement %TypedArray%.prototype.{keys, values, entries}. r=till 2015-01-11 21:21:35 +01:00
Andrea Marchesini 0f50edd862 Bug 1113062 - IndexedDB FileSnapshot not CCed, r=janv 2015-01-11 21:35:24 +00:00
Andrea Marchesini 972e5e33ac Bug 1113062 - patch 2 - ArchiveReaderZipFile non-CCed, r=smaug 2015-01-11 21:34:57 +00:00
Andrea Marchesini 3b2aab48cb Bug 1113062 - patch 1 - PIFileImpl and FileImpl merged, r=smaug 2015-01-11 21:34:31 +00:00
Bobby Holley 5a7f8b32cf Bug 1119456 - Work around the fact that media cache does not quite guarantee the property we want. r=roc 2015-01-11 13:24:26 -08:00
Bobby Holley 85966c53ed Bug 1119456 - Make MP4Demuxer's blocking reads non-blocking and hoist blocking into callers with a hacky retry strategy. r=k17e 2015-01-11 13:24:26 -08:00
Matt Woodrow d3e5c76ca9 Bug 1118528 - Increase fuzz threshold for mp4. r=ajones 2015-01-12 09:48:23 +13:00
Matt Woodrow fb0f72ffdb Bug 1118528 - Use fuzzy comparisons in MediaSourceReader::HaveData. r=cajbir 2015-01-12 09:47:56 +13:00
Matt Woodrow fe5df5dec4 Bug 1116284 - Don't run MP4Reader::Update after we've shut the reader down. r=cpearce 2015-01-12 09:43:11 +13:00
Matt Woodrow e7a4379e53 Bug 1116626 - Null check mDecoder in AutoNotifyDecoded since it might have been shutdown already. r=karlt 2015-01-12 09:41:50 +13:00
Randell Jesup 9c505baf27 Bug 1030372: use explicit runnable and Release for ReadBlob to avoid wrong-thread release assert r=bsmedberg relanding on a CLOSED TREE
--HG--
extra : amend_source : 4351ac6c3a17885cd5a24d19c080ff8aa610de3f
2015-01-11 00:28:34 -05:00
Tom Schuster 967d0d250a Backout changeset b4ebefd0f7e3:a8044fd506db Bug 1117607, Bug 1118087, Bug 1118092, Bug 1118105, Bug 1030372, Bug 1079627 on CLOSED TREE 2015-01-11 20:43:32 +01:00
Seth Fowler 883643f8ab Bug 1079627 - Additonal commit to allow push on a CLOSED TREE since these patches should fix the oranges 2015-01-11 05:43:06 -08:00
Seth Fowler 08df7af950 Bug 1079627 (Part 3) - Support multiple decoders for a single RasterImage. r=tn 2015-01-11 05:34:20 -08:00
Seth Fowler 2bc1ac6eeb Bug 1079627 (Part 2) - Add SourceBuffer. r=tn 2015-01-11 05:34:20 -08:00
Seth Fowler c575069c34 Bug 1079627 (Part 1) - Make image decoders hold a strong reference to their image. r=tn 2015-01-11 05:34:20 -08:00
Randell Jesup 0ef23256a4 Bug 1030372: use explicit runnable and Release for ReadBlob to avoid wrong-thread release assert r=bsmedberg 2015-01-11 00:28:34 -05:00
Seth Fowler e85c416171 Bug 1118105 - Make SurfaceCache::Insert let you know if you try to insert a duplicate surface. r=dholbert 2015-01-10 20:47:39 -08:00
Seth Fowler bd5a6c7b28 Bug 1118092 - Manage invalidation policy directly in the image decoder. r=tn 2015-01-10 20:47:38 -08:00
Seth Fowler 5955b3c0ef Bug 1118087 - Correctly sync decode even if an imgFrame is partially decoded. r=tn 2015-01-10 20:47:38 -08:00
Seth Fowler 13ecf8f345 Bug 1117607 - Make decoders responsible for their own frame allocations. r=tn 2015-01-10 18:47:44 -08:00
Masatoshi Kimura bf312ad056 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Dan Gohman f98046b628 Bug 1077742 - IonMonkey: Don't allocate BitSets individually on the heap r=sstangl 2015-01-10 14:52:36 -08:00
Robert Longson 5f570eddfa Bug 1117514 - lines with zero length dashes are not rendered. r=jwatt 2015-01-10 22:17:57 +00:00