Commit Graph

797 Commits

Author SHA1 Message Date
Edgar Chen
0f1ecaf7cd Bug 1236512 - Part 2: Add isFullyOccluded attribute to ChromeWindow; r=bz
Right now, only Mac (after 10.9) will possibly return true; other platforms always
return false.

MozReview-Commit-ID: 8evSf3qQY8i
2017-05-26 18:14:06 +08:00
Bevis Tseng
38b75abc22 Backed out changeset 70d068cc946d (Bug 1374675) 2017-06-21 11:02:48 +08:00
Carsten "Tomcat" Book
533c1c6574 Backed out changeset 62999c1db7ee (bug 1236512) 2017-06-20 14:30:36 +02:00
Edgar Chen
e85f43c6d8 Bug 1236512 - Part 2: Add isFullyOccluded attribute to ChromeWindow; r=bz
Right now, only Mac (after 10.9) will possibly return true; other platforms always
return false.

MozReview-Commit-ID: 8evSf3qQY8i
2017-05-26 18:14:06 +08:00
Bevis Tseng
56add7c29b Bug 1352401 - Part 1: Define IndexedDB Counters in TabGroup and nsGlobalWindow. r=smaug
MozReview-Commit-ID: 4UCPvNv1paD
2017-04-18 18:21:34 +08:00
Bill McCloskey
85355b4f89 Bug 1372733 - EventTargetFor should return an nsISerialEventTarget (r=bkelly)
MozReview-Commit-ID: Kchg4kqBERt
2017-06-15 20:16:25 -07:00
Michael Layzell
0cf1b46232 Bug 1367458 - Manage TabGroup::IsBackground passively to avoid Runnable overhead, r=ehsan
MozReview-Commit-ID: 9HVvV1omF8G
2017-06-13 12:49:30 -04:00
Boris Zbarsky
47eb2522b1 Bug 1372371. Fix enumerability handling in the window resolve hook. r=qdot 2017-06-12 22:17:03 -04:00
Boris Zbarsky
9641f8e3ec Bug 1364816 part 5. Make getting window names a bit faster by avoiding various intermediate strings. r=qdot,jandem 2017-06-06 21:21:45 -04:00
Kearwood Gilbert
a73a762350 Bug 1362213 - Implement chrome-only API to manage VR sessions r=daoshengmu,kanru,smaug
- Added new chrome-only webidl methods to be used by browser UI and WebExtensions
- Implemented bitmasked group visibility for VR sessions to enable switching
  between chrome and regular content presentations.
- Implemented throttling mechanism to avoid runaway, unthrottled render loops
  for VR sessions that are hidden by group visibility bitmasks or due to
  lower level platform VR events, such as during the Oculus
  "Health and Safety Warning".
- Simplified the PVRManager IPC protocol while extending it to support
  VR session groups and later WebVR content performance profiling API's.
- Removed the last WebVR related sync IPC call.


MozReview-Commit-ID: BMEIPyYeEbq
2017-05-08 16:01:36 -07:00
Xidorn Quan
74745cbfcc Backed out changeset 94b5ea8bed5c (bug 1355683)
MozReview-Commit-ID: AJJ7hSuOQNX
2017-05-19 14:57:35 +10:00
Andrea Marchesini
5af136db77 Bug 1363395 - nsGlobalWindow::GetLocation should support to be called on the outer window, r=smaug 2017-05-09 22:41:19 +02:00
Andrea Marchesini
43341968d2 Bug 1362003 - nsGlobalWindow::GetLocation doesn't need to receive an ErrorResult param, r=bz
Renaming nsGlobalWindow::GetLocation() to Location().
2017-05-08 15:49:31 +02:00
Ehsan Akhgari
4630bf5d68 Bug 1360799 follow-up: Fix the comment in the header after addressing the review comment 2017-05-02 20:46:20 -04:00
Ehsan Akhgari
82a9b65b78 Bug 1360799 - Expose the requestIdleCallback API to chrome code unconditionally; r=bzbarsky
We need to use this API in the front-end code, and in the off-chance
that we end up turning it off for the Web for whatever reason, or if
someone has turned off the pref, we should make sure our UI code does
not break.
2017-05-02 19:01:27 -04:00
Mike Conley
f1259b5d74 Bug 1336763 - Add a hasBeforeUnload attribute to nsITabParent. r=Ehsan
This will return true if any of the frames loaded in the associated
TabChild have set at least one onbeforeunload event handler. If those
handlers are all removed, or all of the documents with onbeforeunload
event handlers are unloaded, this becomes false again.

