Commit Graph

1965 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
d25c658bfd Merge mozilla-central to b2g-inbound 2015-11-25 14:00:32 +01:00
Yoshi Huang
47c69d1edb Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Francois Marier
22ad94bee5 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
12defbed9e Bug 1119386 - Part 1: Use document's principal for favicons in docshell (r=smaug) 2015-11-24 13:31:42 -08:00
Francois Marier
b9f646ed8b Bug 1216723 - Add a new -forbid- Safe Browsing list type. r=gcp,r=smaug 2015-11-20 20:24:50 -08:00
Henry
4ccc428755 Bug 1178526 - Create docshell with packageId from TabContext. r=sicking. 2015-10-29 00:52:40 +08:00
Bill McCloskey
4dee4d6fa4 Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-11-11 18:04:21 -08:00
George Wright
1fa75f94b8 Bug 1098131 - Don't invalidate layers when simply changing SizeMode r=smaug,jimm 2015-11-09 21:38:21 -05:00
Nicholas Nethercote
c3c2a5bf71 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.
2015-11-09 21:37:32 -08:00
Gijs Kruitbosch
0a60cb2187 Bug 1209591 - allow loadURI consumers to expose whether an error page was immediately loaded as result of an error, r=smaug,mak 2015-10-27 16:44:24 +01:00
Tom Tromey
78a4089dd0 Bug 1160307 - capture async stack frames on Javascript timeline markers. r=fitzgen, r=smaug r=Paolo 2015-11-05 11:31:00 +01:00
Birunthan Mohanathas
ac37dec517 Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Ben Kelly
9a6a1e771f Bug 1215140 P8 Remove now unnecessary interception values from ErrorList.h. r=bz 2015-10-29 19:53:25 -07:00
Ben Kelly
7271f17dee Bug 1215140 P7 Remove old service worker interception logging. r=bz 2015-10-29 19:53:25 -07:00
Ben Kelly
f68d2366c4 Bug 1215140 P3 Flush pending console reports on http channels. r=bz 2015-10-29 19:53:25 -07:00
Kyle Huey
8f8794e1c7 Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Victor Porof
c069753edc Bug 1202657 - Add markers for workers' message passing and serialization/deserialization, r=smaug, jsantell, tromey, ejpbruel 2015-10-21 23:10:05 +02:00
Dragana Damjanovic
5f0ab6b485 Bug 1213267 - Fix view-source address. r=bz 2015-10-12 02:08:00 -04:00
Nathan Froyd
4e6d8f6705 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
2015-10-18 01:24:48 -04:00
Phil Ringnalda
a2781a9a63 Merge f-t to m-c, a=merge 2015-10-17 11:19:46 -07:00
Masatoshi Kimura
aa5e49e1d9 Bug 1207137 - Add an error code for weak crypto override. r=bz 2015-10-17 09:38:30 +09:00
Olli Pettay
dbb8d7e043 Bug 1003100 - pushState() in iframe fails when reloading with CTRL+F5, r=bz 2015-10-16 20:05:54 +03:00
Gijs Kruitbosch
840ae2e3ff Bug 1210439, r=smaug 2015-10-01 13:23:27 -04:00
Xidorn Quan
d39e82dd43 Bug 1212299 part 1 - Forbid documents inside elements other than iframe from requesting fullscreen. r=smaug 2015-10-12 11:24:23 +11:00
Dragana Damjanovic
3be65f5db2 Bug 1211690 - Remove not needed nsILoadInfo get. r=ckerschb 2015-10-11 18:13:10 +02:00
Ehsan Akhgari
20f13bc0e3 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
e3870327f5 Bug 1213150 - Part 2: Rework ShouldPrepareForIntercept() in terms of subresource requests; r=jdm 2015-10-09 10:52:55 -04:00
Ehsan Akhgari
3764489cf0 Bug 1213150 - Part 1: Add a nsContentUtils::IsNonSubresourceRequest helper; r=jdm 2015-10-09 10:52:54 -04:00
Ehsan Akhgari
8df402597a 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
8612a67a22 Back out bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process 2015-10-07 11:15:11 -07:00
Ehsan Akhgari
bfcf1b7a20 Bug 1210302 - Part 3: Add a NS_ParseRequestContentType API; r=mcmanus,sicking 2015-10-06 20:26:46 -04:00
Ben Kelly
55080c2994 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
f0be0ff036 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
d917e85ac4 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
Bill McCloskey
aa1b6377d3 Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-10-01 21:18:48 -07:00
Wes Kocher
571a667d85 Merge inbound to central, a=merge 2015-09-30 13:49:27 -07:00
Dragana Damjanovic
128bcc99a7 Bug 1185256 - Save originURI to the history. r=bz 2015-09-30 08:54:39 +02:00
Gijs Kruitbosch
5e9fe40895 Bug 1206879 - fire onlocationchange from pushState in frames when the URI changes, r=smaug 2015-09-29 13:50:55 -04:00
Ehsan Akhgari
9deb13c127 Bug 1208903 - Eliminate a repeated condition in nsDocShell::EndPageLoad; r=baku
Found by Viva64.
2015-09-28 09:08:43 -04:00
Yoshi Huang
caacd89b9c Bug 1165466 - Fix up docshell and loadcontext inheriting code in nsIScriptSecurityManager. r=bholley 2015-09-23 16:10:21 +08:00
Bobby Holley
53f8074964 Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz 2015-09-24 14:02:41 -07:00
Ehsan Akhgari
9b10284f2d 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
Nikhil Marathe
b4a78c2657 Bug 1184798 - Ensure workers loads are treated as non-subresource fetches. r=jdm 2015-09-17 11:56:41 -07:00
Ehsan Akhgari
dc7e708f00 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
Andrea Marchesini
a2ded5aeff Bug 1163545 - Bypass AppCache completely when Service Workers supported & registered, r=jdm 2015-09-18 10:18:38 +08:00
Brendan Dahl
4fc9ae45d4 Bug 1202895 - Fix shift-reload check for setting up service worker. r=bkelly 2015-09-16 15:28:45 -07:00
Matteo Ferretti
02afb88cb7 Bug 1132475 - Refactor LayoutHelpers.jsm to avoid dependencies. r=pbrosset 2015-09-15 00:32:00 -04:00
Nikhil Marathe
5d7c7dd7df Bug 1198230 - Respect FetchEvent.preventDefault(). r=jdm
Update web-platform-tests expected data
2015-09-04 12:00:24 -07:00
Aidin Gharibnavaz
155c1b746b 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
Ben Kelly
238556c7f9 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