Commit Graph

557042 Commits

Author SHA1 Message Date
Bobby Holley
3cdfd413f8 servo: Merge #18412 - Increase stack safety margin for stylo (from bholley:bump_style_stacks); r=bholley
https://bugzilla.mozilla.org/show_bug.cgi?id=1395708

Source-Repo: https://github.com/servo/servo
Source-Revision: 8868d2223dbb28b07ae1936095bc9ec644fe58a7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9c0a9b9c3fb42d8e1ab8b632255517d68d184f34
2017-09-07 13:52:48 -05:00
Wes Kocher
92f5cfcf34 Backed out changeset 60cb967ca47f (bug 1393924) for frequent failures in browser_meta_tags.js a=backout
MozReview-Commit-ID: EIkibRE8z3P
2017-09-07 12:32:58 -07:00
Wes Kocher
fb047aaff3 Backed out changeset 674775dda8ad (bug 1364972) for eslint failures a=backout
MozReview-Commit-ID: 5tmy6XSi0sL
2017-09-07 12:31:11 -07:00
Bob Silverberg
af87b038ca Bug 1364972 - Allow WebExtensions to disable animated images, r=mixedpuppy
This adds a browserSetting.imageAnimationBehavior API which accepts one of three
values: "normal", "none", "once". Behind the scenes it sets the image.animation_mode
preference to the same value.

MozReview-Commit-ID: GLT6oJgpF3

--HG--
extra : rebase_source : e1675bf4042e7e5fcee768231ffeccf19dc77c69
2017-09-06 16:46:38 -04:00
Drew Willcoxon
598dc0db5b Bug 1397583 - With compact UI density, urlbar animations for Pocket and bookmark star are in the wrong place (offset to the right of the normal icon). r=jaws
MozReview-Commit-ID: 2tr0ZBCNakA

--HG--
extra : rebase_source : 515071d89dafbb377083c0a6e91277d2390f7ed5
2017-09-07 11:40:59 -07:00
Fernando Jiménez Moreno
383681557d servo: Merge #18283 - User Timing API (from ferjm:user.timing.api); r=jdm
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #18109
- [X] There are tests for these changes. I enabled the peformance-timeline API WPTs but some of them are still failing because of implementation bugs or missing APIs (Resource Timing, for instance) the tests are dependent of. I'll file issues to fix them.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1e93749941d2e3569c7c907832658c57ffb18c72

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4344c6a1c60484c840cbd3be4112d0c3a710b523
2017-09-07 12:45:46 -05:00
Dão Gottwald
9c94a5b109 Bug 1396178 - Fix tab-icon-overlay's position in non-pinned tabs. r=jaws
MozReview-Commit-ID: HifbacxLuAR

--HG--
extra : rebase_source : b6f89238f4086e8fbd4438c02d4f8a921b5c235e
2017-09-07 10:47:45 +02:00
Dão Gottwald
c7b1f4e0f1 Bug 1388514 - Make the sidebar splitter narrower again to prevent it from overlapping the scrollbar too much, and disable this behavior on Linux since scrollbars are too narrow on Ubuntu. r=Gijs
MozReview-Commit-ID: Hi4MUsbEFXd

--HG--
extra : rebase_source : c7f6a15671e19ab1562e085fe3a200712aa81b3f
2017-09-07 20:22:58 +02:00
Jan Henning
fb89cc19ed Bug 1396604 followup - Remove reference to former FeedAlarmReceiver to fix lint failure. r=JanH
MozReview-Commit-ID: 5ObaKAeVYdS

--HG--
extra : rebase_source : 2dbefb997dac524a6349057f95f3d74493d90ace
2017-09-07 20:16:08 +02:00
Michael Comella
bdaa1c017c Bug 1394641: Update suggestedsites bgcolor for new icons. r=sebastian
These `bgcolor`s are the background colors of the new icons added in bug
1388379. I was originally intending to remove the bgcolor attribute in this
bug, which is why I didn't change the colors in the previous bug.

I decided not to remove the bgcolor attribute to avoid churn: we'd have to
maintain multiple permitted schemas for the region.properties (one where
bgcolor is required and one where it is not), update the documentation to
clarify the changes before and after Firefox 57, communicate the new format to
several partners, etc. It seemed easier to continue to require bgcolor and, if
there is transparency in the icon, we use bgcolor, otherwise we don't. This is
already the way distributions work: some icons have transparency, some don't!

