Aryeh Gregor
5513a92220
Bug 748725 - nsINode::GetParentElement() should return dom::Element*; r=smaug
2012-04-27 16:21:12 +03:00
Ed Morley
cc33314881
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-04-27 12:52:26 +01:00
Olli Pettay
477a850534
Backout Bug 747675 to see if it has caused startup crashes
2012-04-27 13:37:55 +03:00
Phil Ringnalda
1f0b033b16
Merge m-c to m-i
2012-04-26 21:40:59 -07:00
Olli Pettay
816969d710
Bug 747675, try to decrease max forgetSkippable times, r=mccr8
2012-04-25 16:43:18 +03:00
Ed Morley
9da8d22547
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-04-26 13:46:02 +01:00
Kyle Huey
cad1dae76e
Merge m-i to m-c.
2012-04-25 20:22:53 -07:00
Justin Lebar
65c17e54b5
Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug
2012-04-25 12:35:58 -04:00
Ed Morley
d1a31dbe40
Backout 949cb1977ef9 (bug 714861) for build bustage
2012-04-25 16:51:31 +01:00
Justin Lebar
36622cc8e3
Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug
2012-04-25 11:29:28 -04:00
Olli Pettay
babbc77a31
Bug 740063 - Add nsINode::AsDOMNode(), r=jst
...
--HG--
extra : rebase_source : a838243c11e212ec419df1dd1a219e955c4edc2d
2012-04-25 16:47:30 +03:00
Olli Pettay
e7c85d7cee
Bug 747675, try to decrease max forgetSkippable times, r=mccr8
...
--HG--
extra : rebase_source : 1378eaedd2c24ec8ccb37506d71858087925bf10
2012-04-25 16:43:18 +03:00
Aryeh Gregor
7b0c6d74e3
Bug 702948 - Make Range.detach() a no-op; r=smaug
2012-04-25 15:03:48 +03:00
Masayuki Nakano
ba56663cd3
Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug
2012-04-25 12:00:02 +09:00
Ehsan Akhgari
a992263c77
Merge mozilla-central into mozilla-inbound
2012-04-24 21:29:44 -04:00
Aryeh Gregor
d563cbcbfa
Bug 480647 part 2 - Move ParseLegacyFontSize to nsContentUtils so editor/ can use it; r=bz
2012-04-24 13:57:23 +03:00
Ed Morley
9db7f5b9bf
Merge from mozilla-central
2012-04-24 11:46:16 +01:00
Aryeh Gregor
6ed928a21d
Bug 599983 part 2 - Don't emit or process _moz_dirty more than necessary; r=ehsan,bz
2012-04-24 09:06:11 +03:00
Serge Gautherie
511d9209db
Bug 744663. (Cv1) Use 'test' pre instead of redundant 'log' pre, Improve on-screen logging. r=smaug.
...
(a=test-only)
2012-04-24 03:02:33 +02:00
Serge Gautherie
95ef6d0eef
Bug 744663. (Bv1) Inline finishWSTest(), Use executeSoon() between sub-tests, Improve message contents, Receive "end" messages too, Add an additional forcegc(), Nits. r=smaug.
...
(a=test-only)
2012-04-24 03:01:35 +02:00
Serge Gautherie
2d281b32ff
Bug 744663. (Av1) Improve documentation and logs, Nits. r=smaug.
...
(a=test-only)
2012-04-24 03:00:43 +02:00
Ehsan Akhgari
06098487ea
Merge mozilla-central into birch
2012-04-22 16:10:35 -04:00
Ehsan Akhgari
ab9c05aacd
Bug 747516 - Admit mozilla::dom::Link into a weight loss program; r=bz
2012-04-20 17:48:54 -04:00
Phil Ringnalda
b1421d4835
Back out dd82458147fd (bug 714861) for mochitest-3 failures and Linux mochitest-chrome leaks
2012-04-19 20:06:34 -07:00
Justin Lebar
00fb75253d
Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug
2012-04-20 09:54:43 +10:00
Nicholas Nethercote
228e65798f
Bug 747803 - Remove NS_SIZE_IN_HEAP. r=bz.
2012-04-19 14:15:23 +10:00
David Keeler
43a72657ab
Bug 743429 - channelType can also be binary/octet-stream in nsObjectLoadingContent::OnStartRequest. r=joshmoz
2012-04-11 15:38:43 -07:00
Ehsan Akhgari
1bca0f5390
Merge mozilla-central and mozilla-inbound; a=me
2012-04-18 16:26:35 -04:00
Jared Wein
940c68e59a
Bug 711618 - Platform changes for click-to-play permissions. r=josh a=blassey
2012-04-18 11:40:55 -07:00
Ed Morley
df1407645d
Merge last PGO-green changeset of mozilla-inbound to mozilla-central a=merge
2012-04-17 17:47:09 -07:00
Olli Pettay
e0376696c1
Bug 743178, CORS may keep XHR alive too long, r=bz, a=tracking-firefox14+
2012-04-17 23:55:40 +03:00
Daniel Holbert
b7a5d44d03
Bug 744464: Fix incorrect bounds-check of unsigned value in nsPlainTextSerializer::AppendElementEnd. r=smaug
2012-04-17 09:55:50 -07:00
Henri Sivonen
c6c8e61892
Bug 744366 - Assert about old readyState before readyState transitions. r=bzbarsky.
2012-04-17 09:41:49 +03:00
Aryeh Gregor
fc78ff9531
Bug 702948 - Add telemetry to count how many ranges are detached; r=smaug
2012-04-17 17:36:22 +03:00
Tanvi Vyas
72aed58cec
bug 570505 - fix csp to avoid creating strings from URIs and un-hose test_bug558431. r=dveditz
2012-04-17 06:16:05 -07:00
David Keeler
2b77d52a66
Bug 739575 - Prioritize click-to-play over alternate content in nsObjectLoadingContent::GetPluginSupport. r=josh
2012-04-26 16:25:21 -07:00
Daniel Holbert
5c8f163884
Bug 749229: Remove unnecessary assertion about unsigned value being >=0, in nsEventSource::SetReconnectionTimeout. r=smaug
2012-04-26 09:42:28 -07:00
Masatoshi Kimura
95f8a3cace
Bug 745498 - Add testcases for DOM4 exception types. r=sicking
2012-04-26 09:42:26 -07:00
David Anderson
9e6c5a8a5f
Remove simple JS_FrameIterator use from content, DOM, and caps (bug 744617, r=mrbkap).
...
--HG--
extra : rebase_source : 003a5285b549845d47c9298606d737620db5bb3d
2012-04-16 12:30:00 -07:00
Josh Aas
bb65774aa4
Bug 745241: Clean up some plugin stream functions. r=bsmedberg
2012-04-15 17:34:01 -04:00
Ms2ger
cb0259bd68
Bug 743438 - Move some style rule functions from nsIContent to Element; r=mounir sr=bz
2012-04-14 15:09:19 +02:00
Ms2ger
17ded04bad
Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz
2012-04-14 15:03:16 +02:00
Ms2ger
64c51c21bf
Bug 688415 - Outparamdel nsDocument::GetRadioGroup; r=volkmar
2012-04-14 14:57:06 +02:00
Aryeh Gregor
ba066c1e21
Bug 433662 part 2 - Make Range.insertNode insert the node into the range even when the range is collapsed
2012-04-01 08:02:21 -04:00
Aryeh Gregor
542f4bb6ec
Bug 433662 part 1 - Clean up nsRange::InsertNode; r=smaug
2012-04-01 07:50:31 -04:00
Jonathan Kew
13d8ee2427
bug 307039 - implement Greek-specific uppercasing for text-transform & small-caps. r=past
2012-05-03 08:57:18 +01:00
Mark Capella
329ec5f3aa
Bug 744332 - Remove nsXULPrototypeScript::ScriptObjectHolder::mLangID. r=jst, f=Ms2ger
2012-04-24 18:31:28 -04:00
Josh Aas
930b3a5b7b
Bug 745842: Clean up plugin stream listener creation. r=jst
2012-04-24 16:25:21 -04:00
Simon Montagu
565550b948
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
801bd99e38
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
7ca527468b
Bug 745352 - Remove broken include paths from content Makefile.in files. r=dholbert.
2012-01-19 15:36:53 +00:00
Masatoshi Kimura
9b5d48cafb
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
Jeff Walden
18b2aec6c5
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
Gregory Szorc
15089b0805
Merge mozilla-central into inbound
2012-04-11 18:51:10 -07:00
Olli Pettay
b5b7b0c4b3
Bug 742482 - Add support for MutationObserver.takeRecords(), r=sicking
2012-04-11 08:24:18 +03:00
Ehsan Akhgari
663c12dc93
Merge the latest green changeset from mozilla-inbound into mozilla-central
2012-04-10 16:00:30 -04:00
Olli Pettay
fab5e41574
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
543f521202
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
Masatoshi Kimura
aeaab5cc06
Bug 743574 - Deprecate DOMException.code. r=sicking
2012-04-11 17:55:23 -04:00
Masatoshi Kimura
aeb3f9e55a
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
23049011a9
Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking
2012-04-11 17:55:21 -04:00
David Humphrey (:humph)
9534b79926
Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug
2012-04-11 17:55:21 -04:00
Kyle Huey
50f43dd111
Back out Bug 679230 due to Android reftest failures.
2012-04-07 10:36:49 -07:00
Kyle Huey
76887dde56
Bug 697230: Part 3 - Make style images block onload. r=bz
2012-04-07 09:00:27 -07:00
Kyle Huey
b1e7e0165e
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
7a78607b88
Bug 697230: Part 1 - Centralize style image observers. r=bz
2012-04-07 08:58:41 -07:00
Olli Pettay
b7882b811f
Bug 743199 - Unmark Document's and Window's ELM, r=mccr8
2012-04-07 10:12:03 +03:00
Jacek Caban
2c75fb8742
Bug 742357 - Use macros to declare nsIMutationObserver functions in nsMutationReceiver r=smaug
2012-04-06 11:12:59 +02:00
Boris Zbarsky
bf00219e54
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
Ehsan Akhgari
b74a7df1cf
Merge mozilla-inbound and mozilla-central
2012-04-05 13:41:51 -04:00
Ehsan Akhgari
e130fd8945
Merge the last green PGO changeset from mozilla-inbound to mozilla-central
2012-04-05 13:40:53 -04:00
Boris Zbarsky
d3d8ec52c3
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
ac6026a2f6
Bug 741398 - make ARIA state map extensible, r=tbsaunde
2012-04-06 01:23:30 +09:00
Olli Pettay
e87e5e548c
Bug 742371 - Remove MutationReceiver from MutationObserver when the target is deleted, r=sicking
2012-04-04 20:36:40 +03:00
Olli Pettay
ada97a02d1
Bug 742237, MutationObserver crashes during GC, r=sicking
2012-04-04 18:11:57 +03:00
Marco Bonardo
5eb9c1dad8
Merge last green PGO from inbound to central
2012-04-04 13:36:36 +02:00
Olli Pettay
19b67623db
Bug 742183 - Handle MicroTasks correctly with showModalDialog, r=sicking
2012-04-04 09:23:45 +03:00
Olli Pettay
45b584ef56
Bug 742190 - Leak with MozMutationObserver, r=sicking
2012-04-04 09:22:16 +03:00
Marco Bonardo
1ababdd3b2
Merge central and inbound
2012-04-03 14:36:57 +02:00
Ms2ger
d947a8d314
Bug 738760 - Move nsContentUtils::GetContextAndScope into nsDocument.cpp; r=sicking
2012-04-03 09:25:39 +02:00
Ms2ger
6b301797c5
Bug 737122 - Attr nodes shouldn't have children; r=sicking
2012-04-03 09:25:39 +02:00
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