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

1271 Коммитов

Автор SHA1 Сообщение Дата
Geoff Brown bd569c8e85 Bug 1580832 - Remove robocop test and support files; r=snorp
Removes all the robocop test files and most robocop support. @RobocopTarget annotations and some build configuration is intentionally left untouched at this time, in case there is additional risk involved; a good task for follow-up.

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

--HG--
extra : moz-landing-system : lando
2019-09-24 15:10:21 +00:00
Valentin Gosu 80d86cafdc Bug 1513574 - Remove UAOverride use from mobile/.../browser.js r=snorp
This patch removes the use of UserAgentOverrides from browser.js
The UA change when in desktop mode now uses nsIDocShell.customUserAgent, while the feature landed in bug 838332 that is only performed for t.co URLs is removed, as it landed 4 years ago and was limited to Nightly.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 15:21:06 +00:00
Cosmin Sabou b1cfe7b829 Backed out 4 changesets (bug 1513574) for causing several browser chrome failures. CLOSED TREE
Backed out changeset 7d950fc452fb (bug 1513574)
Backed out changeset 11f015a3e739 (bug 1513574)
Backed out changeset be6959a563f6 (bug 1513574)
Backed out changeset ce51efd054b8 (bug 1513574)

--HG--
extra : histedit_source : a7bc0055925ac352826572f96730f3d90815bda0
2019-09-16 12:40:40 +03:00
Valentin Gosu 19ba4c2baa Bug 1513574 - Remove UAOverride use from mobile/.../browser.js r=snorp
This patch removes the use of UserAgentOverrides from browser.js
The UA change when in desktop mode now uses nsIDocShell.customUserAgent, while the feature landed in bug 838332 that is only performed for t.co URLs is removed, as it landed 4 years ago and was limited to Nightly.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 08:37:54 +00:00
Cosmin Sabou 1aeb602d5e Backed out 4 changesets (bug 1513574) for Android build bustage and browser chrome failures. CLOSED TREE
Backed out changeset f155c449e516 (bug 1513574)
Backed out changeset 1f2bbbe0f781 (bug 1513574)
Backed out changeset 5f8b5f72a4ea (bug 1513574)
Backed out changeset 0e4cababccc7 (bug 1513574)
2019-09-13 21:38:18 +03:00
Valentin Gosu eb1e7e00fc Bug 1513574 - Remove UAOverride use from mobile/.../browser.js r=snorp
This patch removes the use of UserAgentOverrides from browser.js
The UA change when in desktop mode now uses nsIDocShell.customUserAgent, while the feature landed in bug 838332 that is only performed for t.co URLs is removed, as it landed 4 years ago and was limited to Nightly.

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

--HG--
extra : moz-landing-system : lando
2019-09-13 17:19:13 +00:00
Paul Zuehlcke 00119452fc Bug 1574480 - Updated browser.js and OfflineAppsChild.jsm to use PermissionManager principal methods. r=johannh,smaug
Differential Revision: https://phabricator.services.mozilla.com/D42620

--HG--
extra : moz-landing-system : lando
2019-09-10 10:57:07 +00:00
Geoff Brown 73dd0f2036 Bug 1575966 - Remove fennec chrome tp5 files; r=snorp
The tp5 files were only ever used by fennec mochitest-chrome; they can
be safely removed now.

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

--HG--
extra : moz-landing-system : lando
2019-09-09 14:14:01 +00:00
Coroiu Cristina 9683a17a37 Backed out changeset d2867a062f45 (bug 1574480) for browser-chrome failures at browser/base/content/test/general/browser_offlineQuotaNotification.js on a CLOSED TREE 2019-09-05 18:38:42 +03:00
Paul Zuehlcke 99bfbf1328 Bug 1574480 - Updated browser.js and OfflineAppsChild.jsm to use PermissionManager principal methods. r=johannh,smaug
Differential Revision: https://phabricator.services.mozilla.com/D42620

--HG--
extra : moz-landing-system : lando
2019-09-05 13:37:55 +00:00
Makoto Kato e0b2f3e09c Bug 1572728 - Sync Gecko's selection for sendKey test of testInputConnection. r=geckoview-reviewers,snorp
Actually, `assertTextAndSelectionAt` checks Java side text and selection only.
So even if `assertTextAndSelectionAt` is successful, Gecko's text and selection
aren't updated yet. Since `sendKeyEvent` test uses both Gecko's selection and
Java's selection, this has timing issue. Since `sendKeyEvent` uses Gecko's
selection for insertion point, we have to sync Java's selection with Gecko's
selection. But since there is no way to sync it, this sendKey test may be failure.

