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

530152 Коммитов

Автор SHA1 Сообщение Дата
Andrew McCreight 45774ba552 Bug 1355611 - Don't load TelemetryStartup.js in the content process. r=gfritzsche
Instead, run the telemetry startup in ContentProcessSingleton.js, to
avoid loading a .jsm in every content process.

MozReview-Commit-ID: BnwoZTjFB3i

--HG--
extra : rebase_source : 1d515668c9d0af0aa498c573a14c96681baa4605
2017-04-11 15:13:30 -07:00
Sebastian Hengst c0edbd9dfe Backed out changeset 364265dfdf2c (bug 1320310) for gradle related failures. r=backout 2017-04-12 18:22:14 +02:00
tamamu 0d1d626e5f servo: Merge #16322 - Implement alignment shorthand properties (from tamamu:place-shorthand); r=upsuper
<!-- Please describe your changes on the following line: -->
I implemented the shorthand properties, but it may includes some bugs.

Currently, `mach test-unit -p style` caught some errors (see #15954). I already tried `mach build-geckolib`, though there is no improvement. Please check my code.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #15954

<!-- Either: -->
- [x] There are tests for these changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 0912bd06d7c5f5560de43a47b2f15002f334a533

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2acc78b68349b5a7d931cc6ebbdb88360924ab07
2017-04-12 10:35:54 -05:00
Matt Howell 64216c2895 Bug 1351482 - Use NSIS 3.01 for buildbot jobs. r=mshal
MozReview-Commit-ID: ElKlo6QwKmR

--HG--
extra : rebase_source : e98bc9f726ae74daa025fa61d0d80e631ba2ebbe
2017-02-09 13:48:12 -08:00
Chris H-C 78efc51373 bug 1353295 - Remove addonHistograms from Telemetry r=Dexter
addonHistograms isn't being used and has started getting in the way.
So it goes.

Leave the "Addon Histograms" section in about:telemetry for 60 days.
Remove it in bug 1355882

MozReview-Commit-ID: 4lm7ONirofl

--HG--
extra : rebase_source : 39be18e5e31f930087111971e0b3d41c46fdc801
2017-04-06 15:31:58 -04:00
Nick Alexander a4d5b2310a Bug 1320310 - Post-process Gradle-produced Android manifest. r=sebastian
Layer on the hacks!  This:

1) Reinstates the <activity-alias android:name=".App"> that we have in
   the moz.build produced Android manifest.  I found no way to do this
   using placeholders or the manifest merger.

2) Culls manifest entries provided by
   com.google.android.gms.measurement.  We know they're not necessary,
   since they're not present in the existing Fennec Android manifest.

These are strictly workarounds to avoid doing the real work of fixing
the issues.  To fix 1), we'd need to migrate all existing users with
homescreen shortcuts to .App.  This could be difficult, especially if
partners have deployed packages out of our update control.  To fix 2),
we'll need to upgrade our Google Play Services to at least version
9.0.0 and then use the finer-grained AAR dependencies to not build
with the measurement split at all.

MozReview-Commit-ID: 21CaZ2KMeIa

--HG--
extra : rebase_source : c45694814145946425031064cf59d3b863d3bde4
2017-04-11 20:49:05 -07:00
Valentin Gosu 85ac9821e0 Bug 1354245 - Don't call CaptivePortalService::Start() in SetConnectivityInternal if the captive portal service is disabled via pref r=mcmanus
MozReview-Commit-ID: 4xCkBgWDZ2b

--HG--
extra : rebase_source : 8bce4e1fb98e9c8dd2c8119ee59df2cfbb62efb3
2017-04-12 17:52:14 +03:00
Emilio Cobos Álvarez 6ef6f7cb8e servo: Merge #16378 - stylo: A bunch of media query fixes (from emilio:media-fixes); r=upsuper
Source-Repo: https://github.com/servo/servo
Source-Revision: bb66bf81d5b699f40c8b59ea5eb7390dc23579bb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 41562f8f656e98ab95e0c7f7df73a9c93296fa55
2017-04-12 10:00:26 -05:00
Fischer.json c39e57fe94 Part 2: Bug 1354530 - Disable offline group in Preferences in Nightly because Storage Management v1 spec is done, r=jaws
MozReview-Commit-ID: A4xbomLFYlQ

