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

534576 Коммитов

Автор SHA1 Сообщение Дата
Cameron McCormack 14b955a5aa Bug 1361985 - Whitelist Gecko_NewGridTemplateAreasValue from heap write hazard checking, since it pokes at stuff in the object it just created. r=me (CLOSED TREE)
--HG--
extra : amend_source : be20cfdd93de65557b1e343504051c476e17db24
2017-05-05 15:43:37 +08:00
Gabriele Svelto 9942c797e2 Bug 1360819 - Do not show a console on Windows when launching the pingsender; r=Dexter
MozReview-Commit-ID: 54TBiNMFcWM

--HG--
extra : rebase_source : eb0eb6005608f31b8ec765c572b6b789ff3ec10a
2017-05-04 10:51:04 +02:00
Manish Goregaokar da4403ef57 servo: Merge #16730 - Make font-size: larger/smaller work with the base size stuff (from Manishearth:stylo-font-size); r=dbaron
Source-Repo: https://github.com/servo/servo
Source-Revision: 441d3cf3e5b4dd909fef4ef4a8c9a5422d5330d3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 059b55b818893b633f8d8dfc74b9608499296d2b
2017-05-05 01:38:38 -05:00
Michael Ratcliffe 360cec7787 Bug 1356033 - chrome://browser/content/gcli_sec_{bad,good,moderate}.svg should be moved to devtools r=jdescottes
This is easy to test:

Green tick marks (gcli_sec_good.svg) and Red Crosses (gcli_sec_bad.svg):
1. Go to https://csp-evaluator.withgoogle.com/
2. Shift+F2
3. security csp

I couldn't find a way to show the Orange Minus (gcli_sec_moderate.svg) but the path is changed in line with the other images and I did test it programatically so it will be fine.

MozReview-Commit-ID: 5897IV7epax

--HG--
rename : browser/base/content/gcli_sec_bad.svg => devtools/client/themes/images/gcli_sec_bad.svg
rename : browser/base/content/gcli_sec_good.svg => devtools/client/themes/images/gcli_sec_good.svg
rename : browser/base/content/gcli_sec_moderate.svg => devtools/client/themes/images/gcli_sec_moderate.svg
extra : rebase_source : b550cd4184f2c9e77b1d5df2cf5c67c1296b8ade
2017-05-04 14:41:36 +01:00
Iris Hsiao 541787d3f9 Backed out changeset 763cc804a25d (bug 1361944) for causing crashtest perma failure on Android 2017-05-05 15:12:51 +08:00
Carsten "Tomcat" Book b5f09cc95b Backed out changeset 2c7d3f3cb9e8 (bug 1336271) on request for possible memory issues 2017-05-05 09:04:09 +02:00
Timothy Nikkel c570406a5e Bug 1360572. Invalidate the whole animated image when the composited frame becomes valid. r=aosmond
We invalidate if FrameAnimator::UpdateState marks the composited frame as valid, but we fail to do so if FrameAnimator::RequestRefresh does so.

The other place that sets the composited frame as valid is RasterImage::Decode. This call is actually redundant because the UpdateState call will do the same.

Even though we will invalidate when the decode produces results we could still draw incorrectly if something else invalidates. In which case we would only draw the part of the image that was invalidated. But that should actually be impossible as explained in the comment.
2017-05-03 21:20:35 -05:00
Kris Maglione 9c1bafbab4 Bug 1359653: Follow-up: Don't cache mochikit scripts as a temporary bustage workaround.
MozReview-Commit-ID: I4FcZWRKlWr

--HG--
extra : amend_source : c34f3bcb023b9063a4d1a53a6bb3873fdb499d1c
2017-05-06 14:41:22 -07:00
Robert Longson ffd7cf91d4 Bug 1362400 part 2 - optimise SMIL image updates r=jwatt 2017-05-06 20:51:59 +01:00
Robert Longson 5bf763e903 Bug 1362400 part 1 - Make it possible for SMIL to change the link state of an SVG anchor element r=jwatt r=smaug (DOM) 2017-05-06 20:32:14 +01:00
Michael Brennan 6abfb0bad6 Bug 1359682 - Open Netmonitor response panel when clicking on file thumbnail. r=gasolin 2017-05-04 05:07:00 +08:00
Phil Ringnalda 71365c8b72 Backed out 6 changesets (bug 1360807) for ongoing hangs in test_fileReader.html and test_ipcBlob_fileReaderSync.html
CLOSED TREE

