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

49 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 1312fcd10f Bug 1476145 part 5. Stop using getInterface(nsIDOMWindowUtils) in DOM code. r=mccr8 2018-07-24 19:47:41 -04:00
Kris Maglione a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Peter Van der Beken f5754d679a Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : 5911f91bd7a63cd3603494e087e3858bd0527500
2018-03-01 20:19:56 +01:00
Sebastian Hengst 3a10644021 Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout
Backed out changeset 83c87140dc3d (bug 888600)
Backed out changeset 2efb9b1753f6 (bug 888600)
Backed out changeset af5303781961 (bug 888600)
Backed out changeset 79ef59047e63 (bug 888600)
Backed out changeset 30d568d628dd (bug 888600)
Backed out changeset c7bd4c6c9741 (bug 888600)

--HG--
extra : histedit_source : 791b22f6770f4fead2f909478a93d65d85829fe0%2Cbb387309e90f53e1dde45dcf8cf4ebedcc6e5c5e
2018-03-01 11:51:09 +02:00
Peter Van der Beken 6cf0e1c871 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : f6f781b04923f67f60718706a78b3c4de15eca94
2018-02-22 20:22:29 +01:00
Florian Quèze 682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Dorel Luca 9b2f91981c Backed out 6 changesets (bug 888600) for Valgrind and build bustge on a CLOSED TREE
Backed out changeset 7c8317f4ad48 (bug 888600)
Backed out changeset 5b990735f1ad (bug 888600)
Backed out changeset 9eafe225b804 (bug 888600)
Backed out changeset 16af80d6cd93 (bug 888600)
Backed out changeset a109987af625 (bug 888600)
Backed out changeset 0949dba396ad (bug 888600)
2018-02-22 13:56:43 +02:00
Peter Van der Beken ab910ec03f Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : 05d1b150ffa84931ace6dbd66385d1d014a03afe
2017-11-23 16:27:27 +01:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Kris Maglione 918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou 9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione 6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Florian Queze 4b1556a5f2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Nick Robson 40e1ba271a Bug 904479 - Added createPromiseWithId() that returns id of resolver r=kanru,nsm
--HG--
extra : rebase_source : 2aae82958670d0154a3cf08bd0e2a80d529e36f3
2015-08-19 14:53:22 -07:00
Kyle Machulis efd982b9e9 Bug 1073259 - Print more descriptive errors when DOMRequestHelper tries to create a request with an invalid window. r=fabrice 2014-10-17 05:24:00 -04:00
Nicholas Nethercote 5227147d52 Bug 1039887 - Avoid unnecessary deletes in DOMRequestHelper.jsm. r=fabrice.
They're unnecessary because the entire object is later nulled out.

