Matias Juntunen
ad1912fafd
Bug 729048 - Part 4: Replace calls to nsParserService::CheckQName with nsContentUtils::CheckQName in txXMLUtils.h. r=hsivonen
2012-03-29 17:31:40 -04:00
Matias Juntunen
800a01a2e1
Bug 729048 - Part 3: Replace call to nsParserService::CheckQName with nsContentUtils::CheckQName in nsXULDocument.cpp. r=hsivonen
2012-03-29 17:31:40 -04:00
Matias Juntunen
f5597d8025
Bug 729048 - Part 2: Replace calls to nsParserService::CheckQName with nsContentUtils::CheckQName in nsDocument.cpp. r=hsivonen
2012-03-29 17:31:40 -04:00
Matias Juntunen
6ba0c7d9b4
Bug 729048 - Part 1: Move nsParserService::CheckQName to nsContentUtils and change calls within nsContentUtils to use nsContentUtils::CheckQName instead. r=hsivonen
2012-03-29 17:31:40 -04:00
Peter Van der Beken
dfa76b93e6
Fix for bug 740467 (Make test_XHR_timeout.js use addEventListener(..., obj, ...) instead of on* = obj). r=khuey.
...
--HG--
extra : rebase_source : e5039bfd291e3955282ff63f3ac5c0ab2869279a
2012-03-29 11:16:31 -07:00
Irving Reid
2804f5e3ca
Bug 738662 - Add tracing/warning information to help debug XUL overlay problems. r=bz,enn
2012-03-26 15:40:52 -04:00
Doug Turner
bf2c8424b7
Bug 740252 - EventListenerManager disables various things in RemoveEventListener even if there can be still listeners. r=smaug
2012-03-29 10:23:27 -07:00
Chris Pearce
1590d6dd4b
Bug 736342 - Defer media cache writes and block moves to a non-main thread. r=roc
2012-03-28 13:04:26 +13:00
Chris Pearce
a976665feb
Bug 736342 - Add AsyncBlockWriter, which defers file writes to another thread. r=roc
2012-03-28 13:04:20 +13:00
Phil Ringnalda
0abdfa04b8
Back out b00bf7f3869c (bug 737976) for apparently causing mochitest-1 leaks on a CLOSED TREE
2012-03-28 22:43:09 -07:00
Phil Ringnalda
6e9250f387
Back out 0cb85ff0f764 (bug 738568), 9949bb092303 (bug 730209), 095fd525afa7 (bug 729924), dcf8929a8115 (bug 633602) because of widely scattered and unclear bustage on a CLOSED TREE
2012-03-28 22:37:46 -07:00
Andrew McCreight
a59c979d1b
Bug 738700 - unmark wrapped gray objects from nsISupports. r=smaug
2012-03-28 21:51:46 -07:00
Chris Pearce
314cddd243
Bug 741052 - Null check nsMediaCache::mFileCache in nsMediaCache destructor. r=roc
2012-04-02 10:34:11 +12:00
Mark Capella
3519b46a3e
Bug 738380 - Remove nsINode::{GetScriptTypeID, SetScriptTypeID}, nsIScriptContext::GetScriptTypeID, nsIScriptRuntime::GetScriptTypeID; r=jst
2012-04-01 14:47:48 +02:00
Aryeh Gregor
5fba4e2a84
Bug 719533 - Range.extractContents() shouldn't modify the DOM if the range contains a doctype; r=smaug
2012-04-01 07:45:35 -04:00
Kyle Huey
c3096d813b
Bug 737976: Remove nsINodeInfo. rs=bent
2012-03-28 19:07:37 -07:00
David Humphrey
b174382f2b
Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc, smaug
2012-03-28 21:00:14 -04:00
Nathan Froyd
3816c12d35
Bug 739962 - fix -Wunused-but-set-variable warnings in content; r=bent
2012-03-28 09:14:33 -04:00
Peter Van der Beken
6c1a5e5219
Bug 732377. Add the API for the new DOM bindings to XMLHttpRequest. r=bzbarsky
2012-03-26 08:38:06 -07:00
Justin Lebar
8dd521e600
Bug 736688 - Part 6: Add BrowserElementAPI.js, implementing loadstart, loadend, locationchange, and the window.{top,parent,frameElement} override for <iframe mozbrowser>. r=smaug
...
--HG--
extra : rebase_source : 7ed3e56bbf06d97a9b0127eecf87128c5389a1b1
2012-03-28 11:36:50 -07:00
Justin Lebar
86a3f4db10
Bug 736688 - Part 4: Remove mozbrowser code from nsGenericHTMLFrameElement (undoes changes from bug 710231). r=smaug
...
--HG--
extra : rebase_source : 3bcc94bca02c4c39fb987c27555ed698c44fe61d
2012-03-28 11:36:04 -07:00
Jared Wein
ac11ea4de6
Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey
2012-03-28 08:53:56 -07:00
Margaret Leibovic
0e9ed35f0a
Bug 739048 - Check to see if a plugin is unsupported before making it click-to-play. r=josh
2012-03-27 15:01:46 -07:00
Henri Sivonen
2e0882cfe2
Bug 701361 - Add a telemetry probe for finding out how commonly multipart XHR is used on the Web. r=smaug.
2012-03-28 10:33:18 +03:00
Henri Sivonen
8825a7244b
Bug 717180 - Ignore document.write after window.location. r=smaug.
2012-03-28 08:17:53 +03:00
Ryan VanderMeulen
3e77964df8
Backed out changeset 389eee1cce65 (bug 677122) due to bustage.
2012-03-27 20:04:33 -04:00
Scott Downe
f0b77b570a
Bug 677122 - Update start/end times of mediafragment URL on hashchanges. r=bz
2012-03-27 19:17:35 -04:00
Jared Wein
a80b6db592
Backed out changeset 8e42ba558f07 (bug 730318) CLOSED TREE
2012-03-27 15:23:53 -07:00
Avi Halachmi (:avih)
d19ba25120
Bug 737758: Part 2: Address Windows abnormality (identify _faked_ pixel scrolls) [r=jmathies]
2012-03-26 13:34:10 +02:00
Avi Halachmi (:avih)
8a2de1a907
Bug 737758: part 1: Propagate mouse wheel event origin from ESM [r=roc]
2012-03-26 11:50:30 +02:00
Andrew McCreight
0be293da76
Bug 740185 - mark safe JS context black. r=smaug
2012-03-30 10:22:29 -07:00
Peter Van der Beken
79d8fa521f
Backout cfd6bf0fe1e9 as it includes an unwanted chunk
...
--HG--
extra : rebase_source : 9143a7752d7327a1c7693f9ad34ab02a25339aa6
2012-03-30 09:53:50 -07:00
Peter Van der Beken
d2da6eaadf
Fix for bug 740855 (Make tests that try to get XHR.channel use SpecialPowers). r=bz.
...
--HG--
extra : rebase_source : a80dc66eff61a2d669dbbaaa1d081106798fd9dc
2012-03-30 09:38:19 -07:00
Shriram Kunchanapalli
05c95fc3b7
Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt
2012-02-18 19:17:01 +05:30
Jeff Gilbert
330a3cd6f9
Bug 738126 - Enforce spec for webgl.generateMipmap, and zero is not PoT - r=bjacob
2012-04-03 16:42:06 -07:00
Rafael Ávila de Espíndola
70d45d3be8
Bug 739674 - test_tmpl_storage_bad_parameters_2.xul (and others) don't close their database. r=enndeakin.
2012-04-03 17:12:31 -04:00
Mounir Lamouri
4c60131f07
Bug 741250 - Fix "ASSERTION: Item in list without parent". r=bz
2012-04-03 17:37:15 +02:00
Aryeh Gregor
22b8bf8aac
Bug 738440 - Support queryCommandState("stylewithcss"); r=ehsan
2012-03-23 15:03:42 -04:00
Aryeh Gregor
f3bfb8edfd
Bug 737087 - Fire error event on <script> load failure per spec/other browsers; r=sicking
2012-03-20 14:21:33 -04:00
Wes Johnston
b73f02bb64
Bug 741666 - Fix copying touchEvents if someone holds a reference. r=smaug
2012-04-04 10:08:53 -07:00
Doug Turner
a17b3832d6
Bug 742376 - DisableDevice is being called with types that are not known device sensors. r=smaug
2012-04-04 09:26:12 -07:00
Doug Turner
fc2a39d673
Bug 742395 - restrict device sensor events to windows. r=smaug
2012-04-04 09:26:12 -07:00
Makoto Kato
e0b0e4d9ff
Bug 737966 - Evaluating nsIXMLHttpRequest.responseText throws on certain parsing errors. r=sicking
2012-04-04 20:59:02 +09:00
Marco Bonardo
63e298422a
Merge central to inbound
2012-04-04 13:39:52 +02:00
Igor Bukanov
83623b313c
Bug 737365 - stop using the cx during finalization, part 1.
...
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00
Veeraya Pupatwibul
1bdf9d9923
Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger
2012-04-04 11:15:10 +02:00
Jared Wein
883053cd10
Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey
2012-03-27 13:50:50 -07:00
Andrew McCreight
d1c47fdce5
Bug 736563 - mark global objects held by live windows black during GC. r=smaug
2012-03-27 12:22:10 -07:00
Ian Melven
04940903e3
Bug 650386 - CSP should not follow redirects for report-uri r=jst
2012-03-27 10:55:50 -07:00
Justin Lebar
1308d45438
Bug 739457 - Don't decode images when you load a link in a background tab. r=joe
2012-03-26 23:49:50 -07:00
Henri Sivonen
ab7a73384b
Bug 731162 - Zap nsIParser::Parse(const nsAString&, ...). r=smaug.
2012-03-27 09:27:45 +03:00
Masayuki Nakano
2ab8e3fb4a
Bug 668606 input event should be fired on all editors r=ehsan+smaug, sr=smaug
2012-03-27 10:36:44 +09:00
Mounir Lamouri
9725e4ce94
Bug 738744 - Fix "ASSERTION: Form controls should always have parents". r=bz
2012-03-26 17:52:39 -07:00
Boris Zbarsky
eca080bae6
Bug 739004. When cloning a static clone, set the mOriginalDocument of the new clone to the mOriginalDocument of the thing being cloned, not to the thing being cloned (which is not an original document at all). r=smaug
2012-03-24 20:46:03 -04:00
Gregor Wagner
ec5cd78551
Bug 678695 - Settings API. r=sicking, fabrice, smaug
2012-03-26 14:49:38 -07:00
Benoit Jacob
2455dbf469
Bug 734423 - further WebGL test upgrade to 1.0.1 r17159 - no review
2012-03-26 17:54:08 -04:00
Benoit Jacob
b7438ab568
Bug 713369 - don't try to fall back to another GL provider, *at all* - r=jgilbert
2012-03-26 15:20:35 -04:00
Benoit Jacob
408619d76d
Bug 734423 - refactor the gc() helper used by WebGL conformance tests - no review, will upstream - NPOTB
2012-03-26 15:20:34 -04:00
Benoit Jacob
b646a4cffc
Bug 734423 - Upgrade WebGL conformance test suite to 1.0.1 in-principle-final (r17063) - no review
...
1.0.1 is in principle a done thing. This is also the occasion to do a clean upgrade, by rm and cp, instead of applying a diff.
Upstream:
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/conformance-suites/1.0.1/
2012-03-26 15:10:40 -04:00
Benoit Jacob
b50b67bbf5
Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv
...
This patch adds the diff between the previous iteration of the patch (which I accidentally committed in previous cset) and the one that peterv actually r+'d.
2012-03-26 15:02:43 -04:00
Benoit Jacob
e8dddcde54
Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv
2012-03-26 14:59:04 -04:00
Matt Brubeck
e7b4a5e4bc
Bug 736696 - Back out changes to test_webgl_conformance_test_suite.html from 3812d0ce274e because of incorrect merge [r=sgautherie]
2012-03-26 09:43:58 -07:00
Jonathan Watt
0ab7e18025
Bug 738975 - Speed up building of layout/svg/base/src by dropping content/html/content/src from the include path. r=bz.
2012-03-26 12:58:59 +01:00
Jonas Sicking
8e093adf1c
Bug 301705: Don't throw when XMLHttpRequest.status is gotten too early. r=bz
2012-03-26 01:40:09 -07:00
Chris Pearce
67dc6373b0
Bug 726400 - Backed out changeset 4ad6c040729f. r=backout.
2012-03-26 14:41:14 +13:00
Christopher De Cairos
c7ae7c5f02
Bug 736400 - Make each decoder Clone() method check if its mimetype is enabled r=cpearce
2012-03-26 14:21:53 +13:00
Phil Ringnalda
c7ab04c773
Back out c4a4b0171b99 (bug 736400) for Android build bustage
2012-03-25 15:35:37 -07:00
Christopher De Cairos
b79453b4bf
Bug 736400 - Make each decoder Clone() method check if its mimetype is enabled r=cpearce
2012-03-26 10:48:40 +13:00
Doug Turner
a670db21f7
Bug 734855 - Rename DeviceMotion to DeviceSensors. Review comments address r=mwu
2012-03-24 17:30:03 -07:00
Doug Turner
9b325a2539
Bug 734855 - Device Orientation - Make EnableDeviceMotion finer grain. r=mwu
2012-03-24 17:29:49 -07:00
Igor Bukanov
7296e0408c
bug 737624 - memory-only encoding/decoding of scripts and functions. r=:luke
...
The patch shrinks the API presented in jsxdrapi.h down to 4 functions to
encode/decode scripts and interpreted functions to/from the memory. The
newly introduced implementation header vm/Xdr.h replaces the former
JSXDRState with the template class XDRState parametrized by the enum
type with two constants, XDR_ENCODE and XDR_DECODE. This way a compiler
can fully eliminate the former runtime checks for the decoding/encoding
mode. As a drawback this required to explicitly instantiate the xdr
implementation as I do not want to put all the xdr code to header files.
The memory-only XDR allows to avoid coping filename and to-be-atomized
chars to a temporary buffer as the code can just access the buffer
directly. Another change is that new XDRScript takes as a parameter its
parent script. This allowed to avoid keeping filename in XDRState and
simplify the filename management.
Another change is the removal of JS_HAS_HDR. As CloneScript uses XDR to
copy a script, JS_HAS_XDR cannot be disabled.
--HG--
rename : js/src/jsxdrapi.cpp => js/src/vm/Xdr.cpp
extra : rebase_source : f8f1536a86b7c3fe7296a16b6677bd21664af98a
2012-02-20 11:58:00 +01:00
Matt Brubeck
f83a9ab93e
Merge mozilla-central and mozilla-inbound
2012-03-24 09:05:27 -07:00
Henri Sivonen
95b45892e6
Bug 672453 - Whine to console about various character encoding declaration-related authoring errors. r=smaug.
...
--HG--
rename : extensions/universalchardet/tests/bug631751be_text.html => parser/htmlparser/tests/mochitest/file_bug672453_bomless_utf16.html
2012-03-24 13:34:42 +02:00
Masatoshi Kimura
6432a363f1
Bug 736686 - Part 2: Implement Blob constructor in Worker. r=jonas, bent
2012-03-24 12:33:59 +01:00
Dão Gottwald
766a2b3244
Backed out changeset 30798fdc5bad
2012-03-24 12:33:30 +01:00
Peter Van der Beken
6fd0c1b877
Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap
2012-03-16 16:44:09 +01:00
Jared Wein
3f49c23fdd
Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage
2012-03-23 11:46:12 -07:00
Jared Wein
282988197b
Backed out changeset 29a7f9d3d4c4 (bug 730318) r=bustage
2012-03-23 11:45:27 -07:00
Marco Bonardo
fa6bb5c19e
Merge last green PGO from inbound to central
2012-03-23 12:49:57 +01:00
Patrick McManus
dd00f9250a
bug 599164 pipeline with type and state r=honzab
2012-03-22 19:39:31 -04:00
Jared Wein
5e53c35a9c
Bug 730318 - Forgot to add braces to if condition. r=khuey
2012-03-22 14:03:04 -07:00
Jared Wein
61ab14237c
Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey
2012-03-22 13:53:59 -07:00
Andrew McCreight
f1c0ebf776
Bug 732495 - clean up refcounting for nsXBLDocumentInfo creation to fix leak. r=smaug
2012-03-22 13:46:03 -07:00
Aryeh Gregor
40c8f74eb6
Bug 366944 - Range.surroundContents should throw InvalidNodeTypeError early; r=smaug
2012-03-21 14:06:50 -04:00
Andrew McCreight
2bc80bf951
Bug 736459 - make WantAllTraces disable node and content list CC optimizations. r=smaug
...
* * *
Bug 736459, part 2 - add NS_LIKELY for new branches. r=smaug
2012-03-22 08:37:54 -07:00
Andrew McCreight
9c5ab91ad1
Bug 737060 - don't traverse nsXULTemplateBuilder with observed document. r=bent
2012-03-22 08:37:18 -07:00
Henri Sivonen
f2d3f89eb7
Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug.
2012-03-22 16:42:42 +02:00
Jim Mathies
3ba9aa7eeb
Bug 737983 - win8 fixup for generic keyword collision, r=smaug.
2012-03-22 09:18:41 -05:00
Boris Zbarsky
ecbf4bbd3f
Bug 738108. When restricting to the element subtree in querySelector(All), make sure to disallow the element itself. r=smaug
2012-03-22 03:09:18 -04:00
Henri Sivonen
e11504cc9b
Bug 737814 - Mark nsIHTMLContentSink as obsolete. r=smaug. DONTBUILD
2012-03-22 08:34:29 +02:00
Nicholas Nethercote
6ae6850783
merge
2012-03-21 21:48:40 -07:00
Nicholas Nethercote
c4ee2f9bdc
Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me.
2012-03-21 21:46:27 -07:00
Boris Zbarsky
e20f8460b1
Bug 700981 part 5. Reduce the amount of time spent calling GetBindingParent(). r=smaug
2012-03-22 00:10:51 -04:00
Boris Zbarsky
792c2592e5
Bug 700981 part 4. Add a fast-path to IsAllowedAsChild for the case of a child that has no kids. r=smaug
2012-03-22 00:10:51 -04:00
Boris Zbarsky
bf35ae3542
Bug 700981 part 3. Inline nsNodeUtils::ParentChainChanged. r=smaug
2012-03-22 00:10:51 -04:00
Boris Zbarsky
99719b401c
Bug 700981 part 2. Get rid of nsStyledElement::BindToTree/UnbindFromTree. r=smaug
2012-03-22 00:10:51 -04:00
Boris Zbarsky
5d73e0316b
Bug 700981 part 1. Get rid of nsMappedAttributeElement::BindToTree and inline some of the things it used to call so they're faster. r=sicking
2012-03-22 00:10:51 -04:00
Andrew McCreight
29070d40ad
Backout ca353538c7f9 (bug 736459) for Linux64 Dromaeo regressions
2012-03-21 19:36:25 -07:00
Sid Stamm
e4377a09c1
Bug 672961 - CSP blocks domains incorrectly when on a site with non-standard port. r=mrbkap
2012-03-21 19:52:24 -04:00
Andrew McCreight
39c32bc487
Bug 736459 - do WantAllTraces for nodes and base lists. r=smaug
2012-03-21 15:38:58 -07:00
Ms2ger
18b67b5a12
Bug 736752 - Compartment mismatch in JetPack 'test-content-proxy.testTypedArrays', r=bholley
2012-03-20 13:57:00 -07:00
Nicholas Nethercote
5524d35c04
Bug 711895 - Tweak the warning options used for GCC builds (2nd attempt). r=waldo,derf,khuey,mhommey,jwatt.
2012-03-15 19:40:00 -07:00
Robert O'Callahan
c80165838e
Bug 712836. Make MediaResources which have ended abnormally ineligible for cloning. r=cpearce
2012-03-20 20:55:40 +13:00
Daniel Holbert
6d1f7b2b6c
Bug 737754: Change guaranteed-to-succeed IndexOf() checks to Contains() checks in assertions within nsScriptLoader::PrepareLoadedRequest. r=hsivonen
2012-03-21 14:06:10 -07:00
Hessam Salehi
25b8143afe
Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg
2012-03-21 14:07:31 -04:00
Aryeh Gregor
9d84462dee
Bug 735805 part 1 - Fix DOM and layout mochitests that run no tests; r=bz
2012-03-16 16:07:09 -04:00
Aryeh Gregor
ccb73a4ec1
Bug 737612 - Range.insertNode() on a detached text node should throw standard exception type; r=smaug
2012-03-20 16:32:01 -04:00
Aryeh Gregor
45440ad3db
Bug 737565 - Range.comparePoint() should throw exceptions per spec; r=smaug
2012-03-20 15:54:38 -04:00
Mounir Lamouri
29e55dbd24
Bug 673853 - Fix "ASSERTION: Form control should have a parent". r=bz
2012-03-21 15:47:04 +01:00
Henri Sivonen
fff912d4a6
Bug 650776 part 3 - Remove mozSanitizingSerializer from mozilla-central. r=jst.
2012-03-21 12:43:54 +02:00
Paul O’Shannessy
2ae0a32b55
Bug 639705 (Lion Full Screen) Part 4: Fix content tests [r=cpearce]
...
--HG--
extra : rebase_source : 52bafed68c81c56aab0fe520dc51cb4a04103886
2012-03-20 16:21:15 -07:00
Matt Brubeck
51ba20bc98
Back out 1bbe7ea3a01e through 672cc4ee2dd9 because of mochitest-browser-chrome leaks
2012-03-20 12:53:10 -07:00
Mats Palmgren
5bd9409f3b
Bug 732951 - Propagate nsContentUtils::ASCIIToLower/ASCIIToUpper error. r=bz
2012-03-20 19:02:38 +01:00
Mats Palmgren
a9ed96268a
Bug 732951 - Make nsContentUtils::ASCIIToLower/ASCIIToUpper return NS_ERROR_OUT_OF_MEMORY when string allocation fails. r=bz
2012-03-20 19:02:38 +01:00
Mats Palmgren
234949ebc1
Bug 735943 - Don't crash if nsSMILAnimationController::FlushResampleRequests destroyed the pres shell. r=bz
2012-03-20 19:02:38 +01:00
Patrick McManus
aeb4f9d401
bug 599164 pipeline with type and state r=honzab
...
--HG--
extra : rebase_source : b060665a1726eab3e3ef0ab0d94c34cfea5c1460
2012-03-20 13:11:32 -04:00
Neil Deakin
f9547aff6d
Bug 605991, prevent drops on a parent content page from a child frame from a different domain, r=smaug
2012-03-20 11:21:41 -04:00
Henri Sivonen
eb34b8e6e8
Bug 737314 - Avoid using nsIURI when checking for cid: URIs in order to route around comm-central cid: hacks. r=smaug.
2012-03-20 11:25:43 +02:00
Jonathan Watt
ce86671d1b
Bug 736890 - Speed up building of layout/svg/base/src by cleaning up #include directives in its header files. r=dholbert.
2012-03-20 12:15:55 +00:00
Jonathan Watt
cfd1f311f8
Bug 734079, part 2 - Use a mark and asynchronously sweep scheme (similar to HTML reflow) to invalidate and update SVG frame bounds. r=longsonr.
2012-03-20 12:15:53 +00:00
Jonathan Watt
4ef8b576ac
Bug 734079, part 1 - Remove the SuspendRedraw code and make SVGSVGElement.suspendRedraw a no-op. r=longsonr.
2012-03-20 12:15:53 +00:00
Cameron McCormack
ff7970ca9c
Bug 711043 - Make filters code more consistent in performance. r=roc
2012-03-20 22:20:21 +11:00
Adam Dane [:hobophobe]
f6bfd29afb
Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc
2012-03-19 21:09:50 -05:00
Igor Bukanov
f8a4496d31
bug 737624 - memory-only encoding/decoding of scripts and functions. r=:luke
...
The patch shrinks the API presented in jsxdrapi.h down to 4 functions to
encode/decode scripts and interpreted functions to/from the memory. The
newly introduced implementation header vm/Xdr.h replaces the former
JSXDRState with the template class XDRState parametrized by the enum
type with two constants, XDR_ENCODE and XDR_DECODE. This way a compiler
can fully eliminate the former runtime checks for the decoding/encoding
mode. As a drawback this required to explicitly instantiate the xdr
implementation as I do not want to put all the xdr code to header files.
The memory-only XDR allows to avoid coping filename and to-be-atomized
chars to a temporary buffer as the code can just access the buffer
directly. Another change is that new XDRScript takes as a parameter its
parent script. This allowed to avoid keeping filename in XDRState and
simplify the filename management.
Another change is the removal of JS_HAS_HDR. As CloneScript uses XDR to
copy a script, JS_HAS_XDR cannot be disabled.
--HG--
rename : js/src/jsxdrapi.cpp => js/src/vm/Xdr.cpp
2012-02-20 11:58:00 +01:00
Ms2ger
8775c56114
Backed out changeset f33e1e959036; r=bustage
2012-03-24 11:04:34 +01:00
Igor Bukanov
8e97874303
bug 737624 - memory-only encoding/decoding of scripts and functions. r=:luke
...
The patch shrinks the API presented in jsxdrapi.h down to 4 functions to
encode/decode scripts and interpreted functions to/from the memory. The
newly introduced implementation header vm/Xdr.h replaces the former
JSXDRState with the template class XDRState parametrized by the enum
type with two constants, XDR_ENCODE and XDR_DECODE. This way a compiler
can fully eliminate the former runtime checks for the decoding/encoding
mode. As a drawback this required to explicitly instantiate the xdr
implementation as I do not want to put all the xdr code to header files.
The memory-only XDR allows to avoid coping filename and to-be-atomized
chars to a temporary buffer as the code can just access the buffer
directly. Another change is that new XDRScript takes as a parameter its
parent script. This allowed to avoid keeping filename in XDRState and
simplify the filename management.
Another change is the removal of JS_HAS_HDR. As CloneScript uses XDR to
copy a script, JS_HAS_XDR cannot be disabled.
--HG--
rename : js/src/jsxdrapi.cpp => js/src/vm/Xdr.cpp
2012-02-20 11:58:00 +01:00
Henri Sivonen
0b5228046a
Bug 738572 - #include nsIHTMLContentSink.h in fewer places. r=bzbarsky.
2012-03-23 17:21:44 +02:00
Diogo Golovanevsky Monteiro
d7758b88ca
Bug 735031 - Make Fullscreen API work with DOMElements rather than only HTML Elements. r=cpearce,smaug
2012-03-24 17:37:04 +13:00
Mark Hammond
c18a9d55f2
Bug 738535 - JS_WrapValue the FileReader's array buffer result. r=khuey
2012-03-24 11:04:55 +11:00
Jeff Gilbert
0c50aa229e
Bug 696569 - Allow for non-premultiplied data for canvases - r=bjacob,joedrew
2012-03-23 15:10:50 -07:00
Jared Wein
3c05f07191
Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage
2012-03-23 11:11:31 -07:00
Jared Wein
37666da898
Backed out changeset 29a7f9d3d4c4 (bug 730318) r=bustage
2012-03-23 11:11:14 -07:00
Mark Capella
1e7fdd17b2
Bug 734023 - Remove language arguments from nsIScriptGlobalObject methods, r=jst, f=ms2ger
2012-03-23 18:13:29 +01:00
Ehsan Akhgari
833302e22f
Bug 737889 - Make sure that clearing the readonly attribute does not disable spell checking; r=roc
2012-03-23 11:35:40 -04:00
Ehsan Akhgari
0a79402d68
Bug 738649 - Incorrect return value check in nsHTMLDocument::EditingStateChanged; r=khuey
2012-03-23 11:19:57 -04:00
Josh Aas
c2fa9afffa
Bug 726734: Reload plugin instances when the src/data URL changes. r=jst
2012-03-23 08:33:15 -04:00
Igor Bukanov
fbeb82e29f
bug 730221 - delegating serialization of script principals to the embedding. r=:luke,:bz
...
Currently to serialize principals stored in JSScript we have a rather complex
schema. First there is the transcode callback that the embedding must provide
to transcode principals using XDR API. Second we use rather complex glue code
to implement that callback in terms of writing/reading nsIObjectOutputStream/
nsIObjectInputStream. This glue code is duplicated in 3 places. All this can
be avoided if we simply delegate transcoding of principals to the caller. In
addition, at least in the case of the cached startup scripts we do not even
need to transcode the principals as the the cached scripts always have the
system principal so we can skip all the transcode complexity there.
The patch implemnts this idea. In particular, the code in JS engine
responsible for transcoding of principals is replaced by the single API
function JS_XDRSetPrincipals that the embedding can use to set principals for
decoded scripts and functions. Then the startup cache uses this to set the
principals for the decoded script to the system principals. The other two
places in nsJSContext::Serialize and XBL_SerializeFunction that need to
serialize principals together with a function or script now uses common
utilities in nsXPConnect so the serialization complexity resides in the single
place.
2012-02-13 14:10:04 +01:00
Ryan VanderMeulen
05d65ad8b8
Backout 47e84e1cc50f (bug 711043) due to crashtest & reftest crashes.
2012-03-19 22:28:30 -04:00
Cameron McCormack
68182d3c91
Bug 711043 - Make filters code more consistent in performance. r=roc
2012-03-20 12:49:13 +11:00
Matt Brubeck
3141d23221
Merge mozilla-central and mozilla-inbound
2012-03-19 16:47:00 -07:00
Matt Brubeck
1acfb437e2
Merge last green changeset from inbound to mozilla-central
2012-03-19 10:15:23 -07:00
Dão Gottwald
950bae49e0
merge backout
2012-03-19 12:54:47 +01:00
Dão Gottwald
098b79e99e
Backed out changeset 2cd01fd07ce8
2012-03-19 12:54:32 +01:00
Masatoshi Kimura
add7512617
Bug 736687 - Warn on use of MozBlobBuilder. r=sicking
...
--HG--
rename : layout/reftests/svg/as-image/img-blobBuilder-1.html => layout/reftests/svg/as-image/img-blobURI-1.html
rename : layout/reftests/svg/as-image/img-blobBuilder-2.html => layout/reftests/svg/as-image/img-blobURI-2.html
2012-03-19 12:00:43 +01:00
Adam Dane [:hobophobe]
395f2b3456
Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc
2012-03-18 14:42:25 -05:00
Henri Sivonen
82c137d953
Bug 650776 part 1 - Introduce a new HTML source to HTML source sanitizer XPCOM API. r=smaug.
2012-03-19 10:16:20 +02:00
Olli Pettay
c0ed89c640
Bug 736058, support createEvent('StorageEvent'), r=sicking
...
--HG--
extra : rebase_source : f46854524cc27273799d26f662fe5335f32aaeff
2012-03-18 20:55:46 +02:00
Masatoshi Kimura
f8cc2b9fe1
Bug 736804 - Bump iid of MozBlobBuilder. r=smaug
2012-03-18 15:49:45 +01:00
Andrew McCreight
7eaccd1515
Bug 735550 - unmark gray objects held by live nsXBLDocGlobalObjects. r=smaug
2012-03-18 07:17:05 -07:00
Andrew McCreight
1e8506b96f
Bug 735342 - CanSkip for unoptimizable nodes held by binding manager. r=smaug
2012-03-18 07:17:05 -07:00
Robert Longson
0d32a0fedf
Bug 736791 - translate transforms are not serialised correctly. r=jwatt
2012-03-18 12:25:28 +00:00
Jonathan Watt
4c723d804d
Bug 736753 - Fix the includes in layout/svg/base/src so that we can stop including nsSVGSVGElement.h in nsSVGContainerFrame.h. r=longsonr.
2012-03-18 10:32:02 +00:00
aceman
84f565a5bf
Bug 736660 - fix compilation: 'source' is not a member of 'nsGkAtoms', if MOZ_MEDIA is not set. r=bz
2012-03-17 20:38:35 +01:00
Robert O'Callahan
159f4c1c21
Bug 646331. Fix duration of big.wav. r=cpearce
2012-03-19 12:36:06 +13:00
Robert Longson
a46069d55c
Bug 736791 - translate transforms are not serialised correctly. r=jwatt
2012-03-18 18:24:35 +00:00
aceman
5db7964d7e
Bug 737149 - Fix build of nsTreeSanitizer.cpp (error: 'video' is not a member of 'nsGkAtoms') with undefined MOZ_MEDIA. r=bzbarsky
2012-03-19 18:52:08 -04:00
Boris Zbarsky
746cfc7b8c
Bug 721659. Update the width/height of an image synchronously when src is set to something that was preloaded. r=bholley
2012-03-19 18:22:02 -04:00
Wes Johnston
73b1812482
Bug 722965 - Remove MOZ_TOUCH ifdefs. r=smaug
2012-03-19 14:34:34 -07:00
Daniel Holbert
bc46788b46
Bug 730587 followup: Make nsINode::OwnerDocAsNode() non-inline to prevent "inline function ... used but never defined" build warnings. rs=khuey
2012-03-16 15:16:41 -07:00
Peter Van der Beken
526e189372
Fix for bug 736229 (Stop storing expando objects in the wrapper cache, store the proxy instead). r=jst.
2012-03-14 15:22:10 +01:00
Marco Bonardo
ff249f47c5
Merge inbound and central
2012-03-16 13:42:16 +01:00
Ms2ger
126a61ae1e
Bug 722154 - Part f: Remove custom quickstubs for vertexAttrib[1-4]fv; r=bjacob
2012-03-16 10:53:41 +01:00
Ms2ger
0fa822c551
Bug 722154 - Part e: Remove custom quickstubs for uniform[1-4][i,f]v and uniformMatrix[2-4]fv; r=bjacob
2012-03-16 10:52:42 +01:00
Ms2ger
3cd4c66188
Bug 727590 - uniformMatrix*fv handles its transpose argument incorrectly; r=bjacob
2012-03-16 10:51:04 +01:00
Ms2ger
6c8b1e6b1c
Bug 722154 - Part d: Remove custom quickstub for readPixels; r=bjacob
2012-03-16 10:50:51 +01:00
Ms2ger
9fe057f15e
Bug 722154 - Part c: Remove custom quickstubs for compressedTexImage2D and compressedTexSubImage2D; r=bjacob
2012-03-16 10:50:33 +01:00
Ms2ger
475f50510f
Bug 722154 - Part b: Remove custom quickstub for bufferSubData; r=bjacob
2012-03-16 10:50:18 +01:00
Ms2ger
3b2c005617
Bug 722154 - Part a: Remove custom quickstub for bufferData; r=bjacob
2012-03-16 10:50:00 +01:00
Ms2ger
ea07526c91
Bug 732704 - compressedTexSubImage2D should take 8 arguments, not 7; r=bjacob
2012-03-16 10:49:29 +01:00
Ms2ger
b2bb2520d9
Bug 550309 - Part f: Return real ImageData from CreateImageData; r=bz
2012-03-16 10:49:16 +01:00
Ms2ger
90fe48b371
Bug 550309 - Part e: Remove custom quickstub for getImageData and return an actual ImageData; r=bz
2012-03-16 10:48:55 +01:00
Ms2ger
b114a45e19
Bug 550309 - Part d: Try unwrapping to nsIDOMImageData in GetImageData(); r=bz
2012-03-16 10:44:39 +01:00
Ms2ger
364d2a12d3
Bug 550309 - Part c: Implement ImageData; r=bz
2012-03-16 10:44:08 +01:00
Ms2ger
eaded82b0f
Bug 550309 - Part a: Tighten up support for fake ImageData objects; r=bz
2012-03-16 10:41:53 +01:00
Masayuki Nakano
12da403f4d
Bug 728103 part.2 Fix new test failures r=smaug
2012-03-16 15:29:15 +09:00
Ed Morley
efdc9a5382
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-03-15 12:42:01 +00:00
Kyle Huey
fd1ce47377
Bug 730587: Stash a pointer to the subtree root on DOM nodes. r=smaug, sr=jst
2012-03-14 13:14:02 -07:00
Nathan Froyd
70cbaa6b9e
Bug 732167 - Eliminate duplicate headers in content. r=mounir
2012-03-06 13:55:37 -05:00
Charles Chan
64daff1dae
Bug 729049 - Inline IsXMLLetter, IsXMLNCNameChar, DecodeEntity from nsIParserService. r=hsivonen
2012-03-14 21:56:58 -07:00
Blake Kaplan
7a4eeff601
Bug 727884 - Make nsWrapperCache::WrapObject take a JSObject scope instead of XPCWrappedNativeScope. r=peterv
2012-03-14 16:25:40 +01:00
Jonathan Kew
67782abd95
bug 731536 - text-transform:capitalize should affect the first alphanumeric char in a word, not the first non-punctuation char. r=smontagu
2012-03-14 06:47:14 +00:00
Robert Longson
9c2b5601f7
Bug 736031 - getBBox returns incorrect results with empty containers. r=jwatt
2012-03-15 11:42:54 +00:00
Masatoshi Kimura
94b12178b6
Bug 735268 - Restore StorageEvent test which is accidentally removed. r=sicking
...
--HG--
extra : rebase_source : 07a34decab41334160ff6314beb76a0c38cf520d
2012-03-13 23:31:55 +01:00
Kyle Huey
e77a2d7ea3
Bug 735152: Disable the offending tests. r=me
2012-03-13 07:34:39 -07:00
Marco Bonardo
3e58667468
Merge last green PGO from inbound to central
2012-03-13 11:17:21 +01:00
Masatoshi Kimura
f1d328b350
Bug 721569 - Tests. r=sicking
...
--HG--
rename : content/base/test/test_blobbuilder.html => content/base/test/test_blobconstructor.html
2012-03-12 21:45:00 -07:00
Masatoshi Kimura
e441461b51
Bug 721569 - Implement Blob constructor. r=sicking
2012-03-12 21:44:56 -07:00
Masatoshi Kimura
1f2073f34c
Bug 721569 - Support default values for Web IDL dictionaries. r=khuey CLOBBER BUILD
2012-03-12 21:44:48 -07:00
Boris Zbarsky
c90ce3bdca
Bug 732667. Only do checks for :hover selectors when hover state changes on nodes which have relevant hover rules. r=dbaron
2012-03-12 22:54:15 -05:00
Phil Ringnalda
b1d1a41987
Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage
2012-03-12 22:12:41 -07:00
Boris Zbarsky
77f35024de
Bug 732667. Only do checks for :hover selectors when hover state changes on nodes which have relevant hover rules. r=dbaron
2012-03-12 22:54:15 -05:00
Olli Pettay
6510dffd7f
Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, a=bustage
2012-03-13 03:53:25 +02:00
Olli Pettay
85ef818664
Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, part2, r=jst
2012-03-13 02:56:20 +02:00
Olli Pettay
339e88ba7e
Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, r=jst,bent
2012-03-13 02:56:07 +02:00
Avi Halachmi
3c59129fb9
Bug 206438 - Smooth scrolling should use the 'smoothwheel' algorithm. r=roc ui-r=limi
2012-03-11 13:55:00 -07:00
Kyle Huey
28cfe02e31
Bug 498998: Implement XHR timeout in Workers. r=sicking
2012-03-12 17:00:46 -07:00
Justin Lebar
0dbaf73150
Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
...
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
David Anderson
67bb3e5986
Remove JS_GetScriptedCaller (bug 732652, r=luke,mrbkap,bholley,smaug,bent).
2012-03-06 15:33:12 -08:00
Peter Van der Beken
c3b954ffff
Add new DOM binding for SVG list classes. r=jst.
...
--HG--
extra : rebase_source : ce84f9457d7b9a14a0a65db5c643938d0e0e05bc
2011-08-22 11:14:13 +02:00
Peter Van der Beken
96b0afb0da
Fix for bug 734508 (Add new DOM binding for SVG list classes). r=jst.
...
--HG--
extra : rebase_source : c32d2fd124093ae437f000655bba7f3a5f17d99d
2011-08-22 11:14:13 +02:00