Commit Graph

6321 Commits

Author SHA1 Message Date
David Zbarsky
0180c76147 Bug 856962: Move Touch to its own file r=Ms2ger
--HG--
rename : content/events/src/nsDOMTouchEvent.cpp => content/events/src/Touch.cpp
rename : content/events/src/nsDOMTouchEvent.h => content/events/src/Touch.h
2013-04-05 04:49:00 -04:00
Ms2ger
c89f422b19 Revert to changeset 4c45dbd81a32 to fix mochitest-chrome orange. 2013-04-05 09:40:13 +02:00
Boris Zbarsky
1406c535d2 Bug 850090. Don't assert things about our stylesheets during unlink, since our state can be kinda inconsistent then. r=smaug 2013-04-05 00:57:39 -04:00
Ryan VanderMeulen
e21d7c4218 Backed out changesets 715fce49a07b and abbc05319449 (bug 851916) for B2G mochitest-2 orange.
--HG--
rename : dom/imptests/webapps/DOMCore/tests/submissions/Ms2ger/ChildNode-remove.js => dom/imptests/webapps/DOMCore/tests/submissions/Ms2ger/test_ChildNode-remove.js
2013-04-04 12:02:50 -04:00
Ryan VanderMeulen
14b8ba5455 Bug 855730 - Disable test due to high failure rate. 2013-04-04 09:41:29 -04:00
Ms2ger
2fef74cc6d Merge m-c to m-i. 2013-04-04 14:15:56 +02:00
Ms2ger
957e2e77af Bug 854196 - Don't call GetWindowInternal directly, and make assertions harder to ignore; r=bz 2013-04-04 09:03:26 +02:00
Tanvi Vyas
e3d3299f40 Bug 855730 - Originally extended the timeout to 10 seconds to see if that would provide us data about the intermittent failure. Extended timeout is causing too many oranges and a longer timeout does not prevent the failures. r=smaug 2013-04-03 15:21:19 -07:00
Eitan Isaacson
79a685a6a4 Bug 525444 - (Part 1/3) Basic SpeechSynthesis setup and voice registration. r=smaug
--HG--
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/moz.build
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/test/moz.build
2013-04-03 15:13:16 -07:00
Aryeh Gregor
62c7f52161 Bug 851916 part 2 - createHTMLDocument() should work with no arguments; r=bz 2013-03-21 14:55:08 +02:00
Drew Willcoxon
345295f71d Bug 723163 - Improve about:crashes copy & paste by improving XHTML text/plain encoding. r=hsivonen,njn 2013-04-03 11:39:06 -07:00
matekm
00c2965124 Bug 784739 - Switch from NULL to nullptr in content/; r=ehsan
--HG--
extra : rebase_source : cfdb682506acc14ec811e21ae42f067950e1ff0c
2013-04-02 21:14:24 -04:00
Nathan Froyd
0a8a82bada Bug 839103 - part 3 - send StyleSheet{Added,Removed} chrome notifications when stylesheets are added/removed; r=bz 2013-03-27 14:16:50 -04:00
Nathan Froyd
b2aae26008 Bug 839103 - part 1 - factor out StyleSheet{Added,Removed} notifications into separate nsDocument methods; r=bz 2013-03-27 11:20:54 -04:00
Kyle Huey
c1ef5de8fc Bug 854799: Make image.src='' discard the image immediately even if the image is not in the document. r=jlebar 2013-04-03 09:52:25 -07:00
Matthew Gregan
97ff5f7d61 Bug 855570 - Deprecate Audio Data API. r=ehsan 2013-03-28 14:36:29 +13:00
Tanvi Vyas
20b4cf81b2 Bug 855730 - To determine the root of the intermittent failures in the last mochitest from bug 840388, rearrange the tests so that the failing test is not the last test. Do this by first running the tests with the mixed active content allowed and then run them with mixed active content blocked. r=smaug 2013-04-02 17:23:41 -07:00
Matt Brubeck
0112a4cd84 Back out bug 839103 for build errors on a CLOSED TREE 2013-04-02 08:18:27 -07:00
Nathan Froyd
2ff029b601 Bug 839103 - part 3 - send StyleSheet{Added,Removed} chrome notifications when stylesheets are added/removed; r=bz 2013-03-27 14:16:50 -04:00
Nathan Froyd
9d6d884187 Bug 839103 - part 1 - factor out StyleSheet{Added,Removed} notifications into separate nsDocument methods; r=bz 2013-03-27 11:20:54 -04:00
Boris Zbarsky
8497d2e6a5 Bug 856752. Reinstate Node.hasAttributes. r=khuey 2013-04-02 00:04:19 -04:00
Gabor Krizsanits
26d5b45a24 Bug 820170 - documents should know their globals. r=smaug 2013-04-04 11:32:29 +02:00
Gabor Krizsanits
4995dd1d6c Bug 820170 - nsDOMEventTarget holds a global. r=smaug 2013-04-04 11:30:36 +02:00
Gabor Krizsanits
b999241fc8 Bug 820170 - using nsIGlobalObject in documents. r=smaug 2013-04-04 11:27:41 +02:00
Gabor Krizsanits
fa14b1b757 Bug 820170 - Weak ref support for globals. r=bholley 2013-04-04 11:27:40 +02:00
Gabor Krizsanits
c38a4cd7da Bug 820170 - Turning BackstagePass into non-singleton. r=bholley 2013-04-04 11:27:38 +02:00
Gabor Krizsanits
23e12dce05 Bug 820170 - nsIGlobalObject. r=bholley 2013-04-04 11:27:06 +02:00
Gabor Krizsanits
670b243606 Bug 820170 - merge scope members on nsDocument. r=smaug 2013-04-04 11:24:40 +02:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Randell Jesup
f2b7036deb Bug 855623: DataChannel DOM changes for adding 'protocol' and external negotiation r=smaug 2013-03-31 21:09:25 -04:00
L. David Baron
7954febd82 Note bug number (bug 846137) for assertion annotation. 2013-03-31 00:50:29 -07:00
Ms2ger
2da2c38f03 Bug 853158 - Update the uuid of nsIDOMEventTarget and subclasses. 2013-03-30 10:45:37 +01:00
Boris Zbarsky
17e7741d9a Bug 851781. Make sure that we don't reenter scriptblocker removal when we don't expect to. r=smaug 2013-03-30 00:13:52 -04:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Tanvi Vyas
f05a952b19 Bug 855730 - Logging patch to see if I can determine the cause of the failures in bug 840388's mochitests. r=smaug 2013-03-29 11:54:18 -07:00
Joel Maher
88f3456d4d Bug 685652 - we need a pushPermissionsEnv equivalent to pushPrefEnv in SpecialPowers. r=jdm 2013-03-29 08:43:27 -04:00
Tanvi Vyas
6e7ae74bf9 Bug 855730 - Extend the mochitest timeout for file_mixed_content_frameNavigation_secure_grandchild.html to 10 seconds instead of 5 seconds to prevent intermittent tests failures. r=smaug 2013-03-28 21:31:54 -04:00
Sid Stamm
9cffa13ce4 Bug 687086 - change nsIContentSecurityPolicy to return two values, shouldBlock and shouldReportViolation. r=bz 2012-10-15 13:54:58 -07:00
Bobby Holley
802ee774c5 Bug 790732 - Fix miscellaneous Components proliferation. r=me 2013-03-28 14:26:02 -07:00
Terrence Cole
9801ecf36c Bug 855145 - DeMACROize the JS tracing interfaces; r=billm,mccr8
--HG--
extra : rebase_source : 915c80052b4412f653033eb5fc4d4f96c5d49bd5
2013-03-26 15:10:34 -07:00
Tanvi Vyas
c163ea270b Bug 834836 - CSP - Fix tests that break when security.mixed_content.block_active_content is set to true and if/when security.mixed_content.block_display_content is set to true. r=sstamm 2013-03-28 13:18:44 -07:00
Andrea Marchesini
77ae8010d9 Bug 825196 - Rename nsHTMLInputElement to HTMLInputElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLInputElement.cpp => content/html/content/src/HTMLInputElement.cpp
rename : content/html/content/src/nsHTMLInputElement.h => content/html/content/src/HTMLInputElement.h
2013-03-28 15:41:32 -04:00
Sid Stamm
78cd3bd3a4 Bug 832398 - change default-source to default-src in CSP error messages. r=l10n
--HG--
extra : rebase_source : 019f24639e72481cd31c1f935dd657d42c99dd26
2013-03-28 10:05:51 -07:00
Peter Van der Beken
9ce6bfc722 Fix for bug 820657 (Implement the NamedGetter functionality on HTMLDocument) - implement GetSupportedNames on HTMLDocument. r=bz.
--HG--
extra : rebase_source : 3d97a79286b3c4ec15f1515219d853e1914d739e
2013-03-27 18:15:37 +01:00
Gina Yeh
74476548cd Bug 853200 - Remove unused event handlers from idl, r=echou, sr=mrbkap 2013-03-28 18:05:58 +08:00
Daniel Holbert
7f2b6d4e18 Bug 840388 followup: Remove completely unused variable 'chromeParent' introduced in cf276949f2b6, to fix unused variable build warning. (trivial patch, no review) 2013-03-28 00:08:53 -07:00
Tanvi Vyas
1addbe8c8a Bug 841850 - Mochitests. r=smaug 2013-03-27 22:24:04 -07:00
Tanvi Vyas
d6f9bba4b9 Bug 840388 - Mochitests that navigate https frames to http frames, both when a secure parent exists and when no secure parents exist. Tested with the mixed active content pref enabled and disabled. r=smaug 2013-03-27 22:11:59 -07:00
Tanvi Vyas
7754617c3c Bug 840388 - Check if a iframe has any https parents. If not, then there is no mixed content since we are not on a secure page. r=smaug 2013-03-27 22:11:55 -07:00
David Zbarsky
3c59b61d13 Bug 840417 Part 1: Move nsIDOMSVGElement up to nsSVGElement r=Ms2ger 2013-03-27 21:23:09 -04:00
Randell Jesup
1b2f6d1c80 Bug 842126: Avoid deadlock if we can't send an Open message r=mcmanus 2013-03-27 19:46:48 -04:00
Guilherme Goncalves
c48d442559 Bug 650295 - Implement main state machine for speech recognition. r=smaug 2013-03-27 14:13:57 -07:00
Ryan VanderMeulen
d86ac55e7c Backed out changeset 01ed911e67e1 (bug 685652) for possibly being the real OSX 10.6 mochitest-other culprit. r=OJ 2013-03-27 17:05:52 -04:00
Joel Maher
79f15d62bf Bug 685652 - we need a pushPermissionsEnv equivalent to pushPrefEnv in SpecialPowers. r=jdm 2013-03-27 15:04:39 -04:00
Phil Ringnalda
caf3a38549 Back out bd91df842f2f (bug 840388)
CLOSED TREE
2013-03-26 20:34:02 -07:00
Phil Ringnalda
ab08c180ef Back out 196fbc36c878 (bug 840388) for asserting
CLOSED TREE
2013-03-26 20:18:34 -07:00
Tanvi Vyas
d1a8b8aecb Bug 840388 - Mochitests that navigate https frames to http frames, both when a secure parent exists and when no secure parents exist. Tested with the mixed active content pref enabled and disabled. r=smaug 2013-03-26 16:22:00 -07:00
Tanvi Vyas
4933a3f53b Bug 840388 - Check if a iframe has any https parents. If not, then there is no mixed content since we are not on a secure page. r=smaug 2013-03-26 16:20:39 -07:00
Boris Zbarsky
369ffe5696 Bug 848796 part 2. Add WebIDL API for XULDocument. r=peterv 2013-03-26 11:31:53 -04:00
Boris Zbarsky
0944e82e31 Bug 848796 part 1. Rename nsXULDocument to mozilla::dom::XULDocument. r=ms2ger
--HG--
rename : content/xul/document/src/nsXULDocument.cpp => content/xul/document/src/XULDocument.cpp
rename : content/xul/document/src/nsXULDocument.h => content/xul/document/src/XULDocument.h
2013-03-26 11:31:53 -04:00
Jan Varga
8ed93ed02a Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent 2013-03-26 12:13:17 +01:00
William Chen
9ec88d1fbb Bug 818976 - Part 2: Implement template element interface. r=mrbkap,bz 2013-03-26 00:15:23 -07:00
Jose Cortes
9afd8ef534 Bug 842186 - Replace instances of jsval with JS::Value in the content/base directory. r=jwalden
--HG--
extra : rebase_source : a5b36ffacf32b74b4d58373ad1d1ac769859bed1
2013-03-22 22:11:52 -07:00
Benoit Girard
fc10a7cfe4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
9d12529d78 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Henri Sivonen
3ecde32d00 Bug 853170 - Revise the IID of nsIXMLHttpRequest as a follow-up to bug 843508. r=smaug. 2013-03-25 18:02:49 +02:00
Peter Van der Beken
7ad60eda0b Fix for bug 852979 (Remove unused nsContentUtils::JSArrayToAtomArray). r=smaug.
--HG--
extra : rebase_source : c61c3477d5686956a44d45685c59c0a3415dc3c3
2013-03-25 12:19:11 +01:00
Bobby Holley
bcb7ce6f0a Bug 854019 - Continue checking the XBL bit if remote XUL disables XBL scopes. r=bz 2013-03-24 09:27:10 -07:00
Olli Pettay
b83c5a57ac Bug 737100 - Extend Pointer Lock (Mouse Lock) for non-fullscreen elements, p=smaug,dolske, r=cpearce,dolske,smaug 2013-03-24 12:32:44 +02:00
Simon Montagu
9e9cb640e2 Set AncestorHasDirAuto on the descendants of a <bdi> having its dir attribute removed or set to an invalid value. Bug 849732, r=ehsan 2013-03-24 11:27:03 +02:00
Simon Montagu
dc0b05a650 Don't rerun the downward propagation algorithm from ResetNodeDirection after an element has had dir=auto removed. Bug 849727, r=ehsan 2013-03-24 11:27:02 +02:00
Mounir Lamouri
bdd72ba9e1 Bug 849438 - Searches in ListControlFrames should ignore &nbsp;. r=bz 2013-03-22 17:52:52 +00:00
Terrence Cole
2ae4b3c000 Bug 851340 - Make the rooting of scripts in nsXULPrototypeCache more efficient; r=smaug 2013-03-19 10:20:21 -07:00
David Zbarsky
5cc0fcdcdf Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
David Zbarsky
9a11ed834c Bug 847007: Remove nsIDocument includes r=Ms2ger 2013-03-21 20:05:19 -04:00
John Schoenick
3a3f711de5 Bug 843671 - Followup, properly rev interface IID. r=me DONTBUILD 2013-03-21 16:46:44 -07:00
Tom Schuster
c7dee7583c Bug 736324 - Give blob urls content-disposition filename based on the file. r=sicking 2013-03-21 23:23:48 +01:00
Ehsan Akhgari
bc42d0d0df Bug 853567 - Fix nsTArray::SetCapacity callers in nsContentIterator to not look at the return value; r=bzbarsky
--HG--
extra : rebase_source : ec485d86b13bfea3f27e51a793cdbb6937f83aee
2013-03-21 14:52:48 -04:00
Mike Shal
c2a9341a2e Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Aryeh Gregor
b5a262279a Bug 849661 - Remove support for Node.hasAttributes(); r=bz 2013-03-21 14:48:32 +02:00
Olli Pettay
5ffd2c48e3 Bug 849601, no need to have explicit AutoMutationBatch when setting outerHTML, r=bz 2013-03-21 11:37:14 +01:00
Johnny Stenback
f735d2b3ee Fixing bug 781310. Change nsPluginHost::GetInst() to return already_AddRefed<nsPluginHost> to make it harder to write leaky code. r=jschoenick@mozilla.com 2013-03-20 11:29:00 -07:00
John Schoenick
0262903d6f Bug 784131 - Kill plugins that become unrendered (e.g. display:none). r=josh 2013-03-20 14:29:23 -07:00
John Schoenick
d3237364ad Bug 784131 - nsObjectLoadingcontent: Minor cleanup around mPendingInstantiateEvent. r=josh 2013-03-20 14:29:23 -07:00
John Schoenick
ea1399f5ed Bug 784131 - Cleanup some dead code from nsObjectLoadingContent. r=josh 2013-03-20 14:29:23 -07:00
John Schoenick
961e5573aa Bug 843671 - Fix plugin instance owner teardown. r=bsmedberg 2013-03-20 14:29:22 -07:00
John Schoenick
aa811f364c Bug 851378 - Notify owning content when we destroy plugins from under it. r=bsmedberg 2013-03-20 14:29:22 -07:00
John Schoenick
9035b2d85a Bug 851378 - Move removing the plugin prototype from objects to content. r=bsmedberg 2013-03-20 14:29:21 -07:00
Ted Mielczarek
bc92001c0b bug 604039 - Add DOM Gamepad APIs. r=smaug
--HG--
extra : rebase_source : ffffdc4549da1b25ea263b623c05ae1afb3d46a0
2011-08-03 14:12:08 -04:00
Boris Zbarsky
48065c3f32 Bug 848386 part 4. Rename nsXMLDocument to mozilla::dom::XMLDocument. r=peterv
--HG--
rename : content/xml/document/src/nsXMLDocument.cpp => content/xml/document/src/XMLDocument.cpp
rename : content/xml/document/src/nsXMLDocument.h => content/xml/document/src/XMLDocument.h
2013-03-20 12:22:26 -04:00
Boris Zbarsky
4a58e1fb8c Bug 848386 part 2. Implement a WebIDL equivalent for nsDocumentSH::PostCreate setting up the document as an own property on the Window. r=peterv 2013-03-20 12:22:26 -04:00
Boris Zbarsky
f5d074fcf0 Bug 852118. Stop window.name being malloc-happy. r=smaug 2013-03-19 21:47:47 -04:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ryan VanderMeulen
1cfe288152 Backed out changeset 2b2de9cc2f59 (bug 849438) for B2G mochitest failures. 2013-03-19 16:44:14 -04:00
Joe Drew
daa0ea8330 Bug 850441 - Allow BlockOnload/UnblockOnload from both the current and pending request. r=khuey
--HG--
extra : rebase_source : cd7bdc9f91b478be60fed5572dc8ee5e3faae380
2013-03-12 18:13:40 -04:00
Jared Wein
5f4a7a8d85 Bug 851230 - Framed plain text documents should not have word wrap applied. r=bz 2013-03-19 16:30:53 -04:00
Mounir Lamouri
cdeb0510c2 Bug 849438 - Searches in ListControlFrames should ignore &nbsp;. r=bz 2013-03-19 18:24:35 +00:00
Trevor Saunders
8b11739fc1 bug 852379 - remove unecessary nsHashtable.h includes r=Ms2ger 2013-03-18 21:18:26 -04:00
Nathan Froyd
01a9f0728d Bug 852194 - remove #include "nsIURI.h" from a couple content/ headers; r=smaug 2013-03-18 11:38:19 -04:00
Andrea Marchesini
8c4773bbdb Bug 841493 - Rename nsHTMLMediaElement to HTMLMediaElement, r=Ms2ger
--HG--
rename : content/html/content/public/nsHTMLMediaElement.h => content/html/content/public/HTMLMediaElement.h
rename : content/html/content/src/nsHTMLMediaElement.cpp => content/html/content/src/HTMLMediaElement.cpp
2013-03-19 13:23:54 +01:00
Trevor Saunders
67dff5d95a bug 850797 - add nsIDocument::IsVisibleConsideringAncestors() r=bz 2013-03-16 00:13:38 -04:00
Ian Melven
81f3218bcf Bug 846458 - intermittent TEST-UNEXPECTED-PASS | /tests/content/base/test/test_bug548193.html | Assertion count 0 is less than expected range 1-1 assertions. (r=sstamm) 2013-03-18 12:43:21 -07:00
Ed Morley
b2109c458f Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
664cf994b4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
c4c6a0ddf5 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Blake Kaplan
9d7aed4e2b Bug 850676 - test_mixed_content_blocker_bug803225.html is causing docshell/test/navigation tests to fail. r=tanvi 2013-03-18 09:19:15 -04:00
Gregory Szorc
2288b28e43 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Boris Zbarsky
f257517c68 Bug 846972 part 2. Add the WebIDL APIs for StyleSheet and CSSStyleSheet. r=peterv 2013-03-17 10:42:59 -04:00
Ms2ger
2ef57946b1 Merge m-c to m-i. 2013-03-17 13:22:37 +01:00
Ms2ger
efad9ae54c Bug 844134 - Move the 'attributes' property from Node to Element; r=sicking 2013-03-17 09:51:34 +01:00
Ms2ger
ded9d214d0 Bug 850817 - Move ClientRect to Paris bindings; r=bz
--HG--
rename : dom/interfaces/base/nsIDOMClientRect.idl => dom/webidl/ClientRect.webidl
2013-03-17 08:55:17 +01:00
Ms2ger
22922b6e92 Bug 851025 - Remove nsLayoutUtils::RectListBuilder::mRv; r=bz 2013-03-17 08:55:16 +01:00
Ms2ger
8851a21b17 Bug 845374 - Part t: Stop including js/Value.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
d52bebdeb3 Bug 845374 - Part s: Stop including nsTArray.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
9186374e0a Bug 845374 - Part q: Stop including nsThreadUtils.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
d5f9e6c8c7 Bug 845374 - Part p: Stop including nsDataHashtable.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
8e3b668e74 Bug 845374 - Part o: Stop including nsIDOMEvent.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
772cf802cf Bug 845374 - Part n: Stop including nsINode.h and nsIDOMNode.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
a4fa8a21ff Bug 845374 - Part m: Move nsContentUtils::PositionIsBefore out of line; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
a2173990cc Bug 845374 - Part l: Stop including nsIDocument.h in nsContentUtils.h and fix two nits; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
597a4c9da4 Bug 845374 - Part k: Stop including nsIContent.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
8834dd56c9 Bug 845374 - Part j: Stop including nsIXPCScriptable.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
7605f09582 Bug 845374 - Part i: Stop including nsNodeInfoManager.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
8324213971 Bug 845374 - Part h: Move nsContentUtils::NameChanged out of line; r=khuey 2013-03-17 08:55:14 +01:00
Ms2ger
96307a5c9b Bug 845374 - Part g: Stop including nsContentSink.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:13 +01:00
Ms2ger
f8e13f3750 Bug 845374 - Part f: Create a new nsDocElementCreatedNotificationRunner.h; r=khuey
--HG--
rename : content/base/public/nsContentUtils.h => content/base/public/nsDocElementCreatedNotificationRunner.h
2013-03-17 08:55:12 +01:00
Ms2ger
35ae411e5a Bug 845374 - Part e: Stop including nsContentList.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:11 +01:00
Ms2ger
61e9484cdd Bug 845374 - Part d: Create a new nsContentListDeclarations.h that doesn't include the world; r=khuey 2013-03-17 08:55:10 +01:00
Ms2ger
f895b31cb6 Bug 845374 - Part c: Stop including nsHtml5StringParser.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:09 +01:00
Ms2ger
f598c02361 Bug 845374 - Part a: Sort includes and forward declarations in nsContentUtils.{h,cpp}; r=khuey 2013-03-17 08:55:08 +01:00
Bill McCloskey
a3cea08b3a Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Mook
c586d3ca6e bug 851674: content: nsContentUtils::CheckForSubFrameDrop: don't dereference null pointer (r=smaug) 2013-03-15 15:02:01 -07:00
Ian Melven
d96c67aee3 Bug 849791 - Frame DocShells do not inherit sandbox flags from their parents (r=bz) 2013-03-15 10:25:31 -07:00
Neil Deakin
290c58715c Bug 850198, Fix null pointer checks on clipboardData when clipboard events preference is false, r=smaug 2013-03-12 14:50:05 -04:00
Aryeh Gregor
2402979f16 Bug 801562 - Remove Node.isSupported; r=bz
--HG--
rename : content/svg/content/test/test_isSupported.xhtml => content/svg/content/test/test_hasFeature.xhtml
2013-03-15 12:21:52 +02:00
Kyle Huey
5cc4b3a90c Bug 788999: Disable the test on Mountain Lion. 2013-03-13 09:40:55 -07:00
Gregory Szorc
ed102f4876 Merge mozilla-central into build-system 2013-03-13 08:20:09 -07:00
Gregory Szorc
94e8454958 Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Mike Shal
e9f8bc0fbd Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
7bb3ee056b Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Nathan Froyd
63c8112935 Bug 849866 - fix signed/unsigned comparison warning in nsDocument::Register; r=smaug 2013-03-11 12:26:17 -04:00
Neil Deakin
3bb302fb42 Bug 407983, add support for clipboardData in cut/copy/paste events, r=ehsan,sr=smaug 2013-03-11 11:49:48 -04:00
Trevor Saunders
43728598df bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Ryan VanderMeulen
fcb4a10dd4 Backed out changeset 71190bec18a7 (bug 817058) for build bustage. 2013-03-12 10:11:25 -04:00
Tobias Netzel
e6dceba144 Bug 817058 - AltiVec acceleration for nsTextFragment. r=jst, r=bz 2013-03-12 09:57:30 -04:00
David Zbarsky
de664e1f9c Backout bug 830221 so binary addons can create DOMImplementation 2013-03-12 17:31:53 -04:00
Ms2ger
2cf07efa15 Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey
--HG--
rename : dom/interfaces/core/nsIDOMNamedNodeMap.idl => dom/interfaces/core/nsIDOMMozNamedAttrMap.idl
2013-03-10 09:00:33 +01:00
Ms2ger
c910249aca Bug 847144 - Rename Element::GetAttributes() to Attributes() and remove null-checks; r=mounir 2013-03-10 08:58:47 +01:00
Ms2ger
611b265ab7 Bug 802560 - Handle the second argument to DOMImplementation.createDocument correctly; r=bz 2013-03-10 08:58:42 +01:00
Ms2ger
0d3aeed377 Bug 823549 - Make NodeIterator.detach() a no-op; r=mounir 2013-03-10 08:58:25 +01:00
Olli Pettay
e5921ddec1 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
John Schoenick
71a00b3eb8 Backout 9f5cff5a1a3d and 36cde68b1bf4 (Bug 783059) for Android M-1 Orange on a CLOSED TREE 2013-03-08 15:23:43 -08:00
John Schoenick
87fcfa27f0 Bug 783059 - Plugin instantiation tests for embed/object tags. r=josh 2013-03-08 13:21:41 -08:00
Frank Yan
61b4e7cee5 Bug 631473 - Don't consume mouse scroll events outside arrow panels on OS X. r=mstange r=enndeakin 2013-03-08 11:48:48 -08:00
Brian Smith
1d74004842 bug 750421 - remove unnecessary nsIBadCertListener2 and nsISSLErrorListener implementations r=mayhemer r=mounir r=dolske 2013-03-06 11:25:03 -08:00
Simon Montagu
45d3149032 Move WalkDescendantsClearAncestorDirAuto from BeforeSetAttr to OnSetDirAttr to simplify the test for elements that had dir=auto but no longer do, especially <bdi>. Bug 845093, r=ehsan 2013-03-07 22:53:08 +02:00
Simon Montagu
2d6ebbff86 Make sure not to return the old text node in ResetNodeDirection. Bug 845093, r=ehsan 2013-03-07 22:53:08 +02:00
Simon Montagu
e0a88835d2 Set the AncestorHasDirAuto flag for all new text nodes that need it. Bug 847127, r=ehsan 2013-03-07 22:53:07 +02:00
Simon Montagu
95d3d6b7aa Testcase from bug 847127, r=ehsan 2013-03-07 22:53:07 +02:00
Jon Coppeard
8d5fd16382 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 35cbf3cc4da4598c2e9e6975028ef397718849db
2013-03-06 16:41:43 +00:00
Ed Morley
fe417ad697 Backed out changeset 28ef4bdff455 (bug 848395) 2013-03-07 13:03:35 +00:00
Jon Coppeard
fa71007e65 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 866879df05e3ec3f8e93570eb3f6b71103636b41
2013-03-06 16:41:43 +00:00
David Zbarsky
93d6530216 Bug 847120: Stop QIing to nsIDOMSVGFilterPrimitiveStandardAttributes r=bz 2013-03-07 02:12:32 -05:00
Joe Drew
50670e143c Bug 841579 - If we start a decode (or a decode is already started) at the time OnStopRequest is fired, wait around for it to finish decoding before firing onload/onerror. r=khuey
--HG--
extra : rebase_source : 75d00d31bcce93e26a9154aacef706a6b55c9135
2013-02-15 11:48:17 -05:00
Nicholas Nethercote
15094e5615 Bug 847236 - Simplify the dead nsEventTargetChainItem objects cache (2nd attempt). r=smaug.
--HG--
extra : rebase_source : c46d667fbcc56bdc1826ea61bc62f656f79c3919
2013-03-04 20:59:29 -08:00
Joe Drew
2b2ae2d87a Back out the code changes from bug 841579 for causing a frequent intermittent failure.
--HG--
extra : rebase_source : 4748bf23718b781128f93364fad3c6ca924a2008
2013-03-06 15:49:40 -05:00
Joe Drew
216bdb5253 Bug 841579 - If we start a decode (or a decode is already started) at the time OnStopRequest is fired, wait around for it to finish decoding before firing onload/onerror. r=khuey
--HG--
extra : rebase_source : b2ca068840c2e4effc8c93fd9e5effe122e8b45e
2013-02-15 11:48:17 -05:00
Kyle Huey
348baf461d Bug 847171: Null check the window before asking IndexedDB to look up transactions. r=bent 2013-03-06 06:29:58 -08:00
Phil Ringnalda
7fbba09df0 Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber 2013-03-11 20:10:18 -07:00
Trevor Saunders
ce1d771eae bug 825341 - fix rebase of WrapObject landing on a CLOSED TREE 2013-03-11 21:26:17 -04:00
Trevor Saunders
3de595d32e bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Masatoshi Kimura
e5e5a90814 Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
John Schoenick
d26e788877 Bug 783059 - Plugin instantiation tests for embed/object tags. r=josh 2013-03-11 11:47:36 -07:00
Bobby Holley
8269003cf1 Bug 844211 - Only check the XBL bit if XBL scopes are disabled. r=bz 2013-03-05 15:16:37 -08:00
Ryan VanderMeulen
1ce2c3fc86 Backed out 5 changesets (bug 790732) for talos-other hangs/crashes on a CLOSED TREE. 2013-03-05 15:44:15 -05:00
Bobby Holley
cf88b2614c Bug 790732 - Remove Components warning and Telemetry. r=mrbkap 2013-03-05 10:01:59 -08:00
Thomas Zimmermann
6834113fd7 Bug 834172 - Implement IsSupportedTypeInVideo in DecoderTraits. r=cpearce
This change moves the policy of supported media types in the element
nsHTMLMediaElement to the DecoderTraits class. The codec-specific code
has been removed from the media element.
2013-03-05 09:56:35 -05:00
William Chen
e750316a3c Bug 847773 - Added override for GetWrapperCache with smart pointer argument to resolve ambiguity in templates. r=bz 2013-03-04 20:30:13 -08:00
William Chen
f3658e2a5e Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap 2012-11-01 11:18:08 -07:00
Nicholas Nethercote
e49dea6837 Bug 847210 - Remove nsNodeInfo::sNodeInfoPool and use vanilla allocation for nsNodeInfo objects. r=smaug.
--HG--
extra : rebase_source : 667a818984e7ce6d22669861992a06e832755dfb
2013-02-28 18:53:49 -08:00
Joe Drew
52a9d66336 Backed out 2 changesets (bug 841579) on a CLOSED TREE
Backed out changeset d21d144e3db9 (bug 841579)
Backed out changeset 0222cb048028 (bug 841579)
2013-03-04 17:27:51 -05:00
Joe Drew
cd9a0e5c47 Bug 841579 - If we start a decode (or a decode is already started) at the time OnStopRequest is fired, wait around for it to finish decoding before firing onload/onerror. r=khuey
--HG--
extra : rebase_source : e4a97b3f037df283e89dbcb21d330030b6e35c85
2013-02-15 11:48:17 -05:00
Boris Zbarsky
75f321cec4 Bug 827158 part 11. Move HTMLObjectElement to Web IDL bindings. r=peterv 2013-01-06 18:55:14 -05:00
Boris Zbarsky
c86a1e8dfd Bug 827158 part 10. Implement the WebIDL API for <object>. r=peterv,johns 2013-03-04 14:08:24 -05:00
Boris Zbarsky
c4e50be685 Bug 827158 part 5. Refactor some of the nsHTMLPluginObjElementSH code to be able to work with WebIDL objects. r=peterv,johns 2013-03-04 14:08:23 -05:00
Henri Sivonen
ad623cb811 Bug 844461 - Perform alias resolution on the fallback encoding pref value. r=smontagu. 2013-03-04 20:09:11 +02:00
L. David Baron
ff59a827fa Bug 846096: Bail out of nsRange::ParentChainChanged if the nodes aren't in a connected subtree. r=smaug 2013-03-04 08:37:48 -08:00
Ryan VanderMeulen
b083e97964 Backed out 5 changesets (bug 834172) for Android build bustage. 2013-03-04 11:17:36 -05:00
Thomas Zimmermann
c2d0a094e1 Bug 834172 - Implement IsSupportedTypeInVideo in DecoderTraits. r=cpearce
This change moves the policy of supported media types in the element
nsHTMLMediaElement to the DecoderTraits class. The codec-specific code
has been removed from the media element.
2013-03-04 10:24:44 -05:00
Henri Sivonen
67ec77499c Bug 843508 - Remove support for multipart XHR responses. r=jst. 2013-03-04 11:06:15 +02:00
Mats Palmgren
8741b1a733 Bug 690659 - Bustage fix for clang 3.2. r=Ms2ger 2013-03-03 21:34:47 +01:00
Tom Schuster
1ec55bf3ee Bug 690659 - Test. r=sicking 2013-03-03 19:30:13 +01:00
Tom Schuster
8b65f410d3 Bug 690659 - Add the optional filename parameter to the FormData.append method. r=sicking 2013-03-03 19:30:13 +01:00
Neil Rashbrook
0bab598705 Bug 738952 Make it possible for a stream converter to propagate the actual MIME type to the document r=bz
--HG--
rename : build/mach_bootstrap.py => mach
extra : rebase_source : fdfacff52e126440966a4b989a240eb3517c29d5
2013-03-02 14:23:20 +00:00
Trevor Saunders
60678a2f23 bug 845562 - remove GetFrameSelection() from nsISelectionPrivate r=smaug 2013-02-15 15:09:28 -05:00
Henri Sivonen
105dd69a15 Bug 844792 addendum - Adjust advice about multipart support removal in XHR and make the message non-localizable. r=smaug. 2013-03-01 16:42:39 +02:00
Boris Zbarsky
8b218192b9 Bug 845881. Go back to allowing any 2xx response code to a preflight request, since web sites do that. r=sicking 2013-03-01 00:57:13 -05:00
Boris Zbarsky
4549dd5886 Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods.  That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.

