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

98 Коммитов

Автор SHA1 Сообщение Дата
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
Michelangelo De Simone 682555bbc4 Bug 1313169 - Remove dom/inputmethod/ and related code. r=Ehsan
MozReview-Commit-ID: 5jkBVon3ZSz

--HG--
extra : rebase_source : e13a061650abe81ea58ffca22f74e3ec6122fede
2016-12-20 16:32:12 -08:00
Ehsan Akhgari eac76d9772 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Carsten "Tomcat" Book 3eacc680db Backed out changeset 7d1f7dd996f7 (bug 1310845) 2016-11-16 14:50:44 +01:00
Ehsan Akhgari cb369370b3 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
J. Ryan Stinnett 3befba8d87 Bug 1308955 - Remove leftover invocations of ContentPanning. r=kanru
MozReview-Commit-ID: CKMEILwr0WV

--HG--
extra : rebase_source : 4434b1df5585b650c2c5285e18aeace98c80e0ab
2016-10-10 10:52:23 -05:00
Kartikaya Gupta eae6ab8433 Bug 970125 - Rip out the BrowserElementPanning JS code that's not used any more. r=kanru
MozReview-Commit-ID: 9VRrVliiU6r

--HG--
extra : rebase_source : ba49e5f270b37c80dd12258b3820f7e82cba6fef
2016-10-06 10:36:17 -04:00
J. Ryan Stinnett b7ca8b1d80 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

--HG--
extra : rebase_source : cc68b975c7d82035410a647ff66eab130055ed04
2016-09-08 16:00:12 -05:00
J. Ryan Stinnett bcefcd65fe Bug 1301514 - Clarify ownership of BrowserElementIsReady. r=kanru
It wasn't immediately obvious to me that BrowserElementIsReady was correctly
guarding against re-running the browser element scripts in a frame.  After more
testing, it was working, but I've added some debug lines for future clarity.
No functionality changes in this patch.

MozReview-Commit-ID: CW4o2TsGKmj

--HG--
extra : rebase_source : 62ec06d4b75f90b3478e403906efaa2f3c3658e2
2016-09-07 17:45:13 -05:00
J. Ryan Stinnett a899dd1d54 Bug 1268688 - Start browser API for frames swapping to HTML. r=bz
MozReview-Commit-ID: 56lMg0b86Bp
2016-05-03 14:58:03 -05:00
J. Ryan Stinnett 777c113bb3 Bug 1238160 - Set docshell isolation mode. r=smaug
Renames nsDocShell isBrowser* attributes to add a "Moz" prefix for clarity.

Adds nsDocShell::GetIsIsolatedMozBrowserElement, which parallels
GetIsInIsolatedMozBrowserElement, but only checks the immediate docshell.

Adds nsDocShell::SetIsInIsolatedMozBrowserElement for the frame loader and tab
child to set the isolation state.

nsDocShell methods related to mozbrowser elements (and their callers) are
updated to use GetIs(In)?IsolatedMozBrowserElement when checking isolation /
origins and GetIsMozBrowserElement when checking frame types.

MozReview-Commit-ID: 6pGD5fF47ZN
2016-03-02 10:35:56 -06:00
Botond Ballo 8729479ba0 Bug 1227760 - Fix check for touch events being enabled on B2G. r=kats
--HG--
extra : rebase_source : 1bec72d5dca40bf1eaea6ecd758c9b979b98bec9
extra : source : 272b64e3b2bed498fe2ee2531499e21e075323d0
2015-11-27 19:14:23 -05:00
Botond Ballo f7282ab158 Bug 1217515 - Clean up the way touch event support is configured. r=roc
- all.js now sets dom.w3c_touch_events.enabled to auto-detect on all
  platforms except windows and mac
- auto-detect always returns true for android and b2g
- graphene and tests override the all.js pref with their own value

