Commit graph

1077 commits

Author SHA1 Message Date
Mike de Boer
5d842c0354 Bug 1518545 - Remove the superfluous 'engine-current' Search Service observer topic in favour of 'engine-default'. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D27857

--HG--
rename : toolkit/components/places/tests/unifiedcomplete/test_search_engine_current.js => toolkit/components/places/tests/unifiedcomplete/test_search_engine_default.js
extra : moz-landing-system : lando
2019-04-17 09:45:24 +00:00
Dale Harvey
ec391f3454 Bug 1544077 - Remove unused recordSearchURLTelemetry idl definition. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D27725

--HG--
extra : moz-landing-system : lando
2019-04-16 15:50:50 +00:00
Nihanth Subramanya
0f3e51207d Bug 1416163 - Implement EveryWindow.jsm to run arbitrary per-window code. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26947

--HG--
extra : moz-landing-system : lando
2019-04-16 16:17:25 +00:00
Drew Willcoxon
c1f323bbe7 Bug 1541929 - Don't autofill the first result in some cases. r=mak
We need to handle autofilling the first result separately from autofilling results in general (which happens in UrlbarInput.setValueFromResult), so add a new UrlbarInput.autofillFirstResult method. The controller calls it instead of setValueFromResult. I ported the logic from nsAutoCompleteController, as described in the bug.

Other changes are related to the new test for this.

As part of this work, I was interested in learning how awesomebar handles browser_autoFill_typed.js, so I added it to the legacy tests, with a small tweak in the test for awesomebar.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 13:15:30 +00:00
Paul Zuehlcke
6fdf832adc Bug 1492668 - Store temporary site permissions by base domain to mitigate permission notification spam r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26704

--HG--
extra : rebase_source : 84cd5ee40755276ae9f6adeee9d6d06e65bb0607
extra : source : 1839a68aea956a9c69f305f1c6b493a20e72a2d7
2019-04-09 12:56:47 +00:00
Cosmin Sabou
b956e6c5d1 Backed out changeset 1839a68aea95 (bug 1492668) for assertion failures on GMPParent.cpp. CLOSED TREE 2019-04-09 17:11:28 +03:00
Paul Zuehlcke
3badc9750a Bug 1492668 - Store temporary site permissions by base domain to mitigate permission notification spam r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26704

--HG--
extra : moz-landing-system : lando
2019-04-09 12:56:47 +00:00
phoenixabhishek
b66ed5ba6f Bug 1521919 - SitePermissions.get should check for nsIURI. r=johannh
functions now throw an error if the uri parameter is not an nsIURI.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 05:40:23 +00:00
Jan-Erik Rediger
6bc73bc6a2 Bug 1529696 - Rename DATASET_RELEASE_CHANNEL_OPTOUT/OPTIN to DATASET_ALL/PRERELEASE_CHANNELS everywhere r=chutten
Depends on D25934

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:12:11 +00:00
Johann Hofmann
8885eb3fe6 Bug 1540088 - Require user interaction for push notification permission prompts in Nightly. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D25418

--HG--
extra : moz-landing-system : lando
2019-03-29 18:08:20 +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
Andrei Oprea
8975211e35 Bug 1505535 - Add tab usage probes for pinned tabs r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D24031

--HG--
extra : moz-landing-system : lando
2019-03-26 09:12:10 +00:00
Ciure Andrei
559632b9f9 Backed out changeset 01cdf8342a49 (bug 1521919) for test_SitePermissions.js perma failures CLOSED TREE 2019-03-22 18:01:27 +02:00
phoenixabhishek
54f5273656 Bug 1521919 - SitePermissions.get should check for nsIURI. r=johannh
functions now throw an error if the uri parameter is not an nsIURI.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 10:32:30 +00:00
Gijs Kruitbosch
1e96300cf3 Bug 1353013 - create preloaded newtab browser from an idle task, only in top window(s), r=dthayer
This limits us to 1 preloaded browser per window, in the top 3 normal windows + top 3 private windows.
If we try to create additional browsers beyond that, we instead move a pre-existing browser across.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 17:29:48 +00:00
shindli
a7af1edc71 Backed out 3 changesets (bug 1353013) for a11y failures in accessible/tests/mochitest/relations/test_tabbrowser.xul CLOSED TREE
Backed out changeset af8bce2330e9 (bug 1353013)
Backed out changeset a3d1302b06c0 (bug 1353013)
Backed out changeset 976afd1adf84 (bug 1353013)
2019-03-18 18:21:16 +02:00
Gijs Kruitbosch
e306931fb1 Bug 1353013 - create preloaded newtab browser from an idle task, only in top window(s), r=dthayer
This limits us to 1 preloaded browser per window, in the top 3 normal windows + top 3 private windows.
If we try to create additional browsers beyond that, we instead move a pre-existing browser across.

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

--HG--
extra : moz-landing-system : lando
2019-03-12 14:34:39 +00:00
Edouard Oger
d391c790bc Bug 1532514 - Update sinon to v7.2.7. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D22046

--HG--
extra : moz-landing-system : lando
2019-03-12 19:32:40 +00:00
Dorel Luca
eb794cd9b8 Backed out changeset 4b280518c7b1 (bug 1532514) for Browser-chrome failures in browser/components/syncedtabs/test/browser/browser_sidebar_syncedtabslist.js. CLOSED TREE 2019-03-12 03:59:56 +02:00
Edouard Oger
565385661c Bug 1532514 - Update sinon to v7.2.7. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D22046

--HG--
extra : moz-landing-system : lando
2019-03-12 00:18:16 +00:00
Chris H-C
67158f5316 Bug 1527299 - Update callers of assertEvents to new form r=Standard8
Depends on D20866

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

--HG--
extra : moz-landing-system : lando
2019-02-26 21:20:03 +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
Gabriele Svelto
5bc9e5bb2b Bug 675539 - Unload tabs in low-memory scenarios r=mconley
This adds a mechanism that discards tabs when the browser detects a low-memory
scenario. Tabs are discarded in LRU order prioritizing regular tabs over
pinned ones, pinned ones over tabs playing audio and all of the previous over
pinned tabs playing audio.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 22:24:27 +00:00
Felipe Gomes
8fdc40f64b Bug 1530767 - Don't limit bug 1529380 improvements to the handoff-to-awesomebar flow. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D21246

--HG--
extra : moz-landing-system : lando
2019-02-27 17:37:49 +00:00
Felipe Gomes
e33554f4c4 Bug 1529380 - ContentSearch shouldn't do XHR for non-data URLs. r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D20613

--HG--
rename : browser/components/search/test/browser/testEngine.xml => browser/modules/test/browser/testEngine_chromeicon.xml
extra : moz-landing-system : lando
2019-02-22 06:42:00 +00:00
Gurzau Raul
dd9cb929e6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-21 23:56:21 +02:00
Junior Hsu
b7e28eddd2 Bug 1507110 - Allow hijacking localhost only if network.proxy.allow_hijacking_localhost is set r=Gijs,mayhemer,mkaply,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D19325

--HG--
extra : moz-landing-system : lando
2019-02-19 21:53:22 +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
Mark Banner
5b24b600be Bug 1528255 - In browser_UsageTelemetry*, correct the checks for the urlbar navigation scalar to only look at the specific scalar to avoid intermittents. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D20198

--HG--
extra : moz-landing-system : lando
2019-02-19 09:46:44 +00:00
Gijs Kruitbosch
ca77a3ac16 Bug 1529577 - stop tracking window minimization in BrowserWindowTracker, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D19186

--HG--
extra : rebase_source : 16e601fa7ce3b2381c245417b00a7f204b0a7923
2019-02-08 16:34:41 +00:00
Mark Banner
0df151fa88 Bug 1500476 - Re-implement FX_URLBAR_SELECTED_RESULT_METHOD on the new Quantumbar. r=dao
This doesn't enable the rightClick option for telemetry reporting as that is complicated to support, see bug 1528250.

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

--HG--
extra : moz-landing-system : lando
2019-02-17 06:57:58 +00:00
Mark Banner
10cebf3c34 Bug 1515083 - Re-implement telemetry for selected index/type on QuantumBar. r=adw
This makes the browser_UsageTelemetry_urlbar*.js tests pass for the all of the
FX_URLBAR_SELECTED_RESULT_* histograms apart from the "METHOD" one which will be handled
in bug 1500476.

I have handled the recording of telemetry in the controller, as this seems a better
location than BrowserUsageTelemetry.jsm due to needing to reach into the results and obtain
specific details.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 14:57:23 +00:00
Mark Banner
bc8b48262e Bug 1515083 - Extend urlbar telemetry tests to cover most reported result types. r=adw
This add checks for everything bar 'preloaded-top-site' which isn't used/enabled at the moment (bug 1527888).

Depends on D19709

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

--HG--
extra : moz-landing-system : lando
2019-02-15 14:57:13 +00:00
Mark Banner
0baadc8693 Bug 1522504 - Update browser_PageActions.js and browser_UsageTelemetry_urlbar.js to be able to run with QuantumBar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D19709

--HG--
extra : moz-landing-system : lando
2019-02-14 22:23:43 +00:00
Johann Hofmann
a13167c2c6 Bug 1523272 - Add unit tests for the SiteDataManager. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17871

--HG--
extra : moz-landing-system : lando
2019-02-14 22:53:49 +00:00
Bogdan Tara
4c0cf6db45 Backed out 3 changesets (bug 1523272) for ES Linut failure CLOSED TREE
Backed out changeset 80d103201d1d (bug 1523272)
Backed out changeset bbd8f0b2e3b2 (bug 1523272)
Backed out changeset bf2ec5cdc33b (bug 1523272)
2019-02-14 18:29:54 +02:00
Johann Hofmann
62dfb471d3 Bug 1523272 - Add unit tests for the SiteDataManager. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17871

--HG--
extra : moz-landing-system : lando
2019-02-14 15:22:37 +00:00
Mark Striemer
911fb7280f Bug 1500147 - Part 3: Record add-on manager telemetry for page/browser actions r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D18003

--HG--
extra : moz-landing-system : lando
2019-02-07 16:43:02 +00:00
Varun Dey
2c911ec44a Bug 1524227 Replacing getParentProcessScalar with generic getProcessScalar r=chutten
Replacing existing getParentProcessScalars with a generic implementation of getProcessScalars

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

--HG--
extra : moz-landing-system : lando
2019-02-07 18:11:56 +00:00
Dorel Luca
28f51339d1 Backed out 3 changesets (bug 1523272) for Browser-chrome and tv failures in browser/components/preferences/in-content/tests/siteData/browser_siteData3.js
Backed out changeset ddf39b3e96df (bug 1523272)
Backed out changeset 8fbf00832008 (bug 1523272)
Backed out changeset 7250b9f956b6 (bug 1523272)
2019-02-07 13:55:33 +02:00
Johann Hofmann
a23b44bd06 Bug 1523272 - Add unit tests for the SiteDataManager. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17871

--HG--
extra : moz-landing-system : lando
2019-02-07 09:02:45 +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
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
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
Dorel Luca
cc75d50ac9 Backed out 2 changesets (bug 1520436) for browser-chrome failures in browser/base/content/test/permissions/browser_permissions.js
Backed out changeset 031aee32565c (bug 1520436)
Backed out changeset 1428560105ca (bug 1520436)
2019-01-23 19:35:50 +02:00
alwu
13015c68d3 Bug 1520436 - part2 : modify test. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D16771

--HG--
extra : moz-landing-system : lando
2019-01-23 16:23:16 +00:00
shindli
42595cea0a Backed out 2 changesets (bug 1520436) for TV failures in browser/base/content/test/permissions/browser_permissions.js CLOSED TREE
Backed out changeset 4752a33b4c3a (bug 1520436)
Backed out changeset 10716b2122dc (bug 1520436)
2019-01-23 03:20:13 +02:00
alwu
6433e31707 Bug 1520436 - part2 : modify test. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D16771

--HG--
extra : moz-landing-system : lando
2019-01-22 18:16:52 +00: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
Michael Kelly
28e4764f00 Bug 1509888: Remove Browser Error Collection. r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D15879

--HG--
extra : moz-landing-system : lando
2019-01-15 18:04:28 +00:00
Mark Banner
537292585c Bug 1518152 - Create a TelemetryTestUtils.jsm and start using it in browser/modules/test. r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D15839

--HG--
extra : moz-landing-system : lando
2019-01-09 09:08:42 +00:00
alwu
294f48db51 Bug 1513039 - part12 : remove temporary allow. r=daleharvey,florian
After removing autoplay doorhanger, we won't have temporary allow.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:42:55 +00:00
alwu
3e5817542c Bug 1513039 - part8 : remove autoplay prompt front-end codes. r=florian,daleharvey,flod
Remove autoplay prompt related js codes.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 18:38:26 +00:00
Ed Lee
e5ecdc6d96 Bug 1516272 - Add search hand-off, discovery stream and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D15307

--HG--
extra : moz-landing-system : lando
2019-01-03 01:23:21 +00:00
Gurzau Raul
4a500304ba Backed out changeset 5990f24b16ef (bug 1516272) for failing at browser_google_behavior.js on a CLOSED TREE 2019-01-03 01:15:52 +02:00
Ed Lee
3d659c0a32 Bug 1516272 - Add search hand-off, discovery stream and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D15307

--HG--
extra : moz-landing-system : lando
2019-01-02 21:09:23 +00:00
Andrea Marchesini
c7a7810165 Bug 1513890 - Get rid of x-moz-errormessage attribute, r=edgar 2018-12-15 09:54:02 +01:00
Gijs Kruitbosch
af9411f355 Bug 1513567 - fix version compare for browser error tests, r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D14606

--HG--
extra : moz-landing-system : lando
2018-12-14 20:41:21 +00:00
Bogdan Tara
b6a18773a4 Merge inbound to mozilla-central. a=merge 2018-12-14 00:42:20 +02:00
Ehsan Akhgari
d4b2c4dbef Bug 1511818 - Keep track of unique domains with a valid hostname for the purposes of the automatic access grant heuristics of the Storage Access API r=mikedeboer
This is an attempt to fix a Talos regression caused by the cost of URL
parsing.  The approach I'm taking here is to modify the requirements of
bug 1509047 part 2 slightly so that I can remove the expensive code
which resulted in the Talos regression.

The change in behaviour is that the automatic access grants for the
Storage Access API will use the number of unique domains visited in the
session as opposed to the number of unique origins visited.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 15:21:32 +00:00
Daniel Stenberg
704416cc5c Bug 1503393 - adjust tests for localhost proxying r=mayhemer
--HG--
extra : rebase_source : 49fd0951c9bce6058a1a54a4772891aa28ebb354
extra : source : 52e8ef71af9b837be53b294d09381d70c5efceba
2018-12-03 16:28:14 +02:00
Shane Caraveo
b8b0e4b612 Bug 1506653 support disabling page action for private windows, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D11805

--HG--
extra : moz-landing-system : lando
2018-11-20 18:24:38 +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
Mark Banner
833371676c Bug 1512052 - Update some directories in .eslintignore, and correct a few .eslintrc.js files. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D13745

--HG--
rename : browser/components/attribution/test/.eslintrc.js => browser/components/attribution/test/xpcshell/.eslintrc.js
extra : moz-landing-system : lando
2018-12-11 13:15:16 +00:00
Ciure Andrei
ed617be144 Backed out 2 changesets (bug 1512052)for causing build bustages CLOSED TREE
Backed out changeset 4773a3f46c22 (bug 1512052)
Backed out changeset 2f48c5afbe57 (bug 1512052)

--HG--
rename : browser/components/attribution/test/xpcshell/.eslintrc.js => browser/components/attribution/test/.eslintrc.js
2018-12-05 05:47:39 +02:00
Mark Banner
6eec4b7bae Bug 1512052 - Update some directories in .eslintignore, and correct a few .eslintrc.js files. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D13745

--HG--
rename : browser/components/attribution/test/.eslintrc.js => browser/components/attribution/test/xpcshell/.eslintrc.js
extra : moz-landing-system : lando
2018-12-04 22:27:02 +00:00
Dennis Schubert
d849d67a61 Bug 1511600 - Disable WebCompat Reporter in some tests. a=testonly
Differential Revision: https://phabricator.services.mozilla.com/D13739

