Commit Graph

183 Commits

Author SHA1 Message Date
Kris Maglione
fd7e9e6a69 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
2018-04-22 20:55:06 -07:00
Boris Zbarsky
1eb7f3f9c3 Bug 1444143 part 10. Remove unnecessary QIs to Ci.nsIFrameLoader in JS. r=mystor
nsFrameLoader is on WebIDL bindings, so those QIs are no-ops anyway, unless the given object is no a frameloader to start with.

MozReview-Commit-ID: IPiW70H5NPc
2018-03-21 22:43:17 -04:00
Andrew McCreight
272cee1e65 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
2018-02-06 09:36:57 -08:00
Kris Maglione
0bb74efdf1 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
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d 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
fd67f090b2 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
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb 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
683a97d172 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
2018-01-29 15:20:18 -08:00
Boris Zbarsky
5e2f01813d Bug 1415389. Make ChromeUtils a WebIDL namespace. Remove ThreadSafeChromeUtils. r=kmag
MozReview-Commit-ID: 9ysAeaBMNVt
2017-11-08 00:25:33 -05:00
Andrea Marchesini
7d9d5937f9 Bug 1377656 - Bug 1377656 - Remove visibility check in BrowserElement API, r=kanru 2017-07-04 05:43:52 +02:00
Andrea Marchesini
93aa268caf Bug 1368712 - Get rid of nsIBrowserElementAPI.{set,get}Visible, r=kanru 2017-05-31 21:15:23 +02:00
btian
525e8fb57a Bug 1299390 - part 3: Remove BrowserElement methods required by BrowserElementAudioChannel only. r=alwu,baku
MozReview-Commit-ID: LAyGMvmmZpz
2017-05-18 09:31:00 +08:00
btian
150094f849 Bug 1299390 - part 2: Remove AudioChannelService methods required by BrowserElementAudioChannel only. r=alwu,baku
Changes:
- remove nsIAudioChannelService methods
- remove method AudioChannelService::RefreshAgentsVolumeAndPropagate and IPC method AudioChannelChangeNotification
- remove workaround for bug 1183033

MozReview-Commit-ID: BqlXYVhgrat
2017-05-18 09:31:00 +08: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
6459975a67 Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
Michelangelo De Simone
3d60535bc8 Bug 1313169 - Remove dom/inputmethod/ and related code. r=Ehsan
MozReview-Commit-ID: 5jkBVon3ZSz
2016-12-20 16:32:12 -08:00
Ehsan Akhgari
f220b166d4 Bug 1317983 - Remove navigator.mozBrowserElementProxy; r=baku
This was implemented in bug 1196654 for the b2g system app, and is no longer
being used.
2016-11-16 12:22:14 -05:00
J. Ryan Stinnett
74d0af9bd3 Bug 1316718 - Remove ExtensionContent from mozbrowser startup. r=fabrice
MozReview-Commit-ID: 4I5Ox1cQdIg
2016-11-10 15:38:26 -06:00
Michelangelo De Simone
679e26c089 Bug 1310859 - Remove DOM/nfc and related code. r=jst
MozReview-Commit-ID: FiS7uGytipN
2016-10-18 15:16:56 -07:00
Ehsan Akhgari
307f7072e2 Bug 1310378 - Remove support for mozwidget; r=baku 2016-10-17 13:15:36 -04:00
Ehsan Akhgari
a1e56b3576 Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
J. Ryan Stinnett
f91a386546 Bug 1301514 - Destroy browser API frame scripts during swap. r=kanru
When swapping content from <iframe mozbrowser> to <xul:browser>, we now stop the
frame scripts that implement the content side of the browser API since they are
no longer needed and can cause issues if they remain active.

MozReview-Commit-ID: JrecxA4MI93
2016-09-08 16:00:12 -05:00
Kartikaya Gupta
e57fb1eec4 Bug 1299488 - Remove TabParent::InjectTouchEvent as it is unused but error-prone. r=botond
MozReview-Commit-ID: EVBRK70veT1
2016-08-31 16:54:23 -04:00
Gabriele Svelto
832b644dfb Bug 1284535 - Remove dependencies to the mozApps-related APIs from the audio channel code r=gsvelto
MozReview-Commit-ID: 9XKMKBkvlfR
2016-04-14 15:19:41 +02:00
Boris Zbarsky
a757315cb7 Bug 1273203. Remove the getStructuredData API from BrowserElement. r=kanru 2016-05-18 02:51:49 -04:00
Xidorn Quan
2487611b41 Bug 743198 part 8 - Use unprefixed Fullscreen API in chrome code. r=smaug 2016-02-17 08:47:11 +08:00
Christoph Kerschbaumer
3a48a67483 Bug 1232901 - Use channel.asyncOpen2 within dom/browser-element/BrowserElementParent.js (r=sicking,aus) 2016-02-10 13:58:08 -08:00
Phil Ringnalda
2f06fc3ddf Back out b82e4d33ec28 (bug 1232901) on suspicion of breaking Gij-19's browser_context_menu_test.js
CLOSED TREE
2016-01-20 19:40:44 -08:00
Christoph Kerschbaumer
7947df56bd Bug 1232901 - Use channel.asyncOpen2 within dom/browser-element/BrowserElementParent.js (r=sicking,aus) 2016-01-20 12:44:21 -08:00
Fernando Jimenez
96ded35015 Bug 1180330 - http auth prompt shown when opening browser if prompt canceled/dismissed earlier. r=fabrice 2016-01-11 09:49:59 +01:00
Ting-Yu Lin
d9259e03e5 Bug 1234118 - Delete code for supporting 'do-command' and 'copypaste-docommand'. r=mtseng, r=smaug
These two events are the leftovers for support copy/paste/cut/selectall
operations from old text_selection_dialog.js in Gaia. The code for
handling them can be removed since text_selection_dialog.js was removed
in bug 1221462.
2016-01-04 21:45:01 +08:00
Ting-Yu Lin
e88fe68dc4 Bug 1221459 - Remove SelectionStateChangedEvent. r=mtseng, r=smaug
SelectionStateChangedEvent is dispatched only by SelectionCarets. Hence
the removal. The modification in mochitest browserElement_CopyPaste.js
is effectively the reverting of [1] with AccessibleCaret enabled.

