Commit Graph

589 Commits

Author SHA1 Message Date
Lie Ryan
0ec5a048ad Bug 1361855 - Refactor browser/modules/test/browser/head.js:getHistogram() and getKeyedHistogram(); r=Gijs,MattN
MozReview-Commit-ID: 3GyNfmXm5g6
2017-06-09 17:27:39 +00:00
Shane Caraveo
b701920ecd Bug 1388902 remove socialapi share, r=florian
MozReview-Commit-ID: Kcjugf3Ql6y
2017-08-16 08:54:21 -07:00
Gijs Kruitbosch
51a1cf49ca Bug 1390006 - fix up expectations of BrowserUITelemetry tests to match what devedition is doing, r=johannh
MozReview-Commit-ID: I03npiUHECK
2017-08-14 12:17:34 +01:00
Mike Taylor
b535940cb8 Bug 1373650. Disable Report Site Issue page action before running page action tests. r=adw
MozReview-Commit-ID: J5gAWBvw8td
2017-08-09 14:53:53 -04:00
Andrew Halberstadt
1ecb0adc26 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw
2017-08-10 14:48:21 -04:00
Phil Ringnalda
5e91797776 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
6c60ffa524 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw
2017-08-10 14:48:21 -04:00
Masatoshi Kimura
0af76969af 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
2017-08-04 17:49:22 +09:00
Georg Fritzsche
9385f14125 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.
2017-08-03 07:03:00 -04:00
UK992
890c6e6ae5 Bug 1363485 - Update tests r=dao
MozReview-Commit-ID: 4epuVQVCJPH
2017-07-30 20:39:55 +02:00
Drew Willcoxon
0a6ef09dae Bug 1363188 - Add an add/remove context menu to page actions in the urlbar. r=Gijs
MozReview-Commit-ID: 5rJWvID5OPd
2017-08-02 09:31:07 -07:00
Sebastian Hengst
6b72dd3d4c Backed out changeset f3e224764ca8 (bug 1363485) 2017-08-02 16:24:54 +02:00
Rajesh Kathiriya
fefc455410 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
UK992
ddaf4b64ea Bug 1363485 - Update tests r=dao
MozReview-Commit-ID: 4epuVQVCJPH
2017-07-30 20:39:55 +02:00
Drew Willcoxon
01a3fab0d8 Bug 1386337 - Disable Photon page actions when Photon is not enabled. r=Gijs
MozReview-Commit-ID: 3GrsscIxeyW
2017-08-01 20:37:22 -07:00
Sebastian Hengst
1326418a49 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
0d920ece6a Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Drew Willcoxon
fa08c7c97c Bug 1374477 - Add a new test for Photon page actions, along with some related code changes. r=Gijs
MozReview-Commit-ID: ADaEnEiGFvX
2017-07-29 20:25:14 -07:00
Jared Wein
d96c318804 Bug 1384522 - Add automated test for TextZoomChange and the urlbar-zoom-button. r=dao
MozReview-Commit-ID: adhZCyStXz
2017-07-26 07:30:03 -04:00
Carsten "Tomcat" Book
c50857d77e 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
f330227443 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
2017-07-13 14:30:38 -04:00
Wes Kocher
8e8eee80a7 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
1a47bab2b4 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
2017-07-13 14:30:38 -04:00
Wes Kocher
0cf2921242 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
3e221191cd 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
2017-07-13 14:30:38 -04:00
Wes Kocher
1530b6258e Backed out changeset 49c4c4a3fb81 (bug 1380065) for failures in browser_aboutStopReload.js a=backout CLOSED TREE
MozReview-Commit-ID: Hxfpijgy3dL
2017-07-21 17:01:30 -07:00
Sam Foster
16a992d550 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
2017-07-13 14:30:38 -04:00
Mark Banner
c7d2f999de 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
2017-07-12 12:01:53 +01:00
Perry Jiang
7b318ac1d2 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
c0468168f5 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Florian Quèze
c30094cdf7 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
489326239e 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
2017-06-18 08:05:06 +01:00
Gijs Kruitbosch
73d48a3c47 Bug 1359137 - fix BrowserUITelemetry's reliance on the default state of things in CustomizableUI, r=mikedeboer
MozReview-Commit-ID: I4mpVR6G8pi
2017-05-31 14:15:18 +01:00
Georg Fritzsche
8d31e2342a Bug 1361661 - Part 5 - Fix browser_UsageTelemetry_*.js tests. r=dexter 2017-05-23 13:49:01 +07:00
Sebastian Hengst
c10db3906e Backed out changeset 6caffcb2589c (bug 1361661) 2017-05-22 20:40:07 +02:00
Georg Fritzsche
3709ee162a Bug 1361661 - Part 5: Fix browser_UsageTelemetry_*.js tests. r=dexter 2017-05-22 15:42:13 +07:00
Sebastian Hengst
8efa880ca8 Backed out changeset 81b05dd29eb3 (bug 1361661) 2017-05-22 16:19:11 +02:00
Georg Fritzsche
e23e56d729 Bug 1361661 - Part 5: Fix browser_UsageTelemetry_*.js tests. r=dexter 2017-05-22 15:42:13 +07:00
Mike Cooper
a184fc4c9b Bug 1361578 - Remove SelfSupport, since it is obsoleted by shield-recipe-client. r=Gijs
MozReview-Commit-ID: 1FCqNa5wxZk
2017-05-19 10:02:11 -07:00
Mark Banner
9fc03b12e9 Bug 1365412 - Clean up various ESLint global definitions in browser/. r=mossop
MozReview-Commit-ID: JqAm9x1XGCM
2017-05-16 22:22:42 +01:00
Marco Bonardo
266b05cbf9 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
2017-04-05 15:01:02 +02:00
Carsten "Tomcat" Book
f216cbd3b4 Backed out changeset 720c38d9052e (bug 1344924) for crashes at [@ mozilla::net::nsSocketTransport::InitiateSocket] 2017-05-17 10:56:57 +02:00
Marco Bonardo
4d6b9940f4 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
2017-04-05 15:01:02 +02:00
Christoph Kerschbaumer
5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Florian Quèze
331a9ab51b Bug 1362882 - hand cleanup after applying the previous script-generated patch, r=Mossop. 2017-05-12 14:56:12 +02:00
Florian Quèze
15feaa278a 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
b2499a4c57 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
ff53eb9a63 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
e4a81ec969 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
2017-05-02 17:09:16 -07:00
Wes Kocher
714b05616e Merge inbound to m-c a=merge
MozReview-Commit-ID: JgXkqrOwl3N
2017-05-03 13:40:24 -07:00