Commit Graph

507 Commits

Author SHA1 Message Date
Chung-Sheng Fu
740ea4eb87 Bug 1413780 - Add a test for canvas permission to test_SitePermissions.js r=johannh
MozReview-Commit-ID: 6ZS1a9nkZfQ

--HG--
extra : rebase_source : cf68830cf5c5816e0487a14aacfa04c3e8eafa47
2017-12-14 11:42:17 -06:00
Florian Quèze
0f55cd45be Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
Florian Quèze
032c961e0a Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Florian Quèze
1158645bdd Bug 592653 - script-generated patch to replace gPrefService with Services.prefs, r=Standard8. 2017-12-19 23:45:10 +01:00
Jonathan Kingston
2cb1afc933 Bug 1420622 - Remove feed and pcast protocols. r=Gijs
MozReview-Commit-ID: KAC9MmLiuBG

--HG--
extra : rebase_source : 076fc5a6acc75362ceffee1b5150e1598af41673
2017-12-19 16:12:29 +00:00
Masatoshi Kimura
295faed3f9 Bug 1418914 - Move E10SUtils.jsm into toolkit/. r=mossop
MozReview-Commit-ID: EgDzEEKAeh1

--HG--
rename : browser/modules/E10SUtils.jsm => toolkit/modules/E10SUtils.jsm
extra : rebase_source : 0920ce818773af797a0daf3cf4ae90af41d71d2a
2017-12-12 21:35:16 +09:00
Bill McCloskey
9f4d083047 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Bogdan Tara
8e9610529d Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-07 13:02:03 +02:00
Andreea Pavel
89531e8dc3 Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bill McCloskey
bef7c122df Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca
eb65c24c7b Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey
be77cf4a01 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Ryan VanderMeulen
d945b2a059 Bug 1423667 - Disable some tests that fail on Windows Code Coverage builds with clang-cl r317840. rs=marco
--HG--
extra : histedit_source : d2f4b4d59301469c4cabb7198f0f98c5247eab84
2017-12-06 20:40:46 -05:00
Edouard Oger
7fabe73930 Bug 1422106 - Show broken heart when unverified in synced tabs sidebar/panel. r=markh
MozReview-Commit-ID: BDTdmcIOHmn

--HG--
extra : rebase_source : c2b534461715f8db1e6cb8bc7910311cc4ff6611
2017-11-30 16:01:40 -05:00
Jessica Jong
171f326899 Bug 1418020: No need to hide form validation popoup onLocationChange. r=Felipe
We already hide the popup when element blurs, which is fired when navigating to
another page.

MozReview-Commit-ID: 5GvlX1CiOQL
2017-12-04 14:15:28 +08:00
Tooru Fujisawa
7934bad6c5 Bug 1421028 - Wait for stable state before starting in browser/modules/test/browser/browser_urlBar_zoom.js. r=Mossop 2017-11-29 19:59:45 +09:00
Edouard Oger
c5d46f4966 Bug 1417520 p1 - Show message to unverified users in synced tabs sidebar. r=markh
MozReview-Commit-ID: KYlbWLg2Kj0

--HG--
extra : rebase_source : efff1dfda3a0e4134e08501848bc66f674aa292d
2017-11-16 15:29:23 -05:00
Dan Banner
b2e847755c Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
MozReview-Commit-ID: GrlcOI9K2hJ

--HG--
extra : rebase_source : 6574cf3c67eb11733ffd9999c260f71c8551abc4
2017-05-28 19:57:46 +01:00
Drew Willcoxon
65176851c3 Bug 1417036 - "Save to Pocket" drop down menu glitches. r=Gijs
MozReview-Commit-ID: 1JPOmQNLn26

--HG--
extra : rebase_source : ec596c222caa916b02897cbbd36f4a9ae614e518
2017-11-15 10:44:47 -08:00
Valentin Gosu
a77a5282f4 Bug 1416343 - Mark URI interfaces as [builtinclass] r=bagder
MozReview-Commit-ID: 4T0uCkHP1a6

--HG--
extra : rebase_source : fa720f35df16985bcd929a98aeeaf9fbc759c1e6
2017-11-15 13:34:23 +01:00
Margareta Eliza Balazs
3edf7872fb Backed out changeset cfe4b1e6be9b (bug 1416343) for ESlint failing in modules/test/browser/browser_SitePermissions_tab_urls.js:38:14 r=backout on a CLOSED TREE 2017-11-15 13:46:07 +02:00
Dão Gottwald
555d47bbb5 Bug 1215335 - Remove unused notification-inner container. r=bgrins
MozReview-Commit-ID: C9kKRpD3AzU

