Commit Graph

296 Commits

Author SHA1 Message Date
Henrik Skupin
3fb4ec5a5d Bug 1508726 - [marionette] Use "app.update.disabledForTesting" to disable application updates. r=ato
Until Firefox 64 the preference "app.update.auto" controlled if updates
can be downloaded and applied. This changed in Firefox 65, and now the
preference "app.update.disabledForTesting" controls it.

Depends on D13516

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

--HG--
extra : moz-landing-system : lando
2018-12-03 09:01:38 +00:00
Henrik Skupin
4c3369924e Bug 1298233 - [firefox-ui-tests] Skip TestAppInfo.test_valid_properties for artifact builds. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D13093

--HG--
extra : moz-landing-system : lando
2018-11-27 20:08:18 +00:00
Razvan Maries
6c55ab0f9e Merge mozilla-inbound to mozilla-central a=merge 2018-11-15 00:16:46 +02:00
Gijs Kruitbosch
8987941d82 Bug 1506796 - use OpenBrowserWindow instead of window.open() to create a browser window, r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D11745

--HG--
extra : moz-landing-system : lando
2018-11-14 14:27:58 +00:00
Paolo Amadini
f6b106efb2 Bug 1496827 - Remove the "notification" binding. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D11650

--HG--
rename : browser/components/customizableui/content/.eslintrc.js => browser/components/translation/content/.eslintrc.js
rename : browser/components/translation/jar.mn => browser/components/translation/content/jar.mn
rename : browser/components/translation/microsoft-translator-attribution.png => browser/components/translation/content/microsoft-translator-attribution.png
rename : browser/components/customizableui/content/moz.build => browser/components/translation/content/moz.build
rename : browser/components/translation/translation-infobar.xml => browser/components/translation/content/translation-notification.js
extra : rebase_source : 598396d2da96b04782413946976f7bb9fb6be75f
2018-11-13 12:56:42 +00:00
Paolo Amadini
3a2f47fd3f Bug 1428869 - Use html:progress in front-end code. r=bgrins,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D9009

--HG--
extra : rebase_source : 0e2d20dc6060a4c0ee278ef05d67668aec12e64f
2018-10-18 15:41:21 +01:00
Johann Hofmann
3b6d09a99f Bug 1476220 - Show a "site information" header in the identity popup. r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D7090

--HG--
extra : moz-landing-system : lando
2018-10-09 13:47:13 +00:00
Drew Willcoxon
d98caa42ec Bug 1493636 - Always autofill bookmarks, regardless of their frecency and the autofill frecency threshold. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D7673

--HG--
extra : moz-landing-system : lando
2018-10-06 00:22:04 +00:00
Gijs Kruitbosch
654195f783 Bug 1491243 - remove feed bits from puppeteer page info code, r=whimboo
Depends on D5982

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

--HG--
extra : moz-landing-system : lando
2018-09-18 06:06:28 +00:00
Dão Gottwald
476817dd80 Bug 1489063 - Remove unused autocomplete-textbox class. r=standard8 2018-09-06 11:46:21 +02:00
Henrik Skupin
eb86582a92 Bug 1478848 - [fxui] Fix test_ssl_disabled_error_page to correctly wait for page load. r=ato
Currently the test doesn't wait for the restore button to become stale,
and as such the call to find_element will return immediately with a
reference to a "h1" element on the error page.

--HG--
extra : rebase_source : 74cc1bfbe929409a56955ec0f5e912256b92c72e
extra : histedit_source : 800c9e2b0df87d655f470f79077a64cfb6776e8a
2018-08-21 11:58:15 +02:00
Adam Gashlin
79c2f37212 Bug 1480612: Test Register Application Restart more thoroughly. r=whimboo
--HG--
extra : amend_source : 31ba7a07c76d63fa8fe304ab10bebf5fe7cac41d
2018-08-06 14:40:00 -07:00
Henrik Skupin
14c7db79e0 Bug 1414776 - [fxui] Reset security.mixed_content.upgrade_display_content preference for mixed content test. r=ato
MozReview-Commit-ID: IOIFyH5ilPp

--HG--
extra : rebase_source : 2e3e762c9d9055e7758a16836907426ea27886b7
2018-07-24 16:09:34 +02:00
Henrik Skupin
33a541ade3 Bug 1414776 - [fxui] Change testcases from mozqa.com to badssl.com and mixed-content-tests-mozilla.org. r=ato
MozReview-Commit-ID: DadY39FdZQT

--HG--
extra : rebase_source : cf9f5ed5ebd5a1b40763b1a5d1be5b4c59a9c915
2018-07-24 16:09:02 +02:00
Andreas Tolfsen
330c31d7a5 Bug 1121705 - Look at window handles decrement when closing tab. r=whimboo
When Puppeteer opens a new tab using various strategies it relies
on the list of window handles increasing.  When performing the
reverse operation of closing a tab, it looks at the length of <tab>
chrome elements in the UI.

