Ms2ger
0c27c0fd25
Bug 738996 - Remove agnostic Hold/DropScriptObject nsContentUtils functions; r=mrbkap
2012-03-29 23:09:11 +02:00
Ms2ger
2754f9e3ff
Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking
2012-03-29 23:09:07 +02:00
Ms2ger
9df73a304c
Bug 738654 - Part a: doRemoveChildAt can't fail; r=sicking
2012-03-29 23:09:06 +02:00
Ms2ger
7482ecf3b8
Bug 738608 - Introduce nsINode::Length(); r=smaug
2012-03-29 23:09:04 +02:00
Ms2ger
4827357dcf
No bug - Remove gfxAtoms; r=roc
2012-03-29 23:08:43 +02:00
Jonathan Kew
8312896bc4
bug 740477 - handle Dutch-specific capitalization of the ij digraph. r=smontagu
2012-03-30 17:37:46 -07:00
Peter Van der Beken
af493c9840
Fix for bug 740855 (Make tests that try to get XHR.channel use SpecialPowers). r=bz, bent.
...
--HG--
extra : rebase_source : 1278ff2158cd8138ebe3570a2d8f45cec8233d1c
2012-03-30 09:38:19 -07:00
Matias Juntunen
368977644f
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
9f2f5d2bad
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
6bfeaa8a5a
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
fa81c26f58
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
208cff3073
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
fc6142736f
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
8ff6eda08e
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
c3c6b8c99e
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
a4302efd2e
Bug 736342 - Add AsyncBlockWriter, which defers file writes to another thread. r=roc
2012-03-28 13:04:20 +13:00
Phil Ringnalda
16b8634b73
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
9b1872fcc9
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
980ef286d3
Bug 738700 - unmark wrapped gray objects from nsISupports. r=smaug
2012-03-28 21:51:46 -07:00
Chris Pearce
6f604f18e9
Bug 741052 - Null check nsMediaCache::mFileCache in nsMediaCache destructor. r=roc
2012-04-02 10:34:11 +12:00
Mark Capella
62db5d9389
Bug 738380 - Remove nsINode::{GetScriptTypeID, SetScriptTypeID}, nsIScriptContext::GetScriptTypeID, nsIScriptRuntime::GetScriptTypeID; r=jst
2012-04-01 14:47:48 +02:00
Aryeh Gregor
e4b9c89381
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
33073664dc
Bug 737976: Remove nsINodeInfo. rs=bent
2012-03-28 19:07:37 -07:00
David Humphrey
012b498c6b
Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc, smaug
2012-03-28 21:00:14 -04:00
Nathan Froyd
8c5b9206cd
Bug 739962 - fix -Wunused-but-set-variable warnings in content; r=bent
2012-03-28 09:14:33 -04:00
Peter Van der Beken
ffde1d1745
Bug 732377. Add the API for the new DOM bindings to XMLHttpRequest. r=bzbarsky
2012-03-26 08:38:06 -07:00
Justin Lebar
a3a4cffe1f
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
1c274793d6
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
ab34b8f798
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
fa221a7566
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
e6a2a996e5
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
c47e91dbfa
Bug 717180 - Ignore document.write after window.location. r=smaug.
2012-03-28 08:17:53 +03:00
Ryan VanderMeulen
47c4df35c2
Backed out changeset 389eee1cce65 (bug 677122) due to bustage.
2012-03-27 20:04:33 -04:00
Scott Downe
68367edb87
Bug 677122 - Update start/end times of mediafragment URL on hashchanges. r=bz
2012-03-27 19:17:35 -04:00
Jared Wein
726d85a760
Backed out changeset 8e42ba558f07 (bug 730318) CLOSED TREE
2012-03-27 15:23:53 -07:00
Avi Halachmi (:avih)
b7b27a33a2
Bug 737758: Part 2: Address Windows abnormality (identify _faked_ pixel scrolls) [r=jmathies]
2012-03-26 13:34:10 +02:00
Avi Halachmi (:avih)
5d73a5eeb8
Bug 737758: part 1: Propagate mouse wheel event origin from ESM [r=roc]
2012-03-26 11:50:30 +02:00
Andrew McCreight
f2c42df8ce
Bug 740185 - mark safe JS context black. r=smaug
2012-03-30 10:22:29 -07:00
Peter Van der Beken
c24b07dfb1
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
2988a3a81e
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
dcbb9c3017
Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt
2012-02-18 19:17:01 +05:30
Jeff Gilbert
9c6c3991f0
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
60e79c044a
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
7dce10b04f
Bug 741250 - Fix "ASSERTION: Item in list without parent". r=bz
2012-04-03 17:37:15 +02:00
Aryeh Gregor
770ebbde43
Bug 738440 - Support queryCommandState("stylewithcss"); r=ehsan
2012-03-23 15:03:42 -04:00
Aryeh Gregor
29e4320467
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
553dd5ca61
Bug 741666 - Fix copying touchEvents if someone holds a reference. r=smaug
2012-04-04 10:08:53 -07:00
Doug Turner
c7eec92703
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
ffe6eab00e
Bug 742395 - restrict device sensor events to windows. r=smaug
2012-04-04 09:26:12 -07:00
Makoto Kato
9c9e8ca686
Bug 737966 - Evaluating nsIXMLHttpRequest.responseText throws on certain parsing errors. r=sicking
2012-04-04 20:59:02 +09:00
Marco Bonardo
10bda00159
Merge central to inbound
2012-04-04 13:39:52 +02:00
Igor Bukanov
2d04a4fe3d
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
344b2b1753
Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger
2012-04-04 11:15:10 +02:00
Jared Wein
daa64bde94
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
1dfcfb5e1f
Bug 736563 - mark global objects held by live windows black during GC. r=smaug
2012-03-27 12:22:10 -07:00
Ian Melven
4a35447c6a
Bug 650386 - CSP should not follow redirects for report-uri r=jst
2012-03-27 10:55:50 -07:00
Justin Lebar
74225dfdad
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
f05ff8b40b
Bug 731162 - Zap nsIParser::Parse(const nsAString&, ...). r=smaug.
2012-03-27 09:27:45 +03:00
Masayuki Nakano
2aa958ea0f
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
410f3342be
Bug 738744 - Fix "ASSERTION: Form controls should always have parents". r=bz
2012-03-26 17:52:39 -07:00
Boris Zbarsky
e5028adb28
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
ec045e370f
Bug 678695 - Settings API. r=sicking, fabrice, smaug
2012-03-26 14:49:38 -07:00
Benoit Jacob
df934d0a92
Bug 734423 - further WebGL test upgrade to 1.0.1 r17159 - no review
2012-03-26 17:54:08 -04:00
Benoit Jacob
11b344774f
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
445db35df7
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
444179b6b6
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
29a8024910
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
6e6cb1c555
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
a9d0bc0b91
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
c329caccea
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
0e82d01876
Bug 301705: Don't throw when XMLHttpRequest.status is gotten too early. r=bz
2012-03-26 01:40:09 -07:00
Chris Pearce
34453514e9
Bug 726400 - Backed out changeset 4ad6c040729f. r=backout.
2012-03-26 14:41:14 +13:00
Christopher De Cairos
25e946ae06
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
ed59dd90b3
Back out c4a4b0171b99 (bug 736400) for Android build bustage
2012-03-25 15:35:37 -07:00
Christopher De Cairos
4eab2b8b32
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
7bc438e9f5
Bug 734855 - Rename DeviceMotion to DeviceSensors. Review comments address r=mwu
2012-03-24 17:30:03 -07:00
Doug Turner
ec38c98821
Bug 734855 - Device Orientation - Make EnableDeviceMotion finer grain. r=mwu
2012-03-24 17:29:49 -07:00
Igor Bukanov
fba835a226
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
626f101539
Merge mozilla-central and mozilla-inbound
2012-03-24 09:05:27 -07:00
Henri Sivonen
342883de53
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
4d93b5343a
Bug 736686 - Part 2: Implement Blob constructor in Worker. r=jonas, bent
2012-03-24 12:33:59 +01:00
Dão Gottwald
5e96f96042
Backed out changeset 30798fdc5bad
2012-03-24 12:33:30 +01:00
Peter Van der Beken
cba2d2e2ac
Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap
2012-03-16 16:44:09 +01:00
Jared Wein
500e229e25
Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage
2012-03-23 11:46:12 -07:00
Jared Wein
3e437af1bc
Backed out changeset 29a7f9d3d4c4 (bug 730318) r=bustage
2012-03-23 11:45:27 -07:00
Marco Bonardo
2b24ab86ca
Merge last green PGO from inbound to central
2012-03-23 12:49:57 +01:00
Patrick McManus
5090fe4d7b
bug 599164 pipeline with type and state r=honzab
2012-03-22 19:39:31 -04:00
Jared Wein
8810c145ca
Bug 730318 - Forgot to add braces to if condition. r=khuey
2012-03-22 14:03:04 -07:00
Jared Wein
97c6f75ef3
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
80d210f308
Bug 732495 - clean up refcounting for nsXBLDocumentInfo creation to fix leak. r=smaug
2012-03-22 13:46:03 -07:00
Aryeh Gregor
c061caef54
Bug 366944 - Range.surroundContents should throw InvalidNodeTypeError early; r=smaug
2012-03-21 14:06:50 -04:00
Andrew McCreight
3c84bc8767
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
02ff288585
Bug 737060 - don't traverse nsXULTemplateBuilder with observed document. r=bent
2012-03-22 08:37:18 -07:00
Henri Sivonen
31192f4b01
Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug.
2012-03-22 16:42:42 +02:00
Jim Mathies
71cea19097
Bug 737983 - win8 fixup for generic keyword collision, r=smaug.
2012-03-22 09:18:41 -05:00
Boris Zbarsky
3dd66596fa
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
d51764b632
Bug 737814 - Mark nsIHTMLContentSink as obsolete. r=smaug. DONTBUILD
2012-03-22 08:34:29 +02:00
Nicholas Nethercote
1dae898653
merge
2012-03-21 21:48:40 -07:00
Nicholas Nethercote
7ac3a573ad
Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me.
2012-03-21 21:46:27 -07:00
Boris Zbarsky
291c1ee048
Bug 700981 part 5. Reduce the amount of time spent calling GetBindingParent(). r=smaug
2012-03-22 00:10:51 -04:00
Boris Zbarsky
2932c886ad
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
5a5007f95f
Bug 700981 part 3. Inline nsNodeUtils::ParentChainChanged. r=smaug
2012-03-22 00:10:51 -04:00
Boris Zbarsky
922ddb8a25
Bug 700981 part 2. Get rid of nsStyledElement::BindToTree/UnbindFromTree. r=smaug
2012-03-22 00:10:51 -04:00
Boris Zbarsky
378d3ead3e
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
0152690e7f
Backout ca353538c7f9 (bug 736459) for Linux64 Dromaeo regressions
2012-03-21 19:36:25 -07:00
Sid Stamm
f65eb324a7
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
c17217a77a
Bug 736459 - do WantAllTraces for nodes and base lists. r=smaug
2012-03-21 15:38:58 -07:00
Ms2ger
33ab87c978
Bug 736752 - Compartment mismatch in JetPack 'test-content-proxy.testTypedArrays', r=bholley
2012-03-20 13:57:00 -07:00
Nicholas Nethercote
e2181e8fb2
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
5bfbed0b5b
Bug 712836. Make MediaResources which have ended abnormally ineligible for cloning. r=cpearce
2012-03-20 20:55:40 +13:00
Daniel Holbert
d61f415d15
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
2bda7efc98
Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg
2012-03-21 14:07:31 -04:00
Aryeh Gregor
18007ca69a
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
660bfc0de9
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
0874f9e17c
Bug 737565 - Range.comparePoint() should throw exceptions per spec; r=smaug
2012-03-20 15:54:38 -04:00
Mounir Lamouri
972d90ca7e
Bug 673853 - Fix "ASSERTION: Form control should have a parent". r=bz
2012-03-21 15:47:04 +01:00
Henri Sivonen
e56e83cebb
Bug 650776 part 3 - Remove mozSanitizingSerializer from mozilla-central. r=jst.
2012-03-21 12:43:54 +02:00
Paul O’Shannessy
0f018487d9
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
40f3f77d22
Back out 1bbe7ea3a01e through 672cc4ee2dd9 because of mochitest-browser-chrome leaks
2012-03-20 12:53:10 -07:00
Mats Palmgren
addd9dcfb4
Bug 732951 - Propagate nsContentUtils::ASCIIToLower/ASCIIToUpper error. r=bz
2012-03-20 19:02:38 +01:00
Mats Palmgren
345eb869e8
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
e003657f4a
Bug 735943 - Don't crash if nsSMILAnimationController::FlushResampleRequests destroyed the pres shell. r=bz
2012-03-20 19:02:38 +01:00
Patrick McManus
28c3c87c12
bug 599164 pipeline with type and state r=honzab
...
--HG--
extra : rebase_source : b060665a1726eab3e3ef0ab0d94c34cfea5c1460
2012-03-20 13:11:32 -04:00
Neil Deakin
ff64a01729
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
c8ab4ee986
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
c4e6b7547e
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
607557fa95
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
858e883080
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
19b598c34c
Bug 711043 - Make filters code more consistent in performance. r=roc
2012-03-20 22:20:21 +11:00
Adam Dane [:hobophobe]
a4e77c0d40
Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc
2012-03-19 21:09:50 -05:00
Igor Bukanov
63cd1dc8b0
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
01a1c4d2d2
Backed out changeset f33e1e959036; r=bustage
2012-03-24 11:04:34 +01:00
Igor Bukanov
5a94b9c481
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
88c3e0947f
Bug 738572 - #include nsIHTMLContentSink.h in fewer places. r=bzbarsky.
2012-03-23 17:21:44 +02:00
Diogo Golovanevsky Monteiro
24485f6c5c
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
6e90e43d7b
Bug 738535 - JS_WrapValue the FileReader's array buffer result. r=khuey
2012-03-24 11:04:55 +11:00
Jeff Gilbert
f23bc53c69
Bug 696569 - Allow for non-premultiplied data for canvases - r=bjacob,joedrew
2012-03-23 15:10:50 -07:00
Jared Wein
e8d8a40761
Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage
2012-03-23 11:11:31 -07:00
Jared Wein
05537a54d8
Backed out changeset 29a7f9d3d4c4 (bug 730318) r=bustage
2012-03-23 11:11:14 -07:00
Mark Capella
8721036540
Bug 734023 - Remove language arguments from nsIScriptGlobalObject methods, r=jst, f=ms2ger
2012-03-23 18:13:29 +01:00
Ehsan Akhgari
2df3a82068
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
45a106cae1
Bug 738649 - Incorrect return value check in nsHTMLDocument::EditingStateChanged; r=khuey
2012-03-23 11:19:57 -04:00
Josh Aas
064885cfdf
Bug 726734: Reload plugin instances when the src/data URL changes. r=jst
2012-03-23 08:33:15 -04:00
Igor Bukanov
c8154dcd0e
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
d3f0c9d0b1
Backout 47e84e1cc50f (bug 711043) due to crashtest & reftest crashes.
2012-03-19 22:28:30 -04:00
Cameron McCormack
9db2e29ba4
Bug 711043 - Make filters code more consistent in performance. r=roc
2012-03-20 12:49:13 +11:00
Matt Brubeck
561bc88e91
Merge mozilla-central and mozilla-inbound
2012-03-19 16:47:00 -07:00
Matt Brubeck
09c6670b5a
Merge last green changeset from inbound to mozilla-central
2012-03-19 10:15:23 -07:00
Dão Gottwald
d95bec90ea
merge backout
2012-03-19 12:54:47 +01:00
Dão Gottwald
6483ef2ee1
Backed out changeset 2cd01fd07ce8
2012-03-19 12:54:32 +01:00