Valentin Gosu
e0f474ede9
Bug 1326175 - Stop preserving empty passwords in URLs r=mcmanus
...
MozReview-Commit-ID: 7wdZSJmpErF
--HG--
extra : rebase_source : 100061a5c1921f1a10cf339207548aceb3afbe49
2017-03-27 23:56:28 +02:00
Jan Henning
0e575681dc
Bug 1265818 - Part 2 - Add scriptable methods for getting and setting PresStates from JS. r=jst
...
This will allow the session store to store and restore scroll positions (and pinch zoom on Android) for past session history entries as well, whereas today only the scroll position of the current page is saved.
As a LayoutHistoryState saves its PresStates in a hash table that doesn't allow direct access to its contents if you don't already know the entry's key, we provide a function to iterate over all stored PresStates and retrieve their keys, which can then be used to get access to each individual PresState in turn. Since nsPresState is little more than a fancy struct and we don't want to have to turn it into a full-blown XPCOM-compatible interface, we just pass the scroll/zoom-related values we're interested in as in/out parameters from/to JS via the LayoutHistoryState.
We also require a helper method for initialising an SHEntry's LayoutHistoryState, since normally this doesn't happen until the PresShell wants to capture the history state in it. We on the other hand require a LayoutHistoryState to be present immediately after creation of a fresh SHEntry object, so we can feed it the session store data during history restoration.
MozReview-Commit-ID: FfZf8KDsVWl
***
--HG--
extra : rebase_source : 0b3f729bff3ac24680d6fe8a0fb796979886170b
2017-03-25 14:01:29 +01:00
Jan Henning
c49f232ab2
Bug 1328868 - Part 3 - Make the effective text zoom retrievable from JS. r=tnikkel
...
We want to read this value during testing.
MozReview-Commit-ID: FVA7VdvSTEt
--HG--
extra : rebase_source : 7ae56480ad34a4b3b417b3593496619a55910ec6
2017-02-25 19:27:15 +01:00
Olli Pettay
edb96ff7d7
Bug 1322896, synchronize SHistory entry with mLSHE, r=bz
2017-03-25 03:33:43 +02:00
Samael Wang
d19130f17a
Bug 1303838 - Switch to existing target tab when clicking links. r=smaug
...
Merge "DOMServiceWorkerFocusClient" & "DOMWebNotificationClicked"
to "DOMWindowFocus" event. Utilize the event to switch tab when
loading links to an existing target tab.
MozReview-Commit-ID: Hd1NkVkrJA1
--HG--
extra : rebase_source : 745c0d66c3afd8e487c616891c0f10bd820da1fe
2017-03-23 15:59:01 +08:00
Sebastian Hengst
f5e68bc3e1
Backed out changeset ef22dba0dac5 (bug 1316683) for various test failures, e.g. xpcshell netwerk/test/unit/test_bug826063.js and browser-chrome browser/components/downloads/test/browser/browser_iframe_gone_mid_download.js. r=backout on a CLOSED TREE
2017-03-22 20:28:39 +01:00
Ehsan Akhgari
101a58b3c6
Bug 1316683 - Avoid going into SpiderMonkey for retrieving origin attributes; r=baku
...
Our caller is C++ code, and the implementations are all also written in C++,
so there is no reason to go through SpiderMonkey here. This patch also makes
nsILoadContext builtinclass to ensure that the implementation is always native.
2017-03-22 14:13:31 -04:00
Sebastian Hengst
20fb8455d6
Backed out changeset 7e47807067a6 (bug 1316683) for Windows bustage. r=backout
2017-03-22 15:15:27 +01:00
Ehsan Akhgari
9093d5f005
Bug 1316683 - Avoid going into SpiderMonkey for retrieving origin attributes; r=baku
...
Our caller is C++ code, and the implementations are all also written in C++,
so there is no reason to go through SpiderMonkey here. This patch also makes
nsILoadContext builtinclass to ensure that the implementation is always native.
2017-03-22 10:03:26 -04:00
Andrea Marchesini
1fd1bc3935
Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
...
--HG--
rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp
rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h
rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp
rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
2017-03-22 11:38:40 +01:00
Sebastian Hengst
e6878260b4
Backed out changeset fecc6abcf708 (bug 1316683) for bustage at docshell/base/SerializedLoadContext.cpp:65:61. r=backout on a CLOSED TREE
2017-03-21 15:47:15 +01:00
Ehsan Akhgari
28ff218127
Bug 1316683 - Avoid going into SpiderMonkey for retrieving origin attributes; r=baku
...
Our caller is C++ code, and the implementations are all also written in C++,
so there is no reason to go through SpiderMonkey here. This patch also makes
nsILoadContext builtinclass to ensure that the implementation is always native.
2017-03-21 10:05:00 -04:00
Carsten "Tomcat" Book
3e0a5441c6
Merge mozilla-central to mozilla-inbound
2017-03-17 14:55:15 +01:00
Carsten "Tomcat" Book
d9ee923985
Backed out changeset 20537ebcebdb (bug 1303838) for eslint failure
2017-03-17 11:21:32 +01:00
Samael Wang
9e49902c09
Bug 1303838 - Switch to existing target tab when clicking links. r=smaug
...
Merge "DOMServiceWorkerFocusClient" & "DOMWebNotificationClicked"
to "DOMWindowFocus" event. Utilize the event to switch tab when
loading links to an existing target tab.
MozReview-Commit-ID: Hd1NkVkrJA1
2017-03-16 18:39:31 +08:00
Kris Maglione
9e1cbea297
Bug 1333990: Part 2b - Don't enable editor until layout has started. r=ehsan
...
In order to support asynchronous loading of extension content scripts, we need
to be able to exit the HTML parser flush loop immediately after inserting the
document element. Normally this doesn't cause problems, but when we enter edit
mode with an empty element selected, the editor inserts a <br> node, and a
<br> node at the start of the <html> element causes issues.
These changes solve that issue by putting off entering editor mode until we
begin laying out the document.
MozReview-Commit-ID: H2ksNz0jRxs
--HG--
extra : rebase_source : 26e0d254744363f5bd60f3b4f4df7b51c3dc446f
2017-03-14 21:22:06 -07:00
Wes Kocher
c5d1991d35
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: AuQEHTgSKcO
2017-03-16 14:07:10 -07:00
Michael Layzell
ccc519e3f4
Bug 1347983 - Part 1: Make forms submitted from a large-allocation page not leave the large-allocation process, r=smaug
...
MozReview-Commit-ID: 7SEdTJN9Xd2
2017-03-16 14:32:26 -04:00
Blake Kaplan
3a0ce09963
Bug 1346286 - Remove CPOWs from browser_bug554155.js. r=Gijs
...
MozReview-Commit-ID: IrvBw8LNt3B
--HG--
extra : rebase_source : ad7d508c1bbb071a6a937fbe633ce71b22cdd7c9
2017-03-09 15:52:25 -08:00
Brad Werth
983df24b1c
Bug 1151421 Part 3: Update tests of pageYOffset/scrollY to round off when checking expected results. r=smaug
...
MozReview-Commit-ID: JDS5l06FAaf
--HG--
extra : rebase_source : c7fa999490b04e591f12b3fe123d6409811f9bfe
2017-03-16 12:05:56 -07:00
Brad Werth
b1269f11fa
Bug 1151421 Part 2: Add test of fractional scroll position properties. r=smaug
...
MozReview-Commit-ID: 4a8eQeJz7fV
--HG--
extra : rebase_source : 8074ec268965b6ccd53140e581d07b10233c13f1
2017-03-14 17:31:22 -07:00
Samael Wang
2cd1696dc6
Bug 1346703 - Replace PR_LogPrint with MOZ_LOG, remove unnecessary checks and add a nullptr check. r=ehsan
2017-03-14 16:58:45 +08:00
Yoshi Huang
996e0349b3
Bug 1300671 - set firstPartyDomain on about: pages. r=smaug
...
When we load about:blank in a remote tab, it will have
LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL flag set, which will make
NullPrinicipal as its document principal. So we add
NULL_PRINCIPAL_FIRST_PARTY_DOMAIN as its firstPartyDomain.
So when we load data:, or javascript: URI in a remote tab, it will inherit the
principal from about:blank, hence also inherit the origin attributes.
There are also some about: pages will use codebase principal, so we also
set ABOUT_URI_FIRST_PARTY_DOMAIN as firstPartyDomain on their
principals.
2017-03-14 16:22:02 +08:00
Samael Wang
2c24eb7d2b
Bug 1339707 - Replace NS_DispatchToCurrentThread to DocGroup / TabGroup dispatch method and set nsITimer target. r=smaug
2017-03-07 16:58:59 +08:00
Christoph Kerschbaumer
fa5656d4cb
Bug 1333147 - Do not use owner as triggeringPrincipal when creating session history entry. r=bz
...
--HG--
extra : rebase_source : 98d00f4a448423cf9bd8b80f1f95c6862ac6f930
2017-03-10 16:39:42 +01:00
Wes Kocher
65140a44e3
Merge inbound to central, a=merge CLOSED TREE
...
MozReview-Commit-ID: Gj4s6DtqKmw
2017-03-09 16:33:31 -08:00
Valentin Gosu
5847af980b
Bug 1324243 - Normalize IPv6 r=manishearth
...
MozReview-Commit-ID: 1UFIdeWrz1E
--HG--
extra : rebase_source : cb7e44b0afe06426e3268e80d94a2f59af633b9b
2017-03-09 00:55:05 +01:00
Christoph Kerschbaumer
51ce795ad5
Bug 1334875 - Temporarily remove assertion that history loads pass a valid triggeringprincipal. r=jwatt
2017-03-08 13:08:59 +01:00
Florian Quèze
9d62681259
Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws.
2017-03-08 10:17:52 +01:00
Andrea Marchesini
e9195daa8d
Bug 1345168 - Get rid of OriginAttributes::Inherit, r=tjr
2017-03-08 07:41:51 +01:00
Carsten "Tomcat" Book
41ba400533
Merge mozilla-central to mozilla-inbound
2017-03-07 15:18:32 +01:00
Carsten "Tomcat" Book
087da3f0d9
merge mozilla-inbound to mozilla-central a=merge
2017-03-07 15:13:31 +01:00
Andrea Marchesini
2c988363eb
Bug 1339713 - Use IPCStream everywhere - part 5 - PContent, r=smaug
2017-03-09 14:10:49 +01:00
Wei-Cheng Pan
bf4ee5ab2d
Bug 1310127 - Part 15: Use MOZ_MUST_USE in netwerk/protocol/http r=smaug
...
MozReview-Commit-ID: DZBPvmSmlgR
--HG--
extra : rebase_source : 41ccd5282b8e3cf4b0f59bd2911abdb7a3b51201
2016-12-20 14:48:52 +08:00
Carsten "Tomcat" Book
a25648d3cd
Backed out changeset 189b914221f4 (bug 1324243) for wpt-11 bustage
2017-03-06 14:13:03 +01:00
Valentin Gosu
0cb0b2702b
Bug 1324243 - Normalize IPv6 r=manishearth
...
MozReview-Commit-ID: Kxe9eLqvKp6
--HG--
extra : rebase_source : 195cafb81adeb9d5fa0a84535144debe1b26f6ff
2017-03-01 00:01:15 +01:00
Ursula Sarracini
6b1858e254
Bug 1340181 - Hide Activity Stream URL in URLbar r=fkiefer,mconley
...
MozReview-Commit-ID: F0P5tn2wyG
--HG--
extra : rebase_source : a9f766913b8340e12a4f526dc741e8ed752e6acf
2017-02-22 13:18:09 -05:00
Xidorn Quan
bb5bcf34f4
Bug 1342303 part 3 - Remove nsCOMArray::EnumerateForwards uses in docshell. r=smaug
...
MozReview-Commit-ID: FJen0p0c54u
--HG--
extra : rebase_source : 8e98161531189c9cf2578eb6d81835a20d707ca1
2017-02-24 21:32:20 +11:00
Wes Kocher
5bb9a497ef
Backed out 6 changesets (bug 1342303) for build bustage a=backout
...
Backed out changeset 89137679a68c (bug 1342303)
Backed out changeset 20a1bcb47c33 (bug 1342303)
Backed out changeset bc3b2e7a383b (bug 1342303)
Backed out changeset bdc491b9ebde (bug 1342303)
Backed out changeset 5c6042dee665 (bug 1342303)
Backed out changeset b5de1dfff82f (bug 1342303)
MozReview-Commit-ID: BjlVAX480jI
2017-03-02 16:35:43 -08:00
Xidorn Quan
a01dc10d87
Bug 1342303 part 3 - Remove nsCOMArray::EnumerateForwards uses in docshell. r=smaug
...
MozReview-Commit-ID: FJen0p0c54u
--HG--
extra : rebase_source : 8e98161531189c9cf2578eb6d81835a20d707ca1
2017-02-24 21:32:20 +11:00
Christoph Kerschbaumer
ba60c4b63d
Bug 1341589 - Test TriggeringPrincipal on history entry for view-source loads. r=gijs
2017-03-02 17:45:24 +01:00
Christoph Kerschbaumer
c1f499b304
Bug 1341754: Test SetURI in Location passes triggeringPrincipal. r=smaug
2017-03-07 12:50:47 +01:00
Christoph Kerschbaumer
a7b6c2e202
Bug 1341754: Provide a valid triggeringPrincipal when calling SetURI in Location. r=smaug
2017-03-07 08:48:00 +01:00
Kris Maglione
ee306e28c0
Bug 1314361 - Part 6: Remove the addonId origin attribute. r=bholley
2016-11-08 17:11:32 -08:00
Kris Maglione
45dbac3bdd
Bug 1314361 - Part 4: Stop setting addonId origin attribute. r=billm
2016-11-04 18:22:45 -07:00
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
Julian Seward
8a908912d3
Bug 1232696 - Remove NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW as it causes segfaulting for GCC 6 builds (5 of 5, fixes for docshell/). r=bzbarsky.
2017-01-24 17:12:10 +01:00
Christoph Kerschbaumer
7578c6e2b5
Bug 1271173 - Upgrade-insecure-requests for navigational requests. r=smaug,freddyb
2017-01-23 15:29:44 +01:00
Gabor Krizsanits
216527edfc
Bug 1303113 - Turn e10s-multi on in Nightly. r=me
2017-01-23 14:15:30 +01:00
Christoph Kerschbaumer
e7473c84f8
Bug 1329288: Allow content policy consumers to identify contentPolicy checks from docshell. r=bz,kmaglione
2017-01-22 18:05:03 +01:00
Christoph Kerschbaumer
dd581118f0
Bug 1329288 - Test ContentPolicy blocks opening a new window. r=smaug
2017-01-22 17:42:42 +01:00
Christoph Kerschbaumer
42e5d1aa97
Bug 1329288 - Bring back ContentPolicy check within nsDocShell. r=smaug
2017-01-22 17:33:19 +01:00
Sebastian Hengst
79c51020ef
Backed out changeset de60e0a191c7 (bug 1329288) for failing test_bug375314.html on Android 4.3 opt. r=backout
2017-01-22 13:11:02 +01:00
Sebastian Hengst
040a162daf
Backed out changeset 828efd8ce683 (bug 1329288)
2017-01-22 13:09:53 +01:00
Sebastian Hengst
a692f05c85
Backed out changeset 69fb2fc61535 (bug 1329288)
2017-01-22 13:09:48 +01:00
Christoph Kerschbaumer
130fcb1f75
Bug 1329288: Allow content policy consumers to identify contentPolicy checks from docshell. r=bz,kmaglione
2017-01-22 07:30:26 +01:00
Christoph Kerschbaumer
5b0e184329
Bug 1329288 - Test ContentPolicy blocks opening a new window. r=smaug
2017-01-22 07:30:10 +01:00
Christoph Kerschbaumer
1b50cab046
Bug 1329288 - Bring back ContentPolicy check within nsDocShell. r=smaug
2017-01-22 07:29:49 +01:00
Christoph Kerschbaumer
a45811baf7
Bug 1332310 - Update AddState and CreateContentViewer to provide an accurate triggeringPrincipal for creating a history entry. r=bz
2017-01-20 09:19:07 +01:00
Phil Ringnalda
6f55fab2bf
Merge m-i to m-c, a=merge
2017-01-19 22:04:52 -08:00
Michael Layzell
7761c35dbf
Bug 1330332 - Add support for handling global history changes with PendingGlobalHistoryEntry for prerendering, r=smaug
...
MozReview-Commit-ID: 2j9JwRSGtTC
2017-01-19 15:26:17 -05:00
Wes Kocher
32faf4c617
Backed out changeset 0c891a3aff93 (bug 1303113) for test-oop-extensions failures a=backout CLOSED TREE
...
MozReview-Commit-ID: AU5hIBAmFKw
2017-01-19 11:29:42 -08:00
Neil Deakin
fa8292ec1f
Bug 1327908, on Windows, don't hide tooltips when a key is pressed. On other platforms, allow hiding tooltips when a key is pressed except when modifier keys are pressed alone, r=felipe
2017-01-19 13:57:11 -05:00
Gabor Krizsanits
c56ff65186
Bug 1303113 - Turn e10s-multi on in Nightly. r=me
2017-01-19 17:43:05 +01:00
Wes Kocher
336f27142f
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 3pEpsd3DljH
2017-01-19 16:47:25 -08:00
Mark Banner
16e6d381ac
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
...
MozReview-Commit-ID: 62Hp5ISxowJ
--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Blake Kaplan
9b8001b7dd
Bug 1330822 - Remove CPOWs from browser_loadURI.js. r=Felipe
...
--HG--
extra : rebase_source : d8aaa6a4e180cc416e3bb4836b3555ca4ec29985
2016-11-30 18:00:06 -08:00
Christoph Kerschbaumer
be82c7af85
Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs
2017-01-18 08:24:55 +01:00
Wes Kocher
cb7e0bda60
Backed out 2 changesets (bug 1329032) for failures a=backout
...
Backed out changeset 16c4f0df527d (bug 1329032)
Backed out changeset 54f7bfe3ca11 (bug 1329032)
MozReview-Commit-ID: ChGyTdJvT8N
2017-01-17 14:08:10 -08:00
Christoph Kerschbaumer
05287d4fa8
Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs
2017-01-17 21:52:01 +01:00
Jessica Jong
cb707ac950
Bug 1326779
- [e10s] Fire beforeunload event when navigating to a page in different process. r=smaug
...
--HG--
extra : rebase_source : f1268fbb9c2725e79fef2d6627e9e11e6e000acc
2017-01-16 21:33:00 -05:00
Florian Quèze
85611a7b6d
Bug 1331081
- script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
...
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Michael Layzell
3a272149c6
Bug 1329331 - Leave the Large-Allocation process after subsequent navigations, r=smaug
...
MozReview-Commit-ID: DfivmSEvzBu
2017-01-16 14:03:09 -05:00
Phil Ringnalda
191c2661b5
Backed out 2 changesets (bug 1307736) for failures in browser_490040.js and test_refresh_firefox.py TestFirefoxRefresh.testReset
...
CLOSED TREE
Backed out changeset 338dd2c343f8 (bug 1307736)
Backed out changeset 1a71a0d9aa90 (bug 1307736)
2017-01-16 10:47:55 -08:00
Christoph Kerschbaumer
19cdb07e5c
Bug 1307736 - Ensure History loads pass valid triggeringPrincipal. r=bz
2017-01-16 18:18:54 +01:00
Myk Melez
afb5cd9a82
Bug 1309049 - move embedding/ files out of that directory, r=jst,mossop
...
--HG--
rename : embedding/browser/nsCTooltipTextProvider.h => docshell/base/nsCTooltipTextProvider.h
rename : embedding/browser/nsContextMenuInfo.cpp => docshell/base/nsContextMenuInfo.cpp
rename : embedding/browser/nsContextMenuInfo.h => docshell/base/nsContextMenuInfo.h
rename : embedding/browser/nsDocShellTreeOwner.cpp => docshell/base/nsDocShellTreeOwner.cpp
rename : embedding/browser/nsDocShellTreeOwner.h => docshell/base/nsDocShellTreeOwner.h
rename : embedding/browser/nsIContextMenuListener.idl => docshell/base/nsIContextMenuListener.idl
rename : embedding/browser/nsIContextMenuListener2.idl => docshell/base/nsIContextMenuListener2.idl
rename : embedding/browser/nsITooltipListener.idl => docshell/base/nsITooltipListener.idl
rename : embedding/browser/nsITooltipTextProvider.idl => docshell/base/nsITooltipTextProvider.idl
rename : embedding/components/commandhandler/moz.build => dom/commandhandler/moz.build
rename : embedding/components/commandhandler/nsBaseCommandController.cpp => dom/commandhandler/nsBaseCommandController.cpp
rename : embedding/components/commandhandler/nsBaseCommandController.h => dom/commandhandler/nsBaseCommandController.h
rename : embedding/components/commandhandler/nsCommandGroup.cpp => dom/commandhandler/nsCommandGroup.cpp
rename : embedding/components/commandhandler/nsCommandGroup.h => dom/commandhandler/nsCommandGroup.h
rename : embedding/components/commandhandler/nsCommandManager.cpp => dom/commandhandler/nsCommandManager.cpp
rename : embedding/components/commandhandler/nsCommandManager.h => dom/commandhandler/nsCommandManager.h
rename : embedding/components/commandhandler/nsCommandParams.cpp => dom/commandhandler/nsCommandParams.cpp
rename : embedding/components/commandhandler/nsCommandParams.h => dom/commandhandler/nsCommandParams.h
rename : embedding/components/commandhandler/nsControllerCommandTable.cpp => dom/commandhandler/nsControllerCommandTable.cpp
rename : embedding/components/commandhandler/nsControllerCommandTable.h => dom/commandhandler/nsControllerCommandTable.h
rename : embedding/components/commandhandler/nsICommandManager.idl => dom/commandhandler/nsICommandManager.idl
rename : embedding/components/commandhandler/nsICommandParams.idl => dom/commandhandler/nsICommandParams.idl
rename : embedding/components/commandhandler/nsIControllerCommand.idl => dom/commandhandler/nsIControllerCommand.idl
rename : embedding/components/commandhandler/nsIControllerCommandTable.idl => dom/commandhandler/nsIControllerCommandTable.idl
rename : embedding/components/commandhandler/nsIControllerContext.idl => dom/commandhandler/nsIControllerContext.idl
rename : embedding/components/commandhandler/nsPICommandUpdater.idl => dom/commandhandler/nsPICommandUpdater.idl
rename : embedding/components/webbrowserpersist/PWebBrowserPersistDocument.ipdl => dom/webbrowserpersist/PWebBrowserPersistDocument.ipdl
rename : embedding/components/webbrowserpersist/PWebBrowserPersistResources.ipdl => dom/webbrowserpersist/PWebBrowserPersistResources.ipdl
rename : embedding/components/webbrowserpersist/PWebBrowserPersistSerialize.ipdl => dom/webbrowserpersist/PWebBrowserPersistSerialize.ipdl
rename : embedding/components/webbrowserpersist/WebBrowserPersistDocumentChild.cpp => dom/webbrowserpersist/WebBrowserPersistDocumentChild.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistDocumentChild.h => dom/webbrowserpersist/WebBrowserPersistDocumentChild.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistDocumentParent.cpp => dom/webbrowserpersist/WebBrowserPersistDocumentParent.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistDocumentParent.h => dom/webbrowserpersist/WebBrowserPersistDocumentParent.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistLocalDocument.cpp => dom/webbrowserpersist/WebBrowserPersistLocalDocument.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistLocalDocument.h => dom/webbrowserpersist/WebBrowserPersistLocalDocument.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistRemoteDocument.cpp => dom/webbrowserpersist/WebBrowserPersistRemoteDocument.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistRemoteDocument.h => dom/webbrowserpersist/WebBrowserPersistRemoteDocument.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistResourcesChild.cpp => dom/webbrowserpersist/WebBrowserPersistResourcesChild.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistResourcesChild.h => dom/webbrowserpersist/WebBrowserPersistResourcesChild.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistResourcesParent.cpp => dom/webbrowserpersist/WebBrowserPersistResourcesParent.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistResourcesParent.h => dom/webbrowserpersist/WebBrowserPersistResourcesParent.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistSerializeChild.cpp => dom/webbrowserpersist/WebBrowserPersistSerializeChild.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistSerializeChild.h => dom/webbrowserpersist/WebBrowserPersistSerializeChild.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistSerializeParent.cpp => dom/webbrowserpersist/WebBrowserPersistSerializeParent.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistSerializeParent.h => dom/webbrowserpersist/WebBrowserPersistSerializeParent.h
rename : embedding/components/webbrowserpersist/moz.build => dom/webbrowserpersist/moz.build
rename : embedding/components/webbrowserpersist/nsCWebBrowserPersist.idl => dom/webbrowserpersist/nsCWebBrowserPersist.idl
rename : embedding/components/webbrowserpersist/nsIWebBrowserPersist.idl => dom/webbrowserpersist/nsIWebBrowserPersist.idl
rename : embedding/components/webbrowserpersist/nsIWebBrowserPersistDocument.idl => dom/webbrowserpersist/nsIWebBrowserPersistDocument.idl
rename : embedding/components/webbrowserpersist/nsIWebBrowserPersistable.idl => dom/webbrowserpersist/nsIWebBrowserPersistable.idl
rename : embedding/components/webbrowserpersist/nsWebBrowserPersist.cpp => dom/webbrowserpersist/nsWebBrowserPersist.cpp
rename : embedding/components/webbrowserpersist/nsWebBrowserPersist.h => dom/webbrowserpersist/nsWebBrowserPersist.h
rename : embedding/browser/build/moz.build => toolkit/components/browser/build/moz.build
rename : embedding/browser/build/nsWebBrowserModule.cpp => toolkit/components/browser/build/nsWebBrowserModule.cpp
rename : embedding/browser/nsCWebBrowser.idl => toolkit/components/browser/nsCWebBrowser.idl
rename : embedding/browser/nsCommandHandler.cpp => toolkit/components/browser/nsCommandHandler.cpp
rename : embedding/browser/nsCommandHandler.h => toolkit/components/browser/nsCommandHandler.h
rename : embedding/nsEmbedCID.h => toolkit/components/browser/nsEmbedCID.h
rename : embedding/browser/nsEmbedStream.cpp => toolkit/components/browser/nsEmbedStream.cpp
rename : embedding/browser/nsEmbedStream.h => toolkit/components/browser/nsEmbedStream.h
rename : embedding/browser/nsICommandHandler.idl => toolkit/components/browser/nsICommandHandler.idl
rename : embedding/browser/nsIEmbeddingSiteWindow.idl => toolkit/components/browser/nsIEmbeddingSiteWindow.idl
rename : embedding/browser/nsIPrintPreviewNavigation.idl => toolkit/components/browser/nsIPrintPreviewNavigation.idl
rename : embedding/browser/nsIWebBrowser.idl => toolkit/components/browser/nsIWebBrowser.idl
rename : embedding/browser/nsIWebBrowserChrome.idl => toolkit/components/browser/nsIWebBrowserChrome.idl
rename : embedding/browser/nsIWebBrowserChrome2.idl => toolkit/components/browser/nsIWebBrowserChrome2.idl
rename : embedding/browser/nsIWebBrowserChrome3.idl => toolkit/components/browser/nsIWebBrowserChrome3.idl
rename : embedding/browser/nsIWebBrowserChromeFocus.idl => toolkit/components/browser/nsIWebBrowserChromeFocus.idl
rename : embedding/browser/nsIWebBrowserFocus.idl => toolkit/components/browser/nsIWebBrowserFocus.idl
rename : embedding/browser/nsIWebBrowserPrint.idl => toolkit/components/browser/nsIWebBrowserPrint.idl
rename : embedding/browser/nsIWebBrowserSetup.idl => toolkit/components/browser/nsIWebBrowserSetup.idl
rename : embedding/browser/nsIWebBrowserStream.idl => toolkit/components/browser/nsIWebBrowserStream.idl
rename : embedding/browser/nsWebBrowser.cpp => toolkit/components/browser/nsWebBrowser.cpp
rename : embedding/browser/nsWebBrowser.h => toolkit/components/browser/nsWebBrowser.h
rename : embedding/browser/nsWebBrowserContentPolicy.cpp => toolkit/components/browser/nsWebBrowserContentPolicy.cpp
rename : embedding/browser/nsWebBrowserContentPolicy.h => toolkit/components/browser/nsWebBrowserContentPolicy.h
rename : embedding/components/find/nsFind.cpp => toolkit/components/find/nsFind.cpp
rename : embedding/components/find/nsFind.h => toolkit/components/find/nsFind.h
rename : embedding/components/find/nsIFind.idl => toolkit/components/find/nsIFind.idl
rename : embedding/components/find/nsIWebBrowserFind.idl => toolkit/components/find/nsIWebBrowserFind.idl
rename : embedding/components/find/nsWebBrowserFind.cpp => toolkit/components/find/nsWebBrowserFind.cpp
rename : embedding/components/find/nsWebBrowserFind.h => toolkit/components/find/nsWebBrowserFind.h
rename : embedding/components/printingui/ipc/PPrintProgressDialog.ipdl => toolkit/components/printingui/ipc/PPrintProgressDialog.ipdl
rename : embedding/components/printingui/ipc/PPrintSettingsDialog.ipdl => toolkit/components/printingui/ipc/PPrintSettingsDialog.ipdl
rename : embedding/components/printingui/ipc/PPrinting.ipdl => toolkit/components/printingui/ipc/PPrinting.ipdl
rename : embedding/components/printingui/ipc/PPrintingTypes.ipdlh => toolkit/components/printingui/ipc/PPrintingTypes.ipdlh
rename : embedding/components/printingui/ipc/PrintDataUtils.cpp => toolkit/components/printingui/ipc/PrintDataUtils.cpp
rename : embedding/components/printingui/ipc/PrintDataUtils.h => toolkit/components/printingui/ipc/PrintDataUtils.h
rename : embedding/components/printingui/ipc/PrintProgressDialogChild.cpp => toolkit/components/printingui/ipc/PrintProgressDialogChild.cpp
rename : embedding/components/printingui/ipc/PrintProgressDialogChild.h => toolkit/components/printingui/ipc/PrintProgressDialogChild.h
rename : embedding/components/printingui/ipc/PrintProgressDialogParent.cpp => toolkit/components/printingui/ipc/PrintProgressDialogParent.cpp
rename : embedding/components/printingui/ipc/PrintProgressDialogParent.h => toolkit/components/printingui/ipc/PrintProgressDialogParent.h
rename : embedding/components/printingui/ipc/PrintSettingsDialogChild.cpp => toolkit/components/printingui/ipc/PrintSettingsDialogChild.cpp
rename : embedding/components/printingui/ipc/PrintSettingsDialogChild.h => toolkit/components/printingui/ipc/PrintSettingsDialogChild.h
rename : embedding/components/printingui/ipc/PrintSettingsDialogParent.cpp => toolkit/components/printingui/ipc/PrintSettingsDialogParent.cpp
rename : embedding/components/printingui/ipc/PrintSettingsDialogParent.h => toolkit/components/printingui/ipc/PrintSettingsDialogParent.h
rename : embedding/components/printingui/ipc/PrintingParent.cpp => toolkit/components/printingui/ipc/PrintingParent.cpp
rename : embedding/components/printingui/ipc/PrintingParent.h => toolkit/components/printingui/ipc/PrintingParent.h
rename : embedding/components/printingui/ipc/moz.build => toolkit/components/printingui/ipc/moz.build
rename : embedding/components/printingui/ipc/nsPrintingProxy.cpp => toolkit/components/printingui/ipc/nsPrintingProxy.cpp
rename : embedding/components/printingui/ipc/nsPrintingProxy.h => toolkit/components/printingui/ipc/nsPrintingProxy.h
rename : embedding/components/printingui/mac/moz.build => toolkit/components/printingui/mac/moz.build
rename : embedding/components/printingui/mac/nsPrintProgress.cpp => toolkit/components/printingui/mac/nsPrintProgress.cpp
rename : embedding/components/printingui/mac/nsPrintProgress.h => toolkit/components/printingui/mac/nsPrintProgress.h
rename : embedding/components/printingui/win/nsPrintProgressParams.cpp => toolkit/components/printingui/mac/nsPrintProgressParams.cpp
rename : embedding/components/printingui/mac/nsPrintProgressParams.h => toolkit/components/printingui/mac/nsPrintProgressParams.h
rename : embedding/components/printingui/mac/nsPrintingPromptService.h => toolkit/components/printingui/mac/nsPrintingPromptService.h
rename : embedding/components/printingui/mac/nsPrintingPromptServiceX.mm => toolkit/components/printingui/mac/nsPrintingPromptServiceX.mm
rename : embedding/components/printingui/moz.build => toolkit/components/printingui/moz.build
rename : embedding/components/printingui/unixshared/moz.build => toolkit/components/printingui/unixshared/moz.build
rename : embedding/components/printingui/unixshared/nsPrintProgress.cpp => toolkit/components/printingui/unixshared/nsPrintProgress.cpp
rename : embedding/components/printingui/unixshared/nsPrintProgress.h => toolkit/components/printingui/unixshared/nsPrintProgress.h
rename : embedding/components/printingui/unixshared/nsPrintProgressParams.cpp => toolkit/components/printingui/unixshared/nsPrintProgressParams.cpp
rename : embedding/components/printingui/unixshared/nsPrintProgressParams.h => toolkit/components/printingui/unixshared/nsPrintProgressParams.h
rename : embedding/components/printingui/unixshared/nsPrintingPromptService.cpp => toolkit/components/printingui/unixshared/nsPrintingPromptService.cpp
rename : embedding/components/printingui/unixshared/nsPrintingPromptService.h => toolkit/components/printingui/unixshared/nsPrintingPromptService.h
rename : embedding/components/printingui/win/moz.build => toolkit/components/printingui/win/moz.build
rename : embedding/components/printingui/win/nsPrintDialogUtil.cpp => toolkit/components/printingui/win/nsPrintDialogUtil.cpp
rename : embedding/components/printingui/win/nsPrintDialogUtil.h => toolkit/components/printingui/win/nsPrintDialogUtil.h
rename : embedding/components/printingui/win/nsPrintProgress.cpp => toolkit/components/printingui/win/nsPrintProgress.cpp
rename : embedding/components/printingui/win/nsPrintProgress.h => toolkit/components/printingui/win/nsPrintProgress.h
rename : embedding/components/printingui/mac/nsPrintProgressParams.cpp => toolkit/components/printingui/win/nsPrintProgressParams.cpp
rename : embedding/components/printingui/win/nsPrintProgressParams.h => toolkit/components/printingui/win/nsPrintProgressParams.h
rename : embedding/components/printingui/win/nsPrintingPromptService.cpp => toolkit/components/printingui/win/nsPrintingPromptService.cpp
rename : embedding/components/printingui/win/nsPrintingPromptService.h => toolkit/components/printingui/win/nsPrintingPromptService.h
rename : embedding/nsIWindowCreator.idl => toolkit/components/windowcreator/nsIWindowCreator.idl
rename : embedding/nsIWindowCreator2.idl => toolkit/components/windowcreator/nsIWindowCreator2.idl
rename : embedding/nsIWindowProvider.idl => toolkit/components/windowcreator/nsIWindowProvider.idl
rename : embedding/test/320x240.ogv => toolkit/components/windowcreator/test/320x240.ogv
rename : embedding/test/browser.ini => toolkit/components/windowcreator/test/browser.ini
rename : embedding/test/browser_bug1204626.js => toolkit/components/windowcreator/test/browser_bug1204626.js
rename : embedding/test/bug1170334_iframe.xml => toolkit/components/windowcreator/test/bug1170334_iframe.xml
rename : embedding/test/bug1170334_style.css => toolkit/components/windowcreator/test/bug1170334_style.css
rename : embedding/test/bug1204626_doc0.html => toolkit/components/windowcreator/test/bug1204626_doc0.html
rename : embedding/test/bug1204626_doc1.html => toolkit/components/windowcreator/test/bug1204626_doc1.html
rename : embedding/test/bug293834_form.html => toolkit/components/windowcreator/test/bug293834_form.html
rename : embedding/test/bug449141_page.html => toolkit/components/windowcreator/test/bug449141_page.html
rename : embedding/test/chrome.ini => toolkit/components/windowcreator/test/chrome.ini
rename : embedding/test/mochitest.ini => toolkit/components/windowcreator/test/mochitest.ini
rename : embedding/test/moz.build => toolkit/components/windowcreator/test/moz.build
rename : embedding/test/test_bug1170334_wbp_xmlstyle.html => toolkit/components/windowcreator/test/test_bug1170334_wbp_xmlstyle.html
rename : embedding/test/test_bug1192654.html => toolkit/components/windowcreator/test/test_bug1192654.html
rename : embedding/test/test_bug293834.html => toolkit/components/windowcreator/test/test_bug293834.html
rename : embedding/test/test_bug449141.html => toolkit/components/windowcreator/test/test_bug449141.html
rename : embedding/test/test_bug499115.html => toolkit/components/windowcreator/test/test_bug499115.html
rename : embedding/test/test_nsFind.html => toolkit/components/windowcreator/test/test_nsFind.html
rename : embedding/test/test_private_window_from_content.html => toolkit/components/windowcreator/test/test_private_window_from_content.html
rename : embedding/test/test_window_open_position_constraint.html => toolkit/components/windowcreator/test/test_window_open_position_constraint.html
rename : embedding/test/test_window_open_units.html => toolkit/components/windowcreator/test/test_window_open_units.html
rename : embedding/tests/unit/test_wwauthpromptfactory.js => toolkit/components/windowcreator/tests/unit/test_wwauthpromptfactory.js
rename : embedding/tests/unit/test_wwpromptfactory.js => toolkit/components/windowcreator/tests/unit/test_wwpromptfactory.js
rename : embedding/tests/unit/xpcshell.ini => toolkit/components/windowcreator/tests/unit/xpcshell.ini
rename : embedding/components/windowwatcher/moz.build => toolkit/components/windowwatcher/moz.build
rename : embedding/components/windowwatcher/nsAutoWindowStateHelper.cpp => toolkit/components/windowwatcher/nsAutoWindowStateHelper.cpp
rename : embedding/components/windowwatcher/nsAutoWindowStateHelper.h => toolkit/components/windowwatcher/nsAutoWindowStateHelper.h
rename : embedding/components/windowwatcher/nsDialogParamBlock.cpp => toolkit/components/windowwatcher/nsDialogParamBlock.cpp
rename : embedding/components/windowwatcher/nsDialogParamBlock.h => toolkit/components/windowwatcher/nsDialogParamBlock.h
rename : embedding/components/windowwatcher/nsIDialogParamBlock.idl => toolkit/components/windowwatcher/nsIDialogParamBlock.idl
rename : embedding/components/windowwatcher/nsIPromptFactory.idl => toolkit/components/windowwatcher/nsIPromptFactory.idl
rename : embedding/components/windowwatcher/nsIPromptService.idl => toolkit/components/windowwatcher/nsIPromptService.idl
rename : embedding/components/windowwatcher/nsIPromptService2.idl => toolkit/components/windowwatcher/nsIPromptService2.idl
rename : embedding/components/windowwatcher/nsIWindowWatcher.idl => toolkit/components/windowwatcher/nsIWindowWatcher.idl
rename : embedding/components/windowwatcher/nsPIPromptService.idl => toolkit/components/windowwatcher/nsPIPromptService.idl
rename : embedding/components/windowwatcher/nsPIWindowWatcher.idl => toolkit/components/windowwatcher/nsPIWindowWatcher.idl
rename : embedding/components/windowwatcher/nsPromptUtils.h => toolkit/components/windowwatcher/nsPromptUtils.h
rename : embedding/components/windowwatcher/nsWindowWatcher.cpp => toolkit/components/windowwatcher/nsWindowWatcher.cpp
rename : embedding/components/windowwatcher/nsWindowWatcher.h => toolkit/components/windowwatcher/nsWindowWatcher.h
rename : embedding/components/windowwatcher/test/browser.ini => toolkit/components/windowwatcher/test/browser.ini
rename : embedding/components/windowwatcher/test/browser_new_content_window_chromeflags.js => toolkit/components/windowwatcher/test/browser_new_content_window_chromeflags.js
rename : embedding/components/windowwatcher/test/browser_new_content_window_from_chrome_principal.js => toolkit/components/windowwatcher/test/browser_new_content_window_from_chrome_principal.js
rename : embedding/components/windowwatcher/test/browser_new_remote_window_flags.js => toolkit/components/windowwatcher/test/browser_new_remote_window_flags.js
rename : embedding/components/windowwatcher/test/browser_new_sized_window.js => toolkit/components/windowwatcher/test/browser_new_sized_window.js
rename : embedding/components/windowwatcher/test/chrome.ini => toolkit/components/windowwatcher/test/chrome.ini
rename : embedding/components/windowwatcher/test/file_storage_copied.html => toolkit/components/windowwatcher/test/file_storage_copied.html
rename : embedding/components/windowwatcher/test/file_test_dialog.html => toolkit/components/windowwatcher/test/file_test_dialog.html
rename : embedding/components/windowwatcher/test/mochitest.ini => toolkit/components/windowwatcher/test/mochitest.ini
rename : embedding/components/windowwatcher/test/moz.build => toolkit/components/windowwatcher/test/moz.build
rename : embedding/components/windowwatcher/test/test_blank_named_window.html => toolkit/components/windowwatcher/test/test_blank_named_window.html
rename : embedding/components/windowwatcher/test/test_dialog_arguments.html => toolkit/components/windowwatcher/test/test_dialog_arguments.html
rename : embedding/components/windowwatcher/test/test_modal_windows.html => toolkit/components/windowwatcher/test/test_modal_windows.html
rename : embedding/components/windowwatcher/test/test_named_window.html => toolkit/components/windowwatcher/test/test_named_window.html
rename : embedding/components/windowwatcher/test/test_storage_copied.html => toolkit/components/windowwatcher/test/test_storage_copied.html
rename : embedding/components/appstartup/nsAppStartupNotifier.cpp => toolkit/xre/nsAppStartupNotifier.cpp
rename : embedding/components/appstartup/nsAppStartupNotifier.h => toolkit/xre/nsAppStartupNotifier.h
rename : embedding/components/build/nsEmbeddingModule.cpp => toolkit/xre/nsEmbeddingModule.cpp
rename : embedding/components/appstartup/nsIAppStartupNotifier.h => toolkit/xre/nsIAppStartupNotifier.h
2017-01-12 13:47:27 -08:00
Andrea Marchesini
359ae91eac
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Carsten "Tomcat" Book
d959fb5581
Backed out changeset 3b3884fa2026 (bug 1329288) for m10 test failures
2017-01-11 15:42:10 +01:00
Carsten "Tomcat" Book
5097fc4b79
Backed out changeset 7136147b3a26 (bug 1329288)
2017-01-11 15:41:45 +01:00
Christoph Kerschbaumer
b3651a7212
Bug 1329288 - Test ContentPolicy blocks opening a new window. r=smaug
2017-01-11 13:16:55 +01:00
Christoph Kerschbaumer
a00dc3fc66
Bug 1329288 - Bring back ContentPolicy check within nsDocShell. r=smaug
2017-01-11 11:29:27 +01:00
Florian Quèze
fc6379e827
Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws.
2017-01-09 20:27:26 +01:00
Cameron McCormack
babad063ff
Bug 1328832
- Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
...
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Thomas Nguyen
0aaea58b69
Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
...
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00
Aman Dwivedi
76edc7645b
Bug 1320663 - Stop using timers in PrivateBrowsingUtils.jsm, r=mikedeboer
2017-01-03 15:44:41 +05:30
Christoph Kerschbaumer
63fe5cb0bb
Bug 1182569 - Skip security check for plugins using newstream attribute. r=smaug
2017-01-03 20:59:54 +01:00
Christoph Kerschbaumer
0bfc26fd77
Bug 1182569: Use AsyncOpen2 for docshell loads. r=smaug
2017-01-03 20:57:45 +01:00
Michael Layzell
f24af1792b
Bug 1324359 - Rename and simplify the DocShell ProcessLock concept, r=smaug
...
MozReview-Commit-ID: JTp8Q2mWqpN
2017-01-03 17:00:25 -05:00
Sebastian Hengst
d3f1bf94e1
Backed out changeset 2bd53e4e662b (bug 1303113) for various test failures in debug tests with e10s. r=backout
2017-01-03 20:53:59 +01:00
Gabor Krizsanits
6df27d5c23
Bug 1303113 - Turn e10s-multi on in Nightly. r=me
2017-01-03 18:14:50 +01:00
dimi
bcd217b3c0
Bug 1320402 - Move url-classifier off of using appIds. r=ehsan, gcp
...
MozReview-Commit-ID: IqnAVrv2c9W
2017-01-03 14:21:58 +08:00
Wei-Cheng Pan
19fc36c981
Bug 1323947 - Use Use MOZ_MUST_USE in netwerk/protocol/viewsource r=valentin
...
MozReview-Commit-ID: 5JAkF53s42X
--HG--
extra : rebase_source : 5e3d82f3b15b25c610086e26e941cb6064acf975
2016-11-23 17:21:17 +08:00
Samael Wang
1e9e35e6e1
Bug 1323651 - Rename Partial/GroupedSessionHistory to Partial/GroupedSHistory. r=ehsan
...
MozReview-Commit-ID: G2GW4ZPIfH3
2016-12-22 16:06:50 +08:00
Michael Layzell
40c2ca6442
Bug 1315105 - Part 3: Update close_dependent_tabs / grouped_shistory_crossproc test for new prerendering behavior, r=ehsan
...
MozReview-Commit-ID: Ic0CWUbLPuq
--HG--
extra : rebase_source : 3260db0a38e6020fa53259b98ad780d0f41f9ccc
2016-12-20 19:39:50 +08:00
Michael Layzell
0fa642800b
Bug 1315105 - Part 2: Implement <link rel=prerender> behind a pref, r=smaug
...
MozReview-Commit-ID: ARET98o1FTU
--HG--
extra : rebase_source : fd549baa1a4a180db1ca6701191f081033811d0f
2016-12-19 15:05:31 +08:00
Michael Layzell
3244cf77dd
Bug 1315105 - Part 1: Add support for prerendering PartialSHistories to GroupedSHistory, r=smaug
...
MozReview-Commit-ID: A5bwSy8NkH3
--HG--
extra : rebase_source : e87ff9754b8174f546b262f9ac7dae9157ecb130
2016-12-19 15:03:17 +08:00
Cameron McCormack
d4d8ba1d5f
Bug 1324624 - stylo: Mark currently failing crashtests with asserts-if(stylo,...). r=xidorn
...
MozReview-Commit-ID: 7iiwRwiQ8s4
2016-12-21 15:42:36 +08:00
Yoshi Huang
2ceecc22f5
Bug 1324115 - Part 2: replace the callers to use C++ helper. r=smaug
2016-12-21 14:59:21 +08:00
Kris Maglione
7390903c01
Bug 1318388: Follow-up: Fix test crash in debug builds.
...
MozReview-Commit-ID: 4xuJGe6oNKC
--HG--
extra : rebase_source : e61b6dcbeca06b6f701fafe825e73cc38ff4e550
2016-12-19 12:07:45 -08:00
Kris Maglione
e6f4ea4dcb
Bug 1318388: Prevent setting usePrivateBrowsing after initial document load. r=ehsan
...
MozReview-Commit-ID: ArmAhSWMaCJ
--HG--
extra : rebase_source : 6cf914f29092ed281a3f80cf757c1a29dc7fbac5
2016-12-18 15:07:08 -08:00
Carsten "Tomcat" Book
72f817124f
Backed out changeset ab6c012704b9 (bug 1315105) for failing on own test
2016-12-19 16:34:18 +01:00
Carsten "Tomcat" Book
51614d31e4
Backed out changeset 059753ec9117 (bug 1315105) for test failures in own test
...
--HG--
extra : rebase_source : de2846d1205d3e885c1040379f2816629a925d22
2016-12-19 15:59:14 +01:00
Michael Layzell
b5fd619e72
Bug 1315105 - Part 2: Implement <link rel=prerender> behind a pref, r=smaug
...
MozReview-Commit-ID: ARET98o1FTU
2016-12-19 15:05:31 +08:00
Michael Layzell
64de9ea0a7
Bug 1315105 - Part 1: Add support for prerendering PartialSHistories to GroupedSHistory, r=smaug
...
MozReview-Commit-ID: A5bwSy8NkH3
2016-12-19 15:03:17 +08:00
Andrea Marchesini
b78570578a
Bug 1322207 - DOM Timing must be reset if the loading of a content page is aborted, r=smaug
2016-12-15 19:58:22 +01:00
Michael Layzell
593da2333f
Bug 1320391 - Part 2: Add a test that old PartialSHistories are cleaned up correctly, r=ehsan
...
MozReview-Commit-ID: 4Jd5UbmdEru
--HG--
extra : rebase_source : 42407f987d2b6e7c3ed3a91e9f75e3911e292091
2016-12-15 13:30:49 +08:00
Michael Layzell
1b315d2194
Bug 1320391 - Part 1: Clean up PartialSHistories which are keeping old SHEntries alive, r=ehsan
...
MozReview-Commit-ID: FY36NdOUM66
--HG--
extra : rebase_source : 6dea22921c7b0e27868827e78503e8a7133e9127
2016-12-15 13:28:40 +08:00
Michael Layzell
8c6d67c926
Bug 1310766 - Part 2: Add a test for chrome/content navigation with GroupedSHistory, r=ehsan
...
MozReview-Commit-ID: 5pumQua96m3
--HG--
extra : rebase_source : 118dfd2f5f7a20db7d164f56db075c80fe0faf48
2016-12-15 13:16:27 +08:00
Gijs Kruitbosch
cb6c0c81ac
Bug 1322414 - part 2,3,4: use a separate 'primary' attribute for primary child browsers, r=bz,mconley
...
MozReview-Commit-ID: 2yb0WGFYBsH
--HG--
extra : rebase_source : 376171077c577e41e82cec5e994c425c6d9f2d80
extra : histedit_source : 39aad91381749a263042cd0452fe32019a1974b8
2016-12-09 09:23:24 -10:00
Gijs Kruitbosch
a64e4f1b0e
Bug 1322414 - part 1 - remove GetContentShellById and id passing, r=bz
...
MozReview-Commit-ID: FggtlNAP6ax
--HG--
extra : rebase_source : 3e20f36001d5b19e334941c2638573ba838d2df7
extra : histedit_source : 3f47eea51d257f23b0a5ba655911aab4d43ba8d1
2016-12-08 11:12:36 -10:00
Michael Layzell
90b728b596
Bug 1318767
- Part 4: Add a test for navigating into dead PartialSHistories, r=ehsan
...
MozReview-Commit-ID: LT8NeCdf3fm
2016-12-14 16:11:29 +08:00
Michael Layzell
65b516822e
Bug 1318767
- Part 3: Use SessionStore to recover from missing GroupedSHistory segments, r=ehsan, r=mconley
...
MozReview-Commit-ID: FDmQIjiHox7
2016-12-13 16:32:54 +08:00
Michael Layzell
d24aef4068
Bug 1318472 - Remove inactive hidden tabs when removing the primary tab, r=ehsan
...
MozReview-Commit-ID: KiMsKOljNpE
2016-12-14 01:55:00 +08:00
Andrea Marchesini
a69bf81efe
Bug 1322588 - Get rid of nsIDocShell::addSessionStorage, r=qdot
2016-12-12 09:33:11 +01:00
Nihanth Subramanya
a84e6f6916
Bug 989197 - Include captive portal state as a flag in the about:certerror URI. r=valentin
...
MozReview-Commit-ID: J2MjX6zJOTA
--HG--
extra : rebase_source : 272e9158355cac695947503eb0384b9c114b98be
2016-12-01 15:41:41 -08:00
Dave Huseby
fc467046c8
Bug 1309070 make sure that docshell always has private browsing id unset. r=ehsan
2016-12-01 14:11:00 +01:00
Boris Zbarsky
e0e53c48ae
Bug 1310796 part 3. Remove the aTargetable argument of contentShellAdded. r=mystor
2016-12-08 16:41:45 -10:00
Boris Zbarsky
846587070f
Bug 1310796 part 1. Get rid of GetTargetableShellCount in favor of a more explicit GetTabCount. r=mystor,gijs
2016-12-08 16:41:45 -10:00
Sebastian Hengst
98798d9c07
Backed out changeset 5ac111460188 (bug 1316256) for failure in test_ext_webrequest_basic.html. r=backout
2016-12-07 13:52:18 +01:00
JOrg K
7d596b4b82
Bug 1316256 - Allow passing nullptr as principal to content policy check. r=bz
2016-12-01 15:32:11 +08:00
Boris Zbarsky
41288ac4b0
Bug 1318911. When creating an about:blank content viewer during a history navigation to a javascript: URI, use the right principal. r=tanvi
2016-12-06 07:41:42 -10:00
Dave Huseby
feaec25987
Bug 1316075 - Additional patch to clean up tabs and trailing whitespace in files touched. r=ehsan
...
--HG--
extra : rebase_source : 1344bdec2d3c11dcb2b025c7bd071f110e6b99ba
extra : histedit_source : 8e697a2200117bf0db6e6728f65ffe71f88fcc5b
2016-11-28 10:41:46 -08:00
Dave Huseby
59c8485430
Bug 1316075 - Add asserts for the places where we've gotten rid of the private browsing boolean. r=ehsan
...
--HG--
extra : rebase_source : 7088d1e4666b903bb7b6fcc9255974b04c248e36
extra : histedit_source : 299bc64978878300c2e00b2f2730fd22d0a95e0c
2016-11-21 14:58:10 -08:00
Tooru Fujisawa
674c6d8531
Bug 1321217 - Remove legacy generator from docshell/. r=smaug
2016-12-01 18:04:50 +09:00
Timothy Nikkel
369187c6f2
Bug 1312609. r=smaug a=abillings
2016-11-29 15:15:35 -06:00
Samael Wang
cb7131182c
Bug 1310768 - Use CreataAboutBlankContentViewer to stop inactive tabs. Update History API. a=ehsan
...
MozReview-Commit-ID: LPcaQkQ900G
2016-11-29 17:31:17 +08:00
Andrew McCreight
908a323277
Backed out changeset 2bbc7be933e2 (bug 1309070) for causing bug 1320041.
2016-11-26 09:31:17 -08:00
Sebastian Hengst
934d575f3f
Backed out changeset c4669804cc49 (bug 1318472) for failing browser_close_dependent_tabs.js. r=backout
2016-11-24 21:58:41 +01:00
Michael Layzell
612c74d39f
Bug 1318472 - Remove inactive hidden tabs when removing the primary tab, r=ehsan
...
MozReview-Commit-ID: KiMsKOljNpE
2016-11-24 12:23:09 -05:00
Gijs Kruitbosch
be8efc6f08
Bug 1314249 - if the target changes, assume we should not pass an opener ref, r=smaug
...
MozReview-Commit-ID: 7DBrRW1WiMP
--HG--
rename : browser/base/content/test/general/browser_bug1064280_changeUrlInPinnedTab.js => browser/base/content/test/tabs/browser_navigatePinnedTab.js
extra : rebase_source : 2aa1a459e07cd0d326e9c3d6e1b87afd0dbbc28b
2016-11-16 16:31:42 +00:00
Dave Huseby
531d98d41c
Bug 1309070 - make sure that docshell always has private browsing id unset. r=ehsan
2016-11-21 12:53:00 +08:00
Geoff Brown
6ebd2eb0c4
Bug 1040769 - Enable test_bug570341.html; r=ehsan
2016-11-22 13:49:48 -07:00
Dave Huseby
4e53da9544
Bug 1309067 - adding asserts to ensure boolean and OA private browsing values match. r=ehsan
2016-11-17 12:14:00 +01:00
Phil Ringnalda
dcbcef52c1
Bug 1040769 - disable test_bug570341.html on Android debug for constant failures
2016-11-17 21:57:10 -08:00
Michael Layzell
d6d2411526
Bug 944694 - Part 1: Use globally unique UUIDs for docshellID, r=smaug
...
MozReview-Commit-ID: DVLMijTkYKh
2016-11-17 16:50:48 -05:00
Ehsan Akhgari
d07f79a266
Bug 1318210 - Remove nsIAppsService; r=baku
2016-11-17 10:41:36 -05:00
Ehsan Akhgari
eac76d9772
Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
...
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact. Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app. In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed. In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID. Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Carsten "Tomcat" Book
3eacc680db
Backed out changeset 7d1f7dd996f7 (bug 1310845)
2016-11-16 14:50:44 +01:00
Ehsan Akhgari
cb369370b3
Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
...
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact. Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app. In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed. In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID. Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
Christoph Kerschbaumer
c658a4fd74
Bug 1316889 - Remove dead triggeringPrincipal fallback in docshell. r=bz
2016-11-11 17:21:18 +01:00
Markus Stange
3994547b42
Bug 1307242 - Add a non-blank paint telemetry probe for foreground root content documents. r=bkelly, f=bsmedberg
...
This adds a probe called TIME_TO_NON_BLANK_PAINT_MS which reports time to
non-blank paint for root content documents whose docshell was active for the
entire time between navigation start and first non-blank paint.
MozReview-Commit-ID: 7JQdk5vHr1O
--HG--
extra : rebase_source : 66be2aab4c4a32d20fb44c88c5270c5b5cfc0b81
extra : histedit_source : 5d6bef86d4a2a2250405d24ce28c6bfd9d654f8d
2016-11-10 14:26:54 -05:00
Ben Kelly
6495475955
Bug 1316289 P1 Make sure we thaw child frames properly. r=smaug
2016-11-10 14:02:18 -08:00
Carsten "Tomcat" Book
4b6cab91f9
merge mozilla-inbound to mozilla-central a=merge
2016-11-10 16:59:38 +01:00
Tim Huang
950b86072e
Bug 1313627 - Get the firstPartyDomain from the nodePrincipal of the document in nsDocShell::CanAccessItem() if the first party isolation is on. r=smaug
2016-11-10 14:20:38 +08:00
KuoE0
1ea270f7da
Bug 1305352 - (Part 1) Make Presentation API support XUL browser element. r=smaug
...
MozReview-Commit-ID: 9t5mhvcbpXB
--HG--
extra : rebase_source : 50c65bf06aae1df6a17e9328315edf977ceada49
2016-10-27 11:27:41 +08:00
Christoph Kerschbaumer
f2776f1b8d
Bug 1308889 - Try to explicitly pass aTriggeringPrincipal and aPrincipalToInherit to DoURILoad(). r=bz
2016-11-08 07:23:12 +01:00
Blake Kaplan
eb41df1277
Bug 1311197 - Remove CPOWs from docshell browser-chrome tests. r=Gijs/felipe
...
MozReview-Commit-ID: G5qS7TUfvBC
2016-11-07 14:43:42 -08:00
Blake Kaplan
7982323f6d
Bug 1311197 - Remove CPOWs from browser_bug655270.js. r=Gijs
...
MozReview-Commit-ID: 1GuTsuHMd6g
2016-11-07 14:43:41 -08:00
Sebastian Hengst
855e7a17e9
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: docshell. r=RyanVM
...
MozReview-Commit-ID: BI6jc9bsXCE
--HG--
extra : rebase_source : 1127a829ff222a40b7b3358507c7ce3afe81ecea
2016-11-05 11:29:14 +01:00
Michael Layzell
d53091c307
Bug 1314792 - Extract process changing logic into nsContentUtils::GetDocShellProcessLock, r=bkelly
...
MozReview-Commit-ID: FI0pIvHPN0h
2016-11-04 13:40:55 -04:00
Ting-Yu Lin
904617e77f
Bug 1310509 - Call NotifyAsyncPanZoomStarted/Stopped on document containing current scrolling content. r=kats
...
We now call NotifyAsyncPanZoomStarted/Stopped precisely on the document
which is being transformed, so we no longer need to notify the child
docshells which was added in Bug 1088559.
Remove the |nsIDocument| argument for ProcessAPZStateChange(), which is not
used anymore.
mActiveAPZTransforms added in bug 1142926 is removed because AccessibleCaret
is the only consumer for AsyncPanZoomStarted/Stopped, and it now defaults to
always show while scrolling, i.e.
"layout.accessiblecaret.always_show_when_scrolling" defaults to true. And I
cannot reproduce the bug even if I turn off the preference.
MozReview-Commit-ID: DiEk2gCIHn2
2016-11-04 22:27:02 +08:00
Michael Layzell
0ae1d338c3
Bug 1313739 - Move TabGroup into its own file, seperate from DocGroup, r=bkelly
...
MozReview-Commit-ID: AndPWOBpkox
2016-10-31 13:40:36 -04:00
Michael Layzell
c72ea0d3f1
Bug 1310778 - Move TabGroup and GetDocGroup accessors onto nsPIDOMWindow{Inner,Outer}, r=smaug
...
MozReview-Commit-ID: Hl0QVktr0Lw
2016-10-28 15:38:28 -04:00
Phil Ringnalda
b6eec64324
Merge m-c to a CLOSED TREE m-i
...
MozReview-Commit-ID: 2JxLeQ8GYIX
2016-10-27 20:36:38 -07:00
Michael Layzell
76969f2737
Bug 1310345 - Change FindChildWithName and related methods to take nsAString& instead of char16_t*, r=bz
...
MozReview-Commit-ID: 4aQwYX9ObcN
2016-10-27 15:53:35 -04:00
Michael Layzell
029a7def5d
Bug 1303196 - Part 3: Update the named window resolution logic to be scoped to TabGroup instead of being process-global, r=bz
...
MozReview-Commit-ID: FaGoj6wmEuG
2016-10-27 15:53:35 -04:00
Michael Layzell
f9eea2d135
Bug 1303196 - Part 2: Connect the DocGroup and TabGroup objects to nsGlobalWindow and nsDocument, ensuring that Opener is set early enough that it is correct, r=smaug
...
MozReview-Commit-ID: 3rZfLw3dXkF
2016-10-27 15:53:35 -04:00
Ben Kelly
0983850a63
Bug 1303167
P6 Rename new suspend and freeze methods to final names. r=smaug
2016-10-26 10:20:16 -07:00
Ben Kelly
bf0ca72f77
Bug 1303167
P2 Use new window suspend and freeze methods. r=smaug
...
* * *
Bug 1303167
P2 interdiff 0001 Review feedback
2016-10-26 10:20:15 -07:00
Ehsan Akhgari
98fb5e2107
Bug 1312527 - Promote docshell private browsing assertions to diagnostic asserts; r=baku
...
This will allow us to catch these assertions failing in non-debug
builds on our pre-release channels.
2016-10-25 09:28:40 -04:00
Valentin Gosu
db9440de51
Bug 1305204 - (Part 2) Backout bug 1275746 a=backout
...
MozReview-Commit-ID: H8aCKdJzEbR
2016-10-23 14:24:45 +02:00
Eric Rahm
a2f7bff287
Bug 1311759 - Remove unused references to nsISupportsArray. r=froydnj
...
This removes various references to nsISupportsArray throughtout the tree that
aren't used.
MozReview-Commit-ID: EtgD1DRwY8e
2016-10-21 16:34:42 -07:00
Ryan VanderMeulen
5c4d7020f2
Merge m-c to inbound. a=merge
2016-10-21 11:08:45 -04:00
Carsten "Tomcat" Book
bbfd099b2d
Merge mozilla-central to autoland
2016-10-20 17:27:57 +02:00
Bob Owen
6327ab0913
Bug 1309900 Test: Ensure cross process history works when both history entries have children. r=smaug
...
MozReview-Commit-ID: 1qIjyXNzws0
--HG--
extra : rebase_source : a383b47f91216784842a3934a1115f60a28c521d
2016-10-20 10:33:42 +01:00
Bob Owen
e2cf5e1e75
Bug 1309900: Fix subframe history navigation logic. r=smaug
...
Renamed CompareFrames to LoadDifferingEntries to make what it does more clear.
Also, use this to do the top level load for the forward / back cases as it is pretty much set up to do that already.
MozReview-Commit-ID: G8cO0jDZebR
--HG--
extra : rebase_source : 4c9f3d77ad29ad5c447efd7c702b37c5581de1ab
2016-10-20 10:33:22 +01:00
Ehsan Akhgari
4a51ebacfa
Bug 1310378 - Remove support for mozwidget; r=baku
2016-10-17 13:15:36 -04:00
Ehsan Akhgari
e2fdfd7548
Bug 1310366 - Remove support for app redirects; r=baku
2016-10-17 13:15:36 -04:00
Ehsan Akhgari
ceb6c867f9
Bug 1310350 - Fix the return value of nsDocShell::GetInheritPrivateBrowsingId(); r=baku
...
This function was mistakenly returning mPrivateBrowsingId instead of
mInheritPrivateBrowsingId. Thankfully this function isn't being used
anywhere yet.
2016-10-17 10:05:12 -04:00
Bill McCloskey
ef9a4d78b7
Bug 1211270 - Fix CPOW bug in browser_onbeforeunload_navigation.js (r=mrbkap)
2016-10-19 16:26:22 -07:00
Kris Maglione
a6c6580702
Bug 1294442: Part 1 - Allow calculating content size with constraints. r=smaug
...
MozReview-Commit-ID: 4AyootQ5icK
--HG--
extra : rebase_source : 8d2421263e7636c99cecd1f7cf9dda2da20be6f3
2016-10-19 13:10:18 -07:00
Ehsan Akhgari
87f7da8481
Bug 1310014 - Avoid capturing JS backtraces in TabChild::DidRequestComposite(); r=tromey
2016-10-14 15:33:39 -04:00
Christoph Kerschbaumer
a14cba1726
Bug 1303943: Don't inherit principal for external loads and update documentation for principalToInherit. r=bz
2016-10-14 20:08:21 +02:00
Ehsan Akhgari
69dce6c397
Bug 1310101 - Remove nsILoadContext::IsAppOfType; r=baku
2016-10-14 10:45:27 -04:00
Sebastian Hengst
700f9d4edf
Backed out changeset 07f70194e136 (bug 1303943) for tests crashing related to sessionhistory. r=backout on a CLOSED TREE
2016-10-14 12:53:09 +02:00
Christoph Kerschbaumer
12c0c49d7e
Bug 1303943 - Don't inherit principal for external loads and update documentation for principalToInherit. r=bz
2016-10-13 15:13:40 +02:00
Carsten "Tomcat" Book
1615c5d144
Backed out changeset 9ae5fb774393 (bug 1297338
) landed with wrong bug number
2016-10-14 08:44:00 +02:00
Christoph Kerschbaumer
f3cb1ffcb6
Bug 1297338
- Don't inherit principal for external loads and update documentation for principalToInherit. r=bz
2016-10-13 15:13:40 +02:00
Mike Conley
a99bfe13e7
Bug 1288606 - Fix intermittent orange by making sure a weakly held nsISHistoryListener doesn't get GC'd before the browser_bug670318.js completes. r=jaws
...
MozReview-Commit-ID: AWvpK6OpmmI
--HG--
extra : rebase_source : 40863e55308f18a6f4172fe74fad323c0ad9cc38
2016-10-11 09:43:57 -04:00
Eric Rahm
f52b26bf1d
Bug 1308611 - Convert nsISHEntry.refreshURIList to nsIMutableArray. r=bz
...
|refreshURIList| is converted to a an nsIMutableArray as nsISupportsArray is
deprecated. This attribute is only used internally and does not show up in a
textual search of the plugins repo.
nsIMutableArray is used rather than nsIArray in order to support modifying the
array as current users expect.
MozReview-Commit-ID: F0GYVFZarOQ
2016-10-10 11:36:41 -07:00
Yoshi Huang
a43d017190
Bug 1264137 - Part 4: Improve the usefulness of what we pass as requestingContext to nsIContentPolicy for navigations (loads in a docshell). r=bz
...
For toplevel document loads (TYPE_DOCUMENT) in the content process,
we pass the currently-loaded window, if any.
For toplevel document loads in the chrome process (e.g. tabs in non-e10s mode),
we pass the node which created our docshell, if any.
For all subframe loads, we pass the node that created the docshell,
which is the frameElement of the window in the docshell.
2016-10-07 17:40:21 +08:00
Yoshi Huang
06ba09a073
Bug 1264137 - Part 3: perform ContentPolicy check if the load is happening on this docshell. r=bz, smaug
2016-10-07 17:40:21 +08:00
Yoshi Huang
351ea50d4c
Bug 1264137 - Part 2: use isTargetTopLevelDocShell instead. r=bz
...
In Bug 841850 we added a !isNewDocShell check.
And In Bug 902350 we added a !isTargetTopLevelDocShell check.
We can get rid of isNewDocShell variable and just keep track of
isTargetTopLevelDocShell.
2016-10-07 17:40:21 +08:00
Yoshi Huang
a1cdd18cb8
Bug 1264137 - Part 1: rename from loadingPrincipal to requestingPrincipal in nsDocShell::InternalLoad. r=bz
...
In nsIContentPolicy terminology, it uses 'requestingPrincipal'.
So in nsDocShell::InternalLoad, we rename 'loadingPrincipal' to
'requestingPrincipal', and rename 'context' to 'requestingContext' when
calling nsIContentPolicy.
2016-10-07 17:40:21 +08:00
Samael Wang
966a44a7f2
Bug 1276553 - Part 1: Make nsISHistory support partial mode. r=smaug
...
Make nsISHistory support partial mode and create interfaces which
DOM level grouped session history should implement.
MozReview-Commit-ID: BXhBY6aJ0f7
--HG--
extra : rebase_source : bee5fd8354d2fdef8b3bac202d158c95c7e4e6e0
2016-10-14 15:18:29 +08:00
Christoph Kerschbaumer
fcc4788550
Bug 1307720 - Assert that docshell loads of TYPE_SUDOCUMENT always get a valid principal. r=tanvi
2016-10-05 14:24:38 +02:00
Christoph Kerschbaumer
5183f418bc
Bug 1305012 - Test downgrading a new channel's principal to NullPrincipal. r=smaug
2016-10-05 21:20:38 +02:00
Boris Zbarsky
34454ebcd3
Bug 1222516 part 4. Implement support for rel=noopener on links. r=mconley
2016-10-20 16:52:39 -04:00
Boris Zbarsky
d53cc929eb
Bug 1222516 part 3. Rejigger our rel="noreferrer" support to avoid setting an opener altogether instead of setting one and then nulling it out. r=mconley
2016-10-20 16:52:38 -04:00
Samael Wang
104fe2c997
Bug 1300461 - UpdateIndex on LOAD_NORMAL_REPLACE, ReplaceEntry at requestedIndex when available. r=smaug
...
--HG--
extra : rebase_source : 9bb3c7488a1785ee5c4106b8e024555f31b3220c
2016-09-30 11:55:10 +08:00
Blake Kaplan
fb560b4220
Bug 1304531 - Remove CPOW usage from browser_ua_emulation.js. r=Felipe
...
MozReview-Commit-ID: 4RnoWuVogCT
--HG--
extra : rebase_source : d096117b65edf49a51d4fa6230cf8d61b6852b83
2016-09-20 17:19:34 -07:00
Blake Kaplan
7afea958da
Bug 1304531 - Remove CPOW usage from browser_timelineMarkers-01.js. r=Felipe
...
MozReview-Commit-ID: Ec3py9hntta
--HG--
extra : rebase_source : a2e505f9297eede9495672bfe27943b7ca768622
2016-09-20 17:07:39 -07:00
Blake Kaplan
98dc405cb8
Bug 1304531 - Remove CPOW usage from browser_bug655273.js. r=Felipe
...
MozReview-Commit-ID: G27FHSB1SxF
--HG--
extra : rebase_source : ff36435f10832a7dfde60b8f1fb11b92e3dfc4cd
2016-09-20 16:58:08 -07:00
Gijs Kruitbosch
9e706873c7
Bug 1295002 - don't accept nested view-source: references in nsDefaultURIFixup, r=smaug
...
This seems like much the simplest way to prevent the recursion. Other alternatives
include some kind of member var to track state (which wouldn't be threadsafe, though
I don't know that that really matters for this component) or adding a field on
nsIDefaultURIFixupInfo, which seems ugly. This is a bit hacky, but it seems to work.
MozReview-Commit-ID: 7CCVvENSRVD
--HG--
extra : rebase_source : b42552de2607ba4830757adcd6be6df2b27c76ee
2016-10-02 22:54:20 +01:00
Nathan Froyd
750375642d
Bug 1305422 - part 14 - don't call size_forward in nsDefaultURIFixup.cpp; r=bkelly
2016-09-29 22:33:57 -04:00
James Andreou
a47ce92ac2
Bug 1282124 - Remove nsILoadInfo.usePrivateBrowsing and the SEC_FORCE_PRIVATE_BROWSING flag; r=smaug,jryans
2016-09-27 16:56:44 -04:00
Kate McKinley
c57d400961
Bug 1246540 - HSTS Priming Proof of Concept. r=ckerschb, r=mayhemer, r=jld, r=smaug, r=dkeeler, r=jmaher, p=ally
...
HSTS priming changes the order of mixed-content blocking and HSTS
upgrades, and adds a priming request to check if a mixed-content load is
accesible over HTTPS and the server supports upgrading via the
Strict-Transport-Security header.
Every call site that uses AsyncOpen2 passes through the mixed-content
blocker, and has a LoadInfo. If the mixed-content blocker marks the load as
needing HSTS priming, nsHttpChannel will build and send an HSTS priming
request on the same URI with the scheme upgraded to HTTPS. If the server
allows the upgrade, then channel performs an internal redirect to the HTTPS URI,
otherwise use the result of mixed-content blocker to allow or block the
load.
nsISiteSecurityService adds an optional boolean out parameter to
determine if the HSTS state is already cached for negative assertions.
If the host has been probed within the previous 24 hours, no HSTS
priming check will be sent.
MozReview-Commit-ID: ES1JruCtDdX
--HG--
extra : rebase_source : 2ac6c93c49f2862fc0b9e595eb0598cd1ea4bedf
2016-09-27 11:27:00 -04:00
Christoph Kerschbaumer
bc9a70d964
Bug 1297338
- Introduce concept of principalToInherit to docshell and scriptSecurityManager. r=bz
2016-09-20 08:36:25 +02:00
Bill McCloskey
50c44c717c
Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap)
2016-09-16 20:35:11 -07:00
Kris Maglione
afd82f6743
Bug 1294199: Part 1 - Add a docShell flag to allow legacy panels to skip inheriting origin attributes. r=ehsan
...
MozReview-Commit-ID: 1c6V0kv9E38
--HG--
extra : rebase_source : 9a9ab21a41a8a235378ff7a21dccbf9de37a5499
2016-09-15 13:47:55 -07:00
Eric Rahm
e6256c9f1a
Bug 1299642 - Fix docshell errors when breaking chrome -> chrome leaks. r=ted
...
It appears the lambda function passed to waitForFocus goes out of
scope when the window is closed. Just pass in SimpleTest.finish
directly instead.
2016-09-15 16:43:38 -07:00