Commit Graph
4665 Commits
Author SHA1 Message Date
Ehsan Akhgari fa63d8ff73 Bug 1341657 - Properly deal with not having a frame element in nsDocShell::InternalLoad(); r=smaug 2017-02-27 09:39:50 -05:00
Masatoshi Kimura 4f2e64ad3d Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09:00
Wes Kocher 0bf20a00ac Merge inbound to central, a=merge
MozReview-Commit-ID: 2R3yE5OIznC
2017-02-22 15:01:04 -08:00
Eugen Sawin 22e5fa4d88 Bug 1322576 - [4.0] Fix some coding style issues. r=smaug 2017-02-22 14:57:41 +01:00
Eugen Sawin 69b544a3ba Bug 1322576 - [1.2] Add tracking protection attribute to nsILoadContext to allow for overriding of the global preference setting for individual DocShells. r=smaug 2017-02-22 14:57:37 +01:00
Jessica Jong be4c818826 Bug 1340086 - Remove uses of AnimationsPaused() since it is always false after bug 1316330. r=mrbkap 2017-02-22 01:00:00 -05:00
Jonathan Hao 37365ed464 Bug 1323644 - Isolate the HSTS and HPKP storage by first party domain (DOM/DocShell) r=baku,ckerschb
MozReview-Commit-ID: AZUfZffsLxu
2017-02-14 10:29:24 +08:00
Wes Kocher 64ccd9559b Merge inbound to m-c a=merge
MozReview-Commit-ID: DCUf7VEDrTt
2017-02-17 13:38:51 -08:00
Michael Layzell e4431d5605 Bug 1338241 - Part 2: Simplify the in large allocation process logic, r=smaug
MozReview-Commit-ID: 6aF2wlLgy42
2017-02-17 12:00:45 -05:00
Andrea Marchesini eb72531ae3 Bug 1331295 - nsNullPrincipal should be created using OriginAttributes of the docShell in case the principal is null, r=smaug 2017-02-16 14:33:39 +01:00
Wes Kocher 99c2d974df Merge m-c to autoland, a=merge
MozReview-Commit-ID: FqToQ9qk7dg
2017-02-15 16:33:46 -08:00
Wes Kocher b91739bde1 Merge inbound to m-c a=merge
MozReview-Commit-ID: IKI0zVtF1n9
2017-02-15 16:18:13 -08:00
Daniel Holbert 1dda0d6d1e Bug 1339566: Acquire kungFuDeathGrip a bit earlier, in some nsDocShell code. r=mccr8
MozReview-Commit-ID: AXTQqwyJPmU
2017-02-15 09:56:38 -08:00
Carsten "Tomcat" Book 242fd05a22 merge mozilla-inbound to mozilla-central a=merge 2017-02-15 12:21:44 +01:00
Xidorn Quan 4cdc3377d9 Bug 1339341- Downgrade several stylo errors to warnings. r=heycam
MozReview-Commit-ID: 2Sa8dS8uSo5
2017-02-14 18:26:10 +11:00
David Major 3e10fee2e9 Bug 1338949: Add const to kRedirMap. r=bz
MozReview-Commit-ID: 6Xf3gnMIFEb
2017-02-15 10:22:14 +13:00
Bill McCloskey fa3300d9dc Bug 1337537 - Workarounds to avoid TabGroup assertions in edge cases (r=smaug)
MozReview-Commit-ID: LVTgyivcA7V
2017-02-13 17:03:03 -08:00
Bill McCloskey 55a25f3d46 Bug 1337537 - Remove the need for TabGroup to be an nsISupports for DocShell::FindItemWithName (r=mystor)
MozReview-Commit-ID: CvnWt9Ny1IF
2017-02-13 17:02:47 -08:00
Carsten "Tomcat" Book 18ab6a9a02 Merge mozilla-central to autoland 2017-02-15 12:59:23 +01:00
Frederik Braun 9bb821fea0 Bug 1337186 - rm trailing whitespaces from navigation/test_bug386782 r=smaug
MozReview-Commit-ID: 3MLyDfWrE6X
2017-02-15 11:39:01 +01:00
Frederik Braun d7982e6333 Bug 1337186 - rm data: from navigation/test_bug386782 r=smaug
MozReview-Commit-ID: GSBZaRvuVNg
2017-02-15 11:38:32 +01:00
Nicholas Hurley 5fd6b1db22 Bug 1312754 - Add a service to throttle certain HTTP channels. r=mayhemer
This patch adds (and hooks up) a new service so that HTTP channels marked as
"Throttleable" will periodically be Suspend()ed and Resume()d when more
important operations are going (such as a page load).

While this patch is not responsible for marking channels as "Throttleable",
the general idea is that these would be less-important channels - background
downloads, beacons, etc, and perhaps even resources known to be trackers.

MozReview-Commit-ID: HEZsxS04rRK
2017-01-10 06:39:18 -08:00
Cameron McCormack 34c943ee6e Bug 1297899 - Part 3: Rename RestyleManager to GeckoRestyleManager and RestyleManagerBase to RestyleManager. r=bholley
MozReview-Commit-ID: fFTZKwmGJm
2017-02-13 11:21:32 +08:00
Michael Layzell 8e1a93d6fb Bug 1338548 - Check the return value from aHistory->SetURITitle when applying pending global history entries, r=smaug
MozReview-Commit-ID: 6aPtNrqoqZj
2017-02-10 17:53:12 -05:00
Matheus Longaray 753d27f658 Bug 1323987 - Set document URI after content viewer is created to host preview. r=mconley
This patch sets document URI to about:printpreview after content viewer is created to host preview.