Note that subframes that are sandboxed without the allow-modals
permission will not affect the hasBeforeUnload attribute, since
those iframes should never cause the beforeunload confirmation
dialog to display.

MozReview-Commit-ID: 8b0gBYWwMDn
2017-04-13 17:54:07 -04:00
Christoph Kerschbaumer
9044a8bb83 Bug 1359092 - Extend loadURI within nsIWebNavigation.idl by a triggeringPrincipal argument. r=bz 2017-04-25 12:22:25 +02:00
Carsten "Tomcat" Book
c9c22f180a Backed out changeset 3e42f84996ea (bug 1359092) for causing assertion failures 2017-04-25 10:46:31 +02:00
Christoph Kerschbaumer
2d7ff6175c Bug 1359092 - Extend loadURI within nsIWebNavigation.idl by a triggeringPrincipal argument. r=bz 2017-04-24 21:57:25 +02:00
Andrea Marchesini
4100d67d03 Bug 1354599 - Implement DOMEventTargetHelper::KeepAliveIfHasListenersFor, r=smaug 2017-04-18 13:51:27 +02:00
L. David Baron
d1b825be2d Bug 1307134 - Rename nsGlobalWindow::EnsureSizeUpToDate to EnsureSizeAndPositionUpToDate. r=tnikkel
This is because it does ensure both, and some of the callers care about
size and some care about position.

MozReview-Commit-ID: 3e8II6Lf72X
2017-04-18 11:28:52 +09:00
Ben Tian
05d944bf0a Bug 1350459 - Remove the [Throws] annotation from Window.navigator, r=qdot
MozReview-Commit-ID: 8vjyVrfa3xT
2017-04-14 10:40:03 +08:00
Xidorn Quan
965dabfa7a Bug 1355683 - Remove Window.getDefaultComputedStyle. r=bz
MozReview-Commit-ID: A2IwfiJiPL
2017-04-13 16:50:37 +08:00
Daosheng Mu
da4f75a5dd Bug 1299937 - Part 6: Handle Stop vibrating when the window defoucses; r=qdot
MozReview-Commit-ID: Kvd40jnSPvK
2017-03-07 10:17:57 +08:00
Andreas Farre
d92e31eabf Bug 1318720 - Prevent chaining idle callbacks in the same period. r=smaug
MozReview-Commit-ID: H3lvpNi9Lx9
2017-03-21 13:26:28 +01:00
Ehsan Akhgari
826e0a1344 Bug 1348452 - Give createImageBitmap() an implicit JSContext*; r=baku 2017-03-18 11:55:31 -04:00
Kearwood Gilbert
7e17769eb5 bug 1313239 - Emit vrdisplayactivate event during document navigation r=smaug
MozReview-Commit-ID: 92AvdabOzq6
2017-02-22 16:11:58 -08:00
Brad Werth
c66414e0ab Bug 1151421 Part 1: Change Window scroll and offset properties to be doubles instead of ints. r=smaug
MozReview-Commit-ID: KeTokCIO5D9
2017-03-02 13:01:31 -08:00
Sebastian Hengst
db6438d58b Backed out changeset 7ce372883419 (bug 1151421) for failures in Android mochitests, e.g. test_bug1151421.html. r=backout 2017-03-14 18:46:26 +01:00
Brad Werth
9ca0e1309c Bug 1151421 Part 1: Change Window scroll and offset properties to be doubles instead of ints. r=smaug
MozReview-Commit-ID: KeTokCIO5D9
2017-03-02 13:01:31 -08:00
Zibi Braniecki
86a7d9a632 Bug 1346819 - Port SanitizeAsBCP47 to LocaleService. r=baku,jfkthame
MozReview-Commit-ID: 2SXD5HaJPXr
2017-03-13 08:31:43 -07:00
Makoto Kato
b04f93778b Bug 1346098 - Don't expose intlUtils without ENABLE_INTL_API. r=smaug
Fennec team decides that Fennec will turn off ICU support on release build now.  So we need to able be build Firefox without ENABLE_INTL_API (Bug 1343725).
Bug 1341994 uses mozIMozIntl interface, but it is only defined with ENABLE_INTL_API.  So we shouldn't expose intlUtils if ICU is turned off.