In practice, the updated bgcolors on the suggested sites doesn't make a
difference: there is no transparency in the new icons so these bgcolors are
never shown.

MozReview-Commit-ID: GovUjM7VKyG

--HG--
extra : rebase_source : 11b4a710c1d81e701568c7d83ab6155cf4bc1229
2017-09-06 15:46:22 -07:00
Michael Comella
c47fd6b64c Bug 1394641: AS FaviconView shares styles; add distribution comments. r=sebastian
MozReview-Commit-ID: 7d2aXNDTxZs

--HG--
extra : rebase_source : 66b5480fd4fe52d6a61eb2976917c216d920d08b
2017-09-05 16:16:53 -07:00
Jan Henning
0fcabce1fe Bug 1396604 followup - Remove unused drawable resources. r=JanH
MozReview-Commit-ID: 1gxY4DHoGZV

--HG--
extra : rebase_source : 0dc935b69d99a56c33681c1b0ef90085832a20ae
2017-09-07 19:51:54 +02:00
Anthony Ramine
82178ac83d servo: Merge #18406 - Start cleaning up HTMLMediaElement a bit (from servo:cleanup-media); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 3a7539a442a1672cd370c3188faf7f7803005222

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ce45228581bb79d8efdf528b7900ec0d7fa78152
2017-09-07 11:41:12 -05:00
Drew Willcoxon
f935fbbc74 Bug 1396965 - Bookmark star button is not displayed on about: pages. r=Gijs
MozReview-Commit-ID: 8ZKAHWJwweH

--HG--
extra : rebase_source : 8b81bb29de0b007c85e84272167dda208b3942ad
2017-09-07 09:56:34 -07:00
Kirk Steuber
6e217001f8 Bug 1362382 - Move RegisterDragDrop to be called during idle time, if possible r=jimm
Additionally, do not call RegisterDragDrop for hidden windows.

MozReview-Commit-ID: Fv8j9FntGGT

--HG--
extra : rebase_source : fccbc576887d000805da8ac915d16fc4fddfeceb
2017-08-30 11:18:25 -07:00
Ursula Sarracini
bb971f3f6a Bug 1393924 - Collect description and preview image and store it into moz_places r=mak
MozReview-Commit-ID: 8AgBMOodQop

--HG--
extra : rebase_source : f440e9497ee52a3b38e7bcf6dac7fee574f7885d
2017-09-07 11:05:03 -04:00
Alexandre Poirot
c228558347 Bug 1397343 - Lazy load dependencies from inspector front modules. r=pbro
MozReview-Commit-ID: JSabaxRYaeE

--HG--
extra : rebase_source : 110ca3fc402623f6d1167d39b5ef5edab9c443b2
2017-09-06 14:35:13 +02:00
Alexandre Poirot
bdfa9d2514 Bug 1396619 - Lazy load actor codebase related to the inspector. r=zer0
MozReview-Commit-ID: GCY1mqjoOkc

--HG--
extra : rebase_source : 2c1d4d1a573885f65c6c964b507d0f55e8c8376b
2017-09-04 17:46:26 +02:00
P. Albrecht
4ea8d57560 servo: Merge #18405 - Handle dynamic font color change (from pylbrecht:dynamic.attribute.change); r=emilio
<!-- Please describe your changes on the following line: -->
<!-- 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 #18371.

<!-- 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. -->
r? @emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: 85167c8b7d2fb0e0e90283db750b601d789cd6ea

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 82f46bacb30cbb8519e1e11f7231234bf9969ad7
2017-09-07 10:24:16 -05:00
David Keeler
a42d5a4889 bug 1397471 - nsNSSCertificateDB::GetCerts needs to wait until the loadable roots have been loaded r=Cykesiopka
This was missed in the original implementation of bug 1372656.

MozReview-Commit-ID: 8Sm26YlxZ7l

--HG--
extra : rebase_source : 6613fea8b292cc1645073539e110a53369c78886
2017-09-06 14:29:17 -07:00
ruby
57b1e4109f Bug 1394137 - Stop changing the Go button's color on hover r=dao
MozReview-Commit-ID: CcKGT7EOCmk

