Граф коммитов

20178 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 8ef4e84904 Bug 696205 part 1. Refactor querySelector and querySelectorAll so that there is only one codepath to modify. r=sicking 2011-10-31 22:49:10 -04:00
Boris Zbarsky b61135edbc Bug 696201. Switch nsContentList to using an nsTArray as the element store. r=sicking 2011-10-31 22:48:59 -04:00
Phil Ringnalda a4243e7ce4 Back out 773e9705c61b (bug 697211) for orange 2011-10-31 19:02:50 -07:00
Doug Sherk fa97ba776d Bug 697211 - fixed stride not being returned correctly from getVertexAttrib. r=jgilbert 2011-10-31 17:49:55 -07:00
Doug Sherk c47bd89d8a Bug 697757 - WebGL context fix for alpha being improperly set on OSX. r=jgilbert
If we request alpha and it isn't enabled, or we request it off and it gets
enabled, we now fail the pbuffer creation and fall back to FBOs. This is bad for
performance but allows us to pass the conformance test in this case.
2011-10-31 17:49:55 -07:00
Jeff Gilbert 3e243dea6b Bug 697753 - Fix WebGL conf. errors in framebuffer-object-attachment - r=bjacob 2011-10-31 16:55:01 -07:00
Jeff Gilbert 08548a6814 Bug 698088 - Rebind previous state after initializing fake-black textures - r=bjacob 2011-10-31 16:55:01 -07:00
Jeff Gilbert 34ff2cc95c Bug 697560 - Generate WebGL errors in readPixels according to spec - r=bjacob
* * *
Bug 697560 - Disallow conformance failures on read-pixels-test - r=bjacob
2011-10-31 16:55:01 -07:00
Jeff Gilbert ff27c8a903 Bug 697168 - Removes WebGL overloads for untyped ArrayBuffers where disallowed - r=bjacob 2011-10-31 16:55:00 -07:00
Matt Brubeck 6e559c01ba Merge mozilla-central to mozilla-inbound 2011-10-31 14:51:24 -07:00
Benoit Jacob 7a684ca1be Bug 677543 - Not clearing WebGL framebuffer in teapot demo - r=jgilbert
We are supposed to clear the WebGL framebuffer after it's been presented to the compositor and before the next draw operation, and were using the wrong way to know when we got composited. The right way is DidTransactionCallback.
2011-10-31 17:14:12 -04:00
Kyle Huey 546f10d84b Backed out changeset d40e649ff250 2011-10-31 11:39:46 -04:00
Kyle Huey d907fce4c7 Bug 692067: Make WebSockets go through content policies. r=smaug 2011-10-31 09:29:20 -04:00
Olli Pettay 8b0d0bff36 Bug 667490 - EventSource should use the same nsIContentPolicy type as XHR, r=dveditz 2011-10-31 14:48:50 +02:00
Olli Pettay 2ba8604d78 Bug 698061 - document.importNode's deep attribute should be optional, r=sicking 2011-10-30 23:17:53 +02:00
Ed Morley 314528cd24 Merge mozilla-central and mozilla-inbound 2011-10-30 11:52:20 +00:00
Ms2ger 54042fcac2 Bug 688547 - Use Element* for nsIDocument::{SetSubDocumentFor,FindContentForSubDocument}; r=peterv 2011-10-29 22:22:19 +02:00
Ms2ger 85b04a3e8e Bug 697210 - Part c: Remove nsIDocument::CreateElem's aDocumentDefaultType argument; r=bz 2011-10-29 22:21:20 +02:00
Ms2ger 89f9b5e849 Bug 697210 - Part b: Remove unnecessary IsHTML() check in nsDocument::CreateElement; r=bz 2011-10-29 22:20:57 +02:00
Ms2ger 0acf27c125 Bug 697210 - Part a: Make nsIDocument::GetDefaultNamespaceID non-virtual and have it return mDefaultElementType; r=bz 2011-10-29 22:20:37 +02:00
Ms2ger ff22313bf8 Bug 696663 - Make nsIJSEventListener::mScopeObject a JSObject; r=smaug 2011-10-29 22:17:43 +02:00
Ms2ger 15d926b983 Bug 696661 - Make nsIJSEventListener::mHandler a JSObject; r=jst 2011-10-29 22:16:43 +02:00
Ms2ger 68ad7e544d Bug 694867 - Part e: Pass JSScript to nsXULDocument::ExecuteScript; r=volkmar 2011-10-29 22:14:26 +02:00
Ms2ger e8c4b3139e Bug 694867 - Part d: Store a JSScript in nsXULPrototypeCache; r=volkmar 2011-10-29 22:14:13 +02:00
Ms2ger 86cdbf903c Bug 694867 - Part c: Return a JSScript from nsXULPrototypeCache::GetScript; r=volkmar 2011-10-29 22:13:55 +02:00
Ms2ger fb9a3df8f4 Bug 694867 - Part b: Pass a JSScript to nsXULPrototypeScript::Set; r=volkmar 2011-10-29 22:13:31 +02:00
Ms2ger 38fb4a105b Bug 694867 - Part a: Pass a JSScript to nsIScriptContext::Serialize and store a JSScript in nsXULPrototypeScript::ScriptObjectHolder::mObject; r=volkmar 2011-10-29 22:12:47 +02:00
Ms2ger a8dba5714a Bug 694769 - Remove nsIScriptContext::GetScriptGlobal in favour of GetGlobalJSObject; r=smaug 2011-10-29 22:09:04 +02:00
Ms2ger 36940470e1 Bug 694759 - Make nsIScriptContext::GetNativeGlobal return JSObject; r=jst 2011-10-29 22:06:17 +02:00
Ms2ger 6d97442563 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Phil Ringnalda de1259ee35 Back out 3ad7f12bde01 (bug 664179) and 3ab7b95bfcb5 (bug 673296) for Linux debug M1 orange 2011-10-29 09:52:45 -07:00
Olli Pettay fca647ee86 Bug 694503 - image map doesn't get updated when map element is removed as part of container subtree, r=bz 2011-10-29 13:44:50 +03:00
Wellington Fernando de Macedo 8bac550475 Bug 664179: Allow EventSource to access cross-origin event streams using CORS. r=smaug,sicking 2011-10-28 19:52:27 -07:00
Wellington Fernando de Macedo bb86718557 Bug 673296: Fix EventSource origin handling. r=sicking,smaug 2011-10-28 19:52:27 -07:00
Jonas Sicking 591066d996 Bug 687400: Kill Node.isSameNode. r=smaug 2011-10-28 19:52:27 -07:00
Robert Longson 4778a050df Bug 697978 - make display:none svg images load. r=dholbert,bzbarsky 2011-10-29 09:18:25 +01:00
Jonathan Watt 66f54fe5a4 Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Boris Zbarsky 7b835d497d Bug 697917. Avoid atomizing the token for nsDOMTokenList containment tests. r=smaug 2011-10-28 13:06:39 -04:00
Masatoshi Kimura 8f9e7ff037 Bug 697689 - Fix XHR brokenness, the optimization violated a nsIStreamLisetner contract; r=jonas 2011-10-28 15:05:07 +01:00
Mark Banner 18642c515f Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Chris Pearce b5ab4cc308 Bug 684618 - Deny requests for full-screen in documents containing windowed plugins. Exit full-screen when windowed plugin added document. r=roc 2011-10-27 15:57:09 +13:00
Timothy Nikkel f10d3e436c Bug 658005. Part 2. Add a frame visibility API that takes into account everything we need, and use it. r=roc 2011-10-26 18:57:55 -05:00
Marco Bonardo a673a3c2f0 Backout d9da4de6579c (Bug 682496) for M1 leaks. 2011-10-27 00:13:39 +02:00
Doug Sherk 942467690c Bug 656824: Implemented ARB_robustness to detect driver resets in WebGL, only on GLX for now - r=bjacob
This patch implements ARB_robustness on GLX and allows scripts to handle driver resets
through events. The changes in this patch are very sweeping; they hit almost
every NS_IMETHODIMP function within WebGLContextGL.cpp and WebGLContext.cpp.
More work must be done on this to support EGL_CONTEXT_LOST.
2011-10-26 16:00:44 -04:00
Doug Sherk f8179e8309 Bug 682496: fixed program-test.html test failures
Fixed programs and shaders so that when they're marked for deletion and then detached completely, are deleted.
2011-10-26 16:00:44 -04:00
Benoit Jacob c116f6ed5d Bug 697450 - Several WebGL texel unpack/pack functions are not inlined spontaneously, at least by GCC - r=jgilbert 2011-10-26 16:00:44 -04:00
Masatoshi Kimura 8d619423ae Bug 689008: Part 3 - Tests; r=jonas 2011-10-26 08:52:37 -04:00
Masatoshi Kimura 3c613cc455 Bug 689008: Part 1 - Skip reading already cached or local resource for blob response; r=jonas 2011-10-26 08:52:19 -04:00
Marco Bonardo c246bd9bca Backout 08a63bc26c75 (Bug 622232) due to Dromaeo (DOM) regression. 2011-10-26 14:13:07 +02:00
Robert Longson f0eafefb12 Bug 696579 - Round out mask, filter and pattern surfaces. r=roc 2011-10-26 09:52:11 +01:00
Alexander Surkov 5c182f0204 Bug 695623 - xul:browser is subject of focus event when tabbing from chrome to content process, r=davidb, olli.pettay 2011-10-26 15:42:20 +09:00
Matt Woodrow dcf9ee4bf1 Bug 691976 - NULL check the JSContext before using JS_updateMallocCounter. r=Bas 2011-10-26 16:13:24 +13:00
Ehsan Akhgari 22b6c29d5d Backout changeset be42bc18185a (bug 612128) because of bug 688423 2011-10-25 22:32:55 -04:00
Ehsan Akhgari bef8f1eeb6 Backout changeset 269ee0275709 (bug 688438) because of bug 688423 2011-10-25 22:32:11 -04:00
Steve Workman 06e7d450e9 Bug 622232: Cancel DNS prefetches for HTML Anchor Elems after a tab is closed; r=mcmanus sr=bz 2011-10-04 16:22:43 -07:00
Neil Deakin 8698486aeb Bug 696021, followup to bug 694226 which fixes scrollbar atoms 2011-10-25 11:05:33 -04:00
Benoit Jacob d33d9d4b45 Bug 696889 - Upgrade ANGLE to r802 - no review
This is syncing us with the ANGLE project at

   http://code.google.com/p/angleproject/

