Commit Graph

42629 Commits

Author SHA1 Message Date
Shane Caraveo
f911224d12 Bug 1386533 fix host permitted matching, r=kmag
MozReview-Commit-ID: 81ANT5R1671

--HG--
extra : rebase_source : 3f40a2483c997690cae40deb10a4aff4305928d4
2017-08-02 15:33:17 -07:00
Sebastian Hengst
d9b72a81ca Backed out changeset c3a77d62c05d (bug 1333126) for failing own xpcshell tests test_crash_win64cfi_* on Windows 10 x64. r=backout 2017-08-07 18:06:27 +02:00
Sebastian Hengst
4a0c9a1197 Backed out changeset 64be5fefcba3 (bug 1333126) 2017-08-07 18:04:48 +02:00
Dan Banner
97335e3052 Bug 1382963 - Remove the require-await eslint rule from Places. r=standard8
MozReview-Commit-ID: LPWSUXQSPyH

--HG--
extra : rebase_source : 311f64f64c18146abab7e5c3b04aaec4ee87b756
2017-08-07 15:30:48 +01:00
Masatoshi Kimura
ca088e461c Bug 389565 - Remove nsIExternalProtocolService::LoadUrl. r=Paolo
MozReview-Commit-ID: lMq06cPWYB

--HG--
extra : rebase_source : 5c48597cbe4491fff93d3e757efa5ecad0f7fc22
2017-08-06 11:25:42 +09:00
Carl Corcoran
daca571abe Bug 1333126: adding tests; r=gsvelto
MozReview-Commit-ID: BNv54jtWf7k

--HG--
extra : rebase_source : b2054fd2828e6452a7cd4ced8ed8d1f64cbbc5c3
2017-08-06 08:46:50 +02:00
Carl Corcoran
1846ea009c Bug 1333126: use win64 PE unwind metadata to improve client-side stack walking; r=gsvelto
MozReview-Commit-ID: GDARnPSemyu

--HG--
extra : rebase_source : d14766715d1032db1a4dc489b3f55219e4529277
2017-08-06 08:45:58 +02:00
Tim Nguyen
6cf80d5373 Bug 1387737 - Fix switching back to the default theme. r=Gijs
MozReview-Commit-ID: 3Mr55Vr8E7L

--HG--
extra : rebase_source : 8d34f65db24e45ef66b323904fe0962901cce005
2017-08-07 10:52:25 +00:00
Masatoshi Kimura
b186427ed3 Bug 1374847 - Remove nsIPrefBranch2 and nsIPrefBranchInternal. r=njn
MozReview-Commit-ID: 2LFhKNVspko

--HG--
extra : rebase_source : 1acfd1427a2d81294d6cbc6358b1d1070b4c2c12
2017-08-04 17:12:58 +09:00
Sebastian Hengst
a9b93ab9cf Backed out changeset 7f10bba58580 (bug 1333126) for eslint failures in toolkit/crashreporter/test/unit/head_win64cfi.js (strings must use doublequotes). r=backout 2017-08-07 14:03:30 +02:00
Sebastian Hengst
f63869ab14 Backed out changeset 4d92e459f9ab (bug 1333126) 2017-08-07 14:02:59 +02:00
Carl Corcoran
5591814b07 Bug 1333126: adding tests; r=gsvelto
MozReview-Commit-ID: BNv54jtWf7k

--HG--
extra : rebase_source : c0b5de847560ade95776834d2ed8468a426be53d
2017-08-06 08:46:50 +02:00
Carl Corcoran
0b2ac04a9a Bug 1333126: use win64 PE unwind metadata to improve client-side stack walking; r=gsvelto
MozReview-Commit-ID: GDARnPSemyu

--HG--
extra : rebase_source : d14766715d1032db1a4dc489b3f55219e4529277
2017-08-06 08:45:58 +02:00
Carsten "Tomcat" Book
a24b9505f9 Merge mozilla-central to autoland 2017-08-07 13:16:54 +02:00
Andrew Swan
6e5839271b Bug 1382689 Fix "Remove" button on details page for a legacy extension
Also updated addon listeners in extensions.js to use Set instead of
arrays and added a way to listen to AddonListener events on any addon.

MozReview-Commit-ID: Ev3kJgcr30G

--HG--
extra : rebase_source : 8f6ab458dc4ed82303631c0db1fa57849f149592
2017-07-31 17:23:01 -07:00
Nicholas Nethercote
f941156987 Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron.
This removes about 2/3 of the occurrences of nsXPIDLString in the tree. The
places where nsXPIDLStrings are null-checked are replaced with |rv| checks.

The patch also removes a couple of unused declarations from
nsIStringBundle.idl.

Note that nsStringBundle::GetStringFromNameHelper() was merged into
GetStringFromName(), because they both would have had the same signature.

