Commit Graph

5564 Commits

Author SHA1 Message Date
Boris Zbarsky
a06ee077f0 Bug 767924 part 2. Introduce both const and non-const versions of GetAs* methods on unions, with the former returning the public-facing type and the latter returning the internal type. r=peterv 2014-06-23 16:03:57 -04:00
Benoit Jacob
ec742680c8 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Peter Van der Beken
bd776f4d97 Bug 1027095 - Convert XPathResult to WebIDL bindings - add WebIDL API and switch. r=bz. 2013-07-04 17:40:06 +02:00
Bob Owen
30816b5c06 Bug 1025476 - Part 1: Add compulsory Init functions to AutoJSAPI. r=bholley 2014-06-19 08:21:14 +01:00
Ed Morley
a310e9ec99 Merge latest green inbound changeset and mozilla-central; a=merge 2014-06-20 17:42:16 +01:00
Ms2ger
3796687d26 Bug 974327 - Cleanup nsJSContext::GetGlobalObject(); r=bholley
The removed code is never reached, as GetWindowProxy() returns a JSObject
with OuterWindowProxyClass as its JSClass, and this will test false for
IsDOMClass and
(~c->flags) & (JSCLASS_HAS_PRIVATE | JSCLASS_PRIVATE_IS_NSISUPPORTS).
2014-06-20 12:32:50 +02:00
Kyle Huey
b1e3198eed Bug 737976: Remove nsINodeInfo. r=smaug
--HG--
rename : content/base/src/nsNodeInfo.cpp => dom/base/NodeInfo.cpp
rename : content/base/public/nsINodeInfo.h => dom/base/NodeInfo.h
rename : content/base/src/nsNodeInfo.h => dom/base/NodeInfoInlines.h
2014-06-19 19:01:40 -07:00
Ed Morley
798f1d2efc Merge mozilla-central and b2g-inbound 2014-06-19 17:20:14 +01:00
Fernando Jiménez
87b8290faf Bug 1006237 - Unify permissions check in nsIDataStore.checkPermission. r=baku, ehsan 2014-06-19 16:03:54 +02:00
Birunthan Mohanathas
bc0233fe47 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Masayuki Nakano
aa9228ddd4 Bug 976673 part.4 Allow nested mouse button event handling for modal dialog r=smaug+enndeakin 2014-06-18 15:13:01 +09:00
Masayuki Nakano
d6f9e801a9 Bug 976673 part.3 Don't synthesize mouse events while another mouse event is being synthesized r=smaug 2014-06-18 15:13:00 +09:00
Masayuki Nakano
cff50b8c01 Bug 976673 part.2 Allow to steal focus by JS at handling mouseup event r=enndeakin 2014-06-18 15:13:00 +09:00
Masayuki Nakano
37b7f48906 Bug 976673 part.1 Add tests r=enndeakin 2014-06-18 15:12:59 +09:00
Nicholas Nethercote
aaf6fb2124 Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
L. David Baron
a13b5c1919 Bug 996798 - Add a typedef to make it easier to change the size of nsWrapperCache/nsINode flags. r=bzbarsky 2014-06-18 17:07:26 -07:00
Antonio M. Amaya
f32ee8177c Bug 1026737 - Implement listener counting on DOMRequestHelper r=fabrice 2014-06-19 19:51:05 -07:00
Andrea Marchesini
9c7515313c Bug 1025741 - Null-check for GetPerfomance in Console API, r=bz 2014-06-17 08:26:23 +01:00
Andrew McCreight
50648bc638 Bug 1019101 - Add a way to get the max CC pause during a given period of time. r=smaug 2014-06-14 16:43:45 -07:00
Olli Pettay
1644f6f5e9 Bug 1025078 - [@nsPerformance::GetDOMTiming()], r=baku 2014-06-13 22:36:25 +03:00
Bob Owen
6d990c090f Bug 1017030 - Part 4: Replace AutoPushJSContext in nsJSContext::InitClasses. r=bholley 2014-06-11 17:31:24 +01:00
Bob Owen
27257aa5f6 Bug 1017030 - Part 3: Replace AutoPushJSContext in PostMessageRunnable::Run. r=bholley 2014-06-11 17:22:00 +01:00
Bob Owen
baba9f5388 Bug 1017030 - Part 2: Replace AutoPushJSContext in ConsoleProfileRunnable::RunConsole. r=bholley 2014-06-11 17:18:20 +01:00
Bob Owen
3719eaf169 Bug 1017030 - Part 1: Replace AutoPushJSContext in ConsoleCallDataRunnable::RunConsole. r=bholley 2014-05-30 10:38:30 +01:00
Jim Blandy
49477722f8 Bug 971673: Replace ScriptSettingsStack's array with a C++-stack-allocated linked list. r=bholley 2014-06-12 23:24:13 -07:00
Bobby Holley
2e76633b8f Bug 990090 - Add a version of AutoJSAPIWithErrorsReportedToWindow that takes an nsIGlobalObject. r=bz 2014-06-12 10:02:33 -07:00
Xidorn Quan
96a68ed4e1 Bug 966166 - Part 1: Parse @counter-style rule. r=dbaron, r=bz 2014-06-11 21:10:00 -04:00
Brian Birtles
77b68a070c Bug 1018862 part 9 - Remove nsIDOMWindowUtils::GetOMTAOrComputedStyle; r=dholbert
Now that getOMTAOrComputedStyle is no longer used by any tests it should be
removed. It is a footgun because it can lead the test author to think they
are testing compositor animations (OMTA) when in fact they are just testing
main thread animations.

