Commit Graph

1842 Commits

Author SHA1 Message Date
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
Sebastian Hengst
31742f9ca2 Backed out changeset 1538b0445eda (bug 1366555) for timing browser_locationBarCommand.js and browser_locationBarExternalLoad.js. r=backout 2017-08-05 23:15:16 +02:00
Michael Kohler
a220eeb86a Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code r=dao
MozReview-Commit-ID: CoHv9mKpAe
2017-08-05 20:37:40 +02:00
Sebastian Hengst
e5a6ff5037 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-04 19:32:45 +02: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
Gijs Kruitbosch
1dde1ca8d5 Bug 1354117 - fix telemetry and a number of tests that flip photon prefs, r=johannh
MozReview-Commit-ID: 7ynaIQm22eS
2017-08-01 20:15:48 +01:00
UK992
890c6e6ae5 Bug 1363485 - Update tests r=dao
MozReview-Commit-ID: 4epuVQVCJPH
2017-07-30 20:39:55 +02:00
UK992
40b4ffc609 Bug 1363485 - Update BrowserUITelemetry.jsm r=Gijs
MozReview-Commit-ID: Ah8SAEADJ7O
2017-06-30 16:22:06 +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
5d0e1ee3da Backed out changeset 0b1f1dbc1b5a (bug 1363485) 2017-08-02 16:25:00 +02:00
Sebastian Hengst
6b72dd3d4c Backed out changeset f3e224764ca8 (bug 1363485) 2017-08-02 16:24:54 +02:00
Masatoshi Kimura
c0943e4f30 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G
2017-07-29 20:50:21 +09: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
UK992
74f715b6c3 Bug 1363485 - Update BrowserUITelemetry.jsm r=Gijs
MozReview-Commit-ID: Ah8SAEADJ7O
2017-06-30 16:22:06 +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
ahillier
296db2dc37 Bug 1385090 - Pass Remote Pages instance from AboutNewTab on override r=mossop
MozReview-Commit-ID: 7oBsmIUpQXs
2017-08-01 15:08:16 -04:00
Sebastian Hengst
69a44e8b35 Backed out changeset ae8bd889b02d (bug 1385090) for eslint failures in AboutNewTab.jsm and RemotePageManager.jsm. r=backout on a CLOSED TREE 2017-08-01 20:55:03 +02:00
ahillier
703aa965dd Bug 1385090 - Pass Remote Pages instance from AboutNewTab on override r=mossop
MozReview-Commit-ID: 7oBsmIUpQXs
2017-08-01 14:22:40 -04: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
Drew Willcoxon
ed01888fb1 Bug 1374477 - Add PageActions.jsm for Photon page actions. r=Gijs
MozReview-Commit-ID: ASMQlPX5t1i
2017-07-29 20:24:51 -07:00
Marco Castelluccio
4268333f72 Bug 1357517 - Remove Preferences.jsm usage from LaterRun.jsm. r=jaws 2017-07-28 21:20:27 +02:00
Carsten "Tomcat" Book
031a6f535a Merge mozilla-central to mozilla-inbound 2017-07-28 15:25:58 +02:00
Ricky Chien
55fa701e69 Bug 1384402 - Fix broken about:preferences link after reorg v2 r=jaws
MozReview-Commit-ID: LnQsKHhrDWI
2017-07-27 11:30:05 +08:00
Kershaw Chang
864b01eb40 Bug 1366822 - Part1: Modify NetworkPrioritizer to only update selected tab's window ID, r=dao
The original NetworkPrioritizer tracks each browser window and give the high priority to the selected tab.
This patch is based on the NetworkPrioritizer, but only send a notification of the current selected tab's content outer window ID to network module.
2017-07-27 23:41:00 +02: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
Jared Wein
8c840f1772 Bug 1383662 - Return early from onZoomChange if the document being referenced by the TextZoomChange event is missing a documentElement since we will not be able to find the related browser for the document in this case. r=florian
MozReview-Commit-ID: 34Ium8oqZmb
2017-07-24 11:16:37 -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
Mike Conley
db753f7070 Bug 1378036 - TabCrashHandler should key browsers to dumpIDs on permanentKeys, and fallback to the browser itself if no permanentKey exists. r=Felipe
MozReview-Commit-ID: 45JRjPIAFE8
2017-07-17 18:27:16 -04:00
Wes Kocher
93d0d58300 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: CBL7SUEUGKV
2017-07-19 17:29:56 -07:00
Bob Owen
0a0baeb012 Bug 1378377 Part 2: Run file://URI whitelisted domains in a file content process. r=Gijs 2017-07-19 09:37:25 +01:00
Jared Wein
020a479658 Bug 1378784 - Listen for TextZoomChange in addition to the FullZoomChange events to update the zoom UI when the zoom changes. r=dao
We were already listening for FullZoomChange. TextZoomChange is very similar, but is only triggered when the user has chosen 'Zoom Text Only' from the View > Zoom menu.

MozReview-Commit-ID: H8orEwS1ZhE
2017-07-18 17:39:11 -04:00
Andrew Swan
3f63d59917 Bug 1382031 Set access key properly on optional permission doorhanger r=andym
MozReview-Commit-ID: J9MiAeGmMiT
2017-07-18 16:54:07 -07:00
Nihanth Subramanya
b061b47390 Bug 1381659 - Send a message from ContentSearch.jsm to blur the suggestions UI after a search instead of a beforeunload listener. r=florian
MozReview-Commit-ID: HqTICEtuInW
2017-07-19 02:37:40 +05:30
Florian Quèze
e1afbb0ab4 Bug 1355492 - initialize ContentCrashHandlers.jsm after first paint, r=mconley. 2017-07-15 00:16:31 +02:00
Florian Quèze
1d00fbfcc5 Bug 1355492 - delay initialization of BrowserUsageTelemetry and BrowserUITelemetry until after we are done restoring the previous session, r=mconley. 2017-07-15 00:16:31 +02: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
Mark Banner
b1b7a75372 Bug 1380009 - Enable the ESLint no-return-await call to avoid unnecessary intermediate promise creation. r=mossop
MozReview-Commit-ID: EnhSBHMjurr
2017-07-11 22:49:55 +01:00
Carsten "Tomcat" Book
acef55d2e9 merge mozilla-inbound to mozilla-central a=merge 2017-07-12 11:07:09 +02:00
Timothy Guan-tin Chien
a9f555d609 Bug 1378136 - Redirect user to the general pane for search settings on old preferences page. r=jaws
MozReview-Commit-ID: Akb4yDPhWTF
2017-07-10 17:01:41 +08:00
Florian Quèze
e92c16379a Bug 1379788 - Stop loading RecentWindow.jsm during startup, r=Gijs. 2017-07-11 23:30:23 +02:00