Commit Graph

8804 Commits

Author SHA1 Message Date
Margaret Leibovic
f05053dd43 backout f9b9d90ff8e1 due to bustage 2011-12-09 14:56:20 -08:00
Margaret Leibovic
b40916b28e Bug 707886 - Platform support for non-e10s click-to-play plugins. r=jst 2011-12-09 14:04:15 -08:00
Robert O'Callahan
f534295eba Bug 687972. More logging... 2011-12-10 00:57:34 +13:00
Ed Morley
bfdb0a9be6 Merge mozilla-central to mozilla-inbound 2011-12-09 11:36:04 +00:00
Ed Morley
2b74cc516b Merge last green changeset of mozilla-inbound to mozilla-central 2011-12-09 11:12:51 +00:00
Neil Rashbrook
07d2a98926 Bug 698256 Add and use Substring(data, length) convenience method r=dbaron 2011-12-09 08:35:41 +00:00
Robert O'Callahan
11b7e09ed4 Bug 705559. Part 1: Clean up nsCanvasRenderingContext2DAzure::DrawImage code a bit. r=jrmuizel 2011-12-09 22:51:50 +13:00
Daniel Holbert
49ab88c8f8 Bug 704482 followup: use nsGkAtoms instead of NS_NewAtom(), for efficiency & to avoid leaking. r=dbaron 2011-12-08 17:39:59 -08:00
Daniel Holbert
935ea17f32 Bug 704482 patch 2: Further restrict event-based triggering of SMIL animations when scripts are disabled. r=birtles 2011-12-08 13:34:07 -08:00
Daniel Holbert
63fe4d416f back out 326f9ad627b8 (Bug 704482) for leaks 2011-12-08 15:18:22 -08:00
Brandon Sterne
3a4c336190 remove unused variable introduced by bug 702439, r=me 2011-12-08 14:59:17 -08:00
Ed Morley
0516735614 Merge last green changeset of mozilla-inbound to mozilla-central 2011-12-08 15:12:20 +00:00
Kyle Huey
95e592ecec Bug 692067: Make WebSockets trigger content policies. r=smaug,dveditz 2011-12-07 18:19:43 -05:00
Matt Brubeck
79b4aba51f Merge last green changeset from mozilla-inbound to mozilla-central 2011-12-07 12:11:23 -08:00
Olli Pettay
abfbfe460d Bug 701071, optimize PostHandleEvent, r=jst 2011-12-07 21:29:53 +02:00
Daniel Holbert
51c29873aa Bug 704482 patch 2: Further restrict event-based triggering of SMIL animations when scripts are disabled. r=birtles 2011-12-08 13:34:07 -08:00
Andrew McCreight
51e0dbb92f Bug 707988 - remove nsIDOMGCParticipant.h. r=jst 2011-12-06 10:40:13 -08:00
Ed Morley
72e3696c1e Merge mozilla-central to mozilla-inbound 2011-12-06 23:21:30 +00:00
Chris Pearce
c2405549e1 Bug 704039 part 2 - Implement full-screen mode rollback stack. r=bz 2011-12-07 10:59:39 +13:00
Chris Pearce
1279d53503 Bug 704039 part 1 - Rename nsDocument::SetFullScreenState(Element*,bool) to nsDocument::SetFullScreenElement(Element*). r=bz 2011-12-07 10:59:27 +13:00
Jeff Muizelaar
9c4d4fff06 Bug 707800. Add more sampler labels. r=bgirard 2011-12-02 17:05:33 -05:00
Jonathan Kew
fd6a33cff6 bug 698185 - convert coordinates properly when processing bidi runs in canvas text. r=dbaron 2011-12-08 17:52:47 +00:00
Robert O'Callahan
366ad97984 Bug 687972. More logging. 2011-12-09 17:48:40 +13:00
Chris Pearce
3a492ec27b Bug 704010 - Disable test_fullscreen-api on WinXP cos it's purple most of the time. r=philor 2011-12-09 17:22:02 +13:00
Henri Sivonen
98826c1b42 Back out bug 701787 due to orangeness conflict with tests added in bug 664179. 2011-12-07 15:11:47 +02:00
Masatoshi Kimura
5e03fb66c5 Bug 701787 - Part 2: Tests. r=smaug. 2011-12-07 13:30:19 +02:00
Masatoshi Kimura
ceeaf421c9 Bug 701787 - Part 1: disallow responseType and withCredentials for sync XHR. r=smaug 2011-12-07 13:29:00 +02:00
Wellington Fernando de Macedo
2874d21313 Bug 664179 - Allow Cross-Origin URLs in EventSource (Server-Sent Events). r=sicking 2011-12-05 21:02:42 -02:00
Boris Zbarsky
7565a6ee64 Fix missing braces compile warning. No bug. 2011-12-06 01:45:13 -05:00
Brandon Sterne
63741ed1d2 Bug 702439 - allow subframes of CSP documents to run javascript: URLs, r=bz 2011-12-05 09:42:08 -08:00
Robert O'Callahan
854ef91454 Bug 699351. Add nsIFrameLoader::clipSubdocument API to allow XUL <iframe> and <browser> to not clip the subdocument. r=tnikkel,sr=bzbarsky 2011-12-06 01:38:46 +13:00
Blake Kaplan
2e55f1785d Bug 698621 - Part 1: Implement cross-thread dispatching for web workers. r=bent 2011-12-05 15:58:27 +08:00
Benoit Jacob
cf73b0e3b9 Bug 707555 - Update ANGLE to r901 (v1.0) to grab correctness fixes - no review
This is just syncing us with the upstream http://code.google.com/p/angleproject
2011-12-04 17:24:41 -05:00
Benoit Jacob
611278abaf Bug 703927 - object-deletion-behaviour test still failing until we land 706674 - no review, fix mochitest-1 orange, CLOSED TREE 2011-12-04 15:13:18 -05:00
Benoit Jacob
d9e41b32be Bug 703927 - Upgrade WebGL conformance test suite to r16237 - no review
The canonical location for this testsuite is:

  https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests
