Bobby Holley
e91aae8249
Bug 1208622 - Separate API entry points. r=bz
2015-09-30 16:31:46 -07:00
Catalin Badea
76c7d43fd9
Bug 1188545 - Disentangle service workers from shared workers and refactor event dispatching code into a separate class. r=nsm,mrbkap
2015-09-30 19:11:03 -04:00
Wes Kocher
6fbdec2422
Backed out 12 changesets (bug 1188545) for test_fetch_cors failures CLOSED TREE
...
Backed out changeset e04738ee72a3 (bug 1188545)
Backed out changeset 1989893b59de (bug 1188545)
Backed out changeset 11ff29cc25d8 (bug 1188545)
Backed out changeset 4b6bdf859845 (bug 1188545)
Backed out changeset 76eb7ffeca2a (bug 1188545)
Backed out changeset 4473e036b52e (bug 1188545)
Backed out changeset 2a28cb794b23 (bug 1188545)
Backed out changeset 1fa2f55727f3 (bug 1188545)
Backed out changeset 032f4c24fc34 (bug 1188545)
Backed out changeset 4be675dc1b37 (bug 1188545)
Backed out changeset d5d05def5b17 (bug 1188545)
Backed out changeset e94f12b0bcf3 (bug 1188545)
2015-09-30 11:11:47 -07:00
Catalin Badea
c537f8c503
Bug 1188545 - Disentangle service workers from shared workers and refactor event dispatching code into a separate class. r=nsm,mrbkap
2015-09-30 10:14:33 -04:00
Nigel Babu
2ea092cec1
Backed out changeset 5f02a9d37e56 (bug 1208622) for windows build bustage
...
CLOSED TREE
2015-09-29 12:10:45 +05:30
Bobby Holley
46f21127a1
Bug 1208622 - Separate API entry points. r=bz
2015-09-28 22:51:30 -07:00
Kit Cambridge
556109257e
Bug 1205112 - Make `PushEvent.data` nullable. r=mt,smaug
...
--HG--
extra : commitid : 8kofiFgB7WB
extra : rebase_source : 1ff780efd336a9a4214800149c397d9fd3fd6429
2015-09-17 05:13:04 -07:00
Kit Cambridge
cc7189cb64
Bug 1149195 - Expose push message data accessors. r=nsm,dragana,smaug
...
--HG--
extra : commitid : 10hopC95zuL
extra : rebase_source : c3c9cfac62d1acb234bba2f16b443783354c43a4
2015-09-17 05:10:42 -07:00
Christoph Kerschbaumer
6d3847c487
Bug 1204703 - Make nsContentSecurityManager scriptable (r=sicking)
...
--HG--
extra : source : 977d5b7ecba32a0617d40c231e2f16963bf4a4ef
2015-09-18 09:27:15 -07:00
Wes Kocher
8414be2356
Backed out 3 changesets (bug 1143922) for landing with the wrong bug number
...
Backed out changeset 309b4d1ab81c (bug 1143922)
Backed out changeset deda472458fd (bug 1143922)
Backed out changeset 977d5b7ecba3 (bug 1143922)
2015-09-18 14:13:33 -07:00
Christoph Kerschbaumer
b01fc3ad90
Bug 1143922 - Make nsContentSecurityManager scriptable (r=sicking)
2015-09-18 09:27:15 -07:00
Tim Taubert
95303eccef
Bug 1206030 - Remove nsIDOMHTMLCanvasElement::MozFetchAsStream() f=Ms2ger r=jst
2015-09-18 12:21:27 +02:00
Andrea Marchesini
9bb1b02e82
Bug 1200851 - DataStoreService should update its permission map when the homescreen changes, r=fabrice
2015-09-18 13:49:24 +08:00
Christoph Kerschbaumer
8001d76219
Bug 1026520 - CSP: Inline report sending into allows - csp changes (r=dveditz)
2015-09-17 22:34:16 -07:00
Dragana Damjanovic
a7f75d48d4
Bug 1172502 - Add message encription for WebPush. r=mt r=kitcambridge r=keeler r=smaug
...
--HG--
extra : commitid : FsE5V9w4fej
extra : amend_source : 8b44837b765bd319cadc93a53948264dfbd87ecf
2015-09-11 07:51:32 -07:00
Jim Mathies
f0f7a995e4
Bug 1199765 - Add support to TabParent for querying the active state of remote browsers. r=Mossop
2015-09-04 08:42:01 -05:00
Kartikaya Gupta
95631466e1
Bug 1185747 part 3 - Rip out code to explicitly override the CSS viewport. r=tn
...
--HG--
extra : commitid : KeYHVLqoKK0
2015-09-01 16:47:52 -04:00
Markus Stange
0441fca5af
Bug 1016035 - Add a MozSwipeGestureMayStart event. r=kats
...
Having this event means that we don't have to wait for content to find out whether it's scrollable in the case that no swipe should be happening anyway.
IGNORE IDL because I'm only changing comments in the IDL files.
--HG--
extra : commitid : 22814fSLcIz
extra : rebase_source : e51b4db26333275c9bcb3fd7fece78b7d3653275
2015-08-27 15:06:21 -04:00
Fabrice Desré
db3cd46808
Bug 1196963 - Make extensions work without being in developer mode r=jduell
2015-08-26 18:40:05 -07:00
Masayuki Nakano
0d22745cda
Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug
2015-08-26 21:56:59 +09:00
Tim Chien
653afd145a
Bug 1137557 - Part 1: Allow callee of TIP.keydown() to figure out preventDefault() of keydown and keypress event. r=masayuki, r+sr=smaug
...
--HG--
extra : source : e48ed45d1c801dc8d41b6f731b532c29794223d2
2015-08-05 01:58:00 -04:00
Ryan VanderMeulen
aeacc8883e
Backed out 4 changesets (bug 1137557) for causing intermittent Gij switching_test.js failures.
...
Backed out changeset ce86cf91f423 (bug 1137557)
Backed out changeset 83af10efcd3c (bug 1137557)
Backed out changeset e48ed45d1c80 (bug 1137557)
Backed out changeset 81e93b60a622 (bug 1137557)
CLOSED TREE
--HG--
extra : rebase_source : 2bf3467951041be553ab34c45d49c445829d21bb
2015-08-24 13:27:01 -04:00
Tim Chien
297346d27f
Bug 1137557 - Part 1: Allow callee of TIP.keydown() to figure out preventDefault() of keydown and keypress event. r=masayuki, r+sr=smaug
2015-08-05 01:58:00 -04:00
Benoit Girard
074eb08eb1
Bug 1186662 - Part 1: Add SuppressDisplayport painting and use it during tab switch. r=kats,mconley
...
--HG--
extra : commitid : 9fUfVIK8ikm
extra : rebase_source : e45570f97a25f965d2caf24f152da02efcf6495f
2015-08-19 17:08:41 -04:00
Kartikaya Gupta
1db1586922
Bug 1180295 - Implement seamless snapping to the stable state. r=rbarker
...
--HG--
extra : commitid : BCRW1BHPhL8
2015-08-18 14:27:20 -04:00
Kartikaya Gupta
056c55b10f
Bug 1180295 - Rip out call to setContentDocumentFixedPositionMargins. r=rbarker
...
--HG--
extra : commitid : 7uU6xgPVZom
2015-08-18 14:27:18 -04:00
Nathan Froyd
797182f90f
Bug 968923 - part 5b - add nsIDOMWindowUtils::forceUseCounterFlush; r=bz
...
Use counter submission normally happens at document destruction. For
testing use counters, however, we need to have use counters updated in
telemetry at deterministic points. Therefore, we provide a method on
nsIDOMWindowUtils that forces use counters out to telemetry so we can
examine them.
2015-03-17 15:25:35 -04:00
Matt Woodrow
169ab22517
Bug 1178098 - Report why DXVA initialization failed to about:support. r=cpearce
...
--HG--
extra : rebase_source : 976baee04db89d0808b8fc494108e01aa163d402
2015-07-13 16:12:23 -04:00
Ryan VanderMeulen
a977d011fb
Backed out changeset c2c0405ddf93 (bug 1180916) for causing various e10s mochitest failures.
2015-08-14 11:27:25 -04:00
Brad Lassey
f6c9807803
bug 1180916 - witching tab generates 4 frames (4 full runs of the RefreshDriver), freeze the refresh driver while switching tabs r=mconley, mrbkap
2015-08-14 09:18:37 -04:00
Aryeh Gregor
5aeef0231d
Bug 874842 - Return Event instead of nsIDOMEvent
2015-08-12 14:39:31 +03:00
Kyle Huey
76e3009ab8
Bug 1179909: Refactor stable state handling. r=smaug
...
This is motivated by three separate but related problems:
1. Our concept of recursion depth is broken for things that run from AfterProcessNextEvent observers (e.g. Promises). We decrement the recursionDepth counter before firing observers, so a Promise callback running at the lowest event loop depth has a recursion depth of 0 (whereas a regular nsIRunnable would be 1). This is a problem because it's impossible to distinguish a Promise running after a sync XHR's onreadystatechange handler from a top-level event (since the former runs with depth 2 - 1 = 1, and the latter runs with just 1).
2. The nsIThreadObserver mechanism that is used by a lot of code to run "after" the current event is a poor fit for anything that runs script. First, the order the observers fire in is the order they were added, not anything fixed by spec. Additionally, running script can cause the event loop to spin, which is a big source of pain here (bholley has some nasty bug caused by this).
3. We run Promises from different points in the code for workers and main thread. The latter runs from XPConnect's nsIThreadObserver callbacks, while the former runs from a hardcoded call to run Promises in the worker event loop. What workers do is particularly problematic because it means we can't get the right recursion depth no matter what we do to nsThread.
The solve this, this patch does the following:
1. Consolidate some handling of microtasks and all handling of stable state from appshell and WorkerPrivate into CycleCollectedJSRuntime.
2. Make the recursionDepth counter only available to CycleCollectedJSRuntime (and its consumers) and remove it from the nsIThreadInternal and nsIThreadObserver APIs.
3. Adjust the recursionDepth counter so that microtasks run with the recursionDepth of the task they are associated with.
4. Introduce the concept of metastable state to replace appshell's RunBeforeNextEvent. Metastable state is reached after every microtask or task is completed. This provides the semantics that bent and I want for IndexedDB, where transactions autocommit at the end of a microtask and do not "spill" from one microtask into a subsequent microtask. This differs from appshell's RunBeforeNextEvent in two ways:
a) It fires between microtasks, which was the motivation for starting this.
b) It no longer ensures that we're at the same event loop depth in the native event queue. bent decided we don't care about this.
5. Reorder stable state to happen after microtasks such as Promises, per HTML. Right now we call the regular thread observers, including appshell, before the main thread observer (XPConnect), so stable state tasks happen before microtasks.
2015-08-11 06:10:46 -07:00
L. David Baron
04c4aa1ea9
Bug 1189605 - Fix over-indentation of a few parts of nsIDOMWindowUtils.idl. r=khuey
...
IGNORE IDL
--HG--
extra : commitid : EwaZah7Y7Xg
2015-08-02 21:03:08 -07:00
Nikhil Marathe
97ea06c0c0
Bug 1188686 - Clear push subscriptions when forgetting about site. r=kitcambridge
...
--HG--
extra : commitid : 4z3omFAziAN
extra : transplant_source : %0A%E7%85%26%EE9%CE%95%0C/%AC%7E%89%ED%08%9A%3C%99mA
2015-07-29 11:33:48 -07:00
Nikhil Marathe
839a3bc3fb
Bug 1183954 - Fix Notification.data structured cloning on workers. r=robertbindar,mccr8
...
Rather than store a non-thread-safe refcounted nsIStructuredCloneContainer, store the base64 representation.
Caches a jsval the first time an attempt to access data is made from content script.
--HG--
extra : commitid : Ijd82LTJaYo
extra : rebase_source : f82e837842037ea02efae3a0fc9b2b35c2a0d7d0
2015-07-30 12:44:14 -07:00
Blake Kaplan
b22c011fa8
Bug 940206 - Implement Navigator.registerContentHandler and Navigator.registerProtocolHandler for e10s. r=dao
2015-07-31 17:03:37 -07:00
Nikhil Marathe
cf6e7ed78b
Bug 1184574 - Allow access to PushManager on ServiceWorker. r=kitcambridge,smaug,catalinb
...
Refactoring to allow access to PushManager in ServiceWorkerGlobalScope. See comment in PushManager.h for details.
--HG--
extra : commitid : A7RvB9rm8av
extra : transplant_source : %20%99%CA%B0%EB%B9%82%27D%F7e%B8UQ%12%E6%9B%18%BB5
2015-07-23 08:30:15 -07:00
Neil Deakin
ec562250fa
Bug 1176239, do tab navigation in the child when moving between the parent and child process, r=smaug
2015-07-23 10:04:15 -04:00
Carsten "Tomcat" Book
3a1bcbf297
Backed out changeset f5ea755e3cb9 (bug 1176239) for test failures in browser_focusnavigation.js
2015-07-21 15:22:15 +02:00
Boris Zbarsky
a435429163
Bug 909154. Remove the prefixed mozRequestAnimationFrame and its accoutrements. r=bkelly
2015-07-20 10:14:24 -04:00
Neil Deakin
ccdcdc8cac
Bug 1176239, do tab navigation in the child when moving between the parent and child process, r=smaug
2015-07-20 08:59:50 -04:00
Kyle Huey
74f03750da
Bug 1182316: Part 3 - Add assertions to most other WebIDL entry points, clean up nsIDOMJSWindow cruft. r=peterv
2015-07-16 22:10:35 -07:00
Ben Kelly
55e3066722
Bug 1181887 Fall back to network if ServiceWorker script fails to load. r=ehsan r=khuey
2015-07-15 12:21:40 -07:00
Bobby Holley
23aa464074
Bug 1182347 - Migrate existing code away from .cookieJar. r=sicking,r=allstars.chh
2015-07-14 19:56:33 -07:00
Nikhil Marathe
0dcce8d9fe
Bug 1114554 - Patch 4 - ServiceWorkerRegistration.getNotifications() on main thread. r=wchen
...
--HG--
extra : rebase_source : 094fa1eca4e3a9e303202ecaad4edf6cd816c065
2015-06-25 18:50:25 -07:00
Nikhil Marathe
f35ee7d850
Bug 1114554 - Patch 3 - Fire notificationclick event on ServiceWorkerGlobalScope. r=wchen,baku
...
Bug 1114554 - Patch 3.1 - ServiceWorker principal fixes. r=baku
Bug 1162088 introduced origin attributes that ServiceWorkerManager callers have to use. This patch updates notificationclick events to work.
Folded:
Hide NotificationEvent behind pref
--HG--
extra : rebase_source : e892411834525b4c9b31d96d56ddf42634414040
2015-06-25 18:50:25 -07:00
Neil Deakin
eee10c99f2
Bug 1132518, make document navigation with F6/Shift+F6 work in e10s. This combines the document and tab navigation mechanisms together, r=smaug
2015-07-13 06:07:49 -04:00
Christoph Kerschbaumer
d338b7f9d9
Bug 1139297 - Implement CSP upgrade-insecure-requests directive - csp changes (r=sstamm)
...
--HG--
extra : rebase_source : 34377eb11cf33beef768bd11883c048c37351a8d
2015-07-10 09:13:54 -07:00
Kartikaya Gupta
5b73f30813
Bug 1181678 - Expose an attribute on DOMWindowUtils to see if APZ is enabled. r=botond
2015-07-09 09:53:54 -04:00
Cameron McCormack
9835a50961
Bug 1177563 - Test that we share agent rule processors across different documents. r=dbaron
2015-07-08 15:57:31 +10:00
Carsten "Tomcat" Book
f5a2bf64b3
Backed out changeset 42e80a07acd6 (bug 1177563) for bustage on a CLOSED TREE
...
--HG--
extra : rebase_source : 4a68bf83cc2939f899b0c6f92efa58e3d5aab6a2
2015-07-08 09:44:16 +02:00
Cameron McCormack
f086e12dcb
Bug 1177563 - Test that we share agent rule processors across different documents. r=dbaron
...
--HG--
extra : rebase_source : 119e78e4798a8044531f6fa288be7a0fc3ce9e43
2015-07-08 15:57:31 +10:00
Lee Salzman
317af90588
Bug 771367 - Update test_animations_omta.html to support testing pseudo-elements. r=dbaron
...
--HG--
extra : rebase_source : 659f839d709a4955d7351c1200e6dcbf527c0c51
2015-07-01 12:08:30 -04:00
Carsten "Tomcat" Book
8bc87efb1e
Backed out changeset f5f3827ffcf1 (bug 1166910) for bustage
2015-07-01 08:19:28 +02:00
Franziskus Kiefer
91b0523177
Bug 1166910 - referrer attribute for img tag. r=hsivonen
2015-06-05 15:25:24 -07:00
Jan Varga
baba1643c1
Bug 1130775 - Convert synchronized ops and storage registration into unified directory locks; r=bent
...
--HG--
rename : dom/quota/OriginOrPatternString.h => dom/quota/OriginScope.h
2015-06-30 14:59:27 +02:00
Ryan VanderMeulen
84d140a54b
Backed out 11 changesets (bug 916893, bug 1114554) for various mochitest and Gij failures.
...
Backed out changeset 247ca4bf258e (bug 1114554)
Backed out changeset 5578d5c280a6 (bug 1114554)
Backed out changeset 404830c1ecf7 (bug 1114554)
Backed out changeset 15bdf9c78e6e (bug 1114554)
Backed out changeset f92abe5ec784 (bug 1114554)
Backed out changeset 75324b6862a8 (bug 1114554)
Backed out changeset ce8a768782f2 (bug 1114554)
Backed out changeset 0d860fd12534 (bug 1114554)
Backed out changeset 7dc2448065a9 (bug 916893)
Backed out changeset c3b07f0d1a60 (bug 916893)
Backed out changeset 61c3f24cc908 (bug 916893)
CLOSED TREE
2015-06-25 19:52:40 -04:00
Nikhil Marathe
54e0ea7180
Bug 1114554 - Patch 4 - ServiceWorkerRegistration.getNotifications() on main thread. r=wchen
...
--HG--
extra : rebase_source : 7963829964347156d091c2c8f492c546a9e5fdc0
extra : amend_source : a1bcbf20f5e4ab65b4214bc97d64deba9732b952
2015-04-27 14:18:54 -07:00
Nikhil Marathe
1abb9e59d8
Bug 1114554 - Patch 3 - Fire notificationclick event on ServiceWorkerGlobalScope. r=wchen,baku
...
Bug 1114554 - Patch 3.1 - ServiceWorker principal fixes. r=baku
Bug 1162088 introduced origin attributes that ServiceWorkerManager callers have to use. This patch updates notificationclick events to work.
Folded:
Hide NotificationEvent behind pref
--HG--
extra : rebase_source : b536cc6a6e0ba212f225a3638cf4140635628047
2015-06-25 15:01:01 -07:00
Nikhil Marathe
b8eea4d16b
Bug 1166350 - Push fixes for principals. r=kitcambridge,bholley
...
Fix xpcshell tests.
Add support for webapps-clear-data.
Trash old regs on idb version upgrade.
Use principal for permission check.
use principal in PushSubscription.
--HG--
extra : source : d7554019b424327a3271e2c0debda995fff36cb5
extra : intermediate-source : be40dea6534771bdeedc9f7c6ccd8bbddb6e41c2
2015-06-24 13:34:54 -07:00
Ryan VanderMeulen
c01c5195c9
Backed out changeset 98c7277a8fb5 (bug 1166350) for xpcshell failures.
2015-06-24 16:10:45 -04:00
Nikhil Marathe
bd635e2c8a
Bug 1166350 - Push fixes for principals. r=kitcambridge,bholley
...
Fix xpcshell tests.
Add support for webapps-clear-data.
Trash old regs on idb version upgrade.
Use principal for permission check.
use principal in PushSubscription.
--HG--
extra : rebase_source : 3b8cb541512d3fb9a253773c2fd5227c980efdd2
extra : source : d7554019b424327a3271e2c0debda995fff36cb5
2015-06-02 15:56:33 -07:00
Boris Zbarsky
506ddeedf8
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
4546e525be
Bug 1167296 - patch 2 - ServiceWorkerManager::Remove should use PBackground, r=nsm
2015-06-21 12:19:07 +01:00
Andrea Marchesini
0bc6c733fd
Bug 1167296 - patch 1 - ServiceWorkerManager::RemoveAll should use PBackground, r=nsm
2015-06-21 12:17:58 +01:00
Kartikaya Gupta
1d81392d69
Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond
2015-06-19 08:25:41 -04:00
Yoshi Huang
94fb90e9cf
Bug 1168300 - notify clear-cookiejar-data. r=sicking
2015-05-27 16:10:42 +08:00
Karl Tomlinson
1dc7bae7b5
bug 1171785
use nsContentUtils::RunInStableState() r=bholley
...
--HG--
extra : rebase_source : a26fc43686810f65631b37539c5622631e2fc001
2015-06-11 14:36:12 +12:00
Andrea Marchesini
dcdcd94a06
Bug 1155153 - about:serviceworkers should work in e10s mode, r=nsm, r=bholley
2015-06-04 19:51:57 +01:00
Xidorn Quan
29eb0a646b
Bug 1161802 part 7 - Put document into fullscreen state after window becomes fullscreen. r=smaug,dao
...
--HG--
extra : source : fafd0c5759b8273aa30f37f014d2d5347a72b6d2
2015-06-10 23:13:12 +12:00
Mason Chang
920f2ea28a
Bug 1077651 Measure frame uniformity by synthesizing native events. r=kats,mrbkap
2015-06-08 09:53:41 -07:00
Fernando Jimenez
b0b4524945
Bug 1168783 - Expose principal in mozIApplication. r=fabrice
2015-06-08 14:02:09 +02:00
Carsten "Tomcat" Book
e7e949f08a
Backed out changeset bc305c9b5d05 (bug 1155153) for b2g xpshell test failure on a CLOSED TREE
2015-06-05 13:07:51 +02:00
Andrea Marchesini
42cd5b397c
Bug 1155153 - about:serviceworkers should work in e10s mode, r=nsm, r=bholley
2015-06-04 19:51:57 +01:00
Kartikaya Gupta
5b6ed7c5d7
Bug 1164218 - Allow running individual mochitests and reftests in chaos mode. r=roc,froydnj
2015-06-04 13:44:55 -04:00
Andrea Marchesini
8adec8a2d4
Bug 1162088 - patch 2 - ServiceWorkerManager should use OriginAttributes from the principal as scopeKey, r=nsm
2015-06-03 09:44:09 +01:00
Andrea Marchesini
a71e717b67
Bug 1162088 - patch 1 - ServiceWorkerManager should use OriginAttributes from the principal as scopeKey, r=nsm, r=bholley
2015-06-03 09:43:43 +01:00
Marcos Caceres
8fc79cb285
Bug 1089255 - Implement and test manifest-src CSP directive. r=bholley, r=dveditz, r=ckerschb
...
---
dom/base/nsContentPolicyUtils.h | 1 +
dom/base/nsDataDocumentContentPolicy.cpp | 3 +-
dom/base/nsIContentPolicy.idl | 2 +-
dom/base/nsIContentPolicyBase.idl | 7 +-
dom/base/nsISimpleContentPolicy.idl | 2 +-
dom/base/test/csp/browser.ini | 4 +
dom/base/test/csp/browser_test_web_manifest.js | 265 +++++++++++++++++++++
.../csp/browser_test_web_manifest_mixed_content.js | 55 +++++
dom/base/test/csp/file_CSP_web_manifest.html | 6 +
dom/base/test/csp/file_CSP_web_manifest.json | 1 +
.../test/csp/file_CSP_web_manifest.json^headers^ | 1 +
dom/base/test/csp/file_CSP_web_manifest_https.html | 4 +
dom/base/test/csp/file_CSP_web_manifest_https.json | 1 +
.../csp/file_CSP_web_manifest_mixed_content.html | 9 +
.../test/csp/file_CSP_web_manifest_remote.html | 8 +
dom/base/test/csp/file_csp_testserver.sjs | 14 +-
dom/base/test/csp/mochitest.ini | 7 +
dom/base/test/moz.build | 5 +-
dom/fetch/InternalRequest.cpp | 3 +
dom/fetch/InternalRequest.h | 2 +-
.../security/nsIContentSecurityPolicy.idl | 3 +-
dom/ipc/manifestMessages.js | 25 +-
dom/security/nsCSPUtils.cpp | 7 +
dom/security/nsCSPUtils.h | 10 +-
dom/security/nsMixedContentBlocker.cpp | 1 +
dom/webidl/CSPDictionaries.webidl | 1 +
extensions/permissions/nsContentBlocker.cpp | 6 +-
netwerk/mime/nsMimeTypes.h | 1 +
28 files changed, 439 insertions(+), 15 deletions(-)
create mode 100644 dom/base/test/csp/browser.ini
create mode 100644 dom/base/test/csp/browser_test_web_manifest.js
create mode 100644 dom/base/test/csp/browser_test_web_manifest_mixed_content.js
create mode 100644 dom/base/test/csp/file_CSP_web_manifest.html
create mode 100644 dom/base/test/csp/file_CSP_web_manifest.json
create mode 100644 dom/base/test/csp/file_CSP_web_manifest.json^headers^
create mode 100644 dom/base/test/csp/file_CSP_web_manifest_https.html
create mode 100644 dom/base/test/csp/file_CSP_web_manifest_https.json
create mode 100644 dom/base/test/csp/file_CSP_web_manifest_mixed_content.html
create mode 100644 dom/base/test/csp/file_CSP_web_manifest_remote.html
2015-06-02 15:42:19 -04:00
Andrew Osmond
52c7f139a7
Bug 1169342 - Remove nsIDOMDeviceStorage. Cleanup nsDOMDeviceStorage event wrappers. r=dhylands
2015-05-28 18:53:16 -04:00
George Wright
4e327f57b4
Bug 1119074 - If we're stopping event propagation from XUL popups, also stop them from crossing process boundaries r=smaug,felipe
2015-05-25 16:54:13 -04:00
Timothy Nikkel
f3507bdc3b
Bug 1160642. Add reftest-async-zoom to apply an async zoom before taking snapshot. r=dbaron
2015-05-24 16:48:26 -04:00
Kartikaya Gupta
b54dc47f24
Back out 2 csets for bug 1163832 for emulator crashtest failures. r=me
...
CLOSED TREE
2015-05-22 07:51:55 -04:00
Kartikaya Gupta
86ed888daa
Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond
2015-05-22 06:42:08 -04:00
Christoph Kerschbaumer
f679dfded5
Bug 1129999
- Implement CSP devtool using GCLI; CSP to JSON (r=sstamm,bholley)
2015-05-21 11:16:04 -07:00
Xidorn Quan
ae0095611c
Bug 1053413 part 3 - Remove fullscreen-origin-change notification, and make browser element rely on the fullscreen events. r=smaug
...
--HG--
extra : source : 5fb435684c91c57343b68ba3bf6caddb0ee0e778
2015-05-21 09:52:26 +12:00
Ryan VanderMeulen
e1ee0d7597
Backed out changeset f0af05d88416 (bug 1162088) for various web-platform-test failures.
...
CLOSED TREE
2015-05-19 15:20:15 -04:00
Andrea Marchesini
1d31da42fd
Bug 1162088 - ServiceWorkerManager should use the principal+scope for the initialization of ServiceWorkers, r=nsm,ehsan
2015-05-19 17:53:36 +01:00
Andrea Marchesini
3aa189b5ff
Bug 1163388 - patch 2 - get rid of nsIDOMFile, r=ehsan
...
--HG--
rename : dom/base/nsIDOMFile.idl => dom/base/nsIDOMBlob.idl
2015-05-18 14:52:26 +01:00
Wes Kocher
5e59586179
Merge b2g-inbound to m-c a=merge
2015-05-15 17:29:29 -07:00
Alexandre Lissy
9a97c9710a
Bug 1159128 - Only save valid app notifications. r=mhenretty
...
--HG--
extra : rebase_source : a1aa14fc6960a5f7c28d1abd918f3024eb329d4c
2015-05-14 10:59:00 +02:00
Mike Conley
2735b24083
Bug 863515 - Expose hasContentOpener on nsITabParent. r=smaug.
...
hasContentOpener is set to true if a tab happened to be opened
due to content requesting it - for example, a target="_blank" link,
or a window.open.
--HG--
extra : rebase_source : f29e509d630b25bf7af91254adb7256c1537c800
2015-05-13 16:44:39 -04:00
Nikhil Marathe
4c2d6784e1
Bug 1080109 - Clear ServiceWorkers when clearing history or forgetting about site. r=baku,ehsan
...
--HG--
extra : rebase_source : 41417b60ed6603d613b65cd7e96a5ba8121b05e5
2015-03-05 17:37:49 -08:00
Kartikaya Gupta
83a95ac8fd
Bug 1161206 - Implement native mousewheel event synthesization on OS X. r=mstange
2015-05-05 14:45:11 -04:00
Doug Turner
9bf4add3ed
Bug 1159310 - Remember the push count and last push time for push events. r=kit
...
--HG--
extra : rebase_source : 58b5f6f1b0e98e201f77b4ec3feabce6c8ef5394
2015-04-28 09:44:00 -04:00
Carsten "Tomcat" Book
f44696b7a9
Backed out changeset 0efce0a97efe (bug 1159310) for xpc bustage on a CLOSED TREE
2015-04-29 09:53:02 +02:00
Cameron McCormack
66534e75d7
Bug 1157150 - Add nsDOMWindowUtils.postRestyleSelfEvent method, for use in tests. r=smaug
2015-04-29 14:47:14 +10:00
Doug Turner
5f2f255c9e
Bug 1159310 - Remember the push count and last push time for
...
push events. r=kit
2015-04-28 09:40:57 -07:00
Matt Woodrow
fa7ac228d2
Bug 1151611 - Expose DXVA status in about:support. r=cpearce,felipe
...
--HG--
extra : rebase_source : e65d849641d33218d9ee2b9bb6eeafb602a6f8e6
2015-04-28 15:07:22 +12:00
Dragana Damjanovic
984272cb6d
Bug 1156397 - some fix for webpush PushServer. r=dougt r=nsm
...
--HG--
extra : rebase_source : 06425ea3c83db38da11e345ee998a470f9e26570
2015-04-24 14:55:00 +02:00
Kevin Wern
cad494d874
Bug 1148694
patch 2 - Remove interface and implementation of CSSCharsetRule. r=dbaron
2015-04-21 00:08:36 -07:00
Kyle Huey
0f81e8288a
Bug 1158366: Remove nsIDOMHTML[BR|Div|Heading|TableCaption|Table|Title]Element.idl. r=ehsan
2015-04-25 07:23:54 -07:00
Wes Kocher
65b94d7a9d
Backed out changeset 022beda1707c (bug 1158366) for wError build bustage
2015-04-24 16:52:52 -07:00
Kyle Huey
cdd7af4cfa
Bug 1158366: Remove nsIDOMHTML[BR|Div|Heading|TableCaption|Table|Title]Element.idl. r=ehsan
2015-04-24 16:09:30 -07:00
Kyle Machulis
358e55b5b7
Bug 852944 - Gamepad API IPC; r=ted, r=baku
...
--HG--
extra : rebase_source : 34ca0c1e1b7fcc312b5d7c97d5bd2086af2bc7ce
2015-04-23 15:05:29 -07:00
Nikhil Marathe
d7b71e8fbf
Bug 1131327 - Patch 6 - SWM holds ServiceWorkerRegistrationListener for updatefound and invalidation notifications. r=baku
...
Splits up the listener interface to which SWM can hold rawptrs so that registration objects living on the worker thread can use awkward proxies to listen to these events.
--HG--
extra : rebase_source : 7b9753742b3dd6e416057fdee528b0d2067c55a9
2015-04-08 13:13:32 -07:00
Nikhil Marathe
e8ed488816
Bug 1131350 - Move update() to ServiceWorkerRegistration. r=baku
...
--HG--
extra : rebase_source : 0483ec35b9b53c4970afaf76ff3b8a6f92120e34
2015-03-19 18:09:10 -07:00
Doug Turner
91f963df66
Bug 1149274 - Clear site-permissions should clear all registered push notifications. r=nsm
2015-04-21 20:10:51 +02:00
Kit Cambridge
1fc2dfab0a
Bug 1150683 - Add XPCOM interfaces for push notifications. r=dougt
...
---
b2g/installer/package-manifest.in | 1 +
browser/installer/package-manifest.in | 1 +
dom/interfaces/push/moz.build | 12 ++++++
dom/interfaces/push/nsIPushNotificationService.idl | 49 ++++++++++++++++++++++
.../push/nsIPushObserverNotification.idl | 30 +++++++++++++
dom/moz.build | 1 +
6 files changed, 94 insertions(+)
create mode 100644 dom/interfaces/push/moz.build
create mode 100644 dom/interfaces/push/nsIPushNotificationService.idl
create mode 100644 dom/interfaces/push/nsIPushObserverNotification.idl
2015-04-21 20:10:50 +02:00
Phil Ringnalda
0db5cd0782
Backed out 4 changesets (bug 1150683) for Talos indexedDB crashes
...
CLOSED TREE
Backed out changeset 7953d3dd62ff (bug 1150683)
Backed out changeset c6805afff48c (bug 1150683)
Backed out changeset 186ed6bc887e (bug 1150683)
Backed out changeset 8e82f557f913 (bug 1150683)
2015-04-19 07:20:24 -07:00
Kit Cambridge
8c90dbe003
Bug 1150683 - Add XPCOM interfaces for push notifications. r=dougt
...
---
b2g/installer/package-manifest.in | 1 +
browser/installer/package-manifest.in | 1 +
dom/interfaces/push/moz.build | 12 ++++++
dom/interfaces/push/nsIPushNotificationService.idl | 49 ++++++++++++++++++++++
.../push/nsIPushObserverNotification.idl | 30 +++++++++++++
dom/moz.build | 1 +
6 files changed, 94 insertions(+)
create mode 100644 dom/interfaces/push/moz.build
create mode 100644 dom/interfaces/push/nsIPushNotificationService.idl
create mode 100644 dom/interfaces/push/nsIPushObserverNotification.idl
2015-04-19 12:06:04 +02:00
Ryan VanderMeulen
dd1120e715
Merge m-c to inbound. a=merge
...
CLOSED TREE
2015-04-17 16:11:58 -04:00
Ryan VanderMeulen
86aee22968
Merge inbound to m-c. a=merge
...
--HG--
rename : toolkit/modules/tests/browser/browser_AddonWatcher.js => toolkit/components/perfmonitoring/tests/browser/browser_AddonWatcher.js
2015-04-17 15:44:37 -04:00
Ehsan Akhgari
44e6522def
Bug 1112469 - Part 2: Update the service workers in the parent and all child processes every day; r=nsm
2015-04-17 14:01:21 -04:00
Fabrice Desré
0c39156de8
Bug 1154864 - Fix getScopeByLocalId use in PushService.jsm r=nsm
2015-04-16 18:15:18 -07:00
Andrea Marchesini
3faaae83fb
Bug 1154721 - Add an "Unregister" button to about:serviceworkers, r=ehsan
2015-04-15 18:11:17 +01:00
Kershaw Chang
e81771306d
Bug 1020179 - Let PContent manage PContentPermissionRequest. r=fabrice, r=khuey
...
--HG--
extra : rebase_source : dba5c4709942f8ad92fc6aa0ee76942247b08992
2015-04-13 21:08:00 -04:00
Kartikaya Gupta
5cf2d407fd
Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug
2015-04-14 11:36:36 -04:00
Masayuki Nakano
8c1890067d
Bug 492394 part.1 NS_QUERY_CHARACTER_AT_POINT should also return tentative caret offset for the point r=smaug, sr=smaug
2015-04-14 14:27:37 +09:00
Phil Ringnalda
0cc202565a
Backed out 4 changesets (bug 1150683) for Android xpcshell test bustage
...
CLOSED TREE
Backed out changeset 645508dd2a76 (bug 1150683)
Backed out changeset 4389151f1348 (bug 1150683)
Backed out changeset 66ca87f2a944 (bug 1150683)
Backed out changeset 814fc7abbe18 (bug 1150683)
2015-04-13 20:15:58 -07:00
Kit Cambridge
b292c26440
Bug 1150683 - Add XPCOM interfaces for push notifications. r=dougt
...
---
b2g/installer/package-manifest.in | 1 +
browser/installer/package-manifest.in | 1 +
dom/interfaces/push/moz.build | 12 ++++++
dom/interfaces/push/nsIPushNotificationService.idl | 49 ++++++++++++++++++++++
.../push/nsIPushObserverNotification.idl | 30 +++++++++++++
dom/moz.build | 1 +
mobile/android/installer/package-manifest.in | 1 +
7 files changed, 95 insertions(+)
create mode 100644 dom/interfaces/push/moz.build
create mode 100644 dom/interfaces/push/nsIPushNotificationService.idl
create mode 100644 dom/interfaces/push/nsIPushObserverNotification.idl
2015-04-13 17:25:18 -07:00
Doug Turner
9c9d8e38df
Bug 1038811 - Push Notifications - ServiceWorker changes, push event implementation. r=nsm
2015-04-10 20:19:28 -07:00
Doug Turner
c915a3ef55
Bug 1038811 - Push Notifications - WebIDL changes. r=nsm. sr=jst
2015-04-10 20:19:28 -07:00
Andrea Marchesini
81daef00e3
Bug 1133601 - Implement about:serviceworkers, r=ehsan
2015-04-10 09:50:06 +01:00
Boris Zbarsky
9f8de4bfd5
Bug 1154366. Pass in a JSContext to StructuredCloneContainer::InitFromJSVal so it will throw its exceptions somewhere where people might see them. r=bholley
2015-04-16 13:22:15 -04:00
Jose Antonio Olivera Ortega
6e115add99
Bug 1003991 - Disable https:// only load for ServiceWorkers when Developer Tools are open. r=nsm, r=miker
2015-03-24 14:15:00 -04:00
Josh Matthews
41763998ae
Bug 1134330 - Mark fetch events as reloads appropriately. r=smaug
2015-03-23 13:36:44 -04:00
Kartikaya Gupta
fdaed2c4d6
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
Nikhil Marathe
5ffa8c89b7
Bug 1130688 - Implement additional scope checking in service worker registration. r=bkelly,ehsan
...
--HG--
extra : amend_source : 19663c098313445da8c3c271cea59dc366207d43
extra : transplant_source : %CFl%F7%92%0B%22%5D%CB%10%DE%B6%3F%19%1AW%DA%D9%0FS%85
2015-03-09 18:57:06 -07:00
Botond Ballo
2eb9751320
Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow
...
--HG--
extra : rebase_source : 18444e5f9304bbf9c2c14903be6aa4ebf8a08af3
extra : source : 60fe56e752d984a8d074af1bec1dfcd40a41e5f6
2015-03-06 18:07:59 -05:00
Markus Stange
dee805a312
Bug 1142211 - Add layerization testing mechanisms to reftest. r=roc
...
This adds support for class="reftest-opaque-layer" and for
reftest-assigned-layer="some-layer-name" to the reftest harness.
From reftest/README.txt:
Opaque Layer Tests: class="reftest-opaque-layer"
================================================
If an element should be assigned to a PaintedLayer that's opaque, set the class
"reftest-opaque-layer" on it. This checks whether the layer is opaque during
the last paint of the test, and it works whether your test is an invalidation
test or not. In order to pass the test, the element has to have a primary
frame, and that frame's display items must all be assigned to a single painted
layer and no other layers, so it can't be used on elements that create stacking
contexts (active or inactive).
Layerization Tests: reftest-assigned-layer="layer-name"
=======================================================
If two elements should be assigned to the same PaintedLayer, choose any string
value as the layer name and set the attribute reftest-assigned-layer="yourname"
on both elements. Reftest will check whether all elements with the same
reftest-assigned-layer value share the same layer. It will also test whether
elements with different reftest-assigned-layer values are assigned to different
layers.
The same restrictions as with class="reftest-opaque-layer" apply: All elements
must have a primary frame, and that frame's display items must all be assigned
to the same PaintedLayer and no other layers. If these requirements are not
met, the test will fail.
2015-03-11 14:51:59 -04:00
Mantaroh Yoshinaga
193b6f4137
Bug 1106905 - Modify mobile desktop mode implementation to use a desktop viewport. r=kats
2015-03-12 12:14:55 -04:00
Boris Zbarsky
db8c6eb30d
Bug 1137334. Remove nsIDOMWindowUtils.getParent. r=bholley. We still have a CLOSED TREE, sadly.
2015-02-26 15:58:59 -05:00
Wes Kocher
b6d7cdb29f
Backed out changeset 01abd154ac05 (bug 1137334) for potentially busting m-e10s-dt on a CLOSED TREE
2015-02-26 23:17:00 -08:00
Boris Zbarsky
04443966d0
Bug 1137334. Remove nsIDOMWindowUtils.getParent. r=bholley
2015-02-26 15:58:59 -05:00
Masayuki Nakano
ca9bed9a3f
Bug 1119609 part.18 Add nsITextInputProcessor.commitCompositionWith() and drop aCommitString from nsITextInputProcessor.commitComposition() r=smaug, sr=smaug
2015-02-19 15:50:21 +09:00
Masayuki Nakano
e0f19b8f22
Bug 1119609 part.12 nsITextInputProcessor should take KeyboardEvent as an argument of composition releated methods for dispatching key events around composition events r=smaug, sr=smaug
2015-02-19 15:50:20 +09:00
Masayuki Nakano
f706eb2f63
Bug 1119609 part.11 TextEventDispatcher shouldn't allow to begin input transaction during dispatching a event r=smaug
2015-02-19 15:50:20 +09:00
Masayuki Nakano
992c26882e
Bug 1119609 part.8 nsITextInputProcessor.keydown() and nsITextInputProcessor.keyup() should be able to only modify its modifier state without dispatching key events r=smaug, sr=smaug
2015-02-19 15:50:19 +09:00
Masayuki Nakano
d8566e1894
Bug 1119609 part.7 Make TextInputProcerros possible to share modifier state r=smaug, sr=smaug
2015-02-19 15:50:19 +09:00
Masayuki Nakano
6de68f8acc
Bug 1119609 part.6 TextInputProcessor should manage modifier key state and set it to dispatching key events automatically r=smaug, sr=smaug
2015-02-19 15:50:19 +09:00
Masayuki Nakano
bf466fe03e
Bug 1119609 part.5 Compute KeyboardEvent.location and .keyCode if they are 0 r=smaug, sr=smaug
2015-02-19 15:50:19 +09:00
Masayuki Nakano
5ef7ce5e6c
Bug 1119609 part.4 Add keydown() and keyup() to nsITextInputProcessor r=smaug, sr=smaug
2015-02-19 15:50:19 +09:00
Josh Matthews
86618832b4
Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug
2015-02-18 20:34:29 -05:00
Ryan VanderMeulen
5abea51e9a
Backed out changeset 25f90464e93b (bug 1065216) for Android mochitest failures.
2015-02-18 16:00:33 -05:00
Josh Matthews
cb61a019fc
Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug
2015-02-18 14:10:52 -05:00
Kartikaya Gupta
b26756534f
Bug 1131695 - Ensure that mouse and touch events sent via BrowserElementParent to the child are offsetted correctly. r=fabrice
2015-02-16 21:41:49 -05:00
Carsten "Tomcat" Book
7871582fa7
Backed out changeset 969d634fe396 (bug 1131695) for android m4 perma failures on a CLOSED TREE
2015-02-17 09:27:25 +01:00
Kartikaya Gupta
5c6f96cc56
Bug 1131695 - Ensure that mouse and touch events sent via BrowserElementParent to the child are offsetted correctly. r=fabrice
2015-02-16 21:41:49 -05:00
Wes Kocher
217a6cabe8
Backed out 2 changesets (bug 1131695) for mochitest-1 failures on a CLOSED TREE
...
Backed out changeset 13af514d6aea (bug 1131695)
Backed out changeset 6823625f2042 (bug 1131695)
2015-02-13 12:43:20 -08:00
Kartikaya Gupta
9a2e87d83e
Bug 1131695 - Ensure that mouse and touch events sent via BrowserElementParent to the child are offsetted correctly. r=fabrice
2015-02-13 14:33:09 -05:00
Boris Zbarsky
70d896decc
Bug 975699. Remove mozIndexedDB. r=khuey
2015-02-12 18:39:26 -05:00
Andrea Marchesini
78ecfc7b0d
Bug 984050 - Persist ServiceWorkerRegistrations. r=bent, r=nsm
2015-02-11 06:53:00 -05:00
Carsten "Tomcat" Book
43c27b90f0
Backed out changeset b3a1efe7900a (bug 984050) for cpp unitest failures on a CLOSED TREE
2015-02-11 13:29:16 +01:00
Andrea Marchesini
8fb2e275d3
Bug 984050 - Persist ServiceWorkerRegistrations. r=bent,nsm
2015-02-11 10:10:23 +01:00
Ting-Yu Chou
534f594bd0
Bug 1127189 part 2 - Initialize browser API directly to get rid of nsBrowserElement observers. r=kanru
2015-02-09 15:04:18 +08:00
Masayuki Nakano
cebca7ab8a
Bug 1131026 Rename nsITextInputProcessor.init() and .initForTests() to .beginInputTransaction() and .beginInputTransactionForTests() r=smaug, sr=smaug
2015-02-10 17:09:29 +09:00
Carsten "Tomcat" Book
c6dca3bc4f
Backed out changeset 2f31942e18b5 (bug 1127189)
2015-02-09 13:22:25 +01:00
Ting-Yu Chou
ee9b619e7d
Bug 1127189 - part 2 - Initialize browser API directly to get rid of nsBrowserElement observers. r=kanru
...
--HG--
extra : rebase_source : 84f091ace43aebdb1c71e3060aa5a8220561977d
2015-02-09 15:04:18 +08:00
Phil Ringnalda
03a26ce028
Back out 3da63ccbadef (bug 984050) for Windows cppunit bustage
...
CLOSED TREE
2015-02-06 19:49:42 -08:00
Andrea Marchesini
ee4cdf6a25
Bug 984050 - Persist ServiceWorker registrations, r=bent, r=nsm
2015-02-06 23:31:33 +00:00
Ryan VanderMeulen
b83ba6b825
Backed out 4 changesets (bug 671389) for frequent B2G debug test_tcpsocket_client_and_server_basics.html crashes.
...
Backed out changeset b782435e5640 (bug 671389)
Backed out changeset 0f8d62109bfe (bug 671389)
Backed out changeset 8d6021f66c49 (bug 671389)
Backed out changeset cd3e227df9dc (bug 671389)
2015-02-05 16:48:18 -05:00
Deian Stefan
53375db2ef
Bug 671389 - Part 1: Implement CSP sandbox directive r=ckerschb,smaug
2015-02-03 23:40:00 +01:00
Alexandre Lissy
d20d93f371
Bug 1128489 - Direct communication between SettingsService and SettingsRequestManager. r=qdot
2015-02-03 02:45:00 +01:00
Paul Rouget
14d9d356fb
Bug 1118134 - expose a method to set chromemargin. r=mstange r=bz
2015-02-02 13:14:00 +01:00
Markus Nilsson
dfb7fb4437
Bug 1084505 - Fix explicit permission lookup for trusted hosted apps r=fabrice
2015-01-31 11:10:50 -08:00
Masayuki Nakano
7a0cea6729
Bug 936313 part.1 Remove DOM_KEY_LOCATION_MOBILE and DOM_KEY_LOCATION_JOYSTICK r=smaug+mwu+cpeterson, sr=smaug
2015-01-28 22:36:53 +09:00
Masayuki Nakano
23bb94d093
Bug 917322 part.19 Add nsITextInputProcessorCallback r=smaug+xyuan, sr=smaug
2015-01-28 15:27:33 +09:00
Masayuki Nakano
b1225d076e
Bug 917322 part.14 Remove sendCompositionEvent() and createCompositionStringSynthesizer() of nsIDOMWindowUtils and nsICompositionStringSynthesizer r=smaug, sr=smaug
2015-01-28 15:27:32 +09:00
Masayuki Nakano
c4758f2301
Bug 917322 part.11 Create nsITextInputProcessor and implement it as mozilla::TextInputProcessor r=smaug, sr=smaug
...
--HG--
rename : dom/base/CompositionStringSynthesizer.cpp => dom/base/TextInputProcessor.cpp
rename : dom/base/CompositionStringSynthesizer.h => dom/base/TextInputProcessor.h
2015-01-28 15:27:32 +09:00
Nikhil Marathe
076d17e308
Bug 1089778 - ServiceWorkerRegistration is keyed by scope for event dispatch and invalidation. r=baku
...
--HG--
extra : rebase_source : 012bcfa0aef20bc6b79e030cb7439f03799e9370
2014-10-27 11:52:57 -07:00
Kartikaya Gupta
990f1807e9
Bug 1121353 - Implement SynthesizeNativeTouchPoint in the gonk widget to allow injecting touch events into APZ. r=mwu
2015-01-20 00:38:00 +01:00
Carsten "Tomcat" Book
d9213808cc
Merge mozilla-central to b2g-inbound
2015-01-22 14:41:48 +01:00
Dimi Lee
a09be7bb0a
Bug 1105666 - [BrowserAPI] Add an API to indicate this iframe could receive NFC event. r=smaug, kanru, yoshi
2015-01-22 17:40:17 +08:00
Nikhil Marathe
d374da2039
Bug 1113555 - Update ServiceWorker registration lifecycle. r=baku
...
Folded:
Allow file: serviceworkers
Registration fixes WIP
Queue updatefound instead of immediately firing
Initial "atomically" steps of registration should also be a part of the job
Fix some compiler errors
Be sure not to null out various workers too early during activation
Integrated ServiceWorkerGlobalScope::Update into the ServiceWorkerRegisterJob.
--HG--
extra : rebase_source : 14dd02d18e1209147acd3fd118807c9bd8d4d300
2014-12-19 02:00:29 -08:00
L. David Baron
e4339e4c20
Bug 1115691 patch 2 - Expose counts of frames constructed and reflowed on DOMWindowUtils. r=roc
...
This counts are intended to be useful for:
* tests
* perhaps developer tools
that need to determine whether frame construction or reflow has happened
in a particular interval.
2015-01-11 15:43:10 -08:00
Martin Thomson
83ccd2e4c3
Bug 1116269 - Crypto/SubtleCrypto only depend on nsIGlobalObject, r=rbarnes
...
--HG--
extra : rebase_source : 5601ea96ba61c2927703e7c2f0e534794042ed82
2015-01-09 10:55:44 -08:00
Botond Ballo
9f93609fd6
Bug 1076241 - Add an API for setting a resolution on a document and scaling it by that amount. r=kats,tn
2015-01-02 20:06:14 -05:00
Ehsan Akhgari
961f45f728
Bug 1117264 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/base code; r=baku
2015-01-06 11:52:45 -05:00
Andrea Marchesini
449657cc1a
Bug 1065366 - Implement ServiceWorkerGlobalScope update(), r=nsm
...
--HG--
extra : rebase_source : abdca619a27b46693ead93a6f468a40b2eeab2cf
2014-10-06 16:45:14 +01:00
Sid Stamm
7ddbe36414
Bug 965727 - Implement referrer directive for CSP. (r=jst,ckerschb)
2014-12-17 14:14:04 -05:00
Sid Stamm
5dc1b5b39c
Bug 999656 - Fix mappings between content type and CSP directives and refactor permits functions in CSP. r=ckerschb
2014-12-10 13:54:00 +01:00
Neil Deakin
b0a6a33837
Bug 1060529, send the enabled state of child process commands to the parent on update, without the test, r=smaug,ehsan
2014-12-09 10:48:27 -05:00
Wes Kocher
280a38ff20
Backed out 2 changesets (bug 1060529) for introducing a new intermittent bc1 orange
...
Backed out changeset 5ddd9eb25925 (bug 1060529)
Backed out changeset d4f962fb38be (bug 1060529)
2014-12-08 16:40:55 -08:00
Neil Deakin
2e2109d0f9
Bug 1060529, send the enabled state of child process commands to the parent on update, now with improved test, r=smaug,ehsan
2014-12-08 08:12:22 -05:00
Neil Deakin
4d77f120ba
Bug 1072342
, propagate the window activation state down to child process windows, r=smaug,mstange
2014-11-27 08:28:26 -05:00
Masayuki Nakano
c207c66fed
Bug 1077345 part.6 Add NS_COMPOSITION event which automatically commits composition with its mData r=smaug
2014-11-25 14:02:32 +09:00
Masayuki Nakano
7c2cde510e
Bug 1077345 part.4 Add NS_COMPOSITION_COMMIT_AS_IS event which automatically commits composition with the last data r=smaug
2014-11-25 14:02:31 +09:00
David Zbarsky
856e7191b0
Bug 1089811 - remove nsIDOMGlobalObjectConstructor because it is dead code r=bz
2014-11-19 02:48:22 -05:00
Francois Marier
e1f5653f32
Bug 529697 - (CSP 1.1) Implement form-action directive [1/4], r=geekboy
...
Teach CSP about the form-action directive from CSP Level 2.
2014-11-18 01:12:00 +01:00
David Major
8e8ab01583
Bug 1078674: Add dummy method to nsIDOMNode to preserve FF34 vtable offsets. r=bz -- Re-land with correct bug number DONTBUILD
...
--HG--
extra : rebase_source : ddd35c35bb5d32e5b5fe68d5dc41eeb31a2ccb26
2014-11-14 10:32:24 +13:00
David Major
71f6d3cce4
Backed out changeset a03d97422b73 to re-land with correct bug number. DONTBUILD
...
--HG--
extra : rebase_source : bc48165bcabfdcc53175db9d6409093e86a12e86
2014-11-14 10:41:36 +13:00
David Major
5ece76f4e8
Bug 1078764: Add dummy method to nsIDOMNode to preserve FF34 vtable offsets. r=bz
...
--HG--
extra : rebase_source : 97f0c61140ac4600ab6f6e038d50240a7d476c8c
2014-11-14 10:32:24 +13:00
Benoit Girard
aa2eeb8ec1
Bug 1094442 - Part 1: Refactor how tile w/h is queried r=kats
...
--HG--
extra : rebase_source : 70ef00318a718e2ce3149955d2908615d6125cf3
2014-11-12 17:54:29 -05:00
Botond Ballo
c854025367
Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
...
This makes APZ behave nicely with most uses of a css transform:scale.
Summary of changes:
- FrameMetrics::mCumulativeResolution now includes the css-driven resolution
in addition to the pres-shell resolution.
- Displayports are now stored in Screen pixels rather than Layer pixels.
This is what we want anyways (as we'd like the displayport size to remain
constant as a fraction of the screen size), but it was necessary to make
this change as part of this patch because continuing to store them in
Layer pixels in the presence of a css-driven resolution would have
required a bunch of infrastructure to implement correctly.
Remaining work:
- Layout painting a scrollable layer at a resolution different from the
scale induced by the css transform causes problems. These will go away
with bug 1076192.
- Different resolutions on the x and y axes are not supported. This is
tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Carsten "Tomcat" Book
8894f4319e
Backed out changeset fbb9dc943109 (bug 1076163) for Android 4.0 Crashes on a CLOSED TREE
2014-11-13 11:47:57 +01:00
Botond Ballo
57adf459d4
Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
...
This makes APZ behave nicely with most uses of a css transform:scale.
Summary of changes:
- FrameMetrics::mCumulativeResolution now includes the css-driven resolution
in addition to the pres-shell resolution.
- Displayports are now stored in Screen pixels rather than Layer pixels.
This is what we want anyways (as we'd like the displayport size to remain
constant as a fraction of the screen size), but it was necessary to make
this change as part of this patch because continuing to store them in
Layer pixels in the presence of a css-driven resolution would have
required a bunch of infrastructure to implement correctly.
Remaining work:
- Layout painting a scrollable layer at a resolution different from the
scale induced by the css transform causes problems. These will go away
with bug 1076192.
- Different resolutions on the x and y axes are not supported. This is
tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Christoph Kerschbaumer
ab97bec4cb
Bug 1089912: Part 1, move csp into dom/security (r=sstamm,jst)
...
--HG--
rename : dom/base/nsIContentSecurityPolicy.idl => dom/interfaces/security/nsIContentSecurityPolicy.idl
rename : dom/base/nsCSPContext.cpp => dom/security/nsCSPContext.cpp
rename : dom/base/nsCSPContext.h => dom/security/nsCSPContext.h
rename : dom/base/nsCSPParser.cpp => dom/security/nsCSPParser.cpp
rename : dom/base/nsCSPParser.h => dom/security/nsCSPParser.h
rename : dom/base/nsCSPService.cpp => dom/security/nsCSPService.cpp
rename : dom/base/nsCSPService.h => dom/security/nsCSPService.h
rename : dom/base/nsCSPUtils.cpp => dom/security/nsCSPUtils.cpp
rename : dom/base/nsCSPUtils.h => dom/security/nsCSPUtils.h
2014-10-27 16:58:20 -07:00
Tomasz Kołodziejski
1a87a10585
Bug 1058116 - Pass referrer and isPrivate to openURIInFrame instead of nullptr as aOpener. r=mconley, r=smaug, r=Margaret, r=ally
2014-11-06 09:41:00 -05:00
Wes Kocher
077d7648c7
no bug - Fix merge conflict to help open this CLOSED TREE
2014-11-04 20:56:45 -08:00
Wes Kocher
a4e8fe7150
Merge m-c to inbound a=merge CLOSED TREE
2014-11-04 20:37:26 -08:00
Wes Kocher
052b085df2
Merge fx-team to m-c a=merge
2014-11-04 19:53:20 -08:00
Dave Townsend
57f0c49df2
Bug 1093048: Add a string overload to nsIDOMWindowUtils.removeSheet. r=bholley
2014-11-04 09:32:06 -08:00
Robert O'Callahan
7f0095de5c
Bug 1083635. Part 4.2: Create nsDOMWindowUtils::UpdateLayerTree and use it to flush layers in reftest content processes instead of doing a DRAW_WIDGET_LAYERS drawWindow. r=mattwoodrow
...
--HG--
extra : rebase_source : b1db1f0171180ed0a7ca36f92653cb702124fc95
2014-11-04 17:05:44 +13:00
Gina Yeh
1d9d1f4c1f
Bug 989198, Patch 2: Implementation of BeforeAfterKeyboardEvent, sr=smaug, r=masayuki.
2014-11-03 15:05:32 +08:00
Dave Townsend
36daaf9002
Bug 1089230: Add a string overload to nsIDOMWindowUtils.loadSheet. r=bholley
2014-10-31 11:48:52 -07:00
Peter Van der Beken
1dfb12501b
Bug 1018658 - Convert XPathNSResolver to WebIDL bindings, remove nsIDOMXPathNSResolver. r=bz.
...
--HG--
extra : rebase_source : ea2b29ebafb830717bedee2ce80f46c92b270804
2014-10-14 16:27:25 +02:00
Peter Van der Beken
dbe4555527
Bug 1018658 - Convert XPathNSResolver to WebIDL bindings, remove nsIDOMXPathEvaluator::createNSResolver. r=bz.
...
--HG--
extra : rebase_source : efc7c5a5cc527b789e6c7d4460bbd388d9da77fe
2014-10-14 16:27:24 +02:00
Peter Van der Beken
643250e37e
Bug 1018658 - Convert XPathNSResolver to WebIDL bindings, switch XPathNSResolver to WebIDL. r=bz.
...
--HG--
extra : rebase_source : 5edb613061b8d0dcb533ae6e1c3a5244e43dd545
2014-10-14 16:27:24 +02:00
Kartikaya Gupta
eea178f9b0
Bug 1078029 - Dispatch a dummy mouse event so that browser.js can pick up the event's retargeted target. r=wesj
2014-11-04 09:53:17 -05:00
Ryan VanderMeulen
f00e2738a4
Backed out 6 changesets (bug 989198, bug 1082963) for causing bug 1083231.
...
Backed out changeset a7c972407578 (bug 1082963)
Backed out changeset 94d1b30bde00 (bug 989198)
Backed out changeset 01e064ceb505 (bug 989198)
Backed out changeset f5a538109e36 (bug 989198)
Backed out changeset 3ff227d79d74 (bug 989198)
Backed out changeset 186743fc6f6d (bug 989198)
CLOSED TREE
2014-10-16 12:57:18 -04:00
Gina Yeh
303bfb5736
Bug 989198, Patch 2: Implementation of BeforeAfterKeyboardEvent, sr=smaug, r=masayuki.
...
---
dom/events/BeforeAfterKeyboardEvent.cpp | 92 ++++++++++++++++++++++
dom/events/BeforeAfterKeyboardEvent.h | 45 +++++++++++
dom/events/EventDispatcher.cpp | 3 +
dom/events/KeyboardEvent.cpp | 60 ++++++++------
dom/events/KeyboardEvent.h | 8 +-
dom/events/moz.build | 2 +
dom/events/test/test_all_synthetic_events.html | 4 +
dom/interfaces/events/nsIDOMEvent.idl | 7 ++
dom/tests/mochitest/general/test_interfaces.html | 48 ++++++-----
dom/webidl/BeforeAfterKeyboardEvent.webidl | 24 ++++++
dom/webidl/moz.build | 1 +
11 files changed, 250 insertions(+), 44 deletions(-)
create mode 100644 dom/events/BeforeAfterKeyboardEvent.cpp
create mode 100644 dom/events/BeforeAfterKeyboardEvent.h
create mode 100644 dom/webidl/BeforeAfterKeyboardEvent.webidl
2014-10-14 15:09:20 +08:00
Masayuki Nakano
d08404080c
Bug 960871 part.7 Get rid of WidgetTextEvent r=smaug
2014-10-07 19:01:48 +09:00
Andrew Osmond
044342a2bc
Bug 994912 - Add support for event-based notifications to media streams. r=roc, r=bz
2014-10-03 04:18:00 -04:00
Nick Lebedev
df62a59237
Bug 1055773 - Move hasAttributes method from Node to Element. r=bz
2014-10-01 10:16:00 +02:00
Ben Turner
d081140cb0
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
2014-09-26 16:21:57 -07:00
Markus Stange
7d5a3be591
Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
...
--HG--
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/basic/BasicPaintedLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/basic/BasicPaintedLayer.h
rename : gfx/layers/client/ClientThebesLayer.cpp => gfx/layers/client/ClientPaintedLayer.cpp
rename : gfx/layers/client/ClientThebesLayer.h => gfx/layers/client/ClientPaintedLayer.h
rename : gfx/layers/client/ClientTiledThebesLayer.cpp => gfx/layers/client/ClientTiledPaintedLayer.cpp
rename : gfx/layers/client/ClientTiledThebesLayer.h => gfx/layers/client/ClientTiledPaintedLayer.h
rename : gfx/layers/composite/ThebesLayerComposite.cpp => gfx/layers/composite/PaintedLayerComposite.cpp
rename : gfx/layers/composite/ThebesLayerComposite.h => gfx/layers/composite/PaintedLayerComposite.h
rename : gfx/layers/d3d10/ThebesLayerD3D10.cpp => gfx/layers/d3d10/PaintedLayerD3D10.cpp
rename : gfx/layers/d3d10/ThebesLayerD3D10.h => gfx/layers/d3d10/PaintedLayerD3D10.h
rename : gfx/layers/d3d9/ThebesLayerD3D9.cpp => gfx/layers/d3d9/PaintedLayerD3D9.cpp
rename : gfx/layers/d3d9/ThebesLayerD3D9.h => gfx/layers/d3d9/PaintedLayerD3D9.h
2014-09-26 13:06:08 -04:00
Tomasz Kołodziejski
e6d53b900b
Bug 1058435 - Add removeAllDomainsSince to ContentPrefService2. r=adw
2014-09-19 14:24:00 -04:00
Ben Turner
46d101f40c
Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE.
2014-09-17 19:36:01 -04:00
Robert Bindar
1d7df22c6e
Bug 912645 - Add notification behavior dict support. r=baku, sr=sicking
2014-09-16 17:12:00 -04:00
Vlatko Markovic
892881d00d
Bug 1059194 - Trusted Hosted Apps, part 2: CSP infrastructure changes. r=sicking
2014-09-16 13:14:02 -07:00
Ben Turner
1a91d40956
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
...
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00
Tom Schuster
e9184faa0c
Bug 1065574 - Remove UserDataHandler. r=smaug f=bz
2014-09-11 12:22:30 +02:00
Andrea Marchesini
7396255880
Bug 982728 - Implement ServiceWorkerGlobalScope unregister(), r=nsm
2014-09-10 11:21:32 -04:00
Andrea Marchesini
9a9a2da290
Bug 1065036 - nsIServiceWorkerManager.idl should be a builtinclass, r=nsm
2014-09-09 15:04:35 -04:00
David Zbarsky
87e75a12b3
Bug 1042654: Clean up XPIDL events r=bz
2014-09-05 23:33:40 -04:00
David Zbarsky
741e046aa5
Bug 1042654: Remove nsISpeechSynthesisGetter r=bz
2014-09-05 23:33:40 -04:00
David Zbarsky
04feefd891
Bug 1042654: Remove nsIDOMWindowB2G r=bz
2014-09-05 23:33:39 -04:00
David Zbarsky
c3a5b2e651
Bug 1042654: Remove nsIDOMWindowPerformance r=bz
2014-09-05 23:33:37 -04:00
David Zbarsky
783bce0025
Bug 1042654: Remove nsIInlineEventHandlers r=bz
2014-09-05 23:32:50 -04:00
David Zbarsky
6813ce3dab
Bug 1042654: Remove nsITouchEventReceiver r=bz
2014-09-05 23:32:49 -04:00
Boris Zbarsky
b03c146c49
Bug 880997 part 3. Change crossOrigin reflection to allow null values and be a limited enumerated attribute. r=smaug
2014-09-05 22:42:33 -04:00
Benoit Girard
f663585192
Bug 1057088 - Add a way to sync query compositor properties like overfill and HWC status. r=smaug,jrmuizel
...
--HG--
extra : rebase_source : 2791431bc77e939e78db3b888fc816c9d98294d3
2014-09-02 15:23:34 -04:00
Ryan VanderMeulen
f5859a2048
Merge inbound to m-c. a=merge
2014-09-03 16:38:57 -04:00
Nikhil Marathe
d185ce387a
Bug 1057933 - ServiceWorkerRegistrations should use scope and not window to obtain workers. r=baku
...
--HG--
extra : rebase_source : 299337329af979f091fefd6b2d1ef202c547c5ed
2014-08-24 22:35:03 -07:00
Andrea Marchesini
51c5e60fe1
Bug 1025077 - Implement ServiceWorkerContainer.ready, r=nsm
2014-08-26 09:16:03 +01:00
Nikhil Marathe
231b875967
Bug 1057135 - ServiceWorkerManager::Register() uses entry global. r=ehsan
...
--HG--
extra : transplant_source : %B1%3F%EA%17%81%DB%D6%EC%8A%86%3C%EE%D7%A9x%C7%0B%CD2%A0
2014-08-21 16:31:12 -07:00
Nikhil Marathe
ac703e92cb
Bug 1011268 - Unregister algorithm. r=ehsan
...
--HG--
extra : rebase_source : 134f7db35f039891775cf45a6bfd2146e03b8e75
2014-07-14 10:33:44 -07:00
Andrea Marchesini
401a133406
Bug 1002571
- Implement navigator.serviceWorker.getRegistrations. r=nsm
2014-08-20 11:40:00 -04:00
Robert Bindar
29ee85a120
Bug 899585 - Add custom data support in the Notification constructor r=baku
2014-08-20 17:56:12 -07:00
Bill McCloskey
b6264372dc
Bug 1051017 - Add browser.contentWindowAsCPOW and browser.contentDocumentAsCPOW (r=mconley,mrbkap)
2014-08-20 12:49:11 -07:00
Ryan VanderMeulen
8df0faf2d0
Merge m-c to inbound. a=merge
2014-08-19 16:25:33 -04:00
Ryan VanderMeulen
c6e10de0e1
Merge inbound to m-c. a=merge
2014-08-19 16:09:47 -04:00
Fabrice Desré
eabd72e065
Bug 899322 - Convert the mozApps API to use webidl r=marco,bholley
2014-08-19 09:30:54 -07:00
Junior Hsu
7d22538f76
Bug 1005818 - Part 2: Only limited browser API are available to a widget. r=kanru
...
1. Add |ownerIsWidget| in nsIFrameLoader.idl
2. Add |GetReallyIsWidget| in nsIMozBrowserFrame.idl
3. Hide the methods of browser API of a widget
4. Hide security-sensitive mozbrowser events of a widget
2014-08-19 15:14:22 +01:00
Junior Hsu
7b304a0c41
Bug 1005818 - Part 1: Load a widget as an app if the |src| is in the |widgetPages|. r=fabrice, sr=sicking
...
1. Add permission |embed-widgets| and Element attribute |mozwidget|
2. Add |hasWidgetPage| in /mozIApplication.idl
3. Check permission |embed-widgets| and the |src| is in the |widgetPages| when |GetAppManifest|
4. Add test case
5. Should enable preference |dom.enable_widgets|
2014-08-19 15:14:08 +01:00
Ed Morley
f060d6c933
Backed out changeset e020d647d6d3 (bug 1005818) for exceptions during test_widget.html
2014-08-19 15:06:12 +01:00
Ed Morley
fb08385bdd
Backed out changeset e71a3cac1b3d (bug 1005818)
2014-08-19 15:05:51 +01:00
Andrea Marchesini
1355a04e72
Bug 1043004 - Update ServiceWorkerContainer API to spec. r=bkelly
2014-08-19 09:56:00 -04:00
David Keeler
c3d3df58ac
bug 1030963 - remove non-standard window.crypto functions/properties r=jst r=briansmith r=glandium
2014-08-14 09:38:42 -07:00
Junior Hsu
784044650f
Bug 1005818 - Part 2: Only limited browser API are available to a widget. r=kanru
...
1. Add |ownerIsWidget| in nsIFrameLoader.idl
2. Add |GetReallyIsWidget| in nsIMozBrowserFrame.idl
3. Hide the methods of browser API of a widget
4. Hide security-sensitive mozbrowser events of a widget
2014-08-04 09:06:26 +08:00