Commit Graph

6011 Commits

Author SHA1 Message Date
Peter Van der Beken
170a6e0a63 Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, invert the flag for dom bindings in nsWrapperCache and add SetIsNotDOMBinding. r=bz.
--HG--
extra : rebase_source : 6ca1903658d3d6fe2634409cd39fa68c6b1219bd
2014-10-07 11:44:48 +02:00
Peter Van der Beken
a67967b9b8 Bug 808856 - Make not overriding WrapObject fail to build. r=ehsan.
--HG--
extra : rebase_source : 4683c70c97f7eea454bc445331dbbbe7c4f2cec7
2014-10-07 11:44:48 +02:00
Masayuki Nakano
7860ac681d Bug 960871 part.8 Rename variable names of NS_COMPOSITION_CHANGE event r=smaug 2014-10-07 19:01:49 +09:00
Masayuki Nakano
5c5627f00c Bug 960871 part.6 Use WidgetCompositionEvent for NS_COMPOSITION_CHANGE instead of WidgetTextEvent r=smaug 2014-10-07 19:01:48 +09:00
Masayuki Nakano
20ded1179a Bug 960871 part.4 Rename NS_TEXT_TEXT to NS_COMPOSITION_CHANGE and fix comments which mention text events r=smaug 2014-10-07 19:01:47 +09:00
Masayuki Nakano
93e60b7855 Bug 960871 part.2 Rename WidgetCompositionEvent::data to WidgetCompositionEvent::mData r=smaug 2014-10-07 19:01:46 +09:00
Masayuki Nakano
7806a4ddb7 Bug 960871 part.1 Rename WidgetTextEvent::theText to WidgetTextEvent::mData r=smaug 2014-10-07 19:01:46 +09:00
Wes Kocher
5d7f3c7007 Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
e523216532 Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan
--HG--
extra : rebase_source : 49a3f57d94fc94702f1604175c4e206091b67197
2014-10-06 13:11:24 -07:00
Eric Rahm
baf96b6e07 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
Nikhil Marathe
a255aa8f1c Bug 1017613 - Part 3 - fetch() IDL and stubs. r=baku
--HG--
extra : transplant_source : %B3%0A%E7%17m%5C%A5%DF%F4%1A%90Z%CF%B7%E2Y%CA%1E%21w
2014-07-24 18:30:07 -07:00
Ryan VanderMeulen
87ff7c3868 Backed out changeset cb3fd4a4b7c5 (bug 771043) for Android mochitest-8 failures.
CLOSED TREE
2014-10-03 15:26:06 -04:00
Boris Zbarsky
502afc718e Bug 771043. Move MediaQueryList tracking from the prescontext to the document, so they will correctly outlive prescontext changes. r=dbaron 2014-10-03 14:15:25 -04:00
Ed Morley
f34acba2a8 Backed out changeset a2192165100c (bug 1041180) for xpcshell failures; CLOSED TREE 2014-10-03 10:12:53 +01:00
Jon Coppeard
4d40e8b9e6 Bug 650161 - Allow for the possibility that the wrapper cache hasn't been initialized yet when updating it r=bz 2014-10-03 10:04:19 +01:00
Christoph Kerschbaumer
0bacef12a1 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-10-02 23:34:30 -07:00
Masayuki Nakano
0545660103 Bug 975383 part.1 TextComposition should dispatch compositionupdate event automatically if text event changes composition string r=smaug 2014-10-03 15:33:47 +09:00
Phil Ringnalda
2d3efb0d76 Back out 3 changesets (bug 1017613) for build bustage
CLOSED TREE

