Commit Graph

5236 Commits

Author SHA1 Message Date
Aryeh Gregor
0159561890 Bug 799905 - .URL and .compatMode should be defined on Document, not HTMLDocument; r=bz 2012-10-11 14:48:31 +02:00
John Schoenick
dde37dece4 Bug 787778 - Add additional re-entrance checks in plugin object code. r=josh 2012-10-13 20:58:19 -07:00
Ehsan Akhgari
e6a0a9dfa3 Silence a compiler warning about unused private field, no bug
--HG--
extra : rebase_source : 931d6682a63588501930c7b2f93496fb2ef747d1
2012-10-13 17:32:52 -04:00
Peter Van der Beken
cca0b00f72 Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - fix CC traversal and wrapper preservation. r=bz.
--HG--
extra : rebase_source : 42b0e6db4b418901f253d66e7323ba5a7cd83eea
2012-09-26 20:12:15 +02:00
David Zbarsky
6766324a90 Fix '&&' within '||' warning, no bug 2012-10-15 02:04:47 -04:00
Robert O'Callahan
018ad419e7 Bug 799078. Part 1: Expose nsContentUtils::FindPresShellForDocument. r=matspal
--HG--
extra : rebase_source : f7e6410637ea70fe2d68fdcc24bcb409816d5bd7
2012-10-09 00:23:11 +13:00
Josh Matthews
e82f309179 Back out bug 585385 for build bustage. 2012-10-11 21:58:24 -04:00
Josh Matthews
d64a2c9b5a Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-11 21:34:24 -04:00
Josh Matthews
ebabb6bd33 Bug 505385 - Part 16: Remove nsStubImageDecoderObserver. r=joe 2012-10-11 21:34:24 -04:00
Josh Matthews
80d0bbfb1b Bug 505385 - Part 15: Fix cases where pending requests in nsImageLoadingContent could be cancelled and never receive OnStartRequest. r=joe 2012-10-11 21:34:24 -04:00
Josh Matthews
db4200e616 Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe 2012-10-11 21:34:23 -04:00
Josh Matthews
d09d8af2a1 Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-11 21:34:23 -04:00
Ryan VanderMeulen
fb799e3fc7 Merge m-c to inbound.
--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_certexceptionsui.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_certexceptionsui.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_cookieacceptdialog.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_cookieacceptdialog.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_crh.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_crh.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_geoprompt.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_localStorage.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_localStorage.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_opendir.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_opendir.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_openlocation.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_openlocation.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_placestitle.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_placestitle.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_popupblocker.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_popupblocker.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_protocolhandler.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_protocolhandler.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_sslsite_transition.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_sslsite_transition.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_theming.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_theming.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_ui.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_ui.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_urlbarfocus.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_urlbarfocus.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_windowtitle.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_windowtitle.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_zoom.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_zoom.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_zoomrestore.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_zoomrestore.js
rename : browser/components/privatebrowsing/test/browser/head.js => browser/components/privatebrowsing/test/browser/global/head.js
rename : browser/components/privatebrowsing/test/browser/title.sjs => browser/components/privatebrowsing/test/browser/global/title.sjs
rename : browser/components/privatebrowsing/test/browser/browser_console_clear.js => browser/components/privatebrowsing/test/browser/obsolete/browser_console_clear.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_beforeunload.js => browser/components/privatebrowsing/test/browser/obsolete/browser_privatebrowsing_beforeunload.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_commandline_toggle.js => browser/components/privatebrowsing/test/browser/obsolete/browser_privatebrowsing_commandline_toggle.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_downloadmonitor.js => browser/components/privatebrowsing/test/browser/obsolete/browser_privatebrowsing_downloadmonitor.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_fastswitch.js => browser/components/privatebrowsing/test/browser/obsolete/browser_privatebrowsing_fastswitch.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_findbar.js => browser/components/privatebrowsing/test/browser/obsolete/browser_privatebrowsing_findbar.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_forgetthissite.js => browser/components/privatebrowsing/test/browser/obsolete/browser_privatebrowsing_forgetthissite.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_import.js => browser/components/privatebrowsing/test/browser/obsolete/browser_privatebrowsing_import.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_newwindow_stopcmd.js => browser/components/privatebrowsing/test/browser/obsolete/browser_privatebrowsing_newwindow_stopcmd.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_pageinfo.js => browser/components/privatebrowsing/test/browser/obsolete/browser_privatebrowsing_pageinfo.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_popupmode.js => browser/components/privatebrowsing/test/browser/obsolete/browser_privatebrowsing_popupmode.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_searchbar.js => browser/components/privatebrowsing/test/browser/obsolete/browser_privatebrowsing_searchbar.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_transition.js => browser/components/privatebrowsing/test/browser/obsolete/browser_privatebrowsing_transition.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_urlbarundo.js => browser/components/privatebrowsing/test/browser/obsolete/browser_privatebrowsing_urlbarundo.js
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_viewsource.js => browser/components/privatebrowsing/test/browser/obsolete/browser_privatebrowsing_viewsource.js
rename : browser/components/privatebrowsing/test/browser/head.js => browser/components/privatebrowsing/test/browser/obsolete/head.js
rename : browser/components/privatebrowsing/test/browser/staller.sjs => browser/components/privatebrowsing/test/browser/obsolete/staller.sjs
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_lastpbcontextexited.js => browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_lastpbcontextexited.js
2012-10-11 21:31:33 -04:00
Olli Pettay
edd5fa3464 Bug 798974, MutationObserver doesn't handle correctly empty document fragments, r=sicking 2012-10-12 02:01:40 +03:00
Ed Morley
7a45853856 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-11 14:46:06 +01:00
Olli Pettay
0f6bf5eed5 Bug 733305, add a way to hide XBL, r=bz, a=abillings
--HG--
extra : rebase_source : df18273ecdbf013138e8e6f1f4ef8082ac4f410c
2012-10-10 22:04:42 +03:00
Trevor Saunders
e2db6e1941 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Tomas Dainovec
2b3be6c1ca Bug 793459: File.lastModifiedDate should return the current date if no lastModifiedDate is available. r=khuey 2012-10-04 15:38:18 +01:00
Andrea Marchesini
d00b4328ad Bug 799540 - Cross-domain XHR with authentication allowed, r=bz 2012-10-11 13:45:37 -04:00
Kyle Huey
5113ae2462 Bug 791571: Keep track of whether or not an <img> is blocking onload to handle insertion/removal from the document. r=bz 2012-10-11 09:37:05 -07:00
Ehsan Akhgari
60c0879cc1 Merge mozilla-central into mozilla-inbound 2012-10-10 20:21:13 -04:00
Scott Johnson
fda08248cc Bug 798068: Return sane values for min/max zoom when handheldFriendly, WAP, Mobile, or WML is set in the viewport metadata. [r=mbrubeck,bent] 2012-10-08 15:41:48 -05:00
Bobby Holley
bb0dcf4cec Bug 797204 - Consolidate XBL filename hack logic into nsContentUtils. r=mrbkap
These two functions do the exact same thing, as far as I can tell.
2012-10-10 11:01:26 +02:00
Hsin-Yi Tsai
08d0c6eae8 Bug 783525 - part 1 - idl and DOM impl for ICCCardLockErrorEvent. r=smaug, sr=sicking 2012-10-03 14:29:07 +08:00
Boris Zbarsky
b8b844950a Bug 795221 part 4. Hook up <link> elements to cycle collect their stylesheet. r=smaug
--HG--
rename : content/html/content/crashtests/795221-1.html => content/html/content/crashtests/795221-3.html
2012-10-07 22:39:09 -04:00
Boris Zbarsky
50dcf71b9b Bug 795221 part 2. Hook up <style> elements to cycle collect their stylesheet. r=smaug 2012-10-07 22:39:09 -04:00
Chris Pearce
fbae2359b6 Bug 795184 - Make iframe.mozallowfullscreen percolate across process boundaries. r=jlebar 2012-10-08 10:12:50 +13:00
Masayuki Nakano
5ac763afdd Bug 795785 part.1 Editor should scroll the selection into view after edit even when the editor is specified overflow: hidden; r=ehsan,smaug, sr=smaug 2012-10-08 03:45:51 +09:00
Andrea Marchesini
b2e0043c80 Bug 282547 - [XHR] Login dialog with wrong XMLHttpRequest authentication. r=bz 2012-10-07 07:40:10 -04:00
Ed Morley
fd14735924 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-06 20:30:35 +01:00
Ms2ger
08d30aac5a Bug 798481 - Make IndexOf a little more const-correct; r=mounir 2012-10-06 09:19:46 +02:00
Andrew Quartey
42f2f3750f Bug 792581 - part 11: Replace LL_MUL macro with multiplication operator. r=ehsan 2012-10-05 01:05:28 -04:00
Andrew Quartey
1839819e70 Bug 792581 - part 10: Replace LL_SUB macro with mathematical minus operator. r=ehsan 2012-10-05 01:05:27 -04:00
Kyle Huey
17621cc7a7 Bug 797940: Don't use a static nsRefPtr for sScriptCacheCleaner. r=smaug 2012-10-05 12:10:30 -07:00
Bobby Holley
2a794fba31 Bug 798346 - nsContentUtils::PreserveWrapper should explicitly QI its argument to the CC ISupports. r=peterv 2012-10-05 18:59:22 +02:00
Josh Matthews
f56c4d461a Bug 794602 - Make nsWebBrowserPersist::SaveURIInternal use channels with valid privacy statuses. r=bz,mfinkle,smaug,ehsan,jwalker,roc,unfocused 2012-10-04 15:07:51 -04:00
Ryan VanderMeulen
d3510ae5f7 Backout e5269e137290, (bug 794606), e94dbc151121 (bug 794602), and 0ea0cfc7f6f4 (bug 792821) due to mochitest-other orange on a CLOSED TREE. 2012-10-04 19:34:19 -04:00
Josh Matthews
fe1c85126f Bug 794602 - Make nsWebBrowserPersist::SaveURIInternal use channels with valid privacy statuses. r=bz,mfinkle,smaug,ehsan,jwalker,roc,unfocused 2012-10-04 15:07:51 -04:00
Jeff Muizelaar
fb8c5e5cd5 Bug 792199. Only decode visible images immediately when switching to a tab. r=joe
This creates a new method 'StartDecoding' which does a RequestDecode and some
decoding of the image.

