Steven Michaud
dfd77a0897
Bug 1118615 - Flash hangs in HiDPI mode on OS X running peopleroulette app, fix comments. r=fix-comments
2015-01-21 14:45:05 -06:00
Patrick McManus
175115e709
bug 1116867 - make nsIProgressEventSink and nsITransportEventSink safely scriptable r=mayhemer r=bz
...
These scriptable interfaces use uint_64 arguments with sentinel values
of UINT64_MAX. However, UINT64_MAX exceeds MAX_SAFE_INTEGER and cannot
be gatewayed to/from javascript - so they cannot be used
correctly. Change them to use signed 64 bit numbers and -1 as the
sentinnel. C++ implementations ought to be enough to audit as the
special value could never be used correctly in JS anyhow - also
audited OnProgressChange() uses for downstream use of this data.
---
dom/base/nsXMLHttpRequest.cpp | 19 +++++++----
dom/base/nsXMLHttpRequest.h | 10 +++---
dom/plugins/base/nsPluginStreamListenerPeer.cpp | 4 +--
.../webbrowserpersist/nsWebBrowserPersist.cpp | 14 ++++----
image/src/imgLoader.cpp | 4 +--
modules/libjar/nsJARChannel.cpp | 3 +-
netwerk/base/public/nsIProgressEventSink.idl | 8 ++---
netwerk/base/public/nsITransport.idl | 8 ++---
netwerk/base/public/nsNetUtil.h | 24 ++++++++++++++
netwerk/base/src/Dashboard.cpp | 2 +-
netwerk/base/src/nsBaseChannel.cpp | 12 +++----
netwerk/base/src/nsIncrementalDownload.cpp | 4 +--
netwerk/base/src/nsSocketTransport2.cpp | 5 +--
netwerk/base/src/nsStreamTransportService.cpp | 38 +++++++++++++---------
netwerk/base/src/nsTransportUtils.cpp | 12 +++----
netwerk/protocol/file/nsFileChannel.cpp | 8 +++--
netwerk/protocol/ftp/nsFtpConnectionThread.cpp | 4 +--
netwerk/protocol/http/Http2Push.cpp | 2 +-
netwerk/protocol/http/Http2Session.cpp | 2 +-
netwerk/protocol/http/HttpChannelChild.cpp | 31 +++++++++---------
netwerk/protocol/http/HttpChannelChild.h | 6 ++--
netwerk/protocol/http/HttpChannelParent.cpp | 4 +--
netwerk/protocol/http/HttpChannelParent.h | 4 +--
netwerk/protocol/http/NullHttpTransaction.cpp | 2 +-
netwerk/protocol/http/PHttpChannel.ipdl | 2 +-
netwerk/protocol/http/SpdyPush31.cpp | 2 +-
netwerk/protocol/http/SpdySession31.cpp | 2 +-
netwerk/protocol/http/TunnelUtils.cpp | 2 +-
netwerk/protocol/http/nsAHttpTransaction.h | 4 +--
netwerk/protocol/http/nsHttpChannel.cpp | 30 +++++++++++------
netwerk/protocol/http/nsHttpConnection.cpp | 4 +--
netwerk/protocol/http/nsHttpConnectionMgr.cpp | 4 +--
netwerk/protocol/http/nsHttpPipeline.cpp | 4 +--
netwerk/protocol/http/nsHttpPipeline.h | 6 ++--
netwerk/protocol/http/nsHttpResponseHead.cpp | 2 +-
netwerk/protocol/http/nsHttpResponseHead.h | 2 +-
netwerk/protocol/http/nsHttpTransaction.cpp | 32 +++++++++---------
netwerk/protocol/http/nsHttpTransaction.h | 2 +-
netwerk/protocol/wyciwyg/WyciwygChannelChild.cpp | 2 +-
netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp | 3 +-
netwerk/test/TestIncrementalDownload.cpp | 7 ++--
uriloader/base/nsDocLoader.cpp | 14 ++++----
42 files changed, 203 insertions(+), 151 deletions(-)
2015-01-08 14:48:52 -05:00
Nicholas Nethercote
2116ab605f
Bug 1123151 (part 3) - Make PLDHashTable::ops private. r=froydnj.
...
This required adding a getter and a setter, but they're used sparingly.
--HG--
extra : rebase_source : 2a40e459de2a7a9e2bb6d65b046e4a920b212326
2015-01-19 16:34:44 -08:00
Nicholas Nethercote
8bd1f6f072
Bug 1123151 (part 2) - Add PLDHashTable::IsInitialized(). r=froydnj.
...
This encapsulates most of the uses of PLDHashTable::ops.
--HG--
extra : rebase_source : 7760ce8e46a37e87dcfe590e809a21df01fe510f
2015-01-19 16:11:34 -08:00
Nicholas Nethercote
bd573c9b9c
Bug 1123151 (part 1) - Set PLDHashTable::ops consistently. r=froydnj.
...
Currently the setting of PLDHashTable::ops is very haphazard.
- PLDHashTable has no constructor, so it's not auto-nulled, so lots of places
null it themselves.
- In the fallible PLDHashTable::Init() function, if the entry storage
allocation fails we'll be left with a table that has |ops| set -- indicating
it's been initialized -- but has null entry storage. I'm not certain this can
cause problems but it feels unsafe, and some (but not all) callers of Init()
null it on failure.
- PLDHashTable does not null |ops| in Finish(), so some (but not all) callers
do this themselves.
This patch makes things simpler.
- It adds a constructor that zeroes |ops|.
- It modifies Init() so that it only sets |ops| once success is ensured.
- It zeroes |ops| in Finish().
- Finally, it removes all the now-unnecessary |ops| nulling done by the users
of PLDHashTable.
--HG--
extra : rebase_source : bb34979c218d152562a2f9c7e5215256c111cc5b
2015-01-19 16:01:24 -08:00
Bill McCloskey
f6534c08fb
Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley,bent)
2015-01-16 18:34:47 -08:00
Bill McCloskey
cb8c3ea750
Backout bug 1118618 on a CLOSED TREE
2015-01-16 14:46:05 -08:00
Steven Michaud
a25a7a3cb8
Bug 1118615 - Flash hangs displaying a camera/microphone access dialog in HiDPI mode, workaround. r=mstange
2015-01-16 12:16:44 -06:00
Bill McCloskey
50963a26d1
Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley)
2015-01-16 10:11:18 -08:00
Michael Pruett
a58d13d7ba
Bug 1121202 - Remove unused PL_DHashTableOperate function. r=njn
2015-01-15 18:01:07 -06:00
Nicholas Nethercote
c7538c9776
Bug 1120476 (part 3) - Remove PLDHashTable::data. r=froydnj.
...
--HG--
extra : rebase_source : 24d10af3dbce3ada5252503bc80bb1a4e31bc1c9
2015-01-13 16:42:13 -08:00
Ms2ger
b83d21c58c
Bug 914067 - Remove JSVAL_VOID from dom/; r=jst
2015-01-14 08:59:06 +01:00
Carsten "Tomcat" Book
fe2f83538c
Backed out changeset 8ab6c26d26f5 (bug 1118618)
2015-01-13 08:43:32 +01:00
Bill McCloskey
86da48e77b
Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley)
2015-01-12 23:06:54 -08:00
Carsten "Tomcat" Book
4f4c25ed70
Merge mozilla-central to fx-team
2015-01-12 15:15:24 +01:00
Christoph Kerschbaumer
54b8e4e5e4
Bug 1110469 - Remove NS_OpenURI (r=sworkman)
2015-01-11 20:26:40 -08:00
Benjamin Smedberg
b3c2777fc5
Bug 1119302 - Implement nsIContentPolicy.shouldProcess for plugin subresource loads, r=bz
...
--HG--
extra : rebase_source : f13d62f2cdbd5e90bf759222449ee0f73ebc7110
2015-01-08 12:23:27 -05:00
Jim Chen
db34c64f29
Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp
2015-01-09 19:33:57 -05:00
Wes Kocher
385a85a0fc
Backout 0c40a9e043ce (bug 1119302) for test_streamnotify.html bustage
2015-01-09 14:02:16 -08:00
Michael Pruett
411a94b05a
Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd
2015-01-05 20:27:28 -06:00
Ehsan Akhgari
24fc3238f1
Bug 1118611 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/plugins; r=baku
2015-01-07 10:32:50 -05:00
Nicholas Nethercote
783dff3b05
Bug 1117591 - Fix mismatched alloc/dealloc in APNAudio.cpp. r=blassey.
...
--HG--
extra : rebase_source : 084269396435f1cffdb2f38a7bf73a7cf69edb75
2015-01-05 15:51:37 -08:00
Benjamin Smedberg
af5901232a
Bug 1119302 - Implement nsIContentPolicy.shouldProcess for plugin subresource loads, r=bz
...
--HG--
extra : rebase_source : 6df300a4ce73dfdd4940d3ae36a8bcf9e05b3044
2015-01-08 12:23:27 -05:00
Jeff Gilbert
a76e617dd0
Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp
2014-11-17 17:02:19 -08:00
Aaron Klotz
b0f6244ad7
Bug 998863: Asynchronous Plugin Initialization, Part 2: dom/plugins/base changes; r=johns,josh
2014-12-29 16:12:40 -07:00
Aaron Klotz
a7837a089d
Bug 998863: Asynchronous Plugin Initialization, Part 1: nsJSNPRuntime changes; r=josh
2014-12-29 16:12:25 -07:00
Phil Ringnalda
0c888c27eb
Backed out 15 changesets (bug 1070755, bug 998863) for e10s bustage
...
CLOSED TREE
Backed out changeset 076d1d47d601 (bug 1070755)
Backed out changeset 43819af59ca5 (bug 998863)
Backed out changeset 5f587697ae63 (bug 998863)
Backed out changeset e2cf239e8572 (bug 998863)
Backed out changeset fe21b6b789ce (bug 998863)
Backed out changeset 404f59f86edc (bug 998863)
Backed out changeset 5dd57abaf2b0 (bug 998863)
Backed out changeset 6c1f006a03bc (bug 998863)
Backed out changeset 9e69875e3667 (bug 998863)
Backed out changeset c6b68f8f72ba (bug 998863)
Backed out changeset 713799a7afe4 (bug 998863)
Backed out changeset 4244d662787c (bug 998863)
Backed out changeset ba058cc7a1b2 (bug 998863)
Backed out changeset dabc69b0b09a (bug 998863)
Backed out changeset 18dad6d2e7cc (bug 998863)
2014-12-24 18:28:45 -08:00
Aaron Klotz
15edf3ffa5
Bug 998863: Asynchronous Plugin Initialization, Part 2: dom/plugins/base changes; r=johns,josh
2014-12-24 17:55:58 -07:00
Aaron Klotz
3f61ccb984
Bug 998863: Asynchronous Plugin Initialization, Part 1: nsJSNPRuntime changes; r=josh
2014-12-24 17:55:48 -07:00
Chris Peterson
7a4ee82126
Bug 1110651 - Remove Android FAIL_ON_WARNINGS exception from dom/plugins/base. r=josh
2014-12-10 22:30:52 -08:00
Botond Ballo
870235958c
Bug 1073081 - Fix -Wunused-result, -Wunused-variable, and -Wunused-but-set-variable warnings. r=ehsan
...
--HG--
extra : source : a1ac7acfcf14207706eca29be3a20c576c8fae06
2014-11-26 18:13:49 -05:00
Benjamin Smedberg
6ddc077746
Bug 1108035 - Add a preference that allows us to disable Flash protected mode from within Firefox. We do this by hooking CreateFileW and replacing the Flash config file with our own. r=aklotz
...
--HG--
extra : rebase_source : 929cb9acf53f7aa761d202b660dbfc39020bac74
2014-12-12 10:19:06 -05:00
Jim Mathies
57bb068631
Bug 874167 - Enable java plugins with e10s on Windows. r=billm
2014-12-12 12:24:24 -06:00
Tom Schuster
d7ef4e6227
Bug 1097267 - Use new enumerate hook for plugins. r=josh
2014-12-11 19:31:10 +01:00
Josh Aas
f9e3926e19
Bug 1092630: Get rid of native widgets for OS X NPAPI plugins, make things work much better under e10s. Patch by Josh Aas, Markus Stange, Steven Michaud, David Parks. r=smichaud/jst/josh (more reviews pending)
2014-12-11 08:44:07 -06:00
Jason Orendorff
92f1bf16c5
Bug 1103368, part 5 - Make Class::getProperty and setProperty nullable instead of needing stub functions. Never store stub functions in JSPropertyDescriptors. r=bhackett.
...
--HG--
extra : rebase_source : a44070dd6155426ef6026c1575116f90b5fdac0c
extra : amend_source : 8d8fcf05dfd5fdf214a39501663347a6d6b56463
2014-11-22 12:23:39 -06:00
Jason Orendorff
acdfa74202
Bug 1103152
- Remove JS_DeletePropertyStub, JS_EnumerateStub, JS_ResolveStub, and JS_ConvertStub. Make five mandatory JSClass hooks optional (nullable). r=bhackett.
...
--HG--
extra : rebase_source : a349ef612573aff8f87b995a65df94ae56cab13d
extra : amend_source : bbfe549fe0735d8b33ffff66d7eeddcc2ad042d2
2014-12-02 16:56:35 -06:00
Nathan Froyd
eb4768e58c
Bug 1095543 - remove unnecessary nsInterfaceHashtable.h includes; r=ehsan
2014-11-07 08:52:43 -05:00
Trevor Saunders
1a013270b5
bug 1105074 - make more stuff final r=froydnj
2014-11-25 13:56:07 -05:00
Karl Tomlinson
ed15675b8b
bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
...
--HG--
extra : rebase_source : 220ede5d449a752c16064bb77905bc68af3df707
2014-11-14 00:53:02 +13:00
Sid Stamm
25bb9cab21
Bug 704320 - enable meta referrer policies for object loads. (r=jst)
2014-11-18 08:47:08 -05:00
Julian Seward
486e1c8571
Bug 1096054 - Uninitialised value use in Interpret(JSContext*, js::RunState&). r=jwalden.
...
--HG--
extra : rebase_source : 49b1ebd5750bf45cf59479c5f8aae06468b223a0
2014-11-14 21:55:03 +01:00
Christoph Kerschbaumer
d5cbc137e2
Bug 1083422 - Add triggering Principal to nsILoadInfo - update callsites (r=bz,sicking)
2014-11-14 08:56:55 -08:00
James Willcox
27c08cecb8
Bug 1086693 - Part 6: Use generated bindings for AndroidMediaCodec and AndroidSurfaceTexture r=blassey,gcp
2014-11-13 12:47:24 -06:00
Boris Zbarsky
e25768cbf9
Bug 1095660 part 5. Change nsJSUtils::EvaluateString to take an explicit scope chain. r=bholley
2014-11-12 17:04:29 -05:00
Jim Mathies
c01005aaff
Bug 669200 - Add support for gtk socket widgets for plugin windows. r=roc
2014-11-12 14:59:21 -06:00
Jim Mathies
6378e0152d
Bug 669200 - nsPluginNativeWindow(Gtk/Win) support for content process plugins. Involves disabling some obsolete code and fixing helper calls like CallSetWindow, which no longer have access to native resources. r=blassey
2014-11-12 14:59:20 -06:00
Jim Mathies
6f6e8ef4e9
Bug 669200 - Various changes to non-ipc related plugin code to facilitate remoting windowed plugin widgets in content. r=roc
2014-11-12 14:59:20 -06:00
Tom Schuster
8a051a23e7
Bug 993026 - Rename NewResolve to Resolve in browser. r=bz
2014-11-08 01:07:12 +01:00
Tom Schuster
18c9617c27
Bug 993026 - Change resolve hook in browser/XPC. r=bholley
2014-11-08 01:07:12 +01:00