Mounir Lamouri
d46108bdce
Bug 753978 - Be able to know if a window is part of an application. r=jlebar
2012-05-10 17:56:21 -07:00
Benjamin Smedberg
6a69ee691d
Bug 737164 part C - switch various in-tree callers which are using fallible strings to keep using them
...
--HG--
extra : rebase_source : f5b42ba1f5745b256ba4e4ca67c883696904f9c1
2012-05-08 13:55:24 -04:00
Ed Morley
79899a6f75
Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange
2012-05-11 18:25:52 +01:00
Ms2ger
6ac8484e0e
Bug 752226 - Tests. r=evilpie
...
--HG--
extra : rebase_source : 7a0d155ab7d7898ca4c96b86ae6f706172c7c71f
2012-05-11 17:46:54 +02:00
Tom Schuster
1941fb1bb4
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
...
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
Oleg Romashin
49e2ef33de
Bug 681192. Part 5: Make various DOM scroll APIs --- scrollTop, scrollLeft, window.scrollTo, scrollBox.scrollTo, scrollBox.scrollToLine, scrollBox.scrollBy --- use an appropriate allowed scroll destination range. r=roc,r=matspal
...
--HG--
extra : rebase_source : 83ee44530c67229686ec0dce3628da83e0e93438
2012-02-07 12:24:15 -08:00
Ehren Metcalfe
e4cd7e32d8
Bug 751035 - Remove various unused nsHTML*Element related methods. r=jst
2012-05-09 18:55:56 -04:00
Ehsan Akhgari
d50878a182
Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
...
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host. Things like text controls which used to have that flag
previously will not have it any more. The flag would be set on their anonymous
div node instead. Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.
This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
Nathan Froyd
6ed0590635
Bug 747508 - Count PresContexts in about:memory; r=njn
2012-05-07 16:09:11 -04:00
Mark Capella
d3f72cbbfb
Bug 749367 - script type=texttemplate content parsed as JavaScript (+E4X), r=jst, f=ms2ger, mbrubeck, jdm
2012-05-09 07:24:24 -07:00
Chris Pearce
4707b69793
Bug 746885 part 1 - Make pointer lock requests wait until fullscreen is approved before being granted. r=smaug
2012-05-09 09:47:20 +12:00
Chris Pearce
1bbf11c8f9
Bug 716107 part 4 - Dispatch MozEnteredDomFullscreen to document which requests fullscreen. r=smaug
2012-05-09 09:47:19 +12:00
Chris Pearce
b3d3b85810
Bug 716107 part 3 - Don't dispatch 'MozShowFullScreenWarning' event upon keypress in DOM fullscreen mode. r=smaug
2012-05-09 09:47:18 +12:00
Chris Pearce
1379e2c7dc
Bug 716107 part 2 - Remove full-screen-api.key-input-restricted keys pref. r=smaug
2012-05-09 09:47:18 +12:00
Justin Lebar
30ce54f7ce
Bug 749018 - Make OOP <iframe mozbrowser> pass current browser frame tests. r=smaug,cjones
...
--HG--
extra : rebase_source : f15018bf2c9427a0d6e8d44da348d8d7d1693219
2012-05-08 09:20:35 -07:00
Aryeh Gregor
3309c31f9c
Bug 700538 part 2 - Make methods that return editing hosts return dom::Element* instead of nsIContent*; r=ehsan
2012-05-06 10:53:11 +03:00
Jared Wein
bf55883719
Bug 748701 - Followup: typo fix, forgot to set rv. r=me
2012-05-07 14:15:22 -07:00
Simon Montagu
f7b4bea0ef
Test for word-break in 16-bit text as well as 8-bit. Bug 249159 r=jfkthame
2012-05-07 12:18:23 -07:00
Makoto Kato
1fceb8d8af
Bug 249159 - Part 1 Add word-break interface to nsILineBreaker. r=smontagu
2012-05-07 12:18:23 -07:00
Boris Zbarsky
90b5c814e8
Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
...
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00
Phil Ringnalda
ce8665a6aa
Back out 1907bf7e6d7c (bug 749485) for build bustage
2012-05-05 20:33:59 -07:00
Boris Zbarsky
1833a29c14
Bug 749485. Switch new DOM bindings to using a struct for keeping track of failures for fallible methods. r=peterv,bent
...
ErrorResult is in a separate header file so it can be included from all over the
place without having to pull in mozilla/dom/Utils.h and all the xpconnect gunk
that needs.
2012-05-05 21:15:11 -04:00
Ms2ger
c5dcfd1bc7
Bug 751323 - Cleanup nsHTMLEditRules::RemoveEmptyNodes(); r=ehsan
2012-05-05 11:00:06 +02:00
Ms2ger
3b04c7d79e
Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley
2012-05-05 11:00:05 +02:00
Olli Pettay
1aadf1cb05
Bug 561664 - document.activeElement should never return native anonymous content, r=enndeakin
2012-05-04 17:41:49 +03:00
Doug Turner
68e34b4226
Bug 738465 - implement device light sensor. r=smaug
2012-05-02 09:43:45 -07:00
Doug Turner
63408865d2
Bug 738131 - implement device proximity. r=smaug
...
* * *
Bug 738131 - implement device proximity. gonk implementation. r=mwu
2012-05-02 09:43:45 -07:00
Daniel Holbert
f8f62b1e3d
Bug 750370: Fix incorrect bounds-check for unsigned value nsRadioGroupStruct::mRequiredRadioCount. r=mounir
2012-05-03 18:54:39 -07:00
Andrew McCreight
a6b24a3344
Bug 744103, part 3 - Change NoteRoot to NoteJSRoot and NoteNativeRoot. r=smaug
2012-05-03 12:28:11 -07:00
Andrew McCreight
3ac11cfc5b
Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug
2012-05-03 12:28:10 -07:00
Ed Morley
8266a4291c
Merge mozilla-central to mozilla-inbound
2012-05-03 20:13:41 +01:00
Jared Wein
83ddb9408a
Bug 748701 - Crash in nsObjectLoadingContent::IsPluginEnabledForType. r=joshmoz
2012-05-03 12:31:29 -04:00
Olli Pettay
16f7a14985
Bug 751561 - Call forgetSkippable at least twice before CC, r=mccr8
...
--HG--
extra : rebase_source : 7434eb9be0bbdfd7fe44e1aeced9698d6c0627e1
2012-05-03 19:17:01 +03:00
Bobby Holley
7901c91583
Bug 750859 - remove unused (or seldom-used) PrivilegeManager functions. r=bz
2012-05-02 23:57:34 +02:00
Masatoshi Kimura
e1b9e1184d
Bug 750023 - Add a null check in nsXMLHttpRequest::CreatePartialBlob. r=smaug
2012-04-30 15:49:15 -07:00
Andrew McCreight
528a282d03
Bug 737075 - unmark gray strongly held observers implemented in JS. r=bsmedberg, smaug
2012-04-30 12:01:11 -07:00
Robert O'Callahan
5b07e5f1c5
Bug 664918. Part 0: Refactor nsMediaCache's handling of principals into a helper method in nsContentUtils. r=bzbarsky
2012-04-30 15:11:00 +12:00
Ryan VanderMeulen
1f80980851
Merge m-c to m-i
2012-04-29 16:35:05 -04:00
Ed Morley
5d64aa60f9
Merge mozilla-central to mozilla-inbound
2012-04-27 17:57:52 +01:00
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