Commit Graph

8718 Commits

Author SHA1 Message Date
Jared Wein
79ad1b014a Backed out changeset b77ec6e8eb8c due to bad commit message 2011-11-10 15:04:12 -08:00
Jared Wein
92e233900f Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets 2011-11-10 15:02:26 -08:00
Jared Wein
8a76a2a508 Bug 700854 - {Media,Image,Video}Document should reference an external stylesheet for use in styling their content 2011-11-10 15:02:21 -08:00
Tim Taubert
0752311514 merge m-c to fx-team 2011-11-09 10:53:12 +01:00
L. David Baron
fbf62da75f Make other users of font metrics (other than MathML and XUL) honor font size inflation. (Bug 627842, patch 15) r=roc
This does not address users of font metrics in layout/mathml/ (for text
size and alignment issues) or in layout/xul (for text size and sizing of
listbox and tree widgets):  see all the callers of GetFontMetricsFor*
in those directories.
2011-11-15 17:02:01 +13:00
L. David Baron
db5c82697e Apply font size inflation to text. (Bug 627842, patch 9) r=roc
This applies the font size inflation to reflow and painting of text
frames.  However, it does not (by design) apply to intrinsic width
computation, since the inflation is itself a function of the containers
width, which can depend on the intrinsic width.
2011-11-15 17:02:01 +13:00
Daniel Holbert
45b5d0bcc0 back out 10814cd743e3 (from bug 693940) since it breaks moz-filedata URIs in SVG-as-an-image 2011-11-08 12:49:12 -08:00
Timothy Zhu
4be555d6d0 Bug 662173 - DataTransfer.getData should lowercase its argument; r=enndeakin 2011-11-08 11:42:53 +00:00
Tim Taubert
da87bb567a Bug 698936 - dragleave is fired on previous drop target after successful drop; r=enndeakin 2011-11-08 10:55:47 +01:00
Ed Morley
30d0ff4239 Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-08 08:01:18 +00:00
Timothy Zhu
9bf710eea2 Bug 616774 followup: Remove nullchecks after new that are no longer needed. r=sicking 2011-11-07 22:27:27 -08:00
Timothy Zhu
52c2bf0b02 Bug 616774: Make XPath expressions like "--expr" coerce into a number. r=sicking 2011-11-07 22:27:23 -08:00
Ben Turner
eb6c6b2158 Bug 658178 - 'Make XHR2 response/responseType work in Web Workers'. r=jst+sicking+mrbkap. 2011-11-07 17:01:29 -08:00
Daniel Holbert
de50afb15c Bug 693940: Restrict SVG-as-an-image to being able to load (local) URIs that have either the URI_INHERITS_SECURITY_CONTEXT or URI_LOADABLE_BY_SUBSUMERS flags. r=bz 2011-11-07 13:45:42 -08:00
Matt Brubeck
d9a00c1f73 Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests 2011-11-11 17:49:47 -08:00
Marco Castelluccio
f70d384da0 Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows. 2011-11-11 15:51:00 -05:00
Daniel Holbert
c43f8ece5a Bug 700077 - Force 10ms to pass at the beginning of test_smilDynamicDelayedBeginElement.xhtml, to help it test more effectively & hopefully fix its randomorange. r=birtles 2011-11-16 10:22:13 +13:00
Brian Birtles
e49647895e Bug 691337 - Detect integer overflow when creating instance times; r=longsonr 2011-11-16 08:56:32 +13:00
Abhishek Singh
d3b744885c Bug 699041 - Remove MBool / MB_TRUE / MB_FALSE; f=Ms2ger r=sicking 2011-11-10 20:26:13 +01:00
Chris Jones
ab87d668dd Bug 679966, part 1: Add vibrator support for android. r=blassey,cjones 2011-09-30 00:00:48 -07:00
Chris Double
336636503f Bug 691096 - Add test - r=cpearce
--HG--
extra : rebase_source : 076426e90960bbd0d60fc2186a93722734677d89
2011-11-08 14:38:22 +13:00
Chris Double
a973f49a80 Bug 691096 - Provide hard limit to number of media elements that can be decoded in parallel - r=cpearce
--HG--
extra : rebase_source : b82ea2e14028f625ea247e93ca6be427e5db815d
2011-11-08 14:38:17 +13:00
Doug Sherk
dc75ce31b4 Bug 665578: prevented ANGLE built-in function emulation on OS X 10.7 and newer r=bjacob 2011-11-07 19:33:51 -05:00
Chris Pearce
632d0d2d8a Bug 699885 part 3 - Update full-screen mochitests wait for focus. r=roc 2011-11-08 12:58:48 +13:00
Benoit Jacob
70ce6801c5 Bug 665578 - Backed out changeset 82a297b0d0d3 for compile error 2011-11-07 17:32:07 -05:00
Doug Sherk
54955983e0 Bug 665578: prevented ANGLE built-in function emulation on OS X 10.7 and newer r=bjacob 2011-11-07 17:13:34 -05:00
Daniel Holbert
baad864347 Bug 693940: Restrict SVG-as-an-image to load URIs with URI_INHERITS_SECURITY_CONTEXT. r=bz 2011-11-07 13:45:42 -08:00
Bill McCloskey
8e7a5d934a Bug 641027 - Add snapshot-at-the-beginning write barriers for incremental GC (r=luke,bhackett) 2011-10-25 16:07:42 -07:00
Oonishi Atsushi
ebc58fb880 Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky 2011-11-10 15:01:11 +01:00
Henri Sivonen
432c879f24 Bug 92264 - Implement outerHTML. Part of the patch by Ms2ger. r=smaug. 2011-11-10 14:02:22 +02:00
Henri Sivonen
460f68e384 Back out changeset 0fb81504b0aa due to Windows build breaking. 2011-11-10 14:49:54 +02:00
Henri Sivonen
4da5564d58 Bug 92264 - Implement outerHTML. Part of the patch by Ms2ger. r=smaug. 2011-11-10 14:02:22 +02:00
Justin Lebar
a19acfd732 Bug 586010 - Send dump() output to Android device log. r=bz
--HG--
extra : rebase_source : f1712d831aaa6fbd8e1bfd6060fbb4aa951ccb74
2011-11-09 19:27:08 -05:00
Scott Johnson
3a74456f46 Bug 666446, Part 4/10 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats] 2011-11-09 13:39:16 -08:00
Scott Johnson
6bc58fdc72 Bug 666446, Part 1/10 - Add method to imgIContainer for notification of refresh driver events. [r=dholbert,joe][sr=mats] 2011-11-09 13:39:15 -08:00
Daniel Holbert
268d1cc952 Bug 700895 patch 1: Add a more explicit check for SVG-as-an-image in MaybeCreateDocShell, and improve reftests for <iframe>s being blocked in SVG-as-an-image. r=roc
--HG--
rename : layout/reftests/svg/as-image/img-foreignObject-embed-1-helper.svg => layout/reftests/svg/as-image/img-foreignObject-iframe-1a-helper.svg
rename : layout/reftests/svg/as-image/img-foreignObject-embed-1.html => layout/reftests/svg/as-image/img-foreignObject-iframe-1a.html
rename : layout/reftests/svg/as-image/img-foreignObject-embed-1-helper.svg => layout/reftests/svg/as-image/img-foreignObject-iframe-1b-helper.svg
rename : layout/reftests/svg/as-image/img-foreignObject-embed-1.html => layout/reftests/svg/as-image/img-foreignObject-iframe-1b.html
2011-11-09 11:11:11 -08:00
Marco Bonardo
78569ea702 Backout 8e79374481ff (bug 650720) for xpcshell test failure 2011-11-09 16:54:40 +01:00
Brian O'Keefe
1fc8a93bfb Bug 650720 - Fix the JPEG and BMP encoders to composite onto black, instead of white. r=roc,joedrew
Since canvas uses premultiplied alpha, just discard the alpha channel for the
desired result.
2011-11-09 15:56:16 +01:00
Marco Bonardo
e750d64be5 Merge mozilla-central to mozilla-inbound 2011-11-09 14:12:01 +01:00
Marco Bonardo
71ee5aede2 Merge last green changeset from mozilla-inbound to mozilla-central 2011-11-09 14:03:07 +01:00
Robert Longson
5ac58411e9 Bug 699147 - Simplify lengthList parsing. r=jwatt 2011-11-09 12:58:34 +00:00
Mats Palmgren
1c7c705abd Bug 700090 - Range offsets are allowed to be at node length + 1. r=smaug 2011-11-09 12:52:52 +01:00
Matthew Gregan
3cd3f41ec2 Bug 700555 - Add null check in nsBuiltinDecoder::NotifyDataArrived. r=doublec 2011-11-09 15:42:26 +13:00
Marco Bonardo
01f25559b7 Merge mozilla-central to mozilla-inbound 2011-11-08 23:58:10 +01:00
Ted Mielczarek
ceb591acdb bug 693595 - Add WebGLExtensionStandardDerivatives to WebGLContextNotSupported. r=bjacob 2011-10-19 10:01:27 -04:00
Robert Longson
e68833b8e5 Bug 280391 - implement SVGSVGElement.getElementById. r=jwatt,bzbarsky 2011-11-08 15:00:29 +00:00
Atul Aggarwal
d9f697a0d8 Bug 688093 - Updating the reflect.js post spec changes. r=Ms2ger 2011-11-08 18:44:48 +05:30
Boris Zbarsky
25cec39950 Bug 699826. Fix nodelist access out of bounds to correctly forward to the proto. r=peterv 2011-11-08 07:59:38 -05:00
Peter Van der Beken
6305eec81a Bug 699799 - Don't AddRef/Release every uncollectable document before cycle collection. r=jst.
--HG--
extra : rebase_source : 4436eaaded310ff4a3927e71843f7de664b50f9d
2011-11-07 13:58:08 +01:00
Peter Van der Beken
b3cd9776ea Bug 699807 - Don't create runnables for setting the title on unlinked documents. r=smaug.
--HG--
extra : rebase_source : 108acb25caced7dbf4cc93e9afab60f6ebf8a9b6
2011-11-07 13:56:50 +01:00
Ed Morley
345c2b06c0 Merge mozilla-central and mozilla-inbound 2011-11-05 18:46:28 +00:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Matheus Kerschbaum
fb722a61dd Bug 698630 - Remove --disable-smil build option; r=dholbert 2011-11-05 10:32:52 +00:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Marco Bonardo
c48ef6e9ea Merge mozilla-central to mozilla-inbound 2011-11-04 21:56:10 +01:00
Olli Pettay
e36091a737 Bug 698929 - Implement event.stopImmediatePropagation, r=jst
--HG--
extra : rebase_source : 76d19175a58a4ac8113b144a19f9d7679ad54dd0
2011-11-04 19:17:19 +02:00
Makoto Kato
8e4a3f2415 Bug 254298 - nsPlainTextSerializer.cpp should not use AssignWithConversion. r=smaug 2011-11-04 17:44:13 +09:00
Chris Pearce
6c93977fbc Bug 685402 part 1 - Exit DOM full-screen on document hide (navigation). r=bz 2011-11-04 20:30:09 +13:00
Daniel Holbert
f61c481989 Bug 699325: Make calcMode="paced" smil animation fall back to calcMode="discrete" when its values have 0 distance between them. r=birtles 2011-11-04 00:21:58 -07:00
Boris Zbarsky
64c507736c Bug 698974. Fix assertion to not assert things that are just false. r=sicking 2011-11-04 01:32:09 -04:00
Boris Zbarsky
95a02fa9bc Bug 684638 part 4. Switch from nsIDOMNode to nsINode in mozInlineSpellWordUtil. r=ehsan 2011-11-04 01:32:09 -04:00
Boris Zbarsky
478b25bb9b Bug 684638 part 2. Make it simpler to set up a range. r=smaug 2011-11-04 01:32:09 -04:00
Johnny Stenback
a44dbaf8a9 Fixing bug 691785. r=khuey 2011-11-03 22:23:26 -07:00
Doug Sherk
e3bbb80d57 Bug 699626: fix TEST-UNEXPECTED-FAIL > TEST-KNOWN-FAIL in WebGL reftests r=burning 2011-11-03 19:05:16 -07:00
Benoit Jacob
163b4e0b37 Bug 699516 - Rename WEBKIT_lose_context to WEBGL_EXT_lose_context - r=dsherk
See today's discussion on public_webgl list. WEBGL_EXT_lose_context will be officially created in a few days.
2011-11-03 20:29:57 -04:00
Neil Deakin
84538b5409 Bug 94199, part 5, remove line number reading and writing as it isn't necessary, dxr does that for us, r=bz 2011-11-03 16:39:08 -04:00
Neil Deakin
f8a0db5b61 Bug 94199, part 4, serialize/deserialize xbl to startup cache, r=bz 2011-11-03 16:39:08 -04:00
Neil Deakin
f55fc4c956 Bug 94199, part 2, add method to serialize/deserialize js function, r=mwu 2011-11-03 16:39:08 -04:00
Neil Deakin
8d25037c89 Bug 94199, part 1, move handling of base binding to nsXBLPrototypeBinding, r=bz 2011-11-03 16:39:07 -04:00
Benoit Jacob
5d2b8328d9 Bug 699522 - WebGL lose_context extension was not listed by webgl.getSupportedExtensions() - r=dsherk 2011-11-03 15:52:52 -04:00
Ben Turner
d1ccef79ea Bug 692669 - 'IndexedDB: remove nsIVariant from IDB* interfaces'. r=sicking.
--HG--
extra : transplant_source : %84%E3%96%9F%C5%BA%D56%A4%94%83%9F%C3%F5%2B%01%7B%87%FB9
2011-11-03 08:57:30 -07:00
Doug Sherk
5794b1ff48 Bug 693703: added additional logging information for mochitests, incl. image reference differences r=bjacob
Added some code to print to dump output of WebGL mochitest failures. Also added
special code to handle incorrect reference images. It will now provide the user
with a way to compare the reference and actual drawings.
2011-11-03 10:50:40 -04:00
Doug Sherk
504f8b7886 Bug 682496 - fixed program-test.html test failures - r=bjacob
Fixed programs and shaders so that when they're marked for deletion and then detached completely, are deleted.
2011-11-03 10:50:40 -04:00
Doug Sherk
9b48259c92 Bug 697211: fixed stride not being returned correctly from getVertexAttrib r=jgilbert 2011-11-03 10:50:40 -04:00
Doug Sherk
42ae249746 Bug 695912: allow forcing MSAA on r=jgilbert
Allows forcing MSAA on even if we determine through the blocklist that the user
probably shouldn't be running it.
2011-11-03 10:50:40 -04:00
Doug Sherk
72f02b078a Bug 695912: implemented antialiasing blocklisting r=jgilbert
Antialiasing can be blocked through the downloaded blocklist now, as well as
static analysis compiled into the OS-specific handlers for graphics features.
2011-11-03 10:50:40 -04:00
Marco Bonardo
ac1e87e272 Merge mozilla-central to mozilla-inbound 2011-11-03 10:46:56 +01:00
Marco Bonardo
7db3b9061d Backout 12744c5b688d, edefcb820429 to investigate Android C1 permaorange. 2011-11-03 09:24:02 +01:00
Chris Pearce
2ddcc04277 Bug 691947 - Relax DOM full-screen API security constraints for requests coming from chrome. r=roc 2011-11-03 19:37:38 +13:00
Justin Lebar
0b965502f1 Merge backout 2011-11-02 20:11:25 -04:00
Justin Lebar
86c0378be8 Back out bug 666446 due to Talos regression. 2011-11-02 20:11:01 -04:00
Scott Johnson
7d86e5fc20 Bug 666446, Part 4/10 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats] 2011-11-01 11:06:53 -04:00
Henri Sivonen
e0a7b8950f Bug 482921 part 5 - Add entry point for new View Source for XML; Make new View Source easy to disable. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
d55e46aa36 Bug 482921 part 2 - Highligh tokenizer-level errors in View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Geoff Lankow
05b39c14b0 Bug 668154 - Use the same mock file picker for all mochitests and xpcshell tests; r=jmaher 2011-10-22 12:39:30 +13:00
Chris Pearce
6c2ed85b04 Bug 697636 - Don't grant full-screen requests in hidden documents. r=bz 2011-11-02 13:03:04 +13:00
Chris Pearce
c46ab13671 Bug 688648 - Dispatch mozfullscreenerror event when requests for full-screen are denied. r=smaug 2011-11-02 13:02:47 +13:00
Mounir Lamouri
6cc2587c0d Bug 698534 - Fix build bustage when smil is disabled. r=dholbert 2011-11-01 20:22:30 +01:00
Henri Sivonen
dc6ff15cba Bug 479959 - Reimplement text/plain loading using the HTML5 parser. r=Olli.Pettay. 2011-11-01 17:27:36 +02:00
Boris Zbarsky
5709293c26 Bug 620122. Make sure, when unlinking, to remove the kids from our child list before unbinding them. r=smaug 2011-11-02 23:36:16 -04:00
Chris Double
c480f8911e Bug 691096 - Add test - r=cpearce
--HG--
extra : rebase_source : c2758165d8ef6bd31d180588efe9dfd0023d0707
2011-11-03 14:58:59 +13:00
Chris Double
bb113c8974 Bug 691096 - Provide hard limit to number of media elements that can be decoded in parallel - r=cpearce
--HG--
extra : rebase_source : 23bc74b97aa678f47e812351a9443cbf223f808e
2011-11-03 14:58:54 +13:00
Ed Morley
b08ad8e6dc Backout eb32aca6d54d, b5c0bfd03fcf and 5675bf2c7930 (bug 692669 and bug 692669) for failing to build on all platforms 2011-11-03 01:57:48 +00:00
Ben Turner
8ec37931d5 Bug 692669 - 'IndexedDB: remove nsIVariant from IDB* interfaces'. r=sicking.
--HG--
extra : transplant_source : E%E9%F9%B5%FB%88%1E%FA%C1%BE%04%1F%1E%3D%5E%EB%3C%D2%D2c
2011-11-02 18:03:15 -07:00
Patrick McManus
ec64b8b07b bug 599295 r=jduell
--HG--
extra : rebase_source : b376fd42a37c8b92389b43fac2e253a8466c3349
2011-11-02 17:43:27 -04:00
Matt Woodrow
b74458f46e Bug 698318 - Share ArcToBezier code. r=jrmuizel 2011-11-03 08:55:03 +13:00
Matt Woodrow
bc5c7f13cf Bug 688367 - Add Skia backend to Azure. r=jrmuizel 2011-11-03 08:55:03 +13:00
Matt Woodrow
807731094a Bug 688342 - Make nsCanvasRenderingContext2D support Azure backends other than Direct2D. r=Bas 2011-11-03 08:55:03 +13:00
Jonathan Watt
868fc90520 Backout 12b227a42623, bug 653928 (changes to SVG arc path segment animation). 2011-11-02 19:15:32 +00:00
Benoit Jacob
35ae2edbb5 Bug 698856 - Mark one WebGL test page as expected to pass on Windows - no review, m1 orange fix 2011-11-02 11:25:32 -04:00
Benoit Jacob
7eb31233c8 Bug 698856 - Upgrade WebGL conformance test suite to r15981 - no review
The upstream is

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

