Commit Graph

3395 Commits

Author SHA1 Message Date
Blake Kaplan
f01e5763b8 Bug 1240246 - Handle re-entrancy in nsDocShell::InternalLoad more gracefully. r=smaug 2016-03-09 17:12:36 -08:00
Blake Kaplan
ce47da7e2a Bug 1253792 - Handle another case of re-entrancy through nsDocShell::InternalLoad. r=smaug 2016-03-09 12:26:00 -05:00
Tom Tromey
aa07d5bcbe Bug 1245743 - Don't push new timeline markers while popping markers. r=vporof
MozReview-Commit-ID: IllTB7DOdlZ
2016-03-09 19:19:47 -05:00
Andrea Marchesini
31635f4f9a Bug 1254103 - Window.open() should not reuse an existing window if it's running a different container, r=bz 2016-03-09 14:57:50 +01:00
Yoshi Huang
e8cb28ed02 Bug 1252811 - remove mIsInIsolatedMozBrowser from nsDocShell. r=smaug 2016-03-07 12:21:49 +08:00
Ben Kelly
7ebbd928f1 Bug 1253738 P1 Require an explicit principal when looking up a service worker registration. r=baku 2016-03-08 06:55:41 -08:00
Andrea Marchesini
4696731947 Bug 1253538 - Window.open() should not reuse an existing window if it's running a different container - patch 2, r=bz 2016-03-07 14:00:08 +01:00
Blake Kaplan
456e54eb3b Bug 1113196 - Pass a sane set of parameters to loadinfo for top-level loads in e10s. r=sicking 2016-03-04 08:54:07 -08:00
Valentin Gosu
d77d9c2af1 Bug 652186 - Remove unneeded backslash replacement from nsDefaultURIFixup r=bz
MozReview-Commit-ID: 5IPxr8nWk7b

--HG--
extra : rebase_source : fce3dd4732d313337cdf210770233d54457ddac7
2016-03-03 15:27:43 +01:00
Yoshi Huang
ce8e69a274 Bug 1227861 - Add OriginAttributes getter/setter into nsIDocShell. r=smaug, sicking 2016-02-16 15:04:14 +08:00
James Willcox
73d84cb178 Bug 518805 - Don't do meta refreshes when backgrounded r=bz
This is controlled by browser.meta_refresh_when_inactive.disabled, which
is false (allow refreshes) on desktop, and true (disable refreshes) on Fennec
2016-03-02 16:32:27 -06:00
Andrea Marchesini
5d211456d5 Bug 1252839 - Remove some if stmt after allocation with 'new' - patch 1, r=bz 2016-03-02 18:50:48 +01:00
J. Ryan Stinnett
777c113bb3 Bug 1238160 - Set docshell isolation mode. r=smaug
Renames nsDocShell isBrowser* attributes to add a "Moz" prefix for clarity.

Adds nsDocShell::GetIsIsolatedMozBrowserElement, which parallels
GetIsInIsolatedMozBrowserElement, but only checks the immediate docshell.

Adds nsDocShell::SetIsInIsolatedMozBrowserElement for the frame loader and tab
child to set the isolation state.

nsDocShell methods related to mozbrowser elements (and their callers) are
updated to use GetIs(In)?IsolatedMozBrowserElement when checking isolation /
origins and GetIsMozBrowserElement when checking frame types.

MozReview-Commit-ID: 6pGD5fF47ZN
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
5bede71f0d Bug 1238160 - Rename nsILoadContext::GetIsInBrowserElement. r=smaug,mayhemer
This change renames nsILoadContext::GetIsInBrowserElement to
GetIsInIsolatedMozBrowserElement.  Other methods that pass these values around
also have name changes.

Tokens such as "isInBrowserElement" have previously been serialized into cache
keys, used as DB column names, stored in app registries, etc.  No changes are
made to any serialization formats.  Only runtime method and variable names are
updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: CUttXANQjSv
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
2a55d065b7 Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
Jonathan Kew
e47c42c4d1 Bug 1252347 - Provide missing implementations of nsIBaseWindow::SetPositionDesktopPix. r=emk 2016-03-02 12:15:19 +00:00
Hiroyuki Ikezoe
09b0051cfd Bug 1244897 - Use TimerlineConsumers in PopProfileTimelineMarkers to ensure that all methods acquire TimelineConsumers Mutex. r=vporof
MozReview-Commit-ID: 5VzLfT5SUjI

--HG--
extra : rebase_source : 12df03d9d05698057686113145ddb33b3dd5e0ea
2016-03-01 19:54:47 +09:00
Ehsan Akhgari
8a0731fdde Bug 1251875 - Part 1: Remove the dom.serviceWorkers.interception.enabled pref; r=bkelly 2016-03-01 09:16:38 -05:00
Andrea Marchesini
9229fda61b Bug 1249950 - Add Performance Markers for MessagePort - patch 2, r=smaug, r=vporof 2016-03-01 09:16:18 +01:00
Andrea Marchesini
4132d10502 Bug 1249950 - Add Performance Markers for MessagePort - patch 1 - remove non-useful 'explicit', r=smaug 2016-03-01 09:15:50 +01:00
Francois Marier
53454d8416 Bug 1245992 - Update the Safe Browsing phishing interstitial page. r=flod,past
MozReview-Commit-ID: DLC1KDvYbUH

--HG--
extra : rebase_source : 7289c93af47827f8a8dd78285d7beecf31935f3c
2016-02-25 21:34:01 -08:00
Phil Ringnalda
c279cb263c Back out 2 changesets (bug 1245992) for several browser-chrome failures
Backed out changeset 6d9614f87daf (bug 1245992)
Backed out changeset 34e6eea401e3 (bug 1245992)
2016-02-25 19:15:16 -08:00
Francois Marier
b5682aa996 Bug 1245992 - Update the Safe Browsing phishing interstitial page. r=flod,past
MozReview-Commit-ID: JnYOqtCIib7