Also, with this new ANGLE revision, two WebGL conformance tests are now passing on windows so this patch removes them from failing_tests_windows.txt.

--HG--
rename : gfx/angle/angle-instrinsic-msvc2005.patch => gfx/angle/angle-intrinsic-msvc2005.patch
2011-10-25 08:58:43 -04:00
Benoit Jacob 5240fde73b Bug 696844 - Upgrade WebGL conformance test suite to r15892 - no review
This is just syncing us with the upstreal WebGL conformance tests from

  https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conformance/

Also reenabling the quickCheckAPI tests, updating the list of failing tests (only one part of quickCheckAPI added to the list) and added 3 lines of code to ignore empty lines in the lists of failing tests to get a correct count.
2011-10-25 08:48:39 -04:00
Robert Longson 2e96bf74ce Bug 653928 - Animation of path d attribute with elliptical arcs discrete instead of continuous when flags change. r=dholbert 2011-10-25 09:18:13 +01:00
Kyle Huey a91b97b16b Bug 696603: Handle null being passed to BlobBuilder.append. r=sicking 2011-10-24 09:38:41 -04:00
Benoit Jacob 4921183a99 Bug 665578 - Use ANGLE's built-in-function-emulation feature on Mac - r=jrmuizel 2011-10-23 22:46:40 -04:00
Benoit Jacob e418b5fdb9 Bug 696009 and bug 695947 - frequent linux-pgo intermittent oranges since Bug 615976 (WebGL AA) landed - no review, fix bustage
We've seen frequent intermittent failures in WebGL tests since WebGL AA landed. This turns out to be OOM conditions leading to failure to create WebGL contexts, due to the fact that the JS engine keeps too many unreferenced WebGL contexts around before it decides to GC (bug 617453). This patch makes us trigger the GC before every WebGL test page (there are 300 of them) which has proved to solve the problem on tryserver, with 18 green runs without any orange: https://tbpl.mozilla.org/?tree=Try&rev=789cf49fdc63