Backed out changeset 77b599edbab4 (bug 1017613)
Backed out changeset f048600cf938 (bug 1017613)
Backed out changeset 083a2fb884ed (bug 1017613)
2014-10-02 22:20:04 -07:00
Nikhil Marathe
c40ba404e5 Bug 1017613 - Part 3 - fetch() IDL and stubs. r=baku
--HG--
extra : rebase_source : 7783234b38b5d903dd6bd6d1e25d97c2e739f78c
2014-07-24 18:30:07 -07:00
Jan-Ivar Bruaroey
860ea9b15e Bug 1033885 - minor refactor of MediaManager::GetUserMedia to figure out privileged state itself. r=jesup 2014-09-30 19:17:53 -04:00
Andrea Marchesini
3cf69cdc04 Bug 1074963 - Constructor URLSearchParams() should preserve the order of pairs from passing argument, r=bz 2014-10-01 14:55:33 +01:00
Ryan VanderMeulen
b8afeaae1d Merge b2g-inbound to m-c. a=merge 2014-09-29 15:55:33 -04:00
Ryan VanderMeulen
dbdc908a0f Merge m-c to b2g-inbound. a=merge
CLOSED TREE
2014-09-29 10:46:00 -04:00
Bobby Holley
ceb4c65b4b Bug 1070842 - Move nsJSUtils::CompileFunction (and consequently event handler compilation and XBL compilation) off of nsJSUtils::ReportPendingException. r=bz 2014-09-29 15:34:21 +02:00
Bobby Holley
470def0448 Bug 1070842 - Introduce an API on AutoJSAPI to allow Gecko to handle exceptions without meddling from the JS engine. r=bz 2014-09-29 15:34:21 +02:00
Bobby Holley
02058c3f7d Bug 1070842 - Factor script error event dispatch into a separate function. r=bz 2014-09-29 15:34:21 +02:00
Bobby Holley
b0d5796cba Bug 1070842 - Remove ambiguous globals from xpc::ErrorReporter and make meanings explicit. r=bz 2014-09-29 15:34:20 +02:00
Jon Coppeard
ddd906f3a1 Bug 650161 - We don't need an objectMoved hook for global objects r=terrence 2014-09-29 09:50:17 +01:00
Bobby Holley
dc1a6220a7 Bug 1070131 - Switch originPrincipals to a mutedError flags. r=luke,r=bz
--HG--
rename : js/src/jsapi-tests/testOriginPrincipals.cpp => js/src/jsapi-tests/testMutedErrors.cpp
2014-09-29 10:44:30 +02:00
Bobby Holley
8951c9fe67 Bug 1070131 - Reduce the cases where we dispatch nsScriptErrorEvent. r=bz 2014-09-29 10:44:29 +02:00
Ben Turner
141df104d6 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
Peter Van der Beken
82ea691e0a Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, make Xrays walk the prototype chain when resolving DOM properties. r=bholley.
* * *
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, remove obsolete code. r=bholley.

