Commit Graph

8580 Commits

Author SHA1 Message Date
Arnaud Sourioux
d98859187f Bug 1038570 - Part 2: rename ObjectFrame class to PluginFrame. r=dbaron 2014-09-24 06:34:00 +02:00
Arnaud Sourioux
308aad49f2 Bug 1038570 - Part 1: rename nsObjectFrame.* to nsPluginFrame.*, changes moz.build and includes. r=dbaron
--HG--
rename : layout/generic/nsObjectFrame.cpp => layout/generic/nsPluginFrame.cpp
rename : layout/generic/nsObjectFrame.h => layout/generic/nsPluginFrame.h
2014-09-24 06:33:00 +02:00
Christoph Kerschbaumer
9694546928 Bug 1045897 - Implement CSP 1.1 base-uri directive (r=sstamm) 2014-08-15 16:26:59 -07:00
Christoph Kerschbaumer
212ad65eb4 Bug 1045897 - Implement CSP 1.1 base-uri; nsDocument changes (r=jst) 2014-09-19 14:36:26 -07:00
Christoph Kerschbaumer
857c77edf3 Bug 1045897 - Test CSP 1.1 base-uri directive (r=sstamm) 2014-08-18 17:44:21 -07:00
Ehsan Akhgari
fd5b5386af Bug 1071564 - Refactor the code to get the inner window ID from an nsIRequest* without using nsIDOMWindowUtils; r=baku
--HG--
extra : rebase_source : f9f8da4710a20abd675492537dc9a3ac6857b641
2014-09-23 21:29:31 -04: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
df32ab6c62 Backed out changeset c6fe8e2c41db (bug 1041180) 2014-09-24 13:12:57 +02:00
Christoph Kerschbaumer
c2cae1cc81 Bug 1041180: Remove deprecated nsIChannelPolicy and use LoadInfo instead (r=sstamm) 2014-09-24 01:14:42 -07:00
Christoph Kerschbaumer
72c6a44018 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-24 01:01:07 -07:00
Nick Fitzgerald
b4caf18aad Bug 947044 - Part 2: Fix tests that check ReferenceError's message. r=gavin 2014-09-22 16:13:00 +02:00
Wes Kocher
cdeb7299d2 Merge m-c to inbound a=merge 2014-09-23 16:48:23 -07: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
Vlatko Markovic
f50d0e121d Bug 1057376 - Clear the string read buffer between deserializations of CSP policies. r=geekboy
In case when multiple CSP policies are applied it is needed to clear the
temporary string buffer that holds the string of each CSP policy that is
deserialized from the CSP policies stream.
Failing to clear the buffer will result in concatenations of the CSP policies
strings for each consecutive CSP policy that is being deserialized, which will
end in generation and application of invalid CSP policy for all except the
first CSP policy that was set for the document.
2014-09-23 10:10:58 -07:00
Christoph Kerschbaumer
5453719121 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-23 09:46:54 -07:00
Christoph Kerschbaumer
2f70dd4838 Bug 1041180: Remove deprecated nsIChannelPolicy and use LoadInfo instead (r=sstamm) 2014-09-23 09:47:05 -07:00
Georg Fritzsche
8bee7684a2 Bug 1067989 - Unify some more binary search uses. r=waldo 2014-09-17 15:46:24 +02:00
Ryan VanderMeulen
9aa2123477 Backed out changeset be8277dd0acd (bug 877072) for test failures.
CLOSED TREE
2014-09-23 14:08:22 -04:00
Gabor Krizsanits
ae039c0b9b Bug 877072 - Script execution order for imports. r=mrbkap 2014-09-23 18:58:35 +02:00
Christoph Kerschbaumer
7879c92b87 Bug 1037669: Setting LoadInfo explicitly for nsIWebSocketChannels (r=tanvi,jduell) 2014-08-13 13:26:17 -07:00
Chris Pearce
a7d967d228 Bug 1069669 - Add a nsContentUtils::IsInPrivateBrowsing function. r=ehsan 2014-09-23 12:54:26 +12:00
Tanvi Vyas
681531500a Bug 1063837 - Test that the response documents principal is the nullPrincipal. r=smaug 2014-09-22 15:34:28 -07:00
Tanvi Vyas
054a9cdbf1 Bug 1063837 - For xhr, don't set principal to nullprincipal in cases where we want a sandboxed document; instead, set the sandboxed flag in loadinfo. For EventSource, there is no issue iwth using system. r=sicking, smaug 2014-09-22 15:34:26 -07:00
Christoph Kerschbaumer
5a5770c020 Bug 1038756: Refactor SetUpChannelOwner to ChannelShouldInheritPrincipal (r=bz) 2014-07-17 16:07:58 -07:00
Christoph Kerschbaumer
f9ec88ffff Bug 1038756: Callsites creating a channel in content/base/ImportManager (r=gkrizsanits) 2014-09-21 09:36:50 -07:00
Christoph Kerschbaumer
cbcc76b5a8 Bug 1038756: Callsites creating a channel in content/base/ and content/html (r=jst) 2014-09-21 09:36:25 -07: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
Ryan VanderMeulen
303e2ef098 Backed out changeset 230ec8030aa7 (bug 1066483) for webplatform test failures. 2014-09-19 13:11:11 -04:00
Henri Sivonen
6684f05e04 Bug 1066483 - Drop SVG camelCase mappings filterRes, contentStyleType, contentScriptType and externalResourcesRequired. r=wchen. 2014-09-19 18:20:26 +03:00
Simon Montagu
7462d278ae Bug 1068218: Don't pass lone surrogates to GetDirectionFromChar, r=ehsan 2014-09-19 00:18:47 -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
Ehsan Akhgari
6be7b691a0 Bug 1067340 follow-up: null check the inner window r=bustage
Landed on a CLOSED TREE
2014-09-17 18:31:26 -04:00
Ehsan Akhgari
8273a526d3 Bug 1067340 - Don't use nsIDOMWindowUtils in the CSP code, because it's not meant to be used from C++; r=geekboy 2014-09-17 17:55:43 -04:00
Maksim Lebedev
62e4043739 Bug 977003 - Make async got/lostpointercapture events. r=smaug 2014-09-12 02:32:00 -04:00
Bobby Holley
9ac096aace Bug 1067900 - Assert main thread in nsContentUtils::SubjectPrincipal. r=bz 2014-09-17 14:43:03 +02:00
Phil Ringnalda
e0f8e397f4 Back out 2 changesets (bug 1055773) for debug mochitest-3 bustage
CLOSED TREE

