Commit Graph

8509 Commits

Author SHA1 Message Date
Chris Pearce
ec9520006e Bug 694204 - Prevent default action on ESC key press to exit full-screen mode, prevents <video> loads being cancelled on full-screen exit. r=smaug 2011-11-01 18:11:29 +13:00
Chris Pearce
7ad0a326f4 Bug 685779 - Add -moz-full-screen-ancestor pseudo class. r=bz 2011-11-01 18:11:09 +13:00
Boris Zbarsky
3f1407e7b3 Bug 696205 part 2. Add a querySelector fast-path for selectors whose rightmost sequence of simple selectors contains an id. r=sicking 2011-10-31 22:50:50 -04:00
Boris Zbarsky
69ca7c8c5f 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
0a2deaca87 Bug 696201. Switch nsContentList to using an nsTArray as the element store. r=sicking 2011-10-31 22:48:59 -04:00
Phil Ringnalda
77dcce52fd Back out 773e9705c61b (bug 697211) for orange 2011-10-31 19:02:50 -07:00
Doug Sherk
75e4300cc4 Bug 697211 - fixed stride not being returned correctly from getVertexAttrib. r=jgilbert 2011-10-31 17:49:55 -07:00
Doug Sherk
545febe771 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
151b79fe87 Bug 697753 - Fix WebGL conf. errors in framebuffer-object-attachment - r=bjacob 2011-10-31 16:55:01 -07:00
Jeff Gilbert
d1abf8d6d9 Bug 698088 - Rebind previous state after initializing fake-black textures - r=bjacob 2011-10-31 16:55:01 -07:00
Jeff Gilbert
496f5777ce 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
244f51369c Bug 697168 - Removes WebGL overloads for untyped ArrayBuffers where disallowed - r=bjacob 2011-10-31 16:55:00 -07:00
Matt Brubeck
7561bada5b Merge mozilla-central to mozilla-inbound 2011-10-31 14:51:24 -07:00
Benoit Jacob
688f2ae9c1 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
f289751612 Backed out changeset d40e649ff250 2011-10-31 11:39:46 -04:00
Kyle Huey
da627d5039 Bug 692067: Make WebSockets go through content policies. r=smaug 2011-10-31 09:29:20 -04:00
Olli Pettay
d57ca4ef6c Bug 667490 - EventSource should use the same nsIContentPolicy type as XHR, r=dveditz 2011-10-31 14:48:50 +02:00
Olli Pettay
e4fe236060 Bug 698061 - document.importNode's deep attribute should be optional, r=sicking 2011-10-30 23:17:53 +02:00
Ed Morley
7275a8d455 Merge mozilla-central and mozilla-inbound 2011-10-30 11:52:20 +00:00
Ms2ger
4a2832804a Bug 688547 - Use Element* for nsIDocument::{SetSubDocumentFor,FindContentForSubDocument}; r=peterv 2011-10-29 22:22:19 +02:00
Ms2ger
46522f17ea Bug 697210 - Part c: Remove nsIDocument::CreateElem's aDocumentDefaultType argument; r=bz 2011-10-29 22:21:20 +02:00
Ms2ger
e169ba623f Bug 697210 - Part b: Remove unnecessary IsHTML() check in nsDocument::CreateElement; r=bz 2011-10-29 22:20:57 +02:00
Ms2ger
a505598085 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
8d02f473c8 Bug 696663 - Make nsIJSEventListener::mScopeObject a JSObject; r=smaug 2011-10-29 22:17:43 +02:00
Ms2ger
5a5a0be3c3 Bug 696661 - Make nsIJSEventListener::mHandler a JSObject; r=jst 2011-10-29 22:16:43 +02:00
Ms2ger
0d733678a5 Bug 694867 - Part e: Pass JSScript to nsXULDocument::ExecuteScript; r=volkmar 2011-10-29 22:14:26 +02:00
Ms2ger
974dc34150 Bug 694867 - Part d: Store a JSScript in nsXULPrototypeCache; r=volkmar 2011-10-29 22:14:13 +02:00
Ms2ger
78ba91f3a8 Bug 694867 - Part c: Return a JSScript from nsXULPrototypeCache::GetScript; r=volkmar 2011-10-29 22:13:55 +02:00
Ms2ger
e566d3ad18 Bug 694867 - Part b: Pass a JSScript to nsXULPrototypeScript::Set; r=volkmar 2011-10-29 22:13:31 +02:00
Ms2ger
6bc6ac23b6 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
c4446bc22d Bug 694769 - Remove nsIScriptContext::GetScriptGlobal in favour of GetGlobalJSObject; r=smaug 2011-10-29 22:09:04 +02:00
Ms2ger
2da2151a18 Bug 694759 - Make nsIScriptContext::GetNativeGlobal return JSObject; r=jst 2011-10-29 22:06:17 +02:00
Ms2ger
731edba0b8 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Phil Ringnalda
77eee0f201 Back out 3ad7f12bde01 (bug 664179) and 3ab7b95bfcb5 (bug 673296) for Linux debug M1 orange 2011-10-29 09:52:45 -07:00
Olli Pettay
45e86aeaaf 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
6cb54c944d 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
d2c52c9c82 Bug 673296: Fix EventSource origin handling. r=sicking,smaug 2011-10-28 19:52:27 -07:00
Jonas Sicking
ac8b04fb20 Bug 687400: Kill Node.isSameNode. r=smaug 2011-10-28 19:52:27 -07:00
Robert Longson
ffc3c60628 Bug 697978 - make display:none svg images load. r=dholbert,bzbarsky 2011-10-29 09:18:25 +01:00
Jonathan Watt
71a67640b1 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
8c01a25338 Bug 697917. Avoid atomizing the token for nsDOMTokenList containment tests. r=smaug 2011-10-28 13:06:39 -04:00
Masatoshi Kimura
a1d70444e8 Bug 697689 - Fix XHR brokenness, the optimization violated a nsIStreamLisetner contract; r=jonas 2011-10-28 15:05:07 +01:00
Mark Banner
da396f0de1 Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Chris Pearce
e1ec457253 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
d78828a5dd 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
e706fea5f6 Backout d9da4de6579c (Bug 682496) for M1 leaks. 2011-10-27 00:13:39 +02:00
Doug Sherk
63e6006511 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
85a673ccb1 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
0131021f5b 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
5874569a99 Bug 689008: Part 3 - Tests; r=jonas 2011-10-26 08:52:37 -04:00
Masatoshi Kimura
e73d0508f8 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
f82a1e1d17 Backout 08a63bc26c75 (Bug 622232) due to Dromaeo (DOM) regression. 2011-10-26 14:13:07 +02:00
Robert Longson
00bb6071f9 Bug 696579 - Round out mask, filter and pattern surfaces. r=roc 2011-10-26 09:52:11 +01:00
Alexander Surkov
3e7338f2a6 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
45907293a3 Bug 691976 - NULL check the JSContext before using JS_updateMallocCounter. r=Bas 2011-10-26 16:13:24 +13:00
Ehsan Akhgari
dbe53002d5 Backout changeset be42bc18185a (bug 612128) because of bug 688423 2011-10-25 22:32:55 -04:00
Ehsan Akhgari
399d5fe090 Backout changeset 269ee0275709 (bug 688438) because of bug 688423 2011-10-25 22:32:11 -04:00
Steve Workman
04250bd744 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
daf4fbd004 Bug 696021, followup to bug 694226 which fixes scrollbar atoms 2011-10-25 11:05:33 -04:00
Benoit Jacob
209051eea8 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
604edc0665 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
fbbe49a533 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
fcb45b0c7d Bug 696603: Handle null being passed to BlobBuilder.append. r=sicking 2011-10-24 09:38:41 -04:00
Benoit Jacob
68e5ce0f28 Bug 665578 - Use ANGLE's built-in-function-emulation feature on Mac - r=jrmuizel 2011-10-23 22:46:40 -04:00
Benoit Jacob
7f9677a997 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
7cc6bf217e 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
85271f7e31 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
c4c5304de9 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
5a3249e076 Backout cb50e96dbee0 (Bug 677079) for Win PGO mochitests failures. 2011-10-22 11:03:26 +02:00
Bill McCloskey
222d42bf92 Bug 677079 - Remove jscntxt.h from INSTALLED_HEADERS (r=Waldo) 2011-10-20 10:14:24 -07:00
Justin Lebar
f1b1dbc9b2 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
52f20d29d1 Merge mozilla-central to mozilla-inbound 2011-10-21 10:02:30 +02:00
Marco Bonardo
c5f832692e Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-21 10:00:11 +02:00
Kyle Huey
72ac2e4c02 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
b683351e46 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
c96a172091 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
fc1380fcac 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
396391c9a2 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
960adf1dad 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
2279492640 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
d8f97c2d0d Bug 615976 - Adds support for samples in ContextFormat, pref 'webgl.max-samples' - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
b7ec6b4615 Bug 615976 - Fix WebGL to default to trying to have anti-aliasing - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
ac985089ee Bug 681791 - Fixes GLContext::ResizeOffscreen leaving a mess on failure - r=bjacob 2011-10-19 15:09:57 -04:00
Benoit Jacob
4bbab81c93 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
d1f0738a66 Fix ResizeOffscreenFBO to attempt resize without AA if resize with AA failed 2011-10-19 15:09:57 -04:00
Jeff Gilbert
cc847aa544 Adds support for samples in ContextFormat, pref 'webgl.max-samples' 2011-10-19 15:09:57 -04:00
Jeff Gilbert
a18e95e222 Fix WebGL to default to trying to have anti-aliasing 2011-10-19 15:09:57 -04:00
Jeff Gilbert
d3ef700073 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
ec1fe3034f Bug 693183 - move image processing to the frame class. r=jwatt 2011-10-19 16:37:49 +01:00
Robert Longson
f7b9213184 Backout Bug 693183 2011-10-19 14:55:27 +01:00
Robert Longson
86ffe6926f Bug 693183 - Simplify class animation processing. r=jwatt 2011-10-19 14:40:58 +01:00
Marco Bonardo
0082846db5 Merge mozilla-central to mozilla-inbound 2011-10-19 11:50:01 +02:00
Marco Bonardo
b46efe643e Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-19 11:47:57 +02:00
Joel Maher
4c3df6962f Bug 675245 - cleanup pluginutils and SimpleTest.executeSoon() to utilize specialpowers. r=ted 2011-10-19 05:35:05 -04:00
Olli Pettay
e5b7e8ee46 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
a86b1a4d43 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
e7ce3fbda2 Back out rev 571224f5f4e5 (bug 683777) due to Android b-c orange. 2011-10-17 21:09:17 -04:00
Justin Lebar
c49c011b9d Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
Ouss. BADR
b62aa3688b 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
5a7f0947ff 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