This changeset also updates our lists of failing tests, and the garbageCollect() call before each test page is now done on all platforms, instead of only on linux, as it's now clear that we've been having this problem everywhere.
2011-11-02 08:44:41 -04:00
Matt Brubeck
8f2d57ae91 Back out be8056caccb4 (Bug 698856) because of test failures 2011-11-02 07:33:54 -07:00
Benoit Jacob
6685d29617 Bug 698856 - Upgrade WebGL conformance test suite to r15981 - no review
The upstream is

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

This changeset also updates our lists of failing tests, and the garbageCollect() call before each test page is now done on all platforms, instead of only on linux, as it's now clear that we've been having this problem everywhere.
2011-11-02 08:44:41 -04:00
Chris Pearce
5b5d9d0d9d Bug 695935 - Make document.mozRequestFullScreen() asynchronous. r=bz 2011-11-05 08:05:16 +13:00
Mats Palmgren
81dfd021a4 Bug 693212 - crash test. r=test-only 2011-11-04 19:05:35 +01:00
Daniel Holbert
d807b90c6f Bug 699143: Force a synchronous SMIL sample when we register the first animation element in a document. r=birtles 2011-11-04 09:24:04 -07:00
Henri Sivonen
ca7381838d Bug 482921 part 1 - Implement HTML syntax highlighting using the new parser. r=Olli.Pettay. 2010-07-30 13:15:38 +03:00
Chris Pearce
545303ae64 Bug 691583 - Ensure Unix EOL in full-screen API tests. r=whitespace 2011-11-01 18:11:47 +13:00
Chris Pearce
a7a9544801 Bug 691583 - Dispatch showfullscreenwarning chrome event when restricted key pressed in DOM full-screen mode. r=smaug 2011-11-01 18:11:40 +13:00
Chris Pearce
9c5634653e 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
427807cc7c Bug 685779 - Add -moz-full-screen-ancestor pseudo class. r=bz 2011-11-01 18:11:09 +13:00
Boris Zbarsky
7b43f772d0 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
e972d9a12c 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
c458b22fdf Bug 696201. Switch nsContentList to using an nsTArray as the element store. r=sicking 2011-10-31 22:48:59 -04:00
Phil Ringnalda
d52b47a0b0 Back out 773e9705c61b (bug 697211) for orange 2011-10-31 19:02:50 -07:00
Doug Sherk
f5666cf39b Bug 697211 - fixed stride not being returned correctly from getVertexAttrib. r=jgilbert 2011-10-31 17:49:55 -07:00
Doug Sherk
0e41e843ea 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
947980965b Bug 697753 - Fix WebGL conf. errors in framebuffer-object-attachment - r=bjacob 2011-10-31 16:55:01 -07:00
Jeff Gilbert
4f29336b92 Bug 698088 - Rebind previous state after initializing fake-black textures - r=bjacob 2011-10-31 16:55:01 -07:00
Jeff Gilbert
5b4030b08d 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
4ce6514d96 Bug 697168 - Removes WebGL overloads for untyped ArrayBuffers where disallowed - r=bjacob 2011-10-31 16:55:00 -07:00
Matt Brubeck
6ba206e797 Merge mozilla-central to mozilla-inbound 2011-10-31 14:51:24 -07:00
Benoit Jacob
0618beb3c4 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
bd9c959fbc Backed out changeset d40e649ff250 2011-10-31 11:39:46 -04:00
Kyle Huey
4b256c0dd6 Bug 692067: Make WebSockets go through content policies. r=smaug 2011-10-31 09:29:20 -04:00
Olli Pettay
3b77e4c896 Bug 667490 - EventSource should use the same nsIContentPolicy type as XHR, r=dveditz 2011-10-31 14:48:50 +02:00
Olli Pettay
79969bc6f0 Bug 698061 - document.importNode's deep attribute should be optional, r=sicking 2011-10-30 23:17:53 +02:00
Ed Morley
d3095eb7a4 Merge mozilla-central and mozilla-inbound 2011-10-30 11:52:20 +00:00
Ms2ger
d952a9a9dc Bug 688547 - Use Element* for nsIDocument::{SetSubDocumentFor,FindContentForSubDocument}; r=peterv 2011-10-29 22:22:19 +02:00
Ms2ger
d0aac143b2 Bug 697210 - Part c: Remove nsIDocument::CreateElem's aDocumentDefaultType argument; r=bz 2011-10-29 22:21:20 +02:00
Ms2ger
fb383b6f7c Bug 697210 - Part b: Remove unnecessary IsHTML() check in nsDocument::CreateElement; r=bz 2011-10-29 22:20:57 +02:00
Ms2ger
c4bb29bcff 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
41e97a1ddf Bug 696663 - Make nsIJSEventListener::mScopeObject a JSObject; r=smaug 2011-10-29 22:17:43 +02:00
Ms2ger
37c0e77016 Bug 696661 - Make nsIJSEventListener::mHandler a JSObject; r=jst 2011-10-29 22:16:43 +02:00
Ms2ger
27ea1b560a Bug 694867 - Part e: Pass JSScript to nsXULDocument::ExecuteScript; r=volkmar 2011-10-29 22:14:26 +02:00
Ms2ger
be67644abb Bug 694867 - Part d: Store a JSScript in nsXULPrototypeCache; r=volkmar 2011-10-29 22:14:13 +02:00
Ms2ger
2e196a5c20 Bug 694867 - Part c: Return a JSScript from nsXULPrototypeCache::GetScript; r=volkmar 2011-10-29 22:13:55 +02:00
Ms2ger
3a06735007 Bug 694867 - Part b: Pass a JSScript to nsXULPrototypeScript::Set; r=volkmar 2011-10-29 22:13:31 +02:00
Ms2ger
835b0c80ca 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
424e3da2cb Bug 694769 - Remove nsIScriptContext::GetScriptGlobal in favour of GetGlobalJSObject; r=smaug 2011-10-29 22:09:04 +02:00
Ms2ger
9ce40d6af3 Bug 694759 - Make nsIScriptContext::GetNativeGlobal return JSObject; r=jst 2011-10-29 22:06:17 +02:00
Ms2ger
567f4260b6 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Phil Ringnalda
c2f49690ff Back out 3ad7f12bde01 (bug 664179) and 3ab7b95bfcb5 (bug 673296) for Linux debug M1 orange 2011-10-29 09:52:45 -07:00
Olli Pettay
9f362a60d2 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
5efb782bc4 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
5ea708af84 Bug 673296: Fix EventSource origin handling. r=sicking,smaug 2011-10-28 19:52:27 -07:00
Jonas Sicking
0588c874fd Bug 687400: Kill Node.isSameNode. r=smaug 2011-10-28 19:52:27 -07:00
Robert Longson
b15078098b Bug 697978 - make display:none svg images load. r=dholbert,bzbarsky 2011-10-29 09:18:25 +01:00
Jonathan Watt
8a0b72332d 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
2872bb50f3 Bug 697917. Avoid atomizing the token for nsDOMTokenList containment tests. r=smaug 2011-10-28 13:06:39 -04:00
Masatoshi Kimura
e11cf4c8a2 Bug 697689 - Fix XHR brokenness, the optimization violated a nsIStreamLisetner contract; r=jonas 2011-10-28 15:05:07 +01:00
Mark Banner
cbd25443a2 Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Chris Pearce
183224c060 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
09778341dc 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
ddb3e139c0 Backout d9da4de6579c (Bug 682496) for M1 leaks. 2011-10-27 00:13:39 +02:00
Doug Sherk
1c15893d0b 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
46fabc604a 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
c1d168ebeb 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
e1d23d3555 Bug 689008: Part 3 - Tests; r=jonas 2011-10-26 08:52:37 -04:00
Masatoshi Kimura
ee11c4dbb7 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
955deb60f0 Backout 08a63bc26c75 (Bug 622232) due to Dromaeo (DOM) regression. 2011-10-26 14:13:07 +02:00
Robert Longson
b1c939575c Bug 696579 - Round out mask, filter and pattern surfaces. r=roc 2011-10-26 09:52:11 +01:00
Alexander Surkov
4cd0ccbd24 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
528fd16322 Bug 691976 - NULL check the JSContext before using JS_updateMallocCounter. r=Bas 2011-10-26 16:13:24 +13:00
Ehsan Akhgari
74d9b6f1fb Backout changeset be42bc18185a (bug 612128) because of bug 688423 2011-10-25 22:32:55 -04:00
Ehsan Akhgari
037b12b7d1 Backout changeset 269ee0275709 (bug 688438) because of bug 688423 2011-10-25 22:32:11 -04:00
Steve Workman
9a67e43559 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
6db49ceb1b Bug 696021, followup to bug 694226 which fixes scrollbar atoms 2011-10-25 11:05:33 -04:00
Benoit Jacob
257620bd20 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
c3e7a55d14 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
24c0304698 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
c54a301ca1 Bug 696603: Handle null being passed to BlobBuilder.append. r=sicking 2011-10-24 09:38:41 -04:00
Benoit Jacob
f3f0162ab6 Bug 665578 - Use ANGLE's built-in-function-emulation feature on Mac - r=jrmuizel 2011-10-23 22:46:40 -04:00
Benoit Jacob
5c20d35fbd 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
c6dfbab328 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
ae75560ba5 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
9e02528283 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
a72c49ddb7 Backout cb50e96dbee0 (Bug 677079) for Win PGO mochitests failures. 2011-10-22 11:03:26 +02:00
Bill McCloskey
0d988f23d3 Bug 677079 - Remove jscntxt.h from INSTALLED_HEADERS (r=Waldo) 2011-10-20 10:14:24 -07:00
Justin Lebar
fbe51410e2 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
7a65efe109 Merge mozilla-central to mozilla-inbound 2011-10-21 10:02:30 +02:00
Marco Bonardo
824c514d6a Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-21 10:00:11 +02:00
Kyle Huey
0d874b65fa 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
c0def581fb 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
370cae09cc 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
f3be362757 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
92c83507d3 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
e31e3f275e 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
9f229b37a7 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
7f1312bd00 Bug 615976 - Adds support for samples in ContextFormat, pref 'webgl.max-samples' - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
445287a1f5 Bug 615976 - Fix WebGL to default to trying to have anti-aliasing - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
441efd5332 Bug 681791 - Fixes GLContext::ResizeOffscreen leaving a mess on failure - r=bjacob 2011-10-19 15:09:57 -04:00
Benoit Jacob
99bb756bd6 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
03bb734c28 Fix ResizeOffscreenFBO to attempt resize without AA if resize with AA failed 2011-10-19 15:09:57 -04:00
Jeff Gilbert
656a0adcc0 Adds support for samples in ContextFormat, pref 'webgl.max-samples' 2011-10-19 15:09:57 -04:00
Jeff Gilbert
6c395a3be5 Fix WebGL to default to trying to have anti-aliasing 2011-10-19 15:09:57 -04:00
Jeff Gilbert
46d6e15195 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
9b0482ab73 Bug 693183 - move image processing to the frame class. r=jwatt 2011-10-19 16:37:49 +01:00
Robert Longson
e3b2a10d49 Backout Bug 693183 2011-10-19 14:55:27 +01:00
Robert Longson
64d601cee6 Bug 693183 - Simplify class animation processing. r=jwatt 2011-10-19 14:40:58 +01:00