Mark Capella
2577075a7a
Bug 744332 - Remove nsXULPrototypeScript::ScriptObjectHolder::mLangID. r=jst, f=Ms2ger
2012-04-24 18:31:28 -04:00
Josh Aas
bda34ee875
Bug 745842: Clean up plugin stream listener creation. r=jst
2012-04-24 16:25:21 -04:00
Simon Montagu
c2722c9ee2
bug 738101 - Use the new mozilla::unicode::GetIdentifierModification instead of the old ccmap in IsDefaultIgnorable. This is the last client for precompiled ccmaps, so remove the infrastructure for them at the same time. r=jfkthame
2012-04-18 21:54:54 -07:00
L. David Baron
50cc90de6a
Remove unneeded getting of window and DOMWindowUtils so that GetViewportInfo can still return correct information while page is displayed during navigation away from it. (Bug 737621) r=sjohnson
2012-04-25 16:33:42 -07:00
Jonathan Watt
72b161fc90
Bug 745352 - Remove broken include paths from content Makefile.in files. r=dholbert.
2012-01-19 15:36:53 +00:00
Masatoshi Kimura
3e4da21b72
Bug 743575 - Try to get line number if at all possible when reporting warnings to the error console. r=mrbkap
2012-04-13 13:57:05 -04:00
Robert Longson
611dcd8782
Bug 743444 - Lighting Filter clipped when kernelUnitLength specified. r=roc
2012-04-13 08:01:55 +01:00
Jeff Walden
827586c908
Bug 714260 - Implement FloatingPoint.h to consolidate all IEEE-754 floating point operations in a single location. r=dmandelin for the js bits, r=Ms2ger for mfbt and the core bits
2012-01-23 03:43:16 -08:00
Mark Capella
1839be84c0
Bug 740688 - Use uintptr_t instead of PRUword, and intptr_t instead of PRWord. r=jwalden
...
--HG--
extra : rebase_source : 648a581323d2c2893df780f71fe34dadcc4bbaab
2012-04-11 17:17:44 -07:00
Gregory Szorc
24ce7aadaf
Merge mozilla-central into inbound
2012-04-11 18:51:10 -07:00
Matt Brubeck
73374502cc
Merge last green changeset from inbound to mozilla-central
2012-04-11 08:52:07 -07:00
Olli Pettay
9e236a1d43
Bug 742482 - Add support for MutationObserver.takeRecords(), r=sicking
2012-04-11 08:24:18 +03:00
Ehsan Akhgari
124ba412da
Merge the latest green changeset from mozilla-inbound into mozilla-central
2012-04-10 16:00:30 -04:00
Olli Pettay
5c8241cc42
Bug 742636 - Keep observed node alive during microtask if there are transient observers, r=sicking
2012-04-10 22:01:14 +03:00
Daniel Holbert
0c83157d0b
Bug 742565: Cast known-to-be-nonnegative integer val to unsigned, to fix build warnings in nsRange.cpp. r=smaug
2012-04-10 00:45:59 -07:00
Henri Sivonen
5beb4f0915
Bug 741384 - Change MOZ_NOT_REACHED added in bug 732343 to MOZ_ASSERT(false). r=smaug.
2012-04-10 10:02:31 +03:00
Matias Juntunen
01e8f29412
Bug 743475 - Patch to fix the wrong template parameters in call to WebGLBuffer::FindMaxElementInSubArray - r=jgilbert
2012-04-09 19:51:29 -07:00
Masatoshi Kimura
a4f7f9bacb
Bug 743574 - Deprecate DOMException.code. r=sicking
2012-04-11 17:55:23 -04:00
Masatoshi Kimura
f09712023c
Bug 743049 - Part 2: Use the new API from NS_ScriptErrorReporter to get an error type name. r=jst
2012-04-11 17:55:22 -04:00
Masatoshi Kimura
0cd58c8a6f
Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking
2012-04-11 17:55:21 -04:00
David Humphrey (:humph)
5f9892f336
Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug
2012-04-11 17:55:21 -04:00
Matt Brubeck
237ec601d2
Back out 14715fd6b81c (bug 677122) because of frequent failures in its test
2012-04-11 08:39:58 -07:00
Andrew McCreight
8c08e359f8
Bug 744297 - initialize return value in nsXULPrototypeElement::Deserialize. r=bz
2012-04-11 07:48:14 -07:00
Jared Wein
082d8a642b
Bug 713487 - Move TopLevelImageDocument.css and TopLevelVideoDocument.css to toolkit/themes. r=roc,dao
2012-04-10 16:03:41 -07:00
Scott Downe
5219d0c35f
Bug 677122 - Update start/end times of mediafragment URL on hashchanges. r=bz
2012-04-11 07:49:20 -04:00
Abhishek Bhatnagar
a1f068120f
Bug 620164 - Remove CheckedInt and Muloverflow from nsTheoraState::MaxKeyframeOffset. r=cpearce
2012-04-11 07:44:28 -04:00
Mark Capella
86d94910f9
Bug 652635 - Fallback missing @longdesc to aria-describedby pointing to <a href>, r=surkov, jonas
2012-04-11 15:16:00 +09:00
Ms2ger
488b5263dd
Merge m-c to m-i.
2012-04-09 09:32:28 +02:00
Daniel Holbert
62386808f1
Bug 369560 followup: Soften language in unusual-but-innocuous NS_WARNING for XBL docs with no root element. r=bz
2012-04-08 18:37:41 -07:00
Kyle Huey
b9156a7e34
Back out Bug 679230 due to Android reftest failures.
2012-04-07 10:36:49 -07:00
Kyle Huey
cf183bc381
Bug 697230: Part 3 - Make style images block onload. r=bz
2012-04-07 09:00:27 -07:00
Kyle Huey
0826c61887
Bug 697230: Part 2 - Push onload blocking logic down into imagelib. r=joe sr=bz
2012-04-07 09:00:04 -07:00
Kyle Huey
803a05ad74
Bug 697230: Part 1 - Centralize style image observers. r=bz
2012-04-07 08:58:41 -07:00
Olli Pettay
adf238dbcd
Bug 743199 - Unmark Document's and Window's ELM, r=mccr8
2012-04-07 10:12:03 +03:00
Jacek Caban
ee4314411f
Bug 742357 - Use macros to declare nsIMutationObserver functions in nsMutationReceiver r=smaug
2012-04-06 11:12:59 +02:00
Aryeh Gregor
ce926d8719
Bug 742261 - Remove useless queryCommandText/execCommandShowHelp methods; r=ehsan
2012-04-04 15:30:33 +03:00
Boris Zbarsky
a25922d009
Bug 742549. Add a .crossOrigin IDL property. r=sicking
...
Note that the content attribute is crossorigin (lowercase) in SVG, hence the need to have different
content and IDL property names in the test.
2012-04-05 22:24:42 -04:00
Boris Zbarsky
6dcfcf93b7
Bug 741266. document.open with 3 or more arguments should invoke the scriptable version of window.open, not the noscript one. r=jst
2012-04-06 17:12:41 -04:00
Marco Bonardo
5e1e1bdc0e
Backout d83c1ffb7397 (bug 741266) due to Windows M1 failures
2012-04-07 01:34:28 +02:00
Boris Zbarsky
645c85865a
Bug 741266. document.open with 3 or more arguments should invoke the scriptable version of window.open, not the noscript one. r=jst
2012-04-06 17:12:41 -04:00
Ehsan Akhgari
8055d345a5
Merge mozilla-inbound and mozilla-central
2012-04-10 16:01:39 -04:00
Benoit Jacob
3c914a4ac6
Bug 743813 - fix build bustage due to signedness warning in WARNINGS_AS_ERRORS dir - no review
2012-04-10 12:23:23 -04:00
Benoit Jacob
ac251c8f19
Bug 743813 - Fix the warnings generated by WebGL activeTexture - r=jgilbert
2012-04-10 11:51:30 -04:00
Benoit Jacob
dc36f05c94
Bug 686735 - 1/2 - Implement no-gfx-driver-workarounds mode - r=joe,ajuma,jgilbert
...
Part 1: introduce the gfx.work-around-driver-bugs preference and handle most existing workarounds
2012-04-10 11:49:10 -04:00
Mark Capella
94670ae3ec
Bug 741580 - Remove nsXULPrototype Element mScriptTypeID, r=ms2ger,jst
2012-04-05 12:20:44 -07:00
Ehsan Akhgari
ac25c078a1
Merge mozilla-inbound and mozilla-central
2012-04-05 13:41:51 -04:00
Ehsan Akhgari
47a6da0be5
Merge the last green PGO changeset from mozilla-inbound to mozilla-central
2012-04-05 13:40:53 -04:00
Boris Zbarsky
0fca9692ed
Bug 742030. When cloning nodes with inline style, preserve the inline style string. r=sicking
2012-04-05 13:14:54 -04:00
Alexander Surkov
ed8cc5eef3
Bug 741398 - make ARIA state map extensible, r=tbsaunde
2012-04-06 01:23:30 +09:00
Jeff Gilbert
6a03940b95
Bug 685156 - webgl.hint() must accept GENERATE_MIPMAP_HINT - r=bjacob
2012-04-04 18:57:35 -07:00
Olli Pettay
6389f9e1df
Bug 742371 - Remove MutationReceiver from MutationObserver when the target is deleted, r=sicking
2012-04-04 20:36:40 +03:00
Olli Pettay
531fa1528f
Bug 742237, MutationObserver crashes during GC, r=sicking
2012-04-04 18:11:57 +03:00
Marco Bonardo
047806e61c
Merge last green PGO from inbound to central
2012-04-04 13:36:36 +02:00
Olli Pettay
14fb10f69b
Bug 742183 - Handle MicroTasks correctly with showModalDialog, r=sicking
2012-04-04 09:23:45 +03:00
Olli Pettay
f1280145fd
Bug 742190 - Leak with MozMutationObserver, r=sicking
2012-04-04 09:22:16 +03:00
Marco Bonardo
9da76e99e1
Merge central and inbound
2012-04-03 14:36:57 +02:00
Ms2ger
cb0ed3c5ae
Bug 738760 - Move nsContentUtils::GetContextAndScope into nsDocument.cpp; r=sicking
2012-04-03 09:25:39 +02:00
Ms2ger
c7002d2259
Bug 737122 - Attr nodes shouldn't have children; r=sicking
2012-04-03 09:25:39 +02:00
Ms2ger
1620e930e4
Bug 738759 - Add nsContentUtils::CheckSameOrigin overload taking two nsINodes; r=jst
2012-04-03 09:25:38 +02:00
Ms2ger
ca0ad89f4e
Bug 741223 - MutationObserver cleanup; r=smaug
2012-04-03 09:25:38 +02:00
Ms2ger
93421f3fbd
Bug 741218 - Don't crash when loading a page with content-type application/json; r=hsivonen
2012-04-03 09:25:38 +02:00
Henri Sivonen
2289542980
Bug 739537 - No longer drop leading space from the plain text clipboard flavor when exporting both HTML and plain text to clipboard. r=smaug.
2012-04-03 09:44:15 +03:00
David Mandelin
c95898dc13
Bug 737780: fix compartments in nsFrameScriptExecutor::LoadFrameScriptInternal, r=luke
2012-04-02 19:09:34 -07:00
Nicholas Nethercote
ba5600fd65
Bug 711895 - Tweak the warning options used for GCC builds (3rd attempt). r=waldo,derf,khuey,mhommey.
...
--HG--
extra : rebase_source : 20540c9b838ee3be6cb0847c1b90fdc3bd44059d
2012-03-21 22:21:16 -07:00
Ryan VanderMeulen
8a1ce69485
Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst
2012-04-03 20:22:42 -04:00
Masatoshi Kimura
dbd4f0bed5
Bug 738912 - Part 2: Add tests. r=sicking
2012-04-03 20:08:28 -04:00
Matt Brubeck
6c039eb840
Merge last green changeset from inbound to mozilla-central
2012-04-02 10:41:37 -07:00
Kyle Huey
337468e523
Bug 741163: Add a rather important null check. r=me
2012-04-01 04:02:58 -07:00
Ed Morley
651aa424a1
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-03-31 22:41:59 +01:00
Olli Pettay
f198500ad9
Bug 641821, MutationObserver, r=sicking
...
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Benoit Jacob
8882e64f22
Bug 737182 - drop WebGL cube map workaround, now that we have it handled in GLContext - r=jrmuizel
2012-03-31 12:48:32 -04:00
Ed Morley
c7a3740e33
Merge mozilla-central to mozilla-inbound
2012-03-31 15:28:55 +01:00
Henri Sivonen
e9bc364a15
Bug 731896 - Export plain text from the DOM selection directly without an intermediate HTML serialization. r=smaug.
2012-03-31 17:10:34 +03:00
Henri Sivonen
990ab1f71d
Bug 732343 - Defend HTML document loading against extensions causing bogus use of the old HTML parser. r=smaug.
2012-03-31 17:10:34 +03:00
Ms2ger
cad388b68f
Bug 741048: Remove gfxAtoms. r=roc
2012-03-30 23:08:46 -07:00
Dave Townsend
68dc1b47ec
Backing out changeset 432c4be058b5 which landed with no bug.
2012-03-30 22:23:24 -07:00
Peter Van der Beken
30521e37e9
Undo accidental mode change to webgl-conformance-tests.html. No bug.
2012-03-30 22:04:54 -07:00
Peter Van der Beken
09128a75d3
Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
...
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Christopher De Cairos
b9bebb8f08
Bug 736400 - Make each decoder Clone() method check if its mimetype is enabled. r=cpearce
2012-03-30 20:52:07 -04:00
Olli Pettay
3fbca0e6db
Bug 734151 - remove new lines from the class in the CC log, r=bsmedberg
...
--HG--
extra : rebase_source : a7d7add386834baaea8769f398431a0c9c4c1a96
2012-03-30 09:38:00 -07:00
Marco Bonardo
d3b8a6debe
Merge central to inbound
2012-03-30 12:27:55 +02:00
Ms2ger
4039473ec6
No bug - Remove an always-true check.
2012-03-29 23:12:55 +02:00
Ms2ger
09e5acca2c
Bug 738761 - Remove nsIScriptTimeoutHandler::GetScriptVersion and pass JSVersion to nsIScriptContext::EvaluateString; r=jst
2012-03-29 23:09:13 +02:00
Ms2ger
a1a7ce8473
Bug 738996 - Remove agnostic Hold/DropScriptObject nsContentUtils functions; r=mrbkap
2012-03-29 23:09:11 +02:00
Ms2ger
1e9b34b2ca
Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking
2012-03-29 23:09:07 +02:00
Ms2ger
75fed9765f
Bug 738654 - Part a: doRemoveChildAt can't fail; r=sicking
2012-03-29 23:09:06 +02:00
Ms2ger
63c2adf6c9
Bug 738608 - Introduce nsINode::Length(); r=smaug
2012-03-29 23:09:04 +02:00
Ms2ger
0884370d9c
No bug - Remove gfxAtoms; r=roc
2012-03-29 23:08:43 +02:00
Jonathan Kew
600c7d5313
bug 740477 - handle Dutch-specific capitalization of the ij digraph. r=smontagu
2012-03-30 17:37:46 -07:00
Peter Van der Beken
e979cdfbe5
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
3b544379f3
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
469705139b
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
42e7c72943
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
e0fe30d650
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
511d03707b
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
357026b226
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
e878970b2b
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
235c0ed1b6
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
c92e96b48f
Bug 736342 - Add AsyncBlockWriter, which defers file writes to another thread. r=roc
2012-03-28 13:04:20 +13:00
Phil Ringnalda
62e25bcddc
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
b4da60b42d
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
d986e69874
Bug 738700 - unmark wrapped gray objects from nsISupports. r=smaug
2012-03-28 21:51:46 -07:00
Chris Pearce
ca47762f8f
Bug 741052 - Null check nsMediaCache::mFileCache in nsMediaCache destructor. r=roc
2012-04-02 10:34:11 +12:00
Mark Capella
5b2f534388
Bug 738380 - Remove nsINode::{GetScriptTypeID, SetScriptTypeID}, nsIScriptContext::GetScriptTypeID, nsIScriptRuntime::GetScriptTypeID; r=jst
2012-04-01 14:47:48 +02:00
Aryeh Gregor
2487a022be
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
5639dfdb41
Bug 737976: Remove nsINodeInfo. rs=bent
2012-03-28 19:07:37 -07:00
David Humphrey
03dc4eeeee
Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc, smaug
2012-03-28 21:00:14 -04:00
Nathan Froyd
f951079eae
Bug 739962 - fix -Wunused-but-set-variable warnings in content; r=bent
2012-03-28 09:14:33 -04:00
Peter Van der Beken
499b93ca6e
Bug 732377. Add the API for the new DOM bindings to XMLHttpRequest. r=bzbarsky
2012-03-26 08:38:06 -07:00
Justin Lebar
e118a51dca
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
f4becfb922
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
642a4f48c0
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
7509a717ef
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
1e43b151aa
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
96fd999a06
Bug 717180 - Ignore document.write after window.location. r=smaug.
2012-03-28 08:17:53 +03:00
Ryan VanderMeulen
e6c1f6da11
Backed out changeset 389eee1cce65 (bug 677122) due to bustage.
2012-03-27 20:04:33 -04:00
Scott Downe
f955145443
Bug 677122 - Update start/end times of mediafragment URL on hashchanges. r=bz
2012-03-27 19:17:35 -04:00
Jared Wein
e34baf2131
Backed out changeset 8e42ba558f07 (bug 730318) CLOSED TREE
2012-03-27 15:23:53 -07:00
Avi Halachmi (:avih)
3605c7f03f
Bug 737758: Part 2: Address Windows abnormality (identify _faked_ pixel scrolls) [r=jmathies]
2012-03-26 13:34:10 +02:00
Avi Halachmi (:avih)
d705a99716
Bug 737758: part 1: Propagate mouse wheel event origin from ESM [r=roc]
2012-03-26 11:50:30 +02:00
Andrew McCreight
7a9fcf72b7
Bug 740185 - mark safe JS context black. r=smaug
2012-03-30 10:22:29 -07:00
Peter Van der Beken
35470819a6
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
e387b7ef6b
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
a0a99e8f8a
Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt
2012-02-18 19:17:01 +05:30
Jeff Gilbert
6b7627f5c1
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
1d2c1edfcf
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
78986af44e
Bug 741250 - Fix "ASSERTION: Item in list without parent". r=bz
2012-04-03 17:37:15 +02:00
Aryeh Gregor
43cd11357a
Bug 738440 - Support queryCommandState("stylewithcss"); r=ehsan
2012-03-23 15:03:42 -04:00
Aryeh Gregor
9bb98b7878
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
e0627db572
Bug 741666 - Fix copying touchEvents if someone holds a reference. r=smaug
2012-04-04 10:08:53 -07:00
Doug Turner
8590a18d16
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
b385515a72
Bug 742395 - restrict device sensor events to windows. r=smaug
2012-04-04 09:26:12 -07:00
Makoto Kato
721f0bcd98
Bug 737966 - Evaluating nsIXMLHttpRequest.responseText throws on certain parsing errors. r=sicking
2012-04-04 20:59:02 +09:00
Marco Bonardo
ee37f02006
Merge central to inbound
2012-04-04 13:39:52 +02:00
Igor Bukanov
3a859b7a76
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
26e9a6a204
Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger
2012-04-04 11:15:10 +02:00
Boris Zbarsky
224115946f
Bug 742217. Reduce the use of nested namespaces in our binding code. r=peterv,bent
...
In the new setup, all per-interface DOM binding files are exported into
mozilla/dom. General files not specific to an interface are also exported into
mozilla/dom.
In terms of namespaces, most things now live in mozilla::dom. Each interface
Foo that has generated code has a mozilla::dom::FooBinding namespace for said
generated code (and possibly a mozilla::bindings::FooBinding_workers if there's
separate codegen for workers).
IDL enums are a bit weird: since the name of the enum and the names of its
entries all end up in the same namespace, we still generate a C++ namespace
with the name of the IDL enum type with "Values" appended to it, with a
::valuelist inside for the actual C++ enum. We then typedef
EnumFooValues::valuelist to EnumFoo. That makes it a bit more difficult to
refer to the values, but means that values from different enums don't collide
with each other.
The enums with the proto and constructor IDs in them now live under the
mozilla::dom::prototypes and mozilla::dom::constructors namespaces respectively.
Again, this lets us deal sanely with the whole "enum value names are flattened
into the namespace the enum is in" deal.
The main benefit of this setup (and the reason "Binding" got appended to the
per-interface namespaces) is that this way "using mozilla::dom" should Just
Work for consumers and still allow C++ code to sanely use the IDL interface
names for concrete classes, which is fairly desirable.
--HG--
rename : dom/bindings/Utils.cpp => dom/bindings/BindingUtils.cpp
rename : dom/bindings/Utils.h => dom/bindings/BindingUtils.h
2012-05-03 00:35:38 -04:00
Tom Schuster
0fe26d128c
Bug 711843 - Update JSAPI for typed arrays, remove uses of jstypedarray.h outside the engine [r=Waldo,bz,Ms2ger,bholley,bjacob,philikon,evilpie,bent,yourmama] [a=mfinkle thanks to gkw]
2012-01-14 09:43:00 -08:00
Ryan VanderMeulen
748a97a1ee
Back out 149a80dafcb8 (bug 686913) due to build failures. a=YUNoTry?
2012-04-21 17:48:31 -04:00
Matthew Schranz
6d3d2ebee0
Bug 686913 - HTMLProgressElement and HTMLMeterElement should not be form controls. r=mounir, a=mfinkle
2012-04-21 17:35:42 -04:00
Jonathan Kew
47286126f0
bug 745780 - update harfbuzz code to upstream commit 3cde23664fbbe9cd2ac1b8fd5eb2ea288309cc9c (2012-04-17). r=jdaggett a=mfinkle
2012-04-21 22:24:39 +01:00
Benoit Jacob
86217acddb
Bug 736481 - 7/7 - ForceLoseContext should not do anything on already lost context awaiting event - no review, a=blocking-fennec
...
Sorry for this little no-review patch. I meant to roll this into another of the patches for review and apparently forgot. It's 3 lines and quite trivial.
2012-04-21 16:48:22 -04:00
Benoit Jacob
1b53206894
Bug 736481 - 6/7 - WebGL lost context handling: check if we still have a canvas - r=jgilbert, a=blocking-fennec
2012-04-21 16:48:22 -04:00
Benoit Jacob
674aed832a
Bug 736481 - 5/7 - make memory-pressure observer lifetime match WebGL context lifetime - r=jgilbert, a=blocking-fennec
2012-04-21 16:48:22 -04:00
Benoit Jacob
b5fa6b73b1
Bug 736481 - 4/7 - WebGL lost contexts: remove ShouldEnableRobustnessTimer, rename Robustness to ContextLoss - r=jgilbert, a=blocking-fennec
2012-04-21 16:48:22 -04:00
Benoit Jacob
206692bdfa
Bug 736481 - 3/7 - Add missing checks for lost WebGL contexts - r=jgilbert, a=blocking-fennec
2012-04-21 16:48:22 -04:00
Benoit Jacob
3c1e40fdd9
Bug 736481 - 2/7 - lose WebGL context on memory-pressure events - r=jgilbert, a=blocking-fennec
2012-04-21 16:48:22 -04:00
Benoit Jacob
7e0123bd58
Bug 736481 - 1/7 - simplification in WebGL lost context handling - r=jgilbert, a=blocking-fennec
2012-04-21 16:48:22 -04:00
Matt Brubeck
fbe5dd5a57
Bug 743325 - Back out 554ab0a2f470 (bug 734503) because it broke touch events in XUL Fennec [r=peterv]
2012-04-24 07:51:56 -07:00
Jared Wein
5c1c03e064
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
a2f68f19c5
Bug 736563 - mark global objects held by live windows black during GC. r=smaug
2012-03-27 12:22:10 -07:00
Ian Melven
00527c918a
Bug 650386 - CSP should not follow redirects for report-uri r=jst
2012-03-27 10:55:50 -07:00
Justin Lebar
d8d5c35fdb
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
aad2ed2d73
Bug 731162 - Zap nsIParser::Parse(const nsAString&, ...). r=smaug.
2012-03-27 09:27:45 +03:00
Masayuki Nakano
acf546c04a
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
832858eb8d
Bug 738744 - Fix "ASSERTION: Form controls should always have parents". r=bz
2012-03-26 17:52:39 -07:00
Boris Zbarsky
c146ad9e16
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
746c6fda8d
Bug 678695 - Settings API. r=sicking, fabrice, smaug
2012-03-26 14:49:38 -07:00
Benoit Jacob
97aa7c28db
Bug 734423 - further WebGL test upgrade to 1.0.1 r17159 - no review
2012-03-26 17:54:08 -04:00
Benoit Jacob
343931424b
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
fa875e1658
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
7acfec9dc1
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
1ae2806ea3
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
27f43955f9
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
d4695bccc5
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
4a32c8a3a9
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
f6d538bf5d
Bug 301705: Don't throw when XMLHttpRequest.status is gotten too early. r=bz
2012-03-26 01:40:09 -07:00
Chris Pearce
5d037cdaf0
Bug 726400 - Backed out changeset 4ad6c040729f. r=backout.
2012-03-26 14:41:14 +13:00
Christopher De Cairos
49bf77143e
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
f0b85848e1
Back out c4a4b0171b99 (bug 736400) for Android build bustage
2012-03-25 15:35:37 -07:00
Christopher De Cairos
b9927ed2b5
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
59d0282757
Bug 734855 - Rename DeviceMotion to DeviceSensors. Review comments address r=mwu
2012-03-24 17:30:03 -07:00
Doug Turner
46f2d3abe9
Bug 734855 - Device Orientation - Make EnableDeviceMotion finer grain. r=mwu
2012-03-24 17:29:49 -07:00
Igor Bukanov
77f4a42ed3
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
21e24f0ef9
Merge mozilla-central and mozilla-inbound
2012-03-24 09:05:27 -07:00
Henri Sivonen
4e93a91b3a
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
db93a05ce9
Bug 736686 - Part 2: Implement Blob constructor in Worker. r=jonas, bent
2012-03-24 12:33:59 +01:00
Dão Gottwald
63ed9dae81
Backed out changeset 30798fdc5bad
2012-03-24 12:33:30 +01:00
Peter Van der Beken
4c5904d14e
Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap
2012-03-16 16:44:09 +01:00
Jared Wein
4920fd9f8d
Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage
2012-03-23 11:46:12 -07:00
Jared Wein
f8f1ab78c2
Backed out changeset 29a7f9d3d4c4 (bug 730318) r=bustage
2012-03-23 11:45:27 -07:00
Marco Bonardo
d525c9e71e
Merge last green PGO from inbound to central
2012-03-23 12:49:57 +01:00
Patrick McManus
15a48d8534
bug 599164 pipeline with type and state r=honzab
2012-03-22 19:39:31 -04:00
Jared Wein
443e237020
Bug 730318 - Forgot to add braces to if condition. r=khuey
2012-03-22 14:03:04 -07:00
Jared Wein
589f9135f9
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
49f3d44f9e
Bug 732495 - clean up refcounting for nsXBLDocumentInfo creation to fix leak. r=smaug
2012-03-22 13:46:03 -07:00
Aryeh Gregor
6f53ae344d
Bug 366944 - Range.surroundContents should throw InvalidNodeTypeError early; r=smaug
2012-03-21 14:06:50 -04:00
Andrew McCreight
d45c3cf020
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
59385f3d50
Bug 737060 - don't traverse nsXULTemplateBuilder with observed document. r=bent
2012-03-22 08:37:18 -07:00
Henri Sivonen
3dfb9fb844
Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug.
2012-03-22 16:42:42 +02:00
Jim Mathies
b3261a33f5
Bug 737983 - win8 fixup for generic keyword collision, r=smaug.
2012-03-22 09:18:41 -05:00
Boris Zbarsky
a28dd19efa
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
28b3f06f02
Bug 737814 - Mark nsIHTMLContentSink as obsolete. r=smaug. DONTBUILD
2012-03-22 08:34:29 +02:00
Nicholas Nethercote
616b0f275a
merge
2012-03-21 21:48:40 -07:00
Nicholas Nethercote
256772d52e
Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me.
2012-03-21 21:46:27 -07:00
Boris Zbarsky
c7ada79040
Bug 700981 part 5. Reduce the amount of time spent calling GetBindingParent(). r=smaug
2012-03-22 00:10:51 -04:00
Boris Zbarsky
18a69aa2ec
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
c353384b08
Bug 700981 part 3. Inline nsNodeUtils::ParentChainChanged. r=smaug
2012-03-22 00:10:51 -04:00
Boris Zbarsky
0993b53f4e
Bug 700981 part 2. Get rid of nsStyledElement::BindToTree/UnbindFromTree. r=smaug
2012-03-22 00:10:51 -04:00
Boris Zbarsky
d787c15480
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