Граф коммитов

6315 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini 9d30f59efd Bug 1077393 - Rename ScalarValueString to USVString. r=smaug
--HG--
rename : dom/bindings/parser/tests/test_scalarvaluestring.py => dom/bindings/parser/tests/test_usvstring.py
rename : dom/bindings/test/test_scalarvaluestring.html => dom/bindings/test/test_usvstring.html
2014-11-20 12:58:00 +01:00
Karl Tomlinson 70ad9ee0ee bug 1096132 rename nsDeviceContext PixelScale to FullZoom r=tn
--HG--
extra : rebase_source : b78ffe7ffddf47a9646c1766626f48aed67ebb09
2014-11-10 15:47:55 +13:00
Mats Palmgren 994ddfd821 Bug 907396 - Frame manager support for display:contents. r=bzbarsky 2014-11-20 18:24:09 +00:00
Andrea Marchesini 8c8896cc60 Bug 1101584 - sContentUtils::GetUTFOrigin should check if the URI has the nsIURIWithPrincipal interface, r=bz, r=smaug 2014-11-19 11:40:00 +01:00
Wes Kocher 31d7407a86 Backed out changeset 8e604ebfc313 (bug 1101584) for m-oth failures on a CLOSED TREE 2014-11-19 12:07:15 -08:00
Boris Zbarsky d474b181de Bug 771043. Move MediaQueryList tracking from the prescontext to the document, so they will correctly outlive prescontext changes. r=dbaron 2014-10-03 14:15:25 -04:00
Andrea Marchesini 1b30cdcc5c Bug 1101584 - sContentUtils::GetUTFOrigin should check if the URI has the nsIURIWithPrincipal interface, r=bz 2014-11-19 16:32:47 +00:00
Connor 2d96083f3d Bug 1045100 - This is 1 of 2 patches. This patch replaces the custom "PluginCrashed" event with "PluginCrashedEvent." The "PluginCrashedEvent" is a a WebIDL binding. r=smaug r=gfritzsche 2014-10-21 23:40:12 -04:00
Carsten "Tomcat" Book 336a2bda13 merge fx-team to mozilla-central a=merge 2014-11-19 13:43:59 +01:00
Lebedev Maksim 74e49d7ff3 Bug 1098139 - Add attribute isPrimary detection for got/lostpointercapture events. r=smaug 2014-11-18 01:13:00 +01:00
Tom Tromey 986dfd2fd6 Bug 1069661 - add "detail" to timeline markers. r=smaug 2014-11-18 14:39:00 +01:00
David Zbarsky 856e7191b0 Bug 1089811 - remove nsIDOMGlobalObjectConstructor because it is dead code r=bz 2014-11-19 02:48:22 -05:00
Boris Zbarsky 67d7197390 Bug 1100579 part 1. Remove the overloads of JS::Evaluate that don't take an rval mutable handle, and control the behavior via the JS::CompileOptions instead. r=waldo,bholley 2014-11-18 23:27:16 -05:00
Tom Schuster 127a42b89f Bug 1091900 - Make GetIterator and others take an object as outparam. r=efaust 2014-11-19 01:44:03 +01:00
Bill McCloskey 62af1a5643 Bug 1092156 - [e10s] Don't use compartment-per-addon if window already associated with add-on (r=bholley) 2014-11-18 16:20:59 -08:00
Chris Pearce bf9df9f607 Bug 1095257 - Implement Navigator.requestMediaKeySystemAccess(). r=edwin r=bz r=peterv 2014-11-18 22:13:02 +13:00
Terrence Cole 2f1ff488e3 Bug 1098074 - Part 3: Add a test to ensure that our error path works correctly; r=bholley
--HG--
extra : rebase_source : b00de637020027f77434e37f0436ae489a6b7c78
2014-11-13 14:44:09 -08:00
Terrence Cole 67a1471c72 Bug 1098074 - Part 2: Improve error handling in nsFrameMessageManager::ReceiveMessage; r=bholley
--HG--
extra : rebase_source : be00ff9778ae41310ba0ca98dfd082cc1109afa7
2014-11-12 16:59:20 -08:00
Terrence Cole e211ebf6cc Bug 1098074 - Part 1: Use AutoJSAPI to report JS errors in nsFrameMessageManager; r=bholley
--HG--
extra : rebase_source : c61375bb851385e6e859b85ee97293ebf12e77ce
2014-11-12 16:48:51 -08:00
Boris Zbarsky 9604d3f7a4 Bug 1100580 part 2. Get rid of EvaluateOptions::needResult, since we can use JS::CompileOptions::noScriptRval (with the opposite meaning, but same default behavior) for this purpose. r=bholley 2014-11-18 11:01:09 -05:00
Boris Zbarsky 145c29fee6 Bug 1100580 part 1. Drop support for having an off-thread compilation token and wanting a script rval from nsJSUtils::EvaluateString, since we never need that in practice. r=bholley 2014-11-18 11:01:08 -05:00
Sid Stamm 8e8b8c25f8 Bug 704320 - Tests for meta referrer policy whitespace trimming and invalid policies. (r=bz) 2014-11-18 08:47:31 -05:00
Sid Stamm a40721427c Bug 704320 - Add tests for whether preloaded resources can be reused after script-added meta referrer policy is added to a document. (r=bz) 2014-11-18 08:47:26 -05:00
Owen Chu 97f0aa29c2 Bug 704320 - Referrer policy support in nsSyncLoadService. (r=peterv) 2014-11-18 08:47:20 -05:00
Sid Stamm 63f8cd4e13 Bug 704320 - Add referrer policy support for nsIWebBrowserPersist and its consumers. (r=jst) 2014-11-18 08:47:14 -05:00
Sid Stamm 25bb9cab21 Bug 704320 - enable meta referrer policies for object loads. (r=jst) 2014-11-18 08:47:08 -05:00
Sid Stamm 00f65acbf1 Bug 704320 - content/dom changes for meta referrer support. (r=jst)
This enables referrer policies for:
- EventSource         (content/base/src/EventSource)
- XMLHttpRequest      (content/base/src/nsXMLHttpRequest)
- HTML media elements (content/html/content/src/HTMLMediaElement)
- window.open         (embedding/components/windowwatcher)
- window.location     (dom/base/nsLocation)
2014-11-18 08:47:03 -05:00
Sid Stamm 55e3ccdad7 Bug 704320 - apply referrer policies to image loads (r=seth) 2014-11-18 08:46:53 -05:00
Sid Stamm 7235c3b5b2 Bug 704320 - Add referrer policy support to stylesheet and CSS loads and fonts. (r=bz) 2014-11-18 08:46:47 -05:00
Sid Stamm 3baf35af3d Bug 704320 - Implement referrer policy support for script loads. (r=jst) 2014-11-18 08:46:43 -05:00
Owen Chu 50259ae67d Bug 704320 - Parse and implement meta tag-based referrer policies for documents and nsHttpChannels. (r=bz,mcmanus) 2014-11-18 08:46:29 -05:00
Owen Chu 942fa49814 Bug 704320 - Add tests for meta referrer implementation (r=bz) 2014-11-18 08:45:23 -05:00
Francois Marier 0961f54fdb Bug 529697 - (CSP 1.1) Implement form-action directive [4/4], r=ckerschb
Add mochitests for the form-action CSP directive.
2014-11-18 01:13:00 +01:00
Carsten "Tomcat" Book 217db26a63 Backed out changeset 7fa6291d952d (bug 1095257) for suspicion of causing jit tests 2014-11-18 13:14:36 +01:00
Chris Pearce 20def217dc Bug 1095257 - Implement Navigator.requestMediaKeySystemAccess(). r=edwin r=bz r=peterv 2014-11-18 22:13:02 +13:00
Shih-Chiang Chien d88351efcf Bug 1094531 - make nsNodeInfoManager skippable. r=smaug. 2014-11-17 13:04:00 +01:00
Wellington Fernando de Macedo 05f7deed13 Bug 831392 - Server sent events, no reconnection. r=honzab 2014-11-08 12:51:38 -02:00
Chris Pearce 84765b7b57 Bug 1095257 - backout 54f79521758b due to m3 failures. r=backout r=bz 2014-11-18 19:49:13 +13:00
Chris Pearce c454eb7220 Bug 1095257 - Implement Navigator.requestMediaKeySystemAccess(). r=edwin r=bz 2014-11-18 17:20:02 +13:00
Seth Fowler a886c715d8 Bug 1098202 (Part 1) - Rename imgINotificationObserver handlers to be consistent with the notifications they handle. r=tn
--HG--
extra : rebase_source : 991d277afba4826ed403b74bbcbb9408b3dac0cc
2014-11-17 14:29:56 -08:00
Terrence Cole e22128b208 Bug 1099278 - Update nsGlobalWindow's StoreInSlot users to use a better error contract; r=bz
--HG--
extra : rebase_source : 7dd2ec19526925edfee8d819d99b7f892a0adbbb
2014-11-14 16:54:10 -08:00
Terrence Cole df4c5ce286 Bug 1099287 - Remove the unused nsJSContext::ReportPendingException; r=bholley
--HG--
extra : rebase_source : 5bd2dd41b5687632af5380a241ab683e1de8bc41
2014-11-14 14:58:58 -08:00
Gabor Krizsanits 84831ee6e1 Bug 1094930 - part2: init LifecycleCallbacks in the caller compartment. r=bz 2014-11-17 14:04:28 +01:00
Gabor Krizsanits 4e773fc696 Bug 1094930 - Allow registerElement to take protos from other scopes. r=bz 2014-11-17 14:04:27 +01:00
Glenn Randers-Pehrson af6365f04f Bug 991149 - Improve image/* source compliance with Mozilla Coding Style. r=seth 2014-11-14 12:59:00 -05:00
Blake Kaplan 68135a1e55 Bug 1098666 - Don't crash when getting this through CPOWs. r=billm 2014-11-14 14:41:59 -08:00
Cameron McCormack 2c2626a679 Bug 1089463 - Clear an element's restyle bits when inserting into a shadow tree. r=bzbarsky 2014-11-15 09:08:21 +11:00
Christoph Kerschbaumer d5cbc137e2 Bug 1083422 - Add triggering Principal to nsILoadInfo - update callsites (r=bz,sicking) 2014-11-14 08:56:55 -08:00
Gabor Krizsanits dbcc1f28d5 Bug 1081038 - part2: Removing nsAutoMicroTask where we have AutoEntryScript. r=bholley 2014-11-14 16:46:26 +01:00
Gabor Krizsanits 172768a8cc Bug 1081038 - part1: Microtask in AutoEntryScript. r=bholley 2014-11-14 16:46:26 +01:00
Tom Schuster 12ee966a97 Bug 783829 - Rename Proxy enumerate trap to getEnumerablePropertyKeys. r=efaust 2014-11-14 16:21:12 +01:00
Kartikaya Gupta 8ac2ff1bb6 Bug 1072498 - Collapse the dom.browser_frames.useAsyncPanZoom pref into layers.async-pan-zoom.enabled. r=fabrice 2014-11-14 07:42:24 -05:00
Steve Fink bcb05bd4d2 Bug 1053999 - Conservative stack check should assume untrusted code, r=bholley
--HG--
extra : rebase_source : f363a8bc1c2f78e9ab47538cdcf8669275a73cb0
2014-11-13 12:23:11 -08:00
David Major 8e8ab01583 Bug 1078674: Add dummy method to nsIDOMNode to preserve FF34 vtable offsets. r=bz -- Re-land with correct bug number DONTBUILD
--HG--
extra : rebase_source : ddd35c35bb5d32e5b5fe68d5dc41eeb31a2ccb26
2014-11-14 10:32:24 +13:00
David Major 71f6d3cce4 Backed out changeset a03d97422b73 to re-land with correct bug number. DONTBUILD
--HG--
extra : rebase_source : bc48165bcabfdcc53175db9d6409093e86a12e86
2014-11-14 10:41:36 +13:00
David Major 5ece76f4e8 Bug 1078764: Add dummy method to nsIDOMNode to preserve FF34 vtable offsets. r=bz
--HG--
extra : rebase_source : 97f0c61140ac4600ab6f6e038d50240a7d476c8c
2014-11-14 10:32:24 +13:00
Kannan Vijayan 4ac6dd569f Bug 1050774 - Record script execution in timeline view. r=bholley 2014-11-13 16:22:24 -05:00
Ryan VanderMeulen ac429e815e Merge m-c to inbound. a=merge 2014-11-13 15:47:16 -05:00
Ryan VanderMeulen 28c2fca375 Merge fx-team to m-c. a=merge 2014-11-13 15:40:39 -05:00
Bobby Holley 45f6e7dcb0 Bug 984467 - Remove current inner fallback in CallerInnerWindow. r=bz 2014-11-13 11:13:37 -08:00
Bobby Holley 379ce8fe49 Bug 1092388 - Remove now-unnecessary nsGlobalWindow::CallerGlobal. r=bz 2014-11-13 11:13:37 -08:00
Bobby Holley 32aeec5df6 Bug 1092388 - Clamp the entry and incumbent global to the current global if their principals don't match. r=bz 2014-11-13 11:13:36 -08:00
Benoit Girard aa2eeb8ec1 Bug 1094442 - Part 1: Refactor how tile w/h is queried r=kats
--HG--
extra : rebase_source : 70ef00318a718e2ce3149955d2908615d6125cf3
2014-11-12 17:54:29 -05:00
Olli Pettay f82ed0c20b Bug 1097302, increase the number of major forget skippables, r=mccr8
--HG--
extra : rebase_source : b465ff26006f688cb76d0f3bfe0ed1a564081992
2014-11-12 21:33:50 +02:00
Andrew McCreight c8382f50c3 Bug 1018397 - Start an ICC timer even if ICC is globally disabled. r=smaug 2014-11-13 07:11:55 -08:00
Andrew McCreight 4d45062daf Bug 868139 - Don't redo unmarking work in nsGlobalWindow::CanSkip if we already did it. r=smaug
This causes quadratic behavior in forgetSkippable when there are many timeouts.

To avoid this, we mark the CC generation of the last time we ran CanSkip on the window,
and don't do it again if it hasn't changed.
2014-11-13 07:11:55 -08:00
Andrew McCreight 6bdc5e8dd6 Bug 1098070 - Remove trailing whitespace from nsCCUncollectableMarker.cpp. r=smaug 2014-11-13 07:11:54 -08:00
Botond Ballo c854025367 Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
This makes APZ behave nicely with most uses of a css transform:scale.

Summary of changes:
  - FrameMetrics::mCumulativeResolution now includes the css-driven resolution
    in addition to the pres-shell resolution.
  - Displayports are now stored in Screen pixels rather than Layer pixels.
    This is what we want anyways (as we'd like the displayport size to remain
    constant as a fraction of the screen size), but it was necessary to make
    this change as part of this patch because continuing to store them in
    Layer pixels in the presence of a css-driven resolution would have
    required a bunch of infrastructure to implement correctly.

Remaining work:
  - Layout painting a scrollable layer at a resolution different from the
    scale induced by the css transform causes problems. These will go away
    with bug 1076192.
  - Different resolutions on the x and y axes are not supported. This is
    tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Gijs Kruitbosch e62dfd0026 Bug 989947 - disable popups during modal alerts on OS X, r=bz 2014-11-12 17:05:29 +00:00
Boris Zbarsky e25768cbf9 Bug 1095660 part 5. Change nsJSUtils::EvaluateString to take an explicit scope chain. r=bholley 2014-11-12 17:04:29 -05:00
Jim Mathies 6f6e8ef4e9 Bug 669200 - Various changes to non-ipc related plugin code to facilitate remoting windowed plugin widgets in content. r=roc 2014-11-12 14:59:20 -06:00
Olli Pettay a668b2bafc Bug 1097240 - 5ms iCC slice, r=mccr8
--HG--
extra : rebase_source : ed97d58be65d21954d675f65e46ed45d151bb6a0
2014-11-12 19:28:51 +02:00
Carsten "Tomcat" Book 09b74a8b4d Backed out changeset 53e23b1b3642 (bug 1092450) for test bustage 2014-11-12 11:19:26 +01:00
David Anderson 35584ea8f5 Put meta viewport support behind a pref (bug 1092450, r=kats).
--HG--
extra : rebase_source : 888513255b2d672643beb9933ebb67ac6a2452ca
2014-11-12 00:15:40 -08:00
David Major 5b3f9cf5f2 Bug 1097283: Fix count/byte mismatches in NS_ABORT_OOM calls. r=froydnj
--HG--
extra : rebase_source : a9f4ae9e6f05e5ade56b741fa2f110974c5f08ac
2014-11-12 21:13:44 +13:00
David Major eb013f5d4d Backed out changeset 8a4595cc5ec4 for Linux build failure on a CLOESD TREE
just kidding it's a CLOSED TREE

--HG--
extra : rebase_source : 163a9bff0ad836095057d5911b792c34517d14cc
2014-11-12 17:19:15 +13:00
David Major 71f98009f0 Bug 1097283: Fix count/byte mismatches in NS_ABORT_OOM calls. r=froydnj
--HG--
extra : rebase_source : b24e0b9d2e491ace3c045ee6b01e36b33c3ac21d
2014-11-12 15:42:53 +13:00
Karl Tomlinson a3ba9b4cb5 backout bug 1096132 for Mac build failure
--HG--
extra : rebase_source : 6994fe50e8fb1a4f89298e1b9ad1c714acdfe39e
2014-11-12 16:02:34 +13:00
Karl Tomlinson 4b1c0e2e81 bug 1096132 rename nsDeviceContext PixelScale to FullZoom r=tn
--HG--
extra : rebase_source : 06d57772b2dc04d606b3d98517085aeb817ae0e8
2014-11-10 15:47:55 +13:00
Luke Wagner 176eac56f4 Bug 1087178 - OdinMonkey: explain why 'not stored in cache' (r=bbouvier,janv)
--HG--
extra : rebase_source : d37893913a09d5a5b339e4ae4ee42f873d449d1e
2014-10-22 17:28:07 -05:00
Andrew McCreight a867a9b9fa Bug 1030667 - Don't pass 0 to realloc in ArrayBufferBuilder::setCapacity. r=sfink 2014-11-11 17:47:14 -05:00
Andrea Marchesini 0591f6d37c Bug 1089328 - Race condition in WebSocket when Workers are terminated. r=smaug 2014-11-11 17:47:13 -05:00
Christoph Kerschbaumer ea908adf75 Bug 1089912: Part 2, move mixedcontentblocker into dom/security (r=tanvi,jst)
--HG--
rename : dom/base/nsMixedContentBlocker.cpp => dom/security/nsMixedContentBlocker.cpp
rename : dom/base/nsMixedContentBlocker.h => dom/security/nsMixedContentBlocker.h
2014-10-28 09:44:11 -07:00
Christoph Kerschbaumer ab97bec4cb Bug 1089912: Part 1, move csp into dom/security (r=sstamm,jst)
--HG--
rename : dom/base/nsIContentSecurityPolicy.idl => dom/interfaces/security/nsIContentSecurityPolicy.idl
rename : dom/base/nsCSPContext.cpp => dom/security/nsCSPContext.cpp
rename : dom/base/nsCSPContext.h => dom/security/nsCSPContext.h
rename : dom/base/nsCSPParser.cpp => dom/security/nsCSPParser.cpp
rename : dom/base/nsCSPParser.h => dom/security/nsCSPParser.h
rename : dom/base/nsCSPService.cpp => dom/security/nsCSPService.cpp
rename : dom/base/nsCSPService.h => dom/security/nsCSPService.h
rename : dom/base/nsCSPUtils.cpp => dom/security/nsCSPUtils.cpp
rename : dom/base/nsCSPUtils.h => dom/security/nsCSPUtils.h
2014-10-27 16:58:20 -07:00
Christoph Kerschbaumer 697cd1d03c Bug 1086619 - Combine all mixed content blocker mochitests in one directory (r=tanvi,jst)
--HG--
rename : dom/base/test/bug803225_test_mailto.html => dom/base/test/mixedcontentblocker/bug803225_test_mailto.html
rename : dom/base/test/file_mixed_content_frameNavigation.html => dom/base/test/mixedcontentblocker/file_mixed_content_frameNavigation.html
rename : dom/base/test/file_mixed_content_frameNavigation_blankTarget.html => dom/base/test/mixedcontentblocker/file_mixed_content_frameNavigation_blankTarget.html
rename : dom/base/test/file_mixed_content_frameNavigation_grandchild.html => dom/base/test/mixedcontentblocker/file_mixed_content_frameNavigation_grandchild.html
rename : dom/base/test/file_mixed_content_frameNavigation_innermost.html => dom/base/test/mixedcontentblocker/file_mixed_content_frameNavigation_innermost.html
rename : dom/base/test/file_mixed_content_frameNavigation_secure.html => dom/base/test/mixedcontentblocker/file_mixed_content_frameNavigation_secure.html
rename : dom/base/test/file_mixed_content_frameNavigation_secure_grandchild.html => dom/base/test/mixedcontentblocker/file_mixed_content_frameNavigation_secure_grandchild.html
rename : dom/base/test/file_mixed_content_main.html => dom/base/test/mixedcontentblocker/file_mixed_content_main.html
rename : dom/base/test/file_mixed_content_main_bug803225.html => dom/base/test/mixedcontentblocker/file_mixed_content_main_bug803225.html
rename : dom/base/test/file_mixed_content_main_bug803225_websocket_wsh.py => dom/base/test/mixedcontentblocker/file_mixed_content_main_bug803225_websocket_wsh.py
rename : dom/base/test/file_mixed_content_server.sjs => dom/base/test/mixedcontentblocker/file_mixed_content_server.sjs
rename : dom/base/test/test_mixed_content_blocker.html => dom/base/test/mixedcontentblocker/test_mixed_content_blocker.html
rename : dom/base/test/test_mixed_content_blocker_bug803225.html => dom/base/test/mixedcontentblocker/test_mixed_content_blocker_bug803225.html
rename : dom/base/test/test_mixed_content_blocker_frameNavigation.html => dom/base/test/mixedcontentblocker/test_mixed_content_blocker_frameNavigation.html
2014-10-28 11:19:21 -07:00
Christoph Kerschbaumer 05c89cfccf Bug 1096396 - CSP: Fix test_connect-src by adding return after SimpleTest.finish() (r=dveditz) 2014-11-10 08:51:39 -08:00
Christoph Kerschbaumer 10bf435a37 Bug 826805 - CSP: Allow http and https for scheme-less sources, tests (r=dveditz) 2014-11-05 20:46:41 -08:00
Christoph Kerschbaumer 0e8197c00f Bug 826805 - CSP: Allow http and https for scheme-less sources (r=dveditz) 2014-11-05 17:45:54 -08:00
Andrea Marchesini 3cdd90a43f Bug 1081453 - SessionHistory should not keep alive the DOM file objects, r=smaug 2014-11-11 17:13:50 +00:00
Olli Pettay 52b9b1f74d Bug 1096263 - XMLHttpRequest.send({}) should not throw, tests, r=bz 2014-11-11 13:41:20 +02:00
Olli Pettay 90482773b2 Bug 1096263 - XMLHttpRequest.send({}) should not throw, r=bz 2014-11-11 13:40:45 +02:00
Mats Palmgren b4f43a55d9 Bug 1013211 - Use the final resource URI after redirects etc as the source URI when dragging an image. r=roc 2014-11-10 22:06:24 +00:00
Carsten "Tomcat" Book 5c316db062 Backed out changeset 41536afea9b3 (bug 1060529) for frequent bc-1 test failures 2014-11-10 10:10:11 +01:00
Carsten "Tomcat" Book de5cc93c0a Backed out changeset a84fe0cefd77 (bug 1060529) 2014-11-10 10:09:50 +01:00
Emanuel Hoogeveen fbc3e91445 Bug 1084651 - Part 5: Simplify Cycle Collector logic now that SliceBudget makes more sense. r=mccr8 2014-11-06 10:14:00 +01:00
Carsten "Tomcat" Book d0efa48997 Backed out changeset 936504af8ef1 (bug 826805) for m1 test failures 2014-11-10 08:18:09 +01:00
Carsten "Tomcat" Book a762183c1e Backed out changeset 06a8a827447d (bug 826805) 2014-11-10 08:17:53 +01:00
Christoph Kerschbaumer 962d79022c Bug 826805 - CSP: Allow http and https for scheme-less sources, tests (r=dveditz) 2014-11-05 20:46:41 -08:00
Christoph Kerschbaumer cc2c6a3d27 Bug 826805 - CSP: Allow http and https for scheme-less sources (r=dveditz) 2014-11-05 17:45:54 -08:00
Neil Deakin c734efe679 Bug 1060529, send the enabled state of child process commands to the parent on update, r=smaug,ehsan 2014-11-07 15:47:39 -05:00