Commit Graph

54223 Commits

Author SHA1 Message Date
Nicholas Nethercote
22b6d342d7 Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium.
--HG--
extra : rebase_source : 223f3a17f009645369be503392cc1f0cea7f19a1
2017-01-24 14:15:12 +11:00
Boris Zbarsky
cce1668e68 Bug 1332322 part 2. Rename nsWrapperCache::IsBlack to nsWrapperCache::HasKnownLiveWrapper. r=mccr8 2017-01-24 20:38:58 -05:00
Boris Zbarsky
b39cdf67a8 Bug 1332322 part 1. Add an nsWrapperCache function to mark the wrapper as 'live' for GC purposes. r=mccr8 2017-01-24 20:33:54 -05:00
David Anderson
baf1f78d98 Move ScrollDirection to LayersTypes.h and make it a proper enum. (bug 1332567 part 1, r=kats) 2017-01-24 16:41:17 -08:00
Wes Kocher
7d8bdef2a2 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BS43zgtFrsm
2017-01-24 16:10:57 -08:00
Wes Kocher
a65c1b1dfe Merge inbound to central, a=merge
MozReview-Commit-ID: BeGxZAeguBr
2017-01-24 16:08:16 -08:00
Julian Seward
ebea2b59c1 Bug 1232696 - Remove NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW as it causes segfaulting for GCC 6 builds (3 of 5, fixes for layout/). r=dholbert. 2017-01-24 17:11:13 +01:00
Cameron McCormack
80d819e95c Bug 1333001 - Crashtest. r=bzbarsky 2017-01-24 10:02:46 -05:00
Boris Zbarsky
95a8ef9e62 Bug 1333001. Ensure that ImportRule in fact always has a non-null mMedia. r=heycam 2017-01-24 10:02:46 -05:00
Morris Tseng
1928a5fc22 Bug 1328494 - Convert nsDisplayBullet to layer. r=mattwoodrow
MozReview-Commit-ID: 8cDvUfwJqUF
2017-01-24 16:53:42 +08:00
Wes Kocher
ae32e28e86 Backed out 6 changesets (bug 1110928) for valgrind failures a=backout
Backed out changeset 97a60b61a65a (bug 1110928)
Backed out changeset 5b62dda2ebd0 (bug 1110928)
Backed out changeset b587547a6df1 (bug 1110928)
Backed out changeset fb7cb3957c0d (bug 1110928)
Backed out changeset 41d7f44db1ee (bug 1110928)
Backed out changeset e809ddd9c7db (bug 1110928)

MozReview-Commit-ID: L0DCJ0HD1sG
2017-01-23 17:34:23 -08:00
Bill McCloskey
7bbd79b58c Bug 1331966 - Don't assert against content JS during painting on Android (r=dvander)
MozReview-Commit-ID: HU8V8jeBFX
2017-01-23 17:01:18 -08:00
Xidorn Quan
1540b7ade8 Bug 1316236 followup - Move green.html into reference subdirectory.
MozReview-Commit-ID: 38UBjYPWIxk

--HG--
rename : layout/reftests/w3c-css/submitted/transforms/green.html => layout/reftests/w3c-css/submitted/transforms/reference/green.html
extra : source : 77275d430c84546f88378b9253c14d700724bbf2
2017-01-24 11:17:07 +11:00
L. David Baron
37f705d303 Bug 1333158 - Remove StyleSheet::GetDocument in favor of the identical GetAssociatedDocument. r=bz
(GetAssociatedDocument was recently renamed in bug 1332353.)

Note that the inconsistency between the Rule and CSSParser method names
is slightly bothersome.

MozReview-Commit-ID: L1SBIV86H4s

--HG--
extra : transplant_source : %60%BE%A8%B9%2BP9%8E_%8AX%28%DE%E7%12%83%1A%0E%FF%FD
2017-01-23 13:12:03 -08:00
Bobby Holley
e22d0e0c87 Bug 1332915 - Avoid writing to shared data in FramePropertyTable during parallel traversal. r=bz 2017-01-23 12:18:02 -08:00
Olli Pettay
c4d0a8d0ad Bug 1110928, trigger ZoneGC after evicting from bfcache, r=mccr8
--HG--
extra : rebase_source : 223271dd8b9c4052bf95969dca096531d7502eb4
2017-01-23 19:25:13 +02:00
continuation@gmail.com
7cdcc6ffc7 Bug 1110928, part 4 - Try to pass a relevant zone to PokeGC. r=smaug
--HG--
extra : rebase_source : d629ec0ac5ba2445e05b18b57c50d782ecaed227
2017-01-23 19:22:26 +02:00
Andrew McCreight
95cd9eba51 Bug 1110928, part 2 - Call PokeGC in nsDocumentViewer::PageHide before the call to OnPageHide. r=smaug
This ensures that the document isn't destroyed when we call PokeGC, which will be useful later.