Failures occured most of the time on 32bit linux-pgo but have been observed on 64bit too, see bug 695947 comment 6.
2011-10-22 13:48:47 -04:00
Phil Ringnalda 46a6889039 Back out 9fa7d2c8ec2d and a0784cecf9bd (bug 696009 and bug 695947) to investigate the unlikely but apparent way they broke a Linux debug browser-chrome test by touching a mochitest-1 test 2011-10-22 17:44:58 -07:00
Benoit Jacob d1f461bcfa Bug 696009 - Fix trivial mistake in a0784cecf9bd which would have caused us to use this fix on all platforms whereas it is only needed on linux - r=bustage 2011-10-22 13:55:20 -04:00
Benoit Jacob b4b0dc7aed Bug 696009 and bug 695947 - frequent linux-pgo intermittent oranges since Bug 615976 (WebGL AA) landed - no review, fix bustage
We've seen frequent intermittent failures in WebGL tests since WebGL AA landed. This turns out to be OOM conditions leading to failure to create WebGL contexts, due to the fact that the JS engine keeps too many unreferenced WebGL contexts around before it decides to GC (bug 617453). This patch makes us trigger the GC before every WebGL test page (there are 300 of them) which has proved to solve the problem on tryserver, with 18 green runs without any orange: https://tbpl.mozilla.org/?tree=Try&rev=789cf49fdc63