--HG--
extra : rebase_source : 89c1c2f40e3dfb6e025939ebf3257f81ce429501
2012-10-04 16:02:15 -04:00
Randell Jesup
881c8d06a1 Bug 733002: DataChannel DOM implementation w/ m3 fix r=smaug 2012-10-03 19:51:47 -04:00
Ryan VanderMeulen
e45cae4406 Backout a9ab0881ebe2 (bug 729512) and ed6491f2335e (bug 733002) due to M3 orange. 2012-10-03 21:03:16 -04:00
Randell Jesup
3434c94f2a Bug 733002: DataChannel DOM implementation r=smaug 2012-10-03 19:51:47 -04:00
Josh Matthews
8d8ddeb184 Bug 795571 - Update nsIChannel consumers concerned with privacy status to use the correct NS_UsePrivateBrowsing. r=ehsan 2012-10-03 18:43:26 -04:00
Andrea Marchesini
9f37766b0b Bug 720083 - Workers: add support for transferable objects from HTML5 spec. r=sphink, r=bent 2012-10-03 18:19:22 -04:00
Cameron McCormack
2e36882fc2 Bug 797290 - #undef DATA_NODE_FLAG_BIT like other content flag bit macros. r=Ms2ger 2012-10-04 07:32:34 +10:00
Jeff Muizelaar
c3e16c5475 Bug 794884. Make SupportImageWithMimeType return a bool. r=joe.
This cleans things up quite a bit.
---
 content/base/src/nsObjectLoadingContent.cpp |    4 +---
 docshell/base/nsWebNavigationInfo.cpp       |    4 +---
 image/src/imgLoader.cpp                     |    7 ++-----
 image/src/imgLoader.h                       |    2 +-
 layout/build/nsContentDLF.cpp               |    4 +---
 5 files changed, 6 insertions(+), 15 deletions(-)
