Benoit Jacob
cbefb6a7a2
Bug 704839 - [4/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
...
This patch switches to the new mutual ownership pattern for WebGL objects, based on maintaining a second WebGL-specific refcount mirroring the OpenGL refcount which we can't access, using the helper classes that were introduced in patches 1 and 2.
2011-12-04 14:15:42 -05:00
Benoit Jacob
01397ddaa5
Bug 704839 - [3/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
...
This patch renames GLuint mName to mGLName for consistency.
2011-12-04 14:15:42 -05:00
Benoit Jacob
18afae8195
Bug 704839 - [2/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
...
This patch implements the WebGLRefPtr class, which is how WebGL objects can hold strong references to each other that work in the same way as the references held by the underlying OpenGL objects, i.e. that will be immediately destroyed even by explicit delete calls.
2011-12-04 14:15:42 -05:00
Benoit Jacob
0693fafd24
Bug 704839 - [1/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
...
This patch implements WebGLRefCountedObject, a base class for WebGL objects that implements a "WebGL refcount" mirroring the OpenGL refcount, separate from the XPCOM refcount. It collaborates with the WebGLRefPtr class introduced in patch 2.
2011-12-04 14:15:42 -05:00
Benoit Jacob
9fb7ab40fd
Bug 705673 - remove stale mUniformTextures - no review
...
According to legends, there are still mUniformTextures in caves going down to the center of Earth.
2011-12-04 14:15:42 -05:00
Benoit Jacob
b39d1c2e9f
Bug 705668 - Remove IIDs on WebGL implementation classes - r=ehsan
...
These IIDs were used in the past to check, using do_QueryInterface, that the objects passed to WebGL functions were really of the expected type. Now that WebGL classes are marked 'builtinclass' in the IDL and that check has been removed (see bug 638328), none of that is needed anymore.
2011-12-04 14:15:42 -05:00
Ed Morley
25b5e3e769
Merge mozilla-central and mozilla-inbound
2011-12-04 15:04:54 +00:00
Ms2ger
685ed2f318
Bug 705435 - Remove dead code: CanvasUtils::LogMessage{f,}; r=bjacob
2011-12-03 22:50:17 +01:00
Ms2ger
20adc6aedf
Bug 705434 - Remove dead code: nsXULDocument::ContextStack::IsInsideXULTemplate; r=jst
2011-12-03 22:50:17 +01:00
Ms2ger
f29709a5a1
Bug 705433 - Remove dead code: TestNode::HasAncestor; r=jst
2011-12-03 22:50:17 +01:00
Ms2ger
22368cd88a
Bug 705428 - Remove dead code: nsXMLContentSerializer::AppendToString(const PRUnichar*, PRInt32, nsAString&); r=sicking
2011-12-03 22:50:16 +01:00
Ms2ger
0b57453763
Bug 705427 - Remove dead code: nsAttrAndChildArray::SetAttr(nsIAtom*, const nsAString&); r=sicking
2011-12-03 22:50:16 +01:00
Ms2ger
68e1ed1f12
Bug 704088 - Pass dom::Element to nsLayoutUtils::SurfaceFromElement; r=bz
2011-12-03 22:50:16 +01:00
Andrew Quartey
70e4721eac
Bug 704013 - nsStyleLinkElement::ParseLinkTypes should use HTML5 definition of "whitespace"; f=Ms2ger r=bz
2011-12-03 22:50:15 +01:00
Doug Sherk
6b8258d114
Bug 660070: catch EGL_CONTEXT_LOST and send WebGL an event for it r=bjacob
...
Catches the EGL_CONTEXT_LOST error which occurs after driver resets, and sends a
WebGL context the canvas event webglcontextlost when this occurs.
2011-12-02 23:52:35 -08:00
Steve Fink
6c8d84aa61
Bug 700202 - Propagate errors from ReparentContentWrappersInScope (r=smaug)
...
--HG--
extra : rebase_source : c8590dfa093620e92520a617d69d7f3ebf5edd5f
2011-11-21 09:35:26 -08:00
Phil Ringnalda
001a640116
Back out dcf31efc8c12 and 79c9926f0f45 (bug 702439) to investigate the effects on the browser-chrome leak
2011-12-02 19:43:24 -08:00
Jonas Sicking
ba936a2ec5
Backed out changeset 127374ca4f92 due to test failures.
2011-12-02 19:29:35 -08:00
Wellington Fernando de Macedo
708f0b0221
Bug 664179: Support cross-origin EventSource. r=me
2011-12-02 18:32:46 -08:00
Brandon Sterne
8462252cd3
Add missing tests for Bug 702439, r=bz
2011-12-02 16:56:40 -08:00
Brandon Sterne
f79bb5d11f
Bug 702439 - allow subframes of CSP documents to run javascript: URLs, r=bz
2011-12-02 16:07:30 -08:00
Robert O'Callahan
c81f0548a8
Bug 687972. Set mCacheSuspended/mChannelEnded flags on all streams *before* calling CacheClientSeek/Resume/Suspend on any stream, because nsMediaChannelStream::CacheClientSuspend will call nsBuiltinDecoder::NotifySuspendedStatusChanged which will call nsMediaChannelStream::IsSuspendedByCache which will call nsMediaCacheStream::AreAllStreamsForResourceSuspended which relies on mCacheSuspended/mChannelEnded being set correctly for all streams for that resource. r=doublec
2011-12-02 17:43:42 +13:00
Robert O'Callahan
7bbc460e15
Bug 687972. Even more logging...
2011-12-02 10:19:43 +13:00
Andrew Quartey
782713b602
Bug 689834 - Respect the muted attribute on media elements. f=josh r=kinetik
2011-12-03 13:04:03 +01:00
Tobias Markus
e5a8e25dbc
[Bug 706113] Removing null checks from VideoDocument.cpp
2011-11-30 20:06:33 +01:00
Robert O'Callahan
b22f626880
Bug 687952. Fix bustage
2011-12-01 23:32:11 +13:00
Robert O'Callahan
30ee186c84
Bug 687972. More logging...
2011-12-01 23:16:26 +13:00
Ed Morley
a115603d38
Merge mozilla-central and mozilla-inbound
2011-12-01 04:14:57 +00:00
Brad Lassey
fb38b7fab8
Bug 687972 - backing out changesets b17ab862bbc1 and a6db0c6c94a3 r=orange
2011-11-30 22:59:00 -05:00
Robert O'Callahan
b1c2e62040
Bug 687972. Remove logging code now that we've fixed the bug.
2011-12-01 15:49:50 +13:00
Robert O'Callahan
5549f1b115
Bug 699351. Add nsIFrameLoader::clipSubdocument API to allow XUL <iframe> and <browser> to not clip the subdocument. r=tnikkel,sr=bzbarsky
2011-11-30 21:14:26 -05:00
Boris Zbarsky
24607a6f09
Bug 706528. Remove vestigial beforepaint event stuff. r=smaug
2011-11-30 19:45:32 -05:00
Henri Sivonen
ced0005834
Bug 703965 - Use View Source styling when viewing plain text source. r=smaug.
2011-11-30 19:44:31 +02:00
Brian Birtles
7e4679553e
Bug 703992 - Fix parsing of indefinite times; r=dholbert
2011-12-01 08:45:28 +09:00
Robert O'Callahan
cc9cc9085f
Bug 687972. Don't count streams whose channel has ended when looking to see if there's any non-suspended stream for a resource. r=cpearce
2011-12-01 12:09:10 +13:00
Matt Brubeck
a2398505d6
Back out 38814e0bafb9 through c5d44e6e957b because of test failures
2011-11-30 11:44:50 -08:00
Ed Morley
13c27f3c4f
Bug 703889 - Remove |ifndef DISABLE_XFORMS_HOOKS| since it's never defined; r=ted
2011-11-30 18:37:57 +00:00
Henri Sivonen
559bf46562
Bug 703965 - Use View Source styling when viewing plain text source. r=smaug.
2011-11-30 19:44:31 +02:00
Robert O'Callahan
4ef340dbbe
Bug 687972. Add a little bit more logging.
2011-12-01 00:16:19 +13:00
Robert O'Callahan
508f509754
Bug 687972. Try 2: Run autoplay for an element after reaching loadedmetadata if all download streams for its resource are suspended by the media cache. r=cpearce
2011-11-30 18:05:49 +13:00
Marco Bonardo
1a826c7453
Merge mozilla-central to mozilla-inbound
2011-11-30 00:02:46 +01:00
julian.reschke@gmx.de
bbb8546eeb
Bug 700589 - Fix Content-Type parser to treat single quote as regular character instead of a delimiter. r=jduell r=bz
2011-11-29 14:06:32 -08:00
Daniel Holbert
3d36b12a2b
Bug 702696 followup: Remove unnecessary temporary gfxMatrix() argument. r=jwatt
2011-11-29 14:06:30 -08:00
Robert O'Callahan
1171f7cdd0
Bug 687972. Make sure that if ResourceLoaded fires before MetadataLoaded, we go to HAVE_ENOUGH_DATA when MetadataLoaded eventually fires. r=cpearce
2011-11-30 11:04:38 +13:00
Chris Pearce
8e92cfdc4c
Bug 705994 - Ensure test_preload_actions doesn't try to finish test cases multiple times. r=roc
2011-11-30 11:01:14 +13:00
Olli Pettay
bb5ca20cca
Bug 705272 - [CC] Don't traverse the hidden window, r=jst
...
--HG--
extra : rebase_source : 06cd14f11d9a43fa2b44a5b09a019962c03d16e0
2011-11-29 19:19:08 +02:00
Marco Bonardo
dd6bdf768a
Merge mozilla-central and mozilla-inbound
2011-11-29 13:03:03 +01:00
Olli Pettay
29ea5932ff
Bug 702036 - JSEventListener could have weak mTarget to reduce CC overhead, r=bz
2011-11-29 11:44:06 +02:00
Benoit Jacob
82379d20c5
Bug 705663 - Fix braindead WebGLTexture::HasImageInfoAt - r=jrmuizel
2011-11-28 14:30:28 -05:00
Olli Pettay
faa2652e7a
Bug 705651, simplify message manager, and remove certainly useless comment about OMIT_COMPONENTS_OBJECT, r=mrbkap
2011-11-30 17:51:40 +02:00