--HG--
extra : rebase_source : ac40bc31c2a4997f2db0bd5069cc008757a2df6d
2017-08-04 14:40:52 +10:00
Henry Chang
4a3106b91e Bug 1375277 - Test case for new error code NS_ERROR_HARMFUL_URI. r=francois
The test is based on "test-harmful-simple" so we can add testing entries
in a human-readable way.

MozReview-Commit-ID: IJcYrp04uFs

--HG--
extra : rebase_source : afc4329af4cd5fc31a783a8f0f2e3a4bdcb2a432
extra : source : 55a2e275514d2154a23a656e48f685cc6032e5c3
2017-07-28 17:38:01 +08:00
Henry Chang
a93f3d2ba4 Bug 1375277 - Move Safe Browsing UI events to a separate telemetry probe. r=francois
MozReview-Commit-ID: KDAklsznekw

--HG--
extra : rebase_source : 20d81369b18b12d9b5f6670d92bf3c7215c8c9a9
extra : intermediate-source : a2d99a6b07bb015f0bdc5c1687e250086ed09a5c
extra : source : 5460dbfebee4f99580b306a9b0ec754b890f5959
2017-08-02 14:01:44 +08:00
Henry Chang
af3b11c151 Bug 1375277 - New safebrowsing threat type "POTENTIALLY_HARMFUL_APPLICATION" introduced by v4. r=francois
As our threattype-listname conversion design, "goog-harmful-proto" is allocated
for this new threat type. This threat type is mainly for mobile.

MozReview-Commit-ID: G9GbgmHHHfp

--HG--
extra : rebase_source : 0681fcd9322b94451a86eafe57bf1ccc4b89db30
extra : intermediate-source : 28b0502d9add81beeae58a2c33f9fd5839d4d544
extra : source : 646f02f15131aa98ad37015b0a641304a3271796
2017-07-27 15:37:57 +08:00
Sebastian Hengst
64c87bbade Backed out changeset 801e02613d0f (bug 1382689) for eslint failure at toolkit/mozapps/extensions/content/extensions.js:609: ["ANY"] is better written in dot notation. r=backout 2017-08-06 17:16:34 +02:00
Dão Gottwald
14b814278d Bug 1387716 - Remove ancient workaround for bug 341047. r=masayuki
_updateScrollButtonsDisabledState doesn't use nsIScrollBoxObject, so this shouldn't be a problem anymore.

MozReview-Commit-ID: DP7RD0lA7dQ

--HG--
extra : rebase_source : b39ae8b8cd05aa454ec5e4f960db7529c3ca455f
2017-08-05 14:43:41 +02:00
Andrew Swan
f734dc2e06 Bug 1382689 Fix "Remove" button on details page for a legacy extension r=rhelmer
Also updated addon listeners in extensions.js to use Set instead of
arrays and added a way to listen to AddonListener events on any addon.

MozReview-Commit-ID: Ev3kJgcr30G

--HG--
extra : rebase_source : 1420093c1b69dccd4ff39cc3b0ede35cf9079efa
2017-07-31 17:23:01 -07:00
Sebastian Hengst
b52285fffc merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: LBuvGxGDK9k
2017-08-06 11:05:44 +02:00
Masatoshi Kimura
06311d2e3a Bug 1375125 - Remove nsILocalFile. r=froydnj
MozReview-Commit-ID: 6oU6Ya5UXtC

--HG--
extra : rebase_source : 55b6e30aa348c1b939326698b0da7d72c26b479c
2017-08-05 09:43:49 +09:00
Masatoshi Kimura
f6b1dc1043 Bug 1375125 - Fix errors caused by mechanical replacement. r=froydnj
MozReview-Commit-ID: 1kOvLdeCJiR

--HG--
extra : rebase_source : 94b04b16ac5d951600d31d1cdb78b494d8275ad1
2017-08-05 08:21:55 +09: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
Kris Maglione
ceb2ea3854 Bug 1356273: Part 2 - Add tests that document.open()/write() only loads content scripts once. r=aswan
The combination of "match_about_blank": true and "run_at": "document_start"
can potentially cause content scripts to run twice for the same document, once
for the intermediate about:blank document created by the document.open() call,
and again for the same document with its final URL after it's been fully
setup.

This test ensures that that behavior doesn't regress.

MozReview-Commit-ID: 9XSfW3rEL4f

--HG--
extra : rebase_source : e206bccd8fad648ebb152418c8784b0a4739fcab
2017-08-03 15:21:22 -07:00
Richard Marti
b5246ec0a4 Bug 1387731 - Update Add-ons favicon. r=dao
MozReview-Commit-ID: 4hvY2Ptb8F5
2017-08-05 16:52:19 +02:00
Sebastian Hengst
39ccebaf18 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9IxbB2vCH4S
2017-08-05 11:55:25 +02:00
Kris Maglione
1baacd82db Bug 1385880: Part 3 - Wait for add-on startup before showing inline options browser. r=aswan
MozReview-Commit-ID: JPPUjIGPRvs

