Avi Halachmi
e0f25c9274
Bug 826383: cyclic array for frames recording to support concurrent users. r=jmuizelaar,khuey
2013-01-23 20:47:44 +02:00
Bobby Holley
d0c7862f5e
Bug 832041 - Remove nsJSContext::CompileEventHandler and move consumers to nsJSUtils::CompileFunction. r=bz
2013-01-23 07:12:50 +01:00
Kartikaya Gupta
8c0cc0fece
Bug 828126 - Enable ifdef'd code on Fennec now that dependent bugs have been fixed. r=avih
2013-01-23 00:52:19 -05:00
Ryan VanderMeulen
15f6602a90
Merge m-c to inbound.
2013-01-23 18:30:46 -05:00
Olli Pettay
9d51d0bb41
Bug 822849 - Don't run CC/GC timers during shutdown, r=mccr8
...
--HG--
extra : rebase_source : 173e02106457b6867db8c4cf734a93366f4b31dd
2013-01-22 21:17:48 +02:00
Bobby Holley
74699797c9
Bug 832435 - Fix compartment handling for EvaluteString and javascript: uris. r=bz
2013-01-21 12:56:28 +01:00
Boris Zbarsky
cc38c59fa3
Bug 828787. Stop allowing indexed expandos on windows. r=peterv
2013-01-22 15:29:53 -05:00
Andrew McCreight
761f71fca4
Bug 830595 - Add JSAutoCompartment to nsJSContext::ExecuteScript. r=bz
2013-01-22 11:48:46 -08:00
Steve Fink
9effec722d
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
2012-12-31 12:40:21 -08:00
Phil Ringnalda
c5ea080c1a
Back out 7dbbb6e3d240 (bug 832435) for assertion failures
2013-01-18 21:29:05 -08:00
Bobby Holley
bd138ef664
Bug 832435 - Fix compartment handling for EvaluteString and javascript: uris. r=bzbarsky
2013-01-18 23:33:26 -05:00
Steve Fink
d8da3e7b9a
Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!)
2013-01-18 13:20:21 -08:00
Steve Fink
0dee2fb42d
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
...
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Nicholas Nethercote
23f321407b
Bug 826521 (part 2) - Report memory used by event targets, especially XHRs. r=bz.
...
--HG--
extra : rebase_source : 543f0e367ce73477d62eca544137a101108a97be
2013-01-17 21:21:43 -08:00
Andrew McCreight
8e97e8e581
Bug 826471. Add JSAutoCompartment in nsWindowSH::NewResolve. r=bholley
2013-01-17 16:30:41 -08:00
Boris Zbarsky
06072bf404
Bug 823228 part 2. Move indexed property access on windows from nsWindowSH::GetProperty to the outer window proxy. r=bholley
2013-01-17 12:30:37 -05:00
Bobby Holley
6e038d2b99
Bug 824864 - Fix Ms2ger nits. r=me
2013-01-16 18:50:27 -08:00
Bobby Holley
9fce3b092f
Bug 824864 - Pass EvaluateString out-param as a pointer, not a reference. r=bz
2013-01-16 18:50:27 -08:00
Bobby Holley
2659d8fc54
Bug 824864 - Move responsibility for checking for JSVERSION_UNKNOWN to the one caller of EvaluateString that might pass it. r=bz
2013-01-16 18:50:26 -08:00
Bobby Holley
a26c078c60
Bug 824864 - Use an nsCxPusher in EvaluateString, and pull the principal off the target object. r=bz
...
This simplifies a lot of code, and makes the function scope-agnostic.
2013-01-16 18:50:26 -08:00
Bobby Holley
5515799556
Bug 824864 - Rename EvaluateStringWithValue to EvaluateString. r=bz
...
Now that there's only one of them, we can get rid of the silly suffix. \o/
2013-01-16 18:50:26 -08:00
Bobby Holley
746d5bebee
Bug 824864 - Remove unused optional arguments from nsIScriptContext::ExecuteScript. r=bz
...
This lets us get rid of a bunch of junk.
2013-01-16 18:50:26 -08:00
Bobby Holley
d3d15aa3fe
Bug 824864 - Remove nsIScriptContext::EvaluateString. r=bz
2013-01-16 18:50:26 -08:00
Bobby Holley
1f2a4747c6
Bug 824864 - Move existing consumers of EvaluateString over to EvaluateStringWithValue. r=bz
2013-01-16 18:50:26 -08:00
Bobby Holley
a14609b21a
Bug 824864 - Improve the API for EvaluateStringWithValue. r=bz
...
There are a few changes we make here:
1 - Having callers pass JS::CompileOptions directly.
2 - Removing aUndefined, which makes no sense and is unused by consumers.
3 - Making aScopeObject and aRetValue non-optional, via references.
3 - Adding an argument to optionally coerce the return value to a string.
Coercing jsvals to strings is the reason we currently have two nearly-identical
functions, EvaluateString and EvaluateStringWithValue, since the coercion can
trigger arbitrary script and thus needs to be bracketed by all the junk that
nsJSContext does. However, if callers can be guaranteed that the return value
will be a bonafide string, then they can easily extract the string themselves
if they so desire. This will allow us to combine the two functions.
2013-01-16 18:50:26 -08:00
Bobby Holley
5a19a07bef
Bug 824864 - Move consumers of CompileFunction to the nsJSUtils version, and kill the nsJSContext version. r=bz
...
Note that the three consumers were all XBL, and were all passing aShared = true,
which had the effect of passing null for the target object. So we actually want
to pass JS::NullPtr() (the HandleObject version of nullptr) instead of
aClassObject in order to maintain the old behavior (whatever that is).
2013-01-16 18:50:25 -08:00
Bobby Holley
baf74b5ce0
Bug 824864 - Hoist the guts of CompileFunction into nsJSUtils. r=bz
2013-01-16 18:50:25 -08:00
Trevor Saunders
83bcbe0d6b
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Gary Kwong
521929f375
Bug 831472 - Add another null check to nsGlobalWindow::GetInnerScreenRect(). r=smaug
2013-01-16 13:44:26 -08:00
David Zbarsky
8826c06ce1
Bug 827174 - Remove nsIDOMSVGLocatable and nsIDOMSVGTransformable r=bz
2013-01-16 15:51:00 -05:00
David Zbarsky
e10b65b185
Bug 827172 - Convert SVGPathElement to WebIDL r=bz
2013-01-16 15:50:59 -05:00
Ed Morley
84b7b29fbf
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2013-01-16 20:22:54 +00:00
Olli Pettay
fef0029520
Bug 830858 - Implement a generic way to dispatch events to chrome only, r=jst
2013-01-16 11:27:06 +02:00
Panos Astithas
ee55ec9122
Merge m-c to fx-team
2013-01-16 10:13:29 +02:00
Olli Pettay
b70de8d5a7
Bug 830948, null check mDocshell before using it, r=bz
...
--HG--
extra : rebase_source : ea20dabe0ec39b3b98fab07e72b0f1f51f9d32a8
2013-01-16 01:12:14 +02:00
Mihai Sucan
259732578f
Bug 787985 - Console API messages are not consistent; r=past
2013-01-15 16:02:25 +02:00
Trevor Saunders
84fd122dde
bug 830396 - add back nsIDOMCSSValueList r=bz
2013-01-14 12:29:27 -05:00
Phil Ringnalda
dfaf3bab2c
Back out ecac2ce4eada (bug 828126) for busting b2g's arm
2013-01-13 17:48:33 -08:00
Kartikaya Gupta
3a5e8a2d07
Bug 828126 - Remove ANDROID special-casing now that dependent bugs have been fixed. r=avih
2013-01-13 19:19:03 -05:00
David Zbarsky
5d03b3664d
Bug 827724 - Remove nsIDOMSVGAnimatedPoints r=bz
2013-01-12 17:21:53 -05:00
Ryan VanderMeulen
d5134b0105
Merge m-c to inbound.
2013-01-15 19:44:40 -05:00
Boris Zbarsky
3a50cb6afb
Bug 830553. Make the asserts in nsWrapperCache.h fatal. r=mccr8
2013-01-15 14:04:24 -05:00
Trevor Saunders
138e996dfc
no bug - remove a bunch of extra ';'s to make -pedantic happy
2013-01-11 05:14:04 -05:00
Trevor Saunders
0e12472abd
bug 828138 - GetCurrentSelection() should return Selection* r=smaug
2012-12-19 17:55:44 -05:00
Ehsan Akhgari
b9c1d100b9
Merge mozilla-central into mozilla-inbound
2013-01-15 09:10:19 -05:00
Olli Pettay
1defaa48e6
Bug 825544: backout Bug 825544, Bug 825544, Bug 765192 and Bug 808035 to bring back the old .location=val behavior, r=bz
2013-01-15 13:46:35 +02:00
Mats Palmgren
b7ae90666d
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
David Zbarsky
de74b8ded9
Bug 830231 - Remove nsIDOMDOM(Settable)TokenList r=bz
2013-01-15 03:35:59 -05:00
Nicholas Nethercote
e7d64e972a
Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar.
...
--HG--
extra : rebase_source : 53a77ea456f2aedafe05954ceece7e64db743e66
2013-01-14 16:26:47 -08:00
Andrew McCreight
336d6d78cf
Bug 827541 - Traverse/Unlink nsGlobalWindow::mAudioContexts. r=ehsan
2013-01-14 15:22:00 -08:00
Mike West
e4b50cc11c
Bug 828261: Implement 'window.location.origin'. r=bholley, sr=sicking
2013-01-09 17:37:25 +01:00
David Zbarsky
9e33835feb
Bug 827200 - Remove nsIDOMSVGZoomAndPan r=bz, longsonr
2013-01-10 00:24:37 -05:00
Robert Longson
fb1b950710
Bug 825411 - clipPaths, masks, etc. with failing conditional processing attributes cause referencing elements not to be rendered r=cam
2013-01-08 13:14:04 +00:00
Ed Morley
9f0566d6db
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2013-01-08 11:32:07 +00:00
Olli Pettay
c8654afcdc
Bug 820378 - Try to postpone triggering CC if we're in middle of GC handling, r=mccr8
2013-01-08 13:11:01 +02:00
Ed Morley
7eab66f71e
Bug 810644 - Fix merge conflict after separate backouts on multiple trees; r=me
2013-01-08 10:13:30 +00:00
Ed Morley
31996c5252
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2013-01-08 09:26:15 +00:00
Olli Pettay
97094c4d13
Bug 705371 - [CC] don't add JSContexts that have no children to the cycle collector graph, r=mccr8
2013-01-07 19:40:46 +02:00
Boris Zbarsky
c1714abf39
Back out bug 810644 for now to fix bug 827035, until we manage to fix bug 765780. r=stuff-is-broken
2013-01-07 10:29:00 -05:00
Boris Zbarsky
29436c441d
Back out bug 810644 for now to fix bug 827035, until we manage to fix bug 765780. r=stuff-is-broken
2013-01-07 10:29:00 -05:00
Nicholas Nethercote
8721130e3f
Bug 826183 - DMD: clear reportedness data before running memory reporters and dumping. r=jlebar.
...
--HG--
extra : rebase_source : 3ea1c71eacdee712b2d1739a8e25cbf854ea0424
2013-01-06 13:34:39 -08:00
David Zbarsky
35604d01d3
Bug 825147: Convert SVGImageElement to WebIDL r=bz
...
--HG--
rename : content/svg/content/src/nsSVGImageElement.cpp => content/svg/content/src/SVGImageElement.cpp
rename : content/svg/content/src/nsSVGImageElement.h => content/svg/content/src/SVGImageElement.h
2013-01-06 04:32:01 -05:00
David Zbarsky
9e024fb017
Bug 824229 Part 2: SVGGraphicsElement should implement SVGTests r=longsonr
2013-01-06 01:25:52 -05:00
Gene Lian
47b06e6852
Bug 821671 - Check alarm API parameters in the parent (part 2, provide assertContainApp() for checking manifest URL). r=sicking
2012-12-22 20:00:10 +08:00
Robert O'Callahan
970988bc3c
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Peter Van der Beken
77ad96a303
Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableSectionElement to WebIDL. r=bz.
...
--HG--
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.cpp
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.cpp
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.h
rename : dom/interfaces/html/nsIDOMHTMLTableSectionElem.idl => dom/interfaces/html/nsIDOMHTMLTableSectionElement.idl
extra : rebase_source : b9c1d7dea38653452b44b2033cf2c0140f7b39b1
2012-12-29 15:07:48 +01:00
David Zbarsky
4bbe6e8a41
Bug 826947: Convert HTMLScriptElement to WebIDL r=bz
2013-01-05 04:41:28 -05:00
Phil Ringnalda
d44dff5096
Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
...
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
0bda13504b
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
David Keeler
b7a5aabdc3
bug 820708 - refresh navigator.plugins when a plugin is enabled/disabled r=joshmoz
2012-12-20 16:53:21 -08:00
Vicamo Yang
1fc7a9c0a6
Bug 820780 - Part 2/5: DOM, IPC changes, r=bent
2013-01-04 14:26:20 +08:00
Avi Halachmi
28ffc25c71
Bug 820167 - Tab open/close animation prints performance data to error console when enabled. r=jmuizelaar,dao
2013-01-03 21:53:15 -05:00
Trevor Saunders
09f3b656b4
bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug
2012-12-28 20:56:42 -05:00
Jeff Walden
e9191e095f
Bug 824217 - Remove the JSRESOLVE_ASSIGNING test that guards definition of DOM Worker constructors and Gecko-specific script namespace manager constructors. r=bz
2013-01-03 12:29:16 -06:00
Ryan VanderMeulen
829dc7459d
Merge m-c to inbound.
2013-01-03 17:01:32 -05:00
Daniel Holbert
009f9d03bc
Bug 825949 followup: in nsGlobalWindow::SetTimeoutOrInterval, make |realInterval| unsigned, since it's known-nonnegative and is passed elsewhere as an unsigned integer. r=smaug
2013-01-03 13:48:52 -08:00
Daniel Holbert
abd2c13da0
Bug 825949: Make nsGlobalWindow::InitTimer directly take a uint32_t, rather than a uint64_t. r=smaug
2013-01-03 13:48:01 -08:00
Olli Pettay
116d0e2688
Bug 816340 - Propagate events to chrome even if there is a disabled form control in the event target chain, r=jst,gavin
2013-01-03 17:17:36 +02:00
Robert O'Callahan
943cb99eff
Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
...
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.
--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Boris Zbarsky
8a9421c372
Bug 810644 followup to fix -Werror red in opt builds. r=bustage
2013-01-03 14:41:02 -05:00
Boris Zbarsky
ccbf48cfbb
Bug 810644 part 2. Eliminate the now-unused CallEventHandler. r=smaug, sr=peterv
2013-01-03 14:02:42 -05:00
Boris Zbarsky
7cfdd2ca05
Bug 810644 part 1. Switch setTimeout and setInterval to using WebIDL callback functions. r=smaug, sr=peterv
2013-01-03 14:02:36 -05:00
Ryan VanderMeulen
286b899162
Merge the last PGO-green inbound changeset to m-c.
2013-01-02 21:02:40 -05:00
Olli Pettay
0305d05122
Additional patch for Bug 821371 to fix crashes on windows, r=timeless
...
--HG--
extra : rebase_source : 0addf10c8284e141f1dfa8ae2fac467e5232c4f2
2013-01-02 22:45:36 +02:00
Daniel Holbert
349f5245b9
Bug 558306 followup: Remove one straggling instance of stale comment about (no longer used) PR_USEC_PER_MSEC and PRTime. (comment-only, DONTBUILD)
2013-01-02 10:52:19 -08:00
Jeff Walden
998e1a3d66
Bug 824217 - Remove some easy-to-remove tests of JSRESOLVE_ASSIGNING. r=bz
...
--HG--
extra : rebase_source : 2605d559d48b9ccd985bd860f13ab7b1b53ab048
2012-12-19 19:32:34 -05:00
Masatoshi Kimura
9a4812e054
Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted
2013-01-03 00:56:38 +09:00
Masatoshi Kimura
31c72ca660
Bug 824247 - Part 1: Fix common source of warning spam (dom). r=smaug
2013-01-03 00:55:05 +09:00
Nicholas Nethercote
b7723e3c58
Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
...
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Ehsan Akhgari
8cc491fe91
Bug 825527 - Part 5: Turn on the WebIDL bindings for HTMLImageElement; r=bzbarsky
2013-01-02 12:28:14 -05:00
Boris Zbarsky
71e5c36a75
Bug 823225. Move .wrappedJSObject from nsWindowSH::GetProperty to the outer window get hook. r=mrbkap
2013-01-02 22:03:41 -05:00
Andrew McCreight
fac46bef15
Bug 821371, part 3: Remove bogus asserts. r=bustage
2012-12-31 17:03:54 -05:00
Andrew McCreight
da9e73dec3
Bug 821371, part 2 - Log time taken for cycle collector prep. r=smaug
2012-12-31 15:55:07 -05:00
Andrew McCreight
76707515b7
Bug 821371, part 1 - Don't finish GC when CCTimerFired calls CycleCollectNow. r=smaug
2012-12-31 15:54:37 -05:00
Josh Matthews
4d6b6b5de0
Backed out changeset 40c1df07b407 (bug 824217)
2012-12-28 19:13:36 -05:00
Jeff Walden
fd937151e0
Bug 824217 - Remove some easy-to-remove tests of JSRESOLVE_ASSIGNING. r=bz
2012-12-19 19:32:34 -05:00
Trevor Saunders
801c9b79ba
bug 822717 - remove checks for old gcc r=glandium
2012-12-18 13:22:28 -05:00
Nicholas Nethercote
c36dea3127
Bug 824883 - Fix three warnings in dom/ code. r=bz.
...
--HG--
extra : rebase_source : 3763606a23b66493596787ca33cec32618efa2f1
2012-12-26 20:24:59 -08:00
Nicholas Nethercote
efaf0192cb
Bug 819819 (part 1) - Remove DMDV. r=khuey.
...
--HG--
extra : rebase_source : af193a276409e33f0099d256cdfcd0f11917ea25
2012-12-20 23:03:50 -08:00
Benjamin Chen
f016ff4111
Bug 805746 - Send CustomScroll domevent to browser.js. r=cjones
2012-12-25 14:09:34 +08:00
Masatoshi Kimura
8ddafbd406
Bug 820841 - Cache the document URI on the window so that DOMParser() can refer. r=bz
2012-12-26 20:00:05 +09:00
Boris Zbarsky
51aee98e93
Bug 824517. Quickstub window.performance. r=peterv
2012-12-25 14:00:15 -08:00
David Zbarsky
7d32181339
Bug 823394 Part 1:Merge nsSVGStylableElement/nsSVGElement and nsIDOMSVGStylable/nsIDOMSVGElement r=bz
...
--HG--
rename : layout/reftests/svg/style-property-not-on-script-element-01.svg => layout/reftests/svg/style-property-on-script-element-01.svg
2012-12-23 03:22:22 -05:00
Boris Zbarsky
f267cd20a4
Bug 816387 part 1. Hook up the WebIDL bindings for Document. r=peterv
2012-12-23 14:33:33 -08:00
Ms2ger
87280862b0
Backout bug 823394 for reftest oranges.
2012-12-23 13:44:04 +01:00
David Zbarsky
8aefa3fddd
Bug 823394 Part 1:Merge nsSVGStylableElement/nsSVGElement and nsIDOMSVGStylable/nsIDOMSVGElement r=bz
2012-12-23 03:22:22 -05:00
David Zbarsky
145ff8ddc1
Remove some unneeded forward declares (no bug)
2012-12-22 23:54:26 -05:00
David Zbarsky
560c469c19
Bug 817442 Part 11: Remove nsIDOMSVG(Animated)LengthList r=bz
2012-12-22 23:54:26 -05:00
David Zbarsky
8cbc728d2f
Bug 817442 Part 6: Remove nsIDOMSVG(Animated)NumberList r=bz
2012-12-22 23:54:25 -05:00
David Zbarsky
f88a3e128d
Bug 817442 Part 10: Remove nsIDOMSVGPoint r=bz
2012-12-22 23:54:25 -05:00
David Zbarsky
9b30e90f8c
Bug 817442 Part 9: Remove nsIDOMSVGMatrix r=bz
2012-12-22 23:54:24 -05:00
David Zbarsky
ecea0f9145
Bug 817442 Part 8: Remove nsIDOMSVGTransform r=bz
2012-12-22 23:54:24 -05:00
David Zbarsky
ea24b37661
Bug 817442 Part 7: Remove nsIDOMSVG(Animated)TransformList r=bz
2012-12-22 23:54:24 -05:00
David Zbarsky
3879a4e943
Bug 817442 Part 5: Remove nsIDOMSVG(Animated)Angle r=bz
2012-12-22 23:54:23 -05:00
David Zbarsky
071334be2f
Bug 817442 Part 4: Remove nsIDOMSVGPathSegList r=bz, jwatt
2012-12-22 23:54:23 -05:00
David Zbarsky
9829ee3081
Bug 816778 Part 10: Convert SVGPathSeg and subclasses to WebIDL and remove XPIDL r=bz
2012-12-22 23:54:22 -05:00
David Zbarsky
72dac6b632
Bug 817442 Part 3: Remove nsIDOMSVGAnimatedBoolean r=bz, jwatt
2012-12-22 23:54:22 -05:00
David Zbarsky
4d100c70db
Bug 817442 Part 2: Remove nsIDOMSVG(Animated)PreserveAspectRatio r=bz, jwatt
2012-12-22 23:54:21 -05:00
David Zbarsky
27aca98d8e
Bug 817442 Part 1: Remove nsIDOMSVGPointList r=bz, jwatt
2012-12-22 23:54:21 -05:00
Masatoshi Kimura
3fc031f3f1
Bug 804834 - Part 3: Add a regression test. r=waldo
2012-12-23 05:13:02 +09:00
Ms2ger
1fb4804f99
Merge m-c to inbound.
2012-12-22 14:42:37 +01:00
Ms2ger
8dd150af35
Merge PGO-green changeset from inbound to m-c.
2012-12-22 12:06:37 +01:00
Ms2ger
f96f32cdf5
Bug 823107 - Make nsIDOMEvent::SetTrusted return void; r=smaug
2012-12-22 09:18:08 +01:00
Ms2ger
5a0d506bc4
Bug 819639 - Part b: Move EventSource to Paris bindings; r=bz
2012-12-22 09:17:05 +01:00
Ms2ger
be5e991601
Bug 819639 - Part a: Rename nsEventSource to dom::EventSource; r=bz
...
--HG--
rename : content/base/src/nsEventSource.cpp => content/base/src/EventSource.cpp
rename : content/base/src/nsEventSource.h => content/base/src/EventSource.h
2012-12-22 09:17:05 +01:00
Boris Zbarsky
53a5112fb0
Bug 804631. Add the WebIDL API for Document. r=peterv
...
I'm not entirely happy with the XPath bits. If we had an
nsXPathEvaluator member, or if the WebIDL API were on
nsIDOMXPathEvaluator or something, all that stuff would need a lot
less code...
2012-12-22 00:27:27 -08:00
Jeff Walden
136d40a160
Bug 823283 - Don't do anything special for writable [Replaceable] properties, a Gecko-specific abomination. r=bz
2012-12-19 15:57:18 -05:00
Olli Pettay
68fe3c1606
Bug 790978 - Convert MutationObserver to webidl, r=bz
...
--HG--
extra : rebase_source : 86b4120ef1f3bedc6554761af715de8413f01343
2012-12-18 16:50:52 +02:00
Nikhil Marathe
69451fd4e3
Bug 822406 - Use transaction.error.name when possible. r=gwagner
2012-12-17 20:53:39 -05:00
Jeff Walden
ac06f32c75
Bug 823283 - Don't query for JSRESOLVE_QUALIFIED when determining whether to check for an undeclared variable, when possibly adding a fast-path expando to the global object for assignment to a non-existent property. Instead examine the current bytecode to see if it's an undeclared variable access. r=bz, r=luke
...
--HG--
rename : dom/encoding/TextDecoderBase.h => dom/encoding/TextDecoder.h
rename : dom/encoding/TextEncoderBase.h => dom/encoding/TextEncoder.h
extra : rebase_source : aa656c52edc95cd95bb109dbfe2c40d8303dbe34
2012-12-19 16:49:30 -05:00
Gavin Sharp
daab774d8a
Back out bug 783129 / b0788a95a2bd (merged with e01ca7212c8a) due to test failures
2012-12-21 18:50:00 -05:00
William Chen
de026650c9
Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap, bent
2012-11-01 11:18:08 -07:00
Jeff Walden
54d1925f8b
Bug 823283 - Don't query for JSRESOLVE_QUALIFIED when resolving document.all. r=bz
...
--HG--
extra : rebase_source : 3e3661f1fc6539ed885c91eed12bc9636d266f28
2012-09-15 11:19:55 -07:00
Jeff Walden
c6182723a8
Bug 792108 - Implement JSCLASS_EMULATES_UNDEFINED to allow objects of a given class to act like the value |undefined| in certain contexts. Also add a TI flag for such objects, permitting us to assume that no objects use the flag until one is observed, also speeding up object-is-truthy tests when no falsy object is observed. r=jandem, r=bz
...
--HG--
extra : rebase_source : a76167661fffc26adf0e631d0b87c842b5fc0ed5
2012-09-15 11:19:54 -07:00
Dão Gottwald
3e5deace1e
Backed out changeset e14c7409ede7
2012-12-18 01:04:30 +01:00
Avi Halachmi
a1d09d0622
Bug 820167: Enable performance measurement of tab animation. r=jmuizelaar
2012-12-17 18:48:01 -05:00
Masatoshi Kimura
b8635ff1f9
Bug 822094 - Part 2: Add transfer parameter to window.postMessage. r=sicking
2012-12-17 17:43:45 -05:00
Gene Lian
6caa0f32d4
Bug 821633 - Alarm API - .getAll() need to wrap the objects respecting to the content window (part 1, ObjectWrapper.jsm and Cu.createDateIn()). r=sicking
2012-12-17 13:29:00 +08:00
Gene Lian
1f23b55473
Bug 821977 - ObjectWrapper.jsm needs to provide |type| property for the new blob. r=sicking
2012-12-15 18:09:02 +08:00
Ed Morley
55542c23dd
Backout bc98fdc051f5 (bug 792108) for assertions on a CLOSED TREE
2012-12-17 21:35:12 +00:00
Scott Johnson
7934ac6871
Bug 821801: Make nsContentUtils::ViewportInfo into a separate class in order to allow better state tracking. [r=kats]
2012-12-17 15:24:41 -06:00
Jeff Walden
37bd17d951
Bug 792108 - Implement JSCLASS_EMULATES_UNDEFINED to allow objects of a given class to act like the value |undefined| in certain contexts. Also add a TI flag for such objects, permitting us to assume that no objects use the flag until one is observed, also speeding up object-is-truthy tests when no falsy object is observed. r=jandem, r=bz
...
--HG--
extra : rebase_source : 0081cf0155a2ca30cee859db9dd9bf2e3374b204
2012-09-15 11:19:54 -07:00
Trevor Saunders
6a29c71231
bug 821593 - remove dom classinfo stuff r=bz
2012-12-14 03:01:04 -05:00
Masatoshi Kimura
b92c391adc
Bug 818281 - Remove DOMClassInfo remnants from XMLHttpRequest. r=bz
2012-12-16 19:57:12 -05:00
Anthony Jones
2bff0e8ded
Bug 820561 - Reduce unnecessary full screen painting. r=roc
2012-12-16 19:20:02 -05:00
Masayuki Nakano
bbb1282d70
Bug 813445 part.12 Remove NS_EVENT_FLAG_ONLY_CHROME_DISPATCH and nsEvent::flags r=smaug
2012-12-16 10:26:05 +09:00
Masayuki Nakano
2abcbf6807
Bug 813445 part.8 Remove NS_EVENT_FLAG_SYNTHETIC_TEST_EVENT r=smaug
2012-12-16 10:26:04 +09:00
Masayuki Nakano
bc637323fa
Bug 813445 part.5 Remove NS_EVENT_FLAG_NO_DEFAULT and NS_EVENT_FLAG_NO_DEFAULT_CALLED_IN_CONTENT r=smaug
2012-12-16 10:26:04 +09:00
Masayuki Nakano
4581677d83
Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug
2012-12-16 10:26:03 +09:00
Masayuki Nakano
dae57396e3
Bug 813445 part.1 Make widget::EventFlags and remove NS_EVENT_FLAG_TRUSTED r=roc+smaug, feedback=emk
2012-12-16 10:26:03 +09:00
Peter Van der Beken
6f6a341ee2
Fix for bug 815149 (Add support for SOWs and XBL bindings in new DOM bindings). r=bz.
...
--HG--
extra : rebase_source : c24544fd3d1c99651e279e687a07a02c5b994323
2012-09-12 22:29:30 +02:00
Chiajung Hung
a3797d3442
Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones
2012-11-22 10:40:57 +08:00
Mark Hammond
e249240d97
Backout cf585138ff25 (bug 805939) for Windows build bustage on a CLOSED TREE
2012-12-21 15:30:02 +11:00
Chiajung Hung
2708f65d81
Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones
2012-11-22 10:40:57 +08:00
Boris Zbarsky
4c6b53a57f
Bug 816380. Convert XPathEvaluator to WebIDL. r=peterv
2012-12-14 14:10:49 -05:00
Trevor Saunders
2d1d432957
bug 798567 - convert css values to webidl r=bz
2012-10-01 12:49:41 -04:00
Bobby Holley
65be2969d3
Bug 818716 - Move XBL detection into nsContentUtils and remove filename hack. r=mrbkap
2012-12-12 17:09:37 -08:00
Bobby Holley
be465ba470
Bug 820666 - Tag XBL script for <field> elements and child scripts. r=jorendorff
2012-12-12 17:09:37 -08:00
Fabrice Desré
23bb7a3037
Bug 820677 - vkb doesn't work anymore in b2g [r=gwagner]
2012-12-12 14:58:11 -08:00
Kyle Huey
49fa8a07ee
Bug 770844: Add a window.mozIndexedDB to work around this bug for now. r=sicking a=akeybl
2012-09-20 08:50:16 -07:00
Gene Lian
2e56ba49b3
Bug 811615 - Miss file name when passing file by Web Activity (part 2, ObjectWrapper.jsm). r=fabrice, a=blocking-basecamp
2012-12-11 16:30:53 +08:00
Kyle Huey
452869c48c
Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking
2012-12-11 13:21:03 -08:00
Andrew McCreight
e930c85deb
Bug 814027 - Make domDoc into a COMPtr in Navigator::Vibrate. r=jlebar
2012-12-11 11:18:57 -08:00
Ms2ger
8fc67dfff7
Bug 776539 - Move FormData to Paris bindings; r=bz
2012-12-11 19:09:56 +01:00
Ed Morley
b3f233b860
Backout 194d8f675d2d & 251a18603db4 (bug 811615) for xpcshell and mochitest failures
2012-12-11 13:09:38 +00:00
Gene Lian
5940a5c8f1
Bug 811615 - Miss file name when passing file by Web Activity (part 2, ObjectWrapper.jsm). r=fabrice, a=blocking-basecamp
2012-12-11 16:30:53 +08:00
Kyle Huey
316dfb7a2c
Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking
2012-12-11 03:54:08 -08:00
Nicholas Nethercote
7d32dc00e9
Bug 717853 - Add a native version of DMD. r=jlebar,glandium.
...
--HG--
extra : rebase_source : 9b824556591abd63b42aa7ff823e9cd25976c162
2012-12-10 16:05:07 -08:00
Masatoshi Kimura
9a25c4e704
Bug 818281 - Remove legacy XHR constructor. r=bz
2012-12-10 09:04:30 -05:00
Saurabh Anand
6de7befa37
Bug 818817 - Fix some compiler warnings, r=Ms2ger
2012-12-09 22:53:19 +05:30
David Zbarsky
e03cc0d901
Bug 817332 - Remove XPIDL for HTMLPropertiesCollection/PropertyNodeList r=bz
2012-12-08 17:06:42 -05:00
John Schoenick
6e8178b713
Bug 810082 - Part 0.5 - Add script access event for CTP'd plugins r=joshmoz
2012-12-07 14:50:10 -08:00
Amod Narvekar
a706018de6
Bug 796873 - Don't lock the screen if we might not be able to unlock it. r=mounir
2012-12-07 17:33:39 +00:00
Benoit Girard
65bfd8db0e
Bug 818296 - Don't NukeCrossCompartment on optimized shutdown. r=khuey
2012-12-07 11:54:46 -05:00
Boris Zbarsky
66a25e5fa2
Bug 818263. Make the EventTarget binding work for nodes. r=smaug,peterv
2012-12-06 20:39:51 -05:00
Peter Van der Beken
ea0c0a9788
Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods). r=bz.
...
--HG--
rename : layout/reftests/backgrounds/background-referrer-ref.html => image/test/reftest/generic/accept-image-catchall-ref.html
rename : layout/reftests/backgrounds/background-referrer.html => image/test/reftest/generic/accept-image-catchall.html
rename : layout/reftests/backgrounds/background-referrer.sjs => image/test/reftest/generic/check-header.sjs
rename : layout/reftests/backgrounds/background-referrer-image.png => image/test/reftest/generic/green.png
rename : toolkit/components/places/tests/browser/browser_favicon_setAndFetchFaviconForPage.js => toolkit/components/places/tests/favicons/test_setAndFetchFaviconForPage.js
extra : rebase_source : 45715d6abe3155a6bcd1d21e5cc3f7b048180eb6
2012-11-26 15:19:02 +01:00
Boris Zbarsky
d23130821b
Bug 817473 part 2. Remove no-longer-needed nsNodeSH::PostCreatePrototype. r=peterv
2012-12-06 15:21:18 -05:00
Peter Van der Beken
94b0fea563
Back out 79fc9d732bf7 (bug 818219) for orange.
...
--HG--
extra : rebase_source : 862b4c446f9b454c4c72e7536e73b9d9ede9feb6
2012-12-06 16:09:55 +01:00
Peter Van der Beken
4ff672c1a5
Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods). r=bz.
...
--HG--
extra : rebase_source : ddbedbaea030272ce8fc1ac7245175f7fd3edaa4
2012-11-26 15:19:02 +01:00
Masatoshi Kimura
64bc10205a
Bug 817844 - Remove DOMClassInfo remnants from DOMParser/XMLSerializer. r=bz
2012-12-05 19:49:32 -05:00
Trevor Saunders
b6cf9728ce
bug 801466 - part 3.1 remove some prmem usage from dom/ and content/ r=mounir
2012-12-05 02:55:37 -05:00
Trevor Saunders
bac28f7e18
backout 2bb432c47170 for debug asserts
2012-12-05 04:19:33 -05:00
Trevor Saunders
35ab865598
bug 801466 - part 3 1/2 remove some prmem usage from dom/ and docshell/ r=mounir
2012-12-05 02:55:37 -05:00
Andrew McCreight
ffeef3a759
Bug 792861 - Make HoldJSObjects/DropJSObjects infallible. r=smaug
2012-11-12 17:15:00 -08:00
Vicamo Yang
e96950839d
Bug 778093 - Part 3/9: complete onreceived event handling, r=mounir,hsinyi,bent
2012-12-04 10:40:47 +08:00
Vicamo Yang
4da257d7fb
Bug 778093 - Part 2/9: add navigator.mozCellBroadcast, r=mounir
2012-12-04 10:38:25 +08:00
Masatoshi Kimura
724149ded1
Bug 816410 - Part 2: Remove legacy constructor functions. r=bz
2012-12-03 20:26:16 -05:00
Boris Zbarsky
3f31f8f1a2
Bug 817476. Really do WebIDL bindings for Screen. r=ms2ger
2012-12-03 11:44:56 -05:00
Ms2ger
79846abbee
Bug 817276 - Part c: Remove dead definition of the nsContractIDMapData struct; r=jst
2012-12-02 09:59:54 +01:00
Ms2ger
87a980808c
Bug 817276 - Part b: Return the pointer directly from nsScriptNameSpaceManager::LookupNavigatorName; r=jst
2012-12-02 09:59:51 +01:00
Ms2ger
28b59cc1af
Bug 817276 - Part a: Remove some unused jsids from nsDOMClassInfo; r=jst
2012-12-02 09:59:49 +01:00
Ms2ger
abe686e45d
Bug 814898 - Part d: Cleanup CC goop in some more parts of dom/; r=mccr8
2012-12-02 09:54:51 +01:00
Ms2ger
a4af932810
Bug 814898 - Part b: Cleanup CC goop in dom/base; r=mccr8
2012-12-02 09:53:37 +01:00
Steven Lee
c4ba48ecb6
Bug 809106 - [music] Unplugging headphones while playing music should pause it. Part2-AudioChannelManager implemenentation. r=jlebar, r=sicking
2012-11-29 17:52:03 -05:00
Boris Zbarsky
9a39de6d40
Bug 815671 part 4. Remove some array copying in gfx code. r=roc
2012-11-29 11:14:13 -05:00
Boris Zbarsky
542ae8e2de
Bug 815671 part 3. Make nsXULPopupManager::GetVisiblePopups use an array out param instead of returning array object copies. r=roc
2012-11-29 11:14:13 -05:00
Fabrice Desré
7ba8fb1e08
Bug 778668 - Bubble the application name/origin/manifest in the desktop-notification mozChromeEvent [r=wchen]
2012-11-28 22:36:15 -08:00
Ehsan Akhgari
cf0638b6a7
Merge mozilla-central into mozilla-inbound
2012-11-28 09:43:30 -05:00
Olli Pettay
c806b877ae
Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
...
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Mounir Lamouri
cf6c8e845c
Bug 798446 - Attempt to fix startup crash in nsGlobalWindow ctor. r=bz
2012-11-27 18:29:49 +00:00
Ehsan Akhgari
4649ad08c1
Bug 814789 - Tie the life-time of the AudioContext to the life-time of the document owning it; r=bzbarsky
2012-11-23 18:33:41 -05:00
Daniel Holbert
2eecde6b4e
Backed out changeset 704c91d3e7fa (Bug 814789) because of mac build-bustage
2012-11-26 20:34:10 -08:00
Ehsan Akhgari
c2934219f5
Bug 814789 - Tie the life-time of the AudioContext to the life-time of the document owning it; r=bzbarsky
2012-11-23 18:33:41 -05:00
Brian Hackett
43949a5222
Add config option for off thread compilation, bug 815199. r=dvander
2012-11-26 16:30:37 -05:00
Andrew McCreight
ead425b3e0
Bug 814453 - Eliminate NS_IMPL_CYCLE_COLLECTION_UNLINK_NATIVE_0 and NS_IMPL_CYCLE_COLLECTION_TRACE_NATIVE_BEGIN. r=smaug
2012-11-23 11:27:06 -08:00
Andrew McCreight
ed24acb94f
Bug 814738 - Modernize Traverse for nsTObserverArray. r=smaug
2012-11-23 11:13:39 -08:00
Robert O'Callahan
8e2f98a952
Bug 812517. Part 2: Call ScrollToCSSPixelsApproximate when TabChild scrolls. r=mats
...
--HG--
extra : rebase_source : e4c9db69125d21a84400a062630a0c62c3f450d8
2012-11-23 14:25:28 +13:00
Benoit Jacob
3d8cbb81ad
Bug 814444 - Remove now-useless TRAVERSE_NATIVE_BEGIN and UNLINK_BEGIN_NATIVE macros - r=mccr8
2012-11-22 12:15:38 -05:00
Boris Zbarsky
489c78e5dc
Bug 812392. Make sure we don't allow descendant protoss to confuse whether a proto corresponds to a DOM type. r=bhackett,peterv
2012-11-21 11:19:26 -05:00
Chris Lord
3bdec04a47
Bug 783368 - Add critical display port content property. r=roc
...
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 22:34:18 +00:00
Bobby Holley
1824d3f494
Bug 808608 - Implement shadowing protection in nsDOMClassInfo. r=mrbkap
...
This allows us to remove the same-compartment Location wrappers. This can
go away when we move Location to the new bindings and get access to
[Unforgeable].
2012-11-21 13:20:05 -08:00
Ehsan Akhgari
f90938a237
Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
...
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Chris Lord
a231be5912
Bug 783368 - Add critical display port content property. r=roc
...
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 19:16:51 +00:00
Ryan VanderMeulen
8dd0402085
Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
...
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky
3d096a6c38
Bug 812392. Make sure we don't allow descendant protoss to confuse whether a proto corresponds to a DOM type. r=bhackett,peterv
2012-11-21 11:19:26 -05:00
Bobby Holley
df900033e1
Bug 776497 - Check for null currentInner when deciding to reuse inner windows. r=smaug
2012-11-20 16:32:06 -08:00
Andrew McCreight
34a5c40864
Bug 814752 - Make NS_IMPL_CYCLE_COLLECTION_UNLINK_PRESERVED_WRAPPER work for native CC classes. r=smaug,ehsan
2012-11-27 15:08:22 -08:00
Justin Lebar
75abf86728
Bug 811466 - Add include guards around some headers which were missing them. r=khuey
2012-11-19 20:05:34 -05:00
Mounir Lamouri
f3e9f0a56b
Bug 764240 - Clamp window.sizeToContent() the same way we clamp other resizing methods. r=bz
2012-11-19 23:18:21 +00:00
Phil Ringnalda
9cc19a4801
Back out 204665ad4a24 (bug 764240) for Android M4 failures
2012-11-19 14:40:32 -08:00
Mounir Lamouri
9405ab0e71
Bug 764240 - Clamp window.sizeToContent() the same way we clamp other resizing methods. r=bz
2012-11-19 18:15:23 +00:00
Boris Zbarsky
2cd0f8f7b1
Bug 812086 part 3. Convert internal consumers of mozHidden and mozVisibilityState to the unprefixed versions. r=smaug
2012-11-16 14:22:56 -08:00
Boris Zbarsky
6d9ddce866
Bug 812086 part 2. Convert internal consumers of mozvisibilitychange events to the unprefixed version. r=smaug
2012-11-16 14:22:56 -08:00
Benoit Jacob
986ee1a065
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Benoit Jacob
46600b2a31
Bug 806279 - CC macros refactoring: part 4: update CC helper macros - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Benoit Jacob
06bfb63973
Bug 806279 - CC macros refactoring: part 2: generic BEGIN_ macros folding in the NATIVE case - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Brendan Dahl
6adcd0523c
Bug 115199 - CSS2 @page rule style support. r=dbaron
2012-08-31 14:21:28 -07:00
Boris Zbarsky
05ba9f02c1
Bug 811449 part 8. Get rid of nsGenericElement. r=peterv
2012-11-14 14:10:08 -08:00
Boris Zbarsky
19333a472b
Bug 811449 part 3. Eliminate nsGenericElement as a separate class.
2012-11-14 14:10:07 -08:00
Bobby Holley
8b01117ea3
Bug 800915 - Add infrastructure to flag security wrappers as unsafe to unwrap. r=mrbkap
2012-11-14 09:56:25 -08:00
Ryan VanderMeulen
9cb0f91d55
Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures.
2012-11-13 20:19:18 -05:00
Gregor Wagner
e17477fec2
Bug 810427 - Device storage - Add access fields to permission checks. r=dougt
2012-11-13 16:06:42 -08:00
Brendan Dahl
ec5ca0d279
Bug 115199 - CSS2 @page rule style support. r=dbaron
2012-08-31 14:21:28 -07:00
Masayuki Nakano
32a8eee843
Bug 805766 nsFocusManager should change IME state before dispatching focus event at activating different document r=enndeakin
2012-11-13 10:18:57 +09:00
Peter Van der Beken
b2ba5959ec
Fix for bug 804950 (New DOM binding APIs for Element). r=bz.
...
--HG--
extra : rebase_source : a8691ead07dfa8ecca812396047627dc15474d83
2012-10-16 13:51:00 +02:00
Justin Lebar
a9e6d9a0c8
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-10 10:32:37 -08:00
Justin Lebar
d91b7132e1
Bug 802366 - Prelude, part 2: Rename GetParentIgnoreBrowserFrame to GetSameTypeParentIgnoreBrowserAndAppBoundaries. r=bz
...
It's a long name, but at least it's clear.
2012-11-10 10:32:35 -08:00
Ryan VanderMeulen
3eff16d324
Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
...
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
785d3c9b2f
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-09 16:37:39 -08:00
Justin Lebar
46ec89c38b
Bug 802366 - Prelude, part 2: Rename GetParentIgnoreBrowserFrame to GetSameTypeParentIgnoreBrowserAndAppBoundaries. r=bz
...
It's a long name, but at least it's clear.
2012-11-09 16:37:38 -08:00
Peter Van der Beken
4b67a43418
Fix for bug 807330 (Make xpc_qsUnwrapThis/xpc_qsUnwrapArg deal with new DOM bindings). r=jst.
...
--HG--
extra : rebase_source : 3553f82516bfaa0764185f94e2eef616d9cd696d
2012-09-26 16:17:46 +02:00
Boris Zbarsky
4e328798b1
Bug 807226 part 7. Move creation of our event handlers out to the relevant API methods. r=smaug
...
Note that once we switch all these guys to WebIDL bindings they'll
automatically get the callback objects passed in from binding code.
2012-11-09 08:00:25 -08:00
Boris Zbarsky
3e87d4c861
Bug 807226 part 6. Centralize our IMPL_EVENT_HANDLER macro definitions in nsDOMEventTargetHelper. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
700dc9227b
Bug 807226 part 5. Allow event handlers to have a null scope object if they don't have to compile from a string. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
9cd29d2f98
Bug 807226 part 4. Allow event handlers to have a null nsIScriptContext if they won't have to compile from a string. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
beb6a36d0f
Bug 807226 part 2. Change event handlers to store WebIDL callback functions. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
30a5c69587
Bug 807226 part 0.5. More undefs to stop Windows headers from messing with our GetClassName. r=peterv
2012-11-09 07:59:41 -08:00
Boris Zbarsky
d8fee95886
Bug 779048 part 10. Start using the new callback codegen in argument and return value conversion. r=peterv,smaug
2012-11-09 07:43:58 -08:00
Boris Zbarsky
05e4e3b75a
Bug 779048 part 1. Implement a parent class for C++ reflections of callback functions in WebIDL. r=bholley,smaug
2012-11-09 07:43:57 -08:00
Boris Zbarsky
63fb55a443
Bug 779048 part 0.5. Don't require a JSContext argument for nsJSUtils::GetStaticScriptGlobal. r=bholley
2012-11-09 07:43:57 -08:00