2012-10-03 16:17:47 -04:00
Jeff Muizelaar
af82a52095 Bug 794884. Make SupportImageWithMimeType a static function. r=joe,r=bz
This removes supportImageWithMimeType from the idl and makes all the
callers call the static function directly. To do this we also need
to export imgLoader.h and imgRequest.h.
---
 content/base/src/nsObjectLoadingContent.cpp |    9 ++-------
 docshell/base/nsWebNavigationInfo.cpp       |    8 +++++---
 docshell/base/nsWebNavigationInfo.h         |    5 -----
 image/public/imgILoader.idl                 |    9 +--------
 image/src/Makefile.in                       |    4 ++++
 image/src/imgLoader.cpp                     |    2 +-
 image/src/imgLoader.h                       |    1 +
 layout/build/nsContentDLF.cpp               |    5 ++---
 8 files changed, 16 insertions(+), 27 deletions(-)
2012-10-03 16:17:40 -04:00
Patrick Wang
2cfef0b277 Bug 777384 - Test case r=jlebar
--HG--
extra : rebase_source : 777580f0a22bfb3d9d447097b0f4a379f2b7416b
2012-09-27 01:47:57 +08:00
Patrick Wang
750d11c91d Bug 777384 - Prevent unprivileged code from embedding apps. r=jlebar
--HG--
extra : rebase_source : 5d93aeaf1a69d7609b914a207ed7f63b3d3545ad
2012-09-27 01:47:18 +08:00
Andrew Quartey
21f22f5076 Bug 792581 - part 5: Replace LL_CMP macro with standard comparison. r=ehsan 2012-10-03 10:13:19 -04:00
Andrew Quartey
40154f9c13 Bug 792581 - part 3: Replace LL_NE macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Andrew Quartey
1d85650f11 Bug 792581 - part 1: Replace LL_IS_ZERO macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Nathan Froyd
8f5d237fbe Bug 797106 - don't use PR_BYTES_PER_WORD in nsTextFragment*.cpp; r=ehsan 2012-10-02 15:14:50 -04:00
Bobby Holley
811b9ca7d7 Bug 795275 - Warn about content access to |Components|. r=mrbkap 2012-10-03 11:44:18 +02:00
Mounir Lamouri
d75b0a0831 Bug 795703 - Do not assert when calling do_GetWeakReference() on a nsISupport not capable of that. r=smaug,dougt 2012-10-03 10:38:46 +01:00
Ehsan Akhgari
80fd98a848 Merge backout 2012-10-02 23:16:47 -04:00
Ehsan Akhgari
5d0ab6fa28 Backout changeset 9e38c5518605, fc59bd8d49ba, d0ba1abde985, and acf91f25f228 (bugs 796119, 796279, and 797106) because of broken reftests on 64-bit platforms 2012-10-02 23:16:36 -04:00
Kyle Huey
8c291dcbab Bug 791731: Don't immediately discard image data in UnbindFromTree, instead rely on the discard timer. r=jlebar
--HG--
extra : rebase_source : 8e702197acfbc76a87521da06e3dcc334c6e2a63
2012-10-02 18:52:03 -07:00
Nathan Froyd
a18b2ba968 Bug 797106 - don't use PR_BYTES_PER_WORD in nsTextFragment*.cpp; r=ehsan 2012-10-02 15:14:50 -04:00
Andrea Marchesini
81abeef66d Bug 795867 - XHR getResponseHeader() should inflate the value. r=bz 2012-10-02 16:38:51 -04:00
Josh Matthews
a14d918dad Bug 792542 - Make CSP report channel respect the privacy status of the original request. r=sstamm 2012-10-02 15:12:51 -04:00
Ed Morley
d078159b72 Merge mozilla-central to mozilla-inbound 2012-10-02 11:19:03 +01:00
Ms2ger
1372b0efac Bug 793314 - Followup: Remove PtrBits from nsAttrValueInlines.h. 2012-10-02 10:57:57 +02:00
Benoit Girard
89e0e7d121 Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey 2012-10-01 16:01:35 -04:00
David Keeler
9e833b4b11 Bug 795397 - Click-to-play blocklisting: respect the "plugins" permission. r=josh, r=jaws 2012-10-01 09:46:05 -07:00
Cameron McCormack
2688bea4cd Bug 795802 - Define content flags like frame state bits. r=bz
--HG--
extra : rebase_source : 4d67320ada060e29644ab6c070a1d5154b304d96
2012-10-02 10:52:06 +10:00
Ehsan Akhgari
4b71a98ab2 Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-01 16:04:09 -04:00
Peter Van der Beken
49df18e60a Bug 794582 - Rename nsINode::GetSlots() to nsINode::Slots() and remove null-checks; r=mounir 2012-08-11 00:27:28 +02:00
Ms2ger
37c3d933eb Bug 793482 - Use xpc::GetCompartmentPrivate in a few more places; r=bholley 2012-10-02 10:24:11 +02:00
Ms2ger
a77a250988 Bug 793314 - Remove PtrBits; r=mounir,roc 2012-10-02 10:24:11 +02:00
Timothy Nikkel
e597215240 Bug 784591. Add an optional argument to the unlock image api on documents so that we can request that the image be discarded only in some situations. r=khuey 2012-10-01 12:53:57 -05:00
Nathan Froyd
3c013d928f Bug 720768 - add nsDOMEventTargetHelper::DispatchTrustedEvent; r=mounir, sr=smaug 2012-09-27 16:11:31 -04:00
Mark Goodwin
38b8c56de1 Bug 770099 - Send CSP policy and report information to Web Console (Part 1); r=dveditz,msucan,jwalker 2012-10-01 10:10:29 +01:00
Peter Van der Beken
b5b5988316 Fix for bug 791774 (Hook DOM lists up to the new DOM bindings). r=bz.
--HG--
extra : rebase_source : 873020edd9cd3defc932d77bd26b5d65ebf263cb
2012-06-13 17:18:30 +02:00
Kyle Huey
53271e4c0c Bug 795128: Add memory reporting for attribute maps and nodes. r=smaug 2012-09-30 09:43:47 -07:00
Kyle Huey
1ccfbe810b Bug 760331: Coalesce data for inline style across nodes. r=bz
This patch enables sharing of an nsAttrValue's MiscContainer between nodes for style rules.  MiscContainers of type eCSSStyleRule are now refcounted (with some clever struct packing to ensure that the amount of memory allocated for MiscContainer remains unchanged on 32 and 64 bit).  This infrastructure can be used to share most MiscContainer types in the future if we find advantages to sharing other types than just eCSSStyleRuley.  A cache mapping strings to MiscContainers has been added to nsHTMLCSSStyleSheet.  MiscContainers can be shared between nsAttrValues when one nsAttrValue is SetTo another nsAttrValue or when there is a cache hit in this cache.  This patch also adds the ability to tell a style rule that it belongs to an nsHTMLCSSStyleSheet, with appropriate accessor functions to separate that from the existing case of belonging to an nsCSSStyleSheet.

