Commit Graph

615 Commits

Author SHA1 Message Date
Eugen Sawin
172fb1e4e7 Bug 1002426 - Check restore status before overriding zoom. r=kats 2014-05-05 23:29:20 +02:00
Botond Ballo
4c6352e059 Bug 1004775 - Add warning about not using 'out jsval' parameters in nsIDOMWindowUtils. r=bholley 2014-05-02 13:28:18 -04:00
Ehsan Akhgari
7f2132298a Bug 1002313 - Fix the test for bug 503926 so that it doesn't rely on nsIDOMNode being scriptable; r=bzbarsky 2014-04-28 19:58:34 -04:00
Masayuki Nakano
e0d391a814 Bug 998188 part.4 nsIDOMWindowUtils.sendQueryContentEvent() and .sendSelectionSetEvent() should take additional flags with its argument for making callers selectable native line break mode or XP line break mode r=smaug, sr=jst 2014-04-26 08:52:13 +09:00
Andrew McCreight
8da461bde5 Bug 949607, part 2 - Add and use runNextCollectorTimer. r=smaug 2014-04-25 13:21:04 -07:00
Ehsan Akhgari
4d53adeaa0 Bug 998735 - Mark nsIDOMWindowCollection as non-scriptable; r=smaug 2014-04-24 12:06:50 -04:00
Ehsan Akhgari
7ea9441843 Bug 996955 - Remove nsIDOMTouch; r=bzbarsky 2014-04-15 22:18:18 -04:00
Chris Lord
4b3c68d60c Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Felipe Gomes
f8de85308f Bug 971043 - Implement getTranslationNodes function to retrieve nodes from webpage that contains meaningful text for translation. r=smaug 2014-04-05 00:21:08 -03:00
Blake Kaplan
7a4bbc290e Bug 899648 - Initial patch to make tab-modal prompts work. Original patch from Tom Schuster <evilpies@gmail.com>. r=dolske 2014-04-04 14:50:42 -07:00
Ryan VanderMeulen
0b24e10f19 Backed out changeset bf184a7a1d63 (bug 990608) for Android crashes.
CLOSED TREE
2014-04-04 15:20:49 -04:00
Chris Lord
20780839a2 Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Masayuki Nakano
bd6decd65b Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Timothy Nikkel
fa43bca11d Bug 957668. Add and implement plumbing for a display port margins api. r=kats 2014-03-26 21:46:23 -04:00
Andrea Marchesini
ba16597c3e Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-11 10:46:55 +00:00
Ed Morley
b0b98b2931 Backed out changeset 98f7e8789561 (bug 923247) 2014-03-10 17:04:04 +00:00
Andrea Marchesini
5c90d4d8c7 Bug 923247 - patch 2 - mute and volume per window, r=ehsan, r=roc 2014-03-10 16:36:15 +00:00
Robert O'Callahan
f87fd81842 Bug 975931. Part 11: Make nsDOMWindowUtils::SetDisplayPortForElement take a priority parameter, and set that parameter to 1 in reftests to override automatic displayport selection. r=kats
--HG--
extra : rebase_source : 07dcbfb67cb2db0bbb26a959517bbbdebd84f10b
2014-03-08 22:25:15 +13:00
Robert O'Callahan
6a2a74cd42 Bug 975931. Part 1: Add nsDOMWindowUtils API to add an extra scroll offset in the AsyncPanZoomController when compositing. r=kats
--HG--
extra : rebase_source : fcadb5137cc906c97b230d1f2cf134fd24db10d6
2014-02-14 21:59:23 +13:00
Brian Birtles
51753ab71b Bug 979658 part 2 - Add nsDOMWindowUtils.getOMTAStyle; r=dbaron
nsDOMWindowUtils.getOMTAOrComputedStyle falls back to using getComputedStyle
when an OMTA style is not available. However, in order to be sure we are testing
OMTA, this patch adds getOMTAStyle which returns an empty string if no OMTA
style is available.