Backed out changeset 72b7c1efb2b5 (bug 1055773)
Backed out changeset 5850ae46157b (bug 1055773)
2014-09-16 22:11:31 -07:00
Nick Lebedev
c1419b9190 Bug 1055773 - Move hasAttributes method from Node to Element. r=bz 2014-09-16 00:48:00 -04:00
Wes Kocher
48ee047035 Merge inbound to m-c a=merge 2014-09-16 17:06:43 -07:00
Vlatko Markovic
6f2a9765c1 Bug 1059194 - Trusted Hosted Apps, part 2: CSP infrastructure changes. r=sicking 2014-09-16 13:14:02 -07:00
Bobby Holley
b85f54fb80 Bug 1066340 - Use an AutoEntryScript in nsFrameMessageManager::ReceiveMessage. r=smaug 2014-09-15 14:17:32 +02:00
Rik Cabanier
199016e453 Bug 1047477 - "Add support for all blend mode to feBlend". r=longsonr r=bz 2014-09-12 16:32:00 +02:00
Giovanni Sferro
a1b2953918 Bug 1055533 - Implement Element.closest(). r=bz 2014-09-13 15:08:00 +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
L. David Baron
9e53a17632 Bug 977991 patch 6 - Use the faster eRestyle_StyleAttribute path for style attribute changes. r=birtles 2014-09-13 06:17:37 -07:00
L. David Baron
d59f54cf97 Bug 1057231 patch 2 - Add SVG Attribute Animation rule processor to the document. r=dholbert 2014-09-13 06:17:35 -07:00
Bobby Holley
7b53e2cb89 Bug 1052096 - Tests. r=billm 2014-09-12 17:41:19 -07:00
Jim Mathies
402d9e5232 Bug 1060738 - Switch to using chromium's Thread/tasks in MediaManager. On Windows, use MessagePumpForNonMainUIThreads for the background media thread. r=jesup 2014-09-12 09:49:39 -05:00
Jonathan Kew
08babb6a11 bug 1066043 - split gfxFont.cpp and .h into more manageably-sized pieces. r=jdaggett
--HG--
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxFontEntry.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxFontEntry.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxGlyphExtents.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxGlyphExtents.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxTextRun.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxTextRun.h
2014-09-16 10:58:12 +01:00
Tom Schuster
67aaa52c6b Bug 1065574 - Remove UserDataHandler. r=smaug f=bz 2014-09-11 12:22:30 +02:00
Jonathan Watt
b3072839ca Bug 1065031, part 2 - Changes to Moz2D consuming code to update callers of Moz2D Matrix's Translate, Scale and Rotate methods to use these methods' new names. r=Bas 2014-09-10 18:29:35 +01:00
Mats Palmgren
d162c52a29 Bug 739396 - Tests. 2014-09-10 17:07:36 +00:00
Mats Palmgren
61d6dbda2d Bug 739396, part 1 - Split a range (that are to be added to the Selection as a result of a user action) into multiple ranges that excludes any non-selectable (-moz-user-select:none) sub-trees. 2014-09-10 17:07:36 +00:00
Ryan VanderMeulen
16b6ce0a6b Backed out 3 changesets (bug 739396) for Mulet perma-fail on a CLOSED TREE.
Backed out changeset 299911e6983b (bug 739396)
Backed out changeset de11af3e0964 (bug 739396)
Backed out changeset e274cb276cc5 (bug 739396)
2014-09-10 12:21:58 -04:00
Bobby Holley
3b8a2a5114 Bug 1065238 - Re-enable test_cpows.xul on mac. r=billm 2014-09-10 08:07:50 -07:00
Francois Marier
32a3534d6a Bug 752559 - Console warning when sandboxed iframe is used ineffectively. r=smaug 2014-09-07 23:05:00 -04:00
Mats Palmgren
3b10ab77d0 Bug 739396 - Tests. 2014-09-10 13:07:44 +00:00
Mats Palmgren
3b0200e62f Bug 739396, part 1 - Split a range (that are to be added to the Selection as a result of a user action) into multiple ranges that excludes any non-selectable (-moz-user-select:none) sub-trees. 2014-09-10 13:07:43 +00:00
Markus Stange
fe1b2e0166 Bug 1064842 - Add ImplCycleCollectionTraverse/Unlink implementations for nsReferencedElement so that nsSVGFilterReference can use the shorter NS_IMPL_CYCLE_COLLECTION macro. r=roc 2014-09-10 12:18:57 +02:00
Kyle Huey
a34a3ab32d Bug 982212: Part 3 - Now that nsTArray::AppendElement supports r-value references, remove the workarounds added in Bug 967364. r=nfroyd
--HG--
extra : rebase_source : 1e6188d26b745f6dc9bdf2accc0abf7f07351510
2014-03-15 18:56:00 +01: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
Chris Peterson
b3b77faddd Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Jed Davis
3090dae119 Bug 1058977 - Adjust mochitests that do content-process file creation/deletion. r=bz
Some form tests are switched to Blob-backed DOM files; some tests now
use nsIFile but don't create the file, if the test simply uses the path
but doesn't access it; and some tests are moved to mochi-chrome
2014-09-08 18:48:50 -07:00
Carsten "Tomcat" Book
ce011224f3 merge mozilla-inbound to mozilla-central a=merge 2014-09-08 15:22:16 +02:00
Shian-Yow Wu
881a3238b0 Bug 1057855 - Fix error checking when calling nsZipArchive::GetItem(). r=smaug 2014-09-04 19:55:00 +02:00
Jan-Ivar Bruaroey
25eec20f1b Bug 1062981 - Disable bfcache for pages active MediaManager. r=smaug, r=jesup 2014-09-05 16:02:54 -04:00
David Zbarsky
92ca9fab1a Bug 1042654: Remove nsITouchEventReceiver r=bz 2014-09-05 23:32:49 -04:00
Boris Zbarsky
a52c16fd74 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
Boris Zbarsky
777da68fdb Bug 880997 part 1. Move GetEnumAttr up to Element so I can use it in SVG code. r=smag 2014-09-05 22:42:32 -04:00
Boris Zbarsky
f4c9c3f81d Bug 716491. Return a .status of 200 and .statusText of "OK" for successful non-HTTP XHR loads. r=smaug 2014-09-04 15:26:58 -04:00
Boris Zbarsky
2555bedfb3 Bug 1057176. Don't try to use the document's window for regexp evaluation in nsContentUtils::IsPatternMatching, since there might not be one. Just use the unprivileged junk scope. r=bholley 2014-09-04 15:26:39 -04:00
Boris Zbarsky
54b3c6c0a1 Bug 1017424 part 3. Remove the now-unnecessary nsIDocument::WrapObject. r=peterv 2014-09-05 14:28:44 -04:00
Alfredo Yang
7baf102eaf Bug 916643 - ImageCapture webidl and implementation. r=roc, r=smaug 2013-09-16 10:50:24 +08:00
Christoph Kerschbaumer
42b948f5dd Bug 1062529 - Split GetChannelPrincipal into GetChannelResultPrincipal and GetChannelURIPrincipal. r=bz 2014-08-06 16:05:40 -07:00
Mike Hommey
6258dd8523 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey
fc99c53ae5 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Ryan VanderMeulen
d57ca8703d Merge inbound to m-c. a=merge 2014-09-03 16:38:57 -04:00
Anuj Agarwal
2b32ffc949 Bug 1036052 - Privatize public destructor of DOMRect. r=baku 2014-09-02 11:47:00 -04:00
Boris Zbarsky
4613da6353 Bug 1061202. Make sure to not double-add app-theme-changed observers when a document has OnPageShow called on it twice without an OnPageHide call in between. r=khuey 2014-09-03 00:09:42 -04:00
Ryan VanderMeulen
687c3c2ed2 Backed out changeset 483f0a6a540e (bug 1061202) for mochitest-bc asserts/crashes. 2014-09-03 11:21:02 -04:00
Boris Zbarsky
33e3bc745b Bug 1061202. Make sure to not double-add app-theme-changed observers when a document has OnPageShow called on it twice without an OnPageHide call in between. r=khuey 2014-09-03 00:09:42 -04:00
John Schoenick
35ed34c1e3 Bug 1061995 - Restore bug 923745 workaround for windowless flash in e10s mode. r=jst 2014-09-02 17:13:07 -07:00
Trevor Saunders
f4fbfeeb43 bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
Ehsan Akhgari
0b2aaa5f23 Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : 01709017e97fdc96d1d53eb881efc1792118edc4
2014-09-01 20:49:25 -04:00
Phil Ringnalda
b656763114 Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
CLOSED TREE

Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari
05739ed1a5 Fix the build bustage from bug 1060987 landed on a CLOSED TREE 2014-09-01 18:28:29 -04:00
Ehsan Akhgari
f1391c83bf Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:00:53 -04:00
Carsten "Tomcat" Book
ab03272a0a Backed out changeset 67b286d214e3 (bug 877072) for m1 test failures 2014-09-01 12:01:09 +02:00
Gabor Krizsanits
ff464bb019 Bug 877072 - Script execution order for nested imports. r=mrbkap 2014-09-01 10:51:40 +02:00
Andrea Marchesini
35125820b7 Bug 1058470 - Blob URL should contain the origin as part of the URI, r=bz 2014-08-31 11:40:11 +01:00
Timothy Nikkel
b51e4ac876 Bug 1008942. When a network request for an image finishes during paint suppression and the image doesn't have a frame don't start a decode. r=mats
Either the image won't get a frame, or it will get a frame very soon and that frame will check its own visibility and kick off a decode if needed.
2014-06-25 23:45:08 -05:00
Daniel Holbert
43688fd271 Bug 1056166 followup: move margin{SIDE} and textAlign atoms out of '#ifdef ACCESSIBILITY' section, to fix --disable-accessibility builds. r=ehsan 2014-08-31 00:56:26 -07:00
Tanvi Vyas
134527c588 Bug 1058836 - Set aDecision parameter to block by default and update cases where it wasn't initially set in nsMixedContentBlocker.cpp. r=smaug 2014-08-29 12:57:08 -07:00
Ryan VanderMeulen
28146780ed Merge m-c to inbound. a=merge
--HG--
extra : rebase_source : 3282a3113131b9cdc5b808ad75a834516c43ef73
2014-08-29 15:39:48 -04:00
Neil Rashbrook
1aa2452ae4 Bug 1054289 Scroll to the current ref, not the original one r=smaug 2014-08-29 20:34:35 +01:00
Ryan VanderMeulen
a3c8179253 Merge b2g-inbound to m-c. a=merge 2014-08-29 15:26:40 -04:00
Carsten "Tomcat" Book
b838e5c2a9 Merge mozilla-central to b2g-inbound a=merge 2014-08-29 15:41:02 +02:00
Aryeh Gregor
7512726531 Bug 1056166 part 4 - Remove nsEditProperty; r=ehsan 2014-08-29 14:43:24 +03:00
Fabrice Desré
172043d717 Bug 1011738 - Theme support for b2g/gaia, Part 4 : security checks r=bent,bz 2014-08-28 17:20:27 -07:00
Fabrice Desré
9cf1eb0db0 Bug 1011738 - Theme support for b2g/gaia, Part 2 : stylesheet reloading r=bz,seth 2014-08-28 17:20:27 -07:00
Botond Ballo
ce6b54b741 Bug 1057642 - Revert [Int]::PointTyped::[x|y] to be of primitive type. r=kats
--HG--
extra : rebase_source : 55e56423f6c8f5278315a6dc9dfcb9fb983c9309
2014-08-28 12:45:48 -04:00
Timothy Nikkel
55c9b4ab9c Bug 1051530. Update the nsImageLoadingContent state when we get a decode complete notification so that decode errors are recorded in our image state. r=bzbarsky
In nsImageLoadingContent whether a decode error put our image state into error depends on when the decode starts in relation to the network load event for the image. In nsImageLoadingContent::OnStopRequest if a decode has been started then we wait until the decode is complete to fire the load/error event. When we fire this event we also update the image state. However if a decode has not started by the time OnStopRequest runs, but a decode does happen later then when it completes nsImageLoadingContent::Notify does nothing, and our image state stays as non-error.
2014-08-28 13:43:21 -05:00
Martijn Wargers
ee3dee3fa0 Bug 1058451 - Intermittent test_CSP_bug885433.html | Inline script should be allowed - Result logged after SimpleTest.finish(). r=sstamm 2014-08-26 17:59:42 +02:00
Gabor Krizsanits
9cb25d668e Bug 1056841 - Always nulling mContainingShadow in Element::UnbindFromTree. r=wchen 2014-08-28 13:53:21 +02:00
Nicholas Nethercote
d6d35eac77 Bug 1059056 - Instantiate nsDOMAttributeMap::mAttributeCache lazily. r=bz.
--HG--
extra : rebase_source : 081273d98319c24e770a45ca4c146adfc21c2287
2014-08-26 22:46:24 -07:00
Trevor Saunders
035a599688 bug 1049758 - fixup copy and move ctors for children iterators r=wchen 2014-08-06 14:21:28 -04:00
Andrea Marchesini
6bc1797ff9 Bug 1059215 - Get rid of nsIDOMFile::GetInternalUrl, r=bz 2014-08-27 17:16:31 +01:00
Chris Pearce
3659319904 Bug 1057173 - Rename MediaKeyNeededEvent to MediaEncryptedEvent. r=bz
--HG--
rename : content/media/eme/MediaKeyNeededEvent.cpp => content/media/eme/MediaEncryptedEvent.cpp
rename : content/media/eme/MediaKeyNeededEvent.h => content/media/eme/MediaEncryptedEvent.h
rename : dom/webidl/MediaKeyNeededEvent.webidl => dom/webidl/MediaEncryptedEvent.webidl
2014-08-27 20:46:56 +12:00
William Chen
e50e0d25cd Bug 887541 - Implement web components event path and event retargeting. r=smaug 2014-08-26 20:19:56 -07:00
Nicholas Nethercote
8b3951c20f Bug 1057912 - Privatize most of PLDHashTable's fields. r=roc.
--HG--
extra : rebase_source : 0f55e70b63d9c191fbd9418cb1177ff534deeed9
2014-08-25 16:56:33 -07:00
Matt Woodrow
9d7154f323 Bug 936690 - Remove nsIContentView and nsIContentViewManager. r=roc 2014-08-27 10:56:24 +12:00
Ting-Yu Chou
24b1200954 Bug 1057065 - Remove obsolete code causes extra preallocated process to complement the patch of bug 1033618. r=khuey
--HG--
extra : rebase_source : 243e1288e44bd1d6560bdf8de479af0f9888f95e
2014-08-26 10:22:21 +08:00
Kearwood (Kip) Gilbert
95a74cd0af Bug 1022818 - Part 2: Implement Smooth Scrolling. r=bz
- Updated ScrollTo method in nsGlobalWindow to accept a
  mozilla::dom::ScrollOptions parameter to select between the instant
  and smooth MSD motion.