--HG--
extra : rebase_source : 7a9aa81d3e9d74ed958374942020474147aa4f86
2014-09-15 16:51:40 +02:00
Peter Van der Beken
03f3b995b3 Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, add resolve and enumerate native property hooks for the Window named properties object. r=bholley.
--HG--
extra : rebase_source : 984777790b3239474888608eb2593516568c279a
2014-09-15 16:51:38 +02:00
Peter Van der Beken
34ffd8ca34 Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, add a named properties object type to DOMObjectType and how to get the parent prototype object in DOMIfaceAndProtoJSClass. r=bz, r=bholley.
--HG--
extra : rebase_source : fdd72f5027b365554ab0b986de685204c8030c58
2014-09-09 15:19:10 +02:00
Peter Van der Beken
f5362987e1 Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, create the named properties object from the binding code. r=bz.
--HG--
extra : rebase_source : 9147c989b0f6b5791d3e98041029e730036c3892
2014-09-05 22:36:36 +02:00
Peter Van der Beken
32edd5e887 Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, give the WindowNamedPropertiesHandler a DOMIfaceAndProtoJSClass. r=bz.
--HG--
extra : rebase_source : dbe820c4bc90bf9dbdbf752d0c81bb231f6ffe60
2014-09-05 22:09:50 +02:00
Bevis Tseng
b255c35e52 Bug 864484 - Part 5: Build CellBroadcast by default. r=vyang, r=smaug, r=ted
--HG--
extra : rebase_source : 73dcc868004c3e34c51806a34f88d25fc6c4c7c6
2014-08-25 17:24:03 +08:00
Vicamo Yang
8fc38b33a1 Bug 833229 - 3.d/4: DOM implementation. r=smaug 2014-09-26 13:00:24 +08:00
Vicamo Yang
e7594724d0 Bug 833229 - 2.b/4: build voicemail by default. r=smaug 2014-09-26 13:00:23 +08:00
Bobby Holley
54afe3012b Bug 1065811 - Expose isCallable()/isConstructor() in JS_PUBLIC_API. r=billm 2014-09-25 13:13:28 +02:00
Valentin Gosu
eca53b2a32 Bug 1071527 - "dom.performance.enabled" set to "false" shows non-zero values for attributes. r=bz 2014-09-23 23:18:28 +03:00
Andrea Marchesini
761b6976b7 Bug 1072115 - languagechange event should be dispatched to current inner windows only., r=bz 2014-09-24 17:12:22 +01:00
Andrea Marchesini
308a9b24dc Bug 1069401 - UserAgent cannot be changed for specific websites in workers, r=khuey, r=bz 2014-09-24 17:09:50 +01:00
Carsten "Tomcat" Book
bb6b27d528 Backed out changeset 4bb508b6f0c5 (bug 1041180) for XPCshell test failures 2014-09-24 13:13:20 +02:00
Carsten "Tomcat" Book
f9320e7667 Backed out changeset 13028d2039e8 (bug 1069401) for b2g m1 test failures 2014-09-24 12:40:43 +02:00
Christoph Kerschbaumer
72c6a44018 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-24 01:01:07 -07:00
Andrea Marchesini
9dc4fd68a2 Bug 1069401 - UserAgent cannot be changed for specific websites in workers, r=khuey, r=bz 2014-09-23 22:26:00 +02:00
Wes Kocher
0300f6d4af Backed out 2 changesets (bug 1041180) for build bustage on a CLOSED TREE
Backed out changeset 1cfb645267a4 (bug 1041180)
Backed out changeset afc9903ff28f (bug 1041180)
2014-09-23 16:26:49 -07:00
Christoph Kerschbaumer
5453719121 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-23 09:46:54 -07:00
Andrea Marchesini
da09ccff7b Bug 1062920 - WorkerNavigator strings should honor general.*.override prefs, r=khuey 2014-09-23 20:11:18 +01:00
Eric Rahm
8ce1452b9c Bug 1069490 - Part 3: Set columnNumber when processing console messages. r=bz 2014-09-22 11:28:55 -07:00
Christoph Kerschbaumer
63981c70c1 Bug 1038756: Callsites creating a channel in /dom/[base,xml,plugins] (r=jst)
* * *
Bug 1038756: Callsites creating a channel in /dom/[base,xbl,plugins] (r=jst)
2014-09-22 04:49:12 -07:00
Bobby Holley
f7c451febf Bug 1070696 - Implement a JSObject* override to AutoJSAPI::Init(). r=smaug 2014-09-21 21:31:53 +02:00
Bobby Holley
8dae0fc8ce Bug 1070696 - Rename xpc::GetNativeForGlobal to xpc::NativeGlobal and make it accept non-global JSObjects. r=smaug
The method is infallible, and making the callers invoke
js::GetGlobalForObjectCrossCompartment manually is dumb.
2014-09-21 21:31:53 +02:00
Boris Zbarsky
2139e7c4de Bug 1066826. Remove navigator.mozIsLocallyAvailable API. r=peterv 2014-09-19 22:58:27 -04:00
Neil Deakin
94791a56bc Bug 1067993, TabParent's Deactivate isn't called when window is lowered, r=smaug 2014-09-19 16:44:08 -04:00
Jon Coppeard
c8cbf89441 Bug 650161 - Use the object moved hook to update the wrapper cache r=terrence r=bz r=bholley
* * *
Add exception for objectMoved hook as we do for finalize hook
2014-09-17 15:35:11 +01:00
Fabrice Desré
e0a4f5d5c8 backout bug 1029943 for performance regressions (see bug 1066515) 2014-09-18 10:31:20 -07:00
Ben Turner
26edfb8667 Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE. 2014-09-17 19:36:01 -04:00
Robert O'Callahan
03f789ddcf Bug 476526 - Add crashtest. 2014-10-18 17:08:21 +00:00
Olli Pettay
b4e25b3aa6 Bug 1082839 - WebIDL for WindowRoot, r=peterv
--HG--
extra : rebase_source : 035e2752e12f31b78accae45eb1534c4dc31b690
2014-10-18 02:05:16 +03:00
Brian Hackett
1a86feed43 Bug 1073842 - Remove slots/elements from non-native objects, use a new layout for proxies and typed objects, r=luke,billm,efaust,bz,sfink,jandem. 2014-10-17 16:57:52 -07:00
Bobby Holley
ed09bb83f6 Bug 1081537 - Followup bustage fix. r=me 2014-10-17 19:08:45 +02:00
Bobby Holley
25f070df5a Bug 1081537 - Fall back to the addon global (if one exists) in GetEntryDocument. r=bz 2014-10-17 17:19:19 +02:00
Tom Schuster
254ca6db88 Bug 1081692 - Move TreeColumn to WebIDL. r=khuey
--HG--
rename : layout/xul/tree/nsITreeColumns.idl => dom/webidl/TreeColumn.webidl
2014-10-17 11:13:41 +02:00
Ed Morley
cea5a26d63 Backed out changeset bea8bb703913 (bug 650161) for rooting hazzard failures 2014-09-17 17:34:20 +01:00
Jon Coppeard
c60aa1033f Bug 650161 - Use the object moved hook to update the wrapper cache r=terrence r=bz r=bholley 2014-09-17 15:35:11 +01:00
Bobby Holley
74a1df53db Bug 1060521 - Remove infrastructure for Xrayed NewResolve, GetProperty, and SetProperty on XPCWrappedNatives. r=peterv 2014-09-15 14:13:02 +02:00
Bobby Holley
63e7bb25a9 Bug 1065452 - Re-route exceptions directed at addon globals to their associated DOMWindow. r=bz 2014-09-15 14:12:13 +02:00
Ben Turner
b3c31c0c49 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
Michael Wu
e58cfe332e Bug 1063733 - Optimize DataSourceSurface allocation, r=bas,seth 2014-09-10 17:54:16 -04:00
Tom Schuster
67aaa52c6b Bug 1065574 - Remove UserDataHandler. r=smaug f=bz 2014-09-11 12:22:30 +02:00
Eric Faust
9b8255f0c4 Bug 966518 - Part 0: Make proxy callability into a trap, rather than a class check. (r=bholley, r=djvj, r=peterv) 2014-09-10 15:52:36 -07:00
Kearwood (Kip) Gilbert
96cd6da0ba Bug 1062406 - Part 1 - Change x and y parameters of window.scroll* CSSOM-View DOM calls from double to unrestricted double. r=bz
- WebIDL updated so that x and y parameters of window.scroll, window.scrollTo,
  and window.ScrollBy are changed from "double" to "unrestricted double".