The primary use case is to reduce memory use for pages that have lots of inline style attributes with the same value.  This can happen easily with large pages that are automatically generated.  An (admittedly pathological) testcase in Bug 686975 sees over 250 MB of memory savings with this change.  Reusing the same MiscContainer for multiple nodes saves the overhead of maintaining separate copies of the string containing the serialized value of the style attribute and of creating separate style rules for each node.  Eliminating duplicate style rules enables further savings in layout through style context sharing.  The testcase sees the amount of memory used by style contexts go from over 250 MB to 10 KB.

Because the cache is based on the text value of the style attribute, it will not handle attributes that have different text values but are parsed into identical style rules.  We also do not attempt to share MiscContainers when the node's base URI differs from the document URI.  The effect of these limitations is expected to be low.
2012-09-30 09:40:24 -07:00
Mounir Lamouri
990268d0ba Bug 795136 - 1/2 - Add events notifying the window if upload/download happen on the system. r=smaug sr=sicking 2012-09-30 14:47:48 +01:00
Simon Montagu
2b02131b60 Add vendor prefix to :dir selector. Bug 562169, r=dbaron 2012-09-29 13:41:10 -07:00
Phil Ringnalda
72a97ced78 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-28 22:06:29 -07:00
Ed Morley
bb53ce0424 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-29 00:08:58 +01:00
Olli Pettay
fe6fc67766 Bug 794694 - Make sure to trace all the gray GCthings, not only wrapper, r=mccr8 2012-09-29 01:29:37 +03:00
Isaac Aggrey
a53c93b026 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -05:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Olli Pettay
80d2f005af Bug 794623 - Fewer virtual GetTargetForEventTargetChain calls, r=jst
--HG--
extra : rebase_source : db5b18e28b2ed362e0761370b21ef74e6231a476
2012-09-28 02:15:29 +03:00
Philipp von Weitershausen
44fec9de95 Bug 777508 - Notify parent if child processes are terminated through message manager. r=cjones 2012-09-27 22:43:24 -07:00
Philipp von Weitershausen
ffc72e3d22 Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug 2012-09-27 22:43:12 -07:00
Ed Morley
a86b50f6bc Merge mozilla-central to mozilla-inbound 2012-09-28 16:01:22 +01:00
Ed Morley
ce04490c89 Backout 52be204da1cf (bug 776663), 965397b043c0 (bug 777508), 182c763efa68 (bug 776832), a2a509184b07 & cba5ba69091f (bug 789973) for failures in test_child_process_shutdown_message.html and friends / conflicting with the backout on a CLOSED TREE 2012-09-28 14:08:04 +01:00
Philipp von Weitershausen
6fc22757f7 Bug 795061 - AssertAppProcessPermission: Kill any process that doesn't have the specified permission, not just app processes. r=cjones 2012-09-28 10:29:36 -07:00
Ed Morley
5a3b322459 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
1d675c61d6 Bug 539356 - Part 9c - Remove old invalidation code. r=bz 2012-08-29 17:39:31 +12:00
Matt Woodrow
49d4c24594 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-08-29 17:38:58 +12:00
Masatoshi Kimura
f1e6b8f196 Bug 764234 - Implement StringEncoding API. r=dougt,smontagu 2012-09-28 11:19:18 +01:00
Philipp von Weitershausen
76d445df15 Bug 777508 - Notify parent if child processes are terminated through message manager. r=cjones 2012-09-27 22:43:24 -07:00
Philipp von Weitershausen
7775e8c877 Bug 776832 - Add a scriptable API to assert app permissions through messagemanager. r=smaug 2012-09-27 22:43:12 -07:00
Phil Ringnalda
4201311ebf Back out b24a73b2c617 for Windows build bustage and test_xhr_timeout.html failure 2012-09-27 21:24:42 -07:00
Andrea Marchesini
7e21557bd5 Bug 720083 - Workers: add support for transferable objects from HTML5 spec. r=sphink, r=bent 2012-09-27 23:05:59 -04:00
Aryeh Gregor
923550b985 Bug 779809 part 2 - Don't safe-forward [notxpcom] methods; r=khuey,bz 2012-08-09 11:33:38 +03:00
Paul Adenot
01931fe9e5 Bug 730765 - Remove a copy of nsBlobProtocolHandler.h. r=khuey 2012-09-25 16:23:32 -07:00
Terrence Cole
185355684f Bug 791322 - Move Rooted to js:: namespace; r=billm
These should not be part of the public API.