This patch also includes some minor stylistic tweaks. The method signature for
getOMTAOrComputedStyle now takes an nsIDOMElement parameter rather than
nsIDOMNode in order to simplify error-checking. (When we support OMTA of
pseudo-elements we will have to adjust the method signature but for now we only
support elements.) Also, some lines have been wrapped, ErrorResult is
declared closer to where it is used, and the return value aResult is only
truncated when returning NS_OK.
2014-03-10 13:47:12 +09:00
Tim Taubert
e981973f13 Bug 978540 - [e10s] Correctly maintain active state for remote docShells r=smaug 2014-02-20 12:26:13 +01:00
Boris Zbarsky
5b9a40cc0b Bug 952890 part 2. Remove the IsArrayLike method, since it no longer matches any spec concept. r=peterv 2014-02-14 10:46:09 -05:00
Andrea Marchesini
5d074ae75a Bug 965860 - patch 3 - Console replacable in IDL, r=bz 2014-02-27 23:39:06 +00:00
Andrea Marchesini
80210d8dab Bug 965860 - patch 2 - ConsoleAPI written in C++, r=bz 2014-02-27 23:39:00 +00:00
Peter Van der Beken
46ee609d7b Bug 803106 part 2. Convert DOMStringList to WebIDL bindings - add WebIDL API and switch. r=bzbarsky 2013-07-09 13:54:21 -04:00
Shih-Chiang Chien
2013e435dc Bug 898949 - Part 1, add optios in permission prompt for Video/Audio device selection. r=fabrice,khuey 2013-09-10 17:41:59 +02:00
Geoff Lankow
bc9f8bab8d Bug 974295 - Replacement for getPrefsByName in nsIContentPrefService2; r=adw 2014-02-22 16:50:53 +13:00
Boris Zbarsky
e929ede0ba Back out bug 952890, since the dependencies aren't fixed yet. 2014-02-14 10:50:19 -05:00
Boris Zbarsky
e56fd2f65b Bug 952890 part 2. Remove the IsArrayLike method, since it no longer matches any spec concept. r=peterv 2014-02-14 10:46:09 -05:00
Oleg Romashin
a5b3845729 Bug 967796 - Implement Pointer Enter/Leave events support. Tests. r=smaug
--HG--
rename : dom/events/test/test_bug432698.html => dom/events/test/test_bug967796.html
2014-02-11 06:16:56 -08:00
Oleg Romashin
0666272c2e Backout 168002:594dda9c7a3a, need better SpecialPowers handling on Win platform 2014-02-10 23:39:30 -08:00
Oleg Romashin
3ef61ffbe1 Bug 967796 - Implement Pointer Enter/Leave events support. Tests. r=smaug
--HG--
rename : dom/events/test/test_bug432698.html => dom/events/test/test_bug967796.html
2014-02-10 22:35:17 -08:00
Alfredo Yang
3a4bbe0a0b Bug 853356 - gUM video permisson prompt. r=fabrice, felipc, wjohnston, mrbkap, jimm, jesup, khuey, jsmith 2014-02-09 15:34:40 -05:00
Ms2ger
b27251ab25 Bug 964192 - Remove the required argument to captureEvents/releaseEvents; r=bz 2014-02-09 09:04:39 +01:00
Masatoshi Kimura
b2599eeeaf Bug 964964 - Remove window.pkcs11. r=bz 2014-01-30 20:00:01 +09:00
Ehsan Akhgari
275064aea3 Bug 964061 - Part 2: Remove nsIDOMCRMFObject; r=bzbarsky
--HG--
extra : rebase_source : 888e33d68bdcd6e03b56f75036ea00142831961d
2014-01-27 08:27:06 -08:00
Vivien Nicolas
1bc4cd5da1 Bug 959242 - Make mozbrowser's sendTouchEvent work with APZC enabled iframes. r=smaug,fabrice. f=kats 2014-01-24 10:02:23 +01:00
Bobby Holley
034c444dc2 Bug 794943 - Make window.controllers [ChromeOnly], and remove nsISecurityCheckedComponent from nsXULControllers. r=bz 2014-01-16 15:45:40 -08:00
Alexandre Poirot
2a7cec823c Bug 891882 - DOMWindowUtils.sendMouseEvent dispatch events with isSynthesized chrome attribute set to true. r=smaug 2014-01-15 09:28:04 -05:00
Andrea Marchesini
12742b5c15 Bug 952079 - Porting nsIDOMWakeLock to WebIDL, r=smaug 2014-01-07 13:16:07 +01:00
Ehsan Akhgari
22ed390f77 Bug 950659 - Remove nsIDOMMediaQueryList and nsIDOMMediaQueryListListener; r=bzbarsky
X-Git-Commit-ID: 8584a27a3b3f2a749273cf6c56057b0276854f3b
2013-12-17 08:40:06 -05:00
Kartikaya Gupta
8109167828 Bug 949132 - Add a flag to FrameMetrics indicating a non-APZ scroll (original patch by mstange). r=tn 2013-12-16 12:04:45 -05:00
Jim Mathies
62861a6442 Bug 941774 - New dom utils methods for injecting native touch input. r=smaug 2013-12-14 14:40:55 -06:00
Randell Jesup
77dbfd38fb Bug 853356: backout p3 2013-12-10 01:03:21 -05:00
Boris Zbarsky
20c9fd1207 Bug 946564 part 2. Make window._content chromeonly and define it in WebIDL. r=peterv 2013-12-09 10:34:04 -05:00
Alfredo Yang
c0d5a4a149 Bug 853356 - Part3 Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-12-06 17:38:52 -05:00
Vivien Nicolas
ef9e465afe Bug 940420 - It's nearly impossible to close browser app tabs with edge gestures enabled. r=smaug 2013-12-03 16:10:47 +01:00
Chris Lord
cd2dacabe9 Bug 907743 - Align display port to tile boundaries when tiles are enabled. r=botond,kats
This aligns display ports to tile boundaries, taking care to compensate for
the difference between the requested scroll position and the actual scroll
position.
2013-09-10 18:21:04 -04:00
Markus Stange
724b3c2649 Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow 2013-11-27 08:32:19 +01:00
Ryan VanderMeulen
77a5ac1aba Backed out changeset de63b66f3d12 (bug 907743) for Windows bustage.
CLOSED TREE
2013-11-26 14:12:05 -05:00
Chris Lord
bc95d9ddc6 Bug 907743 - Align display port to tile boundaries when tiles are enabled. r=botond,kats
This aligns display ports to tile boundaries, taking care to compensate for
the difference between the requested scroll position and the actual scroll
position.
2013-09-10 18:21:04 -04:00
Mike Hommey
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Tom Schuster
0d6b6b163b Bug 939194 - Remove jsval event listeners. r=bz 2013-11-16 13:31:37 +01:00
Ms2ger
6b38d3ca3d Backout changesets ded0d64f6786:03f041d03f24 and 30cbd1abde1a (bug 935696, bug 933834 and bug 939194) for build bustage. 2013-11-17 16:39:25 +01:00
Tom Schuster
73332ed177 Bug 939194 - Remove jsval event listeners. r=bz 2013-11-16 13:31:37 +01:00
Reuben Morais
cd93ebe5c9 Backed out 4 changesets (bug 853356) for breaking permission prompts. 2013-11-06 01:32:42 -02:00
Ryan VanderMeulen
8065e2373d Merge inbound to m-c. 2013-11-05 15:28:52 -05:00
Kyle Huey
50ee3b3331 Bug 933099: Banish <windows.h> from nsGlobalWindow.cpp. r=bz 2013-11-05 22:16:25 +08:00
Alfredo Yang
f2957150a7 Bug 853356 - Part3 Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-11-05 16:29:52 +08:00
Kan-Ru Chen (陳侃如)
974ffb4aa3 Backout 6d33ac3a2b14 2013-11-05 14:59:22 +08:00
Alfredo Yang
cea29c8b42 Bug 853356 - Part3 Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-11-05 14:08:45 +08:00
Doug Turner
53ccb88e57 Backing out 987b3ec24f68 2013-10-31 20:25:46 -07:00
Alfredo Yang
29bc534203 Bug 853356 - Part 3: Pass a string array instead of a single string to support multiple permissions request. r=khuey 2013-10-26 21:20:09 -04:00
Mike Hommey
61124c1afc Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Tim Abraldes
cb1a14e52c bug 856977. Alert should not be possible from beforeunload. r=bbondy,bz 2013-10-08 14:00:12 -07:00
Masayuki Nakano
5e5853070a Bug 920377 part.31 Get rid of nsEvent r=roc 2013-10-02 12:46:04 +09:00
Brian Grinstead
d00b39f63d Bug 918884 - Implement a method to get the DOM element that owns a docshell. r=bz 2013-09-24 10:05:00 -05:00
Masayuki Nakano
648570f10b Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Kartikaya Gupta
428dc56fa0 Bug 880024 - Extract some useful code for implementing GeckoContentController into a helper class. r=k17e 2013-09-18 09:56:16 -04:00
Neil Rashbrook
7d4890a452 Bug 913948 getCachedBySubdomainAndName's array length should be optional from JS r=Mossop 2013-09-17 23:43:24 +01:00
Masayuki Nakano
3ec81b980d Bug 911951 part.1 Redesign nsIDOMWindowUtils::SendTextEvent() with nsICompositionStringSynthesizer r=smaug, sr=roc 2013-09-13 00:19:00 +09:00
Jan Varga
c5d294a60c Bug 785884 - Implement support for temporary storage (aka shared pool). r=ehsan, r=bent
--HG--
rename : caps/tests/mochitest/test_principal_extendedorigin_appid_appstatus.html => caps/tests/mochitest/test_principal_jarprefix_origin_appid_appstatus.html
rename : dom/quota/UsageRunnable.h => dom/quota/UsageInfo.h
2013-09-11 06:18:36 +02:00
David Zbarsky
2dc2a0b269 Bug 911603 - Convert MozPowerManager to WebIDL r=Ms2ger
--HG--
rename : dom/power/nsIDOMPowerManager.idl => dom/webidl/MozPowerManager.webidl
2013-09-10 19:03:56 -04:00
Nicholas Nethercote
191ed08f6a Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Ms2ger
44830af93b Bug 905739 - Remove nsIDOMStorageIndexedDB; r=khuey 2013-08-22 08:33:59 +02:00
Botond Ballo
f1b869b8a1 Bug 898580 - Add nsIDOMWindowUtils.getViewId(element). r=smaug 2013-08-08 15:56:09 -04:00
Gregory Szorc
c089ae373d Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ryan VanderMeulen
64b2bc7dd9 Backed out changesets 1fa1f28c6edf and e74f694f31c4 (bug 850380) for PGO bustage on a CLOSED TREE. 2013-08-14 15:12:20 -04:00
Gregory Szorc
9f99cee9a1 Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Bobby Holley
81026a6fdf Bug 901364 - Remove a bunch of now-unused modal state tracking machinery. r=mrbkap 2013-08-12 12:54:51 -07:00
Johnny Stenback
4c163e91d9 Bug 859707. Convert History to WebIDL bindings. r=bz 2013-08-09 23:47:59 -07:00
David Zbarsky
68527f0cce [Bug 901289] Remove nsIDOMLinkStyle r=Ms2ger 2013-08-09 21:17:52 -04:00
Drew Willcoxon
50b5fea249 Bug 850219 - Mark nsIContentPrefService as deprecated in favor of nsIContentPrefService2. r=mak 2013-08-08 20:38:49 -07:00
Ehsan Akhgari
252f306950 Bug 902134 - Reduce the number of #includes in nsIDOMWindowUtils.h; r=bzbarsky 2013-08-06 16:38:58 -04:00
Yoshi Huang
3a8a76e455 Bug 883741 - Part 1: WebCrypto: Move Crypto to WebIDL. r=bz 2013-08-01 14:57:25 +08:00
David Zbarsky
395af59db0 Bug 893117: Remove nsIDOMHTMLTableSectionElement r=peterv 2013-08-01 15:24:22 -07:00
Masatoshi Kimura
93b88d2366 Bug 673919 - Remove routeEvent, enableExternalCapture and disableExternalCapture. r=smaug 2013-08-01 23:48:18 +09:00
David Zbarsky
59d52bfb66 backout Bug 893117 for mochitest failure 2013-08-01 01:54:09 -07:00
David Zbarsky
22007f29c6 Bug 893117: Remove nsIDOMHTMLTableSectionElement r=peterv 2013-07-31 23:12:38 -07:00
Masatoshi Kimura
e6ca64420a Backed out changeset 9c6dc3897c17 (bug 898136) for breaking SeaMonkey 2013-08-01 07:30:06 +09:00
Masatoshi Kimura
b85aa29a35 Backed out changeset 2aa62db58f24 (bug 673919) due to Web compat 2013-08-01 06:44:51 +09:00
Masatoshi Kimura
06f3651b9c Bug 898136 - Remove nsIDOMGlobalObjectConstructor. r=mrbkap 2013-07-31 09:25:31 -04:00
Nicholas Cameron
e91b1d6d0d Bug 895873 - backout bug 893117 for Win8 mc bustage 2013-07-30 23:32:35 -04:00
David Zbarsky
85457b1c6e Bug 893117: Remove nsIDOMHTMLTableSectionElement r=peterv 2013-07-30 14:55:10 -07:00
Tom Schuster
8e3e74bfea Bug 868859 - Make chromeWindow.content work in e10s. r=bz 2013-05-08 23:16:46 +02:00
Boris Zbarsky
0e992ed848 Bug 893004 part 3. Remove the unused-from-C++ bits of nsIDOMNavigator, except the ones that share implementation with WebIDL anyway. r=smaug
Note that I believe we could remove all these remaining attributes too; it's just some tedious work.
2013-07-17 23:23:52 -04:00
Boris Zbarsky
9af6d565fa Bug 893004 part 2. Remove various no-longer-used XPCOM bits from Navigator, except the ones from nsIDOMNavigator. r=smaug
--HG--
rename : dom/network/interfaces/nsIDOMNavigatorNetwork.idl => dom/network/interfaces/nsIMozNavigatorNetwork.idl
2013-07-17 23:23:52 -04:00
Ryan VanderMeulen
5131a6768c Backed out 4 changesets (bug 893858, bug 868859, bug 886903) for Linux debug mochitest-other crashes on a CLOSED TREE.
Backed out changeset 0ded4854067b (bug 886903)
Backed out changeset ca8afb897e13 (bug 893858)
Backed out changeset c15f503a96cc (bug 868859)
Backed out changeset 6a788f399a7f (bug 868859)
2013-07-17 12:43:59 -04:00
Tom Schuster
cb80974d17 Bug 868859 - Make chromeWindow.content work in e10s. r=bz 2013-05-08 23:16:46 +02:00
Kartikaya Gupta
c5c99d98ec Bug 891175 - Fix positioning of caret as fallout from widget scaling. r=jimm, margaret 2013-07-11 17:58:13 -04:00
Johnny Stenback
7209a4a1c5 Fixing bug 855611. Convert navigator.plugins and navigator.mimeTypes to use new DOM bindings. r=peterv@propagandism.org. 2013-07-09 06:58:21 -07:00
Mark Hammond
56bb91a15e Bug 875157 (part 1) - add isParentWindowMainWidgetVisible to nsIDOMWindowUtils. r=bz
--HG--
extra : rebase_source : ba752abd8c16276e438d3af0742a9d74897acad0
2013-05-31 11:12:44 +10:00
Tim Taubert
07d2a71b3d Bug 878801 - part 1 - introduce nsIDOMWindowUtils.getBoundsWithoutFlushing(); r=roc 2013-06-04 08:06:29 +02:00
Ms2ger
8ecf333ae2 Merge m-c to m-i. 2013-06-02 17:38:01 +02:00
Tim Taubert
a3515f5036 Bug 453650 - implement reflow observers for docShells; r=bz 2013-06-01 12:00:12 +02:00
Andrea Marchesini
1ead46dece Bug 858524 - Move BarProp objects to Paris bindings, r=ms2ger, r=smaug 2013-06-01 01:53:00 -07:00
David Zbarsky
cab7c337c7 Bug 788549 Part 5: Add a function to get opacity and transform property values from layers r=roc 2013-05-29 17:38:27 -07:00
Ms2ger
1d57226508 Bug 876282 - Add unprefixed cancelAnimationFrame; r=bz
--HG--
rename : content/base/test/test_bug647518.html => content/base/test/test_bug876282.html
2013-05-28 19:31:31 +02:00
Anthony Jones
015375f697 Bug 868047 - Use a PresShell ID to eliminate stale APZC events; r=roc,benwa 2013-05-24 09:43:36 +08:00
Joe Drew
6623dd54ba Bug 873683 - Make runBeforeNextEvent and runInStableState available off nsIDOMWindowUtils. r=bent
--HG--
extra : rebase_source : 4bafd49139375ef7ed7ef5a9a03dcf8c69af63aa
2013-05-23 09:35:21 +08:00
John Daggett
18ea34f1e4 Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey 2013-05-20 11:59:20 +09:00
Ms2ger
1bc3a7f29b Merge backout. 2013-05-19 20:26:58 +02:00
Ms2ger
c80e8cd5c6 Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review. 2013-05-19 20:23:19 +02:00
Gregory Szorc
14c4938355 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
John Daggett
935216a597 Bug 549861. Implement support for @font-feature-values rule. r=dbaron 2013-05-13 18:45:37 +09:00
Bobby Holley
8025727a78 Bug 860941 - Make dialogArguments default to |undefined| rather than |null|. r=jst
This is correct by my reading of the spec. Quoting:

