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

1030 Коммитов

Автор SHA1 Сообщение Дата
Mike Conley 761ef8fd15 Bug 1111957 - Invalidate mDPI and mDefaultScale in TabChild when switching displays. r=fabrice.
Bug 1107259 made TabChild cache the display DPI and default scale more aggressively, and
we need to invalidate those caches when switching displays, otherwise we can get weird
scaling behaviours when switching between displays with different DPIs and scales.

--HG--
extra : rebase_source : cccbdae40113ae1a1b76d020ddc93e7b393fce61
extra : amend_source : d2664b4ea30342476e67da2a16315be4c1920abf
2014-12-16 11:25:15 -05:00
Kartikaya Gupta 47e697b384 Bug 1083818 - Bypass the 10ms delay if the element being activated won't visually change. r=botond 2014-12-15 13:59:02 -05:00
Fabrice Desré 13d9f723e5 Bug 1107259 - Remove the sync IPC getDPI() and getDefaultScale() during app startup. r=thinker 2014-12-12 09:50:46 -08:00
Josh Aas f9e3926e19 Bug 1092630: Get rid of native widgets for OS X NPAPI plugins, make things work much better under e10s. Patch by Josh Aas, Markus Stange, Steven Michaud, David Parks. r=smichaud/jst/josh (more reviews pending) 2014-12-11 08:44:07 -06:00
Ehsan Akhgari 550e972d13 Bug 1109694 - Fix more bad implicit constructors in DOM; r=baku 2014-12-10 17:49:09 -05:00
Nathan Froyd eb4768e58c Bug 1095543 - remove unnecessary nsInterfaceHashtable.h includes; r=ehsan 2014-11-07 08:52:43 -05:00
Neil Deakin b0a6a33837 Bug 1060529, send the enabled state of child process commands to the parent on update, without the test, r=smaug,ehsan 2014-12-09 10:48:27 -05:00
David Anderson a986c06526 Add support for mouse wheel transactions. (bug 1013432 part 6, r=kats)
--HG--
extra : rebase_source : 7230d0bac38e3faf3c7da2ecaf406b2e02f51146
2014-12-09 02:40:26 -08:00
David Anderson 636a716c5b Rename ContentReceivedTouch to ContentReceivedInputBlock. (bug 1013432 part 3, r=kats)
--HG--
extra : rebase_source : ee0d05d4774fac9fb34297953e90e61f1d979d5d
2014-12-09 02:35:12 -08:00
Wes Kocher 280a38ff20 Backed out 2 changesets (bug 1060529) for introducing a new intermittent bc1 orange
Backed out changeset 5ddd9eb25925 (bug 1060529)
Backed out changeset d4f962fb38be (bug 1060529)
2014-12-08 16:40:55 -08:00
Neil Deakin 2e2109d0f9 Bug 1060529, send the enabled state of child process commands to the parent on update, now with improved test, r=smaug,ehsan 2014-12-08 08:12:22 -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
Neil Deakin 4d77f120ba Bug 1072342, propagate the window activation state down to child process windows, r=smaug,mstange 2014-11-27 08:28:26 -05:00
Ryan VanderMeulen fb8d05cd59 Backed out changesets 9beb53e53951, 4420bb4e5e7c, de1da65301a8, and cd9c2aaf1343 (bug 970307) for causing frequent B2G debug mochitest-11 crashes. 2014-11-24 17:18:27 -05:00
Carsten "Tomcat" Book 2492fdb8a7 Merge mozilla-central to b2g-inbound 2014-11-24 14:18:59 +01:00
Patrick Wang (Chih-Kai Wang) d70095812d Bug 970307: Part 3: Reinitialize modules after fork. r=fabrice 2014-11-24 15:22:31 +08:00
Kartikaya Gupta d9024289c3 Bug 918288 - Follow-up to fix non-unified build bustage. r=me 2014-11-21 22:10:18 -05:00
Kartikaya Gupta 3c73404215 Bug 918288 - Add logging for some of the SetTargetAPZ codepaths. r=botond 2014-11-21 21:36:26 -05:00
Kartikaya Gupta 0611166ee2 Bug 918288 - Ensure we set a displayport on elements that we get touch-start events for. r=botond 2014-11-21 21:36:25 -05:00
Kartikaya Gupta 911702f6c3 Bug 918288 - Add code to TabChild to dispatch the SetTargetAPZC notification. r=roc,botond 2014-11-21 21:36:25 -05:00
Ben Turner a81bd3bc10 Bug 1037625 - Allow child processes to respond to 'inner-window-destroyed' notifications without possibly killing the process. r-khuey. 2014-07-11 11:15:10 -07:00
Sotaro Ikeda 148067068a Bug 1085655 - Improve TabChild::InitRenderingState() r=bent 2014-11-16 10:23:22 -08:00
Kershaw Chang b581824528 Bug 1020186 - Patch 2: Make POfflineCacheUpdate be managed by PContent - v4. r=honzab 2014-11-13 01:31:00 +01:00
Botond Ballo 1c1e4448a5 Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats 2014-11-10 14:35:11 -05:00
Botond Ballo 751e400ea4 Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats 2014-10-20 17:12:35 -04:00
Carsten "Tomcat" Book c247fdb775 Backed out changeset 71fe4233208a (bug 1076163) 2014-11-13 11:47:35 +01:00
Carsten "Tomcat" Book 4b4108a4a9 Backed out changeset a96930f1e26b (bug 1055741) 2014-11-13 11:47:31 +01:00
Botond Ballo d766d4ca14 Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
--HG--
extra : rebase_source : af7323668fb54079e121755660da2121bec3d76b
2014-11-10 14:35:11 -05:00
Botond Ballo 98ceb86b05 Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats 2014-10-20 17:12:35 -04:00
Jim Mathies abf9ba034f Bug 669200 - On the child side implement a suitable nsIWidget wrapper for PPluginWidget based on PuppetWidget. r=billm 2014-11-12 14:59:20 -06:00
Jim Mathies e1dc6bf7b9 Bug 669200 - Implement base PPluginWidget classes for managing plugin windows via content. r=billm 2014-11-12 14:59:19 -06:00
Fabrice Desre c87cbd2e59 Bug 1090501 - pre-emptively open the camera hardware for certified apps with 'camera' permission, r=fabrice 2014-10-31 13:54:02 -04:00
Gina Yeh a9a5a8c2c1 Bug 989198, Patch 3: Dispatch BeforeAfterKeyboardEvent on b2g, r=smaug 2014-11-03 15:05:38 +08:00
Kershaw Chang 4009e7ff79 Bug 1020172 - Patch 2: Manage TabParent in chrome process - v14. r=khuey 2014-10-29 19:11:00 +01:00
Kartikaya Gupta 6df2e473ee Bug 1090220 - Initialize some variables with sane values in case they don't get populated later. r=sewardj 2014-10-28 08:06:00 -04:00
Wes Kocher f24485360f Backed out 4 changesets (bug 1020172) for causing bug 1089542 a=backout
Backed out changeset 176ca4363517 (bug 1020172)
Backed out changeset 90714be8e689 (bug 1020172)
Backed out changeset 9d8c09e711f5 (bug 1020172)
Backed out changeset f895938013ff (bug 1020172)
2014-10-27 16:56:45 -07:00
Kartikaya Gupta fe23988edf Bug 1083395 - Replace the touch block balance with an input block identifier. r=botond 2014-10-24 13:29:30 -04:00
Kershaw Chang b57883c25f Bug 1020172 - Part 2: Manage TabParent in chrome process. r=khuey 2014-10-24 02:29:00 -04:00
Boris Zbarsky 5b759b528b Bug 1019191 part 15. Remove now-dead DOMCI_DATA bits. r=peterv 2014-10-22 11:40:49 -04:00
Ryan VanderMeulen f00e2738a4 Backed out 6 changesets (bug 989198, bug 1082963) for causing bug 1083231.
Backed out changeset a7c972407578 (bug 1082963)
Backed out changeset 94d1b30bde00 (bug 989198)
Backed out changeset 01e064ceb505 (bug 989198)
Backed out changeset f5a538109e36 (bug 989198)
Backed out changeset 3ff227d79d74 (bug 989198)
Backed out changeset 186743fc6f6d (bug 989198)

