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

537506 Коммитов

Автор SHA1 Сообщение Дата
Mats Palmgren f7e4384ac8 Bug 1365614 part 2 - Backout bug 1357655. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
MozReview-Commit-ID: Ig0RVKSQw4r

--HG--
extra : source : e528713f882cfc92f4c7acaf41e00dd302105ed0
2017-05-18 11:09:00 +08:00
Mats Palmgren aea77748e4 Bug 1365614 part 1 - Backout bug 1358840. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
MozReview-Commit-ID: GwjC0YXc17m

--HG--
extra : source : cdaaaf661b0fae3029e6dbc2419b32eb3c96b4a4
2017-05-18 11:08:00 +08:00
Mark Banner 1e0b8c246f Bug 1366720 - ESLint simpletest and places-overlay environments don't export globals correctly when used outside of mozilla-central. r=mossop
MozReview-Commit-ID: 1Qj63qwjHoo

--HG--
extra : rebase_source : c403ef765a1c0e0a9836270aca69089c6a42f1d4
2017-05-22 11:25:08 +01:00
Mats Palmgren a796d14d49 servo: Merge #16996 - Back out webkit-appearance support in stylo for now (from bzbarsky:backout-webkit-appearance); r=bzbarsky
See https://bugzilla.mozilla.org/show_bug.cgi?id=1365614 for web compat issues this causes.

<!-- 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 https://bugzilla.mozilla.org/show_bug.cgi?id=1365614

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 42699696ca7326e9480c76dc44293458f1fc780a
2017-05-22 13:36:36 -05:00
Sebastian Hengst 1344976217 Backed out changeset 4f0f6745c23d (bug 1158387) for failing extensions/cookie/test/unit/test_cookies_async_failure.js on Windows 7 VM opt. r=backout 2017-05-22 22:03:32 +02:00
Gijs Kruitbosch d4da052d31 Bug 1354084 - add sync / Firefox account button to hamburger panel, r=mikedeboer
MozReview-Commit-ID: 8YOFAY5VpQl

--HG--
extra : rebase_source : a4b4121fd729072ff9d2d37b01b6bea7ae27948a
2017-05-09 15:56:19 -04:00
Jan Henning dc8e9d0635 Bug 1359531 - Part 8 - Handle tabs selected while all GeckoApps were in background. r=sebastian,walkingice
Activity switching is now handled by the currently active GeckoApp instance, which obviously doesn't work if all of them are currently backgrounded.

To fix this, we track for each tab whether its selection was handled by a foregrounded GeckoApp instance. If it wasn't, we catch up with any possibly necessary activity switches during the next resume.

MozReview-Commit-ID: JEjQUuDJw5Q

--HG--
extra : rebase_source : b7a9f5a4ad4811c1c9e9d24eaae61f3757c64442
2017-05-05 21:07:29 +02:00
Jan Henning 0ba05f0abf Bug 1359531 - Part 7 - Don't ignore last selected tab for Intent.ACTION_MAIN. r=sebastian,walkingice
Normally, receiving a new intent means we want to switch tabs/open a new tab, so we need to turn off our "last selected tab in this activity" logic, however this is not true when we receive a simple Intent.ACTION_MAIN, e.g. when we're being brought into the foreground from a launcher icon (as opposed to the activity/task switcher).

MozReview-Commit-ID: ExiM3c8iaEA

--HG--
extra : rebase_source : c2c60a07c1cbbd6d3e1d16557721e975ae932a55
2017-05-05 20:31:15 +02:00
Jan Henning faaae1600a Bug 1359531 - Part 6 - Remove manual setting of current activity. r=sebastian,walkingice
Switching between different GeckoApp instances in response to tab selection no longer requires the GeckoActivityMonitor for getting the current activity, so we no longer need to manually set the current activity for the benefit of code that executes early during onCreate/onNewIntent.


MozReview-Commit-ID: E9BQhRclDfS

--HG--
extra : rebase_source : 7fd279d5450c95d00d1df93b84b7a0679f686305
2017-04-28 22:28:55 +02:00
Jan Henning cb97123df9 Bug 1359531 - Part 5 - Trigger activity switching from GeckoApp. r=sebastian,walkingice
To avoid the need for tracking the currently active activity, we just respond from the activity itself by using GeckoApp's tab event listener.