--HG--
extra : rebase_source : 85a88985f77dfb47301cab17d939a88f3043a7a1
extra : source : 95e992d129c32f5e5f39b67f6f946e5d1dcbf530
2015-10-26 16:06:27 -04:00
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Jeremy Chen 76c380be23 Bug 1147329 - Handle in-process case for Cut/Copy/Paste feature. r=kanru
--HG--
extra : commitid : H2bSIbLfEXs
2015-07-27 11:56:04 +08:00
Morris Tseng fc201e0ae1 Bug 1155493 - Part 2: Event hook for mozbrowser element. r=kanru 2015-05-28 01:57:00 -04:00
Ryan VanderMeulen cf9976434d Backed out 4 changesets (bug 1155493) for Android test_browserElement_inproc_CopyPaste.html timeouts/crashes.
Backed out changeset 3bd7adb9f591 (bug 1155493)
Backed out changeset 0380b1684e6b (bug 1155493)
Backed out changeset 58b7c1eaf3c8 (bug 1155493)
Backed out changeset 896beb5088a7 (bug 1155493)
2015-05-25 13:15:06 -04:00
Morris Tseng a11d4a5f6e Bug 1155493 - Part 2: Event hook for mozbrowser element. r=kchen
--HG--
extra : source : 0d74bb9bb06f9b55024a23b3744cbf6555c8fef1
2015-05-21 02:06:00 -04:00
Paul Rouget d41d4d70dc Bug 1138252 - Load BrowserElementPanning.js only if touch events are enabled. r=botond 2015-03-05 16:38:51 -08:00
sarvjeet 07d8696b14 Bug 995394: Removed parts of BrowserElementPanning.js that are only used when APZ is disabled and added that to a separte file BrowserElementPanningAPZDisabled.js r=botond, a=RyanVM
--HG--
extra : amend_source : 5806ad240ace17ce35008e307f89b825ed31d711
2015-02-25 13:33:21 -05:00
Wes Kocher 04a00867d2 Backed out 2 changesets (bug 995394) for m-dt orange on a CLOSED TREE
Backed out changeset a250f116b563 (bug 995394)
Backed out changeset da37f3c9b4ce (bug 995394)
2015-02-26 17:56:14 -08:00
Botond Ballo 2bce41a013 Bug 995394 - Fix a typo. r=me 2015-02-26 16:13:13 -05:00
sarvjeet f8ac4ebec4 Bug 995394: Removed parts of BrowserElementPanning.js that are only used when APZ is disabled and added that to a separte file BrowserElementPanningAPZDisabled.js r=botond 2015-02-25 13:33:21 -05:00
Fabrice Desré 38dc391f7f Bug 1003848 - Don't use sync messaging during BrowserElementChild initialization r=smaug 2014-11-24 11:05:35 -08:00
Carsten "Tomcat" Book e1cc9c8763 Backed out changeset fb224386bea8 (bug 1003848) for bustage on a CLOSED TREE 2014-12-03 16:43:15 +01:00
Fabrice Desré 89db929ab8 Bug 1003848 - Don't use sync messaging during BrowserElementChild initialization r=smaug 2014-11-24 11:05:35 -08:00
Fabrice Desré 441a8d0a8a Bug 832700 - Add private browsing to b2g, API implementation r=ehsan,smaug 2014-10-10 14:28:04 -07:00
Jan Jongboom a6871c3c19 Bug 987549 - Wait until BrowserElement child scripts have been loaded before dispatching inputMethod setActive request. r=yxl 2014-04-02 08:51:46 -04:00
Nathan Froyd f5eb413a24 Bug 961808 - delete dead imports from BrowserElement{Child,Panning}.js; r=fabrice 2014-01-20 11:33:34 -05:00
Patrick Wang (Chih-Kai Wang) 50dfaff474 Bug 913243 - Load ErrorPage.js only when error occurs. r=fabrice 2014-01-07 14:39:32 +08:00
Kan-Ru Chen (陳侃如) 2dccb91273 Bug 941468 - Only load forms.js once per-process. r=yxl 2013-12-08 23:28:47 +08:00
Vivien Nicolas 38b448e36f Bug 944047 - Change the initialisation order in BrowserElementPanning.js r=cwiiis
Change the order of initialisation in BrowserElementPanning.js so that
TabChild::IsAsyncPanZoomEnabled isn't called before
TabChild::InitRenderingState.
2013-12-05 20:47:19 +00:00
Yuan Xulei e6385de5d0 Bug 932151 - Include forms.js in both desktop and b2g build. r=fabrice
--HG--
rename : b2g/chrome/content/forms.js => dom/inputmethod/forms.js
2013-11-11 09:11:43 -05:00
Ed Morley bd7b902f08 Backed out changeset f2ed6b24269a (bug 932151) for causing bug 936324
--HG--
rename : dom/inputmethod/forms.js => b2g/chrome/content/forms.js
2013-11-08 10:59:31 +00:00
Yuan Xulei 560a2ee462 Bug 932151 - Include forms.js in both desktop and b2g build. r=fabrice
--HG--
rename : b2g/chrome/content/forms.js => dom/inputmethod/forms.js
2013-11-07 09:02:25 -05:00
Vivien Nicolas 62565e0bf9 Bug 928367 - Preload ErrorPage.js in dom/ipc/preload.js. r=fabrice 2013-10-19 12:30:32 +02:00
Vivien Nicolas ext:(%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E) a63928cdfc Bug 835809: Preload more things for faster page loads. r=fabrice,jlebar
--HG--
rename : dom/browser-element/BrowserElementChild.js => dom/browser-element/BrowserElementChildPreload.js
rename : dom/browser-element/BrowserElementScrolling.js => dom/browser-element/BrowserElementPanning.js
2013-02-07 21:10:01 -08:00
Vivien Nicolas ext:(%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E) 0938b96ba6 Rollup of bug 819000: Preload about:blank. r=cjones, r=jlebar
Includes the following patches