Backed out changeset 3a05e05fb644 (bug 1360807)
Backed out changeset 9630a51eca07 (bug 1360807)
Backed out changeset 41e9af8078dd (bug 1360807)
Backed out changeset e59616a3997a (bug 1360807)
Backed out changeset c800cb830b36 (bug 1360807)
Backed out changeset 4ab091bdeda1 (bug 1360807)

MozReview-Commit-ID: 1h3pcsPi2An
2017-05-04 19:26:26 -07:00
Masatoshi Kimura 2195becf33 Bug 1360784 - Revert a workaround for bug 1361632. r=xidorn
MozReview-Commit-ID: FU7r2cMaQOL

--HG--
extra : rebase_source : 05bad5a3cc60c26391b52e21b4390db321ad6dc4
2017-05-04 23:35:59 +09:00
Kris Maglione e8e5fe66b7 Bug 1359653: Part 9 - Observe "startupcache-invalidate" and flush the cache when received. r=erahm
Flushing the cache at startup is already handled automatically by the
AppStartup code, which removes the entire startupCache directory when
necessary. The add-on manager requires being able to flush the cache at
runtime, though, for the sake of updating bootstrapped add-ons.

MozReview-Commit-ID: LIdiNHrXYXu

--HG--
extra : source : 8f4637881ddc42a948c894e62c8486fe8677a938
extra : histedit_source : e69395a2b87b2b0edb394686ed6ee24731ba9fb8
2017-05-03 12:31:51 -07:00
Gijs Kruitbosch 32b0b9df1f Bug 1355020 - part 3: add notification container and styling for photon hamburger panel, r=mikedeboer
MozReview-Commit-ID: 4Jajbo9pzg5

--HG--
extra : rebase_source : ea83b92bb8626e0449f76a00099e86ae78e0a7ef
2017-05-03 16:15:42 +01:00
Gijs Kruitbosch cf021da921 Bug 1355020 - part 2: disentangle add-on notifications from 'PanelUI' and their specific spot, r=kmag
MozReview-Commit-ID: h2azhwU60S

--HG--
extra : rebase_source : c6bad5785235738161637e9f080faefd4ce2db04
2017-05-03 14:53:07 +01:00
Gijs Kruitbosch 1c3d0e4047 Bug 1355020 - part 1: disentangle update notifications from 'PanelUI' and hardcoded IDs, r=dthayer
MozReview-Commit-ID: EqLtDuRC8EH

--HG--
extra : rebase_source : 4508af1a155193ae556c0b9261aeb13a71afb0e9
2017-05-04 12:56:11 +01:00
Xidorn Quan bdf79974ef Bug 1341102 - Fix the test expectation.
MozReview-Commit-ID: 4PbLm9hzcSd
2017-05-06 20:57:54 +10:00
Andreas Pehrson da339f960b Bug 1320994 - Increase retries for screensharing preview window. r=florian
MozReview-Commit-ID: IPnLWPT8SNP

--HG--
extra : rebase_source : 21b082ae29fed7332ecafcd500d6cb8e25e42217
2017-05-03 22:58:40 +02:00
Kris Maglione 81d9ac4489 Bug 1359653: Part 8 - Ignore script cache when loading scripts in gcd script breakpoint tests. r=jimb
MozReview-Commit-ID: DGPBK9GAqQT

--HG--
extra : source : d8dc72ab2406371cc53ba228f347815b6aea74f4
extra : histedit_source : 51f8718014079ddc54fcfe22d3bcd7adc0e1c665
2017-05-02 17:31:05 -07:00
Kris Maglione 64c700feea Bug 1359653: Part 7 - Use the script preloader for loading frame scripts. r=billm
MozReview-Commit-ID: L0EjM0Uomfb

--HG--
extra : source : c1b0ed47743f9b09376fbb88ecbd3dcbabe27265
extra : histedit_source : aaae2cb053e9cbd4b62ba2c04aa337d483fc51d5
2017-05-02 15:16:55 -07:00
Kris Maglione 6df68230e0 Bug 1359653: Part 6 - Use the script precompiler in the JS component loader and subscript loader. r=mccr8,shu
MozReview-Commit-ID: HMl0xbAARHK

