Commit Graph
57230 Commits
Author SHA1 Message Date
Carsten "Tomcat" Book 46ce15b42f merge mozilla-inbound to mozilla-central a=merge 2017-05-17 11:16:52 +02:00
Cameron McCormack efe4a93f87 Bug 1341102: Update test expectations for servo/servo#16890. r=me 2017-05-17 12:01:39 +08:00
Andrea Marchesini 9ceba35ffd Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 4 - Rename StorageManagerBase to LocalStorageManager, r=asuth 2017-05-17 07:01:14 +02:00
Andrea Marchesini 0d8efd26cf Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 3 - SessionStorageManager, r=asuth 2017-05-17 07:01:14 +02:00
Boris Zbarsky d4c6741703 Bug 1365362. Make Gecko_AtomAttrValue work correctly when the attr's value is not an atom. r=emilio
MozReview-Commit-ID: Btf7ZI4ZdMX
2017-05-17 00:53:52 -04:00
L. David Baron 1791758b56 Bug 944200 followup - Consistently use nscoord_MIN for uninitialized mFloatEdgeIStart/End. r=mats
This fixes an inconsistency in part 2 (32faa7c639ff), which wrote the
constant for uninitialized in two different ways.

The constructor uses nscoord_MIN for uninitialized, and that's also what
GetFloatEdges tests for, so this should use nscoord_MIN as well.

I believe this is because the review comment in comment 29 was only
partially addressed.

I noticed the difference because it caused broken behavior in a tree
with my patch for bug 1227493, which defines NS_INTRINSIC_WIDTH_UNKNOWN
differently.  Some text was disappearing on github (email and website
on user pages), slack (usernames of private chats in the sidebar), and
twitter (username of user who tweeted a quoted tweet).

MozReview-Commit-ID: Ah9FUPf2dw4
2017-05-16 14:31:30 -07:00
Ryan VanderMeulen 03d74d8219 Merge inbound to m-c. a=merge
CLOSED TREE
2017-05-16 20:10:26 -04:00
Carsten "Tomcat" Book e7bc984487 Merge mozilla-central to autoland on a CLOSED TREE 2017-05-16 15:11:18 +02:00
Carsten "Tomcat" Book 360fef9352 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2017-05-16 15:08:58 +02:00
Carsten "Tomcat" Book d4006b93b2 merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
Hiroyuki Ikezoe e65d222cb4 Bug 1364412 - Update reftest expectations for pseudo-elements selectors. r=me
MozReview-Commit-ID: 3MAHKCMp8k1
2017-05-16 14:58:15 +09:00
Hiroyuki Ikezoe 1ed4176921 Bug 1364412 - Update reftest and mochitest expectations for pseudo-elements selectors. r=me
MozReview-Commit-ID: CGcljQLeS8c
2017-05-16 14:08:04 +09:00
Emilio Cobos Álvarez 2b175316f4 Bug 1364412: Properly reject to parse pseudo-element states that don't support state. r=bholley
MozReview-Commit-ID: KQCFPtOTGQI
Signed-off-by: Emilio Cobos Álvarez <[email protected]>
2017-05-15 16:38:35 +02:00
Emilio Cobos Álvarez 0b946fcfde Bug 1364412: Expose pseudo-element flags, and properly reject pseudos in non-UA sheets. r=bholley
MozReview-Commit-ID: KYC1ywfI7Lg
Signed-off-by: Emilio Cobos Álvarez <[email protected]>
2017-05-15 16:19:24 +02:00
Emilio Cobos Álvarez b1cba72009 Bug 1364412: Convert pseudo-elements to an enum. r=hiro,xidorn
This allows us to access metadata using `match` instead of comparison with
atoms, which makes it doable to get the pseudo-element flags in the future.

Signed-off-by: Emilio Cobos Álvarez <[email protected]>

MozReview-Commit-ID: KgGjFePmhyS
Signed-off-by: Emilio Cobos Álvarez <[email protected]>
2017-05-14 18:39:22 +02:00
Emilio Cobos Álvarez 0b647afcec Bug 1364412: Reftest expectation updates. r=bholley
This clears a few form-related reftests from fails-if(stylo) :)

