Commit Graph

5848 Commits

Author SHA1 Message Date
Ms2ger
d8c0b17d7d Bug 1043963 - Collapse test-only moz.build files under dom/ into ancestor moz.build files; r=ted
There is very little benefit to having another layer of moz.build files, and
removing them will speed up the build a minimal amount. It also paves the way
for removing TEST_DIRS, which could simplify the build system somewhat.
2014-07-26 08:17:24 +02:00
Boris Zbarsky
fa2d6b3f15 Bug 1041646. Don't assume mStack is non-null in JSStackFrame, since people sometimes operate on them after unlinking. r=khuey 2014-07-26 01:41:18 -04:00
Boris Zbarsky
8af69d9ae9 Bug 1031945. Don't expose showModalDialog on Window if it's preffed off. r=smaug 2014-07-26 01:41:10 -04:00
Matt Woodrow
6f956abe14 Bug 1031107 - Part 7: Don't set ignore scroll frame without APZ. r=tn 2014-07-24 15:14:02 +12:00
Alexandre Poirot
7ea4dd517f Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Andrea Marchesini
3d909148b5 Bug 660237 - implement nsIDOMStorage with a proxy, r=bzbarsky, r=mayhemer 2014-07-23 01:07:12 -04:00
Jonathan Griffin
1c5d8636ac Backed out changeset 64586374a208 on a CLOSED TREE 2014-07-22 18:29:57 -07:00
Alexandre Poirot
98afd25e0d Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Jonathan Griffin
38f79ff899 Backout 4f6d9db92389 for bustage on a CLOSED TREE 2014-07-22 17:55:50 -07:00
Mike Hommey
bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Alexandre Poirot
37506aa45c Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal 2014-07-02 15:40:56 -07:00
Trevor Saunders
dfb8d4ea04 bug 1036694 - merge nsIMarkupDocumentViewer into nsIContentViewer r=smaug 2014-07-09 17:27:49 -04:00
Bob Owen
abc64bfaad Bug 1037564 Part 4: Replace nsCxPusher in nsJSContext::SetProperty. r=bholley 2014-07-18 12:58:10 +01:00
Bob Owen
7cea4e4d14 Bug 1037564 Part 2: Replace AutoPushJSContexts et al. in nsXBLPrototypeHandler. r=bholley 2014-07-18 12:52:32 +01:00
Richard Barnes
e10fdbd715 Bug 1025230 - Allow import/export of JWK-formatted keys in WebCrypto r=bz,keeler 2014-07-19 08:25:00 -05:00
Richard Barnes
58860abf23 Bug 1034851 - Add wrapKey and unwrapKey methods to WebCrypto API r=bz 2014-07-19 08:24:00 -05:00
Neil Rashbrook
5aea9a701a Bug 1041140 Fix design flaws in FakeString r=bz 2014-07-19 14:23:19 +01:00
Boris Zbarsky
92fb7dde3a Bug 1040263. Eagerly create and preserve Promise reflectors so we always have them available during unlink. r=nsm,bholley. 2014-07-18 21:31:11 -04:00
Steve Fink
0e87a94e07 Bug 1035395, r=bholley,smaug
--HG--
extra : rebase_source : 478200a62a5073177ae3c782e252fa9a804e5b01
2014-07-18 09:37:42 -07:00
Roshan Vidyashankar
1e6a327d21 Bug 906404 - B2G RIL: move MozVoicemailStatus to WebIDL. r=vicamo,smaug
--HG--
rename : dom/voicemail/nsIDOMMozVoicemailStatus.idl => dom/webidl/MozVoicemailStatus.webidl
2014-07-17 13:47:41 -07:00
Jan Varga
8f28eb1deb Bug 1029209 - Extract IndexedDB FileHandle from core FileHandle implementation (WebIDL changes: merge MutableFile into IDBMutableFile, rename FileHandle to IDBFileHandle, DOMFileMetadataParameters to IDBFileMetadataParameters and FileRequest to IDBFileRequest); r=bent
--HG--
rename : dom/filehandle/File.cpp => dom/indexedDB/FileSnapshot.cpp
rename : dom/filehandle/File.h => dom/indexedDB/FileSnapshot.h
rename : dom/filehandle/test/dummy_worker.js => dom/indexedDB/test/dummy_worker.js
rename : dom/filehandle/test/test_append_read_data.html => dom/indexedDB/test/test_filehandle_append_read_data.html
rename : dom/filehandle/test/test_compat.html => dom/indexedDB/test/test_filehandle_compat.html
rename : dom/filehandle/test/test_getFile.html => dom/indexedDB/test/test_filehandle_getFile.html
rename : dom/filehandle/test/test_filehandle_lifetimes.html => dom/indexedDB/test/test_filehandle_lifetimes.html
rename : dom/filehandle/test/test_filehandle_lifetimes_nested.html => dom/indexedDB/test/test_filehandle_lifetimes_nested.html
rename : dom/filehandle/test/test_location.html => dom/indexedDB/test/test_filehandle_location.html
rename : dom/filehandle/test/test_filehandle_ordering.html => dom/indexedDB/test/test_filehandle_ordering.html
rename : dom/filehandle/test/test_overlapping_filehandles.html => dom/indexedDB/test/test_filehandle_overlapping.html
rename : dom/filehandle/test/test_progress_events.html => dom/indexedDB/test/test_filehandle_progress_events.html
rename : dom/filehandle/test/test_readonly_filehandles.html => dom/indexedDB/test/test_filehandle_readonly_exceptions.html
rename : dom/filehandle/test/test_request_readyState.html => dom/indexedDB/test/test_filehandle_request_readyState.html
rename : dom/filehandle/test/test_stream_tracking.html => dom/indexedDB/test/test_filehandle_stream_tracking.html
rename : dom/filehandle/test/test_success_events_after_abort.html => dom/indexedDB/test/test_filehandle_success_events_after_abort.html
rename : dom/filehandle/test/test_truncate.html => dom/indexedDB/test/test_filehandle_truncate.html
rename : dom/filehandle/test/test_workers.html => dom/indexedDB/test/test_filehandle_workers.html
rename : dom/filehandle/test/test_write_read_data.html => dom/indexedDB/test/test_filehandle_write_read_data.html
rename : dom/filehandle/test/test_getFileId.html => dom/indexedDB/test/test_getFileId.html
rename : dom/webidl/FileHandle.webidl => dom/webidl/IDBFileHandle.webidl
rename : dom/webidl/FileRequest.webidl => dom/webidl/IDBFileRequest.webidl
2014-07-17 12:40:54 -04:00
Nicholas Nethercote
5227147d52 Bug 1039887 - Avoid unnecessary deletes in DOMRequestHelper.jsm. r=fabrice.
They're unnecessary because the entire object is later nulled out.