As replacement for the "closeTabNoActivitySwitch()" function, we set a flag on the activity instead before closing the tab.

MozReview-Commit-ID: LdmyJ5i10jZ

--HG--
extra : rebase_source : c960b58eae3c862f89fef188022f8d71c88f06c6
2017-04-29 15:20:19 +02:00
Jan Henning e3dc81f127 Bug 1359531 - Part 4 - Import Tab intent extra key definitions. r=sebastian,walkingice
MozReview-Commit-ID: DXZGscSpRtd

--HG--
extra : rebase_source : f0cfa6a9e2b8c2f8ef9f3f61c6447dfefe6a96f2
2017-04-28 22:58:51 +02:00
Jan Henning 3b04fed8de Bug 1359531 - Part 3 - Creating new intents is a job for IntentHelper. r=sebastian,walkingice
MozReview-Commit-ID: 9s7aP35Q0AJ

--HG--
extra : rebase_source : 5aa49ae74fd7cbdb222aba2f9c9fffb36ff2a8a9
2017-04-28 22:35:29 +02:00
Jan Henning 0e2261b98f Bug 1359531 - Part 2 - Move some tab switch functionality to the tab object. r=sebastian,walkingice
These methods already take a tab object as their argument, so we just turn them into Tab member functions.

MozReview-Commit-ID: 7fp7bzDbRja

