Wes Kocher
4bb251d0cc
Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE
2015-01-29 14:23:37 -08:00
Jim Mathies
ec93043624
Bug 1095754 - Disable two plugin tests under e10s that perma-fail with these changes. r=me
2015-01-29 13:41:58 -06:00
Jim Mathies
cb85ff4a2b
Bug 1095754 - Add platform widget support for providing widget identifiers used in remote widget tracking and hookl this up on gtk and Windows. r=roc
2015-01-29 13:41:57 -06:00
Jim Mathies
803fb1d104
Bug 1095754 - Miscellaneous code cleanup nits found along the way. r=me
2015-01-29 13:41:57 -06:00
Jim Mathies
d3c0a8cfc1
Bug 1095754 - Transfer bounds information from native plugin widgets to GTK socket widgets when the native plugin widget bounds update. r=roc
2015-01-29 13:41:57 -06:00
Jim Mathies
4c3194fc91
Bug 1095754 - Provide a way to force an update on a plugin window asyncronously from chrome. Trigger an update when we adjust the widget configurations. r=aklotz
2015-01-29 13:41:56 -06:00
Jim Mathies
b93a28f5fb
Bug 1095754 - Update PPluginWidget shutdown logic. r=aklotz
2015-01-29 13:41:56 -06:00
Jim Mathies
18141d6edb
Bug 1095754 - Add various debug assertions to PluginWidgetParent. r=aklotz
2015-01-29 13:41:56 -06:00
Jim Mathies
d7b79cfddb
Bug 1095754 - Remove obsolete PPluginWidget apis and code. r=aklotz
2015-01-29 13:41:56 -06:00
Jim Mathies
968b1551b0
Bug 1095754 - In the content process provide a way to track and access PluginInstanceParent objects from PluginWidgetChild. r=aklotz
2015-01-29 13:41:53 -06:00
Jim Mathies
e5e145ed22
Bug 1095754 - Provide a way to track and access native plugin widgets so they can be accessed from global scope. r=aklotz
2015-01-29 13:41:53 -06:00
Jeff Gilbert
54ef36bf57
Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish
2015-01-29 00:44:19 -08:00
Bob Owen
8299a8da28
Bug 1126402: Add a pref to enable a more strict version of the Windows NPAPI process sandbox. r=bsmedberg, r=bbondy
2015-01-29 08:13:07 +00:00
Aaron Klotz
3b8dfe988a
Bug 1121162: Resume stream listener when async NPP_NewStream returns with failure; r=jimm
...
--HG--
extra : rebase_source : 870a2961c46c518594f03594c1301204864440dd
2015-01-26 14:54:50 -07:00
Bill McCloskey
b3cb3ceade
Back out 94a2a4a7c84c (bug 1075670) for breaking context menu in e10s CLOSED TREE
2015-01-28 16:12:36 -08:00
zhoubcfan@163.com
c7f045b50b
Bug 1126711 - Fix incorrect PluginWidgetChild.h include guards. r=jimm
2015-01-27 02:45:01 +00:00
Nicholas Nethercote
7107663e7b
Bug 1124973 (part 4) - Remove erroneous uses of PL_DHASH_ENTRY_IS_{BUSY,FREE} in nsJSNPRuntime.cpp. r=froydnj.
...
The BUSY check is merely useless, because BUSY is always true for a non-null
entry returned by PL_DHashTableAdd.
The FREE check is downright dangerous because it dereferences |entry| and
PL_DHashTableAdd() returns nullptr on OOM. A null check makes more sense here.
--HG--
extra : rebase_source : bbafb351b9a700724004916801fd9ef9415fb031
2015-01-26 14:05:06 -08:00
Nicholas Nethercote
70b1eacc9e
Bug 1124973 (part 2) - Introduce PL_DHashTableSearch(), and replace most PL_DHashTableLookup() calls with it. r=froydnj.
...
It feels safer to use a function with a new name, rather than just changing the
behaviour of the existing function.
For most of these cases the PL_DHashTableLookup() result was checked with
PL_DHASH_ENTRY_IS_{FREE,BUSY} so the conversion was easy. A few of them
preceded that check with a useless null check, but the intent of these was
still easy to determine.
I'll do the trickier ones in subsequent patches.
--HG--
extra : rebase_source : ab37a7a30be563861ded8631771181aacf054fd4
2015-01-22 21:06:55 -08:00
David Parks
b9369a9f65
Bug 1075670 - Make PuppetWidget::WidgetToScreenOffset report proper screen coords. r=josh
...
PuppetWidget::WidgetToScreenOffset now reports proper widget screen location. Previously, in the content process, all widgets were defined to be located at the screen origin. This also repairs mac e10s OOP plugin coordinate calculations that would be broken by this change.
2015-01-26 15:17:58 -08:00
Benjamin Smedberg
5cef4bb7ec
Bug 1126450 - When Flash has a blocklist entry, we should keep protected-mode on, no matter the value of the pref setting. r=aklotz
...
--HG--
extra : rebase_source : a814490e67487409ef86895506cfe4f2d622f6c2
2015-01-27 15:49:48 -05:00
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