MozReview-Commit-ID: EiQKiF4BRQv
2017-03-10 17:36:09 +09:00
Jessica Jong
da3fd0e8bb Bug 1341994 - Expose mozIntl.getDisplayNames to ChromeOrXBL. r=smaug 2017-03-03 21:30:00 -05:00
Ben Kelly
c1494a8552 Bug 1343874 Remove unnecessary virtual keyword from some nsGlobalWindow methods. r=smaug 2017-03-02 11:36:36 -05:00
Jessica Jong
84cee5294f Bug 1340396 - Add window.getAppLocales() for ChromeOrXBL. r=smaug 2017-02-19 22:11:00 -05:00
Carsten "Tomcat" Book
9fbc541997 merge mozilla-inbound to mozilla-central a=merge 2017-02-20 14:05:25 +01:00
Kearwood Gilbert
15c12ff5f2 Bug 1335606 - Add 'display' value to Navigator.vrdisplayconnect, Navigator.vrdisplaydisconnect, and Navigator.vrdisplaypresentchange events r=smaug
MozReview-Commit-ID: FLZ7u98mqqi
2017-02-14 11:21:09 -08:00
Andrea Marchesini
fe2f88fe33 Bug 1285898 - [e10s-multi] Localstorage "storage" event is not fired with multiple content processes. r=asuth 2017-02-19 22:16:48 -05:00
Ben Kelly
9d775ade42 Bug 1340201 Expose IsTopLevelWindow() and HadOriginalOpener() on nsPIDOMWindowOuter. r=bz 2017-02-16 14:39:28 -05:00
Andreas Farre
cfdb33c7c2 Bug 1315260 - Make requesIdleCallbacks suspend along with nsGlobalWindow. r=smaug
MozReview-Commit-ID: HSeya5KawsI
2017-02-14 17:49:40 +01:00
Boris Zbarsky
ad8f8e0e37 Bug 1306170 part 6. Implement WindowOrWorkerGlobalScope.origin. r=bkelly 2017-02-13 16:06:47 -05:00
Kearwood Gilbert
18cd99f71f Bug 1325428 - Disable bfcache for WebVR pages r=smaug
MozReview-Commit-ID: fymOSOEoDC
2017-02-03 16:49:15 -08:00
Andrea Marchesini
f0aa583269 Bug 1336020 - transferables should be arrays of objects, r=smaug 2017-02-03 11:00:38 +01:00
Andrea Marchesini
21b2cb9c61 Bug 1336020 - postMessages should have transferable as [] by default, r=smaug 2017-02-03 11:00:37 +01:00
Wes Kocher
5a055d83d9 Merge inbound to central, a=merge
MozReview-Commit-ID: 9bhCPrArK3P
2017-02-02 16:39:24 -08:00
Olli Pettay
37da34d50a Bug 1110928 trigger full GC only when closing top level outer window , r=mccr8 2017-01-23 19:23:57 +02:00
Boris Zbarsky
942ec8bf1b Bug 1335368 part 12. Remove the use of IsCallerChrome in FetchRequest. r=bkelly 2017-02-01 15:43:37 -05:00
Boris Zbarsky
02d8166d3b Bug 1335368 part 6. Add a SystemCallerGuarantee class that we use for [ChromeOnly, NeedsCallerType] cases. r=bholley 2017-02-01 15:43:36 -05:00
Andreas Farre
e58f910c1c Bug 1313864 - Move running idle callbacks to executor. r=bkelly
MozReview-Commit-ID: EuJfpkM6Acf
2017-02-01 16:16:29 +01:00
Andrew McCreight
4cc9517321 Backed out changeset a0d8fb1244c5 (bug 1313864) for causing bug 1334904. 2017-01-29 10:29:27 -08:00