Commit Graph

2123 Commits

Author SHA1 Message Date
Ehsan Akhgari
34ebbbebeb Bug 1117034 - Mark some overridden functions in the tree as override
--HG--
extra : rebase_source : a37ba6b69c02db90b8f3c440ac2dbca4d80c8bc5
2015-01-26 21:09:59 -05:00
Wes Kocher
62df818443 Backed out changeset 783d0fe2770b (bug 1124394) for test bustage on a CLOSED TREE 2015-01-26 18:57:36 -08:00
Ehsan Akhgari
b0ff6c50c9 Backed out changeset 45921e3d9773 (bug 1117034) because of build bustage on a CLOSED TREE 2015-01-26 21:52:40 -05:00
Ehsan Akhgari
cacfbf0a61 Bug 1117034 - Mark some overridden functions in the tree as override 2015-01-26 21:14:12 -05:00
Jeff Gilbert
b17f3529ee Bug 1124394 - Allow Core Profile GL contexts. - r=kamidphish 2015-01-26 17:18:45 -08:00
Makoto Kato
a15474f0cb Bug 1123966 - Use FILE_FLAG_DELETE_ON_CLOSE instead of RemoveFile. r=akloyz 2015-01-25 15:37:39 +09:00
Tom Schuster
0998506fdb Bug 1122619 - Remove getPropertyAttributes object ops. r=jorendorff 2015-01-24 16:38:08 +01:00
Jim Mathies
6909336cea Bug 1092121 - Get plugin quirks modes and nsPluginInstanceOwner::GetNetscapeWindow working with remote content. r=billm 2015-01-23 04:10:52 -06:00
Bob Owen
0ab45dda9a Bug 1123245 Part 3: Add prefs for the Windows NPAPI process sandbox. r=bsmedberg 2015-01-23 08:32:21 +00:00
Bob Owen
674aea744b Bug 1123245 Part 1: Enable an open sandbox on Windows NPAPI processes. r=josh, r=tabraldes 2015-01-23 08:32:20 +00:00
Tom Schuster
e600e170fe Bug 1122552 - Introduce [[GetOwnProperty]] object op. r=jorendorff,bz 2015-01-22 17:17:26 +01:00
Carsten "Tomcat" Book
cd20078ecd Merge mozilla-central to mozilla-inbound 2015-01-22 14:39:29 +01:00
Carsten "Tomcat" Book
22bec65ed2 merge mozilla-inbound to mozilla-central a=merge 2015-01-22 14:30:51 +01:00
Jim Mathies
e02596de2e Bug 669200 - clean up some windows line endings in PPluginWidget classes. r=nobug 2015-01-22 07:20:13 -06:00
Wes Kocher
6b6ca4243b Merge m-c to fx-team a=merge 2015-01-21 16:28:27 -08:00
Steven Michaud
baee3bf3f5 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
Michael Lopez
10b122e38e Bug 822177 - Don't delete site data for disabled addons. r=bsmedberg 2014-12-24 17:50:00 -05:00
Steven Michaud
a3a1208d8a Bug 1117027 - Unity DT2 demo crashes on first click with e10s disabled on OS X. r=mstange 2015-01-20 16:26:38 -06:00
Patrick McManus
db8e9e1cb3 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
Arthur Edelstein
74eea736dc Bug 436344 - Allow filtering of proxies by channel. r=mcmanus 2015-01-21 21:13:00 +01:00
Nicholas Nethercote
f015f4adb2 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
c0a8a6e993 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
a5c8dbfaf4 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
93b0905531 Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley,bent) 2015-01-16 18:34:47 -08:00
Bill McCloskey
7b3fe0714a Backout bug 1118618 on a CLOSED TREE 2015-01-16 14:46:05 -08:00
Aaron Klotz
2862670777 Bug 1117244: Prevent e10s plugin module bridging from preempting async init messages; r=jimm
--HG--
extra : rebase_source : 205864aff2e571b27e11f4d4ec2ec1fa17e7841e
2015-01-16 14:03:27 -07:00
Kyle Huey
591c252165 Bug 1121673: Use move references in IPDL. r=bent 2015-01-16 11:58:52 -08:00
Steven Michaud
74b5fe2637 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
0d4c1b0760 Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley) 2015-01-16 10:11:18 -08:00
Michael Pruett
b832b9ff84 Bug 1121202 - Remove unused PL_DHashTableOperate function. r=njn 2015-01-15 18:01:07 -06:00
Nicholas Nethercote
00b5865c2a Bug 1120476 (part 3) - Remove PLDHashTable::data. r=froydnj.
--HG--
extra : rebase_source : 24d10af3dbce3ada5252503bc80bb1a4e31bc1c9
2015-01-13 16:42:13 -08:00
Aaron Klotz
151c632b09 Bug 1117398: Ensure NPP entry points are handled properly with async plugin init on linux; r=jimm
--HG--
extra : rebase_source : 07df58ca09190d214af0a08503da315ca904b899
2015-01-14 10:55:41 -07:00
Ms2ger
230617c722 Bug 914067 - Remove JSVAL_VOID from dom/; r=jst 2015-01-14 08:59:06 +01:00
Makoto Kato
ce0013bc64 Bug 1120747 - dom.ipc.plugins.flash.disable-protected-mode might not work when launching Flash is immediately. r=aklotz 2015-01-13 18:00:30 +09:00
Carsten "Tomcat" Book
738b922077 Backed out changeset 8ab6c26d26f5 (bug 1118618) 2015-01-13 08:43:32 +01:00
Bill McCloskey
1b1c057069 Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley) 2015-01-12 23:06:54 -08:00
Carsten "Tomcat" Book
64250a3a9f Merge mozilla-central to fx-team 2015-01-12 15:15:24 +01:00
Christoph Kerschbaumer
e7043cc6be Bug 1110469 - Remove NS_OpenURI (r=sworkman) 2015-01-11 20:26:40 -08:00
Masatoshi Kimura
f70d08c5aa Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Benjamin Smedberg
bad6d827b8 Bug 1119302 - Implement nsIContentPolicy.shouldProcess for plugin subresource loads, r=bz
--HG--
extra : rebase_source : f13d62f2cdbd5e90bf759222449ee0f73ebc7110
2015-01-08 12:23:27 -05:00
Chris Peterson
0b8b25193e Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Jim Chen
c02561a822 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Wes Kocher
03e6458515 Backout 0c40a9e043ce (bug 1119302) for test_streamnotify.html bustage 2015-01-09 14:02:16 -08:00
Aaron Klotz
06315c997f Bug 1119060: Ensure that PluginProcessParent::mLaunchCompleteTask is non-null until the runnable has executed; r=gfritzsche
--HG--
extra : rebase_source : 302721483298af54b2e0f585583150c04e5eba8d
2015-01-07 18:01:51 -07:00
Benjamin Smedberg
73dd1440c9 Bug 869208 - Increase the buffer size we're using to deliver network streams to OOPP plugins, r=aklotz
--HG--
extra : rebase_source : 5be95b5e0d48b6429f5cd868432b2633a83d9800
2015-01-06 12:40:15 -05:00
Michael Pruett
b9d2bd339e Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd 2015-01-05 20:27:28 -06:00
Wes Kocher
c95c485cdc Backout 852f51cb251e (bug 1117864) for various plugin test failures on a CLOSED TREE 2015-01-07 18:35:40 -08:00
Aaron Klotz
a4a0f41ccd Bug 1117864: Do not pass a runnable to PluginProcessParent::Launch when initializing plugins synchronously; r=jimm
--HG--
extra : rebase_source : 8d9b8b39f6da3133ea4200d60f9a7054797ccf4b
2015-01-07 12:39:37 -07:00
Ehsan Akhgari
b9ad1ac4e8 Bug 1118611 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/plugins; r=baku 2015-01-07 10:32:50 -05:00
Nicholas Nethercote
c6666df63c Bug 1117591 - Fix mismatched alloc/dealloc in APNAudio.cpp. r=blassey.
--HG--
extra : rebase_source : 084269396435f1cffdb2f38a7bf73a7cf69edb75
2015-01-05 15:51:37 -08:00