The DoCommandHelper is shell.js is removed as well, which handles the
'do-command' event dispatched from old text_selection_dialog.js in Gaia.

[1] https://bugzilla.mozilla.org/page.cgi?id=splinter.html&bug=1155493&attachment=8612154

DONTBUILD
2015-12-22 14:14:12 +08:00
Nigel Babu
45cfc46ab3 Backed out changeset c97319b5cb12 (bug 1221459) 2015-12-22 14:03:16 +05:30
Ting-Yu Lin
4ef82bbc8c Bug 1221459 - Remove SelectionStateChangedEvent. r=mtseng,smaug
SelectionStateChangedEvent is dispatched only by SelectionCarets. Hence
the removal. The modification in mochitest browserElement_CopyPaste.js
is effectively the reverting of [1] with AccessibleCaret enabled.

The DoCommandHelper is shell.js is removed as well, which handles the
'do-command' event dispatched from old text_selection_dialog.js in Gaia.

[1] https://bugzilla.mozilla.org/page.cgi?id=splinter.html&bug=1155493&attachment=8612154
2015-12-22 14:14:12 +08:00
Tom Tromey
743134b3e7 Bug 1221292 - move nondeterministicGetWeakMapKeys to ThreadSafeChromeUtils; r=bz 2015-11-11 12:55:00 +01:00
Alastor Wu
1efe4baeee Bug 1206581 - Implement notifyChannel() on AudioChannel API. r=kanru, r=baku. 2015-11-06 00:32:04 +08:00
Carsten "Tomcat" Book
2c8cf80144 merge mozilla-inbound to mozilla-central a=merge 2015-11-05 11:58:55 +01:00
sgiles
8b3ebc51c8 Bug 1209479 - Map Android back button to nsIWebNavigation::GoBack() for the current active frame r=fabrice 2015-10-01 18:00:31 +01:00
Carsten "Tomcat" Book
042ceadf77 Backed out changeset bd78b2adf002 (bug 1206581) for bustage again 2015-11-03 09:31:46 +01:00
Alastor Wu
000079bc2a Bug 1206581 - Implement notifyChannel() on AudioChannel API. r=kanru, r=baku. 2015-11-02 17:33:41 +08:00
Carsten "Tomcat" Book
fafff26441 Backed out changeset 177eae915693 (bug 1206581) for bustage 2015-11-02 09:43:15 +01:00
Alastor Wu
bb3d8e2a46 Bug 1206581 - Implement notifyChannel() on AudioChannel API. r=kanru, r=baku. 2015-10-30 18:28:35 +08:00
Marcos Caceres
b6a611229f Bug 1169633 - [Browser API] getWebManifest(). r=kanru, r=bholley 2015-11-03 03:52:00 +01:00
Tim Chien
2593f8cd59 Bug 1196654 - navigator.mozBrowserElementProxy for access Browser API methods from the embedded, r=kanru, sr=sicking 2015-10-25 20:06:00 +01:00
Thomas Nguyen
c76789089e Bug 1168704 - Rename setFocusApp in nslNfcContentHelper. r=yoshi 2015-10-07 23:55:00 +02:00
Yoshi Huang
caacd89b9c Bug 1165466 - Fix up docshell and loadcontext inheriting code in nsIScriptSecurityManager. r=bholley 2015-09-23 16:10:21 +08:00
Ted Clancy
599b38aa69 Bug 1195801 - Add GetStructuredData() method to Browser API. r=kanru, r=bholley 2015-09-22 23:02:10 -07:00
Kan-Ru Chen
109c869902 Bug 1186843 - Don't recreate message manager. r=smaug 2015-09-21 17:51:08 +08:00
Ting-Yu Lin
8d354bddf7 Bug 1199161 - Add selectedTextContent to CaretStateChangedEvent. r=kanru, sr=smaug
The old SelectionStateChangedEvent dispatched by SelectionChanged had
this field, but it has not being ported to CaretStateChangedEvent. We
should include selected text in the event so that Gaia could have a
chance to enhance user experience.
2015-09-16 17:58:14 +08:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00