Граф коммитов

33 Коммитов

Автор SHA1 Сообщение Дата
Dave Townsend ec5f17632b Bug 1356292: Switch back to triggering principal checks for add-on install permission checking to allow url bar triggered installs to proceed. r=bz, r=aswan
MozReview-Commit-ID: 4HXgGqSGkN0

--HG--
extra : rebase_source : 9a12063d56987d0b9258c88b4d0a2c5cff955210
2017-04-13 14:58:38 -07:00
Florian Quèze b11907c7aa Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Andrew Swan 090c727768 Bug 1323129 part 1: Remove support for installing multiple xpis in InstallTrigger r=rhelmer
MozReview-Commit-ID: 567cHYjbjO4

--HG--
extra : rebase_source : c386aa73b5b3e895b7bab5415b1490a210d3f263
extra : intermediate-source : 99ab629f9cadbd2404d1c62a484b558475005959
extra : source : 070c629adccf921965486524a3c65ce63b5323c1
2017-01-04 10:12:53 -08:00
Jared Wein ecab54a7c9 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje

--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher 0dfb7c2b5c Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein 7255df4e9a Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR

--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
Christoph Kerschbaumer f2776f1b8d Bug 1308889 - Try to explicitly pass aTriggeringPrincipal and aPrincipalToInherit to DoURILoad(). r=bz 2016-11-08 07:23:12 +01:00
Christoph Kerschbaumer bde72ba5d9 Bug 1297338 - Use principalToInherit instead of TriggeringPrincipal within AddonManager.js. r=bz,mossop 2016-09-20 08:37:17 +02:00
Dave Townsend e2b946adfc Bug 1226386: Remove functions names where possible. r=rhelmer
We used to need explicit names for functions to make stack traces display
properly. The JS engine is smarter now so doesn't need them and they just
make the code messy and redundant.

--HG--
extra : commitid : 4FEIiQYhRQu
extra : rebase_source : 26689d5417f592d0f327f32076245cb4f154229a
2015-11-19 16:35:41 -08:00
Dave Townsend d78b5ae798 Bug 1200027: Fix installing add-ons from the AMO discovery pane in the add-ons manager. r=dveditz
--HG--
extra : commitid : 94OiH0KUpNn
extra : rebase_source : 5d51f94c1627b19bdc438fe05e5475bd3525070d
extra : amend_source : 203756cbbab7f0f7dbda20ec003292081d96bb51
2015-08-31 11:23:39 -07:00
Dave Townsend cbedcf3b95 Bug 1042699: Block cross-origin add-on install requests. r=dveditz
--HG--
extra : commitid : FdVvNum7B1w
extra : rebase_source : db8d8aff572798f35b80e20feb6aaaa9094cf79c
extra : amend_source : 14e54c9a677784e9f520a454ee579208f8385384
2015-08-18 17:21:05 -07:00
Dave Townsend 034055f952 Bug 1082764: Use the correct referrer when the content handler catches an XPI install in e10s. r=Unfocused 2014-11-04 23:28:55 -08:00
Dave Townsend a7d0217d78 Bug 1084558: Switch the web installer interfaces to use browsers instead of DOM windows. r=Unfocused 2014-11-04 19:20:52 -08:00
Kyle Huey 0469a02b25 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey 9a3674d80a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley 4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey 50b5d3f681 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Atul Jangra 1676f8645e Bug 767236 - Part 4: Name all anonymous functions in remaining Add-ons Manager code. r=Unfocused 2012-10-24 22:58:00 +13:00
Blair McBride fb387b6491 Bug 780313 - Remove unnecessary preprocessing of Toolkit files. r=gavin 2012-08-04 13:22:55 +12:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Blair McBride cd9c3c38b5 Bug 670023 - Use ES5's strict mode in Add-ons Manager frontend and backend code. r=dtownsend 2011-07-19 13:16:35 -07:00
Gavin Sharp 3fecee7e86 Back out 0f11ca4d1733 (bug 670023) due to xpcshell test failures 2011-07-21 22:20:21 -04:00
Blair McBride dbfd6cae6c Bug 670023 - Use ES5's strict mode in Add-ons Manager frontend and backend code. r=dtownsend 2011-07-19 13:16:35 -07:00
Tim Taubert ef65209ddf Backed out changeset a115d824218c (bug 670023) 2011-07-20 03:28:05 +02:00
Blair McBride 9b76325baa Bug 670023 - Use ES5's strict mode in Add-ons Manager frontend and backend code. r=dtownsend 2011-07-19 13:16:35 -07:00
Wes Johnston fdcedd2c3b Bug 593025 - Use InstallTrigger for xpi links. r=mossop a=blocking-fennec 2010-10-09 09:27:00 -04:00
Benjamin Smedberg 31432df1fb Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes.
--HG--
rename : toolkit/components/filepicker/src/nsFilePicker.js.in => toolkit/components/filepicker/src/nsFilePicker.js
2010-06-22 12:59:15 -04:00
Dave Townsend a132e97c1f Bug 555942: Style and attribute prefix fixes, no review
* * *
Fix argument renames for test_registry.js
2010-04-28 09:42:07 -07:00
Dave Townsend 1525faa802 Bug 553169: Implement InstallTrigger, the XPI content handler and confirmation for web triggered installs. r=robstrong, r=dveditz 2010-04-29 13:11:23 -07:00
Dave Townsend bfd56a86b8 Backout new add-ons manager due to Ts regression on OSX 10.5
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug404024.xml => toolkit/mozapps/extensions/test/unit/data/test_bug404024.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug417606.xml => toolkit/mozapps/extensions/test/unit/data/test_bug417606.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug424262.xml => toolkit/mozapps/extensions/test/unit/data/test_bug424262.xml
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug404024.js => toolkit/mozapps/extensions/test/unit/test_bug404024.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug417606.js => toolkit/mozapps/extensions/test/unit/test_bug417606.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug424262.js => toolkit/mozapps/extensions/test/unit/test_bug424262.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug449027.js => toolkit/mozapps/extensions/test/unit/test_bug449027.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug455906.js => toolkit/mozapps/extensions/test/unit/test_bug455906.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug514327_3.js => toolkit/mozapps/extensions/test/unit/test_bug514327_3.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js => toolkit/mozapps/extensions/test/unit/test_bug541420.js
2010-05-01 11:04:44 -07:00
Dave Townsend 37faefbc22 Bug 555942: Style and attribute prefix fixes, no review
* * *
Fix argument renames for test_registry.js
2010-04-28 09:42:07 -07:00
Dave Townsend f0177a9b21 Bug 553169: Implement InstallTrigger, the XPI content handler and confirmation for web triggered installs. r=robstrong, r=dveditz 2010-04-29 13:11:23 -07:00