2011-12-04 14:15:53 -05:00
Benoit Jacob
8f1fe0ff76 Bug 707033 - Kill the hashtables of WebGLUniformLocation's held by WebGLProgram's - r=jgilbert
Currently, WebGLProgram holds a hashtable of refptrs to all WebGLUniformLocation's created from it.

It's used for one thing: to ensure that multiple getUniformLocation() calls on same uniform return the same WebGLUniformLocation object.

However, in a discussion on the public_webgl mailing list this week, we agreed that this was not mandated by the spec and that on the contrary, to ensure consistent behavior across browsers, we're going to require that NOT to happen. So this becomes a conformance issue.

Removing this hashtable also simplifies code and ownership patterns.
2011-12-04 14:15:43 -05:00
Benoit Jacob
a9e0d84dbd Bug 705904 - [6/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
This patch takes care of WebGLFramebuffer.
2011-12-04 14:15:43 -05:00
Benoit Jacob
ddfb4b1926 Bug 705904 - [5/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
This patch takes care of WebGLRenderbuffer.
2011-12-04 14:15:43 -05:00
Benoit Jacob
3b06741971 Bug 705904 - [4/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
This patch takes care of WebGLShader.
2011-12-04 14:15:43 -05:00
Benoit Jacob
ecba738742 Bug 705904 - [3/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
This patch takes care of WebGLProgram.
2011-12-04 14:15:43 -05:00
Benoit Jacob
eebc9f9fb7 Bug 705904 - [2/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
This patch takes care of WebGLBuffer.
2011-12-04 14:15:43 -05:00
Benoit Jacob
93f7c9fc64 Bug 705904 - [1/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
This patch takes care of WebGLTexture, and introduces the WebGLFastArray helper (see comment).
2011-12-04 14:15:43 -05:00
Benoit Jacob
a4fe602cb3 Bug 704839 - [9/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch removes the old helper classes which we no longer use.
2011-12-04 14:15:43 -05:00
Benoit Jacob
4d9c6c8d26 Bug 704839 - [8/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch moves WebGLVertexAttribData further down in the file, where it belongs.
2011-12-04 14:15:43 -05:00
Benoit Jacob
1fe593ea97 Bug 704839 - [7/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch fixes framebuffer attachment deletion.
2011-12-04 14:15:43 -05:00
Benoit Jacob
fe054ddff0 Bug 704839 - [6/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch fixes WebGL isObject functions.
2011-12-04 14:15:43 -05:00
Benoit Jacob
66002aca08 Bug 704839 - [5/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
This patch fixes the implementation of DELETE_STATUS queries.
2011-12-04 14:15:43 -05:00
Benoit Jacob
c84135ec38 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
f8faf98502 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
8e6fa3fd66 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