Commit Graph

3502 Commits

Author SHA1 Message Date
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
Victor Porof
fdcffbe3d1 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
Victor Porof
da659206bb Bug 1183231 - Maintain a list of timeline-observed docshells outside of nsDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Victor Porof
58593a8714 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
Victor Porof
f11ae1a898 Bug 1183228 - Use separate files for AutoTimelineMarker and AutoGlobalTimelineMarker, r=smaug 2015-07-17 15:51:39 -04:00
Victor Porof
373125241c Bug 1183223 - Create a markers directory temporarily inside docshell/base where all marker logic should go into, r=smaug
--HG--
rename : docshell/base/AutoTimelineMarker.cpp => docshell/base/timeline/AutoTimelineMarker.cpp
rename : docshell/base/AutoTimelineMarker.h => docshell/base/timeline/AutoTimelineMarker.h
rename : docshell/base/TimelineMarker.cpp => docshell/base/timeline/TimelineMarker.cpp
rename : docshell/base/TimelineMarker.h => docshell/base/timeline/TimelineMarker.h
2015-07-17 15:51:19 -04:00
Kyle Huey
837b076d57 Bug 1182316: Part 2 - Rework FORWARD_TO_OUTER_OR_THROW. r=peterv 2015-07-16 22:10:35 -07:00
Ryan VanderMeulen
7f057e1c5f Backed out changeset 0dca237df7e2 (bug 1160307) for causing bug 1184752.
--HG--
extra : rebase_source : 56a2060af6a1d4cbb1f21665d65e50ec3b834265
2015-07-16 20:38:13 -04:00
Franziskus Kiefer
b4e4b6d771 Bug 1174913 - remove unnecessary attribute parsing. r=bz 2015-07-13 18:04:42 -07:00
Cody Crews
6a379c1b45 Bug 1178058. Don't convert an expanded principal into inheriting the current principal. Just pretend like the null principal did the load (like LOAD_FLAGS_DISALLOW_INHERIT_OWNER does). r=bholley 2015-07-16 17:53:19 -04:00
Franziskus Kiefer
e97220a88e Bug 1174913 - anchor and area referrer attributes. r=ckerschb, r=bz 2015-06-05 15:25:24 -07:00
Michael Layzell
30664f5e8d Bug 1184971 - Expose cookieBehavior and cookieLifetimePolicy preference variants from nsICookieService. r=ehsan 2015-07-17 08:01:00 +02:00
Mike Conley
c86643f748 Bug 1114299 - Be more strict about which window chromeFlags we compute from content. r=smaug
We don't ever want to accept "private", "non-private", "remote" or "non-remote" from the
content process. We only let the parent decide when to open those types of windows.

