Commit Graph

4401 Commits

Author SHA1 Message Date
Ms2ger
6ffad56f22 Bug 738759 - Add nsContentUtils::CheckSameOrigin overload taking two nsINodes; r=jst 2012-04-03 09:25:38 +02:00
Ms2ger
ee1a9afaf4 Bug 741223 - MutationObserver cleanup; r=smaug 2012-04-03 09:25:38 +02:00
Henri Sivonen
2dd32e976c 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
535c2cacfb Bug 737780: fix compartments in nsFrameScriptExecutor::LoadFrameScriptInternal, r=luke 2012-04-02 19:09:34 -07:00
Masatoshi Kimura
18767775ae Bug 738912 - Part 2: Add tests. r=sicking 2012-04-03 20:08:28 -04:00
Matt Brubeck
82e8c9aa19 Merge last green changeset from inbound to mozilla-central 2012-04-02 10:41:37 -07:00
Kyle Huey
7f972f45f6 Bug 741163: Add a rather important null check. r=me 2012-04-01 04:02:58 -07:00
Ed Morley
7b8f9d67b3 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-31 22:41:59 +01:00
Olli Pettay
aef37dab12 Bug 641821, MutationObserver, r=sicking
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Ed Morley
2aa4048571 Merge mozilla-central to mozilla-inbound 2012-03-31 15:28:55 +01:00
Henri Sivonen
db1d235617 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
febee54c5c 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
9f1fbf3676 Bug 741048: Remove gfxAtoms. r=roc 2012-03-30 23:08:46 -07:00
Dave Townsend
f5853d4d7a Backing out changeset 432c4be058b5 which landed with no bug. 2012-03-30 22:23:24 -07:00
Peter Van der Beken
c2e642fbcc 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
Olli Pettay
3423de709a 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
31496b4a78 Merge central to inbound 2012-03-30 12:27:55 +02:00
Ms2ger
09fa74771d Bug 738761 - Remove nsIScriptTimeoutHandler::GetScriptVersion and pass JSVersion to nsIScriptContext::EvaluateString; r=jst 2012-03-29 23:09:13 +02:00
Ms2ger
6f4de79d23 Bug 738996 - Remove agnostic Hold/DropScriptObject nsContentUtils functions; r=mrbkap 2012-03-29 23:09:11 +02:00
Ms2ger
968425f97e Bug 738654 - Part b: RemoveChildAt can't fail; r=sicking 2012-03-29 23:09:07 +02:00
Ms2ger
84f17e5f45 Bug 738654 - Part a: doRemoveChildAt can't fail; r=sicking 2012-03-29 23:09:06 +02:00
Ms2ger
9427a8db0d Bug 738608 - Introduce nsINode::Length(); r=smaug 2012-03-29 23:09:04 +02:00
Ms2ger
b313aff15a No bug - Remove gfxAtoms; r=roc 2012-03-29 23:08:43 +02:00
Jonathan Kew
23cb2f2b7a bug 740477 - handle Dutch-specific capitalization of the ij digraph. r=smontagu 2012-03-30 17:37:46 -07:00
Peter Van der Beken
db99384a53 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
f5597d8025 Bug 729048 - Part 2: Replace calls to nsParserService::CheckQName with nsContentUtils::CheckQName in nsDocument.cpp. r=hsivonen 2012-03-29 17:31:40 -04:00
Matias Juntunen
6ba0c7d9b4 Bug 729048 - Part 1: Move nsParserService::CheckQName to nsContentUtils and change calls within nsContentUtils to use nsContentUtils::CheckQName instead. r=hsivonen 2012-03-29 17:31:40 -04:00
Peter Van der Beken
dfa76b93e6 Fix for bug 740467 (Make test_XHR_timeout.js use addEventListener(..., obj, ...) instead of on* = obj). r=khuey.
--HG--
extra : rebase_source : e5039bfd291e3955282ff63f3ac5c0ab2869279a
2012-03-29 11:16:31 -07:00
Phil Ringnalda
0abdfa04b8 Back out b00bf7f3869c (bug 737976) for apparently causing mochitest-1 leaks on a CLOSED TREE 2012-03-28 22:43:09 -07:00
Phil Ringnalda
6e9250f387 Back out 0cb85ff0f764 (bug 738568), 9949bb092303 (bug 730209), 095fd525afa7 (bug 729924), dcf8929a8115 (bug 633602) because of widely scattered and unclear bustage on a CLOSED TREE 2012-03-28 22:37:46 -07:00
Andrew McCreight
a59c979d1b Bug 738700 - unmark wrapped gray objects from nsISupports. r=smaug 2012-03-28 21:51:46 -07:00
Mark Capella
3519b46a3e Bug 738380 - Remove nsINode::{GetScriptTypeID, SetScriptTypeID}, nsIScriptContext::GetScriptTypeID, nsIScriptRuntime::GetScriptTypeID; r=jst 2012-04-01 14:47:48 +02:00
Aryeh Gregor
5fba4e2a84 Bug 719533 - Range.extractContents() shouldn't modify the DOM if the range contains a doctype; r=smaug 2012-04-01 07:45:35 -04:00
Kyle Huey
c3096d813b Bug 737976: Remove nsINodeInfo. rs=bent 2012-03-28 19:07:37 -07:00
David Humphrey
b174382f2b Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc, smaug 2012-03-28 21:00:14 -04:00
Nathan Froyd
3816c12d35 Bug 739962 - fix -Wunused-but-set-variable warnings in content; r=bent 2012-03-28 09:14:33 -04:00
Peter Van der Beken
6c1a5e5219 Bug 732377. Add the API for the new DOM bindings to XMLHttpRequest. r=bzbarsky 2012-03-26 08:38:06 -07:00
Jared Wein
ac11ea4de6 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-28 08:53:56 -07:00
Margaret Leibovic
0e9ed35f0a Bug 739048 - Check to see if a plugin is unsupported before making it click-to-play. r=josh 2012-03-27 15:01:46 -07:00
Henri Sivonen
2e0882cfe2 Bug 701361 - Add a telemetry probe for finding out how commonly multipart XHR is used on the Web. r=smaug. 2012-03-28 10:33:18 +03:00
Henri Sivonen
8825a7244b Bug 717180 - Ignore document.write after window.location. r=smaug. 2012-03-28 08:17:53 +03:00
Jared Wein
a80b6db592 Backed out changeset 8e42ba558f07 (bug 730318) CLOSED TREE 2012-03-27 15:23:53 -07:00
Avi Halachmi (:avih)
8a2de1a907 Bug 737758: part 1: Propagate mouse wheel event origin from ESM [r=roc] 2012-03-26 11:50:30 +02:00
Andrew McCreight
0be293da76 Bug 740185 - mark safe JS context black. r=smaug 2012-03-30 10:22:29 -07:00
Peter Van der Beken
79d8fa521f Backout cfd6bf0fe1e9 as it includes an unwanted chunk
--HG--
extra : rebase_source : 9143a7752d7327a1c7693f9ad34ab02a25339aa6
2012-03-30 09:53:50 -07:00
Peter Van der Beken
d2da6eaadf Fix for bug 740855 (Make tests that try to get XHR.channel use SpecialPowers). r=bz.
--HG--
extra : rebase_source : a80dc66eff61a2d669dbbaaa1d081106798fd9dc
2012-03-30 09:38:19 -07:00
Aryeh Gregor
f3bfb8edfd Bug 737087 - Fire error event on <script> load failure per spec/other browsers; r=sicking 2012-03-20 14:21:33 -04:00
Makoto Kato
e0b0e4d9ff Bug 737966 - Evaluating nsIXMLHttpRequest.responseText throws on certain parsing errors. r=sicking 2012-04-04 20:59:02 +09:00
Marco Bonardo
63e298422a Merge central to inbound 2012-04-04 13:39:52 +02:00
Veeraya Pupatwibul
1bdf9d9923 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Boris Zbarsky
32c7f6e634 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
fef9c89dba 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
Jonathan Kew
8a2e8d2523 bug 745780 - update harfbuzz code to upstream commit 3cde23664fbbe9cd2ac1b8fd5eb2ea288309cc9c (2012-04-17). r=jdaggett a=mfinkle 2012-04-21 22:24:39 +01:00
Matt Brubeck
955934c3d9 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
883053cd10 Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-27 13:50:50 -07:00
Andrew McCreight
d1c47fdce5 Bug 736563 - mark global objects held by live windows black during GC. r=smaug 2012-03-27 12:22:10 -07:00
Ian Melven
04940903e3 Bug 650386 - CSP should not follow redirects for report-uri r=jst 2012-03-27 10:55:50 -07:00
Justin Lebar
1308d45438 Bug 739457 - Don't decode images when you load a link in a background tab. r=joe 2012-03-26 23:49:50 -07:00
Boris Zbarsky
eca080bae6 Bug 739004. When cloning a static clone, set the mOriginalDocument of the new clone to the mOriginalDocument of the thing being cloned, not to the thing being cloned (which is not an original document at all). r=smaug 2012-03-24 20:46:03 -04:00
Jonathan Watt
0ab7e18025 Bug 738975 - Speed up building of layout/svg/base/src by dropping content/html/content/src from the include path. r=bz. 2012-03-26 12:58:59 +01:00
Jonas Sicking
8e093adf1c Bug 301705: Don't throw when XMLHttpRequest.status is gotten too early. r=bz 2012-03-26 01:40:09 -07:00
Matt Brubeck
f83a9ab93e Merge mozilla-central and mozilla-inbound 2012-03-24 09:05:27 -07:00
Henri Sivonen
95b45892e6 Bug 672453 - Whine to console about various character encoding declaration-related authoring errors. r=smaug.
--HG--
rename : extensions/universalchardet/tests/bug631751be_text.html => parser/htmlparser/tests/mochitest/file_bug672453_bomless_utf16.html
2012-03-24 13:34:42 +02:00
Masatoshi Kimura
6432a363f1 Bug 736686 - Part 2: Implement Blob constructor in Worker. r=jonas, bent 2012-03-24 12:33:59 +01:00
Peter Van der Beken
6fd0c1b877 Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap 2012-03-16 16:44:09 +01:00
Jared Wein
3f49c23fdd Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage 2012-03-23 11:46:12 -07:00
Jared Wein
282988197b Backed out changeset 29a7f9d3d4c4 (bug 730318) r=bustage 2012-03-23 11:45:27 -07:00
Patrick McManus
dd00f9250a bug 599164 pipeline with type and state r=honzab 2012-03-22 19:39:31 -04:00
Jared Wein
5e53c35a9c Bug 730318 - Forgot to add braces to if condition. r=khuey 2012-03-22 14:03:04 -07:00
Jared Wein
61ab14237c Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey 2012-03-22 13:53:59 -07:00
Aryeh Gregor
40c8f74eb6 Bug 366944 - Range.surroundContents should throw InvalidNodeTypeError early; r=smaug 2012-03-21 14:06:50 -04:00
Andrew McCreight
2bc80bf951 Bug 736459 - make WantAllTraces disable node and content list CC optimizations. r=smaug
* * *
Bug 736459, part 2 - add NS_LIKELY for new branches. r=smaug
2012-03-22 08:37:54 -07:00
Henri Sivonen
f2d3f89eb7 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Jim Mathies
3ba9aa7eeb Bug 737983 - win8 fixup for generic keyword collision, r=smaug. 2012-03-22 09:18:41 -05:00
Boris Zbarsky
ecbf4bbd3f Bug 738108. When restricting to the element subtree in querySelector(All), make sure to disallow the element itself. r=smaug 2012-03-22 03:09:18 -04:00
Boris Zbarsky
e20f8460b1 Bug 700981 part 5. Reduce the amount of time spent calling GetBindingParent(). r=smaug 2012-03-22 00:10:51 -04:00
Boris Zbarsky
792c2592e5 Bug 700981 part 4. Add a fast-path to IsAllowedAsChild for the case of a child that has no kids. r=smaug 2012-03-22 00:10:51 -04:00
Boris Zbarsky
bf35ae3542 Bug 700981 part 3. Inline nsNodeUtils::ParentChainChanged. r=smaug 2012-03-22 00:10:51 -04:00
Boris Zbarsky
99719b401c Bug 700981 part 2. Get rid of nsStyledElement::BindToTree/UnbindFromTree. r=smaug 2012-03-22 00:10:51 -04:00
Boris Zbarsky
5d73e0316b Bug 700981 part 1. Get rid of nsMappedAttributeElement::BindToTree and inline some of the things it used to call so they're faster. r=sicking 2012-03-22 00:10:51 -04:00
Andrew McCreight
29070d40ad Backout ca353538c7f9 (bug 736459) for Linux64 Dromaeo regressions 2012-03-21 19:36:25 -07:00
Sid Stamm
e4377a09c1 Bug 672961 - CSP blocks domains incorrectly when on a site with non-standard port. r=mrbkap 2012-03-21 19:52:24 -04:00
Andrew McCreight
39c32bc487 Bug 736459 - do WantAllTraces for nodes and base lists. r=smaug 2012-03-21 15:38:58 -07:00
Daniel Holbert
6d1f7b2b6c Bug 737754: Change guaranteed-to-succeed IndexOf() checks to Contains() checks in assertions within nsScriptLoader::PrepareLoadedRequest. r=hsivonen 2012-03-21 14:06:10 -07:00
Hessam Salehi
25b8143afe Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Aryeh Gregor
9d84462dee Bug 735805 part 1 - Fix DOM and layout mochitests that run no tests; r=bz 2012-03-16 16:07:09 -04:00
Aryeh Gregor
ccb73a4ec1 Bug 737612 - Range.insertNode() on a detached text node should throw standard exception type; r=smaug 2012-03-20 16:32:01 -04:00
Aryeh Gregor
45440ad3db Bug 737565 - Range.comparePoint() should throw exceptions per spec; r=smaug 2012-03-20 15:54:38 -04:00
Henri Sivonen
fff912d4a6 Bug 650776 part 3 - Remove mozSanitizingSerializer from mozilla-central. r=jst. 2012-03-21 12:43:54 +02:00
Matt Brubeck
51ba20bc98 Back out 1bbe7ea3a01e through 672cc4ee2dd9 because of mochitest-browser-chrome leaks 2012-03-20 12:53:10 -07:00
Mats Palmgren
a9ed96268a Bug 732951 - Make nsContentUtils::ASCIIToLower/ASCIIToUpper return NS_ERROR_OUT_OF_MEMORY when string allocation fails. r=bz 2012-03-20 19:02:38 +01:00
Patrick McManus
aeb4f9d401 bug 599164 pipeline with type and state r=honzab
--HG--
extra : rebase_source : b060665a1726eab3e3ef0ab0d94c34cfea5c1460
2012-03-20 13:11:32 -04:00
Neil Deakin
f9547aff6d Bug 605991, prevent drops on a parent content page from a child frame from a different domain, r=smaug 2012-03-20 11:21:41 -04:00
Henri Sivonen
eb34b8e6e8 Bug 737314 - Avoid using nsIURI when checking for cid: URIs in order to route around comm-central cid: hacks. r=smaug. 2012-03-20 11:25:43 +02:00
Adam Dane [:hobophobe]
f6bfd29afb Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-19 21:09:50 -05:00
Diogo Golovanevsky Monteiro
d7758b88ca Bug 735031 - Make Fullscreen API work with DOMElements rather than only HTML Elements. r=cpearce,smaug 2012-03-24 17:37:04 +13:00
Mark Hammond
c18a9d55f2 Bug 738535 - JS_WrapValue the FileReader's array buffer result. r=khuey 2012-03-24 11:04:55 +11:00
Jared Wein
3c05f07191 Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage 2012-03-23 11:11:31 -07:00
Jared Wein
37666da898 Backed out changeset 29a7f9d3d4c4 (bug 730318) r=bustage 2012-03-23 11:11:14 -07:00
Mark Capella
1e7fdd17b2 Bug 734023 - Remove language arguments from nsIScriptGlobalObject methods, r=jst, f=ms2ger 2012-03-23 18:13:29 +01:00
Josh Aas
c2fa9afffa Bug 726734: Reload plugin instances when the src/data URL changes. r=jst 2012-03-23 08:33:15 -04:00
aceman
5db7964d7e Bug 737149 - Fix build of nsTreeSanitizer.cpp (error: 'video' is not a member of 'nsGkAtoms') with undefined MOZ_MEDIA. r=bzbarsky 2012-03-19 18:52:08 -04:00
Boris Zbarsky
746cfc7b8c Bug 721659. Update the width/height of an image synchronously when src is set to something that was preloaded. r=bholley 2012-03-19 18:22:02 -04:00
Dão Gottwald
950bae49e0 merge backout 2012-03-19 12:54:47 +01:00
Dão Gottwald
098b79e99e Backed out changeset 2cd01fd07ce8 2012-03-19 12:54:32 +01:00
Masatoshi Kimura
add7512617 Bug 736687 - Warn on use of MozBlobBuilder. r=sicking
--HG--
rename : layout/reftests/svg/as-image/img-blobBuilder-1.html => layout/reftests/svg/as-image/img-blobURI-1.html
rename : layout/reftests/svg/as-image/img-blobBuilder-2.html => layout/reftests/svg/as-image/img-blobURI-2.html
2012-03-19 12:00:43 +01:00
Adam Dane [:hobophobe]
395f2b3456 Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-18 14:42:25 -05:00
Henri Sivonen
82c137d953 Bug 650776 part 1 - Introduce a new HTML source to HTML source sanitizer XPCOM API. r=smaug. 2012-03-19 10:16:20 +02:00
Masatoshi Kimura
f8cc2b9fe1 Bug 736804 - Bump iid of MozBlobBuilder. r=smaug 2012-03-18 15:49:45 +01:00
Andrew McCreight
1e8506b96f Bug 735342 - CanSkip for unoptimizable nodes held by binding manager. r=smaug 2012-03-18 07:17:05 -07:00
aceman
84f565a5bf Bug 736660 - fix compilation: 'source' is not a member of 'nsGkAtoms', if MOZ_MEDIA is not set. r=bz 2012-03-17 20:38:35 +01:00
Daniel Holbert
bc46788b46 Bug 730587 followup: Make nsINode::OwnerDocAsNode() non-inline to prevent "inline function ... used but never defined" build warnings. rs=khuey 2012-03-16 15:16:41 -07:00
Peter Van der Beken
526e189372 Fix for bug 736229 (Stop storing expando objects in the wrapper cache, store the proxy instead). r=jst. 2012-03-14 15:22:10 +01:00
Marco Bonardo
ff249f47c5 Merge inbound and central 2012-03-16 13:42:16 +01:00
Ed Morley
efdc9a5382 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-15 12:42:01 +00:00
Kyle Huey
fd1ce47377 Bug 730587: Stash a pointer to the subtree root on DOM nodes. r=smaug, sr=jst 2012-03-14 13:14:02 -07:00
Nathan Froyd
70cbaa6b9e Bug 732167 - Eliminate duplicate headers in content. r=mounir 2012-03-06 13:55:37 -05:00
Charles Chan
64daff1dae Bug 729049 - Inline IsXMLLetter, IsXMLNCNameChar, DecodeEntity from nsIParserService. r=hsivonen 2012-03-14 21:56:58 -07:00
Kyle Huey
e77a2d7ea3 Bug 735152: Disable the offending tests. r=me 2012-03-13 07:34:39 -07:00
Marco Bonardo
3e58667468 Merge last green PGO from inbound to central 2012-03-13 11:17:21 +01:00
Masatoshi Kimura
f1d328b350 Bug 721569 - Tests. r=sicking
--HG--
rename : content/base/test/test_blobbuilder.html => content/base/test/test_blobconstructor.html
2012-03-12 21:45:00 -07:00
Masatoshi Kimura
e441461b51 Bug 721569 - Implement Blob constructor. r=sicking 2012-03-12 21:44:56 -07:00
Boris Zbarsky
c90ce3bdca Bug 732667. Only do checks for :hover selectors when hover state changes on nodes which have relevant hover rules. r=dbaron 2012-03-12 22:54:15 -05:00
Phil Ringnalda
b1d1a41987 Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage 2012-03-12 22:12:41 -07:00
Boris Zbarsky
77f35024de Bug 732667. Only do checks for :hover selectors when hover state changes on nodes which have relevant hover rules. r=dbaron 2012-03-12 22:54:15 -05:00
Olli Pettay
85ef818664 Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, part2, r=jst 2012-03-13 02:56:20 +02:00
Olli Pettay
339e88ba7e Bug 734057 - Make nsDOMEventTargetHelper to not have strong pointer to window, r=jst,bent 2012-03-13 02:56:07 +02:00
Avi Halachmi
3c59129fb9 Bug 206438 - Smooth scrolling should use the 'smoothwheel' algorithm. r=roc ui-r=limi 2012-03-11 13:55:00 -07:00
Kyle Huey
28cfe02e31 Bug 498998: Implement XHR timeout in Workers. r=sicking 2012-03-12 17:00:46 -07:00
Justin Lebar
0dbaf73150 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
David Anderson
67bb3e5986 Remove JS_GetScriptedCaller (bug 732652, r=luke,mrbkap,bholley,smaug,bent). 2012-03-06 15:33:12 -08:00
Blake Kaplan
7a4eeff601 Bug 727884 - Make nsWrapperCache::WrapObject take a JSObject scope instead of XPCWrappedNativeScope. r=peterv 2012-03-14 16:25:40 +01:00
Jonathan Kew
67782abd95 bug 731536 - text-transform:capitalize should affect the first alphanumeric char in a word, not the first non-punctuation char. r=smontagu 2012-03-14 06:47:14 +00:00
Benjamin Smedberg
bb07c779fa Bug 729009 - Send the embedded document (SWF file) as the referer for plugin-initiated streams, r=josh 2012-03-12 12:48:27 -04:00
Peter Van der Beken
c2e7269a78 Fix for bug 734505 (Add new DOM binding for FileList). r=jst.
--HG--
extra : rebase_source : 7a563b1af70c24f9117b813016b7a37612e92431
2011-08-22 11:14:13 +02:00
Peter Van der Beken
4d875e976f Fix for bug 734503 (Add new DOM binding for TouchList). r=jst.
--HG--
extra : rebase_source : 701eb8d9a60ffa981ebcd24f426109bd70cc5cbf
2011-08-22 11:14:13 +02:00
Peter Van der Beken
752e2223e7 Fix for new bug 734497 (Add new DOM binding for ClientRectList). r=jst.
--HG--
extra : rebase_source : 1cc96b94d21940ac1ed75ec6d46d9c2964fc54a0
2011-08-22 11:14:13 +02:00
Daniel Holbert
04b172bf20 merge m-c tip over to m-i 2012-03-11 15:40:05 -07:00
Ms2ger
71edcafb0e Bug 649599 - Make getAttributeNS return null for absent attributes; r=peterv 2012-03-11 09:48:16 +01:00
Ms2ger
6dbbe95646 Bug 732769 - Remove FileError; r=sicking 2012-03-11 09:47:38 +01:00
Igor Bukanov
30d3de8268 bug 728250 - remove JSPrincipals::codebase. r=:luke,:bz
In just 2 cases where JSPrincipals::codebase is used it can be reconstructed from the values stored in the associated nsJSPrincipal. In addition the patch makes nsJSprincipals to inherit both from nsIPrincipal and JSPrincipals allowing to use static_cast to convert between nsIPrincipal and JSPrincipals pointers and to drop many cases of manual JSPrincipal reference counting.
2012-03-09 10:48:50 +01:00
Boris Zbarsky
1e4a771613 Bug 696301 part 4. Actually hook up a CORS listener on script loads as needed. r=sicking
--HG--
rename : content/base/test/bug461735-post-redirect.js => content/base/test/bug696301-script-1.js
rename : content/base/test/bug461735-post-redirect.js => content/base/test/bug696301-script-2.js
2012-03-10 10:13:52 -06:00
Boris Zbarsky
d9b813e56a Bug 696301 part 3. Propagate the CORS mode to the script loader correctly; make sure the CORS mode of script preloads matches the actual load. r=sicking 2012-03-10 10:13:52 -06:00
Boris Zbarsky
d51b138c8b Bug 696301 part 2. Communicate the crossorigin preload state from the parser to the scriptloader. r=sicking,hsivonen 2012-03-10 10:13:52 -06:00
Boris Zbarsky
cc7f7d488e Bug 696301 part 1. Refactor CORS attribute handling a bit. r=sicking 2012-03-10 10:13:51 -06:00
Alexander Surkov
d2543eab0e Bug 523304 - expose text-underline-color and text-line-through-color text attributes, r=tbsaunde 2012-03-11 00:35:02 +09:00
Justin Lebar
529f20f570 Bug 731419 - Part 2: Discard image data immediately on tab close, DOM changes. r=bz
--HG--
extra : rebase_source : e854e29c89b88f664d129303dab22de92c413afc
2012-03-10 01:29:28 -05:00
Emanuel Hoogeveen
5dbd39a604 Bug 492931 - Fix case conversion in a bunch of DOM functions to only convert ASCII characters. r=sicking,khuey 2012-03-09 21:50:34 -08:00
Justin Lebar
0ef78736cc Back out bug 731419 and bug 732820 due to orange.
Backs out changesets 55e63a03ccad 45d2f5e2fe31 f78900832562 6184b50776fc 35d8045aeadd 42e887fec034.
2012-03-09 18:32:42 -05:00
Justin Lebar
5d19224309 Bug 731419 - Part 2: Discard image data immediately on tab close, DOM changes. r=bz 2012-03-09 17:21:01 -05:00
Jacob Holzinger
acfe99c129 Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Cameron McCormack
3beb45c427 Bug 731813 - Do not attempt to serialize SVG attributes for mutation events if they do not exist. r=jwatt,bzbarsky
--HG--
extra : rebase_source : 6af188d032bdcd28a19b2da0f46e185cfd52b20d
2012-03-05 10:38:03 +11:00
Henri Sivonen
1f2fc102d1 Bug 650784 addendum - address an r=smaug review comment accidentally not addressed in the previous patch. DONTBUILD 2012-03-08 16:45:55 +02:00
Henri Sivonen
19ffbde631 Bug 650784 part 3 - Remove nsIParserNode and nsIParserService dependencies from nsPlainTextSerializer. r=smaug. 2012-03-08 16:42:27 +02:00
Henri Sivonen
0c8d0764b7 Bug 650784 part 2 - Make nsPlainTextSerializer not be a content sink. r=smaug. 2012-03-08 16:42:16 +02:00
David Mandelin
68c407c176 Bug 733260 followup: use uint32_t for array and string lengths, r=luke
--HG--
extra : rebase_source : 1729b4b927fde0678872b9de62a7466381aa07c3
2012-03-06 15:52:55 -08:00
Bobby Holley
2dc291ee58 Bug 731845 - XPCWrappedNative::ReparentWrapperIfFound should handle preserved wrappers. r=mrbkap 2012-03-05 16:58:59 -08:00
Matt Brubeck
18cd6fbeaa Back out 2fbc7d9ac670 (bug 731845) on suspicion of causing test_native_mouse_mac.xul timeouts 2012-03-06 11:05:37 -08:00
David Mandelin
5e02d0630c Bug 733260: remove typedef jsuint, r=luke
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Bobby Holley
ac1fbc4a6a Bug 731845 - XPCWrappedNative::ReparentWrapperIfFound should handle preserved wrappers. r=mrbkap 2012-03-05 16:58:59 -08:00
Bobby Holley
ccb745bc93 Bug 720580 - Stop passing aExtraPtr to InitClassesWithNewWrapedGlobal. r=mrbkap
We only ever pass null here anyway, and this whole infrastructure is going away real soon now.
2012-03-05 15:22:44 -08:00
Bobby Holley
2cb54e998b Bug 720580 - Remove unnecessary aIID parameter from nsIXPConnect::InitClassesWithNewWrappedGlobal. r=mrbkap 2012-03-05 15:22:44 -08:00
Ed Morley
d27ab2302c Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Nicholas Nethercote
d8a85cb65a Bug 682431 (part 2) - Add memory reporters for URIs and Links. r=biesi,bz,jlebar.
--HG--
extra : rebase_source : db4f094a7d334914b986bb66f5bf1089aafda561
2012-02-19 19:51:48 -08:00
Makoto Kato
2c1e47f122 Bug 590390 - deCOM nsICharsetAlias. r=smontagu
--HG--
rename : intl/locale/public/nsICharsetAlias.h => intl/locale/public/nsCharsetAlias.h
rename : intl/locale/src/nsCharsetAliasImp.cpp => intl/locale/src/nsCharsetAlias.cpp
2012-03-05 12:57:51 +09:00
Justin Lebar
e1a9198917 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
8f94cc1764 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
169d0f30f5 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
Justin Lebar
d77dae5390 Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz 2012-03-04 11:02:00 -05:00
Aryeh Gregor
dbb888ac63 Bug 711047 Part 2 - Remove RangeException in favor of DOMException. r=sicking 2012-03-01 13:35:48 -05:00
Matheus Kerschbaum
89b7db65ac Bug 687579 part 1: Remove globalStorage implementation. r=jst
Bug 687579 part 1: Remove globalStorage implementation. r=jst
2011-10-09 22:14:00 -04:00
John Schoenick
40140abe92 Bug 406541 - Followup - Handle failed URI creation, fix typo. r=bzbarsky 2012-03-02 14:13:10 -08:00
aceman
a39be24188 Bug 368758 - Remove obsolete workaround pref editor.quotesPreformatted. r=ehsan 2012-03-02 17:23:01 -05:00
Peter Van der Beken
c1cb66d9c8 Fix for bug 717013 (Add new DOM binding for DOMTokenList). r=jst.
--HG--
extra : rebase_source : 6ae0abe3bbe33a140c62c193685e23529d44e6d4
2011-08-22 11:14:13 +02:00
Nicholas Nethercote
9d7b189319 Bug 730181 (part 2) - Rename nsDOMMemoryReporter. r=khuey.
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
extra : rebase_source : f3aca3b1829e03e6f8a5a0607eb437322eb62f7d
2012-02-23 18:43:33 -08:00
Nicholas Nethercote
52e0347a64 Bug 730181 (part 1) - Merge the "dom+style" and "layout" memory reporter trees. r=khuey.
--HG--
extra : rebase_source : dabcf525d823639c5ff465c7a21de8ae533e82ff
2012-02-21 07:10:11 -08:00
Nicholas Nethercote
726ecd352b Bug 723799 - Use mallocSizeOf in the DOM memory reporters. r=mounir.
--HG--
extra : rebase_source : 2eb96d2f901bbe4cc1ff6dbccdec4dc4099b08fc
2012-02-01 13:58:01 -08:00
Marco Bonardo
d6687bea88 Merge central to inbound 2012-03-01 16:05:54 +01:00
Marco Bonardo
873d1a20b1 Merge last green PGO from inbound to central 2012-03-01 14:27:31 +01:00
Olli Pettay
3b6294526a Bug 730581, unbind content tree lazily after unlink, r=jst 2012-03-01 15:09:00 +02:00
Igor Bukanov
3732e3e290 bug 730281 - remove cx argument from GC and compartment related functions. r=:billm 2012-02-29 13:18:16 +01:00
John Schoenick
6e07a650b2 Bug 406541 - Ensure we agree with java on applet codebase, and run security checks for file: codebase URIs. r=jst 2012-02-27 13:58:00 -08:00
Simon Montagu
585e0608f5 Use GetGeneralCategory in IsPunctuationMark instead of the precompiled ccmap. Bug 731222, r=jfkthame 2012-03-01 00:17:27 -08:00
Justin Lebar
b682bbe4a5 Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
Ryan VanderMeulen
602d2c3be1 Backout bug 492921 due to mochitest crashing. 2012-02-29 20:29:49 -05:00
Emanuel Hoogeveen
d74bad509f Bug 492931 - Part 1b: Change to ASCII case conversion in content/ where appropriate. r=sicking 2012-02-29 19:32:13 -05:00
Emanuel Hoogeveen
a59e8cb2be Bug 492931 - Part 1a: Change to ASCII case conversion in content/ where appropriate. r=sicking 2012-02-29 19:31:45 -05:00
Emanuel Hoogeveen
961a9eae32 Bug 492931 - Part 0: Add nsContentUtils::EqualsLiteralIgnoreASCIICase. r=sicking 2012-02-29 19:29:12 -05:00
Jim Mathies
20a435105a Bug 724781 - Prevent repetitive nsObjectLoadingContent StopPluginInstance calls from entering DoStopPlugin. r=joshmoz 2012-02-29 09:04:37 -06:00
Neil Deakin
5704ca2236 Bug 728581, use ContainsNode to determine if the mouse is over a selection so that dragging a scrollbar in chrome works properly, r=ehsan 2012-02-28 15:33:30 -05:00
Matt Brubeck
a5ca4655ae Merge from mozilla-central to mozilla-inbound 2012-02-28 10:08:33 -08:00
Josh Aas
0e7fae193d Bug 731040: Fix bug in which we don't properly create an object frame due to over-aggressive fallback. r=jst 2012-02-28 10:05:06 -05:00
Josh Aas
df2fa8ed63 Bug 729673: Fix cases in which plugin instance src data stream is not delivered properly. r=bsmedberg 2012-02-27 15:36:46 -05:00
Olli Pettay
adfb684e44 Bug 730601 - Don't use GetListenerManager(false) to check existence of ELM, but HasListenerManager, r=jst 2012-02-27 16:03:15 +02:00
Ed Morley
bbbd8658b5 Merge mozilla-central to mozilla-inbound 2012-02-28 02:55:32 +00:00
Masatoshi Kimura
0fc58c6dd5 Bug 705110 - Suppress warning spam on DOMAttrModified event. r=smaug 2012-02-27 18:57:28 -05:00
Henri Sivonen
f97573be1a Bug 650784 part 4 - Scripted test for plain text conversion. r=smaug. 2012-02-27 13:57:48 +02:00
Henri Sivonen
e8058853dd Bug 650784 part 1.5 - Move nsScriptableUnescapeHTML from Toolkit to Core. r=smaug.
--HG--
rename : toolkit/components/feeds/nsIScriptableUnescapeHTML.idl => parser/html/nsIScriptableUnescapeHTML.idl
rename : toolkit/components/feeds/nsScriptableUnescapeHTML.cpp => parser/html/nsParserUtils.cpp
rename : toolkit/components/feeds/nsScriptableUnescapeHTML.h => parser/html/nsParserUtils.h
2012-02-27 13:57:48 +02:00
Henri Sivonen
33afed3ab8 Bug 650784 part 1 - Introduce a new API for converting HTML to plain text. r=smaug. 2012-02-27 13:57:48 +02:00
Henri Sivonen
c8d46ba72d Bug 650784 part 0 - Fold nsParserUtils into nsContentUtils. r=smaug. 2012-02-27 13:57:48 +02:00