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

4323 Коммитов

Автор SHA1 Сообщение Дата
Nick Fitzgerald 01cfd1d6c6 Bug 1248948 - Don't pass non-SavedFrame objects to SavedFrame JSAPI functions; r=tromey r=evilpie 2016-04-05 13:51:00 +02:00
Dimi Lee 0ca6789b58 Bug 1233914 - P1. ping doesn't honor the TP list. r=francois
MozReview-Commit-ID: 9v8Ifkn7jV9

--HG--
extra : transplant_source : %9E%C0%A1%AEw%08%C6%EC7Lm%DBlq-%0E%DA%F6%B2%5E
2016-03-31 20:24:30 +08:00
Nathan Froyd a13a3ea88a Bug 1261123 - don't needlessly construct nsAutoCString temporaries in nsDefaultURIFixup; r=smaug
We can make the non-virtual overload of IsDomainWhitelisted take an
nsACString instead of an nsAutoCString and avoid some unnecessary
copying.
2016-03-31 13:16:07 -04:00
Dragana Damjanovic dd.mozilla@gmail.com e69b13996a Bug 225910 - Use nsIURI's GetRef and GetHasRef in nsDocShell. r=bz
--HG--
extra : rebase_source : 46d7974884b96bd55add4a6c24e2a2ccb8570b4c
2016-04-01 03:37:00 +02:00
Nicholas Nethercote d376f9f82e Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
do_GetAtom() is currently just a synonym for NS_NewAtom().

--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
Wes Kocher 7b9ea8afc5 Merge inbound to central, a=merge
MozReview-Commit-ID: FSnrOgtIFer
2016-03-31 13:04:19 -07:00
Bryan Clark e713c87b39 Bug 1250120 - Change name to Responsive Design Mode in Tools -> Web Developer menu r=jryans 2016-03-29 12:34:21 -05:00
Kyle Huey d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Philip Chee cdc4f4c76e Bug 1258161 Remove obsolete strings from docshell/resources/content/netError.xhtml r=past 2016-03-27 00:06:15 +08:00
Nathan Froyd cccdd9fbca Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
Using a simple |const char*| is more memory-efficient than allocating a
JS string. We still have to allocate the JS string for passing things
into JS, but ideally we will be able to move the point of allocation
much closer to where it's actually needed, rather than indiscriminantly
doing it all the time.
2016-03-23 10:40:53 -04:00
Wes Kocher ea76ed99d7 Backed out changeset 95494e68c722 (bug 1177488) for crashes in test_bug732665.xul CLOSED TREE
MozReview-Commit-ID: IFUHUBUCnCD
2016-03-25 12:11:48 -07:00
Nathan Froyd 418aa2af4f Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
Using a simple |const char*| is more memory-efficient than allocating a
JS string. We still have to allocate the JS string for passing things
into JS, but ideally we will be able to move the point of allocation
much closer to where it's actually needed, rather than indiscriminantly
doing it all the time.
2016-03-23 10:40:53 -04:00
Blake Kaplan c4c70b48cb Bug 1237146 - Enable this now-passing test. r=billm 2016-01-05 18:09:00 +01:00
Christoph Kerschbaumer f5cf4d69dd Bug 1257730 - Crashtest for PING without valid URI. r=ryanvm 2016-03-18 15:56:15 -07:00
Christoph Kerschbaumer 22b11a8c5f Bug 1257730 - Fix ping when no URI is available. r=sicking 2016-03-18 14:05:55 -07:00
Trevor Saunders a6f221b6a2 bug 1257287 - add nsIDocShell.tabChild r=smaug 2016-03-18 15:54:12 -04:00
Trevor Saunders 2c05850952 bug 1257287 - add nsIDocShell::GetEdItingSession() 2016-03-18 15:54:07 -04:00
Geoff Brown 29977660c0 Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher 2016-03-17 10:00:48 -06:00
Kyle Huey d11b9db617 Bug 1257032: Make files in dom/workers actually build without unification. r=baku 2016-03-16 11:51:11 -07:00
Nick Fitzgerald ebc997b7c8 Bug 1253516 - Do not acquire a lock that protects data that is not used; r=vporof
`sMutex` protects the `mMarkersStores` data member, but neither
`TimelineConsumers::PopMarkers` nor `ObservedDocShell::PopMarkers` use that
data member.

Removing this lock acquisition also fixes a dead lock where we re-entrantly
attempt to acquire the lock when triggering a GC when allocating JS objects
inside `ObservedDocShell::PopMarkers`.
2016-03-14 11:44:00 +01:00
Boris Zbarsky f8c6c153ad Bug 1255849. Add some documentation for AutoJSAPI instances that seem to be used just for cxpushing. r=bholley 2016-03-14 20:47:13 -04:00
Wes Kocher 168746512d Backed out changeset ee3c99e6f676 (bug 1177488) for LeakSanitizer failures
MozReview-Commit-ID: FFfF4u2vOrS

--HG--
extra : rebase_source : 0c7f5e290b388b2f35837a5f757f2d962b973da3
2016-03-14 13:15:21 -07:00
Nathan Froyd 6b6c2a1fcd Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
Using a simple |const char*| is more memory-efficient than allocating a
JS string.  We still have to allocate the JS string for passing things
into JS, but ideally we will be able to move the point of allocation
much closer to where it's actually needed, rather than indiscriminantly
doing it all the time.
2016-03-08 16:29:25 -05:00
Franziskus Kiefer ad50543437 Bug 1226928 - dochsell changes for content-signing on remote about:newtab, r=bz,mconley 2016-03-14 11:57:03 +01:00
Tom Tromey b03cdce369 Bug 1255459 - Use AutoRestore in ObservedDocShell::PopMarkers. r=smaug
MozReview-Commit-ID: IbPoXdjfbQu
2016-03-10 08:59:00 -05:00
sajitk 823704b8d6 Bug 1219482: Replace PRLogModuleInfo with LazyLogModule in various files.r=benjamin 2016-01-28 10:35:00 -08:00
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
Ryan VanderMeulen 54367e83bf Merge fx-team to m-c. a=merge 2016-03-05 19:22:45 -05:00
Mike de Boer 2f562a286b Bug 1241930: Part 4 - convert all assertion methods used inside content tasks to the Assert.* family in docshell tests. r=mconley 2016-03-04 14:32:29 +01:00
Valentin Gosu eb30e01d66 Bug 652186 - Fix tests involving URL backslash replacement r=bz
MozReview-Commit-ID: JgWFkJN7Mtc

--HG--
extra : rebase_source : 177a7884009a4b27d83f41fc5f1dd0d14e8c0421
2016-03-03 15:50:22 +01: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
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
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
Ryan VanderMeulen ce54ceee90 Backed out changeset a3af36cb6d54 (bug 1237146) because the test still fails with e10s enabled. 2016-02-29 14:48:49 -05:00
David Rajchenbach-Teller 7fdebd3973 Bug 1249393 - Getting rid of more Nightly-only gates for about:performance;r=me
MozReview-Commit-ID: BWS1TPoLzYs

--HG--
extra : rebase_source : 9b6fa02da483679b77d837dcfea30452254852c2
2016-02-29 21:58:32 +01: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