Граф коммитов

3543 Коммитов

Автор SHA1 Сообщение Дата
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
Carsten "Tomcat" Book d292fb5cca Backed out changeset 445a64a37945 (bug 1231378) for bustage on a CLOSED TREE 2016-01-12 15:49:11 +01:00
Andrea Marchesini 1d5200c92d Bug 1231378 - part 1 - Fix uninitialized members of classes in docshell/*, r=smaug 2016-01-12 13:54:52 +00:00
Yoshi Huang 5fe754efd4 Bug 1230459 - Use InheritFromDocToChildDocShell in LoadContext. r=sicking 2015-12-04 16:18:57 +08:00
Nicholas Nethercote ec89bbf7f2 Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Philip Chee 5b40bb36a6 Bug 1233997 - about:debugging should be available to all applications that ship the Devtools client (and not just Firefox) r=jryans
--HG--
extra : transplant_source : %A3%1C%AB%E5Z%D4w%28%98%E8%A3%0EcB%C3J%1FBD%91
2016-01-06 22:10:33 +08:00
Andrea Marchesini 54e1406a46 Bug 1237081 - remove the getter of userContextId from nsIDocShell, r=smaug 2016-01-06 15:39:58 +00:00
Nigel Babu 442c7ab5e1 Backed out changeset 1b5c66916877 (bug 1237081) for mochitest browser-chrome bustage
--HG--
extra : commitid : HyS2gutZZNx
2016-01-06 12:01:27 +05:30
Andrea Marchesini ed29611caa Bug 1237081 - Remove the getter of userContextId from nsIDocShell. r=smaug
--HG--
extra : rebase_source : 2909919577005b2a988eeb82d8e6414dadfb44d9
2016-01-05 14:22:00 -05:00
Olli Pettay fb35bc42f0 Bug 1237075 - Navigating from 'manual' to 'auto' session history entry should scroll the page, r=jst
--HG--
extra : rebase_source : c6d901084edf1b17e21c44515a0483c7fbcc77dd
2016-01-06 04:03:42 +02:00
Andrea Marchesini cb358b3a57 Bug 1193854 - Restoring userContextIds with the browser session - part 1 - store the userContextId in sessionStore, r=smaug, r=ttaubert 2016-01-05 21:00:33 +00:00
Ehsan Akhgari 40c82fa10c Bug 1236686 - Remove nsIFetchEventDispatcher; r=jdm 2016-01-05 15:04:41 -05:00
Andrea Marchesini 903d6fc725 Bug 1235402 - Disable about:profile for android and b2g, r=ehsan 2015-12-29 18:42:47 +00:00
Olli Pettay 2b2b2cc690 Bug 1155730, implement History.scrollRestoration r=jst 2015-12-26 12:59:09 +02:00
Andrea Marchesini df07716a31 Bug 1179129 - about:profiles, r=ehsan 2015-12-15 14:12:06 +00:00
Tim Nguyen cf7f672f1c Bug 1137681 - Per-tab user agent emulation. r=bz 2015-07-21 08:42:00 +02:00
Bogdan Postelnicu 2186421c01 Bug 1231633 - give scalar mLoadReplace a default value. r=bz 2015-12-11 00:45:00 +01:00
Ehsan Akhgari d8cef2d841 Bug 1222464 - Part 2: Implement FetchEvent.clientId; r=jdm 2015-12-02 20:36:59 -05:00
Ehsan Akhgari f9035eb119 Bug 1222464 - Part 1: Save a client ID for top-level navigations on the docshell and assign it as the document ID when we start loading the document; r=jdm
For top-level navigations, we need to compute the client ID when we decide to
intercept the document load, and we need to make sure the document that will
be created later will end up using that same ID.
2015-12-02 20:36:56 -05:00
Nathan Froyd 1c2e83fc5a Bug 1218454 - part 3 - move nsILoadContext::GetOriginAttributes out-of-line; r=bz 2015-10-26 16:05:13 -04:00
Mike Hommey 9e1150f358 Bug 1225682 - Don't use nsAuto{,C}String as class member variables in docshell/. r=bz 2015-12-02 11:04:37 +09:00
Kate McKinley 20bcd25937 Bug 1191460 Rebased patch and added userContextId to origin attributes. (r=tanvi,r=sicking) 2015-11-24 10:40:02 +09:00
Franziskus Kiefer 6bf24410e1 Bug 1187357 - rename referrer attribute to referrerpolicy. r=hsivonen 2015-11-30 16:13:03 -08:00
Carsten "Tomcat" Book 4478aaa8da Merge mozilla-central to b2g-inbound 2015-11-25 14:00:32 +01:00
Yoshi Huang 4b500464f5 Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Nicholas Nethercote 8a4d84a51a Bug 1059014 (part 3) - Remove support for pausing and resuming painting. r=dbaron.
This reverts much of part 2 of bug 878935, except for the Android browser.js
changes which have already been reverted elsewhere.

The revert caused mass b2g Gij test bustages
2015-11-24 16:09:04 +05:30
Nicholas Nethercote 93390d7300 Backout 3ad33d09825a (bug 1059014 part 3) because the removed code is less dead than it first appears. 2015-11-23 14:13:48 -08:00
Francois Marier 82be864165 Bug 1226490 - Allow administrators to prevent users from ignoring Safe Browsing warnings. r=gcp,r=smaug 2015-11-23 13:34:31 -08:00
Christoph Kerschbaumer 9552d92516 Bug 1119386 - Part 1: Use document's principal for favicons in docshell (r=smaug) 2015-11-24 13:31:42 -08:00
Nick Fitzgerald b8340cdc7c Bug 1225618 - Do not capture stacks for cycle collection timeline markers; r=vporof 2015-11-23 16:50:56 +01:00
Francois Marier 67506f65a6 Bug 1216723 - Add a new -forbid- Safe Browsing list type. r=gcp,r=smaug 2015-11-20 20:24:50 -08:00
Henry daec939f23 Bug 1178526 - Create docshell with packageId from TabContext. r=sicking. 2015-10-29 00:52:40 +08:00
Carsten "Tomcat" Book fde361620f merge mozilla-inbound to mozilla-central a=merge 2015-11-12 12:00:55 +01:00
Bill McCloskey 4f99faeaed Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-11-11 18:04:21 -08:00
Victor Porof a54b717a42 Bug 1218078 - Show onload and DOMContentLoaded markers in the netmonitor's frontend, r=smaug, jsantell, tromey 2015-11-11 23:11:40 +01:00
Nicholas Nethercote ad0dd8414a Bug 1223310 (part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.

--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
George Wright 92df2e4ade Bug 1098131 - Don't invalidate layers when simply changing SizeMode r=smaug,jimm 2015-11-09 21:38:21 -05:00
Gijs Kruitbosch 35bed1c0ce Bug 1209591 - allow loadURI consumers to expose whether an error page was immediately loaded as result of an error, r=smaug,mak
--HG--
extra : commitid : 9tlkWrUKl12
extra : rebase_source : bb5b476dc28cebc66a99d23934a5214530e9a008
extra : amend_source : f62e5a91df5af9eea893fbb9a13980e9fdd56a38
2015-10-27 16:44:24 +01:00
Tom Tromey 141af2d368 Bug 1160307 - capture async stack frames on Javascript timeline markers. r=fitzgen, r=smaug r=Paolo 2015-11-05 11:31:00 +01:00
Nicholas Nethercote 6f4a1e234b Bug 1059014 (part 3) - Remove support for pausing and resuming painting. r=dbaron.
This reverts much of part 2 of bug 878935, except for the Android browser.js
changes which have already been reverted elsewhere.

--HG--
extra : rebase_source : efdcede145567d8a56409cebecdd49a9307ec71a
2015-11-04 20:55:32 -08:00
Nicholas Nethercote f07dc1c47b Bug 1059014 (part 1) - Remove support for max line box width. r=dbaron.
This basically reverts bug 780258.

--HG--
extra : rebase_source : 59cc458d83fed9735e9e0321ec52a0a9484bd7ba
2015-11-04 20:25:01 -08:00
Carsten "Tomcat" Book 704588c507 merge fx-team to mozilla-central a=merge 2015-11-05 11:55:46 +01:00
Yoshi Huang 987e88f8e4 Bug 1221049 - Use originAttributes from TabContext. r=kanru 2015-11-03 18:53:41 +08:00
Carsten "Tomcat" Book 361272b11c Backed out changeset 3732b1dad003 (bug 1221049) for bustage 2015-11-04 11:52:05 +01:00
Yoshi Huang 9959eeedbe Bug 1221049 - Use originAttributes from TabContext. r=kanru 2015-11-03 18:53:41 +08:00
Victor Porof 90c56a4cfa Bug 1220916 - Remove "WARNING: TimelineConsumers could not be initialized" when running gtests, r=fitzgen 2015-11-04 21:04:16 +01:00
Jonathan Watt fa3df63dd0 Bug 1220596 - Remove interface declarations that are no longer needed in nsIDocShell. r=smaug IGNORE IDL 2015-09-21 13:49:18 +01:00
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Ryan VanderMeulen 028dec7cc8 No bug - Various crashtest manifest cleanups.
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Ben Kelly a4dd10345e Bug 1215140 P8 Remove now unnecessary interception values from ErrorList.h. r=bz 2015-10-29 19:53:25 -07:00
Ben Kelly 00f7f89915 Bug 1215140 P7 Remove old service worker interception logging. r=bz 2015-10-29 19:53:25 -07:00
Ben Kelly 5f3adc2e2b Bug 1215140 P3 Flush pending console reports on http channels. r=bz 2015-10-29 19:53:25 -07:00
Victor Porof 059ab0384d Bug 1211841 - Style off the main thread markers differently, r=jsantell 2015-10-28 11:00:52 +01:00
Victor Porof 66078a0201 Bug 1211839 - Don't allow off the main thread markers to nest under main thread markers, r=smaug, jsantell 2015-10-24 17:10:22 +02:00
Kyle Huey c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Victor Porof 9ce6fdd65c Bug 1217836 - Add a readme file to our timeline backend, r=jsantell 2015-10-24 17:09:15 +02:00
Victor Porof 9dc0ce6b1a Bug 1202657 - Add markers for workers' message passing and serialization/deserialization, r=smaug, jsantell, tromey, ejpbruel
--HG--
rename : docshell/base/timeline/OTMTMarkerReceiver.h => docshell/base/timeline/MarkersStorage.h
2015-10-21 23:10:05 +02:00
Dragana Damjanovic 007f351b9c Bug 1213267 - Fix view-source address. r=bz 2015-10-12 02:08:00 -04:00
Christoph Kerschbaumer 33fa277605 Bug 1204983 - Allow about: pages to load remote content (r=bholley,bz,florian,dragana) 2015-10-09 22:03:27 -07:00
Wes Kocher c6deb98829 Backed out 3 changesets (bug 1204983) for talos(g2) failures
Backed out changeset 00c07b02c8a8 (bug 1204983)
Backed out changeset a4879b180d2d (bug 1204983)
Backed out changeset 38b6f878608a (bug 1204983)
2015-10-19 16:09:33 -07:00
Christoph Kerschbaumer 1526f05f35 Bug 1204983 - Allow about: pages to load remote content (r=bholley,bz,florian,dragana) 2015-10-09 22:03:27 -07:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Phil Ringnalda 9ea53214d8 Merge f-t to m-c, a=merge 2015-10-17 11:19:46 -07:00
Masatoshi Kimura 3c8f7945a7 Bug 1207137 - Add an error code for weak crypto override. r=bz 2015-10-17 09:38:30 +09:00
Olli Pettay 9a9ce1ed03 Bug 1003100 - pushState() in iframe fails when reloading with CTRL+F5, r=bz 2015-10-16 20:05:54 +03:00
Wes Kocher e3ef408502 Backed out 3 changesets (bug 1204983) for various talos failures
Backed out changeset 5bdf50e82ca8 (bug 1204983)
Backed out changeset 602e91d48e43 (bug 1204983)
Backed out changeset c7d3635f771a (bug 1204983)
2015-10-16 09:29:36 -07:00
Christoph Kerschbaumer 8d976b10b7 Bug 1204983 - Allow about: pages to load remote content (r=bholley,bz,florian,dragana) 2015-10-09 22:03:27 -07:00
Gijs Kruitbosch 0e5eaa117d Bug 1210439, r=smaug
--HG--
extra : commitid : C69q7RrWYoC
extra : rebase_source : ef3f6584fa0c62c55bd3b233638b3a2a1db0f865
2015-10-01 13:23:27 -04:00
Xidorn Quan 57b9d7be94 Bug 1212299 part 1 - Forbid documents inside elements other than iframe from requesting fullscreen. r=smaug
--HG--
extra : source : b995b57bc1dd2003eeff6f568f5f22298ff81608
2015-10-12 11:24:23 +11:00
Dragana Damjanovic eebb3ae788 Bug 1211690 - Remove not needed nsILoadInfo get. r=ckerschb 2015-10-11 18:13:10 +02:00
Ehsan Akhgari 202348d36c Bug 1213514 - Don't bother checking for third party URLs at interception time unless if the user needs it; r=jdm
The current code is wasteful for the vast majority of our users.
2015-10-10 19:05:27 -04:00
Ehsan Akhgari f303ed36f2 Bug 1213150 - Part 2: Rework ShouldPrepareForIntercept() in terms of subresource requests; r=jdm 2015-10-09 10:52:55 -04:00
Ehsan Akhgari fbd4c8c55b Bug 1213150 - Part 1: Add a nsContentUtils::IsNonSubresourceRequest helper; r=jdm 2015-10-09 10:52:54 -04:00
Ehsan Akhgari 1869e89340 Bug 1212636 - Add a better error message for the content corrupcted error caused by the Promise being passed to FetchEvent.respondWith; r=bkelly 2015-10-07 18:06:26 -04:00
Bill McCloskey c5d5457154 Back out bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process 2015-10-07 11:15:11 -07:00
Ehsan Akhgari 158253749d Bug 1210302 - Part 3: Add a NS_ParseRequestContentType API; r=mcmanus,sicking 2015-10-06 20:26:46 -04:00
Ben Kelly eaa946bccc Bug 1210941 P4 Use LOAD_BYPASS_SERVICE_WORKER instead of ForceNoIntercept in nsDocShell. r=ehsan 2015-10-06 06:37:07 -07:00
Dragana Damjanovic ba3f41bc1e Bug 1211269 - Store the information whether the channel is LOAD_REPLACE into history entry. r=bz 2015-10-05 12:33:00 +02:00
Michael Madsen 5722288db7 Bug 1208124 - changed a check such that post data only depends on nsIUploadChannel and not nsIHttpChannel. r=bz 2015-09-29 19:50:46 +02:00
Carsten "Tomcat" Book e91d5a31b6 Merge m-c to mozilla-inbound 2015-10-02 13:37:27 +02:00
Carsten "Tomcat" Book ca77b70a8d merge mozilla-inbound to mozilla-central a=merge 2015-10-02 11:52:49 +02:00
Bobby Holley c74861b35c Bug 1210508 - Handle null OriginAttributes from JS-implemented nsILoadContext. r=me 2015-10-01 18:10:18 -07:00
Wes Kocher 7c2b0c515f Merge inbound to central, a=merge 2015-09-30 13:49:27 -07:00
Dragana Damjanovic 5f14316a80 Bug 1185256 - Save originURI to the history. r=bz
--HG--
extra : rebase_source : 4321df591ab16127ca4cd6549fcdca7e20c2e890
2015-09-30 08:54:39 +02:00
Gijs Kruitbosch 314c978904 Bug 1206879 - fire onlocationchange from pushState in frames when the URI changes, r=smaug
--HG--
extra : commitid : AuCEnWCXk6y
extra : rebase_source : e825b13db3edccb115b7fdd2569154bbc434cfec
2015-09-29 13:50:55 -04:00
Bill McCloskey 207404ad2d Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-10-01 21:18:48 -07:00
Ehsan Akhgari aa774fb7e3 Bug 1208903 - Eliminate a repeated condition in nsDocShell::EndPageLoad; r=baku
Found by Viva64.
2015-09-28 09:08:43 -04:00
Yoshi Huang d38b78ae54 Bug 1165466 - Fix up docshell and loadcontext inheriting code in nsIScriptSecurityManager. r=bholley 2015-09-23 16:10:21 +08:00
Wes Kocher 04128a0432 Merge m-c to inbound, a=merge 2015-09-24 17:14:17 -07:00
Wes Kocher 0eeafe1fa4 Merge inbound to central, a=merge 2015-09-24 16:46:34 -07:00
J. Ryan Stinnett c0dffd8c52 Bug 1201535 - Mark srcdoc as safe for loading in child. r=bz
When showing view source of a srcdoc frame in a tab, we load the frame content
via a page descriptor and use the URI "view-source:about:srcdoc".

Since we are creating a browser tab, the docshell's `InternalLoad` triggers the
browser's `shouldLoadURI` machinery that checks if we are in the correct process
for the given URI.  This machinery will unwrap "view-source:" to "about:srcdoc"
and check if such an about page can be loaded in the child.

Marking "about:srcdoc" as safe for the child to load allows the view source
content of the frame to be displayed as expected.
2015-09-24 12:39:08 -05:00
Bobby Holley 110f12e7ca Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz 2015-09-24 14:02:41 -07:00
Chris Peterson 71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Wes Kocher d483efb68a Merge m-c to inbound, a=merge CLOSED TREE 2015-09-22 16:46:47 -07:00
Gijs Kruitbosch ae1ee788c9 Bug 1199289 - r=valentin,dao
--HG--
extra : commitid : Gt0ahICl0FY
extra : rebase_source : 4c21bbdc64d32ad1ea7291252632d13d1d326296
2015-09-22 16:26:15 +01:00
Nikhil Marathe 48d53f38df Bug 1184798 - Ensure workers loads are treated as non-subresource fetches. r=jdm
--HG--
extra : commitid : KSrA2sDx3MI
extra : rebase_source : c28988811316aa40e38752669a928d27750001b6
2015-09-17 11:56:41 -07:00
Ehsan Akhgari 5d40efa578 Bug 1206894 - Enable asynchronous dispatching of fetch events; r=jdm
This refactoring patch separates the preparation of the fetch event
object from its dispatching, so that consumers would be able to
dispatch the event asynchronously.
2015-09-21 20:59:27 -04:00
Ehsan Akhgari 0bc360edc4 Bug 1204581 - Add a deprecation warning for the usage of AppCache when service worker fetch interception is enabled; r=mcmanus,baku 2015-09-24 10:09:10 -04:00
Andrea Marchesini 9462aa8c25 Bug 1163545 - Bypass AppCache completely when Service Workers supported & registered, r=jdm 2015-09-18 10:18:38 +08:00
Brendan Dahl 47647e9a4f Bug 1202895 - Fix shift-reload check for setting up service worker. r=bkelly 2015-09-16 15:28:45 -07:00
Matteo Ferretti 694730e132 Bug 1132475 - Refactor LayoutHelpers.jsm to avoid dependencies. r=pbrosset
--HG--
extra : histedit_source : 54d69138146487b378e62bc2cfeb520a85956f43
2015-09-15 00:32:00 -04:00
Michael Layzell 0097c41e01 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
Victor Porof 7456418a9e Bug 1200119 - Add a way to create usable markers from different threads, r=tromey 2015-09-11 17:03:06 +02:00
Nikhil Marathe cd9d0eb7ab Bug 1198230 - Respect FetchEvent.preventDefault(). r=jdm
Update web-platform-tests expected data

--HG--
extra : commitid : 4dM6kivKeAc
extra : rebase_source : 64e40258a98b79064d5073422811fb8e1f688735
2015-09-04 12:00:24 -07:00
Aidin Gharibnavaz 9a9c180ef3 Bug 1100154 - Ensure that targeted links in a private browsing window can't target non-private-browsing windows and vice versa. r=bz 2015-09-05 09:15:00 +02:00
Victor Porof 2f60403030 Bug 1200118 - Create a barebones TimelineMarker abstract class, r=tromey 2015-09-04 14:13:11 +02:00
Jan Keromnes 5bc0358244 Bug 1196785 - Alphabetically sort redirected about:pages. r=jst 2015-08-31 07:30:00 +02:00
Ben Kelly e12f21f827 Bug 1184607 P5 Set RequestRedirect to "manual" for navigations. r=nsm
* * *
Bug 1184607 P5 interdiff 001 don't set manual redirect mode for html imports
2015-08-31 14:26:29 -07:00
Ben Kelly 10350eb242 Bug 1184607 P4 Handle the RequestRedirect mode during service worker interception. r=nsm
* * *
Bug 1184607 P4 interdiff 001 fix manual redirect assertion for navigations r=nsm
* * *
Bug 1184607 P4 interdiff 002 dom/worker nits
2015-08-31 14:26:29 -07:00
Ryan VanderMeulen 0f38752ebc Merge inbound to m-c. a=merge 2015-08-31 15:21:02 -04:00
Victor Porof e14eb49e91 Bug 1195232 - Stop using TracingMetadata from GeckoProfiler.h, r=tromey 2015-08-31 16:14:14 +02:00
Victor Porof a6f8bea518 Bug 1196294 - Remove the mCause from TimelineMarkers, r=tromey 2015-08-31 16:13:23 +02:00
Victor Porof c78fbabbef Bug 1195838 - Maintain all the TimelineMarker subclasses in a single place, r=tromey 2015-08-31 14:56:37 +02:00
Victor Porof 4ce24e2588 Bug 1194707 - Remove the docshell param from TimelineMarker constructors, r=tromey 2015-08-31 11:42:35 +02:00
Olli Pettay 942f1a8ca8 Bug 1186774 - Scroll position (scrollX/scrollY) should be restored after popstate, not before, r=bz
--HG--
extra : rebase_source : e5b3a1bae24adf174777d35847576c61242e221e
2015-08-28 22:25:54 +03:00
Yoshi Huang 4347bb2318 Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley 2015-08-17 17:03:19 +08:00
YFdyh000 39ddf7f195 Bug 1169209 - about:performance should not be listed for non-Nightly. r=Yoric 2015-08-24 07:01:00 -04:00
Bobby Holley edfe287f26 Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Victor Porof a79634e0d2 Bug 1050498 - Record compositing operations, r=jsantell,smaug,tromey 2015-08-25 08:51:58 +03:00
Yoshi Huang 12efacfa8c Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley 2015-08-24 01:31:00 -04:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
William Chen 601a710703 Bug 1196290 - Do not update orientation lock when app docshell is activated. r=smaug
--HG--
extra : rebase_source : 3ac42afe245103c052125e9615e43f9b89b295a2
2015-08-20 17:25:05 -07:00
Wes Kocher d8fffe1765 Merge inbound to central, a=merge 2015-08-20 12:42:21 -07:00
Yury Delendik 2ea982f244 Bug 1192450 - Remove PlayPreview registration from Shumway. r=jet
--HG--
extra : amend_source : cd9b8cd949cc2354d6166987cfb7c1fb00beb372
2015-08-18 11:24:16 -05:00
William Chen 0625e989b4 Bug 1131470 - Part 5: Handle changes to active orientation lock. r=smaug
--HG--
extra : rebase_source : 51fb1484301d8b2afa518396f52a1bd0378f326d
2015-08-18 15:28:01 -07:00
Christoph Kerschbaumer 3e6c68863f Bug 1193552 - Remove baseURI from LoadInfo (r=sicking,jkitch) 2015-08-19 10:43:30 -07:00
Arnaud Bienner 2755fa9a57 Bug 1190086 - Use new String::Contains(char) method more widely r=froydnj
--HG--
extra : rebase_source : 81df1495200d3734ea1c4c13818ae764a445f4b3
2015-08-14 00:49:15 +02:00
Aryeh Gregor 0ccef27b6a Bug 1179451 - Part 1: Rewrite some ternary operators as if/else. r=froydnj
--HG--
extra : rebase_source : 161e415b6f518bf2b82e45b6f7f8d21298712d81
2015-08-13 15:22:48 +03:00
Christoph Kerschbaumer dad90516d6 Bug 1192955 - Use channel->ascynOpen2 for PING in docshell/base/nsDocShell.cpp (r=sicking) 2015-08-13 08:53:28 -07:00
Ehsan Akhgari 4db099dbd2 Bug 1191491 - Do not dispatch an audio-playback notification when swapping browsers; r=smaug
We send a pagehide event during swapping docshell frame loaders, and
before this patch we would not be able to differentiate this event with
the one that we send when navigating away from a page, so we would
incorrectly dispatch an audio-playback notification indicating that
audio playback has stopped.  This patch adds a flag to the root docshell
when the frame loader swapping is in progress and disables the above
behavior when that flag is set.
2015-08-07 12:18:24 -04:00
Carsten "Tomcat" Book b998607785 Merge mozilla-central to fx-team 2015-08-05 13:36:41 +02:00
Victor Porof a8beaed157 Bug 1190826 - Rename "AddMarkerTo*" to "AddMarkerFor*" to reflect the new philosophy behind markers, r=tromey 2015-08-05 12:32:24 +02:00
Birunthan Mohanathas 7315345693 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Junior Hsu 546348a34c Bug 1043110 - Part 2 - dispatch mozbrowsererror. r=kanru
--HG--
extra : rebase_source : 40a7dc00c2c1121ec6444fefaf1aca927ea17b27
2015-07-15 18:13:16 +08:00
Junior Hsu d0b091710d Bug 1043110 - Part 1 - Display a load error if we navigate to a page which is not claimed in |widgetPages|. r=bz
--HG--
extra : rebase_source : 2e5d48a826ef8e6f8c159f305d8d549923861488
2015-04-27 14:17:41 +08:00
Bobby Holley 97b9240b34 Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Ryan VanderMeulen 4f09769d88 Merge fx-team to m-c. a=merge 2015-07-27 10:39:37 -04:00
Christoph Kerschbaumer 4bebfdcdbc Bug 1187217 - Fix deref nullptr loadInfo in nsDocShell::LoadStream. r=bz 2015-07-24 12:15:14 -07:00
Victor Porof c7617039dc Bug 1184377 - Move nsDocShell::PopProfileTimelineMarkers logic to ObservedDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Carsten "Tomcat" Book cbae5434a4 merge mozilla-inbound to mozilla-central a=merge 2015-07-24 12:54:13 +02:00
Ryan VanderMeulen 16c5601b55 Merge m-c to inbound. a=merge 2015-07-23 16:05:45 -04:00
Eric Rahm fb657a2076 Bug 1184275 - Remove warnings that URI is not a file URI. r=jduell
This error is handled properly and appears to happen due to legitimate usage.
The warnings are updated to just return the proper error code.
2015-07-23 11:03:25 -07:00
Victor Porof 05bbc587a6 Bug 1183235 - Keep the dochsell-specific markers inside a ObservedDocShell managed list instead of nsDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Eric Rahm 6603d2cd75 Bug 1184260 - Remove warning if GetRootScrollFrame returns null in GetCurScrollPos. r=smaug 2015-07-22 09:24:57 -07:00
Carsten "Tomcat" Book b76ca95f3f merge mozilla-inbound to mozilla-central a=merge 2015-07-21 16:56:44 +02:00
Victor Porof a714287abf Bug 1183231 - Maintain a list of timeline-observed docshells outside of nsDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Michael Layzell 811eb00946 Bug 1184971 - Expose cookieBehavior and cookieLifetimePolicy preference variants from nsICookieService. r=ehsan
--HG--
extra : rebase_source : 7cfe37db0fe858f42aceda2ef90a5fa69560b86e
2015-07-17 08:01:00 +02:00
Carsten "Tomcat" Book af1ca050c6 Backed out changeset 2f4b5acae553 (bug 1184971) for causing OS X Memory Leaks
--HG--
extra : rebase_source : 8a69fbfd8f30276036a80929e2f04b1e22d60341
2015-07-21 10:27:44 +02:00
Victor Porof c08ba2500f Bug 1183229 - Add a way to count the number of timeline-observed docshells outside of nsDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Carsten "Tomcat" Book 0551dfb053 merge mozilla-inbound to mozilla-central a=merge 2015-07-20 11:36:42 +02:00
Victor Porof 81a5c929bd Bug 1183219 - Backed out last 5 changesets for bustage, r=me on a CLOSED TREE 2015-07-18 10:21:09 -04:00
Victor Porof bff70054c1 Bug 1184377 - Move nsDocShell::PopProfileTimelineMarkers logic to ObservedDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Victor Porof cddc9e87fc Bug 1184376 - Remove nsDocShell::AddProfileTimelineMarker, r=smaug 2015-07-18 09:35:59 -04:00