This has bitten us before because while we were getting results from the
compositor on some platforms when run locally, on Tinderbox the only build
configurations that had OMTA turned on were falling back to returning the
computed style.
2014-06-12 13:17:48 +09:00
Jan Varga
55b6d367ce Bug 1006485 - Part a: Rename FileHandle to MutableFile and LockedFile to FileHandle; r=bent
--HG--
rename : dom/filehandle/FileHandle.cpp => dom/filehandle/MutableFile.cpp
rename : dom/filehandle/FileHandle.h => dom/filehandle/MutableFile.h
rename : dom/filehandle/test/test_lockedfile_lifetimes.html => dom/filehandle/test/test_filehandle_lifetimes.html
rename : dom/filehandle/test/test_lockedfile_lifetimes_nested.html => dom/filehandle/test/test_filehandle_lifetimes_nested.html
rename : dom/filehandle/test/test_lockedfile_ordering.html => dom/filehandle/test/test_filehandle_ordering.html
rename : dom/filehandle/test/test_overlapping_lockedfiles.html => dom/filehandle/test/test_overlapping_filehandles.html
rename : dom/filehandle/test/test_readonly_lockedfiles.html => dom/filehandle/test/test_readonly_filehandles.html
rename : dom/indexedDB/IDBFileHandle.cpp => dom/indexedDB/IDBMutableFile.cpp
rename : dom/indexedDB/IDBFileHandle.h => dom/indexedDB/IDBMutableFile.h
rename : dom/webidl/IDBFileHandle.webidl => dom/webidl/IDBMutableFile.webidl
rename : dom/webidl/FileHandle.webidl => dom/webidl/MutableFile.webidl
2014-06-12 05:35:29 +02:00
Boris Zbarsky
dfe8c38082 Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Boris Zbarsky
bc1e511e33 Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Olli Pettay
0040a9cd76 Bug 1023280 - Rename dictionary.ToObject to ToObjectInternal, r=bz 2014-06-11 22:38:55 +03:00
Gijs Kruitbosch
c30e9aef10 Bug 1022003 - remove ObjectWrapper.jsm, r=bholley,gwagner
--HG--
extra : rebase_source : cdafaf22aaddbb04519a9bc1099b6a10f7b6c886
2014-06-10 16:15:42 +01:00
"Kan-Ru Chen (陳侃如)"
5f49dee2c3 Bug 879475 - Part 001. Add an nsIContentParent api r=jlebar
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:03 +08:00
Bobby Holley
699946fc90 Bug 1022016 - Redesign nsDependentJSString API to be less of a footgun. r=gabor 2014-06-10 20:15:56 -07:00
Boris Zbarsky
3285b34804 Bug 1019417. When enumerating the window, make sure to not enumerate frame names that we wouldn't actually expose. r=bholley 2014-06-10 22:50:21 -04:00
Andrea Marchesini
d1365e73a4 Bug 1020041 - host limit in nsStandardURL, r=jduell, r=valentin
--HG--
rename : dom/base/test/test_url_empty_port.html => dom/base/test/test_url_malformedHost.html
2014-06-10 12:53:54 +01:00
Ryan VanderMeulen
028ca01a20 Merge inbound to m-c. a=merge 2014-06-10 00:45:12 -04:00
Catalin Badea
288f769975 Bug 1019761 - Fix null dialogArugments deref. r=bz, r=johns 2014-06-06 15:43:00 -04:00
Andrea Marchesini
2befea780d Bug 1018682 - URL API - SetProtocol should serialize and reparse the URL, r=bz 2014-06-09 17:20:19 +01:00
Peter Van der Beken
678d3c183c Bug 1018085 - "ASSERTION: Inner window supports nsWrapperCache, fix WrapObject!". r=bz
--HG--
extra : rebase_source : f988ef0d99419ac66064a03beaa51f4d2215f146
2014-06-06 14:54:35 +02:00
Ryan VanderMeulen
875db4dc4a Merge m-c to b2g-inbound. a=merge 2014-06-07 14:16:54 -04:00
Fernando Jiménez
9b33d80899 Bug 988469 - MSISDN verification API for privileged apps. Part 1: DOM API. r=sicking 2014-06-07 19:30:18 +02:00
Mounir Lamouri
91664081b3 Bug 1014581 - Follow-up, fix typo. r=me 2014-06-07 13:40:20 +01:00
Mike Conley
8697a1814f Bug 1021466 - Part 2: Make it possible to pass in an nsITabParent when opening windows, and then stash that nsITabParent in the newly created chrome docshell. r=smaug. 2014-06-05 22:51:14 -04:00
Ms2ger
249b9ad9e9 Bug 1017764 - Remove SCRIPTVERSION_DEFAULT; r=jst
This define has outlived its usefulness, as we have moved away from a
language-agnostic DOM.
2014-06-06 10:06:26 +02:00
Ms2ger
76d7abad65 Bug 1017752 - Remove nsDOMClassInfo::GetArrayIndexFromId; r=jst 2014-06-06 10:06:26 +02:00
Ms2ger
6558df9772 Bug 1018103 - Remove support for the "JavaScript-global-static-nameset" category; r=bholley
The only in-tree consumer was removed in bug 1012320; the addons MXR and a web
search suggest that it is unused outside the tree as well.
2014-06-06 10:06:26 +02:00
Ryan VanderMeulen
e05549d430 Backed out changeset 2eb0ae4b9e79 (bug 1019761) for test_dialogArguments.html when run in e10s mode.
CLOSED TREE
2014-06-05 15:02:52 -04:00
Catalin Badea
b50d407147 Bug 1019761 - Fix null dialogArguments deref. r=bz 2014-06-03 14:01:00 -04:00