To sync both data, this test should always use key event to update both Gecko
side and Java side correctly. GV's test uses Gecko's selection, so this issue
is robocop test only.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 17:45:21 +00:00
Sylvestre Ledru 7759b614e2 Bug 1575249 - Ride along: remove +x permissions on source files r=Ehsan
Depends on D42672

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

--HG--
extra : moz-landing-system : lando
2019-08-21 09:57:03 +00:00
Julian Descottes 3df7a88f3b Bug 1572390 - Split main.js in debugger-server and debugger-server-connection r=yulia,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D41009

--HG--
rename : devtools/server/main.js => devtools/server/debugger-server-connection.js
rename : devtools/server/main.js => devtools/server/debugger-server.js
extra : moz-landing-system : lando
2019-08-08 12:44:13 +00:00
Boris Zbarsky a818800ec5 Bug 1568278. Remove various unnecessary QIs to nsIDOMWindow. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D39065

--HG--
extra : moz-landing-system : lando
2019-07-24 01:26:07 +00:00
Luca Greco d8f68f5ee3 Bug 1472740 - Remove usage of deprecated lwt aliases from Fennec robocop tests. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D38300

--HG--
extra : moz-landing-system : lando
2019-07-17 14:21:56 +00:00
Victor Porof e999ae1989 Bug 1561435 - Format mobile/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : eafb1052afc7712c969e57552da5affc63093e9e
2019-07-05 10:53:35 +02:00
dlee d1ed4c245a Bug 1531354 - P5. Safe Browsing test entries are directly stored in LookupCache. r=gcp
Create test entries via update introduces performance overhead.
We can store them directly in LookupCache and do not save test entries
to disk.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 19:05:41 +00:00
Karan Sapolia 3cb0a39af4 Bug 1553237 - Simplify nsISearchService.addEngineWithDetails to one signature. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D34709

--HG--
extra : moz-landing-system : lando
2019-06-13 20:35:23 +00:00
Jonathan Kingston 3dd41f32a1 Bug 1557035 - Changing android hardcoded system principal session to fix tests. r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D33930

--HG--
extra : moz-landing-system : lando
2019-06-07 15:42:29 +00:00
Boris Zbarsky 5eb248348f Bug 1557847. Stop using [array] in nsIClipboard. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D34243

--HG--
extra : moz-landing-system : lando
2019-06-09 01:06:39 +00:00
Nicklas Boman f293246462 Bug 1519365 - Update object property names that get passed to loadURIOptions to match the names in loadURIOptions r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D31729

--HG--
extra : moz-landing-system : lando
2019-06-08 11:04:27 +00:00
Karan Sapolia 7b96f9e12f Bug 1556804 - Change callers of addTestEngines to use objects for details rather than an array. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D33798

--HG--
extra : moz-landing-system : lando
2019-06-06 11:35:12 +00:00
Matthew Noorenberghe b57a900dc2 Bug 1148205 - Replace misnamed `formSubmitURL` and `hostname` properties on nsILoginInfo in mobile/. r=Grisha
Differential Revision: https://phabricator.services.mozilla.com/D33349

--HG--
extra : moz-landing-system : lando
2019-06-05 04:00:09 +00:00
Gurzau Raul e64337e9ea Bug 1556667 - disabled testSessionFilePreservation on Android 4.3 r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D33627

--HG--
extra : moz-landing-system : lando
2019-06-04 15:35:18 +00:00
Gurzau Raul 7f5536bfd0 Backed out changeset 05f1a2a0ad69 (bug 1508939) for having the wrong bug number.
--HG--
extra : rebase_source : be531ad6f9b4a545faaf5a69b4d6b92f6028ece0
2019-06-04 18:25:04 +03:00
Gurzau Raul 64e224ad30 Bug 1508939 - disabled testSessionFilePreservation on Android 4.3 r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D33627

--HG--
extra : moz-landing-system : lando
2019-06-04 15:09:06 +00:00
Emilio Cobos Álvarez 25a7ac45cc Bug 1553772 - Bug 1549812 - fix testAccessibleCarets.js to account for more async event dispatching. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D32194

--HG--
extra : moz-landing-system : lando
2019-05-23 09:47:00 +00:00
Emily Toop b5526a843a Bug 1549732 - Add tests for referrer. r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D30525