--HG--
extra : rebase_source : 7360e8813f938a7065886e1099f0089c3dea9b06
2017-09-07 21:33:34 +05:30
Jared Wein
8bcd5cb19e Bug 1397236 - Changing positioning of navigator-toolbox while a descendent popup is open causes the popup to close. We don't need to change the positioning of the navigator-toolbox on the fly, and can instead always keep it as position:relative for the library animation. r=Gijs
MozReview-Commit-ID: HXbjhQFCplb

--HG--
extra : rebase_source : ad0ca5e01d4fae85308b7be63ce3953d9767fe12
2017-09-07 03:46:46 -04:00
Jared Wein
cf0fec131d Bug 450915 - Increase the drag space of the TabsToolbar by 15px on the bottom to improve the tab reordering experience. r=Gijs
MozReview-Commit-ID: I022PxskDF0

--HG--
extra : rebase_source : d7585bd2b29903f6cc530ca57f2ea28291eb0ac4
2017-08-29 15:02:02 -04:00
Brad Werth
77571cf92b Bug 1395322 Part 2: Change timeouts to failures in layout/style/test/chrome/test_stylesheet_clone_import_rule.html. r=xidorn
MozReview-Commit-ID: 8ea7J5ExmzH

--HG--
extra : rebase_source : 19fd5642ad046c69a3b7681c790a642523a29df2
2017-08-30 13:10:42 -07:00
Brad Werth
486088166d Bug 1395322 Part 1: Enforce consistent use of nsIDOMCSSRule enums for Servo rule types. r=xidorn
MozReview-Commit-ID: DmfaYCe9QAY

--HG--
extra : rebase_source : 6a89bd910de053c4535bdfbdf7df551bf9c83472
2017-09-06 16:58:42 -07:00
Brian Grinstead
57b3cbb9f2 Bug 1397425 - Ship the new console frontend on all channels;r=Honza
MozReview-Commit-ID: 7AQTNbW989k

--HG--
extra : rebase_source : 34398e433088ee1e76c72313869dddbdfd5ff8a7
2017-09-06 13:02:18 -07:00
Tom Tromey
ad5ebc78b2 Bug 1224558 - change style editor to notice stylesheet additions; r=gl
This changes the stylesheets actor to use the tab actor's "windows"
getter to get the list of new windows.  It also changes the actor to
emit events, and changes the style editor to add new editors based on
events.

MozReview-Commit-ID: 3TkQY6XHY1I

--HG--
extra : rebase_source : 76098b08c95c7d4e7ee6bb2bd9ebae97a0c4b7ab
2017-08-15 12:46:55 -06:00
Kilik Kuo
dddc8978fe Bug 1396268 - Seek operation should not be performed after GeckoHlsPlayer.release is called! r=JamesCheng
MozReview-Commit-ID: 15lXw9hgKdh

--HG--
extra : rebase_source : 0567ca5e9aba9fb8df0191be2eaed717ce0e19f8
2017-09-07 17:00:32 +08:00
Eric Rahm
030b39d813 Bug 1393230 - Part 3: Convert the xpcom string classes to be templated on char type. r=njn, r=fitzgen, r=sfink
This removes the double-include macro hackery that we use to define two
separate string types (nsAString and nsACString) in favor of a templated
solution.

Annotations for Valgrind and the JS hazard analysis are updated as well as
the rust binding generations for string code.

--HG--
extra : rebase_source : 63ab2c4620cfcd4b764d42d654c82f30f984d016
extra : source : 9115364cd4aa078c49bba7911069f8178e55166f
2017-08-14 14:22:50 -07:00
Eric Rahm
0617c21c24 Bug 1393230 - Part 2: Fix more improper string usages. r=njn
This fixes improper usages of Find where an offset was actually being use for
the boolean ignore case flag. It also fixes a few instances of passing in a
literal wchar_t to our functions where a NS_LITERAL_STRING or char16_t should
be used instead.

--HG--
extra : rebase_source : 5de1e9335895d65e6db06c510e8887d27be3390f
extra : source : f762f605dd83fc6331161a33e1ef5d54cafbd08d
2017-08-31 15:52:30 -07:00
Eric Rahm
b689a2e0f3 Bug 1393230 - Part 1: Remove remaining string forward declarations. r=njn
--HG--
extra : rebase_source : 859ce9800bdb7c49ef04c685cb2e7344e4af2fcb
extra : source : c366bfc13e86c94389d58ffc41c9f4a3e573d406
2017-08-23 16:27:16 -07:00
Emilio Cobos Álvarez
9c51220df8 servo: Merge #18408 - stylo: Don't add boundary characters to the fixups specified in ServoBindings.toml (from emilio:stylo-fixup-fix); r=upsuper
This allows adjusting the fixups for the patches in bug 1393230 when using
libclang 3.9.