CLOSED TREE
2014-10-16 12:57:18 -04:00
Kartikaya Gupta 72ea4fdacd Bug 1013612 - Remove APZ-internal headers from being exported to non-layers code. r=botond 2014-10-16 09:23:52 -04:00
Olli Pettay 2ea1508c12 Bug 1082835 - TabChildGlobal does not use DOM bindings, and should be marked so, r=peterv
--HG--
extra : rebase_source : a707811d8b84c47b557e7e7778ce8b6f503b6e36
2014-10-15 12:43:25 +03:00
Gina Yeh bd5a3188f8 Bug 989198, Patch 3: Dispatch BeforeAfterKeyboardEvent on b2g, r=smaug
---
 b2g/app/b2g.js                   |    3 +
 content/base/src/nsGkAtomList.h  |    4 +
 dom/events/EventNameList.h       |   16 +++
 dom/events/EventStateManager.cpp |    6 +
 dom/ipc/PBrowser.ipdl            |    2 +
 dom/ipc/TabChild.cpp             |    6 +-
 dom/ipc/TabParent.cpp            |   24 ++++
 dom/ipc/TabParent.h              |    1 +
 layout/base/nsIPresShell.h       |   12 +-
 layout/base/nsPresShell.cpp      |  250 ++++++++++++++++++++++++++++++++++++++
 layout/base/nsPresShell.h        |   26 ++++
 modules/libpref/init/all.js      |    3 +
 12 files changed, 350 insertions(+), 3 deletions(-)
