Commit Graph

1749 Commits

Author SHA1 Message Date
Ehsan Akhgari
2c3e399404 Bug 837235 - Fix builds with --disable-webgl; r=bjacob 2013-02-01 15:42:15 -05:00
Mounir Lamouri
a96b05d0c8 Bug 833012 - Remove "nsContentUtils.h" inclusion from Element.h. r=Ms2ger 2013-01-31 23:11:49 +00:00
Boris Zbarsky
9b45ffdc77 Bug 824589. Convert XULElement to WebIDL. r=peterv
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.

The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.

The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID.  We've run into this before, sadly.

I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.

The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces.  Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props.  I don't see
an obviously better way.  We should work on killing off uses of
"instanceof someinterface".

The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Boris Zbarsky
f17cd371b2 Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression 2013-01-29 17:18:06 -05:00
Boris Zbarsky
1d5a36a375 Bug 824589. Convert XULElement to WebIDL. r=peterv
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.

The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.

The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID.  We've run into this before, sadly.

I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.

The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces.  Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props.  I don't see
an obviously better way.  We should work on killing off uses of
"instanceof someinterface".

The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Robert O'Callahan
869a63000b Bug 832788. Part 1: Make double->float conversions explicit in CanvasRenderingContext2D.cpp. r=jrmuizel
--HG--
extra : rebase_source : 626dc74eae93bb6a0d9bbb69db9440f251150169
2013-01-29 14:39:47 +13:00
Joel Maher
7766f6b4e8 Bug 834814 - allow for webgl tests to support mesa llvm driver. r=bjacob
--HG--
rename : content/canvas/test/webgl/failing_tests_linux.txt => content/canvas/test/webgl/failing_tests_linux_nvidia.txt
2013-01-27 08:01:19 -05:00
Benoit Jacob
e071c4e3f0 Bug 832576 - Fix perf regression in WebGL uniform setters - r=jgilbert 2013-01-25 13:40:38 -05:00
L. David Baron
ab97cf0e00 Backout ccf23b56150e (bug 832576) on a CLOSED TREE on the theory that maybe WebGL changes could have changed graphics state in a way that caused the Android reftest-4 failures on SVG gradient tests. 2013-01-25 18:18:34 -08:00
Benoit Jacob
b4eec88979 Bug 832576 - Fix perf regression in WebGL uniform setters - r=jgilbert 2013-01-25 13:40:38 -05:00
Andrew Halberstadt
be375ad0bc Bug 834382 - Disable failing b2g emulator crashtests, r=jgriffin 2013-01-24 15:07:07 -05:00
Benoit Jacob
1432a9eacd Bug 801158 - Fix unexpected-pass on WinXP post ANGLE update - no review, bustage fix 2013-01-24 12:20:56 -05:00
Milan Sreckovic
b06cb735a4 Bug 803568: Check for Cairo surface creation failure. r=bas 2013-01-17 14:38:38 +01:00
Rik Cabanier
3a85a98855 Bug 827053 - Add support for winding in fill + clip + isPointInPath + tests the feature. r=bas 2013-01-16 21:55:43 -05:00
Trevor Saunders
83bcbe0d6b bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Mats Palmgren
b7ae90666d Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Nicholas Nethercote
e7d64e972a Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar.
--HG--
extra : rebase_source : 53a77ea456f2aedafe05954ceece7e64db743e66
2013-01-14 16:26:47 -08:00
Chris Peterson
de411b5fd0 Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan 2013-01-10 08:19:36 -08:00
Andrew Halberstadt
221179f50b Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
Jeff Gilbert
a2d3db5098 Bug 826546 - Delay WebGL reftest completion until subsequent rAF - r=vlad 2013-01-10 12:17:44 -08:00
Steve Fink
85a04227fb Bug 827225 - Avoid JS_GetArrayBufferViewType until safe to call. r=bz
--HG--
extra : rebase_source : 5ac40b7fc9567cc02ab2f2167f756348f1a44fd0
2013-01-07 15:12:06 -08:00
Steve Fink
5299472bdb Bug 827225 - Rename JS_GetTypedArrayType to JS_GetArrayBufferViewType, add TYPE_DATAVIEW. r=bz, sr=dmandelin
--HG--
extra : rebase_source : c5947273c5d517338ea1f468358511aa979b4959
2013-01-07 15:12:00 -08:00
Benoit Jacob
748cc87b0d Bug 825205 - Fix WebGL drawElements validation when the max allowable index wraps to zero in the index type - r=vladv 2013-01-05 21:05:10 -05:00
Benoit Jacob
6fd2b159a2 Bug 825205 - WebGL drawElements: add unit test for the case where the max allowable index wrap to 0 in the index type - r=vladv 2013-01-05 21:05:08 -05:00
Ehsan Akhgari
100ae41c83 Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Ehsan Akhgari
4222259458 Backed out changeset bfb788e7ef51 (bug 826602) because of build failures
--HG--
rename : content/html/content/public/HTMLCanvasElement.h => content/html/content/public/nsHTMLCanvasElement.h
rename : content/html/content/src/HTMLCanvasElement.cpp => content/html/content/src/nsHTMLCanvasElement.cpp
2013-01-04 01:07:10 -05:00
Ehsan Akhgari
c0e76d61c8 Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Chris Jones
3b5768770c Bug 823610: Make discarding GL contexts of foreground pages on memory pressure pref-able, and pref off for b2g. r=jgilbert,jlebar 2013-01-03 15:39:25 -08:00
Trevor Saunders
09f3b656b4 bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug 2012-12-28 20:56:42 -05:00
Ehsan Akhgari
8cc491fe91 Bug 825527 - Part 5: Turn on the WebIDL bindings for HTMLImageElement; r=bzbarsky 2013-01-02 12:28:14 -05:00
Ehsan Akhgari
fd6ad89073 Bug 825527 - Part 3: Move HTMLImageElement to WebIDL bindings; r=bzbarsky 2012-12-31 13:48:55 -05:00
Ehsan Akhgari
4f58470032 Bug 825527 - Part 2: Rename nsHTMLImageElement to mozilla::dom::HTMLImageElement; r=bzbarsky
--HG--
rename : content/html/content/src/nsHTMLImageElement.cpp => content/html/content/src/HTMLImageElement.cpp
rename : content/html/content/src/nsHTMLImageElement.h => content/html/content/src/HTMLImageElement.h
2012-12-31 12:25:46 -05:00
Masatoshi Kimura
9a4812e054 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Nicholas Nethercote
b7723e3c58 Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Neil Rashbrook
41d5c4cd99 Bug 818861 Shouldn't allow promising a flat string from a flat string r=dbaron 2012-12-22 20:40:37 +00:00
Masatoshi Kimura
4b5034efa3 Bug 804834 - Part 1: Fix tests depending on E4X for-each in content JS. r=waldo 2012-12-21 20:47:52 +09:00
Justin Lebar
35400e8fa9 Bug 815473 - Follow-up: Remove now-undefined methods from CanvasRenderingContext2D.h. r=me 2012-12-19 18:03:11 -05:00
Jeff Gilbert
fd4db7f78f Bug 822114 - Save and restore bound tex unit in DeleteTexture - r=bjacob 2012-12-18 19:23:03 -08:00
Ed Morley
13a8878f0f Backout 966b04dba626 (bug 822114) for failing to build on any platform 2012-12-19 01:22:45 +00:00
Jeff Gilbert
a543572f69 Bug 822114 - Save and restore bound tex unit in DeleteTexture - r=bjacob 2012-12-18 16:47:03 -08:00
Joe Drew
77c26d6ed3 Bug 813124 - Test for multiple clip paths. r=jrmuizel 2012-12-18 11:37:14 -05:00
Joe Drew
41f93a6a52 Bug 815648 - Test. r=bas 2012-12-18 11:37:14 -05:00
Joe Drew
2e929c4769 Bug 815648 - Correctly detect when we're going to use a shadow so we can measure the text's extents correctly. r=roc 2012-12-18 11:37:14 -05:00
Benoit Jacob
abf9028e93 Bug 814455 - skip all intermittently failing glsl tests on android - r=jgilbert 2012-12-18 09:37:24 -05:00
Jeff Gilbert
db09531eff Bug 821191 - Switch recent files from accidental windows line endings to unix line endings - r=bjacob 2012-12-17 17:58:44 -08:00
William Chen
c3b4bdb077 Bug 820544 - Prefix WebIDL dictionary native member names to avoid C++ keywords. r=bz 2012-12-17 13:44:04 -08:00
Benoit Jacob
7b44505aa0 Bug 822404 - Shouldn't use WANT_NEW_SURFACE when uploading DOM elements to WebGL textures - r=jgilbert 2012-12-17 16:59:51 -05:00
Tobias Schneider
c489bb4344 Bug 803124 - Rename mozIsPointInStroke to IsPointInStroke. r=jmuizelaar
--HG--
rename : content/canvas/test/test_mozIsPointInStroke.html => content/canvas/test/test_isPointInStroke.html
2012-11-22 14:37:42 +01:00
Ting-Yuan Huang
daa4759375 Bug 815473 - Replace runtime computed sUnpremultiplyTable/sPremultiplyTable with constants. r=roc 2012-12-16 19:20:01 -05:00
Ed Morley
fbf6fab8e8 Backout 67d84be0cc83 (bug 820544) for bustage 2012-12-14 16:58:51 +00:00