Commit Graph

7621 Commits

Author SHA1 Message Date
Kyle Huey
d2da8f5e6c Merge m-c to cedar since I already pushed it in, and push what I actually wanted to push 2011-06-07 13:23:03 -07:00
Julian Reschke
e65dadbf3c Bug 507976: Check the anchor parameter while processing link header fields. r=bz 2011-06-07 13:19:06 -07:00
Benoit Jacob
3f7d139bd9 Bug 656277 - Prevent loading WebGL textures from cross-domain images - r=bzbarsky, a=jpr
This blocks using cross-domain images and tainted canvases as WebGL textures, in response to a timing attack allowing to get approximations of cross domain images' pixel data.

This is known to break legitimate Web content (e.g. bug 662570), so it's sad to have to land this. In the hopefully near future, a way forward will be implemented allowing affected Web content to resume working: we will allow cross-domain textures that have CORS approval. This is being coordinated with other WebGL implementers on the WebGL mailing lists.
2011-06-07 13:47:54 -04:00
Mounir Lamouri
dbc8f56eea Merging cedar with mozilla-central. 2011-06-07 11:06:50 +02:00
Patrick McManus
20b80a25e4 Bug 662554 - Make websocketestablishedconnection getinterface and close() check mOwner != nsnull r=biesi
--HG--
extra : rebase_source : 2a5e0df5d61f52445b2db8e08431df6987a07e5c
2011-06-08 08:27:11 -04:00
Mounir Lamouri
bb91918b3b Bug 350022 (2/2) - Tests. r=bz
This patch also creates a forms/ directory inside content/html/content/tests/
to host the forms test suite.
2011-06-08 00:01:09 +02:00
Mounir Lamouri
bca99c125b Bug 350022 (1/2) - Don't save a radio button state if the user didn't interact with the group. r=bz 2011-06-08 00:01:25 +02:00
Dão Gottwald
4e4ac318f3 Bug 658738 - remove event listeners in browser chrome tests 2011-06-07 16:45:26 +02:00
Bjarne
c8814a65f7 Bug 622357 - HttpChannel::SetCacheTokenCachedCharset() fails if cache-entry is unavailable. r=bz 2011-06-05 18:20:53 +02:00
Jeff Walden
1a51bb7cb1 Bug 645922 - Remove nsIJSON.encode/decode, because their functionality is subsumed by JSON.parse and JSON.stringify, and their idiosyncrasies are hindering code improvements. Also remove js_TryJSON and JS_TryJSON, which are no longer used after these changes and have no clear use cases. r=brendan, r=jst 2011-03-28 19:27:15 -07:00
Chris Leary
52221a8477 Merge mozilla-central and tracemonkey. 2011-05-23 00:02:05 -07:00
Nicholas Nethercote
30e92c3349 Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc. 2011-05-22 19:49:56 -07:00
Chris Leary
b2d9eba98e Merge mozilla-central and tracemonkey. 2011-05-20 14:29:36 -07:00
Jonathan Watt
f709b31a75 Bug 657862 - Relative SVG arc path segments are broken. r=longsonr.
--HG--
extra : rebase_source : 8897f5f5358f67708f92f50e1061d1947ae011a1
2011-05-20 21:00:35 +01:00
Matt Woodrow
6ce859c7db Bug 656947 - NULL check the current canvas context when attempting to increment the malloc count. r=bz 2011-05-20 10:12:12 -07:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Mounir Lamouri
77c1d76262 Merging cedar with mozilla-central. 2011-05-20 15:55:16 +02:00
Mounir Lamouri
de7cd2d1a0 Bug 658282 (2/2) - Notify state change when a radio button checkness changes. r=bz 2011-05-20 00:33:33 +02:00
Benjamin Peterson
6ca89b9ae1 Bug 649618: toDataURL on a zero canvas should return "data:," r=joe 2011-05-20 00:28:45 +02:00
Olli Pettay
f0c0c8b1b6 Bug 657997 - loadFrameScript should never use http and should use a script runner when needed, r=bz+mfinkle 2011-05-19 17:48:17 +03:00
Craig Topper
52d9de655d Bug 658143 - Part 2: Don't use createInstance for nsFrameSelection. r=roc 2011-05-18 22:26:45 -07:00
Craig Topper
4e38ca20a7 Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc 2011-05-18 20:10:49 -07:00
Olli Pettay
2d023944de Bug 656386 - nsUIEvent should generate nsDOMUIEvent, r=sicking 2011-05-19 16:40:52 +03:00
Mounir Lamouri
3646f63577 Merging cedar with mozilla-central. 2011-05-19 15:05:34 +02:00
Benjamin Peterson
00688a9856 Bug 421865 - Handle zero dimensions correctly in canvas GetWidthHeight(). r=joe sr=roc 2011-05-19 12:49:18 +02:00
Chris Pearce
ecc5e88894 Bug 658177 - Fix potential deadlock in gVolumeScaleLock. r=roc 2011-05-19 21:00:39 +12:00
Masatoshi Kimura
ded3a051e0 Bug 649133 followup. Remove the 'moz' prefix on response/responseType, since Chrome has already shipped these unprefixed. r=sicking 2011-05-19 01:11:51 -04:00
Benjamin Peterson
f41c05a7d6 Bug 656183: remove duplicate call to SetCanvasElement. r=joe 2011-05-18 21:23:00 -04:00
Masayuki Nakano
24127357de Bug 657648 Don't use high resolution scrolling when acceleration is enabled r=smaug 2011-05-19 08:12:34 +09:00
Bas Schouten
007db48f46 Bug 620216 - Part 1: Use EXTEND_PAD when doing DrawImage. r=roc 2011-05-17 23:10:09 +00:00
Chris Pearce
7245639e75 Bug 652475 - Add media.volume_scale pref to scale output volume without changing reported volume. r=roc 2011-05-19 09:12:25 +12:00
Mounir Lamouri
3614c727b5 Merging cedar with mozilla-central. 2011-05-18 11:42:37 +02:00
Craig Topper
d3aa297de2 Bug 657548 - Part 2: Remove more unused CIDs. r=jst 2011-05-16 23:46:22 -07:00
Craig Topper
1ff7cbe0ed Bug 657548 part 1. Remove some duplicate and unused CIDs from nsContentCID.h and nsLayoutCID.h. r=jst 2011-05-16 22:25:39 -07:00
Zack Weinberg
c2d2dd84db Bug 541496 part 5: use the string-taking API for sync sheet loads. r=bzbarsky 2011-05-18 21:22:59 -04:00
Zack Weinberg
eb1ebebbd0 Bug 541496 part 3: use the new string-taking API in LoadInlineStyle. r=bzbarsky 2011-05-18 21:22:59 -04:00
Zack Weinberg
1a37e44f98 Bug 541496 part 2: use the new string-taking API in nsHTMLParanoidFragmentSink. En passant prune some unnecessary inclusions of ns(I)UnicharInputStream.h. r=bzbarsky 2011-05-18 21:22:59 -04:00
Zack Weinberg
4528c43578 Bug 541496 part 1: add an overload of nsCSSParser::Parse() that takes a string rather than a stream; rename both methods ParseSheet(); change calling convention of the older overload for the templated implementation's sake. r=bzbarsky 2011-05-18 21:22:59 -04:00
Simon Montagu
104d732e9a Cache in-flow content length. Bug 566066, r=roc 2011-05-22 11:20:29 +03:00
Randell Jesup
f9901669f2 Bug 655084 - Remove nsWeakFrame's from editor scripts and the nsTextInputListener to improve perf on pages with lots of text widgets. r=ehsan 2011-05-21 04:25:27 -04:00
Masayuki Nakano
edb717f467 Bug 657634 Don't use high resolution scrolling when scrolling speed is customized by prefs r=smaug 2011-05-22 14:39:16 +09:00
Patrick McManus
2ded010403 bugzilla 640003 websockets ietf-07 r=smaug r=biesi sr=bz 2011-05-21 21:27:52 -04:00
Patrick McManus
c2f7522f58 bug 640003 - websockets, fixup tests for new server r=smaug r=biesi 2011-05-21 21:27:52 -04:00
Daniel Holbert
ff123ba64d Bug 308590 patch 5: Clean up QIs to nsIURL that are really checks for "Does this support GetRef/SetRef", now that nsIURI supports GetRef/SetRef too. r=bz 2011-05-21 18:12:46 -07:00
Daniel Holbert
c0b880ca57 Bug 308590 patch 3.5: Add nsIURI::CloneIgnoringRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert
2ebeeb1a30 Bug 308590 patch 3: Add nsIURI::EqualsExceptRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert
f3cc3a9d15 Merging cedar with mozilla-central. 2011-05-21 16:18:49 -07:00
Jonas Sicking
5a46947588 Add a test for bug 644069. r=bzbarsky 2011-05-20 16:21:27 -04:00
Kyle Huey
601d68ae79 Bug 648997: Implement BlobBuilder spec as MozBlobBuilder. r=sicking.
Note that there is one key difference between this implementation and the spec.  In this patch MozBlobBuilder.getBlob("content/type"); returns a Blob and clears the MozBlobBuilder.  In the spec the BlobBuilder is not cleared.  Thus,