--HG--
extra : moz-landing-system : lando
2018-12-04 19:29:42 +00:00
Ehsan Akhgari
45a3f1578f Bug 1509047 - Part 5: Add heuristics to the storage access API for automatically granting temporary session-scoped storage access without displaying a doorhanger prompt; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D12866
2018-11-29 00:45:06 -05:00
Ehsan Akhgari
1a3a93b61f Bug 1509047 - Part 4: Add support for PermissionPromptPrototype.onBeforeShow() cancelling a prompt; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D12865
2018-11-29 00:45:06 -05:00
Ehsan Akhgari
4aa18e126d Bug 1509047 - Part 2: Add an API for measuring the number of unique origins visited in the past 24 hours; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D12863
2018-11-29 00:45:06 -05:00
Jan-Erik Rediger
5fd1cd8036 Bug 1498163 - Migrate external callers to the new snapshot API r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D12890

--HG--
extra : moz-landing-system : lando
2018-11-28 09:36:03 +00:00
Mike de Boer
1c9d33675e Bug 1496764 - extend search event telemetry to never expire and change the probe owners. r=chutten,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D9229

--HG--
extra : moz-landing-system : lando
2018-11-27 15:15:35 +00:00
Andreea Pavel
ebe85db8e7 Backed out changeset ad857edac6a5 (bug 1498163) for failing devtools/client/performance/test/browser_perf-telemetry-04.js on a CLOSED TREE 2018-11-27 11:05:28 +02:00
Jan-Erik Rediger
c6e72f0819 Bug 1498163 - Migrate external callers to the new snapshot API r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D12890

--HG--
extra : moz-landing-system : lando
2018-11-26 14:34:23 +00:00
Ehsan Akhgari
164791340d Bug 1490811 - Part 2: Add a test for the basic functionality of the storage access prompt r=johannh
Depends on D12467

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

--HG--
extra : moz-landing-system : lando
2018-11-26 21:23:18 +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
Ehsan Akhgari
5eb383c4df Bug 1508759 - Add support for hooking up permission prompts that don't use SitePermissions to TemporaryPermissions r=johannh
Normally, permission prompts would define a permissionKey attribute in order
to get integrated with SitePermissions.  Since SitePermissions is internally
hooked up to TemporaryPermissions, such permission prompts do not need any
extra handling for taking benefit from the temporary permissions infrastructure.

For the Storage Access API, however, we're not going to use SitePermissions,
and instead Gecko will be in charge of defining the required permissions in the
permission manager database when the prompt is responded to with an Allow
action.  This means that by default we won't be integrated with the temporary
permissions setup either.

This patch allows prompts to define a new way to opt out of reading and writing
permissions through the permission manager but still being integrated with
temporary permissions.  That is, through returning false from the new
usePermissionManager attribute and returning a name from the permissionKey
attribute.  TemporaryPermissions will do the expected work in order to ensure
that each prompt with a unique key will be automatically blocked if a previous
instance of the same prompt type with the same key has been blocked in the
current tab.

Note that this doesn't yet include support for showGloballyBlocked or
permitTemporaryAllow since those features aren't needed for our use case.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 10:32:19 +00:00
Jan-Erik Rediger
b07e153ff0 Bug 1498173 - Migrate external tests to changed histogram API r=chutten
Depends on D12557

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

--HG--
extra : moz-landing-system : lando
2018-11-22 23:35:43 +00:00
Drew Willcoxon
b8258389b8 Bug 1499193 - Follow-up 2: Update SEARCH_COUNTS key r=mkaply
Change the `<engine>.<alias>.urlbar` `SEARCH_COUNTS` keys to `<engine>.alias` as described in bug 1499193 comment 23 and later.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 21:15:54 +00:00
Mark Banner
7e8a95c1c9 Bug 1505456 - Move recordSearchURLTelemetry to its own module. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D11188

--HG--
rename : toolkit/components/search/tests/xpcshell/test_urltelemetry.js => browser/components/search/test/unit/test_urlTelemetry.js
extra : moz-landing-system : lando
2018-11-15 14:45:20 +00:00
Mark Banner
008609384d Bug 1505456 - Move browser tests into a sub-directory for browser/components/search/test. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D11187

--HG--
rename : browser/components/search/test/.eslintrc.js => browser/components/search/test/browser/.eslintrc.js
rename : browser/components/search/test/426329.xml => browser/components/search/test/browser/426329.xml
rename : browser/components/search/test/483086-1.xml => browser/components/search/test/browser/483086-1.xml
rename : browser/components/search/test/483086-2.xml => browser/components/search/test/browser/483086-2.xml
rename : browser/components/search/test/SearchTestUtils.jsm => browser/components/search/test/browser/SearchTestUtils.jsm
rename : browser/components/search/test/browser.ini => browser/components/search/test/browser/browser.ini
rename : browser/components/search/test/browser_426329.js => browser/components/search/test/browser/browser_426329.js
rename : browser/components/search/test/browser_483086.js => browser/components/search/test/browser/browser_483086.js
rename : browser/components/search/test/browser_aboutSearchReset.js => browser/components/search/test/browser/browser_aboutSearchReset.js
rename : browser/components/search/test/browser_addEngine.js => browser/components/search/test/browser/browser_addEngine.js
rename : browser/components/search/test/browser_amazon.js => browser/components/search/test/browser/browser_amazon.js
rename : browser/components/search/test/browser_bing.js => browser/components/search/test/browser/browser_bing.js
rename : browser/components/search/test/browser_contextSearchTabPosition.js => browser/components/search/test/browser/browser_contextSearchTabPosition.js
rename : browser/components/search/test/browser_contextmenu.js => browser/components/search/test/browser/browser_contextmenu.js
rename : browser/components/search/test/browser_ddg.js => browser/components/search/test/browser/browser_ddg.js
rename : browser/components/search/test/browser_eBay.js => browser/components/search/test/browser/browser_eBay.js
rename : browser/components/search/test/browser_google.js => browser/components/search/test/browser/browser_google.js
rename : browser/components/search/test/browser_google_behavior.js => browser/components/search/test/browser/browser_google_behavior.js
rename : browser/components/search/test/browser_healthreport.js => browser/components/search/test/browser/browser_healthreport.js
rename : browser/components/search/test/browser_hiddenOneOffs_cleanup.js => browser/components/search/test/browser/browser_hiddenOneOffs_cleanup.js
rename : browser/components/search/test/browser_hiddenOneOffs_diacritics.js => browser/components/search/test/browser/browser_hiddenOneOffs_diacritics.js
rename : browser/components/search/test/browser_oneOffContextMenu.js => browser/components/search/test/browser/browser_oneOffContextMenu.js
rename : browser/components/search/test/browser_oneOffContextMenu_setDefault.js => browser/components/search/test/browser/browser_oneOffContextMenu_setDefault.js
rename : browser/components/search/test/browser_oneOffHeader.js => browser/components/search/test/browser/browser_oneOffHeader.js
rename : browser/components/search/test/browser_private_search_perwindowpb.js => browser/components/search/test/browser/browser_private_search_perwindowpb.js
rename : browser/components/search/test/browser_searchEngine_behaviors.js => browser/components/search/test/browser/browser_searchEngine_behaviors.js
rename : browser/components/search/test/browser_searchbar_keyboard_navigation.js => browser/components/search/test/browser/browser_searchbar_keyboard_navigation.js
rename : browser/components/search/test/browser_searchbar_openpopup.js => browser/components/search/test/browser/browser_searchbar_openpopup.js
rename : browser/components/search/test/browser_searchbar_smallpanel_keyboard_navigation.js => browser/components/search/test/browser/browser_searchbar_smallpanel_keyboard_navigation.js
rename : browser/components/search/test/browser_tooManyEnginesOffered.js => browser/components/search/test/browser/browser_tooManyEnginesOffered.js
rename : browser/components/search/test/browser_webapi.js => browser/components/search/test/browser/browser_webapi.js
rename : browser/components/search/test/google_codes/browser.ini => browser/components/search/test/browser/google_codes/browser.ini
rename : browser/components/search/test/head.js => browser/components/search/test/browser/head.js
rename : browser/components/search/test/opensearch.html => browser/components/search/test/browser/opensearch.html
rename : browser/components/search/test/test.html => browser/components/search/test/browser/test.html
rename : browser/components/search/test/testEngine.xml => browser/components/search/test/browser/testEngine.xml
rename : browser/components/search/test/testEngine_diacritics.xml => browser/components/search/test/browser/testEngine_diacritics.xml
rename : browser/components/search/test/testEngine_dupe.xml => browser/components/search/test/browser/testEngine_dupe.xml
rename : browser/components/search/test/testEngine_missing_namespace.xml => browser/components/search/test/browser/testEngine_missing_namespace.xml
rename : browser/components/search/test/testEngine_mozsearch.xml => browser/components/search/test/browser/testEngine_mozsearch.xml
rename : browser/components/search/test/tooManyEnginesOffered.html => browser/components/search/test/browser/tooManyEnginesOffered.html
rename : browser/components/search/test/webapi.html => browser/components/search/test/browser/webapi.html
extra : moz-landing-system : lando
2018-11-15 14:44:55 +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
Siddhant085
6218cd4d20 Bug 1503851 - Replace Services.search.currentEngine by defaultEngine in test code r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D11553

--HG--
extra : moz-landing-system : lando
2018-11-13 09:34:00 +00:00
Paolo Amadini
cdb5b4eb19 Bug 1471403 - Part 4 - Convert "notificationbox" to a custom class. r=bgrins
As part of the conversion, support for notificationsHidden and children that are not notifications is also removed.

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

--HG--
rename : toolkit/content/widgets/notification.xml => toolkit/content/widgets/notificationbox.js
extra : rebase_source : 36a5412e1e9a9dc591fd486d1123c1f763a6f173
2018-11-09 14:58:18 +00:00
Paolo Amadini
ce13039af3 Bug 1471403 - Part 2 - Lazify the creation of "notificationbox" elements. r=dao,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D10892

--HG--
extra : rebase_source : f66fe90d780c3d446f4a065c0397cbb37f43cb0c
2018-11-09 14:38:49 +00:00
Drew Willcoxon
9fbda91757 Bug 1504370 - Update SEARCH_COUNTS telemetry for private browsing mode r=mkaply
* If a search is performed in a private window and the new pref `browser.engagement.search_counts.pbm` is true, then do not record `SEARCH_COUNTS` telemetry. Note that the the pref must be true. If it's false or doesn't exist, then we record telemetry even in pbm like we normally do currently. (We record `SEARCH_COUNTS` telemetry in two places: (1) In BrowserUsageTelemetry.jsm, and (2) "in-content" telemetry directly in the search service. So skip both of those places.)
* Also skip the other ancillary telemetry recorded by `BrowserUsageTelemetry._recordSearch`: a keyed scalar and a telemetry event.
* I made some modifications to the search service to let me test the "in-content" telemetry keys

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

--HG--
extra : moz-landing-system : lando
2018-11-06 17:58:07 +00:00
Drew Willcoxon
28cc94facb Bug 1499193 - Add new SEARCH_COUNTS telemetry for internal search engine alias usage. r=mkaply
Modify `BrowserUsageTelemetry.recordSearch` to take an alias instead of the bool `isAlias`. If an alias is given and it's an internal alias of the given engine, then increment a new `"engineName.@engine.source"` key under the `SEARCH_COUNTS` histogram -- in addition to incrementing the usual `"engineName.source"` key under that same histogram.

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

--HG--
extra : moz-landing-system : lando
2018-11-03 16:47:16 +00:00
prathiksha
7a42d37605 Bug 1459603 - Remove the checkbox from the persistent storage notification. r=johannh
Remove the checkbox from the persistent storage notification.

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

--HG--
extra : moz-landing-system : lando
2018-11-02 08:15:05 +00:00
Jan-Erik Rediger
50555e7773 Bug 1468761 - Migrate external Telemetry tests to handle packed histograms r=chutten
Depends on D9236

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

--HG--
extra : moz-landing-system : lando
2018-11-01 13:46:59 +00:00
Mark Banner
3df3ea0b86 Bug 1501041 - Fix browser_UsageTelemetry_content*.js to consistently fail if there is an issue with the navigation event probe, and disable them due to current expiry. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D10070

--HG--
extra : moz-landing-system : lando
2018-10-29 18:48:52 +00:00
Narcis Beleuzu
7faa4c74d0 Backed out changeset 7bb0ca583b02 (bug 1501041) for bc failures on browser_UsageTelemetry_content_aboutHome.js. CLOSED TREE 2018-10-29 16:13:41 +02:00
Cosmin Sabou
ec3d261a04 Bug 1501041 - Disable browser/modules/test/browser/browser_UsageTelemetry_content.js because of permafailure. r=jmaher 2018-10-26 18:04:00 +03:00
Gijs Kruitbosch
8c3a4d7b4a Bug 1501079 - fix various tests to not race with window focus/activate, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D9437

--HG--
extra : moz-landing-system : lando
2018-10-23 10:16:35 +00:00
Sebastian Hengst
699b4c267b Bug 1496764 - Disable browser_UsageTelemetry_urlbar.js until telemetry probe has been extended to fix permafail on version increase. a=version-increase-fix 2018-10-22 19:59:24 +03:00
Sebastian Hengst
f38b28a87d Bug 1496764 - Disable browser_UsageTelemetry_searchbar.js until telemetry probe has been extended to fix permafail on version increase. a=version-increase-fix
--HG--
extra : histedit_source : 88682dd1c8ed7dc93af81bba552e3b6d91f4b0cb
2018-10-22 16:33:06 +03:00
Jared Hirsch
74f48e2408 Bug 1498410 - Part 5 - Fix tests broken by Screenshots migration to pure webextension; r=aswan
Summary:
* Explicitly disable Screenshots in PageActions and context menu tests

* Update browser_preferences_usage test to accommodate Screenshots as a webextension
  (Moving Screenshots from legacy bootstrap to webextension seems to require reducing
  the minimum number of values in the `extensions.getAddons.cache.enabled` pref by one)

MozReview-Commit-ID: LCNaaXSE8w0

Reviewers: aswan

Reviewed By: aswan

Bug #: 1498410

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

--HG--
extra : rebase_source : 5f1d71e966972cc324c91750745e8862ace2ddb6
2018-10-15 23:47:08 +03:00
Daniel Varga
906345c5bf Backed out 5 changesets (bug 1498410) for browser-chrome failures at browser/base/content/test/performance/browser_preferences_usage.js
Backed out changeset 4842c9240ccf (bug 1498410)
Backed out changeset 9ba024979004 (bug 1498410)
Backed out changeset db5f7c857952 (bug 1498410)
Backed out changeset 40f06570e491 (bug 1498410)
Backed out changeset 0a7fd350ec1d (bug 1498410)