- Updated WebIDL binding boilerplate scrolling functions in nsGlobalWindow
  to pass the correct value of mozilla::dom::ScrollBehavior to the
  implementation and functions, activating smooth scrolling.
- These functions will need to be updated again to support the scroll-behavior
  CSS property in Bug 1010538.

--HG--
extra : rebase_source : 7c9ce94d09fed5c4aea63442d683876c0a9a2e50
2014-08-05 15:01:34 -07:00
Kearwood (Kip) Gilbert
ec32c40364 Bug 1022818 - Part 1: Update webidl interfaces. r=bz
- Extended the Element and Window webidl interfaces as described in the
  CSSOM-View smooth-scrolling specification.
- The Element.scrollTop and Element.scrollLeft changes have been omitted
  until either WebIDL is extended to allow properties to have union datatypes
  that contain dictionaries or the CSSOM-View smooth-scroll specification
  is upddated.  This will not prevent the other interface changes from being
  useful.
- Implemented wrapper functions for the nsGlobalWindow to connect to the new
  WebIDL bindings.  The ScrollOptions parameters are ignored in this patch,
  and used in Part 3 of this patch series.

--HG--
extra : rebase_source : db617cb63780e039ad69e4ed100c13042c676949
2014-08-05 15:01:32 -07:00
Johnny Stenback
ace9b5b5e9 Bug 798188. Use NS_WRAPPERCACHE_INTERFACE_TABLE_ENTRY in table based QI implementations. r=peterv
---
 content/base/src/Attr.cpp                                  | 2 +-
 content/base/src/DOMRect.cpp                               | 2 +-
 content/base/src/FragmentOrElement.cpp                     | 2 +-
 content/base/src/nsContentList.cpp                         | 2 +-
 content/base/src/nsDOMAttributeMap.cpp                     | 2 +-
 content/base/src/nsDocument.cpp                            | 2 +-
 content/html/content/src/HTMLFormControlsCollection.cpp    | 2 +-
 content/html/content/src/HTMLOptionsCollection.cpp         | 2 +-
 content/html/content/src/HTMLPropertiesCollection.cpp      | 4 ++--
 content/html/content/src/HTMLTableElement.cpp              | 2 +-
 content/media/webspeech/synth/SpeechSynthesisUtterance.cpp | 1 -
 dom/events/PaintRequest.cpp                                | 2 +-
 dom/xbl/XBLChildrenElement.cpp                             | 2 +-
 13 files changed, 13 insertions(+), 14 deletions(-)