--HG--
extra : rebase_source : 9b5088f65c86ea6eb78b1c020cabed8922555234
2017-04-07 21:21:32 +08:00
Fischer.json a08651e908 Part 1: Bug 1354530 - Update the strings about Storage Manager according to the latest v1 specs, r=jaws
MozReview-Commit-ID: H9gCEZS7U3N

--HG--
extra : rebase_source : 95c23a122fa2c3830f9671334eb686d6a456bd6f
2017-04-07 21:04:49 +08:00
Rex Lee 446fef466c Bug 1349096 - Prevent download panel from moving up and down with download start animation. r=Paolo
MozReview-Commit-ID: E6zQUXcBWWP

--HG--
extra : rebase_source : b7cebbd0ed077c29b2606bd42a3ec8d017a37d18
2017-04-10 15:20:32 +08:00
Jessica Jong 67e5ec0739 Bug 1320227 - [DateTimeInput] Localize placeholders for <input type=date>. r=mossop
MozReview-Commit-ID: Bn0xjuuVhgU

--HG--
extra : rebase_source : ab0f4c707a5247daf8fdf6a9666a5b753e71d457
2017-04-11 15:24:23 +08:00
Andrew McCreight 096d42a94b Bug 1355619 - Don't load PushComponents.js in content processes at startup. r=kitcambridge
This avoids creating a compartment in every content process that does
not use the push service.

MozReview-Commit-ID: HQxrVp9DxFd

--HG--
extra : rebase_source : 4920c118c3385b73edc61980d5582f6ba0e29221
2017-04-11 14:27:25 -07:00
Rob Wood bd0a254249 Bug 1353900 - Add talos stylo bloom-basic test; r=jmaher
MozReview-Commit-ID: CYxto0ALXaZ

--HG--
extra : rebase_source : f57b79502b2b3e7a1112064721b6c251e17b4d80
2017-04-06 15:11:25 -04:00
Daosheng Mu 58f9e1bf97 Bug 1349102 - Making read back buffer use the default framebuffer when doing snapshot; r=jgilbert
MozReview-Commit-ID: EGaopHztAex

--HG--
extra : rebase_source : 407570d2517ed3de6847386e34407071fc17aebb
2017-04-10 17:45:46 +08:00
Nicholas Hurley 717c8bdd83 Bug 1346392 - force non-spdy on sticky auth connections. r=dragana
MozReview-Commit-ID: IkYTVgetKsn

--HG--
extra : rebase_source : 18a903dec51e152688e045eeb410541b219a6189
2017-03-28 17:15:23 -07:00
Jared Wein a9e45312b0 Bug 1352738 - Move the position of the Container Tabs 'Learn More' link so it is inline with the checkbox like the other preferences. r=jkt
MozReview-Commit-ID: FGowC3cp1J2

--HG--
extra : rebase_source : 629575f3d9c17d735f65f1352f801bbf9d64ec0d
2017-04-12 09:50:03 -04:00
Manish Goregaokar a8f8bfeb3e Bug 1339711 - Part 5: stylo: Support background presentation attribute; r=emilio
MozReview-Commit-ID: LU6ETeH8lxn
2017-04-12 23:05:57 +08:00
Manish Goregaokar d290aaa68d Bug 1339711 - Part 4: stylo: Update reftest expectations for MathML changes; r=emilio
MozReview-Commit-ID: 3MTuJus7mCB
2017-04-12 23:05:50 +08:00
Manish Goregaokar 9d7550892d Bug 1339711 - Part 3: stylo: Support mathsize, width, and scriptminsize presentation attributes in MathML; r=emilio
MozReview-Commit-ID: GvHslYdBfXU
2017-04-12 23:05:44 +08:00
Manish Goregaokar fd3cc1e497 Bug 1339711 - Part 2: stylo: Support most MathML presentation attributes; r=emilio
MozReview-Commit-ID: BSR3ZW6PWkL
2017-04-12 23:05:38 +08:00
Manish Goregaokar ea86b671be Bug 1339711 - Part 1: stylo: Support -moz-script-size-multiplier, -moz-script-level, -moz-math-display; r=emilio
MozReview-Commit-ID: KzBDsmZK5w0
2017-04-12 23:05:29 +08:00
Boris Chiou 0aa774ef7e Bug 1343753 - Part 9: Early return for non-animatable properties for transitions. r=hiro,manishearth
MozReview-Commit-ID: HtNavkzyHvt