--HG--
extra : rebase_source : 7f3dde91b73084783c63733f0c823ec0e7e80b90
2017-11-15 11:36:22 +01:00
Valentin Gosu
ba207f8c8c Bug 1416343 - Mark URI interfaces as [builtinclass] r=bagder
MozReview-Commit-ID: 4T0uCkHP1a6

--HG--
extra : rebase_source : 89c283360bc0b30aad34641b4cdce8f5c49615b3
2017-11-13 20:18:46 +01:00
Drew Willcoxon
46c5139ac2 Bug 1413574 - Hide disabled page actions and offer a "Manage Extension" command for actions in extensions. r=Gijs
MozReview-Commit-ID: HJpu9Jfi2bB

--HG--
extra : rebase_source : ee219138b8df1744c223d81281d9525c3d7b7227
2017-11-10 11:06:02 -05:00
Neil Deakin
ee8929c13f Bug 380637, add site-specific permissions to prevent pages from overriding keyboard shortcuts. This is done by preventing the key combination from being sent to the content page, r=felipe
Users can block the overriding of shortcuts using the permissions tab of the page info dialog, as with other permissions. Site permissions also allows the use of permissions.default.shortcuts to block overriding shortcuts for all sites.
2017-11-09 18:42:39 -05:00
Phil Ringnalda
54c283afaf Bug 1413092 followup, redisable browser_validation_iframe.js, it's not quite ready yet
MozReview-Commit-ID: 9myhmqRjXVf
2017-10-31 22:22:00 -07:00
Matthew Noorenberghe
67d4b55c85 Bug 1413092 - Cleanup and move formValidation b-c tests. r=Felipe
MozReview-Commit-ID: 9lVE2ulrtV7

--HG--
rename : browser/base/content/test/general/browser_bug561636.js => browser/modules/test/browser/formValidation/browser_form_validation.js
rename : browser/base/content/test/general/browser_bug595507.js => browser/modules/test/browser/formValidation/browser_validation_iframe.js
rename : browser/modules/test/browser/browser_bug1319078.js => browser/modules/test/browser/formValidation/browser_validation_invisible.js
extra : rebase_source : b2109c88d799d3592f4425bc216aff20a8409c39
2017-10-31 21:18:07 -07:00
Phil Ringnalda
9ac65f67a4 Backed out changeset fdebe274e971 (bug 1413092) for failures in test_mozbuild_reading.py
CLOSED TREE

MozReview-Commit-ID: JA9UPvYmWMF

--HG--
rename : browser/modules/test/browser/formValidation/browser_form_validation.js => browser/base/content/test/general/browser_bug561636.js
rename : browser/modules/test/browser/formValidation/browser_validation_iframe.js => browser/base/content/test/general/browser_bug595507.js
rename : browser/modules/test/browser/formValidation/browser_validation_invisible.js => browser/modules/test/browser/browser_bug1319078.js
2017-10-31 20:27:48 -07:00
Matthew Noorenberghe
f610ae3d0d Bug 1413092 - Cleanup and move formValidation b-c tests. r=Felipe
MozReview-Commit-ID: 9lVE2ulrtV7

--HG--
rename : browser/base/content/test/general/browser_bug561636.js => browser/modules/test/browser/formValidation/browser_form_validation.js
rename : browser/base/content/test/general/browser_bug595507.js => browser/modules/test/browser/formValidation/browser_validation_iframe.js
rename : browser/modules/test/browser/browser_bug1319078.js => browser/modules/test/browser/formValidation/browser_validation_invisible.js
extra : rebase_source : 0883eee8c6cea0c1e9d4462ecbee50994bd7d7be
2017-10-30 22:12:35 -07:00
Sebastian Hengst
f07fc93141 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4PW6ESqLL73
2017-10-30 23:52:23 +01:00
Chris H-C
75fc345254 bug 1406391 - Remove toolkit.telemetry.enabled manipulation from tests r=Dexter
Minor note:
reftests should've turned off uploadEnabled in the first place.
reftests should have unified telemetry on. It's the future.