Source-Repo: https://github.com/servo/servo
Source-Revision: 0c2abbd7eac17da99f9a7a5dc61623a87600f1da

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d1044c74bc9ba054c119634328b023441915ca49
2017-09-07 08:51:10 -05:00
Mark Banner
a16d4003dc Bug 1397387 - Move async actions out of the opening/closing cycles of the bookmarks dialog to ensure they finish. r=mak
MozReview-Commit-ID: 9H5hPfTNv0S

--HG--
extra : rebase_source : 7012972cb2e4af14500ca7a3376effdb7b1fd7e0
2017-09-06 21:53:08 +01:00
Sebastian Hengst
911772b412 Backed out changeset 24edc3618b45 (bug 1364364) for failing mochitest dom/workers/test/test_multi_sharedWorker_lifetimes.html on Android. r=backout 2017-09-07 16:50:38 +02:00
Sebastian Hengst
7a9c465cf3 Backed out changeset 58fe37290a82 (bug 1364364) 2017-09-07 16:49:45 +02:00
Sebastian Hengst
a8efe436cc Backed out changeset e07ddefd4a8e (bug 1364364) 2017-09-07 16:49:39 +02:00
Sebastian Hengst
4fc276c795 Backed out changeset 6fc41dc87a44 (bug 1364364) 2017-09-07 16:49:34 +02:00
Sebastian Hengst
de667b9463 Backed out changeset d89fe870c4a8 (bug 1364364)
--HG--
rename : dom/indexedDB/test/bfcache_page1.html => dom/indexedDB/test/bfcache_iframe1.html
rename : dom/indexedDB/test/bfcache_page2.html => dom/indexedDB/test/bfcache_iframe2.html
rename : dom/media/webspeech/synth/test/file_bfcache_page1.html => dom/media/webspeech/synth/test/file_bfcache_frame.html
rename : dom/media/webspeech/synth/test/file_bfcache_page2.html => dom/media/webspeech/synth/test/file_bfcache_frame2.html
rename : dom/workers/test/WorkerDebugger_frozen_window1.html => dom/workers/test/WorkerDebugger_frozen_iframe1.html
rename : dom/workers/test/WorkerDebugger_frozen_window2.html => dom/workers/test/WorkerDebugger_frozen_iframe2.html
rename : dom/workers/test/suspend_window.html => dom/workers/test/suspend_iframe.html
2017-09-07 16:49:28 +02:00
Sebastian Hengst
e32d31055b Backed out changeset 0458fccefb5c (bug 1364364) 2017-09-07 16:49:22 +02:00
Sebastian Hengst
c78ec3d5c6 Backed out changeset f562d0ea59ef (bug 1364364) 2017-09-07 16:49:16 +02:00
Mike Conley
9fb0b08bc5 Bug 1394455 - Disable tab warming until bug 1397426 is fixed. :( r=florian
MozReview-Commit-ID: Hz7uXUIYe1G

--HG--
extra : rebase_source : d4050fe99a214293cd431b2071c2ba821e48d82b
2017-09-06 16:01:06 -04:00
Steve Armand
08d5fcd935 Bug 1397423 - Enable py2 linter on python/mozlint. r=ahal
MozReview-Commit-ID: 6QX7YCmfjdJ

--HG--
extra : rebase_source : 0610d67f376c462b0f103a6510f21459fc39f940
2017-09-06 22:52:46 -04:00
Henrik Skupin
03ba8ad526 Bug 1397306 - Empty noProxy list should reset no proxy exclusions. r=ato
To allow resetting the default no proxy exclusion entries in
Firefox tests have to pass an empty noProxy list. This should
also be correctly applied.

MozReview-Commit-ID: ABmYdPvoSvx

--HG--
extra : rebase_source : 313fe0a918a4a9bfe5204e5777568ee5f89744d3
2017-09-07 10:21:36 +02:00
Alexandre Poirot
a278d1317b Bug 1396783 - Lazy load inspector.js dependencies. r=pbro
MozReview-Commit-ID: 6ho0EPnnXzf

--HG--
extra : rebase_source : e922c355c5e0583649f4e8f557404614cdd86166
2017-09-05 12:04:48 +02:00
Xidorn Quan
32fe2f2b94 Bug 1397711 - Null-check widget of keyboard event before invoking its PostHandleKeyEvent. r=masayuki
MozReview-Commit-ID: KTniEBMvw9q

--HG--
extra : rebase_source : 3fa266b0097ee94f83c6567d5cebd66f41369d17
2017-09-07 22:07:34 +10:00
Anthony Ramine
9785ff665d servo: Merge #18393 - Make get_property_value unsafe (from servo:get-property-value-unsafe); r=emilio
This takes raw pointers and does things with the things they point to, and
circumvent a lock on a hash table.

Source-Repo: https://github.com/servo/servo
Source-Revision: 5defc56ad5463ef80aa6ff8c306b1187fde2b0ed

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 248de6253a2bd3d7a697e36407571fc443d806af
2017-09-07 06:55:02 -05:00
Alexandre Poirot
f4286bf47a Bug 1396539 - Wait correctly for inspector load before resolving toolbox-ready. r=pbro
MozReview-Commit-ID: GP3O1NZqVEE

--HG--
extra : rebase_source : c1454cdb807159d5de56a39bcbfb59676540eb1a
2017-09-05 11:31:01 +02:00
Samael Wang
dd00003e0f Bug 1364364 - Part 6: Re-connect nsDocViewerFocusListener in nsDocumentViewer::Open. r=smaug
I noticed this error message on fixing dom/workers/test/test_suspend.html:

WARNING: NS_ENSURE_TRUE(mDocViewer) failed:
	file layout/base/nsDocumentViewer.cpp, line 3863

It happens when a nsDocumentViewer::Close() is followed by a
nsDocumentViewer::Open(), the viewer would have been disconnected. Since it
takes only one-line change to fix I just include it in this bug.

MozReview-Commit-ID: LMT2PJkUqi1

--HG--
extra : rebase_source : eeab056fa1e029a7183ee2b2aa79f4067174bf71
2017-09-05 18:16:10 +08:00
Samael Wang
593ae22cd9 Bug 1364364 - Part 5.2: Remove browser.sessionhistory.cache_subframes and fix test cases relying on it. r=smaug
browser.sessionhistory.cache_subframes has been disabled for 12yrs. It's not
actually maintained and it leaks content viewers. Using this unreliable feature
in test cases is a bad practice, so remove the pref completely and fix existing
test cases.

MozReview-Commit-ID: 3tQLpsqmmaq

--HG--
extra : rebase_source : 5dcc252160694a72e30ae41689f173cc0886edd6
2017-09-05 16:02:04 +08:00
Samael Wang
c1f17dd82a Bug 1364364 - Part 5.1: Rename frame/iframe.html of to-be-modifed test cases. r=smaug
Since git lacks of native rename command, git-cinnabar can only recognize
and convert plain mv to hg rename, so I need a separated patch for renaming.

MozReview-Commit-ID: 4M6n5wIWoFl

--HG--
rename : dom/indexedDB/test/bfcache_iframe1.html => dom/indexedDB/test/bfcache_page1.html
rename : dom/indexedDB/test/bfcache_iframe2.html => dom/indexedDB/test/bfcache_page2.html
rename : dom/media/webspeech/synth/test/file_bfcache_frame.html => dom/media/webspeech/synth/test/file_bfcache_page1.html
rename : dom/media/webspeech/synth/test/file_bfcache_frame2.html => dom/media/webspeech/synth/test/file_bfcache_page2.html
rename : dom/workers/test/WorkerDebugger_frozen_iframe1.html => dom/workers/test/WorkerDebugger_frozen_window1.html
rename : dom/workers/test/WorkerDebugger_frozen_iframe2.html => dom/workers/test/WorkerDebugger_frozen_window2.html
rename : dom/workers/test/suspend_iframe.html => dom/workers/test/suspend_window.html
extra : rebase_source : 59bcddcb0eaf0c335ded6df90b497f1fa97a63c0
2017-09-05 15:57:21 +08:00