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

3141 Коммитов

Автор SHA1 Сообщение Дата
Robert Helmer c88c593eab Bug 1515712 - provide OMNIJAR_NAME constant for browser r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D15243

--HG--
extra : moz-landing-system : lando
2019-04-19 22:53:53 +00:00
Coroiu Cristina 5f4315f3ee Backed out changeset 37054e6d6bbb (bug 1460811) for marionette failures at marionette_harness/tests/unit/test_cli_arguments.py on a CLOSED TREE 2019-04-20 00:05:55 +03:00
Myk Melez 2eece48676 Bug 1460811 - migrate XULStore to rkv r=bgrins,lina
Differential Revision: https://phabricator.services.mozilla.com/D25355

--HG--
rename : toolkit/components/xulstore/components.conf => toolkit/components/xulstore/tests/gtest/moz.build
extra : moz-landing-system : lando
2019-04-19 17:42:48 +00:00
Razvan Maries 1f6c35708a Backed out changeset 2f8f0e53a7db (bug 1460811) for leakcheck perma failures. CLOSED TREE 2019-04-19 00:16:32 +03:00
Johann Hofmann 9f4df3d402 Bug 1536454 - Part 3 - Make POPUP_NOTIFICATION_STATS probe collect data on notification removal instead of dismissal. r=MattN
Almost none of the prompts that we are currently showing still get dismissed, which messes up our
measurements in this probe. Most of them are persistent now, which means that we should record when
they get removed instead of dismissed to receive meaningful data. This patch does that.

Differential Revision: https://phabricator.services.mozilla.com/D26944

--HG--
extra : moz-landing-system : lando
2019-04-18 13:43:18 +00:00
Myk Melez f61d3b4399 Bug 1460811 - migrate XULStore to rkv r=bgrins,lina
Differential Revision: https://phabricator.services.mozilla.com/D25355

--HG--
rename : toolkit/components/xulstore/components.conf => toolkit/components/xulstore/tests/gtest/moz.build
extra : moz-landing-system : lando
2019-04-18 19:27:12 +00:00
Rob Wu 1af4c55c01 Bug 1544834 - Replace non-test uses of deprecated Array generics r=evilpie,dao
- `Array.forEach` becomes for-of loop or `array.forEach`.
- `Array.slice(a)` or `Array.slice(a, 0)` becomes `Array.from(a)`.
- `Array.map` becomes `Array.from`
- `Array` copy + concatenation becomes Array literal + spread syntax.
- All other `Array.X(a, ...)` become `Array.prototype.X.call` or `Array.from(a).X(...)`

Differential Revision: https://phabricator.services.mozilla.com/D27802

--HG--
extra : moz-landing-system : lando
2019-04-17 19:03:17 +00:00
Ian Moody 56d2ed1a23 Bug 1544284 - toolkit/ manual ESLint no-throw-literal fixes. r=Standard8
Includes an otherwise-automated change to test_jsctypes.js that required an
expectation change in test_ctypes.xul.

Differential Revision: https://phabricator.services.mozilla.com/D27449

--HG--
extra : moz-landing-system : lando
2019-04-16 19:30:27 +00:00
Ian Moody 57b82dd9be Bug 1544284 - toolkit/ automated ESLint no-throw-literal fixes. r=Standard8
Result of running:
$ mach eslint -funix toolkit/ | sed -Ee 's/:.+//' - | xargs sed -E \
    -e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
    -e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
    -e 's/throw \(/throw new Error(/g' -i

...and then reverting a couple of places where comments were touched,
as well as changes to toolkit/components/ctypes/tests/unit/test_jsctypes.js
that required expectation changes to
toolkit/components/ctypes/tests/chrome/test_ctypes.xul

Differential Revision: https://phabricator.services.mozilla.com/D27448

--HG--
extra : moz-landing-system : lando
2019-04-16 19:30:27 +00:00
Brian Grinstead 911776d674 Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 3` argument.

Differential Revision: https://phabricator.services.mozilla.com/D27458

--HG--
extra : moz-landing-system : lando
2019-04-16 03:59:25 +00:00
Brian Grinstead 6515f97bcb Bug 1544322 - Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 1` argument.

Differential Revision: https://phabricator.services.mozilla.com/D26812

--HG--
extra : moz-landing-system : lando
2019-04-15 20:56:58 +00:00
Felipe Gomes 8b53b905aa Bug 1542760 - Correctly report the GPU process in about:support. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D26526

--HG--
extra : moz-landing-system : lando
2019-04-08 14:46:59 +00:00
Felipe Gomes 0991a67ee9 Bug 1505322 - Display a breakdown of remote processes in about:support. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D26015

--HG--
extra : moz-landing-system : lando
2019-04-06 05:49:47 +00:00
Mike Conley c4e69ae516 Bug 1535354 - Add a toggle to trigger Picture-in-Picture that appears over top of <video> elements. Disabled by default. r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D25658

--HG--
extra : moz-landing-system : lando
2019-04-05 15:51:58 +00:00
meandave e1d5a28c30 Bug 1532773 - Add player controls for PictureInPicture. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D25435

--HG--
extra : moz-landing-system : lando
2019-04-04 19:04:47 +00:00
Mike de Boer 5dedb6076d Bug 1541829 - Fixup the relative luminance implementation in the Color class and update its consumers with the correct API. r=jaws
Since we rarely touch this code, I took the liberty of changing this to a JS class
and fix the contrast ratio calculations to actually conform to the WCAG spec,
instead of using arbitrary constants.
I changed the `isBright` getter to `useBrightText`, because that is more apt;
we're usually looking for an answer to 'should I use white text on this background?',
instead of looking for an arbitrary threshold to classify a color as being bright.
I updated the tests to cover more of this and clarified the assertion messages as
well.

Differential Revision: https://phabricator.services.mozilla.com/D26097

--HG--
extra : moz-landing-system : lando
2019-04-04 16:36:17 +00:00
Barret Rennie 9bbc7930d4 Bug 1510569 - Port onRefreshAttempted from WebProgressChild.jsm to C++ r=baku
Differential Revision: https://phabricator.services.mozilla.com/D25650

--HG--
extra : moz-landing-system : lando
2019-04-03 17:32:56 +00:00
Barret Rennie 163ec0ba8b Bug 1510569 - Port onProgressChange notifications inside WebProgressChild.jsm to C++ r=baku
We do not need to handle onProgressChange64 notifications since the TabChild's
web progress events are filtered through an nsBrowserStatusFilter, which
truncates onProgresChange64 event values to 32-bit integers and then calls
onProgressChange.

Differential Revision: https://phabricator.services.mozilla.com/D25649

--HG--
extra : moz-landing-system : lando
2019-04-03 17:32:41 +00:00
Barret Rennie 9c76d87929 Bug 1510569 - Port onStatusChange notifications inside WebProgressChild.jsm to C++ r=baku
Differential Revision: https://phabricator.services.mozilla.com/D25446

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:54 +00:00
Barret Rennie 779f6e3bbf Bug 1510569 - Reconstruct nsIWebProgress and nsIRequest for onContentBlockingEvent in TabParent r=Ehsan
Now that we have access to the RemoteWebProgress from the TabParent and can
construct RemoteWebProgress and RemoteWebProgressRequests in C++, we can
reconstruct the RemoteWebProgress and RemoteWebProgressRequest in the TabParent
instead of RemoteWebProgressManager. This improves the API for nsIBrowser and
RemoteWebProgressManager, removing the need for the
`callWebProgressContentBlockingEventListeners` method in both. It also means we
won't need to implement `callWebProgress*Listeners` for methods on nsIBrowser
and RemoteWebProgressManager for all other nsIWebProgress events.

Differential Revision: https://phabricator.services.mozilla.com/D24942

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:41 +00:00
Barret Rennie d4a4ddb2fc Bug 1510569 - Implement nsIWebProgressListener for RemoteWebProgressManager r=Ehsan
The RemoteWebProgressManager is now implemented in terms of a
nsIWebProgressListener. This paves the way for reconstructing the
nsIWebProgress and nsIRequest passed to the event handlers in C++ instead of in
JS and will alllow for a cleaner overall design.

While here, I also cleaned up RemoteWebProgressManager to use the class
syntactic sugar.

Differential Revision: https://phabricator.services.mozilla.com/D24941

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:27 +00:00
Barret Rennie 2217e5192a Bug 1510569 - Reimplement RemoteWebProgressRequest as an XPCOM component in C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24940

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:07 +00:00
Barret Rennie 611cae7854 Bug 1510569 - Reimplement RemoteWebProgress as an XPCOM component in C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24811

--HG--
extra : moz-landing-system : lando
2019-04-03 17:30:40 +00:00
Andreea Pavel 99b0952b07 Backed out changeset 8fa27903feba (bug 1532773) for failing bc at browser_showMessage.js on a CLOSED TREE 2019-04-03 21:46:18 +03:00
meandave 70cf4e4c3c Bug 1532773 - Add player controls for PictureInPicture. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D25435

--HG--
extra : moz-landing-system : lando
2019-04-03 15:10:16 +00:00
Sebastian Hengst 310add77cf Bug 1541388 - Remove Array generics from NewTabUtils.jsm. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25922

--HG--
extra : moz-landing-system : lando
2019-04-03 12:12:34 +00:00
Tim Nguyen 534acf7076 Bug 1482870 - Make current theme experiment initialize in new windows. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D25525

--HG--
extra : moz-landing-system : lando
2019-04-02 21:45:54 +00:00
Eden Chuang 72b79c6fbd Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process

Differential Revision: https://phabricator.services.mozilla.com/D23330

--HG--
extra : moz-landing-system : lando
2019-04-01 22:42:34 +00:00
Kris Maglione fc69d06420 Bug 1525762: Part 7 - Remove defunct LightweightThemeOptimizer. r=aswan
It only works with "persisted" theme images, which no longer exist.

Differential Revision: https://phabricator.services.mozilla.com/D25451

--HG--
extra : rebase_source : 8d32e4ceb48ec8bde68e8b42dcf4e2f11c9d60fd
extra : histedit_source : 0bcbae928b6e1517eace567d1e00afc60321ea3c
2019-03-29 11:37:08 -07:00
Kris Maglione 1328b01d50 Bug 1525762: Part 6 - Stop dispatching theme change observers using JSON strings. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D24795

--HG--
extra : rebase_source : 67c14ffc0cc46c041617ae04d39107dd66949f88
extra : histedit_source : 51973c82f0014767c2ae947a00cdb7afe9478c35
2019-03-25 13:52:01 -07:00
Kris Maglione 88035afb21 Bug 1525762: Part 4 - Support automatic dark mode fallback for default theme again. r=aswan
--HG--
extra : rebase_source : 1591ab6670e301e78d98084c852cb72e74ff7504
extra : histedit_source : ec392d6f1b93993bceed5e4bbf3d394b02342794
2019-02-08 15:36:04 -08:00
Liang-Heng Chen 624de11cb1 Bug 1492587 - spoof date picker to en-US when pref is set; r=zbraniecki,baku
spoof locale on datepicker to English when privacy.spoof_english == 2

Differential Revision: https://phabricator.services.mozilla.com/D19148

--HG--
extra : moz-landing-system : lando
2019-03-29 10:49:58 +00:00
Mark Banner dba6983e75 Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23850

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Christoph Kerschbaumer 64005a8818 Bug 1524970: Update more frontend code to explicitly pass a csp. r=Gijs,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D24959

--HG--
extra : moz-landing-system : lando
2019-03-27 16:38:01 +00:00
Matthew Noorenberghe edd6809d0c Bug 1533925 - Allow about: pages to be forced into the extension process. r=kmag
Some extensions want to implement about: pages and we want those pages to be loaded in the extension process, not in the web content process, so that:
1) a compromised web process won't get access to the about: page content
2) the extension page can use all the APIs that extension pages normally get, instead of only content script APIs.

