Xidorn Quan
4d7e632089
Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
...
This patch implements the code which is shared by all platforms for
fullscreen transition.
It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.
In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.
2015-07-13 20:44:36 +10:00
Nigel Babu
fd84e932c3
Backed out 4 changesets (bug 1160014) for M2 bustages CLOSED TREE
...
Backed out changeset 87b00a9dac95 (bug 1160014)
Backed out changeset d4fa5c794e08 (bug 1160014)
Backed out changeset fca26897d534 (bug 1160014)
Backed out changeset b0b7f4f09ed2 (bug 1160014)
2015-07-11 10:49:25 +05:30
Xidorn Quan
7705aa3262
Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
...
This patch implements the code which is shared by all platforms for
fullscreen transition.
It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.
In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.
2015-07-11 10:08:59 +10:00
Xidorn Quan
16b5f7fb40
Bug 1181413 - Use enum to distinguish fullscreen request for Fullscreen Mode and Fullscreen API. r=smaug
2015-07-09 08:00:33 +10:00
Ben Kelly
e95de342a6
Bug 1173467 P2 Add nsGlobalWindow utility method to get private browsing boolean. r=ehsan
2015-06-26 19:36:40 -07:00
Cameron McCormack
5869f35dd7
Back out bug 1173467 (changesets a20799ebf48c, 9312c5cb756e, c0e8bba17067, af075443ab21, 30cefdf8d020) for assertion failures in test_app_protocol.html.
2015-06-27 11:57:17 +10:00
Ben Kelly
da2f1cbe30
Bug 1173467 P2 Add nsGlobalWindow utility method to get private browsing boolean. r=ehsan
2015-06-26 17:42:56 -07:00
Boris Zbarsky
9166cfa989
Bug 1176083. Remove the now-dead code for the XPCOM version of setTimeout/setInterval. r=smaug
...
I claim this code is dead because on the one hand it's no longer called from JS
(because Window is always on WebIDL bindings, but on the other hand it can't
really be called from C++ because it depends on examining the XPConnect call
information.
I think removing this completely, including from the IDL, is safe, because
nothing directly returns nsIDOMJSWindow, so anyone using its vtable would have
to QI to it and we're changing the IID.
2015-06-24 00:42:46 -07:00
Andrea Marchesini
eac68dba08
Bug 1170246 - Improving nsGlobalWindow::ConvertDialogOptions and adding some gTests, r=ehsan
2015-06-17 12:17:33 +01:00
Andrea Marchesini
a2bd5efebf
Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent
2015-06-17 11:44:27 +01:00
Ryan VanderMeulen
cff9cb6b12
Backed out changeset 1d67d747b3eb (bug 911972) for frequent linux64 debug e10s test_post_message_advanced.html timeouts.
...
CLOSED TREE
2015-06-15 13:06:23 -04:00
Andrea Marchesini
1d96d95aba
Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent
2015-06-15 14:08:25 +01:00
Xidorn Quan
960d5fd06f
Bug 1161802 part 2 - Split nsGlobalWindow::SetFullScreenInternal into two parts, one part before the window resizing, the other after. r=smaug,dao,margaret
...
This patch moves the "fullscreen" event from the original place to the
second part, which indicates two other changes:
1. When the event is triggered, the value of fullScreen would have been
toggled to the new value, which is different from before. The changes in
browser/../browser-fullScreen.js and mobile/../browser.js are for this.
2. This event is no longer preventDefault-able, since it is triggered
after the fullscreen change. This leads to the removal of the test and
the only place which calls preventDefault on that event. That place is
a workaround for bug 1079222. To address that problem, this patch fixes
the intrinsic issue via stoping handling the fullscreen change once it
finds we failed to change the state of the widget.
2015-06-10 23:13:12 +12:00
Kathy Brade
d3a1d9ec91
Bug 418986 - Resist fingerprinting by preventing exposure of screen and system info. r=mrbkap, r=heycam
2015-06-07 09:02:00 -04:00
Xidorn Quan
8c5947b028
Bug 1105939 part 5 - Rename parameter aRequireTrust of SetFullScreenInternal to aFullscreenMode for increased clarity. r=smaug
2015-06-04 13:49:34 +12:00
Boris Zbarsky
5ba33e1b5e
Bug 1163898 part 1. Give DOMEventTargetHelper a sane accessor for getting its nsIGlobalObject. r=smaug
2015-05-12 15:56:39 -04:00
Xidorn Quan
a821accd86
Bug 947854 part 2 - Avoid exiting fullscreen mode when exit from DOM fullscreen. r=smaug,dao
2015-05-06 10:04:31 +12:00
Gabor Krizsanits
3b9bdc299a
Bug 1101182 - One interpose call for one property access. r=bholley
2015-05-04 08:57:52 +02:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Boris Zbarsky
0a010b1519
Bug 1155946 part 2. Add mayResolve methods to DOM classes with resolve hooks. r=peterv
2015-04-28 12:25:55 -04:00
Boris Zbarsky
ab3eb9686a
Bug 1155984. Improve the performance of the "self" getter in both window and workers. r=peterv,jorendorff
2015-04-27 13:38:12 -04:00
Boris Zbarsky
789a3bf96e
Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Kyle Machulis
241556554e
Bug 852944 - Gamepad API IPC; r=ted, r=baku
2015-04-23 15:05:29 -07:00
Ehsan Akhgari
4c51820549
Bug 1156101 - Mark nsGlobalWindow::mObserver as an nsRefPtr; r=baku
2015-04-20 08:35:38 -04:00
Ted Mielczarek
d09e61f5e2
bug 1155691 - Expose WindowRoot to chrome from window in webidl. r=smaug
2015-04-17 16:17:26 -04:00
Boris Zbarsky
2438ee5f63
Bug 1151940 part 3. Make some writable cssom-view attributes that we only allow setting from chrome act the way readonly replaceables would when called from content. r=smaug
2015-04-08 22:50:45 -04:00
Boris Zbarsky
71949fb5ca
Bug 1151940 part 2. Add a convenience function in nsGlobalWindow for replacing a property on the window with a new value. r=smaug
2015-04-08 22:50:45 -04:00
Kartikaya Gupta
3fb084fb78
Bug 1146843 - Revert part of cset 33c30e283fa8 because the code is used in Fennec. r=snorp
2015-04-02 20:45:50 -04:00
Nicolas Silva
13344864c0
Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc
2015-03-29 16:59:08 +02:00
Trevor Saunders
2cab0ab3a9
bug 1146027 - more final r=froydnj
2015-03-24 17:51:43 -04:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky
3a822d99b4
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Kartikaya Gupta
43eb6f1601
Bug 1144324 - Remove the codepaths that conditionally enable touch events based on touch the presence of touch listeners. r=smaug,jimm
2015-03-19 06:37:39 -04:00
Catalin Badea
89789e6fc6
Bug 1058311 - Update client interface. Implement matchAll WindowClient. r=baku
2015-03-06 15:04:49 +02:00
Kearwood (Kip) Gilbert
10aca51e67
Bug 945584: Part 8 - Implement Scroll Snapping for Middle Mouse Button Scrolls (v2 Patch), r=roc, r=bz
...
- Implemented scroll snapping at the end of a middle-mouse-button scroll.
- As this scrolling occurs within chrome Javascript, chrome-only DOM methods
had to be added: window.MozScrollSnap and element.MozScrollSnap
- Bug 1137937 tracks implementation of a replacement for these chome-only DOM methods,
to be replaced with a web accessible API.
2015-02-19 16:03:07 -08:00
Ehsan Akhgari
a6e999ddc5
Bug 1050456 - Part 2: Add a nsGlobalWindow::GetIsPrerendered helper
2015-03-04 01:31:08 -05:00
Ben Kelly
f3914169a5
Bug 940273 - Part 5 - Expose Service Worker Cache as window.caches when pref is enabled. r=ehsan
2015-03-02 14:22:00 +01:00
Boris Zbarsky
4adc9fb893
Bug 975699. Remove mozIndexedDB. r=khuey
2015-02-12 18:39:26 -05:00
Nicholas Nethercote
0247de46d8
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Tim Taubert
96a2a6c81e
Bug 1128479 - Don't use nsIDOMCrypto in Crypto.webidl r=smaug
2015-02-02 15:36:04 +01:00
Bobby Holley
b675e1b5c9
Bug 1124898 - Stop exposing ex-nsIDOMChromeWindow things for random unprivileged things loaded in chrome docshells. r=bz
2015-01-26 10:26:33 -08:00
Bill McCloskey
6fd30079d3
Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley,bent)
2015-01-16 18:34:47 -08:00
Carsten "Tomcat" Book
142af71e50
Backed out changeset 8ab6c26d26f5 (bug 1118618)
2015-01-13 08:43:32 +01:00
Bill McCloskey
bc51ef7890
Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley)
2015-01-12 23:06:54 -08:00
Ehsan Akhgari
2acefe2331
Bug 1117264 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/base code; r=baku
2015-01-06 11:52:45 -05:00
Ehsan Akhgari
f4a0889620
Backed out changeset bc7e683ef708 (bug 1117264) for build bustage on a CLOSED TREE
2015-01-05 21:55:18 -05:00
Ehsan Akhgari
b7013d8f05
Bug 1117264 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/base code; r=baku
2015-01-05 20:54:28 -05:00
Ben Turner
80bca54291
Bug 1116697 - Fix nsScriptError::InitWithWindowID to work better off the main thread, r=mrbkap.
2015-01-05 14:53:37 -08:00