Failures occured most of the time on 32bit linux-pgo but have been observed on 64bit too, see bug 695947 comment 6.
2011-10-22 13:48:47 -04:00
Marco Bonardo 36e97f68a2 Backout cb50e96dbee0 (Bug 677079) for Win PGO mochitests failures. 2011-10-22 11:03:26 +02:00
Bill McCloskey f206d1014a Bug 677079 - Remove jscntxt.h from INSTALLED_HEADERS (r=Waldo) 2011-10-20 10:14:24 -07:00
Justin Lebar b79dd11cfa Bug 683777 - In an attempt to fix a crash in nsDocShell::InternalLoad, re-land bug 646641 with an extra null-check. r=smaug 2011-10-21 11:26:34 -04:00
Marco Bonardo 4b7a9dbac1 Merge mozilla-central to mozilla-inbound 2011-10-21 10:02:30 +02:00
Marco Bonardo a6e3f54ab0 Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-21 10:00:11 +02:00
Kyle Huey bee1f84b2f Bug 687361: Implement the new IndexedDB setVersion API. r=bent
--HG--
rename : dom/indexedDB/nsIIDBVersionChangeRequest.idl => dom/indexedDB/nsIIDBOpenDBRequest.idl
2011-10-20 12:10:56 -04:00
Olli Pettay 4533393482 Bug 695758 - Don't limit E10s event/focus handling to xul:browser, but allow also xul:iframe, r=felipe 2011-10-20 15:11:31 +03:00
Jeff Muizelaar 50e062dcce Bug 695324. Fix precedence problem found with clang warning. r=mounir
'*' has higher precedence than '?' so bracket the expression
so we get what we want.