The dialogArguments IDL attribute, on getting, must check whether its browsing
context's active document's origin is the same as the dialog arguments' origin.
If it is, then the browsing context's dialog arguments must be returned
unchanged. Otherwise, if the dialog arguments are an object, then the empty
string must be returned, and if the dialog arguments are not an object, then
the stringification of the dialog arguments must be returned.
2013-05-17 10:43:19 -07:00
Bobby Holley
e00d8aa943 Bug 860941 - Separate the handling of |dialogArguments| and |arguments|, and use IDL for the |dialogArguments| getter. r=jst
This patch is bigger than I'd like it to be, but there are a lot of interlocked
dependencies and I eventually decided it was easier to just lump it together.

The semantics of |showModalDialog|/|window.dialogArguments| (an web-exposed
HTML5 feature) and |openDialog|/|window.arguments| (a XUL-proprietary feature)
are quite different. The former is essentially a security-checked JSVal, while
the latter gets converted into an array. We handled them together in the old
world, which led to a lot of confusion and muddled semantics. This patch
separates them.

This patch also eschews the roundabout resolve hook for dialogArguments in favor
of returning them directly from the XPIDL getter. This better matches the
behavior in the spec, especially because it allows dialogArguments to live on
the outer as they're supposed to, rather than the first inner that happens to
end up in the docshell. All in all, this should make this all very
straightforward to convert WebIDL when the time comes.