--HG--
rename : browser/extensions/screenshots/_locales/ach/messages.json => browser/extensions/screenshots/webextension/_locales/ach/messages.json
rename : browser/extensions/screenshots/_locales/ar/messages.json => browser/extensions/screenshots/webextension/_locales/ar/messages.json
rename : browser/extensions/screenshots/_locales/az/messages.json => browser/extensions/screenshots/webextension/_locales/az/messages.json
rename : browser/extensions/screenshots/_locales/be/messages.json => browser/extensions/screenshots/webextension/_locales/be/messages.json
rename : browser/extensions/screenshots/_locales/bg/messages.json => browser/extensions/screenshots/webextension/_locales/bg/messages.json
rename : browser/extensions/screenshots/_locales/bn_BD/messages.json => browser/extensions/screenshots/webextension/_locales/bn_BD/messages.json
rename : browser/extensions/screenshots/_locales/br/messages.json => browser/extensions/screenshots/webextension/_locales/br/messages.json
rename : browser/extensions/screenshots/_locales/bs/messages.json => browser/extensions/screenshots/webextension/_locales/bs/messages.json
rename : browser/extensions/screenshots/_locales/ca/messages.json => browser/extensions/screenshots/webextension/_locales/ca/messages.json
rename : browser/extensions/screenshots/_locales/cak/messages.json => browser/extensions/screenshots/webextension/_locales/cak/messages.json
rename : browser/extensions/screenshots/_locales/crh/messages.json => browser/extensions/screenshots/webextension/_locales/crh/messages.json
rename : browser/extensions/screenshots/_locales/cs/messages.json => browser/extensions/screenshots/webextension/_locales/cs/messages.json
rename : browser/extensions/screenshots/_locales/cy/messages.json => browser/extensions/screenshots/webextension/_locales/cy/messages.json
rename : browser/extensions/screenshots/_locales/da/messages.json => browser/extensions/screenshots/webextension/_locales/da/messages.json
rename : browser/extensions/screenshots/_locales/de/messages.json => browser/extensions/screenshots/webextension/_locales/de/messages.json
rename : browser/extensions/screenshots/_locales/dsb/messages.json => browser/extensions/screenshots/webextension/_locales/dsb/messages.json
rename : browser/extensions/screenshots/_locales/el/messages.json => browser/extensions/screenshots/webextension/_locales/el/messages.json
rename : browser/extensions/screenshots/_locales/en_GB/messages.json => browser/extensions/screenshots/webextension/_locales/en_GB/messages.json
rename : browser/extensions/screenshots/_locales/en_US/messages.json => browser/extensions/screenshots/webextension/_locales/en_US/messages.json
rename : browser/extensions/screenshots/_locales/eo/messages.json => browser/extensions/screenshots/webextension/_locales/eo/messages.json
rename : browser/extensions/screenshots/_locales/es_AR/messages.json => browser/extensions/screenshots/webextension/_locales/es_AR/messages.json
rename : browser/extensions/screenshots/_locales/es_CL/messages.json => browser/extensions/screenshots/webextension/_locales/es_CL/messages.json
rename : browser/extensions/screenshots/_locales/es_ES/messages.json => browser/extensions/screenshots/webextension/_locales/es_ES/messages.json
rename : browser/extensions/screenshots/_locales/es_MX/messages.json => browser/extensions/screenshots/webextension/_locales/es_MX/messages.json
rename : browser/extensions/screenshots/_locales/et/messages.json => browser/extensions/screenshots/webextension/_locales/et/messages.json
rename : browser/extensions/screenshots/_locales/eu/messages.json => browser/extensions/screenshots/webextension/_locales/eu/messages.json
rename : browser/extensions/screenshots/_locales/fa/messages.json => browser/extensions/screenshots/webextension/_locales/fa/messages.json
rename : browser/extensions/screenshots/_locales/ff/messages.json => browser/extensions/screenshots/webextension/_locales/ff/messages.json
rename : browser/extensions/screenshots/_locales/fi/messages.json => browser/extensions/screenshots/webextension/_locales/fi/messages.json
rename : browser/extensions/screenshots/_locales/fr/messages.json => browser/extensions/screenshots/webextension/_locales/fr/messages.json
rename : browser/extensions/screenshots/_locales/fy_NL/messages.json => browser/extensions/screenshots/webextension/_locales/fy_NL/messages.json
rename : browser/extensions/screenshots/_locales/ga_IE/messages.json => browser/extensions/screenshots/webextension/_locales/ga_IE/messages.json
rename : browser/extensions/screenshots/_locales/gd/messages.json => browser/extensions/screenshots/webextension/_locales/gd/messages.json
rename : browser/extensions/screenshots/_locales/gl/messages.json => browser/extensions/screenshots/webextension/_locales/gl/messages.json
rename : browser/extensions/screenshots/_locales/gn/messages.json => browser/extensions/screenshots/webextension/_locales/gn/messages.json
rename : browser/extensions/screenshots/_locales/gu_IN/messages.json => browser/extensions/screenshots/webextension/_locales/gu_IN/messages.json
rename : browser/extensions/screenshots/_locales/he/messages.json => browser/extensions/screenshots/webextension/_locales/he/messages.json
rename : browser/extensions/screenshots/_locales/hi_IN/messages.json => browser/extensions/screenshots/webextension/_locales/hi_IN/messages.json
rename : browser/extensions/screenshots/_locales/hr/messages.json => browser/extensions/screenshots/webextension/_locales/hr/messages.json
rename : browser/extensions/screenshots/_locales/hsb/messages.json => browser/extensions/screenshots/webextension/_locales/hsb/messages.json
rename : browser/extensions/screenshots/_locales/hu/messages.json => browser/extensions/screenshots/webextension/_locales/hu/messages.json
rename : browser/extensions/screenshots/_locales/hy_AM/messages.json => browser/extensions/screenshots/webextension/_locales/hy_AM/messages.json
rename : browser/extensions/screenshots/_locales/ia/messages.json => browser/extensions/screenshots/webextension/_locales/ia/messages.json
rename : browser/extensions/screenshots/_locales/id/messages.json => browser/extensions/screenshots/webextension/_locales/id/messages.json
rename : browser/extensions/screenshots/_locales/it/messages.json => browser/extensions/screenshots/webextension/_locales/it/messages.json
rename : browser/extensions/screenshots/_locales/ja/messages.json => browser/extensions/screenshots/webextension/_locales/ja/messages.json
rename : browser/extensions/screenshots/_locales/ka/messages.json => browser/extensions/screenshots/webextension/_locales/ka/messages.json
rename : browser/extensions/screenshots/_locales/kab/messages.json => browser/extensions/screenshots/webextension/_locales/kab/messages.json
rename : browser/extensions/screenshots/_locales/kk/messages.json => browser/extensions/screenshots/webextension/_locales/kk/messages.json
rename : browser/extensions/screenshots/_locales/kn/messages.json => browser/extensions/screenshots/webextension/_locales/kn/messages.json
rename : browser/extensions/screenshots/_locales/ko/messages.json => browser/extensions/screenshots/webextension/_locales/ko/messages.json
rename : browser/extensions/screenshots/_locales/lij/messages.json => browser/extensions/screenshots/webextension/_locales/lij/messages.json
rename : browser/extensions/screenshots/_locales/lo/messages.json => browser/extensions/screenshots/webextension/_locales/lo/messages.json
rename : browser/extensions/screenshots/_locales/lt/messages.json => browser/extensions/screenshots/webextension/_locales/lt/messages.json
rename : browser/extensions/screenshots/_locales/mai/messages.json => browser/extensions/screenshots/webextension/_locales/mai/messages.json
rename : browser/extensions/screenshots/_locales/mk/messages.json => browser/extensions/screenshots/webextension/_locales/mk/messages.json
rename : browser/extensions/screenshots/_locales/ml/messages.json => browser/extensions/screenshots/webextension/_locales/ml/messages.json
rename : browser/extensions/screenshots/_locales/mr/messages.json => browser/extensions/screenshots/webextension/_locales/mr/messages.json
rename : browser/extensions/screenshots/_locales/ms/messages.json => browser/extensions/screenshots/webextension/_locales/ms/messages.json
rename : browser/extensions/screenshots/_locales/nb_NO/messages.json => browser/extensions/screenshots/webextension/_locales/nb_NO/messages.json
rename : browser/extensions/screenshots/_locales/ne_NP/messages.json => browser/extensions/screenshots/webextension/_locales/ne_NP/messages.json
rename : browser/extensions/screenshots/_locales/nl/messages.json => browser/extensions/screenshots/webextension/_locales/nl/messages.json
rename : browser/extensions/screenshots/_locales/nn_NO/messages.json => browser/extensions/screenshots/webextension/_locales/nn_NO/messages.json
rename : browser/extensions/screenshots/_locales/pa_IN/messages.json => browser/extensions/screenshots/webextension/_locales/pa_IN/messages.json
rename : browser/extensions/screenshots/_locales/pl/messages.json => browser/extensions/screenshots/webextension/_locales/pl/messages.json
rename : browser/extensions/screenshots/_locales/pt_BR/messages.json => browser/extensions/screenshots/webextension/_locales/pt_BR/messages.json
rename : browser/extensions/screenshots/_locales/pt_PT/messages.json => browser/extensions/screenshots/webextension/_locales/pt_PT/messages.json
rename : browser/extensions/screenshots/_locales/rm/messages.json => browser/extensions/screenshots/webextension/_locales/rm/messages.json
rename : browser/extensions/screenshots/_locales/ro/messages.json => browser/extensions/screenshots/webextension/_locales/ro/messages.json
rename : browser/extensions/screenshots/_locales/ru/messages.json => browser/extensions/screenshots/webextension/_locales/ru/messages.json
rename : browser/extensions/screenshots/_locales/sk/messages.json => browser/extensions/screenshots/webextension/_locales/sk/messages.json
rename : browser/extensions/screenshots/_locales/sl/messages.json => browser/extensions/screenshots/webextension/_locales/sl/messages.json
rename : browser/extensions/screenshots/_locales/sq/messages.json => browser/extensions/screenshots/webextension/_locales/sq/messages.json
rename : browser/extensions/screenshots/_locales/sr/messages.json => browser/extensions/screenshots/webextension/_locales/sr/messages.json
rename : browser/extensions/screenshots/_locales/sv_SE/messages.json => browser/extensions/screenshots/webextension/_locales/sv_SE/messages.json
rename : browser/extensions/screenshots/_locales/ta/messages.json => browser/extensions/screenshots/webextension/_locales/ta/messages.json
rename : browser/extensions/screenshots/_locales/th/messages.json => browser/extensions/screenshots/webextension/_locales/th/messages.json
rename : browser/extensions/screenshots/_locales/tl/messages.json => browser/extensions/screenshots/webextension/_locales/tl/messages.json
rename : browser/extensions/screenshots/_locales/tr/messages.json => browser/extensions/screenshots/webextension/_locales/tr/messages.json
rename : browser/extensions/screenshots/_locales/uk/messages.json => browser/extensions/screenshots/webextension/_locales/uk/messages.json
rename : browser/extensions/screenshots/_locales/ur/messages.json => browser/extensions/screenshots/webextension/_locales/ur/messages.json
rename : browser/extensions/screenshots/_locales/vi/messages.json => browser/extensions/screenshots/webextension/_locales/vi/messages.json
rename : browser/extensions/screenshots/_locales/zh_CN/messages.json => browser/extensions/screenshots/webextension/_locales/zh_CN/messages.json
rename : browser/extensions/screenshots/_locales/zh_TW/messages.json => browser/extensions/screenshots/webextension/_locales/zh_TW/messages.json
rename : browser/extensions/screenshots/assertIsBlankDocument.js => browser/extensions/screenshots/webextension/assertIsBlankDocument.js
rename : browser/extensions/screenshots/assertIsTrusted.js => browser/extensions/screenshots/webextension/assertIsTrusted.js
rename : browser/extensions/screenshots/background/analytics.js => browser/extensions/screenshots/webextension/background/analytics.js
rename : browser/extensions/screenshots/background/auth.js => browser/extensions/screenshots/webextension/background/auth.js
rename : browser/extensions/screenshots/background/communication.js => browser/extensions/screenshots/webextension/background/communication.js
rename : browser/extensions/screenshots/background/deviceInfo.js => browser/extensions/screenshots/webextension/background/deviceInfo.js
rename : browser/extensions/screenshots/background/main.js => browser/extensions/screenshots/webextension/background/main.js
rename : browser/extensions/screenshots/background/selectorLoader.js => browser/extensions/screenshots/webextension/background/selectorLoader.js
rename : browser/extensions/screenshots/background/senderror.js => browser/extensions/screenshots/webextension/background/senderror.js
rename : browser/extensions/screenshots/background/startBackground.js => browser/extensions/screenshots/webextension/background/startBackground.js
rename : browser/extensions/screenshots/background/takeshot.js => browser/extensions/screenshots/webextension/background/takeshot.js
rename : browser/extensions/screenshots/blank.html => browser/extensions/screenshots/webextension/blank.html
rename : browser/extensions/screenshots/blobConverters.js => browser/extensions/screenshots/webextension/blobConverters.js
rename : browser/extensions/screenshots/build/buildSettings.js => browser/extensions/screenshots/webextension/build/buildSettings.js
rename : browser/extensions/screenshots/build/inlineSelectionCss.js => browser/extensions/screenshots/webextension/build/inlineSelectionCss.js
rename : browser/extensions/screenshots/build/onboardingCss.js => browser/extensions/screenshots/webextension/build/onboardingCss.js
rename : browser/extensions/screenshots/build/onboardingHtml.js => browser/extensions/screenshots/webextension/build/onboardingHtml.js
rename : browser/extensions/screenshots/build/raven.js => browser/extensions/screenshots/webextension/build/raven.js
rename : browser/extensions/screenshots/build/selection.js => browser/extensions/screenshots/webextension/build/selection.js
rename : browser/extensions/screenshots/build/shot.js => browser/extensions/screenshots/webextension/build/shot.js
rename : browser/extensions/screenshots/build/thumbnailGenerator.js => browser/extensions/screenshots/webextension/build/thumbnailGenerator.js
rename : browser/extensions/screenshots/catcher.js => browser/extensions/screenshots/webextension/catcher.js
rename : browser/extensions/screenshots/clipboard.js => browser/extensions/screenshots/webextension/clipboard.js
rename : browser/extensions/screenshots/domainFromUrl.js => browser/extensions/screenshots/webextension/domainFromUrl.js
rename : browser/extensions/screenshots/icons/back-highlight.svg => browser/extensions/screenshots/webextension/icons/back-highlight.svg
rename : browser/extensions/screenshots/icons/back.svg => browser/extensions/screenshots/webextension/icons/back.svg
rename : browser/extensions/screenshots/icons/cancel.svg => browser/extensions/screenshots/webextension/icons/cancel.svg
rename : browser/extensions/screenshots/icons/cloud.svg => browser/extensions/screenshots/webextension/icons/cloud.svg
rename : browser/extensions/screenshots/icons/copied-notification.svg => browser/extensions/screenshots/webextension/icons/copied-notification.svg
rename : browser/extensions/screenshots/icons/copy.svg => browser/extensions/screenshots/webextension/icons/copy.svg
rename : browser/extensions/screenshots/icons/done.svg => browser/extensions/screenshots/webextension/icons/done.svg
rename : browser/extensions/screenshots/icons/download.svg => browser/extensions/screenshots/webextension/icons/download.svg
rename : browser/extensions/screenshots/icons/help-16.svg => browser/extensions/screenshots/webextension/icons/help-16.svg
rename : browser/extensions/screenshots/icons/icon-highlight-32-v2.svg => browser/extensions/screenshots/webextension/icons/icon-highlight-32-v2.svg
rename : browser/extensions/screenshots/icons/icon-v2.svg => browser/extensions/screenshots/webextension/icons/icon-v2.svg
rename : browser/extensions/screenshots/icons/icon-welcome-face-without-eyes.svg => browser/extensions/screenshots/webextension/icons/icon-welcome-face-without-eyes.svg
rename : browser/extensions/screenshots/icons/menu-fullpage.svg => browser/extensions/screenshots/webextension/icons/menu-fullpage.svg
rename : browser/extensions/screenshots/icons/menu-myshot-white.svg => browser/extensions/screenshots/webextension/icons/menu-myshot-white.svg
rename : browser/extensions/screenshots/icons/menu-myshot.svg => browser/extensions/screenshots/webextension/icons/menu-myshot.svg
rename : browser/extensions/screenshots/icons/menu-visible.svg => browser/extensions/screenshots/webextension/icons/menu-visible.svg
rename : browser/extensions/screenshots/icons/onboarding-1.png => browser/extensions/screenshots/webextension/icons/onboarding-1.png
rename : browser/extensions/screenshots/icons/onboarding-2.png => browser/extensions/screenshots/webextension/icons/onboarding-2.png
rename : browser/extensions/screenshots/icons/onboarding-4.png => browser/extensions/screenshots/webextension/icons/onboarding-4.png
rename : browser/extensions/screenshots/icons/onboarding-5.png => browser/extensions/screenshots/webextension/icons/onboarding-5.png
rename : browser/extensions/screenshots/log.js => browser/extensions/screenshots/webextension/log.js
rename : browser/extensions/screenshots/makeUuid.js => browser/extensions/screenshots/webextension/makeUuid.js
rename : browser/extensions/screenshots/manifest.json => browser/extensions/screenshots/webextension/manifest.json
rename : browser/extensions/screenshots/onboarding/slides.html => browser/extensions/screenshots/webextension/onboarding/slides.html
rename : browser/extensions/screenshots/onboarding/slides.js => browser/extensions/screenshots/webextension/onboarding/slides.js
rename : browser/extensions/screenshots/randomString.js => browser/extensions/screenshots/webextension/randomString.js
rename : browser/extensions/screenshots/selector/callBackground.js => browser/extensions/screenshots/webextension/selector/callBackground.js
rename : browser/extensions/screenshots/selector/documentMetadata.js => browser/extensions/screenshots/webextension/selector/documentMetadata.js
rename : browser/extensions/screenshots/selector/shooter.js => browser/extensions/screenshots/webextension/selector/shooter.js
rename : browser/extensions/screenshots/selector/ui.js => browser/extensions/screenshots/webextension/selector/ui.js
rename : browser/extensions/screenshots/selector/uicontrol.js => browser/extensions/screenshots/webextension/selector/uicontrol.js
rename : browser/extensions/screenshots/selector/util.js => browser/extensions/screenshots/webextension/selector/util.js
rename : browser/extensions/screenshots/sitehelper.js => browser/extensions/screenshots/webextension/sitehelper.js
2018-10-13 06:46:17 +03:00
Jared Hirsch
24854801a8 Bug 1498410 - Part 5 - Fix tests broken by Screenshots migration to pure webextension; r=aswan
* Explicitly disable Screenshots in PageActions and context menu tests