Post-Fission we will need to know which extension process to choose.

Differential Revision: https://phabricator.services.mozilla.com/D24989

--HG--
extra : moz-landing-system : lando
2019-03-27 04:07:15 +00:00
Cosmin Sabou 78fc71e3c3 Backed out changeset 7fa7d6e6dedc (bug 1442778) for devtools failures on browser_webconsole_check_stubs_console_api.js CLOSED TREE 2019-03-26 20:27:55 +02:00
Eden Chuang 5e4df764d9 Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process

Differential Revision: https://phabricator.services.mozilla.com/D23330

--HG--
extra : moz-landing-system : lando
2019-03-26 15:18:20 +00:00
monmanuela 7a0cbca8ca Bug 1497842 - Remove INSTALL_LOCALE from APP_CONSTANTS r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D24662

--HG--
extra : moz-landing-system : lando
2019-03-26 13:03:56 +00:00
Mark Banner ce267bd0ae Bug 1538771 - Move trimURL to BrowserUtils.jsm so it can be more easily accessed in non-window contexts. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D24761

--HG--
extra : moz-landing-system : lando
2019-03-26 09:15:50 +00:00
Rob Wu 461cd1ccfe Bug 1532530 - Avoid loss of upload data by webRequest API r=kmag
When an extension requests access to the request body of a request,
`nsConverterInputStream` is used to parse the input streams that make up
a request body. These input streams are later (re)used to upload the
form data to the original destination (server).

`nsConverterInputStream`'s destructor does however close the input
streams, which results in data loss when the object is garbage-collected
before the upload completes.

This patch fixes the issue by explicitly nulling the underlying stream
before returning from the form parser.

Differential Revision: https://phabricator.services.mozilla.com/D24539

--HG--
extra : moz-landing-system : lando
2019-03-25 21:16:49 +00:00
Lina Cambridge 3e894ac30e Bug 1482608 - Add basic Rust bindings for mozStorage. r=nika,asuth,mak
This commit wraps just enough of the mozStorage API to support the
bookmarks mirror. It's not complete: for example, there's no way
to open, clone, or close a connection, because the mirror handles
that from JS. The wrapper also omits shutdown blocking and retrying on
`SQLITE_BUSY`.

This commit also changes the behavior of sync and async mozStorage
connections. Async (`mozIStorageAsyncConnection`) methods may be called
from any thread on any connection. Sync (`mozIStorageConnection`)
methods may be called from any thread on a sync connection, and from
background threads on an async connection. All connections now QI
to `mozIStorageConnection`, but attempting to call a sync method on
an async connection from the main thread throws.

Finally, this commit exposes an `OpenedConnection::unsafeRawConnection`
getter in Sqlite.jsm, for JS code to access the underlying connection.

Differential Revision: https://phabricator.services.mozilla.com/D20073

--HG--
extra : moz-landing-system : lando
2019-03-25 04:49:18 +00:00
sakshaat d781937a67 Bug 1517483 - Get rid of nsIScriptSecurityManager::IsSystemPrincipal r=bzbarsky
Replaced instances of callers in both C++ and JS files to query the state from the principal directly.

Differential Revision: https://phabricator.services.mozilla.com/D22532

--HG--
extra : moz-landing-system : lando
2019-03-24 20:36:25 +00:00
Gijs Kruitbosch 8e02fa26bc Bug 1519241 - remove nightly-only low-end device detection, r=kats,chutten,flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D24345

--HG--
extra : moz-landing-system : lando
2019-03-22 08:44:18 +00:00
Adam Gashlin 6c695331c4 Bug 1523417 - BITS client library for update downloading r=aklotz,emilio,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D17989

--HG--
extra : moz-landing-system : lando
2019-03-21 22:43:41 +00:00
Mike Conley 2c8a12e078 Bug 1535748 - Remove NIGHTLY_BUILD build-time switches for Picture-in-Picture. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23948

--HG--
extra : moz-landing-system : lando
2019-03-21 13:58:17 +00:00
Mark Banner da3d75151a Bug 1530675 - Enable WebNavigation transistion notifications for WebExtensions with QuantumBar. r=mak,rpl
Differential Revision: https://phabricator.services.mozilla.com/D21218

--HG--
extra : moz-landing-system : lando
2019-03-20 20:22:35 +00:00
Emilio Cobos Álvarez cdd51a7d35 Bug 1536264 - Only reset color / background / text-shadow for active options. r=jaws
Otherwise you see font changes when hovering, which is not really desirable.

Differential Revision: https://phabricator.services.mozilla.com/D24116

--HG--
extra : moz-landing-system : lando
2019-03-21 02:28:24 +00:00
Brindusan Cristian 327ca02963 Backed out 2 changesets (bug 1535760, bug 1535748) for ESlint failure at browser_contextMenu.js:66:11. CLOSED TREE
Backed out changeset 8ab3c856b9c2 (bug 1535748)
Backed out changeset a9a01b1c9e3a (bug 1535760)
2019-03-21 04:35:52 +02:00
Mike Conley 47e70b9c38 Bug 1535748 - Remove NIGHTLY_BUILD build-time switches for Picture-in-Picture. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23948

--HG--
extra : moz-landing-system : lando
2019-03-20 21:24:15 +00:00
Brindusan Cristian 62141262e0 Backed out changeset de836d015f32 (bug 1536264) for bc failures at browser_selectpopup_colors.js. CLOSED TREE
--HG--
extra : histedit_source : 572060c8c60b3a71548f85c2d5ffab1d480099a3
2019-03-21 02:29:59 +02:00
Emilio Cobos Álvarez 95bceb7380 Bug 1536264 - Only reset color / background / text-shadow for active options. r=jaws
Otherwise you see font changes when hovering, which is not really desirable.

Differential Revision: https://phabricator.services.mozilla.com/D24116

--HG--
extra : moz-landing-system : lando
2019-03-20 19:16:40 +00:00
Thomas Wisniewski 8518ed6826 Bug 1454325 - update XHR upload content-type handling to match the spec. r=baku
update XHR upload content-type handling to match the spec

Differential Revision: https://phabricator.services.mozilla.com/D23251

--HG--
extra : moz-landing-system : lando
2019-03-19 19:34:39 +00:00
Alex Gaynor 177fb00eba Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D22975

--HG--
extra : moz-landing-system : lando
2019-03-18 22:31:59 +00:00
Mike Conley fc71adb962 Bug 1535444 - Update MozTogglePictureInPicture actor definition. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D23579

--HG--
extra : moz-landing-system : lando
2019-03-14 20:51:02 +00:00
Johann Hofmann 6b5b6ed403 Bug 1529643 - Implement MitM priming on certificate error pages. r=keeler,mconley
Differential Revision: https://phabricator.services.mozilla.com/D22406

--HG--
extra : moz-landing-system : lando
2019-03-13 23:36:54 +00:00
Gurzau Raul c747f02899 Backed out 2 changesets (bug 1529643) for eslint failure at NetErrorChild.jsm on a CLOSED TREE.
Backed out changeset 000dfd4caca0 (bug 1529643)
Backed out changeset e4718a35d70b (bug 1529643)
2019-03-14 01:09:43 +02:00
Johann Hofmann 1235c91131 Bug 1529643 - Implement MitM priming on certificate error pages. r=keeler,mconley
Differential Revision: https://phabricator.services.mozilla.com/D22406

--HG--
extra : moz-landing-system : lando
2019-03-13 21:04:02 +00:00
Mark Striemer 020a5bff50 Bug 1520068 - Handle more system shortcuts in add-on shortcuts ui r=dao
This centralizes the checks for system shortcuts into ShortcutUtils.jsm, so
they can be checked for in the add-on shortcut assignment UI. It also
introduces a mechanism for skipping the system event handler if it is already
being handled by the shortcuts UI.

Differential Revision: https://phabricator.services.mozilla.com/D17586

--HG--
extra : moz-landing-system : lando
2019-03-08 18:32:20 +00:00
Sylvestre Ledru 5604250942 Bug 1531176 - about:support: also support the split of the key r=florian,flod
Differential Revision: https://phabricator.services.mozilla.com/D22676

--HG--
extra : moz-landing-system : lando
2019-03-10 15:29:42 +00:00
Sylvestre Ledru e34acc8d48 Bug 1531176 - Split the Google key management between gls and safe browsing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21459

--HG--
extra : moz-landing-system : lando
2019-03-10 15:29:41 +00:00
Brindusan Cristian 202a874eff Backed out changeset e908fbc7b930 (bug 1531176) for bc failures at browser_Troubleshoot.js. CLOSED TREE
--HG--
extra : histedit_source : 0f5e92b90439bfb55d617fc234deb4b6f68e654b
2019-03-08 00:07:56 +02:00
Sylvestre Ledru e4906acdf0 Bug 1531176 - Split the Google key management between gls and safe browsing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21459

--HG--
extra : moz-landing-system : lando
2019-03-07 21:05:32 +00:00
Felipe Gomes 75e1e2c7fb Bug 1533467 - Rename the browser.fission.simulate pref. r=mconley
This renames the pref to the pattern chosen for all of the Fission work, and also breaks
down the pref into two separate ones to have a more fine-grained control of the simulation.

Differential Revision: https://phabricator.services.mozilla.com/D22579

--HG--
extra : moz-landing-system : lando
2019-03-07 21:00:11 +00:00
Ciure Andrei f18158766f Backed out changeset 3fb6c01dd2b0 (bug 1531176) for causing gradle toolchain bustage CLOSED TREE 2019-03-07 14:23:03 +02:00
Sylvestre Ledru 3efed81946 Bug 1531176 - Split the Google key management between gls and safe browsing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21459

--HG--
extra : moz-landing-system : lando
2019-03-07 12:04:53 +00:00
Ciure Andrei f1a9fa2676 Backed out changeset 0f2b9b0bf9b9 (bug 1531176) for google-geolocation-api-keyfile build bustages CLOSED TREE 2019-03-07 13:58:33 +02:00
Sylvestre Ledru 90181c47ae Bug 1531176 - Split the Google key management between gls and safe browsing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21459

--HG--
extra : moz-landing-system : lando
2019-03-07 11:31:18 +00:00
Ciure Andrei 06cf4b1f67 Backed out changeset 6c2e00bcd2bb (bug 1531176) due to google-location-api-keyfile build busatges CLOSED TREE 2019-03-07 10:49:26 +02:00
Sylvestre Ledru 03ac617a44 Bug 1531176 - Split the Google key management between gls and safe browsing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21459

--HG--
extra : moz-landing-system : lando
2019-03-06 23:06:10 +00:00
Felipe Gomes 35c2dfb0ee Bug 827976 - Add requestIdleCallback support to Timer.jsm. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D21084

--HG--
extra : moz-landing-system : lando
2019-03-04 18:53:14 +00:00
Brad Werth 36f13c24fe Bug 1490974 Part 3: Add a test that invisible text and text in option tags doesn't generate a find result. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D10632

