Commit Graph

556483 Commits

Author SHA1 Message Date
Francesco Lodolo (:flod)
78ed2814d9 Bug 1396927 - Switch Diec2 (Catalan) search plugin to https r=mkaply
MozReview-Commit-ID: 7JWJhqCvRJV

--HG--
extra : rebase_source : 3205073a5cae04b68e520c2faee929044593750f
2017-09-05 20:09:19 +02:00
Gijs Kruitbosch
fd7064ce6b Bug 1374315 - fix CSS overflow:hidden in overflow panel and page action panel to fix rounded corners, r=mikedeboer
MozReview-Commit-ID: B5lHCaAMvyu

--HG--
extra : rebase_source : 4b0995e4ef6558ad418c8782f4bdfdf5cba1f91d
2017-08-15 13:03:33 +01:00
Jared Wein
d395875dc0 Bug 1393565 - De-duplicate the JS code and CSS that sets the bookmark and pocket library animation. r=Gijs
MozReview-Commit-ID: Z1kIdrY2Um

--HG--
extra : rebase_source : fbff99adf6446d060f32cb49cfdce8a9912da891
2017-08-30 15:58:24 -04:00
Jan Henning
0b7a53e9cb Bug 1396292 - Part 2 - Explicitly run permissions callback on background thread where applicable. r=sebastian
Currently, this only concerns setImageAs, where not running on the UI thread after a permissions prompt triggers a network-related strict mode violation and interestingly enough results in a crash (as opposed to a logcat complaint) on release builds.

There's also a permissions check in the UpdateService which runs on a (but not *the*) background thread, but since we don't prompt in that case there's no action necessary.

MozReview-Commit-ID: KKxW96AyDWH

--HG--
extra : rebase_source : db12529acc9b257930c37c2295f69a7b8e75232c
2017-09-02 21:55:40 +02:00
Jan Henning
fe27b4a96d Bug 1396292 - Part 1 - Provide facilities to explicitly run permissions check callbacks on the background thread. r=sebastian
The permissions check itself is synchronous, but if we then decide to prompt the user to acquire the permission, we have to do so asynchronously and eventually continue execution on the UI thread as a result. Therefore we need to provide a counterpart of onUIThread() for operations that want their callback to stay off the UI thread in all situations.

MozReview-Commit-ID: AOCX1v69R1J

--HG--
extra : rebase_source : ed0bab9f3ae3198bf2af90eabc86fd5ddd95b3a0
2017-09-02 21:22:30 +02:00
Jan Henning
573a12d384 Bug 1396292 - Part 0 - Clean up imports. r=JanH
MozReview-Commit-ID: 12CjJ2zZ2Qr

--HG--
extra : rebase_source : d216e689ed667e43e200101985bffd45d74fefc8
2017-09-02 21:44:55 +02:00
Jeremy Chen
1c06004c65 Bug 1394994 - stylo: update annotations for Devtools tests. r=xidorn
MozReview-Commit-ID: 2x0EZ9ririK

--HG--
extra : rebase_source : 32102bcb54d9e8becf77d642b97a2288f5402256
2017-09-04 13:03:14 +08:00
Jeremy Chen
03a9b4e928 Bug 1394994 - stylo: get line and column for ServoKeyframeRule. r=xidorn
The Servo_KeyframesRule_GetKeyframe binding function has been empowerd and
renamed to Servo_KeyframesRule_GetKeyframeAt in the servo side patch. In this
patch, we use Servo_KeyframesRule_GetKeyframeAt to get line and column
information for ServoKeyframeRule, so that the inspector can present Keyframe
rules on the devtool panel properly.

MozReview-Commit-ID: BGd9FFsC3Nz

--HG--
extra : rebase_source : f2b5ff73a84a3cd4e5d0b17d5e0c5ac5fd57f817
2017-09-04 13:38:23 +08:00
Andrew McCreight
e81ef49017 Bug 1390660, part 3 - Make QIing to a few CCed classes faster. r=peterv
QIing to CC interfaces shows up in Speedometer profiles for a few
classes. Presumably there are many of these objects being created and
destroyed. By making these classes check first for the CC interfaces
directly, rather than going up the inheritance chain, this overhead
should be reduced.

MozReview-Commit-ID: I3sf3my8oua