--HG--
extra : source : a505dcbe8a02bf4b4f975e62cc2b651ef7eebdd0
extra : histedit_source : 288bbb8633d2296200abb66f359619785ac7d2d8
2017-05-03 22:06:33 -07:00
Kris Maglione 15e7adf3aa Bug 1359653: Part 5 - Pre-load scripts needed during startup in a background thread. r=shu,erahm
One of the things that I've noticed in profiling startup overhead is that,
even with the startup cache, we spend about 130ms just loading and decoding
scripts from the startup cache on my machine.

I think we should be able to do better than that by doing some of that work in
the background for scripts that we know we'll need during startup. With this
change, we seem to consistently save about 3-5% on non-e10s startup overhead
on talos. But there's a lot of room for tuning, and I think we get some
considerable improvement with a few ongoing tweeks.

Some notes about the approach:

- Setting up the off-thread compile is fairly expensive, since we need to
create a global object, and a lot of its built-in prototype objects for each
compile. So in order for there to be a performance improvement for OMT
compiles, the script has to be pretty large. Right now, the tipping point
seems to be about 20K.

  There's currently no easy way to improve the per-compile setup overhead, but
we should be able to combine the off-thread compiles for multiple smaller
scripts into a single operation without any additional per-script overhead.

- The time we spend setting up scripts for OMT compile is almost entirely
CPU-bound. That means that we have a chunk of about 20-50ms where we can
safely schedule thread-safe IO work during early startup, so if we schedule
some of our current synchronous IO operations on background threads during the
script cache setup, we basically get them for free, and can probably increase
the number of scripts we compile in the background.

- I went with an uncompressed mmap of the raw XDR data for a storage format.
That currently occupies about 5MB of disk space. Gzipped, it's ~1.2MB, so
compressing it might save some startup disk IO, but keeping it uncompressed
simplifies a lot of the OMT and even main thread decoding process, but, more
importantly:

- We currently don't use the startup cache in content processes, for a variety
of reasons. However, with this approach, I think we can safely store the
cached script data from a content process before we load any untrusted code
into it, and then share mmapped startup cache data between all content
processes. That should speed up content process startup *a lot*, and very
likely save memory, too. And:

- If we're especially concerned about saving per-process memory, and we keep
the cache data mapped for the lifetime of the JS runtime, I think that with
some effort we can probably share the static string data from scripts between
content processes, without any copying. Right now, it looks like for the main
process, there's about 1.5MB of string-ish data in the XDR dumps. It's
probably less for content processes, but if we could save .5MB per process
this way, it might make it easier to increase the number of content processes
we allow.

MozReview-Commit-ID: CVJahyNktKB

--HG--
extra : source : 1c7df945505930d2d86a076ee20807104324c8cc
extra : histedit_source : 75e193839edf727874f01b2a9f6852f6c1f087fb%2C3ce966d7dcf2bd0454a7d673d0467097456bd782
2017-05-06 12:24:22 -07:00
Emilio Cobos Álvarez e464dadceb Bug 1361766: Move MathML content state changes outside of reflow. r=xidorn
This also adds assertions to ensure attributes and state don't change during
layout or frame construction.

MozReview-Commit-ID: BANcpxnRsYS

--HG--
extra : rebase_source : 5d1bc424d3ed90fda3047d3c92c09251346b7bec
2017-05-02 22:42:26 +02:00
Zibi Braniecki a34d2cddc8 Bug 1360596 - Test against overriden locale packages for available locales changed. r=jfkthame
In Fennec scenario, the package registration we should be monitoring for is different than "global".
OverrideLocalePackage handles the package overrides and gives us the right package name.

MozReview-Commit-ID: 44Nzd64CTq1

--HG--
extra : rebase_source : 848e98beae2222bce335f37ae87c60994ab6b0f9
2017-05-04 10:38:53 -07:00
Mike Taylor 2fa29fd27e Bug 1362102. Show icon when Report Site Issue button is in CUI palette. r=Gijs
MozReview-Commit-ID: 7zfRqJADJ5V

