Jed Davis
f9cdea85fa
Bug 1101100 - Multiprocess-enable nsWebBrowserPersist. r=billm
...
The high-level overview is that the parts of nsWebBrowserPersist which
access the DOM have been factored out (as WebBrowserPersistLocalDocument)
and abstracted (nsIWebBrowserPersistDocument) such that they can be
implemented in the cross-process case using IPC.
2015-08-05 14:25:39 -07:00
Kan-Ru Chen
c39f43550c
Bug 1190245 - Make frame script loading and browser-api initialization easier to follow. r=smaug
...
Load frame script and initialize browser-api at the end of (1) DocShell
creation (2) RemoteBrowser creation (3) SetRemoteBrowser
2015-08-04 11:10:50 +08:00
Kan-Ru Chen
309aa3cc1d
Bug 1190245 - Make the MaybeCreateDocShell using code path easier to follow. r=smaug
...
Don't rely on MaybeCreateDocShell to set mRemoteFrame so we don't have
to call MaybeCreateDocShell in weird places. Instead we set mRemoteFrame
early in the nsFrameLoader constructor. This should still allow us to
switch default remoteness dynamically.
2015-08-04 11:10:50 +08:00
Kan-Ru Chen
e547fb4623
Bug 1190245 - Separate mMessageManager creation and FrameScript loading. r=smaug
2015-08-04 11:10:49 +08:00
Robert O'Callahan
1e49288224
Bug 1184842. Pass aOldValue to all mutation observers. r=peterv
...
--HG--
extra : commitid : CYjyQn3BAqb
extra : rebase_source : ef153c7cf1e08a058d8de6a76dbe7dc343a299fb
2015-07-25 18:01:19 +12:00
Franziskus Kiefer
cafd09a21a
Bug 1175736 - Implement the iframe referrer attribute. r=ckerschb, r=bz
2015-07-17 10:46:19 -07:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Eric Rahm
9bd013d306
Bug 1177578 - Remove 'No docshells for remote frames' warning in nsFrameLoader::GetDocShell. r=smaug
2015-06-30 09:33:50 -07:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
David Parks
bca540b822
Bug 1096550 - Update content scale when swapping remote tabs between windows. r=roc.
...
We need to do this in case the windows we are swapping between have different
content scales (ie. HiDPI vs LowDPI).
--HG--
extra : commitid : 6vPpj5nxjHs
extra : rebase_source : 10690c249204e3d7e717594ac55d18f844f4fc8b
2015-06-16 13:40:55 -04:00
Kan-Ru Chen
76eb787ad4
Bug 1172889 - Reorder nsFrameLoader member declarations. r=smaug
2015-06-10 17:44:20 +08:00
Kan-Ru Chen
2710270ace
Bug 1172889 - Rename nsFrameLoader::GetCurrentRemoteFrame to nsFrameLoader::GetCurrentRenderFrame. r=roc
2015-06-10 17:44:14 +08:00
Kan-Ru Chen
5d6fe9dd7e
Bug 1172889 - Get current RenderFrameParent from TabParent directly. r=roc
2015-06-10 17:44:10 +08:00
Kan-Ru Chen
7915d91794
Bug 1172889 - Remove unused nsFrameLoader::mContentParent. r=smaug
2015-06-10 17:44:06 +08:00
Piervincenzo Parisi
c7594a6f78
Bug 1164616 - "nsFrameLoader::DelayedStartLoadingRunnable is unused". r=josh
...
--HG--
extra : rebase_source : c8fc4547cfba136eddbfcdb1f06656ae4270d377
2015-05-21 02:25:00 +02:00
Andrea Marchesini
3aa189b5ff
Bug 1163388 - patch 2 - get rid of nsIDOMFile, r=ehsan
...
--HG--
rename : dom/base/nsIDOMFile.idl => dom/base/nsIDOMBlob.idl
2015-05-18 14:52:26 +01:00
Mike Conley
1f5e274f86
Bug 1136478 - Fire pagehide / pageshow events in content after swapping remote frame loaders. r=smaug.
...
--HG--
extra : rebase_source : fbe5ee7bb8aeac7edabb580bcab0254aebcbc1e0
2015-05-07 11:43:40 -04:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Bill McCloskey
d6da985b93
Bug 1155789 - Fail if sending a CPOW in parent when no CPOW manager exists (r=dvander)
2015-04-27 19:45:18 -07:00
Bill McCloskey
9233d0ea6f
Bug 1155224 - Add targetFrameLoader property to messages (r=smaug)
2015-04-20 23:32:59 -07:00
David Parks
9651c8065d
Bug 1127727 - Swap callbacks in the Compositor when dragging tabs between windows. r=billm
...
When remote browsing, swap the MozLayersReady callback in the compositor
when dragging tabs between windows.
--HG--
extra : rebase_source : 717b8317bc3afbab7daa8856573d48b2ed5ca2cc
2015-04-13 17:06:03 -07:00
Mike Conley
95deb10a7e
Bug 1088180 - Swap nsIBrowserDOMWindows when swapping remote frame loaders. r=smaug.
...
--HG--
extra : amend_source : 4b2a8f7c26dd27c5dcea24955d77e2924c1d2c8f
2015-04-09 17:55:07 -04:00
Ting-Yu Chou
2a1bd4156e
Bug 1121905 - Reorder frame loading sequence to send content process the URL earlier. r=kanru
...
--HG--
extra : rebase_source : 62c41ed097dad2de16915d294355efb45146d464
2015-04-07 10:56:10 +08:00
Nathan Froyd
4c7234747e
Bug 1143651 - don't use CallQueryInterface when the compiler can do the cast for us; r=ehsan
2015-03-12 13:20:29 -04:00
David Parks
3fe715e93a
Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz)
2015-04-01 12:36:41 -07:00
Bill McCloskey
7f4ac9ee96
Back out bug 1075670
2015-03-30 20:13:07 -07:00
Bill McCloskey
f15599e2d9
Bug 1132072 - Tab switch refactoring (r=mconley)
2015-03-27 08:38:47 -07:00
Bill McCloskey
f2d972e4f2
Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz)
2015-03-26 14:17:29 -07:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Bill McCloskey
810adeb74f
Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug)
2015-03-19 06:43:46 -07:00
Phil Ringnalda
24910d5fbd
Backed out 3 changesets (bug 1126089) for ASan e10s bc1 failures and green-crashes
...
CLOSED TREE
Backed out changeset 9af9111e9c27 (bug 1126089)
Backed out changeset 288efd5e2ca0 (bug 1126089)
Backed out changeset 3bcebfd13538 (bug 1126089)
2015-03-18 21:51:34 -07:00
Bill McCloskey
4cfef838dd
Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug)
2015-03-18 16:09:27 -07:00
Daniel Holbert
082fd9cd7f
Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
...
This patch was generated by a script. Here's the source of the script for
future reference:
find . \( -iname "*.cpp" -o -iname "*.h" \) | \
xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Ryan VanderMeulen
3508f4aa52
Backed out changesets f63a2cf3fa11 and 7d9a91ee3d48 (bug 1126089) for mochitest-bc failures.
2015-03-13 13:42:57 -04:00
Bill McCloskey
5d4e83e61d
Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug)
2015-03-13 08:24:20 -07:00
Bill McCloskey
c10aee7d5e
Bug 1129223 - Introduce new, more efficient mozLayerTreeReady event (r=BenWa)
2015-03-05 22:03:23 -08:00
Bill McCloskey
54115031c4
Bug 1129223 - Remove local mozAfterRemotePaint events (r=smaug)
2015-03-05 22:03:23 -08:00
Bill McCloskey
397b44f0c8
Bug 1126089 - Assert we don't Destroy nsFrameLoader in destructor (r=smaug)
2015-03-05 22:03:22 -08:00
David Zbarsky
4ce52c1ab4
Bug 1139258 - Use ScreenIntSize in PBrowser::Show/UpdateDimensions r=botond
2015-03-05 04:13:05 -05:00
Wes Kocher
01e006a903
Merge inbound to m-c a=merge CLOSED TREE
2015-03-03 16:46:44 -08:00
Ryan VanderMeulen
6541acdb04
Backed out 7 changesets (bug 1075670) for causing bug 1139010.
...
Backed out changeset 659c40243282 (bug 1075670)
Backed out changeset 45b61c78ee2d (bug 1075670)
Backed out changeset 23bb7b239c78 (bug 1075670)
Backed out changeset a68d5051107f (bug 1075670)
Backed out changeset bd7a5d213692 (bug 1075670)
Backed out changeset f705f5063169 (bug 1075670)
Backed out changeset 13619f8fa672 (bug 1075670)
CLOSED TREE
2015-03-03 18:44:56 -05:00
David Parks
31f835e4bf
Bug 1075670 - Cleanup content process widget-chrome behavior. r=smaug
...
Math for window chrome calculation was off on Linux. Removed redundant, and incorrect, math in favor of other better functions.
2015-01-30 15:55:27 -08:00
Kartikaya Gupta
2ccb1ce2ad
Bug 1130455 - Remove the ScrollingBehavior code to propagate APZ and use gfxPrefs instead. r=roc,fabrice
...
The ScrollingBehavior passed around extensively in TabParent/TabChild is
entirely redundant now that the layers.async-pan-zoom.enabled pref definitively
controls whether or not APZ is enabled. All the code related to ScrollingBehavior
can be removed.
2015-02-26 08:47:01 -05:00
Kartikaya Gupta
4ebb7ef7d1
Bug 1130455 - Remove the mozasyncpanzoom attribute. r=roc
...
This attribute used to force APZ to be used on content processes even if the
overall APZ pref was false. However, this has a couple of problems, which cancel
each other out:
- If the pref is false, the APZ machinery is never created, and so it's
impossible to have content processes "using" APZ.
- The reftest harness checks for the pref and ignores mozasyncpanzoom when
evaluating the "asyncPanZoom" condition in reftest manifests.
Therefore, any reftests which were skip-if(!asyncPanZoom) would never run unless
the pref was set, and in those cases the mozasyncpanzoom attribute would not be
needed at all, as APZ is already enabled with the pref.
However, the mozasyncpanzoom attribute would cause some parts of the child
process code to behave as though APZ was enabled, which is incorrect. Removing
this attribute and relying solely on the pref corrects that.
2015-02-26 08:47:00 -05:00
Ryan VanderMeulen
ec8d7510c3
Backed out 7 changesets (bug 1075670) for e10s browser_586068-browser_state_interrupted.js crashes.
...
Backed out changeset 4ca74b217fe8 (bug 1075670)
Backed out changeset 83199cfc333f (bug 1075670)
Backed out changeset 065b859e6525 (bug 1075670)
Backed out changeset a3e8329610d9 (bug 1075670)
Backed out changeset ced9055e0bcc (bug 1075670)
Backed out changeset e6d6f0c11133 (bug 1075670)
Backed out changeset b823c6c95030 (bug 1075670)
CLOSED TREE
2015-02-24 11:53:34 -05:00
David Parks
72b5e35b57
Bug 1075670 - Cleanup content process widget-chrome behavior. r=smaug
...
Math for window chrome calculation was off on Linux. Removed redundant, and incorrect, math in favor of other better functions.
2015-01-30 15:55:27 -08:00
Olli Pettay
556df42aa4
Bug 1037687, load iframes in shadow DOM, r=wchen
...
--HG--
extra : rebase_source : 4db8f02b4e35c36100ee96b251ac6b405a70ba7d
2015-02-24 16:41:43 +02:00
Bill McCloskey
6b791594f3
Bug 1133594 - Rename LoadFrameScript to LoadMessageManagerScript (r=smaug)
2015-02-19 17:11:32 -08:00
Gabriele Svelto
fafc282f1a
Back out bug 1075670 for causing smoketest failures on B2G, bug 1133518 and friends. rs+a=kats
2015-02-17 10:39:35 -05:00