Commit Graph

1085 Commits

Author SHA1 Message Date
Jason Orendorff
419928a786 Bug 1127121 - Remove property key type splitting in ObjectOps. r=bhackett. 2015-01-28 17:12:44 -06:00
James Willcox
f4f528a253 Bug 1116469 - Correctly orient Android Flash video surfaces r=gcp 2015-02-02 15:25:22 -06:00
James Willcox
c2a8af3719 Bug 1121647 - Use correct wake lock topic for Flash on Android r=esawin 2015-02-02 15:25:22 -06:00
Mike Hommey
50e6916b40 Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn 2015-02-02 09:56:13 +09:00
Phil Ringnalda
828d8bca44 Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
becb33393a Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-01 17:27:41 -05:00
Tom Schuster
0afcf48b3b Bug 1127443 - Remove JS_NewObject proto argument. 2015-01-31 16:18:51 +01:00
John Schoenick
524d0e597d Bug 1061967 part 2 - Bonus whitespace cleanup. r=bsmedberg 2015-01-30 10:54:19 -05:00
John Schoenick
1a6f7d27b0 Bug 1061967 part 1 - Move checking for special-cased plugin types to a central spot. r=bsmedberg 2015-01-30 10:54:19 -05:00
Wes Kocher
4a7262bb43 Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE 2015-01-29 14:23:37 -08:00
Jim Mathies
6c74749e90 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
Jeff Gilbert
c9fbfe90ae Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish 2015-01-29 00:44:19 -08:00
Bill McCloskey
404980e2fa Back out 94a2a4a7c84c (bug 1075670) for breaking context menu in e10s CLOSED TREE 2015-01-28 16:12:36 -08:00
Nicholas Nethercote
7d8a4e2637 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.
2015-01-26 14:05:06 -08:00
Nicholas Nethercote
d761b24aaf 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.
2015-01-22 21:06:55 -08:00
David Parks
643bc0f59d 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
Wes Kocher
da3c6c9afd Backed out changeset 783d0fe2770b (bug 1124394) for test bustage on a CLOSED TREE 2015-01-26 18:57:36 -08:00
Jeff Gilbert
c83c3ac1ee Bug 1124394 - Allow Core Profile GL contexts. - r=kamidphish 2015-01-26 17:18:45 -08:00
Tom Schuster
23e64763fd Bug 1122619 - Remove getPropertyAttributes object ops. r=jorendorff 2015-01-24 16:38:08 +01:00
Jim Mathies
ab733699c7 Bug 1092121 - Get plugin quirks modes and nsPluginInstanceOwner::GetNetscapeWindow working with remote content. r=billm 2015-01-23 04:10:52 -06:00
Tom Schuster
dea3c49818 Bug 1122552 - Introduce [[GetOwnProperty]] object op. r=jorendorff,bz 2015-01-22 17:17:26 +01:00
Carsten "Tomcat" Book
bd64f16791 merge mozilla-inbound to mozilla-central a=merge 2015-01-22 14:30:51 +01:00
Wes Kocher
a2f7a323b6 Merge m-c to fx-team a=merge 2015-01-21 16:28:27 -08:00
Steven Michaud
5f71201645 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
4d4b1d2cb9 Bug 822177 - Don't delete site data for disabled addons. r=bsmedberg 2014-12-24 17:50:00 -05:00
Patrick McManus
fdaefb68d6 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
df009957a0 Bug 436344 - Allow filtering of proxies by channel. r=mcmanus 2015-01-21 21:13:00 +01:00
Nicholas Nethercote
e2842aa5dd Bug 1123151 (part 3) - Make PLDHashTable::ops private. r=froydnj.
This required adding a getter and a setter, but they're used sparingly.
2015-01-19 16:34:44 -08:00
Nicholas Nethercote
9a918a72c0 Bug 1123151 (part 2) - Add PLDHashTable::IsInitialized(). r=froydnj.
This encapsulates most of the uses of PLDHashTable::ops.
2015-01-19 16:11:34 -08:00
Nicholas Nethercote
fa52a2c4c9 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.
2015-01-19 16:01:24 -08:00
Bill McCloskey
895dd5b731 Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley,bent) 2015-01-16 18:34:47 -08:00
Bill McCloskey
7cc975d82d Backout bug 1118618 on a CLOSED TREE 2015-01-16 14:46:05 -08:00
Steven Michaud
1a12bb470a 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
5d09feb86e Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley) 2015-01-16 10:11:18 -08:00
Michael Pruett
51d5297a9e Bug 1121202 - Remove unused PL_DHashTableOperate function. r=njn 2015-01-15 18:01:07 -06:00
Nicholas Nethercote
7c92773a6f Bug 1120476 (part 3) - Remove PLDHashTable::data. r=froydnj. 2015-01-13 16:42:13 -08:00
Ms2ger
ab12074deb Bug 914067 - Remove JSVAL_VOID from dom/; r=jst 2015-01-14 08:59:06 +01:00
Carsten "Tomcat" Book
9ffd6720aa Backed out changeset 8ab6c26d26f5 (bug 1118618) 2015-01-13 08:43:32 +01:00
Bill McCloskey
21bc54764a Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley) 2015-01-12 23:06:54 -08:00
Carsten "Tomcat" Book
67cb3fa968 Merge mozilla-central to fx-team 2015-01-12 15:15:24 +01:00
Christoph Kerschbaumer
8bb0600bb8 Bug 1110469 - Remove NS_OpenURI (r=sworkman) 2015-01-11 20:26:40 -08:00
Benjamin Smedberg
3528e5ed3b 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
67f8ab8931 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Wes Kocher
10d6f8b6d0 Backout 0c40a9e043ce (bug 1119302) for test_streamnotify.html bustage 2015-01-09 14:02:16 -08:00
Michael Pruett
c1d94593ae Bug 1118024 - Use new PL_DHashTable{Add,Lookup,Remove} functions. r=nfroyd 2015-01-05 20:27:28 -06:00
Ehsan Akhgari
e6669a5ecf Bug 1118611 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/plugins; r=baku 2015-01-07 10:32:50 -05:00
Nicholas Nethercote
8d30269bd4 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
6620e99fe8 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
d5219ab679 Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp 2014-11-17 17:02:19 -08:00
Aaron Klotz
d288822794 Bug 998863: Asynchronous Plugin Initialization, Part 2: dom/plugins/base changes; r=johns,josh 2014-12-29 16:12:40 -07:00