MozReview-Commit-ID: GD5x70cwXck
2017-02-16 16:50:15 +01:00
Matheus Longaray d4a98f7789 Bug 1323987 - Add about:printpreview redirector. r=mconley
This patch adds a new entry for "about:printpreview" in nsAboutRedirector.
We also make sure the URI is maintained when redirecting.

MozReview-Commit-ID: 3LlyNJqKOhZ
2017-01-13 19:04:16 +01:00
Tooru Fujisawa 1414aa0947 Bug 1338250 - Remove remaining legacy generator from docshell/test/. r=smaug 2017-02-11 01:53:23 +09:00
Carsten "Tomcat" Book e1b6f23c86 Merge mozilla-central to mozilla-inbound 2017-02-09 11:38:08 +01:00
Christoph Kerschbaumer 5eb3fc3b21 Bug 1337622 - Temporarily fall back to SystemPrincipal if History entry does not have a valid triggeringPrincipal. r=tanvi,bz 2017-02-08 10:30:47 +08:00
Tim Huang 39a51be93b Bug 1336802 - Part 1: Fixing the crash of nsILoadInfo::GetOriginAttributes. r=smaug 2017-02-07 11:49:33 +08:00
Valentin Gosu 25f2affa4f Bug 1275746 - Fix tests that assume a HTTP url without a hostname is valid r=bz,MattN,jdm,markh
MozReview-Commit-ID: DzRenakrcAG
2016-07-07 16:20:47 +03:00
Kirk Steuber 08b3810f6c Bug 1336714 - Added a null check to the GetParentDocument call in nsDocument::ComputeFlashClassification. Change nsDocument::GetAllowPlugins to return result rather than using unnecessary outparam. nsPluginArray::AllowPlugins changed to call the GetAllowPlugins method on the inner window's document rather than on the docshell's mContentViewer's document. r=bsmedberg,bz
MozReview-Commit-ID: Crx9v8OBKKq
2017-02-06 12:47:00 -08:00
Tom Tung c08930401f Bug 1220936 - Flush console report to innerWindowID by using nsIDocument and nsILoadGroup. r=bkelly. 2017-02-06 09:19:34 +08:00
Tim Huang 82837b12cd Bug 1312954 - Part 6: Update all callers of network predictor, and the docshell will update the first party domain if it is a typeContent mozbrowser. r=smaug 2017-02-02 22:16:00 -05:00
Geoff Brown 53072e919b Bug 874423 - Skip test_bug430723.html on OSX/Win opt. r=me,a=test-only 2017-01-24 14:49:05 -05:00
Michael Layzell 879a0e1bed Bug 1334210 - Handle Large-Allocation process exhaustion more smoothly, r=ehsan
MozReview-Commit-ID: KxnFTSXxWVi
2017-01-31 14:08:20 -05:00
Cameron McCormack 95e99422cb Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Florian Quèze c32c931bc9 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Cameron McCormack 1b17824ce4 Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Wes Kocher 5c5bcbe39e Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Christoph Kerschbaumer d161cb85e1 Bug 1307736 - Ensure History loads pass valid triggeringPrincipal. r=bz 2017-01-27 11:19:13 +01:00
Gijs Kruitbosch 50b99231ab Bug 1333164 - fix invalid references to mochitest stylesheet, r=erahm
MozReview-Commit-ID: 1Xxt72jYdm7
2017-01-24 14:24:04 +00:00
Masatoshi Kimura 17bff43083 Bug 1332892 - Remove obsolete hackaround from nsDefaultURIFixup.cpp. r=bz
MozReview-Commit-ID: 47EeDQ3ZxPr
2017-01-22 14:32:37 +09:00
Wes Kocher 530c49e1e9 Backed out 5 changesets (bug 1323987) for browser-chrome printing failures a=backout
Backed out changeset 77bc28c97be0 (bug 1323987)
Backed out changeset 48837569b4e9 (bug 1323987)
Backed out changeset fcf065b47fdc (bug 1323987)
Backed out changeset 06444044d4e5 (bug 1323987)
Backed out changeset 1e7285465d1b (bug 1323987)

MozReview-Commit-ID: KTG6VusQeC0
2017-01-25 13:06:47 -08:00
Matheus Longaray 8e6dc6631b Bug 1323987 - Avoid creation of a blank content viewer when current viewer is already blank. r=mconley
This patch checks if current content viewer is blank. If so, we skip ahead to where we QI
the mContentViewer using it to host print preview, instead of creating a brand new one for
no reason.

MozReview-Commit-ID: 8WY33x2nCYA
2017-01-25 17:19:12 +01:00
Matheus Longaray 83491198af Bug 1323987 - Add about:printpreview redirector. r=mconley
This patch adds a new entry for "about:printpreview" in nsAboutRedirector.
We also make sure the URI is maintained when redirecting.

MozReview-Commit-ID: 3LlyNJqKOhZ
2017-01-13 19:04:16 +01:00
Florian Quèze 91f7a2ef3a Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Samael Wang 88eef84ebd Bug 1326251 - Part 3: Fix broken test case. r=smaug
MozReview-Commit-ID: 9KbKIHbbbmX
2017-01-18 18:09:54 +08:00
Samael Wang d9154d0284 Bug 1326251 - Part 2: Add test case. r=smaug
MozReview-Commit-ID: 5YfIoH1f4fD
2017-01-24 14:58:04 +08:00
Samael Wang b971cf4b9a Bug 1326251 - Part 1: Remove dynamic entries on unloading & evicting bfcache. r=smaug
MozReview-Commit-ID: 4pBy0vO5yD9
2017-01-24 14:56:37 +08:00