--HG--
extra : rebase_source : 82081628ce5ee1af6ad5e0cbbed4221518e55191
extra : histedit_source : 03cafbcfbaefb40a15b8b50af4b5010c96407bcc
2017-08-04 13:20:58 -07:00
Kris Maglione
9c95f65043 Bug 1385880: Part 2 - Store promise returned by bootstrap startup method. r=aswan
This is also the first step in moving async startup/shutdown tracking into the
add-on manager.

MozReview-Commit-ID: Uf4ecSW77S

--HG--
extra : rebase_source : 16029f3c84feec4b98b23b3beabf763978a6b60d
extra : histedit_source : a7478fd19ebd6fa827856f299ebb824f29db5575
2017-08-04 13:20:36 -07:00
Kris Maglione
2a0de7a281 Bug 1385880: Part 1 - Remove WebExtensionBootstrap.js. r=aswan
MozReview-Commit-ID: X4JoEC61TF

--HG--
extra : rebase_source : 3947f6e19224458908deaebb8fcca4808b28540c
extra : histedit_source : 5052190e259539037083f7e66a91e8ea78a1d319%2C82a29ad415665027f7ba0b6333af0c3f58b1592d
2017-08-04 23:12:24 -07:00
Landry Breuil
ea28e9774d Bug 1387510 - Use glob() when looking for libclang.so on OpenBSD. r=froydnj 2017-08-04 12:43:00 -04:00
Doug Thayer
60c221fa54 Bug 1385396 - Cache early setExperimentActive calls r=gfritzsche
Calling setExperimentActive too early during startup can change
the order of some initialization. setExperimentActive probably
shouldn't have this kind of effect, so simply cache early calls
to it until gGlobalEnvironment has been initialized through other
functions.

Additionally, I am speculatively including work to ensure that
setExperimentInactive and getActiveExperiments have the same
behavior, while remaining correct by working from the same cache
that setExperimentActive uses.

MozReview-Commit-ID: IlzT1J0o6gK

--HG--
extra : rebase_source : b39b8d7e7b0970b520ce3f63af9750846d08b0eb
2017-08-02 15:10:34 -07:00
Tim Nguyen
d39d5da963 Bug 1342712 - Allow scoping a theme per-window. r=jaws
MozReview-Commit-ID: FYsmgz5qAjx

--HG--
extra : rebase_source : 4f82c2bc8c1fabb5fac14f79bdc0e148ba8a6304
2017-08-04 20:08:57 +00:00
Ed Lee
64170b63af Bug 1386445 - Early about:newtab pages are missing message APIs because RemotePages registers too late. r=mossop
This moves AboutNewTab.init from nsBrowserGlue.js handling of "browser-delayed-startup-finished" into aboutNewTabService.js so that when the service is loaded once from the main thread probably by browser.js towards the beginning of _delayedStartup just before potentially calling gBrowser.loadTabs, the service triggers the attaching of RemotePages(about:newtab) before any about:newtab pages load.

Additionally even when RemotePages starts early enough, Activity Stream might not borrow the RemotePages instance early enough to catch the RemotePage:Load message, so to simulate that, RemotePages now remembers when a port has been loaded for consumers to check. Adds tests to confirm the expected properties on the port and value of loaded at the various RemotePage:* messages.

MozReview-Commit-ID: IXJLvFCgbEH

--HG--
extra : rebase_source : 2b53c4e58f4cb8cbd4ea10741f3f609693989010
2017-08-01 12:30:33 -07:00
Henri Sivonen
41573b4bfd Bug 1048191 - Remove capability to generate entities other than quot, amp, gt, lt and nbsp. r=emk.
MozReview-Commit-ID: CHQQzPHxrus

--HG--
extra : rebase_source : 0fad8c86a374c29ab9f691b53f6495aa8287cb65
2017-08-04 12:37:53 +03:00
Tomislav Jovanovic
930d5055ae Bug 1385864 - Drop invalid optional_permissions from manifests r=kmag
MozReview-Commit-ID: Df2wjNOTVkF

--HG--
extra : rebase_source : c185d2908a8d39d77d145b872e7e977d6d3973e7
2017-08-04 00:26:50 +02:00
Sam Foster
bae82564b3 Bug 1352075 - Implement new animation for opening/closing the arrow panels. r=dao,mossop
* Use new panel animation when opening arrow-panels (including bookmarks menu) to fade in and drop into position
* Linux/GTK is (still) excluded
* New animation is non-directional (i.e. LTR vs. RTL)