I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired...  But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Boris Zbarsky
595459ff14 Bug 776536 part 3. Add a WebIDL API to NodeIterator and TreeWalker. r=peterv 2013-02-28 12:56:42 -05:00
Boris Zbarsky
2041cda18c Bug 776536 part 2. Rename nsTreeWalker to mozilla::dom::TreeWalker. r=peterv
--HG--
rename : content/base/src/nsTreeWalker.cpp => content/base/src/TreeWalker.cpp
rename : content/base/src/nsTreeWalker.h => content/base/src/TreeWalker.h
2013-02-28 12:56:41 -05:00
Boris Zbarsky
3b744c12b9 Bug 776536 part 1. Rename nsNodeIterator to mozilla::dom::NodeIterator. r=peterv
--HG--
rename : content/base/src/nsNodeIterator.cpp => content/base/src/NodeIterator.cpp
rename : content/base/src/nsNodeIterator.h => content/base/src/NodeIterator.h
2013-02-28 12:56:41 -05:00
Boris Zbarsky
ba0f0bdd1b Bug 832920. Add a way for chrome iframes to opt into having a separate refresh driver (e.g. if they plan to be moved between windows) and make devtools use that opt-in. r=tnikkel,paul 2013-02-22 09:56:28 -05:00
Ryan VanderMeulen
ebcc7ae06a Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE.
--HG--
rename : content/base/src/NodeIterator.cpp => content/base/src/nsNodeIterator.cpp
rename : content/base/src/NodeIterator.h => content/base/src/nsNodeIterator.h
rename : content/base/src/TreeWalker.cpp => content/base/src/nsTreeWalker.cpp
rename : content/base/src/TreeWalker.h => content/base/src/nsTreeWalker.h
2013-02-28 14:41:30 -05:00
Olli Pettay
fee019f92c Bug 845631 - Remove nsXMLHttpProgressEvent, r=sicking
--HG--
extra : rebase_source : e5c6e80fbb656782bfe0f530c778cda9d9f97f0f
2013-02-28 20:53:04 +02:00
Boris Zbarsky
30f64b6cf1 Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods.  That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.