- Implemented mozilla::ToZeroIfNonfinite
- Updated nsGlobalWindow::Scroll, ScrollTo, and ScrollBy methods so that they
  replace non-finite numbers with 0.
2014-09-09 12:02:00 +02:00
Valentin Gosu
c7a5fff644 Bug 936814 - Part 1: Implement the _timing allow check algorithm_ for cross-origin Resource Timing r=bz,honzab 2014-05-15 08:26:07 +03:00
Mats Palmgren
162270b2ba Bug 1061468 - Notify the editor when removing the focused element is its ancestor limiter. r=ehsan 2014-09-09 23:27:56 +00:00
Bobby Holley
16ad956f14 Bug 981198 - Make JS_{Get,Set}ErrorReporter take a JSRuntime. r=terrence,r=bz 2014-09-09 16:02:10 -07:00
Andrea Marchesini
f165a69fbc Bug 1064481 - URLSearchParams should encode % values correcty. r=ehsan 2014-09-08 19:27:00 -04:00
Chris Peterson
b3b77faddd Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Bobby Holley
215542cfa3 Bug 1062077 - Merge NS_ScriptErrorReporter and xpc::SystemErrorReporter. r=bz
We keep the latter name because it's referenced in more places. Error reporters
will go away entirely in bug 981187.
2014-09-08 16:30:11 -07:00
Bobby Holley
57fe8ab40c Bug 1062077 - Report exceptions immediately for non-window globals, and assert that we have a window in ScriptErrorEvent. r=bz
Note that this is a no-op right now, because NS_ScriptErrorReporter currently
relies on nsIScriptContext to get its global, and thus will only ever operate
on window globals. But that will change once we merge this code with that in
xpc::SystemErrorReporter.
2014-09-08 16:30:11 -07:00
Bobby Holley
25ec5c8219 Bug 1062077 - Hoist console logging duties into xpc::ErrorReport. r=bz 2014-09-08 16:30:11 -07:00
Bobby Holley
35d62e8c00 Bug 1062077 - Introduce xpc::ErrorReport. r=bz
I've got it! Let's just wrap the JS thing in an XPCOM thing that duplicates
its fields with a different ownership model! We totally need another one of
those, right? And we could even stick it in XPConnect! </sarcasm>