--HG--
extra : moz-landing-system : lando
2019-03-05 20:19:51 +00:00
Cosmin Sabou a706bb3916 Backed out 16 changesets (bug 827976) for causing bug 1532054. a=backout
Backed out changeset 54c0b12443ed (bug 827976)
Backed out changeset 92b45080d080 (bug 827976)
Backed out changeset 443087a359f9 (bug 827976)
Backed out changeset f976c2d4cebb (bug 827976)
Backed out changeset 66cffb171024 (bug 827976)
Backed out changeset 845e1d0b2402 (bug 827976)
Backed out changeset fd94066a1d76 (bug 827976)
Backed out changeset e253b264e7bd (bug 827976)
Backed out changeset 07ef335770a8 (bug 827976)
Backed out changeset 9d3805d77b99 (bug 827976)
Backed out changeset eed600ceb606 (bug 827976)
Backed out changeset 3b64368cff52 (bug 827976)
Backed out changeset 69d0378e0c09 (bug 827976)
Backed out changeset 9203871a5c6f (bug 827976)
Backed out changeset 96a507c818e2 (bug 827976)
Backed out changeset e254496ff95b (bug 827976)
2019-03-02 20:40:01 +02:00
Razvan Maries c51046f730 Merge mozilla-inbound to mozilla-central a=merge 2019-03-02 11:41:18 +02:00
Felipe Gomes 81059534d3 Bug 827976 - Add requestIdleCallback support to Timer.jsm. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D21084

--HG--
extra : moz-landing-system : lando
2019-03-01 21:07:11 +00:00
Alphan Chen 6d33e62c06 Bug 1497147 - Rewrite "mapFrameTree" implementation to C++ r=peterv
Get rid of mapFrameTree() implementation

Differential Revision: https://phabricator.services.mozilla.com/D17149

--HG--
extra : moz-landing-system : lando
2019-02-28 13:09:54 +00:00
Cosmin Sabou 48fed2590e Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : amend_source : 7b6922917d1ee0d20fd7127648e1fe5e422a1bd9
2019-02-28 16:33:22 +02:00
Cosmin Sabou 00f3836a87 Merge mozilla-inbound to mozilla-central. a=merge 2019-02-28 12:57:50 +02:00
Tarek Ziadé f79af75337 Bug 1530642 - Added more doc on ProcType and GetProcInfo - r=jesup
Added more docs for type synchronization, and about GetProcInfo

Differential Revision: https://phabricator.services.mozilla.com/D21205

--HG--
extra : moz-landing-system : lando
2019-02-28 06:30:05 +00:00
Marco Bonardo 5c4e44ce0a Bug 1528751 - Add a custom eslint rule to check "consistent" if bracing. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D20753

--HG--
extra : moz-landing-system : lando
2019-02-28 08:39:33 +00:00
Emilio Cobos Álvarez 01da9f212e Bug 1375476 - Support font-style / font-weight and font-size on <option> elements. r=mconley
And cleanup / make the code a bit more generic while at it.

Differential Revision: https://phabricator.services.mozilla.com/D20463

--HG--
extra : moz-landing-system : lando
2019-02-28 01:44:52 +00:00
Boris Zbarsky 9c5da5f234 Bug 1489308 part 9. Remove now-unused wyciwyg bits. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D17327

--HG--
rename : dom/html/test/browser_refresh_wyciwyg_url.js => dom/html/test/browser_refresh_after_document_write.js
rename : dom/html/test/file_refresh_wyciwyg_url.html => dom/html/test/file_refresh_after_document_write.html
extra : moz-landing-system : lando
2019-02-28 01:09:48 +00:00
Jonathan Kingston f6680698bd Bug 1525319 - Removing context from OnDataAvailable r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20881

--HG--
extra : moz-landing-system : lando
2019-02-27 23:42:27 +00:00
Jonathan Kingston dd4c731d8c Bug 1525319 - Changing js to remove context from onStartRequest and onStopRequest r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20771

--HG--
extra : moz-landing-system : lando
2019-02-27 23:41:54 +00:00
Chris Pearce f4dc9b5b3d Bug 1527811 - Hide OpenH264 by default on Windows on ARM. r=dminor,r=Gijs
We don't have an aarch64 build of OpenH264 yet, and WebRTC on aarch64 is
blocked by DirectShow support from MS, so just hide OpenH264 from the addons
manager UI for now.

We achieve this by moving the isEME() check in GMPUtils.isPluginHidden() down
to after the isPluginSupported()||isPluginVisible() check, so we can use
the media.gmp-gmpopenh264.visible pref to hide OpenH264 in the addons
manager.

When we are ready to enable WebRTC, we can flip the pref.

Differential Revision: https://phabricator.services.mozilla.com/D19903

--HG--
extra : source : 2788a3e0544a3acba9de53165605496d8c357441
extra : intermediate-source : 35bdf7e8994c939d6fcd01e95c2183bacd5b11d3
extra : histedit_source : a8bdb3a1cb6bfd7c72dbbf1fae36c863e6fe5144
2019-02-15 13:25:38 +13:00
Dão Gottwald 6647cfd5ce Bug 1529897 - fix typo 2019-02-26 16:37:29 +01:00
Dão Gottwald 7b197caf8c Bug 1529897 - Don't switch to the Dark theme when GTK theme is dark. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D20982

--HG--
extra : moz-landing-system : lando
2019-02-25 10:02:50 +00:00
Dorel Luca f80c9cfdae Merge mozilla-inbound to mozilla-central. a=merge 2019-02-25 03:43:20 +02:00
ui.manish 33fd585ed0 Bug 1479335 - Remove permissions close button r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D16264

--HG--
extra : moz-landing-system : lando
2019-02-24 20:33:33 +00:00
Magnus Melin 57f67c6f38 Bug 1370859 - for <input type="date"> respect intl.regional_prefs.use_os_locales when selecting "First day of week". r=gandalf
When intl.regional_prefs.use_os_locales is set to true, the date picker should use the firstDayOfWeek of the preferred os locale, not the app locale.
2019-02-24 13:50:26 +02:00
Razvan Maries 7a5c7bab52 Backed out changeset 8c7ac177290e (bug 1479335) for ES Lint fialure. CLOSED TREE 2019-02-24 12:17:38 +02:00
ui.manish 4d1af398d9 Bug 1479335 - Remove permissions close button r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D16264

--HG--
extra : moz-landing-system : lando
2019-02-24 09:58:15 +00:00
Narcis Beleuzu 42bafc21a1 Backed out changeset b94501076533 (bug 1479335) for firefox-ui-functional failures on test_notifications.py 2019-02-24 04:13:17 +02:00
ui.manish 5c91d29d6a Bug 1479335 - Remove permissions close button r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D16264

--HG--
extra : moz-landing-system : lando
2019-02-24 00:17:40 +00:00
Razvan Maries d7a2f49ed8 Merge mozilla-inbound to mozilla-central a=merge 2019-02-23 06:15:14 +02:00
Matthew Noorenberghe 1a6f208b97 Bug 1474143 - Switch earlyformsubmit webNavigation observers to DOMFormBeforeSubmit listeners. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D16657

--HG--
extra : moz-landing-system : lando
2019-02-23 00:26:05 +00:00
Matthew Noorenberghe f325e844bc Bug 1474143 - Switch earlyformsubmit satchel observer to DOMFormBeforeSubmit listener. r=Felipe
Extend ActorChild for satchel's formSubmitListener in order to listen to the event.

Differential Revision: https://phabricator.services.mozilla.com/D16655

--HG--
rename : toolkit/components/satchel/formSubmitListener.js => toolkit/components/satchel/FormSubmitChild.jsm
extra : moz-landing-system : lando
2019-02-23 00:24:52 +00:00
Felipe Gomes 7a46320899 Bug 1530019 - Check if actor.cleanup() exists before trying to call it. r=mconley 2019-02-22 19:28:00 -03:00
Ciure Andrei f7412ac1f2 Backed out 10 changesets (bug 1474143) for perma failing browser_markup_events_01.js CLOSED TREE
Backed out changeset 1b5d04866585 (bug 1474143)
Backed out changeset 78bfb4dd1f6a (bug 1474143)
Backed out changeset 85ec4f1f5f60 (bug 1474143)
Backed out changeset 5c112b77e489 (bug 1474143)
Backed out changeset 5d35599598bb (bug 1474143)
Backed out changeset 9fd0d7a7946f (bug 1474143)
Backed out changeset 1a83be7a75ca (bug 1474143)
Backed out changeset 2fc9b13171d0 (bug 1474143)
Backed out changeset 3983d7b6d9ad (bug 1474143)
Backed out changeset 9fe55dd58cd8 (bug 1474143)

--HG--
rename : browser/actors/FormValidationChild.jsm => browser/actors/FormSubmitChild.jsm
rename : toolkit/components/satchel/FormSubmitChild.jsm => toolkit/components/satchel/formSubmitListener.js
2019-02-22 21:16:49 +02:00
Matthew Noorenberghe bb994485b2 Bug 1474143 - Switch earlyformsubmit webNavigation observers to DOMFormBeforeSubmit listeners. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D16657

--HG--
extra : moz-landing-system : lando
2019-02-22 15:13:59 +00:00
Matthew Noorenberghe 8fcd71b197 Bug 1474143 - Switch earlyformsubmit satchel observer to DOMFormBeforeSubmit listener. r=Felipe
Extend ActorChild for satchel's formSubmitListener in order to listen to the event.

Differential Revision: https://phabricator.services.mozilla.com/D16655

--HG--
rename : toolkit/components/satchel/formSubmitListener.js => toolkit/components/satchel/FormSubmitChild.jsm
extra : moz-landing-system : lando
2019-02-22 15:13:25 +00:00
Felipe Gomes de03f8191a Bug 1351078 - Remove unused Battery.jsm. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20756

--HG--
extra : moz-landing-system : lando
2019-02-22 16:51:26 +00:00
Dorel Luca 95e0086f6f Backed out changeset 3607e50ad27a (bug 1351078) for build bustage. CLOSED TREE 2019-02-22 18:35:24 +02:00
Felipe Gomes 29b4521b7a Bug 1351078 - Remove unused Battery.jsm. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D20756

--HG--
extra : moz-landing-system : lando
2019-02-22 12:52:27 +00:00
Christoph Kerschbaumer 8124d3a763 Bug 1518454: Part 2, frontend changes, add CSP to loadURIOptions dictionary and pass CSP explicitly from frontend to docshell. r=gijs 2019-02-22 09:19:26 +01:00
Chris Pearce e2de194bbf Bug 1527811 - Ensure we write the ABI of the GMP we expect to have installed. r=Gijs
We write the ABI of the plugin we installed to preferences so that if the ABI
stored in the profile of a previously installed plugin differs to the ABI of
the Firefox build we're runnning, we can uninstall the plugin and re-install
one with the correct ABI.

Since we're downloading a plugin of a different ABI than the parent process,
we need to modify the ABI written to preferences here.

This mechanism was added to handle Firefox profiles transitioning from running
in an x86 Firefox to an x64 Firefox on Windows. We can use the same mechanism
to handle transitioning from an x86 to aarch64 Widevine here.

When we eventually get an aarch64 version of Widevine, we can
rollback this changeset, and the ABI mismatch will be detected, and we'll
uninstall the x86 CDM, and download the new aarch64 CDM.

Differential Revision: https://phabricator.services.mozilla.com/D19901

--HG--
extra : source : b5f5996f7225be2ae56d38f7f8833ca200743acb
extra : histedit_source : d831a00887ab8932fd001a511b0559a76fa832b7
2019-02-12 15:56:08 +13:00
Chris Pearce 1e5ea6dc26 Bug 1527811 - Add GMPUtils._isWindowsOnARM64(). r=Gijs
Allows subsequent patches to special case behavior when running on
Windows on ARM64.

Differential Revision: https://phabricator.services.mozilla.com/D19899

--HG--
extra : source : 44e24c6d7a695e2a8ab5d1c2451f1fbf4d5d996f
extra : intermediate-source : 67cc92a41638ec58b5c54e871b0e5eede698c92e
extra : histedit_source : b2cca3608baf5b49228741877d4e5b5c4e3fa575
2019-02-15 10:46:23 +13:00
Felipe Gomes 03d5c1ef09 Bug 1489780 - Avoid unnecessary clean-up on ActorChild. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D18150