--HG--
extra : rebase_source : 865d56f06e83464a5e4a266f7af61d250b676971
2017-05-04 22:10:26 -05:00
Wander Lairson Costa 90ea41a2fc Bug 1350413 part 2: Fix generic-worker configuration. r=dustin a=fix-for-buildbot-bridge-on-osx
* Add macosx64 talos tests configuration.
* Fix logs artifacts.
* jittest doesn't have blob_upload_dir.
* e10s config on talos goes on suite name.

MozReview-Commit-ID: E9rSv2zQqvL

--HG--
extra : amend_source : f3c37f7a2e947ff65d4ff433df176824da390d1a
extra : transplant_source : k_%20%DA%8B%C9%0F1E%98%024%CD%C4%88%E5%16%C63%25
2017-05-02 16:12:52 -03:00
Wander Lairson Costa be9d05d81d Bug 1350413 part 1: move macosx64/opt build to buildbot-bridge. r=dustin
Because of bug 1338651, we need to stick to BBB macosx64 builds for now.

MozReview-Commit-ID: AwQc5r6ikUN

--HG--
extra : transplant_source : %97%1B%95H%D8L1%87%84h%F4%89%0D%283w%98%7E%2C%F4
2017-05-02 16:12:51 -03:00
ffxbld 1a46d31be5 No bug, Automated HPKP preload list update from host bld-linux64-spot-303 - a=hpkp-update 2017-05-04 08:04:48 -07:00
ffxbld c76af0c30b No bug, Automated HSTS preload list update from host bld-linux64-spot-303 - a=hsts-update 2017-05-04 08:04:45 -07:00
Carsten "Tomcat" Book 237cea8312 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : browser/base/content/test/general/accounts_testRemoteCommands.html => browser/base/content/test/sync/accounts_testRemoteCommands.html
rename : browser/base/content/test/general/browser_fxa_web_channel.html => browser/base/content/test/sync/browser_fxa_web_channel.html
rename : browser/base/content/test/general/content_aboutAccounts.js => browser/base/content/test/sync/content_aboutAccounts.js
extra : amend_source : 38d33daae77f06915b30cab5327a6aa7ef0ef4ac
2017-05-04 10:57:00 +02:00
Cameron McCormack 6f1279b74e Bug 1341102 - Fix mistaken annotation. r=me 2017-05-04 13:32:24 +08:00
Iris Hsiao fa6e98e026 Merge mozilla-central to autoland 2017-05-04 13:22:44 +08:00
Cameron McCormack 06b764cb6c Bug 1341102 - Update expectations for servo/servo#16568 and servo/servo#16713. 2017-05-04 12:03:35 +08:00
Iris Hsiao e71485e5b0 merge mozilla-inbound to mozilla-central a=merge 2017-05-04 11:18:36 +08:00
Ehsan Akhgari 2f73dfe826 Bug 1360864 - Defer the install and update check for the OpenH264 plugin until the browser is idle; r=cpearce,spohl 2017-05-03 20:15:21 -04:00
Hiroyuki Ikezoe 43a902cb19 Bug 1361632 - Adjust reftest expectation for -moz-appearance. r=bholley. a=merge
MozReview-Commit-ID: 6sqyA5TCHjk

--HG--
extra : rebase_source : 4957d93a55717850594dabc2650cecf060022f75
extra : amend_source : 6ee8241b984e300386da617fa9304b288989fdb7
2017-05-04 06:39:30 +09:00
Hiroyuki Ikezoe 3c7b5090d3 servo: Merge #16715 - Support all properties for -moz-appearance (from hiikezoe:moz-appearance); r=bholley
Now all properties in nsCSSProps::kMozAppearanceKTable are in
keyword list of -moz-appearance.

This is a PR of https://bugzilla.mozilla.org/show_bug.cgi?id=1361632

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because it's for stylo

Source-Repo: https://github.com/servo/servo
Source-Revision: 83020ffe291846ac425925da1dd4a3da9eb7cbad

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 41a11da87f4c3be15e6d297a40d5b9f024d38a48
2017-05-03 16:42:29 -05:00
Boris Zbarsky f11ddd537b Bug 1361274. There's no need to update link :visited state when doing querySelectorAll, since querySelectorAll ignores that state anyway. r=smaug
In our current setup, in which links with an href attribute always match either
:link or :visited, no matter whether that attribute's value is a valid URI,
changes to the attribute always put the element into either the "match nothing"
state or the "match :link" state, via calls to Link::ResetLinkState.