This was landed then backed out due to test failures. New since last review:

* Make opacity & transform transition durations equal - ensuring popup is not still moving when popupshown is fired
* Fix missing comma in transition-duration values
* Add animating attribute to the arrowpanel binding to disable pointer-events during the opening transition (via :jaws)
* Wait for popupshown rather than transitionend in bookmark reparenting test
* Fix specificity of CSS rules for panels/bookmarks-menu on edges other than the top (via :jaws)

MozReview-Commit-ID: DTnvyMryf5Y

--HG--
extra : rebase_source : 77895818356b1b366e93c6a8c508ae2b74dbca5c
2017-07-27 11:07:23 -07:00
Dão Gottwald
9c17a9deed Bug 1387701 - Simplify lineScrollAmount. r=masayuki
MozReview-Commit-ID: 401ja5XzBpO

--HG--
extra : rebase_source : f08808c8a6a9a1033e0cd7b24af1be7cd9fca74a
2017-08-05 12:17:11 +02:00
Sebastian Hengst
8c82624aa1 merge mozilla-central to autoland. r=merge a=merge 2017-08-05 11:59:12 +02:00
Dão Gottwald
c2876c7355 Bug 1387084 - Use instant scroll behavior when doing pixel scrolling. r=Gijs
Touchmove and wheel events are sent frequently enough that smooth scroll behavior
prevents the expected pixel distance from being reached before the next event.

Also replace aSmoothScroll parameters with aInstant to better reflect how this
works: its purpose is to force instant scrolling, whereas omitting it falls back
to "auto" (which may mean instant or smooth depending on different factors).

The ensureElementIsVisible call from browser-customization.js can go away as
customize mode doesn't add padding around the window anymore.

Finally, remove the unused scrollPosition and scrollPaddingRect properties.

MozReview-Commit-ID: 3Ac7g6zZ0hW

--HG--
extra : rebase_source : e43d0bcab82c74e65d01a0fd79bfaec96952b35a
2017-08-05 10:12:38 +02:00
Matt Howell
0f34b0248e Bug 1369255 - Part 1: Add a prompt in the stub installer for running profile cleanup. r=rstrong
MozReview-Commit-ID: CLeVEAQe5qr

--HG--
extra : rebase_source : 6d2a45e6302fa93dcc57173f609da14f18df7a88
extra : source : ae9327645b6d9ed02d732ab3ad8f99d5be389913
2017-07-12 10:29:38 -07:00
Sebastian Hengst
d9f6b67320 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-04 19:32:45 +02:00
Georg Fritzsche
65773ca7f4 Bug 1302681 - Part 3: Update documentation to cover dynamic events. r=dexter
--HG--
extra : rebase_source : d1d43d61090a0b277658883158ed20b224001ddc
2017-07-27 07:19:00 -04:00
Georg Fritzsche
3061f38a31 Bug 1302681 - Part 2: Fix about:telemetry for displaying dynamic events. r=chutten
Fixes that about:telemetry only shows events if there are any present in processes.parent.

For some reason switching the processes in the events section also triggers HistogramSection.render(), which breaks when there are no histograms recorded in the selected process.
This patch fixes it to make things work.

--HG--
extra : rebase_source : e7a4cd1d823571a060a4d6293800b0900a68ddd4
2017-08-03 02:33:00 -04: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
Kate Ustiuzhanina
099014b6d9 Bug 1385417 - Fix sendOnTimeout test. r=gfritzsche 2017-08-04 10:11:38 +01:00
Paolo Amadini
a0fc00495b Bug 1381411 - Implement the DownloadHistoryList object. r=mak
This also changes the Library window to use the newly added back-end object. The only user-visible change should be how the selection behaves when retrying downloads.

MozReview-Commit-ID: 7CQr1m21rcB

--HG--
extra : rebase_source : e36faf63dadeba0c897b769cb7e14a2d01d0f628
extra : amend_source : 2c7a88b6e3d6de50b37c34a5579b3ab6fb0c10dd
2017-08-04 14:48:53 +01:00
David Keeler
99b7f5d8a6 bug 1386955 - update test_logins_decrypt_failure.js to work after fixing NSS bug 1379273 r=mossop
Before this patch, test_logins_decrypt_failure.js would essentially call
PK11_ResetToken and then PK11_ChangePW (via nsIPK11Token.reset and
nsIPK11Token.changePassword, respectively). This was never correct (after
PK11_ResetToken, the token has no password, so it can't be changed), and after
bug 1379273 this actually fails. The correct thing to do is PK11_ResetToken and
then PK11_InitPin (nsIPK11Token.initPassword).

--HG--
extra : rebase_source : b08f8a40b12bb114774bafe0ed0e5400d3b4c065
2017-08-03 11:22:11 -07:00