--HG--
extra : rebase_source : 410409a3005cb68da1266d3844c05c7c58123a75
2017-04-12 16:37:09 +08:00
Boris Chiou a553e2ec4c Bug 1343753 - Part 8: Rename and add new methods in nsTransitionManager. r=birtles
Rename UpdateTransitions as DoUpdateTransitions, and add a public
method, UpdateTransitions for stylo.

MozReview-Commit-ID: 7UiGzFsGZC4

--HG--
extra : rebase_source : a1e6a1efda9fc324ba50e5a17c122d6daf1b5b01
2017-04-12 16:33:44 +08:00
Boris Chiou 14c82e485a Bug 1343753 - Part 7: Use template for UpdateTransitions and ConsiderInitiatingTransition. r=birtles
We use the template to replace the type, nsStyleContext and
ServoComputedValuesWithParent.

MozReview-Commit-ID: JFPdODZAwX8

--HG--
extra : rebase_source : 781c7027f9b5f2f72ae4b4cd80e7952b938a6641
2017-03-09 15:37:17 +08:00
Boris Chiou 2317c8957e Bug 1343753 - Part 6: Move mAnimationGeneration into RestyleManager. r=birtles
So stylo can also use mAnimationGeneration.

MozReview-Commit-ID: KTc8vs2RKMm

--HG--
extra : rebase_source : 52aeb3bf91fa849cbddbedff28418736f96086bb
2017-03-09 17:15:08 +08:00
Boris Chiou a699413b9a Bug 1343753 - Part 5: Support ServoComputedValues in ExtractNonDiscreteComputedValue. r=birtles,hiro,manishearth
We use ServoComputedStyleValues as the argument here, instead of
ServoComputedValues, because I will use template for nsStyleContext and
ServoComputedValuesWithParent in UpdateTransitions() and
ConsiderInitiatingTransition(). Besides, add an FFI to check if a
proeprty is discrete animation type.

MozReview-Commit-ID: 7VtcMDtgl55

--HG--
extra : rebase_source : eeef2e634887b66bb6650d66fb2e3929a5ea1855
2017-04-12 16:31:12 +08:00
Boris Chiou fb53a02a99 Bug 1343753 - Part 4: Introduce AnimationValue::IsInterpolableWith. r=birtles,manishearth
We have different interpolation implementations on Gecko and Servo, so
wrap the "Can be Interpolated" in AnimationValue. This patch also introduces
the FFI, Servo_Animationvalues_IsInterpolable.

MozReview-Commit-ID: 92Yf1u84A3c

--HG--
extra : rebase_source : 544d9db1b0d377006ae42b1242dc064bd5fa65d2
2017-04-12 16:26:59 +08:00
Boris Chiou f4f6aed21d Bug 1343753 - Part 3: Use AnimationValue in ElementPropertyTransition and CSSTransition. r=birtles
We also need to update the interpolation code based on ServoAnimationValue in
ElementPropertyTransition::UpdateStartValueFromReplacedTransition().
Therefore, ElementPropertyTransition can be used by both Gecko and Servo.

MozReview-Commit-ID: BrIpvRR3te8

--HG--
extra : rebase_source : df49fdf39811dcd1661cc815dbf0b1bc192f9d81
2017-03-09 12:33:15 +08:00
Boris Chiou 6b6ab8a902 Bug 1343753 - Part 2: Update GetTransitionKeyframes for stylo. r=birtles,manishearth
Use AnimationValue as arguments, and add one FFI to uncompute the
value. Therefore, we can use GetTransitionKeyframes for both Gecko and
Servo backends. However, there are many "mGecko"s, which will be removed
later.

MozReview-Commit-ID: Dg5hrDdlIWb

--HG--
extra : rebase_source : 0ed36ee5a48e4d452ba812f912de6110a3139510
2017-04-12 15:51:55 +08:00
Boris Chiou bceeb51dd7 Bug 1343753 - Part 1: Make GetTransitionKeyframes as a local static function. r=birtles
GetTransitionKeyframes is a simple helper function, which is only used by
ConsiderInitiatingTransition, so let's make it static to reduce the time
to revise the header.

MozReview-Commit-ID: HlztPxz8sMJ

--HG--
extra : rebase_source : 37dd1dca3956fcdd89148b2b8c7a24413c0f9aac
2017-03-09 13:35:43 +08:00
Alessio Placitelli 0cd6586ff3 Bug 1354482 - Turn on sending the "shutdown" ping using the pingsender from the second Firefox session. r=chutten,gfritzsche
MozReview-Commit-ID: IEYfziF86mF