--HG--
extra : commitid : 9MGeXNdb9US
extra : rebase_source : 41a4d9785bd667b84c255eda0ac7fedf44733736
extra : histedit_source : 698c707b68c60108e0631b775a98fb4e241c009b
2015-07-10 11:40:19 -04:00
Ehsan Akhgari
020deeb507 Bug 1148044 - Correctly reflect frame and iframe RequestContext values; r=smaug 2015-07-18 13:18:06 -04:00
Tom Tromey
3ff8c1f3fa Bug 1160307 - Capture async stack frames on Javascript timeline markers. r=fitzgen, r=smaug, r=Paolo 2015-07-15 12:15:00 -04:00
Ben Kelly
1d8798cbc9 Bug 1173912 Fail opaque responses for client requests. r=ehsan 2015-07-14 13:11:26 -07:00
Ben Kelly
e2321797dc Bug 1173934 Show a message if a docshell fails to load due to SW intercept failure. r=ehsan r=jdm 2015-07-14 13:11:26 -07:00
Victor Porof
8f1e61795d Bug 1184376 - Remove nsDocShell::AddProfileTimelineMarker, r=smaug 2015-07-18 09:35:59 -04:00
Birunthan Mohanathas
a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Neil Deakin
eee10c99f2 Bug 1132518, make document navigation with F6/Shift+F6 work in e10s. This combines the document and tab navigation mechanisms together, r=smaug 2015-07-13 06:07:49 -04:00
Wes Kocher
aec62d3dc0 Backed out changeset adf95d1cd0aa (bug 1173934) for fetch-frame-resource.https.html WPT orange and test_synthesized_response.js S4 orange CLOSED TREE
--HG--
extra : amend_source : 82d7af13e11137e614b0b1bd12f5af3108551bfc
2015-07-10 15:59:01 -07:00
Wes Kocher
14b97c87b1 Backed out changeset df6593df027b (bug 1173912) 2015-07-10 15:58:24 -07:00
Ben Kelly
e0d5d6632a Bug 1173912 Fail opaque responses for client requests. r=ehsan 2015-07-10 14:28:32 -07:00
Ben Kelly
2a31a01e4b Bug 1173934 Show a message if a docshell fails to load due to SW intercept failure. r=ehsan r=jdm 2015-07-10 14:28:32 -07:00
Ryan VanderMeulen
edce9d010f Merge inbound to m-c. a=merge
CLOSED TREE
2015-07-08 14:33:24 -04:00
Nihanth Subramanya
5e74ed3e43 Bug 1179058 - Implement shouldAddToSessionHistory in WebBrowserChrome JS object. r=adw
--HG--
extra : rebase_source : b21952075a68b39cbfbbb36cde0713096c700c46
2015-07-02 11:04:06 -07:00
Gijs Kruitbosch
c33e5c488a Bug 1180460 - don't allow alternate URI changes inside view-source URI fixup, r=bz
--HG--
extra : commitid : Et7nRe1XLQc
extra : rebase_source : c512c4bd53f787db6616a7e415cf96e51ab9c071
2015-07-07 11:26:15 +01:00
Jose Antonio Olivera Ortega
39f83f3d1f Bug 1174140 - Some service worker info properties are empty in the list of service workers shown by about:sw. r=billm 2015-07-07 23:12:05 +02:00
Emanuel Hoogeveen
7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Phil Ringnalda
900c693e30 Merge m-c to m-i 2015-07-03 19:15:06 -07:00
Juan Gomez
258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Yury Delendik
8d6aa6ae83 Bug 1179262 - Remove PlayPreview usage from PDF viewer. r=bz
--HG--
extra : rebase_source : ecdd1e516e1fc842169454161614f65d26462662
2015-07-02 11:09:45 -05:00
Eric Rahm
2fead310bb Bug 1177565 - Stop warning if EnsureScriptEnvironment returns NS_ERROR_NOT_AVAILABLE. r=smaug 2015-06-29 17:16:31 -07:00
Carsten "Tomcat" Book
90ccc67e4e merge mozilla-inbound to mozilla-central a=merge 2015-06-29 14:17:02 +02:00
Andrea Marchesini
43fb37cc29 Bug 1177621 - SharedWorkers should not be shared between a private and a non-private documents, r=nsm 2015-06-26 11:18:18 -07:00
Ryan VanderMeulen
5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Nihanth Subramanya
fb7c08fefa Bug 1118285 - The browser.newtab.url preference is abused and should be removed. 2015-05-27 17:35:03 -07:00
Andrea Marchesini
b4745b397a Bug 110567 - Remove nsIDocShell::GetURLSearchParams(), r=smaug 2015-06-24 06:49:07 -07:00
Nikhil Marathe
0db24a2c7c Bug 1173389 - Disable ServiceWorker network interception by default. r=ehsan
--HG--
extra : rebase_source : 6309f011f978f08c4f104123910f7d8d9e56045a
2015-06-12 16:28:13 -07:00
Mike Conley
6401cd5977 Bug 1170488 - Document URI should be updated before sending out onLocationChange. r=smaug
--HG--
extra : commitid : G1j77ljzh7a
extra : rebase_source : 93ba52598fd5b1b79a63e3903feaeab4b957d6d4
2015-06-17 10:26:28 -04:00
Fernando Jimenez
10fa76166d Bug 1152899 - Disallow the interception of third-party iframes using service workers when the third-party cookie preference is set. r=smaug,baku 2015-06-11 15:32:54 +02:00
Nick Fitzgerald
f9bd8dc5de Bug 1141614 - Part 2: Add mozilla::AutoGlobalTimelineMarker; r=smaug 2015-06-10 14:05:53 -07:00
Nick Fitzgerald
9a58f89b9d Bug 1141614 - Part 1: Maintain a list of docshells whose timeline markers are being observed; r=smaug 2015-06-10 14:05:52 -07:00
Andrea Marchesini
dcdcd94a06 Bug 1155153 - about:serviceworkers should work in e10s mode, r=nsm, r=bholley 2015-06-04 19:51:57 +01:00
Ryan VanderMeulen
9a2838c071 Backed out 5 changesets (bug 1141614) for browser_timelineMarkers-02.js failures.
Backed out changeset 1db2b848699a (bug 1141614)
Backed out changeset 9becec7879dc (bug 1141614)
Backed out changeset fff492fc48ce (bug 1141614)
Backed out changeset f49e64db4a66 (bug 1141614)
Backed out changeset 63199013dac2 (bug 1141614)