MozReview-Commit-ID: 9spzuUAXwwP
2017-10-30 10:47:39 -04:00
Drew Willcoxon
e487a36e83 Bug 1395387 - Reconcile WebExtension page actions and Photon page actions: Photon page actions changes part 2, purge cache on shutdown. r=mikedeboer
MozReview-Commit-ID: LEMywaJu8xM

--HG--
extra : rebase_source : 965816bef4ae5708eb088416bb5de923493974fc
2017-10-27 17:39:47 -04:00
Drew Willcoxon
6d7492ef9b Bug 1395387 - Reconcile WebExtension page actions and Photon page actions: Photon page actions changes. r=Gijs
MozReview-Commit-ID: 5NOc9N2idRE

--HG--
extra : rebase_source : 17e91f9b85bfb49d6fdf29c25bfba7a7c4f86452
2017-10-27 17:39:38 -04:00
Phil Ringnalda
4bc2b1615d Backed out 4 changesets (bug 1408433, bug 1406391, bug 1408512) for crashing tests by touching the network contacting incoming.telemetry.mozilla.org on nightly builds
Backed out changeset 9bfd4b0927dc (bug 1408433)
Backed out changeset 555850d5107e (bug 1408512)
Backed out changeset 15d959b9123e (bug 1406391)
Backed out changeset e1f34ba9cecc (bug 1406391)

MozReview-Commit-ID: BVoGRsD73Hf
2017-10-27 21:08:27 -07:00
Chris H-C
8e6dd31d55 bug 1406391 - Remove toolkit.telemetry.enabled manipulation from tests r=Dexter
Minor note:
reftests should've turned off uploadEnabled in the first place.

MozReview-Commit-ID: 9spzuUAXwwP
2017-10-27 10:59:43 -04:00
Prathiksha
e177125c34 Bug 1334411 - Remove the UI for indexedDB in Permissions section of PageInfo and the identity block. r=johannh
MozReview-Commit-ID: 4Q9H1Aq4O2B

--HG--
extra : rebase_source : ef9673e637972a024c30eea77e5b51b39b6310d5
2017-10-04 19:59:19 +05:30
Mike Conley
dd33d08c01 Bug 1407631 - Wait about 10 minutes after browser session start before scanning for unsubmitted crash reports. r=gsvelto
While the crash reporter client is submitting a crash report, the report itself
stays in the crashes directory. We suspect that in some cases, if the browser starts
up while the crash reporter client is still sending the report, the unsubmitted
crash report handler will also attempt to send the same report.

This patch makes the unsubmitted crash report handler wait approximately 10 minutes
after the session starts before doing the unsubmitted crash report scan.

MozReview-Commit-ID: KkrPDa1Qwv1

--HG--
extra : rebase_source : cafecef5776a21a76c64300eb53fdde28e09d18b
2017-10-24 16:55:24 -04:00
Mike Conley
2533270588 Bug 1391594 - Test that closing a window with a <xul:browser> with a hanging script causes that script to terminate. r=billm
MozReview-Commit-ID: HwG0hcFdBtG

--HG--
extra : rebase_source : 4605a184d312ab5f37c484f862ab2b1dc7a6731a
2017-10-13 16:23:37 -04:00
Mike Conley
e9f61a739a Bug 1391594 - Add a test that checks that hangs are dealt with on shutdown. r=billm
MozReview-Commit-ID: FvHrufdCw6d

--HG--
extra : rebase_source : 773dc4ad043906bf096493a4f0b7f1247e79fe21
2017-10-02 14:37:42 -04:00
Johann Hofmann
15b4f36f56 Bug 1379560 - Part 2 - Add support for custom default permissions in SitePermissions.jsm. r=Paolo
Part 1 added support for changing default permissions via pref. This
patch adds support in the frontend code, which is required to actually
make it work for most permission prompts.

This patch introduces the concept of SitePermissions.PROMPT (which
already exists in the permission manager) to distinguish between
the default UNKNOWN state and the explicit PROMPT state. They both
have the same effect (always asking the user for confirmation).

MozReview-Commit-ID: 2Gg9uwigter

--HG--
extra : rebase_source : 2c8da24f849cee53e17be8897c0b320ca9e39e7e
2017-07-10 23:33:37 +02:00
Panos Astithas
e670592385 Bug 1406234 - Remove historical search suggestions and move search suggestions on top. r=mak
MozReview-Commit-ID: 9SbHU63amlN

