Kris Maglione
9c145b38f6
Bug 1406278: Part 8b - Use subject principal as triggering principal in style <link> "href" attribute. r=bz
...
MozReview-Commit-ID: LWMkBcB4WIg
--HG--
extra : rebase_source : fa2daf25c58190cee7e55798347d4eaffa0d5250
extra : histedit_source : f2887c9e53c572aa5e675600cd1aeb6c5a72becc%2Ce7a84ac505319ca24e65c73a4df13014a0a0cdc0
2017-10-05 19:40:48 -07:00
Jeremy Chen
0288650258
Bug 1403077 - add tests for the stylo blocklist mechanism. r=heycam,leplatrem
...
In this patch, we add 3 tests:
1. test for blocked domain
2. test for blocked sub-domain
3. test for non-blocked domain
MozReview-Commit-ID: JzMImsbGoPr
--HG--
extra : rebase_source : 0eed42f6d2815bd8adbb9fb6be54b6feb3b1bcc8
2017-10-05 17:33:10 +08:00
Sebastian Hengst
aa78440a09
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: EE6DcCgHufi
2017-10-09 11:19:20 +02:00
Nicholas Nethercote
8a68e6fb83
Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange.
...
Currently the Gecko Profiler defines a moderate amount of stuff when
MOZ_GECKO_PROFILER is undefined. It also #includes various headers, including
JS ones. This is making it difficult to separate Gecko's media stack for
inclusion in Servo.
This patch greatly simplifies how things are exposed. The starting point is:
- GeckoProfiler.h can be #included unconditionally;
- everything else from the profiler must be guarded by MOZ_GECKO_PROFILER.
In practice this introduces way too many #ifdefs, so the patch loosens it by
adding no-op macros for a number of the most common operations.
The net result is that #ifdefs and macros are used a bit more, but almost
nothing is exposed in non-MOZ_GECKO_PROFILER builds (including
ProfilerMarkerPayload.h and GeckoProfiler.h), and understanding what is exposed
is much simpler than before.
Note also that in BHR, ThreadStackHelper is now entirely absent in
non-MOZ_GECKO_PROFILER builds.
2017-10-04 09:11:18 +11:00
Bobby Holley
3b4158287b
Bug 1406220 - Followup: Assert main thread to silence heap-write hazard. r=me
...
MozReview-Commit-ID: JFW9zDbV5VV
2017-10-07 14:31:00 -07:00
Bobby Holley
a519863205
Bug 1406220 - Add canary and journaling. r=Manishearth,r=dmajor
...
MozReview-Commit-ID: 582ZiTmcvgs
2017-10-07 12:35:24 -07:00
Sebastian Hengst
b29f365446
Backed out changeset f70d6fcdb760 (bug 1406631) for failing color related reftests like layout/reftests/writing-mode/ua-style-sheet-input-color-1.html on Android. r=backout
2017-10-07 20:08:12 +02:00
Nicholas Nethercote
d225f7151b
Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
...
(Path is actually r=froydnj.)
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
MozReview-Commit-ID: 91U22X2NydP
--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
Manish Goregaokar
63f30a0c62
Bug 1404057 - stylo: Add crashtest for text-zoom being reenabled within svg:text; r=xidorn
...
MozReview-Commit-ID: 3dIDW8Tz6Mj
2017-10-07 08:27:08 -07:00
Emilio Cobos Álvarez
b7befbe6b5
Bug 1406631: Remove the color-picker-available system metric. r=xidorn
...
All our widgets support it with a constant true.
MozReview-Commit-ID: JMEItUsxYWq
--HG--
extra : rebase_source : a2661dce1ac191fdf098e631cd7878f0215643d5
2017-10-07 14:06:44 +02:00
Emilio Cobos Álvarez
1fcd583663
Bug 1396066: Add a mechanism to make media features chrome / UA-only. r=xidorn
...
This is unused right now, but will allow to change media feature visibility
without servo/ changes (along with https://github.com/servo/servo/pull/18774 ).
MozReview-Commit-ID: 75hahvROoJz
2017-10-07 13:30:09 +02:00
Boris Zbarsky
c629c7383a
Bug 1406222
tests. r=heycam
...
MozReview-Commit-ID: 6fNGlwC8ZwA
2017-10-07 10:10:18 +02:00
Sebastian Hengst
6ceb627ccd
Backed out changeset cb92b20ea556 (bug 1406222
) for frequently failing clipboard's devtools/client/netmonitor/test/browser_net_copy_headers.js. r=backout
2017-10-07 10:03:30 +02:00
Boris Zbarsky
28f817772c
Bug 1406222
tests. r=heycam
...
MozReview-Commit-ID: 6fNGlwC8ZwA
2017-10-07 03:17:22 -04:00
Hiroyuki Ikezoe
9d610320fe
Bug 1406284 - Remove unused parent context argument. r=heycam
...
MozReview-Commit-ID: A1yIOZ1bWjY
--HG--
extra : rebase_source : a4daa3466382b64f50256d1c081f886b98f4f80d
2017-10-06 13:51:02 +09:00
Phil Ringnalda
6ea2792d77
Backed out 9 changesets (bug 1396066) for Windows reftest failures
...
CLOSED TREE
Backed out changeset e41f9295ee00 (bug 1396066)
Backed out changeset 7a22efa8df6b (bug 1396066)
Backed out changeset ed95eea7105c (bug 1396066)
Backed out changeset 635746c88630 (bug 1396066)
Backed out changeset 5b1997aeaead (bug 1396066)
Backed out changeset 19c9ea492f5e (bug 1396066)
Backed out changeset b9d8e4588584 (bug 1396066)
Backed out changeset 87b44ea10407 (bug 1396066)
Backed out changeset e5b9aed44133 (bug 1396066)
MozReview-Commit-ID: K9q3MfPBc5E
2017-10-06 20:48:23 -07:00
Emilio Cobos Álvarez
fec2a9ebed
Bug 1396066: Fix bug 418986 tests. r=me
...
On a CLOSED TREE.
MozReview-Commit-ID: 9bulxAwhsTM
2017-10-06 17:01:30 +02:00
Emilio Cobos Álvarez
df1739abac
Bug 1396066: Remove -moz-physical-home-button. r=xidorn
...
MozReview-Commit-ID: IaXLKNuHomI
2017-10-06 14:34:59 +02:00
Emilio Cobos Álvarez
b90c5280f4
Bug 1396066: Restrict -moz-is-glyph to UA and chrome only. r=xidorn
...
MozReview-Commit-ID: A2Jiw8KtJSM
2017-10-06 14:34:58 +02:00
Emilio Cobos Álvarez
81f719cb23
Bug 1396066: Restrict -moz-windows-theme and -moz-os-version to UA and chrome only. r=xidorn
...
MozReview-Commit-ID: 9iEhkcZb52C
2017-10-06 14:34:57 +02:00
Emilio Cobos Álvarez
4efbb7d1dd
Bug 1396066: Restrict system-metric media features to UA and chrome sheets only. r=xidorn
...
MozReview-Commit-ID: 38jRV6mPbE3
2017-10-06 14:34:56 +02:00
Emilio Cobos Álvarez
cd52a82d9e
Bug 1396066: Restrict :-moz-system-metric to chrome and ua sheets. r=xidorn
...
MozReview-Commit-ID: AyHWP3QgGlA
2017-10-06 14:34:56 +02:00
Emilio Cobos Álvarez
4ce8f460f2
Bug 1396099: Make :-moz-styleeditor-transitioning only valid in UA sheets. r=xidorn
...
MozReview-Commit-ID: 9CjdFz5ZpAw
2017-10-05 20:35:54 +02:00
Emilio Cobos Álvarez
9ca2b9b823
Bug 1405635: Test that custom content doesn't inherit from the root element. r=bholley
...
MozReview-Commit-ID: GvjsdQk5Wt4
--HG--
extra : rebase_source : 7ea1d03c512e197eeadbcae7a7a58cfbfa5e6d20
2017-10-05 01:40:48 +02:00
Sebastian Hengst
ee4297061e
Backed out changeset 1df4622b548b (bug 1405635) for failing mochitest layout/style/test/test_custom_content_inheritance.html. r=backout on a CLOSED TREE
2017-10-05 17:39:20 +02:00
Emilio Cobos Álvarez
d7ff7725af
Bug 1405635: Test that custom content doesn't inherit from the root element. r=bholley
...
MozReview-Commit-ID: GvjsdQk5Wt4
2017-10-05 14:53:22 +02:00
Wes Kocher
6dc323cfe9
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: Dxbv9TjDlDY
2017-10-04 16:47:41 -07:00
Wes Kocher
d8985b6e57
Merge inbound to central, a=merge
...
MozReview-Commit-ID: IUFdbLdYFhX
2017-10-04 16:37:59 -07:00
Arthur Edelstein
451dcb314e
Bug 1404224 - Fix ubsan runtime error for nsCSSTokenSerializationType. r=heycam
2017-10-03 10:06:00 -04:00
Emilio Cobos Álvarez
d46ace29b9
Bug 1405605: Bypass the IsReallyFixedPos assertion when the style may have changed due to first-line reparenting. r=bz
...
MozReview-Commit-ID: HS0670UMqKK
2017-10-04 17:53:13 +02:00
Brad Werth
119fecfe62
Bug 1403699 Part 1: Unify ServoBindings synchronization primitives into a single RWLock. r=bholley
...
MozReview-Commit-ID: GdYLEQHiM1f
--HG--
extra : rebase_source : 50b89324dc06f3374029f36a70a63b0f6fcb0df6
2017-10-03 12:57:38 -07:00
Brad Werth
238373e9d8
Bug 1376931 Part 3: Change Gecko media queries of resolution to compare in dppx units without unit conversion. r=heycam
...
MozReview-Commit-ID: DPdz1Tmv24R
--HG--
extra : rebase_source : 529e1414a9017cad3afcacb69bddad1d46d7f9de
2017-09-27 16:53:27 -07:00
Sebastian Hengst
4976129381
Backed out changeset 61387758d1c4 (bug 1376931)
2017-10-05 00:15:02 +02:00
Brad Werth
559b3e4021
Bug 1376931 Part 3: Change Gecko media queries of resolution to compare in dppx units without unit conversion. r=heycam
...
MozReview-Commit-ID: DPdz1Tmv24R
--HG--
extra : rebase_source : ddf4b4aae7fdc8ca62de714b9f222daee5959743
2017-09-27 16:53:27 -07:00
Emilio Cobos Álvarez
808664591f
Bug 1404324: Mark one of the test-cases as known-asserting until we figure out what to do with that assertion. r=me
...
MozReview-Commit-ID: 7RI7dwRSFkH
2017-10-04 11:36:20 +02:00
Sebastian Hengst
8512b78e41
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-10-04 11:18:02 +02:00
Emilio Cobos Álvarez
660ab8f549
Bug 1404324: Use the placeholder state to remove out-of-flows that aren't real descendants of the destruction root. r=bz
...
Using the style of the frame can mess things up when we reparent them due to
::first-line before removing them.
MozReview-Commit-ID: 3Dt0wF2XRAH
2017-10-04 10:49:41 +02:00
Sebastian Hengst
0ba56b9c7d
Backed out changeset cb247c8a0fe5 (bug 1404324) for landing with wrong commit message. r=backout
2017-10-04 10:48:14 +02:00
Emilio Cobos Álvarez
ae652b0b37
Bug 1404324: Always remove out of flows from the placeholder frame, using its info. r=bz
...
MozReview-Commit-ID: 3Dt0wF2XRAH
2017-10-04 10:38:34 +02:00
Bobby Holley
cb4c93bfd6
Bug 1403397 - Revert: Round hashglobe allocations up to the nearest page size. r=bholley
...
This reverts commit a4aba77facc8ceab1e0d7f7d796075a6606b15c6.
MozReview-Commit-ID: 7quMDoDmqxL
2017-10-03 14:07:05 -07:00
Bobby Holley
ce4c83e27d
Bug 1403397 - Revert: Protect the hashmaps outside of rebuilds. r=bholley
...
This reverts commit 80a3d080ad6f6ae8641443ba08e11a6e9eed260a.
2017-10-03 14:05:57 -07:00
Bobby Holley
ef26283b2d
Bug 1403397 - Revert: Add a testing API. r=bholley
...
This reverts commit 4194b7dd8ec748c044a9b8b0967fd9d652ea342c.
2017-10-03 14:05:56 -07:00
Brad Werth
4560a2c23f
Bug 1374181
Part 1: Don't attempt EnsureUniqueInner on incomplete sheets in a StyleSet. r=xidorn
...
One remaining issue is that requesters of CSSRules might also want to know if those rules are complete, and to listen for completion if the rules are incomplete. Bug 1404538 will fix this up at least for devtools.
MozReview-Commit-ID: COnkS40Ooe2
--HG--
extra : rebase_source : 453bed12805fec668e90d5194fcd3df2d48af56e
2017-10-03 11:15:26 -07:00
Arthur Edelstein
9ce6189199
Bug 1404572 - Fix ubsan runtime error for ReferrerPolicy enum in FontFaceSet.cpp. r=jfkthame
2017-09-30 21:52:00 -04:00
Cameron McCormack
6fdd311839
Bug 1404180 - Don't allow associating form elements by ID to <form>s across anonymous subtree boundaries. r=smaug
...
MozReview-Commit-ID: KRJjrkL4FgZ
--HG--
extra : amend_source : 80cd5e00804a8b2a5fd4e51b0f7ea9160dd63b1c
2017-10-02 13:10:18 +08:00
Ting-Yu Lin
0407b6a507
Bug 1404243 Part 4 - Change StyleShapeSource's URL value storage by using nsStyleImage. r=heycam
...
This is for implementing shape-outside: <image> later.
MozReview-Commit-ID: 93TmLecRjRx
--HG--
extra : rebase_source : c2b39b1e12ef96e80a3ceb0a800767d379e6e6bb
2017-09-29 16:24:23 +08:00
Ting-Yu Lin
d944131798
Bug 1404243 Part 3 - Remove refcount for StyleBasicShape, and use UniquePtr to hold it. r=heycam
...
After StyleBasicShape is set to StyleShapeSource, it's life cycle never go
beyond StyleShapeSource, so I make StyleBasicShape hold by a UniquePtr in
StyleShapeSource.
Also, replace all raw pointers to StyleBasicShape by UniquePtr in all APIs.
MozReview-Commit-ID: 1MfIFjP8TsQ
--HG--
extra : rebase_source : bdbbd47de57e0bc610e37913752ab8413f62588a
2017-09-25 18:50:24 +08:00
Ting-Yu Lin
d8c9dae62b
Bug 1404243 Part 2 - Change StyleShapeSource::operator==() to use logic in DefinitelyEquals(). r=heycam
...
The original operator==() (implemented by EqualsInternal<true>) is not been
used. Therefore, I expand EqualsInternal<false> into it, and move it to
nsStyleStruct.cpp.
Also, use DefinitelyEqualURIs() in nsStyleStruct.cpp in operator==().
MozReview-Commit-ID: HccwKvzQHR
--HG--
extra : rebase_source : f63dac121e13fd9c6dccf7f0c6e870bd75d9e03a
2017-09-29 14:36:35 +08:00
Ting-Yu Lin
5df24bad8e
Bug 1404243 Part 1 - Move StyleShapeSource's large methods to nsStyleStruct.cpp. r=heycam
...
MozReview-Commit-ID: 5X5LGCSzSwX
--HG--
extra : rebase_source : 28e8a499184688f13069857b886306b3d9b3840f
2017-09-27 11:32:38 +08:00
Shih-Chiang Chien
d19facee30
Bug 1381434 - off-main-thread loading web font r=heycam
...
MozReview-Commit-ID: 8PQdxK5K55
--HG--
extra : rebase_source : 2691c8dcfb9e49b670529526551c4ac0be271eb0
2017-09-29 10:10:13 +08:00