2014-10-14 15:09:24 +08:00
Carsten "Tomcat" Book e2792df2a3 Backed out changeset b4dd10a940db (bug 1061969) for e10s bc1 test failures 2014-10-13 15:27:52 +02:00
Vivien Nicolas b2619dff8c Bug 1061969 - Ensure the memory is not flushed when the priority is updated. r=gsvelto 2014-10-13 12:37:32 +02:00
Bill McCloskey 2ab547d3ab Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan) 2014-10-07 21:32:45 -07:00
Carsten "Tomcat" Book 4985d0ee76 Backed out changeset e56bf4ea89fb (bug 1049879) for bustage in emulator debug builds on a CLOSED TREE 2014-10-08 08:03:57 +02:00
Bill McCloskey 281cb8db91 Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan) 2014-10-07 21:32:45 -07:00
Valentin Gosu d7c5acf89c Bug 786419 - Part 6 - Disable HTMLDNSPrefetches for offline apps r=jduell 2014-08-23 02:17:18 +03:00
Masayuki Nakano 9763dfc421 Bug 960871 part.12 Get rid of TextEvent() of PBrowser r=smaug 2014-10-07 19:01:50 +09:00
Masayuki Nakano 9011740f12 Bug 960871 part.6 Use WidgetCompositionEvent for NS_COMPOSITION_CHANGE instead of WidgetTextEvent r=smaug 2014-10-07 19:01:48 +09:00
Andrew McCreight 9d6136ff7b Bug 1073597, part 3 - Lazify creation of the CPOW manager in CpowIdHolder. r=billm 2014-10-06 15:45:42 -07:00
Andrew McCreight 2c600e06ee Bug 1073597, part 1 - Don't get a CPOW manager to wrap unless there are CPOWs. r=smaug 2014-10-06 15:45:42 -07:00
Jim Mathies af9be8e2a8 Bug 1072417 - Remove the browser.tabs.remote pref and turn everything it controls on by default. r=felipe 2014-09-29 16:11:08 -05:00
Daniel Holbert ec62208fdf Bug 1073716: Use C++ std::abs() instead of C abs(), for non-'int'-typed values, to address clang warning. r=ehsan 2014-09-28 09:59:46 -07:00
Ben Turner d081140cb0 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
Ryan VanderMeulen f10a30c315 Merge m-c to inbound. a=merge 2014-09-25 16:53:41 -04:00
Dave Townsend 8b46b5daab Bug 999239: Copy session history when recreating browser element for the remote -> non-remote transition. r=bz, r=felipe, sr=gavin 2014-09-25 11:35:45 -07:00
peter chang ae05a3086a Bug 1020801 - Notify the ScrollViewChange DOM event when APZ starts/stops to change the transform. r=ehsan 2014-09-23 06:37:00 -04:00
Kartikaya Gupta 1c553d5b56 Bug 1068802 - Some small logging tweaks. r=botond 2014-09-19 09:33:54 -04:00
Andrew McCreight 7652007195 Bug 1060526 - Call DestroyWindow() in TabChild::ActorDestroy(). r=smaug 2014-09-25 13:01:33 -07:00
Ben Turner 46d101f40c Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE. 2014-09-17 19:36:01 -04:00
Ben Turner 1a91d40956 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00
Kartikaya Gupta 8830d20d83 Bug 1066185 - Add some more logging in TabChild.cpp. r=smaug 2014-09-11 17:25:27 -04:00
Carsten "Tomcat" Book 81ce456a3a merge mozilla-inbound to mozilla-central a=merge 2014-09-09 15:56:53 +02:00
Kan-Ru Chen (陳侃如) 1a2247029b Bug 1040561 - Part 5. Initialize mManager in TabChild::Create. r=khuey 2014-09-09 16:57:54 +08:00
"Kan-Ru Chen (陳侃如)" f49652d629 Bug 997101 - Remove the SetCSSViewport call in TabChild::Observe that needlessly sets a default value that results in a lot of expensive reflow. r=kats 2014-09-06 18:02:07 +01:00
Chris Peterson d126c3c24f Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Bill McCloskey 2809db39b7 Bug 1060620 - RequestNotifyAfterRemotePaint can send messages to a dead actor on linux. r=smaug 2014-09-04 07:20:45 -05:00
Dave Townsend 0c740b5b4b Bug 961867: Pass app tab status to child processes and allow onBeforeLinkTraversal to work there. r=smaug, r=felipe 2014-09-02 17:43:08 -04:00
Ehsan Akhgari 0653303071 Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : 01709017e97fdc96d1d53eb881efc1792118edc4
2014-09-01 20:49:25 -04:00
Phil Ringnalda 117bb1a341 Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
CLOSED TREE

Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari 6c932dea6c Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:00:53 -04:00
Kyle Huey 4757f3397e Bug 1054929: Don't hand out stale fds from the TabChild cache. r=bent 2014-08-27 12:15:30 -07:00
Wes Kocher d10230338d Backed out changeset 1ed271ffb59c (bug 786419) bug causing bug 786419 a=backout 2014-08-26 16:34:46 -07:00
Patrick Wang(Chih-Kai Wang) bd9a493c80 Bug 1047303: use nsITimer to dispatch click and contextmenu event. r=bent 2014-08-24 15:16:32 +08:00
Emma Benoit 64a26a7b66 bug 1030741 - Make FrameMetrics::mIsRoot private and add getter/setter methods to manipulate it. r=kats 2014-08-23 19:09:10 -04:00
Valentin Gosu 077e9036e0 Bug 786419 - Provide way to "set network offline" per app r=jduell 2014-08-23 06:05:56 +03:00
Kartikaya Gupta 0bcb34fd1e Bug 912700 - Audit all uses of FrameMetrics::mViewport and wrap it in getter/setters. r=botond 2014-08-22 23:18:56 -04:00
Wes Kocher a8d80abaf6 Merge m-c to inbound a=merge 2014-08-22 17:05:17 -07:00
Wes Kocher c725a726be Merge inbound to m-c a=merge 2014-08-22 16:47:32 -07:00
C.J. Ku ad92a99a8a Bug 974242 - Registry and handle FullZoomChange chrome event in TabChild. r=tn, r=kats
--HG--
extra : rebase_source : 05a700f9071d30b87916ffa949acfed776f21f0c
2014-08-21 19:37:00 -04:00
peter chang 341859dcfa Bug 1054901 - Add AsyncPanZoomStarted/Stopped notifications to scroll observers. r=roc 2014-08-22 04:32:00 -04:00
Matt Woodrow c2d79a26ff Bug 1056427 - Stop PRenderFrame from managing PLayerTransaction since it hasn't worked since the layers refactoring. r=roc
--HG--
extra : rebase_source : 38c86648bb8e59a6b992bd377acb9aacb418c98b
2014-08-22 12:16:44 +12:00
Miranda Emery 29c0f10b91 Bug 957445: Part 3 - combines nsIScrollbarOwner with nsIScrollbarMediator, r=mats 2014-02-14 19:40:53 +13:00
Bobby Holley e70ddb7476 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Ryan VanderMeulen 30ae466592 Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00
Bobby Holley 3e4d70a655 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 12:54:34 -07:00
Evelyn Hung eb53373ae5 Bug 1044960 - Remove unnecessary lines from TabChild.cpp. r=kats 2014-08-07 22:10:00 -04:00
Wes Kocher 98f9eac6dd Merge m-c to inbound on a CLOSED TREE 2014-08-08 14:15:34 -07:00
Kartikaya Gupta 11a5b6139c Bug 1045824 - Use nsIntRect for passing around a value that is not in app units. r=smaug 2014-08-08 13:23:50 -04:00
Kershaw Chang c9371d085d Bug 1041425 - Enable fast-path dispatch when sending touch event to nested oop iframe. r=smaug 2014-08-08 00:34:00 -04:00
Shih-Chiang Chien b48b057bb2 Bug 1045975 - Use nsIDOMWindowUtils.askPermission in all types of permission request. r=smaug
--HG--
extra : rebase_source : 4a6a3c484373759b6d553e4821f3c43af41d0239
2014-08-01 15:22:20 +08:00
Kartikaya Gupta ff97ac7749 Bug 1042959 - Ensure that we always use the actual old screen size in HandlePossibleViewportChange. r=botond 2014-08-06 12:41:05 -04:00
Wes Kocher 659f33fb19 Merge m-c to fx-team on a CLOSED TREE 2014-08-05 17:38:06 -07:00
Ehsan Akhgari beaa1d2306 Bug 1048247 - Fix more bad implicit constructors in DOM; r=smaug 2014-08-05 09:19:51 -04:00
Kartikaya Gupta 0c230c8328 Bug 1046292 - Add a max-wait timeout to TaskThrottler to robustify against it getting stuck. r=botond 2014-07-31 09:04:34 -04:00
David Parks 9cf45846f3 Bug 1009628 - Part 1: Need mozAfterRemotePaint event for remote iframes. r=smaug. 2014-05-23 11:19:00 -07:00
Mike Conley 134e23c76c Backed out changeset 249413f56629 (bug 1009628) for causing permanent orange. 2014-08-05 14:53:58 -04:00
David Parks 9afc47d4ed Bug 1009628 - Part 1: Need mozAfterRemotePaint event for remote iframes. r=smaug. 2014-05-23 11:19:00 -07:00
Kartikaya Gupta 4e71db1224 Bug 1016481 - Defer calling ActiveElementManager::HandleTouchEnd until after we know whether the touch-end was cancelled. r=botond 2014-07-29 11:59:19 -04:00
Kartikaya Gupta b69c2652f8 Bug 1016481 - Allow touch-end events to be cancelled and have them prevent dispatching click events. r=smaug 2014-07-29 11:59:19 -04:00
Kan-Ru Chen (陳侃如) ae54007936 Bug 1036264 - Always pass true for ignoreRootScrollFrame. r=kats 2014-07-28 01:25:00 +02:00
Kartikaya Gupta 381ac68bc6 Bug 1043022 - Back out bug 1016481 for making it hard to click things in the browser. r=me 2014-07-24 07:57:53 -04:00
Morris Tseng 7ccb47f35d Bug 1041451 - If we have pending response in RecvHandleLongTap, submit this response first. r=kats 2014-07-21 20:48:00 +02:00
Kartikaya Gupta 411e593d6d Bug 1016481 - Prevent dispatching a click when the touch-end event is cancelled. r=smaug r=botond 2014-07-17 22:24:23 -04:00
Tom Schuster 76cf0a1088 Bug 673569 - Let each frame script have its own scope (r=smaug) 2014-06-13 19:56:38 +02:00
Kartikaya Gupta e7190ff526 Bug 1009733 - Rewrite much of the APZC input block handling code. r=botond 2014-07-16 08:33:50 -04:00
Ryan VanderMeulen e222b3f9c5 Backed out changeset eba5d7aa80b0 (bug 997101) for causing frequent B2G layout/reftests/svg/sizing reftest failures. 2014-07-09 14:24:37 -04:00
Benoit Jacob 18c3e0073a Bug 1035394 - Fix dangerous public destructors in dom - r=ehsan 2014-07-08 17:23:17 -04:00
Carsten "Tomcat" Book 14b7e0163c merge b2g-inbound to mozilla-central a=merge 2014-07-07 15:05:36 +02:00
"Kan-Ru Chen (陳侃如)" 4e9a9002d1 Bug 997101 - Remove the extra SetCSSViewport call. r=kats 2014-07-04 16:09:07 +08:00
Kartikaya Gupta ccf8c8beb4 Bug 1034258 - Change mCompositionBounds to be a ParentLayerRect instead of a ParentLayerIntRect. r=Cwiiis 2014-07-04 08:12:41 -04:00
Mike Conley dc8c5b623b Bug 989501 - Part 2: When content in an e10s tab requests a new window be opened, forward that call to the TabParent, and have the TabParent pass itself in when creating the new window. r=smaug. 2014-06-20 14:07:47 -04:00
"Kan-Ru Chen (陳侃如)" 8f452f1067 Bug 879475 - Part 006. Fix http auth prompts for nested content processes r=honzab
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:36 +08:00
"Kan-Ru Chen (陳侃如)" 89a2857a90 Bug 879475 - Part 002. Add an nsIContentChild api r=jlebar
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:06 +08:00
Morris Tseng e9e7059104 Bug 987718 - Part 4: Send MOZ_LONGTAP event when long tap fired; r=bugs 2014-06-04 22:56:00 +02:00
Olli Pettay 8413246b5f Bug 1003046 - ContentChild::RecvPBrowserConstructor should not call SendGetProcessAttributes(), r=fabrice,khuey 2014-06-04 00:15:27 +03:00
Kartikaya Gupta acbbdb2a86 Bug 1004266 - Guard against a possible null outerWindow. rs=smaug 2014-06-03 11:59:53 -04:00
Phoebe Chang 4286f5c0d3 Bug 924692 - Part 4: Hooks up event handling to TouchCaret; r=roc, bugs 2014-06-03 15:08:54 +08:00
Matt Woodrow b61c593824 Bug 854421 - Part 1: Add a transaction id number to DidComposite. r=nical 2014-05-29 09:42:14 +12:00
Botond Ballo d23577cc52 Bug 1016682 - Make TabChild's initial zoom calculation consistent with APZ. r=kats 2014-05-29 13:20:02 -04:00
Mike Conley 5dc45fb402 Bug 978913 - Dragging e10s window between HiDPI and non-HiDPI displays causes text to be scaled incorrectly. r=smaug. 2014-05-23 10:36:50 -04:00
Ryan VanderMeulen f8299a3c22 Backed out changeset f1068bf18e64 (bug 978913) for bustage on most platforms.
CLOSED TREE
2014-05-22 16:39:46 -04:00
Mike Conley c0e682d27d Bug 978913 - Dragging e10s window between HiDPI and non-HiDPI displays causes text to be scaled incorrectly. r=smaug. 2014-05-22 12:07:27 -04:00
Olli Pettay cbcf60df5e Bug 1003041 - Merge PRenderFrame() and InitRenderFrame() to avoid extra sync child->parent messaging. r=billm 2014-05-08 16:04:00 +02:00
Benoit Jacob 60d536773a Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg 2014-05-08 21:03:35 -04:00
Ben Turner 1212ca52ea Bug 1007320 - Release canceled fd callbacks earlier, r=jduell. 2014-05-07 16:09:37 -07:00
Ben Turner 1a25c8123a Bug 918595 - Close all cached file descriptors on TabChild shutdown, r=jduell. 2014-05-07 12:03:48 -07:00
Ben Kelly ab3d274c1e Bug 1004630: Make TabChild inherit mRefCnt from TabChildBase to fix CC leak. r=smaug 2014-05-06 20:11:20 -04:00
Botond Ballo a623403144 Bug 1005378 - Have TabChild create a view ID for the document element if one doesn't already exist. r=kats 2014-05-05 15:06:28 -04:00
Olli Pettay 6ab5466290 Bug 1005089, let touch.target be null, r=bz 2014-05-05 13:48:50 +03:00
Botond Ballo fe94a83a74 Bug 993930 - Do not assume TabChild::mInnerSize being (0, 0) means it's never been initialized. r=kats 2014-04-25 11:40:23 -04:00
Birunthan Mohanathas 5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Birunthan Mohanathas 7ac92ae5ea Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Kartikaya Gupta 715b91be72 Bug 999162 - Don't set the first-paint flag on a location change on the same document. r=drs 2014-04-24 11:40:00 +02:00
Bobby Holley 3ef3111967 Bug 999213 - Remove now-unnecessary cleanup logic in ~TabChild. r=smaug 2014-04-22 14:26:45 -07:00
Bobby Holley d9d1ffd373 Bug 999213 - Make TabChildGlobal::mTabChild a strong reference and cycle-collect it. r=smaug 2014-04-22 14:26:45 -07:00
Bobby Holley ef61921fa4 Bug 999213 - Make TabChildBase implement nsISupports and cycle-collect it. r=smaug 2014-04-22 14:26:45 -07:00
Bill McCloskey 204c0f3633 Bug 993714 - [e10s] Cache native key bindings in tests (r=masayuki,sr=roc) 2014-04-21 13:40:09 -07:00
Kartikaya Gupta c1a7eb8c17 Bug 995411 - Move various pieces of APZ code into gfx/layers/apz. r=jrmuizel,botond
--HG--
rename : gfx/layers/ipc/GeckoContentController.h => gfx/layers/apz/public/GeckoContentController.h
rename : gfx/layers/composite/APZCTreeManager.cpp => gfx/layers/apz/src/APZCTreeManager.cpp
rename : gfx/layers/composite/APZCTreeManager.h => gfx/layers/apz/src/APZCTreeManager.h
rename : gfx/layers/ipc/AsyncPanZoomController.cpp => gfx/layers/apz/src/AsyncPanZoomController.cpp
rename : gfx/layers/ipc/AsyncPanZoomController.h => gfx/layers/apz/src/AsyncPanZoomController.h
rename : gfx/layers/ipc/Axis.cpp => gfx/layers/apz/src/Axis.cpp
rename : gfx/layers/ipc/Axis.h => gfx/layers/apz/src/Axis.h
rename : gfx/layers/ipc/GestureEventListener.cpp => gfx/layers/apz/src/GestureEventListener.cpp
rename : gfx/layers/ipc/GestureEventListener.h => gfx/layers/apz/src/GestureEventListener.h
rename : gfx/layers/ipc/TaskThrottler.cpp => gfx/layers/apz/src/TaskThrottler.cpp
rename : gfx/layers/ipc/TaskThrottler.h => gfx/layers/apz/src/TaskThrottler.h
rename : widget/xpwidgets/APZCCallbackHelper.cpp => gfx/layers/apz/util/APZCCallbackHelper.cpp
rename : widget/xpwidgets/APZCCallbackHelper.h => gfx/layers/apz/util/APZCCallbackHelper.h
rename : widget/xpwidgets/ActiveElementManager.cpp => gfx/layers/apz/util/ActiveElementManager.cpp
rename : widget/xpwidgets/ActiveElementManager.h => gfx/layers/apz/util/ActiveElementManager.h
2014-04-17 07:54:25 -04:00
Botond Ballo b2abe2af76 Bug 976605 - Hook up TabChild to the ActiveElementManager. r=kats
--HG--
extra : source : 857c93cae53b3900015a402a1f246dd1355b8cee
2014-04-09 15:16:16 -04:00
Botond Ballo 3391efa3ea Bug 976605 - Turn GeckoCC::NotifyTransform[Begin|End] into an extensible APZ state change notification mechanism. r=kats
--HG--
extra : source : 5353e86dcfe8b2ff6f02e577a4c69a1de6808d9b
2014-04-15 13:39:20 -04:00
Ed Morley c46be2513f Backed out changeset d5c38470ac06 (bug 976605) 2014-04-15 17:45:48 +01:00
Ed Morley 3d8bb54f6d Backed out changeset 5fb0bcdb92d5 (bug 976605) 2014-04-15 17:45:17 +01:00
Botond Ballo a4fbe2f20e Bug 976605 - Hook up TabChild to the ActiveElementManager. r=kats
--HG--
extra : source : 3589bda462816f0d40a7e77bc9060a9d3124d3bb
2014-04-09 15:16:16 -04:00
Botond Ballo e3a2f642c6 Bug 976605 - Turn GeckoCC::NotifyTransform[Begin|End] into an extensible APZ state change notification mechanism. r=kats
--HG--
extra : source : bfb4af538271dc2e3148caa461f594715529021a
2014-04-11 20:27:57 -04:00
Alexandre Poirot 1ca515a794 Bug 992778 - Set docshell.chromeEventHandler in child processes. r=bz 2014-04-09 07:15:00 +02:00
Matt Woodrow b4d6205572 Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Ryan VanderMeulen c59c631795 Backed out changeset c81707878977 (bug 974197) for Gaia integration test failures on a CLOSED TREE. 2014-04-09 22:14:13 -04:00
Matt Woodrow 8e7006914b Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Masayuki Nakano 930436ef24 Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Kartikaya Gupta 98665d1e19 Bug 948377 - Remove unwanted rounding in CalculateCompositedRectInCssPixels; add a CalculateCompositedSizeInCssPixels also. r=botond 2014-03-28 10:36:47 -04:00
Neil Rashbrook 757dacf9be Bug 514280 Remove concrete classes from interface maps r=bsmedberg 2014-03-28 08:40:13 +00:00
Ryan VanderMeulen c5fd173c74 Merge m-c to inbound. 2014-03-26 23:09:54 -04:00
Fabrice Desré 874f87e5ff Bug 982491 - Group apps in activities chains in the same process r=cervantes,gene 2014-03-25 21:56:35 -07:00
Birunthan Mohanathas bc35004647 Bug 987320 - Remove unnecessary null checks for do_QueryFrame arguments. r=bz 2014-03-25 11:36:49 -04:00
Tatiana Meshkova b05be4f889 Bug 985817 - Move some TabChild functionality into base class to be reusable in Embedlite implementation. r=kats 2014-03-24 19:28:46 -07:00
Chadd Williams 29c628c5eb Bug 980493 - Transition FrameMetrics::mScrollId to use a getter/setter. r=botond
--HG--
extra : histedit_source : 1c84496d4b61f019e6e6cc24591ee3a10434e4cc
2014-03-21 17:48:08 -04:00
Timothy Nikkel 1e93340ce7 Bug 957668. Calculate and set display ports as margins in layer pixels. r=kats 2014-03-26 21:46:24 -04:00
Timothy Nikkel c8ea0bb2cd Bug 986413. Limit composition bounds used for display port calculation to root composition bounds. r=kats 2014-03-26 19:24:25 -04:00
Tom Schuster 4731546af6 Bug 977904 - [e10s] Get native key bindings working. r=masayuki 2014-03-20 16:46:29 +01:00
Bill McCloskey c9167b34e7 Bug 862519 - [e10s] Better handling of key commands also handled by content (r=smaug) 2014-03-18 08:16:47 -07:00
Masayuki Nakano fbf7cdeb19 Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
Kyle Huey fe6c4e28d6 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Botond Ballo 6ddcfa998d Bug 980493 - Transition FrameMetrics::mZoom to use a getter/setter. r=kats 2014-03-12 12:46:57 -04:00
Botond Ballo fb8f0cf40a Bug 980493 - Transition FrameMetrics::mScrollOffset to use a getter/setter. r=kats 2014-03-13 02:34:34 -04:00
Kartikaya Gupta 970dd88d16 Bug 981029 - Save and apply an input transform to input events from the APZ. r=botond
This accounts for the fact that in some cases we may not apply all of the
requested paint metrics from the APZ, leaving the two sides of the
GeckoContentController interface out of sync (on purpose).
2014-03-12 15:27:45 -04:00
Kartikaya Gupta f53f829010 Bug 981029 - Change the GeckoContentController interface to take CSSPoint instead of CSSIntPoint. r=botond 2014-03-12 15:27:45 -04:00
Kartikaya Gupta eefe857895 Bug 981029 - Make ProcessUpdateFrame behave in less magical ways. r=botond
Replace the always-true return value, with a FrameMetrics object that
reflects the final metrics put in place. Also remove the side-effect of
assigning mLastRootMetrics and put that in the call sites instead.
2014-03-12 15:27:44 -04:00
Bob Owen 4d2566c440 Bug 982555 - Correct message in TabChild::DestroyBrowserWindow. r=smaug 2014-03-12 08:36:04 +00:00
Bill McCloskey 28f31675e3 Bug 972420 - [e10s] Don't send keypress if keydown was prevented (r=smaug) 2014-03-11 20:13:38 -07:00
Botond Ballo ecc98dfd21 Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn
--HG--
extra : amend_source : 06c6bb658dfead6907250831bbe73fae6c20b45c
2014-03-10 17:56:59 -04:00
Blake Kaplan 849fa92484 Bug 980586 - Remove old e10s prompt code. r=smaug 2014-03-10 08:57:07 -04:00
Ed Morley f60c92c019 Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures 2014-03-07 15:45:59 +00:00
Matt Woodrow abce112be1 Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Botond Ballo f3ffb400d5 Bug 978840 - Calculate displayport based on up-to-date scrollable rect on first paint. r=tn
--HG--
extra : rebase_source : b370dd7d139f41d6da41c464fa700c9ecfd212c4
2014-03-04 19:02:37 -05:00
Masayuki Nakano 576bee785c Bug 974318 part.10 Remove WidgetTextEvent::rangeCount and WidgetTextEvent::rangeArray r=smaug 2014-03-04 22:48:28 +09:00
Tim Taubert 1c7f552f2e Bug 978540 - [e10s] Correctly maintain active state for remote docShells r=smaug 2014-02-20 12:26:13 +01:00
Matt Woodrow 8e879058a1 Bug 975592 - Make sure we find the correct composition manager when updating child process layer trees. r=nical
--HG--
extra : rebase_source : 5e1457117293c74a362a0570aca2673c90038334
2014-02-25 11:45:40 +13:00
Phil Ringnalda 478c62f613 Back out b157f5d0c235 (bug 974197) for b2g reftest-4 and reftest-6 failures
CLOSED TREE
2014-02-24 21:06:18 -08:00
Olli Pettay 51e4523cfd Bug 927078 - Don't copy string data when sending messages using message manager, r=bsmedberg 2014-02-25 04:14:22 +02:00
Kartikaya Gupta a6da33b738 Bug 941995 - Disable double-tapping and click delay on pages that are device-width or narrower (B2G). r=mbrubeck,botond 2014-02-24 19:22:45 -05:00
Matt Woodrow 31f16514d3 Bug 974197 - Fire MozAfterPaint after the compositor runs. r=roc 2014-02-25 12:55:39 +13:00
Tom Schuster 807457ab88 Bug 963294 - [e10s] Implement a proxy for the color picker. r=jdm 2014-02-23 21:19:43 +01:00
Phil Ringnalda 39a0501f12 Back out 5e4cee2fcbc6 (bug 963294) for build bustage
CLOSED TREE
2014-02-23 12:59:52 -08:00
Tom Schuster 1a72f691ab Bug 963294 - [e10s] Implement a proxy for the color picker. r=jdm 2014-02-23 21:19:43 +01:00
Kartikaya Gupta 1ac3aca311 Bug 968991 - Only initialize the root metrics after getting both before-first-paint and the mInnerSize dimensions. r=botond 2014-02-21 18:12:43 -05:00
Tom Schuster fcfec864b1 Bug 910384 - Change nsFilePickerProxy to be asynchronous and add a proper IPDL protocol for it. r=jdm 2014-02-18 01:30:06 +01:00
Vivien Nicolas 4c5a2939f1 Bug 972081 - Highlighting seems broken with APZC enabled. r=kats,fabrice 2014-02-15 01:45:45 +01:00
Bill McCloskey 84c750bcb9 Bug 960783 - Add nsILoadContext flags for remote (out-of-process) windows (r=ehsan) 2014-02-11 09:00:54 -08:00
Alfredo Yang 3853c6783a Bug 853356 - gUM video permisson prompt. r=fabrice, felipc, wjohnston, mrbkap, jimm, jesup, khuey, jsmith 2014-02-09 15:34:40 -05:00
Doug Sherk c2424a51a2 Bug 964421 - Add a mechanism to HandleLongTap(Up) to allow content to preventDefault touches and stop panning while long tapping. r=kats 2014-02-07 18:13:50 +01:00
Olli Pettay 71078c57ef Bug 964462, simplify ipc offline resource refcounting, r=mayhemer
--HG--
extra : rebase_source : 362ce98a10c25f7e3263f23736a18d2bcfb16e75
2014-02-06 16:16:41 +02:00
Kartikaya Gupta 3195471b3f Bug 963278 - Better fix to deal with concurrent scroll updates from APZ and other places. r=tn,botond,jimm 2014-02-05 17:43:20 -05:00
Doug Sherk 868061f116 Bug 968112: Remove acceleration code from APZC r=kats 2014-02-05 15:15:05 +01:00
Benoit Jacob 61df69f208 Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Bill McCloskey 5b9e37d8cf Bug 938904 - [e10s] Make tooltips work (r=smaug,enn) 2014-01-22 12:27:23 -08:00
Bill McCloskey b6859762c2 Bug 919878 - Fix abort in graphics code if content process shuts down quickly (r=mattwoodrow) 2014-01-15 13:10:39 -08:00
Alexandre Poirot e1bfc229ce Bug 891882 - DOMWindowUtils.sendMouseEvent dispatch events with isSynthesized chrome attribute set to true. r=smaug 2014-01-15 09:28:04 -05:00
Wes Kocher 073cad9d12 Merge b2g-inbound to m-c 2014-01-14 15:44:06 -08:00
Dale Harvey 98a188341f Bug 959199 - Track whether contextmenu was handled. r=kats 2014-01-14 18:03:14 +00:00
Kartikaya Gupta 44b361f178 Bug 952170 - Don't try to get touch points from events which don't have any. r=smaug 2014-01-14 09:29:15 -05:00
Botond Ballo b01b3d73a3 Bug 958254 - Remove an unnecessary (and harmful) assertion. r=ajones 2014-01-09 16:54:34 -05:00
Kartikaya Gupta 918519c377 Bug 907179 - Label the velocity vector as being in screen units. r=botond 2014-01-08 17:53:58 -05:00
Kartikaya Gupta 570d06ad25 Bug 915985 - Refactoring to introduce a ZoomConstraints class. r=botond 2014-01-06 13:26:44 -05:00
Kartikaya Gupta 90f48f82d8 Bug 952170 - Remove unnecessary static_cast. r=smaug 2014-01-06 12:25:56 -05:00
Ehsan Akhgari 1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
David Zbarsky de37e93bb2 Bug 952977: Use gfx::Matrix in ipdl r=nical 2013-12-26 13:06:53 -05:00
Vivien Nicolas 88d9b0d654 Bug 950300 - Cancel APZC panning is the first touchmove is preventDefault'ed. r=kats 2013-12-20 10:11:01 +01:00
Vivien Nicolas 765b279eed Bug 950489 - While changing the range of an input type range the page is moving as well. r=kats 2013-12-19 01:12:47 +01:00
Bill McCloskey bc4112895d Bug 673569 - Let each frame script have its own anonymous scope (r=smaug,Waldo,mrbkap,bsmedberg) 2013-11-23 21:32:45 -08:00
Kartikaya Gupta 0b8bb93d3e Bug 949132 - Use the FrameMetrics flag on the layers update to update APZC scroll offset instead of tracking it in widget code. r=Cwiiis 2013-12-16 12:04:46 -05:00
Kartikaya Gupta 9c58c3aa92 Bug 950180 - Ensure the innerWidth is correct in resize events fired to content. r=Cwiiis 2013-12-16 10:05:23 -05:00
Bill McCloskey e3463fe50e Bug 948238 - Read browser.tabs.remote once at startup and never again (r=bsmedberg) 2013-12-12 14:13:20 -08:00
Ryan VanderMeulen 8c7c4ef7ab Merge m-c to inbound on a CLOSED TREE. 2013-12-11 22:39:20 -05:00
Dale Harvey 543aa991a9 Bug 942929 - Use longtapup event to handle firing clicks when longtap not handled. r=kats 2013-12-12 00:39:06 +00:00
Bobby Holley 6395b6b2cf Bug 937317 - Make TabChildGlobal implement nsIGlobalObject. r=bz 2013-12-11 17:51:56 -08:00
Ryan VanderMeulen 2b53da578d Merge b2g-inbound to m-c. 2013-12-10 15:38:44 -05:00
Randell Jesup 3a2d8af198 Bug 853356: backout p3 2013-12-10 01:03:21 -05:00
Phil Ringnalda 377213c805 Merge m-c to b-i 2013-12-07 11:21:04 -08:00
Phil Ringnalda cacf62c269 Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test 2013-12-07 11:08:56 -08:00
Wes Kocher 21fb590f55 merge m-c to b2g-inbound 2013-12-06 20:49:02 -06:00
Alfredo Yang 4dbe3a921d Bug 853356 - Part3 Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-12-06 17:38:52 -05:00
Kartikaya Gupta 6a13913a77 Bug 814435 - Prevent scrollbars from fading out while user is scrolling. r=botond 2013-12-09 22:14:55 -05:00
Carsten "Tomcat" Book 5791a07e96 Backed out changeset 2762cab83d31 (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:43:02 +01:00
Bobby Holley 289325dbf8 Bug 937317 - Make TabChildGlobal implement nsIGlobalObject. r=bz 2013-12-05 21:34:16 -08:00
Benoit Girard e437a282e0 Bug 940706 - Fix gesture detection transformation with APZC. r=kats,botond 2013-12-05 18:17:37 -05:00
Chris Lord 4cb7e3c097 Bug 944047 - Store the last FrameMetrics for sub-frames in TabChild. r=botond
As well as the root frame, make sure to store the last received FrameMetrics
for sub-frames in TabChild. This prevents us sending scroll events triggered
by the APZC back to the APZC.
2013-12-05 20:47:21 +00:00
Chris Lord 6d5ec9a183 Bug 944047 - Capture scroll events in TabChild. r=kats
Set useCapture to true in the event listener on scroll events. It appears that
scroll events for sub-frames are often(/always?) swallowed before they reach
this point.
2013-12-05 20:47:20 +00:00
Chris Lord fb4d60d0b5 Bug 945277 - Align sub-frame display ports to tile boundaries. r=botond
Bug 907743 only addressed the root frame, this patch updates APZCCallbackHelper
to make the same alterations on sub-frame metrics.
2013-12-05 13:12:12 +00:00
Vivien Nicolas 7f8f476c76 Bug 943831 - Apps can be size incorrectly, ignoring the viewport rules. r=kats 2013-12-03 16:10:26 +01:00
Ryan VanderMeulen f97d8d195d Backed out changeset 4d07001e9afc (bug 673569) because it depends on bug 682048 which is being backed out. 2013-12-03 22:43:52 -05:00
Bill McCloskey b928be8f52 Bug 673569 - Let each frame script have its own anonymous scope (r=smaug,Waldo,mrbkap,bsmedberg) 2013-11-23 21:32:45 -08:00
Botond Ballo 861b6aad0d Bug 942799 - Respect height=device-height in meta viewport tag on B2G. r=mbrubeck,ehsan 2013-11-26 18:55:27 -05:00
Chris Lord 42aaafa72c Bug 943348 - Make sure displayport is set on before-first-paint in TabChild. r=botond
Make sure to set the scroll ID on the FrameMetrics used to update on the
before-first-paint signal.
2013-11-27 14:28:57 +00:00
Chris Lord 2b33da1618 Bug 907743 - Align display port to tile boundaries when tiles are enabled. r=botond,kats
This aligns display ports to tile boundaries, taking care to compensate for
the difference between the requested scroll position and the actual scroll
position.
2013-09-10 18:21:04 -04:00
Ryan VanderMeulen 90315d8451 Backed out changeset de63b66f3d12 (bug 907743) for Windows bustage.
CLOSED TREE
2013-11-26 14:12:05 -05:00
Chris Lord 28c6b5343c Bug 907743 - Align display port to tile boundaries when tiles are enabled. r=botond,kats
This aligns display ports to tile boundaries, taking care to compensate for
the difference between the requested scroll position and the actual scroll
position.
2013-09-10 18:21:04 -04:00
Trevor Saunders 158a12ab72 bug 939049 - get rid of useless QIs r=smaug 2013-11-15 11:32:12 -05:00
Ed Morley 7de91970da Backed out changeset 998d2d5e743d (bug 919878) on suspicion of causing shutdown hangs on OS X 2013-11-20 12:32:52 +00:00
Ryan VanderMeulen 7c7b6a11fe Merge inbound to m-c. 2013-11-19 20:43:15 -05:00
Bill McCloskey c530571717 Bug 919878 - Improve failure handling for TabChild::InitRenderingState (r=mattwoodrow) 2013-11-19 13:20:28 -08:00
Botond Ballo 774451c530 Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn 2013-11-08 19:07:00 -05:00
Phil Ringnalda bcebbd2882 Back out babac1cc0741:ad287f78608a (bug 939049) for OS X build bustage
CLOSED TREE
2013-11-19 07:35:17 -08:00
Trevor Saunders 41d1ebb524 bug 939049 - get rid of useless QIs r=smaug 2013-11-15 11:32:12 -05:00
Kartikaya Gupta 9e421b8c64 Bug 937688 - Make UpdateZoomConstraints take a full ScrollableLayerGuid. r=botond 2013-11-14 12:35:41 -05:00
Kartikaya Gupta 769fa270c3 Bug 937688 - Get the guid from ReceiveInputEvent and use it in the callback to ContentReceivedTouch. r=botond 2013-11-13 13:20:31 -05:00
Kartikaya Gupta c8cb03f12d Bug 937688 - Pass the presShellId and viewId from TabChild to RenderFrameParent when requesting a zoom. r=botond 2013-11-13 13:20:30 -05:00
Kartikaya Gupta 5231178e52 Bug 937688 - Refactor some code to extract a TabChild::GetDocument method. r=botond 2013-11-13 13:20:30 -05:00
Andrea Marchesini b331fe6f43 Bug 916091 - patch 1 - nsIMessageSender should send the nsIPrincipal with the messages, r=smaug 2013-11-06 17:21:15 +00:00
Reuben Morais 1d3b24a4d5 Backed out 4 changesets (bug 853356) for breaking permission prompts. 2013-11-06 01:32:42 -02:00
Ryan VanderMeulen 6ed6f54a36 No bug - Fix merge bustage. CLOSED TREE 2013-11-05 16:06:31 -05:00
Ryan VanderMeulen 7a2924f392 Merge inbound to m-c. 2013-11-05 15:28:52 -05:00
Kyle Huey 3f7123a621 Bug 933099: Banish <windows.h> from nsGlobalWindow.cpp. r=bz 2013-11-05 22:16:25 +08:00
Alfredo Yang 620bb632ca Bug 853356 - Part3 Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-11-05 16:29:52 +08:00
Kan-Ru Chen (陳侃如) 3a9ca16110 Backout 6d33ac3a2b14 2013-11-05 14:59:22 +08:00
Alfredo Yang 554000b50c Bug 853356 - Part3 Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-11-05 14:08:45 +08:00
Wes Kocher df1cca0f0f Backed out changeset bad6c063b01f (bug 932274) for build bustage 2013-11-04 14:40:50 -08:00
David Zbarsky ec2becadee Bug 932274: Use Moz2D size classes in ipdl r=nical 2013-11-04 16:43:10 -05:00
Nathan Froyd 05e020c835 Bug 918651 - part 7a - fix source files bootlegging things from IPDL headers; rs=ehsan 2013-10-18 16:57:55 -04:00
Doug Turner eb207427ab Backing out 987b3ec24f68 2013-10-31 20:25:46 -07:00
Kartikaya Gupta e08ba777b1 Bug 906877 - Remove code obsoleted by multi-apzc. r=BenWa, vingtetun
Now that we have multi-APZC landed, we don't need BrowserElementPanning
to detect when it's about to scroll a subframe and let APZC know. So
the two messages involved in this can be completely removed.
2013-10-30 17:06:15 -04:00
Birunthan Mohanathas 98f3b9652a Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan 2013-10-28 10:04:12 -04:00
Olli Pettay b8ebe1ac98 Bug 929879, don't use locale specific %f in TabChild, r=romaxa 2013-10-27 23:29:19 +02:00
Alfredo Yang 190d0bf8f8 Bug 853356 - Part 3: Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-10-26 21:20:09 -04:00
Olli Pettay 183647a654 Bug 917026, remove few bogus NS_NOTREACHEDs from TabChild and make window.blur() not throw, r=felipe
--HG--
extra : rebase_source : feee4546e52bf2b92f92c63d31538aadef7ad877
2013-10-24 23:57:19 +03:00
Bobby Holley 04e1469355 Bug 937317 - Make TabChildGlobal implement nsIGlobalObject. r=bz 2013-12-06 12:01:41 -08:00
Kyle Huey 9ab68d6b69 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-23 07:32:04 +08:00
Nathan Froyd 4398253a6f Bug 928916 - use services::GetObserverService more in dom/; r=smaug 2013-10-21 08:58:12 -04:00
Masayuki Nakano 52e19b318b Bug 920377 part.33 Get rid of mozilla::WheelEvent r=roc 2013-10-16 18:37:36 +09:00
Ryan VanderMeulen 9abde8f9b2 Backed out 2 changesets (bug 915757, bug 919885) for frequent Android Armv6 mochitest-8 crashes.
Backed out changeset 04610078280c (bug 915757)
Backed out changeset db9190b3ce60 (bug 919885)
2013-10-14 14:38:54 -04:00
Kyle Huey e2f7b57b3e Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 19:58:25 +08:00
Phil Ringnalda 5c6d197b06 Backed out 2 changesets (bug 915757, bug 919885) for xpcshell bustage
Backed out changeset 5d17d90b838d (bug 915757)
Backed out changeset 91495d3a91c8 (bug 919885)
2013-10-13 21:59:58 -07:00
Kyle Huey ebb9068971 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 11:10:44 +08:00
Ehsan Akhgari f1fbe50293 Bug 924248 - Make nsIDocument.h go on a diet; r=jst
The nsMacShellService code is rewritten to stop using GetLoadContext
which will now only be available in libxul.
2013-10-07 22:21:07 -04:00
Ehsan Akhgari 1c1a9cc4f7 Bug 923151 - Part 1: Don't #include nsIDocument.h in TabChild.h; r=jst
--HG--
extra : rebase_source : 1748c347eeed09a8216580a48dd786f0dbe92588
2013-10-02 16:08:30 -04:00
Masayuki Nakano 9aaf116c1c Bug 920377 part.32 Get rid of nsMouseEvent r=roc 2013-10-02 15:38:27 +09:00
Masayuki Nakano a4221a463f Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
David Anderson 0c515ae00c Add RPC message support to messagemanager (bug 910493 part 2, r=smaug). 2013-10-01 09:15:06 -07:00
Masayuki Nakano 255381c975 Bug 920377 part.24 Get rid of nsSelectionEvent r=roc 2013-10-01 16:23:01 +09:00
Masayuki Nakano b809719e9d Bug 920377 part.22 Get rid of nsCompositionEvent r=roc 2013-10-01 16:23:00 +09:00
Masayuki Nakano 3e4559711b Bug 920377 part.21 Get rid of nsTextEvent r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano 3a0b655e5a Bug 920377 part.17 Get rid of nsKeyEvent r=roc 2013-10-01 16:22:58 +09:00
Masayuki Nakano d3aa0d67cf Bug 920377 part.13 Get rid of nsTouchEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano 015140fe0d Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc 2013-09-25 20:21:19 +09:00
Masayuki Nakano 4983de6d4c Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc 2013-09-25 20:21:18 +09:00
Masayuki Nakano 743fbc6e59 Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc 2013-09-25 20:21:16 +09:00
Ehsan Akhgari 8c43a4f37f Bug 919505 - Minimize the #includes in dom/ipc; r=jst 2013-09-23 17:30:40 -04:00
Kartikaya Gupta 6b5f08c50b Bug 909525 - Prevent the scroll offset being picked up from the wrong element in some cases. r=botond,tn
In some cases pages from the bfcache can get displayed to the screen without going through layout.
In these cases, the element associated with the ROOT_SCROLL_ID may be from a different document,
so it is inadvisable to use that element's scroll position as if it were the current document's
scroll position. Doing so can lead to incorrect behaviour. This patch fixes such a case.
2013-09-19 10:31:28 -04:00
Kartikaya Gupta 64589fab2e Bug 880024 - Extract some useful code for implementing GeckoContentController into a helper class. r=k17e 2013-09-18 09:56:16 -04:00
Mina Almasry 94bdd8d0fe Bug 912166 - Make nsIWidget::GetDefaultScale return a typed scale value. r=roc 2013-09-17 20:45:19 -04:00
Ed Morley 7c9a55aea1 Merge latest green b2g-inbound changeset and mozilla-central 2013-09-13 15:06:40 +01:00
Kartikaya Gupta d8ab174d53 Bug 909887 - Initialize mLastMetrics.mDevPixelsPerCSSPixel to a sane value. r=botond 2013-09-13 00:05:34 -04:00
Ryan VanderMeulen a352effd6a Merge b2g-inbound to m-c. 2013-09-11 20:58:14 -04:00
Botond Ballo 0f2c4e94ea Bug 912806 - Store both cumulative and non-cumulative resolutions in FrameMetrics and use whichever is appropriate. r=kats 2013-09-05 18:26:59 -04:00
Dale Harvey 624b9eaf6c Bug 900638 - Specify input source when generating mouse events. r=kats 2013-09-11 14:28:58 +02:00
Jan Varga e9492bcd36 Bug 785884 - Implement support for temporary storage (aka shared pool). r=ehsan, r=bent
--HG--
rename : caps/tests/mochitest/test_principal_extendedorigin_appid_appstatus.html => caps/tests/mochitest/test_principal_jarprefix_origin_appid_appstatus.html
rename : dom/quota/UsageRunnable.h => dom/quota/UsageInfo.h
2013-09-11 06:18:36 +02:00
Robert O'Callahan 03e7828db2 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Ed Morley 81c848fe67 Merge mozilla-central and inbound 2013-09-04 16:53:03 +01:00
Benoit Jacob 8ec75b058c Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel 2013-09-04 08:14:52 -04:00
Ryan VanderMeulen cac805671d Merge m-c to b2g-inbound. 2013-09-03 17:44:34 -04:00
Ryan VanderMeulen 374595fdca Backed out changeset 669d3fd3ea2b (bug 906877) for Mnw failures. 2013-09-03 17:22:14 -04:00
Kartikaya Gupta 66b37ff496 Bug 910322 - Strongly type the viewport size in nsViewportInfo. r=mbrubeck, Ms2ger 2013-09-03 15:12:24 -04:00
Kartikaya Gupta ad299f8964 Bug 910322 - Strongly type the zoom factors in nsViewportInfo. r=mbrubeck, Ms2ger 2013-09-03 15:12:23 -04:00
Kartikaya Gupta ac06685b67 Bug 906877 - Remove code obsoleted by multi-apzc. r=BenWa, vingtetun
Now that we have multi-APZC landed, we don't need BrowserElementPanning
to detect when it's about to scroll a subframe and let APZC know. So
the two messages involved in this can be completely removed.
2013-09-03 13:04:21 -04:00
Nicholas Cameron 9fb3417161 Bug 910158. Don't include BasicLayers.h unnecessarily. r=roc 2013-09-02 10:20:45 +12:00
Kartikaya Gupta fd30fdc1ca Bug 885023 - Convert mFrameMetrics.mZoom to a CSSToScreenScale. r=BenWa,k17e
The mFrameMetrics.mZoom was previously a "resolution-independent" zoom,
which meant it had to always be multiplied by the CalculateIntrinsicScale()
value to be useful. This patch converts it to a "resolution-dependent" zoom,
and includes the intrinsic scale multiplier already. This means it needs
to be updated if either the viewport or composition bounds (which determine
the intrinsic scale) change, but there are only a few places where this
happens and it makes the rest of the code cleaner.
2013-08-26 09:50:30 -04:00
Tom Schuster 245533bc39 Bug 908213 - Fix CPOWs test failure and make it more robust. r=dvander 2013-08-23 19:04:20 -04:00
Tom Schuster 6e43f91970 Bug 658087 - Remove printfs in TabChild. r=smaug 2013-08-22 15:52:07 -04:00
Tom Schuster 24980a73b8 Bug 902013 - Only enable CPOWs on desktop with browser.tabs.remote. r=dvander 2013-08-21 13:24:53 -04:00
Nicholas Cameron 0514eb1ecd Bug 903816. Fixups in non-layers files. r=roc 2013-08-12 11:15:10 +12:00
Nicholas Cameron d54a23dd47 Bug 903893. Backend fallback for OMTC. r=mattwoodrow 2013-08-18 18:46:16 +12:00
Botond Ballo 4110c30f98 Bug 895905 - Eliminate some of the special handling of ROOT_SCROLL_ID. r=kats, r=tn 2013-08-08 15:56:08 -04:00
Botond Ballo f3c2ea43d5 Bug 895905 - B2G mechanism for content to inform APZC about scroll events. Handles multi-APZC. r=kats 2013-08-08 15:56:08 -04:00
Kan-Ru Chen (陳侃如) 41345e7739 Bug 845169 - Update touch region from remote frame. r=roc 2013-08-13 15:56:57 +08:00
Tom Schuster 971bbdaa12 Bug 617804 - Note that SetTitle is implemeneted by JS. rs=felipe 2013-08-06 12:35:39 -04:00
Nicholas Cameron f742a26a6e Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow 2013-08-04 19:46:17 +12:00
Tom Schuster f1700221b6 Bug 617804 - Implement SetStatus in TabChild/TabParent, enables link tooltips. r=felipe 2013-07-25 15:45:31 -04:00
Ms2ger 1571fe39c1 Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
Kartikaya Gupta b0a221b29b Bug 866232 - Update TabChild to better handle scrolling subframes. r=BenWa, mattwoodrow 2013-07-30 14:03:42 -04:00
Kartikaya Gupta 40cfac1eb1 Bug 894288 - Prevent triggering an endless abort cycle when loading any tabs in the browser. r=BenWa 2013-07-25 14:54:26 -04:00
David Zbarsky f6f620d05f Bug 894646 - Various dom deCOM cleanups r=Ms2ger 2013-07-23 16:39:17 -07:00
Tom Schuster 3d2fa7cabf Bug 915822 - Make GetTabChildFrom a class method on TabChild. r=smaug 2013-09-12 15:24:11 -04:00
Michael Wu 8c86ae8cab Bug 870311 - Fix coordinates on contextmenu event, r=kats 2013-07-16 15:54:59 -04:00
David Anderson 9358336f75 Implement CPOW support in MessageManager (bug 870180, r=smaug,billm). 2013-07-10 15:05:39 -07:00
Botond Ballo e1a8133ba6 Bug 890938 - Convert AsyncPanZoomController::ZoomToRect to take a CSSRect instead of a gfxRect. r=kats 2013-07-11 10:43:35 -04:00
Wes Kocher 725b5f55d2 Backout 129da44ac469 (bug 870180) for breaking message manager 2013-07-10 18:22:34 -07:00
David Anderson 5f0258f3c3 Implement CPOW support in MessageManager (bug 870180, r=smaug,billm). 2013-07-10 15:05:39 -07:00
David Zbarsky 72c136129d Bug 879475 - Make PBrowser manually keep track of its manager r=jlebar 2013-07-10 13:07:51 -04:00
Ryan VanderMeulen 037efde64c Backed out changeset 3265d1e6ed10 (bug 890938) for Werror bustage. 2013-07-10 10:46:31 -04:00
Botond Ballo b840654f10 Bug 890938 - Convert AsyncPanZoomController::ZoomToRect to take a CSSRect instead of a gfxRect. r=kats 2013-07-10 10:04:20 -04:00
Anthony Jones 12bbe7d3a2 Bug 864447 - Set display port for given scroll id; r=BenWa 2013-07-10 11:26:07 +12:00
David Zbarsky dc4eb54b87 Bug 885804: Renaming in content/dom r=jlebar 2013-07-08 11:48:39 -04:00
Kartikaya Gupta 5932400572 Bug 866265 - Fix setting the resolution on hi-dpi B2G devices (followup to bug 883646). r=kentuckyfriedtakahe 2013-07-03 09:03:28 -04:00
Bobby Holley 20ac01a955 Bug 865745 - Remove nsFrameScriptExecutor::DestroyCx. r=smaug 2013-06-30 09:00:20 -06:00
Bobby Holley de1af8dc4a Bug 865745 - Remove mCx from nsFrameScriptExecutor. r=smaug 2013-06-30 09:00:20 -06:00
Bobby Holley dc8934fcb1 Bug 865745 - Return the safe JSContext for Tab Children in GetJSContextForEventHandlers. r=smaug 2013-06-30 09:00:19 -06:00
Bobby Holley 34cf199689 Bug 865745 - Check mGlobal instead of mCx to see if we're in a functional state. r=smaug
Their lifetimes should be the same, and the latter is going away.
2013-06-30 09:00:19 -06:00
Bobby Holley 1a3ffd63e4 Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug 2013-06-30 09:00:19 -06:00
Bobby Holley b4f2e0c87d Bug 865745 - Hold a strong ref to the global for the duration that each nsFrameScriptCx is on the stack. r=smaug
These things currently do a complicated refcounting dance to avoid destroying the
cx until all the consumers of it are gone. That stuff can mostly go away now that
we're just using the SafeJSContext, but DestroyCx also nulls out the global, so
we should make sure to keep that alive for anyone that might be using it.
2013-06-30 09:00:18 -06:00
Phil Ringnalda 0f540beb8e Back out 9a57cd3e5a93:b62548e26499 (bug 865745) for causing an unexpected exception in a mochiperf test 2013-06-29 20:27:48 -07:00
Bobby Holley edaa6df873 Bug 865745 - Remove nsFrameScriptExecutor::DestroyCx. r=smaug 2013-06-29 18:44:06 -06:00
Bobby Holley c628779566 Bug 865745 - Remove mCx from nsFrameScriptExecutor. r=smaug 2013-06-29 18:44:06 -06:00
Bobby Holley f3b8b79a74 Bug 865745 - Return the safe JSContext for Tab Children in GetJSContextForEventHandlers. r=smaug 2013-06-29 18:44:05 -06:00
Bobby Holley 195d6b98ba Bug 865745 - Check mGlobal instead of mCx to see if we're in a functional state. r=smaug
Their lifetimes should be the same, and the latter is going away.
2013-06-29 18:44:05 -06:00
Bobby Holley e6907d8bb4 Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug 2013-06-29 18:44:05 -06:00
Bobby Holley 2876061d0d Bug 865745 - Hold a strong ref to the global for the duration that each nsFrameScriptCx is on the stack. r=smaug
These things currently do a complicated refcounting dance to avoid destroying the
cx until all the consumers of it are gone. That stuff can mostly go away now that
we're just using the SafeJSContext, but DestroyCx also nulls out the global, so
we should make sure to keep that alive for anyone that might be using it.
2013-06-29 18:44:04 -06:00