--HG--
extra : rebase_source : 4488fa66efd6a1dd6d1b477836a772549a0424c3
2016-02-24 16:23:25 -08:00
Jonathan Kew
cb99502b79 Bug 1247335 - patch 1 - Provide a desktop-pixel variant of SetPosition on nsIBaseWindow and its implementations. r=emk 2016-02-18 10:46:16 +00:00
David Rajchenbach-Teller
665d890187 Bug 1243706 - Release PerformanceStats/PerformanceWatcher;r=Felipe
MozReview-Commit-ID: 4XT21bfBSa9

--HG--
extra : rebase_source : 4d35245170930e18bbfaf9ebba8e9d24fa52a87e
2016-01-28 13:41:14 +01:00
Boris Zbarsky
96f906f124 Bug 1247872. Just get our private browsing state directly off the docshells we already have instead of trying to indirect through their documents. r=smaug 2016-02-12 21:29:49 -05:00
Birunthan Mohanathas
d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Ehsan Akhgari
5755012009 Bug 1244076 - Fix a crash in nsDocShell::IssueWarning by null-checking mContentViewer; r=bzbarsky 2016-02-02 10:25:19 -05:00
Phil Ringnalda
d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Wes Kocher
b9d77f5943 Backed out changeset 2c56aed63687 (bug 1219482) to hopefully fix the intermittent hazard failures CLOSED TREE
--HG--
extra : commitid : 7egFNnxx2ut
2016-01-29 10:15:38 -08:00
sajitk
6fdb9b782e Bug 1219482 - Replace PRLogModuleInfo with LazyLogModule in various files. r=bsmedberg
--HG--
extra : rebase_source : 37e8f53a8aa5242058ab8fc867804cbc8940653e
2016-01-28 10:35:00 -05:00
Michael Madsen
150b645ebb Bug 1241377 - Part 1: Implement nsIFormPOSTActionChannel for the channel accepts form POST. r=mayhemer 2016-01-28 19:38:34 +09:00
Paul Kerr [:pkerr]
447a27169b Bug 1209252: add buttons to clear session and signaling logs. r=jib, r=sicking 2016-01-27 16:05:10 -08:00
Nicholas Nethercote
0676bfa504 Bug 1239864 (part 3) - Use the new rect iterators in docshell/ and dom/. r=baku.
--HG--
extra : rebase_source : 7dbf2f2a83c8f35769cd0ba974a20f99d420c5a2
2016-01-18 17:20:44 -08:00
Patrick McManus
519de62f7c Bug 567365 - allow bfcache for no-cache/https r=jduell r=bz 2016-01-26 13:27:46 -05:00
Carsten "Tomcat" Book
1b3a625f51 Backed out changeset e73523d185a7 (bug 567365) for m-oth failures in test_bug112564.xul
--HG--
extra : rebase_source : 4dd3038d27708719a5382b32b929125c583105b6
2016-01-26 16:11:13 +01:00
Patrick McManus
3a54e21101 Bug 567365 - allow bfcache for no-cache/https r=jduell r=bz 2016-01-25 16:10:06 -05:00
Kartikaya Gupta
7edfa23c56 Bug 1238042 - Add about:checkerboard. r=ehsan,botond
--HG--
extra : commitid : 5nGtf4Sp600
2016-01-22 20:27:28 -05:00
Tooru Fujisawa
3614b6bde7 Backout changeset 8bbed05c1661 r=bz a=abillings 2016-01-22 06:40:03 +09:00
Nicholas Nethercote
2282e33e5b Re-backout c216ff19d690 (bug 1059014 part 3) because the removed code is less dead than it first appears.
--HG--
extra : rebase_source : 22c84e309f8b9e26c359108905a2e8a6e5df2bb7
2016-01-20 22:55:37 -08:00
Honza Bambas
31fe69aff2 Bug 1087320 - On charset reload set LOAD_FROM_CACHE only on the default channel, r=bz r=jduell 2016-01-19 15:28:00 +01:00
Andrea Marchesini
dcfa1c7611 Bug 1239420 - UserContextId should be propagate to nested docShells, r=smaug 2016-01-18 12:03:46 -08:00
Andrea Marchesini
abb7ba49be Bug 1240094 - nsDocShell should initialize mUserContextId to nsIScriptSecurityManager::DEFAULT_USER_CONTEXT_ID, r=smaug 2016-01-16 10:01:47 +00:00
Luke Wagner
6ebd19920f Bug 1239601 - improve the UniquePtr situation (r=jorendorff)
--HG--
extra : commitid : FwqWNSZ3SKY
extra : rebase_source : 75ed67bfadcbdaeb5bf89a57ad6ca9ef75b7f1f0
2016-01-15 18:26:06 -06:00
Wes Kocher
6d1e417938 Backed out changeset b20e5de65e51 (bug 1239420) for m(bc) failures in browser_usercontext.js
--HG--
extra : commitid : HbBPWGSMxWu
2016-01-15 12:13:51 -08:00
Andrea Marchesini
31bbbc390a Bug 1239420 - UserContextId should be propagate to nested docShells, r=smaug 2016-01-15 18:33:35 +00:00
Jonathan Kew
45d2ab27ce Bug 890156 - patch 2 - Expose DevicePixelsPerDesktopPixel through nsIBaseWindow and its implementations. r=emk 2015-11-25 19:12:07 +00:00
Andrea Marchesini
8ed4c36149 Bug 1231378 - part 1 - Fix uninitialized members of classes in docshell/*, r=smaug 2016-01-12 18:16:59 +00:00