I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired...  But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Boris Zbarsky
80ccb7b83a Bug 776536 part 3. Add a WebIDL API to NodeIterator and TreeWalker. r=peterv 2013-02-28 12:56:42 -05:00
Boris Zbarsky
d703111592 Bug 776536 part 2. Rename nsTreeWalker to mozilla::dom::TreeWalker. r=peterv
--HG--
rename : content/base/src/nsTreeWalker.cpp => content/base/src/TreeWalker.cpp
rename : content/base/src/nsTreeWalker.h => content/base/src/TreeWalker.h
2013-02-28 12:56:41 -05:00
Boris Zbarsky
fd61c32a1a Bug 776536 part 1. Rename nsNodeIterator to mozilla::dom::NodeIterator. r=peterv
--HG--
rename : content/base/src/nsNodeIterator.cpp => content/base/src/NodeIterator.cpp
rename : content/base/src/nsNodeIterator.h => content/base/src/NodeIterator.h
2013-02-28 12:56:41 -05:00
Boris Zbarsky
d044749cdb Bug 832920. Add a way for chrome iframes to opt into having a separate refresh driver (e.g. if they plan to be moved between windows) and make devtools use that opt-in. r=tnikkel,paul 2013-02-22 09:56:28 -05:00
Ms2ger
3813557cac Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Ed Morley
145ed7d7b2 Bug 404077 - Adjust annotations of expected assertions; r=me on a CLOSED TREE 2013-02-28 13:24:36 +00:00
Gregory Szorc
89d297a677 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
f0b7e3972c Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
cd9c6150fe Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
faf262c4ee Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
aa0fed2e03 Bug 784841 - Part 18g: Convert /content; r=glandium 2013-02-25 12:47:19 -08:00
Simon Montagu
aa7eb9f17a Test for bug 844404 2013-02-27 09:32:50 +02:00
Simon Montagu
a36bcf04b0 Test for bug 841205 2013-02-27 09:32:48 +02:00
Ehsan Akhgari
87b07b2898 Bug 844169 - Part 1: Rename nsHTMLIFrameElement to mozilla::dom::HTMLIFrameElement; r=bzbarsky
--HG--
rename : content/html/content/src/nsHTMLIFrameElement.cpp => content/html/content/src/HTMLIFrameElement.cpp
rename : content/html/content/src/nsHTMLIFrameElement.h => content/html/content/src/HTMLIFrameElement.h
extra : rebase_source : 67c393954a0c46f80b8729277504e9ced5c64d33
2013-02-22 19:59:26 -05:00
Timothy Nikkel
43a81594dc Bug 689623. Part 12. Assume images in popups are visible. r=mats 2013-02-24 18:59:23 -06:00
Timothy Nikkel
d65ed2f0df Bug 689623. Part 9. Make images default to visible when they have a frame created for them. r=mats 2013-02-24 18:59:23 -06:00
Timothy Nikkel
8919430d6a Bug 689623. Part 8. Add an 'unlocked draw' notification for images that are drawn when not locked so we catch any images that become visible through a means other than scrolling. r=joe,mats 2013-02-24 18:59:22 -06:00
Timothy Nikkel
377837d583 Bug 689623. Part 4. Add a visible count to nsIImadeLoadingContent, and use it when locking the image. r=joe 2013-02-24 18:59:21 -06:00
Timothy Nikkel
0cae0af928 Bug 689623. Part 3. In nsImageLoadingContent add a flag to TrackImage that skips the check if we have a frame so that we can use TrackImage everywhere (including FrameCreated) instead of AddImage. r=joe 2013-02-24 18:59:21 -06:00
Timothy Nikkel
089010f205 Bug 689623. Part 2. In nsImageLoadingContent make the discard request an optional part of UntrackImage so that we can use UntrackImage everywhere instead of RemoveImage. r=joe 2013-02-24 18:59:21 -06:00
Ehsan Akhgari
63a702bcac Bug 844169 - Part 3: Make sure that all callers of HTMLIFrameElement.mozbrowser have chrome privileges; r=bzbarsky 2013-02-26 21:26:10 -05:00
Chris Pearce
6e3f4d2969 Bug 843849 - Make DOM/HTML fullscreen API work in Metrofox. r=bz,jimm 2013-02-28 12:28:27 +13:00
Bobby Holley
440bea3fd7 Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
Jonathan Kew
0dfdf59d24 bug 844454 - don't try to get a Unicode decoder for an empty charset name. r=hsivonen 2013-02-25 15:56:19 +00:00
Henri Sivonen
92eb08092d Bug 844792 - Warn about the upcoming removal of multipart support in XHR. r=smaug. 2013-02-25 17:12:13 +02:00
Peter Van der Beken
410cee5e49 Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz. 2013-01-10 10:54:46 +01:00
Boris Zbarsky
51b8917bbc Bug 838686 part 2. Use NodeFilterHolder in treewalker and nodeiterator and start using WebIDL codegen for NodeFilter. r=peterv 2013-02-26 15:10:15 -05:00
L. David Baron
a144cc1c82 Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion. 2013-02-26 22:23:08 -08:00
L. David Baron
a953552f1a Bug 404077: Do GC in a small number of tests to reduce the spread of GC-related assertions. r=Jesse 2013-02-26 22:23:08 -08:00
Ryan VanderMeulen
af6a83507b Bug 841505 et al - Disable test_xhr_timeout.html for frequent failures. r=khuey 2013-02-26 16:30:09 -05:00
Boris Zbarsky
8f45a6f4d4 Back out changeset 1c851a5bbc9f (bug 838686) because it depends on a changeset gcc doesn't like 2013-02-26 15:34:25 -05:00
Boris Zbarsky
e68a91179b Bug 838686 part 2. Use NodeFilterHolder in treewalker and nodeiterator and start using WebIDL codegen for NodeFilter. r=peterv 2013-02-26 15:10:15 -05:00
Bobby Holley
d1a3436036 Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap 2013-02-26 11:04:13 -08:00
Bobby Holley
9e96be0f79 Bug 834732 - Introduce AutoPushJSContext. r=mrbkap
It's annoying to add yet another RAII class, but we're solving a different
problem here. In particular, there are lots of callers that grab a cx off
of an nsIScriptContext and use it without pushing. Most of the time this
is ok, since that cx is also the active cx. But it's hard to tell when we
might potentially violate that invariant. What's more, we don't want to just
use an nsCxPusher, because that does expensive things even when the cx matches
the one on the top of the stack. Most of these consumers should just switch
to AutoJSContext, but doing such a change en masse is a pretty risky thing to
do. So let's introduce a class that gives us good performance in the common case
and correctness in the uncommon case.
2013-02-26 11:04:12 -08:00
Bobby Holley
65df4a86fd Bug 834732 - Push a cx in AdoptNode. r=mrbkap 2013-02-26 11:04:12 -08:00
Bobby Holley
51ba6ef50d Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-26 11:04:11 -08:00
Bobby Holley
9190ce39d5 Bug 834732 - Remove PushBehavior. r=mrbkap
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-26 11:04:11 -08:00
Bobby Holley
10b21fa400 Bug 834732 - Move cx pushing into nsPluginProtoChainInstallRunner. r=mrbkap
This gets rid of the last use of REQUIRE_SCRIPT_CONTEXT. \o/
2013-02-26 11:04:10 -08:00
Bobby Holley
c6da4f2657 Bug 834732 - Make SafeAutoJSContext actually push something. r=mrbkap
Currently it never does, because the SafeJSContext doesn't have an
nsIScriptContext behind it. :-(
2013-02-26 11:04:10 -08:00
Bobby Holley
997dcc7d65 Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-26 11:04:09 -08:00
Boris Zbarsky
d917523d97 Bug 842561. Assert that our inheritance chain is correct for WebIDL objects. r=peterv
We could drop the descriptor for Text if we changed nsIDocument::CreateTextNode
to return an already_AddRefed<Text>, but then we'd need more casting in
nsDocument.cpp for the XPCOM CreateTextNode.  Not sure which way is better,
really.
2013-02-22 09:56:29 -05:00
Boris Zbarsky
12d1591d42 Bug 842726. Kill off GetterShim and the classinfo support for chrome-only stuff on Document now that we can do that via WebIDL. r=peterv 2013-02-22 09:56:29 -05:00
Masatoshi Kimura
0f451ab067 Bug 843489 - Drop support for .createEvent("progressevent"). r=smaug 2013-02-23 14:49:59 +09:00
Masatoshi Kimura
b1f455df2c Bug 842372 - Part 2: Hide getUserData and setUserData from content. r=bz 2013-02-23 13:46:06 +09:00
Masatoshi Kimura
67762a7b41 Bug 842372 - Part 1: Implement nsINode::ShouldExposeUserData. r=bholley 2013-02-23 13:46:05 +09:00
Phil Ringnalda
91d0dcf37d Back out 5520e123f526 (bug 763879) for b2g mochitest-8 and mochitest-9 failures 2013-02-22 20:40:24 -08:00
Chris Pearce
b4438def93 Bug 805613 - Don't remove fullscreen approved observer on documents which don't add it, prevents assertion failure spam. r=bz 2013-02-26 18:40:53 +13:00
Chris Pearce
45b77fa242 Bug 805613 - Support multiple concurrent fullscreen documents. r=bz 2013-02-26 18:40:53 +13:00
L. David Baron
57d19fbb86 Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Sid Stamm
be0016e68d Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron) 2012-08-30 10:58:24 -07:00
Masatoshi Kimura
c3667d43f3 Bug 843489 - Make initProgressEvent() [noscript]. r=smaug 2013-02-23 09:14:35 +09:00
Ehsan Akhgari
17bceb4c6e Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky 2013-02-19 00:54:23 -05:00
Ryan VanderMeulen
858de2ee46 Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE. 2013-02-22 15:30:06 -05:00
Ehsan Akhgari
d15b248e6d Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky
--HG--
extra : rebase_source : f8933c4973220dc8845b9ce2f63e91b366167117
2013-02-19 00:54:23 -05:00
Jonathan Mayer
55b948dec0 Bug 818340 - change third party cookie handling to block third party cookies from sites I haven't visited. (r=jdm, r=dolske)
--HG--
extra : rebase_source : f486f39feac1fb743edc920618bec29884d515f1
2013-02-22 08:16:01 -08:00
Boris Zbarsky
90617e5775 Bug 842561. Assert that our inheritance chain is correct for WebIDL objects. r=peterv
We could drop the descriptor for Text if we changed nsIDocument::CreateTextNode
to return an already_AddRefed<Text>, but then we'd need more casting in
nsDocument.cpp for the XPCOM CreateTextNode.  Not sure which way is better,
really.
2013-02-22 09:56:29 -05:00
Boris Zbarsky
2b330ac631 Bug 842726. Kill off GetterShim and the classinfo support for chrome-only stuff on Document now that we can do that via WebIDL. r=peterv 2013-02-22 09:56:29 -05:00
Boris Zbarsky
7b6087807f Bug 832920. Add a way for chrome iframes to opt into having a separate refresh driver (e.g. if they plan to be moved between windows) and make devtools use that opt-in. r=tnikkel,paul 2013-02-22 09:56:28 -05:00
Trevor Saunders
70d157e13c bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Jonathan Kew
5219b8ae03 backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn 2013-02-22 09:36:41 +00:00
Julian Reschke
c87fff2ca2 Bug 601933: remove RFC 2047 encoding support for HTTP header field parameters. r=jduell 2013-02-21 05:36:00 -08:00
Bill McCloskey
c330d96d13 Bug 759585 - Change the granularity of collection from compartment to zone (r=jonco,bhackett,njn,dvander,mccr8,bz,luke,bholley) 2013-02-21 18:23:47 -08:00
L. David Baron
3dfa861fcf Fix spelling. No bug. No review. 2013-02-21 18:10:59 -08:00
Simon Montagu
889abd013e Text nodes in anonymous subtrees shouldn't affect ancestors with dir=auto. Bug 839886, r=ehsan 2013-02-20 22:57:51 -08:00
Simon Montagu
fb684616f9 Make the test for <bdi> without dir=auto more accurate. Bug 838689, r=ehsan 2013-02-20 22:57:50 -08:00
Phil Ringnalda
023cad7f25 Back out bb4938013af5 and 9bee7d808f97 (bug 827976) for marionette bustage
CLOSED TREE
2013-02-20 15:26:59 -08:00
Vladan Djeric
6aab2c174a Bug 827976: Part 1 - Create hidden windows lazily on non-Mac platforms. r=bzbarsky 2013-02-20 00:11:54 -05:00
Julian Viereck
d15f0e62b5 Bug 743252 - Implement moznomarginboxes attribute. r=roc 2013-02-20 10:50:21 -05:00
Masatoshi Kimura
e28c9f3dcd Bug 842730 - Remove nsIJSNativeInitializer from nsXMLHttpRequest. r=sicking 2013-02-20 20:54:19 +09:00
Olli Pettay
ad18318e83 Bug 842710 - Identify TabChildGlobals in about:memory/compartment, r=jlebar 2013-02-20 12:39:59 +02:00
Frank Wein
7e825ee89d Bug 842198 - Move browser_bug822367.js test to browser/, r=tanvi
--HG--
rename : content/base/test/chrome/browser_bug822367.js => browser/base/content/test/browser_bug822367.js
rename : content/base/test/file_bug822367_1.html => browser/base/content/test/file_bug822367_1.html
rename : content/base/test/file_bug822367_1.js => browser/base/content/test/file_bug822367_1.js
rename : content/base/test/file_bug822367_2.html => browser/base/content/test/file_bug822367_2.html
rename : content/base/test/file_bug822367_3.html => browser/base/content/test/file_bug822367_3.html
rename : content/base/test/file_bug822367_4.html => browser/base/content/test/file_bug822367_4.html
rename : content/base/test/file_bug822367_4.js => browser/base/content/test/file_bug822367_4.js
rename : content/base/test/file_bug822367_4B.html => browser/base/content/test/file_bug822367_4B.html
rename : content/base/test/file_bug822367_5.html => browser/base/content/test/file_bug822367_5.html
rename : content/base/test/file_bug822367_6.html => browser/base/content/test/file_bug822367_6.html
2013-02-20 09:54:49 +01:00
Masatoshi Kimura
c2c2dd64da Bug 841802 - Part 2: Use TextDecoderBase from nsContentUtils::ConvertStringFromCharset(). r=hsivonen 2013-02-19 22:30:28 +09:00
L. David Baron
822b2ca3bc Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
Except for the changes in:
  layout/generic/nsIFrame.h (part)
  layout/style/nsComputedDOMStyle.h (all)
  layout/style/nsRuleNode.cpp (part)
  layout/style/nsStyleContext.cpp (part)
  layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Jonathan Watt