This in turn avoids creating 3,108 shapes when starting up B2G, which is about
73 KiB's worth.
2014-07-16 22:48:53 -07:00
Wes Kocher
b32d84dcad Merge inbound to m-c a=merge 2014-07-16 17:08:26 -07:00
Carsten "Tomcat" Book
f12994cfa8 Merge mozilla-central to fx-team 2014-07-16 16:01:26 +02:00
Carsten "Tomcat" Book
3cbe4d1874 merge mozilla-inbound to mozilla-central a=merge 2014-07-16 15:43:24 +02:00
Reuben Morais
bb157707dd Bug 1009645 - Address additional comments. r=bz
--HG--
extra : rebase_source : c6befdd143ad15751182af10f80b03c2f23eea4d
2014-07-15 16:15:28 -03:00
Carsten "Tomcat" Book
9e12e43c73 Merge mozilla-central to b2g-inbound 2014-07-15 16:21:19 +02:00
Carsten "Tomcat" Book
4b4bf0951c merge mozilla-inbound to mozilla-central a=merge 2014-07-15 14:58:57 +02:00
Reuben Morais
cf6ba58a7c Bug 1009645 - Follow up, remove debug code. 2014-07-14 20:11:02 -03:00
Reuben Morais
90781169de Bug 1009645 - Implement [FeatureDetectible] extended attribute and hook it up to navigator.getFeature. r=bz 2014-07-14 20:08:45 -03:00
Wes Kocher
c198e90652 Merge m-c to inbound 2014-07-15 17:39:19 -07:00
Henry Chang
21482a5e3c Bug 1035074 - Fix DOMRequestHelper::destroyDOMRequestHelper logic error. r=gene, fabrice, ferjm. 2014-07-11 15:22:18 +08:00
Benoit Girard
1465e09a99 Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
Carsten "Tomcat" Book
ffa15a8785 Merge mozilla-central to mozilla-inbound 2014-07-16 15:58:57 +02:00
Jon Morton
50c79ea483 Bug 1034380 - Prevent MessagePort transferable callback from returning true upon failure. r=bz 2014-07-08 11:52:00 +02:00
Jon Coppeard
8b4f6eb2b3 Bug 1017141 - Add prefs for setting min/max empty chunk counts r=bent 2014-07-16 10:01:20 +01:00
Tim Taubert
e1c66ad2e2 Bug 1028187 - Enable IndexedDB for about:looppanel and about:loopconversation, sharing an origin r=bz 2014-07-03 17:16:08 -07:00
Boris Zbarsky
87884f3b8f Bug 857648 part 5. Expose a .stack property on DOMExceptions. r=khuey 2014-07-04 01:25:16 -04:00
Jan de Mooij
2a7ce8f885 Bug 1034689 part 2 - Add AssignJSFlatString and use it. r=bz,terrence 2014-07-12 09:43:06 +02:00
Jan de Mooij
d26a13e060 Bug 1037869 - Fix remaining Latin1 string issues. r=terrence
--HG--
extra : rebase_source : b6fc9024f1a6c7eb9169b6c8c906916b4b1c197e
2014-07-14 22:19:36 +02:00
Birunthan Mohanathas
ad03973670 Bug 1037269 - Use CheckPermissions instead of Func on more interfaces. r=smaug 2014-07-10 16:20:49 -07:00
Boris Zbarsky
618671a12c Bug 832014 part 8. Switch Location to WebIDL bindings. r=peterv,bholley 2014-07-11 19:32:46 -04:00
Boris Zbarsky
8b6f6f643e Bug 832014 part 5. Add WebIDL API to nsLocation. r=peterv,bholley 2014-07-11 19:31:46 -04:00
Boris Zbarsky
ac6441fa54 Bug 832014 part 4. Make the URLUtils APIs able to throw, since Location needs to be able to do that so far. r=peterv 2014-07-11 19:30:27 -04:00
Boris Zbarsky
ef4d83b2a3 Bug 832014 part 3. Start using nsLocation for the Location interface in bindings. r=peterv 2014-07-11 19:30:27 -04:00
Shashank Sabniveesu
7b2e2048f8 Bug 1034910 - Make the dtor of nsJSArgArray protected. r=smaug 2014-07-11 13:19:00 -04:00
Bobby Holley
d204a01c8f Bug 940316 - Move werror to RuntimeOptions. r=jandem 2014-07-11 08:30:47 -07:00
Bill McCloskey
055511bb01 Bug 921299 - Don't consider all keypresses to be synthetic events on b2g (r=smaug) 2014-07-10 16:46:28 -07:00
Olli Pettay
cff7d32b26 Bug 1031226 - [vibration] navigator.vibrate([]) fails to cancel a pre-existing instance of the processing vibration patterns algorithm, r=mounir
--HG--
extra : rebase_source : a4a5d894ce010ebf6ac9d97b03b05986e0a42dd6
2014-07-10 17:31:36 +03:00
Lebedev Maksim
96ed918f85 Bug 976963 - Resolve issues with tests on B2G system. r=smaug 2014-07-09 01:03:00 -04:00
Carsten "Tomcat" Book
ae855b78b7 merge mozilla-inbound to mozilla-central a=merge 2014-07-10 14:47:01 +02:00
Fabrice Desré
a177fba748 Bug 900241 - Create an API for detecting manifest field/value support r=ehsan 2014-07-09 14:05:29 -07:00
Wes Kocher
63796c8a36 Backed out changeset 93203c822307 (bug 900241) for mochitest failures 2014-07-09 15:17:09 -07:00
Fabrice Desré
022733af7c Bug 900241 - Create an API for detecting manifest field/value support r=ehsan 2014-07-09 14:05:29 -07:00
Wes Kocher
7a8c61014e Merge m-c to inbound 2014-07-08 20:04:41 -07:00
Blake Kaplan
6ffddd5be5 Bug 1001957 - Don't use a CPOW for reload. r=felipe/mccr8/smaug
Original patch from billm.
2014-07-08 18:27:59 -07:00
Wes Kocher
9c0934dee0 Backed out changeset 76a96d6f0330 (bug 1001957) for mochitest-2 bustage on a CLOSED TREE 2014-07-08 17:55:35 -07:00
Fabrice Desré
81b398a87e Bug 1024513 - JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "targetElement is null" r=smaug
* * *
Bug 1024513 - followup to get ASAN builds r=me
2014-07-07 21:45:23 -07:00
Ed Morley
8ee300da67 Backed out changeset a2f2a28e0856 (bug 1024513) for build failures 2014-07-08 16:03:04 +01:00
Fabrice Desré
ea0b9577b3 Bug 1024513 - JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "targetElement is null" r=smaug 2014-07-07 21:45:23 -07:00
Blake Kaplan
f02eb2e402 Bug 1001957 - Don't use a CPOW for reload. r=felipe/mccr8/smaug
Original patch from billm.
2014-07-08 16:19:10 -07:00
Benoit Jacob
18c3e0073a Bug 1035394 - Fix dangerous public destructors in dom - r=ehsan 2014-07-08 17:23:17 -04:00
Fabrice Desré
5bed77b60d backout a6ae40c60e77 for build failures 2014-07-07 22:21:51 -07:00
Fabrice Desré
4b31a8b821 Bug 1024513 - JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "targetElement is null" r=smaug 2014-07-07 21:45:23 -07:00
Andrew Comminos
549f1eb82f Bug 958868 - Add support for delta line and page accumulation; r=masayuki, sr=smaug 2014-07-07 18:54:14 +09:00
Jan de Mooij
44da586636 Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz 2014-07-05 17:30:54 +02:00
Tim Taubert
3f882a20a0 Bug 1026314 - Rename Key to CryptoKey in WebCrypto r=rbarnes,bz
From 9beed249a4d08ccc945bc573a0c71d295cb1b222 Mon Sep 17 00:00:00 2001