--HG--
extra : rebase_source : 897912892a6aca2d272297723fee32cd65dd6fde
2017-01-23 19:21:13 +02:00
Andrew McCreight
f790c94f1a Bug 1110928, part 1 - Hoist the LOAD_END PokeGC out of nsJSContext::LoadEnd. r=smaug
nsDocumentViewer knows which document is involved which will help us later.

Also, fix a typo in the comment.

--HG--
extra : rebase_source : a1d5b81aab5b4efa914082fdbe4a5b3b71ee456d
2017-01-23 19:20:54 +02:00
Phil Ringnalda
403a7be2db Backed out changeset 9b9e53e7eee7 (bug 1326686) for causing frequent failures in test_scroll_snapping_scrollbars.html
--HG--
extra : rebase_source : 7e4a4cd87bcbb88c566b708881190f1b4c1dd964
2017-01-24 07:42:44 -08:00
Masatoshi Kimura
2f33a39f13 Bug 1331820 - Fix misuse of NS_NewNativeLocalFile in nsFileControlFrame.cpp. r=baku
MozReview-Commit-ID: 7v78jtmp7rU

--HG--
extra : rebase_source : 51e2287c2b3e811eb6979f68015aa14d6f31a9f1
2017-01-21 15:36:10 +09:00
Ting-Yu Lin
55aa51e408 Bug 1332105 Part 2 - Make Selection::LookUpSelection() return UniquePtr. r=dholbert
Selection::LookUpSelection()'s only caller,
nsFrameSelection::LookUpSelection(), doesn't check the return value. Let's
make it return UniquePtr directly like nsFrameSelection::LookUpSelection().

Rename aReturnDetails to aDetailsHead so that its role is clearer.
aDetailsHead is of type UniquePtr<SelectionDetails> instead of
UniquePtr<SelectionDetails>&& because the caller always wants to transfer
the ownership of SelectionDetails into the function.

MozReview-Commit-ID: 89Y7X1LTKON

--HG--
extra : rebase_source : 730d601ccb87eb2b616c0a021129752ed5301a3a
2017-01-20 23:28:02 +08:00
Ting-Yu Lin
f1d19f16fb Bug 1332105 Part 1 - Convert SelectionDetails and related functions to use UniquePtr. r=dholbert
For the non-owning pointer usage like iterating SelectionDetails's linked
list, it's sufficient to use SelectionDetails*.

MozReview-Commit-ID: 7PCFhD6Iz8j

--HG--
extra : rebase_source : 2d26edd513a402384e26719b3c0b5362d7a4ebb8
2017-01-20 17:39:57 +08:00
Botond Ballo
035f7766e3 Bug 1326686 - Only use the most recent refresh time as the start time of an AsyncScroll when the refresh driver is under test control. r=kip
MozReview-Commit-ID: FkyJfbaPPVl

--HG--
extra : rebase_source : 58ea615484a54b74b76f17e859136cf371b7c05f
2017-01-20 19:28:29 -05:00
Carsten "Tomcat" Book
e12cc94275 merge mozilla-inbound to mozilla-central a=merge 2017-01-23 11:15:58 +01:00
Xidorn Quan
e9127937e6 Bug 1326189 part 5 - Add reftest for caret-color with :visited. r=dholbert
MozReview-Commit-ID: Fw1gnUQSRbq

--HG--
extra : rebase_source : 6b06582d65b0e61f3f0721e4af6b2c686664428c
2017-01-20 17:16:54 +11:00
Xidorn Quan
9c07cf28a2 Bug 1326189 part 4 - Support caret in test_visited_reftests. r=dholbert
MozReview-Commit-ID: I7zaJw1S4ZC

--HG--
extra : rebase_source : 1fc4b8683d9eb10b6e9d90902bf6d177b7ac50cd
2017-01-20 17:27:18 +11:00
Xidorn Quan
18085fdd3d Bug 1326189 part 3 - Make test_visited_reftests support needs-focus. r=dholbert
MozReview-Commit-ID: XCy3kVh5FN

--HG--
extra : rebase_source : c81fce0505ec806f3d93adf4eee474a9cadd58a0
2017-01-20 17:15:02 +11:00
Xidorn Quan
07539165c0 Bug 1326189 part 2 - Rewrite test_visited_reftest mochitest with async function to make it clearer. r=dholbert
This patch is a refactor, and should not change any behavior other than
providing a potentially better failure message.

MozReview-Commit-ID: 9ow1XwBtGDZ

--HG--
extra : rebase_source : 5e968e38e924e7c741cf1d3a5c414650d2b093b0
2017-01-20 16:52:01 +11:00
Xidorn Quan
451f629809 Bug 1326189 part 1 - Apply :visited style for caret-color. r=dholbert
MozReview-Commit-ID: DQqSdCz2TEC

--HG--
extra : rebase_source : 6600f3fddd08dbb79d7a43b7ba49c19f3abc3b54
2017-01-19 23:07:25 +08:00
Xidorn Quan
309caad5d8 Bug 1330172 part 2 - Fix serialization of property declaration with variable reference. r=heycam
MozReview-Commit-ID: ATDj4lHrtR1

