Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. If firefox is "not chromium base" why does it have the chromium source code?

If firefox is "not chromium base" why does it have the chromium source code?

Scheduled Pinned Locked Moved The Lounge
questionhtmlsecurity
9 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Memtha
    wrote on last edited by
    #1

    [link to firefox source search](https://searchfox.org/mozilla-central/search?q=chromium&path=) At first pass it looks to me like chromium (ipc/chromium/src) is used for some/all extensions, presumably to support browser extensions designed for chrome. The media handler for gmp (whatever that is) (at dom/media/gmp) seems to use a chrome extension to render gmp media. Then there's security/sandbox/chromium which I guess is for some kind of compatibility mode. If firefox uses chromium automatically even for just a subset of media/pages, how can it claim to not be based on chromium?

    D L 2 Replies Last reply
    0
    • M Memtha

      [link to firefox source search](https://searchfox.org/mozilla-central/search?q=chromium&path=) At first pass it looks to me like chromium (ipc/chromium/src) is used for some/all extensions, presumably to support browser extensions designed for chrome. The media handler for gmp (whatever that is) (at dom/media/gmp) seems to use a chrome extension to render gmp media. Then there's security/sandbox/chromium which I guess is for some kind of compatibility mode. If firefox uses chromium automatically even for just a subset of media/pages, how can it claim to not be based on chromium?

      D Offline
      D Offline
      den2k88
      wrote on last edited by
      #2

      Memtha wrote:

      If firefox uses chromium automatically even for just a subset of media/pages, how can it claim to not be based on chromium?

      To use something =/= being based on something. You do (I assume) use a smartphone, are you based on a smartphone?

      GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

      D M 2 Replies Last reply
      0
      • D den2k88

        Memtha wrote:

        If firefox uses chromium automatically even for just a subset of media/pages, how can it claim to not be based on chromium?

        To use something =/= being based on something. You do (I assume) use a smartphone, are you based on a smartphone?

        GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        den2k88 wrote:

        ...are you based on a smartphone?

        With some of the idiots walking around today physically unseparated from their device, it's sometimes very hard to make the distinction.

        "One man's wage rise is another man's price increase." - Harold Wilson

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

        1 Reply Last reply
        0
        • D den2k88

          Memtha wrote:

          If firefox uses chromium automatically even for just a subset of media/pages, how can it claim to not be based on chromium?

          To use something =/= being based on something. You do (I assume) use a smartphone, are you based on a smartphone?

          GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

          M Offline
          M Offline
          Memtha
          wrote on last edited by
          #4

          firefox and chrome are both software, made of the same basic elements for the same express purpose. "Using" a smartphone, having it in my hand and pushing buttons, does not at all equate to one piece of software "using" another piece of software by engulfing it. "Based on" in this context is software jargon that does not really apply to anything biological or anything at all other than software and maybe literary works. If you found a book (A) that contains another book (B) in its entirety, would you not say that A "is based on" B? Maybe A is a compilation of dozens of books so you could say that it is based equally on all the books it contains, no?

          J 1 Reply Last reply
          0
          • M Memtha

            firefox and chrome are both software, made of the same basic elements for the same express purpose. "Using" a smartphone, having it in my hand and pushing buttons, does not at all equate to one piece of software "using" another piece of software by engulfing it. "Based on" in this context is software jargon that does not really apply to anything biological or anything at all other than software and maybe literary works. If you found a book (A) that contains another book (B) in its entirety, would you not say that A "is based on" B? Maybe A is a compilation of dozens of books so you could say that it is based equally on all the books it contains, no?

            J Offline
            J Offline
            Jon McKee
            wrote on last edited by
            #5

            Memtha wrote:

            If you found a book (A) that contains another book (B) in its entirety, would you not say that A "is based on" B?

            What if A only contains B as a story a character is telling another character? Then B is just an element of A and A wouldn't be based on B. Or what about log4j? All software that uses log4j isn't based on log4j. Personally I think if something is based on something else it means that the majority of the functionality can be directly or indirectly traced back to that something else. Like in an Angular app, everything can be traced back to a template, component, injector, directive, service, etc since everything runs on top of Angular - therefore an Angular app is based on Angular. In that respect I think den's analogy makes sense - it's pointing out there's a difference between using something and being based on something. Just my 2 cents :-D

            M 1 Reply Last reply
            0
            • J Jon McKee

              Memtha wrote:

              If you found a book (A) that contains another book (B) in its entirety, would you not say that A "is based on" B?

              What if A only contains B as a story a character is telling another character? Then B is just an element of A and A wouldn't be based on B. Or what about log4j? All software that uses log4j isn't based on log4j. Personally I think if something is based on something else it means that the majority of the functionality can be directly or indirectly traced back to that something else. Like in an Angular app, everything can be traced back to a template, component, injector, directive, service, etc since everything runs on top of Angular - therefore an Angular app is based on Angular. In that respect I think den's analogy makes sense - it's pointing out there's a difference between using something and being based on something. Just my 2 cents :-D

              M Offline
              M Offline
              Memtha
              wrote on last edited by
              #6

              I don't disagree, but by that definition chrome isn't fully based on chromium either because rendering is a relatively small part of what a browser does.

              J 1 Reply Last reply
              0
              • M Memtha

                [link to firefox source search](https://searchfox.org/mozilla-central/search?q=chromium&path=) At first pass it looks to me like chromium (ipc/chromium/src) is used for some/all extensions, presumably to support browser extensions designed for chrome. The media handler for gmp (whatever that is) (at dom/media/gmp) seems to use a chrome extension to render gmp media. Then there's security/sandbox/chromium which I guess is for some kind of compatibility mode. If firefox uses chromium automatically even for just a subset of media/pages, how can it claim to not be based on chromium?

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #7

                Well, What you are looking at there is part of the new RLBox sandbox implementation. It was presented a few years ago at usenix[^]. Mozilla is now using the same IPC techniques as Chromium to pass data between rendering, layout engine and logger processes. IPC over named pipes. Yep, some of that code was lifted from chromium.

                M 1 Reply Last reply
                0
                • L Lost User

                  Well, What you are looking at there is part of the new RLBox sandbox implementation. It was presented a few years ago at usenix[^]. Mozilla is now using the same IPC techniques as Chromium to pass data between rendering, layout engine and logger processes. IPC over named pipes. Yep, some of that code was lifted from chromium.

                  M Offline
                  M Offline
                  Memtha
                  wrote on last edited by
                  #8

                  cool, so the present rendering implementation is dependent on chromium code, even if the quantity of that code is relatively small, it is part of the core.

                  1 Reply Last reply
                  0
                  • M Memtha

                    I don't disagree, but by that definition chrome isn't fully based on chromium either because rendering is a relatively small part of what a browser does.

                    J Offline
                    J Offline
                    Jon McKee
                    wrote on last edited by
                    #9

                    Fair enough. I went on the Chromium description which says "Chromium is a free and open-source web browser project, principally developed and maintained by Google. This codebase provides the vast majority of code for the Google Chrome browser, which is proprietary software and has some additional features." I don't have the code-base knowledge to disagree with that statement so I went with it.

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups