Commit Graph

249 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
59fa4c99cd Merge m-c to mozilla-inbound 2015-10-14 12:47:31 +02:00
Kan-Ru Chen
5f0cad7a68 Bug 1191740 - Factor out nsFrameLoader::GetNewTabContext. r=bholley 2015-10-14 10:52:07 +08:00
Steven Englehardt
ef29e42cc0 Bug 1191740 - Add originAttributes in TabContext. r=bholley 2015-10-14 10:52:06 +08:00
David Rajchenbach-Teller
208afad125 Bug 1212244 - Same-process sendAsyncMessage can now throw instead of OOM. r=smaug 2015-10-07 12:42:43 +02:00
Olli Pettay
1161cbda9a Bug 1209621 - Add a way to get the TabParent for the content-primary tab, r=mconley 2015-10-01 20:06:51 +03:00
Kit Cambridge
cfcdba2314 Bug 1209361 - Add missing includes to dom/base. r=mccr8 2015-09-28 21:31:56 -07:00
Kan-Ru Chen
109c869902 Bug 1186843 - Don't recreate message manager. r=smaug 2015-09-21 17:51:08 +08:00
Michael Layzell
a093510d49 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
Andrea Marchesini
8cbd09f629 Bug 1203426 - Rename StructuredCloneIPCHelper to StructuredCloneData, r=smaug 2015-09-10 21:50:58 +01:00
Kan-Ru Chen
fe1960d0a5 Bug 1170894 - Implement nsIFrameLoader::SwitchProcessAndLoadURI. r=smaug 2015-09-03 13:21:21 +08:00
Andrea Marchesini
a2c814e845 Bug 1198795 - ipc/StructuredCloneUtils should be merged with StructuredCloneHelper, r=smaug 2015-09-02 17:20:30 +01:00
chunminchang
eec9848f27 Bug 1114507 - Part 1: Add/release the appId's refcnt if frame is in main process. r=kanru 2015-08-20 23:38:00 -04:00
Carsten "Tomcat" Book
bda1ee5c8e Backed out changeset e4e12583c280 (bug 1170894) for various mochitest testfailures on a CLOSED TREE 2015-09-01 09:39:25 +02:00
Kan-Ru Chen
4fc880f7e0 Bug 1170894 - Implement nsIFrameLoader::SwitchProcessAndLoadURI. r=smaug 2015-09-01 12:54:36 +08:00
Mike Conley
31222be0ea Bug 1141337 - Update nsIWebBrowserPersistable to allow subframe targeting for Save Frame As. r=jld
This alters nsIWebBrowserPersistable so that startPersistence takes an
outerWindowID. This allows us to target a particular subframe from
beneath an nsFrameLoader, which is useful when attempting to Save
Frame As a remote browser.
2015-08-06 10:44:16 -04:00
Ehsan Akhgari
5a13262766 Bug 1192252 - Add a helper RAII class for managing the cleanup in nsFrameLoader::SwapWithOtherLoader; r=smaug 2015-08-07 12:36:57 -04:00
Ehsan Akhgari
9e1ae0a6f8 Bug 1191491 - Do not dispatch an audio-playback notification when swapping browsers; r=smaug
We send a pagehide event during swapping docshell frame loaders, and
before this patch we would not be able to differentiate this event with
the one that we send when navigating away from a page, so we would
incorrectly dispatch an audio-playback notification indicating that
audio playback has stopped.  This patch adds a flag to the root docshell
when the frame loader swapping is in progress and disables the above
behavior when that flag is set.
2015-08-07 12:18:24 -04:00
Jed Davis
e32b5dab07 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
a21eac9f36 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
7bbf0c3a4a 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
cc3aedb320 Bug 1190245 - Separate mMessageManager creation and FrameScript loading. r=smaug 2015-08-04 11:10:49 +08:00
Robert O'Callahan
5bde6d4aaa Bug 1184842. Pass aOldValue to all mutation observers. r=peterv 2015-07-25 18:01:19 +12:00
Franziskus Kiefer
8618e21b3f Bug 1175736 - Implement the iframe referrer attribute. r=ckerschb, r=bz 2015-07-17 10:46:19 -07:00
Juan Gomez
89035d527e Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Eric Rahm
7a6951d7d6 Bug 1177578 - Remove 'No docshells for remote frames' warning in nsFrameLoader::GetDocShell. r=smaug 2015-06-30 09:33:50 -07:00
Ryan VanderMeulen
7aba9d7002 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
David Parks
79311efc74 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).
2015-06-16 13:40:55 -04:00
Kan-Ru Chen
7697592636 Bug 1172889 - Reorder nsFrameLoader member declarations. r=smaug 2015-06-10 17:44:20 +08:00
Kan-Ru Chen
92ce7ff037 Bug 1172889 - Rename nsFrameLoader::GetCurrentRemoteFrame to nsFrameLoader::GetCurrentRenderFrame. r=roc 2015-06-10 17:44:14 +08:00
Kan-Ru Chen
2843c09c96 Bug 1172889 - Get current RenderFrameParent from TabParent directly. r=roc 2015-06-10 17:44:10 +08:00
Kan-Ru Chen
7093d4b831 Bug 1172889 - Remove unused nsFrameLoader::mContentParent. r=smaug 2015-06-10 17:44:06 +08:00
Piervincenzo Parisi
b2c21905aa Bug 1164616 - "nsFrameLoader::DelayedStartLoadingRunnable is unused". r=josh 2015-05-21 02:25:00 +02:00
Andrea Marchesini
99c17a8938 Bug 1163388 - patch 2 - get rid of nsIDOMFile, r=ehsan 2015-05-18 14:52:26 +01:00
Mike Conley
ad3058d181 Bug 1136478 - Fire pagehide / pageshow events in content after swapping remote frame loaders. r=smaug. 2015-05-07 11:43:40 -04:00
Andrew McCreight
92010d3e4c Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Bill McCloskey
8f4f9162c7 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
8855dd6ab3 Bug 1155224 - Add targetFrameLoader property to messages (r=smaug) 2015-04-20 23:32:59 -07:00
David Parks
92dc087430 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.
2015-04-13 17:06:03 -07:00
Mike Conley
4cb1554376 Bug 1088180 - Swap nsIBrowserDOMWindows when swapping remote frame loaders. r=smaug. 2015-04-09 17:55:07 -04:00
Ting-Yu Chou
bb3910b231 Bug 1121905 - Reorder frame loading sequence to send content process the URL earlier. r=kanru 2015-04-07 10:56:10 +08:00
Nathan Froyd
5ea83381f3 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
43c98618d3 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
8cb899b031 Back out bug 1075670 2015-03-30 20:13:07 -07:00
Bill McCloskey
8e755bfd3d Bug 1132072 - Tab switch refactoring (r=mconley) 2015-03-27 08:38:47 -07:00
Bill McCloskey
2bfbfc8b02 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
ea41d8de48 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
6d6e0f9ce9 Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-19 06:43:46 -07:00
Phil Ringnalda
b7bcece915 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
2d26630922 Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-18 16:09:27 -07:00