--HG--
extra : rebase_source : aa1190d5ea52c1e212814ba1a4d4f2b0add55c02
2017-04-10 12:51:45 +02:00
Manish Goregaokar 911bb85b69 servo: Merge #16376 - stylo: Support mathml and background preshints (from Manishearth:stylo-mathml); r=emilio
r=emilio https://bugzilla.mozilla.org/show_bug.cgi?id=1339711

Source-Repo: https://github.com/servo/servo
Source-Revision: 8298ee75c77bdc6061afd8c00d3f57e7f0c2db16

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b77c250883a7d2ceac24e62b38d5bfd941223a85
2017-04-12 09:16:55 -05:00
Carsten "Tomcat" Book 895602ee28 Backed out changeset 65cf36aa783f (bug 1352115) for bustage
--HG--
extra : rebase_source : cf96ddfa5001215dee0f5a301c7268b3a55caffb
2017-04-12 16:58:55 +02:00
Marco Bonardo abe092f4db Bug 977177 - Invalidate the page-icon image cache when necessary. r=adw
Remove page-icon entries when the icon changes, so that we start showing the
new content.
Also adds an SVG page-icon test.

MozReview-Commit-ID: 10MIOvwbQ20

--HG--
extra : rebase_source : 27775ada780c0c949555d5bed979e57227549bc1
2017-03-31 17:03:25 +02:00
Marco Bonardo 4a1b0e63d5 Bug 977177 - Don't expire root domain icons with history, and don't associate pages to them. r=adw
Root domain icons should be retained as far as possible, and only expired when
a domain is removed from the database. We do that through the moz_hosts trigger.
Additionally, since we return root domain icons without the need for a direct
association, we can save a lot of database space and performance by not storing
associations at all for root domain icons.
This has some downsides, since we don't exactly know if the page was really
associated with that root icon or not, but the perf gains are far superior.
Note that we still create associations during migration, since it would be too
expensive to examine every single url to figure out if it's a root domain icon.

MozReview-Commit-ID: 3mlfcOV8ixC

--HG--
extra : rebase_source : 789300afb5d700095bd83aabf1a37200218ff210
2017-03-30 15:16:41 +02:00
Marco Bonardo 0a4d59cc55 Bug 977177 - Add favicons.sqlite to profile related lists. r=adw,jmaher
MozReview-Commit-ID: HkYpXQ0UFmd

--HG--
extra : rebase_source : cabc1b332783cc40756538996e5dec79da3fba6a
2017-03-30 13:08:05 +02:00
Marco Bonardo 853d935524 Bug 977177 - Split ico files into native frames. r=adw
When optimizing an ico file, split it into its single resources and pick only
the sizes we care about. This also de-dupes same size resources.
The migration path doesn't split ico files, since it's a performance hot path
and we should try to reduce the I/O load at that time. The worst case is that
some icons may not look that much crisp until the next page reload.
Note that while the "resource" naming would be more appropriate for ico files,
compared to "frame" that is more appropriate for animations, the patch still
uses the frame name, cause it's far less generic and can be more easily
associated with the concept of a graphical asset. Regardless, it's not exposed
in any public API.

MozReview-Commit-ID: 3vrGXzJDfjX

--HG--
extra : rebase_source : d3015836abd5f7737cab42a3b102b5d718c692d6
2017-03-28 17:30:28 +02:00
Marco Bonardo d60220fa1d bug 977177 - Fallback to the root domain icon. r=adw
When an icon for a specific page is not available, try to fallback for the root
domain icon.
This is valid for both getFaviconUrlForPage and getFaviconDataforPage, as well
as the page-icon: protocol.

MozReview-Commit-ID: JC4cx1PAY38

--HG--
extra : rebase_source : f50e0d4d0ab71a0b218c3d7caaa0da149838d148
2017-03-28 11:50:53 +02:00
Marco Bonardo c8bcdd642c Bug 977177 - Expire old page to icon relations to avoid serving deprecated icons. r=adw
Inserting new payloads for a page should expire old ones, otherwise if the page
should change favicons, we'd retain old associations forever.
At the same time, setting multiple payloads for a page should keep working.

MozReview-Commit-ID: 2y1XLUiKAQo