MozReview-Commit-ID: FCrXadDim9o
Signed-off-by: Emilio Cobos Álvarez <[email protected]>
2017-05-14 13:07:45 +02:00
Emilio Cobos Álvarez 49c2f75c1a Bug 1364412: Don't ignore the pseudo-element argument in ResolvePseudoElementStyle. r=heycam
MozReview-Commit-ID: 4KA4bj2Ww5W
Signed-off-by: Emilio Cobos Álvarez <[email protected]>
2017-05-13 19:29:14 +02:00
Emilio Cobos Álvarez ca76897873 Bug 1364412: Simplify Servo_HasAuthorSpecifiedRules looking at the pseudo style. r=bholley
MozReview-Commit-ID: HpV92ttZGJz
Signed-off-by: Emilio Cobos Álvarez <[email protected]>
2017-05-12 17:51:32 +02:00
Bobby Holley cd9cfbd1a7 Bug 1364863 - Make stylo property of reftests dependent on the pref, not just the define. r=heycam 2017-05-16 10:57:21 +02:00
Xidorn Quan ffa12276d6 Bug 1355352 - Reject unicode-range descriptor when its value contains invalid part. r=jfkthame
MozReview-Commit-ID: 1ZcFCPsIMtx
2017-05-16 10:15:18 +10:00
Wes Kocher 484637b292 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 6IorAN8i9Ot
2017-05-15 16:34:36 -07:00
Wes Kocher 672eaeacb7 Merge inbound to central, a=merge
MozReview-Commit-ID: AFMOzsYBEjc
2017-05-15 16:22:21 -07:00
Christoph Kerschbaumer 5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Boris Zbarsky 768f1fff02 Bug 1364335 tests. Test dynamic changes to :any-link matching. r=emilio
MozReview-Commit-ID: Jn9RLj59ntr
2017-05-15 12:23:47 -04:00
Nathan Froyd 3b526b2200 Bug 1359490 - add an event loop spinning abstraction function; r=gerald
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Carsten "Tomcat" Book d42020dd61 merge mozilla-inbound to mozilla-central a=merge 2017-05-15 14:01:17 +02:00
Xidorn Quan b010d0f477 Bug 1328319 part 10 - Update test expectations. r=heycam
MozReview-Commit-ID: AnE2ArU45Ru
2017-05-10 12:43:49 +10:00
Xidorn Quan c5218ffa2d Bug 1328319 part 9 - Don't clean up retired counter styles for stylo. r=heycam
MozReview-Commit-ID: JWBhNvtYGIB
2017-05-15 22:18:49 +10:00
Xidorn Quan 85ab68e516 Bug 1328319 part 8 - Make stylo use counter-style for list-style-type and counter functions. r=heycam,SimonSapin
MozReview-Commit-ID: AUU3AbwOpPs
2017-05-15 14:36:43 +10:00
Xidorn Quan 2f56b27839 Bug 1328319 part 7 - Enable querying counter-style rule on Servo backend. r=heycam
MozReview-Commit-ID: Aj3AcW1KmRe
2017-05-11 14:47:24 +10:00
Xidorn Quan 70957a721d Bug 1328319 part 6 - Make it possible to delay resolving counter style. r=heycam
MozReview-Commit-ID: 5rlGBf9Asu4
2017-05-15 14:22:10 +10:00
Xidorn Quan 2c1ba21f1a Bug 1328319 part 5 - Add bindings for list and pair list value of nsCSSValue. r=manishearth
MozReview-Commit-ID: KO0UCkrlxBi
2017-05-15 14:20:52 +10:00
Xidorn Quan d73d8ed919 Bug 1328319 part 4 - Add binding for setting pair value of nsCSSValue. r=manishearth
MozReview-Commit-ID: 2bAH90Mh4GP
2017-05-09 22:36:03 +10:00
Xidorn Quan a1e14f1b56 Bug 1328319 part 3 - Add support for auto value in nsCSSValue sugar. r=manishearth
MozReview-Commit-ID: 9QQ9fdU0all
2017-05-15 14:14:59 +10:00
Xidorn Quan 7e831c2741 Bug 1328319 part 2 - Add basic integration of @counter-style. r=heycam
MozReview-Commit-ID: 68CcxyWuINu
2017-05-15 14:18:44 +10:00
Xidorn Quan 6273c9bd6a Bug 1328319 part 1 - Move nsCSSCounterStyleRule into a separate header file. r=heycam
MozReview-Commit-ID: Lm1GiKNsgI0
2017-05-09 21:52:06 +10:00
cku d0053f3fee Bug 1364273 - (followup) update stylo-failures.md to reduce failure count of mask. r=cjku
MozReview-Commit-ID: Hj4qBXVnZM0
2017-05-16 10:48:10 +08:00
Hiroyuki Ikezoe aec64c30f7 Bug 1365091 - Enale transition-and-animation-with-different-durations.html on stylo. r=boris
MozReview-Commit-ID: InORQl8uTAA
2017-05-16 08:16:10 +09:00
Wes Kocher 5a3d1ae43d Merge m-c to autoland a=merge
MozReview-Commit-ID: L0rsjIzeVij
2017-05-15 17:02:08 -07:00
Emilio Cobos Álvarez 9315c160ba Bug 1341102: Update test expectations for servo/servo#16859. r=emilio
Patch by Anthony Ramine.