9a999c1cb4 Bug 838256, part 2 - Overhaul and complete the layout pieces for <input type=range>. r=dholbert for the combined diff with the previous changeset. 2013-02-16 17:57:21 +00:00
Peter Van der Beken
490e9a4afd Fix for bug 839529 (Remove various CC participants that don't do anything). r=smaug.
--HG--
extra : rebase_source : 8a272905c79396e7ae08aaaf83566ac450c45be0
2013-02-07 10:19:08 +00:00
Boris Zbarsky
7403aaff3d Bug 822674. Give RTCPeerConnection a sane classinfo. r=jst,jesup. r=peterv pending 2013-02-15 22:41:31 -05:00
Trevor Saunders
4bc29b1b63 bug 841706 - remove nsSelectionIterator r=smaug 2013-02-15 05:52:57 -05:00
Andrea Marchesini
76260f9192 Bug 838532 - Rename nsHTMLLegendElement to HTMLLegendElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLLegendElement.cpp => content/html/content/src/HTMLLegendElement.cpp
rename : content/html/content/src/nsHTMLLegendElement.h => content/html/content/src/HTMLLegendElement.h
2013-02-15 11:55:53 -05:00
Trevor Saunders
ef3a9cb704 bug 841430 - nuke nsIEditorDocShell r=bz 2013-02-13 17:39:30 -05:00
Trevor Saunders
afab70f054 bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Yury Delendik
0d6cb92088 Bug 839714 - Extend PlayPreview API. r=jschoenick, r=jwein 2013-02-14 15:38:41 -06:00
Ryan VanderMeulen
6ab6261d7e Backed out changesets 45f20f94da76 and 47c4a7768ed9 (bug 841436) for Windows bustage on a CLOSED TREE. 2013-02-14 16:52:54 -05:00
Justin Lebar
73756e9464 Bug 836654 - Part 9: During app-frame creation, take the CPU wake lock only after sending down the mozapptype. r=cjones
This prevents the child process from downgrading its CPU priority when
it notices that it has the CPU wake lock but no "critical" frames.

In this patch we also reduce the scope of a race condition which occurs
when we don't launch a new process for an app.  In this case, we still
need to set the child process's priority and then check that the process
is still alive.

Because this isn't a brand-new process, it's possible that the process
will downgrade its priority (e.g. due to a timer) after we check that
it's still alive and before it notices that we've acquired the CPU wake
lock on its behalf.  This patch does not resolve that race.
2013-02-14 15:41:30 -05:00
Justin Lebar
20ea5251de Bug 836654 - Part 7: Hold a CPU wake lock while a "critical" process that's expecting a system message loads. r=cjones,fabrice 2013-02-14 15:41:30 -05:00
Justin Lebar
f842757ea0 Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-14 15:41:30 -05:00
Trevor Saunders
57ea64cf9e bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Andrew McCreight
e1e8cf4321 Bug 839874 - Make NS_ASSERTIONs in CheckCCWrapperTraversal into MOZ_ASSERT. r=smaug 2013-02-13 09:21:42 -08:00
Ed Morley
d68aae2682 Backed out changeset 17f9660c7a7b (bug 836654) 2013-02-14 10:02:38 +00:00
Ed Morley
2db41311e4 Backed out changeset ef4884e40bb4 (bug 836654) 2013-02-14 10:02:32 +00:00
Ed Morley
01f06445b2 Backed out changeset 55f1f62f7477 (bug 836654) 2013-02-14 10:02:27 +00:00
Trevor Saunders
31e42ed09f bug 839051 - remove usage of nsISelectionPrivate::GetEnumerator() r=smaug 2013-02-07 09:17:47 -05:00
Trevor Saunders
6dda3041a7 bug 839059 - make nsISelection{,Private} builtinclass r=smaug 2013-02-11 13:14:01 -05:00
Justin Lebar
7dc574c0e9 Bug 836654 - Part 9: During app-frame creation, take the CPU wake lock only after sending down the mozapptype. r=cjones
This prevents the child process from downgrading its CPU priority when
it notices that it has the CPU wake lock but no "critical" frames.

In this patch we also reduce the scope of a race condition which occurs
when we don't launch a new process for an app.  In this case, we still
need to set the child process's priority and then check that the process
is still alive.

Because this isn't a brand-new process, it's possible that the process
will downgrade its priority (e.g. due to a timer) after we check that
it's still alive and before it notices that we've acquired the CPU wake
lock on its behalf.  This patch does not resolve that race.
2013-02-14 02:26:44 -05:00