--HG--
extra : rebase_source : 628e74ae66c33aa039b5f2e57c38709c2d452b3d
2017-03-16 14:51:03 +01:00
Marco Bonardo 9683655025 Bug 977177 - Add size ref fragment to icon protocols. r=adw
Both page-icon: and moz-anno:favicon: should support a simple #size=NNN ref
fragment to allow consumers to request a specific sized icon (if available).
The service will do its best to satisfy the request, but it's not guaranteed.
If no size hint is found, it will default to the biggest icon payload available.

It's currently not possible to test the fragment on moz-anno:favicon: since that
requires imagelib support to extract payloads from ico files. Thus a test will
be added at a later time.

MozReview-Commit-ID: G221MKY7rfs

--HG--
extra : rebase_source : 029a6fcaa9dadda24f8d3ebc9b36c1a0ec6314c6
2017-03-15 16:08:28 +01:00
Marco Bonardo 19cfdf37f2 Bug 977177 - Update favicons API consumers. r=adw
Updates consumers to the new behavior.
Some consumers are changed to use  the "page-icon:" protocol, since it's not
trivial to join the icons table and get a single result out of it. In most cases
the join would return multiple results since a page can have multiple icon payloads.
These consumers for now will return the biggest payload, bug 1347532 will fix
some of them to properly pass a #size=NN fragment.
Note that, even before, these were just "moz-anno:favicon:" uris, and the
payload had to be fetched from the database.
Some other consumers for now just fallback to the largest payload, by passing 0
to GetFaviconURLForPage.

The favicon optimization still happens on the main-thread, bug 1346139 will
handle that problem.

Most of the changes involve handling the modified IconData objects, that now
retain an array of payloads, rather than just one. But note that .ico files are
not yet split into single frames, due to imagelib missing APIs that will be handled
in bug 1337402.
The other changes involve fixing queries to properly join with the new tables.

Finally, note that thanks to the FOREIGN KEYS support, removing from moz_icons or
moz_pages_w_icons will also remove relations from moz_icons_to_pages.

The system only supports square icons, so icons are resized based on their larger side.

This doesn't include new tests, those will be in a following changeset.

MozReview-Commit-ID: JUkpquhpS8y

--HG--
rename : toolkit/components/places/tests/unit/test_svg_favicon.js => toolkit/components/places/tests/favicons/test_svg_favicon.js
extra : rebase_source : fa49c4a81d6ab6b34a2f19ee4175e889a6e9d734
2016-09-28 16:14:30 +02:00
Marco Bonardo eb7475a826 Bug 977177 - Move favicons to a separate store. r=adw
This patch moves favicons blobs to a separate database names favicons.sqlite.
The dabatase is then ATTACHED to the main Places connection, so that its tables
can be used as if they were all part of the same database.
The favicons.database contains 3 tables:
  1. moz_pages_w_icons
     This is the way to join with moz_places, through page_url_hash and page_url.
     We are not using the place id to avoid possible mismatches between places.sqlite
     and favicons.sqlite. This way the database is "portable" and reusable even
     if places.sqlite changes.
  2. moz_icons
     Contains icons payloads, each payload can either be an SVG or a PNG. These
     are the only stored formats, any other format is rescaled and converted to
     PNG. ICO files are split into single frames and stored as multiple PNGs.
     SVG are distinguishable through width == UINT16_MAX
     In future the table will also contain mask-icon color for SVG and average
     color for PNGs.
     The fixed_icon_url_hash is "fixed" to allow quickly fetch root icons, that
     means icons like "domain/favicon.ico" that can also be reused for any page
     under that domain.
  3. moz_icons_to_pages
     This is the relation table between icons and pages.
     Each page can have multiple icons, each icon can be used by multiple pages.
     There is a FOREIGN_KEY constraint between this (child) table and icons
     or pages (parents), so that it's not possible to insert non-existing ids
     in this table, and if an entry is removed from a parent table, the relation
     will be automatically removed from here.
     Note though that removing from the relation table won't remove from the
     parent tables.
Since the relations are now many-many, it's no more possible to simply join
places with the icons table and obtain a single icon, thus it's suggested that
consumers go through the "page-icon" protocol.
The migration process from the old favicons table is async and interruptible,
it will be restarted along with the favicons service until the temp preference
places.favicons.convertPayloads is set to true.


MozReview-Commit-ID: CUCoL9smRyt