let bb = new MozBlobBuilder();
MozBlobBuilder.append("foo");
let blob1 = MozBlobBuilder.getBlob("content/type");
// blob1 contains "foo"
MozBlobBuilder.append("bar");
let blob2 = MozBlobBuilder.getBlob("content/type");
// blob2 contains "bar", the spec says it should contain "foobar".

IMO, the spec behavior optimizes for the wrong case.  BlobBuilder will probably be used mostly as a one-shot API.  Additionally, the spec requires the BlobBuilder to hang on to potentially large amounts of memory between the getBlob() call and when the BlobBuilder is GCd.

These issues have been raised on the listserv.
2011-05-20 10:18:45 -07:00
Doug Turner
7ae2a4a388 Bug 653201: Remove expose image / maemo specific npapi support. r=blassey r=josh 2011-05-21 11:21:49 -04:00
Josh Aas
998050c725 Bug 657952: Minimize methods in nsIPluginHost. r=jst 2011-05-21 09:28:54 -04:00
Jonas Sicking
14b0c5d3de Back out another suspect just in case. CLOSED TREE. a=orange 2011-05-20 17:20:37 -07:00
Kyle Huey
6a71698a53 Back it all out on this CLOSED TREE. a=mfbt 2011-05-20 17:00:46 -07:00
Kyle Huey
0018d52058 Backed out changeset b8404a1d3153 2011-05-20 17:00:13 -07:00
Benoit Jacob
fedd4697f5 Bug 657556 - crash in WebGL uniform setters when no program is bound - r=cdiehl
This crash was occurring when no program is bound and the uniform object isn't bound to a program either. The fix is to properly check if a program is bound.
2011-05-20 15:53:54 -04:00
Benoit Jacob
fc2bfc20c7 Bug 656215 - null out failed canvas contexts - r=roc
This is needed to correctly handle exceeding large canvases. The previous patch lets us know that the canvas is too large, and this canvas then correctly marks it as 'bad' so that we no longer crash.
2011-05-20 15:53:53 -04:00
Benoit Jacob
3b22833d8a Bug 636942 - stencil separate param validation must now occur on draw calls - r=jrmuizel
We were validating these params when they're set, and that was non-conformant behavior.
2011-05-20 15:53:53 -04:00
Benoit Jacob
a392b3f339 Bug 636913 - fix buffer-preserve-test.html so it works in the mochitest - r=joedrew
This was filed upstream at:
http://www.khronos.org/bugzilla/show_bug.cgi?id=472

This just moves around the canvas in the html so it's visible, so it actually gets composited. Otherwise the test fails.
2011-05-20 15:53:53 -04:00
Benoit Jacob
c8c2f484a2 Bug 636913 - implement the WebGL backbuffer clear semantics - r=joedrew
This implements the WebGL backbuffer clearing behavior when preserveDrawingBuffer=false
2011-05-20 15:53:53 -04:00
Benoit Jacob
58ec34d2c2 Bug 636913 - implement ForceClearFramebufferWithDefaultValues from the existing renderbuffer init code - r=joedrew
This is just moving code around, in preparation for implementing the WebGL buffer clear semantics in the next part.
2011-05-20 15:53:53 -04:00
Benoit Jacob
ee5166d905 Bug 636913 - state tracking needed for WebGL clear semantics - r=joedrew
We needed to remember more values instead of just passing them to the GL.
2011-05-20 15:53:53 -04:00
Benoit Jacob
841076288a Bug 636913 - fix context options - r=joedrew
The WebGL context options were out of date.
2011-05-20 15:53:53 -04:00
Benoit Jacob
779f99fd6c Bug 630672 - fixes for WebGL OES_texture_float extension - r=joedrew
This fixes a few issues in Vlad's patch: pass test, break reference cycle, fix leak
2011-05-20 15:53:53 -04:00
Vladimir Vukicevic
4b2230fe03 Bug 630672 - implement WebGL OES_texture_float extension - r=bjacob
This implements floating-point textures in WebGL
2011-05-20 15:53:53 -04:00
Benoit Jacob
398859cfe4 Bug 657201 - we must really avoid glValidateProgram() on Mac - r=cdiehl
We thought it was only crashy with NVIDIA, but it's now confirmed on ATI on Mac OS 10.6.7 too

It's OK to just not call it, as it's only a developer feature and not really useful in actual content.
2011-05-20 15:53:53 -04:00
Benoit Jacob
b9642f26a8 Bug 657190 - the WebGL mochitest is downloading images from internet - r=philor
This patch checks in the image in question so we don't download it from internet anymore. Was causing intermittent test failures.
2011-05-20 15:53:53 -04:00
Kyle Huey
7da7ee7e4b Bug 648997: Implement BlobBuilder spec as mozBlobBuilder. r=sicking.
Note that there is one key difference between this implementation and the spec.  In this patch mozBlobBuilder.getBlob("content/type"); returns a Blob and clears the mozBlobBuilder.  In the spec the BlobBuilder is not cleared.  Thus,

let bb = new mozBlobBuilder();
mozBlobBuilder.append("foo");
let blob1 = mozBlobBuilder.getBlob("content/type");
// blob1 contains "foo"
mozBlobBuilder.append("bar");
let blob2 = mozBlobBuilder.getBlob("content/type");
// blob2 contains "bar", the spec says it should contain "foobar".

IMO, the spec behavior optimizes for the wrong case.  BlobBuilder will probably be used mostly as a one-shot API.  Additionally, the spec requires the BlobBuilder to hang on to potentially large amounts of memory between the getBlob() call and when the BlobBuilder is GCd.