* Update browser_preferences_usage test to accommodate Screenshots as a webextension
  (Moving Screenshots from legacy bootstrap to webextension seems to require reducing
  the minimum number of values in the `extensions.getAddons.cache.enabled` pref by one)

MozReview-Commit-ID: LCNaaXSE8w0

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

--HG--
extra : moz-landing-system : lando
2018-10-12 23:42:54 +00:00
Mike Conley
90e282026f Bug 1497901 - Make some tests work if Activity Stream runs in its own content process. r=Felipe
The separate Activity Stream content process is currently pref-able, and I'd like to make sure
that the tree is green with it enabled and disabled. This patch makes it so that tests that
browse from about:home/about:newtab to some other page or back work properly even if there
are process flips.

Based on work originally by Jay Lim (:imjching) <jay@imjching.com>.

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

--HG--
extra : moz-landing-system : lando
2018-10-11 21:13:31 +00:00
Thomas Wisniewski
b572526d9c Bug 1451485 - convert webcompat-reporter to a webextension; r=aswan,Pike
convert webcompat-reporter to a webextension

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

--HG--
rename : browser/extensions/webcompat-reporter/skin/lightbulb.svg => browser/extensions/webcompat-reporter/icons/lightbulb.svg
extra : moz-landing-system : lando
2018-10-11 15:53:23 +00:00
Gijs Kruitbosch
cf0c221553 Bug 1477672 - export and convert existing live bookmarks to avoid losing user data, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D6062

--HG--
extra : rebase_source : 793761fda84fb24d5ac614df9a4004cc303da9c2
2018-09-17 18:59:57 +01:00
Diego Pino Garcia
45377e5099 Bug 1481199 - Drop the obsolete dataType parameter for nsIBrowserSearchService.addEngine. r=mkaply 2018-10-09 13:39:35 +01:00
Mike Conley
7b8c8612f0 Bug 1496848 - Make browser_ContentSearch.js work with process flips. r=adw
Depends on D7937

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

--HG--
extra : moz-landing-system : lando
2018-10-05 22:29:49 +00:00
Mike Conley
6e40bbfc36 Bug 1496848 - Get rid of message manager global from browser_ContentSearch.js. r=adw
This is to simplify a later patch that makes it easier to deal with process
flipping.

Depends on D7936

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

--HG--
extra : moz-landing-system : lando
2018-10-05 22:29:23 +00:00
Jonathan Kingston
555f89c8d7 Bug 1485305 - browser/ tests Ensure loadURI always passes a triggeringPrincipal() r=Mossop
Differential Revision: https://phabricator.services.mozilla.com/D4552

--HG--
extra : source : 2cf17e4974823d09d0fdd1aef64e69e840b288a1
extra : intermediate-source : 4771e6948a78507aa95a56e5b324d87dc82e9009
2018-08-29 15:44:56 +01:00
Brindusan Cristian
1db0587c0e Backed out 10 changesets (bug 1485305) for browser-chrome failures on docshell/test/browser/browser_loadURI.js. CLOSED TREE
Backed out changeset 50439ec01661 (bug 1485305)
Backed out changeset a05e40ef7215 (bug 1485305)
Backed out changeset c99b97b4348b (bug 1485305)
Backed out changeset 75220b2f6669 (bug 1485305)
Backed out changeset e698f2fc1c1a (bug 1485305)
Backed out changeset acce14683c13 (bug 1485305)
Backed out changeset 323773a395cc (bug 1485305)
Backed out changeset 1b74152cabc1 (bug 1485305)
Backed out changeset 4b5c9d5929fc (bug 1485305)
Backed out changeset 238d92348159 (bug 1485305)
2018-09-19 18:47:27 +03:00
Jonathan Kingston
f57a3dbfb5 Bug 1485305 - browser/ tests Ensure loadURI always passes a triggeringPrincipal() r=Mossop
Differential Revision: https://phabricator.services.mozilla.com/D4552

--HG--
extra : source : 2cf17e4974823d09d0fdd1aef64e69e840b288a1
2018-08-29 15:44:56 +01:00
arthur.iakab
d2e647e133 Backed out 10 changesets (bug 1485305)for failing browser chrome tests on browser_loadDisallowInherit.js
Backed out changeset 138b8596a9cd (bug 1485305)
Backed out changeset d9f04aeeeef7 (bug 1485305)
Backed out changeset cd063d8afe4e (bug 1485305)
Backed out changeset 2f8a5a03ccb5 (bug 1485305)
Backed out changeset 8085d1eefd7c (bug 1485305)
Backed out changeset 3aaccb374a59 (bug 1485305)
Backed out changeset 3a111e9e5c9c (bug 1485305)
Backed out changeset 61aa1cfb0b01 (bug 1485305)
Backed out changeset bca973d90acc (bug 1485305)
Backed out changeset 4eb33bf25d6f (bug 1485305)
2018-09-18 20:30:07 +03:00
Jonathan Kingston
48be04b556 Bug 1485305 - browser/ tests Ensure loadURI always passes a triggeringPrincipal() r=Mossop
Differential Revision: https://phabricator.services.mozilla.com/D4552

--HG--
extra : source : 7a505f4e2d97aa9b9662d442ad0a1f0ee34687f4
2018-08-29 15:44:56 +01:00
Tiberius Oros
3235f6720f Backed out 10 changesets (bug 1485305) for failures at browser/content/browser.js on a CLOSED TREE
Backed out changeset 63c50fd60ae4 (bug 1485305)
Backed out changeset bf0f2adb765e (bug 1485305)
Backed out changeset 721871bb64f1 (bug 1485305)
Backed out changeset e9da73786c5f (bug 1485305)
Backed out changeset e02038177b6b (bug 1485305)
Backed out changeset 35bd32f99f60 (bug 1485305)
Backed out changeset f40900bf8621 (bug 1485305)
Backed out changeset 03632075ac2c (bug 1485305)
Backed out changeset 2fee48378f73 (bug 1485305)
Backed out changeset 6263695b3cb8 (bug 1485305)
2018-09-18 14:46:54 +03:00
Jonathan Kingston
2a58bdb8af Bug 1485305 - browser/ tests Ensure loadURI always passes a triggeringPrincipal() r=Mossop
Differential Revision: https://phabricator.services.mozilla.com/D4552

--HG--
extra : source : 048f6e21016d429a3d3bbc91fdccc78db625d988
2018-08-29 15:44:56 +01:00
Gijs Kruitbosch
821c9b5b85 Bug 1490819 - wait for windows to be active in browser_BrowserWindowTracker.js, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D5707

--HG--
extra : moz-landing-system : lando
2018-09-13 08:21:51 +00:00
Dão Gottwald
87b1e322e2 Bug 1489552 - Let BrowserWindowTracker.getTopWindow use the module's internal window list instead of nsIWindowMediator::getZOrderDOMWindowEnumerator / getMostRecentWindow. r=nhnt11 2018-09-10 22:27:38 +02:00
Mark Striemer
47e85ff68e bug 1483598 - Match system and user extension add/remove page action strings r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D5069

--HG--
extra : moz-landing-system : lando
2018-09-05 19:17:40 +00:00
Mark Banner
691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Kris Maglione
80327d3561 Bug 1484496: Part 5a - Convert browser/ nsISimpleEnumerator users to use JS iteration. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D3729

--HG--
extra : rebase_source : e187b8e9a6b6db7ebc762adda5e489b25c7a7e43
extra : histedit_source : 868cb99d09954a51d6be321fcb516475ef70eb33
2018-08-18 19:27:33 -07:00
Dorel Luca
8e7a61886b Backed out changeset d47a2f5db828 (bug 1481199) browser/base/content/test/urlbar/browser_autocomplete_a11y_label.js. CLOSED TREE 2018-08-23 23:45:02 +03:00
Diego Pino Garcia
6900fb42ab Bug 1481199 - Drop the obsolete dataType parameter for nsIBrowserSearchService.addEngine. r=mkaply 2018-08-23 09:00:00 -04:00
Brian Grinstead
4995c61b0f Bug 1482667 - Migrate mochitest-browser tests in browser/ to use element variations of firstChild, etc;r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D3530

--HG--
extra : moz-landing-system : lando
2018-08-17 16:45:52 +00:00
Dale Harvey
4653e8bb0b Bug 1477273 - Followup to ensure correct pref in test
MozReview-Commit-ID: BPXRlxdpRYf
2018-08-16 07:58:00 +03:00
Dale Harvey
2de58add22 Bug 1477273 - Allow autoplay-media permission to be temporarily allowed. r=johannh
MozReview-Commit-ID: JlnH2f1KW3U

--HG--
extra : rebase_source : 13fb179fd85a47f1842b7715e82e92a30c4c4784
2018-08-03 16:00:55 +01:00
Kris Maglione
0c0831f6d0 Bug 1472491: Part 5d - Add ContentSearchChild actor. r=adw f=felipe
MozReview-Commit-ID: 5u7VpedF3xH

--HG--
rename : browser/base/content/tab-content.js => browser/actors/ContentSearchChild.jsm
extra : rebase_source : abfaa941f6769428a7dd47cc7c3f953f6d8c3e87
2018-07-29 20:00:11 -07:00
Paolo Amadini
b4630c69a3 Bug 1481813 - Part 4 - Remove support for adding generic DOM attributes to page actions. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D3011

--HG--
extra : rebase_source : 34d987669c8c83ccf5fd50adfc31594b8c07dd46
extra : source : 0fa77a8d96fd46ef19cbfdf439ae0ca12f8fe191
2018-08-09 13:22:20 +01:00
Kris Maglione
c65e3607f7 Bug 1481021: Follow-up: Fix another test that relies on bad COW behavior. r=me,test-only
--HG--
extra : rebase_source : 253c3dbdfd1dc6dc586198049384ac466e8a73a8
extra : amend_source : d8e5bbb6acf2d53fdc1055cfd269153ebc55018e
2018-08-11 17:12:34 -07:00
Kris Maglione
031076f2f3 Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL

--HG--
extra : source : fcfb99baa0f0fb60a7c420a712c6ae7c72576871
extra : histedit_source : 5be9b7b29a52a4b8376ee0bdfc5c08b12e3c775a
2018-05-21 16:58:23 -07:00
Narcis Beleuzu
561ccb2ceb Backed out 2 changesets (bug 1463016, bug 1463291) for geckoview failures
Backed out changeset fcfb99baa0f0 (bug 1463291)
Backed out changeset 0d69b4fb1ed4 (bug 1463016)
2018-07-29 03:55:23 +03:00
Kris Maglione
cb1ee1e34d Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL

--HG--
extra : rebase_source : a13c59d1a5ed000187c7fd8e7339408ad6e2dee6
2018-05-21 16:58:23 -07:00
Andreea Pavel
8a01d542af Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-07-25 18:10:55 +03:00
Shane Caraveo
7962eacafd Bug 1344771 - Implement attribution on OSX using quarantine data, r=mossop,spohl
MozReview-Commit-ID: NgjE1HZS7M

--HG--
rename : browser/modules/AttributionCode.jsm => browser/components/attribution/AttributionCode.jsm
rename : browser/modules/test/unit/test_AttributionCode.js => browser/components/attribution/test/xpcshell/test_AttributionCode.js
extra : rebase_source : 197f427e0d2fcbdbe85d5ebe65067dcc9eee6407
2018-07-23 11:01:26 -03:00
Boris Zbarsky
270fa12c79 Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs 2018-07-24 19:47:41 -04:00
Dale Harvey
c9e5e7c554 Bug 1470082 - Change autoplay checkbox to combobox. r=cpearce,flod,johannh
MozReview-Commit-ID: E71TxvgfJlJ

--HG--
extra : rebase_source : 30ca63df77e48a44de4d3e90182440c3937ed32f
2018-06-29 14:14:33 +01:00
Axel Hecht
5bdc727943 Bug 721211: consolidate home page retrieval code, make it support non-localized prefs, r=jaws
Also changes the tooltip on the home button to be independent of the URLs
it opens, per dolske.

Some tests explicitly set browser.startup.homepage, but only through
SpecialPowers.putPrefEnv. That's a good compromise, given the extra
functionality there.

MozReview-Commit-ID: FPLxzi3jQAP

--HG--
extra : rebase_source : c2b014f2fb1c78ce04859344bd1803ef48d5d68d
2018-05-28 12:38:01 +02:00
Michael Kelly
41a5d0da21 Bug 1470505: Disable browser error collection for webextension errors. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D1792

--HG--
extra : moz-landing-system : lando
2018-07-09 18:27:22 +00:00
Michael Kelly
b6450821b2 Bug 1471204: Disable browser error telemetry tests when scalars expire. r=Gijs,chutten
Differential Revision: https://phabricator.services.mozilla.com/D1891

--HG--
extra : moz-landing-system : lando
2018-07-05 16:12:13 +00:00
Michael Kelly
38fdedebf7 Bug 1451702: Mangle file: and jar: paths in browser error reports. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D1868

--HG--
extra : rebase_source : 65ce32dac6b61414acd685f8787b5709a0070b54
extra : amend_source : 51fb635ec9b8cbdc27917f95f72583d03b5322a2
extra : intermediate-source : 28564cd34c706e909df136c4c0ea374f4836a344
extra : source : 71156adbd18ecb9f5b4d09638881a3714c71244b
2018-06-28 11:19:24 -07:00
shindli
575a9e53cb Backed out changeset 28564cd34c70 (bug 1451702) for bc failures in browser/modules/test/browser/browser_BrowserErrorReporter_nightly.js on a CLOSED TREE 2018-06-27 03:42:26 +03:00
Michael Kelly
fd2c510573 Bug 1451702: Mangle file: and jar: paths in browser error reports.
--HG--
extra : rebase_source : d57ca43e7e9310516d3e7568bee7c4e658f60ef6
extra : intermediate-source : 523b4c1d489c29d79e5782b62f01d21b9fc07eb2
extra : source : 71156adbd18ecb9f5b4d09638881a3714c71244b
2018-05-18 15:34:11 -07:00
Michael Kelly
80e7768083 Bug 1470587: Uninitialize reporter created during test. r=mossop
At some point, the matching call to reporter.uninit got removed from this test.
The result is that the reporter still exists and is still collecting errors
during the rest of the tasks in the file. In most tasks, this isn't an issue
since we use reporter.handleMessage to test message handling at a per-reporter
level.

But the telemetry measures are shared between multiple reporters, thus they are
susceptible to interference from other running reporter instances.

The error that is being logged when this test fails is from the test add-on
created in testAddonIDMangle. My best guess is that the error logged by the
add-on is being processed during an idle moment in another task, since we
schedule processing to be delayed until the browser is idle. It seems this
scheduling is pretty consistent on certain Linux platforms.

Differential Revision: https://phabricator.services.mozilla.com/D1836
2018-06-26 18:31:06 +00:00
Michael Kelly
102c99a2d0 Bug 1461439: Enable browser error telemetry on non-Nightly channels. r=Gijs
MozReview-Commit-ID: GAwbFC49b8H