The only thing FlushPendingLinkUpdates is needed for is (lazily, in case it
turns out to not be needed because the element got removed from the DOM anyway)
registering a history observer to switch the link state to :visited as needed.

This means that selector matching consumers that would never expose :visited
state to start with don't need to worry about calling FlushPendingLinkUpdates.
2017-05-03 16:54:25 -04:00
Iris Hsiao ab85c1ac98 Backed out changeset dda520b4ed32 (bug 1360572) for Assertion failure at RasterImage.cpp 2017-05-04 11:30:45 +08:00
Iris Hsiao 553dbd294c Merge mozilla-central to mozilla-inbound 2017-05-04 11:29:49 +08:00
David Major 144694720e Bug 1355559: Suppress stack walking in LdrResolveDelayLoadedAPI. r=mstange,aklotz 2017-05-03 23:26:47 -04:00
Brian Grinstead f51f763fde Bug 1361537 - Add a simple jsterm implementation to console launchpad;r=Honza
MozReview-Commit-ID: DbkR4MqUKBN

--HG--
extra : rebase_source : cfa99ef9597e641b7759e29dc3de42273b1a8dcc
2017-05-02 14:52:34 -07:00
Sebastian Hengst 532800137b Backed out changeset db9f3b377504 (bug 1054740) for failing Marionette's test_prefs.py TestPreferences.test_clear_pref, at least on Linux in non-e10s mode. r=backout on a CLOSED TREE 2017-05-03 23:15:56 +02:00
John Lin 89eafb3c7e Bug 1350279 - try other codecs when first one failed to create. r=esawin
Video fails to play on Sony Z3C when the media server is in a state that no hardware codec can be created unless reboot. Fallback to software codec when that happens to workaround the issue.

MozReview-Commit-ID: AaRIw7KPaF3

--HG--
extra : rebase_source : d5106d5c75c4430450a81bbe9cfd536f01ef4df9
2017-05-02 15:52:45 +08:00
cku 00a44a2499 servo: Merge #16707 - Stylo: Implement {specified|computed}::LayerImage (from CJKu:bug-1359787); r=manish
<!-- Please describe your changes on the following line: -->
Bug 1359787 - Stylo: Unite the implementation of background-image/ mask-image and border-image-source in {background|svg|border}.mako.rs

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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: 896a920ff53f683cdaac8bc6b2f796633a436a7f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9b64f6b658b04f16cdb1a4ee88075f3f0f41971d
2017-05-03 21:49:33 -05:00
Imanol Fernandez 30b37e77e5 servo: Merge #16500 - Fix unsafe Heap constructor usage in DOM objects (from MortimerGoro:unsafe_heap); r=asajeffrey
<!-- Please describe your changes on the following line: -->

See https://github.com/servo/rust-mozjs/issues/343#issuecomment-294513870

Heap::new() constructor is unsafe. Heap should be set after reflect_dom_object call in order to prevent potential GC crashes.

<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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: e8aa3759bd8f74f7a962e421bd0cbf2a0a3e35da

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1f7e2346a5f25efa3e055ff02cd6b9090de23837
2017-05-03 21:07:32 -05:00
Daosheng Mu 6a807270be Bug 1321275 - Confirm VRLayerChild is not destroyed before sending destroy message to the parent side; r=kip
MozReview-Commit-ID: v0awwplOQv

--HG--
extra : rebase_source : 3a15b5249ea03e0d64a6229d55d6d418d9b8076f
2017-05-03 18:43:39 +08:00
Glenn Watson 9d0a7da8bc servo: Merge #16723 - Update WR (dotted borders with elliptical radii / border widths) (from glennw:update-wr-dots); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: d0057534938f7c035fc4268fa798048e4b66f94b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 66c5ad8c3be11f7e65ba9d51b48c983a655250ed
2017-05-03 20:24:57 -05:00
Rob Thijssen 39364fb54a Bug 1304435 - re-enable crashtest e10s on taskcluster Windows 7; r=jmaher
MozReview-Commit-ID: JM8onUJ0Wn1

--HG--
extra : rebase_source : dcb412aeafc2b051a025f388bf45fdc47f605871
2017-05-03 14:01:06 +03:00