These issues have been raised on the listserv.
2011-05-20 10:18:45 -07:00
Shawn Gong
9fe184ef18 Bug 632255 - Implemented readAsArrayBuffer() for FileReader. r=bent,sicking 2011-05-20 10:17:28 -07:00
William Chen
db78afb329 Bug 560112 - Implement HTML5 dataset attribute. r=sicking,mrbkap 2011-05-20 10:23:49 -07:00
Ed Morley
d260544670 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Ehren Metcalfe
8947b2bf0c Bug 551390 - Remove dead code in content r=sicking,roc 2011-05-17 15:54:09 +02:00
Mounir Lamouri
64a8d3688b Merging cedar with mozilla-central. 2011-05-17 15:32:32 +02:00
Paul ADENOT
6f534e4407 Bug 657447 : adding include guard aroung nsTimeRanges class. 2011-05-17 11:14:40 +12:00
Benoit Jacob
d1bac4c182 Bug 656752 - WebGL crash [@gleRunVertexSubmitImmediate()] - r=jrmuizel, a=clegnitto
Fix bookkeeping in webgl.bindBuffer()
2011-05-16 17:18:04 -04:00
Masayuki Nakano
1d3f3a321b Bug 605648 Support high resolution scrolling on Windows r=jimm+smaug 2011-05-17 09:23:23 +09:00
Paul ADENOT
fd896d6eec Bug 620331 - Remote nsAudioStreamRemote::GetMinWriteSamples; r=kinetik 2011-05-15 12:53:55 +02:00
Ms2ger
d5df8a6e33 Bug 655514 - Remove nsIDOMDocumentTraversal; f=ehsan r=jonas 2011-05-15 12:07:30 +02:00
Ms2ger
a49c5db9c8 Bug 655513 - Remove nsIDOMDocumentRange; f=ehsan r=bzbarsky 2011-05-15 12:07:28 +02:00
Chris Leary
a7253cc393 Bug 654301: Better interned string API, take 2. (r=Waldo) 2011-05-17 12:15:12 -07:00
Josh Aas
f6eb4c8df6 Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg 2011-05-17 21:48:34 -04:00
Bas Schouten
6a5507939e Backed out changeset eb3239a968ac 2011-05-18 00:21:49 +00:00
Bas Schouten
472d5df9be Bug 620216: Use EXTEND_PAD when doing DrawImage. r=roc 2011-05-17 23:10:09 +00:00
Ms2ger
b0ad3b3419 Bug 660539 - Remove nsIDOM3TypeInfo, schemaTypeInfo; r=sicking 2011-06-04 08:57:23 +02:00
Ms2ger
6b82352a35 Bug 635194 - Don't resolve body.background; r=bz 2011-06-04 08:57:23 +02:00
Ms2ger
910b553f57 Bug 660669 - Remove nsHTMLDocument::OpenCommon; r=bz 2011-06-04 08:57:23 +02:00
Ms2ger
3505147a43 Bug 660663 - Make element.dir reflect like other reflecting enumerated attributes; r=bz 2011-06-04 08:57:23 +02:00
Neil Deakin
4e03106b4a Bug 319929, initialize accessibility.accesskeycausesactivation preference properly, r=smaug 2011-06-03 15:38:24 -04:00
Mounir Lamouri
af81ce3c72 Merging cedar with mozilla-central. 2011-06-03 12:06:08 +02:00
Benjamin Peterson
be433a6891 Bug 405300 - ignore transformation in isPointInPath(). r=joe sr=roc 2011-06-03 07:50:14 +02:00
Matheus Kerschbaum
7406ce377f Bug 660762 - Remove --disable-mathml support. r=roc 2011-06-02 13:11:33 +02:00
Mounir Lamouri
d431d20e49 Merging cedar with mozilla-central. 2011-06-02 13:10:11 +02:00
Boris Zbarsky
169ed5d1fc Bug 660404. Allow storing the previous page in bfcache even if the new one is a multipart response. r=smaug 2011-06-01 16:00:36 -04:00
Henri Sivonen
8284f3f717 Bug 661140 - Make test_bug596350.html test focus on rendered elements instead of display:none; elements. r=mounir 2011-06-01 16:02:36 +02:00
Landry Breuil
3aea31bbcc Fix fallout from #658363, probable typo Breaks sparc64 builds r=sicking 2011-06-01 13:15:41 -07:00
Robert Longson
622580fa22 Bug 657077 - Should not assert calling suspendRedraw on elements that fail conditional processing. r=dholbert 2011-05-31 19:12:40 +01:00
Mounir Lamouri
0c784be5a4 Merging cedar with mozilla-central. 2011-06-01 10:06:55 +02:00
Michael Ventnor
a43e9c5591 Bug 50660 - Drag and drop for file upload form control r=jst,enndeakin 2011-06-01 16:06:38 +10:00
Boris Zbarsky
76f757828a Bug 598833 part 12. Add dom::Element::UpdateState and use it in various places where elements update their own state. r=smaug,sdwilsh,mounir 2011-05-31 21:46:57 -04:00
Boris Zbarsky
f46b921065 Bug 598833 part 11. Changes to @form should notify the old default submit correctly. r=mounir 2011-05-31 21:46:57 -04:00
Boris Zbarsky
05703a1730 Bug 598833 part 10. Make unbinding a <select> update its validation state. r=mounir 2011-05-31 21:46:57 -04:00
Boris Zbarsky
e167b0caba Bug 598833 part 9. Store an Element pointer in Link. r=smaug,sdwilsh 2011-05-31 21:46:57 -04:00
Boris Zbarsky
e0320797e3 Bug 598833 part 8. Create an explicit API to request link state updates. r=smaug,sdwilsh
This is a bit of a hack to make sure that we update link state sometime when doing style resolution, pending a better setup in bug 660959 for determining when to resolve the link URI.
2011-05-31 21:46:57 -04:00
Boris Zbarsky
7867f56859 Bug 598833 part 7. Make IntrinsicState protected. r=smaug 2011-05-31 21:46:57 -04:00
Boris Zbarsky
48e3edf8fc Bug 598833 part 6. Get rid of nsEventStateManager::GetContentState. r=smaug 2011-05-31 21:46:56 -04:00
Boris Zbarsky
35d9b78644 Bug 598833 part 5. Store focus and focusring state directly on elements. r=smaug,enn 2011-05-31 21:46:56 -04:00
Boris Zbarsky
028dd01484 Bug 598833 part 4. Store urltarget and dragover state directly on elements. r=dbaron 2011-05-31 21:46:56 -04:00
Boris Zbarsky
b6580b8829 Bug 598833 part 3. Store hover and active state directly on elements. r=dbaron 2011-05-31 21:46:56 -04:00
Boris Zbarsky
ea4a3c7f36 Bug 598833 part 2. Create basic infrastructure for letting the ESM store states on elements. r=smaug 2011-05-31 21:46:56 -04:00
Boris Zbarsky
142a55fcd8 Bug 598833 part 1. Move IntrinsicState from nsIContent to Element. r=smaug 2011-05-31 21:46:56 -04:00
Boris Zbarsky
cebd3ace3b Bug 657353 followup. Put a scriptblocker around our call to VisitGroup with nsRadioSetValueMissingState, since that dispatches state change notifications. 2011-05-31 20:21:24 -04:00
Mounir Lamouri
ce3108de44 Bug 644959 - Do not try to restore HTMLButtonElement state when created from parser fragment. r=hsivonen 2011-05-31 23:57:16 +02:00
Boris Zbarsky
18cce8e61c Bug 657353 part 2. Switch content state updates away from calling Begin/EndUpdate. r=sicking 2011-05-31 17:38:25 -04:00
Boris Zbarsky
5bb505a0b1 Bug 657353 part 1. Switch the XML prettyprinter to using a script runner instead of EndUpdate to determine when to drop prettyprinting. r=sicking 2011-05-31 17:26:13 -04:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Ms2ger
e97c66dfd4 Bug 660604 - Remove nsIHTMLDocument::GetBodyContentExternal; r=jst 2011-06-02 14:56:46 +02:00
Ms2ger
11f3746889 Bug 660694 - Fix comparisons between signed and unsigned integer expressions in nsDOMBlobBuilder.cpp by using unsigned integers consistently; r=sicking 2011-06-02 14:56:46 +02:00
Ms2ger
4ee45e739a Bug 629870 - Drop support for globalCompositeOperation=over,clear; r=sicking 2011-06-02 14:56:46 +02:00
Phil Ringnalda
36bee1bcfe Bug 565245 - Disable test_bug493251.html on Linux because of | Wrong number events (16 through 21, one short on each), r=smaug 2010-12-20 21:06:00 -08:00
Jonathan Watt
b4856a95b9 Bug 580983. Fix broken test, but disable it since it would now be virtually permaorange. 2011-05-14 20:10:18 +01:00
Jonathan Watt
42626a794e Bug 580983. Invert the args to is() so that the 'expected...got...' message is the correct way round. 2011-05-14 18:06:02 +01:00
Jonathan Watt
8efe0687fe Bug 580983. Use path instead of rect to eliminate ambiguity about which rect is being hit.
--HG--
extra : rebase_source : 9608b39c80a8a7a1b88c61db1ebd5cfa21e7ff09
2011-05-14 17:56:47 +01:00
Jonathan Watt
de09de0254 Bug 580983. Clean up test before another attempt at orange fix.
--HG--
extra : rebase_source : c5dcaec1516041578c9db5af4682b52a0c67d1d0
2011-05-14 17:55:53 +01:00
Olli Pettay
132add9eb2 Bug 307258 - Support beforeprint and afterprint events, r=mats, sr=roc
--HG--
extra : rebase_source : f14da5d6e282fe6ab4813c121d3366844dd89af6
2011-05-14 15:03:58 +03:00
Olli Pettay
aac1b3c0a8 Fix a comment in the testcase for bug 656954
--HG--
extra : rebase_source : c25c9105205dceea2af11312059fba493b343b76
2011-05-14 14:14:06 +03:00
Jonathan Watt
414d346a76 Bug 580983. Attempt to fix random orange. 2011-05-14 14:12:32 +01:00
Olli Pettay
a5e935bc3c Bug 656954 - Add defaultPrevented to nsIDOMEvent, r=sicking
--HG--
extra : rebase_source : f491aa3d1b40980ca0f6b8cc38a5e9e60d80b9e7
2011-05-13 23:44:35 +03:00
Chris Leary
4d1fba5db8 Merge mozilla-central and tracemonkey. 2011-05-13 15:06:53 -07:00
Bobby Holley
3fa8eba250 Bug 653930 - Setting marginWidth and marginHeight on an iframe should trigger a reflow.r=bz 2011-05-13 10:41:00 -07:00
Josh Matthews
828f07a165 Bug 642419 - Add error reporting for content scripts. r=smaug 2011-03-18 00:08:18 -04:00
Mounir Lamouri
a497a31e83 Merging cedar with mozilla-central. 2011-05-13 10:59:05 +02:00
Henri Sivonen
f5d2683307 Bug 651441 - Make sure the HTML5 application cache selection algorithm runs properly when there is no manifest attribute. r=honzab.moz. 2011-05-13 11:31:12 +03:00
Daniel Holbert
72a7071032 Bug 654015 patch 2: Assert that page is hidden when document disconnects from nsSMILAnimationController. r=bz 2011-05-12 10:50:14 -07:00
Henri Sivonen
4fe663e3bc Bug 655701 - Remove test dependencies on the html5.parser.enable pref. r=ted.mielczarek. 2011-05-12 10:56:37 +03:00
Chris Pearce
6d6e37a982 Bug 651023 - Round up wait times to 1ms to ensure we drop the decoder monitor when presenting video frames. r=kinetik 2011-05-12 14:02:34 +12:00
Chris Pearce
055f6af4bb Bug 656480 - Make test_bug495300 use MediaTestManager. r=roc 2011-05-12 14:02:34 +12:00
Chris Pearce
83fc85f024 Bug 655648 - Go to readyState HAVE_ENOUGH_DATA if resource is fully loaded at loadeddata state. r=roc 2011-05-12 14:02:34 +12:00
Nicholas Nethercote
fe667a591e Bug 655638 - Make the canvas memory reporter a non-heap reporter. r=bas. 2011-05-11 16:09:50 -07:00
Olli Pettay
5a3d01a7ee Bug 656218, document.activeElement should not throw, r=bz 2011-05-11 23:52:32 +03:00
Masatoshi Kimura
d304cf7c20 Bug 656253: Fix intermittent orange due to variables colliding. r=sicking 2011-05-11 11:06:47 -07:00
Mats Palmgren
9b597207cc Bug 649134 - Add a comment explaining the extra subdirectory for the test. r=me 2011-05-11 18:49:57 +02:00
Mats Palmgren
3d592e7e8c Bug 638112 - Assertion failure: chars[length] == jschar(0). r=dbaron 2011-05-11 11:46:59 +02:00
Mats Palmgren
691c173afd Bug 649134 - Ignore an empty or whitespace only href in the Link HTTP header. r=bzbarsky 2011-05-11 11:46:59 +02:00
Mats Palmgren
2e345f50e8 Bug 649134 - Ignore an empty or whitespace only <link> href. r=bzbarsky 2011-05-11 11:46:59 +02:00
Olli Pettay
aaa8063f93 comparing with ssh://opettay@mozilla.com@hg.mozilla.org/mozilla-central/
searching for changes
changeset:   68981:5f295573b22d
tag:         tip
user:        Olli Pettay <Olli.Pettay@helsinki.fi>
date:        Mon May 09 18:47:13 2011 +0300
summary:     Bug 427537 - Implement CustomEvent DOM3 specification, r=sicking
2011-05-11 09:33:11 +03:00
Masatoshi Kimura
4d700c8562 Bug 649133: Implement xhr.mozResponse and xhr.mozResponseType. r=sicking 2011-05-10 16:18:55 -07:00
Julian Reschke
e74e4501f5 Implement exslt-date:date-time (bug 603159) r=sicking 2011-04-26 13:46:43 +01:00
Jonas Sicking
549cf0a0a2 Bug 643786. Don't fire DOMNodeRemoved when removing the editor created <br>. r=ehsan 2011-05-09 12:33:04 -07:00
Jonas Sicking
75de75934d Bug 650493 Part 2: Simplify userdata by firing adoption handlers off of scriptrunners. r=smaug/peterv 2011-05-09 12:33:03 -07:00
Jonas Sicking
0e17979856 Bug 650493 Part 1: Simplify mutation events by firing all but DOMNodeRemoved off of script runners, and DOMNodeRemoved before starting any update batches or aquiring any state. r=smaug/peterv 2011-05-09 12:33:03 -07:00
Jonas Sicking
2e8c6fa6c5 Bug 650493 tests. rs=smaug 2011-05-09 12:33:03 -07:00
Jonas Sicking
f2e68647d5 Bug 651598: Make test_bug288392.html report better errors. r=smaug 2011-05-09 12:33:03 -07:00
L. David Baron
6a18dd0f0f In cycle collector dumps, allow much more room for document URLs. (Bug 652056) r=peterv 2011-05-09 15:02:34 -04:00
Justin Lebar
8ce3ec96a2 Bug 551225 - Make pushState use structured clone. r=zpao, sicking 2011-04-24 22:30:54 -04:00
Matt Woodrow
9d7dd64918 Bug 649417 - Part 2 - Add a YUV option to SharedImage and use it to share YUV data across processes. r=cjones,joe 2011-04-21 16:38:39 +12:00
Timothy Nikkel
8e6d2ba938 Backed out changeset ed867467d35b (bug 645075) because it doesn't build. 2011-05-12 11:07:42 -05:00
Timothy Nikkel
41f2c9b7d4 Bug 645075. Move scrolling to ref handling back from the document to the content sink so that it works with XSLT transformed documents. r=sicking 2011-05-12 10:36:21 -05:00
Josh Matthews
8c15a97e09 Bug 644325 - Wrap message receiver to avoid compartment errors. r=jst 2011-03-23 17:50:03 -04:00
Mounir Lamouri
e4b3883c74 Bug 633913 - Add a pseudo-class to access indeterminate <progress> elements. r=bz 2011-05-04 16:53:17 +02:00
Mounir Lamouri
9841889de9 Bug 514437 - Tests for progress element (content part). r=smaug 2011-04-20 13:05:59 +02:00
Mounir Lamouri
dd977ba6ef Bug 514437 - Content part of the progress element. r=smaug 2011-04-09 10:22:02 -07:00
Henri Sivonen
c2d3c63d91 Bug 650001 - Make the HTML serializer pay attention to namespaces. r=bzbarsky. 2011-05-09 09:48:46 +03:00
Chris Pearce
8b87c69da8 Bug 566779 - Don't move media to readyState HAVE_ENOUGH_DATA when resource loaded, if metadata not loaded yet r=roc 2011-05-09 09:10:44 +12:00
Chris Pearce
c47b80f93b Bug 566779 - Clean up media start and end time calculation. r=doublec 2011-05-09 09:10:28 +12:00
Ms2ger
b0ed41d802 Bug 655512 - Forward implementation of nsIDOMDocument from nsHTMLDocument to nsDocument; r=smaug 2011-05-08 20:15:49 +02:00
Chris Pearce
ccae22ade2 Bug 650994 - Decode ogg packets lazily, timestamp them at demux time. r=doublec 2011-05-08 18:24:09 +12:00
Olli Pettay
d5431f150a Bug 652752 - Click event isn't fired if mousedown event and mouseup event are fired on different textnode of same element, r=masayuki
--HG--
extra : rebase_source : 90c84bb703c5e314dcdcf3b435b842e680d591ad
2011-05-07 12:42:45 +03:00
Boris Zbarsky
ae3f14f1ba Merge cedar with mozilla-central 2011-05-06 20:39:36 -04:00
Patrick McManus
6b73f3780b Bug 654197 - nsWebSocket::Initialize uses an unanchored JSString unsafely r=jorendorff
--HG--
extra : rebase_source : 53e857796305b1a54601ff9125721d6c0f9e67aa
2011-05-05 17:16:44 -04:00
Benoit Jacob
1f4e4cc378 Bug 653419 - check for null gl ptr in SetDimensions NOP path - r=joedrew
WebGLContext::SetDimensions has an early success exit path when the dimensions are unchanged. However it wasn't checking that the gl pointer was non-null. Thus, after a failed WebGL context creation, such a SetDimensions call could incorrectly "succeed", only to crash when dereferencing the gl pointer.
2011-05-06 14:44:26 -04:00
Benoit Jacob
d715011bf4 Bug 653419 - correctly mark WebGL context creation as successful - r=joedrew
WebGLContext::SetDimensions has early return paths in cases where the WebGL context does not need to get recreated. A bug made that be recorded as WebGL creation failures, giving "WebGL-" in crash reports. This patch fixes that.
2011-05-06 14:44:25 -04:00
Benoit Jacob
219a0971fb Bug 648705 - memory corruption due to dangling pointers in WebGLProgram - r=joedrew
WebGLProgram has a data member,