--HG--
extra : rebase_source : 57fcce07fe60f2f3b4023abb4f34a5c2f624a99f
2017-10-13 17:13:25 +03: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
Marco Bonardo
c14d0488a0 Bug 1356758 - Intermittent timeouts in browser_UsageTelemetry_urlbar.js. r=adw
MozReview-Commit-ID: 3pCG35lHis2

--HG--
extra : rebase_source : 23427009c0848ef4bcd09280567da065539747bd
2017-10-04 17:39:59 +02:00
Drew Willcoxon
b852f82f5a Bug 1385882 - Intermittent browser/base/content/test/urlbar/browser_page_action_menu.js | Test timed out. r=Gijs
MozReview-Commit-ID: 8uzQAPQEldP

--HG--
extra : rebase_source : 3f7723da3e0b52abb6edcd4e571b37bed8ab965d
2017-10-02 10:55:00 -07:00
Drew Willcoxon
132b4582e5 Bug 1380021 - Remove 5000ms timeout from browser_PageActions.js test. r=Gijs
MozReview-Commit-ID: EQBbKIdN235

--HG--
extra : rebase_source : 8cec83d6031841611a06abf7f0c4725615740fec
2017-09-19 16:29:50 -07:00
Alessio Placitelli
5a6918d43b Bug 1400202 - Move URI/domain tests out of browser_UsageTelemetry.js. r=Gijs
MozReview-Commit-ID: LZYwQGhwEuN

--HG--
rename : browser/modules/test/browser/browser_UsageTelemetry.js => browser/modules/test/browser/browser_UsageTelemetry_domains.js
extra : rebase_source : c4a567b4b0fe7e7e115be3de55a3405ee13ef5a5
2017-09-15 15:12:15 +02:00
Mike Conley
2e651bf46f Bug 1399796 - UnsubmittedCrashHandler should never check for unsubmitted crash reports if disabled or suppressed. r=Felipe
Bug 1355492 moved the logic for scanning for unsubmitted crash reports out of the initialization
of UnsubmittedCrashHandler, and the initialization is what decided whether or not it was
appropriate to scan in the first place. This was done so that scanning could be deferred
until idle after first paint.

This patch makes it so that the scanning logic first ensures that the UnsubmittedCrashHandler
is actually enabled and not suppressed (which is calculated earlier).

I've also taken the liberty of adding a regression test.

MozReview-Commit-ID: 3Aihom5Q17R

--HG--
extra : rebase_source : 0430dc2464acfd7b648ba9d4658ab3fb01606570
extra : source : 593ef0951840f01384def383c2690cc90767a118
2017-09-15 09:25:04 -07:00
Sebastian Hengst
a772602f0e Backed out changeset 1256cadba71b (bug 1399796) for eslint failure at browser/modules/ContentCrashHandlers.jsm:675: Async method 'checkForUnsubmittedCrashReports' expected no return value. r=backout 2017-09-15 19:31:36 +02:00
Mike Conley
44acce0c1a Bug 1399796 - UnsubmittedCrashHandler should never check for unsubmitted crash reports if disabled or suppressed. r=Felipe
Bug 1355492 moved the logic for scanning for unsubmitted crash reports out of the initialization
of UnsubmittedCrashHandler, and the initialization is what decided whether or not it was
appropriate to scan in the first place. This was done so that scanning could be deferred
until idle after first paint.

This patch makes it so that the scanning logic first ensures that the UnsubmittedCrashHandler
is actually enabled and not suppressed (which is calculated earlier).

I've also taken the liberty of adding a regression test.

MozReview-Commit-ID: 3Aihom5Q17R

--HG--
extra : rebase_source : 2284ae29bc9c7eb9e457086adcd78b70dabb61fa
extra : source : 593ef0951840f01384def383c2690cc90767a118
2017-09-15 09:25:04 -07:00
Dão Gottwald
e9674fb263 Bug 1384686 - Use currentColor with a fill-opacity for toolbar button icons. r=ntim
MozReview-Commit-ID: G5G9i29KIac

--HG--
extra : rebase_source : c9d04802df66bff1e3848b3fa555a2d56ea897ab
2017-09-15 13:00:40 +02:00