mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:30:27 +00:00
import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1214179 - Provide device Id for non-discoverable controller. r=xeonchen (0c83743144)
- Bug 1194606 - Add gtest for demuxed-only scenario in MediaFormatReader. r=jya (67a5e19042)
- Bug 1154513 - [EME] GMP crash crashes browser in Nightly - Remember if actor is destroyed, so that no messages are sent from subsequent Shutdown() - r=cpearce (36109a68e8)
- Bug 1171499 - Defer processing GMP EncodingComplete() calls until intr shmem allocs are finished. r=jesup (bac114c170)
- Bug 1162358 - Defer processing GMP DecodingComplete() calls until intr shmem allocs are finished. r=jesup (4b91da11f0)
- Bug 1155178 - Part 1: Convert GMPUnique into a template alias; r=cpearce (3f8ba45b9f)
- Bug 1155178 - Part 2: Rename GMPUnique to GMPUniquePtr; r=cpearce (fa1fd17384)
- Bug 1160908 - [EME] Delete GMPRecords that are 0 bytes in size. r=cpearce (3cc4ad2772)
- Bug 1188235 - Make GMPStorage immune to record name hash collisions. r=gerald (ae6c32363b)
- Bug 1187163 - Ensure we send Reset/Drain complete notifications no matter what happens in GMP{Audio,Video}Decoder. r=gerald (5654321861)
- Bug 1194576 - Add more NSPR logging around GMP*Parent actors. r=gerald (7572f82456)
- Bug 1169129 - Change GMP*Parent::ParentId() to a more consistent GMP*Parent::GetPluginId(). r=edwin (ce2dd08740)
- Bug 1208289 - Log outstanding frames in GMP DrainComplete() and detect dropped ResetComplete. r=jwwang (6e29c332a7)
- Bug 1208289 - Add SimpleTimer to make setting timeouts in C++ easy. r=jwwang (b4c179dc5b)
- Bug 1131908 - no IPC calls after GMPDecryptorChild::RecvDecryptingComplete(). r=edwin. (cb3d2df998)
- Bug 1215508: Fix the race in accessing the unopened IPC channels in TabChild::PreloadSlowThings(). r=khuey (c43fcb1530)
- bits of 1216401 (bb15f26885)
- Bug 1205219 - [Presentation WebAPI] Support terminate semantics. Part 1 - WebIDL & implementation changes. r=smaug (8e485cdec8)
- Bug 1205219 - [Presentation WebAPI] Support terminate semantics. Part 2 - Tests. r=smaug (e16de5d102)
- Bug 1212702 - [Presentation WebAPI] Rename to PresentationConnection. Part 1 - WebIDL bindings. r=smaug (eac6d45d9a)
- Bug 1212702 - [Presentation WebAPI] Rename to PresentationConnection. Part 2 - Tests. r=smaug# Please enter the commit message for your changes. Lines starting (2f53564f0e)
- Bug 1215426 - [Presentation WebAPI] Grant access to browser receiving pages. r=smaug (5bb2863035)
- bits of 1216401 (5fce19c671)
- Bug 1210294 - Remove the release-mode IsCallerChrome assertions from nsDOMWindowUtils. r=bz (2395e4c91d)
- Bug 1205194 - Make OldWindowSize::GetItem() not stuck. r=smaug (463d911160)
- Bug 1178858 - Video would not playback after seek seekbar first if media.autoplay.enabled = false. r=cpearce (68bae0db50)
- Bug 1072150 - Introduce a transitional legacy API that works like things used to. r=bz Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz (703304f396)
- Bug 1072150 - Don't examine the subject principal in CheckSameOrigin. r=bz (60cbce0bd4)
- Bug 633154. When alerts/prompts/confirms are suppressed, just return silently instead of throwing. r=sicking (a9b5bffb50)
- Bug 1199295 - Pass right loadingPrincipal to uriloader/prefetch - dom changes (r=smaug) (c83e28c82f)
- Bug 1206559, forward PuppetWidget::SetFocus request to the parent process, r=smaug (545b4befd2)
- Bug 1171234 - Include triggering node in load info when doing prefetching (r=ckerschb) (28626724ea)
- Bug 1192948 - Use channel->ascynOpen2 in uriloader/prefetch (r=smaug) (24cde65def)
- Bug 1199295 - Pass right loadingPrincipal to uriloader/prefetch (r=mayhemer) (0a70254f49)
- Bug 1111581 - Fix prefetch for e10s. r=mayhemer (1743b37e85)
- adapted Bug 1172396 - Check for GMP resources from chrome process instead of content (71d438785f)
- Bug 1184276 - Add some logging and don't bail if we can't find an nsPluginTag in RecvGetBlocklistState to try and get more diagnostic info r=billm (963ec63ad3)
- Bug 1194897 - Copy parent window chromeFlags when instantiating a new TabParent in the parent process. r=smaug (296cafaacc)
- Bug 1181467 - Fix mime type checking while copying image. r=Enn (2c77c687e5)
- Bug 1139860 - Fix xpcshell content process timeout crashes (r=jimm) (e594a31bff)
- Bug 1206571 - ensure Sync UI is in correct state before Sync initialized. r=adw (1d54e0c87d)
- Bug 1207490 - Part 1: Remove use of expression closure from browser/base/. r=dao (ef5ba24cbe)
- Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) (04544bb1c5)
- Bug 1059014 (part 1) - Remove support for max line box width. r=dbaron. (eaf2e94721)
- fix (d1c744c159)
This commit is contained in:
@@ -1519,7 +1519,7 @@ nsDocShell::LoadURI(nsIURI* aURI,
|
||||
}
|
||||
if (!owner && !inheritOwner && !ownerIsExplicit) {
|
||||
// See if there's system or chrome JS code running
|
||||
inheritOwner = nsContentUtils::IsCallerChrome();
|
||||
inheritOwner = nsContentUtils::LegacyIsCallerChromeOrNativeCode();
|
||||
}
|
||||
|
||||
if (aLoadFlags & LOAD_FLAGS_DISALLOW_INHERIT_OWNER) {
|
||||
@@ -7811,7 +7811,7 @@ nsDocShell::CreateAboutBlankContentViewer(nsIPrincipal* aPrincipal,
|
||||
mTiming->NotifyBeforeUnload();
|
||||
|
||||
bool okToUnload;
|
||||
rv = mContentViewer->PermitUnload(false, &okToUnload);
|
||||
rv = mContentViewer->PermitUnload(&okToUnload);
|
||||
|
||||
if (NS_SUCCEEDED(rv) && !okToUnload) {
|
||||
// The user chose not to unload the page, interrupt the load.
|
||||
@@ -9797,8 +9797,7 @@ nsDocShell::InternalLoad(nsIURI* aURI,
|
||||
// So, the best we can do, is to tear down the new window
|
||||
// that was just created!
|
||||
//
|
||||
nsCOMPtr<nsPIDOMWindow> domWin = targetDocShell->GetWindow();
|
||||
if (domWin) {
|
||||
if (nsCOMPtr<nsPIDOMWindow> domWin = targetDocShell->GetWindow()) {
|
||||
domWin->Close();
|
||||
}
|
||||
}
|
||||
@@ -10187,7 +10186,7 @@ nsDocShell::InternalLoad(nsIURI* aURI,
|
||||
// protocol handler deals with this for javascript: URLs.
|
||||
if (!isJavaScript && aFileName.IsVoid() && mContentViewer) {
|
||||
bool okToUnload;
|
||||
rv = mContentViewer->PermitUnload(false, &okToUnload);
|
||||
rv = mContentViewer->PermitUnload(&okToUnload);
|
||||
|
||||
if (NS_SUCCEEDED(rv) && !okToUnload) {
|
||||
// The user chose not to unload the page, interrupt the
|
||||
|
||||
Reference in New Issue
Block a user