--HG--
extra : rebase_source : 00a69ee54f06e3f557cd9ec2f3b059df10aa32df
2012-09-24 18:08:22 -07:00
Alexandre Dumont
01f3a22f41 Bug 596753: Flatten layout/svg/base/src into layout/svg. r=dholbert
--HG--
rename : layout/svg/base/src/Makefile.in => layout/svg/Makefile.in
rename : layout/svg/base/src/SVGFEContainerFrame.cpp => layout/svg/SVGFEContainerFrame.cpp
rename : layout/svg/base/src/SVGFEImageFrame.cpp => layout/svg/SVGFEImageFrame.cpp
rename : layout/svg/base/src/SVGFELeafFrame.cpp => layout/svg/SVGFELeafFrame.cpp
rename : layout/svg/base/src/SVGFEUnstyledLeafFrame.cpp => layout/svg/SVGFEUnstyledLeafFrame.cpp
rename : layout/svg/base/src/SVGViewFrame.cpp => layout/svg/SVGViewFrame.cpp
rename : layout/svg/base/src/nsISVGChildFrame.h => layout/svg/nsISVGChildFrame.h
rename : layout/svg/base/src/nsISVGGlyphFragmentNode.h => layout/svg/nsISVGGlyphFragmentNode.h
rename : layout/svg/base/src/nsISVGSVGFrame.h => layout/svg/nsISVGSVGFrame.h
rename : layout/svg/base/src/nsSVGAFrame.cpp => layout/svg/nsSVGAFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.cpp => layout/svg/nsSVGClipPathFrame.cpp
rename : layout/svg/base/src/nsSVGClipPathFrame.h => layout/svg/nsSVGClipPathFrame.h
rename : layout/svg/base/src/nsSVGContainerFrame.cpp => layout/svg/nsSVGContainerFrame.cpp
rename : layout/svg/base/src/nsSVGContainerFrame.h => layout/svg/nsSVGContainerFrame.h
rename : layout/svg/base/src/nsSVGEffects.cpp => layout/svg/nsSVGEffects.cpp
rename : layout/svg/base/src/nsSVGEffects.h => layout/svg/nsSVGEffects.h
rename : layout/svg/base/src/nsSVGFilterFrame.cpp => layout/svg/nsSVGFilterFrame.cpp
rename : layout/svg/base/src/nsSVGFilterFrame.h => layout/svg/nsSVGFilterFrame.h
rename : layout/svg/base/src/nsSVGFilterInstance.cpp => layout/svg/nsSVGFilterInstance.cpp
rename : layout/svg/base/src/nsSVGFilterInstance.h => layout/svg/nsSVGFilterInstance.h
rename : layout/svg/base/src/nsSVGFilterPaintCallback.h => layout/svg/nsSVGFilterPaintCallback.h
rename : layout/svg/base/src/nsSVGForeignObjectFrame.cpp => layout/svg/nsSVGForeignObjectFrame.cpp
rename : layout/svg/base/src/nsSVGForeignObjectFrame.h => layout/svg/nsSVGForeignObjectFrame.h
rename : layout/svg/base/src/nsSVGGFrame.cpp => layout/svg/nsSVGGFrame.cpp
rename : layout/svg/base/src/nsSVGGFrame.h => layout/svg/nsSVGGFrame.h
rename : layout/svg/base/src/nsSVGGenericContainerFrame.cpp => layout/svg/nsSVGGenericContainerFrame.cpp
rename : layout/svg/base/src/nsSVGGenericContainerFrame.h => layout/svg/nsSVGGenericContainerFrame.h
rename : layout/svg/base/src/nsSVGGeometryFrame.cpp => layout/svg/nsSVGGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGGeometryFrame.h => layout/svg/nsSVGGeometryFrame.h
rename : layout/svg/base/src/nsSVGGlyphFrame.cpp => layout/svg/nsSVGGlyphFrame.cpp
rename : layout/svg/base/src/nsSVGGlyphFrame.h => layout/svg/nsSVGGlyphFrame.h
rename : layout/svg/base/src/nsSVGGradientFrame.cpp => layout/svg/nsSVGGradientFrame.cpp
rename : layout/svg/base/src/nsSVGGradientFrame.h => layout/svg/nsSVGGradientFrame.h
rename : layout/svg/base/src/nsSVGImageFrame.cpp => layout/svg/nsSVGImageFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.cpp => layout/svg/nsSVGInnerSVGFrame.cpp
rename : layout/svg/base/src/nsSVGInnerSVGFrame.h => layout/svg/nsSVGInnerSVGFrame.h
rename : layout/svg/base/src/nsSVGIntegrationUtils.cpp => layout/svg/nsSVGIntegrationUtils.cpp
rename : layout/svg/base/src/nsSVGIntegrationUtils.h => layout/svg/nsSVGIntegrationUtils.h
rename : layout/svg/base/src/nsSVGMarkerFrame.cpp => layout/svg/nsSVGMarkerFrame.cpp
rename : layout/svg/base/src/nsSVGMarkerFrame.h => layout/svg/nsSVGMarkerFrame.h
rename : layout/svg/base/src/nsSVGMaskFrame.cpp => layout/svg/nsSVGMaskFrame.cpp
rename : layout/svg/base/src/nsSVGMaskFrame.h => layout/svg/nsSVGMaskFrame.h
rename : layout/svg/base/src/nsSVGOuterSVGFrame.cpp => layout/svg/nsSVGOuterSVGFrame.cpp
rename : layout/svg/base/src/nsSVGOuterSVGFrame.h => layout/svg/nsSVGOuterSVGFrame.h
rename : layout/svg/base/src/nsSVGPaintServerFrame.cpp => layout/svg/nsSVGPaintServerFrame.cpp
rename : layout/svg/base/src/nsSVGPaintServerFrame.h => layout/svg/nsSVGPaintServerFrame.h
rename : layout/svg/base/src/nsSVGPathGeometryFrame.cpp => layout/svg/nsSVGPathGeometryFrame.cpp
rename : layout/svg/base/src/nsSVGPathGeometryFrame.h => layout/svg/nsSVGPathGeometryFrame.h
rename : layout/svg/base/src/nsSVGPatternFrame.cpp => layout/svg/nsSVGPatternFrame.cpp
rename : layout/svg/base/src/nsSVGPatternFrame.h => layout/svg/nsSVGPatternFrame.h
rename : layout/svg/base/src/nsSVGStopFrame.cpp => layout/svg/nsSVGStopFrame.cpp
rename : layout/svg/base/src/nsSVGSwitchFrame.cpp => layout/svg/nsSVGSwitchFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.cpp => layout/svg/nsSVGTSpanFrame.cpp
rename : layout/svg/base/src/nsSVGTSpanFrame.h => layout/svg/nsSVGTSpanFrame.h
rename : layout/svg/base/src/nsSVGTextContainerFrame.cpp => layout/svg/nsSVGTextContainerFrame.cpp
rename : layout/svg/base/src/nsSVGTextContainerFrame.h => layout/svg/nsSVGTextContainerFrame.h
rename : layout/svg/base/src/nsSVGTextFrame.cpp => layout/svg/nsSVGTextFrame.cpp
rename : layout/svg/base/src/nsSVGTextFrame.h => layout/svg/nsSVGTextFrame.h
rename : layout/svg/base/src/nsSVGTextPathFrame.cpp => layout/svg/nsSVGTextPathFrame.cpp
rename : layout/svg/base/src/nsSVGTextPathFrame.h => layout/svg/nsSVGTextPathFrame.h
rename : layout/svg/base/src/nsSVGUseFrame.cpp => layout/svg/nsSVGUseFrame.cpp
rename : layout/svg/base/src/nsSVGUtils.cpp => layout/svg/nsSVGUtils.cpp
rename : layout/svg/base/src/nsSVGUtils.h => layout/svg/nsSVGUtils.h
rename : layout/svg/base/src/resources/content/svgBindings.xml => layout/svg/resources/content/svgBindings.xml
rename : layout/svg/base/src/svg.css => layout/svg/svg.css
2012-09-24 23:01:21 +02:00
Ed Morley
dce1c2e5c4 Backout be95f234ff6e (bug 776832) for various mochitest-1 failures 2012-09-26 10:31:19 +01:00
Philipp von Weitershausen
7d83192a58 Bug 776832 - Add a scriptable API to assert app permissions of apps through messagemanager. r=smaug 2012-09-26 00:41:51 -07:00
Sid Stamm
c356d3cd85 Bug 768029 - Apply CSP Policy to trusted and certified apps. Temporarily using a overly permissive policy for certified apps until Gaia is updated to handle the desired policy. r=sicking Parts by sicking, r=mounir 2012-09-25 16:28:17 -07:00
Fabrice Desré
3fd41470ed Backout Bug 768029 because that breaks Gaia (see https://github.com/mozilla-b2g/gaia/issues/5177) 2012-09-25 15:32:20 -07:00
Sid Stamm
bc5dd19449 bug 768029 - Apply CSP Policy to trusted and certified apps. r=sicking. Parts by sicking, r=mounir. 2012-08-02 12:13:53 -07:00
Antonio Manuel Amaya Calvo
daa36ed6ea Bug 773886: Prevent loading resources from app:// URIs from outside that app. r=sicking 2012-09-25 12:33:01 -07:00
Fernando Rodríguez Sela
6a73fbe53d Bug 744700 - B2G 3G: Notify connection errors in the WebMobileConnection API (part 2), r=philikon 2012-09-25 12:22:38 -07:00
Tanvi Vyas
d1557809d5 Bug 792101 - security.mixed_content.block_active_content causes crash in nsMixedContentBlocker::ShouldLoad (r=smaug) 2012-09-25 10:51:51 -07:00
Honza Bambas
3581c481dc Bug 756717 - Implement 'appcache jar' for apps, r=tlee+jduell 2012-07-31 02:36:00 -04:00
Henri Sivonen
76b0ef2302 Test for bug 750096 - Make sure nsIParserUtils::parseFragment does not dereference <embed src=javascript:...>. r=bzbarsky. 2012-09-25 10:29:23 +03:00
Phil Ringnalda
59da0af0b1 Back out 8bd13443d0bc (bug 579517) to get a clean backout
--HG--
extra : rebase_source : 63c8087f0a6de5adeddb8762ff9e410b2b818e22
2012-09-24 21:21:10 -07:00
Ehsan Akhgari
3eee84e809 Bug 579517 follow-up: Remove NSPR types that crept in 2012-09-24 17:55:10 -04:00
Bobby Holley
5af5a73d3d Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Bobby Holley
c64d31c5e0 Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Boris Zbarsky
c1e1158cfc Bug 793196. Speed up hasAttribute string munging of the attr name. r=sicking 2012-09-22 22:04:54 -04:00
Diogo Golovanevsky Monteiro
88b8d85e57 Bug 784402 - Pointer Lock must respect iframe sandbox flag. r=smaug 2012-09-22 20:56:55 -04:00
Jim Mathies
9418b94d60 Bug 726615 - Completely remove MozTouch event support from mc. r=smaug 2012-09-22 14:28:08 -05:00
Ms2ger
de66b01c7b Bug 783878 - Followup: s/uint64/uint64_t/. 2012-09-22 18:40:28 +02:00
Josh Matthews
915f933a05 Bug 783878 - Part 1: Make nsXMLHttpRequest aware of the length of uploads. r=sicking 2012-09-19 18:15:32 -04:00
Matt Brubeck
e373b85e3b Bug 716575 (4/4) - Tests for GetViewportInfo [r=dbaron] 2012-09-10 18:53:24 -07:00
Matt Brubeck
65bfbbc8dc Bug 716575 (3/4) - Move viewport pixel ratio calculations into the platform [r=dbaron,jwir3,mfinkle,roc] 2012-08-22 13:18:10 -07:00
Matt Brubeck
7eeb4d9731 Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron] 2012-08-22 13:17:20 -07:00
Ray Cheung
655d78e09d Bug 779500 - WebFM, r=jlebar,glandium sr=jonas 2012-09-19 11:23:33 -04:00
David Zbarsky
f2068b3a62 Bug 779085 - Move attribute stuff from FragmentOrElement to nsGenericElement r=bz 2012-09-21 01:33:31 -04:00
Ryan VanderMeulen
c68f4714e3 Merge the last PGO-green inbound changeset to m-c. 2012-09-20 21:23:35 -04:00
Olli Pettay
d42bda961e Bug 787493, be more strict with refChild handling, r=bz 2012-09-20 19:13:09 +03:00
Ms2ger
5b4f3272e0 Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger
ab95b96a10 Bug 581198 - Remove xpcom/io from LOCAL_INCLUDES; r=ted 2012-09-20 09:55:36 +02:00
Ms2ger
7fec2d16ba Bug 744907 - Remove BlobBuilder; r=sicking 2012-09-20 09:55:36 +02:00
Boris Zbarsky
c658c872ec Bug 789856. Fire error events on <script> elements which completely fail to start the load. r=sicking 2012-09-18 23:24:27 -04:00
Ehsan Akhgari
c147ce1e22 Bug 788275 - Part 0: Make nsCORSListenerProxy's constructor not cause the object to be destroyed before it is constructed; r=bzbarsky
That is always a nice property to have!
2012-09-18 22:16:23 -04:00
Adam Dane [:hobophobe]
fe6d81410d Bug 87717 - Allow offline mode to connect to loopback r=mcmanus sr=cbiesinger 2012-09-17 18:45:10 -05:00
Ms2ger
b5b8581306 Merge m-c to m-i. 2012-09-20 13:25:53 +02:00
Julian Viereck
56e5c43389 Bug 468568. Main patch: support downloading fonts in printing and print preview. r=smaug
--HG--
extra : rebase_source : 2fbaef2896d218e6900449c9510fc867419eac30
2012-09-04 16:29:27 +03:00
Ehsan Akhgari
7ca99de7bd Bug 791367 - nsDOMFileReader::ReadFileContent opens a channel without associating it with a load group; r=smaug,khuey 2012-09-17 11:24:39 -04:00
Masatoshi Kimura
e2fd8cc656 Bug 791001 - Create an empty dummy builder in OnStopRequest if builder is null. r=smaug 2012-09-17 18:42:36 -04:00
Koosha Khajeh Moogahi
e98cd6bf45 Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Matt Brubeck
2752ed5097 Back out ae2e45d25a1a, 4f144a06d0cc, 2e80be1d7d18 (bug 716575) for Android Talos red 2012-09-17 11:11:30 -07:00
Matt Brubeck
8b54bf7125 Bug 716575 (4/4) - Tests for GetViewportInfo [r=dbaron]
--HG--
extra : rebase_source : 906250f6fbe6ad8cf5e173f7f0e7622b2d75c1b3
2012-09-10 18:53:24 -07:00
Matt Brubeck
e9300672dd Bug 716575 (3/4) - Move viewport pixel ratio calculations into the platform [r=dbaron,jwir3,mfinkle,roc]
--HG--
extra : rebase_source : c7c6f09e5232f609c81f7ab418940c146d1b82c6
2012-08-22 13:18:10 -07:00
Matt Brubeck
40eb8ac227 Bug 716575 (1/4) - Add a scriptable interface to GetViewportInfo [r=dbaron]
--HG--
extra : rebase_source : be8a0dca63bb11418dfe9adf08c4717f8059146b
2012-08-22 13:17:20 -07:00
Peter Van der Beken
d21c8a19b6 Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
--HG--
extra : rebase_source : 18e21a786b6a9cc2aeada52ba5ca3a2614cb596b
2012-09-05 22:49:53 +02:00
Peter Van der Beken
73a519e185 Fix for bug 788532 (Add the new DOM bindings API to DOM lists) - Rename nsIDOMHTMLCollection::GetNodeAt to GetElementAt. r=bz.
--HG--
extra : rebase_source : 9bd26842a548580b7ea90a29d2fdba8629a70ef7
2012-09-05 17:42:58 +02:00
Gina Yeh
2174db4cb5 Bug 790133 - Final version: Fire devicecreated event with a BluetoothDevice, r=qdot, sr=mrbkap 2012-09-17 14:39:47 +08:00
Eric Chou
d1db99fdc1 Backout 5796eacef43c (bug 790133) for B2G compilation failures again 2012-09-17 14:15:12 +08:00
Gina Yeh
1110893113 Bug 790133 - Final version: Fire devicecreated event with a BluetoothDevice, r=qdot, sr=mrbkap 2012-09-17 13:50:40 +08:00
Tanvi Vyas
595ac1b255 Bug 62178 - Mochitest - iframe, stylesheet, object, script, image, media, xhr (Disabled on android until ssl is supported), r=smaug 2012-09-16 20:53:01 -07:00
Brandon Sterne
645e9f00e1 Bug 62178 - implement mixed content blocker, r=smaug 2012-09-16 20:49:43 -07:00
Phil Ringnalda
4fa9c4af7a Back out 8e4817a15420 (bug 791284) for debug xpcshell failure 2012-09-16 18:03:59 -07:00