--HG--
rename : dom/crypto/Key.cpp => dom/crypto/CryptoKey.cpp
rename : dom/crypto/Key.h => dom/crypto/CryptoKey.h
rename : dom/crypto/KeyPair.cpp => dom/crypto/CryptoKeyPair.cpp
rename : dom/crypto/KeyPair.h => dom/crypto/CryptoKeyPair.h
2014-06-23 23:25:13 +02:00
Brian Hackett
00d8fa7118 Bug 1021790 - "Cleanup naming for scalar and typed array types", r=sfink 2014-06-06 09:36:00 -07:00
Blake Kaplan
34b6eed81c Bug 1001957 - Fix some review comments I missed in my previous checkin. r=mccr8 2014-07-09 16:30:55 -07:00
Tom Schuster
36fe8c8dc6 Bug 1024707 - Add API to register style sheets but without loading them. r=bz 2014-07-09 11:43:33 +02:00
Ed Morley
1148a891c7 Backed out changeset 38831e922852 (bug 1026314) for test_interfaces.html failures
--HG--
rename : dom/crypto/CryptoKey.cpp => dom/crypto/Key.cpp
rename : dom/crypto/CryptoKey.h => dom/crypto/Key.h
rename : dom/crypto/CryptoKeyPair.cpp => dom/crypto/KeyPair.cpp
rename : dom/crypto/CryptoKeyPair.h => dom/crypto/KeyPair.h
2014-07-04 16:17:51 +01:00
Tim Taubert
02d0c6d693 Bug 1026314 - Rename Key to CryptoKey in WebCrypto r=rbarnes,bz
--HG--
rename : dom/crypto/Key.cpp => dom/crypto/CryptoKey.cpp
rename : dom/crypto/Key.h => dom/crypto/CryptoKey.h
rename : dom/crypto/KeyPair.cpp => dom/crypto/CryptoKeyPair.cpp
rename : dom/crypto/KeyPair.h => dom/crypto/CryptoKeyPair.h
2014-06-23 23:25:13 +02:00
Carsten "Tomcat" Book
e31951a5dd Backed out changeset 6a56c14d382f (bug 1024707) for dt1 and xpshell test bustages on a CLOSED TREE 2014-07-09 13:19:33 +02:00
Tom Schuster
ca7aaa4737 Bug 1024707 - Add API to register style sheets but without loading them. r=bz 2014-07-09 11:43:33 +02:00
Boris Zbarsky
7f29c9d8f8 Bug 1018583 part 1. Remove the execute-in-sandbox mode for javascript: URIs, and use the don't-execute mode wherever we used the sandbox one. r=bholley,dao 2014-07-04 01:21:57 -04:00
Carsten "Tomcat" Book
c878b8297f Backed out changeset d9f9398b90dc (bug 1018583) for bustage on a CLOSED TREE 2014-07-04 08:24:09 +02:00
Carsten "Tomcat" Book
e8584376bc Backed out changeset a4524d7aec4f (bug 857648) 2014-07-04 08:23:31 +02:00
Boris Zbarsky
a9ffede915 Bug 857648 part 5. Expose a .stack property on DOMExceptions. r=khuey 2014-07-04 01:25:16 -04:00
Boris Zbarsky
5bdf9cc54a Bug 1018583 part 1. Remove the execute-in-sandbox mode for javascript: URIs, and use the don't-execute mode wherever we used the sandbox one. r=bholley,dao 2014-07-04 01:21:57 -04:00
Ryan VanderMeulen
ada432ee52 Backed out changeset 9cb84e8bbb30 (bug 1032415) for frequent Windows XP debug mochitest-other asserts.
CLOSED TREE
2014-07-03 20:53:31 -04:00
Kyle Huey
2442d1d21b Bug 1032415: Mark nsGlobalWindow::GetContextForEventHandlers as inner only. r=smaug 2014-07-03 15:19:03 -07:00
Bobby Holley
71f1a77169 Bug 1032317 - Make CompartmentPrivate and XPCWrappedNativeScope accessors infallible. r=gabor 2014-07-03 09:40:52 -07:00
Wes Kocher
e62864656c Backed out 2 changesets (bug 1028187) for mochitest-oth orange
Backed out changeset 01cba8ff52dd (bug 1028187)
Backed out changeset caf43baf3306 (bug 1028187)
2014-07-02 17:29:33 -07:00
Tim Taubert
2818af017f Bug 1028187 - Enable IndexedDB for about:looppanel and about:loopconversation, sharing an origin r=bz 2014-06-28 11:56:06 +02:00
Boris Zbarsky
799cac3554 Bug 1033157. Move the setup of the JSRuntime DOM callbacks into the CycleCollectedJSRuntime constructor, so we don't have to separatedly do it for workers, windows, and xpcshell. r=khuey 2014-07-02 15:16:42 -04:00
Bobby Holley
e42956e399 Bug 1031988 - Grab the principal from the object rather than the window when resolving the controller shim. r=bz 2014-07-02 10:13:14 -07:00
Steve Fink
cc506319cc Bug 1022773 - Fix AutoJSAPI initialization rooting by annotating nsIScriptContext.GetWindowProxy and (temporarily) runtime-rooting, r=bholley 2014-07-01 09:02:10 -07:00
Steve Fink
3cdc378cd8 Bug 1022773 - Return value rooting for dom/, r=bz
--HG--
extra : rebase_source : 24732cd3aff732c5c3d3eb8e19ee8a95f588ebd7
2014-06-25 15:35:36 -07:00
Steve Fink
e0b7644d4e Bug 1022773 - Switch all JS Compile functions to use MutableHandle, r=terrence
--HG--
extra : rebase_source : e7542a31e4818e6beafd2b1dab096606370534bb
2014-06-25 15:35:35 -07:00
Kyle Huey
ec42ebafa9 Bug 1032340: Make Has/SetMutationListeners available on the inner window only. r=smaug 2014-06-30 16:02:04 -07:00
Kyle Huey
4266528680 Bug 1031051: Part 18 - Kill the old XPIDL-based event generator. r=smaug 2014-06-30 16:02:04 -07:00
Kyle Huey
21d8fc32e7 Bug 1031051: Part 17 - Manually implement CustomEvent. r=smaug
CustomEvent can't be generated because we still need the XPCOM interface which is used by a11y among others.
2014-06-30 16:02:04 -07:00
Kyle Huey
2d64bf6efa Bug 1031051: Part 6 - Migrate PopStateEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:02 -07:00
Kyle Huey
a1d1526ae4 Bug 1031051: Part 5 - Migrate PopupBlockedEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:01 -07:00
Kyle Huey
f4f09309a4 Bug 1031051: Part 2 - Migrate HashChangeEvent to the WebIDL code generator. r=smaug 2014-06-30 16:00:31 -07:00
Jon Morton
87e5ec13e3 Bug 1032417: Move nsPluginElement's destructor to the implementation file. r=khuey 2014-06-30 16:00:30 -07:00
Eric Faust
04ec29520a Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz) 2014-06-27 04:44:06 -07:00
Eric Faust
992c8dde5a Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley, r=bz over IRC) 2014-06-27 04:44:04 -07:00
Eric Faust
d6d3b525f2 Bug 1027402 - Part 1: Remove set* from BaseProxyHandler. (r=bholley) 2014-06-27 04:44:02 -07:00
Birunthan Mohanathas
b9093cb236 Bug 1032377 - Add missing #include to nsPluginArray.h; r=ehsan 2014-06-30 15:36:24 -04:00
Ms2ger
2e3f5e7be4 Bug 968804 - Part u: Add outer window assertions to OpenInternal; r=khuey 2014-06-29 17:36:03 +02:00
Ms2ger
6623cab112 Bug 968804 - Part t: Add outer window assertions to OpenNoNavigate; r=khuey 2014-06-29 17:36:03 +02:00
Ms2ger
65a727d2f1 Bug 968804 - Part s: Add inner window assertions to CloneStorageEvent; r=khuey 2014-06-29 17:36:03 +02:00
Ms2ger
835b2c23f9 Bug 968804 - Part r: Point out the outer window assertion in SetArguments in the documentation; r=khuey 2014-06-29 17:36:02 +02:00
Ms2ger
91b523c2d5 Bug 968804 - Part q: Add inner window assertions to the gamepad methods; r=khuey 2014-06-29 17:36:02 +02:00
Ms2ger
a4e50b6951 Bug 968804 - Part p: Add outer window assertions to SetFullScreenInternal; r=khuey 2014-06-29 17:36:02 +02:00
Ms2ger
1aae0e2640 Bug 968804 - Part o: Add inner window assertions to RefreshCompartmentPrincipal; r=khuey 2014-06-29 17:36:01 +02:00
Ms2ger
8cacf106f9 Bug 968804 - Part n: Split nsGlobalWindow::GetFullScreen into a forwarding and an asserting part; r=khuey 2014-06-29 17:35:56 +02:00
Ms2ger
bd952bff39 Bug 968804 - Part m: Add outer window assertions to DispatchCustomEvent; r=khuey 2014-06-29 17:31:13 +02:00
Ms2ger
835be66476 Bug 968804 - Part l: Add outer window assertions to DispatchResizeEvent; r=khuey 2014-06-29 17:31:12 +02:00
Ms2ger
e1edc26347 Bug 968804 - Part k: Add outer window assertions to GetScrollXY; r=khuey 2014-06-29 17:31:12 +02:00
Ms2ger
3917460c93 Bug 968804 - Part j: Add inner window assertions to CreatePerformanceObjectIfNeeded; r=khuey 2014-06-29 17:31:12 +02:00
Ms2ger
599d77f7bb Bug 968804 - Part i: Add inner window assertions to AudioContext methods; r=khuey 2014-06-29 17:31:11 +02:00
Ms2ger
59b3065756 Bug 968804 - Part h: Add inner window assertions to DefineArgumentsProperty; r=khuey 2014-06-29 17:31:09 +02:00
Peter Van der Beken
efa5f7d65a Bug 1029104 - Convert XPathExpression to WebIDL bindings, add WebIDL API and switch to the WebIDL binding. r=bz.
--HG--
extra : rebase_source : 2b3459ddf41e258469c31e0e7c4d515ef7a7c83f
2014-06-27 21:39:50 +02:00
Peter Van der Beken
b859e5a055 Backout patches for bug 1029104 for bustage on a CLOSED TREE.
--HG--
rename : dom/xslt/xpath/XPathExpression.cpp => dom/xslt/xpath/nsXPathExpression.cpp
rename : dom/xslt/xpath/XPathExpression.h => dom/xslt/xpath/nsXPathExpression.h
extra : rebase_source : 4cd96320fa102351284cca55b66d3a54592e5212
2014-06-27 23:07:44 +02:00
Peter Van der Beken
ff0e975b03 Bug 1029104 - Convert XPathExpression to WebIDL bindings, add WebIDL API and switch to the WebIDL binding. r=bz.
--HG--
extra : rebase_source : f5c7a235a9a880f829ff39ccbb92508cbaad31a5
2014-06-27 21:39:50 +02:00
Jim Blandy
e07aaa8185 Bug 800200: Remove references to JSD from outside js/jsd. r=mccr8,bholley,ted,smaug 2014-06-27 11:05:08 -07:00
Carsten "Tomcat" Book
2f01b9ad61 merge mozilla-inbound to mozilla-central a=merge 2014-06-27 15:34:28 +02:00
Makoto Kato
bb7664bd5c Bug 1029981 - Observers should use MOZ_UTF16 to compare someData. r=nfroyd 2014-06-27 17:08:13 +09:00
Fernando Jiménez
f21c13baac Bug 1022193 - Add a "forceIdSelection" to navigator.getMobileIdAssertion. Part 2: DOM. r=sicking 2014-06-27 01:18:21 +02:00
Fernando Jiménez
d43c9a421f Bug 1023266 - Make the Mobile ID API privileged. Part 1: Add mobileid permission. r=smaug, ehsan 2014-06-27 01:18:19 +02:00
Andrea Marchesini
6ec27357af Bug 876683 - DOMFile/DOMBlob refactoring, r=ehsan, r=bent 2014-06-26 09:47:44 -07:00
Andrea Marchesini
2584466941 Bug 1030844 - Get rid of nsIDOMWindowUtils.getFile/getBlob, r=janv 2014-06-26 23:05:25 -07:00
Nigel Babu
b69b3e65ed Backed out changeset eb09a51edc57 (bug 1030844) for mochitest failures 2014-06-27 11:23:13 +05:30
Andrea Marchesini
91d62d5a6c Bug 1030844 - Get rid of nsIDOMWindowUtils.getFile/getBlob, r=janv 2014-06-26 22:11:54 -07:00
Andrea Marchesini
6197f631af Bug 827823 - patch 1 - CC in DOMFile class, r=ehsan 2014-06-26 20:46:34 -07:00
Carsten "Tomcat" Book
d9163b2931 Merge mozilla-central to mozilla-inbound 2014-06-25 15:42:28 +02:00
Vicamo Yang
27d8b0dafc Bug 958782 - 2.b/3: WebIDL implementation. f=Ms2ger,bzbarsky,r=khuey 2014-06-25 11:57:16 +08:00
Olli Pettay
67c5293976 Bug 1029866 - Rename InitUsingWin(...) to Init(...), r=bobowencode
--HG--
extra : rebase_source : e04aac99fe64270f283cf49ed52b8f7512a2fa3b
2014-06-25 13:17:17 +03:00
Carsten "Tomcat" Book
7cc40ece67 Backed out changeset 8499eefa342e (bug 958868) for m2 test failures on a CLOSED TREE 2014-06-24 12:49:47 +02:00
Andrew Comminos
25358a7059 Bug 958868 - Add support for delta line and page accumulation; r=masayuki, sr=smaug 2014-06-24 18:02:11 +09:00
Brian Birtles
6bc9caf270 Bug 1010067 part 2 - Rename nsStyleAnimation.{h,cpp} to StyleAnimationValue.{h,cpp}; r=dbaron
--HG--
rename : layout/style/nsStyleAnimation.cpp => layout/style/StyleAnimationValue.cpp
rename : layout/style/nsStyleAnimation.h => layout/style/StyleAnimationValue.h
2014-06-24 15:29:54 +09:00
Brian Birtles
65c7f861cb Bug 1010067 part 1 - Rename nsStyleAnimation::Value to mozilla::StyleAnimationValue; r=dbaron
This patch also moves the static methods defined on nsStyleAnimation so that
they are part of StyleAnimationValue class.