--HG--
extra : moz-landing-system : lando
2019-02-21 20:40:38 +00:00
Felipe Gomes 6380398088 Bug 1520075 - Store the window reference on the child actors as a weak reference. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D19850

--HG--
extra : moz-landing-system : lando
2019-02-21 17:58:33 +00:00
Jonathan Kingston cf5ea59a1e Bug 1521878 - Have fallback consistency for (de)serialization of principals. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D17271

--HG--
extra : moz-landing-system : lando
2019-02-21 18:12:35 +00:00
Dão Gottwald 793e87d4d8 Bug 1504766 - Let explicit Dark and Light themes ignore the Windows 10 setting for accent color in title bars. r=ntim,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D19764

--HG--
extra : moz-landing-system : lando
2019-02-20 07:20:52 +00:00
Csoregi Natalia 8cbfee3cf7 Backed out changeset db927eedd355 (bug 1504766) for multiple failures e.g browser_ext_management_themes.js. CLOSED TREE 2019-02-20 08:55:36 +02:00
Dão Gottwald 626799efc8 Bug 1504766 - Let explicit Dark and Light themes ignore the Windows 10 setting for accent color in title bars. r=ntim,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D19764

--HG--
extra : moz-landing-system : lando
2019-02-20 05:36:40 +00:00
Jonathan Kingston cf14643de4 Bug 1521549 - Move (de)serializePrincipal from sessionstore Utils to E10SUtils. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D17261

--HG--
extra : moz-landing-system : lando
2019-02-19 02:34:09 +00:00
Valentin Gosu a5cc5b2a87 Bug 1521808 - Implement process switching based on Cross-Opener-Origin-Policy header r=nika,qdot
* New topLevel loads get the nsILoadInfo.openerPolicy of the current top level document
* Parsing the Cross-Opener-Origin-Policy of a channel will update mLoadInfo.openerPolicy and this value will get propagated to the child process.
* SessionStore now checks nsIHttpChannel.hasCrossOriginOpenerPolicyMismatch (preffed off) and performs a process switch if needed

Differential Revision: https://phabricator.services.mozilla.com/D19000

--HG--
rename : toolkit/components/remotebrowserutils/tests/browser/browser_httpResponseProcessSelection.js => toolkit/components/remotebrowserutils/tests/browser/browser_httpCrossOriginOpenerPolicy.js
extra : moz-landing-system : lando
2019-02-15 22:02:47 +00:00
Nika Layzell 848283beff Bug 1522637 - Part 7: Perform the preloaded document swap before checking for HTTP loads, r=mconley
For HTTP loads from the preloaded document, no process swap was occuring
if the preloaded document was loaded in a 'web' process. This caused
test failures, and has potentially undesireable behaviour.

This patch just moves the check for preloaded document swaps to before
the check for http parent process interception, forcing a swap like
normal.

Depends on D19691

Differential Revision: https://phabricator.services.mozilla.com/D19692

--HG--
extra : moz-landing-system : lando
2019-02-15 19:49:20 +00:00
Nika Layzell 947aaf1432 Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
Depends on D18603

Differential Revision: https://phabricator.services.mozilla.com/D18604

--HG--
extra : moz-landing-system : lando
2019-02-15 19:49:11 +00:00
Razvan Maries d93d94cbc9 Backed out 9 changesets (bug 1522637) for causing bug 1528188. a=backout
Backed out changeset e4ca191d62a5 (bug 1522637)
Backed out changeset 540e5f318768 (bug 1522637)
Backed out changeset 0886a317a108 (bug 1522637)
Backed out changeset 4c7c512a262d (bug 1522637)
Backed out changeset d7eb272688be (bug 1522637)
Backed out changeset 67e838f49f4b (bug 1522637)
Backed out changeset 7e38890c72fa (bug 1522637)
Backed out changeset e6ca9ad18d15 (bug 1522637)
Backed out changeset 0f759e91eca8 (bug 1522637)
2019-02-15 18:21:36 +02:00
Nika Layzell de50cd0883 Bug 1522637 - Part 8: Perform the preloaded document swap before checking for HTTP loads, r=mconley
For HTTP loads from the preloaded document, no process swap was occuring
if the preloaded document was loaded in a 'web' process. This caused
test failures, and has potentially undesireable behaviour.

This patch just moves the check for preloaded document swaps to before
the check for http parent process interception, forcing a swap like
normal.

Depends on D19691

Differential Revision: https://phabricator.services.mozilla.com/D19692

--HG--
extra : source : f7ab0e6e739bd54b66b8aaa6219c7dba78f37eb1
2019-02-14 15:14:10 +00:00
Nika Layzell 6ded246a08 Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
Depends on D18603

Differential Revision: https://phabricator.services.mozilla.com/D18604

--HG--
extra : source : 6b4d010964ec9e2175e7ba02991d083fab128c49
2019-02-14 15:36:02 +00:00
Bogdan Tara c732fccb1e Backed out 8 changesets (bug 1522637) for browser_all_files_referenced.js failures CLOSED TREE
Backed out changeset f7ab0e6e739b (bug 1522637)
Backed out changeset 3d24e8e81c02 (bug 1522637)
Backed out changeset 41ca0b87537e (bug 1522637)
Backed out changeset 6e0d4b6b1c93 (bug 1522637)
Backed out changeset 8f494271ec06 (bug 1522637)
Backed out changeset 6b4d010964ec (bug 1522637)
Backed out changeset 5eeda2ba8e79 (bug 1522637)
Backed out changeset 5988b8e7d17c (bug 1522637)
2019-02-14 19:20:58 +02:00
Nika Layzell ffb42b3322 Bug 1522637 - Part 8: Perform the preloaded document swap before checking for HTTP loads, r=mconley
For HTTP loads from the preloaded document, no process swap was occuring
if the preloaded document was loaded in a 'web' process. This caused
test failures, and has potentially undesireable behaviour.

This patch just moves the check for preloaded document swaps to before
the check for http parent process interception, forcing a swap like
normal.

Depends on D19691

Differential Revision: https://phabricator.services.mozilla.com/D19692

--HG--
extra : moz-landing-system : lando
2019-02-14 15:14:10 +00:00
Nika Layzell 438cbbeca1 Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
Depends on D18603

Differential Revision: https://phabricator.services.mozilla.com/D18604

--HG--
extra : moz-landing-system : lando
2019-02-14 15:36:02 +00:00
Thomas Nguyen 85ce5ab061 Bug 1517703 - Part 2 - Use ReferrerInfo in loadURIOptions from js r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D17922

--HG--
extra : moz-landing-system : lando
2019-02-12 19:35:24 +00:00
Dorel Luca 313155b999 Backed out 4 changesets (bug 1521808) for build bustage. CLOSED TREE
Backed out changeset 80aeea5f7abe (bug 1521808)
Backed out changeset c8c151d92c03 (bug 1521808)
Backed out changeset cc0a5c7dabb4 (bug 1521808)
Backed out changeset 8d5174a560fa (bug 1521808)
2019-02-12 14:54:45 +02:00
Valentin Gosu 005dcbada4 Bug 1521808 - Implement process switching based on Cross-Opener-Origin-Policy header r=nika,qdot
* New topLevel loads get the nsILoadInfo.openerPolicy of the current top level document
* Parsing the Cross-Opener-Origin-Policy of a channel will update mLoadInfo.openerPolicy and this value will get propagated to the child process.
* SessionStore now checks nsIHttpChannel.hasCrossOriginOpenerPolicyMismatch (preffed off) and performs a process switch if needed

Differential Revision: https://phabricator.services.mozilla.com/D19000

--HG--
rename : toolkit/components/remotebrowserutils/tests/browser/browser_httpResponseProcessSelection.js => toolkit/components/remotebrowserutils/tests/browser/browser_httpCrossOriginOpenerPolicy.js
extra : moz-landing-system : lando
2019-02-12 12:16:58 +00:00
Bogdan Tara 0908d27514 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-12 07:27:04 +02:00
Mike Conley 52278792ca Bug 1520329 - Add messaging infrastructure for opening videos in a Picture in Picture window. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D16903

--HG--
extra : moz-landing-system : lando
2019-02-12 02:34:38 +00:00
Marco Bonardo 12675bb16f Bug 1519538 - Disable idle-daily notifications in tests through user.js files. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D19017

--HG--
extra : moz-landing-system : lando
2019-02-09 13:29:21 +00:00
shindli 6b820cdfea Backed out 6 changesets (bug 1522637) for en-US failures in testing/firefox-ui/tests/functional/safebrowsing/test_notification.py TestSafeBrowsingNotificationBar.test_notification_bar CLOSED TREE
Backed out changeset 18a809d53298 (bug 1522637)
Backed out changeset 9e9fd362dd8f (bug 1522637)
Backed out changeset f1191be4243a (bug 1522637)
Backed out changeset 5a8067fd848c (bug 1522637)
Backed out changeset 5f49cd87b1bd (bug 1522637)
Backed out changeset f82ba91f5ea2 (bug 1522637)
2019-02-09 03:12:53 +02:00
Nika Layzell d6280f72ab Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
Depends on D18603

Differential Revision: https://phabricator.services.mozilla.com/D18604

--HG--
extra : moz-landing-system : lando
2019-02-08 17:36:02 +00:00
arthur.iakab ddeb2146e9 Backed out changeset bac51381060d (bug 1519538) for causing multiple failures on Windows CLOSED TREE 2019-02-08 19:34:20 +02:00
Marco Bonardo c8cf4c2695 Bug 1519538 - Disable idle-daily notifications in tests through user.js files. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D19017

--HG--
extra : moz-landing-system : lando
2019-02-08 16:43:58 +00:00
Noemi Erli c2aec081be Backed out changeset bac51381060d (bug 1519538) for Linting failure in config.py 2019-02-08 18:32:01 +02:00
Marco Bonardo 65f6d086f4 Bug 1519538 - Disable idle-daily notifications in tests through user.js files. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D19017

--HG--
extra : moz-landing-system : lando
2019-02-08 14:10:08 +00:00
Neil Deakin 66040975f2 Bug 1519953, replace calls to retrieve boxobject position and size with getBoundingClientRect, r=gijs
--HG--
extra : rebase_source : 65a9e08513ada3cda6beeb09d7f8a53620c2999f
2019-03-01 12:26:45 -05:00
Magnus Melin 1584297cc4 Bug 1525889 - make sure profileDowngrade doesn't break when sync is not enabled for an application. r=mossop 2019-02-11 23:04:09 +02:00
Brian Grinstead 04c18529e4 Bug 1487065 - Implement popup-notification as a Custom Element r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D17699