--HG--
extra : rebase_source : f08884a944d5b4ed1eb1da1070de64f21fc9868a
2017-08-16 14:31:40 -07:00
Andrew McCreight
64b725c5cd Bug 1390660, part 2 - Define and use a new macro for CC isupports. r=peterv
The main purpose of defining this is to make conversion of places that
use the non-CC variant easier. There are many more places that could
be converted to use these new macros, if somebody felt motivated.

MozReview-Commit-ID: HspjcN76fjg

--HG--
extra : rebase_source : bf3baa586f90f0afbe9229c32d38cb34cc909b9b
2017-08-16 13:14:11 -07:00
Andrew McCreight
e8ec349629 Bug 1390660, part 1 - Clean up some uses of the table-to-map segue. r=peterv
In a number of places, there's no substantial use of maps any more
after the segue.

The ELEMENT segue tries the FragmentOrElement QI, but that is
redundant with the Element QI.

This lets me use a few higher-level macros.

MozReview-Commit-ID: Gstq3Cm8LDl

--HG--
extra : rebase_source : f0c7dbf5281ce7375b1369b49db095a211569d6c
2017-08-16 13:37:20 -07:00
Jeremy Chen
7cc52b70f0 servo: Merge #18365 - stylo: Store location information for keyframe rules (from chenpighead:stylo-keyframe-location); r=upsuper,emilio
So far, we only store location info for the whole Keyframes block, not for each
of the keyframe rule. Without this info, the devtool can't present the rules
on the devtool panel properly.

In this patch, we collect the source location info while parsing keyframe selector.
The binding function, Servo_KeyframesRule_GetKeyframe, is also fixed (and renamed
to Servo_KeyframesRule_GetKeyframeAt to match the fix) to accept line and column
parameters from Gecko, so we can pass/set them with the source location from Servo.