In seriousness - the code to own, format, and display error reports is
currently spread between the JS engine, JSErrorReporters, an async Runnable
abstraction, and elsewhere. We need to condense it somewhere to start chipping
away at this mess.
2014-09-08 16:30:10 -07:00
Bobby Holley
723e07a699 Bug 1062631 - Remove exception swallowing code in NS_ScriptErrorReporter. r=bz
See bug 1062631 comment 0.
2014-09-08 13:36:22 -07:00
Boris Zbarsky
dae60ad74d Bug 1063521. Remove the WANT_OUTER_OBJECT classinfo flag, since it's now unused. r=bholley 2014-09-08 10:05:11 -04:00
David Zbarsky
a540af5df4 Bug 1042654: Clean up XPIDL events r=bz 2014-09-05 23:33:40 -04:00
David Zbarsky
fbce9dafa6 Bug 1042654: Remove nsISpeechSynthesisGetter r=bz 2014-09-05 23:33:40 -04:00
David Zbarsky
7284419bd9 Bug 1042654: Remove nsIDOMWindowB2G r=bz 2014-09-05 23:33:39 -04:00
David Zbarsky
e0de8c3613 Bug 1042654: Remove nsIDOMWindowPerformance r=bz 2014-09-05 23:33:37 -04:00
David Zbarsky
49425cd89e Bug 1042654: Remove nsIInlineEventHandlers r=bz 2014-09-05 23:32:50 -04:00
David Zbarsky
92ca9fab1a Bug 1042654: Remove nsITouchEventReceiver r=bz 2014-09-05 23:32:49 -04:00
Boris Zbarsky
8f826da8c8 Bug 1017425. Make the "performance" attribute of Window [StoreInSlot]. r=peterv 2014-09-05 22:42:33 -04:00
Benoit Girard
0d4aa8b929 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
Boris Zbarsky
291c91ca15 Bug 1017424 part 7. Remove code to handle XPConnect window wrappers from WindowNamedPropertiesHandler and XPCJSRuntime. r=peterv 2014-09-05 14:28:45 -04:00
Boris Zbarsky
501a1adccf Bug 1017424 part 6. Remove the WindowOnWebIDL function. r=peterv 2014-09-05 14:28:45 -04:00
Boris Zbarsky
34e5d52a93 Bug 1017424 part 5. Remove classinfo for Window. r=peterv 2014-09-05 14:28:45 -04:00
Boris Zbarsky
0c9df8954c Bug 1017424 part 2. Rip out code in nsGlobalWindow that handles the window being on non-WebIDL bindings. r=peterv 2014-09-05 14:28:44 -04:00
Boris Zbarsky
a55fbb463f Bug 1017424 part 1. Remove support for the dom.window_experimental_bindings preference. r=peterv 2014-09-05 14:28:44 -04:00
Ryan VanderMeulen
649988275d Merge m-c to inbound. a=merge 2014-09-05 12:15:01 -04:00
Ryan VanderMeulen
51dbdc7ca1 Merge b2g-inbound to m-c. a=merge 2014-09-05 12:04:44 -04:00