--HG--
rename : toolkit/content/widgets/notification.xml => toolkit/content/widgets/popupnotification.js
extra : moz-landing-system : lando
2019-02-07 22:16:26 +00:00
Masayuki Nakano 1895d1bfe3 Bug 1514940 - part 1: Forcibly disable new keyCode/charCode value of keypress events if the document is Confluence r=smaug,Ehsan,kmag
Old Confluence does not aware of conflated model keypress event (see UI Events
spec, https://w3c.github.io/uievents/#determine-keypress-keyCode).
Additionally, Confluence can be hosted with any domains.  Therefore, we cannot
use blacklist to disable the conflated model keypress event only on it.

This patch checks whether current or parent document is Confluence with JS
module, called KeyPressEventModelCheckerChild.  For kicking this module,
nsHTMLDocument dispatches an custom event, CheckKeyPressEventModel, when it
becomes editable only first time.  Finally, if it's a Confluence instance, the
module let PresShell know that we need to use split model keypress event in it.

Differential Revision: https://phabricator.services.mozilla.com/D17907

--HG--
extra : moz-landing-system : lando
2019-02-05 11:35:43 +00:00
Mike de Boer 481ae95c00 Bug 1524593 - nsISearchService (aka nsIBrowserSearchService, previously) refactor to be mostly an asynchronous, in preparation of WebExtension engines. r=daleharvey
This is a rollup of all the patches that have landed on the cedar project branch:

891252fdd0
Bug 1492475 - Part 1: Migrate most, if not all nsSearchService consumers to use async APIs. r=florian

79b2eb2367
Bug 1492475 - Part 2: Move nsIBrowserSearchService.idl to toolkit/components/search/nsISearchService.idl and update references. r=florian

a947d3cdf0
Bug 1492475 - Part 3: The search service init() method should simply return a Promise. r=florian

c1e172dfac
Bug 1492475 - Part 4: Remove the synchronous initialization flow. r=florian

cd41189eac
Bug 1492475 - Part 5: Since async initialization of the search service now is implicit behavior, remove the distinctive verbiage used internally. r=florian

2ae7189dfa
Bug 1492475 - Part 6: Update the cache build task to work with an actual Promise and re-initialize only once at the same time - all to fix race conditions here. r=florian

c8ee92973f
Bug 1492475 - Part 7: Make the region fetch not block the init flow, to ensure it's as fast as possible. r=florian

c44e674e16
Bug 1492475 - Part 8: Introduce an init flag, which can only be used privately, that allows to explicitly skip waiting for the region check process to complete. r=florian

6c79eaf1d3
Bug 1492475 - Part 9: Update unit tests to stop using 'currentEngine', in favor of 'defaultEngine'. r=Standard8

21b3aa17ee
Bug 1492475 - Part 10: Update unit tests to be fully aware of the new, async signatures of the search service API and remove sync init flow tests. r=mkaply,florian

ce5ba69019
Bug 1492475 - Part 11: Repair incorrect usage of the `identifier` property of nsISearchEngine instances. r=florian

fd177a7994
Bug 1518543 - Fix up the Android (Fennec) nsISearchService shim to work with the new asynchronous API. r=florian

3653d8ee22
Bug 1523708 - Change the search service interaction in the show-heartbeat action to use the new async API. r=florian

Differential Revision: https://phabricator.services.mozilla.com/D18355

--HG--
rename : netwerk/base/nsIBrowserSearchService.idl => toolkit/components/search/nsISearchService.idl
extra : moz-landing-system : lando
2019-02-02 11:27:21 +00:00
Mike Conley fb0883e923 Bug 1522546 - Properly handle preferred remote types in BrowserTestUtils.waitForNewWindow. r=bobowen
This is to fix some of our tests that use BrowserTestUtils.waitForNewWindow, where
the browser that ends up being passed to it doesn't actually need to flip
remoteness.

For example, in the file:// URI case, we allow the first browse to an HTTP
URI to run within the same process. This means that the preferred remote
type is "file", despite the URI normally mapping to the "web" type of
content process.

Differential Revision: https://phabricator.services.mozilla.com/D18226

--HG--
extra : moz-landing-system : lando
2019-01-31 19:54:33 +00:00
Mark Banner 0bead82230 Bug 1286428 - Stop reporting print.printer* preferences in about:support. r=Gijs
These are not generally used for support, and there can be many of them which makes the report larger and harder to understand.

Differential Revision: https://phabricator.services.mozilla.com/D18195

--HG--
extra : moz-landing-system : lando
2019-01-31 13:25:08 +00:00
edward.i.wu 49e491e837 Bug 1450114 -Update browser themes to allow customization of selection background and text r=jaws
Bug 1450114 -Update browser themes to allow customization of selection background and text r=Jaws

Differential Revision: https://phabricator.services.mozilla.com/D17076

--HG--
extra : moz-landing-system : lando
2019-01-31 13:28:30 +00:00
Dave Townsend 0dd333051d Bug 1463198: Submit telemetry whenever the downgrade UI is shown. r=froydnj, datareview=chutten
Send a downgrade ping to telemetry when the downgrade UI is displayed.

--HG--
extra : rebase_source : 43a2437c5bf1ef448e5b1ca1cc3e32fc98b02868
extra : intermediate-source : b965981c9ce0449a8d70df6ad47ebf6c4f1f70b9
extra : source : 348f67b15246aa63b83457fde1a17540fa21379e
2018-05-18 13:03:24 -07:00
Coroiu Cristina 98ec0ea927 Backed out 7 changesets (bug 1518632, bug 1463198, bug 1455707, bug 1522934, bug 1322797, bug 1474285) for build bustages at /builds/worker/workspace/build/src/toolkit/xre/nsAppRunner.cpp on a CLOSED TREE
Backed out changeset 82355ab7e063 (bug 1455707)
Backed out changeset b965981c9ce0 (bug 1463198)
Backed out changeset 21a801ca5f6d (bug 1455707)
Backed out changeset 05200c5388b4 (bug 1518632)
Backed out changeset ebcd8225434a (bug 1522934)
Backed out changeset e69cac07b209 (bug 1474285)
Backed out changeset 35af79575f54 (bug 1322797)
2019-01-31 03:34:49 +02:00
Dave Townsend e91f114689 Bug 1463198: Submit telemetry whenever the downgrade UI is shown. r=froydnj, datareview=chutten
Send a downgrade ping to telemetry when the downgrade UI is displayed.

--HG--
extra : rebase_source : 799ef400bc20aaab520641d21d744fe83aa5da27
extra : intermediate-source : 6bb1233693b8b2790263dbd511d92857a9d31e0b
extra : source : 348f67b15246aa63b83457fde1a17540fa21379e
2018-05-18 13:03:24 -07:00
Myk Melez 25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Paolo Amadini 70d2131682 Bug 1521765 - Use web technologies for "about:config" in the browser application. r=Mossop
Differential Revision: https://phabricator.services.mozilla.com/D17419

--HG--
extra : rebase_source : a4b41649be6f61853a2ce494626184ee7e3a5c77
2019-01-24 13:05:08 +00:00
Cosmin Sabou 599a15d354 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 12:01:56 +02:00
Alphan Chen e6cc4bf7ca Bug 1497146 part 3 - Convert FormData.jsm to C++ [restore() part] r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D12672

--HG--
extra : moz-landing-system : lando
2019-01-28 19:44:03 +00:00
Ciure Andrei 849dbde8e4 Backed out 2 changesets (bug 1507286, bug 1497146) for causing multiple crashes in nsFocusManager::GetRedirectedFocus a=backout
Backed out changeset 0509a9edc58a (bug 1507286)
Backed out changeset 21ad3aeb636f (bug 1497146)
2019-01-26 15:09:03 +02:00
Ehsan Akhgari 08e1954154 Bug 1520879 - Port the onContentBlockingEvent notifications inside WebProgressChild.jsm to C++; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17157

--HG--
extra : moz-landing-system : lando
2019-01-25 14:44:09 +00:00
Alphan Chen 0022290b4b Bug 1497146 part 3 - Convert FormData.jsm to C++ [restore() part] r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D12672

--HG--
extra : moz-landing-system : lando
2019-01-25 10:19:04 +00:00
arthur.iakab a5462dcda4 Backed out changeset a6cc9b15b1e3 (bug 1497146)for hazard build bustage on sessionstore/SessionStoreUtils.cpp CLOSED TREE 2019-01-24 16:56:32 +02:00
Alphan Chen ea7eaa36e4 Bug 1497146 part 3 - Convert FormData.jsm to C++ [restore() part] r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D12672

--HG--
extra : moz-landing-system : lando
2019-01-24 12:53:28 +00:00
Nika Layzell 45b85eee03 Bug 1467223 - Part 5: Perform parent-process interception for HTTP loads, r=qdot,valentin
This will only happen if the pref is enabled, and works through the existing
mechanism for process switching loads. It should enable POST data to be
preserved when performing a process switch, for example when submitting
a form on a file:// or moz-extension:// URI to a http:// URI.

Depends on D15611

Differential Revision: https://phabricator.services.mozilla.com/D15612

--HG--
extra : moz-landing-system : lando
2019-01-23 21:07:10 +00:00
Kris Maglione e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Kris Maglione 2fe0de01dc Bug 1519596: Part 1 - Remove several unnecessary/unused ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16377

--HG--
extra : rebase_source : 6c4311387d25de425806aeb6c4691e12c9fcb855
2019-01-11 16:59:23 -08:00
Ehsan Akhgari ea0beadb68 Bug 1516889 - Part 2: Make sure the storage access API prompt is denied when pressing Esc; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D16737
2019-01-21 11:23:22 -05:00
Ciure Andrei eb5345d4eb Backed out 2 changesets (bug 1516889) for failing browser_storageAccessDoorHanger.js CLOSED TREE
Backed out changeset fe40c77b54b4 (bug 1516889)
Backed out changeset 95fee3425c55 (bug 1516889)
2019-01-21 17:48:11 +02:00
Ehsan Akhgari 4137a92662 Bug 1514340 - Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh
Differential Revision: https://phabricator.services.mozilla.com/D16052
2019-01-21 09:58:50 -05:00
Ehsan Akhgari 46e587fc36 Bug 1516889 - Part 2: Make sure the storage access API prompt is denied when pressing Esc; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D16737
2019-01-21 09:57:31 -05:00
Andreas Tolfsen 497c69175e bug 1521385: toolkit: export ActorChild in global scope; r=Felipe
JS classes, unlike var or const, are not automatically made part
of the global scope in JSMs.  This makes it impossible to import
ActorChild this way:

	const {ActorChild} = ChromeUtils.import("resource://gre/modules/ActorChild.jsm", {});

By assigning the ActorChild class to this we work around this problem.

Differential Revision: https://phabricator.services.mozilla.com/D17080

--HG--
extra : rebase_source : 88feda088b4e66a1166c7624d834e6a1565ced9b
extra : source : 4b6549b8a6012efa6a3b250b26fff7cf0d1ca564
2019-01-21 00:23:02 +00:00
Dorel Luca e658f2346a Backed out changeset 4b6549b8a601 (bug 1521385) for Android build bustage 2019-01-21 02:47:16 +02:00
Andreas Tolfsen 71ded3b272 bug 1521385: toolkit: export ActorChild in global scope; r=Felipe
JS classes, unlike var or const, are not automatically made part
of the global scope in JSMs.  This makes it impossible to import
ActorChild this way:

	const {ActorChild} = ChromeUtils.import("resource://gre/modules/ActorChild.jsm", {});

By assigning the ActorChild class to this we work around this problem.

Differential Revision: https://phabricator.services.mozilla.com/D17080

--HG--
extra : moz-landing-system : lando
2019-01-21 00:23:02 +00:00
Tim Nguyen 60a5143df0 Bug 1241885 - Implement support for -moz-window-dragging in GTK and remove toolkit toolbar-drag binding. r=dao,bzbarsky,stransky
The restriction preventing fullscreen windows from being dragged is removed.

Differential Revision: https://phabricator.services.mozilla.com/D15075

--HG--
extra : moz-landing-system : lando
2019-01-18 22:42:24 +00:00
Andreea Pavel 95431afe85 Backed out 1 changesets (bug 1241885) for build bustages on a CLOSED TREE
Backed out changeset 176be7000d33 (bug 1241885)
2019-01-18 23:49:55 +02:00
Tim Nguyen 495df7ddea Bug 1241885 - Implement support for -moz-window-dragging in GTK and remove toolkit toolbar-drag binding. r=dao,bzbarsky,stransky
The restriction preventing fullscreen windows from being dragged is removed.

Differential Revision: https://phabricator.services.mozilla.com/D15075

--HG--
extra : moz-landing-system : lando
2019-01-18 16:51:08 +00:00
Jonathan Kingston c3cdc8746c Bug 1520862 - Fixing WebNavigation serialization of principals to always be present. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D16884

--HG--
extra : moz-landing-system : lando
2019-01-17 18:50:40 +00:00
Alphan Chen 58400124a1 Bug 1497146 part 2 - Convert FormData.jsm to C++ [collect() part] r=nika,peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D12112

--HG--
extra : moz-landing-system : lando
2019-01-17 14:56:51 +00:00
Alphan Chen 5d28867416 Bug 1497146 part 1 - Add SessionStoreUtils.webidl r=nika
Let SessionStoreUtils be a WebIDL namespace, rather than a XPCOM service

Differential Revision: https://phabricator.services.mozilla.com/D9776

--HG--
rename : toolkit/components/sessionstore/nsSessionStoreUtils.cpp => toolkit/components/sessionstore/SessionStoreUtils.cpp
extra : moz-landing-system : lando
2019-01-17 14:58:31 +00:00
Gijs Kruitbosch 0f0796c9c5 Bug 1458046 - avoid remote updates when the browser is not active and fix editcontrols_update test, r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D16626

--HG--
extra : moz-landing-system : lando
2019-01-16 16:20:43 +00:00
Aaron Klotz 59d279f51f Bug 1517636: Follow-up - fix eslint error; r=bustage 2019-01-15 17:39:18 -07:00
Aaron Klotz 15a43729b0 Bug 1517636: Add launcher process state to about:support; r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D15759

--HG--
extra : moz-landing-system : lando
2019-01-16 00:22:19 +00:00
Andreas Tolfsen c34e8d40b6 bug 1520228: toolkit: improve error description when ActorChild is missing EventTarget; r=Felipe
When an ActorChild is predefined to listen for DOM events and it
does not implement EventTarget.handleEvent(), a standard JS error is
thrown in toolkit/modules/ActorManagerChild.jsm that the handleEvent
property is missing.

If you have more than one ActorChild this error message is cryptic as
it does not refer to _which_ of the children that is missing handleEvent.

This patch introduces a type check for handleEvent that throws an
error (as before) when it is not implemented.

Differential Revision: https://phabricator.services.mozilla.com/D16578

--HG--
extra : moz-landing-system : lando
2019-01-15 18:10:33 +00:00
Mark Striemer 50cfffaeaa Bug 1303384 - Part 2: Move some extension shortcut utils to ShortcutUtils r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D4506

--HG--
extra : moz-landing-system : lando
2019-01-11 22:32:39 +00:00
Kris Maglione 125c4e077a Bug 1509968: Disable subprocess performance task in ccov builds. r=aswan 2019-01-11 20:46:57 -08:00
Andrew Swan 0f97ca35a4 Bug 1517988 Insert a placeholder name for addons if necessary in about:support r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16133

--HG--
extra : moz-landing-system : lando
2019-01-11 11:39:04 +00:00
Razvan Maries 642dd2cc11 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-11 17:33:16 +02:00
Christoph Kerschbaumer 6756032512 Bug 1513241: Update frontend consumers of loadURI and pass loadURIOptions dictionary. r=gijs 2019-01-11 12:44:20 +01:00
Marco Bonardo 08e5888d07 Bug 1519060 - Places maintenance doesn't properly replace malformed databases. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16199

--HG--
extra : moz-landing-system : lando
2019-01-11 11:58:24 +00:00
Zibi Braniecki ffeb7038f9 Bug 1509583 - Move InlineSpellChecker to sync over locale codes rather than indexes. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D15762

--HG--
extra : moz-landing-system : lando
2019-01-11 00:23:48 +00:00
Matthew Noorenberghe fdacc288b7 Bug 1477798 - Treat sensitive @autocomplete field names like 'off' in FormData.jsm. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D15780

--HG--
extra : moz-landing-system : lando
2019-01-10 18:49:46 +00:00
Brian Grinstead f6c12a437b Bug 1441935 - Modifications on top of the generated MozBrowser Custom Element r=mconley
In order to make the history easier to navigate, this changeset includes the
modifications required to make <xul:browser> actually work as a Custom Element,
and switches the app to use it instead of the XBL browser.

Differential Revision: https://phabricator.services.mozilla.com/D14911

--HG--
extra : moz-landing-system : lando
2019-01-10 01:45:43 +00:00
Razvan Maries f4c5025ab9 Merge mozilla-inbound to mozilla-central a=merge 2019-01-09 00:01:24 +02:00
Gijs Kruitbosch 38b9379998 Bug 1515103 - show frame rate and whether we're on a low end device in about:support, r=kats,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D15844

--HG--
extra : moz-landing-system : lando
2019-01-08 15:48:24 +00:00
Paolo Amadini 2a67f25fbd Bug 1454360 - Use "arrowscrollbox" in the "popup-scrollbars" binding. r=NeilDeakin
This prepares this binding for the unification with the "popup" binding, and removes the last consumer of the scrollByIndex method of XULScrollElement.

Because some code paths in "arrowscrollbox" are optimized using requestAnimationFrame, the related scrolling tests are now asynchronous.

Differential Revision: https://phabricator.services.mozilla.com/D15276

--HG--
extra : rebase_source : f5d26df106785f2c0d158b8a23a648a71ab06b2d
2019-01-04 15:07:12 +00:00
alwu 242554622e Bug 1513039 - part1 : remove caching temporary autoplay permission. r=smaug,florian
We're going to remove all autoplay temporary permission related codes, so we don't need to cache it anymore.

Differential Revision: https://phabricator.services.mozilla.com/D14325

--HG--
extra : moz-landing-system : lando
2019-01-07 18:29:10 +00:00
Bogdan Tara 9600ad4953 Backed out changeset b776171d854c (bug 1515103) for browser_Troubleshoot.js failures CLOSED TREE 2019-01-07 22:28:59 +02:00
Gijs Kruitbosch fca05d0c79 Bug 1515103 - show frame rate and whether we're on a low end device in about:support, r=kats,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D15844

--HG--
extra : moz-landing-system : lando
2019-01-07 18:48:11 +00:00
Masayuki Nakano ed2040ac16 Bug 1447239 - Implement InputEvent.inputType r=smaug
This patch implements InputType.inputType which is declared by Input Events.
The attribute has already been implemented by Chrome and Safari.  Chrome
implements Input Events Level 1, but Safari implements Input Events Level 2.
 Difference between them is only whether it supports "insertFromComposition",
"deleteByComposition" and "deleteCompositionText".  This patch makes the
level switchable with pref and takes Level 1 by default because Level 2 is
still unstable around event order with composition events.

For reducing string copy cost at dispatching "input" event, this patch
makes EditorInternalInputEvent store valid input-type as enum class,
EditorInputType and resolves it to string value when
dom::InputEvent::GetInputType() is called.  Note that the reason why
this patch names the enum class as EditorInputType is, there is InputType
enum class already for avoiding conflict the name, this appends "Editor"
prefix because "input" and "beforeinput" events are fired only when an
editor has focus.

Differential Revision: https://phabricator.services.mozilla.com/D14128

--HG--
extra : moz-landing-system : lando
2019-01-07 10:10:57 +00:00
Alastor Wu c64bb9ac90 Bug 1513681 - part5 : remove event 'AudibleAutoplayMediaOccurred'. r=jaws
This event is used for shield-study which has finished, so we could remove it.

Differential Revision: https://phabricator.services.mozilla.com/D14810

--HG--
extra : moz-landing-system : lando
2019-01-04 19:04:39 +00:00
Alastor Wu d861885915 Bug 1513681 - part3 : rename 'AudibleAutoplayChild' actor r=jaws
Use more proper name for actor which will handle all autoplay related events.

Differential Revision: https://phabricator.services.mozilla.com/D14796

--HG--
rename : toolkit/actors/AudibleAutoplayChild.jsm => toolkit/actors/AutoplayChild.jsm
extra : moz-landing-system : lando
2019-01-04 18:35:09 +00:00
Alastor Wu f3c146dcd4 Bug 1513681 - part2 : handle 'GloballyAutoplayBlocked' event r=jaws,daleharvey
Handle the process from receiving event to showing the block icon.

Differential Revision: https://phabricator.services.mozilla.com/D14795

--HG--
extra : moz-landing-system : lando
2019-01-04 18:33:53 +00:00
Cosmin Sabou 3de3011707 Backed out changeset dbea03a5c55e (bug 1497146) for bmsvc bustages on SessionStoreUtils.
SessionStoreUtils

--HG--
rename : dom/chrome-webidl/SessionStoreUtils.webidl => toolkit/components/sessionstore/nsISessionStoreUtils.idl
rename : toolkit/components/sessionstore/SessionStoreUtils.cpp => toolkit/components/sessionstore/nsSessionStoreUtils.cpp
2019-01-04 19:37:37 +02:00
Alphan Chen 15328d9c7b Bug 1497146 part 1 - Add SessionStoreUtils.webidl r=nika
Let SessionStoreUtils be a WebIDL namespace, rather than a XPCOM service

Differential Revision: https://phabricator.services.mozilla.com/D9776

--HG--
rename : toolkit/components/sessionstore/nsISessionStoreUtils.idl => dom/chrome-webidl/SessionStoreUtils.webidl
rename : toolkit/components/sessionstore/nsSessionStoreUtils.cpp => toolkit/components/sessionstore/SessionStoreUtils.cpp
extra : moz-landing-system : lando
2019-01-04 16:26:13 +00:00
Mark Banner 8e9e4602f8 Bug 1517456 - Make Task.jsm a test-only module. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D15647

--HG--
rename : toolkit/modules/Task.jsm => toolkit/modules/tests/modules/Task.jsm
extra : moz-landing-system : lando
2019-01-04 08:41:58 +00:00
Mark Banner d1705a170b Bug 1517456 - Remove remaining production code references to Task.jsm. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D15646

--HG--
extra : moz-landing-system : lando
2019-01-04 08:41:49 +00:00
Mark Banner b616e2a125 Bug 1517456 - Sqlite.jsm's executeTransaction no longer needs to handle generator functions. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D15645

--HG--
extra : moz-landing-system : lando
2019-01-04 08:41:35 +00:00
Bogdan Tara 6defca7262 Backed out 5 changesets (bug 1513681) for browser_autoplay_blocked.js failures CLOSED TREE
Backed out changeset d24ddb803761 (bug 1513681)
Backed out changeset 6f52b229d953 (bug 1513681)
Backed out changeset 79a78732c3ac (bug 1513681)
Backed out changeset d0a9422928ae (bug 1513681)
Backed out changeset 23b5a58e3bcc (bug 1513681)

--HG--
rename : toolkit/actors/AutoplayChild.jsm => toolkit/actors/AudibleAutoplayChild.jsm
2018-12-29 04:00:53 +02:00
alwu 8e9ac45c53 Bug 1513681 - part5 : remove event 'AudibleAutoplayMediaOccurred'. r=jaws
This event is used for shield-study which has finished, so we could remove it.

Differential Revision: https://phabricator.services.mozilla.com/D14810

--HG--
extra : moz-landing-system : lando
2018-12-21 19:01:10 +00:00
alwu c498537436 Bug 1513681 - part3 : rename 'AudibleAutoplayChild' actor r=jaws
Use more proper name for actor which will handle all autoplay related events.

Differential Revision: https://phabricator.services.mozilla.com/D14796

--HG--
rename : toolkit/actors/AudibleAutoplayChild.jsm => toolkit/actors/AutoplayChild.jsm
extra : moz-landing-system : lando
2018-12-21 19:00:40 +00:00
alwu efdf530254 Bug 1513681 - part2 : handle 'GloballyAutoplayBlocked' event r=jaws,daleharvey
Handle the process from receiving event to showing the block icon.

Differential Revision: https://phabricator.services.mozilla.com/D14795

--HG--
extra : moz-landing-system : lando
2018-12-28 09:12:44 +00:00
Jared Wein acfe9c8baf Bug 1507595 - Test fixes. r=flod,Gijs
There are multiple fixes contained in this patch:
- fixes for Android/mobile support
- adding extra strings to the ftl file that were never defined before, and previously the ID was just printed to the page
- update test_l10n.py to not rely on about:support anymore
- changing Troubleshoot.jsm to return and ID and args for the strings that should be displayed, so it is compatible with the Fluent API
- misc. fixes so strings that are not localized don't go through the Fluent codepath

Differential Revision: https://phabricator.services.mozilla.com/D15437

--HG--
extra : moz-landing-system : lando
2018-12-28 19:40:33 +00:00
Timothy Guan-tin Chien 9292b73037 Bug 1512489 - Convert datetime-popup binding to a JSM r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D13944

--HG--
rename : toolkit/content/widgets/datetimepopup.xml => toolkit/modules/DateTimePickerPanel.jsm
extra : moz-landing-system : lando
2018-12-21 21:51:57 +00:00
Matthew Noorenberghe 5496cbdd15 Bug 1330228 - Use hasBeenTypePassword in FormData.jsm to not save former password fields. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D15208

--HG--
extra : moz-landing-system : lando
2018-12-21 16:56:15 +00:00
Dão Gottwald efd44eae02 Bug 1515902 - Introduce panel-footer class to fix common color problem with footer buttons. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D15188

--HG--
rename : toolkit/themes/shared/close-icon.inc.css => toolkit/themes/shared/global.inc.css
extra : moz-landing-system : lando
2018-12-21 15:44:44 +00:00
Makoto Kato cfca5fc60d Bug 1497682 - Part 1. Add API to recognize username field and password field from a field in form. r=MattN
Summary:
I would like to get username fields etc from form or input element in form.

Since LoginManagerContent._getFormFields has "_" prefix (it means private
member) and LoginManagerCotnent.getFieldContext doesn't return elements,
I would like to add simple API for it.

Reviewers: MattN

Bug #: 1497682

Differential Revision: https://phabricator.services.mozilla.com/D12880

--HG--
rename : toolkit/components/passwordmgr/test/unit/test_getFormFields.js => toolkit/components/passwordmgr/test/unit/test_getUserNameAndPasswordFields.js
extra : rebase_source : b4a354231b85371144ccc0fff76f948ae0d09278
2018-12-17 13:29:47 +09:00
Mark Banner 12331afc41 Bug 1503674 - Remove unused PageMetadata. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14678

--HG--
extra : moz-landing-system : lando
2018-12-17 09:33:12 +00:00
Timothy Guan-tin Chien 3913ded230 Bug 1510848 - Do not unattach UA Widget Shadow Root if the element is already re-attached to the tree r=emilio,smaug
This patch moves all UA Widget calls to helper functions in Element.cpp. The helper function AttachAndSetUAShadowRoot sets the shadow root in a runnable, so that it is in the same order of NotifyUAWidget* runnables.

Differential Revision: https://phabricator.services.mozilla.com/D13479

--HG--
extra : moz-landing-system : lando
2018-12-15 02:48:46 +00:00
Jan de Mooij dd5380bb8a Bug 1514195 - Remove Cu.permitCPOWsInScope calls in Task.jsm and Promise-backend.js. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D14541

--HG--
extra : moz-landing-system : lando
2018-12-14 16:18:51 +00:00
Matt Howell f888211c75 Bug 1514078 - Correctly report Windows running on AArch64 in the update URL. r=rstrong
Differential Revision: https://phabricator.services.mozilla.com/D14502

--HG--
extra : moz-landing-system : lando
2018-12-14 02:23:01 +00:00
Shane Caraveo 2f65e17f02 Bug 1345474 - Check incognito access for webNavigation api, r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D12337

--HG--
extra : moz-landing-system : lando
2018-12-12 14:34:19 +00:00
Mark Banner 0304564ac7 Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13754

--HG--
extra : moz-landing-system : lando
2018-12-11 21:39:40 +00:00
Csoregi Natalia 9e970681f2 Backed out 2 changesets (bug 1415483) for multiple failures e.g. on test_message_manager_ipc.html. CLOSED TREE
Backed out changeset d00748de66fc (bug 1415483)
Backed out changeset 8dea94258f54 (bug 1415483)
2018-12-11 19:30:57 +02:00
Mark Banner 1abdc8687f Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13754

--HG--
extra : moz-landing-system : lando
2018-12-11 14:09:44 +00:00
Botond Ballo 4e2bbb39df Bug 1512267 - If you set a pres shell resolution, you must scale to it. r=kats,JanH
Differential Revision: https://phabricator.services.mozilla.com/D13928

--HG--
extra : moz-landing-system : lando
2018-12-10 19:32:59 +00:00
Noemi Erli a5c0369219 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-08 00:18:17 +02:00
Emilio Cobos Álvarez a73c2d572b Bug 1511138 - Fix getComputedStyle usage of SelectChild. r=mconley
I missed the failure in browser_selectpopup_colors.js since it doesn't run on
Linux. Fix the getComputedStyle usage in that code by using
getDefaultComputedStyle, which is what it really wants.

Also, do a bit of cleanup while at it: uaBackgroundColor was unused, and uaColor
was wrong (we don't override the ua color of the <option> element, it just
inherits, so it's the same as the <select> color, and that's what we were
comparing it against anyway).

Differential Revision: https://phabricator.services.mozilla.com/D13956
2018-12-07 14:24:49 -05:00
Emilio Cobos Álvarez 1d7963c67b Bug 1511138 - Improve performance of LightweightThemeConsumer when setting properties, and also avoid _sanitizeCSSColor from getting fooled. r=jaws
This probably deserves a comment as of why it belongs to this bug.

This patch series caused a single, reproducible timeout on
browser_ext_themes_toolbars.js, where the transitionend event it awaits for
stops triggering.

I got fascinated by it and I decided to poke around it in rr instead of just
removing the await line, and here's what's going on.

In the previous implementation of _sanitizeCSSColor, we were not flushing style
because of the optimization bug 1363805 introduced (which wasn't supposed to
deal with out-of-document elements, but it accidentally did so).

In any case, the fact that we were not flushing style in _sanitizeCSSColor
caused us to flush style sometime later when the lwtheme attribute was already
set up, and thus the selector in here matched:

  https://searchfox.org/mozilla-central/rev/cfaa5a1d48d6bc6552199e73004ecb05d0a9c921/browser/themes/shared/browser.inc.css#40

And thus caused the transition rule to apply at a time where the
background-color change happened.

Now we were flushing on getComputedStyle on every call, and in the most
inefficient way possible (changing a custom property on the root before each
property change, which causes us to restyle the whole document to propagate it
down to all descendants).

Furthermore, we were flushing style at a time where the lwtheme attribute
change had not yet happened, and thus when the background-color changed, there
was no transition rule applicable, and the transition didn't fire.

This patch changes LightweightThemeConsumer to avoid restyling the whole
document over and over.

Also, while at it I realized that you could fool the sanitizer with !important
in an experiment stylesheet or with other !important rule in the page really.
It's not clear why you'd do that, but it may be worth to just making that
function completely sound, so I did that and added a test for it.

Differential Revision: https://phabricator.services.mozilla.com/D13716
2018-12-07 14:23:35 -05:00
Emilio Cobos Álvarez c9a4b595f3 Bug 1511138 - Fix LightweightThemeConsumer's use of getComputedStyle. r=jaws,mconley
See D13472 for spec quotes and such. Other browsers don't allow
getting computed styles in disconnected subtrees and we agreed to follow suit
(it does make sense because when you're not on the flat tree it's not defined
what you're supposed to inherit from, specially in presence of Shadow DOM).

Also, it allows the style system to rely on the DOM being in a sane state.

Differential Revision: https://phabricator.services.mozilla.com/D13551
2018-12-07 14:23:33 -05:00
arthur.iakab 168846ee68 Backed out 5 changesets (bug 1511138) for causing eslint failure on SelectChild.jsm CLOSED TREE
Backed out changeset daee82295b3c (bug 1511138)
Backed out changeset d23c9c3e1566 (bug 1511138)
Backed out changeset a99600391704 (bug 1511138)
Backed out changeset 4ef293b90887 (bug 1511138)
Backed out changeset 4df286b234b3 (bug 1511138)
2018-12-07 20:55:24 +02:00
Emilio Cobos Álvarez ca9c4ff03a Bug 1511138 - Fix getComputedStyle usage of SelectChild. r=jaws,mconley
I missed the failure in browser_selectpopup_colors.js since it doesn't run on
Linux. Fix the getComputedStyle usage in that code by using
getDefaultComputedStyle, which is what it really wants.

Also, do a bit of cleanup while at it: uaBackgroundColor was unused, and uaColor
was wrong (we don't override the ua color of the <option> element, it just
inherits, so it's the same as the <select> color, and that's what we were
comparing it against anyway).

Differential Revision: https://phabricator.services.mozilla.com/D13956
2018-12-07 13:01:06 -05:00
Emilio Cobos Álvarez e94c3c6180 Bug 1511138 - Improve performance of LightweightThemeConsumer when setting properties, and also avoid _sanitizeCSSColor from getting fooled. r=jaws
This probably deserves a comment as of why it belongs to this bug.

This patch series caused a single, reproducible timeout on
browser_ext_themes_toolbars.js, where the transitionend event it awaits for
stops triggering.

I got fascinated by it and I decided to poke around it in rr instead of just
removing the await line, and here's what's going on.

In the previous implementation of _sanitizeCSSColor, we were not flushing style
because of the optimization bug 1363805 introduced (which wasn't supposed to
deal with out-of-document elements, but it accidentally did so).

In any case, the fact that we were not flushing style in _sanitizeCSSColor
caused us to flush style sometime later when the lwtheme attribute was already
set up, and thus the selector in here matched:

  https://searchfox.org/mozilla-central/rev/cfaa5a1d48d6bc6552199e73004ecb05d0a9c921/browser/themes/shared/browser.inc.css#40

And thus caused the transition rule to apply at a time where the
background-color change happened.

Now we were flushing on getComputedStyle on every call, and in the most
inefficient way possible (changing a custom property on the root before each
property change, which causes us to restyle the whole document to propagate it
down to all descendants).

Furthermore, we were flushing style at a time where the lwtheme attribute
change had not yet happened, and thus when the background-color changed, there
was no transition rule applicable, and the transition didn't fire.

This patch changes LightweightThemeConsumer to avoid restyling the whole
document over and over.

Also, while at it I realized that you could fool the sanitizer with !important
in an experiment stylesheet or with other !important rule in the page really.
It's not clear why you'd do that, but it may be worth to just making that
function completely sound, so I did that and added a test for it.

Differential Revision: https://phabricator.services.mozilla.com/D13716
2018-12-07 13:01:04 -05:00
Emilio Cobos Álvarez f4b8cf19fc Bug 1511138 - Fix LightweightThemeConsumer's use of getComputedStyle. r=jaws,mconley
See D13472 for spec quotes and such. Other browsers don't allow
getting computed styles in disconnected subtrees and we agreed to follow suit
(it does make sense because when you're not on the flat tree it's not defined
what you're supposed to inherit from, specially in presence of Shadow DOM).

Also, it allows the style system to rely on the DOM being in a sane state.

Differential Revision: https://phabricator.services.mozilla.com/D13551
2018-12-07 13:01:03 -05:00
Jan de Mooij eb4bf3347b Bug 1512417 - Pass |this| as second argument to Cu.import calls in Promise-backend.js to fix an issue with same-compartment realms. r=kmag
With same-compartment-realms, the Cu.import native is a cross-realm function so
we switch to its realm and ended up defining things on the wrong global.

Differential Revision: https://phabricator.services.mozilla.com/D13905

--HG--
extra : moz-landing-system : lando
2018-12-06 21:59:09 +00:00
Ehsan Akhgari 0dcf936804 Bug 1510911 - Part 2: Backout changeset f8849239da42 (bug 1493563 - Part 5) for regressing performance 2018-12-03 14:27:53 -05:00
Jan Varga 9bbba97e91 Bug 1286798 - Part 11: Enable tests for session only mode (but only for the old local storage implementation); r=asuth
An attribute for checking if the next gen local storage implementation is enabled is exposed via a new interface nsILocalStorageManager which should be used for any other local storage specific stuff.
2018-11-29 21:47:48 +01:00
Robert Strong 43b69e2d87 Bug 1506915 - Move app update auto enabled / disabled to a jsm. r=bytesized,chutten
This moves getting and setting the value of app.update.auto from nsUpdateService.js to UpdateUtils.jsm so nsUpdateService.js isn't loaded during startup
Changes the browser_policy_app_update_URL.js test to check the default pref for app.update.url since the default pref is read by app update
Fixes a NS_NOINTERFACE error in app update xpcshell tests for AppInfo not implementing nsIPlatformInfo

Differential Revision: https://phabricator.services.mozilla.com/D13285

--HG--
extra : moz-landing-system : lando
2018-11-28 21:47:03 +00:00
Ehsan Akhgari cc714b7adc Bug 1490811 - Part 1: Add a permission doorhanger for the storage access API r=baku,johannh
Differential Revision: https://phabricator.services.mozilla.com/D12467

--HG--
extra : moz-landing-system : lando
2018-11-26 21:23:16 +00:00
Shane Caraveo dfbb130d83 Bug 1489531 Expose telemetry client_id hash to about:addons via cookie r=Gijs,chutten
Differential Revision: https://phabricator.services.mozilla.com/D9317

--HG--
extra : moz-landing-system : lando
2018-11-26 15:26:39 +00:00
Masayuki Nakano 0acd37ec1d Bug 1504911 - part 4: Make all script for web content dispatch "input" event with proper event interface r=smaug
Currently, some "input" event dispatchers in our script dispatch "input" event
with UIEvent.  This is completely wrong.  For conforming to HTML spec, Event
is proper event.  Additionally, for conforming to Input Events, InputEvent
is proper event only on <textarea> or <input> element which has a single line
editor.

For making us to maintain easier, this patch adds new API, "isInputEventTarget"
to MozEditableElement which returns true when "input" event dispatcher should
use InputEvent for the input element.

Finally, this makes some dispatchers use setUserInput() instead of
setting value and dispatching event by themselves.  This also makes
us to maintain them easier.

Note that this does not touch "input" event dispatchers which dispatch events
only for chrome (such as URL bar, some pages in about: scheme) for making
this change safer as far as possible.

Differential Revision: https://phabricator.services.mozilla.com/D12247

--HG--
extra : moz-landing-system : lando
2018-11-20 14:35:38 +00:00
Tom Schuster 5a9d2a428c Bug 1493292 - Remove aDataLen parameters from nsITransferable.getTransferData. r=smaug
Depends on D11200

Differential Revision: https://phabricator.services.mozilla.com/D11201

--HG--
extra : moz-landing-system : lando
2018-11-20 16:59:56 +00:00
Csoregi Natalia df7483024d Backed out 6 changesets (bug 1493292) for bustage on /nsTransferable.cpp. CLOSED TREE
Backed out changeset f198bf91320b (bug 1493292)
Backed out changeset 6487aa307123 (bug 1493292)
Backed out changeset f2cabd69c568 (bug 1493292)
Backed out changeset 71430fceb4a3 (bug 1493292)
Backed out changeset 3a9b6d65d8c7 (bug 1493292)
Backed out changeset 55769869037c (bug 1493292)
2018-11-20 17:13:18 +02:00
Tom Schuster b292ec7c2c Bug 1493292 - Remove aDataLen parameters from nsITransferable.getTransferData. r=smaug
Depends on D11200

Differential Revision: https://phabricator.services.mozilla.com/D11201

--HG--
extra : moz-landing-system : lando
2018-11-20 14:47:02 +00:00
Mathieu Leplatre 2cc780ec8e Bug 1502146 - Reduce impact of RemoteSettings synchronization on main thread r=Gijs
Move JSON dump loading and CanonicalJSON serialization to a worker to reduce impact on main thread

Differential Revision: https://phabricator.services.mozilla.com/D10064

--HG--
extra : moz-landing-system : lando
2018-11-20 14:00:06 +00:00
Andreea Pavel ec618b5047 Backed out changeset 81abb539b39c (bug 1502146) for failing services/settings/test/unit/test_remote_settings_worker.js on a CLOSED TREE 2018-11-20 02:13:24 +02:00
Mathieu Leplatre 7c4c9e8608 Bug 1502146 - Reduce impact of RemoteSettings synchronization on main tread r=Gijs
Move JSON dump loading and CanonicalJSON serialization to a worker to reduce impact on main thread

Differential Revision: https://phabricator.services.mozilla.com/D10064

--HG--
extra : moz-landing-system : lando
2018-11-19 21:56:28 +00:00
alwu 4515d99b29 Bug 1493766 - part1 : notify when temporary permission changed. r=johannh
Since temporary permissions are only stored in the front-end side, we can't know whether we have
allowed page to autoplay or not without sending a request. Therefore, we want to notify the back-end
side when the temporary permissions changed.

Differential Revision: https://phabricator.services.mozilla.com/D7011

--HG--
extra : moz-landing-system : lando
2018-11-15 19:51:26 +00:00
Andrew Swan 2eeb080252 Bug 1500975 Disable GMP updates during xpcshell tests r=ahal
--HG--
extra : rebase_source : 171dd511edad24f35ae0c9ef775ce3e268edb6b4
extra : amend_source : d94f2028213ff7900df697e9fa05451312401f6c
2018-11-13 22:48:29 -08:00
Jared Wein 281dff55d5 Bug 1499869 - Allow displaying of masked credit card numbers when they're invalid. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D9048

--HG--
extra : moz-landing-system : lando
2018-11-13 17:35:29 +00:00
Mathieu Leplatre a0fb02038c Bug 1504181 - Force scientific notation in CanonicalJSON r=glasserc
Mimic python for small float numbers

Differential Revision: https://phabricator.services.mozilla.com/D10734

--HG--
extra : moz-landing-system : lando
2018-11-12 14:12:58 +00:00
Andrew Swan 1c87eeb691 Bug 1500198 Convert talos damp addon to a webextension r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D9337

--HG--
rename : testing/talos/talos/tests/devtools/addon/bootstrap.js => testing/talos/talos/tests/devtools/addon/api.js
rename : testing/talos/talos/tests/devtools/addon/content/damp.html => testing/talos/talos/tests/devtools/addon/damp.html
rename : testing/talos/talos/tests/devtools/addon/install.rdf => testing/talos/talos/tests/devtools/addon/manifest.json
extra : source : db40c647334687d2e97b537c955d834cff0452b8
extra : histedit_source : a83ca0deeda71c358b00743970feb22c9562beed%2Ce09a3ec4c83163775d24dc3046823d660e2cca33
2018-11-07 18:52:06 -08:00
Brindusan Cristian 8493aae42d Backed out changeset db40c6473346 (bug 1500198) for mochitest failures on /mochitest/test_ext_protocolHandlers.html. CLOSED TREE
--HG--
rename : testing/talos/talos/tests/devtools/addon/api.js => testing/talos/talos/tests/devtools/addon/bootstrap.js
rename : testing/talos/talos/tests/devtools/addon/damp.html => testing/talos/talos/tests/devtools/addon/content/damp.html
rename : testing/talos/talos/tests/devtools/addon/manifest.json => testing/talos/talos/tests/devtools/addon/install.rdf
2018-11-10 20:11:43 +02:00
Andrew Swan bc0c5cfe75 Bug 1500198 Convert talos damp addon to a webextension r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D9337

--HG--
rename : testing/talos/talos/tests/devtools/addon/bootstrap.js => testing/talos/talos/tests/devtools/addon/api.js
rename : testing/talos/talos/tests/devtools/addon/content/damp.html => testing/talos/talos/tests/devtools/addon/damp.html
rename : testing/talos/talos/tests/devtools/addon/install.rdf => testing/talos/talos/tests/devtools/addon/manifest.json
extra : rebase_source : 810ead682de14b1bd4a91896b8e11ce29f4e90b0
2018-11-07 18:52:06 -08:00
Jan Henning 4aeb4f5c39 Bug 1429488 - Part 5: Support persisting moz-extension resources. r=Gijs
Bug 1344926 integrated static themes more closely into the existing infra-
structure for lightweight themes and also intended the static theme's image data
to be persisted to disk as well.

While the headerURL image file is in fact successfully copied out of the
extension archive into the profile, the persist progress listener being used
isn't equipped to properly handle this case and therefore the success callback
is never executed.

As a result
- the callback passed to _persistImages in the LWTManager isn't executed,
  either, although because setting the fallbackThemeData passes in an empty
  callback anyway, no one noticed.
- the persist operation never actually completes, so subsequent calls to
  currentThemeForDisplay() always return the original moz-extension:// image URI
  and never the persisted file from the profile folder.

For Android we definitively require a working callback in order to be able to
forward the fixed-up theme data once the image data has been persisted, so the
persistProgressListener's logic is modified accordingly.
Additionally, because as far as the LWTManager is concerned, WE static themes
are only fallback themes and a call to LWTManager.currentTheme will therefore
never return a WE static theme, the LWTPersister's logic to check whether the
theme, whose files have just been successfully persisted, is still the current
theme, needs to be modified.

Differential Revision: https://phabricator.services.mozilla.com/D10729

--HG--
extra : source : 91b2a9224846ef9cc81f1afc9fcfcd1db278644b
extra : histedit_source : d8a47bba3563cb8eb0faf94a7c1f28ba2925d80c
2018-10-22 22:08:01 +02:00
Sebastian Hengst 8955ff609d Bug 1503855 - Use December as previous month for credit card validity check if it's January r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D11020

--HG--
extra : moz-landing-system : lando
2018-11-06 14:52:14 +00:00
vinoth e14aa2974e Bug 1504605 - Add Prefs to xpcshell test files for allowing usage of eval. r=ckerschb
Reviewers: ckerschb

Reviewed By: ckerschb

Subscribers: ckerschb

Bug #: 1504605

Differential Revision: https://phabricator.services.mozilla.com/D10850

--HG--
extra : rebase_source : 9abb395224bdfa7795516295babfd847ea2553f4
2018-11-05 16:41:45 +02:00
Jonathan Kingston 42bd423a94 Bug 1490257 - Add principal to JS code for passing explicit triggeringPrincipals. r=ckerschb
Depends on D10882

Differential Revision: https://phabricator.services.mozilla.com/D10883

--HG--
extra : moz-landing-system : lando
2018-11-05 14:05:19 +00:00
Gurzau Raul 424b125b93 Backed out changeset 523ff2753dea (bug 1490257) for causing Bug 1503757 a=backout 2018-11-01 15:27:30 +02:00
Sebastian Hengst 39d91da012 Bug 1503751 - increase year for check of valid credit card if current month is near end of year. r=MattN on IRC a=Aryx 2018-11-01 03:03:17 +02:00