--HG--
extra : moz-landing-system : lando
2019-05-13 12:15:35 +00:00
Boris Zbarsky 928476d24c Bug 1550092 part 1. Stop using [array] in sendTouchEvent/sendTouchEventToWindow. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D30441

--HG--
extra : moz-landing-system : lando
2019-05-10 09:03:39 +00:00
Petru Lingurar d90041e847 Bug 1544525 - Update about:addons's AMO title; r=Pike,JanH
And ensure we will always show a localized title, even if we have to fallback
to the old already localized one.

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

--HG--
extra : moz-landing-system : lando
2019-04-19 07:14:54 +00:00
Brian Grinstead 381332c51e Bug 1544051 - Part 3 - Scripted change to remove references to AddTask.js r=ahal
This was generated with the script at https://bug1544051.bmoattachments.org/attachment.cgi?id=9058672

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

--HG--
extra : moz-landing-system : lando
2019-04-18 16:51:01 +00:00
Andrew Swan 9a58fa2896 Bug 1539598 Require pre-install confirmation on all addons installs from outside about:addons r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26024

--HG--
extra : rebase_source : 6f67d4637ea1160031afce5307cdb522c9ecccce
extra : source : 7a05ac03465cb38ba5a798cb762ccf20a6635f23
2019-04-03 15:30:38 -07:00
Kris Maglione 30d5d1f356 Bug 1540435: Stop using LWTPersister for Android themes. r=aswan f=JanH
The Android front-end cannot directly load moz-extension: URIs, which means
that theme resources ordinarily loaded via extension URIs need to be handled
some other way.

Prior to this patch, we used the antiquated LightweightThemePersister logic to
copy those resources to external files and load them as file: URIs. This is
unideal for a number of reasons, not least that it requires that we keep
around over-complicated logic which was initially designed to persist theme
images from web URLs.

This patch instead just resolves any substituting protocol handler URI to the
underlying resource URI, which will be either a file: or jar: URI which Java
can handle directly.

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

--HG--
extra : rebase_source : 25b5e2242ccb481762aece61fa9e31a658a922c2
extra : histedit_source : a98b8e995236b5cf37e45e65bccb839caf2ddf69
2019-03-30 14:32:54 -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
Geoff Brown 322688e83f Bug 1519580 - Skip test_session_scroll_visual_viewport.html on android/pgo; r=jmaher
Skip mochitest-chrome test failing frequently on android/pgo. This directory of tests
only runs on Android 4.3, so the manifest annotation is simple.

Discussed in bug; see comment 17.

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

--HG--
extra : moz-landing-system : lando
2019-03-28 19:01:32 +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
Botond Ballo cba0362f99 Bug 1538762 - Ensure the Android session store respects the layout scroll range. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D25144

--HG--
extra : moz-landing-system : lando
2019-03-28 00:38:19 +00:00
Ting-Yu Lin 0dbfbb7dff Bug 1539256 - Remove enabling AccessibleCaret pref in Android robocop test. r=snorp
Bug 1493317 enables AccessibleCaret in unit tests. No need to manually
flip the pref.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 18:17:03 +00:00
Botond Ballo 109671c99f Bug 1531057 - Fix eslint failure due to trailing whitespace (CLOSED TREE).
Differential Revision: https://phabricator.services.mozilla.com/D25136

--HG--
extra : moz-landing-system : lando
2019-03-27 20:54:08 +00:00
Botond Ballo df3b5e6d4a Bug 1531057 - Add a test to check that session history respects the layout scroll range. r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D23753

--HG--
extra : moz-landing-system : lando
2019-03-27 20:20:05 +00:00
Olli Pettay 6143d2b90d Bug 1536781, use the same paint suppression delay on mobile and desktop, r=emilio
Differential Revision: https://phabricator.services.mozilla.com//D24804

--HG--
extra : rebase_source : 5fcdd643e253dcad6ab2f0c94ed3addd48724249
2019-03-25 14:44:56 +02:00
Botond Ballo 9a387fad8c Bug 1531535 - Expose the ability to do a visual smooth scroll in nsIDOMWindowUtils. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D24555

--HG--
extra : moz-landing-system : lando
2019-03-23 20:23:54 +00:00
Botond Ballo a986312833 Bug 1517895 - Wait for mozvisualscroll explicitly in the session store tests. r=JanH
SSTabScrollCaptured can sometimes be fired for other reasons, causing us to
query the visual scroll position before it has been updated.

