btian
bb11bec2bd
Bug 1351795 - part 2: Remove console.markTimeline. r=baku
...
MozReview-Commit-ID: EmbscFp9oD4
2017-05-09 15:34:18 +08:00
btian
8a1cc22a43
Bug 1351795 - part 1: Remove console.timeline and timelineEnd. r=baku
...
MozReview-Commit-ID: DLoqGD5NDwt
2017-05-09 11:39:27 +08:00
Carsten "Tomcat" Book
4e415a660d
Merge mozilla-central to autoland
2017-05-05 15:27:55 +02:00
Julian Descottes
4c90f8d068
Bug 1359085 - remove unused devtools util content-globals.js;r=ochameau
...
MozReview-Commit-ID: K8Knz9B0Gav
2017-04-25 16:53:54 +02:00
André Bargull
322aa54a73
Bug 1317383 - Part 6: Update error message matching for addon sdk. r=mossop
2017-05-02 14:21:18 -07:00
Florian Queze
6cc0b6e992
Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws.
2017-04-27 00:25:45 +02:00
Kris Maglione
7036069304
Bug 1356810: Follow-up: Fix SDK worker tests. a=merge
...
MozReview-Commit-ID: 8ObX3OKozCF
2017-04-19 14:10:52 -07:00
Zibi Braniecki
8c433fc56a
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
2017-03-11 18:43:11 -08:00
Sebastian Hengst
017c2ee2bf
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
64bae2dccf
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
2017-03-11 18:43:11 -08:00
Florian Queze
ddf0cda8da
Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj.
2017-04-14 18:29:12 +02:00
Kris Maglione
803885db85
Bug 1314861: Lazily load most SDK module imports. r=rpl
...
MozReview-Commit-ID: 3mneEkzljiU
2017-04-07 18:11:32 -07:00
Kris Maglione
9f593b06aa
Bug 1314861: Lazily load UI modules, as much as possible. r=rpl
...
MozReview-Commit-ID: JdHHw639Lwv
2017-04-07 16:28:42 -07:00
Kris Maglione
21e47fda70
Bug 1314861: Lazily create view for Panels. r=rpl
...
This is the one change that's slightly risky, since it may impact add-ons that
depend on panel documents loading immediately, rather than only when they're
needed. It may require some developer outreach.
MozReview-Commit-ID: 4ICPKcvLiQR
2017-04-07 18:21:12 -07:00
Kris Maglione
2b9b78e346
Bug 1314861: Lazily initialize l10n code. r=rpl
...
MozReview-Commit-ID: DgmrEMQGrtw
2016-10-30 16:53:37 -07:00
Kris Maglione
577041cc1e
Bug 1314861: Minor optimization: Avoid the more expensive parts of path joining and normalization where possible. r=ochameau
...
MozReview-Commit-ID: Jh71D8XulVp
2017-04-07 16:37:47 -07:00
Kris Maglione
5ad65a57a6
Bug 1314861: Add caching to some of the more expensive and repetitive parts of module resolution. r=ochameau
...
MozReview-Commit-ID: 8vHcu4c8jDe
2017-04-07 18:22:33 -07:00
Kris Maglione
019811c647
Bug 1314861: Some trivial optimizations that add up something significant. r=ochameau
...
MozReview-Commit-ID: FmiH8daYxK8
2017-04-07 18:05:18 -07:00
Kris Maglione
217ff99a2a
Bug 1314861: Pre-compute path mapping function to save on runtime lookups. r=ochameau
...
MozReview-Commit-ID: Lc4ju1XOfgR
2017-04-13 15:40:09 -07:00
Kris Maglione
527c833970
Bug 1314861: Minor optimization: Define globals for shared sandbox modules on the sandbox rather than each module. r=ochameau
...
MozReview-Commit-ID: Lre6L2u4Y2r
2017-04-14 16:13:41 -07:00
Kris Maglione
9c259c85e9
Bug 1314861: Add defineLazyGetter global to SDK loader modules. r=ochameau
...
MozReview-Commit-ID: L1NShFpnb2S
2017-04-14 13:28:02 -07:00
Florian Queze
451928e614
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
d3c36892fa
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
4cd95d4a02
Backed out changeset 18d45aa984d6 (bug 1355161)
2017-04-14 23:39:23 +02:00
Sebastian Hengst
42670ceca0
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
f75839c723
Backed out changeset 55f3df15eaa6 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
9b4f73599f
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Florian Queze
35cd8ba883
Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj.
2017-04-14 18:29:12 +02:00
Gijs Kruitbosch
4d22728a9a
Bug 1356030 - move HiddenFrame.jsm to toolkit, r=kmag
...
MozReview-Commit-ID: DUuYqamNMdT
2017-04-13 11:42:56 +01:00
Gijs Kruitbosch
0bb03c74c3
Bug 1353104 - use HiddenFrame.jsm to create frames for add-on sdk add-ons, r=kmag
...
MozReview-Commit-ID: CfR9xMPVr9H
2017-04-03 21:25:16 +01:00
Paul Bignier
949e14fc4f
Bug 1352805 - Typo fixes in comments around "unfortunately". r=MattN
...
MozReview-Commit-ID: B76JuHabq9T
2017-04-03 09:23:00 -07:00
Kris Maglione
6dd222e52c
Bug 1350617: Remove unnecessary overhead from ui/button/view code. r=mossop
...
MozReview-Commit-ID: G3hCLaGraXp
2017-03-25 14:51:22 -07:00
Kris Maglione
5860c0cd4a
Bug 1313767: Deobfuscate core/heritage.js r=rpl
...
MozReview-Commit-ID: 5raSFnOflxq
2016-10-30 16:47:27 -07:00
Kris Maglione
ffcc3a3341
Bug 1313767: Deobfuscate events/core.js r=rpl
...
MozReview-Commit-ID: Ktj70L3DcQF
2017-03-25 15:06:25 -07:00
Gijs Kruitbosch
b381e8453b
Bug 1341097 - part 3: don't dispatch oodles of titlechanged notifications for new history entries, r=mak
...
MozReview-Commit-ID: 7jHOcCQ5ZBb
2017-02-27 18:26:21 +00:00
Kris Maglione
f47e351421
Bug 1339483: Fix tab frame lookup performance issues. r=mossop
...
MozReview-Commit-ID: Fvx1J8bpzGg
2017-02-14 13:24:07 -08:00
Florian Quèze
c32c931bc9
Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws.
2017-01-30 08:10:22 +01:00
Florian Quèze
c8cf49999e
Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws.
2017-01-27 10:51:03 +01:00
Florian Quèze
ca51131957
Bug 1334156 - replace ownerDocument.defaultView usages by hand in a few places, r=jaws.
2017-01-27 10:51:02 +01:00
Florian Quèze
aac9c05258
Bug 1334250 - adapt the no-useless-removeEventListener rule to handle the listener being added and removed with the same variable + some hand fixes, r=jaws.
2017-01-27 10:47:57 +01:00
Florian Quèze
91f7a2ef3a
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
Florian Quèze
63de711857
Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
2017-01-17 11:50:25 +01:00
Florian Quèze
b36a8b8f42
Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws.
2017-01-11 22:27:42 +01:00
Dylan Sharhon
fc07bc48a0
Bug 1043423 - Fix "SDK's ui/toolbar element creates a border in Firefox 31" r=zer0
2016-12-28 16:53:00 +01:00
Florian Quèze
e6ad78b61f
Bug 1329182 - remove trailing newURI null parameters in addon-sdk's indexed-db.js, r=jaws.
2017-01-09 20:27:26 +01:00
Florian Quèze
6459975a67
Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws.
2017-01-09 20:27:26 +01:00
Julian Descottes
f7de439f73
Bug 1321509 - remove references to Array.slice in addon-sdk util/object;r=zer0
...
MozReview-Commit-ID: 8HCwdqy4kwl
2016-12-07 18:03:32 +01:00
Michael Kaply
198de99370
Bug 1321133 - Backout 1285373 for regressions in pageworks. r=kmaglione
...
MozReview-Commit-ID: 3dXTJHFady0
2016-12-01 12:09:44 -06:00
Tooru Fujisawa
469109d0ee
Bug 1321214 - Remove legacy generator from addon-sdk/. r=mossop
2016-12-01 18:04:50 +09:00