Commit Graph

8910 Commits

Author SHA1 Message Date
Ms2ger
66078936e5 Bug 708754 - Use IDL for jsdIDebuggerService::WrapValue and remove WrapJSValue; r=bholley 2011-12-18 11:12:26 +01:00
Ms2ger
6fd0287787 Bug 707498 - Use a template to get the array length for nsGenericElement::FindAttributeDependence; r=Waldo 2011-12-18 11:09:27 +01:00
Ms2ger
b69c913b12 Bug 705188 - Use IDL for mozIJSSubScriptLoader::LoadSubScript, {xpcIJSModuleLoader,nsIXPCComponents_Utils}::Import; r=bz 2011-12-18 11:09:16 +01:00
Ms2ger
aa784e7937 Bug 707448 - Cleanup nsHTMLFormElement::DoSubmitOrReset a bit; r=mounir 2011-12-18 11:06:27 +01:00
Ms2ger
070299e0ab Bug 707576 - Remove nsIDOMNSElement; r=smaug 2011-12-18 11:06:23 +01:00
Ms2ger
a69df32e9b Bug 698420 - Make nsScriptObjectHolder typesafe; r=bz 2011-12-18 11:05:12 +01:00
Edwin Flores
a9f4f6c3c4 Bug 710521. Small refactor of gfxFont to separate drawing to paths and drawing strokes. r=roc 2011-12-18 21:53:03 +13:00
Matthew Schranz
8f6b44633f Bug 334573 - Changed nsLoadBlockingPLDOMEvent to nsLoadBlockingAsyncDOMEvent. r=sicking 2011-12-17 01:02:42 -05:00
Matthew Schranz
91b4e4faac Bug 334573 - Renamed all references of nsPLDOMEvent to nsAsyncDOMEvent. r=sicking
--HG--
rename : content/events/public/nsPLDOMEvent.h => content/events/public/nsAsyncDOMEvent.h
rename : content/events/src/nsPLDOMEvent.cpp => content/events/src/nsAsyncDOMEvent.cpp
2011-12-17 01:02:05 -05:00
Matt Brubeck
b4f06555b3 Merge mozilla-central to mozilla-inbound 2011-12-16 14:39:31 -08:00
Jeff Gilbert
1be07963e0 Bug 705024 - Guarantee GLContexts are resolved properly - r=bjacob 2011-12-16 14:24:46 -08:00
Jeff Gilbert
4c79a4cdc1 Bug 698169 - Make WebGL texSubImage2D respect alpha-premultiplied DOM sources - r=bjacob 2011-12-16 14:24:46 -08:00
Doug Sherk
f8cc305c99 Bug 708207: implement WebGL's getShaderPrecisionFormat r=bjacob 2011-12-16 13:11:59 -08:00
Matt Brubeck
a33e8cc7f3 Back out 97b8cff2764f (bug 376997) for Android reftest failures 2011-12-16 13:10:44 -08:00
Ms2ger
ca077369c2 Merge m-c to m-i. 2011-12-16 21:04:41 +01:00
Rob Campbell
11ba15c7c7 merge fx-team to m-c
--HG--
rename : browser/devtools/styleinspector/test/browser/browser_bug683672.js => browser/devtools/styleinspector/test/browser_bug683672.js
rename : browser/devtools/styleinspector/test/browser/browser_styleinspector.js => browser/devtools/styleinspector/test/browser_styleinspector.js
2011-12-16 14:42:54 -04:00
Masayuki Nakano
d82ad83346 Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin 2011-12-16 22:38:45 +09:00
Jeff Walden
87d3f92e61 Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin 2011-12-08 22:54:10 -05:00
Ed Morley
6808200eb2 Merge mozilla-central and mozilla-inbound 2011-12-16 10:19:52 +00:00
Ed Morley
a3c4d5c7c1 Bug 700490 - Remove nsICharsetResolver; r=smontagu 2011-12-16 09:13:29 +00:00
Ed Morley
b61d8e6e74 Bug 710481 - Remove tracer leftovers in CustomQS_WebGL.h; r=bjacob f=bhackett 2011-12-16 09:13:29 +00:00
Jan Varga
8702627c09 Bug 661877 - Enable storing files in IndexedDB. r=bent 2011-12-16 08:34:24 +01:00
Andrew Quartey
401bb33b35 Bug 706731: Support for defaultMuted DOM attribute on media elements. r=kinetik,bzbarsky 2011-12-15 14:36:46 -05:00
Andrew Quartey
80d00b8b88 Bug 689834. Only look at the muted attribute when initially creating the element. r=bzbarsky 2011-12-15 14:36:46 -05:00
Gavin Sharp
d7ae89edea Bug 510670: have the nsIWebBrowserPersist used for some drops automatically detect the need for content converters (fixes dropping of images served gzipped on Mac), r=bz
--HG--
rename : browser/base/Makefile.in => browser/modules/Makefile.in
extra : rebase_source : 41d0502e968cdf7b624547cb9e993591ed06ec98
2011-12-15 11:14:38 -08:00
Carlo Alberto Ferraris
489a3d2e7e Bug 376997 - Images should be rendered against a neutral background. r=bz ui-r=limi 2011-12-14 23:20:47 -08:00
Carlo Alberto Ferraris
bff065abc9 Bug 376997 - Images should be rendered against a neutral background. r=bz ui-r=limi 2011-12-14 23:20:47 -08:00
Jeff Walden
5e55e4e6a0 s/class (JSObject|JSContext)/struct \1/g in nsDOMEvent.h, silencing a ton of warnings on Windows, and I think with Clang too. No bug, r=sparky
--HG--
extra : rebase_source : 638832bde6c6a2c7095213856ae4a127c9bee218
2011-12-15 03:48:09 -05:00
Gabor Krizsanits
873b2b62fc Bug 678465 - 'document-element-inserted' doesn't fire on ImageDocument; r=bz 2011-12-15 15:10:36 +00:00
Brian O'Keefe
1513850d8f Bug 708846 - Clean up the SVG namespace checks to use nsIContent::IsSVG() instead; r=longsonr 2011-12-15 14:47:03 +00:00
Masatoshi Kimura
ef45bcacdc Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug 2011-12-15 14:47:03 +00:00
Daniel Holbert
5332115154 Bug 709907: Skip SMIL negative-value relaxation logic for the list-valued 'stroke-dasharray' property. r=dbaron 2011-12-15 16:27:05 -08:00
Patrick McManus
2319c27b0d bug 664284: Add HSTS support for websockets. r=mcmanus 2011-12-15 15:23:00 -08:00
Jason Duell
27762d171e Bug 676439 - Websocket Binary Message support: tests. r=mcmanus 2011-12-15 15:19:51 -08:00
Jason Duell
1cf32ff6bc Bug 676439 - v2: Websocket Binary Message support: DOM changes. r=smaug 2011-12-15 15:19:01 -08:00
Ed Morley
c1da559e35 Backout 80831e4a10de (bug 706672) for build failures on a CLOSED TREE 2011-12-15 22:09:55 +00:00
Chris Pearce
4db0927892 Bug 706672 - Revoke DOM full-screen when windowed plugin focused on non-MacOSX systems, and deny requests for full-screen from non-focused-tab documents. r=smaug 2011-12-16 10:42:36 +13:00
Boris Zbarsky
94b37b5e64 Bug 710981. Add the new name for cancelAnimationFrame. r=roc 2011-12-15 08:53:06 -05:00
Boris Zbarsky
3e61b77627 Bug 708169. Warn when null or no argument is passed to mozRequestAnimationFrame. r=roc 2011-12-15 08:53:06 -05:00
Boris Zbarsky
18de0ae69d Bug 709384. Manage our scheduled state better when animation frame requests are canceled. r=roc 2011-12-15 08:53:06 -05:00
Robert O'Callahan
f053e0e74d Bug 687972. Remove logging that we added to hunt down the bug. 2011-12-15 23:26:42 +13:00
Robert O'Callahan
4e9160dcd9 Bug 687972. Ignore closed streams when computing whether all streams for the resource are suspended. r=cpearce 2011-12-15 23:26:42 +13:00
Ehsan Akhgari
77290336fb Bug 709721 - Part 2: Access vpx_codec_vp8_dx_algo through the function accessor to make things work cross-modules. r=cpearce 2011-12-15 06:40:22 +01:00
Boris Zbarsky
06d90319eb Bug 709256 part 4. Don't flush the sink for HTML if we've already started layout. r=smaug 2011-12-14 23:42:15 -05:00
Boris Zbarsky
d3f867aa67 Bug 709256 part 3. Skip calling PresShell::FlushPendingNotifications altogether if there might not be anything to flush. r=roc 2011-12-14 23:42:15 -05:00
Doug Sherk
326f4add01 Bug 707861: implement EXT_robustness for ANGLE r=bjacob a=mbrubeck
Similar to ARB_robustness, uses our current robustness framework. There are some
problems preventing this from being completely usable, but we can't do anything
about them yet. See the bug for more info.
2011-12-14 16:57:09 -08:00
Olli Pettay
998181bae9 Bug 709127 - Implement MouseEvent and UIEvent ctors, r=jst, a=sheriff 2011-12-14 22:36:46 +02:00
Olli Pettay
b3edc36350 Bug 708701 - Implement HTML event ctors, r=jst
--HG--
extra : rebase_source : 4abb0185ea790c29ff7f2df0f032045777c898e0
2011-12-14 21:55:32 +02:00
Olli Pettay
96f7592d92 Bug 675884 - Implement Event constructors, part2, r=jst
--HG--
extra : rebase_source : 3316f3517107d742d116329e08e909fef0199856
2011-12-14 21:54:46 +02:00
Olli Pettay
b67e8975ea Bug 675884 - Implement Event constructors, part1, r=jst
--HG--
extra : rebase_source : 109d9cb22b810fbff71c637b6e15965eafdd61fe
2011-12-14 21:53:48 +02:00
Joe Drew
e6a2fef3c2 Bug 709947 - Don't use the ESSL backend of ANGLE - r=jgilbert a=ehsan 2011-12-14 14:50:48 -05:00
Margaret Leibovic
689c7e4923 Bug 707886 - Platform support for non-e10s click-to-play plugins. r=jst,blassey 2011-12-10 09:23:05 -08:00
Kyle Huey
5ea03a4258 Bug 708198. r=jst 2011-12-15 15:40:40 -05:00
Henri Sivonen
a02e20cb9f Bug 648252 - Remove nsViewSourceHTML from the tree. r=mrbkap, a=khuey. 2011-04-07 16:41:53 +03:00
Atul Aggarwal
a4be0f7368 Bug 695648 - Remove unnecessary friend class mozilla::AutoRestore<bool> from nsContentUtils; r=smaug a=removal 2011-12-13 14:17:59 +00:00
Andrew Quartey
faa8be8d82 Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal 2011-12-13 14:17:59 +00:00
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