Bug 819000: Bail out of PresShell::Paint if not active. r=roc
Bug 819000: Make sure preloaded docshells are reset to active. r=jlebar
Bug 819000: Preload about:blank. r=cjones a=cjones
2013-01-24 10:39:18 -08:00
Fabrice Desré affdca43f1 Bug 835548 - Refactor BrowserElementParent.js into a .js and .jsm, and speed up message registration. r=jlebar
--HG--
rename : dom/browser-element/BrowserElementParent.js => dom/browser-element/BrowserElementParent.jsm
2013-01-30 14:22:54 -08:00
Ryan VanderMeulen 5079391a9f Backed out changeset bd0fc79d7a8b (bug 835548), changeset b8d1949eeb05 (bug 834999), changeset 3d90fdbf38a4 (bug 835596), and changeset ba7ffb02dc3f (bug 834371) for mochitest-4 failures on a CLOSED TREE. 2013-01-30 18:20:40 -05:00
Fabrice Desré 242b61e3c1 Bug 835548 - Refactor BrowserElementParent.js into a .js and .jsm, and speed up message registration. r=jlebar
--HG--
rename : dom/browser-element/BrowserElementParent.js => dom/browser-element/BrowserElementParent.jsm
2013-01-30 14:22:54 -08:00
Patrick Wang 5bbd55c1c7 Bug 829486 - Fire documentfirstpaint every time a window created. r=jlebar 2013-01-28 15:44:38 +08:00
Etienne Segonzac 9ac56b50ea Bug 826023 - Expose a getVisible method on mozbrowser iframes r=jlebar a=bb+ 2013-01-07 17:46:23 +01:00
Tim Taubert e72bf0686b Bug 808231 - Implement add/removeNextPaintListener() methods for mozbrowsers r=jlebar a=blocking-basecamp 2012-12-06 18:03:27 +01:00
Patrick Wang d7b7ba988a Bug 816452 - Don't fire mozbrowsererror when loading page is stopped. r=jlebar 2012-12-05 16:10:19 +08:00