This in turn avoids creating 3,108 shapes when starting up B2G, which is about
73 KiB's worth.
2014-07-16 22:48:53 -07:00
Henry Chang 21482a5e3c Bug 1035074 - Fix DOMRequestHelper::destroyDOMRequestHelper logic error. r=gene, fabrice, ferjm. 2014-07-11 15:22:18 +08:00
Antonio M. Amaya f32ee8177c Bug 1026737 - Implement listener counting on DOMRequestHelper r=fabrice 2014-06-19 19:51:05 -07:00
Fernando Jiménez 259e59d6fb Bug 928389 - Default to strong listeners added via DOMRequestHelper. r=fabrice, genelian, bkelly 2013-12-02 21:39:04 +01:00
Fabrice Desré 2d148375b6 Bug 938023 - Implement the download API : Part 2, implementation. r=auswerk 2013-11-27 23:18:08 -08:00
Ben Kelly be6feb0cd2 Bug 924565: Part 2: Use weak observer reference for DOMRequestHelper. r=fabrice 2013-11-20 13:33:18 +08:00
Fernando Jiménez 3440938223 Bug 924971 - [Contacts] Trying to add a contact as a recipient opens contact details instead of returning to Messages app. r=fabrice 2013-10-18 12:58:24 +02:00
Fernando Jiménez 05c17fe7c6 Bug 927398 - Missing call to .uninit() in DOMRequestHelper. r=fabrice 2013-10-18 12:58:24 +02:00
Steve Fink 35c9c98fac Backed out changeset 5349c5c0d9f8 (bug 924971) for M-oth failures
Backed out from a CLOSED TREE
2013-10-17 15:52:51 -07:00
Steve Fink 04787800bf Backed out changeset 03b50ae14f9b (bug 927398) for M-oth failures
Backed out from a CLOSED TREE
2013-10-17 15:52:46 -07:00
Fernando Jiménez 53ea380b80 Bug 927398 - Missing call to .uninit() in DOMRequestHelper. r=fabrice 2013-10-17 22:29:59 +02:00
Fernando Jiménez b206e0b490 Bug 924971 - [Contacts] Trying to add a contact as a recipient opens contact details instead of returning to Messages app. r=fabrice 2013-10-17 22:29:59 +02:00
Fernando Jiménez 1bd2567c1f Bug 915598 - Allow strong references to DOMRequestIPCHelper message listeners. Part 1: DOMRequestHelper. r=fabrice 2013-10-04 23:59:48 +02:00
Andrea Marchesini fcc425445c Bug 911213 - Implement new promise constructor, r=bz 2013-09-11 18:03:04 +02:00
Kan-Ru Chen (陳侃如) aee7017ffe Bug 904333 - Add forEach{Request,PromiseResolver} method to DOMRequestIpcHelper r=fabrice
--HG--
extra : rebase_source : 181aead1356a73a5a8a85c98000f3375c751ee33
2013-08-13 13:07:03 +08:00
Nikhil Marathe 9e3af62753 Bug 902030 - DOMRequestIpcHelper stores/retrieves Promises too. r=fabrice
--HG--
extra : rebase_source : 4610af506cc1e15f8f2efdc682e3d7989626cebf
2013-08-09 18:11:11 -07:00
Fabrice Desré 30970c47d5 Bug 902362 - DOMRequestHelper specifies _requests as array, but should be object. r=fabrice 2013-08-09 09:32:02 -07:00
Justin Lebar 55ca3347cf Bug 900221 - Switch DOMRequestHelper over to using weak message listeners. rs=fabrice
--HG--
extra : rebase_source : d83eb49444d8fb598e9d7ed1a879a6cbc8f3baaf
2013-08-08 11:36:56 -07:00
Nikhil Marathe 9fe05651ec Bug 892647 - Add check to DOMRequestIpcHelperMessageListener.destroy() to take actions only once. r=jlebar
--HG--
extra : rebase_source : 08b9f74879863ecfb0f5847b3854d28b67ec1f85
2013-07-11 17:13:42 -04:00
Justin Lebar 779d96d10f Bug 889984 - Don't leak objects which "inherit" from DOMRequestIpcHelper the associated window is closed. r=fabrice 2013-07-08 17:55:42 -04:00
Benjamin Chen b38f788032 Bug 802564 - Can't set window.location in inline disposition web activity when its App frame is opened. r=fabrice
1. SystemMessageInternal: Handle the "_listeners" correctly by using "manifest" and "winID"
2. SystemMessageManager: Remove cpmm message listerners when receiving "inner-window-destroyed"; Add winID for the reg/unreg message.
3. DOMRequestIpcHelper: Check aTopic in observe method
2012-11-07 10:32:09 +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
Philipp von Weitershausen d158b5747c Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Philipp von Weitershausen 2f381d2017 Bug 758486 - Settings API: make debug output a bit more useful. r=gwagner 2012-05-25 10:37:45 -07:00
Yoshi Huang b45c6f931a Bug 731786 - B2G RIL: Support SIM cards that require PIN codes. r=philikon sr=sicking 2012-04-12 12:01:49 +08:00
Philipp von Weitershausen 8d1082a882 Bug 734018 - Don't patch DOMRequestService into Services.jsm. r=gavin,fabrice 2012-04-11 13:55:54 +08:00
Blake Kaplan 92a89cb369 Bug 737029 - Use DOMRequestHelper.jsm in DOMWifiManager.js. r=fabrice DONTBUILD 2012-03-20 16:59:38 +01:00
Fabrice Desré 85faecc940 Bug 720415 - update navigator.mozApps m-c implementation - DOM + repo [r=gwagner] 2012-03-06 11:50:58 -08:00