2014-08-25 16:21:35 -07:00
Wes Kocher
7c1ccc24c1 Backed out changeset 59f193167901 (bug 1049758) for build bustage on a CLOSED TREE 2014-08-25 14:26:12 -07:00
Trevor Saunders
1338ffb134 bug 1049758 - fixup copy and move ctors for children iterators r=wchen 2014-08-06 14:21:28 -04:00
Ryan VanderMeulen
04c90e50f6 Merge m-c to inbound. a=merge 2014-08-25 16:28:25 -04:00
Ryan VanderMeulen
1fb03239fc Merge m-c to b2g-inbound. a=merge
CLOSED TREE
2014-08-25 13:07:41 -04:00
Ryan VanderMeulen
f1e20fb689 Merge inbound to m-c. a=merge
CLOSED TREE
2014-08-25 11:49:37 -04:00
Andrea Marchesini
733f01834b Bug 1055467 - Rename MozNamedAttrMap to NamedNodeMap, r=smaug
--HG--
rename : dom/webidl/MozNamedAttrMap.webidl => dom/webidl/NamedNodeMap.webidl
2014-08-25 10:25:34 +01:00
Georgios Kontaxis
8670ec571e Bug 1043803: checkIdentity following onSecurityChange now shows doorhanger on STATE_LOADED_MIXED_ACTIVE_CONTENT. Doorhanger now acknowledges this new state. r=adw 2014-08-22 20:26:03 -07:00
Georgios Kontaxis
937ebf1ae6 Bug 1043797: extended popup notifications to create a generic doorhanger for all security notifications incl. mixed content r=adw
--HG--
rename : browser/themes/linux/mixed-content-blocked-16.png => browser/themes/linux/bad-content-blocked-16.png
rename : browser/themes/linux/mixed-content-blocked-64.png => browser/themes/linux/bad-content-blocked-64.png
rename : browser/themes/osx/mixed-content-blocked-16.png => browser/themes/osx/bad-content-blocked-16.png
rename : browser/themes/osx/mixed-content-blocked-16@2x.png => browser/themes/osx/bad-content-blocked-16@2x.png
rename : browser/themes/osx/mixed-content-blocked-64.png => browser/themes/osx/bad-content-blocked-64.png
rename : browser/themes/osx/mixed-content-blocked-64@2x.png => browser/themes/osx/bad-content-blocked-64@2x.png
rename : browser/themes/windows/mixed-content-blocked-16.png => browser/themes/windows/bad-content-blocked-16.png
rename : browser/themes/windows/mixed-content-blocked-64.png => browser/themes/windows/bad-content-blocked-64.png
2014-08-22 15:34:25 -07:00
Wes Kocher
02017e20ed Merge inbound to m-c a=merge 2014-08-22 16:47:32 -07:00
Botond Ballo
9a24fd35ae Bug 1053975 - Take device scale into account when calculating default viewport size. r=kats,mbrubeck 2014-08-15 11:58:03 -04:00
Ted Clancy (:tedders1)
d6e1da2ebe Bug 1055427 - Add KillChild() method to nsIMessageManager. r=sicking
Patch originally from bug 1000313.
2014-08-12 08:59:47 -04:00
C.J. Ku
ee84378b54 Bug 974242 - Bring FullZoom into nsDocument::GetViewportInfo. r=mbrubeck, r=kats
--HG--
extra : rebase_source : 4fd84defb47c9eb5bcea849fde61e6e09dc5e9a3
2014-08-10 02:50:07 +08:00
Christoph Kerschbaumer
ef6c463f47 Bug 1049289 - CSP: Test that fragments are stripped in csp-reports (r=sstamm) 2014-08-07 12:51:50 -07:00
Christoph Kerschbaumer
f36c70b281 Bug 1049289 - CSP: Strip uri fragments before sending csp-reports (r=sstamm) 2014-08-05 16:12:16 -07:00
Christoph Kerschbaumer
e25473a9a7 Bug 1053028 - Remove remaining relicts of deprecated X-CSP header (r=sstamm) 2014-08-12 21:15:56 -07:00
Trevor Saunders
86b7aff8fc bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Matt Woodrow
4d7eebfb5f Bug 1056427 - Stop PRenderFrame from managing PLayerTransaction since it hasn't worked since the layers refactoring. r=roc
--HG--
extra : rebase_source : 38c86648bb8e59a6b992bd377acb9aacb418c98b
2014-08-22 12:16:44 +12:00
Bobby Holley
354fc3883c Bug 981218 - Remove default compartment objects. r=luke
\o/
2014-08-21 17:13:51 -07:00
Bobby Holley
7b689eecfd Bug 1056271 - Switch to GetEntryGlobal in DOMParser::Init. r=smaug 2014-08-20 17:45:04 -07:00
Ryan VanderMeulen
655d07d1e0 Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-20 16:23:04 -04:00
Ryan VanderMeulen
9767936074 Merge inbound to m-c. a=merge 2014-08-20 16:14:23 -04:00
Ed Morley
a04736e627 Merge mozilla-central and fx-team 2014-08-20 15:18:31 +01:00
Ed Morley
83a5064ff2 Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-08-20 14:46:55 +01:00
Mike Conley
72420563c2 Bug 961362 - DOM Fullscreen API support for e10s. r=smaug,billm. 2014-08-19 16:58:00 -04:00
Ryan VanderMeulen
455e48bbde Merge inbound to m-c. a=merge 2014-08-19 16:09:47 -04:00
Fabrice Desré
3c97fffc91 Bug 899322 - Convert the mozApps API to use webidl r=marco,bholley 2014-08-19 09:30:54 -07:00
Lynn Tran
36bc853044 Bug 1041335 - Add a mozilla::services getter for nsIServiceWorkerManager; r=ehsan 2014-08-18 21:13:14 -04:00
Bill McCloskey
6fe00b051a Bug 1050360 - Fix script blocker warning (r=smaug) 2014-08-19 17:24:55 -07:00
Ryan VanderMeulen
476e0aef44 Merge m-c to inbound. a=merge 2014-08-19 16:25:33 -04:00
Botond Ballo
1d16def11d Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
--HG--
extra : rebase_source : 22e5fe577ea503aede765c70e16c0bf875c4a9fd
2014-08-19 13:08:16 -04:00
Junior Hsu
57c101009b 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
e84ab195da 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
0a2146dfad Backed out changeset e020d647d6d3 (bug 1005818) for exceptions during test_widget.html 2014-08-19 15:06:12 +01:00
Ed Morley
f049ad3ce3 Backed out changeset e71a3cac1b3d (bug 1005818) 2014-08-19 15:05:51 +01:00
Kyle Machulis
754f812274 Bug 1055898 - Readd include of nsIContent.h to nsINodeList.h; r=bz 2014-08-19 19:32:25 -07:00
Bobby Holley
115b664102 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