--HG--
rename : browser/modules/test/browser/browser_BrowserErrorReporter.js => browser/modules/test/browser/browser_BrowserErrorReporter_nightly.js
extra : rebase_source : 34673db22aa83be183cff403b719f97884400cac
extra : source : 679189574ff3e79298ead44b35484c549356b086
2018-06-05 11:15:54 -07:00
Dale Harvey
4696947f19 Bug 1461656 - Ask permission when site wants to autoplay media. r=flod,johannh
MozReview-Commit-ID: Fc2IUZK90eu

--HG--
extra : rebase_source : 197ea2f48d6ad07cf1cf3c0b572121bbb3d69252
2018-05-18 12:54:33 +01:00
Mark Banner
cb46607905 Bug 1453667 - Remove BrowserUITelemetry. r=gfritzsche
MozReview-Commit-ID: Co31OPRrdpi

--HG--
extra : rebase_source : 85eb06471105e4142e7c235da65c68c1a81603d7
2018-06-06 20:29:09 +01:00
Michael Kelly
d8725aa754 Bug 1467929: Only collect browser JS errors from recent builds. r=Gijs
Telemetry data suggests between 13%-40% of errors being collected are from
builds older than a week. Since Nightly updates twice a day, errors from builds
that old don't reflect the current state of Nightly, so we can ignore them and
save some bandwidth.

A build is considered "recent" if the date encoded at the start of the
appBuildId (YYYYMMDD) is within 7 days of the current date. Since this is mostly
for preventing high load on the collection service, the check does not handle
problems with the local clock being inaccurate in order to simplify the
implementation.

MozReview-Commit-ID: BbCO4kaBprL

--HG--
extra : rebase_source : 0292ae57272f903a6aef176ef4403d56503fc0db
2018-06-12 21:49:58 -07:00
Joel Maher
50b91c0a14 Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Michael Kelly
17b8e2a81c Bug 1464521: Process collected browser JS errors during idle. r=kmag
testFetchArguments and the add-on ID mangling tests already cover error
collection end-to-end, so no new tests are needed to cover testing the idle
callback.

MozReview-Commit-ID: DJrqT5jCq44

--HG--
extra : rebase_source : 40a5c5a2cdb14bf7bf9a7fd9493efdda9e7bacd7
2018-06-05 08:58:45 -07:00
Mark Banner
7b90b63d69 Bug 1465385 - Enable ESLint rule require-expected-throws-or-rejects for browser/. r=MattN
MozReview-Commit-ID: GoVFNM7CFDu

--HG--
extra : rebase_source : f1e9bfdaa1396b2ce27ee499fc547f239ca132a9
2018-05-30 11:50:45 +01:00
Andrea Marchesini
612caa865c Bug 1462662 - Wipe the container for privacy.usercontext.about_newtab_segregation.enabled on shutdown, r=johannh 2018-05-29 17:35:28 +02:00
Cosmin Sabou
63954a642e Backed out changeset 62ed84f80e37 (bug 1462662) for mochitest browser chrome failures on browser_startup.js. CLOSED TREE 2018-05-29 20:16:46 +03:00
Andrea Marchesini
c0f1056898 Bug 1462662 - Wipe the container for privacy.usercontext.about_newtab_segregation.enabled on shutdown, r=johannh 2018-05-29 17:35:28 +02:00
Kris Maglione
6b12d08f7d Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj
MozReview-Commit-ID: Iv4T1MVAF5

--HG--
extra : rebase_source : 1c518883d082884db7f9323a5acc20361228c26b
extra : histedit_source : 70a73c23d1199d3bfbb5379c78930401166c094b
2018-05-19 20:17:45 -07:00
Narcis Beleuzu
7521c770a6 Bug 1456807 - Disable browser_taskbar_preview.js for frequent failures. r=jmaher 2018-05-12 19:53:43 +03:00
Kris Maglione
01c298aca6 Bug 1460092: Add ESLint rule to enforce use of ChromeUtils.generateQI. r=Gijs
Also fixes existing code which fails the rule.

MozReview-Commit-ID: CkLFgsspGMU

--HG--
extra : rebase_source : 86a43837659aa2ad83a87eab53b7aa8d39ccf55b
2018-05-08 18:36:22 -07:00
Margareta Eliza Balazs
eb6c5214a6 Merge inbound to mozilla-central. a=merge 2018-05-09 12:33:51 +03:00
Tooru Fujisawa
c12bdc0642 Bug 1420574 - Add CustomizableUITestUtils.prototype.{addSearchBar,removeSearchBar} to show search bar in nav bar and verify it does not overflow. r=Paolo 2018-05-09 09:48:40 +09:00
Ciure Andrei
de05fd66c8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-09 02:02:05 +03:00
Mark Banner
9c03ace970 Bug 1458235 - Fix various cases where Assert.ok or Assert.equal have been called wrongly. r=Gijs
MozReview-Commit-ID: Br3lKpKNVQJ

--HG--
extra : rebase_source : 972c69ecf63bb522b0f368e3c388f4eff558bbe3
2018-05-01 22:15:43 +01:00
Stephen A Pohl
339982e013 Bug 1366808: Add telemetry probe for about:restartrequired page. r=jimm,chutten 2018-05-08 10:31:59 -04:00
Chris Pearce
4c40136611 Bug 1457048 - Fix permissions tests to accomodate autoplay-media. r=johannh
MozReview-Commit-ID: E0BPcXPox7p

--HG--
extra : rebase_source : 54894acffa355de817783ae7ed5b6dadeea5b2f9
2018-05-04 13:49:14 +12:00
Kris Maglione
a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Mike de Boer
43e19414f5 Bug 1034036 - Part 3: start tracking windows activations to always be aware of their respective order. This allows consumers to iterate over a set of windows in order of appearance (e.g. z-order). r=dao
Tests are also added here for the legacy `getTopWindow` method to guard against
basic regressions.
We now start tracking browser windows right after the DOMContentLoaded event, which
is earlier than before. We now also assume that any newly tracked window has the
focus initially, which is closer to the nsIWindowMediator semantics.

MozReview-Commit-ID: 6QYJqA1tMPC

--HG--
extra : rebase_source : e04e567cf31d1a10e78647d75403b700bc65136b
2018-04-11 12:06:03 +02:00
Dale Harvey
80d9ecb796 Bug 1449338 - Show currently selected engine in newtabs search input. r=mikedeboer
MozReview-Commit-ID: GTsx9dReoxS

--HG--
extra : rebase_source : f44ae3d3eed6c5bbb6fc055fa0cdb3067b7841a1
2018-04-17 13:30:54 +01:00
Noemi Erli
3ef9e9fbe3 Backed out changeset 413f4d055ade (bug 1449338) for ES Linting opt failure in /builds/worker/checkouts/gecko/browser/base/content/contentSearchUI.js on a CLOSED TREE 2018-04-19 11:35:30 +03:00
Dale Harvey
9a64d286fc Bug 1449338 - Show currently selected engine in newtabs search input. r=mikedeboer
MozReview-Commit-ID: GTsx9dReoxS

--HG--
extra : rebase_source : 557d8d5df14dbbaab4195034fcdd4f3a54ef91d0
2018-04-17 13:30:54 +01:00
Kris Maglione
0f40271841 Bug 1453881: Part 1a - Automatically write add_task(function*) to add_task(async function) r=ochameau
This was done using the script at:

bc5629735d/processors/add-task-async.jsm

MozReview-Commit-ID: KxuS9Cen87

--HG--
extra : rebase_source : c0028e0cd55ba1643610cd30c55c6f4bca7d6e58
extra : histedit_source : ebc84fdec9c2db6176632d62de4e7bdad2a7829d
2018-04-12 21:10:04 -07:00
Marco Bonardo
257c0cb28b Bug 1452890 - Move address bar right-click selection from 'enterSelection' to its own histogram bucket. r=adw
MozReview-Commit-ID: AcP7Spl0sdZ

--HG--
extra : rebase_source : 9de517c50674956526c0de4bc91fbf2ab6e02afc
2018-04-13 16:11:19 +02:00
Michael Kohler
4c381de5f6 Bug 1428306 - Remove browser.storageManager.enabled pref r=baku,johannh
MozReview-Commit-ID: GodyYuGxVD

--HG--
extra : rebase_source : 0ba78e764ea2c77ecaafcd35a502940ea1a37ac2
2018-04-09 20:46:45 +02:00
Jonathan Kingston
ff73ac0338 Bug 1374741 - Within browser/ make openUILinkIn() provide the correct triggeringPrincipal. r=gijs
MozReview-Commit-ID: 1NQrlWzIBja

--HG--
extra : rebase_source : 29d337e111d82e9c5729b5a59e1a16d06e67774c
2018-02-21 14:28:48 +00:00
Marco Castelluccio
dbeabc37e3 Bug 1423667 - Reenable some tests that were disabled because of a Clang update. r=jmaher
--HG--
extra : rebase_source : 1ace11df58e858905e9d53c32d9cf8e1f75046d4
2018-04-05 09:20:47 +01:00
Michael Kelly
704cdc9a8f Bug 1450156: Do not wipe out tags in request template. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D834

MozReview-Commit-ID: 7WWtyz4PakT

--HG--
extra : rebase_source : a2e61970ad7ab4ccb7846e479b7ab761d18533b2
extra : amend_source : 5efe0e081d4a0bca2e29719339e1e51879af5fb3
2018-04-03 09:54:02 -07:00
Michael Kelly
0c559849e3 Bug 1450153: Count extension errors separately in keyed scalar. r=Gijs
Also adds resource://devtools to the whitelist of reported paths for the
scalar.

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

MozReview-Commit-ID: BiAyoTQsWxx

--HG--
extra : rebase_source : ce9e81a153a2c17ebfbb0c894821e7684c547a9a
extra : amend_source : 4ad84421c0b3334d218b2f6928290f95edffa351
2018-04-03 09:52:39 -07:00
Michael Kelly
6e60c098ef Bug 1449367: Use 100% sample rate for devtools error reports. r=jryans
Differential Revision: https://phabricator.services.mozilla.com/D835

MozReview-Commit-ID: IgtFosj2mii

--HG--
extra : rebase_source : c1090924be94df402c4761d5cf5bbf3aa59c24e3
extra : amend_source : 94236a6405c1b716107c1e91748c106f4d0a3a6b
2018-04-02 13:22:45 -07:00
Michael Kelly
8f726c448f Bug 1449312: Include isExtensionError in all reports. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D820

MozReview-Commit-ID: 8b8JFWaCMHp

--HG--
extra : rebase_source : 49c817d3342c65e079a3361c2ea54c5e1f98ecbb
extra : amend_source : 5af7a91bdc642b8d0518801cca74e5c88ec94fb7
2018-03-29 11:11:23 -07:00
Drew Willcoxon
e5e43736bc Bug 1221539 - Add search engine discovery to the page action menu. Part 2: Add the new action. r=Gijs
MozReview-Commit-ID: DEEZBwmV0JD

--HG--
extra : rebase_source : 71b68621198d72c069f505d922e92ed357eefe8b
2018-03-28 11:28:20 -07:00
Drew Willcoxon
36b7f691ee Bug 1221539 - Add search engine discovery to the page action menu. Part 1: Page action changes. r=Gijs
MozReview-Commit-ID: DGy3sBibpRW

--HG--
extra : rebase_source : b2c60c94707a0fd950c01fc7c5976888f4481c8a
2018-03-28 11:28:13 -07:00
Michael Kelly
2893d7699c Bug 1444554: Add Telemetry scalars for BrowserErrorReporter.jsm. r=Gijs,chutten
Differential Revision: https://phabricator.services.mozilla.com/D725

MozReview-Commit-ID: KY90uSslMmb

--HG--
extra : rebase_source : f4294437829b4fa0e86bdc222eb747165dc7b0f7
extra : intermediate-source : 882d329ad652edabf01be8bdf16e38915bbaba55
extra : source : a760e111f2f157fbb18e66117f026ca298d4343e
2018-03-16 13:24:39 -07:00
Kris Maglione
46748f4fae Backed out changeset 68e32f5b50e7 (bug 1444554) for failing its own test. r=backout
MozReview-Commit-ID: C6TooaguKcm
2018-03-20 20:31:57 -07:00
Michael Kelly
3e4a160302 Bug 1444554: Add Telemetry scalars for BrowserErrorReporter.jsm. r=Gijs,chutten
Differential Revision: https://phabricator.services.mozilla.com/D725

MozReview-Commit-ID: KY90uSslMmb

--HG--
extra : source : a760e111f2f157fbb18e66117f026ca298d4343e
2018-03-16 13:24:39 -07:00
Michael Kelly
527a07efae Bug 1445009: Tag errors from extensions with isExtensionError. r=Gijs
MozReview-Commit-ID: AQrlvTfJUUS

--HG--
extra : rebase_source : 0f88d1072dbb66334a6790bc9c62e8ce4a57f097
extra : histedit_source : 6210b991eeb12f19d4eb0e38d105e3200c372f7d
2018-03-19 13:40:53 -07:00
Michael Kelly
693bb90432 Bug 1445009: Refactor BrowserErrorReporter.jsm and tests. r=Gijs
The transforms for turning an nsIScriptError into a payload that Sentry
understands were getting a bit complex for a single function, so they're
refactored into a list of transform functions that are applied in sequence to
produce the payload. This will make it easier to manage adding new transforms to
the list.

Refactoring this revaled a problem with the test code: it assumed that listeners
for console messages were notified in order of registration (since it used a
temporary listener to determine when the rest of the listeners had been notified
of a message). Changing the async evaluation of the code broke the tests, so
they had to be refactored as well.

Without a way to know when all console listeners have been notified, we can't
assert that a message will not be received by BrowserErrorReporter. We do two
things to get around this:

- Where possible, call `observe` directly on the reporter instance.
- Add constructor params for registering and unregistering listeners so we can
  test that logic without relying on messages being received or not.

MozReview-Commit-ID: EEH6IROOuHD

--HG--
extra : rebase_source : a5af344c86e9756d4dbef761e4a6060515c87a61
extra : histedit_source : 5491c7359d2989a2735ec6d39de372154706c475
2018-03-19 12:41:30 -07:00
Cosmin Sabou
abbd20f9e5 Backed out changeset a760e111f2f1 (bug 1444554) for merge conflicts on browser_BrowserErrorReporter.js and failures after merging to autoland. a=backout 2018-03-21 02:51:03 +02:00
Michael Kelly
193cfecedb Bug 1444554: Add Telemetry scalars for BrowserErrorReporter.jsm. r=Gijs,chutten
Differential Revision: https://phabricator.services.mozilla.com/D725

MozReview-Commit-ID: KY90uSslMmb

--HG--
extra : rebase_source : 4d079be8eb56ace73b385f276e741b672385bda6
2018-03-16 13:24:39 -07:00
Tooru Fujisawa
1adba8c1fc Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
Kris Maglione
313b707b2e Bug 1443964: Part 3 - Remove no-cpows-in-tests rule. r=mconley
The shims that this rule tests for no longer exist.

MozReview-Commit-ID: DMgP7Hczavc

--HG--
extra : rebase_source : 765ddd5c62c9449c07ed050e44d86a3bd5c0ae64
extra : amend_source : 627a7694ac07182200f876901ded7a34721cd228
2018-03-07 19:31:28 -08:00
Michael Kelly
b6cb9ad0f5 Bug 1441366 Use internal add-on IDs in browser error stacktrace reports. r=kmag
MozReview-Commit-ID: 7OC4utHLgXC

--HG--
extra : source : 935e19ff56b7850622beb0bc6c85e07c2e1ff297
extra : intermediate-source : f9fac304d7e48f70f129e43508ec80673ccd82a8
2018-02-26 16:12:08 -08:00
Kris Maglione
ae3e671c55 Bug 1445551: Part 1c - Fix browser tests that attempt to use importGlobalProperties. r=mconley
When compartment-per-addon is disabled, browser mochitests will no longer
automatically run in an implicit Sandbox scope, which means that things like
Cu.importGlobalProperties will stop working.

MozReview-Commit-ID: AWloQ7gasEf

--HG--
extra : rebase_source : dacd0f8676dd3af60eeb372985e26d7850470e69
2018-03-13 18:18:27 -07:00
Michael Kelly
cf25d3e972 Bug 1445011: Include sourceName in error report payload. r=Gijs
The module attribute for an exception is surfaced in Sentry as the "transaction"
tag, and is useful for errors that don't include stack traces.

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