The current spec on the origin checks here is pretty fictional, so I've filed
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21932 to fix it. This patch
should more or less preserve the current security behavior.
2013-05-17 10:43:19 -07:00
Ed Morley
dbd106a2c5 Backed out changeset 0ad1a92ca568 (bug 860941) 2013-05-17 09:08:44 +01:00
Ed Morley
7a9b95a59b Backed out changeset 90b318fb8375 (bug 860941) 2013-05-17 09:08:41 +01:00
Bobby Holley
49223662aa Bug 860941 - Make dialogArguments default to |undefined| rather than |null|. r=jst
This is correct by my reading of the spec. Quoting:

The dialogArguments IDL attribute, on getting, must check whether its browsing
context's active document's origin is the same as the dialog arguments' origin.
If it is, then the browsing context's dialog arguments must be returned
unchanged. Otherwise, if the dialog arguments are an object, then the empty
string must be returned, and if the dialog arguments are not an object, then
the stringification of the dialog arguments must be returned.
2013-05-16 23:33:14 -07:00
Bobby Holley
983ad0969a Bug 860941 - Separate the handling of |dialogArguments| and |arguments|, and use IDL for the |dialogArguments| getter. r=jst
This patch is bigger than I'd like it to be, but there are a lot of interlocked
dependencies and I eventually decided it was easier to just lump it together.