This is the servo part of [Bug 1394994](https://bugzilla.mozilla.org/show_bug.cgi?id=1394994).

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1394994](https://bugzilla.mozilla.org/show_bug.cgi?id=1394994)

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 17bc4073e4d17b26e9d8c07a8ed4b996cfe1612f
2017-09-05 11:22:20 -05:00
Simon Sapin
0ef497bfee Bug 1396664 - re-enable bad-string subtests in test_parser_diagnostics_unprintables.html r=emilio
… and update cssparser to 0.20.1

MozReview-Commit-ID: 8SiFIGk1jtb

--HG--
extra : rebase_source : 9d817fba90c38a7148166392e3412cfaf1538785
2017-09-05 15:40:57 +02:00
Andrew Swan
54ce4c11b5 Bug 1396578 Remove startup notification for non-mpc extensions r=rhelmer
MozReview-Commit-ID: 6oSi63pGCqK

--HG--
extra : rebase_source : 9908865d5db0949e72f2324158ebce98e3b2fe75
2017-09-05 07:35:59 -07:00
Sebastian Hengst
a4afd66862 Backed out changeset 2b0d4df90489 (bug 1396137) for build bustage, at least on Android at security/manager/ssl/nsNSSComponent.cpp:1915: 'savedPRErrorCode1' was not declared in this scope etc. r=backout on a CLOSED TREE 2017-09-05 19:08:12 +02:00
Sebastian Hengst
34e6bbd998 Backed out changeset 14b4af261515 (bug 1385609) for eslint failures in nsUrlClassifierLib.js. r=backout 2017-09-05 19:04:43 +02:00
Drew Willcoxon
b687ca805e Bug 1388589 - Add Button States to Items in the Location Bar. r=dao
MozReview-Commit-ID: EseMI7z8DBo

--HG--
extra : rebase_source : 7277b787e801cd7b697e016af32111f2c8f671ce
2017-09-02 14:59:09 -07:00
David Keeler
a65554ff32 bug 1396137 - update broken fips pkcs#11 module db handling code for when we use the sqlite-backed databses r=jcj
This handles the different error code returned by NSS and that the pkcs#11
module db has a different filename.

MozReview-Commit-ID: HJK4zsf6IS0

--HG--
extra : rebase_source : ac73b91cc1c3336c493d448ee5a54a50cc74fab3
2017-09-01 15:54:40 -07:00
Andreas Tolfsen
ba22a00638 Bug 1396838 - Remove window state from wdpsec tests. r=jgraham
MozReview-Commit-ID: 7zogEgoABnV

--HG--
extra : rebase_source : 45920ac12cff35e5aa99c520a3ccdc93fb7828d7
2017-09-05 17:02:41 +01:00
Andreas Tolfsen
7316bc343d Bug 1396838 - Set window rect before every test. r=jgraham
There are DOM attributes to query a window's minimized and fullscreen
states, but there is no reliable way to tell if the window is maximized.
To workaround this, we set the window's size before every test to ensure
it transitioned to the normal window state.

MozReview-Commit-ID: DAT0E4rhmjY

--HG--
extra : rebase_source : 0e9e77ad340c39b656f523085613f43f1d6bd94a
2017-09-05 17:01:05 +01:00
Andreas Tolfsen
5a76982786 Bug 1396838 - Drop WindowState. r=jgraham
The window state concept was removed from WebDriver level 1.

MozReview-Commit-ID: 6cogstpDc0a

--HG--
extra : rebase_source : 539df9fed0761b8e9609f60c3f9b77b946829147
2017-09-05 14:50:06 +01:00
Andreas Tolfsen
843ac74c10 Bug 1396831 - Update wdclient and wdspec expected error codes. r=jgraham
MozReview-Commit-ID: IwydIfDWRwC

--HG--
extra : rebase_source : 97b67b79feeec142d1ec02f0a74857c772909172
2017-09-05 16:11:17 +01:00
Andreas Tolfsen
ad8630684d Bug 1396831 - Align HTTP status codes with specification. r=jgraham
Some of the HTTP status codes have changed in the WebDriver specification,
as shown in:

	d678562e3d

MozReview-Commit-ID: 4DLkYDXckew

--HG--
extra : rebase_source : 37c595265ead9591a6618ca44000bfb0f401da75
2017-09-05 14:42:12 +01:00
Andreas Tolfsen
88efb4d67b Bug 1396831 - Improve readability of error_code and http_status. r=jgraham
No semantic changes.

MozReview-Commit-ID: F4TJI2i5bJo

--HG--
extra : rebase_source : 703abf5278a7cf46393f9b720cea6e0948a5c1dd
2017-09-05 14:39:32 +01:00
Mark Striemer
0875bd29d9 Bug 1374463 - Show extension identity when controlling newtab r=mixedpuppy
MozReview-Commit-ID: 2phlLhlAvGd

--HG--
extra : rebase_source : 7459d7efe0cb06ae64f25004fde2affd85292de3
2017-08-31 12:23:48 -05:00
Thomas Nguyen
9088e7a39b Bug 1395411 - Unregister tables when they're removed from urlclassifier.*Table. r=francois
MozReview-Commit-ID: Ex1ZxMcJLep

--HG--
extra : rebase_source : a200c02b536874a5a4255087b42d7074f5de3b43
2017-08-31 18:46:23 +08:00
Thomas Nguyen
a26ed706a3 Bug 1385609 - Fix backoff issue that makes SB lists no longer update r=francois
The issue occurs when nsITimer is fired earlier than the backoff time. In that
case, the update doesn't proceed and we never make another attempt because the
backoff update timer was oneshot.

We fix the issue in two ways:

- Add a tolerance of 1 second in case the timer fires too early.
- Set another oneshot timer whenever we are prevented from updating due to
backoff.

MozReview-Commit-ID: E2ogNRsHJVK

--HG--
extra : rebase_source : 17aa70d8583cc84e28e57410de66eaac63bd18bb
2017-08-30 18:04:10 +08:00
Louis Chang
78d17c53f3 Bug 1352238 Part 8 - Make fuzzy and unexpected tests passed. r=mats
MozReview-Commit-ID: 5j2xeZ0VHW6

--HG--
extra : rebase_source : 7bd906afb65c8d44ec564979bb92d8fe741f0c2d
2017-09-05 22:47:09 +08:00
Louis Chang
c79d83c34c Bug 1352238 Part 7 - Check if native theme supports the widget before using it. r=mats
MozReview-Commit-ID: IKoYDzNCVx4

--HG--
extra : rebase_source : 6a578d8944cc0cadc69f7f031374bac92b8c6ee9
2017-09-05 22:47:01 +08:00
Louis Chang
4394e3b042 Bug 1352238 Part 6 - Enable reftests for checkbox/radio form controls on Android. r=mats
MozReview-Commit-ID: 7R1V3LK03cr

--HG--
extra : rebase_source : 7f657c07be4405517077db8a6b2ede62945779c9
2017-09-05 22:46:36 +08:00
Louis Chang
ca0491d947 Bug 1352238 Part 5 - Remove painting related methods in nsGfxCheckbox/RadioControlFrame.cpp. r=mats
MozReview-Commit-ID: GvhGm4LUaOI

--HG--
extra : rebase_source : 7b86c6c578505d0aa11f82887641cdb4bd7544e6
2017-09-05 22:45:13 +08:00
Louis Chang
a63b8f6139 Bug 1352238 Part 4 - Implement PaintCheckBox/RadioControl and modify the original painting functions. r=mats
MozReview-Commit-ID: Jk6MS5wFA2g

--HG--
extra : rebase_source : 09ff29fddf9297550455af0c6f451c8d12ee0c09
2017-09-05 22:44:57 +08:00
Louis Chang
4ee1a817c5 Bug 1352238 Part 3 - Implement a fake native theme for checkbox/radio form controls on Android. r=mats,snorp
MozReview-Commit-ID: 5g6VJzfZv4Z

--HG--
extra : rebase_source : 7e1d46097b03c95fea0db85a686bc6ea1f6d9ec2
2017-09-05 22:44:42 +08:00
Louis Chang
0d46442004 Bug 1352238 Part 2 - Remove default styling of checkbox/radio in UA sheets. r=mats
MozReview-Commit-ID: 6sd18LI3yw2

--HG--
extra : rebase_source : f0efd383fd4e51be1a4c99691a4455b6f6686798
2017-09-05 22:44:29 +08:00
Louis Chang
057601eaa6 Bug 1352238 Part 1 - Make box construction and layout for radio/checkbox elements work the same on Android as on other platforms. r=mats
MozReview-Commit-ID: NmWepjKDVj

--HG--
extra : rebase_source : b8e1c2684672c3426708099225342ebae152b3f4
2017-09-05 22:44:24 +08:00
Alex Gaynor
f7ab109d5e Bug 1229829 - Part 2 - Use an alternate desktop on the local winstation for content processes; r=bobowen
MozReview-Commit-ID: ES52FwM5oFZ

--HG--
extra : rebase_source : 3893d3022f203eb0962f3bcc3490b35514285781
2017-08-16 09:55:19 -04:00
Alex Gaynor
dc31e19e84 Bug 1229829 - Part 1 - Apply chromium sandbox patches from upstream which improves alternate desktop support; r=bobowen
This is 0cb5dadc2b1f84fbbd9c6f75056e38d05a5b07d3 and
db4c64b63d6098294ed255e962700fd2d465575e in the chromium repository.

This allows a single process to create sandboxed children with alternate
desktops on both an alternate winstation and the local winstation.

MozReview-Commit-ID: 8sS7LjoveOk

--HG--
extra : rebase_source : 6915af73743f87ed74ddefe04210dbdd95bb56ed
2017-08-16 09:54:31 -04:00
Chenxia Liu
665bc15aa2 Bug 1396589 - Remove unsupported API call for lower versions. r=liuche
MozReview-Commit-ID: H1oSMcM6BCD

--HG--
extra : rebase_source : 71b61ce9934a237bea01709d5b2629b04b51e1fd
2017-09-05 09:14:37 -07:00
Dão Gottwald
c6455e0be2 Bug 1396624 - Hide URL bar elements and the stop button with display:none instead of visibility:collapse to prevent the icons from being loaded needlessly. r=johannh
MozReview-Commit-ID: 6VB57Lz2bMI

--HG--
extra : rebase_source : 1a0aea95847ac981b177f0d508a4b35f681add8a
2017-09-04 18:14:20 +02:00
Luca Greco
76db20f78d Bug 1396605 - Prevent duplicated Firefox for Android PageAction icons for a single extension. r=mixedpuppy
MozReview-Commit-ID: 1axv6vFXcCu

--HG--
extra : rebase_source : e265131c7bcfcb1fa57e0b461debcb7a915529a5
2017-09-04 21:09:58 +02:00
Andreas Tolfsen
8573d950b9 Bug 1349929 - Increase action sequence test timeout. r=maja_zf
MozReview-Commit-ID: Bw0MWCXAwpn

--HG--
extra : rebase_source : 8902adaab573a246b230ae444005865773046ade
2017-09-04 14:15:58 +01:00
Bob Silverberg
ab10610842 Bug 1293853 - Part 3: Add support for separators to bookmarks API, r=mixedpuppy
This adds support for separators to the bookmarks API. Separators can now be created
and will be returned by any method that returns BookmarkTreeNodes. They will also be
included in data for the onCreated and onRemoved events.

BookmarkTreeNodes will now contain a `type` property which will be one of bookmark,
folder or separator. When creating a bookmark object, one can specify the type, or one
can rely on the Chrome-compatible behaviour which treats any bookmarks without a URL
as a folder. To create a separator one must specify a type as part of the CreateDetails
object.

MozReview-Commit-ID: BoyGgx8lMAZ

--HG--
extra : rebase_source : 95a06fe81d21d660aeecbd86b71ca6bbcd66eb10
2017-08-28 17:05:55 -04:00
Bob Silverberg
8268904c53 Bug 1293853 - Part 2: Include separators in results from bookmarks.search, r=standard8
This API is only used by WebExtensions, which previously wanted to exclude separators,
but now we want the WebExtensions APIs to be able to return separators.

MozReview-Commit-ID: 7PApWDwWMr1

--HG--
extra : rebase_source : c5e816900cb0288f1cdba86ec07f6565a1c79880
2017-08-29 13:19:05 -04:00
Bob Silverberg
f8c2cd5f82 Bug 1293853 - Part 1: Add numeric typeCode to PlacesUtils.promiseBookmarksTree, r=standard8
This allows promiseBookmarksTree to return nodes that describe their type in both string (i.e., PlacesUtils.TYPE_X_*)
format and numeric (i.e., PlacesUtils.bookmarks.TYPE_*) formats. ext-bookmarks.js would prefer to be able to
use the numeric format as that is what is used throughout the rest of the file.

MozReview-Commit-ID: 7DpqAb3zVio

--HG--
extra : rebase_source : d6a9ead83e3de14bb8f52d9e19083a0f6ae609ee
2017-08-29 10:27:38 -04:00
Paul Rouget
2af5b6e579 servo: Merge #18363 - use cargo manifest path to find build.py (from paulrouget:fix_style_build); r=SimonSapin
Without this, build.py can't be found when servo is built as a dependency.

---
<!-- 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: 34e0805b125ae77b9c05ff096c4bbc8d8ffd8bfc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4bd98e7af82ecd570e1248cc0119bfe980a48e13
2017-09-05 09:22:28 -05:00
Tom Tromey
eabdd82c6a Bug 1388855 - Simplify source map URL extraction in stylesheet actor; r=gl
MozReview-Commit-ID: 3WeNugNx7M

--HG--
extra : rebase_source : 972c3faa9b2636f059043fbb3b12f7fbe922c6c4
2017-08-09 13:47:23 -06:00
Tom Tromey
c355a3b8b9 Bug 1388855 - Extract source map URL when parsing CSS, r=bz,heycam
This changes the CSS lexer to extract sourceMappingURL directives from
comments and preserve them; then changes the parser to expose this value
as the style sheet's sourceMapURL.

MozReview-Commit-ID: LfMamJ1PsU0

--HG--
extra : rebase_source : 258827720282d415f97f1d49d870b7c2448d39f4
2017-08-09 13:33:24 -06:00
Tom Tromey
959b82c809 Bug 970469 - ignore breakpoints on the current line when stepping out; r=ystartsev+600802
MozReview-Commit-ID: KTzygRac2D7

--HG--
extra : rebase_source : 923731525f7f0b264458845d54d669dfb3fd605c
2017-08-31 14:21:57 -06:00
Jing-wei Wu
2d894cb091 Bug 1389092 - Adjust TwoLinePageRow layout. r=nechen
Adjust icon position and increase text size of title field.

MozReview-Commit-ID: F0eb8m7dvHY

--HG--
extra : rebase_source : ee7f8464ac857bbdfb39eb96b7a9902c09e58066
2017-09-05 18:14:33 +08:00
cku
f1fd114ae6 Bug 1396489 - Part 3. Use gfxContext::GetClipExtents(false) when clipped rect in device space is needed. r=mstange
MozReview-Commit-ID: YO4JACFK9O

--HG--
extra : rebase_source : 068eb69d634cfc5150d7cb864c366e719a025859
2017-09-04 14:04:17 +08:00