MozReview-Commit-ID: 7uTzBU8yG0E
2017-05-15 17:22:48 +02:00
Xidorn Quan f526ac5958 Bug 1363699 part 2 - Make AnonymousCounterStyle use thread-safe refcount. r=heycam
Although this is not strictly necessary at the moment, static analysis
reports this as a new heap write hazard. Since we would eventually do
this change for symbols() support in Stylo, it is easier to just change
it here than convincing hazard analysis to believe it is harmless.

MozReview-Commit-ID: 7lfyZN6tDnJ
2017-05-11 15:05:23 +10:00
Xidorn Quan b7742acb67 Bug 1363699 part 1 - Make named CounterStyle objects not refcounted. r=heycam
This change does the following:
* Introduce a new smart pointer called CounterStylePtr which either
  holds an AnonymousCounterStyle strongly, or a named CounterStyle
  managed by CounterStyleManager weakly, and use it to replace all
  RefPtr<CounterStyle> around the codebase.
* Rename CounterStyleManager::mCacheTable to mStyles to reflect the
  fact that it is used to manage all styles, not just for caching.
* Add a retired styles list which collect all named CounterStyle
  evicted from mStyles, and post a PostRefreshObserver to destroy
  objects in that list after next flush.
* Remove helper functions for counter style in nsStyleList and expose
  mCounterStyle directly, to make code simpler with the new pointer.

Reason for adding a new smart pointer type rather than making their
AddRef/Release behave like BuiltinCounterStyle is that, it is possible
that after a flush, some stale style structs may still be alive. They
can contain pointer to destroyed CounterStyle objects. Although the
actual content may never be accessed anymore, RefPtr may still access
the object for refcounting during destruction.

MozReview-Commit-ID: xxegwSDhNb
2017-05-13 21:42:23 +10:00
Xidorn Quan 591944b436 Bug 1341102 - Update reftest expectation for #16855.
MozReview-Commit-ID: 4KOOm7Tr8G8
2017-05-15 13:34:42 +10:00
Xidorn Quan ff7575f5ca No bug - Update stylo-failures.md.
MozReview-Commit-ID: HKl5jUaEzl3
2017-05-15 12:52:32 +10:00
Masayuki Nakano 98befdd2c1 Bug 1354443 part.4 nsPrintData should guarantee that object which has nsIWebProgressListener interface won't be released during calling a method of it r=dholbert
Although, this should be rewritten with range-based for loop, this patch just making them use nsCOMPtr to refer the objects.

MozReview-Commit-ID: IJBWs8CTyCF
2017-05-02 17:07:45 +09:00
Sebastian Hengst 681d92fccd Backed out changeset 19f0b1e8f287 (bug 1358710) for failing reftest aja-linear-2.html on OS X with e10s. r=backout 2017-05-15 00:18:47 +02:00
Carsten "Tomcat" Book ff868a4a2e Merge mozilla-central to autoland 2017-05-15 14:41:48 +02:00
Fernando Jimenez Moreno 73fde3da0e Bug 1350175 - Part 3: Set source position for the different rules. r=SimonSapin,xidorn
MozReview-Commit-ID: 6AGNOLqoNHx
2017-05-15 14:02:13 +02:00
Masayuki Nakano 7e490a72a1 Bug 1354443 part.3 While nsDocumentViewer is destroying mPrintEngine, null out its pointer & transfer ownership to local var r=dholbert
MozReview-Commit-ID: ALRlOC07SY2
2017-04-28 16:25:01 +09:00
Masayuki Nakano 2375875594 Bug 1354443 part.2 nsPrintEngine::Disconnect() should clear mPrintObj r=dholbert
MozReview-Commit-ID: 1fUZ8YJCvxh
2017-04-27 17:17:20 +09:00