Commit Graph

28049 Commits

Author SHA1 Message Date
Botond Ballo
ffebd18f0b Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
--HG--
extra : rebase_source : 22e5fe577ea503aede765c70e16c0bf875c4a9fd
2014-08-19 13:08:16 -04:00
Andrea Marchesini
1355a04e72 Bug 1043004 - Update ServiceWorkerContainer API to spec. r=bkelly 2014-08-19 09:56:00 -04:00
Bobby Holley
30533a5753 Bug 796938 - Remove GetDynamicScriptContext API. r=smaug 2014-08-19 12:02:08 -07:00
Bobby Holley
dd3b8f5e96 Bug 796938 - Switch to GetEntryGlobal in nsLocation::SetHrefWithBase. r=smaug
We leave this flag on the script context for now - we can move it somewhere
else later.
2014-08-19 12:02:08 -07:00
Bobby Holley
21082e49e4 Bug 796938 - Use GetEntryGlobal in NS_ScriptErrorReporter. r=smaug 2014-08-19 12:02:07 -07:00
Bobby Holley
533d0cab79 Bug 796938 - Use GetEntryGlobal in nsGlobalWindow::FireAbuseEvents. r=smaug 2014-08-19 12:02:07 -07:00
Bobby Holley
6a19789e3b Bug 796938 - Remove GetDynamicScriptGlobal API. r=smaug 2014-08-19 12:02:07 -07:00
Bobby Holley
c1382146f9 Bug 796938 - Switch nsLocation::GetSourceBaseURL to GetEntryDocument. r=smaug 2014-08-19 12:02:07 -07:00
Bobby Holley
1ef0a34ad2 Bug 796938 - Switch to GetEntryDocument in GetDocumentCharacterSetForURI. r=smaug 2014-08-19 12:02:06 -07:00
Bobby Holley
2125f7d9b5 Bug 796938 - Switch to GetEntryGlobal in GetCallerDocShellTreeItem. r=smaug 2014-08-19 12:02:06 -07:00
Bobby Holley
c7212aa9c1 Bug 796938 - Switch nsGlobalWindow::SecurityCheckURL to GetEntryGlobal. r=smaug 2014-08-19 12:02:06 -07:00
Bobby Holley
993920dcec Bug 796938 - Switch nsHTMLDocument::Open and XMLDocument::Load to a new GetEntryDocument API and remove nsContentUtils::GetDocumentFromContext. r=smaug 2014-08-19 12:02:06 -07:00
Bobby Holley
b95633b27a Bug 796938 - Switch nsGlobalWindow::Focus to GetEntryGlobal and eliminate nsContentUtils::GetWindowFromCaller. r=smaug 2014-08-19 12:02:05 -07:00
Bobby Holley
ad265a7fcd Bug 951991 - Implement GetEntryGlobal. r=smaug 2014-08-19 12:02:05 -07:00
Bobby Holley
3f0858f342 Bug 951991 - Assert against calling GetCurrentInnerWindow on an inner. r=smaug
The current convention is that this returns null when invoked on an inner, which
callers may or may not handle correctly. But when we start using GetEntryGlobal,
we'll end up with a lot of inners where we used to get outers, so we should get
strict about this now.
2014-08-19 12:02:05 -07:00
Andrew McCreight
e2153edd1d Bug 1048659 - Return the union we construct in a JS callback. r=peterv 2014-08-19 08:41:26 -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
2e784b9a4d Backed out changeset 721eb8e94100 (bug 1014023) for exceptions during test_widget.html 2014-08-19 15:12:32 +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
Sean Lin
a0d0f03c2c Bug 1014023 - [Datastore] Notify apps of changes in datastore without being opened. r=baku, r=gene 2014-06-27 15:58:47 +08: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
Junior Hsu
2df665e34c 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-07-03 13:47:09 +08:00
Ehsan Akhgari
678337b052 Bug 1007776 - Add a devtools API for muting the source AudioNodes; r=roc,smaug 2014-08-19 08:12:43 -04:00
Masayuki Nakano
877aa4d8fb Bug 1053048 Implement nsIEditor.isInEditAction readonly attribute r=ehsan, sr=smaug 2014-08-19 20:54:08 +09:00
Tom Schuster
aaa1a77b95 Bug 792439 - Implement ES6 WeakSet. r=till 2014-08-19 12:42:13 +02:00
Peter Van der Beken
2a4b38bbe9 Bug 1036186 - Reset Migration wizard no longer skips the first step to choose a browser. r=smaug.
--HG--
extra : rebase_source : 5fd0eed62b999eabf4a7a46300f4d74a6888b1f8
2014-08-08 15:03:29 +02:00
Lynn Tran
7bec1a6b6d Bug 1041335 - Add a mozilla::services getter for nsIServiceWorkerManager; r=ehsan 2014-08-18 21:13:14 -04:00
Ehsan Akhgari
42de58dbf7 Bug 1007778 - Add a devtools API to make some Web Audio nodes pass through their inputs; r=roc,smaug 2014-08-18 20:12:50 -04:00
Chris Peterson
a7c0a7fa6b Bug 793978 - Alphabetize navigator.plugins and navigator.mimeTypes arrays to reduce fingerprintable entropy. r=bsmedberg 2012-09-18 00:56:14 -07:00
Bobby Holley
24a1e4a8e1 Bug 1050340 - Fix up cloning test. r=gabor
This test currently assume that cloning a COW will fail. Once we always go over
security wrappers, this isn't true anymore, because COWs silently deny
disallowed property gets. So it makes sense to rewrite the test so that we can
see what actually makes it through the structured clones. Promises galore.

