Commit Graph

20 Commits

Author SHA1 Message Date
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
Mark Banner
e3391599af Bug 1425003 - Fix GeckoViewNavigation.jsm referencing undefined URIFIxup - switch to Services.uriFixup. r=snorp
MozReview-Commit-ID: IKs6HBQwLAU

--HG--
extra : rebase_source : 10c1d4b44f19ba69d5e4ab65501b23a021480705
2017-12-13 09:02:36 -06:00
Eugen Sawin
2cf5f3c9c5 Bug 1394520 - [3.0] Translate null-URI to "about:blank" for URI loading requests. r=snorp 2017-09-28 22:45:59 +02:00
Eugen Sawin
fd55cf9695 Bug 1394520 - [2.1] Add support for external URI loading with e10s in GeckoView. r=snorp 2017-09-28 22:45:41 +02:00
Sebastian Hengst
23a0689548 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-21 15:29:25 +02:00
Eugen Sawin
b9c5b09c69 Bug 1401354 - [1.1] Only delegate URI loads if a navigation listener is set. r=snorp 2017-09-21 14:44:50 +02:00
Jan Henning
9371ff3146 Bug 1391421 - Part 3 - Switch various places that can end up being user-visible to use Unicode domains. r=esawin,jwu
Amongst others, this includes some prompts, as well as various progress messages sent to the Java UI.

We also fix getTabWithURL to be able to find tabs regardless of whether the given URL to search is written in Punycode or with Unicode characters.

MozReview-Commit-ID: K7xhgz2IK2h

--HG--
extra : rebase_source : cf8a56ef84be77a6c01d7c926b7eae43a20ca453
2017-09-14 18:55:09 +02:00
Jim Chen
d6e76c014e Bug 1394580 - 3. Lazy-load AndroidLog.jsm; r=droeh
Lazily load AndroidLog.jsm since we only need it for debug logging, and
logging is normally turned off in GeckoView code.

MozReview-Commit-ID: 5HNzYTwujMS

--HG--
extra : rebase_source : f6902e25a445d29001f93e024e7cc82fddbb58f2
2017-09-05 21:26:31 -04:00
Eugen Sawin
6d485331ae Bug 1396065 - [2.1] Override nsILoadURIDelegate::Handle in GeckoViewNavigation to allow for app specific URI loading handling. r=snorp 2017-09-05 19:08:04 +02:00
Kris Maglione
821308e4d1 Bug 1391110: Part 4 - Remove unnecessary nsIFrameLoaderOwner QIs. r=smaug
The FrameLoaderOwner interface has been implemented in WebIDL for several
years now, so these QIs are simply unnecessary overhead.

MozReview-Commit-ID: LAzvfm5Qhy0

--HG--
extra : rebase_source : 2495c07df21c474f5fabc257ff4db43b0d8047e4
2017-08-19 13:32:58 -07:00
Eugen Sawin
6ae48eb1b9 Bug 1389236 - [1.0] Allow sync handling of all URI loading requests in the app. r=snorp 2017-08-21 16:08:57 +02:00
Eugen Sawin
87790afb62 Bug 1377580 - [2.1] Add support for external URI loading in GeckoView. r=snorp 2017-08-14 14:57:25 +02:00
Eugen Sawin
b2ba9bbe43 Bug 1372681 - [3.3] Add GeckoView handlers. r=snorp,jchen 2017-06-29 16:42:16 -07:00
Dylan Roeh
1ab9ea633d Bug 1376595 - Add stop() to GV and use it in the custom tabs page load control. r=snorp 2017-06-27 15:12:28 -07:00
Jim Chen
6962d3f0f6 Bug 1351000 - 2. Separate out GeckoView chrome/JS files; r=snorp
Put GeckoView chrome content and JS module files into their own
GeckoView-specific directories, to make it easier to build separate JARs
for GeckoView and Fennec.

--HG--
rename : mobile/android/chrome/content/GeckoViewContent.js => mobile/android/chrome/geckoview/GeckoViewContent.js
rename : mobile/android/chrome/content/geckoview.js => mobile/android/chrome/geckoview/geckoview.js
rename : mobile/android/chrome/content/geckoview.xul => mobile/android/chrome/geckoview/geckoview.xul
rename : mobile/android/modules/AndroidLog.jsm => mobile/android/modules/geckoview/AndroidLog.jsm
rename : mobile/android/modules/GeckoViewContent.jsm => mobile/android/modules/geckoview/GeckoViewContent.jsm
rename : mobile/android/modules/GeckoViewModule.jsm => mobile/android/modules/geckoview/GeckoViewModule.jsm
rename : mobile/android/modules/GeckoViewNavigation.jsm => mobile/android/modules/geckoview/GeckoViewNavigation.jsm
rename : mobile/android/modules/GeckoViewProgress.jsm => mobile/android/modules/geckoview/GeckoViewProgress.jsm
rename : mobile/android/modules/GeckoViewSettings.jsm => mobile/android/modules/geckoview/GeckoViewSettings.jsm
rename : mobile/android/modules/Messaging.jsm => mobile/android/modules/geckoview/Messaging.jsm
2017-04-05 14:23:44 -04:00