Not explicitly waiting for SSTabScrollCaptured is also safe in this case
because we're only querying the session store's view of the scroll position
*after* closing the tab, which will flush any pending scroll position updates
in the session store.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 16:00:07 +00:00
Botond Ballo fd96b481ac Bug 1517895 - Use scrollToVisual() in the session store tests. r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D19874

--HG--
extra : moz-landing-system : lando
2019-03-13 16:00:07 +00:00
Emily Toop 02ade4a8a2 Bug 1462018 - Add API for taking screenshot of visible page.
Invert screen pixels in `nsWindow`.

Update `RequestScreenPixels` in `nsWindow` to accept a `GeckoResult` as an argument and save as a `GlobalRef`.
Update `RecvScreenPixels` in `nsWindow` in order to invert the image before sending over JNI rather than requiring callers to invert the image themselves.
Complete the `GeckoResult` if there is one in `RecvScreenPixels` instead of making a callback to the compositor.

Remove `RecvScreenPixels` from `GeckoSession` and `GeckoSession.Compositor`.
Move `RecvScreenPixels` and `getPixels` to `GeckoDisplay`
Rename `getPixels` to `capturePixels`

Return Bitmap from `RecvScreenPixels`.

Return `GeckoResult` from `capturePixels`.

Add doc comments to new methods and classes.
Update FennecNativeDriver to use `GeckoView` and `GeckoResult`.

Update API docs and Changelog

Add tests

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

--HG--
extra : moz-landing-system : lando
2019-03-02 10:09:08 +00:00
Gurzau Raul 82ce1d37c4 Backed out changeset 6c1f943e591c (bug 1462018) for robocop failures FennecNativeDriver.java on a CLOSED TREE.
--HG--
extra : rebase_source : 638605fe9606fd84271ba6aa02fda70daead7642
extra : histedit_source : 5c6c2c8161bb3ef5e16463aef62332ceed263a3f
2019-03-01 12:48:27 +02:00
Emily Toop 6337b6bf45 Bug 1462018 - Add API for taking screenshot of visible page. r=snorp,geckoview-reviewers
Invert screen pixels in `nsWindow`.

Update `RequestScreenPixels` in `nsWindow` to accept a `GeckoResult` as an argument and save as a `GlobalRef`.
Update `RecvScreenPixels` in `nsWindow` in order to invert the image before sending over JNI rather than requiring callers to invert the image themselves.
Complete the `GeckoResult` if there is one in `RecvScreenPixels` instead of making a callback to the compositor.

Remove `RecvScreenPixels` from `GeckoSession` and `GeckoSession.Compositor`.
Move `RecvScreenPixels` and `getPixels` to `GeckoDisplay`
Rename `getPixels` to `capturePixels`

Return Bitmap from `RecvScreenPixels`.

Return `GeckoResult` from `capturePixels`.

Add doc comments to new methods and classes.
Update FennecNativeDriver to use `GeckoView` and `GeckoResult`.

Update API docs and Changelog

Add tests

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

--HG--
extra : moz-landing-system : lando
2019-03-01 08:45:09 +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
Oana Pop Rus eda7a08ec6 Backed out changeset b63cae045a63 (bug 1462018) for geckoview failures 2019-02-27 14:42:59 +02:00
Emily Toop c616a388d1 Bug 1462018 - Add API for taking screenshot of visible page. r=geckoview-reviewers,snorp
Invert screen pixels in `nsWindow`.

Update `RequestScreenPixels` in `nsWindow` to accept a `GeckoResult` as an argument and save as a `GlobalRef`.
Update `RecvScreenPixels` in `nsWindow` in order to invert the image before sending over JNI rather than requiring callers to invert the image themselves.
Complete the `GeckoResult` if there is one in `RecvScreenPixels` instead of making a callback to the compositor.

Remove `RecvScreenPixels` from `GeckoSession` and `GeckoSession.Compositor`.
Move `RecvScreenPixels` and `getPixels` to `GeckoDisplay`
Rename `getPixels` to `capturePixels`

Return Bitmap from `RecvScreenPixels`.

Return `GeckoResult` from `capturePixels`.

Add doc comments to new methods and classes.
Update FennecNativeDriver to use `GeckoView` and `GeckoResult`.

Update API docs and Changelog

Add tests

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

--HG--
extra : moz-landing-system : lando
2019-02-26 10:51:02 +00:00