We also take out the buggy Blob/FileList stuff and replace it with ImageData,
which does a bonafide clone in NS_DOMWriteStructuredClone instead of the weird
pointer swapping we do in nsGlobalWindow.cpp (baku is in the process of cleaning
that up, but it's not done yet).
2014-08-18 14:18:40 -07:00
Martijn Wargers
649e683260 Bug 1051783 - Fix test_pointerlock-api.html. r=Enn 2014-08-18 18:21:08 +02:00
Ryan VanderMeulen
ff271817fd Merge m-c to inbound. a=merge 2014-08-18 16:12:20 -04:00
Ryan VanderMeulen
fde127a403 Merge inbound to m-c. a=merge 2014-08-18 16:04:28 -04:00
Chuck Lee
d7db55d8f8 Bug 979739 - Fix netmask string format error and use netHelper. r=vchang 2014-08-13 15:30:01 +08:00
Yoshi Huang
e2197f0523 Bug 1054217 - Part 4: Refine Nfc.receiveMessage. r=dimi
From 68d1ccd5d2e0e0f85803e56741ae17ff89c4a2a7 Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js | 61 ++++++++++++++++++++++++-----------------------------
 1 file changed, 28 insertions(+), 33 deletions(-)
2014-08-15 17:25:57 +08:00
Yoshi Huang
6b4aee17ad Bug 1054217 - part 3: rename setSessionToken to checkSessionToken. r=dimi 2014-08-18 17:43:28 +08:00
Yoshi Huang
d47a03867e Bug 1054217 - part 2: remove targetsBySessionTokens. r=dimi
From 07ca796ae9e1d8f98d8282c2bc4f68046d311fde Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js        | 124 ++++++++++-----------------------------------
 dom/nfc/gonk/nfc_consts.js |   2 +
 2 files changed, 29 insertions(+), 97 deletions(-)
2014-08-15 16:29:55 +08:00
Yoshi Huang
98651a7475 Bug 1054217 - Part 1: Add onPeerLost in gMessageManager. r=dimi
From 1e81ab61d3ff409817415b5e8b610f77461836f8 Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)
2014-08-15 11:31:52 +08:00
Yoshi Huang
9c1a94bdde Bug 1054119 - B2G NFC: Don't process data from nfcd if error. r=dimi 2014-08-13 18:12:27 +08:00
Nigel Babu
a6d3714069 Backed out changeset 080926480632 (bug 878533) for build failure ON A CLOSED TREE 2014-08-18 08:59:01 +05:30
Nigel Babu
cae1b74315 Backed out changeset b658d7efa3b4 (bug 878533) for build failure ON A CLOSED TREE 2014-08-18 08:58:50 +05:30
Vicamo Yang
62a48db9a4 Bug 878533 - 2/2: fix test cases. r=gene, r=smaug 2014-08-18 10:34:16 +08:00
Vicamo Yang
401f08c724 Bug 878533 - 1/2: move MozSmsFilter to webidl dictionary. r=smaug 2014-08-18 10:34:10 +08:00
Jim Mathies
5a0921a9b9 Bug 874437 - Only enable ipc sync wait deferred Windows message handling for plugin protocols, everything else should use standard blocking waits. r=bsmedberg 2014-08-15 12:12:37 -05:00
Ryan VanderMeulen
5fe0932115 Merge inbound to m-c. a=merge 2014-08-16 17:42:29 -04:00
Ryan VanderMeulen
8f9c0257b6 Merge m-c to b2g-inbound. a=merge 2014-08-15 17:06:19 -04:00
Ryan VanderMeulen
7c6c3f9580 Merge b2g-inbound to m-c. a=merge 2014-08-15 17:03:00 -04:00
Ryan VanderMeulen
9c4e668647 Merge fx-team to m-c. a=merge 2014-08-15 16:22:55 -04:00