MozReview-Commit-ID: JKwgmE2jBXB

--HG--
extra : rebase_source : af817b5709e5b596885cc1674bcaaf7f96a0a48f
extra : amend_source : 8b7820ca53c29429ea9d788b1cf84012c99fdf81
2018-03-14 09:45:35 -07:00
Marco Bonardo
e381a1f62d Bug 1437803 - Add telemetry to understand how many users use TAB to cycle through Address Bar results. r=adw,dzeber
MozReview-Commit-ID: 6zdiIoxVIn1

--HG--
extra : rebase_source : a7d3ba1873fece0e82c0e6cee70bc74260df9630
2018-02-27 18:13:59 +01:00
Prathiksha
68615f1636 Bug 1192927 - Remove plugins specific code and initialize the flash plugin row in Page Info and support flash in Site Identity. r=Felipe,johannh
MozReview-Commit-ID: 7CLfN4Io0ez

--HG--
extra : rebase_source : 8af54d5a3e4c35113f54b4fcc0ae05b47c0ce60a
2018-02-18 00:20:11 +05:30
Andreea Pavel
1eb964c5f3 Backed out changeset 8e5b1525be69 (bug 1192927) or failing testing\firefox-ui\tests\functional\security\test_no_certificate.py TestNoCertificate.test_no_certificate on a CLOSED TREE 2018-03-02 13:51:15 +02:00
Prathiksha
30e02230c8 Bug 1192927 - Remove plugins specific code and initialize the flash plugin row in Page Info and support flash in Site Identity. r=Felipe,johannh
MozReview-Commit-ID: 3KUbgencO3M

--HG--
extra : rebase_source : d8cbf97c6764fd3700a7cbc6d5dc19565b97bad1
2018-02-18 00:20:11 +05:30
Gijs Kruitbosch
8fc45f6ac9 Bug 1370930 - remove DirectoryLinksProvider, r=Mardak
MozReview-Commit-ID: 4YcsNvRg7Hn

--HG--
extra : rebase_source : 15518736c9cc52cf18a0540417e6a38c9bed630a
2018-03-01 16:53:49 +00:00
Florian Quèze
c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Sebastian Hengst
769222fadf merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : browser/base/content/tabbrowser.xml => browser/base/content/tabbrowser.js
2018-02-28 12:54:12 +02:00
Michael Kelly
3f4b1d1560 Bug 1440534 Include source code in JS error reports. r=Gijs
Along with adding source code, this updates the reported to more closely follow
the Sentry SDK docs:

- Remove the "request" payload, which is for reporting errors related to HTTP
  requests.
- Include SDK info in the payload.
- Reverse the order of stack frames; they are meant to be ordered oldest to
  newest.
- Include a local UTC timestamp in the payload.
- Remove the in_app flag from stack traces, as it's not required or useful in
  the context of Firefox.

MozReview-Commit-ID: 558KrZNah6d

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

--HG--
extra : rebase_source : 9346b4402eadffc87d3065b61fb5afd3316e0c0a
2018-02-27 11:08:38 -08:00
Mark Banner
294979dc32 Bug 1441460 - ESLint's no-define-cc-etc looks at the wrong property item when checking for Cc/Ci/Cu/Cr usage. r=florian
MozReview-Commit-ID: IkSkCWqBHOn

--HG--
extra : rebase_source : 6b3a2977d4b157aea54c6e3f6960d3673e751a34
2018-02-23 20:42:17 +00:00
Kyle Machulis
e4e6405a51 Bug 1201590 - WebMIDI device access permissions prompt implementation; r=baku,johannh
MozReview-Commit-ID: LxElgfdaiQs

--HG--
extra : rebase_source : 465202eccf7a514279201f71f6df2e727321f432
2017-11-15 11:13:12 -08:00
Marco Bonardo
fa2de7886f Bug 1434414 - Locking the 'sanitize on shutdown' pref causes sanitization to happen at every startup. r=johannh
MozReview-Commit-ID: 6PvRFmaZsBC

--HG--
extra : rebase_source : 9b9a670abf6037d239b3b8efd025b9341f45d820
2018-02-15 00:42:58 +01:00
Michael Kelly
c471ea87e7 Bug 1437696 Reset console after BrowserErrorReporter tests. r=gijs
Because BrowserErrorReporter instances process previously-logged messages when
they are initialized, multiple runs of each test case (such as during the test
verification suite) cause new instances to process messages from the previous
test run. Resetting the console at the end of each test case prevents tests from
affecting each other.

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

MozReview-Commit-ID: HwjbbE00o97

--HG--
extra : rebase_source : 94ea69f8dbe679ff228c5c9b016f131650be1671
extra : amend_source : 5a9d0b5018d28d2dfc4782e66c732b711cb67109
2018-02-21 15:19:26 -08:00
Masayuki Nakano
cf83ee7bb4 Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug
Note that this patch also replaces legacy VK_* with KEY_*, and replaces
synthesizeKey() for inputting some characters with sendString() because
it's better and clearer what it does and it sets shiftKey state properly.

MozReview-Commit-ID: De4enbjux3T

--HG--
extra : rebase_source : 2296b84bff8e22f01eeb48cd8614fac5db11136a
2018-02-15 04:15:39 +09:00
Paolo Amadini
f5f1c89ced Bug 1437811 - Part 1 - Fix test that didn't wait for PanelMultiView events. r=Gijs
MozReview-Commit-ID: CxWMEkzGMyZ

--HG--
extra : rebase_source : c1862d866caf1808300b174c5bc75f7f3cbddbb3
2018-02-14 14:12:57 +00:00
Thomas Wisniewski
7b962d7fdd Bug 792808 - Change browser/[components|modules|experiments] to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest); r=mconley
MozReview-Commit-ID: 66ubjdJssU9

--HG--
extra : rebase_source : 58b161234b7c94d568d368acbea5eb141a5d7ca7
2017-09-19 12:17:10 -04:00
Ed Lee
d18f00ce9b Bug 1433324 - Part 1. Assume true for browser.newtabpage.activity-stream.aboutHome.enabled. r=ursula
MozReview-Commit-ID: KOSX1qNBna8

--HG--
extra : rebase_source : ad794ec6689df2f25fd7c053dc1963568036739b
2018-02-13 14:48:49 -08:00
Michael Kelly
2fb5002bb1 Bug 1426482 Report browser errors in Nightly to Mozilla. r=gijs
Errors are collected via nsIConsoleService, shaped to a Sentry-compatible
format, and sent off. Reporting is on by default, and can be disabled using a
checkbox added to the privacy prefs in about:preferences.

Collected errors are sampled to avoid overloading the collection service; the
sample rate was determined by a previous Shield study that measured the number
of errors occurring in Nightly.

The feature is hard-disabled outside of Nightly and local builds, and the
preference is disabled by default in local builds. It is intended as a prototype
that will be evaluated and replaced by a more robust collection system if it
proves helpful.

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

MozReview-Commit-ID: 6aqUatXyuYs

--HG--
extra : rebase_source : 574aa329069f80e0beb52d1fd15f43e65a548c5c
extra : amend_source : a817fa4691c520eafaef808531b10581d09aeb14
2018-02-12 10:59:47 -08:00
Paolo Amadini
ce5011416f Bug 1434883 - Part 1 - Fix tests for the activated page action panel. r=Gijs
The promisePanelEvent function was unreliable because it did not raise an error if the provided panel did not exist, which caused one of the callers to ignore a missing panel silently. All the callers have now been updated based on whether they expect the panel to exist or not.

MozReview-Commit-ID: AGT4rHls4OB

--HG--
extra : source : 0857964174624b1cf3d4ea3ffa94ba21b090788a
extra : intermediate-source : 29972a52d5c4829eb7fd662792836c934b1d11d8
2018-02-04 16:32:20 +00:00
Nathan Watson
1605552221 Bug 1434262 - Remove PlacesTestUtils.clearHistory() r=mak
MozReview-Commit-ID: In2RaM0LBsc

--HG--
extra : rebase_source : 0cb5dc65a53bfa384b93fb2a8c2af67ad9d3fe1c
2018-01-31 22:03:05 -08:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Cosmin Sabou
793dad7903 Backed out 3 changesets (bug 1434883) for frequent leaks in AbstractThread, AnimationTimeline, Annotators, Array, AsyncFreeSnowWhite, ... on a CLOSED TREE
Backed out changeset c8115e90ffa8 (bug 1434883)
Backed out changeset 22c83b1d417d (bug 1434883)
Backed out changeset 085796417462 (bug 1434883)
2018-02-06 16:30:56 +02:00
Paolo Amadini
c8f76a4aa0 Bug 1427350 - Part 1 - Use "autocomplete-rich-result-popup" instead of "autocomplete-result-popup" for the search bar. r=mak
MozReview-Commit-ID: AO926Wmhkbm

--HG--
extra : source : c16a5935dcadd320f54f5989d9f93f8710444b29
2018-02-04 15:00:48 +00:00
Paolo Amadini
815f92794b Bug 1434883 - Part 1 - Fix tests for the activated page action panel. r=Gijs
The promisePanelEvent function was unreliable because it did not raise an error if the provided panel did not exist, which caused one of the callers to ignore a missing panel silently. All the callers have now been updated based on whether they expect the panel to exist or not.

MozReview-Commit-ID: AGT4rHls4OB

--HG--
extra : rebase_source : f95967444ffbd2bbdc99560104845af31b71e94b
2018-02-04 16:32:20 +00:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Andreea Pavel
78bc55ae1f Merge inbound to mozilla-centra r=merge a=merge 2017-12-22 11:54:07 +02:00
Mike Conley
4d6ed7eb15 Bug 1424373 - Rename crash report submission pref. r=Mossop
--HG--
extra : rebase_source : 14cfcee27cefc13911aee2c0663c74f3e9101275
extra : amend_source : bb12f2b78b2c43ef79957d700167a2fea80d0188
2017-12-21 16:36:13 -05:00
Chung-Sheng Fu
cae5668a08 Bug 1413780 - Change permission name from canvas/extractData to canvas. r=johannh
MozReview-Commit-ID: 40mesFLeRWU

--HG--
extra : rebase_source : d6dcab54875a8a557a75d63f25fc1b7844f54d21
2017-12-14 15:59:57 -06:00
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
Ryan VanderMeulen
578923dcdc Bug 1367895 - Remove some obsolete nightly_only & release_or_beta test manifest annotations. r=mconley 2017-09-12 21:26:17 -04:00
Drew Willcoxon
c0de9ab9f5 Bug 1398375 - PageActions forgets about actions added after bug 1397501 landed. r=Gijs
MozReview-Commit-ID: IIAPvUSUMot

--HG--
extra : rebase_source : 724e067bb1d642dbb57d7120ed2b64a35d3b5bf7
2017-09-09 14:14:12 -07:00
Andrei Oprea
d4cd0423d0 Bug 1398080 - Fix intermittent failures related to about:home search. r=Mardak
MozReview-Commit-ID: 1SRe0a0nIDT

--HG--
extra : rebase_source : 944f1ff24d08f66e5f7960bf5ca48d9ac3adf020
2017-09-06 10:34:26 +03:00
Drew Willcoxon
67fd8c9838 Bug 1397501 - Page actions added to the urlbar should always come before the bookmark star. r=Gijs
MozReview-Commit-ID: 6pVlr9d0crn

--HG--
extra : rebase_source : 0f83a8ea8ada71bc6ce88859d09fc93460abafa3
2017-09-07 16:44:34 -07:00
Paolo Amadini
fe96089fe4 Bug 1387416 - Place the search bar in the customization palette for new profiles. r=Gijs
MozReview-Commit-ID: Tq8YrZWG6P

--HG--
extra : rebase_source : 2e02e0a809d08ff26291a027b73a54668d6d5f9d
2017-09-06 13:09:27 +01:00
Drew Willcoxon
7fb6175d88 Bug 1396053 - Page action urlbar button ordering can get messed up for new windows. r=Gijs
MozReview-Commit-ID: 1KwrS6tsnhO

--HG--
extra : rebase_source : 05f4a7e485757ca72fb56a1116e271ad3d6241bf
2017-09-04 23:58:27 -07:00
Andrei Oprea
7fef598305 Bug 1394777 - Add test for Activity Stream about:home search. r=Mardak
MozReview-Commit-ID: HYjjeGgqshl

--HG--
extra : rebase_source : 613c8ae29e2a6b3921bc9a00df32c8be2471f1cf
2017-09-01 14:37:04 +02:00
Drew Willcoxon
73ad0ddaf3 Bug 1388835 - Hide page action urlbar buttons on about pages (about:preferences, etc.). r=Gijs
MozReview-Commit-ID: 9lid8VpPkJE

--HG--
extra : rebase_source : b57a37788f20345750d8daa5f73011bf6fac1ef8
2017-08-26 12:47:33 -07:00
Panos Astithas
6d7be02dd3 Bug 1181644 - Include local search suggestions in the awesomebar like all other access points. r=mak
MozReview-Commit-ID: 3RT3xXCA1lB

--HG--
extra : rebase_source : bf3666479f6c95c1a1a1d7b459213eec4636e8f9
2017-08-24 18:10:53 +03:00
Wes Kocher
096bc1e19f Backed out changeset 69f853076a0f (bug 1381460) for failures in browser_UsageTelemetry_content.js a=backout
MozReview-Commit-ID: 3oQoIoK1uwD
2017-08-24 12:50:14 -07:00
Andrei Oprea
e21c68b1df Bug 1381460 - Add telemetry search event for Activity Stream. r=Dexter data-r=bsmedberg
MozReview-Commit-ID: 2NdtjQ2Tsbo

--HG--
extra : rebase_source : fc9458c35dd5b2881fd61232040184f2583cc572
2017-08-22 15:35:52 +02:00
Sebastian Hengst
f575346459 Backed out changeset ed1101844eea (bug 1381460) for eslint failure at browser/modules/test/browser/browser_UsageTelemetry_content.js:148: 'getSearchCountsHistogram' is not defined. r=backout 2017-08-21 18:27:57 +02:00
Andrei Oprea
dafc6cbd15 Bug 1381460 - Add telemetry search event for Activity Stream. r=Dexter data-r=bsmedberg
MozReview-Commit-ID: GLbDNLglvDY

--HG--
extra : rebase_source : 2aee316d1b8354f67c7b3236f75f5e4b104f8705
2017-08-05 17:59:49 +02:00
Drew Willcoxon
e3ddbef6f2 Bug 1391082 - Page action panel ordering can get messed up. r=Gijs
MozReview-Commit-ID: 3hQLTLF3RU8

--HG--
extra : rebase_source : 7ed94560c20882ac85114df80d50221eb0e2b172
2017-08-17 16:40:35 -07:00
Drew Willcoxon
3c27aee62b Bug 1385418 - Remove disabled pocket code for the toolbar button now that it's been replaced by the item in the page action panel. r=Gijs
MozReview-Commit-ID: 1wANxaD3QaV

--HG--
extra : rebase_source : f87650ab8c09f7a313cda9b7ec73ee1e20d6fe34
2017-08-16 10:13:15 -07:00
Lie Ryan
0270e19add Bug 1361855 - Filter TAB_COUNT histogram to record only on 5 minute intervals; r=Gijs
MozReview-Commit-ID: F5mI1eiffWN

--HG--
extra : rebase_source : 477b4c7df0c6c7dec0fad0648ff069037fc8e696
2017-06-16 12:48:19 +00:00
Lie Ryan
360b5ce3ad Bug 1361855 - Update tab count on page load and other URL changes; r=Gijs
MozReview-Commit-ID: gKqdEHI3M1

--HG--
extra : rebase_source : 39876c42493acc46733bb73a5a42cf7630983eb0
2017-06-11 19:28:20 +00:00
Lie Ryan
0eaa56dfd2 Bug 1361855 - Record TAB_COUNT histogram during TabOpen event; r=Gijs
MozReview-Commit-ID: 7ZHakmLZYHu