The semantics of |showModalDialog|/|window.dialogArguments| (an web-exposed
HTML5 feature) and |openDialog|/|window.arguments| (a XUL-proprietary feature)
are quite different. The former is essentially a security-checked JSVal, while
the latter gets converted into an array. We handled them together in the old
world, which led to a lot of confusion and muddled semantics. This patch
separates them.

This patch also eschews the roundabout resolve hook for dialogArguments in favor
of returning them directly from the XPIDL getter. This better matches the
behavior in the spec, especially because it allows dialogArguments to live on
the outer as they're supposed to, rather than the first inner that happens to
end up in the docshell. All in all, this should make this all very
straightforward to convert WebIDL when the time comes.

The current spec on the origin checks here is pretty fictional, so I've filed
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21932 to fix it. This patch
should more or less preserve the current security behavior.
2013-05-16 23:33:14 -07:00
Colby Russell
673bc5fa23 Bug 861495 - Part 1: Add nsIWindowMediator.getOuterWindowWithId and warn on nsIDOMWindowUtils.getOuterWindowWithId use. r=bz 2013-05-07 12:34:20 -04:00
Masatoshi Kimura
ac11f43104 Bug 673919 - Remove captureEvents, releaseEvents, and routeEvent. r=smaug 2013-05-14 21:18:39 +09:00
Ryan VanderMeulen
49b2f580b6 Bug 861605 - Rev uuids. r=Ms2ger 2013-04-29 09:33:06 -04:00
Andrea Marchesini
985b3f0c5a Bug 861605 - Make the arguments to Window.alert, Window.confirm optional. r=Ms2ger 2013-04-29 08:32:01 -04:00
Ms2ger
31788fdcd8 Bug 864166 - Part a: Handle window.alert(null) in the binding layer; r=mounir 2013-04-26 08:50:02 +02:00
Boris Zbarsky
2fa24990ca Bug 704063. Add an unprefixed version of requestAnimationFrame. r=roc, sr=smaug 2013-04-25 11:13:21 -04:00
Boris Zbarsky
16c2e49ddf Bug 862917. Remove the non-standard window.defaultStatus. r=smaug,gavin 2013-04-19 23:03:02 -04:00
Bas Schouten
341383c413 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Stephen Pohl
21bdf5ab95 Bug 678392 - Add support for swipe animation as in Safari. r=smichaud,jaws,felipc 2013-04-09 14:44:01 -05:00
Drew Willcoxon
1979581f15 Bug 858192 - Correct error in nsIContentPrefService2 documentation about callbacks and observers. r=mak 2013-04-05 12:24:11 -07:00
Eitan Isaacson
d884549b65 Bug 858136 - Rename nsIDOMSpeechSynthesisGetter as nsISpeechSynthesisGetter. r=smaug
--HG--
rename : dom/interfaces/base/nsIDOMSpeechSynthesisGetter.idl => dom/interfaces/base/nsISpeechSynthesisGetter.idl
2013-04-04 15:12:34 -07:00
Eitan Isaacson
79a685a6a4 Bug 525444 - (Part 1/3) Basic SpeechSynthesis setup and voice registration. r=smaug
--HG--
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/moz.build
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/test/moz.build
2013-04-03 15:13:16 -07:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Ms2ger
2da2c38f03 Bug 853158 - Update the uuid of nsIDOMEventTarget and subclasses. 2013-03-30 10:45:37 +01:00
Drew Willcoxon
4584da5dc6 Bug 829456 - Update browser-fullZoom.js to use nsIContentPrefService2. r=mak 2013-03-16 15:12:31 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Ryan VanderMeulen
f789208be8 Backed out changeset 74ca9737e076 (bug 829456)on suspicion of making bug 807442 nearly perma-fail on debug builds on a CLOSED TREE. 2013-03-26 15:45:57 -04:00
Drew Willcoxon
a061cba6d3 Bug 829456 - Update browser-fullZoom.js to use nsIContentPrefService2. r=mak 2013-03-16 15:12:31 -07:00
Mike Shal
c2a9341a2e Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Phil Ringnalda
a5fcb95a4d Back out 85f522534c5a (bug 829456) for apparently causing frequent failures in test_bug607464.html
CLOSED TREE
2013-03-16 18:28:48 -07:00
Drew Willcoxon
19c06875a6 Bug 829456 - Update browser-fullZoom.js to use nsIContentPrefService2. r=mak 2013-03-16 15:12:31 -07:00
L. David Baron
ced4573e23 Bug 850559: Make mochitests check that the test didn't leave the refresh driver under test control. r=ted 2013-03-15 14:40:37 -07:00
Paul Rouget
38a173fccd Bug 847890 - paint flashing for content only. r=roc 2013-03-12 11:01:00 -07:00
Gregory Szorc
ed102f4876 Merge mozilla-central into build-system 2013-03-13 08:20:09 -07:00
Mike Shal
e3d8d5c262 Bug 818246 - Part 9: Move XPIDL_FLAGS to moz.build; r=gps 2013-03-11 22:05:00 -07:00
Mike Shal
e9f8bc0fbd Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
8b4f575df1 Bug 818246 - Part 5: Move XPIDLSRCS into moz.build (manual); r=glandium 2013-03-12 10:20:41 -07:00