--HG--
extra : rebase_source : 4d25966596dcdf63c9c872425c5bf147406d25ac
2016-11-14 16:22:46 +01:00
Jonathan Turner 6a6ec71a53 servo: Merge #16198 - Fix windows glutin keydown (from jonathandturner:fix_windows_gluten_keydown); r=jdm
<!-- Please describe your changes on the following line: -->
This fixes #12937 where keypresses arrive in a one-off fashion, effectively delaying each keystroke.  This PR is based heavily on @codec-abc's https://github.com/servo/servo/pull/16193 PR, with some further fixes and cleanup.  From the original PR comments:

> There are 2 types of events associated with keyboard: Key event (up or down) and Character Input.
>
> * A character is not necessary created one a key is pressed (like the home key).
> * A character may be created only using a combination of several key. For example, using a Qwerty International layout you have to type ` then e to get é. The first key press on ` will create no character.
> * In servo, we currently merge the 2 events together, meaning that we store a Character Input event in a field to fire a single event later on when we get a Key event.
>
> The order of events seems to be system dependent. For example, let's say that we type the A key on a Qwerty Layout. In Linux and MacOs we will get this:
>
> * Character Input for character A
> * Key down event with virtual key code of the key A
> * Key up event with virtual key code of the key A
>
> while in Windows we get:
>
> * Key down event with virtual key code of the key A
> * Character Input for character A
> * Key up event with virtual key code of the key A
>
> It seems that glutin make no attempt to reorder the event to make the order independent of the Operating System. I think it would be easier for Servo if it were handled by the library.

This fix is a stopgap for the current state of glutin.  We may want to look into a deeper fix in the future.  For now, this is hopefully adequate solution until a more permanent one can be found.

This is the last remaining issue for the Windows nightly blockers meta-issue https://github.com/servo/servo/issues/12125

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12937 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they are around Windows keyboard eventing.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 4c851925fbbd8446f6bfc36ff6836e9b24ad635b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ed025584e25c5979861919d48ddedfe656f32729
2017-04-12 08:09:50 -05:00
Lucjan Suski 29d453cdc4 servo: Merge #16063 - Avoid panics for empty or multibyte image usemap (from methyl:image-usemap-panics); r=nox
<!-- Please describe your changes on the following line: -->
Some check were added to make sure we can call `split_at` with no risk of panics (when value is empty or the first char is multibyte).

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #15883 (github issue number if applicable).
- [x] There are tests for these changes

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 69eda6a60cece433e91d4bc578e94d8d5dfc9544

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8fdafe778055c065fbc7d01f50905be85f8d956e
2017-04-12 07:34:27 -05:00
Boris Chiou 9d5e5af718 servo: Merge #16381 - stylo: Bug 1343753 - Use ComputedValues while updating transitions in Gecko (from BorisChiou:stylo/transition/use_computed_values); r=manishearth
These are interdependent patches of Bug 1343753. We want to use ComputedValues and AnimationValues to start/update/stop the transitions.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix Bug 1343753.
- [X] These changes do not require tests because we have tests in Gecko already.

Source-Repo: https://github.com/servo/servo
Source-Revision: e817666859f381648e41b690a7e35ad22cf48bbe

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bd521c13192c7a3b3711b6cb6d97dc27dbffa843
2017-04-12 07:00:20 -05:00
Xidorn Quan cd274da54e servo: Merge #16380 - Some small fixes for stylo (from upsuper:small-fixes); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 528302a300bb375dc2f1d6dd30858d6fc5d95354

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 63441fcdbe93b4a36fd224b311e0522c5f377f5d
2017-04-12 06:24:47 -05:00
Michael Ratcliffe 4257730704 Bug 1350525 - Storage Inspector should trim port from hosts for cookies r=pbro
MozReview-Commit-ID: FfsfiXTt96o

--HG--
extra : rebase_source : 1a06fe13348c07d86435d195ab6610aa225cee05
2017-04-11 17:09:40 +01:00
Emilio Cobos Álvarez 1ba2ac9f16 Bug 1355823: Update reftest expectations for @page + length units. r=emilio
MozReview-Commit-ID: KerKHb8hKMa

--HG--
extra : rebase_source : a7727003df67a667d3e7f3bd2af06fbe55a160ab
2017-04-12 22:04:34 +08:00
Patrick Brosset 9bfc15084c Bug 1352115 - Adding missing probes to Histograms.json; r=bsmedberg
MozReview-Commit-ID: 31ePe33TdfO

--HG--
extra : rebase_source : 16eda97a800ffb98020dce7f07d4fa82ad8cb3a1
2017-04-10 16:02:53 +02:00