Commit Graph

42663 Commits

Author SHA1 Message Date
Wes Kocher
7651bde05c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9Abf0fILvvK
2017-08-08 15:16:00 -07:00
Wes Kocher
650baf5c45 Merge inbound to central, a=merge
MozReview-Commit-ID: HpVAbc2vi78
2017-08-08 15:14:28 -07:00
Eric Rahm
fe8929dc60 Bug 1386825 - Part 2: Remove MOZ_B2G from toolkit. r=froydnj
MozReview-Commit-ID: Ji3MoFKLVI4
2017-08-08 14:41:07 -07:00
Wes Kocher
96d2fa009d Backed out 3 changesets (bug 1382968) for breaking browser_addons_debug_webextension.js a=backout
Backed out changeset e25b4bd21ac8 (bug 1382968)
Backed out changeset 5a2260bc98ca (bug 1382968)
Backed out changeset 869a9b46b5cc (bug 1382968)

MozReview-Commit-ID: DSKWAHxdXI

--HG--
rename : devtools/server/actors/webconsole/listeners.js => devtools/server/actors/utils/webconsole-listeners.js
rename : devtools/server/actors/webconsole/utils.js => devtools/server/actors/utils/webconsole-utils.js
rename : devtools/server/actors/webconsole/worker-listeners.js => devtools/server/actors/utils/webconsole-worker-listeners.js
extra : source : 309b1b63eb48ded8573cafdcc21602765fce3d9e
2017-08-08 09:17:56 -07:00
Emilio Cobos Álvarez
199acfadce Bug 1366163: Update test expectations. r=heycam
MozReview-Commit-ID: 2UFRnrIOETo
2017-08-08 14:15:27 +02:00
Mark Banner
17760ce731 Bug 1388250 - Remove old sync isBookmarked and getBookmarkedURIFor APIs from nsINavBookmarksService. r=Paolo
Also remove IsBookmarkedInDatabase(), mItemCount, RecursiveFindRedirectedBookmark(), UpdateKeywordsForRemovedBookmark() from nsNavBookmarks as they aren't used anywhere.

MozReview-Commit-ID: 4cZXAdRuVoF

--HG--
extra : rebase_source : 2c08a09de48cfb06c3e8db261dfe7ea1b1526e10
2017-08-08 07:58:59 +01:00
Michael Kohler
674e1b96fb Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code. r=dao
MozReview-Commit-ID: 8w1vfF2yRui

--HG--
extra : rebase_source : 222d8e9d3b9543552ff5b08967375fa46d62b896
2017-08-08 12:09:14 +02:00
Carsten "Tomcat" Book
635b24e121 Merge mozilla-central to autoland 2017-08-08 13:25:29 +02:00
Carsten "Tomcat" Book
0f16d437cc merge mozilla-inbound to mozilla-central a=merge 2017-08-08 13:18:14 +02:00
Paolo Amadini
f07a275693 Bug 1382899 - Reduce Promise overhead in the DownloadLegacy.js progress events. r=florian
MozReview-Commit-ID: KS4kujUvX3s

--HG--
extra : rebase_source : c0b82eab2d97829a7a11cc51fa002c1eae49a4d0
2017-08-08 14:44:52 +01:00
Jorg K
f9e77b6cab Bug 1388166 - Handle case where chromeWin.getBrowser() doesn't exist. r=johannh 2017-08-07 14:44:00 -04:00
Alexandre Poirot
9aee8eedf4 Bug 1382968 - Only try to forward console messages from content processes to parent when browser console/toolbox are opened. r=jryans,tromey
MozReview-Commit-ID: 8cFUbF4msHx

--HG--
rename : toolkit/components/processsingleton/ContentProcessSingleton.js => devtools/server/actors/webconsole/content-process-forward.js
extra : rebase_source : 8f30b1484e8ec1410f59a8764dced0e645ebec28
2017-08-01 16:51:07 +02:00
dagasatvik
d4398e95f2 Bug 1385820 - Enable the ESLint no-new-wrappers rule across mozilla-central; r=markh,standard8
MozReview-Commit-ID: FvJO3ibeiwg

--HG--
extra : rebase_source : 5fc5c6760924da81a6d0708ff0d5586fc62c8c5e
2017-08-07 23:57:51 +05:30
Evan Tseng
4697753e00 Bug 1382135 - Remove all colon signs on sub-dialogs because we already removed them all on each category pane and we should make same thing for sub-dialogs. r=jaws
MozReview-Commit-ID: 8md6CFBSM3B

--HG--
extra : rebase_source : 80bff2dec6a20d7710aa3252c3e2fb295286b294
2017-08-01 11:54:54 +08:00
Mark Banner
0b94d0fe3e Bug 1385733 - Improve the performance of async transactions when bookmarking all tabs. r=adw
Optimise adding a folder with child bookmarks for transactions by allowing PlacesTransactions.NewFolder to take children details and use insertTree rather than needing separate NewFolder and then multiple NewBookmark transactions.

MozReview-Commit-ID: 6s9j0pbsiUB

--HG--
extra : rebase_source : 0b4029905dc76a0ca49d16a7e71c85f1f07b8e2d
2017-08-03 18:32:42 +01:00
Blake Kaplan
a79a7ad8b5 Bug 1374460 - Remove internal code that used to be used for showModalDialog. r=smaug
MozReview-Commit-ID: 4QuUpvbOiOA