nsTArray<WebGLShader*> mAttachedShaders;

and bug 648705 showed that the pointers in this array were sometimes dangling, leading to invalid writes at non-null addresses.

This patch makes these pointers be refptrs, so that they will keep alive the WebGLShaders they point to. So the mAttachedShaders member becomes

nsTArray<nsRefPtr<WebGLShader> > mAttachedShaders;
2011-05-06 14:44:23 -04:00
Ehsan Akhgari
e4c89e2e5d Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc 2011-04-29 19:02:33 -04:00
Olli Pettay
f83cc47bbe Bug 654770, fix few AddEventListener calls now that it has 2 optional parameters, r=sicking
--HG--
extra : rebase_source : d0a27a6ba059d5862f10ab49f0a079e8928b30fb
2011-05-05 23:33:13 +03:00
Boris Zbarsky
667ff6ed5e Bug 614171 part 5. Inline the cheap Equals() methods on nsINodeInfo. r=sicking 2011-05-05 12:26:33 -04:00
Boris Zbarsky
162c571d02 Bug 614171 part 4. Eliminate nsINodeInfo::GetLocalName in favor of GetName. r=sicking 2011-05-05 12:26:33 -04:00
Boris Zbarsky
4ad0368a58 Bug 614171 part 3. deCOM qualified name getters a bit. r=sicking 2011-05-05 12:26:33 -04:00
Boris Zbarsky
288e7c4072 Bug 614171 part 2. Cache the qualified name, in normal and corrected case, on the nsINodeInfo. r=sicking 2011-05-05 12:26:32 -04:00
Boris Zbarsky
19229d0372 Bug 614171 part 1. Switch away from Init() to using a constructor for nodeinfo. r=sicking 2011-05-05 12:26:32 -04:00
Paul ADENOT
2d28100bc1 Bug 654956 : Added private: statement in nsAudioStreamRemote. r=kinetik 2011-05-05 12:18:06 +02:00
Boris Zbarsky
885c07dc20 Merge cedar with mozilla-central 2011-05-04 13:58:26 -04:00
Mounir Lamouri
27b0510f87 Bug 641720 - Make nsHTMLInputElement::GetRadioGroupContainer saner. r=sicking,bz 2011-05-04 14:49:59 +02:00
Mounir Lamouri
15cbf347cf Backout f68a9bfc9bfd (bug 641720). 2011-05-04 14:53:06 +02:00
Mounir Lamouri
fba6327793 Bug 639490 - Remove nsHTMLInputElement::GetNameIfExists. r=sicking 2011-05-04 14:46:09 +02:00
Mounir Lamouri
b8dfaebbb5 Bug 641720 - Make nsHTMLInputElement::GetRadioGroupContainer saner. r=sicking,bz 2011-05-04 14:45:47 +02:00
Olli Pettay
5c2503795f Bug 613634, make the 3rd paramater of add/removeEventListener optional, r=sicking
--HG--
extra : rebase_source : 9c720d865ed24e5b54cda287360b0fec508df359
2011-05-04 17:13:28 +03:00
Jonathan Kew
916e9b8b24 bug 253317 - part 5 - support none/manual/auto values for -moz-hyphens in layout. r=roc 2011-05-04 12:29:56 +01:00
Ed Morley
ff5f79b83b Bug 654463 - Remove WinCE code from content/* ; r=sicking 2011-05-04 09:25:50 +02:00
Henri Sivonen
35f3c40695 Bug 654106 - Avoid registering a script observer in the fragment parsing case. r=bzbarsky. 2011-05-04 09:35:14 +03:00
Chris Pearce
ed9ece16c8 Bug 600020 - Don't dispatch error events for media loads on cancelled channels. r=roc 2011-05-04 14:43:48 +12:00
Nicholas Nethercote
6ef173ddbb Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
Dão Gottwald
ca1f9f0f94 Bug 451833 - Highlight the domain name in the address bar. r=roc,sdwilsh ui-r=faaborg
--HG--
extra : rebase_source : 1010ad246e94e271a0efaaca13356aff5d4b3bc3
2011-05-02 19:50:18 +02:00
Olli Pettay
a4d206d66a Bug 654182, svgnumberlist keeps a strong pointer to element, r=dholbert 2011-05-02 22:19:20 +03:00
Robert Longson
d3f15b07db Bug 643419 - pathLength should affect stroke-dasharray. r=dholbert 2011-05-01 19:26:20 +01:00
Craig Topper
ceba599007 Bug 585255 - Remove nsTreeWalker usage from nsFocusManager. r=sicking 2011-04-11 19:46:59 -07:00
Ms2ger
941e819c63 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Robert Longson
b64e818fa8 Bug 652442 - Script feature support should depend on whether javascript is enabled. r=dholbert 2011-04-30 14:56:16 +01:00
Bartłomiej Brzozowiec
c57eed566e Bug 653238 followup: Fix build issue in --disable-smil builds by adding #ifdef MOZ_SMIL around new chunk of smil-related code. r=dholbert DONTBUILD (NPODB) 2011-04-29 18:15:45 -07:00
Daniel Holbert
86e603b07b Bug 628370 patch 1: Downgrade assertion for "Unable to locate an XBL binding", since we hit it under normal conditions and we have code to handle it. r=smaug 2011-04-29 16:56:05 -07:00
Alon Zakai
ba1bdecf39 Bug 615597 - Implement the W3C DeviceOrientation event. r=smaug,blassey 2011-04-29 16:49:20 -07:00
Chris Jones
ed22df8f64 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Mounir Lamouri
6a301536c7 Merge cedar with mozilla-central. 2011-04-29 16:19:07 +00:00
Dão Gottwald
abc853c0f0 Backed out changeset 00f6e702f095 because svg-image-script-2.svg is failing intermittently 2011-04-29 17:11:07 +02:00
Robert Longson
91f2e27dba Bug 652442 - Script feature support should depend on whether javascript is enabled. r=dholbert 2011-04-29 12:28:10 +01:00
Olli Pettay
106880b08c Bug 653497 - Once bug 335998 is fixed, SVGPathDataAndOwner::mElement leaks documents, r=dholbert
--HG--
extra : rebase_source : 76c024841265bbd2a0c2acecc5285074b23f4079
2011-04-29 15:33:11 +03:00
Olli Pettay
52d1607b54 Bug 653420 - nsHTMLMediaElement should traverse/unlink mSourceLoadCandidate, r=chris@pearce.org.nz?
--HG--
extra : rebase_source : fa3e87f031dced4391e2caa83541d1c85ecb62c9
2011-04-28 17:08:03 +03:00
Daniel Holbert
4263ad2860 Bug 653238 patch 2: Promote nsSMILAnimationController's static helper 'GetRefreshDriverForDoc' to an instance method. r=smaug 2011-04-28 12:05:24 -07:00
Daniel Holbert
abb2768190 Bug 653238 patch 1: Add nsSMILAnimationController::Disconnect to clear the controller's pointer to its doc when the doc goes away. r=smaug 2011-04-28 12:02:20 -07:00
Daniel Holbert
f3d8578086 Bug 653270: Simplify nsSMILAnimationController construction/initialization. r=jwatt 2011-04-28 12:02:20 -07:00
Daniel Holbert
f719ee4025 Bug 649568: Clean up logic for addition & interpolation in SVGPathSegListSMILType. r=jwatt 2011-04-28 12:02:10 -07:00
L. David Baron
b712774643 Add support for regexp() function in @-moz-document rule. (Bug 398962) r=bzbarsky 2011-04-28 10:21:37 -07:00
Jacek Caban
a1030aed6c Bug 651887 - Use macro for NodeWillBeDestroyed in nsXULTreeBuilder
r=bzbarsky

--HG--
extra : rebase_source : 261c3e5a407009cc0a72f27c4a645d9360e9b289
2011-04-26 11:45:23 +00:00
Olli Pettay
5c6ac73f77 Bug 652970 - nsXULDocument doesn't unlink enough, r=peterv
--HG--
extra : rebase_source : 75d7a69aeec165fbddef66da67161fc65eb2777d
2011-04-27 18:44:24 +03:00
Olli Pettay
744a48fa95 Bug 652814 - Rename nsIDOMTouchPoint to nsIDOMTouch (and a *aRetVal = nsnull for bug 648573 comment 19), r=mbrubeck 2011-04-27 14:58:25 +03:00
Mounir Lamouri
2b24e1f8fe Bug 651075 - Make content/html/content/test/test_bug386496.html non flaky. r=ehsan 2011-04-29 12:23:23 +00:00
Craig Topper
cc15a2a6e3 Bug 648925 - Part 1: Change uses of nsICSSRule to css::Rule. r=bzbarsky 2011-04-07 18:23:46 -07:00
Yury
f2320f7c06 Bug 451165. Fix ParseColorString to report errors when there's garbage at the end of the color. r=dbaron 2011-05-05 17:12:04 -04:00
Masatoshi Kimura
2b9d90ff55 Bug 656253: Fix intermittent orange due to variables colliding. r=sicking
--HG--
extra : transplant_source : %DF%B7%0D%26%87NT%01RU%A3U%97FT%C0%C8%C7%C0V
2011-05-11 11:06:47 -07:00
Masatoshi Kimura
701140f77a Bug 649133: Implement xhr.mozResponse and xhr.mozResponseType. r=sicking 2011-05-10 16:18:55 -07:00
Jeff Walden
be37c9c02b Remove js_ReparentTypedArrayToScope as it's unused. No bug, r=jorendorff, rs=bent 2011-05-10 14:40:45 -07:00
Ehsan Akhgari
c6e514aa14 Bug 549262 - Enable the (shift-)space shortcut key for scrolling up/down in pages containing editable elements; r=roc
--HG--
extra : rebase_source : 99706dd2e678052b345b011ea76f17370ad1a227
2010-09-06 16:59:41 -04:00
Bas Schouten
5d4ebcf254 Bug 667461: Cache ThebesSurface for Azure canvas to speed up frequent source usage of an Azure canvas. r=roc 2011-06-30 03:00:15 +02:00
L. David Baron
c09bb2ecf4 Remove NS_STYLE_LIST_STYLE_OLD_* constants to fix computed list-style-type style resulting from type attribute on lists. (Bug 665857) r=bzbarsky 2011-06-29 14:39:21 -07:00
L. David Baron
34444f2b0b Convert canvas text measurement widths from app units to pixels *after* they switch from integers to floats. (Bug 667947) r=roc 2011-06-29 14:39:21 -07:00
L. David Baron
90ed508016 Back out changeset 85e5b0ed7081, which was landed with the wrong bug number (really bug 667947, but marked as bug 667948) in order to reland it. 2011-06-29 14:39:21 -07:00
Chris Jones
8bd1768d95 Bug 662038, parts 1, 4-5: Add canvas.mozDash and .mozDashOffset. r=joe sr=vlad 2011-06-29 14:34:58 -07:00
Chris Jones
82ed6117fd Bug 664884, parts 1-4: Implement mozCurrentTransform/mozCurrentTransformInverse attributes for manipulating the canvas CTM. r=joe,roc sr=vlad 2011-06-29 14:34:58 -07:00
Michael Wu
d00ebe95b3 Bug 592943 - (3/3) switch nsXULPrototypeCache to use startupCache instead of fastload, Patch by Benedict Hsieh, r=jst 2010-08-12 12:42:36 -07:00
Mounir Lamouri
c9253164c5 Bug 659852 - Remove nsContentUtils::ReleasePtrOnShutdown and nsContentUtils::sPtrsToPtrsToRelease. r=sicking 2011-05-27 12:48:28 +02:00
Mounir Lamouri
70ae154c23 Bug 659596 - option.label should be reflected like option.value. r=smaug sr=bz 2011-05-27 12:32:59 +02:00
Mounir Lamouri
927ee0c01a Merging cedar with mozilla-central. 2011-05-27 09:57:51 +02:00
Masayuki Nakano
387ea6f111 Bug 659821 Replace nsContentUtils::GetLocalizedStringPref() with Preferences::GetLocalizedC?String() r=roc 2011-05-27 13:53:03 +09:00
Masayuki Nakano
1f171993d1 Bug 659820 part.4 Replace nsContentUtils::Get(Char|String)Pref() with Preferences::GetC?String() r=roc 2011-05-27 13:53:03 +09:00
Gavin Sharp
1735d86199 Bug 650244: adjust template console tests to avoid failing when other things happen to spam the console; r=ehsan 2011-05-26 13:22:27 -04:00
Jonas Sicking
b35fd6c424 Bug 659530: Clean up and remove unused code that we no longer need with the safer mutation events implementation. r=smaug 2011-05-25 10:58:23 -07:00
Trevor Saunders
48e08fc936 bug 658363 - move defines for double constants out of xslt r=sicking
From 57a4aaadf8fef828764c35dad01ce6da54fbb638 Mon Sep 17 00:00:00 2001
 xslt
---
 content/base/public/nsContentUtils.h        |   93 +++++++++++++++++++
 content/xslt/public/Makefile.in             |    1 -
 content/xslt/public/txDouble.h              |  133 ---------------------------
 content/xslt/src/base/txCore.h              |    8 +-
 content/xslt/src/base/txDouble.cpp          |   18 ++--
 content/xslt/src/xpath/txRelationalExpr.cpp |   12 +-
 6 files changed, 112 insertions(+), 153 deletions(-)
 delete mode 100644 content/xslt/public/txDouble.h
2011-05-19 12:35:46 -07:00
Benoit Jacob
2980ccd7c4 Bug 659349 - WebGL allows access to uninitialised graphics memory - r=jrmuizel
GLContext::ClearSafely() wasn't really safe, it was making naive assumptions about GL state and as a result, a WebGL script could obtain an uninitialized backbuffer.
2011-05-26 14:24:48 -04:00
Ms2ger
b5b41f66d9 Bug 658904 - Remove nsIDOMDocumentStyle; r=roc,jst 2011-05-26 10:18:43 +02:00
Ms2ger
56c39feb5c Bug 632513 - Handle non-finite values for setTransform per spec; r=jst 2011-05-26 10:06:32 +02:00
Ms2ger
460ca55119 Bug 632486 - Handle non-finite values for bezierCurveTo per spec; r=jst 2011-05-26 10:06:32 +02:00
Ms2ger
bcfcbc1d85 Bug 632482 - Handle non-finite values for arcTo per spec; r=jst 2011-05-26 10:06:31 +02:00
Ms2ger
e8e412d080 Bug 577138 - Move nsMediaDocument and subclasses into the mozilla::dom namespace; r=jst
--HG--
rename : content/html/document/src/nsImageDocument.cpp => content/html/document/src/ImageDocument.cpp
rename : content/html/document/src/nsMediaDocument.cpp => content/html/document/src/MediaDocument.cpp
rename : content/html/document/src/nsMediaDocument.h => content/html/document/src/MediaDocument.h
rename : content/html/document/src/nsPluginDocument.cpp => content/html/document/src/PluginDocument.cpp
rename : content/html/document/src/nsVideoDocument.cpp => content/html/document/src/VideoDocument.cpp
2011-05-26 10:06:31 +02:00
Ms2ger
9d8e97c84f Bug 587463 - Drop support for HTMLDelElement and HTMLInsElement; r=jonas
--HG--
rename : content/html/content/src/nsHTMLDelElement.cpp => content/html/content/src/nsHTMLModElement.cpp
2011-05-26 10:06:31 +02:00
Brian O'Keefe
02a4c1c6d9 Bug 564388 - Make the 'quality' parameter to ToDataURL work for image/jpeg. Also fixes bug 401795 (handle excess arguments to ToDataURL by ignoring them). r=bz,roc 2011-05-26 09:28:26 +02:00
bjarne@runitsoft.com
2ef35506a3 Bug 658441 - intermittent crashtests/552651.html | load failed: timed out waiting for reftest-wait to be removed r=bz 2011-05-25 10:17:30 +02:00
Mounir Lamouri
dc834941e6 Merging cedar with mozilla-central. 2011-05-25 10:03:25 +02:00
Boris Zbarsky
bffa328dca Bug 656379 part 3. Set :hover and :active state for labeled elements when their label has that state. r=dbaron
--HG--
rename : content/events/test/test_bug426082.html => content/events/test/test_bug656379-1.html
2011-05-24 20:18:40 -04:00
Boris Zbarsky
5d28b8f140 Bug 656379 part 2. Make labels expose a nicer API for getting their labeled content. r=smaug 2011-05-24 20:18:31 -04:00
Boris Zbarsky
ca59214f04 Bug 656379 part 1. Move the class decl for nsHTMLLabelElement out to a header. r=smaug 2011-05-24 20:18:23 -04:00
Kyle Huey
e55769423b Bug 648997: Prefix BlobBuilder harder. rs=sicking 2011-05-24 14:01:50 -07:00
Masayuki Nakano
49814a538d Bug 659536 part.2 Replace nsContentUtils::GetIntPref() with Preferences::GetInt() or Preferences::GetUint() r=roc 2011-05-25 15:32:00 +09:00
Masayuki Nakano
060287addd Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
Jonas Sicking
e5cc03fd5b Bug 641333: Kill nsIDOM3Text and move its contents to nsIDOMText. r=ms2ger 2011-05-20 22:21:28 -07:00
Shawn Gong
d399113e9b Bug 658683: Make xhr.response not create a new ArrayBuffer every time it is accessed. r=sicking. Additional fixes by sicking, r=peterv 2011-05-23 18:09:28 -07:00
Benoit Jacob
2c0eb7e54e Bug 657748 - Update ANGLE to r653 - a=joe
This ANGLE update fixes bugs, brings large performance improvements, and adds major new features that web devs are looking forward to: vertex shader texture lookup and float textures.

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

This update is also needed because the version we're currently using is the chrome_m10 branch and that's no longer maintained. This update will make it much easier to apply security fixes if needed.
2011-05-24 11:05:56 -04:00
Mounir Lamouri
bbd24ff805 Back out bug 632255 and bug 658683 due to oranges on Windows Mochitest-1. 2011-05-24 15:45:53 +02:00
Shawn Gong
37f09837ec Bug 632255 - Implemented readAsArrayBuffer() for FileReader. r=sicking,bent. Additional fixes by sicking, r=peterv. a=sheriff. 2011-05-23 18:02:56 -07:00
Shawn Gong
e7ef1c6ccd Bug 658683: Make xhr.response not create a new ArrayBuffer every time it is accessed. r=sicking. Additional fixes by sicking, r=peterv 2011-05-23 18:09:28 -07:00
Steven Michaud
3c38967408 Backed out changeset ae5b84b96fd7 (bug 570341) due to test failures DONTBUILD. a=sheriff 2011-05-24 01:54:23 -05:00
Igor Bazarny
b829003e22 bug 570341 - Initial implementation of web timing specification
r=jduell sr=biesi
2011-05-23 19:19:24 -07:00
Jonas Sicking
4293ebbbed back out probably cause of orange. a=backout 2011-05-23 20:21:10 -07:00
Shawn Gong
fc7697ab0c Bug 632255 - Implemented readAsArrayBuffer() for FileReader. r=sicking,bent a=LandingQueue 2011-05-23 18:02:56 -07:00
Shawn Gong
6af29d61e1 Bug 658683: Make xhr.response not create a new ArrayBuffer every time it is accessed. r=sicking 2011-05-23 18:09:28 -07:00
William Chen
d166aaa360 Bug 658746 - "Assertion failure: JSID_IS_STRING(id)" with dataset[0].
Fixed incorrect handling of integer jsid to access dataset properties. Converted integer jsids to strings. Added checks to ensure jsids are strings when using them as strings. r=sicking
2011-05-23 15:53:12 -07:00
Jim Mathies
324d2827c3 merge backout. a=backout 2011-05-23 19:55:44 -05:00
Jim Mathies
4327e25f5e Backout of bug 570341 (cset:1a645ea075fc) due to test failure. 2011-05-23 19:55:36 -05:00
Michael Wu
25810946a8 Bug 656804 - build broken with --enable-raw r=blassey a=gavin 2011-05-23 17:23:13 -07:00
Igor Bazarny
dbf49a1d09 bug 570341 - Initial implementation of web timing specification
r=smaug sr=biesi

--HG--
extra : rebase_source : e8b233ebcf1065ea5e6df61446cfd013262a61d0
2011-05-23 14:19:36 -07:00
Kyle Huey
db0b9d8ad8 Bug 553125: Use the structured clone algorithm for window.postMessage. r=bent 2011-05-23 11:53:31 -07:00
Kyle Huey
f2e72776ef Bug 657964: FileReader should throw when abort() is called and readystate is not LOADING. r=sicking 2011-05-23 13:04:45 -07:00
Matheus Kerschbaum
35f86c76ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Ms2ger
cfc947116b Bug 481863 - Remove nsIDOM3DocumentEvent; r=smaug 2011-05-23 18:46:36 +02:00
Ms2ger
fb6f5dd0ca Bug 655517 - Remove nsIDOMDocumentEvent; f=ehsan r=smaug 2011-05-23 18:46:36 +02:00
Matt Brubeck
ef87572c02 Merge cedar and mozilla-central 2011-05-23 08:31:49 -07:00
Masayuki Nakano
f2ab2ab825 Bug 658153 At using high resolution scrolling, the mouse wheel transaction doesn't work fine r=smaug 2011-05-23 23:56:59 +09:00
Masayuki Nakano
dd5ac61fdd Bug 657935 Should refer computed delta value at dispatching pixel scroll event r=smaug+jimm 2011-05-23 23:56:59 +09:00
Matt Brubeck
9eb38101c8 Merge cedar and mozilla-central 2011-05-23 07:39:21 -07:00
Daniel Holbert
68a7d012da Back out 693717fddd93 (Bug 658750) on suspicion of causing crashtest leaks 2011-05-22 22:24:52 -07:00
Craig Topper
72ae398738 Bug 658750 - Part 2: Make nsFrameSelection not inherit from nsISupports. r=roc 2011-05-21 16:31:39 -07:00
Daniel Holbert
e9400f029c Bug 658845: Null-check URI passed to nsReferencedElement::Reset. r=roc 2011-05-22 16:13:57 -07:00
Olli Pettay
851fc31b70 Bug 338583, implement EventSource
--HG--
extra : rebase_source : 88c0afb3ec0c43f6ed1bf38eda6e460c8adf7a00
2011-05-22 23:35:06 +01:00
wfernandom2004@gmail.com
5963fbfd3b Bug 338583, implement EventSource, r=smaug,Ms2ger
--HG--
extra : rebase_source : 9dd6bbbc0d714fbafb2ed115c40cf7210b663b6a
2011-05-22 22:30:07 +01:00
Joel Maher
3e18d9a843 Bug 664158 - move content/base/test/chrome/test_bug574596.html to mochitest-chrome. r=mats, a=test-only
--HG--
rename : content/base/test/test_bug574596.html => content/base/test/chrome/test_bug574596.html
2011-06-19 11:57:09 -04:00
Jan Varga
6976400f8a Bug 617528 Part 1 - Dispatch shift right click (contextmenu event) only to chrome. r=smaug 2011-06-19 11:23:12 +02:00
Olli Pettay
986abab828 Bug 664455 - Traverse/Unlink contentsink some more, r=hsivonen
--HG--
extra : rebase_source : 353333e450d3a960534c5bd12de66467c2a5ee26
2011-06-18 12:13:11 +03:00
Ms2ger
0238f10ef6 Bug 664544 - Remove the remnants of HTMLHeadElement.profile; r=sicking 2011-06-18 11:01:57 +02:00
Jonas Sicking
c7de44475c Bug 663768 Part 2: Remove syncload XPCOM service. r=jst 2011-06-17 20:05:41 -07:00
Jonas Sicking
4e59cc2c1b Bug 663768 Part 1: Make syncloadservice not use load-event-handlers to determine when load is done. r=jst 2011-06-17 20:05:41 -07:00
Michael Wu
7bcc18e13a Bug 654489 - Remove fastload, r=bsmedberg 2011-06-17 15:53:52 -07:00
Mounir Lamouri
38dbd10996 Merging mozilla-central with mozilla-inbound. 2011-06-17 15:26:17 +02:00
Robert O'Callahan
ae2df1cd66 Adding test file to fix bustage for bug 662450 2011-06-17 16:16:45 +12:00
Robert O'Callahan
561601264e Bug 662450. Test, r=jrmuizel 2011-06-17 15:46:06 +12:00
Robert O'Callahan
186867c591 Bug 656844. Test. r=joe 2011-06-17 15:37:27 +12:00
Jonas Sicking
8fe74a14c0 Back out bug 661980 due to orange. CLOSED TREE 2011-06-16 14:33:42 -07:00
Olli Pettay
45e2f71ebd Bug 608021, [@ nsFrameMessageManager::ReceiveMessage], r=jst
--HG--
extra : rebase_source : bda56f1dbe7fc469178cacda30ee303a05b45e66
2011-06-16 21:21:08 +03:00
Jonas Sicking
bc0f364c12 Bug 661980: Add ability to make interfaces scriptable but not scriptimplementable. r=bsmedberg 2011-06-16 12:21:25 -07:00
Jonathan Watt
c94cb00843 Bug 664708 - GetCharNumAtPosition should only accept native points. r=longsonr. 2011-06-16 14:47:04 +01:00
Jonathan Watt
97132dbab9 Bug 664130 - const-ify some SVG element class methods. r=dholbert. 2011-06-16 11:53:13 +01:00
Mounir Lamouri
2302a559dc Merging mozilla-inbound with mozilla-central. 2011-06-16 11:28:58 +02:00
Olli Pettay
1bd9367140 Bug 664463 - Don't load anything to frameloader if it isn't in the docshell tree anymore, r=bz 2011-06-15 23:21:32 +03:00
Matt Brubeck
6a416ce1d6 Merge last green mozilla-inbound changeset to mozilla-central 2011-06-15 08:25:48 -07:00
Ms2ger
86f87e082b Bug 664107 - Calling drawImage with non-finite arguments should not throw; r=smaug 2011-06-15 09:39:50 +02:00
Ms2ger
01bb0e3457 Bug 631795 - Inline HasPotentialResource into its only caller; r=kinetik 2011-06-15 09:37:38 +02:00
Patrick McManus
b012dc160e bug 661036 - websockets allowed prohibited space character in protocol header, with test update r=biesi r=bsmith 2011-06-16 14:27:11 -04:00
Jonathan Watt
739789661d Bug 664708 - GetCharNumAtPosition should only accept native points. r=longsonr.
--HG--
extra : rebase_source : f6baa2c0d4f4d79d626aaebc272604d79edb1db3
2011-06-16 14:47:04 +01:00
Jonathan Watt
cea21c4f74 Bug 664130 - const-ify some SVG element class methods. r=dholbert.
--HG--
extra : rebase_source : e3efcfa1b14b36a5b7f1baefde3fbffb471c6b37
2011-06-16 11:53:13 +01:00
Mounir Lamouri
e87fb91e76 Merging mozilla-central with mozilla-inbound. 2011-06-16 11:59:22 +02:00
Jonathan Kew
57533f6cff bug 467669 - pt 1 - get list of fonts actually used to render a document range. r=roc sr=bzbarsky 2011-06-16 07:31:36 +01:00
Brian Birtles
df2767992e Bug 650732 - Move interval change notifications into the timed element, r=dholbert 2011-06-15 09:16:57 +09:00
Chris Pearce
b17cf981d7 Bug 664354 - Make nsBuiltinDecoderStateMachine::GetUndecodedData() return result in usecs. r=roc 2011-06-15 14:26:33 +12:00
Jonas Sicking
af376eaa98 Bug 659539 Part 5: Speed up nsINodeInfo::GetDocument by caching the nodeinfo managers mDocument pointer. r=bz 2011-06-14 17:58:57 -07:00
Jonas Sicking
be24da4dc0 Bug 659539 Part 4: Use nsINode::NodeType where possible. r=bz 2011-06-14 00:56:50 -07:00
Jonas Sicking
c71c0da34a Bug 659539 Part 3: Use nsINode::NodeName where possible. Remove the now unused mQualifiedNameCorrectedCase. r=bz,peterv 2011-06-14 00:56:49 -07:00
Jonas Sicking
7e74d1ba6f Bug 659539 Part 2: Create nsINode::NodeType/NodeName/LocalName and make them non-virtual. r=bz 2011-06-14 00:56:49 -07:00
Jonas Sicking
e82dadd3d8 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Jonas Sicking
f653bfb946 Bug 659053 Part 2: Implement a faster non-recursive Node.isEqualNode directly on nsINode. r=peterv. Fixes were r=bent 2011-06-14 00:56:48 -07:00
Jonas Sicking
cc4977777e Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Jonas Sicking
7c4ae941b8 Bug 663752: Remove load-event-listening code from DOMParser. r=smaug 2011-06-14 11:14:27 -07:00
Ms2ger
c665a4e4c0 Bug 664123 - Backout bugs 659053 and 659539 (changesets 9c49f69d8bab-1b11c64ffcdf) 2011-06-14 16:25:51 +02:00
Jonas Sicking
509451f5cc Bug 659539 Part 4: Use nsINode::NodeType where possible. r=bz 2011-06-14 00:56:50 -07:00
Jonas Sicking
25792d94c8 Bug 659539 Part 3: Use nsINode::NodeName where possible. Remove the now unused mQualifiedNameCorrectedCase. r=bz,peterv 2011-06-14 00:56:49 -07:00
Jonas Sicking
91ddf8ed15 Bug 659539 Part 2: Create nsINode::NodeType/NodeName/LocalName and make them non-virtual. r=bz 2011-06-14 00:56:49 -07:00
Jonas Sicking
5f95458332 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Jonas Sicking
6279797e1c Bug 659053 Part 2: Implement a faster non-recursive Node.isEqualNode directly on nsINode. r=peterv 2011-06-14 00:56:48 -07:00
Jonas Sicking
17ec46a39a Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Jonas Sicking
f798bd4fb8 Bug 663749: Remove load-event-listening code from nsXMLHttpRequest. r=smaug 2011-06-14 00:53:08 -07:00
Neil Rashbrook
556e8dfd93 Bug 660536 Remove useless uses of PromiseFlat(C)String r=smaug 2011-06-09 21:17:58 +01:00
Michael Wu
cb74e9abab Bug 592943 - (5/5) switch nsXULPrototypeCache to use startupCache instead of fastload, Patch by Benedict Hsieh, r=jst,glandium 2010-08-12 12:42:36 -07:00
Ehsan Akhgari
13d84f740f Backout bug 467669 and bug 660088 2011-06-15 16:52:48 -04:00
Jonathan Kew
e4e073884b bug 467669 - pt 1 - get list of fonts actually used to render a document range. r=roc sr=bzbarsky
--HG--
extra : rebase_source : 3d7699c4a201bafdfa1d97ba97117a497303c1b5
2011-06-15 20:17:50 +01:00
Josh Matthews
03e38d47bb Bug 553888 - Duplicate XHR request headers when following redirect. r=sicking 2010-03-22 14:52:35 +13:00
Ed Morley
af1d9c6c2b Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
David Zbarsky
4c1bcbd9bc Bug 666968 - Remove nsIDOM3Attr r=jst 2011-06-25 09:33:32 +02:00
Chris Leary
089bf2c468 Back out bug 654301 to run again on try. 2011-05-16 19:03:20 -07:00
Chris Leary
338cf025af Bug 654301: Better interned string API. (r=Waldo) 2011-05-16 18:18:59 -07:00
Ms2ger
509e00cd9a Bug 660433 - Remove nsIDOMNSHTMLFormElement; f=volkmar r=peterv 2011-05-30 13:35:56 +02:00
Ms2ger
1664471214 Bug 659738 - Move document.open implementation from classinfo to nsHTMLDocument; r=bz 2011-05-30 13:35:55 +02:00
Boris Zbarsky
7e1dd99351 Bug 658213. Just pass an JSContext to ReparentContentWrappersInScope. r=peterv 2011-05-19 16:05:46 -04:00
Ms2ger
c414bf437c Bug 660551 - Remove nsIDocument::mShellIsHidden; r=smaug 2011-05-30 13:35:52 +02:00
Ms2ger
999f948236 Bug 529328 - Return undefined for out-of-bounds access through nsStringArraySH; r=smaug
This patch has no effect on CSSStyleDeclaration, as that never returns a void DOMString.
2011-05-30 13:35:52 +02:00
Ms2ger
b82a4df32f Bug 641190 - Remove Document.normalizeDocument; r=sicking 2011-05-30 13:35:49 +02:00
Ms2ger
e18ad59abc Bug 659743 - Part b: Remove nsImageMapUtils; r=smaug 2011-05-30 13:00:00 +02:00
Ms2ger
d00c9e19d6 Bug 659743 - Part a: Support image maps according to spec in non-HTMLDocuments; r=smaug
--HG--
rename : content/html/content/test/test_bug109445.xhtml => content/html/content/test/test_bug659743.xml
2011-05-30 12:59:59 +02:00
Mounir Lamouri
53c39f24f1 Merging cedar with mozilla-central. 2011-05-30 12:50:04 +02:00
Ed Morley
9e71e5b9ac Bug 614515 - Remove MOZ_SVG conditions. r=roc 2011-05-30 09:34:50 +02:00
Robert O'Callahan
48d8d2b5f3 Bug 656844. Only draw shadows when 'source-over' operator is being used. r=joe 2011-05-30 15:28:01 +12:00
Timothy Nikkel
d652b2c826 Bug 638430. Fix finding the display root of a view when a floating view is inside a floating view. r=roc 2011-05-29 22:15:00 -05:00
Ms2ger
3d548cfff7 Bug 611983 - Kill Document.createEntityReference; r=peterv 2011-05-29 10:33:35 +02:00
Daniel Holbert
2cae6f9959 Bug 660066 patch 2: Prevent nsFileDataURI from QI'ing to nsSimpleURI. r=bz 2011-05-27 21:55:20 -07:00
Daniel Holbert
1ff06e3afb Bug 660066 patch 1: Null-check mPrincipal in nsFileDataURI::EqualsInternal. r=bz 2011-05-27 16:53:06 -07:00
Peter Van der Beken
d007f2048d Fix for bug 649057 (Make all nsINodeLists inherit from nsWrapperCache). r=bz.
--HG--
extra : rebase_source : 38dc8fd49822774a1ee356ab8496e2c0b908bab9
2009-06-16 08:32:10 +02:00