Commit Graph

4669 Commits

Author SHA1 Message Date
Ehsan Akhgari
8f5e5aeae0 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
7be7b11a1c 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

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Wes Kocher
b7294d3167 Merge inbound to central, a=merge
MozReview-Commit-ID: 2R3yE5OIznC
2017-02-22 15:01:04 -08:00
Eugen Sawin
c237984e34 Bug 1322576 - [4.0] Fix some coding style issues. r=smaug 2017-02-22 14:57:41 +01:00
Eugen Sawin
c6533bef50 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
cf17189117 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
c23b7c4dcc Bug 1323644 - Isolate the HSTS and HPKP storage by first party domain (DOM/DocShell) r=baku,ckerschb
MozReview-Commit-ID: AZUfZffsLxu

--HG--
extra : rebase_source : bcd831e5ba7e92dd142747dccacba5cd34da016e
2017-02-14 10:29:24 +08:00
Wes Kocher
8c4ce17711 Merge inbound to m-c a=merge
MozReview-Commit-ID: DCUf7VEDrTt
2017-02-17 13:38:51 -08:00
Michael Layzell
01804ef221 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
095953b36b 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
51dac1f2e8 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FqToQ9qk7dg
2017-02-15 16:33:46 -08:00
Wes Kocher
017c515285 Merge inbound to m-c a=merge
MozReview-Commit-ID: IKI0zVtF1n9
2017-02-15 16:18:13 -08:00
Daniel Holbert
0fb97af73a 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
ed3d8d8286 merge mozilla-inbound to mozilla-central a=merge 2017-02-15 12:21:44 +01:00
Xidorn Quan
95c1b23bd9 Bug 1339341- Downgrade several stylo errors to warnings. r=heycam
MozReview-Commit-ID: 2Sa8dS8uSo5

--HG--
extra : rebase_source : c6809309bbef5faf458b56018b964619ff386238
2017-02-14 18:26:10 +11:00
David Major
145d019c29 Bug 1338949: Add const to kRedirMap. r=bz
MozReview-Commit-ID: 6Xf3gnMIFEb
2017-02-15 10:22:14 +13:00
Bill McCloskey
70d043f2ab 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
82ad45b35d 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
dacc230ad3 Merge mozilla-central to autoland 2017-02-15 12:59:23 +01:00
Frederik Braun
1f33988252 Bug 1337186 - rm trailing whitespaces from navigation/test_bug386782 r=smaug
MozReview-Commit-ID: 3MLyDfWrE6X

--HG--
extra : rebase_source : fe574541057275706eb4c52e2e6522342e8ec4d4
2017-02-15 11:39:01 +01:00
Frederik Braun
f3063f9162 Bug 1337186 - rm data: from navigation/test_bug386782 r=smaug
MozReview-Commit-ID: GSBZaRvuVNg

--HG--
extra : rebase_source : f739a99b7e12d09e5ef7b27d6b26edea43ae8eeb
2017-02-15 11:38:32 +01:00
Nicholas Hurley
31b98bda83 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

--HG--
extra : rebase_source : 03cce85fe7df782e1f6e2da9e5a99997b796aba2
2017-01-10 06:39:18 -08:00
Cameron McCormack
eddea92878 Bug 1297899 - Part 3: Rename RestyleManager to GeckoRestyleManager and RestyleManagerBase to RestyleManager. r=bholley
MozReview-Commit-ID: fFTZKwmGJm

--HG--
extra : rebase_source : 42b99c8a9c5616999abae2d195d16547f1fbc80f
2017-02-13 11:21:32 +08:00
Michael Layzell
02bcb1d745 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
b932981d58 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

--HG--
extra : rebase_source : 746562bf0d47b919b1fcd3becdae92078e635e73
2017-02-16 16:50:15 +01:00
Matheus Longaray
a9d7b6deb5 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