CLOSED TREE
2015-06-09 13:20:24 -04:00
Nick Fitzgerald
e3176f3516 Bug 1141614 - Part 2: Add mozilla::AutoGlobalTimelineMarker; r=smaug 2015-06-08 12:40:07 -07:00
Nick Fitzgerald
ac6fdc2468 Bug 1141614 - Part 1: Maintain a list of docshells whose timeline markers are being observed; r=smaug 2015-06-08 12:40:07 -07:00
Kartikaya Gupta
983c6000d6 Bug 1172224 - Ensure that docshells return an appropriate value for APZ-enabled even if they don't have a presShell. r=dvander 2015-06-08 14:46:47 -04:00
Juan Gomez
702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Carsten "Tomcat" Book
e7e949f08a Backed out changeset bc305c9b5d05 (bug 1155153) for b2g xpshell test failure on a CLOSED TREE 2015-06-05 13:07:51 +02:00
Andrea Marchesini
42cd5b397c Bug 1155153 - about:serviceworkers should work in e10s mode, r=nsm, r=bholley 2015-06-04 19:51:57 +01:00
David Anderson
b2eb29a9c5 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-06-04 16:51:10 -04:00
Eric Rahm
75c4bebb79 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm
f50b813989 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-03 15:22:28 -07:00
Honza Bambas
326b2476af Bug 1170534 - Remove Visual Event Tracer. r=dougt 2015-06-02 11:44:00 -04:00
Carsten "Tomcat" Book
ecb8f8af70 Merge mozilla-central to mozilla-inbound 2015-06-03 13:54:38 +02:00
Jordan Santell
a293db6727 Bug 1170671 - ProfileTimelineMarkers that use TRACING_TIMESTAMP should capture stack information. r=smaug 2015-06-02 16:16:32 -07:00
Andrea Marchesini
a71e717b67 Bug 1162088 - patch 1 - ServiceWorkerManager should use OriginAttributes from the principal as scopeKey, r=nsm, r=bholley 2015-06-03 09:43:43 +01:00
Wes Kocher
4e9f80ed2e Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm
f82c0e7caf Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm
dc090e3fe5 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 14:31:00 -07:00
Ben Kelly
568c39b3ce Bug 1157619 P1 Network requests should not be intercepted when force-refreshed. r=smaug 2015-06-01 10:53:18 -04:00
Mark Hammond
12dee809d5 Bug 1107883 - support ipv6 URLs in the awesomebar with unified autocomplete enabled. r=mak, r=smaug 2015-05-28 17:21:58 +10:00
Tom Tromey
8a14d23ca5 Bug 1050500 - add fields to ProfileTimelineStackFrame; r=smaug 2015-05-26 10:52:52 -07:00
Ryan VanderMeulen
8556f54b04 Merge m-c to fx-team. a=merge 2015-05-22 14:21:30 -04:00
Tom Tromey
13be65d0c5 Bug 1050500 - Add callee information to Javascript timeline markers. r=smaug
--HG--
extra : rebase_source : dbd9e09496ca7c0e4f9798adf1f8f72749537d1a
2015-05-20 05:28:00 -04:00
Eric Rahm
3925a960aa Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Carsten "Tomcat" Book
5471309381 Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)

