Skip to content
Commits on May 4, 2016
  1. @yuyokk @domenic
  2. @annevk @domenic
  3. @annevk @domenic

    Make HashChangeEvent members default to the empty string

    annevk committed with domenic May 4, 2016
    Null does not make sense since they are not nullable. Fixes #1178.
  4. @domenic

    Fix the owner document for all element constructors

    domenic committed May 2, 2016
    Fixes #1154, which originally covered only the undefined "document"
    variable in the HTMLElement constructor, but expanded on further
    investigation to reveal that the spec's current choice of node document
    for Audio, Image, and Option was strange and not implemented in
    browsers.
    
    While there, cleans up all three of these named constructors to
    correctly use "create an element," and to be in numbered algorithm form
    instead of giant-prose-block form; also gives the HTMLElement constructor
    its own <dfn> and inline some of its steps.
Commits on May 3, 2016
  1. @annevk @domenic

    Regression fix: define source browsing context for iframe and frame

    annevk committed with domenic May 3, 2016
    1490eba, from PR #484, removed the
    source browsing context definition while removing the "explicit
    self-navigation override". This restores the definition of source
    browsing context for these elements as it was before that commit.
    
    This fixes #1131, but note that per #1130 further changes are
    required here, as browsing contexts are not a good concept to use as
    source.
  2. @domenic
  3. @domenic @annevk

    Editorial: fix some "environment settings object" links (#1170)

    domenic committed with annevk May 3, 2016
    "settings object" links to a property of scripts; the actual concept is "environment settings object".
Commits on May 2, 2016
  1. @domenic

    Add a new section detailing the various potential realms

    domenic committed May 2, 2016
    This adds a new section under scripts detailing the entry, incumbent,
    current, and relevant concepts with regard to realms/global objects/
    environment settings objects. This centralizes information that was
    previously somewhat spread out, and adds lots of details, as well as
    an example.
    
    This takes care of some of the pain points noted in #473, in particular
    fixing the definition of entry settings object to be more clearly
    defined in terms of the JavaScript execution context stack. There is
    still some work to do in that issue: namely, updating Web IDL with
    regard to tracking the entry settings object, and also making sure that
    incumbent settings object is correctly defined.
    
    This closes #167 by finally implementing the plan in
    #167 (comment) for
    making the correspondences clear.
  2. @annevk @domenic

    Meta: export worker definitions for auto-cross-spec-linking

    annevk committed with domenic May 2, 2016
    This adds the appropriate data attributes, per
    https://github.com/tabatkins/bikeshed/blob/master/docs/dfn-contract.md,
    to worker-related <dfn>s. This will allow specs using that contract,
    such as those written in Bikeshed, to automatically link to these terms.
    
    Part of #998.
  3. @annevk @domenic

    currentScript needs to point to removed script elements

    annevk committed with domenic May 2, 2016
    To avoid leaking shadow trees we added an “in a document” check in
    caf203f. This turned out to not be
    web compatible. So instead, we check whether the script element is in
    a shadow tree. Ideally that is novel enough to not cause any
    compatibility issues.
    
    Fixes #1161.
  4. @annevk
  5. @annevk
  6. @annevk
Commits on Apr 30, 2016
  1. @domenic @annevk

    Meta: add explicit IDs to all "Processing model" sections

    domenic committed with annevk Apr 30, 2016
    This fixes #1002. All the previous auto-assigned IDs are preserved by inserting empty spans at the appropriate locations.
Commits on Apr 29, 2016
  1. @annevk @domenic

    Assign document's origin during creation

    annevk committed with domenic Apr 29, 2016
    Fixes #256.
  2. @annevk @zcorpan

    Make image maps work in shadow trees

    annevk committed with zcorpan Apr 29, 2016
    Fixes #832.
  3. @annevk

    Make <style> work in shadow trees

    annevk committed Apr 29, 2016
    Also fix a longstanding issue that was pointed out in a comment, that <style> elements work regardless of whether their node document is associated with a browsing context.
    
    Also perform the cleanup requested in the source.
  4. @domenic @annevk
Commits on Apr 28, 2016
  1. @annevk @domenic

    Make navigate use "in parallel"

    annevk committed with domenic Apr 28, 2016
  2. @Joris-van-der-Wel @domenic

    Event handlers should return null if scripting is disabled

    Joris-van-der-Wel committed with domenic Apr 28, 2016
    This fixes the text to say "disabled" instead of "enabled". Otherwise we are trying to compile scripts when scripting is disabled.
  3. @zcorpan

    Remove <label form> and redefine label.form IDL attribute

    zcorpan committed Apr 28, 2016
    * Remove <label form> content attribute.
    * Make <label> not form-associated.
    * Merge "listed elements" and "reassociateable elements" categories.
    * Make label.form an alias of label.control.form.
    
    Fixes #787.
    PR: #1120
Commits on Apr 27, 2016
  1. @jungkees @annevk

    Move worker's close() to dedicated and shared worker

    jungkees committed with annevk Apr 28, 2016
    As WorkerGlobalScope's close() method should not be exposed to one of its derived interfaces, ServiceWorkerGlobalScope, close() needs to be moved to the derived interfaces which explicitly require it. This commit moves close() to DedicatedWorkerGlobalScope and SharedWorkerGlobalScope.
    
    Related issue: slightlyoff/ServiceWorker#865.
Commits on Apr 26, 2016
  1. @junov @domenic

    Fix #1057: make createImageBitmap throw when img has 0 size

    junov committed with domenic Apr 26, 2016
    Since the spec has no provisions for handling ImageBitmaps that
    have no bitmap data, it is important to explicitly disallow
    the creation of an ImageBitmap with a width or height of 0. With this
    change, createImageBitmap will throw an exception when a source
    image has a dimension of 0 *and* no crop rect is specified.
  2. @annevk @domenic

    Execute <script> in shadow trees

    annevk committed with domenic Apr 26, 2016
    This makes <script> elements work when used in shadow trees.
    
    Note that document.currentScript is set to null while running a <script>
    in a shadow tree; see #1013 for details.
    
    This takes care of most of #762, but it remains to make the "load" event
    scoped, so we'll leave that issue open for now.
  3. @annevk @domenic

    Editorial: mark up the primary variables in the navigate algorithm

    annevk committed with domenic Apr 26, 2016
    There is more work to be done here, but this is a first step towards
    making the navigate algorithm a little easier to read and digest.
  4. @domenic

    Merge the two table cell interfaces together

    domenic committed Apr 25, 2016
    Ever since the dawn of HTML (2ac31bb),
    there have been two table cell interfaces, HTMLTableDataCellElement for
    <td>, and HTMLTableHeaderCellElement for <th>. No browser ever
    implemented this split, instead using the single HTMLTableCellElement
    interface. This aligns the spec with browser reality.
    
    Fixes #1115.
  5. @domenic

    Detail how javascript: return values become response bodies

    domenic committed Apr 26, 2016
    Fixes #301, by aligning with the 3/4 browser majority and checking the
    type of the completion value, turning non-strings and thrown errors into
    204s. (Thrown errors are still reported, however.)
    
    While working on this algorithm, we fix #945 by copying the HTTPS state
    to response.
    
    This also does some minor cleanup to clarify that "run a classic script"
    returns undefined when scripting is disabled.
    
    #1129 was opened to track a remaining open issue discovered, which is
    exactly how the JS string completion value becomes a response body. For
    now the spec includes a warning saying that this is underspecified.
  6. @domenic @annevk

    Make window.external methods no-ops

    domenic committed with annevk Apr 26, 2016
    Fixes #713, aligning with Blink, WebKit, and Edge.
  7. @domenic @annevk
  8. @zcorpan @annevk
Commits on Apr 25, 2016
  1. @annevk

    Merge source element definitions

    annevk committed Apr 25, 2016
    Fixes part of #52.
  2. @annevk

    Regression: do not use "get an output encoding" for decoding

    annevk committed Apr 25, 2016
    In 6a31c26 I applied “get an output encoding” a bit enthusiastically, which gives the wrong result for the replacement encoding. It is only to be used when encoding (e.g., <form> submission and URLs), not decoding.
    
    This fixes the regression part of #1077.
  3. @zcorpan

    Editorial: Fix typo "a a" → "a"

    zcorpan committed Apr 25, 2016
    Introduced in 7f1a845
    and prevents building because it fails a lint check.
  4. @annevk
Commits on Apr 24, 2016
  1. @domenic
Something went wrong with that request. Please try again.