--HG--
extra : rebase_source : b5641d09d35e3d1394fe4fc53c518caa3a27df46
2017-01-13 19:04:16 +01:00
Tooru Fujisawa
ac2db69fbf Bug 1338250 - Remove remaining legacy generator from docshell/test/. r=smaug 2017-02-11 01:53:23 +09:00
Carsten "Tomcat" Book
ffe70d35b2 Merge mozilla-central to mozilla-inbound 2017-02-09 11:38:08 +01:00
Christoph Kerschbaumer
61b17010a7 Bug 1337622 - Temporarily fall back to SystemPrincipal if History entry does not have a valid triggeringPrincipal. r=tanvi,bz
--HG--
extra : rebase_source : d6c43b91f10886f6c461bf9c5709c858ad109282
2017-02-08 10:30:47 +08:00
Tim Huang
c44e5b4109 Bug 1336802 - Part 1: Fixing the crash of nsILoadInfo::GetOriginAttributes. r=smaug
--HG--
extra : rebase_source : baba3ca38c2f080f8fdfb1ada1a6945f5477d82c
2017-02-07 11:49:33 +08:00
Valentin Gosu
fd0c022031 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
2844b8cf52 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

--HG--
extra : rebase_source : d1c117eb7129b19c72df109f43f129aebd691b30
2017-02-06 12:47:00 -08:00
Tom Tung
e185f7bc4c Bug 1220936 - Flush console report to innerWindowID by using nsIDocument and nsILoadGroup. r=bkelly. 2017-02-06 09:19:34 +08:00
Tim Huang
a7c11235fd 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
a0613e7f32 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
7a66b1dc95 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
9c4ea5685f 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
bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Cameron McCormack
7805d4716e 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
7cd28f7e5d Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Christoph Kerschbaumer
9a01e58d61 Bug 1307736 - Ensure History loads pass valid triggeringPrincipal. r=bz 2017-01-27 11:19:13 +01:00
Gijs Kruitbosch
8faf5c08a8 Bug 1333164 - fix invalid references to mochitest stylesheet, r=erahm
MozReview-Commit-ID: 1Xxt72jYdm7

--HG--
extra : rebase_source : 15d854ffd6a142687fe5232149a0e370f1c058c2
2017-01-24 14:24:04 +00:00
Masatoshi Kimura
5432472092 Bug 1332892 - Remove obsolete hackaround from nsDefaultURIFixup.cpp. r=bz
MozReview-Commit-ID: 47EeDQ3ZxPr

--HG--
extra : rebase_source : eab8897030b04278e405559799d79494de397641
2017-01-22 14:32:37 +09:00
Wes Kocher
4a3e331d92 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
309413115f 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

--HG--
extra : rebase_source : 3173fb87b3743059d9d1eff5d54229f1d3a94874
2017-01-25 17:19:12 +01:00
Matheus Longaray
48a3ff5fa7 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

--HG--
extra : rebase_source : 669129e51e894910f5b7f06a3226699afc580abf
2017-01-13 19:04:16 +01:00
Florian Quèze
0e0865f4fc 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
0ff3acc32c Bug 1326251 - Part 3: Fix broken test case. r=smaug
MozReview-Commit-ID: 9KbKIHbbbmX

--HG--
extra : rebase_source : a2cddea1890d536d5c8a4a80b8fbc626252deb2b
2017-01-18 18:09:54 +08:00
Samael Wang
e9ecfaecc0 Bug 1326251 - Part 2: Add test case. r=smaug
MozReview-Commit-ID: 5YfIoH1f4fD

--HG--
extra : rebase_source : 9e60560cfefc8129af78953f744e0f7dc917fe03
2017-01-24 14:58:04 +08:00
Samael Wang
73817829d6 Bug 1326251 - Part 1: Remove dynamic entries on unloading & evicting bfcache. r=smaug
MozReview-Commit-ID: 4pBy0vO5yD9

--HG--
extra : rebase_source : 8977a9b4add96407969375c1f9c0910872771a23
2017-01-24 14:56:37 +08:00