--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Eric Rahm
a9afd68cef Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Eric Rahm
141e0ff4a2 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 22:17:19 -07:00
Eric Rahm
4879ae86f4 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Ryan VanderMeulen
e1ee0d7597 Backed out changeset f0af05d88416 (bug 1162088) for various web-platform-test failures.
CLOSED TREE
2015-05-19 15:20:15 -04:00
Andrea Marchesini
1d31da42fd Bug 1162088 - ServiceWorkerManager should use the principal+scope for the initialization of ServiceWorkers, r=nsm,ehsan 2015-05-19 17:53:36 +01:00
Phil Ringnalda
f7950798e0 Back out 530555a2d6d4 (bug 1162064) for debug b2g emulator assertions and failure to thrive
CLOSED TREE
2015-05-17 22:42:05 -07:00
David Anderson
4b20fa6b94 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-05-17 23:11:44 -04:00
David Anderson
cadd78802e Backout changeset e5d045d49b40 for bustage on an a=CLOSED TREE 2015-05-17 21:46:30 -04:00
Birunthan Mohanathas
e57bdf9303 Bug 1164706 - Flatten docshell/shistory/src/ directory. r=smaug
--HG--
rename : docshell/shistory/src/nsSHEntry.cpp => docshell/shistory/nsSHEntry.cpp
rename : docshell/shistory/src/nsSHEntry.h => docshell/shistory/nsSHEntry.h
rename : docshell/shistory/src/nsSHEntryShared.cpp => docshell/shistory/nsSHEntryShared.cpp
rename : docshell/shistory/src/nsSHEntryShared.h => docshell/shistory/nsSHEntryShared.h
rename : docshell/shistory/src/nsSHTransaction.cpp => docshell/shistory/nsSHTransaction.cpp
rename : docshell/shistory/src/nsSHTransaction.h => docshell/shistory/nsSHTransaction.h
rename : docshell/shistory/src/nsSHistory.cpp => docshell/shistory/nsSHistory.cpp
rename : docshell/shistory/src/nsSHistory.h => docshell/shistory/nsSHistory.h
2015-05-15 15:25:39 -07:00
David Anderson
502eb5d3ca Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-05-17 20:44:43 -04:00
Olli Pettay
73e3069a93 Bug 1209621 - Add a way to get the TabParent for the content-primary tab, r=mconley
--HG--
extra : rebase_source : 2755b86bf3b247cbb2931eda3cc9433d2878125e
2015-10-01 20:06:51 +03:00
Ms2ger
f994d03624 Bug 1017758 - Use infallible getters for appId/isInBrowserElement/unknownAppId; r=bz 2015-05-13 17:59:08 +02:00
Phil Ringnalda
4a7ce6d864 Merge m-i to m-c, a=merge 2015-05-10 09:10:19 -07:00
Michal Novotny
faa2a67d00 Bug 1156493 - e10s: move .cacheKey to nsICacheInfoChannel so child channels can get/set it, r=jduell 2015-05-10 02:26:39 +02:00
Jordan Santell
7b6fec2d8c Bug 922221 - implement console.timeStamp(label) to create profile timeline markers. r=khuey 2015-04-29 12:48:57 -07:00
Eric Rahm
0531f32644 Bug 1162309 - Part 2: Remove instances of #ifdef PR_LOGGING in docshell. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 10:17:45 -07:00
Birunthan Mohanathas
e174a94605 Bug 1129795 - Convert rest of docshell/ to Gecko style. r=mccr8 2015-05-06 10:57:23 -07:00
Nick Fitzgerald
cd21e60769 Bug 1159779 - mozilla::AutoTimelineMarker shouldn't be copy-able; r=smaug 2015-04-30 14:57:59 -07:00
Marco Bonardo
9e8248e6b2 Bug 1154877 - Content process shouldn't use the Places Database. r=billm 2015-04-29 10:57:24 +02:00
David Major
ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Carsten "Tomcat" Book
596e5f9960 merge fx-team to mozilla-central a=merge 2015-04-27 12:34:03 +02:00
Tom Tromey
7ad4a0d1dd Bug 1050500 - Add entry reason to timeline marker. r=jsantell, r=smaug
--HG--
extra : rebase_source : 038e4e7ff6f18c6db193ada012eb162e075d6d69
2015-04-20 07:03:00 -04:00
Gijs Kruitbosch
7f9da983fa Bug 1154245 - non-alpha paths on IP addresses with no protocol shouldn't trigger search, r=smaug
--HG--
extra : rebase_source : 8bd586b23bb56cfc26aed4f885ecee6f207d4cc1
2015-04-18 12:20:42 +01:00
Andrew McCreight
0c176ddcff Bug 1062479 - Use static strings for WeakReference type names. r=ehsan 2015-04-24 09:43:01 -07:00
Francois Marier
17b87281f2 Bug 1147212 - Add support for goog-unwanted-shavar. r=gcp,r=matej,r=smaug
--HG--
rename : toolkit/components/url-classifier/tests/mochitest/evilWorker.js => toolkit/components/url-classifier/tests/mochitest/unwantedWorker.js
extra : rebase_source : efe09564160fb2fcb1adb5f6599183f053268c40
2015-04-22 21:01:37 +12:00
Andrea Marchesini
ade2831035 Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan 2015-04-22 08:29:24 +02:00
Neil Deakin
5500eadc0e Bug 1058712, e10s, support for copy image command, r=ehsan,mconley 2015-04-21 20:09:14 -04:00
Nicolas Silva
cfff5e52c5 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Andrew McCreight
cc8e505792 Bug 1155759 - Part 1 - Remove some manual refcounting from docshell. r=smaug
--HG--
extra : rebase_source : 50e4e20b704dc9cf8081f6137df801d6ec0e4533
2015-04-17 15:19:00 +02:00
Denis Volk
32e981896d Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Jim Blandy
ebd83c9a61 Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley
--HG--
extra : rebase_source : 8ab7a3628a5b4d94b957f24e23e4c5c7871db97c
2015-04-08 21:23:48 -04:00
Boris Zbarsky
9f8de4bfd5 Bug 1154366. Pass in a JSContext to StructuredCloneContainer::InitFromJSVal so it will throw its exceptions somewhere where people might see them. r=bholley 2015-04-16 13:22:15 -04:00
David Keeler
81764496cd bug 1147497 - Add API for querying site pin status. Disallow overrides for sites that have pins. r=mmc r=smaug r=cykesiopka r=past 2015-03-25 11:04:49 -07:00
Nathan Froyd
1e6cdad33c Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1").  Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Wes Kocher
af34e14f2b Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE 2015-04-14 14:42:59 -07:00
Nathan Froyd
4e3c075424 Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1").  Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Olli Pettay
c3dca4be1e Backout Bug 930793 because of talos regressions,r=backout
--HG--
extra : rebase_source : bf5d4de1b80e114d3e2172a205bf850f68019d38
2015-04-13 19:02:27 +03:00
Olli Pettay
eb314fb48f Bug 930793 - Remove favor performance mode, r=avih,roc
--HG--
extra : rebase_source : a112b660baa240afd5f0022cd869c96b59418789
2015-04-12 23:08:55 +03:00
Andrea Marchesini
81daef00e3 Bug 1133601 - Implement about:serviceworkers, r=ehsan 2015-04-10 09:50:06 +01:00
Nick Fitzgerald
446d70bb69 Bug 1145247 - Add AutoTimelineMarker RAII class; r=smaug 2015-04-08 11:25:56 -07:00
David Rajchenbach-Teller
b6feb17d3f Bug 674779 - Per-component CPU monitoring, high-level. r=blassey, r=mossop
--HG--
rename : toolkit/components/aboutcompartments/jar.mn => toolkit/components/aboutperformance/jar.mn
rename : toolkit/components/aboutcompartments/nsCompartmentInfo.h => toolkit/components/aboutperformance/nsPerformanceStats.h
extra : rebase_source : a857d61a49542727fb4a496e785d175620103132
2015-03-31 12:40:59 +02:00
Mike Hommey
b077d9624d Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Ehsan Akhgari
44ac8ce186 Bug 1148064 - Enable interception of pings through service workers; r=nsm,smaug
Currently when sending a beacon, HttpBaseChannel::ShouldIntercept tries
to get access to the nsINetworkInterceptController interface through the
channel's notification callbacks, but in this case the notification
callback is the nsPingListener object.

