Commit Graph

4340 Commits

Author SHA1 Message Date
Kartikaya Gupta
65f5105de7 Bug 1269539 - Ensure that the scroll position is restored properly on reloading a page which loads incrementally. r=tnikkel
MozReview-Commit-ID: 1qVA5yU7a7g

--HG--
extra : rebase_source : 032336d7552ece6dbeafa4eb07eceb7ed2a096ba
2016-05-03 10:40:20 -04:00
Geoff Brown
1c9a03fe3e Bug 821821 - Backout hack and enable docshell/test/test_bug590573.html on Android; r=me 2016-04-29 13:42:01 -06:00
Carsten "Tomcat" Book
ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey
48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Yoshi Huang
ba1bb72568 Bug 1263496 - Part 3: fix for nsNullPrincipal::Create
This fixed the locations listed by
http://searchfox.org/mozilla-central/search?q=nsNullPrincipal::Create(&redirect=true
that needs to inherit origin attributes.
2016-04-27 18:38:07 +08:00
Christoph Kerschbaumer
232720eac5 Bug 1263286 - Move base-uri CSP check into SetBaseURIUsingFirstBaseWithHref. r=bz 2016-04-26 11:48:29 +02:00
Ryan VanderMeulen
1b64a90f42 Bug 1263213 - Disable test_reserved.html on debug e10s for frequent failures.
--HG--
extra : histedit_source : d5849d0cb56b64a6e94478a9187319c25be62078
2016-04-25 21:45:46 -04:00
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Nicholas Hurley
65e701bed3 Bug 1122642 - Have an error page for H2 INADEQUATE_SECURITY r=mcmanus,bz 2016-04-22 09:56:42 -07:00
Gijs Kruitbosch
30a0ac0ed8 Bug 1253673, r=bz
MozReview-Commit-ID: eyZ0XvZkfM

--HG--
rename : browser/base/content/test/general/dummy_page.html => dom/tests/browser/dummy.html
extra : amend_source : 0ceb77aae62ed163362e794b9aed8f92849e3e6d
extra : histedit_source : 60dbd015a6909a0023dc26613530c89a16de6ea7%2Ca5ea96457b370e57e3a73c19bea08e157f16ac4f
2016-04-19 09:56:19 +01:00
Ryan VanderMeulen
e22a2d1d81 No bug - Re-enable various tests on Windows debug e10s that no longer fail.
--HG--
extra : histedit_source : 37d53b3f1958a608e96d34799e3ff123e901aed1
2016-04-15 13:26:01 -04:00
Dragana Damjanovic
645513565f Bug 1125916 - Fix code that miss proper flags and originAttributes in LoadInfo. Also fix some tests. r=sicking, r=jduell
--HG--
extra : rebase_source : 2a08f0208496671439ce62a576b5f8a728bbdf3c
extra : amend_source : 30412ab68cc0ee4469a88e41b6ce81c908a26535
extra : histedit_source : 1faae352f7fbf7c4c7a9e1e571ca395c853a1334
2016-04-13 15:34:36 +02:00
Tanvi Vyas
c73e96a53d Bug 1105556 - Call Create(originAttributes) when loadinfo->loadingPrincipal is null, instead of CreatePrincipalWithInheritedAttributes(). r=sicking 2016-04-13 16:30:22 -07:00
Tanvi Vyas
1e5f23269c Bug 1105556 -
* loadingNode passed to loadInfo null for TYPE_DOCUMENT and outer window's frameelementinternal for subdocuments.
* loadingPrincipal is taken directly from loadingNode; if loadingNode doesn't exist, it's null.
* requestingContext passed to nsIContentPolicy unchanged
* requestingPrincipal passed to nsIContentPolicy unchanged
* triggeringPrincipal passed to loadInfo unchanged
r=sicking, bz
2016-04-13 16:30:19 -07:00
Valentin Gosu
ed0ecbfd55 Bug 1263790 - Resource timing initiatorType should be "iframe" instead of "subdocument" r=bz 2016-04-13 04:56:47 +02:00
johndai1984
c9eb653e5e Bug 682294 - Remove redundant trailing spaces. r=bz 2016-04-06 08:33:00 +02:00
johndai1984
4c64e194f9 Bug 682294 - Add an error page for file access denied. r=bz 2016-04-06 08:18:00 +02:00
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