--HG--
extra : rebase_source : 0cf558db29680bcfe76beda2ed097bb515f91f0f
2017-01-20 22:35:12 +11:00
Xidorn Quan
79730fa65d Bug 1330172 part 1 - Fix serialization of CSS-wide keyword in variable. r=heycam
MozReview-Commit-ID: KvpwRjfFF2z

--HG--
extra : rebase_source : 4aaf85d874311b7db7281def0e2c16b17c4455c0
2017-01-20 22:34:06 +11:00
Xidorn Quan
c3e6a81bc4 Bug 1316236 - Treat perspective(0) as perspective(infinity). r=dholbert
MozReview-Commit-ID: H9xlpjxrzht

--HG--
extra : rebase_source : 5060ae56163446a9dd6ae816c548ecd987a6e33e
2017-01-20 12:45:33 +11:00
Xidorn Quan
4c82679e32 Bug 1328512 followup - Update expectation of style system tests for stylo. DONTBUILD
MozReview-Commit-ID: HKifm8Vx7ah

--HG--
extra : source : 3fecdfd0f6464e38a62da39273ac5d0e1eef1755
2017-01-23 17:07:16 +11:00
Olli Pettay
fe13edbe45 Bug 1331706 - Make vsync non-prioritized for now. r=billm 2017-01-22 18:34:27 +02:00
Boris Zbarsky
fde7c43bb1 Bug 1332704. Have ~nsDocument actually clear the self-pointer from _all_ its sheets, and reenable Rule::IsKnownLive bits that depends on that pointer being managed correctly. r=heycam 2017-01-23 11:15:58 -05:00
Miko Mynttinen
690db7a2ca Bug 1332268 - Update EffectComponentAlpha texture coordinates when rendering split layers r=mattwoodrow
MozReview-Commit-ID: HFgikDMPB7F

--HG--
extra : rebase_source : 884ea1083f8def68e8c5c199929f2c0cc04a3148
2017-01-19 21:16:30 +01:00
Phil Ringnalda
bcbe2e1fcc Merge m-c to autoland 2017-01-20 19:15:16 -08:00
Botond Ballo
fe7fc8ea5b Bug 1331693 - Do not attempt async scrollbar dragging for scroll info layers. r=tnikkel
MozReview-Commit-ID: 8QjqexfaKkY

--HG--
extra : rebase_source : 293d68db3cea84810679a59dcfa234103643d8bb
2017-01-18 18:45:43 -05:00
Boris Zbarsky
f40fa57e5c Bug 851892 followup. Disable most of Rule::IsKnownLive for now to reopen CLOSED TREE 2017-01-20 13:57:42 -05:00
Boris Zbarsky
41da750c3e Bug 851892 part 20. Remove the remaining bits we added to support a mix of WebIDL and non-WebIDL rules. r=peterv 2017-01-13 10:41:05 -05:00
Boris Zbarsky
bbf09020fb Bug 851892 part 19. Convert CSSCounterStyleRule to WebIDL. r=peterv,heycam 2017-01-13 10:41:04 -05:00
Boris Zbarsky
b7f22f88b0 Bug 851892 part 18. Convert CSSKeyframesRule to WebIDL. r=peterv,heycam 2017-01-13 10:41:04 -05:00
Boris Zbarsky
fa5fe536da Bug 851892 part 17. Convert CSSKeyframeRule to WebIDL. r=peterv,heycam 2017-01-13 10:41:04 -05:00
Boris Zbarsky
284cc54462 Bug 851892 part 16. Convert CSSFontFeatureValuesRule to WebIDL. r=peterv,heycam 2017-01-13 10:41:04 -05:00
Boris Zbarsky
5398bc5f13 Bug 851892 part 15. Convert CSSFontFaceRule to WebIDL. r=peterv,heycam 2017-01-13 10:41:04 -05:00
Boris Zbarsky
b1b80495aa Bug 851892 part 14. Convert CSSPageRule to WebIDL. r=peterv,heycam
The PutForwards bit is a new feature, but easy enough to implement here.
2017-01-13 10:41:04 -05:00
Boris Zbarsky
4ce77bc3a3 Bug 851892 part 13. Convert media, supports, and moz-document rules to WebIDL. r=peterv,heycam 2017-01-13 10:41:03 -05:00
Boris Zbarsky
2daa8920fe Bug 851892 part 12. Convert CSSStyleRule to WebIDL. r=peterv,heycam,mccr8
The .style PutForwards bit is coming along for the ride; I did check that Chrome
already implements this, so we're not the only ones.
2017-01-13 10:41:03 -05:00
Boris Zbarsky
d274f30b35 Bug 851892 part 11. Convert CSSImportRule to WebIDL. r=peterv,heycam,mccr8
Note that the .media PutForwards is a new feature coming along for the ride now
that we're using the spec IDL.
2017-01-13 10:41:03 -05:00