This patch extends nsPingListener to make it aware of
nsINetworkInterceptController, and have it route the request for
nsINetworkInterceptController correctly to the docshell without the need
to mess with the notification callbacks.

This will be tested in bug 1147699.
2015-03-30 22:57:19 -04:00
Tom Tromey
f1476bf0bb Bug 1144820 - Use nsTArray<UniquePtr<>> to hold timeline markers. r=smaug, r=fitzgen 2015-03-27 08:42:00 -04:00
Tom Tromey
918392e548 Bug 1144820 - Use rvalue reference in AddProfileTimelineMarker. r=smaug 2015-03-27 08:41:00 -04:00
Kartikaya Gupta
52c482890f Bug 1143665 - Remove the ambiguous scroll position being passed around in scroll started/stop notifications. r=roc,ehsan 2015-03-25 07:52:37 -04:00
Ehsan Akhgari
b5a110ac65 Bug 1142727 - Do not intercept sandboxed iframes with service workers; r=nsm
This is temporary until we clarify what we want to do with these
iframes in the spec.
2015-03-24 16:45:14 -04:00
Olli Pettay
3d60f286ee Bug 1146339 - Do anchor scrolling right before dispatching popstate/hashchange. r=bz
CLOSED TREE
2015-03-23 21:54:03 -04:00
Josh Matthews
41763998ae Bug 1134330 - Mark fetch events as reloads appropriately. r=smaug 2015-03-23 13:36:44 -04:00
Kyle Huey
a15f7d393c Bug 1145870. r=bz 2015-03-20 19:19:28 -07:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Neil Rashbrook
6fc6aa0fbc Bug 968334 Allow disabling content retargeting on child docshells only r=smaug 2015-03-21 10:48:48 +00:00
Olli Pettay
1bb46a919b Bug 1144988, don't let other pages to load while doing scroll-to-anchor, r=bz CLOSED TREE
--HG--
extra : amend_source : df9e1053e5e00fe92c8df5bbbca4930bd08612e4
2015-03-19 17:58:00 -07:00
Wes Kocher
cd570c5d87 Backed out changeset 6d94c4cf9813 (bug 1144988) for bc1 orange a=backout CLOSED TREE
--HG--
extra : amend_source : fa55f5c5298ece3db8475d9f4270b5aef1aa3416
2015-03-19 17:01:38 -07:00
Olli Pettay
e79c10a840 Bug 1144988, don't let other pages to load while doing scroll-to-anchor, r=bz, a=RyanVM
--HG--
extra : rebase_source : eb02a52eee90120b02d421957fbe783fdd391f30
2015-03-20 00:15:22 +02:00
Alex Verstak
d0c9d91dc1 Bug 1113431 - Expose referrer policy to UI code via Document and nsIWebNavigation. r=jst, sr=bz 2015-01-05 09:42:31 -08:00
Dave Townsend
55ee944e85 Bug 1068087: Switch about:plugins to run remotely. r=mconley
--HG--
extra : rebase_source : f1538bb9d17cc1a320e0e29c2733a038fcbaefb2
extra : source : 0718dffcd078caef467625cb4bf05753ad5a58e1
2015-01-08 12:40:14 -08:00
Nathan Froyd
4380a42bbc Bug 1141689 - use services::GetObserverService more; r=ehsan 2014-04-29 13:31:06 -04:00
Andrea Marchesini
77d676cf4b Bug 1134280 - Get rid of Tag() - patch 2.3 - dom/base and docshell - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:09:00 +00:00
Andrea Marchesini
2c4f63331f Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
Kartikaya Gupta
2ccb1ce2ad Bug 1130455 - Remove the ScrollingBehavior code to propagate APZ and use gfxPrefs instead. r=roc,fabrice
The ScrollingBehavior passed around extensively in TabParent/TabChild is
entirely redundant now that the layers.async-pan-zoom.enabled pref definitively
controls whether or not APZ is enabled. All the code related to ScrollingBehavior
can be removed.
2015-02-26 08:47:01 -05:00
Boris Zbarsky
a7d78c82c0 Bug 1136388. Change nsIDocumentLoaderFactory and nsIURIContentListener to take MIME types as an XPCOM string, not a char*. r=smaug 2015-02-25 10:26:51 -05:00
Ben Kelly
5434a5ded8 Bug 1118845 P1 Add optional base context to LoadContext() constructor. r=smaug 2015-02-21 10:09:17 -05:00
Masatoshi Kimura
26fbed8fca Bug 1127339 - Assign a dedicated error code for SSLv3 in docshell. r=bz 2015-02-21 17:20:22 +09:00
Christoph Kerschbaumer
f3e352240e Bug 1119005 - No need to branch on NewChannelinternal callsites anymore - callsite updated (r=sicking) 2015-02-19 11:47:59 -08:00
Josh Matthews
86618832b4 Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug 2015-02-18 20:34:29 -05:00
Christoph Kerschbaumer
a8d1c507ad Bug 1109910 - Move LoadInfo from docShell into Necko (r=sicking,sworkman)
--HG--
rename : docshell/base/LoadInfo.cpp => netwerk/base/LoadInfo.cpp
rename : docshell/base/LoadInfo.h => netwerk/base/LoadInfo.h
rename : docshell/base/nsILoadInfo.idl => netwerk/base/nsILoadInfo.idl
2015-02-18 12:34:13 -08:00
Ryan VanderMeulen
5abea51e9a Backed out changeset 25f90464e93b (bug 1065216) for Android mochitest failures. 2015-02-18 16:00:33 -05:00
Josh Matthews
cb61a019fc Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug 2015-02-18 14:10:52 -05:00
Ryan VanderMeulen
126294da7d Backed out changeset 73e586b9f04f (bug 1109910) for bustage.
CLOSED TREE