This changes the close operation to use the same mechanism as opening
a new tab to determine if the tab has been closed.  This seems to
be as reliable as looking at the number of <tab> elements.

As part of a forthcoming window tracking refactoring of Marionette
(https://bugzilla.mozilla.org/show_bug.cgi?id=marionette-window-tracking),
the list of window handles will be made even more reliable: a content
browser will not appear in the window handle list until both the tab
and it's linked content browser has been created and properly initialised.

MozReview-Commit-ID: FY5vGBpn64R

--HG--
extra : rebase_source : 99bad0c88f3b00a46131f1a502e40c61560aa59b
2018-07-04 16:36:05 +01:00
Andreas Tolfsen
90fe6cc297 Bug 1470646 - Update Fxfn tests to use WebDriver conforming platformName. r=whimboo
MozReview-Commit-ID: 1GYS453pA5D

--HG--
extra : rebase_source : a8b5fb17e53c218621eddc03a0166c888bd9ca0e
2018-06-24 14:03:52 +01:00
Coroiu Cristina
cc751350dc Backed out 8 changesets (bug 1470646) for linting failure on a CLOSED TREE
Backed out changeset 9b8d9f803b25 (bug 1470646)
Backed out changeset 58e2010d2842 (bug 1470646)
Backed out changeset 2b19429d778f (bug 1470646)
Backed out changeset e543f592454a (bug 1470646)
Backed out changeset 22469044267d (bug 1470646)
Backed out changeset e5415b1e22f5 (bug 1470646)
Backed out changeset 13e47fa99a31 (bug 1470646)
Backed out changeset 42964d651f02 (bug 1470646)

--HG--
rename : testing/marionette/capabilities.js => testing/marionette/session.js
rename : testing/marionette/test/unit/test_capabilities.js => testing/marionette/test/unit/test_session.js
2018-07-02 17:56:27 +03:00
Andreas Tolfsen
f4c62fbc7a Bug 1470646 - Update Fxfn tests to use WebDriver conforming platformName. r=whimboo
MozReview-Commit-ID: 1GYS453pA5D

--HG--
extra : rebase_source : 41559fe17782627d23de5745804d01f8d8b39219
2018-06-24 14:03:52 +01:00
Andrew Halberstadt
4af641bef5 Bug 1470397 - Use logger from created from |mach test| in testing/firefox-ui/mach_commands.py, r=whimboo
This will allow |mach test| to run firefox-ui tests.

Differential Revision: https://phabricator.services.mozilla.com/D1844
2018-06-27 19:43:12 +00:00
Adam Gashlin
d3027e6402 Bug 1466071: Part 3: Test session save when quitting quickly. r=whimboo
--HG--
extra : histedit_source : 2cadad8c6f643347541b4ae5dd0538d7f39b8763
2018-06-08 09:09:07 -07:00
Eliza Balazs
00974991a2 Bug 1468197 - remove remaining references in manifests to windows xp. r=jmaher 2018-06-14 05:25:00 +03:00
Adam Gashlin
d696e09ca3 Bug 1458119: Part 2: Test session restore across Windows shutdown. r=Gijs,whimboo
When the Windows OS shuts down, we use a synchronous shutdown mechanism,
this exercises session save and restore in a unique way.

MozReview-Commit-ID: 6sCa3E2wmLY

--HG--
extra : rebase_source : 05014c26faa932165b03f922a63ec9576462bc67
2018-06-07 10:33:55 -07:00
Csoregi Natalia
c60391a8f1 Backed out 2 changesets (bug 1414776) due to a regression on bug 1459910. a=backout
Backed out changeset ed3b0284c348 (bug 1414776)
Backed out changeset 77045639ed6c (bug 1414776)
2018-05-10 19:26:22 +03:00
Henrik Skupin
666cfd2969 Bug 1414776 - [fxui] Reset security.mixed_content.upgrade_display_content preference for mixed content test. r=maja_zf
This regressed by bug 1435733 which didn't clear the pref in tearDown of the test, causing
following tests to still have this preference set.

MozReview-Commit-ID: n9conybbQz

--HG--
extra : rebase_source : fe0dfc7c785c18935035c7320a991edc04f3caae
2018-05-03 15:50:43 +02:00
Henrik Skupin
d96e8560e6 Bug 1414776 - [fxui] Change testcases from mozqa.com to badssl.com and mixed-content-tests-mozilla.org. r=maja_zf
MozReview-Commit-ID: 1iD8HUShPZF

--HG--
extra : rebase_source : 057705bc517ef659cfd2cb9dbdee2eea3e83c5cd
2018-02-09 15:09:21 +01:00
Nika Layzell
4464c02334 Bug 1434768 - Part 3: Rewrite JS consumers of .sessionHistory, r=bz 2018-04-10 17:49:45 -04:00
Dão Gottwald
f8110c1b6a Bug 1451709 - Remove code for the "Restore Tabs From Last Time" button in the tab bar. r=mikedeboer
MozReview-Commit-ID: JMmkE6axBBK

--HG--
extra : rebase_source : 2449c9fd6fe8f59280dbdfe5a1a55bcd2867a665
2018-04-05 14:02:55 +02:00
Johann Hofmann
4a0b3d1219 Bug 1348223 - Part 4 - Add and update tests for removing site data and cookies in the page info window. r=florian
MozReview-Commit-ID: gAaComSklW

--HG--
extra : rebase_source : 8bc84de30f2168bd29def812f5a2550fb9c0e1a6
2018-03-22 17:29:51 +01:00
Kris Maglione
3bff085af2 Bug 1445551: Part 2 - Remove multiprocessCompatible flag. r=aswan
We no longer support legacy extensions with e10s shims, and the only remaining
uses that matter are in-tree test harnesses, which have been fixed. This flag
no longer serves a purpose.

MozReview-Commit-ID: EdCNqF4MttN

--HG--
extra : rebase_source : 0fef334354faa7541628614cb964a29faaa9df41
2018-03-13 19:02:42 -07:00
Cosmin Sabou
c17d867e25 Merge inbound to mozilla-central. a=merge
--HG--
rename : browser/base/content/tabbrowser.js => browser/modules/AsyncTabSwitcher.jsm
2018-03-06 06:27:48 +02:00
Cosmin Sabou
f91bf3091f Bug 1214191 - Disable test_windows.py TestBaseWindow.test_open_close on Windows 10 for frequent failures. r=jmaher 2018-03-05 12:48:00 +02:00
Dão Gottwald
732eeec0ab Bug 1442651 - Remove the tabbrowser element and binding. r=bgrins
MozReview-Commit-ID: 2IXukkFq5C2

--HG--
extra : rebase_source : 4fd817951e19b39b5b06e75614031302177e86b2
2018-03-05 20:33:36 +01:00
Jonathan Kingston
8afc412494 Bug 1435733 - Upgrade mixed display content pref. r=baku,ckerschb,francois,mayhemer
MozReview-Commit-ID: ETIgVF3zhRu

--HG--
extra : rebase_source : e4c59f50584158f4b31527347b10424b56692fa1
2018-02-05 15:37:27 +00:00
Brian Grinstead
1477c8b486 Bug 1438579 - Refer to the tabbrowser element as gBrowser instead of #content;r=dao
Since gBrowser is going to become a plain JS object instead of a DOM node,
we don't want any callers directly referring to the DOM node to get ahold of it.

MozReview-Commit-ID: KbE5dlTWmS

--HG--
extra : rebase_source : ef4caea778db406205b58b9f007846dabb062978
2017-10-05 15:58:45 -07:00
Ian Moody
97404f0db8 Bug 1422934 - Make the tab close button an image, and remove the extends from its binding. r=dao,Gijs
MozReview-Commit-ID: HF0Rqeq8fh8

--HG--
extra : rebase_source : e4ef4e4a3176e8a791235d60d1132754743fbff0
2018-01-11 16:12:07 +00:00
Henrik Skupin
05779d3796 Bug 1407949 - Remove workaround for short content processes from bug 1290186. r=maja_zf
MozReview-Commit-ID: 1spM8GFuCvS

--HG--
extra : rebase_source : 861be1f86e735e4264b5376363898eab614cd913
2017-12-05 09:11:31 +01:00
Henrik Skupin
cd431e85f5 Bug 1422373 - Re-add Firefox UI safebrowsing tests. r=jmaher
MozReview-Commit-ID: 1BitgKPG1JD

--HG--
extra : rebase_source : 3f79d15ef377d0aac546e1227f255fcf0f961ef0
2017-12-01 22:15:44 +01:00
Gijs Kruitbosch
59ffe6e6ca Bug 1408044 - fix miscellaneous tests that depended on about: existing, r=dao
MozReview-Commit-ID: EKsaFbRoBc4

--HG--
extra : rebase_source : 3c22ed909437a7fa98e2126b4eb8b9c669f98173
2017-11-15 17:19:33 +00:00
Gijs Kruitbosch
469382710e Bug 1408044 - stop using about.dtd as an example in firefox-ui/puppeteer/marionette docs/tests, r=whimboo
MozReview-Commit-ID: 4zog9pSgCs9

--HG--
extra : rebase_source : 978a490b010179ded8b7ab3bdddf659fb0a331af
2017-11-14 23:37:04 +00:00
Ciure Andrei
a8907fc95a Backed out 5 changesets (bug 1408044) for failing Android test: TestAboutPagesPreparer.java:24: cannot find symbol. r=backout on a CLOSED TREE
Backed out changeset 5c5152ad910d (bug 1408044)
Backed out changeset c9a062838c12 (bug 1408044)
Backed out changeset 9ceaa645f2a9 (bug 1408044)
Backed out changeset 10fc0a581606 (bug 1408044)
Backed out changeset 513140019014 (bug 1408044)
2017-11-17 12:19:30 +02:00
Gijs Kruitbosch
c1e68c5edc Bug 1408044 - stop using about.dtd as an example in firefox-ui/puppeteer/marionette docs/tests, r=whimboo
MozReview-Commit-ID: 4zog9pSgCs9

--HG--
extra : rebase_source : 546415e95c83591d2077a9d6995e69d091a64f73
2017-11-14 23:37:04 +00:00
Henrik Skupin
5e1acb21e9 Bug 1411314 - Move safebrowsing functional tests from /security to /safebrowsing. r=francois
MozReview-Commit-ID: 5Ue34V7quO6

--HG--
rename : testing/firefox-ui/tests/functional/security/test_safe_browsing_initial_download.py => testing/firefox-ui/tests/functional/safebrowsing/test_initial_download.py
rename : testing/firefox-ui/tests/functional/security/test_safe_browsing_notification.py => testing/firefox-ui/tests/functional/safebrowsing/test_notification.py
rename : testing/firefox-ui/tests/functional/security/test_safe_browsing_warning_pages.py => testing/firefox-ui/tests/functional/safebrowsing/test_warning_pages.py
extra : rebase_source : d9b5b731f7a5824dd0d27eaafcf8ef963d4aef44
2017-10-25 12:51:09 +02:00
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Henrik Skupin
fbfe114eb0 Bug 1407437 - Unskip test_security.py and test_ev_certificate.py. r=jmaher
MozReview-Commit-ID: HIyH04s59Sz

--HG--
extra : rebase_source : 63db01cdc5a322b5ae942b5149b77181c8b76345
2017-10-13 18:16:23 +02:00
Sebastian Hengst
e0650fd3d6 Bug 1407437 - disable test_ev_certificate.py for perma failing for reasons outside of the tree. r=me, a=test-only 2017-10-11 16:11:25 +02:00
Joel Maher
31f7ef0755 Bug 1407437 - disable test_security.py TestSecurity.test_get_address_from_certificate for perma failing for reasons outside of the tree. r=me, a=test-only 2017-10-11 09:12:54 -04:00
Joel Maher
010a888bb6 Bug 1396803 - Disable test_tabbar_session_restore_button.py TestNoTabbarSessionRestoreButton.test_pref_off_button_does_not_show on osx for frequent failures. r=me, a=test-only 2017-10-11 08:45:06 -04:00
Joel Maher
e0bd218ef2 Bug 1407437 - disable test_security.py TestSecurity.test_get_address_from_certificate on windows for perma failing for reasons outside of the tree. r=me, a=test-only 2017-10-11 08:10:50 -04:00
Henrik Skupin
5cf6a1a7a8 Bug 1375660 - Fix test_l10n.py for title text. r=ato
The title is not a visible element and as such getElementText
will return an empty string. Instead use the h1 tag which has
the same content to get this test passing.

MozReview-Commit-ID: FntduPdn1P9

--HG--
extra : rebase_source : 3a9083a949df3e289a0813a4fa3ff05456088d62
2017-10-02 22:25:42 +02:00
Andrew Halberstadt
6b65448914 Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin
MozReview-Commit-ID: JWKB7eOgfWc

--HG--
extra : rebase_source : b81ab806cd2455f4e4fc761863fe699feadd0bb5
2017-09-26 10:47:22 -04:00
Sebastian Hengst
b1575a7d2b Backed out changeset ddfc127526b2 (bug 1403222) for failing python/mozbuild/mozbuild/test/frontend/test_reader.py::TestBuildReader::test_schedules, at least for Linux asan opt builds. r=backout on a CLOSED TREE 2017-10-02 16:03:12 +02:00
Andrew Halberstadt
ef896de9c0 Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin
MozReview-Commit-ID: JWKB7eOgfWc

--HG--
extra : rebase_source : 6c456c91985f2006910bda66fdbc5d18e066d020
2017-09-26 10:47:22 -04:00
Vedant Chakravadhanula
f0c4e7a6c8 Bug 1364349 - Removed platform property of Firefox Puppeteer. r=whimboo
The wrapper puppeteer.platform in Firefox UI test was deemed redundant.

MozReview-Commit-ID: LUocC59bLNF

--HG--
extra : rebase_source : e764ba1d09d3f752e75ec6aed80ca93781c319dc
2017-09-25 14:30:11 +05:30
Prathiksha
874d2b8a45 Bug 1400992 - Fix test_safe_browsing_warning_pages.py. r=francois,whimboo
MozReview-Commit-ID: EIf2ak8Q2YJ

--HG--
extra : rebase_source : 6c8b20253cd059d543bac24322582f192ca0ecb2
2017-09-19 18:42:55 +05:30
Prathiksha
86d7bac5f6 Bug 1363051 - Update about:blocked page visuals and copy. r=francois,johannh
MozReview-Commit-ID: CK2cO5Ikivt

--HG--
extra : rebase_source : 01da86303c4aa20961be609c7f45db39bf7e9f7b
2017-09-04 19:25:05 +05:30
Andrew Halberstadt
2255a9eed7 Bug 1395126 - Support cascading configuration for flake8, r=bc
This allows .flake8 files to override one another, and fixes a pretty bad known
bug with our flake8 implementation. For example, say we have a .flake8 file at:
/foo/.flake8

Before this patch, if we ran |mach lint foo/bar|, the configuration defined in
that .flake8 file wouldn't get picked up. It would only work if running the
specific directory that contains it, e.g |mach lint foo|.

This change additionally allows multiple .flake8 files to be used. So if
there's one defined at both:
/.flake8
/foo/.flake8

Then running |mach lint foo/bar| will first apply the root .flake8, then the
one under /foo (overriding earlier configuration).

This bug still doesn't make flake8 configuration perfect though. Any directory
containing a .flake8 file still needs to be explicitly listed in the "include"
section of /tools/lint/flake8.yml. Otherwise in the example above, if running
|mach lint /|, it wouldn't be able to find /foo/.flake8. This is a hard problem
and is likely best solved by fixing flake8's upstream configuration handling.

Unfortunately this means we still can't switch from a whitelist to a blacklist.

MozReview-Commit-ID: 3DZAi1QHYYo

--HG--
extra : rebase_source : 51298c5847f6c2792581d9b312c87b70fa716ee1
2017-08-29 17:32:31 -04:00
Wes Kocher
a8e6d0bd2c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7XpmaFg1k8N
2017-08-29 16:17:13 -07:00
Ganti Sai Sarath Chandra
6ed789d12b Bug 1378422 - Add python 2 only classifiers to python modules under /testing, r=ahal
MozReview-Commit-ID: DRi8KFyCnBn

--HG--
extra : rebase_source : 3ac98bdc648f8a0e3dc6d3b6d42e19dfc295a396
2017-08-19 04:19:06 +05:30
Erica Wright
6bac72ab5a Bug 1379226 - Add telemetry probes to measure use of session restore button in tab bar. r=Gijs,liuche
MozReview-Commit-ID: 2u5CtatqBBT

--HG--
extra : rebase_source : db4d17bd5c57bfc5fb5bce4da8b7410152e44cc1
extra : source : 5f66dcf6ca5b0b7f0fa79fa564cecd6132aef783
2017-07-11 16:13:56 -04:00
Erica Wright
3c6197157a Bug 1386744 - Better error messages on test failures. r=whimboo
MozReview-Commit-ID: 31bjcc1GL4J

--HG--
extra : rebase_source : 634ef3cc92c7a0cd2800d423d1fee9cd1270e2b3
2017-08-02 13:32:33 -04:00
Francois Marier
efd8a780bd Bug 1387612 - Show Safe Browsing timeouts in Marionette logs. r=whimboo
MozReview-Commit-ID: 2GbcPnakEku

--HG--
extra : rebase_source : 6339c80fbb44d95eab653ac6681d8e8a6d42ab70
2017-08-04 16:57:49 -07:00
David Burns
fbbdbf4726 Bug 1369556 - Disable test_toolbars for high intermittence. r=aryx
MozReview-Commit-ID: 8RYlfUoRMM2

--HG--
extra : rebase_source : c1dcf04a32fed77f6d189c375609a608f9bdf036
2017-07-25 12:20:16 +01:00
Thomas Nguyen
a73c1f5314 Bug 1381745 - Increase server and download timeout when updating SB lists r=hchang
MozReview-Commit-ID: IRXb9QiMYwJ

--HG--
extra : rebase_source : ec35d2a224df11c3c02483e8df4933893c06b73f
2017-07-24 10:30:15 +08:00
Wes Kocher
d45eb771f0 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Ah48RzFU8Mt
2017-07-21 18:20:46 -07:00
Junior Hsu
d7c4392c7c Bug 1373198 - Part 11: Disable rcwn for firefox-ui-test tests which require deterministic cache behavior. r=whimboo 2017-07-20 20:45:00 -04:00
Henrik Skupin
bfe7ce4555 Bug 1368434 - Fix race condition for slow frame script registrations. r=automatedtester
In some cases the registration of the frame script takes longer and as
result the page load events for DOMContentLoaded and pageshow are
missed. With that the current command waits forever and causes a page
load timeout error after 300s.

By checking the readyState of the document before the listeners are
getting attached, we can ensure to return immediately if the document
has already been finished loading.

MozReview-Commit-ID: 17f6jVz7sZZ

--HG--
extra : rebase_source : 1cc27fc9bd4d9b4a39607f8d44692dfc7095b2d7
2017-07-18 15:00:37 +02:00
Erica Wright
3a4f6d8adf Bug 1291844 - Add negative test and quit test to restore windows test file. r=whimboo
MozReview-Commit-ID: 8fQ1nc1I65H

--HG--
rename : testing/firefox-ui/tests/functional/sessionstore/test_restore_windows_after_restart.py => testing/firefox-ui/tests/functional/sessionstore/test_restore_windows_after_restart_and_quit.py
extra : rebase_source : 0775a88b28d90f32a86d462e05138f8ffebc7a69
2017-07-04 15:58:25 -04:00
Thomas Nguyen
25290aba56 Bug 1374268 - Increase waiting time for all safebrowsing files being downloaded r=francois
MozReview-Commit-ID: He4WJWtE5Dl

--HG--
extra : rebase_source : 85b99da442e1c3d69c99520a14c685fcbb90832d
2017-07-17 10:23:36 +08:00
Henrik Skupin
ec26b7c6ea Bug 1360687 - Update puppeteer notification class for webextensions. r=davehunt
To support webextensions in Puppeteer the current restartless
extension gets replaced by a webextension. It allow us to test
at least the permission notification. This patch only adds basic
support.

MozReview-Commit-ID: FKq76qcOxKu

--HG--
extra : rebase_source : 1dc81e80c43d3ec61f3ff405fa7807a08ab1d45e
2017-06-29 15:46:45 -07:00
Gijs Kruitbosch
dd070a9e91 Bug 1352120 - move the bookmarks star into the url bar, r=mak
MozReview-Commit-ID: Ka5Wn2hrb1P

--HG--
extra : rebase_source : e22d25295066386c4becc1a430b78aaa9c40ae4f
2017-06-23 17:35:59 +01:00
Joel Maher
fbbe88a9b4 Bug 1353599 - Intermittent test_about_private_browsing.py TestAboutPrivateBrowsing.testCheckAboutPrivateBrowsing. temporarily disable. r=gbrown
MozReview-Commit-ID: HLRHT7a0pEA
2017-06-23 10:29:47 -04:00
Erica Wright
8f442c723b Bug 1219725 - Add a button for session restore to the tab bar. r=dao,Gijs,mikedeboer,whimboo ui-r=shorlander
MozReview-Commit-ID: 6zrEbIxXp8c

--HG--
extra : rebase_source : 20ba3acdb18e98940e90f099f18c02934dee0e8b
2017-06-20 11:33:55 -07:00
dimi
8ead7e47d1 Bug 1371923 - Only check safebrowsing files when they are in preference in test_safe_browsing_initial_download.py. r=francois
Ensure that we only wait for the providers that are enabled (i.e. have active lists) to avoid waiting forever
and timing out.

In order to check whether or not the google and google4 providers are enabled, we look for lists that start
with "goog" in both the V2 files and the V4 files. We use 'goog' here instead of 'goog-' because there are
both 'goog-xxx-xxx' and 'googpub-xxx-xxx' tables

MozReview-Commit-ID: 72JWZRs3Qxd

--HG--
extra : rebase_source : 93e970ab43c22f41962996f4daf1d4e0a9506923
2017-06-19 10:19:02 +08:00
Wes Kocher
90f13e338d Backed out changeset 4482dcd48309 (bug 1219725) for functional test failures in test_tabbar_session_restore_button.py a=backout
MozReview-Commit-ID: Iqp5eV9cv6L
2017-06-19 13:50:26 -07:00
Erica Wright
4487761ac8 Bug 1219725 - Add a button for session restore to the tab bar. r=dao,Gijs,mikedeboer,whimboo ui-r=shorlander
MozReview-Commit-ID: 7KEKlLFiaij

--HG--
extra : rebase_source : 68d5d2eb1c2e9f305d5e9bdb0aa0914d0343f0e1
2017-06-15 15:35:03 -07:00
Sebastian Hengst
cc82adb848 Backed out changeset c829f7a6cc0d (bug 1219725) for flake8 linting failure at tabbar.py:53: line too long. r=backout 2017-06-19 20:02:52 +02:00
Erica Wright
432d6f2de7 Bug 1219725 - Add a button for session restore to the tab bar. r=dao,Gijs,mikedeboer,whimboo ui-r=shorlander
MozReview-Commit-ID: 7KEKlLFiaij

--HG--
extra : rebase_source : d570502aa448cc9ef656005ad8650b3ca7bfa5ae
2017-06-15 15:35:03 -07:00
DimiL
c301aff125 Bug 1366920 - SafeBrowinsg V4 only in 56. r=francois
MozReview-Commit-ID: KWhPC7YWzAh

--HG--
extra : rebase_source : 7fd8bea46709d2eade501b1ce781857ccdc3f189
2017-06-14 09:56:27 +08:00
Henrik Skupin
ec03b442b1 Bug 1373564 - Force enable update staging mode to prevent perma failures for update tests. r=automatedtester
Bug 1370576 disabled staging of application updates, which is not yet
supported in our firefox-ui update tests. As result there is a hang and
the restart button is never clicked on.

This is just a wallpaper fix and full support might still have to
be integrated if wanted.

MozReview-Commit-ID: 8LF1RKxnMEb

--HG--
extra : rebase_source : 5a268cd891a6577eda163c86fe6ef94fe767fbff
2017-06-16 11:39:23 +02:00
Andrew Halberstadt
c9beaa56b4 Bug 1373294 - Fix E305 (two blank lines after method or class) in files enabled by flake8 linter, r=jmaher
This is needed before we can upgrade to flake8 3.3.0, as that version starts flagging these errors.

These files were modified by running:
autopep8 --select E305 --in-place -r <dir>

on the affected directories. I did it one dir at a time and verified the result after each.

MozReview-Commit-ID: FmlsfiKIbtr

--HG--
extra : rebase_source : 9df32258cadff5d27a0e72113c57f782756c0b18
2017-06-15 12:10:59 -04:00
Henrik Skupin
350d41d533 Bug 1372205 - Fix AutocompleteResults.visible_results() to only return visible items. r=mak
Instead of 'itemCount' the 'maxResults' property of the autocomplete popup
has to be used, because it doens't get increased similar to 'itemCount' but
stays the same all the time.

Further we cannot do an equal check in the puppeteer unit test but only do
a check for 0 < visible results <= maxResults, to ensure that items are
visible. Using the dot instead, should also give us more and more accurate
results across different locales.

MozReview-Commit-ID: KZEhq87kvx7

--HG--
extra : rebase_source : f429730d3f4a8da28b481b42c916145ae82e6bb5
2017-06-12 17:54:17 +02:00
Geoff Brown
e8d6ec9627 Bug 1367780 - Additional changes for eslint on testing/firefox-ui,mozbase,profiles,specialpowers; r=Standard8 2017-05-30 16:06:31 -06:00
Geoff Brown
67daf2d2b0 Bug 1367780 - Enable eslint on testing/firefox-ui,mozbase,profiles,specialpowers - mechanical updates; r=Standard8 2017-05-30 16:06:29 -06:00
Henrik Skupin
cbf941ed71 Bug 1336254 - Use http://no-ssl.mozqa.com to access test pages on mozqa.com without SSL. r=maja_zf
All connections to mozqa.com which do not use SSL have to be done
to a unique subdomain. This was requested to lower the amount of
active HTTP endpoints.

MozReview-Commit-ID: JAFjQFhTCxT

--HG--
extra : rebase_source : 7f584f4a3848b122eadd6e25799d43718352a03d
2017-05-26 18:29:35 +02:00
Ryan VanderMeulen
5cf1e66fd8 Backed out changeset 99ed53cfebd6 (bug 1298803) for causing Windows Marionette hangs. 2017-05-19 12:23:10 -04:00
CuriousLearner
749f6ddade Bug 1298803 - Add test to quit Firefox via a shortcut; r=whimboo
MozReview-Commit-ID: 9z1u0gWj1Wf

--HG--
extra : rebase_source : 2be4e270068a03647fb3d48976006a6c3760042e
2017-05-11 22:09:36 +05:30
Raajit Raj
f9a0958f33 Bug 1357372 - Restrict safebrowsing tests from reaching support.mozilla.org r=whimboo
MozReview-Commit-ID: 1P36My7AxpY

--HG--
extra : rebase_source : f8090da101e279523ec5f0c929bdac9f6051362f
2017-05-11 23:02:42 +05:30
Henrik Skupin
28439aac69 Bug 1362051 - Update tests have to set MOZ_MARIONETTE environment variable. r=ato,maja_zf
To allow update tests to use source builds of Firefox before bug 1355888
was landed, the MOZ_MARIONETTE environment variable has to be be
pre-emptively set. Otherwise Marionette will not be activated after
the update has been applied.

MozReview-Commit-ID: Hqb6SjYtOPR

--HG--
extra : rebase_source : 10f9b4d2545198fc95294381ec1db63f1445c736
2017-05-04 22:10:50 +02:00
Andrew Swan
79a787c063 Bug 1352204 Fix test issues with non-MPC extensions r=kmag
Continue to allow non-multiprocessCompatible extensions in automation.
There are a ton of places that would need to be changed, many of which
will be changing soon anyway with the non-webextensions change in 57
so this is mostly the expedient route to keeping the tree green.

MozReview-Commit-ID: EZZoDVdhLfy

--HG--
extra : rebase_source : f83472bc1c88dd0deadbe485d9002499027ff07f
2017-05-03 08:02:51 -07:00
Sebastian Hengst
a71bcd1f3c Backed out changeset 46dd4a4338a1 (bug 1352204) for timing out Talos suites g2, o and s. r=backout 2017-05-02 20:19:17 +02:00
Andrew Swan
efb4f22c33 Bug 1352204 Fix test issues with non-MPC extensions r=kmag
Continue to allow non-multiprocessCompatible extensions in automation.
There are a ton of places that would need to be changed, many of which
will be changing soon anyway with the non-webextensions change in 57
so this is mostly the expedient route to keeping the tree green.

MozReview-Commit-ID: EZZoDVdhLfy

--HG--
extra : rebase_source : 34aa762917566b052ade6372280caed72fbfbe9a
2017-05-01 10:34:27 -07:00
Henrik Skupin
56bc9b1cb8 Bug 1290850 - Force local update URL for software update unit tests. r=maja_zf
The unit tests for the software update class should not rely on
the remote update URL being reachable. Instead a locally served
URL has to be used.

MozReview-Commit-ID: 8WNoEb0PUWz

--HG--
extra : rebase_source : 85900716de5c868efd8f0411e0c577f317d98d25
2017-04-24 15:09:25 +02:00
Henrik Skupin
bc0f45441c Bug 1304656 - Firefox UI update tests have to use the restart buttons. r=rail
To ensure that we correctly restart Firefox for update tests, the restart
button in the about window or the old software update window have to be
clicked.

MozReview-Commit-ID: 7acl1DcA85d

--HG--
extra : rebase_source : 8af6c300ae34befc2c05e801ea4b5901659c1c2a
2017-04-13 09:41:43 +02:00
Marco Bonardo
19cfdf37f2 Bug 977177 - Update favicons API consumers. r=adw
Updates consumers to the new behavior.
Some consumers are changed to use  the "page-icon:" protocol, since it's not
trivial to join the icons table and get a single result out of it. In most cases
the join would return multiple results since a page can have multiple icon payloads.
These consumers for now will return the biggest payload, bug 1347532 will fix
some of them to properly pass a #size=NN fragment.
Note that, even before, these were just "moz-anno:favicon:" uris, and the
payload had to be fetched from the database.
Some other consumers for now just fallback to the largest payload, by passing 0
to GetFaviconURLForPage.

The favicon optimization still happens on the main-thread, bug 1346139 will
handle that problem.

Most of the changes involve handling the modified IconData objects, that now
retain an array of payloads, rather than just one. But note that .ico files are
not yet split into single frames, due to imagelib missing APIs that will be handled
in bug 1337402.
The other changes involve fixing queries to properly join with the new tables.

Finally, note that thanks to the FOREIGN KEYS support, removing from moz_icons or
moz_pages_w_icons will also remove relations from moz_icons_to_pages.

The system only supports square icons, so icons are resized based on their larger side.

This doesn't include new tests, those will be in a following changeset.

MozReview-Commit-ID: JUkpquhpS8y

--HG--
rename : toolkit/components/places/tests/unit/test_svg_favicon.js => toolkit/components/places/tests/favicons/test_svg_favicon.js
extra : rebase_source : fa49c4a81d6ab6b34a2f19ee4175e889a6e9d734
2016-09-28 16:14:30 +02:00
Henrik Skupin
23d9f2b3f8 Bug 1355009 - Temporarily disable usage of simplified update ui. r=ato
As long as update tests do not support the new simplified update ui
it has to be kept disabled.

MozReview-Commit-ID: 4fC0CYhp7Pc

--HG--
extra : rebase_source : f3558973b0153fe2104f0e612120298d711fc491
2017-04-11 14:01:17 +02:00
Henrik Skupin
5e93b9bf5c Bug 1355009 - Harden update tests with better error messages. r=ato
To ensure better failure messages a refactoring of checks has to be done. It
includes the following changes:

* No further checks for a follow-up (watershed) update. It's not supported
and as such doesn't need assertions (bug 1353717)

* Checks for fallback updates have to be made to ensure that an invalidated
partial/complete update does not cause an upgrade of Firefox during the restart.

MozReview-Commit-ID: CLb0aXoIur2

--HG--
extra : rebase_source : e41f2463cef695f6f9984ea2ee6f7d43196a9138
2017-04-11 13:42:44 +02:00
Henrik Skupin
ae75f65631 Bug 1355009 - Force update tests to only allow a single update. r=ato
There was never a need to run a multiple-update step in the past, and as
we agreed a while ago it is not something we want to do in the future.
It means that watershed releases will have to be tested by issuing
multiple update tests.

MozReview-Commit-ID: 7cmK3gEOkv1

--HG--
extra : rebase_source : dac6bcf5d4505febc9b6ffb6333cf77b41d4dc4a
2017-04-11 11:18:26 +02:00
Francois Marier
becf618cc2 Bug 1330253 - Enable test_safe_browsing_initial_download on try. r=dustin,whimboo
MozReview-Commit-ID: 7SruSkfIhzI

--HG--
extra : rebase_source : cd0a105f28862acbc5ed60fa0fd007e3426235d3
2017-01-13 14:11:19 -08:00
Wes Kocher
e49669a5aa Backed out changeset 78ac10622294 (bug 1330253) for firefox ui test failures a=backout 2017-03-31 16:07:10 -07:00
Francois Marier
66bd7f53bc Bug 1330253 - Enable test_safe_browsing_initial_download on try. r=dustin,whimboo
MozReview-Commit-ID: 7SruSkfIhzI

--HG--
extra : rebase_source : 42321a84bda51f138723697ee0566bcb3a0fe8b0
2017-01-13 14:11:19 -08:00