Commit Graph
92 Commits
Author SHA1 Message Date
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 917a5e63fc 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 84568d0bc2 Backed out changeset 7d1f7dd996f7 (bug 1310845) 2016-11-16 14:50:44 +01:00
Ehsan Akhgari 2d792bd2ad 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 630cbe1c44 Bug 1308955 - Remove leftover invocations of ContentPanning. r=kanru
MozReview-Commit-ID: CKMEILwr0WV
2016-10-10 10:52:23 -05:00
Kartikaya Gupta 13753343a1 Bug 970125 - Rip out the BrowserElementPanning JS code that's not used any more. r=kanru
MozReview-Commit-ID: 9VRrVliiU6r
2016-10-06 10:36:17 -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
J. Ryan Stinnett c27aecdbe4 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
2016-09-07 17:45:13 -05:00
J. Ryan Stinnett 25f9c645de 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 d0e4c235aa 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 3ce173d6d9 Bug 1227760 - Fix check for touch events being enabled on B2G. r=kats 2015-11-27 19:14:23 -05:00
Botond Ballo ffb93d1c0c 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
2015-10-26 16:06:27 -04: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
Jeremy Chen 79fd57c2a5 Bug 1147329 - Handle in-process case for Cut/Copy/Paste feature. r=kanru 2015-07-27 11:56:04 +08:00
Morris Tseng 487e49f25b Bug 1155493 - Part 2: Event hook for mozbrowser element. r=kanru 2015-05-28 01:57:00 -04:00
Ryan VanderMeulen 713536a68d 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 e4826750ff Bug 1155493 - Part 2: Event hook for mozbrowser element. r=kchen 2015-05-21 02:06:00 -04:00
Paul Rouget 27122ee71f Bug 1138252 - Load BrowserElementPanning.js only if touch events are enabled. r=botond 2015-03-05 16:38:51 -08:00
sarvjeet 09660779c7 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 2015-02-25 13:33:21 -05:00
Wes Kocher 1edac5487a 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 f3c3c1f723 Bug 995394 - Fix a typo. r=me 2015-02-26 16:13:13 -05:00
sarvjeet bfdb8e0cbc 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é 8a532844e1 Bug 1003848 - Don't use sync messaging during BrowserElementChild initialization r=smaug 2014-11-24 11:05:35 -08:00
Carsten "Tomcat" Book cdcebcefa5 Backed out changeset fb224386bea8 (bug 1003848) for bustage on a CLOSED TREE 2014-12-03 16:43:15 +01:00
Fabrice Desré 1b6f289e53 Bug 1003848 - Don't use sync messaging during BrowserElementChild initialization r=smaug 2014-11-24 11:05:35 -08:00
Fabrice Desré 8de17fbf96 Bug 832700 - Add private browsing to b2g, API implementation r=ehsan,smaug 2014-10-10 14:28:04 -07:00
Jan Jongboom ce092856b3 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 ade280be60 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) 7f722a8d71 Bug 913243 - Load ErrorPage.js only when error occurs. r=fabrice 2014-01-07 14:39:32 +08:00
Kan-Ru Chen (陳侃如) 35bf8099b6 Bug 941468 - Only load forms.js once per-process. r=yxl 2013-12-08 23:28:47 +08:00
Vivien Nicolas 91eddc1aa0 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 9a9eda1aff Bug 932151 - Include forms.js in both desktop and b2g build. r=fabrice 2013-11-11 09:11:43 -05:00
Ed Morley 685fbeabd8 Backed out changeset f2ed6b24269a (bug 932151) for causing bug 936324 2013-11-08 10:59:31 +00:00
Yuan Xulei 31dd9fbe0a Bug 932151 - Include forms.js in both desktop and b2g build. r=fabrice 2013-11-07 09:02:25 -05:00
Vivien Nicolas 9009e1359a Bug 928367 - Preload ErrorPage.js in dom/ipc/preload.js. r=fabrice 2013-10-19 12:30:32 +02:00
Vivien Nicolas 482bd6e52f Bug 835809: Preload more things for faster page loads. r=fabrice,jlebar 2013-02-07 21:10:01 -08:00
Vivien Nicolas a4f6d46da2 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é eabac612fb Bug 835548 - Refactor BrowserElementParent.js into a .js and .jsm, and speed up message registration. r=jlebar 2013-01-30 14:22:54 -08:00
Ryan VanderMeulen ca4f00d84a 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é 21605898e7 Bug 835548 - Refactor BrowserElementParent.js into a .js and .jsm, and speed up message registration. r=jlebar 2013-01-30 14:22:54 -08:00
Patrick Wang 7706da9e07 Bug 829486 - Fire documentfirstpaint every time a window created. r=jlebar 2013-01-28 15:44:38 +08:00
Etienne Segonzac 6615224794 Bug 826023 - Expose a getVisible method on mozbrowser iframes r=jlebar a=bb+ 2013-01-07 17:46:23 +01:00
Tim Taubert 7fe7237065 Bug 808231 - Implement add/removeNextPaintListener() methods for mozbrowsers r=jlebar a=blocking-basecamp 2012-12-06 18:03:27 +01:00
Patrick Wang 6b4cd3ae0b Bug 816452 - Don't fire mozbrowsererror when loading page is stopped. r=jlebar 2012-12-05 16:10:19 +08:00
Andrea Marchesini 1af8281882 Bug 807056 - BrowserElement* purgeHistory(). r=jlebar 2012-11-02 19:50:54 -04:00
Justin Lebar 9f178d999c Bug 802647 - Send browser screenshots as blobs, not base-64 strings. r=khuey,daleharvey 2012-10-31 19:28:11 -04:00
Patrick Wang 5694820143 Bug 793644 - Implement confirmEx prompt for <iframe mozbrowser/mozapp>. r=jlebar 2012-10-19 18:35:59 +08:00
Justin Lebar 1a20338200 Bug 799595 - Add nsIMessageLoop::PostIdleTask and use it to take screenshots. r=cjones 2012-10-25 11:36:24 -04:00
Justin Lebar de553c2ac1 Bug 800170 - Modify mozbrowser's getScreenshot() so it takes max-width, max-height parameters. r=smaug 2012-10-17 00:23:08 -04:00
Gabriele Svelto a97aa4d056 Bug 801676 - Follow-up: Add comment explaining why we use JPEG instead of PNG in getScreenshot(). r=jlebar DONTBUILD 2012-10-16 18:02:53 +02:00