--HG--
rename : netwerk/base/LoadInfo.cpp => docshell/base/LoadInfo.cpp
rename : netwerk/base/LoadInfo.h => docshell/base/LoadInfo.h
rename : netwerk/base/nsILoadInfo.idl => docshell/base/nsILoadInfo.idl
2015-02-18 11:57:57 -05:00
Christoph Kerschbaumer
1c3057e193 CLOSED TREE - Bug 1109910 - Move LoadInfo from docShell into Necko (r=sicking,sworkman)
--HG--
rename : docshell/base/LoadInfo.cpp => netwerk/base/LoadInfo.cpp
rename : docshell/base/LoadInfo.h => netwerk/base/LoadInfo.h
rename : docshell/base/nsILoadInfo.idl => netwerk/base/nsILoadInfo.idl
2015-02-17 19:53:06 -08:00
Carsten "Tomcat" Book
cd9b02cc35 Backed out changeset 5f5540f3fcce (bug 1109910) for Bustage on a CLOSED TREE
--HG--
rename : netwerk/base/LoadInfo.cpp => docshell/base/LoadInfo.cpp
rename : netwerk/base/LoadInfo.h => docshell/base/LoadInfo.h
rename : netwerk/base/nsILoadInfo.idl => docshell/base/nsILoadInfo.idl
2015-02-18 17:15:00 +01:00
Christoph Kerschbaumer
ad762b9022 Bug 1109910 - Move LoadInfo from docShell into Necko (r=sicking,sworkman)
--HG--
rename : docshell/base/LoadInfo.cpp => netwerk/base/LoadInfo.cpp
rename : docshell/base/LoadInfo.h => netwerk/base/LoadInfo.h
rename : docshell/base/nsILoadInfo.idl => netwerk/base/nsILoadInfo.idl
2015-02-17 19:53:06 -08:00
Christoph Kerschbaumer
5e75741df7 Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - websocket changes (r=jduell) 2015-02-17 10:09:58 -08:00