--HG--
extra : rebase_source : 5de14b144a54f482fc836dd4ccc14c7d2c5bfb45
2011-10-18 14:19:07 -04:00
Ehsan Akhgari edc983c9e8 Bug 694880 - The editable state is not updated correctly when designMode is turned off; r=bz,peterv 2011-10-20 12:27:48 -04:00
Ehsan Akhgari 6f2feb2aaf Bug 688438 - Fix the IME code to handle text controls correctly when checking for IME status; r=bzbarsky
--HG--
extra : rebase_source : 4c532f5ece3e88e907aabfef2197bced1223d9f2
2011-10-16 16:15:40 -04:00
Matthew Gregan 7a81d221c9 Bug 693095 - Fix audio stream position estimation for remoted streams. Also resurrect audio thread wait removed in bug 669556 when using remoted audio streams. r=cpearce 2011-10-19 18:29:08 +13:00
Jeff Gilbert 56378bd370 Bug 615976 - Fix ResizeOffscreenFBO to attempt resize without AA if resize with AA failed - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert 975d14b0a4 Bug 615976 - Adds support for samples in ContextFormat, pref 'webgl.max-samples' - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert ea51ff68ce Bug 615976 - Fix WebGL to default to trying to have anti-aliasing - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert 67e2325bcf Bug 681791 - Fixes GLContext::ResizeOffscreen leaving a mess on failure - r=bjacob 2011-10-19 15:09:57 -04:00
Benoit Jacob 20d36842ee Back out Jeff's patches because they lack a Bug number and/or a r= field. Sorry, should have checked that. Re-landing. 2011-10-19 15:31:33 -04:00
Jeff Gilbert 7a0dc9cec6 Fix ResizeOffscreenFBO to attempt resize without AA if resize with AA failed 2011-10-19 15:09:57 -04:00
Jeff Gilbert 02e706721b Adds support for samples in ContextFormat, pref 'webgl.max-samples' 2011-10-19 15:09:57 -04:00
Jeff Gilbert a95fd81e61 Fix WebGL to default to trying to have anti-aliasing 2011-10-19 15:09:57 -04:00
Jeff Gilbert 97f22e2838 Bug 681791 - Fixes GLContext::ResizeOffscreen leaving a mess on failure
* * *
try: -b do -p all -u all -t all
2011-10-19 15:09:57 -04:00
Robert Longson 9139d5704e Bug 693183 - move image processing to the frame class. r=jwatt 2011-10-19 16:37:49 +01:00
Robert Longson 2d83ed6c08 Backout Bug 693183 2011-10-19 14:55:27 +01:00
Robert Longson f2c48c50e8 Bug 693183 - Simplify class animation processing. r=jwatt 2011-10-19 14:40:58 +01:00
Marco Bonardo 93cda556c0 Merge mozilla-central to mozilla-inbound 2011-10-19 11:50:01 +02:00
Marco Bonardo ea7024ac8c Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-19 11:47:57 +02:00
Joel Maher 3b5c4e36d3 Bug 675245 - cleanup pluginutils and SimpleTest.executeSoon() to utilize specialpowers. r=ted 2011-10-19 05:35:05 -04:00
Olli Pettay 5a92aedb22 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay 2c2da3099f Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Justin Lebar 8a9b2241c2 Back out rev 571224f5f4e5 (bug 683777) due to Android b-c orange. 2011-10-17 21:09:17 -04:00
Justin Lebar 84c0c28718 Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
Ouss. BADR e0c832c412 Bug 685218 - Expose layout-guess attribute on HTML tables having @datatable='0' attribute, r=surkov 2011-10-19 10:36:35 +09:00
Boris Zbarsky d674409c05 Bug 320799. Fix client* and scroll* for comboboxes to not consider the dropdown's scrollable area. r=roc 2011-10-18 16:17:45 -04:00
Benoit Girard 3805b3cd62 Bug 691354 - Enable test fix by changes. r=jmuizelaar 2011-10-17 13:09:03 -07:00
Simon Montagu 1381355534 Support for HTML5 bdi element in content. Bug 613149, r=peterv 2011-10-18 14:51:57 +02:00
Robert Longson e91a17958d Bug 693145 - Simplify class animation processing. r=dholbert 2011-10-18 13:43:57 +01:00