--HG--
extra : rebase_source : 739401bbf02cd39f9d78b4fd5db0460b3da88ba6
2017-06-09 18:40:24 +00:00
Lie Ryan
4102eb4e5b Bug 1361855 - Refactor browser/modules/test/browser/head.js:getHistogram() and getKeyedHistogram(); r=Gijs,MattN
MozReview-Commit-ID: 3GyNfmXm5g6

--HG--
extra : rebase_source : 192ab9b904886e1e371c9c60ac06e6618f9f683e
2017-06-09 17:27:39 +00:00
Shane Caraveo
1fe5a3a13e Bug 1388902 remove socialapi share, r=florian
MozReview-Commit-ID: Kcjugf3Ql6y

--HG--
extra : rebase_source : 8f82fa6beabfa89916bbc97ec799c6e5d6b3ff18
2017-08-16 08:54:21 -07:00
Gijs Kruitbosch
45e1742ade Bug 1390006 - fix up expectations of BrowserUITelemetry tests to match what devedition is doing, r=johannh
MozReview-Commit-ID: I03npiUHECK

--HG--
extra : rebase_source : bc5dcf02afb6236d5e943a6a7a94dc83ea683bbc
2017-08-14 12:17:34 +01:00
Mike Taylor
9130bd250b Bug 1373650. Disable Report Site Issue page action before running page action tests. r=adw
MozReview-Commit-ID: J5gAWBvw8td

--HG--
extra : rebase_source : 61823de48dcbc475aed6dee8e54ae20d4a1e0700
2017-08-09 14:53:53 -04:00
Andrew Halberstadt
d2109610fb Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : 8607b3964da207a6076c79b6f1d75b40503cdd7d
2017-08-10 14:48:21 -04:00
Phil Ringnalda
0ff5a4285d Backed out changeset 6896f93a2327 (bug 1385352) for not making it to m-c before the next violation of its new linting rule merged to autoland
MozReview-Commit-ID: 3HDE2C3wSU0
2017-08-10 20:21:19 -07:00
Andrew Halberstadt
f625fd5c37 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : d72a88962ec8d843e7be99e25f710887f01b6e1a
2017-08-10 14:48:21 -04:00
Masatoshi Kimura
8b713b2b0f Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC

--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Georg Fritzsche
e035cc0e52 Bug 1302681 - Part 1: Extend Event Telemetry core for recording from addons. r=dexter
To cut down on complexity, we don't require specifying any expiry versions.
Given that these events will be recorded non-persistently from off-train add-ons, they can be expired by shipping new add-on releases.

We also start to use the new "record on release" terminology here instead of opt-in/opt-out, but are not changing the internal functionality yet.

Technically, this is implemented by keeping a separate registry for the dynamic event information.
Built-in & dynamic events are tracked with separate numeric ids, so introduce a common identifier for both, an EventKey.
For actual event storage, the events are treated the same as built-in events. They are simply bucketed into the 'dynamic' process storage.
This approach ends up duplicating code paths that use the event info, but keeps a single implementation for recording, storage & serialization.

--HG--
extra : rebase_source : 639f9353a7e9383efe87f7f059ca83b56fb3b2a7
2017-08-03 07:03:00 -04:00
UK992
04a7b8f7ca Bug 1363485 - Update tests r=dao
MozReview-Commit-ID: 4epuVQVCJPH

--HG--
extra : rebase_source : aef306464344009feb0e28295a0159cc9aab19ad
2017-07-30 20:39:55 +02:00
Drew Willcoxon
8626ed5a44 Bug 1363188 - Add an add/remove context menu to page actions in the urlbar. r=Gijs
MozReview-Commit-ID: 5rJWvID5OPd

--HG--
extra : rebase_source : 6074725a6136dcc674b2d09abed461dc7134536a
2017-08-02 09:31:07 -07:00
Sebastian Hengst
4f5ee61f5b Backed out changeset f3e224764ca8 (bug 1363485) 2017-08-02 16:24:54 +02:00
Rajesh Kathiriya
48e6bc2124 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : b455e846ab79c8141150517e67e542e3e06d630e
2017-07-25 23:45:41 +05:30
UK992
4d606a1288 Bug 1363485 - Update tests r=dao
MozReview-Commit-ID: 4epuVQVCJPH

--HG--
extra : rebase_source : aef306464344009feb0e28295a0159cc9aab19ad
2017-07-30 20:39:55 +02:00
Drew Willcoxon
be54613bde Bug 1386337 - Disable Photon page actions when Photon is not enabled. r=Gijs
MozReview-Commit-ID: 3GrsscIxeyW

--HG--
extra : rebase_source : c227aa7c300d533b07d5776bb9cef758ee605c07
2017-08-01 20:37:22 -07:00
Sebastian Hengst
804a36e668 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya
22dfa54ef4 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : 5992bdde34bcc2421350433bc8c1e498a6bba848
2017-07-25 23:45:41 +05:30
Drew Willcoxon
bafcf94652 Bug 1374477 - Add a new test for Photon page actions, along with some related code changes. r=Gijs
MozReview-Commit-ID: ADaEnEiGFvX

--HG--
extra : rebase_source : 0c7e8b3d5244eb9c3def5dac0c9a2bf3b830f4f7
2017-07-29 20:25:14 -07:00
Jared Wein
109235b976 Bug 1384522 - Add automated test for TextZoomChange and the urlbar-zoom-button. r=dao
MozReview-Commit-ID: adhZCyStXz

--HG--
extra : rebase_source : 55bcfa284b7d23086a5cf5b7d5981654859a06cf
2017-07-26 07:30:03 -04:00
Carsten "Tomcat" Book
732f652f89 Backed out changeset 29131feeed60 (bug 1380065) for windows 7 perma failure in test_bug884693.xul | Got expected message count - got 1, expected +0 2017-07-25 10:52:58 +02:00
Sam Foster
fba4d7c501 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior
* Re-enable cosmeticAnimations pref for browser_ext_popup_select.js which is known to be more reliable with animations

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : effd7fab536294de967661be4dcaaadc5b869db7
2017-07-13 14:30:38 -04:00
Wes Kocher
4d4051d2e2 Backed out changeset 2e0c2b3bc28b (bug 1380065) for eslint failures in browser_ext_popup_select.js a=backout
MozReview-Commit-ID: HZqI6A06YiO
2017-07-24 17:25:37 -07:00
Sam Foster
fef0cddea2 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior
* Re-enable cosmeticAnimations pref for browser_ext_popup_select.js which is known to be more reliable with animations

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : 577f534d2409da76eecd6c36dfa3db50eca50f40
2017-07-13 14:30:38 -04:00
Wes Kocher
823f61b3a6 Backed out changeset 7e0990dca8d1 (bug 1380065) at developer's request a=backout
MozReview-Commit-ID: HTBdXaEmagI
2017-07-24 16:13:28 -07:00
Sam Foster
3dd758f190 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : 4ed74175107b2cf831b698361f0a2a9b1bd72113
2017-07-13 14:30:38 -04:00
Wes Kocher
55d0ef80b9 Backed out changeset 49c4c4a3fb81 (bug 1380065) for failures in browser_aboutStopReload.js a=backout CLOSED TREE
MozReview-Commit-ID: Hxfpijgy3dL

--HG--
extra : amend_source : 588ff0272fac30b78726cf2e216c4f0294c2f3ab
2017-07-21 17:01:30 -07:00
Sam Foster
d169f11f91 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : a83177668dc2035ff5c6d92a5f93227190583229
2017-07-13 14:30:38 -04:00
Mark Banner
f2bb3fb29f Bug 1308343 - Fix intermittent failures in browser_ContentSearch.js by ensuring we keep listeners alive and listening for loads correctly. r=adw
MozReview-Commit-ID: CZxATBbijlx

--HG--
extra : rebase_source : 08561f66753978baca4df238ab3dac2e93464386
2017-07-12 12:01:53 +01:00
Perry Jiang
3f8ea432d9 Bug 1377868 - .dmp.ignore files should not cause other crash reports to be ignored. r=felipe
MozReview-Commit-ID: Lvebn8uLoYd
2017-07-03 14:48:40 -07:00
Florian Quèze
2924991bf6 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Florian Quèze
7375dcec46 Bug 1374282 - script generated patch to remove generators from add_task in browser/ and toolkit/, r=Mossop. 2017-06-22 12:51:43 +02:00
Paolo Amadini
585fbe6cec Bug 1242505 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : b6573f8e2001f91d0e5a50f6376b191459549e94
extra : intermediate-source : 0411e687044ecc7b56684196238e6e6e68a9d685
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-06-18 08:05:06 +01:00
Gijs Kruitbosch
fb0c16f310 Bug 1359137 - fix BrowserUITelemetry's reliance on the default state of things in CustomizableUI, r=mikedeboer
MozReview-Commit-ID: I4mpVR6G8pi

--HG--
extra : rebase_source : bfda0adbf31284f982c6012353b707ec1a223089
2017-05-31 14:15:18 +01:00
Georg Fritzsche
cada1f8fab Bug 1361661 - Part 5 - Fix browser_UsageTelemetry_*.js tests. r=dexter 2017-05-23 13:49:01 +07:00
Sebastian Hengst
d35833f387 Backed out changeset 6caffcb2589c (bug 1361661) 2017-05-22 20:40:07 +02:00
Georg Fritzsche
97c15d8737 Bug 1361661 - Part 5: Fix browser_UsageTelemetry_*.js tests. r=dexter
--HG--
extra : rebase_source : 3c572c5bb78037537423c3c0b2ddfab0a6d34648
extra : source : 81b05dd29eb311e4fd423721b438018a828903ea
2017-05-22 15:42:13 +07:00
Sebastian Hengst
bbdead732f Backed out changeset 81b05dd29eb3 (bug 1361661) 2017-05-22 16:19:11 +02:00
Georg Fritzsche
5003fda569 Bug 1361661 - Part 5: Fix browser_UsageTelemetry_*.js tests. r=dexter 2017-05-22 15:42:13 +07:00
Mike Cooper
94879bdf84 Bug 1361578 - Remove SelfSupport, since it is obsoleted by shield-recipe-client. r=Gijs
MozReview-Commit-ID: 1FCqNa5wxZk

--HG--
extra : rebase_source : a7a20b4376ecaf2d4e91da27a7b7b32091f03dbd
2017-05-19 10:02:11 -07:00
Mark Banner
4fb45e5b8c Bug 1365412 - Clean up various ESLint global definitions in browser/. r=mossop
MozReview-Commit-ID: JqAm9x1XGCM

--HG--
extra : rebase_source : e9215288195f1fe683832db53d87dbe77c697b4c
2017-05-16 22:22:42 +01:00
Marco Bonardo
4b561945c6 Bug 1344924 - Contextual onboarding for search suggestions in the awesomebar. r=adw
Make the onboarding being opt-in or opt-out depending on the default value of the
browser.urlbar.sugges.searches pref.
In both cases respect userMadeSearchSuggestionChoice though, so we won't further nag users that
made a choice already.

MozReview-Commit-ID: D4rRMRbdMrW

--HG--
rename : browser/base/content/test/urlbar/browser_urlbarSearchSuggestionsNotification.js => browser/base/content/test/urlbar/browser_urlbarSearchSuggestions_opt-in.js
extra : rebase_source : 819ba7a77998940fb230fb531dd9fcf1301cfcd5
2017-04-05 15:01:02 +02:00
Carsten "Tomcat" Book
7a4b622a04 Backed out changeset 720c38d9052e (bug 1344924) for crashes at [@ mozilla::net::nsSocketTransport::InitiateSocket]
--HG--
rename : browser/base/content/test/urlbar/browser_urlbarSearchSuggestions_opt-in.js => browser/base/content/test/urlbar/browser_urlbarSearchSuggestionsNotification.js
2017-05-17 10:56:57 +02:00
Marco Bonardo
33d0ed1409 Bug 1344924 - Contextual onboarding for search suggestions in the awesomebar. r=adw
Make the onboarding being opt-in or opt-out depending on the default value of the
browser.urlbar.sugges.searches pref.
In both cases respect userMadeSearchSuggestionChoice though, so we won't further nag users that
made a choice already.

MozReview-Commit-ID: D4rRMRbdMrW

--HG--
rename : browser/base/content/test/urlbar/browser_urlbarSearchSuggestionsNotification.js => browser/base/content/test/urlbar/browser_urlbarSearchSuggestions_opt-in.js
extra : rebase_source : 2eb22b5965734d9702b115bc653ce55174003221
2017-04-05 15:01:02 +02:00
Christoph Kerschbaumer
e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Florian Quèze
85e816d9e7 Bug 1362882 - hand cleanup after applying the previous script-generated patch, r=Mossop. 2017-05-12 14:56:12 +02:00
Florian Quèze
97f401c644 Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +02:00
Florian Quèze
16530fa1e3 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze
5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Ed Lee
b7eda53134 Bug 1241390 - Remove Suggested Tiles and related features. r=adw,emtwo
Remove suggested and enhanced tiles along with related campaign, frequency-cap, inadjacency, pings, preferences, strings, styles, tests.

MozReview-Commit-ID: FkjaSpSFQHu

--HG--
extra : rebase_source : 1c58ac542180f0abb290639ec1c61b9edf3d0a51
2017-05-02 17:09:16 -07:00
Wes Kocher
21203b47b5 Merge inbound to m-c a=merge
MozReview-Commit-ID: JgXkqrOwl3N
2017-05-03 13:40:24 -07:00
Fischer.json
7b160b2e4c Bug 1358384 - Test the persistent-storage permission based on the pref-on/off state, r=johannh
The persistent-storage permission is still only pref-on on Nightly so this patch would test it only when it is pref-on.

MozReview-Commit-ID: Ei64cpJslgU

--HG--
extra : rebase_source : 1a2515a7c13675c80387c4e4628687ddbea64842
2017-04-21 00:04:53 +08:00
Kershaw Chang
e8df9986bf Bug 1351281 - Remove NetworkPrioritizer.jsm, r=dao
Since Necko has already given higher priority to http transactions from the focused window, we don't need NetworkPrioritizer.jsm anymore.
2017-05-03 03:28:00 +02:00
Joel Maher
e146f5f837 Bug 1308343 - Intermittent browser/modules/test/browser/browser_ContentSearch.js. temporarily disable. r=gbrown
MozReview-Commit-ID: 1tvAPxjIZ0J
2017-04-26 11:01:20 -04:00
Sebastian Hengst
89ad1caece Bug 1356758 - Intermittent browser/modules/test/browser/browser_UsageTelemetry_urlbar.js. temporarily disable linux32/debug: fix test annotation. r=bustage-fix 2017-04-20 20:51:42 +02:00
Joel Maher
02dde1226e Bug 1356758 - Intermittent browser/modules/test/browser/browser_UsageTelemetry_urlbar.js. temporarily disable linux32/debug. r=adw
MozReview-Commit-ID: F6ypnlL4BQx
2017-04-20 14:09:08 -04:00
Jeff Walden
c543ba16aa Bug 1350613 - Don't repeatedly create DateTimeFormat instances for the exact same set of options, but instead use cached formatters. r=markh
MozReview-Commit-ID: 6FteRerCH2x

--HG--
extra : rebase_source : 32139573340ee4fa9c331756a35e92eac9718bfd
2017-04-14 13:29:02 -07:00
Zibi Braniecki
a1a4f0b7c9 Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK

--HG--
extra : rebase_source : 883a91b249b6953b7872bfb9a8851e8be7257c7b
2017-03-11 18:43:11 -08:00
Sebastian Hengst
7b30105d39 Backed out changeset 60d72c2dd49d (bug 1346616) for eslint failure in DirectoryLinksProvider.jsm. r=backout on a CLOSED TREE 2017-04-18 00:48:16 +02:00
Zibi Braniecki
cce53c69bc Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK

--HG--
extra : rebase_source : 2f166cf1746f389a035f7cf557edcadeacb10fa0
2017-03-11 18:43:11 -08:00
Sebastian Hengst
8bd051237a merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Drew Willcoxon
4f0389f555 Bug 1334615 - Add a probe to determine whether the keyboard or the mouse was used to select an action. r=bsmedberg,mak
MozReview-Commit-ID: G3K2l6jnCR8

--HG--
extra : rebase_source : e3f9696defa7cdd76695f657b7f5a6e01edb604f
2017-04-14 17:27:51 -07:00
Panos Astithas
aa73212e5b Add an index-per-type histogram for awesomebar results (bug 1345834). data-review=bsmedberg r=adw,bsmedberg
MozReview-Commit-ID: HxqENFSYcJy