--HG--
extra : rebase_source : 801ee697138cdda8f82402583ee5348b74625197
2017-04-28 22:35:57 +02:00
Jan Henning 469769a9db Bug 1359531 - Part 1 - Call GeckoApp's tab event handler from web apps/custom tabs, too. r=sebastian,walkingice
We want to move the activity switching code into the activity (i.e. GeckoApp) itself and run it from its onTabChanged handler in response to the appropriate events (at the moment that's only SELECTED), so we need to ensure that this will actually be called within custom tabs/web apps as well.

Additionally, there's no need to separately register the tab events listener from the CustomTabs/WebAppActivity as well if our parent class already does it for us.

MozReview-Commit-ID: 6PIq1KncDcA

--HG--
extra : rebase_source : ba6448d214b26f966bccf1deb6f87c931dac2ec1
2017-04-28 20:16:19 +02:00
Wes Kocher c23cbd4a57 Backed out 2 changesets (bug 1342289) for crashtest leaks a=backout
Backed out changeset 3744676f7923 (bug 1342289)
Backed out changeset d0a029765f69 (bug 1342289)

MozReview-Commit-ID: Fb6GfKo6AhJ

--HG--
extra : rebase_source : 8ac1045485a4f3b0aa94b01103933814ff89e23a
2017-05-22 12:50:23 -07:00
Michael Kaply 33f3641255 Bug 1359538 - Add API to retrieve engines by extension ID. r=florian
MozReview-Commit-ID: 2Qz6B1u8Or

--HG--
extra : rebase_source : c1a1ee3a02a417a8e504571316da2c7d63e4090b
2017-04-26 10:58:08 -05:00
Chris Pearce f655fd10eb Bug 1366167 - Test for Enable DRM prompt. r=Gijs
We recently accidentally broke the "Enable DRM" prompt without realising, so
this adds a test that if EME is disabled and is attempted to be used we we
prompt the user to enable EME.

It is important we don't regress this feature as without it users with DRM
disabled (which is our Linux popuation by default) may try to playback DRM
protected video and it won't work and there won't be an obvious way to make it
work.

MozReview-Commit-ID: D4X7D4wkwRy

--HG--
extra : rebase_source : d0c7bf45c0a3b4ffb517a3b7c008230bd750fc8d
2017-05-19 15:44:15 +12:00
Julian Descottes 8d5696d571 Bug 1361054 - move scratchpad sessions test to devtools/client/scratchpad;r=mikedeboer
DevTools are moving out of mozilla central, and since this test is relying on scratchpad
being available, it would probably make sense to move it to the scratchpad test suite
which will still be run in the new devtools continuous integration setup.

MozReview-Commit-ID: 19x6Ccp85ND

--HG--
rename : browser/components/sessionstore/test/browser_644409-scratchpads.js => devtools/client/scratchpad/test/browser_scratchpad_sessions.js
extra : rebase_source : bf564025199748b43ef56333f5c5626b266be1ca
2017-05-01 17:42:28 +02:00
Julian Descottes 98b89c91bc Bug 1361054 - use registerCleanup in scratchpad browser tests;r=ochameau
AFAICT SimpleTest.registerCleanup is never called here. And it introduced a leak
in the session scratchpad test I want to move to this test suite. I couldn't really
understand where the leak was coming from, but using registerCleanup (which _is_
called) fixes it.

MozReview-Commit-ID: 2VE7wHxy066

--HG--
extra : rebase_source : b2e7f62a727535912be55c68d6f8b0932e9f1414
2017-05-08 12:25:47 +02:00
Alessio Placitelli 11d4740f39 Bug 1363345 - Don't use the pingsender when the OS is shutting down. r=bsmedberg,gfritzsche,data-review=bsmedberg
MozReview-Commit-ID: 9d8paU8M1T7

--HG--
extra : rebase_source : 82d6eca15be79b41eea5e72b93b49c7efc7d5366
2017-05-12 12:23:07 +02:00
Anthony Ramine 8823abc875 servo: Merge #16994 - Refactor basic shapes and fix a silly bug (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 9a5e6fb553b76e6fbd0a532723cb34c136ed9fec

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c54c9f7baab0ea82c381930ce7bf4a0ca6d1219d
2017-05-22 11:37:28 -05:00
Mike Shal ca4aa9a838 Bug 1365722 - Move application.ini processing out to a separate file; r=cmanchester+432261
Windows repackaging for complete mar files will also need to pull a
different value out of the application.ini file, so this code should be
shareable.

MozReview-Commit-ID: CzCoNRYcBPX

--HG--
extra : rebase_source : a5e4b31ba876d811436a7d8d15462fa85f0762f8
2017-05-04 16:13:55 -04:00
Mike Shal 14106ca069 Bug 1365722 - Use correct permission bits in chmod; r=cmanchester+432261
The chmod permissions need to be in octal format to get the expected
permissions settings. This only seems to affect the output if we run the
repackaging command on Linux, but it should still be fixed.

MozReview-Commit-ID: to4v7dkSBl

--HG--
extra : rebase_source : 9d2289511ebd05aea8a4c6d37136f258e2463dee
2017-05-03 12:37:49 -04:00
Mike Shal af5d946f11 Bug 1365722 - Rename 7z_exe_* to exe_7z_*; r=cmanchester+432261
Python can run these files with 'python -m 7z_exe_foo', but using
'import 7z_exe_foo' is not allowed because the module begins with a
number.

See also: https://stackoverflow.com/a/17487228

MozReview-Commit-ID: 97iDdXlZJ1a

--HG--
rename : python/mozbuild/mozbuild/action/7z_exe_archive.py => python/mozbuild/mozbuild/action/exe_7z_archive.py
rename : python/mozbuild/mozbuild/action/7z_exe_extract.py => python/mozbuild/mozbuild/action/exe_7z_extract.py
extra : rebase_source : 1941986a7e6e56305b742710c73b90a3f7b5226b
2017-05-22 14:26:44 -04:00
Mike Shal 5f837f5c24 Bug 1365722 - Move repackage_dmg into a repackaging/ directory; r=cmanchester+432261
It makes more sense to have the repackage commands in a separate
directory, since Windows repackaging will add several new types.

MozReview-Commit-ID: 1wA7F7k4NXf

--HG--
rename : python/mozbuild/mozbuild/repackage.py => python/mozbuild/mozbuild/repackaging/dmg.py
extra : rebase_source : b4b4f2fd5c45900aaf125928c144c15cfa1e115e
2017-05-02 15:18:51 -04:00
Sebastian Hengst 86e9bc92d7 Backed out changeset 40eb2f2b645f (bug 1366656) for eslint failure at XPIProvider.jsm:2977. r=backout 2017-05-22 20:13:14 +02:00
Jan Odvarko 6a123ea736 Bug 1307884 - Implement tests; r=bgrins,nchevobbe
MozReview-Commit-ID: KdYSPciSvJk

--HG--
extra : rebase_source : e9f905571608ae4386ea528d3f373e587c7121df
2017-05-22 19:59:28 +02:00
Jan Odvarko 29ca14c02a Bug 1307884 - Remove prune function; r=bgrins
MozReview-Commit-ID: B6VGrJOe0sk

--HG--
extra : rebase_source : 31e80ce3ea2dc3734a01a83e8871607d79fa3020
2017-05-22 19:59:20 +02:00
Jan Odvarko f3f602739e Bug 1307884 - Clean up actors; r=nchevobbe
MozReview-Commit-ID: Ls5zAExKtkP

--HG--
extra : rebase_source : 8daa22c4645c15a04af636a02315a9246211dcb0
2017-05-22 19:59:06 +02:00
Jan Odvarko a6b4c9d294 Bug 1307884 - Limit for messages in the store; r=bgrins
MozReview-Commit-ID: 3NLMvJFPbls

--HG--
extra : rebase_source : baebb8c6aeed8ff15fc9e81f9470dfad3371118c
2017-05-22 19:19:56 +02:00
Jakob Stoklund Olesen fe9b95a3ca Bug 1366096 - SIMD globals with 8x16 and 16x8 types. r=bbouvier
Add support for asm.js global variables with the following types:

    Int8x16, Bool8x16, Int16x8, Bool16x8.

We already have the needed code generation support, but tests were
missing for these types, and so their types were omitted from some
critical switches.

MozReview-Commit-ID: B4r7VofjlYL

--HG--
extra : rebase_source : 4df72f2296f814a1ea83d6ff93170ed2049f4361
2017-05-19 14:44:53 -07:00
Sebastian Hengst 63a7ff4ecb Backed out changeset 30179c555174 (bug 1363345) for eslint failing at test_TelemetrySession.js:1421. r=backout 2017-05-22 20:07:13 +02:00
Andrew Swan cccfd754c1 Bug 1357948 Use production-signed xpi for test r=rhelmer
MozReview-Commit-ID: 5Vk9es0TR5

--HG--
extra : rebase_source : 361373310b7ee4315087068f4cc0ed9784761d67
2017-05-22 10:13:17 -07:00
Dan Mosedale ext:(%3E) bdfc611db8 Bug 1365643 - make activity stream, but not tiles, load in the child, r=Mardak
MozReview-Commit-ID: HVEL6CxvQNq

--HG--
extra : rebase_source : 38502b938a9fb15ba1f081b19c3d9d48a1a94540
2017-05-17 09:32:01 -07:00
Ray Lin b88e5c8977 Bug 1357519 - Fix intermittent browser_contextmenu.js by setting loop attribute to ensure media is playing before check. r=jaws
MozReview-Commit-ID: Hu53UB0QL2L

--HG--
extra : rebase_source : f9e271f6ff70c0d0d841e200bbb0369873faaea2
2017-05-16 11:43:52 +08:00
Timothy Guan-tin Chien bd12627a6e Bug 1365896 - Set -moz-appearance to none on in-content xul|checkbox and xul|radio, r=jaws
This patch should not result any visual differences. Rather, it makes
nsTextPaintStyle::InitCommonColors() think the checkboxes and radio
buttons are not themed and it should calculate contrast properly.

MozReview-Commit-ID: LF1bQQE1V9X

--HG--
extra : rebase_source : 38c04fa02c97779b60ca55697bc1ecbc37556d1b
2017-05-19 13:57:59 +08:00
Ray Lin d7dafa6ace Bug 1352724 - Fix the indentation and spelling error. r=jaws
MozReview-Commit-ID: IUXY7qiUuHe

--HG--
extra : rebase_source : d07dd2c1588cf5237f7ea9eb4447dc4822362f9e
2017-05-15 18:30:30 +08:00
Ray Lin 483a0b8c19 Bug 1352724 - Pause video at the point when scrubber is being click. r=jaws
MozReview-Commit-ID: 5JuDivYzhoJ

--HG--
extra : rebase_source : 81bca14502cc16beb240ca5f42096f8453bd37c8
2017-04-26 17:09:12 +08:00
Dão Gottwald acf3581ced Bug 1364387 - Ignore spurious overflow event from the anonymous div containing the placeholder text. r=jaws
This event made us initially fade out the URL bar text in new windows despite the text not overflowing the textbox.
This is more visible in RTL builds as we right-align the URL bar value there.

MozReview-Commit-ID: IfLzQBhDXDt

--HG--
extra : rebase_source : 41f342bc9e5c02951599f7243d97151fd66c4de7
2017-05-19 07:40:08 +02:00
Marco Bonardo 86127d4723 Bug 1360891 - Places default favicon should supports hi-dpi. r=dao,standard8
MozReview-Commit-ID: 1b0gnDIQJIQ

--HG--
extra : rebase_source : 9429dc510ac469384c364bad44dbba731abe3a3a
2017-05-03 09:31:05 +02:00
Junior Hsu fc682d8752 Bug 1158387 - Remove "PRAGMA synchronous = OFF" to avoid corruption in cookie service. r=mak
--HG--
extra : rebase_source : 4eba651f66cb3e67c63961531e80423a252e954d
2017-05-21 18:48:00 -04:00
Brad Werth 406f447552 Bug 1342289 Part 2: Re-enable crashtest dom/html/crashtests/795221-3.html. r=heycam
MozReview-Commit-ID: 3demWEDa3Ws

--HG--
extra : rebase_source : a127def77e36dc1981efdcd07681af2bf60bc7b9
2017-05-19 09:19:04 -07:00
Brad Werth fd12ca74cc Bug 1342289 Part 1: Define UUID for ServoStyleSheet. r=heycam
MozReview-Commit-ID: GVUcZ7L0Ro5

--HG--
extra : rebase_source : cb85b6f04fe27de7c6a246e52afa6eb07a61c6ed
2017-05-18 16:36:44 -07:00
Tom Tromey ea788b5b50 Bug 1333352 - use client-side source map service in markup view event bubble; r=jdescottes
MozReview-Commit-ID: D8bF5kkHp2p

--HG--
extra : rebase_source : 88ff42bbedbd844dee3360c132f40ec8188aa692
2017-05-12 14:34:26 -06:00
Patrick Brosset 3b06137e94 Bug 1355819 - New regression test for editing selectors of @import'd rules; r=jdescottes
MozReview-Commit-ID: C1ScohI32tZ

--HG--
extra : rebase_source : 2f5a888162ca6431695af3203846c927a7460f9d
2017-05-22 15:10:00 +02:00
Hemant Singh Patwal cba0ed3bd5 Bug 1355819 - Make the getDocument function safer in devtools\server\actors\styles.js.If passed object has no ownerNode get it from parentStyleSheet instead. r=pbro
MozReview-Commit-ID: 6asmrC31KRr
***

--HG--
extra : rebase_source : d44256d1881c5f76bfc51c2f42c39955f66e62d4
2017-05-19 17:41:52 +05:30
Chris Peterson beea13c9a3 Bug 1366656 - XPIProvider.jsm: Replace deprecated String.localeCompare with simple compare function. r=kmag
I see the following JavaScript warning in stdout when I run Firefox tests from the console.

JavaScript warning: resource://gre/modules/addons/XPIProvider.jsm, line 2970: String.localeCompare is deprecated; use String.prototype.localeCompare instead

MozReview-Commit-ID: ERiTd3rQ4Wc

--HG--
extra : rebase_source : bf7e8d28b652f17ae6c8ae140828acbd73bfc0e0
2017-05-21 20:41:01 -07:00
Malo Jaffré 9d7c6669aa servo: Merge #16970 - Refactor grid style types and impls (from MaloJaffre:grid_cleanup); r=wafflespeanut
Fixes #16949.
- [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 just a refactor

Source-Repo: https://github.com/servo/servo
Source-Revision: 594479fe15f810d148e2352951affe905b1e13ff

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 10616530535dc13f95f990416e72d58eee85ff2d
2017-05-22 09:42:20 -05:00
Jan-Ivar Bruaroey 78cd34d508 Bug 1359662 - Make track.getSettings() output nominal values for width and height instead of crazy high ones. r=jesup
MozReview-Commit-ID: JSfLX4vgkvS

--HG--
extra : rebase_source : a0239acf9be4cb9dbec215d3ad9641f9dd71c82e
2017-04-25 22:32:06 -04:00
Kevin Jones dc64c827ef Bug 1365933 - Don't attempt to access tabData.entries value when tabData.entries is nonexistent or empty. r=mikedeboer
--HG--
extra : rebase_source : 59dff50d78c121f5d9a1519c76c298e749331c99
2017-05-22 08:33:29 -06:00