Renaming nsStyleAnimation.h to StyleAnimationValue.h is performed in a separate
patch to simplify the diff (since some tools may not handle file renames
elegantly).
2014-06-24 15:29:54 +09:00
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
Andrea Marchesini
f003b05320 Bug 984990 - Enable MessageChannel for chrome and resource:// callers, r=bz 2014-06-05 00:58:00 +02:00
Vivien Nicolas
bc803a18da Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley 2014-06-04 20:11:05 +02:00
Daniel Holbert
3737ca9d91 Bug 864005: Remove mentions of & checks for 'layout.css.supports-rule.enabled' pref. r=heycam r=khuey 2014-06-04 21:07:07 -07:00
Boris Zbarsky
2ad17a72df Bug 1019163. Hold a weak ref to the principal in AutoEntryScript, to reduce call overhead. r=bholley 2014-06-04 22:48:06 -04:00
Boris Zbarsky
a0760577c7 Bug 1016560. Remove the footgun of rejecting promises with arbitrary objects. r=khuey 2014-06-03 11:38:38 -04:00
Ryan VanderMeulen
3d3ce28f0f Backed out 5 changesets (bug 1015871, bug 1020257, bug 1015887, bug 1005888, bug 1015894) for desktop B2G mochitest failures on a CLOSED TREE.
Backed out changeset dbcb9974b640 (bug 1020257)
Backed out changeset 3220b7b2efc9 (bug 1015894)
Backed out changeset 4e23647ae247 (bug 1015887)
Backed out changeset 59df0cdacc15 (bug 1015871)
Backed out changeset e7124b07804b (bug 1005888)
2014-06-04 16:07:06 -04:00
Vivien Nicolas
34a46b6121 Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley 2014-06-04 20:11:05 +02:00
Nathan Froyd
031a6bc8f6 Bug 1019162 - fix a -Wmaybe-uninitialized build warning in nsDOMWindowUtils.cpp; r=smaug 2014-06-02 15:05:53 -04:00
Ryan VanderMeulen
24cbfd735d Backed out changesets 6d1c36585219 and bd403a727849 (bug 1016560) for mochitest-other failures.
CLOSED TREE
2014-06-03 13:48:49 -04:00
Boris Zbarsky
0a69a27027 Bug 1016560. Remove the footgun of rejecting promises with arbitrary objects. r=khuey 2014-06-03 11:38:38 -04:00
Boris Zbarsky
da05bf53a8 Bug 989584. Allow sites to set window.opener to any value. r=peterv 2014-06-03 11:38:37 -04:00
Andrea Marchesini
095068b4df Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv 2014-06-03 15:36:46 +01:00
Phoebe Chang
4286f5c0d3 Bug 924692 - Part 4: Hooks up event handling to TouchCaret; r=roc, bugs 2014-06-03 15:08:54 +08:00
Ryan VanderMeulen
2190bd2057 Merge mozilla-inbound to m-c. 2014-06-02 17:20:08 -04:00
Steve Fink
5a86ec4061 Bug 1017419 - Handlify nsTArrayToJSArray, r=terrence
--HG--
extra : rebase_source : 802407d2c25fe060e16b546890859720664158ae
2014-06-02 09:40:13 -07:00
Ehsan Akhgari
4b8e9c1f5c Backed out 3 changesets (bug 957086) for causing bug 1018406
Backed out changeset f8b6dab2f985 (bug 957086)
Backed out changeset b69bcaa24ab5 (bug 957086)
Backed out changeset 3b45335d4694 (bug 957086)

--HG--
rename : dom/datastore/DataStoreImpl.js => dom/datastore/DataStoreImpl.jsm
2014-06-02 10:19:19 -04:00