--HG--
extra : rebase_source : b7bdbc6cdd6d67ed633b19b36418e3272a3f96e5
2017-04-05 17:51:41 +03:00
Fischer.json
2f7b2ff390 Bug 1309123 - Show persistent-storage permission request notification, r=florian
MozReview-Commit-ID: H3YAalEyWME

--HG--
extra : rebase_source : 486c5ed353d048c832baf3d6ec81e74c617b5761
2017-04-11 12:07:29 +08:00
Prathiksha
68df0b85af Bug 1224137 - List the 'allow pages from <example.com> to take you to their tab' permission (for alerts/prompts) in the site identity / permission panel. r=johannh
MozReview-Commit-ID: LIsJ8VG0stN

--HG--
extra : rebase_source : 975e6684f0872ea3f0e42bf073f1bceec12d5bc7
2017-04-09 11:45:01 +05:30
Mark Banner
585bf398ea Bug 1342459 - Enable no-undef on browser/base, and clean up unnecessary no-undef references. r=mossop
MozReview-Commit-ID: KVrAnAjMD1E

--HG--
extra : rebase_source : 7a9651c055e2c6e959d42d08e5be9de2e2265346
2017-04-03 11:46:56 +01:00
Gijs Kruitbosch
bdbb254b53 Bug 1351300 - stop using the hidden DOM window from HiddenFrame.jsm, r=kmag
MozReview-Commit-ID: JiAYDG73NMy

--HG--
extra : rebase_source : 43dc24dfbffa788a0920b9db7221f950b5c0052a
2017-03-28 15:24:05 +01:00
Johann Hofmann
a180cefa13 Bug 1349990 - Update host matching for webrtc prompts. r=Paolo
MozReview-Commit-ID: IIuHvVTy2G7

--HG--
extra : rebase_source : 7614341c8240d49470dcedcf2092c8e68b100576
2017-03-24 13:13:18 +01:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Nihanth Subramanya
1f58a6ce81 Bug 1347503 - Handle "swapping" event for permission notifications. r=johannh
MozReview-Commit-ID: ig8XaAe8D2

--HG--
extra : rebase_source : 9caf4877f0a9632bea4f000bf731f16716e85796
2017-03-19 02:22:39 +05:30
Carsten "Tomcat" Book
ce1d75ce0d Backed out changeset 4e2d53d22566 (bug 1347503) for crashes in windows a11y tests 2017-03-23 09:15:29 +01:00
Nihanth Subramanya
52a1a52de1 Bug 1347503 - Handle "swapping" event for permission notifications. r=johannh
MozReview-Commit-ID: ig8XaAe8D2

--HG--
extra : rebase_source : 9caf4877f0a9632bea4f000bf731f16716e85796
2017-03-19 02:22:39 +05:30
Jared Wein
a54eda04ca Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx

--HG--
extra : rebase_source : 61d2aa91bf9474af3d72a5dea41b25dca442c1b7
2017-03-21 14:29:43 -04:00
Mark Banner
bd625e4e9f Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6

--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Nihanth Subramanya
d5ac420cfd Bug 1341742 - Split secondary action for push notification permission prompt into "not now" and "never". r=johannh
MozReview-Commit-ID: DTkUuWabNjH

--HG--
extra : rebase_source : cd0188b641c858a8a631b1112be593dc4085aa8c
2017-02-24 18:42:36 -08:00
Florian Quèze
be00c3b9e8 Bug 1345294 - add an eslint rule to reject usage of {get,set}ComplexValue for nsISupportsString and suggest {get,set}StringPref instead, and make it pass, r=Mossop. 2017-03-16 19:26:02 +01:00
Florian Quèze
9c4d40bb54 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Jared Wein
bb9354d1a2 Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC

--HG--
extra : rebase_source : 9468cd5b1f67461e4338d4e0782761667f2f2184
2017-03-14 19:58:38 -04:00
Carsten "Tomcat" Book
10f32bd039 Backed out changeset 56b09fa0748c (bug 1345375) on request from dao 2017-03-15 10:23:55 +01:00
Jared Wein
47bca0c9c7 Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC

--HG--
extra : rebase_source : e0c8ebf58f73644ba17978afea72a3470df770d8
2017-03-14 19:58:38 -04:00
Mark Banner
16d49e8c42 Bug 1086549 - Converting browser tests from removePage to History.remove. Patch by Yoric, updated by Standard8. r=mak
MozReview-Commit-ID: BdRCP6DOHZS

--HG--
extra : rebase_source : 7a0b94297aebc2cad6f34f2a541781f9227c7bc1
2017-03-08 20:39:05 +00:00
Panos Astithas
6e612af812 Revert "Bug 1334617 - Temporarily disable tests for FX_URLBAR_SELECTED_RESULT_INDEX since it's expired. rs=Dexter, landing on central with a=tomcat" r=mak
This reverts commit 59d83a5d449a7815378c880a03eb4e44c68e7127.

--HG--
extra : rebase_source : 29d6e0b08bb00c115dc34b8f9a5286e85bd4efa0
2017-03-09 14:21:55 +02:00
Panos Astithas
9d1b43485c Revert "Bug 1334617 followup - Eslint loves commented code. a=tomcat" r=mak
This reverts commit d253a0bdaa12c8dfd96ca9bb2f89ff35bfc47b10.

--HG--
extra : rebase_source : efbe1805a1ad41a478188ca7842f0e5affe52b15
2017-03-09 14:20:31 +02:00
Marco Bonardo
d4adaabd6d Bug 1334617 followup - Eslint loves commented code. a=tomcat
MozReview-Commit-ID: HEeFwdv8c7j
2017-03-07 17:35:52 +01:00
Marco Bonardo
06a1027d95 Bug 1334617 - Temporarily disable tests for FX_URLBAR_SELECTED_RESULT_INDEX since it's expired. rs=Dexter, landing on central with a=tomcat
MozReview-Commit-ID: 3EPjO4hgC4e
2017-03-07 16:56:33 +01:00
Georg Fritzsche
be604ef5af Bug 1313326 - Part 1 - Support recording events in child processes. r=dexter,froydnj 2017-02-14 14:43:51 +01:00
Mark Banner
3d2e706269 Bug 1343521 - Move the mochitests in browser/modules/test/ to their own subdirectory. r=jaws
MozReview-Commit-ID: AV3QzLofo2w

--HG--
rename : browser/modules/test/.eslintrc.js => browser/modules/test/browser/.eslintrc.js
rename : browser/modules/test/browser.ini => browser/modules/test/browser/browser.ini
rename : browser/modules/test/browser_BrowserUITelemetry_buckets.js => browser/modules/test/browser/browser_BrowserUITelemetry_buckets.js
rename : browser/modules/test/browser_BrowserUITelemetry_defaults.js => browser/modules/test/browser/browser_BrowserUITelemetry_defaults.js
rename : browser/modules/test/browser_BrowserUITelemetry_sidebar.js => browser/modules/test/browser/browser_BrowserUITelemetry_sidebar.js
rename : browser/modules/test/browser_BrowserUITelemetry_syncedtabs.js => browser/modules/test/browser/browser_BrowserUITelemetry_syncedtabs.js
rename : browser/modules/test/browser_ContentSearch.js => browser/modules/test/browser/browser_ContentSearch.js
rename : browser/modules/test/browser_NetworkPrioritizer.js => browser/modules/test/browser/browser_NetworkPrioritizer.js
rename : browser/modules/test/browser_PermissionUI.js => browser/modules/test/browser/browser_PermissionUI.js
rename : browser/modules/test/browser_PermissionUI_prompts.js => browser/modules/test/browser/browser_PermissionUI_prompts.js
rename : browser/modules/test/browser_ProcessHangNotifications.js => browser/modules/test/browser/browser_ProcessHangNotifications.js
rename : browser/modules/test/browser_SelfSupportBackend.js => browser/modules/test/browser/browser_SelfSupportBackend.js
rename : browser/modules/test/browser_SitePermissions.js => browser/modules/test/browser/browser_SitePermissions.js
rename : browser/modules/test/browser_SitePermissions_combinations.js => browser/modules/test/browser/browser_SitePermissions_combinations.js
rename : browser/modules/test/browser_SitePermissions_expiry.js => browser/modules/test/browser/browser_SitePermissions_expiry.js
rename : browser/modules/test/browser_SitePermissions_tab_urls.js => browser/modules/test/browser/browser_SitePermissions_tab_urls.js
rename : browser/modules/test/browser_UnsubmittedCrashHandler.js => browser/modules/test/browser/browser_UnsubmittedCrashHandler.js
rename : browser/modules/test/browser_UsageTelemetry.js => browser/modules/test/browser/browser_UsageTelemetry.js
rename : browser/modules/test/browser_UsageTelemetry_content.js => browser/modules/test/browser/browser_UsageTelemetry_content.js
rename : browser/modules/test/browser_UsageTelemetry_content_aboutHome.js => browser/modules/test/browser/browser_UsageTelemetry_content_aboutHome.js
rename : browser/modules/test/browser_UsageTelemetry_private_and_restore.js => browser/modules/test/browser/browser_UsageTelemetry_private_and_restore.js
rename : browser/modules/test/browser_UsageTelemetry_searchbar.js => browser/modules/test/browser/browser_UsageTelemetry_searchbar.js
rename : browser/modules/test/browser_UsageTelemetry_urlbar.js => browser/modules/test/browser/browser_UsageTelemetry_urlbar.js
rename : browser/modules/test/browser_bug1319078.js => browser/modules/test/browser/browser_bug1319078.js
rename : browser/modules/test/browser_taskbar_preview.js => browser/modules/test/browser/browser_taskbar_preview.js
rename : browser/modules/test/browser_urlBar_zoom.js => browser/modules/test/browser/browser_urlBar_zoom.js
rename : browser/modules/test/contentSearch.js => browser/modules/test/browser/contentSearch.js
rename : browser/modules/test/contentSearchBadImage.xml => browser/modules/test/browser/contentSearchBadImage.xml
rename : browser/modules/test/contentSearchSuggestions.sjs => browser/modules/test/browser/contentSearchSuggestions.sjs
rename : browser/modules/test/contentSearchSuggestions.xml => browser/modules/test/browser/contentSearchSuggestions.xml
rename : browser/modules/test/head.js => browser/modules/test/browser/head.js
rename : browser/modules/test/usageTelemetrySearchSuggestions.sjs => browser/modules/test/browser/usageTelemetrySearchSuggestions.sjs
rename : browser/modules/test/usageTelemetrySearchSuggestions.xml => browser/modules/test/browser/usageTelemetrySearchSuggestions.xml
rename : browser/modules/test/xpcshell/.eslintrc.js => browser/modules/test/unit/.eslintrc.js
rename : browser/modules/test/xpcshell/test_AttributionCode.js => browser/modules/test/unit/test_AttributionCode.js
rename : browser/modules/test/xpcshell/test_DirectoryLinksProvider.js => browser/modules/test/unit/test_DirectoryLinksProvider.js
rename : browser/modules/test/xpcshell/test_E10SUtils_nested_URIs.js => browser/modules/test/unit/test_E10SUtils_nested_URIs.js
rename : browser/modules/test/xpcshell/test_LaterRun.js => browser/modules/test/unit/test_LaterRun.js
rename : browser/modules/test/xpcshell/test_SitePermissions.js => browser/modules/test/unit/test_SitePermissions.js
rename : browser/modules/test/xpcshell/xpcshell.ini => browser/modules/test/unit/xpcshell.ini
extra : rebase_source : e71a6ce0da1e6f286efce2b36cecc6081e004bf1
2017-03-01 17:10:16 +00:00
Wes Kocher
848c29538a Merge inbound to central, a=merge
MozReview-Commit-ID: 2yQjOIMCCiO
2017-02-06 17:45:21 -08:00
Bob Owen
28876dd1e2 Bug 1317921 Part 2: Check that nested URIs are loaded in the correct remote type. r=Gijs 2017-02-06 12:14:21 +00:00
Mark Banner
e5c2479848 Bug 1336070 - Enable eslint no-undef for browser/, apart from components/ and base/content/. r=mossop
MozReview-Commit-ID: CJtpm8zlLxa

--HG--
extra : rebase_source : c6a834d5aaba0f84f5e147333085883de1a118e8
2017-02-02 09:08:42 +00:00
Wes Kocher
7cd28f7e5d Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Christoph Kerschbaumer
af33c277b4 Bug 1307736 - Ensure tests performing a history load pass valid triggeringPrincipal. r=bz,mdeboer 2017-01-27 11:19:45 +01:00
Johann Hofmann
eda5a50a7f Bug 1331579 - Explicitly update the identity block on re-requesting expired permissions. r=Paolo
MozReview-Commit-ID: CxvHSp1NjFg

--HG--
extra : rebase_source : 58e6f5b8020c01fad8da2b29e78a0c69bb78cb63
2017-01-23 11:44:03 +01:00
Florian Quèze
0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Nihanth Subramanya
f5f8565677 Bug 1313568 - Remove CaptivePortalWatcher.jsm and move tests to browser/base/content/tests/captivePortal. r=MattN
MozReview-Commit-ID: 3dSsLNmSUMA

--HG--
rename : browser/modules/test/browser_CaptivePortalWatcher.js => browser/base/content/test/captivePortal/browser_CaptivePortalWatcher.js
extra : rebase_source : 51bb545dcb072347a916210ce8c71b0711719076
2017-01-14 04:28:50 +05:30
Nihanth Subramanya
33826237de Bug 1313568 - Update CaptivePortalWatcher tests to work with per-window handling of captive portal UI. r=MattN
MozReview-Commit-ID: LXjaP37l2dQ

--HG--
extra : rebase_source : b827197f5f71d81c664ea556e47a5518d482a60d
2017-01-14 04:24:43 +05:30
Nihanth Subramanya
f2ba2936d1 Bug 1313568 - Handle captive portal UI in per-window script. r=MattN
MozReview-Commit-ID: FxjE2NblJe4

--HG--
rename : browser/modules/CaptivePortalWatcher.jsm => browser/base/content/browser-captivePortal.js
extra : rebase_source : c6c1321b591fdbd870ff40374477bbc05fbcb27c
2017-01-08 03:23:09 +01:00
Dão Gottwald
e3ce2d647d Bug 1331172 - Current permission state should use the past tense. r=Paolo
MozReview-Commit-ID: 7XqHa0xrfsh

--HG--
extra : rebase_source : 244519d23c6e95847e304fbda24bdd6228fb6df1
2017-01-16 20:33:00 +01:00
Mark Banner
16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Johann Hofmann
4f95922759 Bug 1322785 - Add tests for geolocation and desktop notification prompts. r=Paolo
MozReview-Commit-ID: 3SbeGvTRr2t

--HG--
extra : rebase_source : bf5dcea47072aa27876090170f14ba743fbcc8d4
2017-01-17 12:28:04 +01:00
Jared Wein
43bac26d30 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a

--HG--
extra : rebase_source : 014c0b04d8538dc5f15bc6dd4ed6bd220c55c5d4
2017-01-17 09:48:17 -06:00
Phil Ringnalda
5a78aec0aa Merge m-i to m-c, a=merge 2017-01-16 13:18:17 -08:00
Carsten "Tomcat" Book
c30b03e2f0 Merge mozilla-central to autoland 2017-01-16 16:45:16 +01:00
John Dai
76684a8715 Bug 1319078 - Form validation should account for the visibility of the input element. r=gijs 2017-01-12 18:54:00 -05:00
Alessio Placitelli
1161e36b35 Bug 1278556 - Add scalar data from child processes to the main ping. r=chutten
MozReview-Commit-ID: Ed4cV4XieRq
2017-01-16 06:10:00 +01:00
Florian Quèze
1e42cad36c Bug 1330464 - script-generated removal of additional parameters that don't exist in the interface, r=jaws. 2017-01-13 20:21:53 +01:00
Georg Fritzsche
b5f0ccf940 Bug 1329139 - Default event recording to disabled. r=dexter 2017-01-13 14:21:56 +07:00
Florian Quèze
a03918c148 Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws. 2017-01-11 22:27:42 +01:00