--HG--
extra : rebase_source : dca2eac96b057d4ecb3908d5d19f2c7bf9ca33bb
2017-07-13 17:20:10 -07:00
Kate Ustiuzhanina
4db629f8f6 Bug 1379145 - Use Policy in TelemetrySend.jsm to set up/reset custom timeout. r=gfritzsche
--HG--
extra : rebase_source : 71e52a397bc6ad8218f9d53a754ce4009f647652
2017-08-07 17:51:07 +01:00
Kate Ustiuzhanina
3cfadb8e23 Bug 1379125 - Track dicarded for size pending ping with TelemetryHealthPing. r=gfritzsche
--HG--
extra : rebase_source : 0c888483fac948cbf70da1834e9c0fbbd022a2bb
2017-08-07 11:09:05 +01:00
Kate Ustiuzhanina
62072603a7 Bug 1375008 - Prioritize submission of Health ping. r=gfritzsche
--HG--
extra : rebase_source : 9ed68f5af232d88b4c82efbebed1c1a16fd29891
2017-07-27 15:22:08 +01:00
Carsten "Tomcat" Book
e02df09b7c Merge mozilla-central to mozilla-inbound 2017-08-08 13:23:59 +02:00
Nicholas Nethercote
1a6f1a62fa Bug 1387381 - Remove nsXPIDLString local variables. r=erahm.
nsXPIDLStrings are marked as VOIDED upon initialization. Most of these local
nsXPIDLString variables are immediately set via getter_Copies(), which will
either assign a string value (using Adopt()) or do SetIsVoid(). These can be
trivially converted to nsString, which will get the same treatment.

The patch suitably converts the remaining nsXPIDLString local variable as well.

--HG--
extra : rebase_source : 5fff9f2c6844559198f601853f8db08564add7d5
2017-08-08 16:07:55 +10:00
Wes Kocher
6211964f2b Merge m-c to inbound, a=merge
MozReview-Commit-ID: FevzakV3RlU
2017-08-07 15:26:13 -07:00
Wes Kocher
cf8f3268a1 Merge inbound to central, a=merge
MozReview-Commit-ID: 5tBON9YUdAO
2017-08-07 15:23:46 -07:00
Tim Nguyen
29bdf7c482 Bug 1387737 - Fix switching back to the default theme. r=Gijs a=merge
MozReview-Commit-ID: 3Mr55Vr8E7L

--HG--
extra : source : 864b3a48a8f8272d6fc9b7bb06e290a92a523e53
extra : amend_source : e660c5cea8121bd47de73d0d75e801feab5dd7e1
2017-08-07 10:52:25 +00:00
Kris Maglione
701fb54270 Bug 1387907: Part 3 - Merge ext-browser.js and ext-utils.js. r=mixedpuppy
MozReview-Commit-ID: CmOax5b5Gki

--HG--
extra : rebase_source : d0200575bfe49607f277cef5aea3da920852fd45
2017-08-06 18:20:25 -07:00
Kris Maglione
d0f7ccc7be Bug 1387907: Part 2 - Store computed module data in the startup cache. r=mixedpuppy
MozReview-Commit-ID: 4PV4z870GTb

--HG--
rename : browser/components/extensions/ext-browser.js => browser/components/extensions/ext-browser.json
rename : toolkit/components/extensions/ext-toolkit.js => toolkit/components/extensions/ext-toolkit.json
extra : rebase_source : d0909d381724c65877517873b57e78d474948376
2017-08-06 18:04:28 -07:00
Kris Maglione
90e5e54ec2 Bug 1387899: Part 1 - Cache browserAction icon data for startup. r=mixedpuppy
MozReview-Commit-ID: 57ANCciibCn

--HG--
extra : rebase_source : da636dc48d07951d973965f4c662d7aa048c715e
2017-08-06 16:12:14 -07:00
Kris Maglione
0a92c7bb9b Bug 1387898: Remove unnecessary uses of EventEmitter.decorate. r=mixedpuppy
MozReview-Commit-ID: FRCdXHc3S4K

--HG--
extra : rebase_source : 4d7eb8614745fdbcac37b101a617d7aa3d43eea0
2017-08-07 14:42:57 -07:00
Kris Maglione
3ba231e141 Bug 1387789: Convert ExtensionTabs.jsm to ext-tabs-base.js. r=mixedpuppy
This moves it to the same compartment as the code that it interfaces with the
most often, and allows for much more effective JIT optimizations.

MozReview-Commit-ID: FZcogI4d4rv

--HG--
rename : toolkit/components/extensions/ExtensionTabs.jsm => toolkit/components/extensions/ext-tabs-base.js
extra : rebase_source : 9928f7e36e4d65401ebb420dddfbcfcdbb11226f
2017-08-05 18:42:01 -07: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
Dragana Damjanovic dd.mozilla@gmail.com
23c8b30d23 Bug 1381282 - Change nsScriptErrorBase::InitWithWindowID so that it does not call GetSensitiveInfoHiddenSpec as much as now. r=bz r=valentin 2017-08-07 15:56:30 +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
Eden Chuang
8efd2c7666 Bug 1382092 - Support default payment UI in DOM code part 1. r=MattN
--HG--
extra : rebase_source : 6bbf36ad944536536ec94c9b9caa8a3c67f9f40b
2017-08-07 11:13:04 +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